[2025-04-12 00:00:02] Production.INFO: ==7147== Lock acquired, processing the job...
[2025-04-12 00:00:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 00:00:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 00:00:02] Production.INFO: neon service started
[2025-04-12 00:00:02] Production.INFO: neon service started
[2025-04-12 00:00:02] Production.INFO: ==7147== Releasing lock...
[2025-04-12 00:00:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 00:00:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 23:00:02] Production.INFO: ==7151== Lock acquired, processing the job...
[2025-04-11 23:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-11 23:00:02] Production.INFO: ==7151== Releasing lock...
[2025-04-11 23:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-11 23:00:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 19:00:02] Production.INFO: ==7149== Lock acquired, processing the job...
[2025-04-11 19:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 19:00:03] Production.INFO: ==7149== Releasing lock...
[2025-04-11 19:00:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 19:00:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 19:00:04] Production.INFO: ==7162== Lock acquired, processing the job...
[2025-04-11 19:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 19:00:04] Production.INFO: ==7160== Lock acquired, processing the job...
[2025-04-11 19:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 19:00:04] Production.INFO: ==7168== Lock acquired, processing the job...
[2025-04-11 19:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 19:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 19:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 19:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 19:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 19:00:04] Production.INFO: Account Balance Start.
[2025-04-11 19:00:04] Production.INFO: CreateAllLog Start
[2025-04-11 19:00:04] Production.INFO: 117
[2025-04-11 19:00:04] Production.INFO: Date 2025-04-08
[2025-04-11 19:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 19:00:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:00:04] Production.INFO: count ==12
[2025-04-11 19:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 19:00:04] Production.INFO: count ==23
[2025-04-11 19:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886210') start
[2025-04-11 19:00:04] Production.INFO: Date 2025-04-09
[2025-04-11 19:00:04] Production.INFO: ==7154== Lock acquired, processing the job...
[2025-04-11 19:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-11 19:00:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:00:04] Production.INFO: ==7156== Lock acquired, processing the job...
[2025-04-11 19:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 19:00:04] Production.INFO: ==7158== Lock acquired, processing the job...
[2025-04-11 19:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 19:00:04] Production.INFO: Date 2025-04-10
[2025-04-11 19:00:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886210') end
[2025-04-11 19:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 19:00:04] Production.INFO: 1
[2025-04-11 19:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 19:00:04] Production.INFO: Date 2025-04-11
[2025-04-11 19:00:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-11 19:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-11 19:00:04] Production.ERROR: CronJob PID - 7156
[2025-04-11 19:00:04] Production.ERROR: CronJob Title - System Alerts
[2025-04-11 19:00:04] Production.ERROR: CronJob ID - 5
[2025-04-11 19:00:04] Production.ERROR: CronJob Last Run Time 2025-04-11 19:00:00
[2025-04-11 19:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-11 19:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-11 19:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-11 19:00:04] Production.ERROR: CronJob PID - 7158
[2025-04-11 19:00:04] Production.ERROR: CronJob Title - Account Block
[2025-04-11 19:00:04] Production.ERROR: CronJob ID - 7
[2025-04-11 19:00:04] Production.ERROR: CronJob Last Run Time 2025-04-11 19:00:00
[2025-04-11 19:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-11 19:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-11 19:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-11 19:00:04] Production.ERROR: CronJob PID - 7160
[2025-04-11 19:00:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-04-11 19:00:04] Production.ERROR: CronJob ID - 10
[2025-04-11 19:00:04] Production.ERROR: CronJob Last Run Time 2025-04-11 19:00:00
[2025-04-11 19:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-11 19:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-11 19:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-11 19:00:04] Production.ERROR: CronJob PID - 7162
[2025-04-11 19:00:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-04-11 19:00:04] Production.ERROR: CronJob ID - 12
[2025-04-11 19:00:04] Production.ERROR: CronJob Last Run Time 2025-04-11 19:00:00
[2025-04-11 19:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-11 19:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-11 19:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-11 19:00:04] Production.ERROR: CronJob PID - 7168
[2025-04-11 19:00:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-04-11 19:00:04] Production.ERROR: CronJob ID - 19
[2025-04-11 19:00:04] Production.ERROR: CronJob Last Run Time 2025-04-11 19:00:00
[2025-04-11 19:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-11 19:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-11 19:00:04] Production.INFO: ==7168== Releasing lock...
[2025-04-11 19:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 19:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 19:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 19:00:04] Production.INFO: Total Charge 0
[2025-04-11 19:00:04] Production.INFO: ==7166== Lock acquired, processing the job...
[2025-04-11 19:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-11 19:00:04] Production.INFO: CreateAllLog End
[2025-04-11 19:00:04] Production.INFO: ==7164== Lock acquired, processing the job...
[2025-04-11 19:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 19:00:05] Production.ERROR: ========================== active cronjob end =============================
[2025-04-11 19:00:05] Production.INFO: ==7154== Releasing lock...
[2025-04-11 19:00:05] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-11 19:00:05] Production.INFO: 25.5 MB #Memory Used#
[2025-04-11 19:00:05] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 19:00:05] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 19:00:05] Production.INFO: ==7158== Releasing lock...
[2025-04-11 19:00:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 19:00:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 19:00:05] Production.INFO: Account Balance End.
[2025-04-11 19:00:05] Production.ERROR: CronJobId end 12
[2025-04-11 19:00:05] Production.INFO: ==7162== Releasing lock...
[2025-04-11 19:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 19:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 19:00:05] Production.ERROR: done
[2025-04-11 19:00:05] Production.ERROR: done
[2025-04-11 19:00:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 19:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-11 19:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14886213', 'tblTempUsageDetail_20reseller','2025-04-11','2025-04-11','1' ) start
[2025-04-11 19:00:05] Production.ERROR: done
[2025-04-11 19:00:07] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 16:00:07
[end_date_ymd] => 2025-04-11 19:00:07
[RateCDR] => 1
)
[2025-04-11 19: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-11 16:00:07' and `end` < '2025-04-11 19: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-11 19:00:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14886213', 'tblTempUsageDetail_20reseller','2025-04-11','2025-04-11','1' ) end
[2025-04-11 19:00:10] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-11 19:00:10] Production.INFO: ProcessCDR(1,14886213,1,1,2)
[2025-04-11 19:00:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14886213,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:00:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14886213,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:00:10] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 19:00:10] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 19:00:10] Production.INFO: ==7166== Releasing lock...
[2025-04-11 19:00:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-11 19:00:10] Production.INFO: 26 MB #Memory Used#
[2025-04-11 19:00:16] Production.ERROR: CronJobId end10
[2025-04-11 19:00:16] Production.INFO: ==7160== Releasing lock...
[2025-04-11 19:00:16] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 19:00:16] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 19:00:18] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 19:00:18] Production.INFO: ============== Balance Warning START===========
[2025-04-11 19:00:18] Production.INFO: ============== Balance Warning END===========
[2025-04-11 19:00:18] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 19:00:18] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 19:00:18] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 19:00:18] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 19:00:18] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 19:00:18] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 19:00:18] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 19:00:18] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 19:00:18] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 19:00:18] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 19:00:18] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 19:00:19] Production.INFO: call_cost start
[2025-04-11 19:00:19] Production.INFO: call_cost end
[2025-04-11 19:00:20] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 19:00:20] Production.INFO: ============== Report Schedule START===========
[2025-04-11 19:00:20] Production.INFO: ============== Report Schedule END===========
[2025-04-11 19:00:20] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 19:00:20] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 19:00:20] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 19:00:20] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 19:00:20] Production.INFO: ============== Deal alert START===========
[2025-04-11 19:00:20] Production.INFO: ============== Deal alert END===========
[2025-04-11 19:00:20] Production.INFO: ==7156== Releasing lock...
[2025-04-11 19:00:20] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 19:00:20] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 19:00:20] Production.INFO: count ==3051
[2025-04-11 19:00:21] Production.ERROR: pbx CDR StartTime 2025-04-11 16:00:07 - End Time 2025-04-11 19:00:07
[2025-04-11 19:00:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 19:00:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886214', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:00:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886214', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:00:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886214', 'tblTempVendorCDR_20' ) start
[2025-04-11 19:00:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886214', 'tblTempVendorCDR_20' ) end
[2025-04-11 19:00:21] Production.INFO: ProcessCDR(1,14886214,1,1,2)
[2025-04-11 19:00:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886214,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:00:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886214,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:00:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886214,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:00:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886214,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:00:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886214', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:00:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886214', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:00:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 19:00:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 19:00:25] Production.INFO: ==7164== Releasing lock...
[2025-04-11 19:00:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 19:00:25] Production.INFO: 51 MB #Memory Used#
[2025-04-12 00:01:01] Production.INFO: ==7302== Lock acquired, processing the job...
[2025-04-12 00:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 00:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 00:01:01] Production.INFO: neon service started
[2025-04-12 00:01:01] Production.INFO: neon service started
[2025-04-12 00:01:01] Production.INFO: ==7302== Releasing lock...
[2025-04-12 00:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 00:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 19:01:02] Production.INFO: ==7314== Lock acquired, processing the job...
[2025-04-11 19:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 19:01:02] Production.INFO: ==7314== Releasing lock...
[2025-04-11 19:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 19:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 23:01:02] Production.INFO: ==7316== Lock acquired, processing the job...
[2025-04-11 23:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-11 23:01:02] Production.INFO: ==7316== Releasing lock...
[2025-04-11 23:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-11 23:01:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 19:01:03] Production.INFO: ==7319== Lock acquired, processing the job...
[2025-04-11 19:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 19:01:03] Production.INFO: ==7327== Lock acquired, processing the job...
[2025-04-11 19:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 19:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 19:01:03] Production.INFO: ==7329== Lock acquired, processing the job...
[2025-04-11 19:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 19:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 19:01:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 19:01:03] Production.INFO: count ==12
[2025-04-11 19:01:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 19:01:03] Production.INFO: count ==23
[2025-04-11 19:01:03] Production.INFO: ==7325== Lock acquired, processing the job...
[2025-04-11 19:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 19:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14886216') start
[2025-04-11 19:01:03] Production.INFO: ==7321== Lock acquired, processing the job...
[2025-04-11 19:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 19:01:03] Production.INFO: ==7323== Lock acquired, processing the job...
[2025-04-11 19:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 19:01:03] Production.INFO: Account Balance Start.
[2025-04-11 19:01:03] Production.INFO: CreateAllLog Start
[2025-04-11 19:01:03] Production.INFO: 117
[2025-04-11 19:01:03] Production.INFO: Date 2025-04-08
[2025-04-11 19:01:03] Production.INFO: Reseller ==> 0
[2025-04-11 19:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14886216') end
[2025-04-11 19:01:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 19:01:03] Production.INFO: 1
[2025-04-11 19:01:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 19:01:03] Production.INFO: Date 2025-04-09
[2025-04-11 19:01:03] Production.INFO: Reseller ==> 0
[2025-04-11 19:01:03] Production.INFO: ==7329== Releasing lock...
[2025-04-11 19:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 19:01:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 19:01:04] Production.ERROR: done
[2025-04-11 19:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 19:01:04] Production.INFO: Date 2025-04-10
[2025-04-11 19:01:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:01:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 19:01:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 19:01:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 19:01:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 19:01:04] Production.INFO: Date 2025-04-11
[2025-04-11 19:01:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:01:04] Production.INFO: Total Charge 0
[2025-04-11 19:01:04] Production.INFO: CreateAllLog End
[2025-04-11 19:01:04] Production.INFO: ==7321== Releasing lock...
[2025-04-11 19:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 19:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 19:01:04] Production.ERROR: done
[2025-04-11 19:01:04] Production.INFO: Account Balance End.
[2025-04-11 19:01:04] Production.ERROR: CronJobId end 12
[2025-04-11 19:01:04] Production.INFO: ==7325== Releasing lock...
[2025-04-11 19:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 19:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 19:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 16:01:05
[end_date_ymd] => 2025-04-11 19:01:05
[RateCDR] => 1
)
[2025-04-11 19:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 16:01:05' and `end` < '2025-04-11 19:01:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 19:01:14] Production.ERROR: CronJobId end10
[2025-04-11 19:01:14] Production.INFO: ==7323== Releasing lock...
[2025-04-11 19:01:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 19:01:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 19:01:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 19:01:16] Production.INFO: ============== Balance Warning START===========
[2025-04-11 19:01:16] Production.INFO: ============== Balance Warning END===========
[2025-04-11 19:01:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 19:01:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 19:01:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 19:01:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 19:01:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 19:01:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 19:01:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 19:01:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 19:01:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 19:01:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 19:01:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 19:01:16] Production.INFO: call_cost start
[2025-04-11 19:01:16] Production.INFO: call_cost end
[2025-04-11 19:01:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 19:01:17] Production.INFO: ============== Report Schedule START===========
[2025-04-11 19:01:17] Production.INFO: ============== Report Schedule END===========
[2025-04-11 19:01:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 19:01:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 19:01:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 19:01:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 19:01:17] Production.INFO: ============== Deal alert START===========
[2025-04-11 19:01:17] Production.INFO: ============== Deal alert END===========
[2025-04-11 19:01:17] Production.INFO: ==7319== Releasing lock...
[2025-04-11 19:01:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 19:01:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 19:01:18] Production.INFO: count ==2941
[2025-04-11 19:01:19] Production.ERROR: pbx CDR StartTime 2025-04-11 16:01:05 - End Time 2025-04-11 19:01:05
[2025-04-11 19:01:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 19:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886219', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886219', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886219', 'tblTempVendorCDR_20' ) start
[2025-04-11 19:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886219', 'tblTempVendorCDR_20' ) end
[2025-04-11 19:01:19] Production.INFO: ProcessCDR(1,14886219,1,1,2)
[2025-04-11 19:01:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886219,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:01:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886219,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:01:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886219,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:01:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886219,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:01:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886219', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:01:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886219', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:01:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 19:01:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 19:01:23] Production.INFO: ==7327== Releasing lock...
[2025-04-11 19:01:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 19:01:23] Production.INFO: 50.25 MB #Memory Used#
[2025-04-12 00:02:02] Production.INFO: ==7382== Lock acquired, processing the job...
[2025-04-12 00:02:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 00:02:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 00:02:02] Production.INFO: neon service started
[2025-04-12 00:02:02] Production.INFO: neon service started
[2025-04-12 00:02:02] Production.INFO: ==7382== Releasing lock...
[2025-04-12 00:02:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 00:02:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 19:02:02] Production.INFO: ==7384== Lock acquired, processing the job...
[2025-04-11 19:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 19:02:03] Production.INFO: ==7384== Releasing lock...
[2025-04-11 19:02:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 19:02:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 23:02:03] Production.INFO: ==7386== Lock acquired, processing the job...
[2025-04-11 23:02:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-11 23:02:03] Production.INFO: ==7386== Releasing lock...
[2025-04-11 23:02:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-11 23:02:03] Production.INFO: 25 MB #Memory Used#
[2025-04-11 19:02:04] Production.INFO: ==7388== Lock acquired, processing the job...
[2025-04-11 19:02:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 19:02:04] Production.INFO: ==7390== Lock acquired, processing the job...
[2025-04-11 19:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 19:02:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 19:02:04] Production.INFO: ==7399== Lock acquired, processing the job...
[2025-04-11 19:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 19:02:04] Production.INFO: ==7392== Lock acquired, processing the job...
[2025-04-11 19:02:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 19:02:04] Production.INFO: ==7395== Lock acquired, processing the job...
[2025-04-11 19:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 19:02:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 19:02:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 19:02:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 19:02:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 19:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 19:02:04] Production.INFO: count ==12
[2025-04-11 19:02:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 19:02:04] Production.INFO: count ==23
[2025-04-11 19:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886222') start
[2025-04-11 19:02:04] Production.INFO: ==7397== Lock acquired, processing the job...
[2025-04-11 19:02:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 19:02:04] Production.INFO: Account Balance Start.
[2025-04-11 19:02:04] Production.INFO: CreateAllLog Start
[2025-04-11 19:02:04] Production.INFO: 117
[2025-04-11 19:02:04] Production.INFO: ==7390== Releasing lock...
[2025-04-11 19:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 19:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 19:02:04] Production.INFO: Date 2025-04-08
[2025-04-11 19:02:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 19:02:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886222') end
[2025-04-11 19:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 19:02:04] Production.INFO: 1
[2025-04-11 19:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 19:02:04] Production.INFO: Date 2025-04-09
[2025-04-11 19:02:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:02:04] Production.INFO: Date 2025-04-10
[2025-04-11 19:02:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:02:04] Production.INFO: Date 2025-04-11
[2025-04-11 19:02:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:02:04] Production.INFO: Total Charge 0
[2025-04-11 19:02:04] Production.INFO: CreateAllLog End
[2025-04-11 19:02:04] Production.INFO: ==7399== Releasing lock...
[2025-04-11 19:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 19:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 19:02:05] Production.ERROR: done
[2025-04-11 19:02:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 19:02:05] Production.INFO: Account Balance End.
[2025-04-11 19:02:05] Production.ERROR: CronJobId end 12
[2025-04-11 19:02:05] Production.INFO: ==7395== Releasing lock...
[2025-04-11 19:02:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 19:02:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 19:02:05] Production.ERROR: done
[2025-04-11 19:02:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 16:02:06
[end_date_ymd] => 2025-04-11 19:02:06
[RateCDR] => 1
)
[2025-04-11 19: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-11 16:02:06' and `end` < '2025-04-11 19: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-11 19:02:13] Production.ERROR: CronJobId end10
[2025-04-11 19:02:13] Production.INFO: ==7392== Releasing lock...
[2025-04-11 19:02:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 19:02:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 19:02:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 19:02:16] Production.INFO: ============== Balance Warning START===========
[2025-04-11 19:02:16] Production.INFO: ============== Balance Warning END===========
[2025-04-11 19:02:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 19:02:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 19:02:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 19:02:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 19:02:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 19:02:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 19:02:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 19:02:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 19:02:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 19:02:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 19:02:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 19:02:17] Production.INFO: call_cost start
[2025-04-11 19:02:17] Production.INFO: call_cost end
[2025-04-11 19:02:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 19:02:18] Production.INFO: ============== Report Schedule START===========
[2025-04-11 19:02:18] Production.INFO: ============== Report Schedule END===========
[2025-04-11 19:02:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 19:02:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 19:02:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 19:02:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 19:02:18] Production.INFO: ============== Deal alert START===========
[2025-04-11 19:02:18] Production.INFO: ============== Deal alert END===========
[2025-04-11 19:02:18] Production.INFO: ==7388== Releasing lock...
[2025-04-11 19:02:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 19:02:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 19:02:19] Production.INFO: count ==2929
[2025-04-11 19:02:20] Production.ERROR: pbx CDR StartTime 2025-04-11 16:02:06 - End Time 2025-04-11 19:02:06
[2025-04-11 19:02:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 19:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886224', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886224', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886224', 'tblTempVendorCDR_20' ) start
[2025-04-11 19:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886224', 'tblTempVendorCDR_20' ) end
[2025-04-11 19:02:20] Production.INFO: ProcessCDR(1,14886224,1,1,2)
[2025-04-11 19:02:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886224,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:02:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886224,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:02:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886224,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:02:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886224,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:02:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886224', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:02:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886224', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:02:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 19:02:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 19:02:24] Production.INFO: ==7397== Releasing lock...
[2025-04-11 19:02:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 19:02:24] Production.INFO: 50 MB #Memory Used#
[2025-04-12 00:03:01] Production.INFO: ==7453== Lock acquired, processing the job...
[2025-04-12 00:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 00:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 00:03:01] Production.INFO: neon service started
[2025-04-12 00:03:01] Production.INFO: neon service started
[2025-04-12 00:03:01] Production.INFO: ==7453== Releasing lock...
[2025-04-12 00:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 00:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 19:03:02] Production.INFO: ==7455== Lock acquired, processing the job...
[2025-04-11 19:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 23:03:02] Production.INFO: ==7457== Lock acquired, processing the job...
[2025-04-11 23:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-11 19:03:02] Production.INFO: ==7455== Releasing lock...
[2025-04-11 19:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 19:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 23:03:02] Production.INFO: ==7457== Releasing lock...
[2025-04-11 23:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-11 23:03:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 19:03:03] Production.INFO: ==7459== Lock acquired, processing the job...
[2025-04-11 19:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 19:03:03] Production.INFO: ==7461== Lock acquired, processing the job...
[2025-04-11 19:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 19:03:03] Production.INFO: ==7463== Lock acquired, processing the job...
[2025-04-11 19:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 19:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 19:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 19:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 19:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 19:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 19:03:03] Production.INFO: ==7465== Lock acquired, processing the job...
[2025-04-11 19:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 19:03:03] Production.INFO: ==7461== Releasing lock...
[2025-04-11 19:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 19:03:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 19:03:03] Production.INFO: ==7470== Lock acquired, processing the job...
[2025-04-11 19:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 19:03:03] Production.INFO: Account Balance Start.
[2025-04-11 19:03:03] Production.INFO: CreateAllLog Start
[2025-04-11 19:03:03] Production.INFO: 117
[2025-04-11 19:03:03] Production.INFO: Date 2025-04-08
[2025-04-11 19:03:03] Production.INFO: ==7468== Lock acquired, processing the job...
[2025-04-11 19:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 19:03:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:03:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 19:03:04] Production.INFO: Date 2025-04-09
[2025-04-11 19:03:04] Production.INFO: Reseller ==> 0
[2025-04-11 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-11 19:03:04] Production.INFO: count ==12
[2025-04-11 19:03:04] Production.INFO: Date 2025-04-10
[2025-04-11 19:03:04] Production.INFO: Reseller ==> 0
[2025-04-11 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-11 19:03:04] Production.INFO: count ==23
[2025-04-11 19:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886228') start
[2025-04-11 19:03:04] Production.INFO: Date 2025-04-11
[2025-04-11 19:03:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886228') end
[2025-04-11 19:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 19:03:04] Production.INFO: 1
[2025-04-11 19:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 19:03:04] Production.INFO: Total Charge 0
[2025-04-11 19:03:04] Production.INFO: CreateAllLog End
[2025-04-11 19:03:04] Production.INFO: ==7470== Releasing lock...
[2025-04-11 19:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 19:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 19:03:04] Production.ERROR: done
[2025-04-11 19:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 19:03:04] Production.INFO: Account Balance End.
[2025-04-11 19:03:04] Production.ERROR: done
[2025-04-11 19:03:04] Production.ERROR: CronJobId end 12
[2025-04-11 19:03:04] Production.INFO: ==7465== Releasing lock...
[2025-04-11 19:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 19:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 19:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 16:03:05
[end_date_ymd] => 2025-04-11 19:03:05
[RateCDR] => 1
)
[2025-04-11 19:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 16:03:05' and `end` < '2025-04-11 19:03:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 19:03:14] Production.ERROR: CronJobId end10
[2025-04-11 19:03:14] Production.INFO: ==7463== Releasing lock...
[2025-04-11 19:03:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 19:03:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 19:03:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 19:03:16] Production.INFO: ============== Balance Warning START===========
[2025-04-11 19:03:16] Production.INFO: ============== Balance Warning END===========
[2025-04-11 19:03:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 19:03:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 19:03:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 19:03:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 19:03:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 19:03:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 19:03:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 19:03:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 19:03:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 19:03:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 19:03:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 19:03:16] Production.INFO: call_cost start
[2025-04-11 19:03:16] Production.INFO: call_cost end
[2025-04-11 19:03:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 19:03:17] Production.INFO: ============== Report Schedule START===========
[2025-04-11 19:03:17] Production.INFO: ============== Report Schedule END===========
[2025-04-11 19:03:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 19:03:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 19:03:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 19:03:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 19:03:17] Production.INFO: ============== Deal alert START===========
[2025-04-11 19:03:17] Production.INFO: ============== Deal alert END===========
[2025-04-11 19:03:17] Production.INFO: ==7459== Releasing lock...
[2025-04-11 19:03:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 19:03:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 19:03:19] Production.INFO: count ==2922
[2025-04-11 19:03:20] Production.ERROR: pbx CDR StartTime 2025-04-11 16:03:05 - End Time 2025-04-11 19:03:05
[2025-04-11 19:03:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 19:03:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886229', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:03:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886229', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:03:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886229', 'tblTempVendorCDR_20' ) start
[2025-04-11 19:03:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886229', 'tblTempVendorCDR_20' ) end
[2025-04-11 19:03:20] Production.INFO: ProcessCDR(1,14886229,1,1,2)
[2025-04-11 19:03:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886229,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:03:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886229,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:03:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886229,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:03:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886229,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:03:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886229', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:03:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886229', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:03:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 19:03:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 19:03:23] Production.INFO: ==7468== Releasing lock...
[2025-04-11 19:03:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 19:03:23] Production.INFO: 50.25 MB #Memory Used#
[2025-04-12 00:04:02] Production.INFO: ==7526== Lock acquired, processing the job...
[2025-04-12 00:04:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 00:04:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 00:04:02] Production.INFO: neon service started
[2025-04-12 00:04:02] Production.INFO: neon service started
[2025-04-12 00:04:02] Production.INFO: ==7526== Releasing lock...
[2025-04-12 00:04:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 00:04:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 23:04:02] Production.INFO: ==7530== Lock acquired, processing the job...
[2025-04-11 23:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-11 23:04:02] Production.INFO: ==7530== Releasing lock...
[2025-04-11 23:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-11 23:04:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 19:04:02] Production.INFO: ==7528== Lock acquired, processing the job...
[2025-04-11 19:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 19:04:03] Production.INFO: ==7528== Releasing lock...
[2025-04-11 19:04:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 19:04:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 19:04:04] Production.INFO: ==7533== Lock acquired, processing the job...
[2025-04-11 19:04:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 19:04:04] Production.INFO: ==7535== Lock acquired, processing the job...
[2025-04-11 19:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 19:04:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 19:04:04] Production.INFO: ==7539== Lock acquired, processing the job...
[2025-04-11 19:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 19:04:04] Production.INFO: Account Balance Start.
[2025-04-11 19:04:04] Production.INFO: CreateAllLog Start
[2025-04-11 19:04:04] Production.INFO: 117
[2025-04-11 19:04:04] Production.INFO: Date 2025-04-08
[2025-04-11 19:04:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:04:04] Production.INFO: Date 2025-04-09
[2025-04-11 19:04:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:04:04] Production.INFO: Date 2025-04-10
[2025-04-11 19:04:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:04:04] Production.INFO: ==7537== Lock acquired, processing the job...
[2025-04-11 19:04:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 19:04:04] Production.INFO: ==7535== Releasing lock...
[2025-04-11 19:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 19:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 19:04:04] Production.INFO: Date 2025-04-11
[2025-04-11 19:04:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:04:04] Production.INFO: Total Charge 0
[2025-04-11 19:04:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 19:04:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 19:04:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 19:04:04] Production.INFO: CreateAllLog End
[2025-04-11 19:04:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 19:04:04] Production.INFO: ==7543== Lock acquired, processing the job...
[2025-04-11 19:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 19:04:04] Production.INFO: ==7541== Lock acquired, processing the job...
[2025-04-11 19:04:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 19:04:04] Production.INFO: Account Balance End.
[2025-04-11 19:04:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 19:04:04] Production.ERROR: CronJobId end 12
[2025-04-11 19:04:04] Production.INFO: ==7539== Releasing lock...
[2025-04-11 19:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 19:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 19:04: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-11 19:04:05] Production.INFO: count ==12
[2025-04-11 19: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-11 19:04:05] Production.INFO: count ==23
[2025-04-11 19:04:05] Production.ERROR: PBX CALL prc_importPBXExtension('14886233') start
[2025-04-11 19:04:05] Production.ERROR: done
[2025-04-11 19:04:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 19:04:05] Production.ERROR: PBX CALL prc_importPBXExtension('14886233') end
[2025-04-11 19:04:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 19:04:05] Production.INFO: 1
[2025-04-11 19:04:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 19:04:05] Production.ERROR: done
[2025-04-11 19:04:05] Production.INFO: ==7543== Releasing lock...
[2025-04-11 19:04:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 19:04:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 19:04:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 16:04:06
[end_date_ymd] => 2025-04-11 19:04:06
[RateCDR] => 1
)
[2025-04-11 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-11 16:04:06' and `end` < '2025-04-11 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-11 19:04:14] Production.ERROR: CronJobId end10
[2025-04-11 19:04:14] Production.INFO: ==7537== Releasing lock...
[2025-04-11 19:04:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 19:04:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 19:04:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 19:04:16] Production.INFO: ============== Balance Warning START===========
[2025-04-11 19:04:16] Production.INFO: ============== Balance Warning END===========
[2025-04-11 19:04:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 19:04:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 19:04:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 19:04:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 19:04:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 19:04:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 19:04:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 19:04:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 19:04:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 19:04:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 19:04:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 19:04:16] Production.INFO: call_cost start
[2025-04-11 19:04:16] Production.INFO: call_cost end
[2025-04-11 19:04:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 19:04:17] Production.INFO: ============== Report Schedule START===========
[2025-04-11 19:04:17] Production.INFO: ============== Report Schedule END===========
[2025-04-11 19:04:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 19:04:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 19:04:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 19:04:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 19:04:17] Production.INFO: ============== Deal alert START===========
[2025-04-11 19:04:17] Production.INFO: ============== Deal alert END===========
[2025-04-11 19:04:17] Production.INFO: ==7533== Releasing lock...
[2025-04-11 19:04:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 19:04:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 19:04:19] Production.INFO: count ==2914
[2025-04-11 19:04:20] Production.ERROR: pbx CDR StartTime 2025-04-11 16:04:06 - End Time 2025-04-11 19:04:06
[2025-04-11 19:04:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 19:04:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886234', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:04:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886234', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:04:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886234', 'tblTempVendorCDR_20' ) start
[2025-04-11 19:04:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886234', 'tblTempVendorCDR_20' ) end
[2025-04-11 19:04:20] Production.INFO: ProcessCDR(1,14886234,1,1,2)
[2025-04-11 19:04:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886234,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:04:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886234,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:04:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886234,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:04:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886234,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:04:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886234', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:04:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886234', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:04:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 19:04:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 19:04:24] Production.INFO: ==7541== Releasing lock...
[2025-04-11 19:04:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 19:04:24] Production.INFO: 50 MB #Memory Used#
[2025-04-12 00:05:01] Production.INFO: ==7675== Lock acquired, processing the job...
[2025-04-12 00:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 00:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 00:05:01] Production.INFO: neon service started
[2025-04-12 00:05:01] Production.INFO: neon service started
[2025-04-12 00:05:01] Production.INFO: ==7675== Releasing lock...
[2025-04-12 00:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 00:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 19:05:02] Production.INFO: ==7677== Lock acquired, processing the job...
[2025-04-11 19:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 23:05:02] Production.INFO: ==7679== Lock acquired, processing the job...
[2025-04-11 23:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-11 23:05:02] Production.INFO: ==7679== Releasing lock...
[2025-04-11 23:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-11 23:05:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 19:05:02] Production.INFO: ==7677== Releasing lock...
[2025-04-11 19:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 19:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 19:05:03] Production.INFO: ==7692== Lock acquired, processing the job...
[2025-04-11 19:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 19:05:03] Production.INFO: ==7690== Lock acquired, processing the job...
[2025-04-11 19:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 19:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 19:05:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 19:05:03] Production.INFO: count ==12
[2025-04-11 19:05:03] Production.INFO: ==7682== Lock acquired, processing the job...
[2025-04-11 19:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 19:05:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 19:05:03] Production.INFO: count ==23
[2025-04-11 19:05:03] Production.INFO: ==7684== Lock acquired, processing the job...
[2025-04-11 19:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 19:05:03] Production.INFO: ==7686== Lock acquired, processing the job...
[2025-04-11 19:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 19:05:03] Production.INFO: ==7688== Lock acquired, processing the job...
[2025-04-11 19:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 19:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14886235') start
[2025-04-11 19:05:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 19:05:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 19:05:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 19:05:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 19:05:04] Production.INFO: Account Balance Start.
[2025-04-11 19:05:04] Production.INFO: CreateAllLog Start
[2025-04-11 19:05:04] Production.INFO: 117
[2025-04-11 19:05:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 19:05:04] Production.INFO: Date 2025-04-08
[2025-04-11 19:05:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886235') end
[2025-04-11 19:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 19:05:04] Production.INFO: 1
[2025-04-11 19:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 19:05:04] Production.INFO: ==7692== Releasing lock...
[2025-04-11 19:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 19:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 19:05:04] Production.ERROR: done
[2025-04-11 19:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 19:05:04] Production.INFO: Date 2025-04-09
[2025-04-11 19:05:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:05:04] Production.INFO: Date 2025-04-10
[2025-04-11 19:05:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:05:04] Production.INFO: Date 2025-04-11
[2025-04-11 19:05:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:05:04] Production.INFO: ==7684== Releasing lock...
[2025-04-11 19:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 19:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 19:05:04] Production.INFO: Total Charge 0
[2025-04-11 19:05:04] Production.ERROR: done
[2025-04-11 19:05:04] Production.INFO: CreateAllLog End
[2025-04-11 19:05:04] Production.INFO: Account Balance End.
[2025-04-11 19:05:04] Production.ERROR: CronJobId end 12
[2025-04-11 19:05:04] Production.INFO: ==7688== Releasing lock...
[2025-04-11 19:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 19:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 19:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 16:05:05
[end_date_ymd] => 2025-04-11 19:05:05
[RateCDR] => 1
)
[2025-04-11 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-11 16:05:05' and `end` < '2025-04-11 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-11 19:05:12] Production.ERROR: CronJobId end10
[2025-04-11 19:05:12] Production.INFO: ==7686== Releasing lock...
[2025-04-11 19:05:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 19:05:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 19:05:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 19:05:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 19:05:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 19:05:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 19:05:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 19:05:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 19:05:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 19:05:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 19:05:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 19:05:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 19:05:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 19:05:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 19:05:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 19:05:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 19:05:15] Production.INFO: call_cost start
[2025-04-11 19:05:15] Production.INFO: call_cost end
[2025-04-11 19:05:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 19:05:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 19:05:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 19:05:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 19:05:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 19:05:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 19:05:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 19:05:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 19:05:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 19:05:16] Production.INFO: ==7682== Releasing lock...
[2025-04-11 19:05:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 19:05:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 19:05:18] Production.INFO: count ==2904
[2025-04-11 19:05:19] Production.ERROR: pbx CDR StartTime 2025-04-11 16:05:05 - End Time 2025-04-11 19:05:05
[2025-04-11 19:05:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 19:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886239', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886239', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886239', 'tblTempVendorCDR_20' ) start
[2025-04-11 19:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886239', 'tblTempVendorCDR_20' ) end
[2025-04-11 19:05:19] Production.INFO: ProcessCDR(1,14886239,1,1,2)
[2025-04-11 19:05:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886239,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:05:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886239,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:05:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886239,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:05:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886239,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:05:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886239', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:05:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886239', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:05:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 19:05:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 19:05:23] Production.INFO: ==7690== Releasing lock...
[2025-04-11 19:05:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 19:05:23] Production.INFO: 49.75 MB #Memory Used#
[2025-04-12 00:06:02] Production.INFO: ==7746== Lock acquired, processing the job...
[2025-04-12 00:06:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 00:06:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 00:06:02] Production.INFO: neon service started
[2025-04-12 00:06:02] Production.INFO: neon service started
[2025-04-12 00:06:02] Production.INFO: ==7746== Releasing lock...
[2025-04-12 00:06:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 00:06:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 19:06:03] Production.INFO: ==7748== Lock acquired, processing the job...
[2025-04-11 19:06:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 23:06:03] Production.INFO: ==7750== Lock acquired, processing the job...
[2025-04-11 23:06:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-11 23:06:03] Production.INFO: ==7750== Releasing lock...
[2025-04-11 23:06:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-11 23:06:03] Production.INFO: 25 MB #Memory Used#
[2025-04-11 19:06:03] Production.INFO: ==7748== Releasing lock...
[2025-04-11 19:06:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 19:06:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 19:06:04] Production.INFO: ==7757== Lock acquired, processing the job...
[2025-04-11 19:06:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 19:06:04] Production.INFO: ==7759== Lock acquired, processing the job...
[2025-04-11 19:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 19:06:04] Production.INFO: ==7753== Lock acquired, processing the job...
[2025-04-11 19:06:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 19:06:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 19:06:04] Production.INFO: ==7755== Lock acquired, processing the job...
[2025-04-11 19:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 19:06:04] Production.INFO: ==7761== Lock acquired, processing the job...
[2025-04-11 19:06:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 19:06:04] Production.INFO: Account Balance Start.
[2025-04-11 19:06:04] Production.INFO: CreateAllLog Start
[2025-04-11 19:06:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 19:06:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 19:06:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 19:06:04] Production.INFO: 117
[2025-04-11 19:06:04] Production.INFO: ==7763== Lock acquired, processing the job...
[2025-04-11 19:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 19:06:04] Production.INFO: Date 2025-04-08
[2025-04-11 19:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 19:06:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 19:06:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:06:04] Production.INFO: Date 2025-04-09
[2025-04-11 19:06:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:06:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 19:06:04] Production.INFO: count ==12
[2025-04-11 19:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 19:06:04] Production.INFO: count ==23
[2025-04-11 19:06:04] Production.INFO: Date 2025-04-10
[2025-04-11 19:06:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:06:05] Production.INFO: Date 2025-04-11
[2025-04-11 19:06:05] Production.INFO: Reseller ==> 0
[2025-04-11 19:06:05] Production.ERROR: PBX CALL prc_importPBXExtension('14886243') start
[2025-04-11 19:06:05] Production.INFO: ==7755== Releasing lock...
[2025-04-11 19:06:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 19:06:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 19:06:05] Production.INFO: Total Charge 0
[2025-04-11 19:06:05] Production.INFO: CreateAllLog End
[2025-04-11 19:06:05] Production.ERROR: PBX CALL prc_importPBXExtension('14886243') end
[2025-04-11 19:06:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 19:06:05] Production.INFO: 1
[2025-04-11 19:06:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 19:06:05] Production.INFO: ==7763== Releasing lock...
[2025-04-11 19:06:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 19:06:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 19:06:05] Production.ERROR: done
[2025-04-11 19:06:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 19:06:05] Production.INFO: Account Balance End.
[2025-04-11 19:06:05] Production.ERROR: CronJobId end 12
[2025-04-11 19:06:05] Production.INFO: ==7759== Releasing lock...
[2025-04-11 19:06:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 19:06:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 19:06:05] Production.ERROR: done
[2025-04-11 19:06:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 16:06:06
[end_date_ymd] => 2025-04-11 19:06:06
[RateCDR] => 1
)
[2025-04-11 19: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-11 16:06:06' and `end` < '2025-04-11 19: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-11 19:06:14] Production.ERROR: CronJobId end10
[2025-04-11 19:06:14] Production.INFO: ==7757== Releasing lock...
[2025-04-11 19:06:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 19:06:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 19:06:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 19:06:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 19:06:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 19:06:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 19:06:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 19:06:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 19:06:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 19:06:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 19:06:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 19:06:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 19:06:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 19:06:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 19:06:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 19:06:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 19:06:15] Production.INFO: call_cost start
[2025-04-11 19:06:15] Production.INFO: call_cost end
[2025-04-11 19:06:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 19:06:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 19:06:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 19:06:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 19:06:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 19:06:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 19:06:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 19:06:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 19:06:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 19:06:16] Production.INFO: ==7753== Releasing lock...
[2025-04-11 19:06:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 19:06:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 19:06:19] Production.INFO: count ==2898
[2025-04-11 19:06:20] Production.ERROR: pbx CDR StartTime 2025-04-11 16:06:06 - End Time 2025-04-11 19:06:06
[2025-04-11 19:06:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 19:06:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886244', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:06:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886244', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:06:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886244', 'tblTempVendorCDR_20' ) start
[2025-04-11 19:06:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886244', 'tblTempVendorCDR_20' ) end
[2025-04-11 19:06:20] Production.INFO: ProcessCDR(1,14886244,1,1,2)
[2025-04-11 19:06:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886244,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:06:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886244,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:06:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886244,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:06:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886244,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:06:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886244', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:06:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886244', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:06:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 19:06:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 19:06:25] Production.INFO: ==7761== Releasing lock...
[2025-04-11 19:06:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 19:06:25] Production.INFO: 49.75 MB #Memory Used#
[2025-04-12 00:07:01] Production.INFO: ==7826== Lock acquired, processing the job...
[2025-04-12 00:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 00:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 00:07:01] Production.INFO: neon service started
[2025-04-12 00:07:01] Production.INFO: neon service started
[2025-04-12 00:07:01] Production.INFO: ==7826== Releasing lock...
[2025-04-12 00:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 00:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 19:07:02] Production.INFO: ==7829== Lock acquired, processing the job...
[2025-04-11 19:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 23:07:02] Production.INFO: ==7831== Lock acquired, processing the job...
[2025-04-11 23:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-11 23:07:02] Production.INFO: ==7831== Releasing lock...
[2025-04-11 23:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-11 23:07:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 19:07:02] Production.INFO: ==7829== Releasing lock...
[2025-04-11 19:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 19:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 19:07:03] Production.INFO: ==7836== Lock acquired, processing the job...
[2025-04-11 19:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 19:07:03] Production.INFO: ==7834== Lock acquired, processing the job...
[2025-04-11 19:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 19:07:03] Production.INFO: ==7844== Lock acquired, processing the job...
[2025-04-11 19:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 19:07:04] Production.INFO: ==7838== Lock acquired, processing the job...
[2025-04-11 19:07:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 19:07:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 19:07:04] Production.INFO: ==7840== Lock acquired, processing the job...
[2025-04-11 19:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 19:07:04] Production.INFO: ==7842== Lock acquired, processing the job...
[2025-04-11 19:07:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 19: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-11 19:07:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 19:07:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 19:07:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 19:07:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 19:07:04] Production.INFO: count ==12
[2025-04-11 19:07:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 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-11 19:07:04] Production.INFO: count ==23
[2025-04-11 19:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886245') start
[2025-04-11 19:07:04] Production.INFO: Account Balance Start.
[2025-04-11 19:07:04] Production.INFO: CreateAllLog Start
[2025-04-11 19:07:04] Production.INFO: 117
[2025-04-11 19:07:04] Production.INFO: Date 2025-04-08
[2025-04-11 19:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886245') end
[2025-04-11 19:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 19:07:04] Production.INFO: 1
[2025-04-11 19:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 19:07:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:07:04] Production.INFO: ==7844== Releasing lock...
[2025-04-11 19:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 19:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 19:07:04] Production.INFO: ==7836== Releasing lock...
[2025-04-11 19:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 19:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 19:07:04] Production.INFO: Date 2025-04-09
[2025-04-11 19:07:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:07:04] Production.INFO: Date 2025-04-10
[2025-04-11 19:07:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:07:04] Production.INFO: Date 2025-04-11
[2025-04-11 19:07:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:07:04] Production.ERROR: done
[2025-04-11 19:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 19:07:04] Production.INFO: Total Charge 0
[2025-04-11 19:07:04] Production.INFO: CreateAllLog End
[2025-04-11 19:07:04] Production.ERROR: done
[2025-04-11 19:07:05] Production.INFO: Account Balance End.
[2025-04-11 19:07:05] Production.ERROR: CronJobId end 12
[2025-04-11 19:07:05] Production.INFO: ==7840== Releasing lock...
[2025-04-11 19:07:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 19:07:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 19:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 16:07:05
[end_date_ymd] => 2025-04-11 19:07:05
[RateCDR] => 1
)
[2025-04-11 19:07:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 16:07:05' and `end` < '2025-04-11 19:07:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 19:07:13] Production.ERROR: CronJobId end10
[2025-04-11 19:07:13] Production.INFO: ==7838== Releasing lock...
[2025-04-11 19:07:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 19:07:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 19:07:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 19:07:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 19:07:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 19:07:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 19:07:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 19:07:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 19:07:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 19:07:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 19:07:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 19:07:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 19:07:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 19:07:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 19:07:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 19:07:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 19:07:15] Production.INFO: call_cost start
[2025-04-11 19:07:15] Production.INFO: call_cost end
[2025-04-11 19:07:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 19:07:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 19:07:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 19:07:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 19:07:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 19:07:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 19:07:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 19:07:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 19:07:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 19:07:16] Production.INFO: ==7834== Releasing lock...
[2025-04-11 19:07:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 19:07:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 19:07:19] Production.INFO: count ==2878
[2025-04-11 19:07:20] Production.ERROR: pbx CDR StartTime 2025-04-11 16:07:05 - End Time 2025-04-11 19:07:05
[2025-04-11 19:07:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 19:07:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886249', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:07:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886249', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:07:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886249', 'tblTempVendorCDR_20' ) start
[2025-04-11 19:07:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886249', 'tblTempVendorCDR_20' ) end
[2025-04-11 19:07:20] Production.INFO: ProcessCDR(1,14886249,1,1,2)
[2025-04-11 19:07:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886249,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:07:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886249,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:07:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886249,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:07:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886249,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:07:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886249', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:07:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886249', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:07:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 19:07:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 19:07:23] Production.INFO: ==7842== Releasing lock...
[2025-04-11 19:07:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 19:07:23] Production.INFO: 50.75 MB #Memory Used#
[2025-04-12 00:08:02] Production.INFO: ==7978== Lock acquired, processing the job...
[2025-04-12 00:08:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 00:08:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 00:08:02] Production.INFO: neon service started
[2025-04-12 00:08:02] Production.INFO: neon service started
[2025-04-12 00:08:02] Production.INFO: ==7978== Releasing lock...
[2025-04-12 00:08:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 00:08:02] Production.INFO: 25.5 MB #Memory Used#
[2025-04-11 19:08:02] Production.INFO: ==7980== Lock acquired, processing the job...
[2025-04-11 19:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 23:08:03] Production.INFO: ==7982== Lock acquired, processing the job...
[2025-04-11 23:08:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-11 19:08:03] Production.INFO: ==7980== Releasing lock...
[2025-04-11 19:08:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 19:08:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 23:08:03] Production.INFO: ==7982== Releasing lock...
[2025-04-11 23:08:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-11 23:08:03] Production.INFO: 25 MB #Memory Used#
[2025-04-11 19:08:04] Production.INFO: ==7988== Lock acquired, processing the job...
[2025-04-11 19:08:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 19:08:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 19:08:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 19:08:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 19:08:04] Production.INFO: ==7995== Lock acquired, processing the job...
[2025-04-11 19:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 19:08:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 19:08:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 19:08:04] Production.INFO: ==7984== Lock acquired, processing the job...
[2025-04-11 19:08:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 19:08:04] Production.INFO: count ==12
[2025-04-11 19:08:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 19:08:04] Production.INFO: count ==23
[2025-04-11 19:08:04] Production.INFO: ==7986== Lock acquired, processing the job...
[2025-04-11 19:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 19:08:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 19:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886250') start
[2025-04-11 19:08:04] Production.INFO: ==7991== Lock acquired, processing the job...
[2025-04-11 19:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 19:08:04] Production.INFO: ==7993== Lock acquired, processing the job...
[2025-04-11 19:08:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 19:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886250') end
[2025-04-11 19:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 19:08:04] Production.INFO: 1
[2025-04-11 19:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 19:08:04] Production.INFO: ==7995== Releasing lock...
[2025-04-11 19:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 19:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 19:08:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 19:08:04] Production.INFO: Account Balance Start.
[2025-04-11 19:08:04] Production.INFO: CreateAllLog Start
[2025-04-11 19:08:04] Production.INFO: 117
[2025-04-11 19:08:04] Production.INFO: Date 2025-04-08
[2025-04-11 19:08:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:08:04] Production.INFO: Date 2025-04-09
[2025-04-11 19:08:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:08:04] Production.INFO: Date 2025-04-10
[2025-04-11 19:08:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:08:04] Production.INFO: Date 2025-04-11
[2025-04-11 19:08:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:08:04] Production.INFO: Total Charge 0
[2025-04-11 19:08:04] Production.INFO: CreateAllLog End
[2025-04-11 19:08:04] Production.INFO: ==7986== Releasing lock...
[2025-04-11 19:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 19:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 19:08:05] Production.ERROR: done
[2025-04-11 19:08:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 19:08:05] Production.INFO: Account Balance End.
[2025-04-11 19:08:05] Production.ERROR: CronJobId end 12
[2025-04-11 19:08:05] Production.INFO: ==7991== Releasing lock...
[2025-04-11 19:08:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 19:08:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 19:08:05] Production.ERROR: done
[2025-04-11 19:08:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 16:08:06
[end_date_ymd] => 2025-04-11 19:08:06
[RateCDR] => 1
)
[2025-04-11 19: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-11 16:08:06' and `end` < '2025-04-11 19: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-11 19:08:14] Production.ERROR: CronJobId end10
[2025-04-11 19:08:14] Production.INFO: ==7988== Releasing lock...
[2025-04-11 19:08:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 19:08:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 19:08:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 19:08:17] Production.INFO: ============== Balance Warning START===========
[2025-04-11 19:08:17] Production.INFO: ============== Balance Warning END===========
[2025-04-11 19:08:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 19:08:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 19:08:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 19:08:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 19:08:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 19:08:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 19:08:17] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 19:08:17] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 19:08:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 19:08:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 19:08:17] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 19:08:17] Production.INFO: call_cost start
[2025-04-11 19:08:17] Production.INFO: call_cost end
[2025-04-11 19:08:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 19:08:18] Production.INFO: ============== Report Schedule START===========
[2025-04-11 19:08:18] Production.INFO: ============== Report Schedule END===========
[2025-04-11 19:08:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 19:08:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 19:08:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 19:08:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 19:08:18] Production.INFO: ============== Deal alert START===========
[2025-04-11 19:08:18] Production.INFO: ============== Deal alert END===========
[2025-04-11 19:08:18] Production.INFO: ==7984== Releasing lock...
[2025-04-11 19:08:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 19:08:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 19:08:20] Production.INFO: count ==2857
[2025-04-11 19:08:20] Production.ERROR: pbx CDR StartTime 2025-04-11 16:08:06 - End Time 2025-04-11 19:08:06
[2025-04-11 19:08:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 19:08:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886254', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:08:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886254', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:08:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886254', 'tblTempVendorCDR_20' ) start
[2025-04-11 19:08:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886254', 'tblTempVendorCDR_20' ) end
[2025-04-11 19:08:21] Production.INFO: ProcessCDR(1,14886254,1,1,2)
[2025-04-11 19:08:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886254,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:08:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886254,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:08:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886254,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:08:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886254,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:08:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886254', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:08:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886254', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:08:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 19:08:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 19:08:26] Production.INFO: ==7993== Releasing lock...
[2025-04-11 19:08:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 19:08:26] Production.INFO: 49.5 MB #Memory Used#
[2025-04-12 00:09:01] Production.INFO: ==8047== Lock acquired, processing the job...
[2025-04-12 00:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 00:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 00:09:01] Production.INFO: neon service started
[2025-04-12 00:09:01] Production.INFO: neon service started
[2025-04-12 00:09:01] Production.INFO: ==8047== Releasing lock...
[2025-04-12 00:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 00:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 19:09:02] Production.INFO: ==8049== Lock acquired, processing the job...
[2025-04-11 19:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 19:09:02] Production.INFO: ==8049== Releasing lock...
[2025-04-11 19:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 19:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 23:09:02] Production.INFO: ==8051== Lock acquired, processing the job...
[2025-04-11 23:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-11 23:09:02] Production.INFO: ==8051== Releasing lock...
[2025-04-11 23:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-11 23:09:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 19:09:03] Production.INFO: ==8053== Lock acquired, processing the job...
[2025-04-11 19:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 19:09:03] Production.INFO: ==8059== Lock acquired, processing the job...
[2025-04-11 19:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 19:09:03] Production.INFO: ==8057== Lock acquired, processing the job...
[2025-04-11 19:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 19:09:03] Production.INFO: ==8061== Lock acquired, processing the job...
[2025-04-11 19:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 19:09:03] Production.INFO: ==8055== Lock acquired, processing the job...
[2025-04-11 19:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 19:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 19:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 19:09:03] Production.INFO: Account Balance Start.
[2025-04-11 19:09:03] Production.INFO: CreateAllLog Start
[2025-04-11 19:09:03] Production.INFO: 117
[2025-04-11 19:09:03] Production.INFO: Date 2025-04-08
[2025-04-11 19:09:03] Production.INFO: Reseller ==> 0
[2025-04-11 19:09:03] Production.INFO: ==8064== Lock acquired, processing the job...
[2025-04-11 19:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 19:09:03] Production.INFO: Date 2025-04-09
[2025-04-11 19:09:03] Production.INFO: Reseller ==> 0
[2025-04-11 19:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 19:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 19:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 19:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 19:09:03] Production.INFO: Date 2025-04-10
[2025-04-11 19:09:03] Production.INFO: Reseller ==> 0
[2025-04-11 19:09:03] Production.INFO: Date 2025-04-11
[2025-04-11 19:09:04] Production.INFO: Reseller ==> 0
[2025-04-11 19: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-11 19:09:04] Production.INFO: count ==12
[2025-04-11 19:09:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 19:09:04] Production.INFO: count ==23
[2025-04-11 19:09:04] Production.INFO: ==8055== Releasing lock...
[2025-04-11 19:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 19:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 19:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886258') start
[2025-04-11 19:09:04] Production.ERROR: done
[2025-04-11 19:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 19:09:04] Production.INFO: Total Charge 0
[2025-04-11 19:09:04] Production.INFO: CreateAllLog End
[2025-04-11 19:09:04] Production.ERROR: done
[2025-04-11 19:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886258') end
[2025-04-11 19:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 19:09:04] Production.INFO: 1
[2025-04-11 19:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 19:09:04] Production.INFO: ==8064== Releasing lock...
[2025-04-11 19:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 19:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 19:09:04] Production.INFO: Account Balance End.
[2025-04-11 19:09:04] Production.ERROR: CronJobId end 12
[2025-04-11 19:09:04] Production.INFO: ==8059== Releasing lock...
[2025-04-11 19:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 19:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 19:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 16:09:05
[end_date_ymd] => 2025-04-11 19:09:05
[RateCDR] => 1
)
[2025-04-11 19:09:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 16:09:05' and `end` < '2025-04-11 19:09:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 19:09:14] Production.ERROR: CronJobId end10
[2025-04-11 19:09:14] Production.INFO: ==8057== Releasing lock...
[2025-04-11 19:09:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 19:09:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 19:09:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 19:09:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 19:09:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 19:09:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 19:09:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 19:09:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 19:09:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 19:09:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 19:09:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 19:09:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 19:09:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 19:09:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 19:09:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 19:09:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 19:09:16] Production.INFO: call_cost start
[2025-04-11 19:09:16] Production.INFO: call_cost end
[2025-04-11 19:09:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 19:09:17] Production.INFO: ============== Report Schedule START===========
[2025-04-11 19:09:17] Production.INFO: ============== Report Schedule END===========
[2025-04-11 19:09:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 19:09:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 19:09:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 19:09:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 19:09:17] Production.INFO: ============== Deal alert START===========
[2025-04-11 19:09:17] Production.INFO: ============== Deal alert END===========
[2025-04-11 19:09:17] Production.INFO: ==8053== Releasing lock...
[2025-04-11 19:09:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 19:09:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 19:09:18] Production.INFO: count ==2850
[2025-04-11 19:09:19] Production.ERROR: pbx CDR StartTime 2025-04-11 16:09:05 - End Time 2025-04-11 19:09:05
[2025-04-11 19:09:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 19:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886259', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886259', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886259', 'tblTempVendorCDR_20' ) start
[2025-04-11 19:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886259', 'tblTempVendorCDR_20' ) end
[2025-04-11 19:09:19] Production.INFO: ProcessCDR(1,14886259,1,1,2)
[2025-04-11 19:09:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886259,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:09:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886259,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:09:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886259,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:09:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886259,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:09:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886259', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:09:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886259', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:09:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 19:09:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 19:09:23] Production.INFO: ==8061== Releasing lock...
[2025-04-11 19:09:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 19:09:23] Production.INFO: 49.5 MB #Memory Used#
[2025-04-12 00:10:02] Production.INFO: ==8118== Lock acquired, processing the job...
[2025-04-12 00:10:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 00:10:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 00:10:02] Production.INFO: neon service started
[2025-04-12 00:10:02] Production.INFO: neon service started
[2025-04-12 00:10:02] Production.INFO: ==8118== Releasing lock...
[2025-04-12 00:10:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 00:10:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 23:10:02] Production.INFO: ==8122== Lock acquired, processing the job...
[2025-04-11 23:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-11 23:10:02] Production.INFO: ==8122== Releasing lock...
[2025-04-11 23:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-11 23:10:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 19:10:03] Production.INFO: ==8120== Lock acquired, processing the job...
[2025-04-11 19:10:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 19:10:03] Production.INFO: ==8120== Releasing lock...
[2025-04-11 19:10:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 19:10:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 19:10:04] Production.INFO: ==8125== Lock acquired, processing the job...
[2025-04-11 19:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-11 19:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-11 19:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-11 19:10:04] Production.INFO: ==8125== Releasing lock...
[2025-04-11 19:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-11 19:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-11 19:10:04] Production.INFO: ==8135== Lock acquired, processing the job...
[2025-04-11 19:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 19:10:04] Production.INFO: ==8137== Lock acquired, processing the job...
[2025-04-11 19:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-11 19:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 19:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 19:10:04] Production.INFO: ==8127== Lock acquired, processing the job...
[2025-04-11 19:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 19:10:04] Production.INFO: ==8129== Lock acquired, processing the job...
[2025-04-11 19:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 19:10:04] Production.INFO: ==8131== Lock acquired, processing the job...
[2025-04-11 19:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 19:10:05] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 19:10:05] Production.INFO: ==8133== Lock acquired, processing the job...
[2025-04-11 19:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 19:10:05] Production.INFO: ==8139== Lock acquired, processing the job...
[2025-04-11 19:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 19:10:05] Production.INFO: Account Balance Start.
[2025-04-11 19:10:05] Production.INFO: CreateAllLog Start
[2025-04-11 19:10:05] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 19:10:05] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 19:10:05] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 19:10:05] Production.INFO: 117
[2025-04-11 19:10:05] Production.INFO: Date 2025-04-08
[2025-04-11 19:10:05] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 19:10:05] Production.INFO: Reseller ==> 0
[2025-04-11 19: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-11 19:10:05] Production.INFO: count ==12
[2025-04-11 19: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-11 19:10:05] Production.INFO: count ==23
[2025-04-11 19:10:05] Production.INFO: Date 2025-04-09
[2025-04-11 19:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14886262') start
[2025-04-11 19:10:05] Production.INFO: Reseller ==> 0
[2025-04-11 19:10:05] Production.INFO: Date 2025-04-10
[2025-04-11 19:10:05] Production.INFO: Reseller ==> 0
[2025-04-11 19:10:05] Production.ERROR: done
[2025-04-11 19:10:05] Production.INFO: Date 2025-04-11
[2025-04-11 19:10:05] Production.INFO: Reseller ==> 0
[2025-04-11 19:10:05] Production.ERROR: done
[2025-04-11 19:10:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-11 19:10:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14886264', 'tblTempUsageDetail_20reseller','2025-04-11','2025-04-11','1' ) start
[2025-04-11 19:10:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 19:10:05] Production.INFO: Total Charge 0
[2025-04-11 19:10:05] Production.INFO: ==8129== Releasing lock...
[2025-04-11 19:10:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 19:10:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 19:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14886262') end
[2025-04-11 19:10:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 19:10:05] Production.INFO: 1
[2025-04-11 19:10:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 19:10:05] Production.INFO: CreateAllLog End
[2025-04-11 19:10:05] Production.INFO: ==8139== Releasing lock...
[2025-04-11 19:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 19:10:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 19:10:05] Production.ERROR: done
[2025-04-11 19:10:05] Production.INFO: Account Balance End.
[2025-04-11 19:10:05] Production.ERROR: CronJobId end 12
[2025-04-11 19:10:05] Production.INFO: ==8133== Releasing lock...
[2025-04-11 19:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 19:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 19:10:07] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 16:10:07
[end_date_ymd] => 2025-04-11 19:10:07
[RateCDR] => 1
)
[2025-04-11 19: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-11 16:10:07' and `end` < '2025-04-11 19: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-11 19:10:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14886264', 'tblTempUsageDetail_20reseller','2025-04-11','2025-04-11','1' ) end
[2025-04-11 19:10:10] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-11 19:10:10] Production.INFO: ProcessCDR(1,14886264,1,1,2)
[2025-04-11 19:10:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14886264,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:10:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14886264,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:10:10] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 19:10:10] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 19:10:10] Production.INFO: ==8137== Releasing lock...
[2025-04-11 19:10:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-11 19:10:10] Production.INFO: 26 MB #Memory Used#
[2025-04-11 19:10:16] Production.ERROR: CronJobId end10
[2025-04-11 19:10:16] Production.INFO: ==8131== Releasing lock...
[2025-04-11 19:10:16] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 19:10:16] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 19:10:18] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 19:10:18] Production.INFO: ============== Balance Warning START===========
[2025-04-11 19:10:18] Production.INFO: ============== Balance Warning END===========
[2025-04-11 19:10:18] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 19:10:18] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 19:10:18] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 19:10:18] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 19:10:18] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 19:10:18] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 19:10:18] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 19:10:18] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 19:10:18] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 19:10:18] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 19:10:18] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 19:10:19] Production.INFO: call_cost start
[2025-04-11 19:10:19] Production.INFO: call_cost end
[2025-04-11 19:10:20] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 19:10:20] Production.INFO: ============== Report Schedule START===========
[2025-04-11 19:10:20] Production.INFO: ============== Report Schedule END===========
[2025-04-11 19:10:20] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 19:10:20] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 19:10:20] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 19:10:20] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 19:10:20] Production.INFO: ============== Deal alert START===========
[2025-04-11 19:10:20] Production.INFO: ============== Deal alert END===========
[2025-04-11 19:10:20] Production.INFO: ==8127== Releasing lock...
[2025-04-11 19:10:20] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 19:10:20] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 19:10:20] Production.INFO: count ==2845
[2025-04-11 19:10:21] Production.ERROR: pbx CDR StartTime 2025-04-11 16:10:07 - End Time 2025-04-11 19:10:07
[2025-04-11 19:10:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 19:10:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886265', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:10:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886265', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:10:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886265', 'tblTempVendorCDR_20' ) start
[2025-04-11 19:10:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886265', 'tblTempVendorCDR_20' ) end
[2025-04-11 19:10:21] Production.INFO: ProcessCDR(1,14886265,1,1,2)
[2025-04-11 19:10:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886265,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:10:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886265,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:10:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886265,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:10:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886265,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:10:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886265', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:10:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886265', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:10:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 19:10:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 19:10:26] Production.INFO: ==8135== Releasing lock...
[2025-04-11 19:10:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 19:10:26] Production.INFO: 49.5 MB #Memory Used#
[2025-04-12 00:11:01] Production.INFO: ==8198== Lock acquired, processing the job...
[2025-04-12 00:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 00:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 00:11:01] Production.INFO: neon service started
[2025-04-12 00:11:01] Production.INFO: neon service started
[2025-04-12 00:11:01] Production.INFO: ==8198== Releasing lock...
[2025-04-12 00:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 00:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 23:11:02] Production.INFO: ==8202== Lock acquired, processing the job...
[2025-04-11 23:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-11 23:11:02] Production.INFO: ==8202== Releasing lock...
[2025-04-11 23:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-11 23:11:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 19:11:02] Production.INFO: ==8200== Lock acquired, processing the job...
[2025-04-11 19:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 19:11:02] Production.INFO: ==8200== Releasing lock...
[2025-04-11 19:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 19:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 19:11:03] Production.INFO: ==8205== Lock acquired, processing the job...
[2025-04-11 19:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 19:11:03] Production.INFO: ==8207== Lock acquired, processing the job...
[2025-04-11 19:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 19:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 19:11:03] Production.INFO: ==8211== Lock acquired, processing the job...
[2025-04-11 19:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 19:11:03] Production.INFO: Account Balance Start.
[2025-04-11 19:11:03] Production.INFO: CreateAllLog Start
[2025-04-11 19:11:03] Production.INFO: 117
[2025-04-11 19:11:03] Production.INFO: Date 2025-04-08
[2025-04-11 19:11:03] Production.INFO: Reseller ==> 0
[2025-04-11 19:11:04] Production.INFO: Date 2025-04-09
[2025-04-11 19:11:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:11:04] Production.INFO: ==8209== Lock acquired, processing the job...
[2025-04-11 19:11:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 19:11:04] Production.INFO: Date 2025-04-10
[2025-04-11 19:11:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:11:04] Production.INFO: Date 2025-04-11
[2025-04-11 19:11:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:11:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 19:11:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 19:11:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 19:11:04] Production.INFO: Total Charge 0
[2025-04-11 19:11:04] Production.INFO: CreateAllLog End
[2025-04-11 19:11:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 19:11:04] Production.INFO: ==8213== Lock acquired, processing the job...
[2025-04-11 19:11:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 19:11:04] Production.INFO: ==8215== Lock acquired, processing the job...
[2025-04-11 19:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 19:11:04] Production.INFO: ==8207== Releasing lock...
[2025-04-11 19:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 19:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 19:11:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 19:11:04] Production.INFO: Account Balance End.
[2025-04-11 19:11:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 19:11:04] Production.INFO: count ==12
[2025-04-11 19:11:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 19:11:04] Production.INFO: count ==23
[2025-04-11 19:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886269') start
[2025-04-11 19:11:04] Production.ERROR: CronJobId end 12
[2025-04-11 19:11:04] Production.INFO: ==8211== Releasing lock...
[2025-04-11 19:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 19:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 19:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886269') end
[2025-04-11 19:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 19:11:04] Production.INFO: 1
[2025-04-11 19:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 19:11:04] Production.INFO: ==8215== Releasing lock...
[2025-04-11 19:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 19:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 19:11:04] Production.ERROR: done
[2025-04-11 19:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 19:11:04] Production.ERROR: done
[2025-04-11 19:11:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 16:11:06
[end_date_ymd] => 2025-04-11 19:11:06
[RateCDR] => 1
)
[2025-04-11 19: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-11 16:11:06' and `end` < '2025-04-11 19: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-11 19:11:13] Production.ERROR: CronJobId end10
[2025-04-11 19:11:13] Production.INFO: ==8209== Releasing lock...
[2025-04-11 19:11:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 19:11:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 19:11:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 19:11:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 19:11:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 19:11:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 19:11:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 19:11:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 19:11:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 19:11:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 19:11:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 19:11:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 19:11:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 19:11:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 19:11:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 19:11:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 19:11:15] Production.INFO: call_cost start
[2025-04-11 19:11:15] Production.INFO: call_cost end
[2025-04-11 19:11:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 19:11:17] Production.INFO: ============== Report Schedule START===========
[2025-04-11 19:11:17] Production.INFO: ============== Report Schedule END===========
[2025-04-11 19:11:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 19:11:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 19:11:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 19:11:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 19:11:17] Production.INFO: ============== Deal alert START===========
[2025-04-11 19:11:17] Production.INFO: ============== Deal alert END===========
[2025-04-11 19:11:17] Production.INFO: ==8205== Releasing lock...
[2025-04-11 19:11:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 19:11:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 19:11:19] Production.INFO: count ==2765
[2025-04-11 19:11:20] Production.ERROR: pbx CDR StartTime 2025-04-11 16:11:06 - End Time 2025-04-11 19:11:06
[2025-04-11 19:11:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 19:11:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886270', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:11:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886270', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:11:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886270', 'tblTempVendorCDR_20' ) start
[2025-04-11 19:11:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886270', 'tblTempVendorCDR_20' ) end
[2025-04-11 19:11:20] Production.INFO: ProcessCDR(1,14886270,1,1,2)
[2025-04-11 19:11:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886270,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:11:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886270,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:11:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886270,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:11:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886270,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:11:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886270', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:11:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886270', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:11:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 19:11:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 19:11:24] Production.INFO: ==8213== Releasing lock...
[2025-04-11 19:11:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 19:11:24] Production.INFO: 48.75 MB #Memory Used#
[2025-04-12 00:12:02] Production.INFO: ==8349== Lock acquired, processing the job...
[2025-04-12 00:12:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 00:12:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 00:12:02] Production.INFO: neon service started
[2025-04-12 00:12:02] Production.INFO: neon service started
[2025-04-12 00:12:02] Production.INFO: ==8349== Releasing lock...
[2025-04-12 00:12:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 00:12:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 23:12:03] Production.INFO: ==8353== Lock acquired, processing the job...
[2025-04-11 23:12:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-11 19:12:03] Production.INFO: ==8351== Lock acquired, processing the job...
[2025-04-11 19:12:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 23:12:03] Production.INFO: ==8353== Releasing lock...
[2025-04-11 23:12:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-11 23:12:03] Production.INFO: 25 MB #Memory Used#
[2025-04-11 19:12:03] Production.INFO: ==8351== Releasing lock...
[2025-04-11 19:12:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 19:12:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 19:12:04] Production.INFO: ==8358== Lock acquired, processing the job...
[2025-04-11 19:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 19:12:04] Production.INFO: ==8364== Lock acquired, processing the job...
[2025-04-11 19:12:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 19:12:04] Production.INFO: ==8356== Lock acquired, processing the job...
[2025-04-11 19:12:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 19:12:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 19:12:04] Production.INFO: ==8360== Lock acquired, processing the job...
[2025-04-11 19:12:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 19:12:04] Production.INFO: ==8362== Lock acquired, processing the job...
[2025-04-11 19:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 19:12:04] Production.INFO: ==8366== Lock acquired, processing the job...
[2025-04-11 19:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 19:12:04] Production.INFO: ==8358== Releasing lock...
[2025-04-11 19:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 19:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 19:12:05] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 19:12:05] Production.INFO: Account Balance Start.
[2025-04-11 19:12:05] Production.INFO: CreateAllLog Start
[2025-04-11 19:12:05] Production.INFO: 117
[2025-04-11 19:12:05] Production.INFO: Date 2025-04-08
[2025-04-11 19:12: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-11 19:12:05] Production.INFO: count ==12
[2025-04-11 19:12:05] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 19:12:05] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 19:12:05] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 19:12:05] Production.INFO: Reseller ==> 0
[2025-04-11 19:12:05] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 19:12: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-11 19:12:05] Production.INFO: count ==23
[2025-04-11 19:12:05] Production.ERROR: done
[2025-04-11 19:12:05] Production.ERROR: PBX CALL prc_importPBXExtension('14886273') start
[2025-04-11 19:12:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 19:12:05] Production.INFO: Date 2025-04-09
[2025-04-11 19:12:05] Production.INFO: Reseller ==> 0
[2025-04-11 19:12:05] Production.ERROR: PBX CALL prc_importPBXExtension('14886273') end
[2025-04-11 19:12:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 19:12:05] Production.INFO: 1
[2025-04-11 19:12:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 19:12:05] Production.INFO: Date 2025-04-10
[2025-04-11 19:12:05] Production.INFO: Reseller ==> 0
[2025-04-11 19:12:05] Production.INFO: ==8366== Releasing lock...
[2025-04-11 19:12:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 19:12:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 19:12:05] Production.ERROR: done
[2025-04-11 19:12:05] Production.INFO: Date 2025-04-11
[2025-04-11 19:12:05] Production.INFO: Reseller ==> 0
[2025-04-11 19:12:05] Production.INFO: Total Charge 0
[2025-04-11 19:12:05] Production.INFO: CreateAllLog End
[2025-04-11 19:12:05] Production.INFO: Account Balance End.
[2025-04-11 19:12:05] Production.ERROR: CronJobId end 12
[2025-04-11 19:12:05] Production.INFO: ==8362== Releasing lock...
[2025-04-11 19:12:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 19:12:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 19:12:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 16:12:06
[end_date_ymd] => 2025-04-11 19:12:06
[RateCDR] => 1
)
[2025-04-11 19: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-11 16:12:06' and `end` < '2025-04-11 19: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-11 19:12:14] Production.ERROR: CronJobId end10
[2025-04-11 19:12:14] Production.INFO: ==8360== Releasing lock...
[2025-04-11 19:12:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 19:12:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 19:12:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 19:12:17] Production.INFO: ============== Balance Warning START===========
[2025-04-11 19:12:17] Production.INFO: ============== Balance Warning END===========
[2025-04-11 19:12:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 19:12:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 19:12:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 19:12:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 19:12:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 19:12:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 19:12:17] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 19:12:17] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 19:12:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 19:12:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 19:12:17] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 19:12:17] Production.INFO: call_cost start
[2025-04-11 19:12:17] Production.INFO: call_cost end
[2025-04-11 19:12:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 19:12:18] Production.INFO: ============== Report Schedule START===========
[2025-04-11 19:12:18] Production.INFO: ============== Report Schedule END===========
[2025-04-11 19:12:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 19:12:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 19:12:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 19:12:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 19:12:18] Production.INFO: ============== Deal alert START===========
[2025-04-11 19:12:18] Production.INFO: ============== Deal alert END===========
[2025-04-11 19:12:18] Production.INFO: ==8356== Releasing lock...
[2025-04-11 19:12:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 19:12:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 19:12:19] Production.INFO: count ==2754
[2025-04-11 19:12:20] Production.ERROR: pbx CDR StartTime 2025-04-11 16:12:06 - End Time 2025-04-11 19:12:06
[2025-04-11 19:12:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 19:12:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886275', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:12:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886275', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:12:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886275', 'tblTempVendorCDR_20' ) start
[2025-04-11 19:12:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886275', 'tblTempVendorCDR_20' ) end
[2025-04-11 19:12:20] Production.INFO: ProcessCDR(1,14886275,1,1,2)
[2025-04-11 19:12:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886275,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:12:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886275,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:12:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886275,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:12:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886275,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:12:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886275', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:12:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886275', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:12:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 19:12:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 19:12:25] Production.INFO: ==8364== Releasing lock...
[2025-04-11 19:12:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 19:12:25] Production.INFO: 48.75 MB #Memory Used#
[2025-04-12 00:13:01] Production.INFO: ==8459== Lock acquired, processing the job...
[2025-04-12 00:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 00:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 00:13:01] Production.INFO: neon service started
[2025-04-12 00:13:01] Production.INFO: neon service started
[2025-04-12 00:13:02] Production.INFO: ==8459== Releasing lock...
[2025-04-12 00:13:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 00:13:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 19:13:02] Production.INFO: ==8461== Lock acquired, processing the job...
[2025-04-11 19:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 23:13:02] Production.INFO: ==8463== Lock acquired, processing the job...
[2025-04-11 23:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-11 23:13:02] Production.INFO: ==8463== Releasing lock...
[2025-04-11 23:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-11 23:13:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 19:13:03] Production.INFO: ==8461== Releasing lock...
[2025-04-11 19:13:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 19:13:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 19:13:03] Production.INFO: ==8466== Lock acquired, processing the job...
[2025-04-11 19:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 19:13:03] Production.INFO: ==8468== Lock acquired, processing the job...
[2025-04-11 19:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 19:13:03] Production.INFO: ==8474== Lock acquired, processing the job...
[2025-04-11 19:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 19:13:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 19:13:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 19:13:04] Production.INFO: ==8470== Lock acquired, processing the job...
[2025-04-11 19:13:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 19:13:04] Production.INFO: ==8472== Lock acquired, processing the job...
[2025-04-11 19:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 19:13:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 19:13:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 19:13:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 19:13:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 19:13:04] Production.INFO: ==8476== Lock acquired, processing the job...
[2025-04-11 19:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 19:13:04] Production.INFO: ==8468== Releasing lock...
[2025-04-11 19:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 19:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 19:13:04] Production.ERROR: done
[2025-04-11 19:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 19:13:04] Production.INFO: Account Balance Start.
[2025-04-11 19:13:04] Production.INFO: CreateAllLog Start
[2025-04-11 19:13:04] Production.INFO: 117
[2025-04-11 19:13:04] Production.INFO: Date 2025-04-08
[2025-04-11 19: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-11 19:13:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:13:04] Production.INFO: count ==12
[2025-04-11 19: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-11 19:13:04] Production.INFO: count ==23
[2025-04-11 19:13:04] Production.INFO: Date 2025-04-09
[2025-04-11 19:13:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886278') start
[2025-04-11 19:13:04] Production.INFO: Date 2025-04-10
[2025-04-11 19:13:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:13:04] Production.INFO: Date 2025-04-11
[2025-04-11 19:13:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:13:04] Production.ERROR: done
[2025-04-11 19:13:04] Production.INFO: Total Charge 0
[2025-04-11 19:13:04] Production.INFO: CreateAllLog End
[2025-04-11 19:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886278') end
[2025-04-11 19:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 19:13:04] Production.INFO: 1
[2025-04-11 19:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 19:13:04] Production.INFO: ==8476== Releasing lock...
[2025-04-11 19:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 19:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 19:13:04] Production.INFO: Account Balance End.
[2025-04-11 19:13:04] Production.ERROR: CronJobId end 12
[2025-04-11 19:13:04] Production.INFO: ==8472== Releasing lock...
[2025-04-11 19:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 19:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 19:13:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 16:13:06
[end_date_ymd] => 2025-04-11 19:13:06
[RateCDR] => 1
)
[2025-04-11 19: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-11 16:13:06' and `end` < '2025-04-11 19: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-11 19:13:13] Production.ERROR: CronJobId end10
[2025-04-11 19:13:13] Production.INFO: ==8470== Releasing lock...
[2025-04-11 19:13:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 19:13:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 19:13:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 19:13:16] Production.INFO: ============== Balance Warning START===========
[2025-04-11 19:13:16] Production.INFO: ============== Balance Warning END===========
[2025-04-11 19:13:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 19:13:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 19:13:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 19:13:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 19:13:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 19:13:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 19:13:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 19:13:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 19:13:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 19:13:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 19:13:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 19:13:16] Production.INFO: call_cost start
[2025-04-11 19:13:16] Production.INFO: call_cost end
[2025-04-11 19:13:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 19:13:17] Production.INFO: ============== Report Schedule START===========
[2025-04-11 19:13:17] Production.INFO: ============== Report Schedule END===========
[2025-04-11 19:13:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 19:13:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 19:13:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 19:13:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 19:13:17] Production.INFO: ============== Deal alert START===========
[2025-04-11 19:13:17] Production.INFO: ============== Deal alert END===========
[2025-04-11 19:13:17] Production.INFO: ==8466== Releasing lock...
[2025-04-11 19:13:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 19:13:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 19:13:19] Production.INFO: count ==2751
[2025-04-11 19:13:20] Production.ERROR: pbx CDR StartTime 2025-04-11 16:13:06 - End Time 2025-04-11 19:13:06
[2025-04-11 19:13:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 19:13:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886280', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:13:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886280', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:13:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886280', 'tblTempVendorCDR_20' ) start
[2025-04-11 19:13:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886280', 'tblTempVendorCDR_20' ) end
[2025-04-11 19:13:20] Production.INFO: ProcessCDR(1,14886280,1,1,2)
[2025-04-11 19:13:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886280,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:13:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886280,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:13:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886280,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:13:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886280,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:13:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886280', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:13:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886280', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:13:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 19:13:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 19:13:24] Production.INFO: ==8474== Releasing lock...
[2025-04-11 19:13:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 19:13:24] Production.INFO: 48.75 MB #Memory Used#
[2025-04-12 00:14:01] Production.INFO: ==8530== Lock acquired, processing the job...
[2025-04-12 00:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 00:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 00:14:01] Production.INFO: neon service started
[2025-04-12 00:14:01] Production.INFO: neon service started
[2025-04-12 00:14:01] Production.INFO: ==8530== Releasing lock...
[2025-04-12 00:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 00:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 19:14:01] Production.INFO: ==8532== Lock acquired, processing the job...
[2025-04-11 19:14:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 19:14:02] Production.INFO: ==8532== Releasing lock...
[2025-04-11 19:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 19:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 23:14:02] Production.INFO: ==8534== Lock acquired, processing the job...
[2025-04-11 23:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-11 23:14:02] Production.INFO: ==8534== Releasing lock...
[2025-04-11 23:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-11 23:14:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 19:14:03] Production.INFO: ==8541== Lock acquired, processing the job...
[2025-04-11 19:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 19:14:03] Production.INFO: ==8537== Lock acquired, processing the job...
[2025-04-11 19:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 19:14:03] Production.INFO: ==8539== Lock acquired, processing the job...
[2025-04-11 19:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 19:14:03] Production.INFO: ==8547== Lock acquired, processing the job...
[2025-04-11 19:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 19:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 19:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 19:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 19:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 19:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 19:14:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 19:14:03] Production.INFO: ==8543== Lock acquired, processing the job...
[2025-04-11 19:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 19:14:03] Production.INFO: ==8545== Lock acquired, processing the job...
[2025-04-11 19:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 19:14:03] Production.INFO: count ==12
[2025-04-11 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-11 19:14:03] Production.INFO: count ==23
[2025-04-11 19:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14886282') start
[2025-04-11 19:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 19:14:03] Production.INFO: Account Balance Start.
[2025-04-11 19:14:03] Production.INFO: CreateAllLog Start
[2025-04-11 19:14:03] Production.INFO: 117
[2025-04-11 19:14:03] Production.INFO: Date 2025-04-08
[2025-04-11 19:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14886282') end
[2025-04-11 19:14:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 19:14:03] Production.INFO: 1
[2025-04-11 19:14:03] Production.INFO: Reseller ==> 0
[2025-04-11 19:14:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 19:14:03] Production.INFO: Date 2025-04-09
[2025-04-11 19:14:03] Production.INFO: Reseller ==> 0
[2025-04-11 19:14:03] Production.INFO: Date 2025-04-10
[2025-04-11 19:14:03] Production.INFO: Reseller ==> 0
[2025-04-11 19:14:03] Production.INFO: Date 2025-04-11
[2025-04-11 19:14:03] Production.INFO: Reseller ==> 0
[2025-04-11 19:14:03] Production.INFO: ==8547== Releasing lock...
[2025-04-11 19:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 19:14:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 19:14:04] Production.INFO: Total Charge 0
[2025-04-11 19:14:04] Production.INFO: CreateAllLog End
[2025-04-11 19:14:04] Production.INFO: ==8539== Releasing lock...
[2025-04-11 19:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 19:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 19:14:04] Production.ERROR: done
[2025-04-11 19:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 19:14:04] Production.ERROR: done
[2025-04-11 19:14:04] Production.INFO: Account Balance End.
[2025-04-11 19:14:04] Production.ERROR: CronJobId end 12
[2025-04-11 19:14:04] Production.INFO: ==8543== Releasing lock...
[2025-04-11 19:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 19:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 19:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 16:14:05
[end_date_ymd] => 2025-04-11 19:14:05
[RateCDR] => 1
)
[2025-04-11 19:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 16:14:05' and `end` < '2025-04-11 19:14:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 19:14:13] Production.ERROR: CronJobId end10
[2025-04-11 19:14:13] Production.INFO: ==8541== Releasing lock...
[2025-04-11 19:14:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 19:14:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 19:14:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 19:14:16] Production.INFO: ============== Balance Warning START===========
[2025-04-11 19:14:16] Production.INFO: ============== Balance Warning END===========
[2025-04-11 19:14:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 19:14:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 19:14:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 19:14:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 19:14:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 19:14:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 19:14:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 19:14:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 19:14:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 19:14:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 19:14:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 19:14:16] Production.INFO: call_cost start
[2025-04-11 19:14:16] Production.INFO: call_cost end
[2025-04-11 19:14:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 19:14:17] Production.INFO: ============== Report Schedule START===========
[2025-04-11 19:14:17] Production.INFO: ============== Report Schedule END===========
[2025-04-11 19:14:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 19:14:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 19:14:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 19:14:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 19:14:17] Production.INFO: ============== Deal alert START===========
[2025-04-11 19:14:17] Production.INFO: ============== Deal alert END===========
[2025-04-11 19:14:17] Production.INFO: ==8537== Releasing lock...
[2025-04-11 19:14:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 19:14:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 19:14:18] Production.INFO: count ==2728
[2025-04-11 19:14:19] Production.ERROR: pbx CDR StartTime 2025-04-11 16:14:05 - End Time 2025-04-11 19:14:05
[2025-04-11 19:14:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 19:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886285', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886285', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886285', 'tblTempVendorCDR_20' ) start
[2025-04-11 19:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886285', 'tblTempVendorCDR_20' ) end
[2025-04-11 19:14:19] Production.INFO: ProcessCDR(1,14886285,1,1,2)
[2025-04-11 19:14:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886285,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:14:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886285,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:14:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886285,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:14:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886285,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:14:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886285', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:14:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886285', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:14:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 19:14:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 19:14:23] Production.INFO: ==8545== Releasing lock...
[2025-04-11 19:14:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 19:14:23] Production.INFO: 48.5 MB #Memory Used#
[2025-04-12 00:15:01] Production.INFO: ==8679== Lock acquired, processing the job...
[2025-04-12 00:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 00:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 00:15:01] Production.INFO: neon service started
[2025-04-12 00:15:01] Production.INFO: neon service started
[2025-04-12 00:15:01] Production.INFO: ==8679== Releasing lock...
[2025-04-12 00:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 00:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 19:15:02] Production.INFO: ==8681== Lock acquired, processing the job...
[2025-04-11 19:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 19:15:02] Production.INFO: ==8681== Releasing lock...
[2025-04-11 19:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 19:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 23:15:02] Production.INFO: ==8683== Lock acquired, processing the job...
[2025-04-11 23:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-11 23:15:02] Production.INFO: ==8683== Releasing lock...
[2025-04-11 23:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-11 23:15:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 19:15:03] Production.INFO: ==8685== Lock acquired, processing the job...
[2025-04-11 19:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 19:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 19:15:03] Production.INFO: ==8691== Lock acquired, processing the job...
[2025-04-11 19:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 19:15:03] Production.INFO: ==8687== Lock acquired, processing the job...
[2025-04-11 19:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 19:15:03] Production.INFO: Account Balance Start.
[2025-04-11 19:15:03] Production.INFO: CreateAllLog Start
[2025-04-11 19:15:03] Production.INFO: 117
[2025-04-11 19:15:03] Production.INFO: Date 2025-04-08
[2025-04-11 19:15:03] Production.INFO: Reseller ==> 0
[2025-04-11 19:15:03] Production.INFO: Date 2025-04-09
[2025-04-11 19:15:03] Production.INFO: Reseller ==> 0
[2025-04-11 19:15:03] Production.INFO: Date 2025-04-10
[2025-04-11 19:15:03] Production.INFO: Reseller ==> 0
[2025-04-11 19:15:03] Production.INFO: Date 2025-04-11
[2025-04-11 19:15:03] Production.INFO: Reseller ==> 0
[2025-04-11 19:15:03] Production.INFO: Total Charge 0
[2025-04-11 19:15:03] Production.INFO: CreateAllLog End
[2025-04-11 19:15:03] Production.INFO: Account Balance End.
[2025-04-11 19:15:03] Production.ERROR: CronJobId end 12
[2025-04-11 19:15:03] Production.INFO: ==8691== Releasing lock...
[2025-04-11 19:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 19:15:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 19:15:03] Production.INFO: ==8689== Lock acquired, processing the job...
[2025-04-11 19:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 19:15:04] Production.INFO: ==8687== Releasing lock...
[2025-04-11 19:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 19:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 19:15:04] Production.INFO: ==8694== Lock acquired, processing the job...
[2025-04-11 19:15:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 19:15:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 19:15:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 19:15:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 19:15:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 19:15:04] Production.INFO: ==8696== Lock acquired, processing the job...
[2025-04-11 19:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 19:15:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 19:15:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 19:15:04] Production.INFO: count ==12
[2025-04-11 19:15:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 19:15:04] Production.INFO: count ==23
[2025-04-11 19:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886289') start
[2025-04-11 19:15:04] Production.ERROR: done
[2025-04-11 19:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886289') end
[2025-04-11 19:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 19:15:04] Production.INFO: 1
[2025-04-11 19:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 19:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 19:15:04] Production.INFO: ==8696== Releasing lock...
[2025-04-11 19:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 19:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 19:15:04] Production.ERROR: done
[2025-04-11 19:15:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 16:15:06
[end_date_ymd] => 2025-04-11 19:15:06
[RateCDR] => 1
)
[2025-04-11 19: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-11 16:15:06' and `end` < '2025-04-11 19: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-11 19:15:13] Production.ERROR: CronJobId end10
[2025-04-11 19:15:13] Production.INFO: ==8689== Releasing lock...
[2025-04-11 19:15:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 19:15:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 19:15:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 19:15:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 19:15:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 19:15:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 19:15:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 19:15:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 19:15:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 19:15:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 19:15:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 19:15:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 19:15:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 19:15:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 19:15:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 19:15:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 19:15:16] Production.INFO: call_cost start
[2025-04-11 19:15:16] Production.INFO: call_cost end
[2025-04-11 19:15:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 19:15:17] Production.INFO: ============== Report Schedule START===========
[2025-04-11 19:15:17] Production.INFO: ============== Report Schedule END===========
[2025-04-11 19:15:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 19:15:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 19:15:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 19:15:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 19:15:17] Production.INFO: ============== Deal alert START===========
[2025-04-11 19:15:17] Production.INFO: ============== Deal alert END===========
[2025-04-11 19:15:17] Production.INFO: ==8685== Releasing lock...
[2025-04-11 19:15:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 19:15:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 19:15:19] Production.INFO: count ==2715
[2025-04-11 19:15:20] Production.ERROR: pbx CDR StartTime 2025-04-11 16:15:06 - End Time 2025-04-11 19:15:06
[2025-04-11 19:15:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 19:15:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886290', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:15:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886290', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:15:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886290', 'tblTempVendorCDR_20' ) start
[2025-04-11 19:15:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886290', 'tblTempVendorCDR_20' ) end
[2025-04-11 19:15:20] Production.INFO: ProcessCDR(1,14886290,1,1,2)
[2025-04-11 19:15:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886290,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:15:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886290,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:15:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886290,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:15:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886290,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:15:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886290', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:15:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886290', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:15:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 19:15:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 19:15:23] Production.INFO: ==8694== Releasing lock...
[2025-04-11 19:15:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 19:15:23] Production.INFO: 48.5 MB #Memory Used#
[2025-04-12 00:16:02] Production.INFO: ==8752== Lock acquired, processing the job...
[2025-04-12 00:16:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 00:16:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 00:16:02] Production.INFO: neon service started
[2025-04-12 00:16:02] Production.INFO: neon service started
[2025-04-12 00:16:02] Production.INFO: ==8752== Releasing lock...
[2025-04-12 00:16:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 00:16:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 19:16:02] Production.INFO: ==8754== Lock acquired, processing the job...
[2025-04-11 19:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 19:16:03] Production.INFO: ==8754== Releasing lock...
[2025-04-11 19:16:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 19:16:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 23:16:03] Production.INFO: ==8756== Lock acquired, processing the job...
[2025-04-11 23:16:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-11 23:16:03] Production.INFO: ==8756== Releasing lock...
[2025-04-11 23:16:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-11 23:16:03] Production.INFO: 25 MB #Memory Used#
[2025-04-11 19:16:04] Production.INFO: ==8760== Lock acquired, processing the job...
[2025-04-11 19:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 19:16:04] Production.INFO: ==8758== Lock acquired, processing the job...
[2025-04-11 19:16:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 19:16:04] Production.INFO: ==8769== Lock acquired, processing the job...
[2025-04-11 19:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 19:16:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 19:16:04] Production.INFO: ==8760== Releasing lock...
[2025-04-11 19:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 19:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 19:16:04] Production.INFO: ==8765== Lock acquired, processing the job...
[2025-04-11 19:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 19:16:04] Production.INFO: ==8762== Lock acquired, processing the job...
[2025-04-11 19:16:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 19:16:04] Production.INFO: ==8767== Lock acquired, processing the job...
[2025-04-11 19:16:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 19:16:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 19:16:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 19:16:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 19:16:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 19:16:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 19:16:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 19:16:04] Production.INFO: Account Balance Start.
[2025-04-11 19:16:04] Production.INFO: CreateAllLog Start
[2025-04-11 19:16:04] Production.INFO: 117
[2025-04-11 19:16:04] Production.INFO: count ==12
[2025-04-11 19:16:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 19:16:04] Production.INFO: count ==23
[2025-04-11 19:16:04] Production.INFO: Date 2025-04-08
[2025-04-11 19:16:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886293') start
[2025-04-11 19:16:04] Production.INFO: Date 2025-04-09
[2025-04-11 19:16:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:16:04] Production.INFO: Date 2025-04-10
[2025-04-11 19:16:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:16:04] Production.INFO: Date 2025-04-11
[2025-04-11 19:16:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:16:04] Production.INFO: Total Charge 0
[2025-04-11 19:16:05] Production.INFO: CreateAllLog End
[2025-04-11 19:16:05] Production.ERROR: done
[2025-04-11 19:16:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 19:16:05] Production.ERROR: PBX CALL prc_importPBXExtension('14886293') end
[2025-04-11 19:16:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 19:16:05] Production.INFO: 1
[2025-04-11 19:16:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 19:16:05] Production.INFO: ==8769== Releasing lock...
[2025-04-11 19:16:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 19:16:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 19:16:05] Production.ERROR: done
[2025-04-11 19:16:05] Production.INFO: Account Balance End.
[2025-04-11 19:16:05] Production.ERROR: CronJobId end 12
[2025-04-11 19:16:05] Production.INFO: ==8765== Releasing lock...
[2025-04-11 19:16:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 19:16:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 19:16:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 16:16:06
[end_date_ymd] => 2025-04-11 19:16:06
[RateCDR] => 1
)
[2025-04-11 19:16:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 16:16:06' and `end` < '2025-04-11 19:16:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 19:16:13] Production.ERROR: CronJobId end10
[2025-04-11 19:16:13] Production.INFO: ==8762== Releasing lock...
[2025-04-11 19:16:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 19:16:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 19:16:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 19:16:16] Production.INFO: ============== Balance Warning START===========
[2025-04-11 19:16:16] Production.INFO: ============== Balance Warning END===========
[2025-04-11 19:16:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 19:16:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 19:16:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 19:16:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 19:16:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 19:16:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 19:16:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 19:16:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 19:16:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 19:16:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 19:16:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 19:16:16] Production.INFO: call_cost start
[2025-04-11 19:16:16] Production.INFO: call_cost end
[2025-04-11 19:16:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 19:16:17] Production.INFO: ============== Report Schedule START===========
[2025-04-11 19:16:17] Production.INFO: ============== Report Schedule END===========
[2025-04-11 19:16:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 19:16:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 19:16:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 19:16:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 19:16:17] Production.INFO: ============== Deal alert START===========
[2025-04-11 19:16:17] Production.INFO: ============== Deal alert END===========
[2025-04-11 19:16:17] Production.INFO: ==8758== Releasing lock...
[2025-04-11 19:16:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 19:16:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 19:16:19] Production.INFO: count ==2709
[2025-04-11 19:16:20] Production.ERROR: pbx CDR StartTime 2025-04-11 16:16:06 - End Time 2025-04-11 19:16:06
[2025-04-11 19:16:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 19:16:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886295', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:16:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886295', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:16:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886295', 'tblTempVendorCDR_20' ) start
[2025-04-11 19:16:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886295', 'tblTempVendorCDR_20' ) end
[2025-04-11 19:16:20] Production.INFO: ProcessCDR(1,14886295,1,1,2)
[2025-04-11 19:16:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886295,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:16:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886295,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:16:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886295,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:16:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886295,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:16:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886295', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:16:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886295', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:16:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 19:16:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 19:16:24] Production.INFO: ==8767== Releasing lock...
[2025-04-11 19:16:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 19:16:24] Production.INFO: 48.25 MB #Memory Used#
[2025-04-12 00:17:01] Production.INFO: ==8825== Lock acquired, processing the job...
[2025-04-12 00:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 00:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 00:17:01] Production.INFO: neon service started
[2025-04-12 00:17:01] Production.INFO: neon service started
[2025-04-12 00:17:01] Production.INFO: ==8825== Releasing lock...
[2025-04-12 00:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 00:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 19:17:02] Production.INFO: ==8827== Lock acquired, processing the job...
[2025-04-11 19:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 23:17:02] Production.INFO: ==8829== Lock acquired, processing the job...
[2025-04-11 23:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-11 23:17:02] Production.INFO: ==8829== Releasing lock...
[2025-04-11 23:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-11 23:17:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 19:17:03] Production.INFO: ==8827== Releasing lock...
[2025-04-11 19:17:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 19:17:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 19:17:04] Production.INFO: ==8834== Lock acquired, processing the job...
[2025-04-11 19:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 19:17:04] Production.INFO: ==8838== Lock acquired, processing the job...
[2025-04-11 19:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 19:17:04] Production.INFO: ==8842== Lock acquired, processing the job...
[2025-04-11 19:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 19:17:04] Production.INFO: Account Balance Start.
[2025-04-11 19:17:04] Production.INFO: CreateAllLog Start
[2025-04-11 19:17:04] Production.INFO: 117
[2025-04-11 19:17:04] Production.INFO: Date 2025-04-08
[2025-04-11 19:17:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:17:04] Production.INFO: Date 2025-04-09
[2025-04-11 19:17:04] Production.INFO: Reseller ==> 0
[2025-04-11 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-11 19:17:04] Production.INFO: count ==12
[2025-04-11 19:17:04] Production.INFO: Date 2025-04-10
[2025-04-11 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-11 19:17:04] Production.INFO: count ==23
[2025-04-11 19:17:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886297') start
[2025-04-11 19:17:04] Production.INFO: ==8832== Lock acquired, processing the job...
[2025-04-11 19:17:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 19:17:04] Production.INFO: ==8836== Lock acquired, processing the job...
[2025-04-11 19:17:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 19:17:04] Production.INFO: Date 2025-04-11
[2025-04-11 19:17:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:17:04] Production.INFO: Total Charge 0
[2025-04-11 19:17:04] Production.INFO: ==8840== Lock acquired, processing the job...
[2025-04-11 19:17:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 19:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886297') end
[2025-04-11 19:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 19:17:04] Production.INFO: 1
[2025-04-11 19:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 19:17:04] Production.INFO: CreateAllLog End
[2025-04-11 19:17:04] Production.INFO: ==8842== Releasing lock...
[2025-04-11 19:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 19:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 19:17:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 19:17:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 19:17:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 19:17:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 19:17:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 19:17:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 19:17:04] Production.INFO: Account Balance End.
[2025-04-11 19:17:04] Production.INFO: ==8834== Releasing lock...
[2025-04-11 19:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 19:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 19:17:04] Production.ERROR: CronJobId end 12
[2025-04-11 19:17:04] Production.INFO: ==8838== Releasing lock...
[2025-04-11 19:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 19:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 19:17:04] Production.ERROR: done
[2025-04-11 19:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 19:17:05] Production.ERROR: done
[2025-04-11 19:17:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 16:17:06
[end_date_ymd] => 2025-04-11 19:17:06
[RateCDR] => 1
)
[2025-04-11 19: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-11 16:17:06' and `end` < '2025-04-11 19: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-11 19:17:15] Production.ERROR: CronJobId end10
[2025-04-11 19:17:15] Production.INFO: ==8836== Releasing lock...
[2025-04-11 19:17:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 19:17:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 19:17:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 19:17:16] Production.INFO: ============== Balance Warning START===========
[2025-04-11 19:17:16] Production.INFO: ============== Balance Warning END===========
[2025-04-11 19:17:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 19:17:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 19:17:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 19:17:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 19:17:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 19:17:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 19:17:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 19:17:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 19:17:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 19:17:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 19:17:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 19:17:16] Production.INFO: call_cost start
[2025-04-11 19:17:16] Production.INFO: call_cost end
[2025-04-11 19:17:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 19:17:17] Production.INFO: ============== Report Schedule START===========
[2025-04-11 19:17:17] Production.INFO: ============== Report Schedule END===========
[2025-04-11 19:17:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 19:17:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 19:17:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 19:17:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 19:17:17] Production.INFO: ============== Deal alert START===========
[2025-04-11 19:17:17] Production.INFO: ============== Deal alert END===========
[2025-04-11 19:17:17] Production.INFO: ==8832== Releasing lock...
[2025-04-11 19:17:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 19:17:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 19:17:19] Production.INFO: count ==2700
[2025-04-11 19:17:20] Production.ERROR: pbx CDR StartTime 2025-04-11 16:17:06 - End Time 2025-04-11 19:17:06
[2025-04-11 19:17:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 19:17:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886300', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:17:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886300', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:17:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886300', 'tblTempVendorCDR_20' ) start
[2025-04-11 19:17:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886300', 'tblTempVendorCDR_20' ) end
[2025-04-11 19:17:20] Production.INFO: ProcessCDR(1,14886300,1,1,2)
[2025-04-11 19:17:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886300,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:17:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886300,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:17:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886300,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:17:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886300,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:17:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886300', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:17:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886300', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:17:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 19:17:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 19:17:24] Production.INFO: ==8840== Releasing lock...
[2025-04-11 19:17:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 19:17:24] Production.INFO: 48.25 MB #Memory Used#
[2025-04-12 00:18:01] Production.INFO: ==8898== Lock acquired, processing the job...
[2025-04-12 00:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 00:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 00:18:01] Production.INFO: neon service started
[2025-04-12 00:18:01] Production.INFO: neon service started
[2025-04-12 00:18:01] Production.INFO: ==8898== Releasing lock...
[2025-04-12 00:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 00:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 19:18:01] Production.INFO: ==8900== Lock acquired, processing the job...
[2025-04-11 19:18:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 19:18:02] Production.INFO: ==8900== Releasing lock...
[2025-04-11 19:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 19:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 23:18:02] Production.INFO: ==8902== Lock acquired, processing the job...
[2025-04-11 23:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-11 23:18:02] Production.INFO: ==8902== Releasing lock...
[2025-04-11 23:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-11 23:18:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 19:18:03] Production.INFO: ==8908== Lock acquired, processing the job...
[2025-04-11 19:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 19:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 19:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 19:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 19:18:03] Production.INFO: ==8914== Lock acquired, processing the job...
[2025-04-11 19:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 19:18:03] Production.INFO: ==8906== Lock acquired, processing the job...
[2025-04-11 19:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 19:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 19:18:03] Production.INFO: ==8904== Lock acquired, processing the job...
[2025-04-11 19:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 19:18:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 19:18:03] Production.INFO: count ==12
[2025-04-11 19:18:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 19:18:03] Production.INFO: count ==23
[2025-04-11 19:18:03] Production.INFO: ==8910== Lock acquired, processing the job...
[2025-04-11 19:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 19:18:03] Production.INFO: ==8912== Lock acquired, processing the job...
[2025-04-11 19:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 19:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14886301') start
[2025-04-11 19:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 19:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 19:18:03] Production.INFO: Account Balance Start.
[2025-04-11 19:18:03] Production.INFO: CreateAllLog Start
[2025-04-11 19:18:03] Production.INFO: 117
[2025-04-11 19:18:03] Production.INFO: Date 2025-04-08
[2025-04-11 19:18:03] Production.INFO: Reseller ==> 0
[2025-04-11 19:18:03] Production.INFO: Date 2025-04-09
[2025-04-11 19:18:03] Production.INFO: Reseller ==> 0
[2025-04-11 19:18:03] Production.INFO: Date 2025-04-10
[2025-04-11 19:18:03] Production.INFO: Reseller ==> 0
[2025-04-11 19:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14886301') end
[2025-04-11 19:18:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 19:18:03] Production.INFO: 1
[2025-04-11 19:18:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 19:18:03] Production.INFO: Date 2025-04-11
[2025-04-11 19:18:03] Production.INFO: Reseller ==> 0
[2025-04-11 19:18:03] Production.INFO: Total Charge 0
[2025-04-11 19:18:03] Production.INFO: CreateAllLog End
[2025-04-11 19:18:03] Production.INFO: ==8914== Releasing lock...
[2025-04-11 19:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 19:18:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 19:18:03] Production.INFO: ==8906== Releasing lock...
[2025-04-11 19:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 19:18:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 19:18:04] Production.ERROR: done
[2025-04-11 19:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 19:18:04] Production.ERROR: done
[2025-04-11 19:18:04] Production.INFO: Account Balance End.
[2025-04-11 19:18:04] Production.ERROR: CronJobId end 12
[2025-04-11 19:18:04] Production.INFO: ==8910== Releasing lock...
[2025-04-11 19:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 19:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 19:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 16:18:05
[end_date_ymd] => 2025-04-11 19:18:05
[RateCDR] => 1
)
[2025-04-11 19:18:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 16:18:05' and `end` < '2025-04-11 19:18:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 19:18:12] Production.ERROR: CronJobId end10
[2025-04-11 19:18:12] Production.INFO: ==8908== Releasing lock...
[2025-04-11 19:18:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 19:18:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 19:18:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 19:18:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 19:18:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 19:18:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 19:18:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 19:18:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 19:18:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 19:18:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 19:18:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 19:18:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 19:18:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 19:18:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 19:18:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 19:18:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 19:18:16] Production.INFO: call_cost start
[2025-04-11 19:18:16] Production.INFO: call_cost end
[2025-04-11 19:18:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 19:18:17] Production.INFO: ============== Report Schedule START===========
[2025-04-11 19:18:17] Production.INFO: ============== Report Schedule END===========
[2025-04-11 19:18:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 19:18:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 19:18:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 19:18:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 19:18:17] Production.INFO: ============== Deal alert START===========
[2025-04-11 19:18:17] Production.INFO: ============== Deal alert END===========
[2025-04-11 19:18:17] Production.INFO: ==8904== Releasing lock...
[2025-04-11 19:18:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 19:18:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 19:18:19] Production.INFO: count ==2677
[2025-04-11 19:18:19] Production.ERROR: pbx CDR StartTime 2025-04-11 16:18:05 - End Time 2025-04-11 19:18:05
[2025-04-11 19:18:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 19:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886305', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886305', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886305', 'tblTempVendorCDR_20' ) start
[2025-04-11 19:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886305', 'tblTempVendorCDR_20' ) end
[2025-04-11 19:18:19] Production.INFO: ProcessCDR(1,14886305,1,1,2)
[2025-04-11 19:18:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886305,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:18:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886305,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:18:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886305,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:18:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886305,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:18:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886305', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:18:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886305', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:18:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 19:18:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 19:18:25] Production.INFO: ==8912== Releasing lock...
[2025-04-11 19:18:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 19:18:25] Production.INFO: 48.25 MB #Memory Used#
[2025-04-12 00:19:01] Production.INFO: ==8974== Lock acquired, processing the job...
[2025-04-12 00:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 00:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 00:19:01] Production.INFO: neon service started
[2025-04-12 00:19:01] Production.INFO: neon service started
[2025-04-12 00:19:01] Production.INFO: ==8974== Releasing lock...
[2025-04-12 00:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 00:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 19:19:02] Production.INFO: ==8976== Lock acquired, processing the job...
[2025-04-11 19:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 23:19:02] Production.INFO: ==8978== Lock acquired, processing the job...
[2025-04-11 23:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-11 23:19:02] Production.INFO: ==8978== Releasing lock...
[2025-04-11 23:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-11 23:19:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 19:19:03] Production.INFO: ==8976== Releasing lock...
[2025-04-11 19:19:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 19:19:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 19:19:04] Production.INFO: ==8985== Lock acquired, processing the job...
[2025-04-11 19:19:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 19:19:04] Production.INFO: ==8989== Lock acquired, processing the job...
[2025-04-11 19:19:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 19:19:04] Production.INFO: ==8981== Lock acquired, processing the job...
[2025-04-11 19:19:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 19:19:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 19:19:04] Production.INFO: ==8983== Lock acquired, processing the job...
[2025-04-11 19:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 19:19:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 19:19:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 19:19:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 19:19:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 19:19:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 19:19:04] Production.INFO: ==8987== Lock acquired, processing the job...
[2025-04-11 19:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 19:19:04] Production.INFO: ==8991== Lock acquired, processing the job...
[2025-04-11 19:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 19:19:04] Production.INFO: Account Balance Start.
[2025-04-11 19:19:04] Production.INFO: CreateAllLog Start
[2025-04-11 19:19:04] Production.INFO: 117
[2025-04-11 19:19:04] Production.INFO: Date 2025-04-08
[2025-04-11 19:19:04] Production.INFO: Reseller ==> 0
[2025-04-11 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-11 19:19:04] Production.INFO: Date 2025-04-09
[2025-04-11 19:19:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:19:04] Production.INFO: count ==12
[2025-04-11 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-11 19:19:04] Production.INFO: count ==23
[2025-04-11 19:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886309') start
[2025-04-11 19:19:04] Production.INFO: Date 2025-04-10
[2025-04-11 19:19:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:19:04] Production.ERROR: done
[2025-04-11 19:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 19:19:04] Production.INFO: Date 2025-04-11
[2025-04-11 19:19:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:19:04] Production.INFO: Total Charge 0
[2025-04-11 19:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886309') end
[2025-04-11 19:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 19:19:04] Production.INFO: 1
[2025-04-11 19:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 19:19:04] Production.INFO: CreateAllLog End
[2025-04-11 19:19:05] Production.INFO: ==8983== Releasing lock...
[2025-04-11 19:19:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 19:19:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 19:19:05] Production.INFO: ==8991== Releasing lock...
[2025-04-11 19:19:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 19:19:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 19:19:05] Production.ERROR: done
[2025-04-11 19:19:05] Production.INFO: Account Balance End.
[2025-04-11 19:19:05] Production.ERROR: CronJobId end 12
[2025-04-11 19:19:05] Production.INFO: ==8987== Releasing lock...
[2025-04-11 19:19:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 19:19:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 19:19:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 16:19:06
[end_date_ymd] => 2025-04-11 19:19:06
[RateCDR] => 1
)
[2025-04-11 19: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-11 16:19:06' and `end` < '2025-04-11 19: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-11 19:19:14] Production.ERROR: CronJobId end10
[2025-04-11 19:19:14] Production.INFO: ==8985== Releasing lock...
[2025-04-11 19:19:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 19:19:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 19:19:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 19:19:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 19:19:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 19:19:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 19:19:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 19:19:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 19:19:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 19:19:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 19:19:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 19:19:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 19:19:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 19:19:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 19:19:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 19:19:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 19:19:16] Production.INFO: call_cost start
[2025-04-11 19:19:16] Production.INFO: call_cost end
[2025-04-11 19:19:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 19:19:17] Production.INFO: ============== Report Schedule START===========
[2025-04-11 19:19:17] Production.INFO: ============== Report Schedule END===========
[2025-04-11 19:19:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 19:19:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 19:19:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 19:19:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 19:19:17] Production.INFO: ============== Deal alert START===========
[2025-04-11 19:19:17] Production.INFO: ============== Deal alert END===========
[2025-04-11 19:19:17] Production.INFO: ==8981== Releasing lock...
[2025-04-11 19:19:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 19:19:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 19:19:19] Production.INFO: count ==2664
[2025-04-11 19:19:20] Production.ERROR: pbx CDR StartTime 2025-04-11 16:19:06 - End Time 2025-04-11 19:19:06
[2025-04-11 19:19:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 19:19:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886310', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:19:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886310', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:19:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886310', 'tblTempVendorCDR_20' ) start
[2025-04-11 19:19:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886310', 'tblTempVendorCDR_20' ) end
[2025-04-11 19:19:20] Production.INFO: ProcessCDR(1,14886310,1,1,2)
[2025-04-11 19:19:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886310,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:19:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886310,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:19:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886310,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:19:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886310,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:19:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886310', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:19:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886310', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:19:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 19:19:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 19:19:26] Production.INFO: ==8989== Releasing lock...
[2025-04-11 19:19:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 19:19:26] Production.INFO: 48 MB #Memory Used#
[2025-04-12 00:20:01] Production.INFO: ==9048== Lock acquired, processing the job...
[2025-04-12 00:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 00:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 00:20:01] Production.INFO: neon service started
[2025-04-12 00:20:01] Production.INFO: neon service started
[2025-04-12 00:20:01] Production.INFO: ==9048== Releasing lock...
[2025-04-12 00:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 00:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 23:20:01] Production.INFO: ==9052== Lock acquired, processing the job...
[2025-04-11 23:20:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-11 23:20:01] Production.INFO: ==9052== Releasing lock...
[2025-04-11 23:20:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-11 23:20:01] Production.INFO: 25 MB #Memory Used#
[2025-04-11 19:20:02] Production.INFO: ==9050== Lock acquired, processing the job...
[2025-04-11 19:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 19:20:02] Production.INFO: ==9050== Releasing lock...
[2025-04-11 19:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 19:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 19:20:03] Production.INFO: ==9055== Lock acquired, processing the job...
[2025-04-11 19:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-11 19:20:03] Production.INFO: ==9057== Lock acquired, processing the job...
[2025-04-11 19:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 19:20:03] Production.INFO: ==9059== Lock acquired, processing the job...
[2025-04-11 19:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 19:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-11 19:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-11 19:20:03] Production.ERROR: CronJob PID - 9057
[2025-04-11 19:20:03] Production.ERROR: CronJob Title - System Alerts
[2025-04-11 19:20:03] Production.ERROR: CronJob ID - 5
[2025-04-11 19:20:03] Production.ERROR: CronJob Last Run Time 2025-04-11 19:20:00
[2025-04-11 19:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-11 19:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-11 19:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-04-11 19:20:03] Production.INFO: ==9055== Releasing lock...
[2025-04-11 19:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-11 19:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-04-11 19:20:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 19:20:03] Production.INFO: ==9061== Lock acquired, processing the job...
[2025-04-11 19:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 19:20:03] Production.INFO: ==9063== Lock acquired, processing the job...
[2025-04-11 19:20:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 19:20:04] Production.INFO: ==9065== Lock acquired, processing the job...
[2025-04-11 19:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 19:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 19:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 19:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 19:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 19:20:04] Production.INFO: ==9069== Lock acquired, processing the job...
[2025-04-11 19:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 19:20:04] Production.INFO: ==9067== Lock acquired, processing the job...
[2025-04-11 19:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-11 19:20:04] Production.INFO: Account Balance Start.
[2025-04-11 19:20:04] Production.INFO: CreateAllLog Start
[2025-04-11 19:20:04] Production.INFO: 117
[2025-04-11 19:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 19:20:04] Production.INFO: Date 2025-04-08
[2025-04-11 19:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 19:20:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 19:20:04] Production.INFO: Date 2025-04-09
[2025-04-11 19:20:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:20:04] Production.INFO: Date 2025-04-10
[2025-04-11 19:20:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:20:04] Production.INFO: count ==12
[2025-04-11 19:20:04] Production.INFO: Date 2025-04-11
[2025-04-11 19:20:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 19:20:04] Production.INFO: count ==23
[2025-04-11 19:20:04] Production.INFO: ==9059== Releasing lock...
[2025-04-11 19:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 19:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 19:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886314') start
[2025-04-11 19:20:04] Production.INFO: Total Charge 0
[2025-04-11 19:20:04] Production.INFO: CreateAllLog End
[2025-04-11 19:20:04] Production.ERROR: done
[2025-04-11 19:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 19:20:04] Production.ERROR: done
[2025-04-11 19:20:04] Production.ERROR: done
[2025-04-11 19:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886314') end
[2025-04-11 19:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 19:20:04] Production.INFO: 1
[2025-04-11 19:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 19:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-11 19:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14886315', 'tblTempUsageDetail_20reseller','2025-04-11','2025-04-11','1' ) start
[2025-04-11 19:20:04] Production.INFO: ==9069== Releasing lock...
[2025-04-11 19:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 19:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 19:20:04] Production.INFO: Account Balance End.
[2025-04-11 19:20:05] Production.ERROR: CronJobId end 12
[2025-04-11 19:20:05] Production.INFO: ==9063== Releasing lock...
[2025-04-11 19:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 19:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 19:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 16:20:06
[end_date_ymd] => 2025-04-11 19:20:06
[RateCDR] => 1
)
[2025-04-11 19:20:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 16:20:06' and `end` < '2025-04-11 19:20:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 19:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14886315', 'tblTempUsageDetail_20reseller','2025-04-11','2025-04-11','1' ) end
[2025-04-11 19:20:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-11 19:20:09] Production.INFO: ProcessCDR(1,14886315,1,1,2)
[2025-04-11 19:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14886315,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:20:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14886315,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:20:10] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 19:20:10] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 19:20:10] Production.INFO: ==9067== Releasing lock...
[2025-04-11 19:20:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-11 19:20:10] Production.INFO: 26 MB #Memory Used#
[2025-04-11 19:20:15] Production.ERROR: CronJobId end10
[2025-04-11 19:20:15] Production.INFO: ==9061== Releasing lock...
[2025-04-11 19:20:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 19:20:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 19:20:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 19:20:17] Production.INFO: ============== Balance Warning START===========
[2025-04-11 19:20:17] Production.INFO: ============== Balance Warning END===========
[2025-04-11 19:20:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 19:20:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 19:20:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 19:20:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 19:20:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 19:20:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 19:20:17] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 19:20:17] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 19:20:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 19:20:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 19:20:17] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 19:20:18] Production.INFO: call_cost start
[2025-04-11 19:20:18] Production.INFO: call_cost end
[2025-04-11 19:20:19] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 19:20:19] Production.INFO: ============== Report Schedule START===========
[2025-04-11 19:20:19] Production.INFO: ============== Report Schedule END===========
[2025-04-11 19:20:19] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 19:20:19] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 19:20:19] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 19:20:19] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 19:20:19] Production.INFO: ============== Deal alert START===========
[2025-04-11 19:20:19] Production.INFO: ============== Deal alert END===========
[2025-04-11 19:20:19] Production.INFO: ==9057== Releasing lock...
[2025-04-11 19:20:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 19:20:19] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 19:20:19] Production.INFO: count ==2666
[2025-04-11 19:20:20] Production.ERROR: pbx CDR StartTime 2025-04-11 16:20:06 - End Time 2025-04-11 19:20:06
[2025-04-11 19:20:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 19:20:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886316', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:20:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886316', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:20:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886316', 'tblTempVendorCDR_20' ) start
[2025-04-11 19:20:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886316', 'tblTempVendorCDR_20' ) end
[2025-04-11 19:20:20] Production.INFO: ProcessCDR(1,14886316,1,1,2)
[2025-04-11 19:20:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886316,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:20:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886316,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:20:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886316,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:20:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886316,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886316', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:20:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886316', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:20:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 19:20:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 19:20:24] Production.INFO: ==9065== Releasing lock...
[2025-04-11 19:20:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 19:20:24] Production.INFO: 47.75 MB #Memory Used#
[2025-04-12 00:21:01] Production.INFO: ==9133== Lock acquired, processing the job...
[2025-04-12 00:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 00:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 00:21:01] Production.INFO: neon service started
[2025-04-12 00:21:01] Production.INFO: neon service started
[2025-04-12 00:21:01] Production.INFO: ==9133== Releasing lock...
[2025-04-12 00:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 00:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 19:21:02] Production.INFO: ==9135== Lock acquired, processing the job...
[2025-04-11 19:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 19:21:02] Production.INFO: ==9135== Releasing lock...
[2025-04-11 19:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 19:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 23:21:02] Production.INFO: ==9137== Lock acquired, processing the job...
[2025-04-11 23:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-11 23:21:02] Production.INFO: ==9137== Releasing lock...
[2025-04-11 23:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-11 23:21:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 19:21:03] Production.INFO: ==9143== Lock acquired, processing the job...
[2025-04-11 19:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 19:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 19:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 19:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 19:21:03] Production.INFO: ==9150== Lock acquired, processing the job...
[2025-04-11 19:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 19:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 19:21:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 19:21:03] Production.INFO: count ==12
[2025-04-11 19:21:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 19:21:03] Production.INFO: count ==23
[2025-04-11 19:21:03] Production.INFO: ==9139== Lock acquired, processing the job...
[2025-04-11 19:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 19:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14886317') start
[2025-04-11 19:21:03] Production.INFO: ==9141== Lock acquired, processing the job...
[2025-04-11 19:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 19:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 19:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14886317') end
[2025-04-11 19:21:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 19:21:03] Production.INFO: 1
[2025-04-11 19:21:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 19:21:03] Production.INFO: ==9145== Lock acquired, processing the job...
[2025-04-11 19:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 19:21:04] Production.INFO: ==9148== Lock acquired, processing the job...
[2025-04-11 19:21:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 19:21:04] Production.INFO: ==9150== Releasing lock...
[2025-04-11 19:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 19:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 19:21:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 19:21:04] Production.INFO: Account Balance Start.
[2025-04-11 19:21:04] Production.INFO: CreateAllLog Start
[2025-04-11 19:21:04] Production.INFO: 117
[2025-04-11 19:21:04] Production.INFO: Date 2025-04-08
[2025-04-11 19:21:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:21:04] Production.INFO: Date 2025-04-09
[2025-04-11 19:21:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:21:04] Production.INFO: Date 2025-04-10
[2025-04-11 19:21:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:21:04] Production.INFO: ==9141== Releasing lock...
[2025-04-11 19:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 19:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 19:21:04] Production.INFO: Date 2025-04-11
[2025-04-11 19:21:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:21:04] Production.INFO: Total Charge 0
[2025-04-11 19:21:04] Production.INFO: CreateAllLog End
[2025-04-11 19:21:04] Production.ERROR: done
[2025-04-11 19:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 19:21:04] Production.INFO: Account Balance End.
[2025-04-11 19:21:04] Production.ERROR: CronJobId end 12
[2025-04-11 19:21:04] Production.INFO: ==9145== Releasing lock...
[2025-04-11 19:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 19:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 19:21:04] Production.ERROR: done
[2025-04-11 19:21:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 16:21:06
[end_date_ymd] => 2025-04-11 19:21:06
[RateCDR] => 1
)
[2025-04-11 19: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-11 16:21:06' and `end` < '2025-04-11 19: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-11 19:21:13] Production.ERROR: CronJobId end10
[2025-04-11 19:21:13] Production.INFO: ==9143== Releasing lock...
[2025-04-11 19:21:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 19:21:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 19:21:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 19:21:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 19:21:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 19:21:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 19:21:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 19:21:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 19:21:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 19:21:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 19:21:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 19:21:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 19:21:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 19:21:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 19:21:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 19:21:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 19:21:15] Production.INFO: call_cost start
[2025-04-11 19:21:15] Production.INFO: call_cost end
[2025-04-11 19:21:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 19:21:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 19:21:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 19:21:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 19:21:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 19:21:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 19:21:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 19:21:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 19:21:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 19:21:16] Production.INFO: ==9139== Releasing lock...
[2025-04-11 19:21:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 19:21:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 19:21:19] Production.INFO: count ==2608
[2025-04-11 19:21:20] Production.ERROR: pbx CDR StartTime 2025-04-11 16:21:06 - End Time 2025-04-11 19:21:06
[2025-04-11 19:21:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 19:21:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886321', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:21:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886321', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:21:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886321', 'tblTempVendorCDR_20' ) start
[2025-04-11 19:21:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886321', 'tblTempVendorCDR_20' ) end
[2025-04-11 19:21:20] Production.INFO: ProcessCDR(1,14886321,1,1,2)
[2025-04-11 19:21:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886321,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:21:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886321,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:21:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886321,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:21:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886321,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:21:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886321', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:21:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886321', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:21:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 19:21:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 19:21:25] Production.INFO: ==9148== Releasing lock...
[2025-04-11 19:21:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 19:21:25] Production.INFO: 47.75 MB #Memory Used#
[2025-04-12 00:22:02] Production.INFO: ==9204== Lock acquired, processing the job...
[2025-04-12 00:22:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 00:22:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 00:22:02] Production.INFO: neon service started
[2025-04-12 00:22:02] Production.INFO: neon service started
[2025-04-12 00:22:02] Production.INFO: ==9204== Releasing lock...
[2025-04-12 00:22:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 00:22:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 23:22:02] Production.INFO: ==9208== Lock acquired, processing the job...
[2025-04-11 23:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-11 23:22:02] Production.INFO: ==9208== Releasing lock...
[2025-04-11 23:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-11 23:22:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 19:22:03] Production.INFO: ==9206== Lock acquired, processing the job...
[2025-04-11 19:22:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 19:22:03] Production.INFO: ==9206== Releasing lock...
[2025-04-11 19:22:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 19:22:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 19:22:04] Production.INFO: ==9211== Lock acquired, processing the job...
[2025-04-11 19:22:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 19:22:04] Production.INFO: ==9213== Lock acquired, processing the job...
[2025-04-11 19:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 19:22:04] Production.INFO: ==9217== Lock acquired, processing the job...
[2025-04-11 19:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 19:22:04] Production.INFO: Account Balance Start.
[2025-04-11 19:22:04] Production.INFO: CreateAllLog Start
[2025-04-11 19:22:04] Production.INFO: 117
[2025-04-11 19:22:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 19:22:04] Production.INFO: Date 2025-04-08
[2025-04-11 19:22:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:22:04] Production.INFO: ==9215== Lock acquired, processing the job...
[2025-04-11 19:22:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 19:22:04] Production.INFO: Date 2025-04-09
[2025-04-11 19:22:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:22:04] Production.INFO: Date 2025-04-10
[2025-04-11 19:22:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:22:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 19:22:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 19:22:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 19:22:04] Production.INFO: Date 2025-04-11
[2025-04-11 19:22:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:22:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 19:22:04] Production.INFO: Total Charge 0
[2025-04-11 19:22:04] Production.INFO: CreateAllLog End
[2025-04-11 19:22:04] Production.INFO: ==9213== Releasing lock...
[2025-04-11 19:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 19:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 19:22:05] Production.INFO: ==9221== Lock acquired, processing the job...
[2025-04-11 19:22:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 19:22:05] Production.INFO: Account Balance End.
[2025-04-11 19:22:05] Production.INFO: ==9219== Lock acquired, processing the job...
[2025-04-11 19:22:05] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 19:22:05] Production.ERROR: CronJobId end 12
[2025-04-11 19:22:05] Production.INFO: ==9217== Releasing lock...
[2025-04-11 19:22:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 19:22:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 19:22:05] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 19:22:05] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 19:22:05] Production.INFO: count ==12
[2025-04-11 19:22:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 19:22:05] Production.INFO: count ==23
[2025-04-11 19:22:05] Production.ERROR: PBX CALL prc_importPBXExtension('14886325') start
[2025-04-11 19:22:05] Production.ERROR: done
[2025-04-11 19:22:05] Production.ERROR: PBX CALL prc_importPBXExtension('14886325') end
[2025-04-11 19:22:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 19:22:05] Production.INFO: 1
[2025-04-11 19:22:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 19:22:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 19:22:05] Production.INFO: ==9221== Releasing lock...
[2025-04-11 19:22:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 19:22:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 19:22:05] Production.ERROR: done
[2025-04-11 19:22:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 16:22:06
[end_date_ymd] => 2025-04-11 19:22:06
[RateCDR] => 1
)
[2025-04-11 19: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-11 16:22:06' and `end` < '2025-04-11 19: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-11 19:22:15] Production.ERROR: CronJobId end10
[2025-04-11 19:22:15] Production.INFO: ==9215== Releasing lock...
[2025-04-11 19:22:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 19:22:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 19:22:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 19:22:16] Production.INFO: ============== Balance Warning START===========
[2025-04-11 19:22:16] Production.INFO: ============== Balance Warning END===========
[2025-04-11 19:22:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 19:22:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 19:22:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 19:22:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 19:22:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 19:22:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 19:22:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 19:22:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 19:22:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 19:22:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 19:22:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 19:22:17] Production.INFO: call_cost start
[2025-04-11 19:22:17] Production.INFO: call_cost end
[2025-04-11 19:22:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 19:22:18] Production.INFO: ============== Report Schedule START===========
[2025-04-11 19:22:18] Production.INFO: ============== Report Schedule END===========
[2025-04-11 19:22:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 19:22:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 19:22:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 19:22:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 19:22:18] Production.INFO: ============== Deal alert START===========
[2025-04-11 19:22:18] Production.INFO: ============== Deal alert END===========
[2025-04-11 19:22:18] Production.INFO: ==9211== Releasing lock...
[2025-04-11 19:22:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 19:22:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 19:22:20] Production.INFO: count ==2555
[2025-04-11 19:22:20] Production.ERROR: pbx CDR StartTime 2025-04-11 16:22:06 - End Time 2025-04-11 19:22:06
[2025-04-11 19:22:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 19:22:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886326', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:22:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886326', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:22:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886326', 'tblTempVendorCDR_20' ) start
[2025-04-11 19:22:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886326', 'tblTempVendorCDR_20' ) end
[2025-04-11 19:22:20] Production.INFO: ProcessCDR(1,14886326,1,1,2)
[2025-04-11 19:22:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886326,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:22:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886326,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:22:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886326,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:22:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886326,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:22:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886326', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:22:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886326', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:22:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 19:22:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 19:22:24] Production.INFO: ==9219== Releasing lock...
[2025-04-11 19:22:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 19:22:24] Production.INFO: 47 MB #Memory Used#
[2025-04-12 00:23:01] Production.INFO: ==9279== Lock acquired, processing the job...
[2025-04-12 00:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 00:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 00:23:02] Production.INFO: neon service started
[2025-04-12 00:23:02] Production.INFO: neon service started
[2025-04-12 00:23:02] Production.INFO: ==9279== Releasing lock...
[2025-04-12 00:23:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 00:23:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 23:23:02] Production.INFO: ==9283== Lock acquired, processing the job...
[2025-04-11 23:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-11 23:23:02] Production.INFO: ==9283== Releasing lock...
[2025-04-11 23:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-11 23:23:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 19:23:02] Production.INFO: ==9281== Lock acquired, processing the job...
[2025-04-11 19:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 19:23:02] Production.INFO: ==9281== Releasing lock...
[2025-04-11 19:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 19:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 19:23:03] Production.INFO: ==9286== Lock acquired, processing the job...
[2025-04-11 19:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 19:23:03] Production.INFO: ==9288== Lock acquired, processing the job...
[2025-04-11 19:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 19:23:03] Production.INFO: ==9290== Lock acquired, processing the job...
[2025-04-11 19:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 19:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 19:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 19:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 19:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 19:23:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 19:23:04] Production.INFO: ==9292== Lock acquired, processing the job...
[2025-04-11 19:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 19:23:04] Production.INFO: ==9294== Lock acquired, processing the job...
[2025-04-11 19:23:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 19:23:04] Production.INFO: ==9296== Lock acquired, processing the job...
[2025-04-11 19:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 19:23:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 19:23:04] Production.INFO: Account Balance Start.
[2025-04-11 19:23:04] Production.INFO: CreateAllLog Start
[2025-04-11 19:23:04] Production.INFO: 117
[2025-04-11 19:23:04] Production.INFO: Date 2025-04-08
[2025-04-11 19:23:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:23:04] Production.INFO: Date 2025-04-09
[2025-04-11 19:23:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:23:04] Production.INFO: Date 2025-04-10
[2025-04-11 19:23:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:23:04] Production.INFO: ==9288== Releasing lock...
[2025-04-11 19:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 19:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 19:23:04] Production.INFO: Date 2025-04-11
[2025-04-11 19:23:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:23:04] Production.INFO: Total Charge 0
[2025-04-11 19:23:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 19:23:04] Production.INFO: CreateAllLog End
[2025-04-11 19:23:04] Production.ERROR: done
[2025-04-11 19:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 19:23:04] Production.INFO: count ==12
[2025-04-11 19:23:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 19:23:04] Production.INFO: count ==23
[2025-04-11 19:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886330') start
[2025-04-11 19:23:05] Production.ERROR: done
[2025-04-11 19:23:05] Production.INFO: Account Balance End.
[2025-04-11 19:23:05] Production.ERROR: PBX CALL prc_importPBXExtension('14886330') end
[2025-04-11 19:23:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 19:23:05] Production.INFO: 1
[2025-04-11 19:23:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 19:23:05] Production.ERROR: CronJobId end 12
[2025-04-11 19:23:05] Production.INFO: ==9292== Releasing lock...
[2025-04-11 19:23:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 19:23:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 19:23:05] Production.INFO: ==9296== Releasing lock...
[2025-04-11 19:23:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 19:23:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 19:23:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 16:23:06
[end_date_ymd] => 2025-04-11 19:23:06
[RateCDR] => 1
)
[2025-04-11 19: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-11 16:23:06' and `end` < '2025-04-11 19: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-11 19:23:14] Production.ERROR: CronJobId end10
[2025-04-11 19:23:14] Production.INFO: ==9290== Releasing lock...
[2025-04-11 19:23:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 19:23:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 19:23:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 19:23:16] Production.INFO: ============== Balance Warning START===========
[2025-04-11 19:23:16] Production.INFO: ============== Balance Warning END===========
[2025-04-11 19:23:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 19:23:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 19:23:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 19:23:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 19:23:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 19:23:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 19:23:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 19:23:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 19:23:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 19:23:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 19:23:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 19:23:16] Production.INFO: call_cost start
[2025-04-11 19:23:16] Production.INFO: call_cost end
[2025-04-11 19:23:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 19:23:17] Production.INFO: ============== Report Schedule START===========
[2025-04-11 19:23:17] Production.INFO: ============== Report Schedule END===========
[2025-04-11 19:23:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 19:23:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 19:23:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 19:23:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 19:23:17] Production.INFO: ============== Deal alert START===========
[2025-04-11 19:23:17] Production.INFO: ============== Deal alert END===========
[2025-04-11 19:23:17] Production.INFO: ==9286== Releasing lock...
[2025-04-11 19:23:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 19:23:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 19:23:19] Production.INFO: count ==2548
[2025-04-11 19:23:20] Production.ERROR: pbx CDR StartTime 2025-04-11 16:23:06 - End Time 2025-04-11 19:23:06
[2025-04-11 19:23:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 19:23:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886331', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:23:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886331', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:23:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886331', 'tblTempVendorCDR_20' ) start
[2025-04-11 19:23:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886331', 'tblTempVendorCDR_20' ) end
[2025-04-11 19:23:20] Production.INFO: ProcessCDR(1,14886331,1,1,2)
[2025-04-11 19:23:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886331,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:23:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886331,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:23:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886331,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:23:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886331,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:23:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886331', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:23:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886331', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:23:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 19:23:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 19:23:25] Production.INFO: ==9294== Releasing lock...
[2025-04-11 19:23:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 19:23:25] Production.INFO: 47 MB #Memory Used#
[2025-04-12 00:24:01] Production.INFO: ==9354== Lock acquired, processing the job...
[2025-04-12 00:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 00:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 00:24:01] Production.INFO: neon service started
[2025-04-12 00:24:01] Production.INFO: neon service started
[2025-04-12 00:24:01] Production.INFO: ==9354== Releasing lock...
[2025-04-12 00:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 00:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 23:24:01] Production.INFO: ==9359== Lock acquired, processing the job...
[2025-04-11 23:24:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-11 23:24:01] Production.INFO: ==9359== Releasing lock...
[2025-04-11 23:24:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-11 23:24:01] Production.INFO: 25 MB #Memory Used#
[2025-04-11 19:24:02] Production.INFO: ==9356== Lock acquired, processing the job...
[2025-04-11 19:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 19:24:02] Production.INFO: ==9356== Releasing lock...
[2025-04-11 19:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 19:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 19:24:03] Production.INFO: ==9362== Lock acquired, processing the job...
[2025-04-11 19:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 19:24:03] Production.INFO: ==9364== Lock acquired, processing the job...
[2025-04-11 19:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 19:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 19:24:03] Production.INFO: ==9370== Lock acquired, processing the job...
[2025-04-11 19:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 19:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 19:24:03] Production.INFO: ==9366== Lock acquired, processing the job...
[2025-04-11 19:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 19:24:03] Production.INFO: ==9368== Lock acquired, processing the job...
[2025-04-11 19:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 19:24:03] Production.INFO: ==9372== Lock acquired, processing the job...
[2025-04-11 19:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 19:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 19:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 19:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 19:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 19:24:04] Production.INFO: Account Balance Start.
[2025-04-11 19:24:04] Production.INFO: CreateAllLog Start
[2025-04-11 19:24:04] Production.INFO: 117
[2025-04-11 19:24:04] Production.INFO: ==9364== Releasing lock...
[2025-04-11 19:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 19:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 19:24:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 19:24:04] Production.INFO: Date 2025-04-08
[2025-04-11 19:24:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:24:04] Production.INFO: count ==12
[2025-04-11 19:24:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 19:24:04] Production.INFO: count ==23
[2025-04-11 19:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886335') start
[2025-04-11 19:24:04] Production.INFO: Date 2025-04-09
[2025-04-11 19:24:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:24:04] Production.ERROR: done
[2025-04-11 19:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886335') end
[2025-04-11 19:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 19:24:04] Production.INFO: 1
[2025-04-11 19:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 19:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 19:24:04] Production.INFO: ==9372== Releasing lock...
[2025-04-11 19:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 19:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 19:24:04] Production.INFO: Date 2025-04-10
[2025-04-11 19:24:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:24:04] Production.INFO: Date 2025-04-11
[2025-04-11 19:24:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:24:04] Production.INFO: Total Charge 0
[2025-04-11 19:24:04] Production.INFO: CreateAllLog End
[2025-04-11 19:24:04] Production.ERROR: done
[2025-04-11 19:24:04] Production.INFO: Account Balance End.
[2025-04-11 19:24:04] Production.ERROR: CronJobId end 12
[2025-04-11 19:24:04] Production.INFO: ==9368== Releasing lock...
[2025-04-11 19:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 19:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 19:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 16:24:05
[end_date_ymd] => 2025-04-11 19:24:05
[RateCDR] => 1
)
[2025-04-11 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-11 16:24:05' and `end` < '2025-04-11 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-11 19:24:14] Production.ERROR: CronJobId end10
[2025-04-11 19:24:14] Production.INFO: ==9366== Releasing lock...
[2025-04-11 19:24:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 19:24:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 19:24:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 19:24:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 19:24:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 19:24:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 19:24:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 19:24:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 19:24:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 19:24:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 19:24:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 19:24:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 19:24:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 19:24:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 19:24:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 19:24:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 19:24:15] Production.INFO: call_cost start
[2025-04-11 19:24:15] Production.INFO: call_cost end
[2025-04-11 19:24:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 19:24:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 19:24:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 19:24:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 19:24:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 19:24:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 19:24:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 19:24:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 19:24:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 19:24:16] Production.INFO: ==9362== Releasing lock...
[2025-04-11 19:24:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 19:24:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 19:24:19] Production.INFO: count ==2548
[2025-04-11 19:24:19] Production.ERROR: pbx CDR StartTime 2025-04-11 16:24:05 - End Time 2025-04-11 19:24:05
[2025-04-11 19:24:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 19:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886336', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886336', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886336', 'tblTempVendorCDR_20' ) start
[2025-04-11 19:24:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886336', 'tblTempVendorCDR_20' ) end
[2025-04-11 19:24:20] Production.INFO: ProcessCDR(1,14886336,1,1,2)
[2025-04-11 19:24:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886336,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:24:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886336,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:24:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886336,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:24:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886336,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:24:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886336', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:24:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886336', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:24:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 19:24:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 19:24:23] Production.INFO: ==9370== Releasing lock...
[2025-04-11 19:24:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 19:24:23] Production.INFO: 47 MB #Memory Used#
[2025-04-12 00:25:01] Production.INFO: ==9430== Lock acquired, processing the job...
[2025-04-12 00:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 00:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 00:25:01] Production.INFO: neon service started
[2025-04-12 00:25:01] Production.INFO: neon service started
[2025-04-12 00:25:01] Production.INFO: ==9430== Releasing lock...
[2025-04-12 00:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 00:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 19:25:02] Production.INFO: ==9432== Lock acquired, processing the job...
[2025-04-11 19:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 23:25:02] Production.INFO: ==9434== Lock acquired, processing the job...
[2025-04-11 23:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-11 23:25:02] Production.INFO: ==9434== Releasing lock...
[2025-04-11 23:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-11 23:25:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 19:25:02] Production.INFO: ==9432== Releasing lock...
[2025-04-11 19:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 19:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 19:25:03] Production.INFO: ==9440== Lock acquired, processing the job...
[2025-04-11 19:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 19:25:03] Production.INFO: ==9442== Lock acquired, processing the job...
[2025-04-11 19:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 19:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 19:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 19:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 19:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 19:25:03] Production.INFO: ==9446== Lock acquired, processing the job...
[2025-04-11 19:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 19:25:03] Production.INFO: Account Balance Start.
[2025-04-11 19:25:03] Production.INFO: CreateAllLog Start
[2025-04-11 19:25:03] Production.INFO: 117
[2025-04-11 19:25:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 19:25:03] Production.INFO: ==9436== Lock acquired, processing the job...
[2025-04-11 19:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 19:25:03] Production.INFO: Date 2025-04-08
[2025-04-11 19:25:03] Production.INFO: Reseller ==> 0
[2025-04-11 19:25:03] Production.INFO: count ==12
[2025-04-11 19:25:03] Production.INFO: ==9438== Lock acquired, processing the job...
[2025-04-11 19:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 19:25:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 19:25:03] Production.INFO: count ==23
[2025-04-11 19:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14886338') start
[2025-04-11 19:25:03] Production.INFO: Date 2025-04-09
[2025-04-11 19:25:03] Production.INFO: Reseller ==> 0
[2025-04-11 19:25:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 19:25:04] Production.INFO: ==9444== Lock acquired, processing the job...
[2025-04-11 19:25:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 19:25:04] Production.INFO: Date 2025-04-10
[2025-04-11 19:25:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:25:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 19:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886338') end
[2025-04-11 19:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 19:25:04] Production.INFO: 1
[2025-04-11 19:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 19:25:04] Production.INFO: ==9446== Releasing lock...
[2025-04-11 19:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 19:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 19:25:04] Production.INFO: Date 2025-04-11
[2025-04-11 19:25:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:25:04] Production.INFO: ==9438== Releasing lock...
[2025-04-11 19:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 19:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 19:25:04] Production.INFO: Total Charge 0
[2025-04-11 19:25:04] Production.INFO: CreateAllLog End
[2025-04-11 19:25:04] Production.ERROR: done
[2025-04-11 19:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 19:25:04] Production.ERROR: done
[2025-04-11 19:25:04] Production.INFO: Account Balance End.
[2025-04-11 19:25:04] Production.ERROR: CronJobId end 12
[2025-04-11 19:25:04] Production.INFO: ==9442== Releasing lock...
[2025-04-11 19:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 19:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 19:25:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 16:25:05
[end_date_ymd] => 2025-04-11 19:25:05
[RateCDR] => 1
)
[2025-04-11 19: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-11 16:25:05' and `end` < '2025-04-11 19:25:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 19:25:12] Production.ERROR: CronJobId end10
[2025-04-11 19:25:12] Production.INFO: ==9440== Releasing lock...
[2025-04-11 19:25:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 19:25:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 19:25:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 19:25:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 19:25:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 19:25:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 19:25:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 19:25:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 19:25:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 19:25:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 19:25:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 19:25:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 19:25:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 19:25:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 19:25:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 19:25:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 19:25:16] Production.INFO: call_cost start
[2025-04-11 19:25:16] Production.INFO: call_cost end
[2025-04-11 19:25:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 19:25:17] Production.INFO: ============== Report Schedule START===========
[2025-04-11 19:25:17] Production.INFO: ============== Report Schedule END===========
[2025-04-11 19:25:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 19:25:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 19:25:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 19:25:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 19:25:17] Production.INFO: ============== Deal alert START===========
[2025-04-11 19:25:17] Production.INFO: ============== Deal alert END===========
[2025-04-11 19:25:17] Production.INFO: ==9436== Releasing lock...
[2025-04-11 19:25:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 19:25:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 19:25:19] Production.INFO: count ==2546
[2025-04-11 19:25:19] Production.ERROR: pbx CDR StartTime 2025-04-11 16:25:05 - End Time 2025-04-11 19:25:05
[2025-04-11 19:25:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 19:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886341', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886341', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886341', 'tblTempVendorCDR_20' ) start
[2025-04-11 19:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886341', 'tblTempVendorCDR_20' ) end
[2025-04-11 19:25:19] Production.INFO: ProcessCDR(1,14886341,1,1,2)
[2025-04-11 19:25:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886341,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:25:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886341,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:25:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886341,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:25:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886341,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:25:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886341', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:25:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886341', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:25:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 19:25:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 19:25:23] Production.INFO: ==9444== Releasing lock...
[2025-04-11 19:25:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 19:25:23] Production.INFO: 46.75 MB #Memory Used#
[2025-04-12 00:26:01] Production.INFO: ==9501== Lock acquired, processing the job...
[2025-04-12 00:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 00:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 00:26:01] Production.INFO: neon service started
[2025-04-12 00:26:01] Production.INFO: neon service started
[2025-04-12 00:26:01] Production.INFO: ==9501== Releasing lock...
[2025-04-12 00:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 00:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 19:26:01] Production.INFO: ==9503== Lock acquired, processing the job...
[2025-04-11 19:26:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 19:26:02] Production.INFO: ==9503== Releasing lock...
[2025-04-11 19:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 19:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 23:26:02] Production.INFO: ==9505== Lock acquired, processing the job...
[2025-04-11 23:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-11 23:26:02] Production.INFO: ==9505== Releasing lock...
[2025-04-11 23:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-11 23:26:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 19:26:03] Production.INFO: ==9507== Lock acquired, processing the job...
[2025-04-11 19:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 19:26:03] Production.INFO: ==9511== Lock acquired, processing the job...
[2025-04-11 19:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 19:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 19:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 19:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 19:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 19:26:03] Production.INFO: ==9509== Lock acquired, processing the job...
[2025-04-11 19:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 19:26:03] Production.INFO: ==9517== Lock acquired, processing the job...
[2025-04-11 19:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 19:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 19:26:03] Production.INFO: ==9513== Lock acquired, processing the job...
[2025-04-11 19:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 19:26:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 19:26:03] Production.INFO: ==9515== Lock acquired, processing the job...
[2025-04-11 19:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 19:26:03] Production.INFO: count ==12
[2025-04-11 19:26:03] Production.INFO: Account Balance Start.
[2025-04-11 19:26:03] Production.INFO: CreateAllLog Start
[2025-04-11 19:26:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 19:26:03] Production.INFO: count ==23
[2025-04-11 19:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 19:26:03] Production.INFO: 117
[2025-04-11 19:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14886343') start
[2025-04-11 19:26:03] Production.INFO: Date 2025-04-08
[2025-04-11 19:26:03] Production.INFO: Reseller ==> 0
[2025-04-11 19:26:03] Production.INFO: Date 2025-04-09
[2025-04-11 19:26:03] Production.INFO: Reseller ==> 0
[2025-04-11 19:26:04] Production.INFO: Date 2025-04-10
[2025-04-11 19:26:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:26:04] Production.INFO: ==9509== Releasing lock...
[2025-04-11 19:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 19:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 19:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886343') end
[2025-04-11 19:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 19:26:04] Production.INFO: 1
[2025-04-11 19:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 19:26:04] Production.INFO: Date 2025-04-11
[2025-04-11 19:26:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:26:04] Production.INFO: Total Charge 0
[2025-04-11 19:26:04] Production.INFO: CreateAllLog End
[2025-04-11 19:26:04] Production.INFO: ==9517== Releasing lock...
[2025-04-11 19:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 19:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 19:26:04] Production.ERROR: done
[2025-04-11 19:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 19:26:04] Production.INFO: Account Balance End.
[2025-04-11 19:26:04] Production.ERROR: CronJobId end 12
[2025-04-11 19:26:04] Production.INFO: ==9513== Releasing lock...
[2025-04-11 19:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 19:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 19:26:04] Production.ERROR: done
[2025-04-11 19:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 16:26:05
[end_date_ymd] => 2025-04-11 19:26:05
[RateCDR] => 1
)
[2025-04-11 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-11 16:26:05' and `end` < '2025-04-11 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-11 19:26:13] Production.ERROR: CronJobId end10
[2025-04-11 19:26:13] Production.INFO: ==9511== Releasing lock...
[2025-04-11 19:26:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 19:26:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 19:26:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 19:26:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 19:26:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 19:26:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 19:26:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 19:26:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 19:26:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 19:26:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 19:26:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 19:26:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 19:26:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 19:26:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 19:26:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 19:26:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 19:26:15] Production.INFO: call_cost start
[2025-04-11 19:26:15] Production.INFO: call_cost end
[2025-04-11 19:26:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 19:26:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 19:26:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 19:26:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 19:26:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 19:26:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 19:26:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 19:26:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 19:26:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 19:26:16] Production.INFO: ==9507== Releasing lock...
[2025-04-11 19:26:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 19:26:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 19:26:18] Production.INFO: count ==2542
[2025-04-11 19:26:19] Production.ERROR: pbx CDR StartTime 2025-04-11 16:26:05 - End Time 2025-04-11 19:26:05
[2025-04-11 19:26:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 19:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886346', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886346', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886346', 'tblTempVendorCDR_20' ) start
[2025-04-11 19:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886346', 'tblTempVendorCDR_20' ) end
[2025-04-11 19:26:19] Production.INFO: ProcessCDR(1,14886346,1,1,2)
[2025-04-11 19:26:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886346,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:26:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886346,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:26:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886346,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:26:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886346,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:26:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886346', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:26:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886346', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:26:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 19:26:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 19:26:25] Production.INFO: ==9515== Releasing lock...
[2025-04-11 19:26:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 19:26:25] Production.INFO: 47 MB #Memory Used#
[2025-04-12 00:27:01] Production.INFO: ==9570== Lock acquired, processing the job...
[2025-04-12 00:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 00:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 00:27:02] Production.INFO: neon service started
[2025-04-12 00:27:02] Production.INFO: neon service started
[2025-04-12 00:27:02] Production.INFO: ==9570== Releasing lock...
[2025-04-12 00:27:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 00:27:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 23:27:02] Production.INFO: ==9574== Lock acquired, processing the job...
[2025-04-11 23:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-11 23:27:02] Production.INFO: ==9574== Releasing lock...
[2025-04-11 23:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-11 23:27:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 19:27:02] Production.INFO: ==9572== Lock acquired, processing the job...
[2025-04-11 19:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 19:27:02] Production.INFO: ==9572== Releasing lock...
[2025-04-11 19:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 19:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 19:27:03] Production.INFO: ==9579== Lock acquired, processing the job...
[2025-04-11 19:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 19:27:03] Production.INFO: ==9585== Lock acquired, processing the job...
[2025-04-11 19:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 19:27:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 19:27:04] Production.INFO: ==9577== Lock acquired, processing the job...
[2025-04-11 19:27:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 19:27:04] Production.INFO: ==9581== Lock acquired, processing the job...
[2025-04-11 19:27:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 19:27:04] Production.INFO: ==9583== Lock acquired, processing the job...
[2025-04-11 19:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 19:27:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 19:27:04] Production.INFO: ==9579== Releasing lock...
[2025-04-11 19:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 19:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 19:27:04] Production.INFO: ==9587== Lock acquired, processing the job...
[2025-04-11 19:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 19:27:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 19:27:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 19:27:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 19:27:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 19:27:04] Production.INFO: Account Balance Start.
[2025-04-11 19:27:04] Production.INFO: CreateAllLog Start
[2025-04-11 19:27:04] Production.INFO: 117
[2025-04-11 19:27:04] Production.INFO: Date 2025-04-08
[2025-04-11 19:27:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:27:04] Production.ERROR: done
[2025-04-11 19:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 19:27:04] Production.INFO: Date 2025-04-09
[2025-04-11 19:27:04] Production.INFO: Reseller ==> 0
[2025-04-11 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-11 19:27:04] Production.INFO: Date 2025-04-10
[2025-04-11 19:27:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:27:04] Production.INFO: count ==12
[2025-04-11 19:27:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 19:27:04] Production.INFO: count ==23
[2025-04-11 19:27:04] Production.ERROR: done
[2025-04-11 19:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886350') start
[2025-04-11 19:27:04] Production.INFO: Date 2025-04-11
[2025-04-11 19:27:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886350') end
[2025-04-11 19:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 19:27:04] Production.INFO: 1
[2025-04-11 19:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 19:27:04] Production.INFO: Total Charge 0
[2025-04-11 19:27:04] Production.INFO: CreateAllLog End
[2025-04-11 19:27:04] Production.INFO: ==9587== Releasing lock...
[2025-04-11 19:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 19:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 19:27:04] Production.INFO: Account Balance End.
[2025-04-11 19:27:05] Production.ERROR: CronJobId end 12
[2025-04-11 19:27:05] Production.INFO: ==9583== Releasing lock...
[2025-04-11 19:27:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 19:27:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 19:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 16:27:05
[end_date_ymd] => 2025-04-11 19:27:05
[RateCDR] => 1
)
[2025-04-11 19:27:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 16:27:05' and `end` < '2025-04-11 19:27:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 19:27:13] Production.ERROR: CronJobId end10
[2025-04-11 19:27:13] Production.INFO: ==9581== Releasing lock...
[2025-04-11 19:27:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 19:27:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 19:27:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 19:27:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 19:27:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 19:27:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 19:27:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 19:27:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 19:27:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 19:27:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 19:27:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 19:27:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 19:27:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 19:27:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 19:27:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 19:27:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 19:27:15] Production.INFO: call_cost start
[2025-04-11 19:27:15] Production.INFO: call_cost end
[2025-04-11 19:27:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 19:27:17] Production.INFO: ============== Report Schedule START===========
[2025-04-11 19:27:17] Production.INFO: ============== Report Schedule END===========
[2025-04-11 19:27:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 19:27:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 19:27:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 19:27:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 19:27:17] Production.INFO: ============== Deal alert START===========
[2025-04-11 19:27:17] Production.INFO: ============== Deal alert END===========
[2025-04-11 19:27:17] Production.INFO: ==9577== Releasing lock...
[2025-04-11 19:27:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 19:27:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 19:27:19] Production.INFO: count ==2541
[2025-04-11 19:27:19] Production.ERROR: pbx CDR StartTime 2025-04-11 16:27:05 - End Time 2025-04-11 19:27:05
[2025-04-11 19:27:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 19:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886351', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886351', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886351', 'tblTempVendorCDR_20' ) start
[2025-04-11 19:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886351', 'tblTempVendorCDR_20' ) end
[2025-04-11 19:27:19] Production.INFO: ProcessCDR(1,14886351,1,1,2)
[2025-04-11 19:27:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886351,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:27:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886351,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:27:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886351,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:27:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886351,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:27:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886351', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:27:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886351', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:27:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 19:27:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 19:27:25] Production.INFO: ==9585== Releasing lock...
[2025-04-11 19:27:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 19:27:25] Production.INFO: 47 MB #Memory Used#
[2025-04-12 00:28:01] Production.INFO: ==9644== Lock acquired, processing the job...
[2025-04-12 00:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 00:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 00:28:01] Production.INFO: neon service started
[2025-04-12 00:28:01] Production.INFO: neon service started
[2025-04-12 00:28:01] Production.INFO: ==9644== Releasing lock...
[2025-04-12 00:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 00:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 19:28:01] Production.INFO: ==9646== Lock acquired, processing the job...
[2025-04-11 19:28:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 19:28:02] Production.INFO: ==9646== Releasing lock...
[2025-04-11 19:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 19:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 23:28:02] Production.INFO: ==9648== Lock acquired, processing the job...
[2025-04-11 23:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-11 23:28:02] Production.INFO: ==9648== Releasing lock...
[2025-04-11 23:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-11 23:28:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 19:28:03] Production.INFO: ==9656== Lock acquired, processing the job...
[2025-04-11 19:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 19:28:03] Production.INFO: ==9660== Lock acquired, processing the job...
[2025-04-11 19:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 19:28:03] Production.INFO: Account Balance Start.
[2025-04-11 19:28:03] Production.INFO: CreateAllLog Start
[2025-04-11 19:28:03] Production.INFO: 117
[2025-04-11 19:28:03] Production.INFO: Date 2025-04-08
[2025-04-11 19:28:03] Production.INFO: Reseller ==> 0
[2025-04-11 19:28:03] Production.INFO: Date 2025-04-09
[2025-04-11 19:28:03] Production.INFO: Reseller ==> 0
[2025-04-11 19:28:03] Production.INFO: Date 2025-04-10
[2025-04-11 19:28:03] Production.INFO: Reseller ==> 0
[2025-04-11 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-11 19:28:03] Production.INFO: Date 2025-04-11
[2025-04-11 19:28:03] Production.INFO: Reseller ==> 0
[2025-04-11 19:28:03] Production.INFO: count ==12
[2025-04-11 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-11 19:28:03] Production.INFO: count ==23
[2025-04-11 19:28:03] Production.INFO: ==9650== Lock acquired, processing the job...
[2025-04-11 19:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 19:28:03] Production.INFO: Total Charge 0
[2025-04-11 19:28:03] Production.INFO: ==9654== Lock acquired, processing the job...
[2025-04-11 19:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 19:28:03] Production.INFO: CreateAllLog End
[2025-04-11 19:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14886353') start
[2025-04-11 19:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 19:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 19:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 19:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 19:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 19:28:03] Production.INFO: ==9652== Lock acquired, processing the job...
[2025-04-11 19:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 19:28:03] Production.INFO: ==9658== Lock acquired, processing the job...
[2025-04-11 19:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 19:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14886353') end
[2025-04-11 19:28:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 19:28:03] Production.INFO: 1
[2025-04-11 19:28:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 19:28:03] Production.INFO: Account Balance End.
[2025-04-11 19:28:03] Production.ERROR: CronJobId end 12
[2025-04-11 19:28:03] Production.INFO: ==9656== Releasing lock...
[2025-04-11 19:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 19:28:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 19:28:04] Production.INFO: ==9660== Releasing lock...
[2025-04-11 19:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 19:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 19:28:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 19:28:04] Production.ERROR: done
[2025-04-11 19:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 19:28:04] Production.INFO: ==9652== Releasing lock...
[2025-04-11 19:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 19:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 19:28:04] Production.ERROR: done
[2025-04-11 19:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 16:28:05
[end_date_ymd] => 2025-04-11 19:28:05
[RateCDR] => 1
)
[2025-04-11 19:28:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 16:28:05' and `end` < '2025-04-11 19:28:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 19:28:13] Production.ERROR: CronJobId end10
[2025-04-11 19:28:13] Production.INFO: ==9654== Releasing lock...
[2025-04-11 19:28:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 19:28:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 19:28:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 19:28:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 19:28:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 19:28:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 19:28:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 19:28:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 19:28:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 19:28:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 19:28:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 19:28:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 19:28:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 19:28:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 19:28:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 19:28:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 19:28:15] Production.INFO: call_cost start
[2025-04-11 19:28:15] Production.INFO: call_cost end
[2025-04-11 19:28:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 19:28:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 19:28:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 19:28:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 19:28:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 19:28:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 19:28:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 19:28:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 19:28:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 19:28:16] Production.INFO: ==9650== Releasing lock...
[2025-04-11 19:28:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 19:28:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 19:28:19] Production.INFO: count ==2533
[2025-04-11 19:28:19] Production.ERROR: pbx CDR StartTime 2025-04-11 16:28:05 - End Time 2025-04-11 19:28:05
[2025-04-11 19:28:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 19:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886356', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886356', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886356', 'tblTempVendorCDR_20' ) start
[2025-04-11 19:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886356', 'tblTempVendorCDR_20' ) end
[2025-04-11 19:28:19] Production.INFO: ProcessCDR(1,14886356,1,1,2)
[2025-04-11 19:28:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886356,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:28:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886356,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:28:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886356,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:28:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886356,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:28:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886356', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:28:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886356', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:28:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 19:28:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 19:28:23] Production.INFO: ==9658== Releasing lock...
[2025-04-11 19:28:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 19:28:23] Production.INFO: 46.75 MB #Memory Used#
[2025-04-12 00:29:01] Production.INFO: ==9754== Lock acquired, processing the job...
[2025-04-12 00:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 00:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 00:29:01] Production.INFO: neon service started
[2025-04-12 00:29:01] Production.INFO: neon service started
[2025-04-12 00:29:01] Production.INFO: ==9754== Releasing lock...
[2025-04-12 00:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 00:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 23:29:02] Production.INFO: ==9758== Lock acquired, processing the job...
[2025-04-11 23:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-11 23:29:02] Production.INFO: ==9758== Releasing lock...
[2025-04-11 23:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-11 23:29:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 19:29:02] Production.INFO: ==9756== Lock acquired, processing the job...
[2025-04-11 19:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 19:29:02] Production.INFO: ==9756== Releasing lock...
[2025-04-11 19:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 19:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 19:29:03] Production.INFO: ==9760== Lock acquired, processing the job...
[2025-04-11 19:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 19:29:03] Production.INFO: ==9762== Lock acquired, processing the job...
[2025-04-11 19:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 19:29:03] Production.INFO: ==9765== Lock acquired, processing the job...
[2025-04-11 19:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 19:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 19:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 19:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 19:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 19:29:03] Production.INFO: ==9769== Lock acquired, processing the job...
[2025-04-11 19:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 19:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 19:29:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 19:29:04] Production.INFO: ==9767== Lock acquired, processing the job...
[2025-04-11 19:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 19:29:04] Production.INFO: ==9771== Lock acquired, processing the job...
[2025-04-11 19:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 19:29:04] Production.INFO: ==9762== Releasing lock...
[2025-04-11 19:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 19:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 19: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-11 19:29:04] Production.INFO: count ==12
[2025-04-11 19:29:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 19:29:04] Production.INFO: Account Balance Start.
[2025-04-11 19:29:04] Production.INFO: CreateAllLog Start
[2025-04-11 19:29:04] Production.INFO: count ==23
[2025-04-11 19:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886360') start
[2025-04-11 19:29:04] Production.INFO: 117
[2025-04-11 19:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886360') end
[2025-04-11 19:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 19:29:04] Production.INFO: 1
[2025-04-11 19:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 19:29:04] Production.INFO: Date 2025-04-08
[2025-04-11 19:29:04] Production.ERROR: done
[2025-04-11 19:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 19:29:04] Production.INFO: ==9771== Releasing lock...
[2025-04-11 19:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 19:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 19:29:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:29:04] Production.INFO: Date 2025-04-09
[2025-04-11 19:29:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:29:04] Production.ERROR: done
[2025-04-11 19:29:04] Production.INFO: Date 2025-04-10
[2025-04-11 19:29:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:29:04] Production.INFO: Date 2025-04-11
[2025-04-11 19:29:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:29:04] Production.INFO: Total Charge 0
[2025-04-11 19:29:04] Production.INFO: CreateAllLog End
[2025-04-11 19:29:05] Production.INFO: Account Balance End.
[2025-04-11 19:29:05] Production.ERROR: CronJobId end 12
[2025-04-11 19:29:05] Production.INFO: ==9767== Releasing lock...
[2025-04-11 19:29:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 19:29:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 19:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 16:29:05
[end_date_ymd] => 2025-04-11 19:29:05
[RateCDR] => 1
)
[2025-04-11 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-11 16:29:05' and `end` < '2025-04-11 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-11 19:29:14] Production.ERROR: CronJobId end10
[2025-04-11 19:29:14] Production.INFO: ==9765== Releasing lock...
[2025-04-11 19:29:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 19:29:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 19:29:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 19:29:17] Production.INFO: ============== Balance Warning START===========
[2025-04-11 19:29:17] Production.INFO: ============== Balance Warning END===========
[2025-04-11 19:29:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 19:29:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 19:29:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 19:29:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 19:29:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 19:29:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 19:29:17] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 19:29:17] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 19:29:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 19:29:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 19:29:17] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 19:29:17] Production.INFO: call_cost start
[2025-04-11 19:29:17] Production.INFO: call_cost end
[2025-04-11 19:29:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 19:29:18] Production.INFO: ============== Report Schedule START===========
[2025-04-11 19:29:18] Production.INFO: ============== Report Schedule END===========
[2025-04-11 19:29:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 19:29:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 19:29:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 19:29:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 19:29:18] Production.INFO: ============== Deal alert START===========
[2025-04-11 19:29:18] Production.INFO: ============== Deal alert END===========
[2025-04-11 19:29:18] Production.INFO: ==9760== Releasing lock...
[2025-04-11 19:29:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 19:29:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 19:29:19] Production.INFO: count ==2524
[2025-04-11 19:29:19] Production.ERROR: pbx CDR StartTime 2025-04-11 16:29:05 - End Time 2025-04-11 19:29:05
[2025-04-11 19:29:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 19:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886361', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886361', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886361', 'tblTempVendorCDR_20' ) start
[2025-04-11 19:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886361', 'tblTempVendorCDR_20' ) end
[2025-04-11 19:29:19] Production.INFO: ProcessCDR(1,14886361,1,1,2)
[2025-04-11 19:29:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886361,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:29:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886361,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:29:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886361,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:29:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886361,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:29:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886361', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:29:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886361', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:29:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 19:29:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 19:29:23] Production.INFO: ==9769== Releasing lock...
[2025-04-11 19:29:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 19:29:23] Production.INFO: 46.5 MB #Memory Used#
[2025-04-12 00:30:01] Production.INFO: ==9828== Lock acquired, processing the job...
[2025-04-12 00:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 00:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 00:30:01] Production.INFO: neon service started
[2025-04-12 00:30:01] Production.INFO: neon service started
[2025-04-12 00:30:01] Production.INFO: ==9828== Releasing lock...
[2025-04-12 00:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 00:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 23:30:01] Production.INFO: ==9832== Lock acquired, processing the job...
[2025-04-11 23:30:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-11 23:30:01] Production.INFO: ==9832== Releasing lock...
[2025-04-11 23:30:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-11 23:30:01] Production.INFO: 25 MB #Memory Used#
[2025-04-11 19:30:02] Production.INFO: ==9830== Lock acquired, processing the job...
[2025-04-11 19:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 19:30:02] Production.INFO: ==9830== Releasing lock...
[2025-04-11 19:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 19:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 19:30:03] Production.INFO: ==9835== Lock acquired, processing the job...
[2025-04-11 19:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-11 19:30:03] Production.INFO: ==9837== Lock acquired, processing the job...
[2025-04-11 19:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 19:30:03] Production.INFO: ==9839== Lock acquired, processing the job...
[2025-04-11 19:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 19:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-11 19:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-04-11 19:30:03] Production.INFO: ==9835== Releasing lock...
[2025-04-11 19:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-11 19:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-04-11 19:30:03] Production.INFO: ==9841== Lock acquired, processing the job...
[2025-04-11 19:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 19:30:03] Production.INFO: ==9845== Lock acquired, processing the job...
[2025-04-11 19:30:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 19:30:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 19:30:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 19:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 19:30:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 19:30:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 19:30:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 19:30:03] Production.INFO: ==9843== Lock acquired, processing the job...
[2025-04-11 19:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 19:30:04] Production.INFO: ==9847== Lock acquired, processing the job...
[2025-04-11 19:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-11 19:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 19:30:04] Production.INFO: Account Balance Start.
[2025-04-11 19:30:04] Production.INFO: CreateAllLog Start
[2025-04-11 19:30:04] Production.INFO: ==9849== Lock acquired, processing the job...
[2025-04-11 19:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 19:30:04] Production.INFO: 117
[2025-04-11 19:30:04] Production.INFO: Date 2025-04-08
[2025-04-11 19:30:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:30:04] Production.INFO: ==9839== Releasing lock...
[2025-04-11 19:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 19:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 19:30:04] Production.INFO: Date 2025-04-09
[2025-04-11 19:30:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:30:04] Production.INFO: Date 2025-04-10
[2025-04-11 19:30:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:30:04] Production.ERROR: done
[2025-04-11 19:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 19:30:04] Production.INFO: Date 2025-04-11
[2025-04-11 19:30:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:30:04] Production.INFO: Total Charge 0
[2025-04-11 19:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 19:30:04] Production.INFO: CreateAllLog End
[2025-04-11 19:30:04] Production.INFO: count ==12
[2025-04-11 19:30:04] Production.ERROR: done
[2025-04-11 19:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 19:30:04] Production.INFO: count ==23
[2025-04-11 19:30:04] Production.ERROR: done
[2025-04-11 19:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886365') start
[2025-04-11 19:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-11 19:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14886367', 'tblTempUsageDetail_20reseller','2025-04-11','2025-04-11','1' ) start
[2025-04-11 19:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14886365') end
[2025-04-11 19:30:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 19:30:05] Production.INFO: 1
[2025-04-11 19:30:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 19:30:05] Production.INFO: Account Balance End.
[2025-04-11 19:30:05] Production.INFO: ==9849== Releasing lock...
[2025-04-11 19:30:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 19:30:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 19:30:05] Production.ERROR: CronJobId end 12
[2025-04-11 19:30:05] Production.INFO: ==9843== Releasing lock...
[2025-04-11 19:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 19:30:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 19:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 16:30:06
[end_date_ymd] => 2025-04-11 19:30:06
[RateCDR] => 1
)
[2025-04-11 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-11 16:30:06' and `end` < '2025-04-11 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-11 19:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14886367', 'tblTempUsageDetail_20reseller','2025-04-11','2025-04-11','1' ) end
[2025-04-11 19:30:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-11 19:30:09] Production.INFO: ProcessCDR(1,14886367,1,1,2)
[2025-04-11 19:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14886367,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14886367,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 19:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 19:30:09] Production.INFO: ==9847== Releasing lock...
[2025-04-11 19:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-11 19:30:09] Production.INFO: 26 MB #Memory Used#
[2025-04-11 19:30:15] Production.ERROR: CronJobId end10
[2025-04-11 19:30:15] Production.INFO: ==9841== Releasing lock...
[2025-04-11 19:30:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 19:30:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 19:30:18] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 19:30:18] Production.INFO: ============== Balance Warning START===========
[2025-04-11 19:30:18] Production.INFO: ============== Balance Warning END===========
[2025-04-11 19:30:18] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 19:30:18] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 19:30:18] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 19:30:18] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 19:30:18] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 19:30:18] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 19:30:18] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 19:30:18] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 19:30:18] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 19:30:18] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 19:30:18] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 19:30:18] Production.INFO: call_cost start
[2025-04-11 19:30:18] Production.INFO: call_cost end
[2025-04-11 19:30:19] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 19:30:19] Production.INFO: ============== Report Schedule START===========
[2025-04-11 19:30:19] Production.INFO: ============== Report Schedule END===========
[2025-04-11 19:30:19] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 19:30:19] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 19:30:19] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 19:30:19] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 19:30:19] Production.INFO: ============== Deal alert START===========
[2025-04-11 19:30:19] Production.INFO: ============== Deal alert END===========
[2025-04-11 19:30:19] Production.INFO: ==9837== Releasing lock...
[2025-04-11 19:30:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 19:30:19] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 19:30:19] Production.INFO: count ==2512
[2025-04-11 19:30:20] Production.ERROR: pbx CDR StartTime 2025-04-11 16:30:06 - End Time 2025-04-11 19:30:06
[2025-04-11 19:30:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 19:30:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886366', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:30:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886366', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:30:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886366', 'tblTempVendorCDR_20' ) start
[2025-04-11 19:30:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886366', 'tblTempVendorCDR_20' ) end
[2025-04-11 19:30:20] Production.INFO: ProcessCDR(1,14886366,1,1,2)
[2025-04-11 19:30:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886366,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:30:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886366,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:30:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886366,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:30:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886366,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:30:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886366', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:30:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886366', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:30:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 19:30:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 19:30:26] Production.INFO: ==9845== Releasing lock...
[2025-04-11 19:30:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 19:30:26] Production.INFO: 46.5 MB #Memory Used#
[2025-04-12 00:31:01] Production.INFO: ==9907== Lock acquired, processing the job...
[2025-04-12 00:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 00:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 00:31:02] Production.INFO: neon service started
[2025-04-12 00:31:02] Production.INFO: neon service started
[2025-04-12 00:31:02] Production.INFO: ==9907== Releasing lock...
[2025-04-12 00:31:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 00:31:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 19:31:02] Production.INFO: ==9909== Lock acquired, processing the job...
[2025-04-11 19:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 23:31:02] Production.INFO: ==9911== Lock acquired, processing the job...
[2025-04-11 23:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-11 23:31:02] Production.INFO: ==9911== Releasing lock...
[2025-04-11 23:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-11 23:31:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 19:31:03] Production.INFO: ==9909== Releasing lock...
[2025-04-11 19:31:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 19:31:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 19:31:04] Production.INFO: ==9914== Lock acquired, processing the job...
[2025-04-11 19:31:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 19:31:04] Production.INFO: ==9916== Lock acquired, processing the job...
[2025-04-11 19:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 19:31:04] Production.INFO: ==9918== Lock acquired, processing the job...
[2025-04-11 19:31:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 19:31:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 19:31:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 19:31:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 19:31:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 19:31:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 19:31:04] Production.INFO: ==9920== Lock acquired, processing the job...
[2025-04-11 19:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 19:31:04] Production.INFO: ==9916== Releasing lock...
[2025-04-11 19:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 19:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 19:31:04] Production.INFO: ==9922== Lock acquired, processing the job...
[2025-04-11 19:31:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 19:31:04] Production.INFO: ==9924== Lock acquired, processing the job...
[2025-04-11 19:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 19:31:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 19:31:04] Production.INFO: Account Balance Start.
[2025-04-11 19:31:04] Production.INFO: CreateAllLog Start
[2025-04-11 19:31:04] Production.INFO: 117
[2025-04-11 19:31:04] Production.INFO: Date 2025-04-08
[2025-04-11 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-11 19:31:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:31:04] Production.INFO: count ==12
[2025-04-11 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-11 19:31:04] Production.INFO: count ==23
[2025-04-11 19:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886371') start
[2025-04-11 19:31:04] Production.INFO: Date 2025-04-09
[2025-04-11 19:31:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:31:04] Production.INFO: Date 2025-04-10
[2025-04-11 19:31:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886371') end
[2025-04-11 19:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 19:31:04] Production.INFO: 1
[2025-04-11 19:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 19:31:04] Production.INFO: Date 2025-04-11
[2025-04-11 19:31:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:31:05] Production.INFO: Total Charge 0
[2025-04-11 19:31:05] Production.INFO: CreateAllLog End
[2025-04-11 19:31:05] Production.INFO: ==9924== Releasing lock...
[2025-04-11 19:31:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 19:31:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 19:31:05] Production.ERROR: done
[2025-04-11 19:31:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 19:31:05] Production.INFO: Account Balance End.
[2025-04-11 19:31:05] Production.ERROR: CronJobId end 12
[2025-04-11 19:31:05] Production.INFO: ==9920== Releasing lock...
[2025-04-11 19:31:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 19:31:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 19:31:05] Production.ERROR: done
[2025-04-11 19:31:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 16:31:06
[end_date_ymd] => 2025-04-11 19:31:06
[RateCDR] => 1
)
[2025-04-11 19: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-11 16:31:06' and `end` < '2025-04-11 19: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-11 19:31:13] Production.ERROR: CronJobId end10
[2025-04-11 19:31:13] Production.INFO: ==9918== Releasing lock...
[2025-04-11 19:31:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 19:31:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 19:31:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 19:31:16] Production.INFO: ============== Balance Warning START===========
[2025-04-11 19:31:16] Production.INFO: ============== Balance Warning END===========
[2025-04-11 19:31:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 19:31:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 19:31:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 19:31:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 19:31:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 19:31:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 19:31:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 19:31:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 19:31:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 19:31:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 19:31:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 19:31:16] Production.INFO: call_cost start
[2025-04-11 19:31:16] Production.INFO: call_cost end
[2025-04-11 19:31:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 19:31:17] Production.INFO: ============== Report Schedule START===========
[2025-04-11 19:31:17] Production.INFO: ============== Report Schedule END===========
[2025-04-11 19:31:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 19:31:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 19:31:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 19:31:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 19:31:17] Production.INFO: ============== Deal alert START===========
[2025-04-11 19:31:17] Production.INFO: ============== Deal alert END===========
[2025-04-11 19:31:17] Production.INFO: ==9914== Releasing lock...
[2025-04-11 19:31:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 19:31:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 19:31:19] Production.INFO: count ==2472
[2025-04-11 19:31:20] Production.ERROR: pbx CDR StartTime 2025-04-11 16:31:06 - End Time 2025-04-11 19:31:06
[2025-04-11 19:31:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 19:31:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886372', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:31:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886372', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:31:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886372', 'tblTempVendorCDR_20' ) start
[2025-04-11 19:31:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886372', 'tblTempVendorCDR_20' ) end
[2025-04-11 19:31:20] Production.INFO: ProcessCDR(1,14886372,1,1,2)
[2025-04-11 19:31:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886372,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:31:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886372,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:31:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886372,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:31:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886372,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:31:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886372', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:31:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886372', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:31:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 19:31:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 19:31:25] Production.INFO: ==9922== Releasing lock...
[2025-04-11 19:31:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 19:31:25] Production.INFO: 46.25 MB #Memory Used#
[2025-04-12 00:32:01] Production.INFO: ==9981== Lock acquired, processing the job...
[2025-04-12 00:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 00:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 00:32:01] Production.INFO: neon service started
[2025-04-12 00:32:01] Production.INFO: neon service started
[2025-04-12 00:32:01] Production.INFO: ==9981== Releasing lock...
[2025-04-12 00:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 00:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 19:32:02] Production.INFO: ==9983== Lock acquired, processing the job...
[2025-04-11 19:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 23:32:02] Production.INFO: ==9985== Lock acquired, processing the job...
[2025-04-11 23:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-11 23:32:02] Production.INFO: ==9985== Releasing lock...
[2025-04-11 23:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-11 23:32:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 19:32:02] Production.INFO: ==9983== Releasing lock...
[2025-04-11 19:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 19:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 19:32:03] Production.INFO: ==9992== Lock acquired, processing the job...
[2025-04-11 19:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 19:32:04] Production.INFO: ==9996== Lock acquired, processing the job...
[2025-04-11 19:32:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 19:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 19:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 19:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 19:32:04] Production.INFO: ==9988== Lock acquired, processing the job...
[2025-04-11 19:32:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 19:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 19:32:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 19:32:04] Production.INFO: ==9990== Lock acquired, processing the job...
[2025-04-11 19:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 19:32:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 19:32:04] Production.INFO: ==9994== Lock acquired, processing the job...
[2025-04-11 19:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 19:32:04] Production.INFO: ==9998== Lock acquired, processing the job...
[2025-04-11 19:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 19:32:04] Production.INFO: Account Balance Start.
[2025-04-11 19:32:04] Production.INFO: CreateAllLog Start
[2025-04-11 19:32:04] Production.INFO: 117
[2025-04-11 19:32:04] Production.INFO: Date 2025-04-08
[2025-04-11 19:32:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:32:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 19:32:04] Production.INFO: count ==12
[2025-04-11 19:32:04] Production.INFO: Date 2025-04-09
[2025-04-11 19:32:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:32:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 19:32:04] Production.INFO: count ==23
[2025-04-11 19:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886376') start
[2025-04-11 19:32:04] Production.ERROR: done
[2025-04-11 19:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 19:32:04] Production.INFO: Date 2025-04-10
[2025-04-11 19:32:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886376') end
[2025-04-11 19:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 19:32:04] Production.INFO: 1
[2025-04-11 19:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 19:32:04] Production.INFO: Date 2025-04-11
[2025-04-11 19:32:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:32:04] Production.INFO: Total Charge 0
[2025-04-11 19:32:04] Production.INFO: CreateAllLog End
[2025-04-11 19:32:04] Production.INFO: ==9998== Releasing lock...
[2025-04-11 19:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 19:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 19:32:04] Production.INFO: ==9990== Releasing lock...
[2025-04-11 19:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 19:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 19:32:04] Production.ERROR: done
[2025-04-11 19:32:05] Production.INFO: Account Balance End.
[2025-04-11 19:32:05] Production.ERROR: CronJobId end 12
[2025-04-11 19:32:05] Production.INFO: ==9994== Releasing lock...
[2025-04-11 19:32:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 19:32:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 19:32:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 16:32:06
[end_date_ymd] => 2025-04-11 19:32:06
[RateCDR] => 1
)
[2025-04-11 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-11 16:32:06' and `end` < '2025-04-11 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-11 19:32:13] Production.ERROR: CronJobId end10
[2025-04-11 19:32:13] Production.INFO: ==9992== Releasing lock...
[2025-04-11 19:32:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 19:32:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 19:32:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 19:32:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 19:32:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 19:32:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 19:32:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 19:32:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 19:32:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 19:32:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 19:32:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 19:32:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 19:32:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 19:32:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 19:32:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 19:32:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 19:32:15] Production.INFO: call_cost start
[2025-04-11 19:32:15] Production.INFO: call_cost end
[2025-04-11 19:32:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 19:32:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 19:32:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 19:32:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 19:32:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 19:32:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 19:32:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 19:32:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 19:32:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 19:32:16] Production.INFO: ==9988== Releasing lock...
[2025-04-11 19:32:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 19:32:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 19:32:19] Production.INFO: count ==2458
[2025-04-11 19:32:20] Production.ERROR: pbx CDR StartTime 2025-04-11 16:32:06 - End Time 2025-04-11 19:32:06
[2025-04-11 19:32:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 19:32:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886377', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:32:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886377', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:32:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886377', 'tblTempVendorCDR_20' ) start
[2025-04-11 19:32:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886377', 'tblTempVendorCDR_20' ) end
[2025-04-11 19:32:20] Production.INFO: ProcessCDR(1,14886377,1,1,2)
[2025-04-11 19:32:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886377,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:32:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886377,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:32:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886377,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:32:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886377,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:32:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886377', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:32:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886377', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:32:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 19:32:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 19:32:25] Production.INFO: ==9996== Releasing lock...
[2025-04-11 19:32:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 19:32:25] Production.INFO: 46 MB #Memory Used#
[2025-04-12 00:33:02] Production.INFO: ==10056== Lock acquired, processing the job...
[2025-04-12 00:33:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 00:33:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 00:33:02] Production.INFO: neon service started
[2025-04-12 00:33:02] Production.INFO: neon service started
[2025-04-12 00:33:02] Production.INFO: ==10056== Releasing lock...
[2025-04-12 00:33:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 00:33:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 19:33:02] Production.INFO: ==10058== Lock acquired, processing the job...
[2025-04-11 19:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 23:33:02] Production.INFO: ==10060== Lock acquired, processing the job...
[2025-04-11 23:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-11 23:33:02] Production.INFO: ==10060== Releasing lock...
[2025-04-11 23:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-11 23:33:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 19:33:03] Production.INFO: ==10058== Releasing lock...
[2025-04-11 19:33:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 19:33:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 19:33:03] Production.INFO: ==10063== Lock acquired, processing the job...
[2025-04-11 19:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 19:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 19:33:03] Production.INFO: ==10065== Lock acquired, processing the job...
[2025-04-11 19:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 19:33:03] Production.INFO: ==10069== Lock acquired, processing the job...
[2025-04-11 19:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 19:33:04] Production.INFO: Account Balance Start.
[2025-04-11 19:33:04] Production.INFO: CreateAllLog Start
[2025-04-11 19:33:04] Production.INFO: 117
[2025-04-11 19:33:04] Production.INFO: ==10065== Releasing lock...
[2025-04-11 19:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 19:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 19:33:04] Production.INFO: ==10067== Lock acquired, processing the job...
[2025-04-11 19:33:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 19:33:04] Production.INFO: Date 2025-04-08
[2025-04-11 19:33:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:33:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 19:33:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 19:33:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 19:33:04] Production.INFO: Date 2025-04-09
[2025-04-11 19:33:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 19:33:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:33:04] Production.INFO: ==10071== Lock acquired, processing the job...
[2025-04-11 19:33:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 19:33:04] Production.INFO: Date 2025-04-10
[2025-04-11 19:33:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:33:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 19:33:04] Production.INFO: ==10073== Lock acquired, processing the job...
[2025-04-11 19:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 19:33:04] Production.INFO: Date 2025-04-11
[2025-04-11 19:33:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:33:04] Production.INFO: Total Charge 0
[2025-04-11 19:33:04] Production.INFO: CreateAllLog End
[2025-04-11 19: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-11 19:33:04] Production.INFO: count ==12
[2025-04-11 19: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-11 19:33:04] Production.INFO: count ==23
[2025-04-11 19:33:04] Production.ERROR: done
[2025-04-11 19:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 19:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886381') start
[2025-04-11 19:33:04] Production.INFO: Account Balance End.
[2025-04-11 19:33:05] Production.ERROR: CronJobId end 12
[2025-04-11 19:33:05] Production.INFO: ==10069== Releasing lock...
[2025-04-11 19:33:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 19:33:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 19:33:05] Production.ERROR: done
[2025-04-11 19:33:05] Production.ERROR: PBX CALL prc_importPBXExtension('14886381') end
[2025-04-11 19:33:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 19:33:05] Production.INFO: 1
[2025-04-11 19:33:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 19:33:05] Production.INFO: ==10073== Releasing lock...
[2025-04-11 19:33:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 19:33:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 19:33:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 16:33:06
[end_date_ymd] => 2025-04-11 19:33:06
[RateCDR] => 1
)
[2025-04-11 19: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-11 16:33:06' and `end` < '2025-04-11 19: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-11 19:33:14] Production.ERROR: CronJobId end10
[2025-04-11 19:33:14] Production.INFO: ==10067== Releasing lock...
[2025-04-11 19:33:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 19:33:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 19:33:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 19:33:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 19:33:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 19:33:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 19:33:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 19:33:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 19:33:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 19:33:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 19:33:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 19:33:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 19:33:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 19:33:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 19:33:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 19:33:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 19:33:16] Production.INFO: call_cost start
[2025-04-11 19:33:16] Production.INFO: call_cost end
[2025-04-11 19:33:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 19:33:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 19:33:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 19:33:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 19:33:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 19:33:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 19:33:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 19:33:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 19:33:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 19:33:16] Production.INFO: ==10063== Releasing lock...
[2025-04-11 19:33:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 19:33:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 19:33:19] Production.INFO: count ==2456
[2025-04-11 19:33:19] Production.ERROR: pbx CDR StartTime 2025-04-11 16:33:06 - End Time 2025-04-11 19:33:06
[2025-04-11 19:33:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 19:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886382', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886382', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886382', 'tblTempVendorCDR_20' ) start
[2025-04-11 19:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886382', 'tblTempVendorCDR_20' ) end
[2025-04-11 19:33:19] Production.INFO: ProcessCDR(1,14886382,1,1,2)
[2025-04-11 19:33:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886382,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:33:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886382,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:33:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886382,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:33:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886382,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:33:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886382', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:33:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886382', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:33:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 19:33:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 19:33:25] Production.INFO: ==10071== Releasing lock...
[2025-04-11 19:33:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 19:33:25] Production.INFO: 46 MB #Memory Used#
[2025-04-12 00:34:01] Production.INFO: ==10126== Lock acquired, processing the job...
[2025-04-12 00:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 00:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 00:34:01] Production.INFO: neon service started
[2025-04-12 00:34:01] Production.INFO: neon service started
[2025-04-12 00:34:01] Production.INFO: ==10126== Releasing lock...
[2025-04-12 00:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 00:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 19:34:02] Production.INFO: ==10129== Lock acquired, processing the job...
[2025-04-11 19:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 19:34:02] Production.INFO: ==10129== Releasing lock...
[2025-04-11 19:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 19:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 23:34:02] Production.INFO: ==10131== Lock acquired, processing the job...
[2025-04-11 23:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-11 23:34:02] Production.INFO: ==10131== Releasing lock...
[2025-04-11 23:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-11 23:34:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 19:34:03] Production.INFO: ==10133== Lock acquired, processing the job...
[2025-04-11 19:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 19:34:03] Production.INFO: ==10137== Lock acquired, processing the job...
[2025-04-11 19:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 19:34:03] Production.INFO: ==10135== Lock acquired, processing the job...
[2025-04-11 19:34:03] Production.INFO: ==10141== Lock acquired, processing the job...
[2025-04-11 19:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 19:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 19:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 19:34:03] Production.INFO: ==10139== Lock acquired, processing the job...
[2025-04-11 19:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 19:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 19:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 19:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 19:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 19:34:03] Production.INFO: ==10143== Lock acquired, processing the job...
[2025-04-11 19:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 19:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 19:34:03] Production.INFO: Account Balance Start.
[2025-04-11 19:34:03] Production.INFO: CreateAllLog Start
[2025-04-11 19:34:03] Production.INFO: 117
[2025-04-11 19:34:03] Production.INFO: Date 2025-04-08
[2025-04-11 19:34:03] Production.INFO: Reseller ==> 0
[2025-04-11 19:34:03] Production.INFO: Date 2025-04-09
[2025-04-11 19:34:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:34:04] Production.INFO: Date 2025-04-10
[2025-04-11 19:34:04] Production.INFO: Reseller ==> 0
[2025-04-11 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-11 19:34:04] Production.INFO: Date 2025-04-11
[2025-04-11 19:34:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:34:04] Production.INFO: count ==12
[2025-04-11 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-11 19:34:04] Production.INFO: count ==23
[2025-04-11 19:34:04] Production.INFO: Total Charge 0
[2025-04-11 19:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886386') start
[2025-04-11 19:34:04] Production.ERROR: done
[2025-04-11 19:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 19:34:04] Production.INFO: CreateAllLog End
[2025-04-11 19:34:04] Production.INFO: ==10135== Releasing lock...
[2025-04-11 19:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 19:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 19:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886386') end
[2025-04-11 19:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 19:34:04] Production.INFO: 1
[2025-04-11 19:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 19:34:04] Production.ERROR: done
[2025-04-11 19:34:04] Production.INFO: ==10143== Releasing lock...
[2025-04-11 19:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 19:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 19:34:04] Production.INFO: Account Balance End.
[2025-04-11 19:34:04] Production.ERROR: CronJobId end 12
[2025-04-11 19:34:04] Production.INFO: ==10139== Releasing lock...
[2025-04-11 19:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 19:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 19:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 16:34:05
[end_date_ymd] => 2025-04-11 19:34:05
[RateCDR] => 1
)
[2025-04-11 19:34:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 16:34:05' and `end` < '2025-04-11 19:34:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 19:34:14] Production.ERROR: CronJobId end10
[2025-04-11 19:34:14] Production.INFO: ==10137== Releasing lock...
[2025-04-11 19:34:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 19:34:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 19:34:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 19:34:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 19:34:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 19:34:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 19:34:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 19:34:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 19:34:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 19:34:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 19:34:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 19:34:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 19:34:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 19:34:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 19:34:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 19:34:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 19:34:16] Production.INFO: call_cost start
[2025-04-11 19:34:16] Production.INFO: call_cost end
[2025-04-11 19:34:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 19:34:17] Production.INFO: ============== Report Schedule START===========
[2025-04-11 19:34:17] Production.INFO: ============== Report Schedule END===========
[2025-04-11 19:34:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 19:34:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 19:34:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 19:34:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 19:34:17] Production.INFO: ============== Deal alert START===========
[2025-04-11 19:34:17] Production.INFO: ============== Deal alert END===========
[2025-04-11 19:34:17] Production.INFO: ==10133== Releasing lock...
[2025-04-11 19:34:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 19:34:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 19:34:19] Production.INFO: count ==2441
[2025-04-11 19:34:19] Production.ERROR: pbx CDR StartTime 2025-04-11 16:34:05 - End Time 2025-04-11 19:34:05
[2025-04-11 19:34:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 19:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886387', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886387', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886387', 'tblTempVendorCDR_20' ) start
[2025-04-11 19:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886387', 'tblTempVendorCDR_20' ) end
[2025-04-11 19:34:19] Production.INFO: ProcessCDR(1,14886387,1,1,2)
[2025-04-11 19:34:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886387,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:34:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886387,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:34:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886387,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:34:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886387,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:34:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886387', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:34:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886387', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:34:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 19:34:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 19:34:25] Production.INFO: ==10141== Releasing lock...
[2025-04-11 19:34:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 19:34:25] Production.INFO: 46 MB #Memory Used#
[2025-04-12 00:35:02] Production.INFO: ==10204== Lock acquired, processing the job...
[2025-04-12 00:35:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 00:35:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 00:35:02] Production.INFO: neon service started
[2025-04-12 00:35:02] Production.INFO: neon service started
[2025-04-12 00:35:02] Production.INFO: ==10204== Releasing lock...
[2025-04-12 00:35:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 00:35:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 19:35:02] Production.INFO: ==10207== Lock acquired, processing the job...
[2025-04-11 19:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 19:35:02] Production.INFO: ==10207== Releasing lock...
[2025-04-11 19:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 19:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 23:35:02] Production.INFO: ==10209== Lock acquired, processing the job...
[2025-04-11 23:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-11 23:35:02] Production.INFO: ==10209== Releasing lock...
[2025-04-11 23:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-11 23:35:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 19:35:03] Production.INFO: ==10211== Lock acquired, processing the job...
[2025-04-11 19:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 19:35:03] Production.INFO: ==10219== Lock acquired, processing the job...
[2025-04-11 19:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 19:35:03] Production.INFO: ==10221== Lock acquired, processing the job...
[2025-04-11 19:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 19:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 19:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 19:35:03] Production.INFO: ==10213== Lock acquired, processing the job...
[2025-04-11 19:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 19:35:04] Production.INFO: ==10215== Lock acquired, processing the job...
[2025-04-11 19:35:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 19:35:04] Production.INFO: ==10217== Lock acquired, processing the job...
[2025-04-11 19:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 19:35:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 19:35:04] Production.INFO: count ==12
[2025-04-11 19:35:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 19:35:04] Production.INFO: count ==23
[2025-04-11 19:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886389') start
[2025-04-11 19:35:04] Production.INFO: Account Balance Start.
[2025-04-11 19:35:04] Production.INFO: CreateAllLog Start
[2025-04-11 19:35:04] Production.INFO: 117
[2025-04-11 19:35:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 19:35:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 19:35:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 19:35:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 19:35:04] Production.INFO: Date 2025-04-08
[2025-04-11 19:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886389') end
[2025-04-11 19:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 19:35:04] Production.INFO: 1
[2025-04-11 19:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 19:35:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:35:04] Production.INFO: Date 2025-04-09
[2025-04-11 19:35:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:35:04] Production.INFO: ==10221== Releasing lock...
[2025-04-11 19:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 19:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 19:35:04] Production.ERROR: done
[2025-04-11 19:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 19:35:04] Production.INFO: Date 2025-04-10
[2025-04-11 19:35:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:35:04] Production.INFO: Date 2025-04-11
[2025-04-11 19:35:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:35:04] Production.INFO: Total Charge 0
[2025-04-11 19:35:04] Production.INFO: CreateAllLog End
[2025-04-11 19:35:04] Production.ERROR: done
[2025-04-11 19:35:04] Production.INFO: ==10213== Releasing lock...
[2025-04-11 19:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 19:35:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 19:35:04] Production.INFO: Account Balance End.
[2025-04-11 19:35:04] Production.ERROR: CronJobId end 12
[2025-04-11 19:35:04] Production.INFO: ==10217== Releasing lock...
[2025-04-11 19:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 19:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 19:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 16:35:05
[end_date_ymd] => 2025-04-11 19:35:05
[RateCDR] => 1
)
[2025-04-11 19:35:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 16:35:05' and `end` < '2025-04-11 19:35:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 19:35:14] Production.ERROR: CronJobId end10
[2025-04-11 19:35:14] Production.INFO: ==10215== Releasing lock...
[2025-04-11 19:35:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 19:35:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 19:35:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 19:35:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 19:35:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 19:35:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 19:35:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 19:35:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 19:35:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 19:35:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 19:35:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 19:35:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 19:35:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 19:35:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 19:35:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 19:35:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 19:35:16] Production.INFO: call_cost start
[2025-04-11 19:35:16] Production.INFO: call_cost end
[2025-04-11 19:35:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 19:35:17] Production.INFO: ============== Report Schedule START===========
[2025-04-11 19:35:17] Production.INFO: ============== Report Schedule END===========
[2025-04-11 19:35:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 19:35:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 19:35:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 19:35:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 19:35:17] Production.INFO: ============== Deal alert START===========
[2025-04-11 19:35:17] Production.INFO: ============== Deal alert END===========
[2025-04-11 19:35:17] Production.INFO: ==10211== Releasing lock...
[2025-04-11 19:35:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 19:35:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 19:35:18] Production.INFO: count ==2418
[2025-04-11 19:35:19] Production.ERROR: pbx CDR StartTime 2025-04-11 16:35:05 - End Time 2025-04-11 19:35:05
[2025-04-11 19:35:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 19:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886392', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886392', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886392', 'tblTempVendorCDR_20' ) start
[2025-04-11 19:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886392', 'tblTempVendorCDR_20' ) end
[2025-04-11 19:35:19] Production.INFO: ProcessCDR(1,14886392,1,1,2)
[2025-04-11 19:35:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886392,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:35:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886392,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:35:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886392,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:35:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886392,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:35:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886392', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:35:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886392', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:35:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 19:35:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 19:35:23] Production.INFO: ==10219== Releasing lock...
[2025-04-11 19:35:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 19:35:23] Production.INFO: 45.75 MB #Memory Used#
[2025-04-12 00:36:01] Production.INFO: ==10281== Lock acquired, processing the job...
[2025-04-12 00:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 00:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 00:36:01] Production.INFO: neon service started
[2025-04-12 00:36:01] Production.INFO: neon service started
[2025-04-12 00:36:01] Production.INFO: ==10281== Releasing lock...
[2025-04-12 00:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 00:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 23:36:02] Production.INFO: ==10285== Lock acquired, processing the job...
[2025-04-11 23:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-11 23:36:02] Production.INFO: ==10285== Releasing lock...
[2025-04-11 23:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-11 23:36:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 19:36:02] Production.INFO: ==10283== Lock acquired, processing the job...
[2025-04-11 19:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 19:36:02] Production.INFO: ==10283== Releasing lock...
[2025-04-11 19:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 19:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 19:36:03] Production.INFO: ==10296== Lock acquired, processing the job...
[2025-04-11 19:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 19:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 19:36:03] Production.INFO: ==10298== Lock acquired, processing the job...
[2025-04-11 19:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 19:36:03] Production.INFO: ==10288== Lock acquired, processing the job...
[2025-04-11 19:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 19:36:03] Production.INFO: ==10290== Lock acquired, processing the job...
[2025-04-11 19:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 19:36:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 19:36:03] Production.INFO: ==10292== Lock acquired, processing the job...
[2025-04-11 19:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 19:36:03] Production.INFO: count ==12
[2025-04-11 19:36:03] Production.INFO: ==10294== Lock acquired, processing the job...
[2025-04-11 19:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 19:36:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 19:36:03] Production.INFO: count ==23
[2025-04-11 19:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14886393') start
[2025-04-11 19:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 19:36:04] Production.ERROR: done
[2025-04-11 19:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886393') end
[2025-04-11 19:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 19:36:04] Production.INFO: 1
[2025-04-11 19:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 19:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 19:36:04] Production.INFO: Account Balance Start.
[2025-04-11 19:36:04] Production.INFO: CreateAllLog Start
[2025-04-11 19:36:04] Production.INFO: 117
[2025-04-11 19:36:04] Production.INFO: ==10298== Releasing lock...
[2025-04-11 19:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 19:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 19:36:04] Production.INFO: Date 2025-04-08
[2025-04-11 19:36:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 19:36:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 19:36:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 19:36:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 19:36:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:36:04] Production.INFO: Date 2025-04-09
[2025-04-11 19:36:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:36:04] Production.INFO: Date 2025-04-10
[2025-04-11 19:36:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:36:04] Production.INFO: Date 2025-04-11
[2025-04-11 19:36:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:36:04] Production.INFO: Total Charge 0
[2025-04-11 19:36:04] Production.INFO: CreateAllLog End
[2025-04-11 19:36:04] Production.ERROR: done
[2025-04-11 19:36:04] Production.INFO: ==10290== Releasing lock...
[2025-04-11 19:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 19:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 19:36:04] Production.INFO: Account Balance End.
[2025-04-11 19:36:04] Production.ERROR: CronJobId end 12
[2025-04-11 19:36:04] Production.INFO: ==10294== Releasing lock...
[2025-04-11 19:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 19:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 19:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 16:36:05
[end_date_ymd] => 2025-04-11 19:36:05
[RateCDR] => 1
)
[2025-04-11 19:36:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 16:36:05' and `end` < '2025-04-11 19:36:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 19:36:13] Production.ERROR: CronJobId end10
[2025-04-11 19:36:13] Production.INFO: ==10292== Releasing lock...
[2025-04-11 19:36:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 19:36:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 19:36:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 19:36:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 19:36:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 19:36:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 19:36:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 19:36:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 19:36:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 19:36:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 19:36:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 19:36:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 19:36:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 19:36:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 19:36:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 19:36:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 19:36:15] Production.INFO: call_cost start
[2025-04-11 19:36:15] Production.INFO: call_cost end
[2025-04-11 19:36:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 19:36:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 19:36:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 19:36:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 19:36:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 19:36:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 19:36:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 19:36:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 19:36:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 19:36:16] Production.INFO: ==10288== Releasing lock...
[2025-04-11 19:36:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 19:36:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 19:36:18] Production.INFO: count ==2391
[2025-04-11 19:36:19] Production.ERROR: pbx CDR StartTime 2025-04-11 16:36:05 - End Time 2025-04-11 19:36:05
[2025-04-11 19:36:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 19:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886397', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886397', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886397', 'tblTempVendorCDR_20' ) start
[2025-04-11 19:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886397', 'tblTempVendorCDR_20' ) end
[2025-04-11 19:36:19] Production.INFO: ProcessCDR(1,14886397,1,1,2)
[2025-04-11 19:36:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886397,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:36:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886397,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:36:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886397,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:36:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886397,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:36:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886397', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:36:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886397', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:36:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 19:36:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 19:36:24] Production.INFO: ==10296== Releasing lock...
[2025-04-11 19:36:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 19:36:24] Production.INFO: 45.75 MB #Memory Used#
[2025-04-12 00:37:02] Production.INFO: ==10352== Lock acquired, processing the job...
[2025-04-12 00:37:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 00:37:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 00:37:02] Production.INFO: neon service started
[2025-04-12 00:37:02] Production.INFO: neon service started
[2025-04-12 00:37:02] Production.INFO: ==10352== Releasing lock...
[2025-04-12 00:37:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 00:37:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 19:37:02] Production.INFO: ==10354== Lock acquired, processing the job...
[2025-04-11 19:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 19:37:02] Production.INFO: ==10354== Releasing lock...
[2025-04-11 19:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 19:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 23:37:03] Production.INFO: ==10356== Lock acquired, processing the job...
[2025-04-11 23:37:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-11 23:37:03] Production.INFO: ==10356== Releasing lock...
[2025-04-11 23:37:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-11 23:37:03] Production.INFO: 25 MB #Memory Used#
[2025-04-11 19:37:03] Production.INFO: ==10359== Lock acquired, processing the job...
[2025-04-11 19:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 19:37:03] Production.INFO: ==10361== Lock acquired, processing the job...
[2025-04-11 19:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 19:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 19:37:04] Production.INFO: ==10363== Lock acquired, processing the job...
[2025-04-11 19:37:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 19:37:04] Production.INFO: ==10365== Lock acquired, processing the job...
[2025-04-11 19:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 19:37:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 19:37:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 19:37:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 19:37:04] Production.INFO: ==10367== Lock acquired, processing the job...
[2025-04-11 19:37:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 19:37:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 19:37:04] Production.INFO: ==10369== Lock acquired, processing the job...
[2025-04-11 19:37:04] Production.INFO: Account Balance Start.
[2025-04-11 19:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 19:37:04] Production.INFO: CreateAllLog Start
[2025-04-11 19:37:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 19:37:04] Production.INFO: 117
[2025-04-11 19:37:04] Production.INFO: Date 2025-04-08
[2025-04-11 19:37:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:37:04] Production.INFO: Date 2025-04-09
[2025-04-11 19:37:04] Production.INFO: ==10361== Releasing lock...
[2025-04-11 19:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 19:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 19:37:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:37:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 19:37:04] Production.INFO: Date 2025-04-10
[2025-04-11 19:37:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:37:04] Production.INFO: Date 2025-04-11
[2025-04-11 19:37:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:37:04] Production.INFO: Total Charge 0
[2025-04-11 19:37:04] Production.INFO: count ==12
[2025-04-11 19:37:04] Production.INFO: CreateAllLog End
[2025-04-11 19:37:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 19:37:04] Production.INFO: count ==23
[2025-04-11 19:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886401') start
[2025-04-11 19:37:04] Production.ERROR: done
[2025-04-11 19:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 19:37:04] Production.INFO: Account Balance End.
[2025-04-11 19:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886401') end
[2025-04-11 19:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 19:37:04] Production.INFO: 1
[2025-04-11 19:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 19:37:04] Production.INFO: ==10369== Releasing lock...
[2025-04-11 19:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 19:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 19:37:04] Production.ERROR: CronJobId end 12
[2025-04-11 19:37:04] Production.INFO: ==10365== Releasing lock...
[2025-04-11 19:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 19:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 19:37:05] Production.ERROR: done
[2025-04-11 19:37:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 16:37:06
[end_date_ymd] => 2025-04-11 19:37:06
[RateCDR] => 1
)
[2025-04-11 19: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-11 16:37:06' and `end` < '2025-04-11 19: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-11 19:37:15] Production.ERROR: CronJobId end10
[2025-04-11 19:37:15] Production.INFO: ==10363== Releasing lock...
[2025-04-11 19:37:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 19:37:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 19:37:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 19:37:16] Production.INFO: ============== Balance Warning START===========
[2025-04-11 19:37:16] Production.INFO: ============== Balance Warning END===========
[2025-04-11 19:37:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 19:37:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 19:37:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 19:37:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 19:37:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 19:37:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 19:37:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 19:37:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 19:37:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 19:37:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 19:37:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 19:37:16] Production.INFO: call_cost start
[2025-04-11 19:37:16] Production.INFO: call_cost end
[2025-04-11 19:37:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 19:37:17] Production.INFO: ============== Report Schedule START===========
[2025-04-11 19:37:17] Production.INFO: ============== Report Schedule END===========
[2025-04-11 19:37:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 19:37:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 19:37:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 19:37:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 19:37:17] Production.INFO: ============== Deal alert START===========
[2025-04-11 19:37:17] Production.INFO: ============== Deal alert END===========
[2025-04-11 19:37:18] Production.INFO: ==10359== Releasing lock...
[2025-04-11 19:37:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 19:37:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 19:37:19] Production.INFO: count ==2374
[2025-04-11 19:37:20] Production.ERROR: pbx CDR StartTime 2025-04-11 16:37:06 - End Time 2025-04-11 19:37:06
[2025-04-11 19:37:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 19:37:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886402', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:37:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886402', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:37:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886402', 'tblTempVendorCDR_20' ) start
[2025-04-11 19:37:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886402', 'tblTempVendorCDR_20' ) end
[2025-04-11 19:37:20] Production.INFO: ProcessCDR(1,14886402,1,1,2)
[2025-04-11 19:37:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886402,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:37:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886402,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:37:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886402,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:37:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886402,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:37:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886402', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:37:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886402', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:37:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 19:37:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 19:37:26] Production.INFO: ==10367== Releasing lock...
[2025-04-11 19:37:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 19:37:26] Production.INFO: 45.5 MB #Memory Used#
[2025-04-12 00:38:01] Production.INFO: ==10427== Lock acquired, processing the job...
[2025-04-12 00:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 00:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 00:38:01] Production.INFO: neon service started
[2025-04-12 00:38:01] Production.INFO: neon service started
[2025-04-12 00:38:01] Production.INFO: ==10427== Releasing lock...
[2025-04-12 00:38:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 00:38:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 19:38:02] Production.INFO: ==10429== Lock acquired, processing the job...
[2025-04-11 19:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 23:38:02] Production.INFO: ==10431== Lock acquired, processing the job...
[2025-04-11 23:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-11 19:38:02] Production.INFO: ==10429== Releasing lock...
[2025-04-11 19:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 19:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 23:38:02] Production.INFO: ==10431== Releasing lock...
[2025-04-11 23:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-11 23:38:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 19:38:03] Production.INFO: ==10433== Lock acquired, processing the job...
[2025-04-11 19:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 19:38:03] Production.INFO: ==10436== Lock acquired, processing the job...
[2025-04-11 19:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 19:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 19:38:03] Production.INFO: ==10444== Lock acquired, processing the job...
[2025-04-11 19:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 19:38:03] Production.INFO: ==10442== Lock acquired, processing the job...
[2025-04-11 19:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 19:38:03] Production.INFO: ==10438== Lock acquired, processing the job...
[2025-04-11 19:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 19:38:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 19:38:03] Production.INFO: ==10436== Releasing lock...
[2025-04-11 19:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 19:38:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 19:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 19:38:03] Production.INFO: count ==12
[2025-04-11 19:38:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 19:38:03] Production.INFO: count ==23
[2025-04-11 19:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14886405') start
[2025-04-11 19:38:03] Production.INFO: ==10440== Lock acquired, processing the job...
[2025-04-11 19:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 19:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 19:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 19:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 19:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 19:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14886405') end
[2025-04-11 19:38:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 19:38:03] Production.INFO: 1
[2025-04-11 19:38:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 19:38:04] Production.INFO: ==10444== Releasing lock...
[2025-04-11 19:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 19:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 19:38:04] Production.INFO: Account Balance Start.
[2025-04-11 19:38:04] Production.INFO: CreateAllLog Start
[2025-04-11 19:38:04] Production.INFO: 117
[2025-04-11 19:38:04] Production.INFO: Date 2025-04-08
[2025-04-11 19:38:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:38:04] Production.INFO: Date 2025-04-09
[2025-04-11 19:38:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:38:04] Production.INFO: Date 2025-04-10
[2025-04-11 19:38:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:38:04] Production.INFO: Date 2025-04-11
[2025-04-11 19:38:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:38:04] Production.INFO: Total Charge 0
[2025-04-11 19:38:04] Production.INFO: CreateAllLog End
[2025-04-11 19:38:04] Production.ERROR: done
[2025-04-11 19:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 19:38:04] Production.INFO: Account Balance End.
[2025-04-11 19:38:04] Production.ERROR: CronJobId end 12
[2025-04-11 19:38:04] Production.INFO: ==10440== Releasing lock...
[2025-04-11 19:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 19:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 19:38:04] Production.ERROR: done
[2025-04-11 19:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 16:38:05
[end_date_ymd] => 2025-04-11 19:38:05
[RateCDR] => 1
)
[2025-04-11 19: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-11 16:38:05' and `end` < '2025-04-11 19: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-11 19:38:14] Production.ERROR: CronJobId end10
[2025-04-11 19:38:14] Production.INFO: ==10438== Releasing lock...
[2025-04-11 19:38:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 19:38:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 19:38:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 19:38:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 19:38:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 19:38:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 19:38:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 19:38:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 19:38:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 19:38:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 19:38:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 19:38:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 19:38:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 19:38:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 19:38:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 19:38:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 19:38:16] Production.INFO: call_cost start
[2025-04-11 19:38:16] Production.INFO: call_cost end
[2025-04-11 19:38:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 19:38:17] Production.INFO: ============== Report Schedule START===========
[2025-04-11 19:38:17] Production.INFO: ============== Report Schedule END===========
[2025-04-11 19:38:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 19:38:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 19:38:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 19:38:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 19:38:17] Production.INFO: ============== Deal alert START===========
[2025-04-11 19:38:17] Production.INFO: ============== Deal alert END===========
[2025-04-11 19:38:17] Production.INFO: ==10433== Releasing lock...
[2025-04-11 19:38:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 19:38:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 19:38:19] Production.INFO: count ==2359
[2025-04-11 19:38:19] Production.ERROR: pbx CDR StartTime 2025-04-11 16:38:05 - End Time 2025-04-11 19:38:05
[2025-04-11 19:38:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 19:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886407', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886407', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886407', 'tblTempVendorCDR_20' ) start
[2025-04-11 19:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886407', 'tblTempVendorCDR_20' ) end
[2025-04-11 19:38:19] Production.INFO: ProcessCDR(1,14886407,1,1,2)
[2025-04-11 19:38:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886407,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:38:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886407,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:38:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886407,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:38:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886407,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:38:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886407', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:38:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886407', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:38:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 19:38:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 19:38:23] Production.INFO: ==10442== Releasing lock...
[2025-04-11 19:38:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 19:38:23] Production.INFO: 45.25 MB #Memory Used#
[2025-04-12 00:39:02] Production.INFO: ==10500== Lock acquired, processing the job...
[2025-04-12 00:39:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 00:39:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 00:39:02] Production.INFO: neon service started
[2025-04-12 00:39:02] Production.INFO: neon service started
[2025-04-12 00:39:02] Production.INFO: ==10500== Releasing lock...
[2025-04-12 00:39:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 00:39:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 23:39:02] Production.INFO: ==10505== Lock acquired, processing the job...
[2025-04-11 23:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-11 23:39:02] Production.INFO: ==10505== Releasing lock...
[2025-04-11 23:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-11 23:39:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 19:39:02] Production.INFO: ==10503== Lock acquired, processing the job...
[2025-04-11 19:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 19:39:03] Production.INFO: ==10503== Releasing lock...
[2025-04-11 19:39:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 19:39:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 19:39:04] Production.INFO: ==10515== Lock acquired, processing the job...
[2025-04-11 19:39:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 19:39:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 19:39:04] Production.INFO: ==10517== Lock acquired, processing the job...
[2025-04-11 19:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 19:39:04] Production.INFO: ==10507== Lock acquired, processing the job...
[2025-04-11 19:39:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 19:39:04] Production.INFO: ==10509== Lock acquired, processing the job...
[2025-04-11 19:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 19:39:04] Production.INFO: ==10511== Lock acquired, processing the job...
[2025-04-11 19:39:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 19:39:04] Production.INFO: ==10513== Lock acquired, processing the job...
[2025-04-11 19:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 19:39:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 19: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-11 19:39:04] Production.INFO: Account Balance Start.
[2025-04-11 19:39:04] Production.INFO: CreateAllLog Start
[2025-04-11 19:39:04] Production.INFO: 117
[2025-04-11 19:39:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 19:39:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 19:39:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 19:39:04] Production.INFO: count ==12
[2025-04-11 19:39:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 19: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-11 19:39:04] Production.INFO: Date 2025-04-08
[2025-04-11 19:39:04] Production.INFO: count ==23
[2025-04-11 19:39:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886409') start
[2025-04-11 19:39:04] Production.INFO: Date 2025-04-09
[2025-04-11 19:39:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:39:04] Production.INFO: Date 2025-04-10
[2025-04-11 19:39:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:39:04] Production.ERROR: done
[2025-04-11 19:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 19:39:04] Production.INFO: Date 2025-04-11
[2025-04-11 19:39:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886409') end
[2025-04-11 19:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 19:39:04] Production.INFO: 1
[2025-04-11 19:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 19:39:04] Production.INFO: Total Charge 0
[2025-04-11 19:39:04] Production.INFO: CreateAllLog End
[2025-04-11 19:39:04] Production.INFO: ==10517== Releasing lock...
[2025-04-11 19:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 19:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 19:39:04] Production.INFO: ==10509== Releasing lock...
[2025-04-11 19:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 19:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 19:39:04] Production.ERROR: done
[2025-04-11 19:39:04] Production.INFO: Account Balance End.
[2025-04-11 19:39:05] Production.ERROR: CronJobId end 12
[2025-04-11 19:39:05] Production.INFO: ==10513== Releasing lock...
[2025-04-11 19:39:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 19:39:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 19:39:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 16:39:06
[end_date_ymd] => 2025-04-11 19:39:06
[RateCDR] => 1
)
[2025-04-11 19: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-11 16:39:06' and `end` < '2025-04-11 19: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-11 19:39:14] Production.ERROR: CronJobId end10
[2025-04-11 19:39:14] Production.INFO: ==10511== Releasing lock...
[2025-04-11 19:39:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 19:39:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 19:39:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 19:39:16] Production.INFO: ============== Balance Warning START===========
[2025-04-11 19:39:16] Production.INFO: ============== Balance Warning END===========
[2025-04-11 19:39:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 19:39:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 19:39:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 19:39:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 19:39:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 19:39:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 19:39:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 19:39:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 19:39:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 19:39:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 19:39:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 19:39:16] Production.INFO: call_cost start
[2025-04-11 19:39:16] Production.INFO: call_cost end
[2025-04-11 19:39:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 19:39:17] Production.INFO: ============== Report Schedule START===========
[2025-04-11 19:39:17] Production.INFO: ============== Report Schedule END===========
[2025-04-11 19:39:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 19:39:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 19:39:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 19:39:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 19:39:17] Production.INFO: ============== Deal alert START===========
[2025-04-11 19:39:17] Production.INFO: ============== Deal alert END===========
[2025-04-11 19:39:17] Production.INFO: ==10507== Releasing lock...
[2025-04-11 19:39:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 19:39:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 19:39:19] Production.INFO: count ==2356
[2025-04-11 19:39:19] Production.ERROR: pbx CDR StartTime 2025-04-11 16:39:06 - End Time 2025-04-11 19:39:06
[2025-04-11 19:39:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 19:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886412', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886412', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886412', 'tblTempVendorCDR_20' ) start
[2025-04-11 19:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886412', 'tblTempVendorCDR_20' ) end
[2025-04-11 19:39:19] Production.INFO: ProcessCDR(1,14886412,1,1,2)
[2025-04-11 19:39:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886412,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:39:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886412,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:39:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886412,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:39:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886412,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:39:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886412', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:39:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886412', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:39:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 19:39:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 19:39:25] Production.INFO: ==10515== Releasing lock...
[2025-04-11 19:39:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 19:39:25] Production.INFO: 45.25 MB #Memory Used#
[2025-04-12 00:40:01] Production.INFO: ==10573== Lock acquired, processing the job...
[2025-04-12 00:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 00:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 00:40:01] Production.INFO: neon service started
[2025-04-12 00:40:01] Production.INFO: neon service started
[2025-04-12 00:40:01] Production.INFO: ==10573== Releasing lock...
[2025-04-12 00:40:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 00:40:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 19:40:02] Production.INFO: ==10576== Lock acquired, processing the job...
[2025-04-11 19:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 23:40:02] Production.INFO: ==10578== Lock acquired, processing the job...
[2025-04-11 23:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-11 19:40:02] Production.INFO: ==10576== Releasing lock...
[2025-04-11 19:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 19:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 23:40:02] Production.INFO: ==10578== Releasing lock...
[2025-04-11 23:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-11 23:40:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 19:40:03] Production.INFO: ==10580== Lock acquired, processing the job...
[2025-04-11 19:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-11 19:40:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-11 19:40:03] Production.ERROR: ========================== active cronjob end =============================
[2025-04-11 19:40:03] Production.INFO: ==10580== Releasing lock...
[2025-04-11 19:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-11 19:40:03] Production.INFO: 25.5 MB #Memory Used#
[2025-04-11 19:40:03] Production.INFO: ==10584== Lock acquired, processing the job...
[2025-04-11 19:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 19:40:03] Production.INFO: ==10588== Lock acquired, processing the job...
[2025-04-11 19:40:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 19:40:03] Production.INFO: ==10590== Lock acquired, processing the job...
[2025-04-11 19:40:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 19:40:04] Production.INFO: ==10582== Lock acquired, processing the job...
[2025-04-11 19:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 19:40:04] Production.INFO: Account Balance Start.
[2025-04-11 19:40:04] Production.INFO: CreateAllLog Start
[2025-04-11 19:40:04] Production.INFO: 117
[2025-04-11 19:40:04] Production.INFO: Date 2025-04-08
[2025-04-11 19:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 19:40:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:40:04] Production.INFO: Date 2025-04-09
[2025-04-11 19:40:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:40:04] Production.INFO: Date 2025-04-10
[2025-04-11 19:40:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:40:04] Production.INFO: ==10586== Lock acquired, processing the job...
[2025-04-11 19:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 19:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 19:40:04] Production.INFO: Date 2025-04-11
[2025-04-11 19:40:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:40:04] Production.INFO: ==10594== Lock acquired, processing the job...
[2025-04-11 19:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 19:40:04] Production.INFO: ==10592== Lock acquired, processing the job...
[2025-04-11 19:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-11 19:40:04] Production.INFO: Total Charge 0
[2025-04-11 19:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 19:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 19:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 19:40:04] Production.INFO: CreateAllLog End
[2025-04-11 19:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 19:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 19:40:04] Production.INFO: ==10584== Releasing lock...
[2025-04-11 19:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 19:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 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-11 19:40:04] Production.INFO: count ==12
[2025-04-11 19:40:04] Production.INFO: Account Balance End.
[2025-04-11 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-11 19:40:04] Production.INFO: count ==23
[2025-04-11 19:40:04] Production.ERROR: CronJobId end 12
[2025-04-11 19:40:04] Production.INFO: ==10588== Releasing lock...
[2025-04-11 19:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 19:40:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 19:40:04] Production.ERROR: done
[2025-04-11 19:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 19:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886416') start
[2025-04-11 19:40:04] Production.ERROR: done
[2025-04-11 19:40:04] Production.ERROR: done
[2025-04-11 19:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886416') end
[2025-04-11 19:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 19:40:04] Production.INFO: 1
[2025-04-11 19:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 19:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-11 19:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14886418', 'tblTempUsageDetail_20reseller','2025-04-11','2025-04-11','1' ) start
[2025-04-11 19:40:04] Production.INFO: ==10594== Releasing lock...
[2025-04-11 19:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 19:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 19:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 16:40:06
[end_date_ymd] => 2025-04-11 19:40:06
[RateCDR] => 1
)
[2025-04-11 19:40:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 16:40:06' and `end` < '2025-04-11 19:40:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 19:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14886418', 'tblTempUsageDetail_20reseller','2025-04-11','2025-04-11','1' ) end
[2025-04-11 19:40:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-11 19:40:09] Production.INFO: ProcessCDR(1,14886418,1,1,2)
[2025-04-11 19:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14886418,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:40:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14886418,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:40:10] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 19:40:10] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 19:40:10] Production.INFO: ==10592== Releasing lock...
[2025-04-11 19:40:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-11 19:40:10] Production.INFO: 26 MB #Memory Used#
[2025-04-11 19:40:14] Production.ERROR: CronJobId end10
[2025-04-11 19:40:14] Production.INFO: ==10586== Releasing lock...
[2025-04-11 19:40:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 19:40:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 19:40:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 19:40:17] Production.INFO: ============== Balance Warning START===========
[2025-04-11 19:40:17] Production.INFO: ============== Balance Warning END===========
[2025-04-11 19:40:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 19:40:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 19:40:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 19:40:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 19:40:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 19:40:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 19:40:17] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 19:40:17] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 19:40:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 19:40:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 19:40:17] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 19:40:18] Production.INFO: call_cost start
[2025-04-11 19:40:18] Production.INFO: call_cost end
[2025-04-11 19:40:19] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 19:40:19] Production.INFO: ============== Report Schedule START===========
[2025-04-11 19:40:19] Production.INFO: ============== Report Schedule END===========
[2025-04-11 19:40:19] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 19:40:19] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 19:40:19] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 19:40:19] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 19:40:19] Production.INFO: ============== Deal alert START===========
[2025-04-11 19:40:19] Production.INFO: ============== Deal alert END===========
[2025-04-11 19:40:19] Production.INFO: ==10582== Releasing lock...
[2025-04-11 19:40:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 19:40:19] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 19:40:20] Production.INFO: count ==2341
[2025-04-11 19:40:20] Production.ERROR: pbx CDR StartTime 2025-04-11 16:40:06 - End Time 2025-04-11 19:40:06
[2025-04-11 19:40:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 19:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886417', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886417', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886417', 'tblTempVendorCDR_20' ) start
[2025-04-11 19:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886417', 'tblTempVendorCDR_20' ) end
[2025-04-11 19:40:20] Production.INFO: ProcessCDR(1,14886417,1,1,2)
[2025-04-11 19:40:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886417,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:40:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886417,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:40:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886417,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:40:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886417,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:40:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886417', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:40:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886417', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:40:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 19:40:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 19:40:24] Production.INFO: ==10590== Releasing lock...
[2025-04-11 19:40:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 19:40:24] Production.INFO: 45.25 MB #Memory Used#
[2025-04-12 00:41:02] Production.INFO: ==10648== Lock acquired, processing the job...
[2025-04-12 00:41:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 00:41:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 00:41:02] Production.INFO: neon service started
[2025-04-12 00:41:02] Production.INFO: neon service started
[2025-04-12 00:41:02] Production.INFO: ==10648== Releasing lock...
[2025-04-12 00:41:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 00:41:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 19:41:02] Production.INFO: ==10650== Lock acquired, processing the job...
[2025-04-11 19:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 23:41:02] Production.INFO: ==10652== Lock acquired, processing the job...
[2025-04-11 23:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-11 23:41:03] Production.INFO: ==10652== Releasing lock...
[2025-04-11 23:41:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-11 23:41:03] Production.INFO: 25 MB #Memory Used#
[2025-04-11 19:41:03] Production.INFO: ==10650== Releasing lock...
[2025-04-11 19:41:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 19:41:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 19:41:04] Production.INFO: ==10657== Lock acquired, processing the job...
[2025-04-11 19:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 19:41:04] Production.INFO: ==10659== Lock acquired, processing the job...
[2025-04-11 19:41:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 19:41:04] Production.INFO: ==10655== Lock acquired, processing the job...
[2025-04-11 19:41:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 19:41:04] Production.INFO: ==10663== Lock acquired, processing the job...
[2025-04-11 19:41:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 19:41:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 19:41:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 19:41:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 19:41:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 19:41:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 19:41:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 19:41:04] Production.INFO: ==10661== Lock acquired, processing the job...
[2025-04-11 19:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 19:41:04] Production.INFO: ==10665== Lock acquired, processing the job...
[2025-04-11 19:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 19:41:04] Production.INFO: ==10657== Releasing lock...
[2025-04-11 19:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 19:41:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 19:41:04] Production.INFO: Account Balance Start.
[2025-04-11 19:41:04] Production.INFO: CreateAllLog Start
[2025-04-11 19:41:04] Production.INFO: 117
[2025-04-11 19:41:04] Production.INFO: Date 2025-04-08
[2025-04-11 19:41:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:41:04] Production.ERROR: done
[2025-04-11 19:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 19:41:04] Production.INFO: Date 2025-04-09
[2025-04-11 19:41:04] Production.INFO: Reseller ==> 0
[2025-04-11 19: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-11 19:41:04] Production.INFO: Date 2025-04-10
[2025-04-11 19:41:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:41:04] Production.INFO: count ==12
[2025-04-11 19:41:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 19:41:04] Production.INFO: count ==23
[2025-04-11 19:41:04] Production.INFO: Date 2025-04-11
[2025-04-11 19:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886422') start
[2025-04-11 19:41:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:41:05] Production.ERROR: done
[2025-04-11 19:41:05] Production.ERROR: PBX CALL prc_importPBXExtension('14886422') end
[2025-04-11 19:41:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 19:41:05] Production.INFO: 1
[2025-04-11 19:41:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 19:41:05] Production.INFO: ==10665== Releasing lock...
[2025-04-11 19:41:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 19:41:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 19:41:05] Production.INFO: Total Charge 0
[2025-04-11 19:41:05] Production.INFO: CreateAllLog End
[2025-04-11 19:41:05] Production.INFO: Account Balance End.
[2025-04-11 19:41:05] Production.ERROR: CronJobId end 12
[2025-04-11 19:41:05] Production.INFO: ==10661== Releasing lock...
[2025-04-11 19:41:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 19:41:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 19:41:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 16:41:06
[end_date_ymd] => 2025-04-11 19:41:06
[RateCDR] => 1
)
[2025-04-11 19:41:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 16:41:06' and `end` < '2025-04-11 19:41:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 19:41:15] Production.ERROR: CronJobId end10
[2025-04-11 19:41:15] Production.INFO: ==10659== Releasing lock...
[2025-04-11 19:41:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 19:41:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 19:41:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 19:41:16] Production.INFO: ============== Balance Warning START===========
[2025-04-11 19:41:16] Production.INFO: ============== Balance Warning END===========
[2025-04-11 19:41:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 19:41:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 19:41:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 19:41:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 19:41:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 19:41:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 19:41:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 19:41:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 19:41:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 19:41:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 19:41:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 19:41:16] Production.INFO: call_cost start
[2025-04-11 19:41:16] Production.INFO: call_cost end
[2025-04-11 19:41:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 19:41:17] Production.INFO: ============== Report Schedule START===========
[2025-04-11 19:41:17] Production.INFO: ============== Report Schedule END===========
[2025-04-11 19:41:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 19:41:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 19:41:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 19:41:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 19:41:17] Production.INFO: ============== Deal alert START===========
[2025-04-11 19:41:17] Production.INFO: ============== Deal alert END===========
[2025-04-11 19:41:17] Production.INFO: ==10655== Releasing lock...
[2025-04-11 19:41:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 19:41:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 19:41:19] Production.INFO: count ==2350
[2025-04-11 19:41:19] Production.ERROR: pbx CDR StartTime 2025-04-11 16:41:06 - End Time 2025-04-11 19:41:06
[2025-04-11 19:41:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 19:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886423', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886423', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886423', 'tblTempVendorCDR_20' ) start
[2025-04-11 19:41:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886423', 'tblTempVendorCDR_20' ) end
[2025-04-11 19:41:20] Production.INFO: ProcessCDR(1,14886423,1,1,2)
[2025-04-11 19:41:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886423,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:41:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886423,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:41:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886423,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:41:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886423,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:41:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886423', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:41:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886423', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:41:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 19:41:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 19:41:25] Production.INFO: ==10663== Releasing lock...
[2025-04-11 19:41:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 19:41:25] Production.INFO: 45.25 MB #Memory Used#
[2025-04-12 00:42:01] Production.INFO: ==10720== Lock acquired, processing the job...
[2025-04-12 00:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 00:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 00:42:01] Production.INFO: neon service started
[2025-04-12 00:42:01] Production.INFO: neon service started
[2025-04-12 00:42:01] Production.INFO: ==10720== Releasing lock...
[2025-04-12 00:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 00:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 19:42:02] Production.INFO: ==10722== Lock acquired, processing the job...
[2025-04-11 19:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 23:42:02] Production.INFO: ==10724== Lock acquired, processing the job...
[2025-04-11 23:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-11 23:42:02] Production.INFO: ==10724== Releasing lock...
[2025-04-11 23:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-11 23:42:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 19:42:02] Production.INFO: ==10722== Releasing lock...
[2025-04-11 19:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 19:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 19:42:03] Production.INFO: ==10733== Lock acquired, processing the job...
[2025-04-11 19:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 19:42:03] Production.INFO: ==10737== Lock acquired, processing the job...
[2025-04-11 19:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 19:42:04] Production.INFO: ==10727== Lock acquired, processing the job...
[2025-04-11 19:42:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 19:42:04] Production.INFO: Account Balance Start.
[2025-04-11 19:42:04] Production.INFO: CreateAllLog Start
[2025-04-11 19:42:04] Production.INFO: 117
[2025-04-11 19:42:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 19:42:04] Production.INFO: ==10729== Lock acquired, processing the job...
[2025-04-11 19:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 19:42:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 19:42:04] Production.INFO: ==10731== Lock acquired, processing the job...
[2025-04-11 19:42:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 19:42:04] Production.INFO: Date 2025-04-08
[2025-04-11 19:42:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:42:04] Production.INFO: count ==12
[2025-04-11 19:42:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 19:42:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 19:42:04] Production.INFO: count ==23
[2025-04-11 19:42:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 19:42:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 19:42:04] Production.INFO: Date 2025-04-09
[2025-04-11 19:42:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:42:04] Production.INFO: ==10735== Lock acquired, processing the job...
[2025-04-11 19:42:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 19:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886425') start
[2025-04-11 19:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 19:42:04] Production.INFO: Date 2025-04-10
[2025-04-11 19:42:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 19:42:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:42:04] Production.INFO: Date 2025-04-11
[2025-04-11 19:42:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:42:04] Production.INFO: Total Charge 0
[2025-04-11 19:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886425') end
[2025-04-11 19:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 19:42:04] Production.INFO: 1
[2025-04-11 19:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 19:42:04] Production.INFO: CreateAllLog End
[2025-04-11 19:42:04] Production.INFO: ==10737== Releasing lock...
[2025-04-11 19:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 19:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 19:42:04] Production.INFO: ==10729== Releasing lock...
[2025-04-11 19:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 19:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 19:42:04] Production.ERROR: done
[2025-04-11 19:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 19:42:05] Production.ERROR: done
[2025-04-11 19:42:05] Production.INFO: Account Balance End.
[2025-04-11 19:42:05] Production.ERROR: CronJobId end 12
[2025-04-11 19:42:05] Production.INFO: ==10733== Releasing lock...
[2025-04-11 19:42:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 19:42:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 19:42:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 16:42:06
[end_date_ymd] => 2025-04-11 19:42:06
[RateCDR] => 1
)
[2025-04-11 19: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-11 16:42:06' and `end` < '2025-04-11 19: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-11 19:42:13] Production.ERROR: CronJobId end10
[2025-04-11 19:42:13] Production.INFO: ==10731== Releasing lock...
[2025-04-11 19:42:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 19:42:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 19:42:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 19:42:16] Production.INFO: ============== Balance Warning START===========
[2025-04-11 19:42:16] Production.INFO: ============== Balance Warning END===========
[2025-04-11 19:42:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 19:42:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 19:42:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 19:42:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 19:42:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 19:42:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 19:42:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 19:42:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 19:42:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 19:42:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 19:42:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 19:42:16] Production.INFO: call_cost start
[2025-04-11 19:42:16] Production.INFO: call_cost end
[2025-04-11 19:42:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 19:42:17] Production.INFO: ============== Report Schedule START===========
[2025-04-11 19:42:17] Production.INFO: ============== Report Schedule END===========
[2025-04-11 19:42:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 19:42:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 19:42:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 19:42:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 19:42:17] Production.INFO: ============== Deal alert START===========
[2025-04-11 19:42:17] Production.INFO: ============== Deal alert END===========
[2025-04-11 19:42:17] Production.INFO: ==10727== Releasing lock...
[2025-04-11 19:42:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 19:42:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 19:42:19] Production.INFO: count ==2344
[2025-04-11 19:42:19] Production.ERROR: pbx CDR StartTime 2025-04-11 16:42:06 - End Time 2025-04-11 19:42:06
[2025-04-11 19:42:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 19:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886428', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886428', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886428', 'tblTempVendorCDR_20' ) start
[2025-04-11 19:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886428', 'tblTempVendorCDR_20' ) end
[2025-04-11 19:42:19] Production.INFO: ProcessCDR(1,14886428,1,1,2)
[2025-04-11 19:42:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886428,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:42:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886428,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:42:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886428,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:42:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886428,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:42:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886428', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:42:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886428', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:42:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 19:42:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 19:42:25] Production.INFO: ==10735== Releasing lock...
[2025-04-11 19:42:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 19:42:25] Production.INFO: 45.25 MB #Memory Used#
[2025-04-12 00:43:02] Production.INFO: ==10792== Lock acquired, processing the job...
[2025-04-12 00:43:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 00:43:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 00:43:02] Production.INFO: neon service started
[2025-04-12 00:43:02] Production.INFO: neon service started
[2025-04-12 00:43:02] Production.INFO: ==10792== Releasing lock...
[2025-04-12 00:43:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 00:43:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 19:43:02] Production.INFO: ==10794== Lock acquired, processing the job...
[2025-04-11 19:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 23:43:02] Production.INFO: ==10796== Lock acquired, processing the job...
[2025-04-11 23:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-11 23:43:02] Production.INFO: ==10796== Releasing lock...
[2025-04-11 23:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-11 23:43:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 19:43:03] Production.INFO: ==10794== Releasing lock...
[2025-04-11 19:43:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 19:43:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 19:43:04] Production.INFO: ==10801== Lock acquired, processing the job...
[2025-04-11 19:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 19:43:04] Production.INFO: ==10799== Lock acquired, processing the job...
[2025-04-11 19:43:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 19:43:04] Production.INFO: ==10803== Lock acquired, processing the job...
[2025-04-11 19:43:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 19:43:04] Production.INFO: ==10805== Lock acquired, processing the job...
[2025-04-11 19:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 19:43:04] Production.INFO: ==10807== Lock acquired, processing the job...
[2025-04-11 19:43:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 19:43:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 19:43:04] Production.INFO: Account Balance Start.
[2025-04-11 19:43:04] Production.INFO: CreateAllLog Start
[2025-04-11 19:43:04] Production.INFO: 117
[2025-04-11 19:43:04] Production.INFO: Date 2025-04-08
[2025-04-11 19:43:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 19:43:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:43:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 19:43:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 19:43:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 19:43:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 19:43:04] Production.INFO: Date 2025-04-09
[2025-04-11 19:43:04] Production.INFO: ==10809== Lock acquired, processing the job...
[2025-04-11 19:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 19:43:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:43:04] Production.INFO: Date 2025-04-10
[2025-04-11 19:43:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:43:04] Production.INFO: Date 2025-04-11
[2025-04-11 19:43:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:43:04] Production.INFO: Total Charge 0
[2025-04-11 19:43:04] Production.INFO: CreateAllLog End
[2025-04-11 19:43:04] Production.INFO: ==10801== Releasing lock...
[2025-04-11 19:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 19:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 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-11 19:43:04] Production.INFO: count ==12
[2025-04-11 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-11 19:43:04] Production.INFO: count ==23
[2025-04-11 19:43:04] Production.ERROR: done
[2025-04-11 19:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 19:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886432') start
[2025-04-11 19:43:05] Production.INFO: Account Balance End.
[2025-04-11 19:43:05] Production.ERROR: done
[2025-04-11 19:43:05] Production.ERROR: PBX CALL prc_importPBXExtension('14886432') end
[2025-04-11 19:43:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 19:43:05] Production.INFO: 1
[2025-04-11 19:43:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 19:43:05] Production.INFO: ==10809== Releasing lock...
[2025-04-11 19:43:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 19:43:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 19:43:05] Production.ERROR: CronJobId end 12
[2025-04-11 19:43:05] Production.INFO: ==10805== Releasing lock...
[2025-04-11 19:43:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 19:43:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 19:43:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 16:43:06
[end_date_ymd] => 2025-04-11 19:43:06
[RateCDR] => 1
)
[2025-04-11 19:43:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 16:43:06' and `end` < '2025-04-11 19:43:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 19:43:14] Production.ERROR: CronJobId end10
[2025-04-11 19:43:15] Production.INFO: ==10803== Releasing lock...
[2025-04-11 19:43:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 19:43:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 19:43:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 19:43:17] Production.INFO: ============== Balance Warning START===========
[2025-04-11 19:43:17] Production.INFO: ============== Balance Warning END===========
[2025-04-11 19:43:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 19:43:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 19:43:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 19:43:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 19:43:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 19:43:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 19:43:17] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 19:43:17] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 19:43:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 19:43:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 19:43:17] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 19:43:18] Production.INFO: call_cost start
[2025-04-11 19:43:18] Production.INFO: call_cost end
[2025-04-11 19:43:19] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 19:43:19] Production.INFO: ============== Report Schedule START===========
[2025-04-11 19:43:19] Production.INFO: ============== Report Schedule END===========
[2025-04-11 19:43:19] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 19:43:19] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 19:43:19] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 19:43:19] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 19:43:19] Production.INFO: ============== Deal alert START===========
[2025-04-11 19:43:19] Production.INFO: ============== Deal alert END===========
[2025-04-11 19:43:19] Production.INFO: ==10799== Releasing lock...
[2025-04-11 19:43:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 19:43:19] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 19:43:19] Production.INFO: count ==2338
[2025-04-11 19:43:19] Production.ERROR: pbx CDR StartTime 2025-04-11 16:43:06 - End Time 2025-04-11 19:43:06
[2025-04-11 19:43:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 19:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886433', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886433', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886433', 'tblTempVendorCDR_20' ) start
[2025-04-11 19:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886433', 'tblTempVendorCDR_20' ) end
[2025-04-11 19:43:19] Production.INFO: ProcessCDR(1,14886433,1,1,2)
[2025-04-11 19:43:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886433,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:43:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886433,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:43:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886433,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:43:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886433,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:43:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886433', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:43:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886433', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:43:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 19:43:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 19:43:23] Production.INFO: ==10807== Releasing lock...
[2025-04-11 19:43:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 19:43:23] Production.INFO: 45 MB #Memory Used#
[2025-04-12 00:44:01] Production.INFO: ==10902== Lock acquired, processing the job...
[2025-04-12 00:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 00:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 00:44:01] Production.INFO: neon service started
[2025-04-12 00:44:01] Production.INFO: neon service started
[2025-04-12 00:44:01] Production.INFO: ==10902== Releasing lock...
[2025-04-12 00:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 00:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 19:44:02] Production.INFO: ==10904== Lock acquired, processing the job...
[2025-04-11 19:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 19:44:02] Production.INFO: ==10904== Releasing lock...
[2025-04-11 19:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 19:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 23:44:02] Production.INFO: ==10906== Lock acquired, processing the job...
[2025-04-11 23:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-11 23:44:02] Production.INFO: ==10906== Releasing lock...
[2025-04-11 23:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-11 23:44:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 19:44:03] Production.INFO: ==10915== Lock acquired, processing the job...
[2025-04-11 19:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 19:44:03] Production.INFO: ==10919== Lock acquired, processing the job...
[2025-04-11 19:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 19:44:03] Production.INFO: ==10909== Lock acquired, processing the job...
[2025-04-11 19:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 19:44:03] Production.INFO: Account Balance Start.
[2025-04-11 19:44:03] Production.INFO: CreateAllLog Start
[2025-04-11 19:44:03] Production.INFO: ==10911== Lock acquired, processing the job...
[2025-04-11 19:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 19:44:03] Production.INFO: 117
[2025-04-11 19:44:03] Production.INFO: ==10913== Lock acquired, processing the job...
[2025-04-11 19:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 19:44:03] Production.INFO: Date 2025-04-08
[2025-04-11 19:44:03] Production.INFO: Reseller ==> 0
[2025-04-11 19:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 19: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-11 19:44:03] Production.INFO: Date 2025-04-09
[2025-04-11 19:44:03] Production.INFO: Reseller ==> 0
[2025-04-11 19:44:03] Production.INFO: count ==12
[2025-04-11 19:44:03] Production.INFO: ==10917== Lock acquired, processing the job...
[2025-04-11 19:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 19:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 19: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-11 19:44:03] Production.INFO: count ==23
[2025-04-11 19:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 19:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 19:44:03] Production.INFO: Date 2025-04-10
[2025-04-11 19:44:03] Production.INFO: Reseller ==> 0
[2025-04-11 19:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 19:44:03] Production.INFO: Date 2025-04-11
[2025-04-11 19:44:03] Production.INFO: Reseller ==> 0
[2025-04-11 19:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 19:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14886435') start
[2025-04-11 19:44:03] Production.INFO: Total Charge 0
[2025-04-11 19:44:03] Production.INFO: CreateAllLog End
[2025-04-11 19:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886435') end
[2025-04-11 19:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 19:44:04] Production.INFO: 1
[2025-04-11 19:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 19:44:04] Production.INFO: ==10919== Releasing lock...
[2025-04-11 19:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 19:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 19:44:04] Production.INFO: ==10911== Releasing lock...
[2025-04-11 19:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 19:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 19:44:04] Production.ERROR: done
[2025-04-11 19:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 19:44:04] Production.ERROR: done
[2025-04-11 19:44:04] Production.INFO: Account Balance End.
[2025-04-11 19:44:04] Production.ERROR: CronJobId end 12
[2025-04-11 19:44:04] Production.INFO: ==10915== Releasing lock...
[2025-04-11 19:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 19:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 19:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 16:44:05
[end_date_ymd] => 2025-04-11 19:44:05
[RateCDR] => 1
)
[2025-04-11 19:44:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 16:44:05' and `end` < '2025-04-11 19:44:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 19:44:14] Production.ERROR: CronJobId end10
[2025-04-11 19:44:14] Production.INFO: ==10913== Releasing lock...
[2025-04-11 19:44:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 19:44:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 19:44:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 19:44:16] Production.INFO: ============== Balance Warning START===========
[2025-04-11 19:44:16] Production.INFO: ============== Balance Warning END===========
[2025-04-11 19:44:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 19:44:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 19:44:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 19:44:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 19:44:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 19:44:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 19:44:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 19:44:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 19:44:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 19:44:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 19:44:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 19:44:17] Production.INFO: call_cost start
[2025-04-11 19:44:17] Production.INFO: call_cost end
[2025-04-11 19:44:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 19:44:18] Production.INFO: ============== Report Schedule START===========
[2025-04-11 19:44:18] Production.INFO: ============== Report Schedule END===========
[2025-04-11 19:44:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 19:44:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 19:44:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 19:44:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 19:44:18] Production.INFO: ============== Deal alert START===========
[2025-04-11 19:44:18] Production.INFO: ============== Deal alert END===========
[2025-04-11 19:44:18] Production.INFO: ==10909== Releasing lock...
[2025-04-11 19:44:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 19:44:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 19:44:18] Production.INFO: count ==2328
[2025-04-11 19:44:19] Production.ERROR: pbx CDR StartTime 2025-04-11 16:44:05 - End Time 2025-04-11 19:44:05
[2025-04-11 19:44:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 19:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886438', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886438', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886438', 'tblTempVendorCDR_20' ) start
[2025-04-11 19:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886438', 'tblTempVendorCDR_20' ) end
[2025-04-11 19:44:19] Production.INFO: ProcessCDR(1,14886438,1,1,2)
[2025-04-11 19:44:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886438,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:44:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886438,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:44:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886438,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:44:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886438,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886438', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886438', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:44:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 19:44:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 19:44:22] Production.INFO: ==10917== Releasing lock...
[2025-04-11 19:44:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 19:44:22] Production.INFO: 45 MB #Memory Used#
[2025-04-12 00:45:02] Production.INFO: ==10974== Lock acquired, processing the job...
[2025-04-12 00:45:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 00:45:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 00:45:02] Production.INFO: neon service started
[2025-04-12 00:45:02] Production.INFO: neon service started
[2025-04-12 00:45:02] Production.INFO: ==10974== Releasing lock...
[2025-04-12 00:45:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 00:45:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 19:45:02] Production.INFO: ==10976== Lock acquired, processing the job...
[2025-04-11 19:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 23:45:02] Production.INFO: ==10978== Lock acquired, processing the job...
[2025-04-11 23:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-11 23:45:03] Production.INFO: ==10978== Releasing lock...
[2025-04-11 23:45:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-11 23:45:03] Production.INFO: 25 MB #Memory Used#
[2025-04-11 19:45:03] Production.INFO: ==10976== Releasing lock...
[2025-04-11 19:45:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 19:45:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 19:45:04] Production.INFO: ==10981== Lock acquired, processing the job...
[2025-04-11 19:45:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 19:45:04] Production.INFO: ==10985== Lock acquired, processing the job...
[2025-04-11 19:45:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 19:45:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 19:45:04] Production.INFO: ==10987== Lock acquired, processing the job...
[2025-04-11 19:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 19:45:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 19:45:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 19:45:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 19:45:04] Production.INFO: Account Balance Start.
[2025-04-11 19:45:04] Production.INFO: CreateAllLog Start
[2025-04-11 19:45:04] Production.INFO: 117
[2025-04-11 19:45:04] Production.INFO: Date 2025-04-08
[2025-04-11 19:45:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 19:45:04] Production.INFO: ==10983== Lock acquired, processing the job...
[2025-04-11 19:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 19:45:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:45:04] Production.INFO: Date 2025-04-09
[2025-04-11 19:45:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:45:04] Production.INFO: ==10989== Lock acquired, processing the job...
[2025-04-11 19:45:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 19:45:04] Production.INFO: Date 2025-04-10
[2025-04-11 19:45:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:45:04] Production.INFO: Date 2025-04-11
[2025-04-11 19:45:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:45:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 19:45:04] Production.INFO: Total Charge 0
[2025-04-11 19:45:04] Production.INFO: CreateAllLog End
[2025-04-11 19:45:04] Production.INFO: ==10991== Lock acquired, processing the job...
[2025-04-11 19:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 19:45:04] Production.INFO: ==10983== Releasing lock...
[2025-04-11 19:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 19:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 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-11 19:45:05] Production.INFO: count ==12
[2025-04-11 19:45:05] Production.ERROR: done
[2025-04-11 19:45:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 19:45:05] Production.INFO: Account Balance End.
[2025-04-11 19:45: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-11 19:45:05] Production.INFO: count ==23
[2025-04-11 19:45:05] Production.ERROR: PBX CALL prc_importPBXExtension('14886442') start
[2025-04-11 19:45:05] Production.ERROR: CronJobId end 12
[2025-04-11 19:45:05] Production.INFO: ==10987== Releasing lock...
[2025-04-11 19:45:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 19:45:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 19:45:05] Production.ERROR: done
[2025-04-11 19:45:05] Production.ERROR: PBX CALL prc_importPBXExtension('14886442') end
[2025-04-11 19:45:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 19:45:05] Production.INFO: 1
[2025-04-11 19:45:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 19:45:05] Production.INFO: ==10991== Releasing lock...
[2025-04-11 19:45:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 19:45:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 19:45:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 16:45:06
[end_date_ymd] => 2025-04-11 19:45:06
[RateCDR] => 1
)
[2025-04-11 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-11 16:45:06' and `end` < '2025-04-11 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-11 19:45:13] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:294
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(294): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_LowBal...', Array)
#2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#4 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#8 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#9 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#10 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#11 [internal function]: App\Console\Commands\NeonAlerts->fire()
#12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#20 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 {main}
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_LowBalanceReminder(1,0,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-11 19:45:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 19:45:13] Production.INFO: ============== Balance Warning START===========
[2025-04-11 19:45:13] Production.INFO: ============== Balance Warning END===========
[2025-04-11 19:45:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 19:45:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 19:45:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 19:45:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 19:45:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 19:45:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 19:45:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 19:45:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 19:45:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 19:45:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 19:45:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 19:45:14] Production.INFO: call_cost start
[2025-04-11 19:45:14] Production.INFO: call_cost end
[2025-04-11 19:45:14] Production.ERROR: CronJobId end10
[2025-04-11 19:45:14] Production.INFO: ==10985== Releasing lock...
[2025-04-11 19:45:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 19:45:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 19:45:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 19:45:15] Production.INFO: ============== Report Schedule START===========
[2025-04-11 19:45:15] Production.INFO: ============== Report Schedule END===========
[2025-04-11 19:45:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 19:45:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 19:45:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 19:45:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 19:45:15] Production.INFO: ============== Deal alert START===========
[2025-04-11 19:45:15] Production.INFO: ============== Deal alert END===========
[2025-04-11 19:45:15] Production.INFO: ==10981== Releasing lock...
[2025-04-11 19:45:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 19:45:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 19:45:19] Production.INFO: count ==2327
[2025-04-11 19:45:20] Production.ERROR: pbx CDR StartTime 2025-04-11 16:45:06 - End Time 2025-04-11 19:45:06
[2025-04-11 19:45:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 19:45:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886443', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:45:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886443', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:45:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886443', 'tblTempVendorCDR_20' ) start
[2025-04-11 19:45:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886443', 'tblTempVendorCDR_20' ) end
[2025-04-11 19:45:20] Production.INFO: ProcessCDR(1,14886443,1,1,2)
[2025-04-11 19:45:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886443,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:45:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886443,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:45:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886443,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:45:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886443,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:45:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886443', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:45:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886443', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:45:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 19:45:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 19:45:25] Production.INFO: ==10989== Releasing lock...
[2025-04-11 19:45:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 19:45:25] Production.INFO: 45 MB #Memory Used#
[2025-04-12 00:46:01] Production.INFO: ==11067== Lock acquired, processing the job...
[2025-04-12 00:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 00:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 00:46:01] Production.INFO: neon service started
[2025-04-12 00:46:01] Production.INFO: neon service started
[2025-04-12 00:46:01] Production.INFO: ==11067== Releasing lock...
[2025-04-12 00:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 00:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 19:46:02] Production.INFO: ==11069== Lock acquired, processing the job...
[2025-04-11 19:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 23:46:02] Production.INFO: ==11071== Lock acquired, processing the job...
[2025-04-11 23:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-11 19:46:02] Production.INFO: ==11069== Releasing lock...
[2025-04-11 19:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 19:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 23:46:02] Production.INFO: ==11071== Releasing lock...
[2025-04-11 23:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-11 23:46:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 19:46:03] Production.INFO: ==11074== Lock acquired, processing the job...
[2025-04-11 19:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 19:46:03] Production.INFO: ==11080== Lock acquired, processing the job...
[2025-04-11 19:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 19:46:03] Production.INFO: ==11082== Lock acquired, processing the job...
[2025-04-11 19:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 19:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 19:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 19:46:03] Production.INFO: ==11076== Lock acquired, processing the job...
[2025-04-11 19:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 19:46:03] Production.INFO: Account Balance Start.
[2025-04-11 19:46:03] Production.INFO: CreateAllLog Start
[2025-04-11 19:46:03] Production.INFO: 117
[2025-04-11 19:46:03] Production.INFO: ==11078== Lock acquired, processing the job...
[2025-04-11 19:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 19:46:03] Production.INFO: Date 2025-04-08
[2025-04-11 19:46:03] Production.INFO: ==11084== Lock acquired, processing the job...
[2025-04-11 19:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 19:46:03] Production.INFO: Reseller ==> 0
[2025-04-11 19:46:03] Production.INFO: Date 2025-04-09
[2025-04-11 19:46:03] Production.INFO: Reseller ==> 0
[2025-04-11 19:46:03] Production.INFO: Date 2025-04-10
[2025-04-11 19:46:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 19:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 19:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 19:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 19:46:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 19:46:04] Production.INFO: count ==12
[2025-04-11 19:46:04] Production.INFO: Date 2025-04-11
[2025-04-11 19:46:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:46:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 19:46:04] Production.INFO: count ==23
[2025-04-11 19:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886446') start
[2025-04-11 19:46:04] Production.ERROR: done
[2025-04-11 19:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 19:46:04] Production.INFO: Total Charge 0
[2025-04-11 19:46:04] Production.INFO: CreateAllLog End
[2025-04-11 19:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886446') end
[2025-04-11 19:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 19:46:04] Production.INFO: 1
[2025-04-11 19:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 19:46:04] Production.ERROR: done
[2025-04-11 19:46:04] Production.INFO: ==11076== Releasing lock...
[2025-04-11 19:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 19:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 19:46:04] Production.INFO: ==11084== Releasing lock...
[2025-04-11 19:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 19:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 19:46:04] Production.INFO: Account Balance End.
[2025-04-11 19:46:04] Production.ERROR: CronJobId end 12
[2025-04-11 19:46:04] Production.INFO: ==11080== Releasing lock...
[2025-04-11 19:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 19:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 19:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 16:46:05
[end_date_ymd] => 2025-04-11 19:46:05
[RateCDR] => 1
)
[2025-04-11 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-11 16:46:05' and `end` < '2025-04-11 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-11 19:46:13] Production.ERROR: CronJobId end10
[2025-04-11 19:46:13] Production.INFO: ==11078== Releasing lock...
[2025-04-11 19:46:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 19:46:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 19:46:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 19:46:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 19:46:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 19:46:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 19:46:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 19:46:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 19:46:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 19:46:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 19:46:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 19:46:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 19:46:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 19:46:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 19:46:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 19:46:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 19:46:16] Production.INFO: call_cost start
[2025-04-11 19:46:16] Production.INFO: call_cost end
[2025-04-11 19:46:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 19:46:17] Production.INFO: ============== Report Schedule START===========
[2025-04-11 19:46:17] Production.INFO: ============== Report Schedule END===========
[2025-04-11 19:46:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 19:46:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 19:46:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 19:46:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 19:46:17] Production.INFO: ============== Deal alert START===========
[2025-04-11 19:46:17] Production.INFO: ============== Deal alert END===========
[2025-04-11 19:46:17] Production.INFO: ==11074== Releasing lock...
[2025-04-11 19:46:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 19:46:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 19:46:18] Production.INFO: count ==2324
[2025-04-11 19:46:19] Production.ERROR: pbx CDR StartTime 2025-04-11 16:46:05 - End Time 2025-04-11 19:46:05
[2025-04-11 19:46:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 19:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886448', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886448', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886448', 'tblTempVendorCDR_20' ) start
[2025-04-11 19:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886448', 'tblTempVendorCDR_20' ) end
[2025-04-11 19:46:19] Production.INFO: ProcessCDR(1,14886448,1,1,2)
[2025-04-11 19:46:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886448,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:46:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886448,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:46:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886448,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:46:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886448,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:46:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886448', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:46:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886448', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:46:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 19:46:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 19:46:24] Production.INFO: ==11082== Releasing lock...
[2025-04-11 19:46:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 19:46:24] Production.INFO: 45 MB #Memory Used#
[2025-04-12 00:47:02] Production.INFO: ==11141== Lock acquired, processing the job...
[2025-04-12 00:47:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 00:47:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 00:47:02] Production.INFO: neon service started
[2025-04-12 00:47:02] Production.INFO: neon service started
[2025-04-12 00:47:02] Production.INFO: ==11141== Releasing lock...
[2025-04-12 00:47:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 00:47:02] Production.INFO: 25.5 MB #Memory Used#
[2025-04-11 23:47:02] Production.INFO: ==11145== Lock acquired, processing the job...
[2025-04-11 23:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-11 23:47:02] Production.INFO: ==11145== Releasing lock...
[2025-04-11 23:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-11 23:47:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 19:47:02] Production.INFO: ==11143== Lock acquired, processing the job...
[2025-04-11 19:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 19:47:03] Production.INFO: ==11143== Releasing lock...
[2025-04-11 19:47:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 19:47:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 19:47:04] Production.INFO: ==11154== Lock acquired, processing the job...
[2025-04-11 19:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 19:47:04] Production.INFO: ==11156== Lock acquired, processing the job...
[2025-04-11 19:47:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 19:47:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 19:47:04] Production.INFO: ==11148== Lock acquired, processing the job...
[2025-04-11 19:47:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 19:47:04] Production.INFO: Account Balance Start.
[2025-04-11 19:47:04] Production.INFO: CreateAllLog Start
[2025-04-11 19:47:04] Production.INFO: 117
[2025-04-11 19:47:04] Production.INFO: Date 2025-04-08
[2025-04-11 19:47:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:47:04] Production.INFO: ==11150== Lock acquired, processing the job...
[2025-04-11 19:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 19:47:04] Production.INFO: Date 2025-04-09
[2025-04-11 19:47:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:47:04] Production.INFO: ==11152== Lock acquired, processing the job...
[2025-04-11 19:47:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 19:47:04] Production.INFO: ==11158== Lock acquired, processing the job...
[2025-04-11 19:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 19:47:04] Production.INFO: Date 2025-04-10
[2025-04-11 19:47:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:47:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 19:47:04] Production.INFO: Date 2025-04-11
[2025-04-11 19:47:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:47:04] Production.INFO: Total Charge 0
[2025-04-11 19:47:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 19:47:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 19:47:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 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-11 19:47:04] Production.INFO: CreateAllLog End
[2025-04-11 19:47:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 19:47:04] Production.INFO: count ==12
[2025-04-11 19:47:04] Production.ERROR: done
[2025-04-11 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-11 19:47:04] Production.INFO: count ==23
[2025-04-11 19:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 19:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886452') start
[2025-04-11 19:47:04] Production.INFO: ==11150== Releasing lock...
[2025-04-11 19:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 19:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 19:47:04] Production.ERROR: done
[2025-04-11 19:47:05] Production.INFO: Account Balance End.
[2025-04-11 19:47:05] Production.ERROR: CronJobId end 12
[2025-04-11 19:47:05] Production.INFO: ==11154== Releasing lock...
[2025-04-11 19:47:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 19:47:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 19:47:05] Production.ERROR: PBX CALL prc_importPBXExtension('14886452') end
[2025-04-11 19:47:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 19:47:05] Production.INFO: 1
[2025-04-11 19:47:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 19:47:05] Production.INFO: ==11158== Releasing lock...
[2025-04-11 19:47:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 19:47:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 19:47:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 16:47:06
[end_date_ymd] => 2025-04-11 19:47:06
[RateCDR] => 1
)
[2025-04-11 19: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-11 16:47:06' and `end` < '2025-04-11 19: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-11 19:47:14] Production.ERROR: CronJobId end10
[2025-04-11 19:47:14] Production.INFO: ==11152== Releasing lock...
[2025-04-11 19:47:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 19:47:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 19:47:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 19:47:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 19:47:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 19:47:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 19:47:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 19:47:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 19:47:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 19:47:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 19:47:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 19:47:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 19:47:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 19:47:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 19:47:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 19:47:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 19:47:16] Production.INFO: call_cost start
[2025-04-11 19:47:16] Production.INFO: call_cost end
[2025-04-11 19:47:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 19:47:17] Production.INFO: ============== Report Schedule START===========
[2025-04-11 19:47:17] Production.INFO: ============== Report Schedule END===========
[2025-04-11 19:47:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 19:47:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 19:47:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 19:47:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 19:47:17] Production.INFO: ============== Deal alert START===========
[2025-04-11 19:47:17] Production.INFO: ============== Deal alert END===========
[2025-04-11 19:47:17] Production.INFO: ==11148== Releasing lock...
[2025-04-11 19:47:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 19:47:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 19:47:19] Production.INFO: count ==2313
[2025-04-11 19:47:19] Production.ERROR: pbx CDR StartTime 2025-04-11 16:47:06 - End Time 2025-04-11 19:47:06
[2025-04-11 19:47:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 19:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886453', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886453', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886453', 'tblTempVendorCDR_20' ) start
[2025-04-11 19:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886453', 'tblTempVendorCDR_20' ) end
[2025-04-11 19:47:19] Production.INFO: ProcessCDR(1,14886453,1,1,2)
[2025-04-11 19:47:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886453,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:47:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886453,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:47:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886453,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:47:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886453,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:47:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886453', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:47:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886453', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:47:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 19:47:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 19:47:25] Production.INFO: ==11156== Releasing lock...
[2025-04-11 19:47:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 19:47:25] Production.INFO: 45 MB #Memory Used#
[2025-04-12 00:48:01] Production.INFO: ==11219== Lock acquired, processing the job...
[2025-04-12 00:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 00:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 00:48:01] Production.INFO: neon service started
[2025-04-12 00:48:01] Production.INFO: neon service started
[2025-04-12 00:48:01] Production.INFO: ==11219== Releasing lock...
[2025-04-12 00:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 00:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 19:48:02] Production.INFO: ==11222== Lock acquired, processing the job...
[2025-04-11 19:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 23:48:02] Production.INFO: ==11224== Lock acquired, processing the job...
[2025-04-11 23:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-11 19:48:02] Production.INFO: ==11222== Releasing lock...
[2025-04-11 19:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 19:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 23:48:02] Production.INFO: ==11224== Releasing lock...
[2025-04-11 23:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-11 23:48:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 19:48:03] Production.INFO: ==11226== Lock acquired, processing the job...
[2025-04-11 19:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 19:48:03] Production.INFO: ==11228== Lock acquired, processing the job...
[2025-04-11 19:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 19:48:03] Production.INFO: ==11230== Lock acquired, processing the job...
[2025-04-11 19:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 19:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 19:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 19:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 19:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 19:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 19:48:03] Production.INFO: ==11234== Lock acquired, processing the job...
[2025-04-11 19:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 19:48:03] Production.INFO: ==11232== Lock acquired, processing the job...
[2025-04-11 19:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 19:48:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 19:48:04] Production.INFO: ==11236== Lock acquired, processing the job...
[2025-04-11 19:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 19:48:04] Production.INFO: Account Balance Start.
[2025-04-11 19:48:04] Production.INFO: CreateAllLog Start
[2025-04-11 19:48:04] Production.INFO: 117
[2025-04-11 19:48:04] Production.INFO: ==11228== Releasing lock...
[2025-04-11 19:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 19:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 19:48:04] Production.INFO: Date 2025-04-08
[2025-04-11 19:48:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:48:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 19:48:04] Production.INFO: Date 2025-04-09
[2025-04-11 19:48:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:48:04] Production.INFO: Date 2025-04-10
[2025-04-11 19:48:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:48:04] Production.INFO: count ==12
[2025-04-11 19:48:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 19:48:04] Production.INFO: Date 2025-04-11
[2025-04-11 19:48:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:48:04] Production.INFO: count ==23
[2025-04-11 19:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886457') start
[2025-04-11 19:48:04] Production.ERROR: done
[2025-04-11 19:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 19:48:04] Production.INFO: Total Charge 0
[2025-04-11 19:48:04] Production.INFO: CreateAllLog End
[2025-04-11 19:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886457') end
[2025-04-11 19:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 19:48:04] Production.INFO: 1
[2025-04-11 19:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 19:48:04] Production.INFO: ==11236== Releasing lock...
[2025-04-11 19:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 19:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 19:48:04] Production.ERROR: done
[2025-04-11 19:48:04] Production.INFO: Account Balance End.
[2025-04-11 19:48:04] Production.ERROR: CronJobId end 12
[2025-04-11 19:48:04] Production.INFO: ==11232== Releasing lock...
[2025-04-11 19:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 19:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 19:48:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 16:48:06
[end_date_ymd] => 2025-04-11 19:48:06
[RateCDR] => 1
)
[2025-04-11 19: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-11 16:48:06' and `end` < '2025-04-11 19: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-11 19:48:14] Production.ERROR: CronJobId end10
[2025-04-11 19:48:14] Production.INFO: ==11230== Releasing lock...
[2025-04-11 19:48:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 19:48:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 19:48:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 19:48:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 19:48:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 19:48:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 19:48:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 19:48:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 19:48:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 19:48:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 19:48:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 19:48:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 19:48:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 19:48:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 19:48:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 19:48:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 19:48:15] Production.INFO: call_cost start
[2025-04-11 19:48:15] Production.INFO: call_cost end
[2025-04-11 19:48:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 19:48:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 19:48:17] Production.INFO: ============== Report Schedule END===========
[2025-04-11 19:48:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 19:48:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 19:48:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 19:48:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 19:48:17] Production.INFO: ============== Deal alert START===========
[2025-04-11 19:48:17] Production.INFO: ============== Deal alert END===========
[2025-04-11 19:48:17] Production.INFO: ==11226== Releasing lock...
[2025-04-11 19:48:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 19:48:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 19:48:19] Production.INFO: count ==2313
[2025-04-11 19:48:19] Production.ERROR: pbx CDR StartTime 2025-04-11 16:48:06 - End Time 2025-04-11 19:48:06
[2025-04-11 19:48:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 19:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886458', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886458', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886458', 'tblTempVendorCDR_20' ) start
[2025-04-11 19:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886458', 'tblTempVendorCDR_20' ) end
[2025-04-11 19:48:19] Production.INFO: ProcessCDR(1,14886458,1,1,2)
[2025-04-11 19:48:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886458,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:48:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886458,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:48:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886458,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:48:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886458,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:48:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886458', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:48:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886458', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:48:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 19:48:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 19:48:23] Production.INFO: ==11234== Releasing lock...
[2025-04-11 19:48:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 19:48:23] Production.INFO: 45 MB #Memory Used#
[2025-04-12 00:49:02] Production.INFO: ==11294== Lock acquired, processing the job...
[2025-04-12 00:49:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 00:49:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 00:49:02] Production.INFO: neon service started
[2025-04-12 00:49:02] Production.INFO: neon service started
[2025-04-12 00:49:02] Production.INFO: ==11294== Releasing lock...
[2025-04-12 00:49:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 00:49:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 23:49:02] Production.INFO: ==11298== Lock acquired, processing the job...
[2025-04-11 23:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-11 23:49:02] Production.INFO: ==11298== Releasing lock...
[2025-04-11 23:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-11 23:49:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 19:49:02] Production.INFO: ==11296== Lock acquired, processing the job...
[2025-04-11 19:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 19:49:03] Production.INFO: ==11296== Releasing lock...
[2025-04-11 19:49:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 19:49:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 19:49:04] Production.INFO: ==11301== Lock acquired, processing the job...
[2025-04-11 19:49:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 19:49:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 19:49:04] Production.INFO: ==11311== Lock acquired, processing the job...
[2025-04-11 19:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 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-11 19:49:04] Production.INFO: ==11303== Lock acquired, processing the job...
[2025-04-11 19:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 19:49:04] Production.INFO: count ==12
[2025-04-11 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-11 19:49:04] Production.INFO: count ==23
[2025-04-11 19:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886460') start
[2025-04-11 19:49:04] Production.INFO: ==11305== Lock acquired, processing the job...
[2025-04-11 19:49:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 19:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886460') end
[2025-04-11 19:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 19:49:04] Production.INFO: 1
[2025-04-11 19:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 19:49:04] Production.INFO: ==11307== Lock acquired, processing the job...
[2025-04-11 19:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 19:49:04] Production.INFO: ==11309== Lock acquired, processing the job...
[2025-04-11 19:49:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 19:49:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 19:49:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 19:49:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 19:49:04] Production.INFO: Account Balance Start.
[2025-04-11 19:49:04] Production.INFO: CreateAllLog Start
[2025-04-11 19:49:04] Production.INFO: 117
[2025-04-11 19:49:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 19:49:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 19:49:04] Production.INFO: Date 2025-04-08
[2025-04-11 19:49:04] Production.INFO: ==11311== Releasing lock...
[2025-04-11 19:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 19:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 19:49:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:49:04] Production.INFO: Date 2025-04-09
[2025-04-11 19:49:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:49:04] Production.INFO: Date 2025-04-10
[2025-04-11 19:49:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:49:04] Production.INFO: Date 2025-04-11
[2025-04-11 19:49:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:49:04] Production.INFO: Total Charge 0
[2025-04-11 19:49:04] Production.INFO: CreateAllLog End
[2025-04-11 19:49:04] Production.INFO: ==11303== Releasing lock...
[2025-04-11 19:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 19:49:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 19:49:05] Production.ERROR: done
[2025-04-11 19:49:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 19:49:05] Production.INFO: Account Balance End.
[2025-04-11 19:49:05] Production.ERROR: CronJobId end 12
[2025-04-11 19:49:05] Production.INFO: ==11307== Releasing lock...
[2025-04-11 19:49:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 19:49:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 19:49:05] Production.ERROR: done
[2025-04-11 19:49:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 16:49:06
[end_date_ymd] => 2025-04-11 19:49:06
[RateCDR] => 1
)
[2025-04-11 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-11 16:49:06' and `end` < '2025-04-11 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-11 19:49:15] Production.ERROR: CronJobId end10
[2025-04-11 19:49:15] Production.INFO: ==11305== Releasing lock...
[2025-04-11 19:49:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 19:49:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 19:49:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 19:49:16] Production.INFO: ============== Balance Warning START===========
[2025-04-11 19:49:16] Production.INFO: ============== Balance Warning END===========
[2025-04-11 19:49:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 19:49:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 19:49:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 19:49:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 19:49:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 19:49:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 19:49:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 19:49:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 19:49:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 19:49:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 19:49:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 19:49:16] Production.INFO: call_cost start
[2025-04-11 19:49:16] Production.INFO: call_cost end
[2025-04-11 19:49:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 19:49:17] Production.INFO: ============== Report Schedule START===========
[2025-04-11 19:49:17] Production.INFO: ============== Report Schedule END===========
[2025-04-11 19:49:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 19:49:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 19:49:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 19:49:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 19:49:17] Production.INFO: ============== Deal alert START===========
[2025-04-11 19:49:17] Production.INFO: ============== Deal alert END===========
[2025-04-11 19:49:17] Production.INFO: ==11301== Releasing lock...
[2025-04-11 19:49:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 19:49:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 19:49:19] Production.INFO: count ==2313
[2025-04-11 19:49:20] Production.ERROR: pbx CDR StartTime 2025-04-11 16:49:06 - End Time 2025-04-11 19:49:06
[2025-04-11 19:49:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 19:49:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886463', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:49:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886463', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:49:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886463', 'tblTempVendorCDR_20' ) start
[2025-04-11 19:49:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886463', 'tblTempVendorCDR_20' ) end
[2025-04-11 19:49:20] Production.INFO: ProcessCDR(1,14886463,1,1,2)
[2025-04-11 19:49:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886463,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:49:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886463,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:49:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886463,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:49:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886463,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:49:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886463', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:49:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886463', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:49:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 19:49:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 19:49:25] Production.INFO: ==11309== Releasing lock...
[2025-04-11 19:49:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 19:49:25] Production.INFO: 45 MB #Memory Used#
[2025-04-12 00:50:01] Production.INFO: ==11368== Lock acquired, processing the job...
[2025-04-12 00:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 00:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 00:50:01] Production.INFO: neon service started
[2025-04-12 00:50:01] Production.INFO: neon service started
[2025-04-12 00:50:01] Production.INFO: ==11368== Releasing lock...
[2025-04-12 00:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 00:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 19:50:02] Production.INFO: ==11370== Lock acquired, processing the job...
[2025-04-11 19:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 23:50:02] Production.INFO: ==11372== Lock acquired, processing the job...
[2025-04-11 23:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-11 19:50:02] Production.INFO: ==11370== Releasing lock...
[2025-04-11 19:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 19:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 23:50:02] Production.INFO: ==11372== Releasing lock...
[2025-04-11 23:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-11 23:50:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 19:50:03] Production.INFO: ==11374== Lock acquired, processing the job...
[2025-04-11 19:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-11 19:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-11 19:50:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-11 19:50:04] Production.INFO: ==11374== Releasing lock...
[2025-04-11 19:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-11 19:50:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-11 19:50:04] Production.INFO: ==11379== Lock acquired, processing the job...
[2025-04-11 19:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 19:50:04] Production.INFO: ==11376== Lock acquired, processing the job...
[2025-04-11 19:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 19:50:04] Production.INFO: ==11381== Lock acquired, processing the job...
[2025-04-11 19:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 19:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 19:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 19:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 19:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 19:50:04] Production.INFO: ==11387== Lock acquired, processing the job...
[2025-04-11 19:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-11 19:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 19:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 19:50:04] Production.INFO: ==11379== Releasing lock...
[2025-04-11 19:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 19:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 19:50:04] Production.INFO: ==11385== Lock acquired, processing the job...
[2025-04-11 19:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 19:50:04] Production.INFO: ==11383== Lock acquired, processing the job...
[2025-04-11 19:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 19:50:04] Production.INFO: ==11389== Lock acquired, processing the job...
[2025-04-11 19:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 19:50:04] Production.INFO: Account Balance Start.
[2025-04-11 19:50:04] Production.INFO: CreateAllLog Start
[2025-04-11 19:50:04] Production.INFO: 117
[2025-04-11 19:50:04] Production.INFO: Date 2025-04-08
[2025-04-11 19:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 19:50:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 19:50:04] Production.INFO: count ==12
[2025-04-11 19:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 19:50:04] Production.INFO: count ==23
[2025-04-11 19:50:04] Production.INFO: Date 2025-04-09
[2025-04-11 19:50:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:50:04] Production.INFO: Date 2025-04-10
[2025-04-11 19:50:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886467') start
[2025-04-11 19:50:04] Production.INFO: Date 2025-04-11
[2025-04-11 19:50:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:50:04] Production.INFO: Total Charge 0
[2025-04-11 19:50:04] Production.INFO: CreateAllLog End
[2025-04-11 19:50:05] Production.ERROR: done
[2025-04-11 19:50:05] Production.ERROR: PBX CALL prc_importPBXExtension('14886467') end
[2025-04-11 19:50:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 19:50:05] Production.INFO: 1
[2025-04-11 19:50:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 19:50:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-11 19:50:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14886468', 'tblTempUsageDetail_20reseller','2025-04-11','2025-04-11','1' ) start
[2025-04-11 19:50:05] Production.INFO: ==11389== Releasing lock...
[2025-04-11 19:50:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 19:50:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 19:50:05] Production.ERROR: done
[2025-04-11 19:50:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 19:50:05] Production.INFO: Account Balance End.
[2025-04-11 19:50:05] Production.ERROR: CronJobId end 12
[2025-04-11 19:50:05] Production.INFO: ==11383== Releasing lock...
[2025-04-11 19:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 19:50:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 19:50:05] Production.ERROR: done
[2025-04-11 19:50:07] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 16:50:07
[end_date_ymd] => 2025-04-11 19:50:07
[RateCDR] => 1
)
[2025-04-11 19: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-11 16:50:07' and `end` < '2025-04-11 19: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-11 19:50:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14886468', 'tblTempUsageDetail_20reseller','2025-04-11','2025-04-11','1' ) end
[2025-04-11 19:50:10] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-11 19:50:10] Production.INFO: ProcessCDR(1,14886468,1,1,2)
[2025-04-11 19:50:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14886468,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:50:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14886468,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:50:10] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 19:50:10] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 19:50:10] Production.INFO: ==11387== Releasing lock...
[2025-04-11 19:50:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-11 19:50:10] Production.INFO: 26 MB #Memory Used#
[2025-04-11 19:50:15] Production.ERROR: CronJobId end10
[2025-04-11 19:50:15] Production.INFO: ==11381== Releasing lock...
[2025-04-11 19:50:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 19:50:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 19:50:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 19:50:17] Production.INFO: ============== Balance Warning START===========
[2025-04-11 19:50:17] Production.INFO: ============== Balance Warning END===========
[2025-04-11 19:50:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 19:50:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 19:50:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 19:50:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 19:50:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 19:50:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 19:50:17] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 19:50:17] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 19:50:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 19:50:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 19:50:17] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 19:50:18] Production.INFO: call_cost start
[2025-04-11 19:50:18] Production.INFO: call_cost end
[2025-04-11 19:50:19] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 19:50:19] Production.INFO: ============== Report Schedule START===========
[2025-04-11 19:50:19] Production.INFO: ============== Report Schedule END===========
[2025-04-11 19:50:19] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 19:50:19] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 19:50:19] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 19:50:19] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 19:50:19] Production.INFO: ============== Deal alert START===========
[2025-04-11 19:50:19] Production.INFO: ============== Deal alert END===========
[2025-04-11 19:50:19] Production.INFO: ==11376== Releasing lock...
[2025-04-11 19:50:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 19:50:19] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 19:50:20] Production.INFO: count ==2302
[2025-04-11 19:50:20] Production.ERROR: pbx CDR StartTime 2025-04-11 16:50:07 - End Time 2025-04-11 19:50:07
[2025-04-11 19:50:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 19:50:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886469', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:50:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886469', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:50:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886469', 'tblTempVendorCDR_20' ) start
[2025-04-11 19:50:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886469', 'tblTempVendorCDR_20' ) end
[2025-04-11 19:50:20] Production.INFO: ProcessCDR(1,14886469,1,1,2)
[2025-04-11 19:50:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886469,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:50:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886469,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:50:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886469,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:50:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886469,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:50:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886469', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:50:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886469', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:50:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 19:50:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 19:50:26] Production.INFO: ==11385== Releasing lock...
[2025-04-11 19:50:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 19:50:26] Production.INFO: 45 MB #Memory Used#
[2025-04-12 00:51:02] Production.INFO: ==11442== Lock acquired, processing the job...
[2025-04-12 00:51:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 00:51:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 00:51:02] Production.INFO: neon service started
[2025-04-12 00:51:02] Production.INFO: neon service started
[2025-04-12 00:51:02] Production.INFO: ==11442== Releasing lock...
[2025-04-12 00:51:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 00:51:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 19:51:02] Production.INFO: ==11444== Lock acquired, processing the job...
[2025-04-11 19:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 19:51:03] Production.INFO: ==11444== Releasing lock...
[2025-04-11 19:51:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 19:51:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 23:51:03] Production.INFO: ==11446== Lock acquired, processing the job...
[2025-04-11 23:51:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-11 23:51:03] Production.INFO: ==11446== Releasing lock...
[2025-04-11 23:51:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-11 23:51:03] Production.INFO: 25 MB #Memory Used#
[2025-04-11 19:51:04] Production.INFO: ==11455== Lock acquired, processing the job...
[2025-04-11 19:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 19:51:04] Production.INFO: ==11459== Lock acquired, processing the job...
[2025-04-11 19:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 19:51:04] Production.INFO: ==11451== Lock acquired, processing the job...
[2025-04-11 19:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 19:51:04] Production.INFO: Account Balance Start.
[2025-04-11 19:51:04] Production.INFO: CreateAllLog Start
[2025-04-11 19:51:04] Production.INFO: 117
[2025-04-11 19:51:04] Production.INFO: ==11449== Lock acquired, processing the job...
[2025-04-11 19:51:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 19:51:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 19:51:04] Production.INFO: ==11453== Lock acquired, processing the job...
[2025-04-11 19:51:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 19:51:04] Production.INFO: Date 2025-04-08
[2025-04-11 19:51:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:51:04] Production.INFO: count ==12
[2025-04-11 19:51:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 19:51:04] Production.INFO: count ==23
[2025-04-11 19:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886471') start
[2025-04-11 19:51:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 19:51:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 19:51:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 19:51:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 19:51:04] Production.INFO: Date 2025-04-09
[2025-04-11 19:51:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:51:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 19:51:04] Production.INFO: ==11457== Lock acquired, processing the job...
[2025-04-11 19:51:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 19:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886471') end
[2025-04-11 19:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 19:51:04] Production.INFO: 1
[2025-04-11 19:51:04] Production.INFO: Date 2025-04-10
[2025-04-11 19:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 19:51:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:51:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 19:51:04] Production.INFO: ==11459== Releasing lock...
[2025-04-11 19:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 19:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 19:51:04] Production.INFO: Date 2025-04-11
[2025-04-11 19:51:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:51:04] Production.INFO: Total Charge 0
[2025-04-11 19:51:04] Production.INFO: CreateAllLog End
[2025-04-11 19:51:04] Production.INFO: ==11451== Releasing lock...
[2025-04-11 19:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 19:51:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 19:51:04] Production.ERROR: done
[2025-04-11 19:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 19:51:05] Production.INFO: Account Balance End.
[2025-04-11 19:51:05] Production.ERROR: CronJobId end 12
[2025-04-11 19:51:05] Production.INFO: ==11455== Releasing lock...
[2025-04-11 19:51:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 19:51:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 19:51:05] Production.ERROR: done
[2025-04-11 19:51:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 16:51:06
[end_date_ymd] => 2025-04-11 19:51:06
[RateCDR] => 1
)
[2025-04-11 19:51:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 16:51:06' and `end` < '2025-04-11 19:51:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 19:51:15] Production.ERROR: CronJobId end10
[2025-04-11 19:51:15] Production.INFO: ==11453== Releasing lock...
[2025-04-11 19:51:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 19:51:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 19:51:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 19:51:16] Production.INFO: ============== Balance Warning START===========
[2025-04-11 19:51:16] Production.INFO: ============== Balance Warning END===========
[2025-04-11 19:51:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 19:51:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 19:51:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 19:51:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 19:51:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 19:51:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 19:51:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 19:51:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 19:51:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 19:51:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 19:51:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 19:51:16] Production.INFO: call_cost start
[2025-04-11 19:51:16] Production.INFO: call_cost end
[2025-04-11 19:51:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 19:51:17] Production.INFO: ============== Report Schedule START===========
[2025-04-11 19:51:17] Production.INFO: ============== Report Schedule END===========
[2025-04-11 19:51:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 19:51:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 19:51:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 19:51:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 19:51:17] Production.INFO: ============== Deal alert START===========
[2025-04-11 19:51:17] Production.INFO: ============== Deal alert END===========
[2025-04-11 19:51:17] Production.INFO: ==11449== Releasing lock...
[2025-04-11 19:51:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 19:51:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 19:51:19] Production.INFO: count ==2250
[2025-04-11 19:51:19] Production.ERROR: pbx CDR StartTime 2025-04-11 16:51:06 - End Time 2025-04-11 19:51:06
[2025-04-11 19:51:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 19:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886474', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886474', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886474', 'tblTempVendorCDR_20' ) start
[2025-04-11 19:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886474', 'tblTempVendorCDR_20' ) end
[2025-04-11 19:51:19] Production.INFO: ProcessCDR(1,14886474,1,1,2)
[2025-04-11 19:51:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886474,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:51:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886474,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:51:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886474,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:51:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886474,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:51:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886474', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:51:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886474', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:51:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 19:51:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 19:51:23] Production.INFO: ==11457== Releasing lock...
[2025-04-11 19:51:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 19:51:23] Production.INFO: 44.5 MB #Memory Used#
[2025-04-12 00:52:01] Production.INFO: ==11514== Lock acquired, processing the job...
[2025-04-12 00:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 00:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 00:52:01] Production.INFO: neon service started
[2025-04-12 00:52:01] Production.INFO: neon service started
[2025-04-12 00:52:01] Production.INFO: ==11514== Releasing lock...
[2025-04-12 00:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 00:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 19:52:02] Production.INFO: ==11516== Lock acquired, processing the job...
[2025-04-11 19:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 19:52:02] Production.INFO: ==11516== Releasing lock...
[2025-04-11 19:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 19:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 23:52:02] Production.INFO: ==11518== Lock acquired, processing the job...
[2025-04-11 23:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-11 23:52:02] Production.INFO: ==11518== Releasing lock...
[2025-04-11 23:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-11 23:52:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 19:52:03] Production.INFO: ==11520== Lock acquired, processing the job...
[2025-04-11 19:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 19:52:03] Production.INFO: ==11523== Lock acquired, processing the job...
[2025-04-11 19:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 19:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 19:52:03] Production.INFO: ==11530== Lock acquired, processing the job...
[2025-04-11 19:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 19:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 19:52:03] Production.INFO: ==11525== Lock acquired, processing the job...
[2025-04-11 19:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 19:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 19:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 19:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 19:52:03] Production.INFO: ==11528== Lock acquired, processing the job...
[2025-04-11 19:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 19:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 19:52:04] Production.INFO: ==11523== Releasing lock...
[2025-04-11 19:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 19:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 19:52:04] Production.INFO: ==11532== Lock acquired, processing the job...
[2025-04-11 19:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 19:52:04] Production.INFO: Account Balance Start.
[2025-04-11 19:52:04] Production.INFO: CreateAllLog Start
[2025-04-11 19:52:04] Production.INFO: 117
[2025-04-11 19:52:04] Production.INFO: Date 2025-04-08
[2025-04-11 19:52:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:52:04] Production.INFO: Date 2025-04-09
[2025-04-11 19:52:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:52:04] Production.INFO: Date 2025-04-10
[2025-04-11 19:52:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:52:04] Production.ERROR: done
[2025-04-11 19:52:04] Production.INFO: Date 2025-04-11
[2025-04-11 19:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 19:52:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:52:04] Production.INFO: Total Charge 0
[2025-04-11 19:52:04] Production.INFO: CreateAllLog End
[2025-04-11 19: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-11 19:52:04] Production.INFO: count ==12
[2025-04-11 19: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-11 19:52:04] Production.INFO: count ==23
[2025-04-11 19:52:04] Production.ERROR: done
[2025-04-11 19:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886478') start
[2025-04-11 19:52:04] Production.INFO: Account Balance End.
[2025-04-11 19:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886478') end
[2025-04-11 19:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 19:52:04] Production.INFO: 1
[2025-04-11 19:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 19:52:04] Production.ERROR: CronJobId end 12
[2025-04-11 19:52:04] Production.INFO: ==11528== Releasing lock...
[2025-04-11 19:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 19:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 19:52:04] Production.INFO: ==11532== Releasing lock...
[2025-04-11 19:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 19:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 19:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 16:52:05
[end_date_ymd] => 2025-04-11 19:52:05
[RateCDR] => 1
)
[2025-04-11 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-11 16:52:05' and `end` < '2025-04-11 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-11 19:52:14] Production.ERROR: CronJobId end10
[2025-04-11 19:52:14] Production.INFO: ==11525== Releasing lock...
[2025-04-11 19:52:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 19:52:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 19:52:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 19:52:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 19:52:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 19:52:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 19:52:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 19:52:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 19:52:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 19:52:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 19:52:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 19:52:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 19:52:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 19:52:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 19:52:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 19:52:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 19:52:15] Production.INFO: call_cost start
[2025-04-11 19:52:15] Production.INFO: call_cost end
[2025-04-11 19:52:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 19:52:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 19:52:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 19:52:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 19:52:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 19:52:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 19:52:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 19:52:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 19:52:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 19:52:16] Production.INFO: ==11520== Releasing lock...
[2025-04-11 19:52:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 19:52:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 19:52:18] Production.INFO: count ==2247
[2025-04-11 19:52:19] Production.ERROR: pbx CDR StartTime 2025-04-11 16:52:05 - End Time 2025-04-11 19:52:05
[2025-04-11 19:52:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 19:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886479', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886479', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886479', 'tblTempVendorCDR_20' ) start
[2025-04-11 19:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886479', 'tblTempVendorCDR_20' ) end
[2025-04-11 19:52:19] Production.INFO: ProcessCDR(1,14886479,1,1,2)
[2025-04-11 19:52:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886479,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:52:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886479,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:52:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886479,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:52:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886479,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:52:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886479', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:52:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886479', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:52:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 19:52:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 19:52:23] Production.INFO: ==11530== Releasing lock...
[2025-04-11 19:52:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 19:52:23] Production.INFO: 44.5 MB #Memory Used#
[2025-04-12 00:53:02] Production.INFO: ==11592== Lock acquired, processing the job...
[2025-04-12 00:53:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 00:53:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 00:53:02] Production.INFO: neon service started
[2025-04-12 00:53:02] Production.INFO: neon service started
[2025-04-12 00:53:02] Production.INFO: ==11592== Releasing lock...
[2025-04-12 00:53:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 00:53:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 19:53:03] Production.INFO: ==11594== Lock acquired, processing the job...
[2025-04-11 19:53:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 23:53:03] Production.INFO: ==11596== Lock acquired, processing the job...
[2025-04-11 23:53:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-11 23:53:03] Production.INFO: ==11596== Releasing lock...
[2025-04-11 23:53:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-11 23:53:03] Production.INFO: 25 MB #Memory Used#
[2025-04-11 19:53:03] Production.INFO: ==11594== Releasing lock...
[2025-04-11 19:53:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 19:53:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 19:53:04] Production.INFO: ==11599== Lock acquired, processing the job...
[2025-04-11 19:53:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 19:53:04] Production.INFO: ==11607== Lock acquired, processing the job...
[2025-04-11 19:53:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 19:53:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 19:53:04] Production.INFO: ==11601== Lock acquired, processing the job...
[2025-04-11 19:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 19:53:04] Production.INFO: ==11603== Lock acquired, processing the job...
[2025-04-11 19:53:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 19:53:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 19:53:04] Production.INFO: ==11605== Lock acquired, processing the job...
[2025-04-11 19:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 19:53:04] Production.INFO: ==11609== Lock acquired, processing the job...
[2025-04-11 19:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 19:53:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 19:53:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 19:53:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 19:53:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 19:53:04] Production.INFO: Account Balance Start.
[2025-04-11 19:53:04] Production.INFO: CreateAllLog Start
[2025-04-11 19:53:04] Production.INFO: 117
[2025-04-11 19:53:04] Production.INFO: Date 2025-04-08
[2025-04-11 19:53:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:53:04] Production.INFO: Date 2025-04-09
[2025-04-11 19:53:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:53:04] Production.INFO: Date 2025-04-10
[2025-04-11 19:53:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:53:04] Production.INFO: Date 2025-04-11
[2025-04-11 19:53:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:53:04] Production.INFO: Total Charge 0
[2025-04-11 19:53:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 19:53:04] Production.INFO: CreateAllLog End
[2025-04-11 19:53:05] Production.INFO: count ==12
[2025-04-11 19:53: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-11 19:53:05] Production.INFO: count ==23
[2025-04-11 19:53:05] Production.INFO: ==11601== Releasing lock...
[2025-04-11 19:53:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 19:53:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 19:53:05] Production.ERROR: PBX CALL prc_importPBXExtension('14886483') start
[2025-04-11 19:53:05] Production.ERROR: done
[2025-04-11 19:53:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 19:53:05] Production.ERROR: PBX CALL prc_importPBXExtension('14886483') end
[2025-04-11 19:53:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 19:53:05] Production.INFO: 1
[2025-04-11 19:53:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 19:53:05] Production.INFO: Account Balance End.
[2025-04-11 19:53:05] Production.ERROR: done
[2025-04-11 19:53:05] Production.ERROR: CronJobId end 12
[2025-04-11 19:53:05] Production.INFO: ==11605== Releasing lock...
[2025-04-11 19:53:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 19:53:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 19:53:05] Production.INFO: ==11609== Releasing lock...
[2025-04-11 19:53:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 19:53:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 19:53:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 16:53:06
[end_date_ymd] => 2025-04-11 19:53:06
[RateCDR] => 1
)
[2025-04-11 19:53:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 16:53:06' and `end` < '2025-04-11 19:53:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 19:53:14] Production.ERROR: CronJobId end10
[2025-04-11 19:53:14] Production.INFO: ==11603== Releasing lock...
[2025-04-11 19:53:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 19:53:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 19:53:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 19:53:16] Production.INFO: ============== Balance Warning START===========
[2025-04-11 19:53:16] Production.INFO: ============== Balance Warning END===========
[2025-04-11 19:53:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 19:53:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 19:53:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 19:53:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 19:53:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 19:53:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 19:53:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 19:53:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 19:53:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 19:53:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 19:53:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 19:53:17] Production.INFO: call_cost start
[2025-04-11 19:53:17] Production.INFO: call_cost end
[2025-04-11 19:53:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 19:53:18] Production.INFO: ============== Report Schedule START===========
[2025-04-11 19:53:18] Production.INFO: ============== Report Schedule END===========
[2025-04-11 19:53:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 19:53:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 19:53:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 19:53:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 19:53:18] Production.INFO: ============== Deal alert START===========
[2025-04-11 19:53:18] Production.INFO: ============== Deal alert END===========
[2025-04-11 19:53:18] Production.INFO: ==11599== Releasing lock...
[2025-04-11 19:53:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 19:53:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 19:53:19] Production.INFO: count ==2240
[2025-04-11 19:53:19] Production.ERROR: pbx CDR StartTime 2025-04-11 16:53:06 - End Time 2025-04-11 19:53:06
[2025-04-11 19:53:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 19:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886484', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886484', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886484', 'tblTempVendorCDR_20' ) start
[2025-04-11 19:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886484', 'tblTempVendorCDR_20' ) end
[2025-04-11 19:53:19] Production.INFO: ProcessCDR(1,14886484,1,1,2)
[2025-04-11 19:53:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886484,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:53:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886484,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:53:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886484,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:53:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886484,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:53:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886484', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:53:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886484', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:53:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 19:53:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 19:53:23] Production.INFO: ==11607== Releasing lock...
[2025-04-11 19:53:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 19:53:23] Production.INFO: 44.5 MB #Memory Used#
[2025-04-12 00:54:01] Production.INFO: ==11662== Lock acquired, processing the job...
[2025-04-12 00:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 00:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 00:54:01] Production.INFO: neon service started
[2025-04-12 00:54:01] Production.INFO: neon service started
[2025-04-12 00:54:01] Production.INFO: ==11662== Releasing lock...
[2025-04-12 00:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 00:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 19:54:02] Production.INFO: ==11664== Lock acquired, processing the job...
[2025-04-11 19:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 23:54:02] Production.INFO: ==11666== Lock acquired, processing the job...
[2025-04-11 23:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-11 23:54:02] Production.INFO: ==11666== Releasing lock...
[2025-04-11 23:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-11 23:54:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 19:54:03] Production.INFO: ==11664== Releasing lock...
[2025-04-11 19:54:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 19:54:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 19:54:04] Production.INFO: ==11669== Lock acquired, processing the job...
[2025-04-11 19:54:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 19:54:04] Production.INFO: ==11671== Lock acquired, processing the job...
[2025-04-11 19:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 19:54:04] Production.INFO: ==11673== Lock acquired, processing the job...
[2025-04-11 19:54:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 19:54:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 19:54:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 19:54:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 19:54:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 19:54:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 19:54:04] Production.INFO: ==11675== Lock acquired, processing the job...
[2025-04-11 19:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 19:54:04] Production.INFO: Account Balance Start.
[2025-04-11 19:54:04] Production.INFO: CreateAllLog Start
[2025-04-11 19:54:04] Production.INFO: 117
[2025-04-11 19:54:04] Production.INFO: Date 2025-04-08
[2025-04-11 19:54:04] Production.INFO: ==11677== Lock acquired, processing the job...
[2025-04-11 19:54:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 19:54:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:54:04] Production.INFO: ==11680== Lock acquired, processing the job...
[2025-04-11 19:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 19:54:04] Production.INFO: ==11671== Releasing lock...
[2025-04-11 19:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 19:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 19:54:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 19:54:04] Production.INFO: Date 2025-04-09
[2025-04-11 19:54:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:54:04] Production.INFO: Date 2025-04-10
[2025-04-11 19:54:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:54:04] Production.INFO: Date 2025-04-11
[2025-04-11 19:54:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:54:04] Production.INFO: Total Charge 0
[2025-04-11 19: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-11 19:54:04] Production.INFO: CreateAllLog End
[2025-04-11 19:54:04] Production.INFO: count ==12
[2025-04-11 19: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-11 19:54:04] Production.INFO: count ==23
[2025-04-11 19:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886488') start
[2025-04-11 19:54:05] Production.ERROR: PBX CALL prc_importPBXExtension('14886488') end
[2025-04-11 19:54:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 19:54:05] Production.INFO: 1
[2025-04-11 19:54:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 19:54:05] Production.ERROR: done
[2025-04-11 19:54:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 19:54:05] Production.INFO: ==11680== Releasing lock...
[2025-04-11 19:54:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 19:54:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 19:54:05] Production.ERROR: done
[2025-04-11 19:54:05] Production.INFO: Account Balance End.
[2025-04-11 19:54:05] Production.ERROR: CronJobId end 12
[2025-04-11 19:54:05] Production.INFO: ==11675== Releasing lock...
[2025-04-11 19:54:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 19:54:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 19:54:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 16:54:06
[end_date_ymd] => 2025-04-11 19:54:06
[RateCDR] => 1
)
[2025-04-11 19: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-11 16:54:06' and `end` < '2025-04-11 19: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-11 19:54:14] Production.ERROR: CronJobId end10
[2025-04-11 19:54:14] Production.INFO: ==11673== Releasing lock...
[2025-04-11 19:54:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 19:54:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 19:54:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 19:54:16] Production.INFO: ============== Balance Warning START===========
[2025-04-11 19:54:16] Production.INFO: ============== Balance Warning END===========
[2025-04-11 19:54:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 19:54:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 19:54:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 19:54:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 19:54:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 19:54:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 19:54:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 19:54:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 19:54:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 19:54:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 19:54:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 19:54:16] Production.INFO: call_cost start
[2025-04-11 19:54:16] Production.INFO: call_cost end
[2025-04-11 19:54:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 19:54:17] Production.INFO: ============== Report Schedule START===========
[2025-04-11 19:54:17] Production.INFO: ============== Report Schedule END===========
[2025-04-11 19:54:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 19:54:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 19:54:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 19:54:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 19:54:17] Production.INFO: ============== Deal alert START===========
[2025-04-11 19:54:17] Production.INFO: ============== Deal alert END===========
[2025-04-11 19:54:17] Production.INFO: ==11669== Releasing lock...
[2025-04-11 19:54:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 19:54:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 19:54:19] Production.INFO: count ==2231
[2025-04-11 19:54:19] Production.ERROR: pbx CDR StartTime 2025-04-11 16:54:06 - End Time 2025-04-11 19:54:06
[2025-04-11 19:54:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 19:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886489', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886489', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886489', 'tblTempVendorCDR_20' ) start
[2025-04-11 19:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886489', 'tblTempVendorCDR_20' ) end
[2025-04-11 19:54:19] Production.INFO: ProcessCDR(1,14886489,1,1,2)
[2025-04-11 19:54:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886489,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:54:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886489,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:54:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886489,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:54:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886489,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:54:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886489', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:54:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886489', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:54:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 19:54:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 19:54:23] Production.INFO: ==11677== Releasing lock...
[2025-04-11 19:54:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 19:54:23] Production.INFO: 44.25 MB #Memory Used#
[2025-04-12 00:55:01] Production.INFO: ==11740== Lock acquired, processing the job...
[2025-04-12 00:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 00:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 00:55:01] Production.INFO: neon service started
[2025-04-12 00:55:01] Production.INFO: neon service started
[2025-04-12 00:55:01] Production.INFO: ==11740== Releasing lock...
[2025-04-12 00:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 00:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 19:55:01] Production.INFO: ==11742== Lock acquired, processing the job...
[2025-04-11 19:55:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 19:55:02] Production.INFO: ==11742== Releasing lock...
[2025-04-11 19:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 19:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 23:55:02] Production.INFO: ==11744== Lock acquired, processing the job...
[2025-04-11 23:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-11 23:55:02] Production.INFO: ==11744== Releasing lock...
[2025-04-11 23:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-11 23:55:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 19:55:03] Production.INFO: ==11751== Lock acquired, processing the job...
[2025-04-11 19:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 19:55:03] Production.INFO: ==11757== Lock acquired, processing the job...
[2025-04-11 19:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 19:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 19:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 19:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 19:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 19:55:03] Production.INFO: ==11747== Lock acquired, processing the job...
[2025-04-11 19:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 19:55:03] Production.INFO: ==11749== Lock acquired, processing the job...
[2025-04-11 19:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 19:55:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 19:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 19:55:03] Production.INFO: ==11753== Lock acquired, processing the job...
[2025-04-11 19:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 19:55:03] Production.INFO: count ==12
[2025-04-11 19:55:03] Production.INFO: ==11755== Lock acquired, processing the job...
[2025-04-11 19:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 19:55:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 19:55:03] Production.INFO: count ==23
[2025-04-11 19:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14886490') start
[2025-04-11 19:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 19:55:03] Production.INFO: Account Balance Start.
[2025-04-11 19:55:03] Production.INFO: CreateAllLog Start
[2025-04-11 19:55:03] Production.INFO: 117
[2025-04-11 19:55:03] Production.INFO: Date 2025-04-08
[2025-04-11 19:55:03] Production.INFO: Reseller ==> 0
[2025-04-11 19:55:03] Production.INFO: Date 2025-04-09
[2025-04-11 19:55:03] Production.INFO: Reseller ==> 0
[2025-04-11 19:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14886490') end
[2025-04-11 19:55:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 19:55:03] Production.INFO: 1
[2025-04-11 19:55:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 19:55:03] Production.INFO: ==11757== Releasing lock...
[2025-04-11 19:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 19:55:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 19:55:03] Production.INFO: Date 2025-04-10
[2025-04-11 19:55:03] Production.INFO: Reseller ==> 0
[2025-04-11 19:55:03] Production.INFO: Date 2025-04-11
[2025-04-11 19:55:03] Production.INFO: Reseller ==> 0
[2025-04-11 19:55:03] Production.INFO: Total Charge 0
[2025-04-11 19:55:03] Production.INFO: ==11749== Releasing lock...
[2025-04-11 19:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 19:55:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 19:55:04] Production.ERROR: done
[2025-04-11 19:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 19:55:04] Production.INFO: CreateAllLog End
[2025-04-11 19:55:04] Production.ERROR: done
[2025-04-11 19:55:04] Production.INFO: Account Balance End.
[2025-04-11 19:55:04] Production.ERROR: CronJobId end 12
[2025-04-11 19:55:04] Production.INFO: ==11753== Releasing lock...
[2025-04-11 19:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 19:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 19:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 16:55:05
[end_date_ymd] => 2025-04-11 19:55:05
[RateCDR] => 1
)
[2025-04-11 19:55:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 16:55:05' and `end` < '2025-04-11 19:55:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 19:55:13] Production.ERROR: CronJobId end10
[2025-04-11 19:55:13] Production.INFO: ==11751== Releasing lock...
[2025-04-11 19:55:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 19:55:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 19:55:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 19:55:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 19:55:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 19:55:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 19:55:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 19:55:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 19:55:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 19:55:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 19:55:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 19:55:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 19:55:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 19:55:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 19:55:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 19:55:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 19:55:15] Production.INFO: call_cost start
[2025-04-11 19:55:15] Production.INFO: call_cost end
[2025-04-11 19:55:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 19:55:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 19:55:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 19:55:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 19:55:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 19:55:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 19:55:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 19:55:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 19:55:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 19:55:16] Production.INFO: ==11747== Releasing lock...
[2025-04-11 19:55:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 19:55:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 19:55:18] Production.INFO: count ==2206
[2025-04-11 19:55:18] Production.ERROR: pbx CDR StartTime 2025-04-11 16:55:05 - End Time 2025-04-11 19:55:05
[2025-04-11 19:55:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 19:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886494', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886494', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886494', 'tblTempVendorCDR_20' ) start
[2025-04-11 19:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886494', 'tblTempVendorCDR_20' ) end
[2025-04-11 19:55:18] Production.INFO: ProcessCDR(1,14886494,1,1,2)
[2025-04-11 19:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886494,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:55:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886494,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:55:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886494,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:55:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886494,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:55:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886494', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:55:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886494', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:55:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 19:55:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 19:55:24] Production.INFO: ==11755== Releasing lock...
[2025-04-11 19:55:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 19:55:24] Production.INFO: 44.25 MB #Memory Used#
[2025-04-12 00:56:01] Production.INFO: ==11811== Lock acquired, processing the job...
[2025-04-12 00:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 00:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 00:56:02] Production.INFO: neon service started
[2025-04-12 00:56:02] Production.INFO: neon service started
[2025-04-12 00:56:02] Production.INFO: ==11811== Releasing lock...
[2025-04-12 00:56:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 00:56:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 23:56:02] Production.INFO: ==11815== Lock acquired, processing the job...
[2025-04-11 23:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-11 23:56:02] Production.INFO: ==11815== Releasing lock...
[2025-04-11 23:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-11 23:56:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 19:56:02] Production.INFO: ==11813== Lock acquired, processing the job...
[2025-04-11 19:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 19:56:03] Production.INFO: ==11813== Releasing lock...
[2025-04-11 19:56:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 19:56:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 19:56:04] Production.INFO: ==11824== Lock acquired, processing the job...
[2025-04-11 19:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 19:56:04] Production.INFO: ==11826== Lock acquired, processing the job...
[2025-04-11 19:56:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 19:56:04] Production.INFO: Account Balance Start.
[2025-04-11 19:56:04] Production.INFO: CreateAllLog Start
[2025-04-11 19:56:04] Production.INFO: 117
[2025-04-11 19:56:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 19:56:04] Production.INFO: Date 2025-04-08
[2025-04-11 19:56:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:56:04] Production.INFO: Date 2025-04-09
[2025-04-11 19:56:04] Production.INFO: ==11818== Lock acquired, processing the job...
[2025-04-11 19:56:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 19:56:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:56:04] Production.INFO: Date 2025-04-10
[2025-04-11 19:56:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:56:04] Production.INFO: Date 2025-04-11
[2025-04-11 19:56:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:56:04] Production.INFO: ==11822== Lock acquired, processing the job...
[2025-04-11 19:56:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 19:56:04] Production.INFO: ==11820== Lock acquired, processing the job...
[2025-04-11 19:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 19:56:04] Production.INFO: ==11828== Lock acquired, processing the job...
[2025-04-11 19:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 19:56:04] Production.INFO: Total Charge 0
[2025-04-11 19:56:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 19:56:04] Production.INFO: CreateAllLog End
[2025-04-11 19:56:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 19:56:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 19:56:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 19:56:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 19:56:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 19:56:04] Production.INFO: count ==12
[2025-04-11 19:56:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 19:56:04] Production.INFO: count ==23
[2025-04-11 19:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886497') start
[2025-04-11 19:56:04] Production.ERROR: done
[2025-04-11 19:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 19:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886497') end
[2025-04-11 19:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 19:56:04] Production.INFO: 1
[2025-04-11 19:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 19:56:04] Production.INFO: ==11828== Releasing lock...
[2025-04-11 19:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 19:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 19:56:04] Production.INFO: Account Balance End.
[2025-04-11 19:56:04] Production.ERROR: done
[2025-04-11 19:56:04] Production.ERROR: CronJobId end 12
[2025-04-11 19:56:04] Production.INFO: ==11824== Releasing lock...
[2025-04-11 19:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 19:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 19:56:04] Production.INFO: ==11820== Releasing lock...
[2025-04-11 19:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 19:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 19:56:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 16:56:06
[end_date_ymd] => 2025-04-11 19:56:06
[RateCDR] => 1
)
[2025-04-11 19: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-11 16:56:06' and `end` < '2025-04-11 19: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-11 19:56:14] Production.ERROR: CronJobId end10
[2025-04-11 19:56:14] Production.INFO: ==11822== Releasing lock...
[2025-04-11 19:56:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 19:56:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 19:56:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 19:56:16] Production.INFO: ============== Balance Warning START===========
[2025-04-11 19:56:16] Production.INFO: ============== Balance Warning END===========
[2025-04-11 19:56:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 19:56:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 19:56:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 19:56:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 19:56:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 19:56:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 19:56:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 19:56:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 19:56:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 19:56:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 19:56:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 19:56:16] Production.INFO: call_cost start
[2025-04-11 19:56:16] Production.INFO: call_cost end
[2025-04-11 19:56:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 19:56:18] Production.INFO: ============== Report Schedule START===========
[2025-04-11 19:56:18] Production.INFO: ============== Report Schedule END===========
[2025-04-11 19:56:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 19:56:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 19:56:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 19:56:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 19:56:18] Production.INFO: ============== Deal alert START===========
[2025-04-11 19:56:18] Production.INFO: ============== Deal alert END===========
[2025-04-11 19:56:18] Production.INFO: ==11818== Releasing lock...
[2025-04-11 19:56:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 19:56:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 19:56:19] Production.INFO: count ==2200
[2025-04-11 19:56:19] Production.ERROR: pbx CDR StartTime 2025-04-11 16:56:06 - End Time 2025-04-11 19:56:06
[2025-04-11 19:56:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 19:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886499', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886499', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886499', 'tblTempVendorCDR_20' ) start
[2025-04-11 19:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886499', 'tblTempVendorCDR_20' ) end
[2025-04-11 19:56:19] Production.INFO: ProcessCDR(1,14886499,1,1,2)
[2025-04-11 19:56:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886499,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:56:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886499,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:56:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886499,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:56:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886499,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:56:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886499', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:56:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886499', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:56:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 19:56:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 19:56:23] Production.INFO: ==11826== Releasing lock...
[2025-04-11 19:56:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 19:56:23] Production.INFO: 44 MB #Memory Used#
[2025-04-12 00:57:01] Production.INFO: ==11880== Lock acquired, processing the job...
[2025-04-12 00:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 00:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 00:57:01] Production.INFO: neon service started
[2025-04-12 00:57:01] Production.INFO: neon service started
[2025-04-12 00:57:01] Production.INFO: ==11880== Releasing lock...
[2025-04-12 00:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 00:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 19:57:01] Production.INFO: ==11882== Lock acquired, processing the job...
[2025-04-11 19:57:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 19:57:02] Production.INFO: ==11882== Releasing lock...
[2025-04-11 19:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 19:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 23:57:02] Production.INFO: ==11884== Lock acquired, processing the job...
[2025-04-11 23:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-11 23:57:02] Production.INFO: ==11884== Releasing lock...
[2025-04-11 23:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-11 23:57:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 19:57:03] Production.INFO: ==11886== Lock acquired, processing the job...
[2025-04-11 19:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 19:57:03] Production.INFO: ==11888== Lock acquired, processing the job...
[2025-04-11 19:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 19:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 19:57:03] Production.INFO: ==11892== Lock acquired, processing the job...
[2025-04-11 19:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 19:57:03] Production.INFO: ==11890== Lock acquired, processing the job...
[2025-04-11 19:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 19:57:03] Production.INFO: Account Balance Start.
[2025-04-11 19:57:03] Production.INFO: CreateAllLog Start
[2025-04-11 19:57:03] Production.INFO: 117
[2025-04-11 19:57:03] Production.INFO: Date 2025-04-08
[2025-04-11 19:57:03] Production.INFO: Reseller ==> 0
[2025-04-11 19:57:03] Production.INFO: ==11894== Lock acquired, processing the job...
[2025-04-11 19:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 19:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 19:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 19:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 19:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 19:57:03] Production.INFO: Date 2025-04-09
[2025-04-11 19:57:03] Production.INFO: Reseller ==> 0
[2025-04-11 19:57:03] Production.INFO: Date 2025-04-10
[2025-04-11 19:57:03] Production.INFO: Reseller ==> 0
[2025-04-11 19:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 19:57:03] Production.INFO: Date 2025-04-11
[2025-04-11 19:57:03] Production.INFO: Reseller ==> 0
[2025-04-11 19:57:03] Production.INFO: ==11896== Lock acquired, processing the job...
[2025-04-11 19:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 19:57:03] Production.INFO: Total Charge 0
[2025-04-11 19:57:03] Production.INFO: CreateAllLog End
[2025-04-11 19:57:03] Production.INFO: ==11888== Releasing lock...
[2025-04-11 19:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 19:57:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 19:57:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 19:57:04] Production.INFO: count ==12
[2025-04-11 19:57:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 19:57:04] Production.ERROR: done
[2025-04-11 19:57:04] Production.INFO: count ==23
[2025-04-11 19:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 19:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886503') start
[2025-04-11 19:57:04] Production.INFO: Account Balance End.
[2025-04-11 19:57:04] Production.ERROR: CronJobId end 12
[2025-04-11 19:57:04] Production.INFO: ==11892== Releasing lock...
[2025-04-11 19:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 19:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 19:57:04] Production.ERROR: done
[2025-04-11 19:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886503') end
[2025-04-11 19:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 19:57:04] Production.INFO: 1
[2025-04-11 19:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 19:57:04] Production.INFO: ==11896== Releasing lock...
[2025-04-11 19:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 19:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 19:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 16:57:05
[end_date_ymd] => 2025-04-11 19:57:05
[RateCDR] => 1
)
[2025-04-11 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-11 16:57:05' and `end` < '2025-04-11 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-11 19:57:13] Production.ERROR: CronJobId end10
[2025-04-11 19:57:13] Production.INFO: ==11890== Releasing lock...
[2025-04-11 19:57:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 19:57:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 19:57:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 19:57:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 19:57:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 19:57:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 19:57:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 19:57:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 19:57:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 19:57:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 19:57:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 19:57:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 19:57:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 19:57:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 19:57:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 19:57:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 19:57:15] Production.INFO: call_cost start
[2025-04-11 19:57:15] Production.INFO: call_cost end
[2025-04-11 19:57:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 19:57:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 19:57:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 19:57:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 19:57:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 19:57:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 19:57:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 19:57:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 19:57:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 19:57:16] Production.INFO: ==11886== Releasing lock...
[2025-04-11 19:57:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 19:57:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 19:57:18] Production.INFO: count ==2187
[2025-04-11 19:57:18] Production.ERROR: pbx CDR StartTime 2025-04-11 16:57:05 - End Time 2025-04-11 19:57:05
[2025-04-11 19:57:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 19:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886504', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886504', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886504', 'tblTempVendorCDR_20' ) start
[2025-04-11 19:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886504', 'tblTempVendorCDR_20' ) end
[2025-04-11 19:57:18] Production.INFO: ProcessCDR(1,14886504,1,1,2)
[2025-04-11 19:57:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886504,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:57:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886504,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:57:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886504,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:57:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886504,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:57:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886504', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:57:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886504', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:57:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 19:57:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 19:57:24] Production.INFO: ==11894== Releasing lock...
[2025-04-11 19:57:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 19:57:24] Production.INFO: 44 MB #Memory Used#
[2025-04-12 00:58:01] Production.INFO: ==11954== Lock acquired, processing the job...
[2025-04-12 00:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 00:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 00:58:01] Production.INFO: neon service started
[2025-04-12 00:58:01] Production.INFO: neon service started
[2025-04-12 00:58:01] Production.INFO: ==11954== Releasing lock...
[2025-04-12 00:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 00:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 23:58:02] Production.INFO: ==11958== Lock acquired, processing the job...
[2025-04-11 23:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-11 23:58:02] Production.INFO: ==11958== Releasing lock...
[2025-04-11 23:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-11 23:58:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 19:58:02] Production.INFO: ==11956== Lock acquired, processing the job...
[2025-04-11 19:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 19:58:02] Production.INFO: ==11956== Releasing lock...
[2025-04-11 19:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 19:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 19:58:03] Production.INFO: ==11962== Lock acquired, processing the job...
[2025-04-11 19:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 19:58:03] Production.INFO: ==11971== Lock acquired, processing the job...
[2025-04-11 19:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 19:58:04] Production.INFO: ==11960== Lock acquired, processing the job...
[2025-04-11 19:58:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 19:58:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 19:58:04] Production.INFO: count ==12
[2025-04-11 19:58:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 19:58:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 19:58:04] Production.INFO: count ==23
[2025-04-11 19:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886506') start
[2025-04-11 19:58:04] Production.INFO: ==11965== Lock acquired, processing the job...
[2025-04-11 19:58:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 19:58:04] Production.INFO: ==11967== Lock acquired, processing the job...
[2025-04-11 19:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 19:58:04] Production.INFO: ==11962== Releasing lock...
[2025-04-11 19:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 19:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 19:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886506') end
[2025-04-11 19:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 19:58:04] Production.INFO: 1
[2025-04-11 19:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 19:58:04] Production.INFO: ==11969== Lock acquired, processing the job...
[2025-04-11 19:58:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 19:58:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 19:58:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 19:58:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 19:58:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 19:58:04] Production.INFO: ==11971== Releasing lock...
[2025-04-11 19:58:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 19:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 19:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 19:58:04] Production.INFO: Account Balance Start.
[2025-04-11 19:58:04] Production.INFO: CreateAllLog Start
[2025-04-11 19:58:04] Production.INFO: 117
[2025-04-11 19:58:04] Production.INFO: Date 2025-04-08
[2025-04-11 19:58:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:58:04] Production.INFO: Date 2025-04-09
[2025-04-11 19:58:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:58:04] Production.INFO: Date 2025-04-10
[2025-04-11 19:58:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:58:04] Production.INFO: Date 2025-04-11
[2025-04-11 19:58:04] Production.INFO: Reseller ==> 0
[2025-04-11 19:58:04] Production.INFO: Total Charge 0
[2025-04-11 19:58:04] Production.INFO: CreateAllLog End
[2025-04-11 19:58:04] Production.ERROR: done
[2025-04-11 19:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 19:58:05] Production.INFO: Account Balance End.
[2025-04-11 19:58:05] Production.ERROR: CronJobId end 12
[2025-04-11 19:58:05] Production.INFO: ==11967== Releasing lock...
[2025-04-11 19:58:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 19:58:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 19:58:05] Production.ERROR: done
[2025-04-11 19:58:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 16:58:06
[end_date_ymd] => 2025-04-11 19:58:06
[RateCDR] => 1
)
[2025-04-11 19: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-11 16:58:06' and `end` < '2025-04-11 19: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-11 19:58:15] Production.ERROR: CronJobId end10
[2025-04-11 19:58:15] Production.INFO: ==11965== Releasing lock...
[2025-04-11 19:58:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 19:58:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 19:58:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 19:58:16] Production.INFO: ============== Balance Warning START===========
[2025-04-11 19:58:16] Production.INFO: ============== Balance Warning END===========
[2025-04-11 19:58:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 19:58:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 19:58:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 19:58:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 19:58:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 19:58:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 19:58:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 19:58:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 19:58:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 19:58:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 19:58:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 19:58:17] Production.INFO: call_cost start
[2025-04-11 19:58:17] Production.INFO: call_cost end
[2025-04-11 19:58:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 19:58:18] Production.INFO: ============== Report Schedule START===========
[2025-04-11 19:58:18] Production.INFO: ============== Report Schedule END===========
[2025-04-11 19:58:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 19:58:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 19:58:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 19:58:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 19:58:18] Production.INFO: ============== Deal alert START===========
[2025-04-11 19:58:18] Production.INFO: ============== Deal alert END===========
[2025-04-11 19:58:18] Production.INFO: ==11960== Releasing lock...
[2025-04-11 19:58:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 19:58:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 19:58:19] Production.INFO: count ==2189
[2025-04-11 19:58:19] Production.ERROR: pbx CDR StartTime 2025-04-11 16:58:06 - End Time 2025-04-11 19:58:06
[2025-04-11 19:58:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 19:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886509', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886509', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886509', 'tblTempVendorCDR_20' ) start
[2025-04-11 19:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886509', 'tblTempVendorCDR_20' ) end
[2025-04-11 19:58:19] Production.INFO: ProcessCDR(1,14886509,1,1,2)
[2025-04-11 19:58:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886509,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:58:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886509,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:58:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886509,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:58:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886509,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:58:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886509', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:58:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886509', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:58:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 19:58:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 19:58:25] Production.INFO: ==11969== Releasing lock...
[2025-04-11 19:58:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 19:58:25] Production.INFO: 44 MB #Memory Used#
[2025-04-12 00:59:01] Production.INFO: ==12023== Lock acquired, processing the job...
[2025-04-12 00:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 00:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 00:59:01] Production.INFO: neon service started
[2025-04-12 00:59:01] Production.INFO: neon service started
[2025-04-12 00:59:01] Production.INFO: ==12023== Releasing lock...
[2025-04-12 00:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 00:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 19:59:01] Production.INFO: ==12025== Lock acquired, processing the job...
[2025-04-11 19:59:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 19:59:02] Production.INFO: ==12025== Releasing lock...
[2025-04-11 19:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 19:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 23:59:02] Production.INFO: ==12027== Lock acquired, processing the job...
[2025-04-11 23:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-11 23:59:02] Production.INFO: ==12027== Releasing lock...
[2025-04-11 23:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-11 23:59:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 19:59:03] Production.INFO: ==12033== Lock acquired, processing the job...
[2025-04-11 19:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 19:59:03] Production.INFO: ==12029== Lock acquired, processing the job...
[2025-04-11 19:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 19:59:03] Production.INFO: ==12035== Lock acquired, processing the job...
[2025-04-11 19:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 19:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 19:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 19:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 19:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 19:59:03] Production.INFO: ==12031== Lock acquired, processing the job...
[2025-04-11 19:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 19:59:03] Production.INFO: Account Balance Start.
[2025-04-11 19:59:03] Production.INFO: CreateAllLog Start
[2025-04-11 19:59:03] Production.INFO: 117
[2025-04-11 19:59:03] Production.INFO: Date 2025-04-08
[2025-04-11 19:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 19:59:03] Production.INFO: Reseller ==> 0
[2025-04-11 19:59:03] Production.INFO: Date 2025-04-09
[2025-04-11 19:59:03] Production.INFO: Reseller ==> 0
[2025-04-11 19:59:03] Production.INFO: Date 2025-04-10
[2025-04-11 19:59:03] Production.INFO: Reseller ==> 0
[2025-04-11 19:59:03] Production.INFO: ==12037== Lock acquired, processing the job...
[2025-04-11 19:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 19:59:03] Production.INFO: Date 2025-04-11
[2025-04-11 19:59:03] Production.INFO: Reseller ==> 0
[2025-04-11 19:59:03] Production.INFO: ==12039== Lock acquired, processing the job...
[2025-04-11 19:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 19:59:03] Production.INFO: Total Charge 0
[2025-04-11 19:59:03] Production.INFO: CreateAllLog End
[2025-04-11 19:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 19:59:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 19:59:03] Production.INFO: count ==12
[2025-04-11 19:59:03] Production.INFO: ==12031== Releasing lock...
[2025-04-11 19:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 19:59:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 19:59:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 19:59:04] Production.INFO: count ==23
[2025-04-11 19:59:04] Production.INFO: Account Balance End.
[2025-04-11 19:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886513') start
[2025-04-11 19:59:04] Production.ERROR: CronJobId end 12
[2025-04-11 19:59:04] Production.INFO: ==12035== Releasing lock...
[2025-04-11 19:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 19:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 19:59:04] Production.ERROR: done
[2025-04-11 19:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 19:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886513') end
[2025-04-11 19:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 19:59:04] Production.INFO: 1
[2025-04-11 19:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 19:59:04] Production.INFO: ==12039== Releasing lock...
[2025-04-11 19:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 19:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 19:59:04] Production.ERROR: done
[2025-04-11 19:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 16:59:05
[end_date_ymd] => 2025-04-11 19:59:05
[RateCDR] => 1
)
[2025-04-11 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-11 16:59:05' and `end` < '2025-04-11 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-11 19:59:12] Production.ERROR: CronJobId end10
[2025-04-11 19:59:12] Production.INFO: ==12033== Releasing lock...
[2025-04-11 19:59:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 19:59:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 19:59:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 19:59:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 19:59:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 19:59:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 19:59:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 19:59:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 19:59:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 19:59:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 19:59:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 19:59:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 19:59:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 19:59:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 19:59:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 19:59:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 19:59:15] Production.INFO: call_cost start
[2025-04-11 19:59:15] Production.INFO: call_cost end
[2025-04-11 19:59:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 19:59:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 19:59:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 19:59:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 19:59:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 19:59:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 19:59:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 19:59:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 19:59:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 19:59:16] Production.INFO: ==12029== Releasing lock...
[2025-04-11 19:59:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 19:59:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 19:59:18] Production.INFO: count ==2180
[2025-04-11 19:59:19] Production.ERROR: pbx CDR StartTime 2025-04-11 16:59:05 - End Time 2025-04-11 19:59:05
[2025-04-11 19:59:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 19:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886514', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886514', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886514', 'tblTempVendorCDR_20' ) start
[2025-04-11 19:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886514', 'tblTempVendorCDR_20' ) end
[2025-04-11 19:59:19] Production.INFO: ProcessCDR(1,14886514,1,1,2)
[2025-04-11 19:59:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886514,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:59:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886514,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 19:59:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886514,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:59:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886514,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 19:59:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886514', 'tblTempUsageDetail_20' ) start
[2025-04-11 19:59:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886514', 'tblTempUsageDetail_20' ) end
[2025-04-11 19:59:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 19:59:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 19:59:23] Production.INFO: ==12037== Releasing lock...
[2025-04-11 19:59:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 19:59:23] Production.INFO: 44 MB #Memory Used#
[2025-04-12 01:00:01] Production.INFO: ==12134== Lock acquired, processing the job...
[2025-04-12 01:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 01:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 01:00:01] Production.INFO: neon service started
[2025-04-12 01:00:01] Production.INFO: neon service started
[2025-04-12 01:00:01] Production.INFO: ==12134== Releasing lock...
[2025-04-12 01:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 01:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 20:00:02] Production.INFO: ==12136== Lock acquired, processing the job...
[2025-04-11 20:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 20:00:02] Production.INFO: ==12136== Releasing lock...
[2025-04-11 20:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 20:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 00:00:02] Production.INFO: ==12138== Lock acquired, processing the job...
[2025-04-12 00:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 00:00:02] Production.INFO: ==12138== Releasing lock...
[2025-04-12 00:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 00:00:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 20:00:04] Production.INFO: ==12148== Lock acquired, processing the job...
[2025-04-11 20:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 20:00:04] Production.INFO: ==12150== Lock acquired, processing the job...
[2025-04-11 20:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 20:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 20:00:04] Production.INFO: ==12155== Lock acquired, processing the job...
[2025-04-11 20:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 20:00:04] Production.INFO: Account Balance Start.
[2025-04-11 20:00:04] Production.INFO: CreateAllLog Start
[2025-04-11 20:00:04] Production.INFO: 117
[2025-04-11 20:00:04] Production.INFO: Date 2025-04-08
[2025-04-11 20:00:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:00:04] Production.INFO: ==12140== Lock acquired, processing the job...
[2025-04-11 20:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-11 20:00:04] Production.INFO: Date 2025-04-09
[2025-04-11 20:00:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:00:04] Production.INFO: ==12142== Lock acquired, processing the job...
[2025-04-11 20:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 20:00:04] Production.INFO: Date 2025-04-10
[2025-04-11 20:00:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:00:04] Production.INFO: ==12146== Lock acquired, processing the job...
[2025-04-11 20:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 20:00:04] Production.INFO: ==12144== Lock acquired, processing the job...
[2025-04-11 20:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 20:00:04] Production.INFO: ==12152== Lock acquired, processing the job...
[2025-04-11 20:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-11 20:00:04] Production.INFO: Date 2025-04-11
[2025-04-11 20:00:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-11 20:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-11 20:00:04] Production.ERROR: CronJob PID - 12142
[2025-04-11 20:00:04] Production.ERROR: CronJob Title - System Alerts
[2025-04-11 20:00:04] Production.ERROR: CronJob ID - 5
[2025-04-11 20:00:04] Production.ERROR: CronJob Last Run Time 2025-04-11 20:00:00
[2025-04-11 20:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-11 20:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-11 20:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-11 20:00:04] Production.ERROR: CronJob PID - 12144
[2025-04-11 20:00:04] Production.ERROR: CronJob Title - Account Block
[2025-04-11 20:00:04] Production.ERROR: CronJob ID - 7
[2025-04-11 20:00:04] Production.ERROR: CronJob Last Run Time 2025-04-11 20:00:00
[2025-04-11 20:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-11 20:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-11 20:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-11 20:00:04] Production.ERROR: CronJob PID - 12146
[2025-04-11 20:00:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-04-11 20:00:04] Production.ERROR: CronJob ID - 10
[2025-04-11 20:00:04] Production.ERROR: CronJob Last Run Time 2025-04-11 20:00:00
[2025-04-11 20:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-11 20:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-11 20:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-11 20:00:04] Production.ERROR: CronJob PID - 12148
[2025-04-11 20:00:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-04-11 20:00:04] Production.ERROR: CronJob ID - 12
[2025-04-11 20:00:04] Production.ERROR: CronJob Last Run Time 2025-04-11 20:00:00
[2025-04-11 20:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-11 20:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-11 20:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-11 20:00:04] Production.ERROR: CronJob PID - 12150
[2025-04-11 20:00:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-04-11 20:00:04] Production.ERROR: CronJob ID - 16
[2025-04-11 20:00:04] Production.ERROR: CronJob Last Run Time 2025-04-11 20:00:00
[2025-04-11 20:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-11 20:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-11 20:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-11 20:00:04] Production.ERROR: CronJob PID - 12152
[2025-04-11 20:00:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-04-11 20:00:04] Production.ERROR: CronJob ID - 17
[2025-04-11 20:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 20:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 20:00:04] Production.INFO: Total Charge 0
[2025-04-11 20:00:04] Production.ERROR: CronJob Last Run Time 2025-04-11 20:00:00
[2025-04-11 20:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-11 20:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-11 20:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-11 20:00:04] Production.ERROR: CronJob PID - 12155
[2025-04-11 20:00:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-04-11 20:00:04] Production.ERROR: CronJob ID - 19
[2025-04-11 20:00:04] Production.ERROR: CronJob Last Run Time 2025-04-11 20:00:00
[2025-04-11 20:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-11 20:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-11 20:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 20:00:04] Production.INFO: CreateAllLog End
[2025-04-11 20:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 20:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 20:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 20:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 20:00:04] Production.INFO: count ==12
[2025-04-11 20:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 20:00:04] Production.INFO: count ==23
[2025-04-11 20:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886516') start
[2025-04-11 20:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-11 20:00:04] Production.INFO: ==12140== Releasing lock...
[2025-04-11 20:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-11 20:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-11 20:00:04] Production.ERROR: done
[2025-04-11 20:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886516') end
[2025-04-11 20:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 20:00:04] Production.INFO: 1
[2025-04-11 20:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 20:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 20:00:05] Production.INFO: ==12155== Releasing lock...
[2025-04-11 20:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 20:00:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 20:00:05] Production.INFO: Account Balance End.
[2025-04-11 20:00:05] Production.ERROR: CronJobId end 12
[2025-04-11 20:00:05] Production.INFO: ==12148== Releasing lock...
[2025-04-11 20:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 20:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 20:00:05] Production.INFO: ==12144== Releasing lock...
[2025-04-11 20:00:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 20:00:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 20:00:05] Production.ERROR: done
[2025-04-11 20:00:05] Production.ERROR: done
[2025-04-11 20:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-11 20:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14886520', 'tblTempUsageDetail_20reseller','2025-04-11','2025-04-11','1' ) start
[2025-04-11 20:00:07] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 17:00:07
[end_date_ymd] => 2025-04-11 20:00:07
[RateCDR] => 1
)
[2025-04-11 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-11 17:00:07' and `end` < '2025-04-11 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-11 20:00:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14886520', 'tblTempUsageDetail_20reseller','2025-04-11','2025-04-11','1' ) end
[2025-04-11 20:00:10] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-11 20:00:10] Production.INFO: ProcessCDR(1,14886520,1,1,2)
[2025-04-11 20:00:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14886520,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:00:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14886520,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:00:10] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 20:00:10] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 20:00:11] Production.INFO: ==12152== Releasing lock...
[2025-04-11 20:00:11] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-11 20:00:11] Production.INFO: 26 MB #Memory Used#
[2025-04-11 20:00:17] Production.ERROR: CronJobId end10
[2025-04-11 20:00:17] Production.INFO: ==12146== Releasing lock...
[2025-04-11 20:00:17] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 20:00:17] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 20:00:18] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 20:00:18] Production.INFO: ============== Balance Warning START===========
[2025-04-11 20:00:18] Production.INFO: ============== Balance Warning END===========
[2025-04-11 20:00:18] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 20:00:18] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 20:00:18] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 20:00:18] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 20:00:18] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 20:00:18] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 20:00:18] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 20:00:18] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 20:00:18] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 20:00:18] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 20:00:18] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 20:00:19] Production.INFO: call_cost start
[2025-04-11 20:00:19] Production.INFO: call_cost end
[2025-04-11 20:00:20] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 20:00:20] Production.INFO: ============== Report Schedule START===========
[2025-04-11 20:00:20] Production.INFO: ============== Report Schedule END===========
[2025-04-11 20:00:20] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 20:00:20] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 20:00:20] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 20:00:20] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 20:00:20] Production.INFO: ============== Deal alert START===========
[2025-04-11 20:00:20] Production.INFO: ============== Deal alert END===========
[2025-04-11 20:00:20] Production.INFO: ==12142== Releasing lock...
[2025-04-11 20:00:20] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 20:00:20] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 20:00:20] Production.INFO: count ==2179
[2025-04-11 20:00:20] Production.ERROR: pbx CDR StartTime 2025-04-11 17:00:07 - End Time 2025-04-11 20:00:07
[2025-04-11 20:00:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 20:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886519', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886519', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886519', 'tblTempVendorCDR_20' ) start
[2025-04-11 20:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886519', 'tblTempVendorCDR_20' ) end
[2025-04-11 20:00:20] Production.INFO: ProcessCDR(1,14886519,1,1,2)
[2025-04-11 20:00:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886519,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:00:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886519,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:00:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886519,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:00:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886519,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:00:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886519', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:00:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886519', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:00:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 20:00:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 20:00:24] Production.INFO: ==12150== Releasing lock...
[2025-04-11 20:00:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 20:00:24] Production.INFO: 44 MB #Memory Used#
[2025-04-12 01:01:01] Production.INFO: ==12252== Lock acquired, processing the job...
[2025-04-12 01:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 01:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 01:01:01] Production.INFO: neon service started
[2025-04-12 01:01:01] Production.INFO: neon service started
[2025-04-12 01:01:01] Production.INFO: ==12252== Releasing lock...
[2025-04-12 01:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 01:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 00:01:01] Production.INFO: ==12266== Lock acquired, processing the job...
[2025-04-12 00:01:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 00:01:01] Production.INFO: ==12266== Releasing lock...
[2025-04-12 00:01:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 00:01:01] Production.INFO: 25 MB #Memory Used#
[2025-04-11 20:01:02] Production.INFO: ==12264== Lock acquired, processing the job...
[2025-04-11 20:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 20:01:02] Production.INFO: ==12264== Releasing lock...
[2025-04-11 20:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 20:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 20:01:03] Production.INFO: ==12273== Lock acquired, processing the job...
[2025-04-11 20:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 20:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 20:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 20:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 20:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 20:01:03] Production.INFO: ==12279== Lock acquired, processing the job...
[2025-04-11 20:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 20:01:03] Production.INFO: ==12269== Lock acquired, processing the job...
[2025-04-11 20:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 20:01:03] Production.INFO: ==12271== Lock acquired, processing the job...
[2025-04-11 20:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 20: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-11 20:01:03] Production.INFO: count ==12
[2025-04-11 20:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 20: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-11 20:01:03] Production.INFO: count ==23
[2025-04-11 20:01:03] Production.INFO: ==12275== Lock acquired, processing the job...
[2025-04-11 20:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 20:01:03] Production.INFO: ==12277== Lock acquired, processing the job...
[2025-04-11 20:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 20:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14886521') start
[2025-04-11 20:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 20:01:03] Production.INFO: Account Balance Start.
[2025-04-11 20:01:03] Production.INFO: CreateAllLog Start
[2025-04-11 20:01:03] Production.INFO: 117
[2025-04-11 20:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14886521') end
[2025-04-11 20:01:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 20:01:03] Production.INFO: 1
[2025-04-11 20:01:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 20:01:03] Production.INFO: Date 2025-04-08
[2025-04-11 20:01:03] Production.INFO: Reseller ==> 0
[2025-04-11 20:01:03] Production.INFO: Date 2025-04-09
[2025-04-11 20:01:03] Production.INFO: Reseller ==> 0
[2025-04-11 20:01:03] Production.INFO: Date 2025-04-10
[2025-04-11 20:01:03] Production.INFO: Reseller ==> 0
[2025-04-11 20:01:03] Production.INFO: Date 2025-04-11
[2025-04-11 20:01:03] Production.INFO: Reseller ==> 0
[2025-04-11 20:01:04] Production.INFO: ==12279== Releasing lock...
[2025-04-11 20:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 20:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 20:01:04] Production.INFO: ==12271== Releasing lock...
[2025-04-11 20:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 20:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 20:01:04] Production.INFO: Total Charge 0
[2025-04-11 20:01:04] Production.INFO: CreateAllLog End
[2025-04-11 20:01:04] Production.ERROR: done
[2025-04-11 20:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 20:01:04] Production.INFO: Account Balance End.
[2025-04-11 20:01:04] Production.ERROR: CronJobId end 12
[2025-04-11 20:01:04] Production.INFO: ==12275== Releasing lock...
[2025-04-11 20:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 20:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 20:01:04] Production.ERROR: done
[2025-04-11 20:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 17:01:05
[end_date_ymd] => 2025-04-11 20:01:05
[RateCDR] => 1
)
[2025-04-11 20:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 17:01:05' and `end` < '2025-04-11 20:01:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 20:01:14] Production.ERROR: CronJobId end10
[2025-04-11 20:01:14] Production.INFO: ==12273== Releasing lock...
[2025-04-11 20:01:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 20:01:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 20:01:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 20:01:16] Production.INFO: ============== Balance Warning START===========
[2025-04-11 20:01:16] Production.INFO: ============== Balance Warning END===========
[2025-04-11 20:01:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 20:01:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 20:01:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 20:01:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 20:01:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 20:01:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 20:01:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 20:01:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 20:01:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 20:01:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 20:01:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 20:01:16] Production.INFO: call_cost start
[2025-04-11 20:01:16] Production.INFO: call_cost end
[2025-04-11 20:01:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 20:01:17] Production.INFO: ============== Report Schedule START===========
[2025-04-11 20:01:17] Production.INFO: ============== Report Schedule END===========
[2025-04-11 20:01:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 20:01:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 20:01:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 20:01:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 20:01:17] Production.INFO: ============== Deal alert START===========
[2025-04-11 20:01:17] Production.INFO: ============== Deal alert END===========
[2025-04-11 20:01:17] Production.INFO: ==12269== Releasing lock...
[2025-04-11 20:01:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 20:01:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 20:01:18] Production.INFO: count ==2137
[2025-04-11 20:01:19] Production.ERROR: pbx CDR StartTime 2025-04-11 17:01:05 - End Time 2025-04-11 20:01:05
[2025-04-11 20:01:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 20:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886525', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886525', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886525', 'tblTempVendorCDR_20' ) start
[2025-04-11 20:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886525', 'tblTempVendorCDR_20' ) end
[2025-04-11 20:01:19] Production.INFO: ProcessCDR(1,14886525,1,1,2)
[2025-04-11 20:01:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886525,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:01:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886525,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:01:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886525,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:01:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886525,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886525', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886525', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:01:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 20:01:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 20:01:22] Production.INFO: ==12277== Releasing lock...
[2025-04-11 20:01:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 20:01:22] Production.INFO: 43.5 MB #Memory Used#
[2025-04-12 01:02:02] Production.INFO: ==12338== Lock acquired, processing the job...
[2025-04-12 01:02:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 01:02:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 01:02:02] Production.INFO: neon service started
[2025-04-12 01:02:02] Production.INFO: neon service started
[2025-04-12 01:02:02] Production.INFO: ==12338== Releasing lock...
[2025-04-12 01:02:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 01:02:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 20:02:02] Production.INFO: ==12341== Lock acquired, processing the job...
[2025-04-11 20:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 20:02:02] Production.INFO: ==12341== Releasing lock...
[2025-04-11 20:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 20:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 00:02:02] Production.INFO: ==12343== Lock acquired, processing the job...
[2025-04-12 00:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 00:02:02] Production.INFO: ==12343== Releasing lock...
[2025-04-12 00:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 00:02:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 20:02:03] Production.INFO: ==12347== Lock acquired, processing the job...
[2025-04-11 20:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 20:02:03] Production.INFO: ==12349== Lock acquired, processing the job...
[2025-04-11 20:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 20:02:03] Production.INFO: ==12351== Lock acquired, processing the job...
[2025-04-11 20:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 20:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 20:02:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 20:02:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 20:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 20:02:04] Production.INFO: ==12345== Lock acquired, processing the job...
[2025-04-11 20:02:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 20:02:04] Production.INFO: Account Balance Start.
[2025-04-11 20:02:04] Production.INFO: CreateAllLog Start
[2025-04-11 20:02:04] Production.INFO: 117
[2025-04-11 20:02:04] Production.INFO: Date 2025-04-08
[2025-04-11 20:02:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:02:04] Production.INFO: ==12355== Lock acquired, processing the job...
[2025-04-11 20:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 20:02:04] Production.INFO: Date 2025-04-09
[2025-04-11 20:02:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:02:04] Production.INFO: Date 2025-04-10
[2025-04-11 20:02:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:02:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 20:02:04] Production.INFO: ==12353== Lock acquired, processing the job...
[2025-04-11 20:02:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 20:02:04] Production.INFO: Date 2025-04-11
[2025-04-11 20:02:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:02:04] Production.INFO: ==12347== Releasing lock...
[2025-04-11 20:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 20:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 20:02:04] Production.INFO: Total Charge 0
[2025-04-11 20:02:04] Production.INFO: CreateAllLog End
[2025-04-11 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-11 20:02:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 20:02:04] Production.INFO: count ==12
[2025-04-11 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-11 20:02:04] Production.INFO: count ==23
[2025-04-11 20:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886529') start
[2025-04-11 20:02:04] Production.INFO: Account Balance End.
[2025-04-11 20:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886529') end
[2025-04-11 20:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 20:02:04] Production.INFO: 1
[2025-04-11 20:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 20:02:04] Production.INFO: ==12355== Releasing lock...
[2025-04-11 20:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 20:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 20:02:04] Production.ERROR: CronJobId end 12
[2025-04-11 20:02:04] Production.INFO: ==12351== Releasing lock...
[2025-04-11 20:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 20:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 20:02:05] Production.ERROR: done
[2025-04-11 20:02:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 20:02:05] Production.ERROR: done
[2025-04-11 20:02:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 17:02:06
[end_date_ymd] => 2025-04-11 20:02:06
[RateCDR] => 1
)
[2025-04-11 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-11 17:02:06' and `end` < '2025-04-11 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-11 20:02:14] Production.ERROR: CronJobId end10
[2025-04-11 20:02:14] Production.INFO: ==12349== Releasing lock...
[2025-04-11 20:02:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 20:02:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 20:02:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 20:02:17] Production.INFO: ============== Balance Warning START===========
[2025-04-11 20:02:17] Production.INFO: ============== Balance Warning END===========
[2025-04-11 20:02:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 20:02:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 20:02:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 20:02:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 20:02:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 20:02:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 20:02:17] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 20:02:17] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 20:02:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 20:02:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 20:02:17] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 20:02:17] Production.INFO: call_cost start
[2025-04-11 20:02:17] Production.INFO: call_cost end
[2025-04-11 20:02:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 20:02:18] Production.INFO: ============== Report Schedule START===========
[2025-04-11 20:02:18] Production.INFO: ============== Report Schedule END===========
[2025-04-11 20:02:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 20:02:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 20:02:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 20:02:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 20:02:18] Production.INFO: ============== Deal alert START===========
[2025-04-11 20:02:18] Production.INFO: ============== Deal alert END===========
[2025-04-11 20:02:18] Production.INFO: ==12345== Releasing lock...
[2025-04-11 20:02:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 20:02:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 20:02:19] Production.INFO: count ==2131
[2025-04-11 20:02:19] Production.ERROR: pbx CDR StartTime 2025-04-11 17:02:06 - End Time 2025-04-11 20:02:06
[2025-04-11 20:02:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 20:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886530', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886530', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886530', 'tblTempVendorCDR_20' ) start
[2025-04-11 20:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886530', 'tblTempVendorCDR_20' ) end
[2025-04-11 20:02:19] Production.INFO: ProcessCDR(1,14886530,1,1,2)
[2025-04-11 20:02:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886530,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:02:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886530,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:02:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886530,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:02:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886530,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:02:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886530', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:02:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886530', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:02:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 20:02:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 20:02:25] Production.INFO: ==12353== Releasing lock...
[2025-04-11 20:02:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 20:02:25] Production.INFO: 43.5 MB #Memory Used#
[2025-04-12 01:03:01] Production.INFO: ==12414== Lock acquired, processing the job...
[2025-04-12 01:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 01:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 01:03:01] Production.INFO: neon service started
[2025-04-12 01:03:01] Production.INFO: neon service started
[2025-04-12 01:03:01] Production.INFO: ==12414== Releasing lock...
[2025-04-12 01:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 01:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 20:03:02] Production.INFO: ==12417== Lock acquired, processing the job...
[2025-04-11 20:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 00:03:02] Production.INFO: ==12419== Lock acquired, processing the job...
[2025-04-12 00:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 00:03:02] Production.INFO: ==12419== Releasing lock...
[2025-04-12 00:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 00:03:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 20:03:02] Production.INFO: ==12417== Releasing lock...
[2025-04-11 20:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 20:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 20:03:03] Production.INFO: ==12421== Lock acquired, processing the job...
[2025-04-11 20:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 20:03:03] Production.INFO: ==12423== Lock acquired, processing the job...
[2025-04-11 20:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 20:03:03] Production.INFO: ==12425== Lock acquired, processing the job...
[2025-04-11 20:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 20:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 20:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 20:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 20:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 20:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 20:03:03] Production.INFO: ==12427== Lock acquired, processing the job...
[2025-04-11 20:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 20:03:03] Production.INFO: ==12429== Lock acquired, processing the job...
[2025-04-11 20:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 20:03:03] Production.INFO: Account Balance Start.
[2025-04-11 20:03:03] Production.INFO: CreateAllLog Start
[2025-04-11 20:03:03] Production.INFO: 117
[2025-04-11 20:03:03] Production.INFO: Date 2025-04-08
[2025-04-11 20:03:03] Production.INFO: Reseller ==> 0
[2025-04-11 20:03:04] Production.INFO: ==12431== Lock acquired, processing the job...
[2025-04-11 20:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 20:03:04] Production.INFO: Date 2025-04-09
[2025-04-11 20:03:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:03:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 20:03:04] Production.INFO: Date 2025-04-10
[2025-04-11 20:03:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:03:04] Production.INFO: ==12423== Releasing lock...
[2025-04-11 20:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 20:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 20:03:04] Production.INFO: Date 2025-04-11
[2025-04-11 20:03:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:03:04] Production.INFO: Total Charge 0
[2025-04-11 20:03:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 20:03:04] Production.INFO: CreateAllLog End
[2025-04-11 20:03:04] Production.INFO: count ==12
[2025-04-11 20:03:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 20:03:04] Production.INFO: count ==23
[2025-04-11 20:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886534') start
[2025-04-11 20:03:04] Production.ERROR: done
[2025-04-11 20:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 20:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886534') end
[2025-04-11 20:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 20:03:04] Production.INFO: 1
[2025-04-11 20:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 20:03:04] Production.INFO: Account Balance End.
[2025-04-11 20:03:04] Production.INFO: ==12431== Releasing lock...
[2025-04-11 20:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 20:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 20:03:04] Production.ERROR: done
[2025-04-11 20:03:04] Production.ERROR: CronJobId end 12
[2025-04-11 20:03:04] Production.INFO: ==12427== Releasing lock...
[2025-04-11 20:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 20:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 20:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 17:03:05
[end_date_ymd] => 2025-04-11 20:03:05
[RateCDR] => 1
)
[2025-04-11 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-11 17:03:05' and `end` < '2025-04-11 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-11 20:03:12] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:294
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(294): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_LowBal...', Array)
#2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#4 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#8 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#9 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#10 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#11 [internal function]: App\Console\Commands\NeonAlerts->fire()
#12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#20 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 {main}
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_LowBalanceReminder(1,0,10))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#2 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#4 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#6 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#7 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#8 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#9 [internal function]: App\Console\Commands\NeonAlerts->fire()
#10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#11 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 {main}
[2025-04-11 20:03:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 20:03:12] Production.INFO: ============== Balance Warning START===========
[2025-04-11 20:03:12] Production.INFO: ============== Balance Warning END===========
[2025-04-11 20:03:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 20:03:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 20:03:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 20:03:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 20:03:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 20:03:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 20:03:12] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 20:03:12] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 20:03:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 20:03:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 20:03:12] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 20:03:13] Production.ERROR: CronJobId end10
[2025-04-11 20:03:13] Production.INFO: ==12425== Releasing lock...
[2025-04-11 20:03:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 20:03:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 20:03:13] Production.INFO: call_cost start
[2025-04-11 20:03:13] Production.INFO: call_cost end
[2025-04-11 20:03:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 20:03:14] Production.INFO: ============== Report Schedule START===========
[2025-04-11 20:03:14] Production.INFO: ============== Report Schedule END===========
[2025-04-11 20:03:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 20:03:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 20:03:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 20:03:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 20:03:14] Production.INFO: ============== Deal alert START===========
[2025-04-11 20:03:14] Production.INFO: ============== Deal alert END===========
[2025-04-11 20:03:14] Production.INFO: ==12421== Releasing lock...
[2025-04-11 20:03:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 20:03:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 20:03:18] Production.INFO: count ==2124
[2025-04-11 20:03:19] Production.ERROR: pbx CDR StartTime 2025-04-11 17:03:05 - End Time 2025-04-11 20:03:05
[2025-04-11 20:03:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 20:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886535', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886535', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886535', 'tblTempVendorCDR_20' ) start
[2025-04-11 20:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886535', 'tblTempVendorCDR_20' ) end
[2025-04-11 20:03:19] Production.INFO: ProcessCDR(1,14886535,1,1,2)
[2025-04-11 20:03:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886535,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:03:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886535,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:03:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886535,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:03:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886535,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:03:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886535', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:03:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886535', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:03:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 20:03:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 20:03:23] Production.INFO: ==12429== Releasing lock...
[2025-04-11 20:03:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 20:03:23] Production.INFO: 43.5 MB #Memory Used#
[2025-04-12 01:04:02] Production.INFO: ==12487== Lock acquired, processing the job...
[2025-04-12 01:04:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 01:04:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 01:04:02] Production.INFO: neon service started
[2025-04-12 01:04:02] Production.INFO: neon service started
[2025-04-12 01:04:02] Production.INFO: ==12487== Releasing lock...
[2025-04-12 01:04:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 01:04:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 00:04:02] Production.INFO: ==12491== Lock acquired, processing the job...
[2025-04-12 00:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 00:04:02] Production.INFO: ==12491== Releasing lock...
[2025-04-12 00:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 00:04:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 20:04:02] Production.INFO: ==12489== Lock acquired, processing the job...
[2025-04-11 20:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 20:04:02] Production.INFO: ==12489== Releasing lock...
[2025-04-11 20:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 20:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 20:04:03] Production.INFO: ==12494== Lock acquired, processing the job...
[2025-04-11 20:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 20:04:03] Production.INFO: ==12498== Lock acquired, processing the job...
[2025-04-11 20:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 20:04:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 20:04:04] Production.INFO: ==12496== Lock acquired, processing the job...
[2025-04-11 20:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 20:04:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 20:04:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 20:04:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 20:04:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 20:04:04] Production.INFO: ==12500== Lock acquired, processing the job...
[2025-04-11 20:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 20:04:04] Production.INFO: ==12504== Lock acquired, processing the job...
[2025-04-11 20:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 20:04:04] Production.INFO: ==12502== Lock acquired, processing the job...
[2025-04-11 20:04:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 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-11 20:04:04] Production.INFO: Account Balance Start.
[2025-04-11 20:04:04] Production.INFO: CreateAllLog Start
[2025-04-11 20:04:04] Production.INFO: 117
[2025-04-11 20:04:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 20:04:04] Production.INFO: count ==12
[2025-04-11 20:04:04] Production.INFO: Date 2025-04-08
[2025-04-11 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-11 20:04:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:04:04] Production.INFO: count ==23
[2025-04-11 20:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886539') start
[2025-04-11 20:04:04] Production.INFO: Date 2025-04-09
[2025-04-11 20:04:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:04:04] Production.INFO: Date 2025-04-10
[2025-04-11 20:04:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:04:04] Production.INFO: ==12496== Releasing lock...
[2025-04-11 20:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 20:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 20:04:04] Production.INFO: Date 2025-04-11
[2025-04-11 20:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886539') end
[2025-04-11 20:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 20:04:04] Production.INFO: 1
[2025-04-11 20:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 20:04:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:04:04] Production.INFO: Total Charge 0
[2025-04-11 20:04:04] Production.INFO: CreateAllLog End
[2025-04-11 20:04:04] Production.INFO: ==12504== Releasing lock...
[2025-04-11 20:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 20:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 20:04:04] Production.ERROR: done
[2025-04-11 20:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 20:04:05] Production.ERROR: done
[2025-04-11 20:04:05] Production.INFO: Account Balance End.
[2025-04-11 20:04:05] Production.ERROR: CronJobId end 12
[2025-04-11 20:04:05] Production.INFO: ==12500== Releasing lock...
[2025-04-11 20:04:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 20:04:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 20:04:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 17:04:06
[end_date_ymd] => 2025-04-11 20:04:06
[RateCDR] => 1
)
[2025-04-11 20: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-11 17:04:06' and `end` < '2025-04-11 20: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-11 20:04:14] Production.ERROR: CronJobId end10
[2025-04-11 20:04:14] Production.INFO: ==12498== Releasing lock...
[2025-04-11 20:04:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 20:04:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 20:04:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 20:04:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 20:04:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 20:04:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 20:04:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 20:04:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 20:04:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 20:04:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 20:04:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 20:04:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 20:04:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 20:04:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 20:04:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 20:04:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 20:04:16] Production.INFO: call_cost start
[2025-04-11 20:04:16] Production.INFO: call_cost end
[2025-04-11 20:04:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 20:04:17] Production.INFO: ============== Report Schedule START===========
[2025-04-11 20:04:17] Production.INFO: ============== Report Schedule END===========
[2025-04-11 20:04:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 20:04:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 20:04:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 20:04:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 20:04:17] Production.INFO: ============== Deal alert START===========
[2025-04-11 20:04:17] Production.INFO: ============== Deal alert END===========
[2025-04-11 20:04:17] Production.INFO: ==12494== Releasing lock...
[2025-04-11 20:04:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 20:04:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 20:04:19] Production.INFO: count ==2113
[2025-04-11 20:04:19] Production.ERROR: pbx CDR StartTime 2025-04-11 17:04:06 - End Time 2025-04-11 20:04:06
[2025-04-11 20:04:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 20:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886540', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886540', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886540', 'tblTempVendorCDR_20' ) start
[2025-04-11 20:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886540', 'tblTempVendorCDR_20' ) end
[2025-04-11 20:04:19] Production.INFO: ProcessCDR(1,14886540,1,1,2)
[2025-04-11 20:04:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886540,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:04:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886540,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:04:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886540,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:04:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886540,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:04:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886540', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:04:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886540', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:04:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 20:04:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 20:04:25] Production.INFO: ==12502== Releasing lock...
[2025-04-11 20:04:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 20:04:25] Production.INFO: 43.5 MB #Memory Used#
[2025-04-12 01:05:01] Production.INFO: ==12559== Lock acquired, processing the job...
[2025-04-12 01:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 01:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 01:05:01] Production.INFO: neon service started
[2025-04-12 01:05:01] Production.INFO: neon service started
[2025-04-12 01:05:01] Production.INFO: ==12559== Releasing lock...
[2025-04-12 01:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 01:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 20:05:02] Production.INFO: ==12562== Lock acquired, processing the job...
[2025-04-11 20:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 00:05:02] Production.INFO: ==12564== Lock acquired, processing the job...
[2025-04-12 00:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 00:05:02] Production.INFO: ==12564== Releasing lock...
[2025-04-12 00:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 00:05:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 20:05:02] Production.INFO: ==12562== Releasing lock...
[2025-04-11 20:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 20:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 20:05:03] Production.INFO: ==12568== Lock acquired, processing the job...
[2025-04-11 20:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 20:05:03] Production.INFO: ==12566== Lock acquired, processing the job...
[2025-04-11 20:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 20:05:03] Production.INFO: ==12576== Lock acquired, processing the job...
[2025-04-11 20:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 20:05:03] Production.INFO: ==12570== Lock acquired, processing the job...
[2025-04-11 20:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 20:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 20:05:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 20:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 20:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 20:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 20:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 20:05:03] Production.INFO: ==12572== Lock acquired, processing the job...
[2025-04-11 20:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 20:05:03] Production.INFO: count ==12
[2025-04-11 20:05:03] Production.INFO: ==12574== Lock acquired, processing the job...
[2025-04-11 20:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 20: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-11 20:05:03] Production.INFO: count ==23
[2025-04-11 20:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14886542') start
[2025-04-11 20:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 20:05:03] Production.INFO: ==12568== Releasing lock...
[2025-04-11 20:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 20:05:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 20:05:04] Production.INFO: Account Balance Start.
[2025-04-11 20:05:04] Production.INFO: CreateAllLog Start
[2025-04-11 20:05:04] Production.INFO: 117
[2025-04-11 20:05:04] Production.INFO: Date 2025-04-08
[2025-04-11 20:05:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886542') end
[2025-04-11 20:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 20:05:04] Production.INFO: 1
[2025-04-11 20:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 20:05:04] Production.INFO: ==12576== Releasing lock...
[2025-04-11 20:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 20:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 20:05:04] Production.INFO: Date 2025-04-09
[2025-04-11 20:05:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:05:04] Production.INFO: Date 2025-04-10
[2025-04-11 20:05:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:05:04] Production.ERROR: done
[2025-04-11 20:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 20:05:04] Production.INFO: Date 2025-04-11
[2025-04-11 20:05:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:05:04] Production.INFO: Total Charge 0
[2025-04-11 20:05:04] Production.ERROR: done
[2025-04-11 20:05:04] Production.INFO: CreateAllLog End
[2025-04-11 20:05:04] Production.INFO: Account Balance End.
[2025-04-11 20:05:04] Production.ERROR: CronJobId end 12
[2025-04-11 20:05:04] Production.INFO: ==12572== Releasing lock...
[2025-04-11 20:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 20:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 20:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 17:05:05
[end_date_ymd] => 2025-04-11 20:05:05
[RateCDR] => 1
)
[2025-04-11 20:05:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 17:05:05' and `end` < '2025-04-11 20:05:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 20:05:13] Production.ERROR: CronJobId end10
[2025-04-11 20:05:13] Production.INFO: ==12570== Releasing lock...
[2025-04-11 20:05:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 20:05:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 20:05:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 20:05:16] Production.INFO: ============== Balance Warning START===========
[2025-04-11 20:05:16] Production.INFO: ============== Balance Warning END===========
[2025-04-11 20:05:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 20:05:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 20:05:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 20:05:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 20:05:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 20:05:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 20:05:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 20:05:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 20:05:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 20:05:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 20:05:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 20:05:16] Production.INFO: call_cost start
[2025-04-11 20:05:16] Production.INFO: call_cost end
[2025-04-11 20:05:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 20:05:17] Production.INFO: ============== Report Schedule START===========
[2025-04-11 20:05:17] Production.INFO: ============== Report Schedule END===========
[2025-04-11 20:05:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 20:05:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 20:05:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 20:05:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 20:05:17] Production.INFO: ============== Deal alert START===========
[2025-04-11 20:05:17] Production.INFO: ============== Deal alert END===========
[2025-04-11 20:05:17] Production.INFO: ==12566== Releasing lock...
[2025-04-11 20:05:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 20:05:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 20:05:19] Production.INFO: count ==2112
[2025-04-11 20:05:19] Production.ERROR: pbx CDR StartTime 2025-04-11 17:05:05 - End Time 2025-04-11 20:05:05
[2025-04-11 20:05:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 20:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886545', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886545', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886545', 'tblTempVendorCDR_20' ) start
[2025-04-11 20:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886545', 'tblTempVendorCDR_20' ) end
[2025-04-11 20:05:19] Production.INFO: ProcessCDR(1,14886545,1,1,2)
[2025-04-11 20:05:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886545,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:05:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886545,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:05:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886545,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:05:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886545,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:05:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886545', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:05:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886545', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:05:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 20:05:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 20:05:23] Production.INFO: ==12574== Releasing lock...
[2025-04-11 20:05:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 20:05:23] Production.INFO: 43.5 MB #Memory Used#
[2025-04-12 01:06:02] Production.INFO: ==12629== Lock acquired, processing the job...
[2025-04-12 01:06:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 01:06:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 01:06:02] Production.INFO: neon service started
[2025-04-12 01:06:02] Production.INFO: neon service started
[2025-04-12 01:06:02] Production.INFO: ==12629== Releasing lock...
[2025-04-12 01:06:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 01:06:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 00:06:02] Production.INFO: ==12633== Lock acquired, processing the job...
[2025-04-12 00:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 00:06:02] Production.INFO: ==12633== Releasing lock...
[2025-04-12 00:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 00:06:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 20:06:02] Production.INFO: ==12631== Lock acquired, processing the job...
[2025-04-11 20:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 20:06:02] Production.INFO: ==12631== Releasing lock...
[2025-04-11 20:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 20:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 20:06:03] Production.INFO: ==12638== Lock acquired, processing the job...
[2025-04-11 20:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 20:06:03] Production.INFO: ==12640== Lock acquired, processing the job...
[2025-04-11 20:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 20:06:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 20:06:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 20:06:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 20:06:04] Production.INFO: ==12644== Lock acquired, processing the job...
[2025-04-11 20:06:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 20:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 20:06:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 20:06:04] Production.INFO: ==12638== Releasing lock...
[2025-04-11 20:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 20:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 20:06:04] Production.INFO: ==12636== Lock acquired, processing the job...
[2025-04-11 20:06:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 20:06:04] Production.INFO: ==12642== Lock acquired, processing the job...
[2025-04-11 20:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 20:06:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 20:06:04] Production.INFO: ==12646== Lock acquired, processing the job...
[2025-04-11 20:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 20:06:04] Production.INFO: Account Balance Start.
[2025-04-11 20:06:04] Production.INFO: CreateAllLog Start
[2025-04-11 20:06:04] Production.INFO: 117
[2025-04-11 20:06:04] Production.INFO: Date 2025-04-08
[2025-04-11 20:06:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:06:04] Production.INFO: Date 2025-04-09
[2025-04-11 20:06:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:06:04] Production.INFO: Date 2025-04-10
[2025-04-11 20:06:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:06:04] Production.INFO: Date 2025-04-11
[2025-04-11 20:06:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:06:04] Production.INFO: Total Charge 0
[2025-04-11 20:06:04] Production.INFO: CreateAllLog End
[2025-04-11 20:06:04] Production.ERROR: done
[2025-04-11 20:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 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-11 20:06:04] Production.INFO: count ==12
[2025-04-11 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-11 20:06:04] Production.INFO: count ==23
[2025-04-11 20:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886549') start
[2025-04-11 20:06:04] Production.ERROR: done
[2025-04-11 20:06:04] Production.INFO: Account Balance End.
[2025-04-11 20:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886549') end
[2025-04-11 20:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 20:06:04] Production.INFO: 1
[2025-04-11 20:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 20:06:04] Production.ERROR: CronJobId end 12
[2025-04-11 20:06:04] Production.INFO: ==12642== Releasing lock...
[2025-04-11 20:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 20:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 20:06:04] Production.INFO: ==12646== Releasing lock...
[2025-04-11 20:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 20:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 20:06:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 17:06:06
[end_date_ymd] => 2025-04-11 20:06:06
[RateCDR] => 1
)
[2025-04-11 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-11 17:06:06' and `end` < '2025-04-11 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-11 20:06:14] Production.ERROR: CronJobId end10
[2025-04-11 20:06:14] Production.INFO: ==12640== Releasing lock...
[2025-04-11 20:06:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 20:06:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 20:06:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 20:06:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 20:06:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 20:06:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 20:06:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 20:06:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 20:06:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 20:06:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 20:06:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 20:06:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 20:06:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 20:06:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 20:06:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 20:06:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 20:06:16] Production.INFO: call_cost start
[2025-04-11 20:06:16] Production.INFO: call_cost end
[2025-04-11 20:06:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 20:06:17] Production.INFO: ============== Report Schedule START===========
[2025-04-11 20:06:17] Production.INFO: ============== Report Schedule END===========
[2025-04-11 20:06:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 20:06:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 20:06:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 20:06:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 20:06:17] Production.INFO: ============== Deal alert START===========
[2025-04-11 20:06:17] Production.INFO: ============== Deal alert END===========
[2025-04-11 20:06:17] Production.INFO: ==12636== Releasing lock...
[2025-04-11 20:06:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 20:06:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 20:06:19] Production.INFO: count ==2108
[2025-04-11 20:06:19] Production.ERROR: pbx CDR StartTime 2025-04-11 17:06:06 - End Time 2025-04-11 20:06:06
[2025-04-11 20:06:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 20:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886550', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886550', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886550', 'tblTempVendorCDR_20' ) start
[2025-04-11 20:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886550', 'tblTempVendorCDR_20' ) end
[2025-04-11 20:06:19] Production.INFO: ProcessCDR(1,14886550,1,1,2)
[2025-04-11 20:06:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886550,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:06:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886550,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:06:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886550,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:06:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886550,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:06:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886550', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:06:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886550', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:06:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 20:06:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 20:06:23] Production.INFO: ==12644== Releasing lock...
[2025-04-11 20:06:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 20:06:23] Production.INFO: 43.5 MB #Memory Used#
[2025-04-12 01:07:01] Production.INFO: ==12702== Lock acquired, processing the job...
[2025-04-12 01:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 01:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 01:07:01] Production.INFO: neon service started
[2025-04-12 01:07:01] Production.INFO: neon service started
[2025-04-12 01:07:01] Production.INFO: ==12702== Releasing lock...
[2025-04-12 01:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 01:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 20:07:02] Production.INFO: ==12704== Lock acquired, processing the job...
[2025-04-11 20:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 00:07:02] Production.INFO: ==12706== Lock acquired, processing the job...
[2025-04-12 00:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 00:07:02] Production.INFO: ==12706== Releasing lock...
[2025-04-12 00:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 00:07:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 20:07:02] Production.INFO: ==12704== Releasing lock...
[2025-04-11 20:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 20:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 20:07:03] Production.INFO: ==12709== Lock acquired, processing the job...
[2025-04-11 20:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 20:07:03] Production.INFO: ==12713== Lock acquired, processing the job...
[2025-04-11 20:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 20:07:03] Production.INFO: ==12719== Lock acquired, processing the job...
[2025-04-11 20:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 20:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 20:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 20:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 20:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 20:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 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-11 20:07:03] Production.INFO: count ==12
[2025-04-11 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-11 20:07:03] Production.INFO: count ==23
[2025-04-11 20:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14886552') start
[2025-04-11 20:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14886552') end
[2025-04-11 20:07:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 20:07:03] Production.INFO: 1
[2025-04-11 20:07:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 20:07:03] Production.INFO: ==12711== Lock acquired, processing the job...
[2025-04-11 20:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 20:07:03] Production.INFO: ==12717== Lock acquired, processing the job...
[2025-04-11 20:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 20:07:03] Production.INFO: ==12715== Lock acquired, processing the job...
[2025-04-11 20:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 20:07:03] Production.INFO: ==12719== Releasing lock...
[2025-04-11 20:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 20:07:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 20:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 20:07:04] Production.INFO: Account Balance Start.
[2025-04-11 20:07:04] Production.INFO: CreateAllLog Start
[2025-04-11 20:07:04] Production.INFO: 117
[2025-04-11 20:07:04] Production.INFO: Date 2025-04-08
[2025-04-11 20:07:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:07:04] Production.INFO: Date 2025-04-09
[2025-04-11 20:07:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:07:04] Production.INFO: Date 2025-04-10
[2025-04-11 20:07:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:07:04] Production.INFO: Date 2025-04-11
[2025-04-11 20:07:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:07:04] Production.ERROR: done
[2025-04-11 20:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 20:07:04] Production.INFO: ==12711== Releasing lock...
[2025-04-11 20:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 20:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 20:07:04] Production.INFO: Total Charge 0
[2025-04-11 20:07:04] Production.INFO: CreateAllLog End
[2025-04-11 20:07:04] Production.ERROR: done
[2025-04-11 20:07:04] Production.INFO: Account Balance End.
[2025-04-11 20:07:04] Production.ERROR: CronJobId end 12
[2025-04-11 20:07:04] Production.INFO: ==12715== Releasing lock...
[2025-04-11 20:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 20:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 20:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 17:07:05
[end_date_ymd] => 2025-04-11 20:07:05
[RateCDR] => 1
)
[2025-04-11 20:07:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 17:07:05' and `end` < '2025-04-11 20:07:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 20:07:13] Production.ERROR: CronJobId end10
[2025-04-11 20:07:13] Production.INFO: ==12713== Releasing lock...
[2025-04-11 20:07:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 20:07:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 20:07:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 20:07:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 20:07:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 20:07:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 20:07:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 20:07:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 20:07:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 20:07:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 20:07:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 20:07:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 20:07:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 20:07:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 20:07:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 20:07:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 20:07:15] Production.INFO: call_cost start
[2025-04-11 20:07:15] Production.INFO: call_cost end
[2025-04-11 20:07:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 20:07:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 20:07:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 20:07:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 20:07:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 20:07:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 20:07:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 20:07:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 20:07:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 20:07:16] Production.INFO: ==12709== Releasing lock...
[2025-04-11 20:07:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 20:07:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 20:07:19] Production.INFO: count ==2107
[2025-04-11 20:07:19] Production.ERROR: pbx CDR StartTime 2025-04-11 17:07:05 - End Time 2025-04-11 20:07:05
[2025-04-11 20:07:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 20:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886555', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886555', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886555', 'tblTempVendorCDR_20' ) start
[2025-04-11 20:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886555', 'tblTempVendorCDR_20' ) end
[2025-04-11 20:07:19] Production.INFO: ProcessCDR(1,14886555,1,1,2)
[2025-04-11 20:07:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886555,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:07:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886555,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:07:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886555,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:07:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886555,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:07:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886555', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:07:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886555', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:07:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 20:07:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 20:07:25] Production.INFO: ==12717== Releasing lock...
[2025-04-11 20:07:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 20:07:25] Production.INFO: 43.5 MB #Memory Used#
[2025-04-12 01:08:02] Production.INFO: ==12775== Lock acquired, processing the job...
[2025-04-12 01:08:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 01:08:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 01:08:02] Production.INFO: neon service started
[2025-04-12 01:08:02] Production.INFO: neon service started
[2025-04-12 01:08:02] Production.INFO: ==12775== Releasing lock...
[2025-04-12 01:08:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 01:08:02] Production.INFO: 25.5 MB #Memory Used#
[2025-04-11 20:08:02] Production.INFO: ==12778== Lock acquired, processing the job...
[2025-04-11 20:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 20:08:02] Production.INFO: ==12778== Releasing lock...
[2025-04-11 20:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 20:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 00:08:03] Production.INFO: ==12780== Lock acquired, processing the job...
[2025-04-12 00:08:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 00:08:03] Production.INFO: ==12780== Releasing lock...
[2025-04-12 00:08:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 00:08:03] Production.INFO: 25 MB #Memory Used#
[2025-04-11 20:08:04] Production.INFO: ==12792== Lock acquired, processing the job...
[2025-04-11 20:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 20:08:04] Production.INFO: ==12788== Lock acquired, processing the job...
[2025-04-11 20:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 20:08:04] Production.INFO: Account Balance Start.
[2025-04-11 20:08:04] Production.INFO: CreateAllLog Start
[2025-04-11 20:08:04] Production.INFO: 117
[2025-04-11 20:08:04] Production.INFO: ==12782== Lock acquired, processing the job...
[2025-04-11 20:08:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 20:08:04] Production.INFO: Date 2025-04-08
[2025-04-11 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-11 20:08:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:08:04] Production.INFO: count ==12
[2025-04-11 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-11 20:08:04] Production.INFO: count ==23
[2025-04-11 20:08:04] Production.INFO: ==12784== Lock acquired, processing the job...
[2025-04-11 20:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 20:08:04] Production.INFO: ==12786== Lock acquired, processing the job...
[2025-04-11 20:08:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 20:08:04] Production.INFO: Date 2025-04-09
[2025-04-11 20:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886556') start
[2025-04-11 20:08:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:08:04] Production.INFO: ==12790== Lock acquired, processing the job...
[2025-04-11 20:08:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 20:08:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 20:08:04] Production.INFO: Date 2025-04-10
[2025-04-11 20:08:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:08:04] Production.INFO: Date 2025-04-11
[2025-04-11 20:08:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:08:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 20:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886556') end
[2025-04-11 20:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 20:08:04] Production.INFO: 1
[2025-04-11 20:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 20:08:04] Production.INFO: Total Charge 0
[2025-04-11 20:08:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 20:08:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 20:08:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 20:08:04] Production.INFO: CreateAllLog End
[2025-04-11 20:08:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 20:08:04] Production.INFO: ==12792== Releasing lock...
[2025-04-11 20:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 20:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 20:08:04] Production.INFO: ==12784== Releasing lock...
[2025-04-11 20:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 20:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 20:08:04] Production.ERROR: done
[2025-04-11 20:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 20:08:04] Production.INFO: Account Balance End.
[2025-04-11 20:08:04] Production.ERROR: done
[2025-04-11 20:08:04] Production.ERROR: CronJobId end 12
[2025-04-11 20:08:04] Production.INFO: ==12788== Releasing lock...
[2025-04-11 20:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 20:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 20:08:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 17:08:06
[end_date_ymd] => 2025-04-11 20:08:06
[RateCDR] => 1
)
[2025-04-11 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-11 17:08:06' and `end` < '2025-04-11 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-11 20:08:13] Production.ERROR: CronJobId end10
[2025-04-11 20:08:13] Production.INFO: ==12786== Releasing lock...
[2025-04-11 20:08:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 20:08:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 20:08:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 20:08:17] Production.INFO: ============== Balance Warning START===========
[2025-04-11 20:08:17] Production.INFO: ============== Balance Warning END===========
[2025-04-11 20:08:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 20:08:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 20:08:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 20:08:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 20:08:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 20:08:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 20:08:17] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 20:08:17] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 20:08:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 20:08:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 20:08:17] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 20:08:17] Production.INFO: call_cost start
[2025-04-11 20:08:17] Production.INFO: call_cost end
[2025-04-11 20:08:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 20:08:18] Production.INFO: ============== Report Schedule START===========
[2025-04-11 20:08:18] Production.INFO: ============== Report Schedule END===========
[2025-04-11 20:08:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 20:08:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 20:08:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 20:08:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 20:08:18] Production.INFO: ============== Deal alert START===========
[2025-04-11 20:08:18] Production.INFO: ============== Deal alert END===========
[2025-04-11 20:08:18] Production.INFO: ==12782== Releasing lock...
[2025-04-11 20:08:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 20:08:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 20:08:19] Production.INFO: count ==2106
[2025-04-11 20:08:19] Production.ERROR: pbx CDR StartTime 2025-04-11 17:08:06 - End Time 2025-04-11 20:08:06
[2025-04-11 20:08:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 20:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886560', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886560', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886560', 'tblTempVendorCDR_20' ) start
[2025-04-11 20:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886560', 'tblTempVendorCDR_20' ) end
[2025-04-11 20:08:19] Production.INFO: ProcessCDR(1,14886560,1,1,2)
[2025-04-11 20:08:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886560,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:08:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886560,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:08:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886560,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:08:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886560,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:08:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886560', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:08:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886560', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:08:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 20:08:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 20:08:23] Production.INFO: ==12790== Releasing lock...
[2025-04-11 20:08:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 20:08:23] Production.INFO: 43.5 MB #Memory Used#
[2025-04-12 01:09:01] Production.INFO: ==12852== Lock acquired, processing the job...
[2025-04-12 01:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 01:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 01:09:01] Production.INFO: neon service started
[2025-04-12 01:09:01] Production.INFO: neon service started
[2025-04-12 01:09:01] Production.INFO: ==12852== Releasing lock...
[2025-04-12 01:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 01:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 20:09:02] Production.INFO: ==12854== Lock acquired, processing the job...
[2025-04-11 20:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 20:09:02] Production.INFO: ==12854== Releasing lock...
[2025-04-11 20:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 20:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 00:09:02] Production.INFO: ==12856== Lock acquired, processing the job...
[2025-04-12 00:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 00:09:02] Production.INFO: ==12856== Releasing lock...
[2025-04-12 00:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 00:09:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 20:09:03] Production.INFO: ==12862== Lock acquired, processing the job...
[2025-04-11 20:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 20:09:03] Production.INFO: ==12867== Lock acquired, processing the job...
[2025-04-11 20:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 20:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 20:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 20:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 20:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 20:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 20:09:03] Production.INFO: ==12858== Lock acquired, processing the job...
[2025-04-11 20:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 20:09:03] Production.INFO: ==12860== Lock acquired, processing the job...
[2025-04-11 20:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 20:09:03] Production.INFO: ==12864== Lock acquired, processing the job...
[2025-04-11 20:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 20:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 20:09:03] Production.INFO: ==12869== Lock acquired, processing the job...
[2025-04-11 20:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 20:09:03] Production.ERROR: done
[2025-04-11 20:09:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 20:09:03] Production.INFO: Account Balance Start.
[2025-04-11 20:09:03] Production.INFO: CreateAllLog Start
[2025-04-11 20:09:03] Production.INFO: 117
[2025-04-11 20:09:03] Production.INFO: Date 2025-04-08
[2025-04-11 20:09:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 20:09:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:09:04] Production.INFO: count ==12
[2025-04-11 20:09:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 20:09:04] Production.INFO: count ==23
[2025-04-11 20:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886562') start
[2025-04-11 20:09:04] Production.ERROR: done
[2025-04-11 20:09:04] Production.INFO: Date 2025-04-09
[2025-04-11 20:09:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:09:04] Production.INFO: Date 2025-04-10
[2025-04-11 20:09:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:09:04] Production.INFO: Date 2025-04-11
[2025-04-11 20:09:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886562') end
[2025-04-11 20:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 20:09:04] Production.INFO: 1
[2025-04-11 20:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 20:09:04] Production.INFO: Total Charge 0
[2025-04-11 20:09:04] Production.INFO: CreateAllLog End
[2025-04-11 20:09:04] Production.INFO: ==12869== Releasing lock...
[2025-04-11 20:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 20:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 20:09:04] Production.INFO: ==12860== Releasing lock...
[2025-04-11 20:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 20:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 20:09:04] Production.INFO: Account Balance End.
[2025-04-11 20:09:04] Production.ERROR: CronJobId end 12
[2025-04-11 20:09:04] Production.INFO: ==12864== Releasing lock...
[2025-04-11 20:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 20:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 20:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 17:09:05
[end_date_ymd] => 2025-04-11 20:09:05
[RateCDR] => 1
)
[2025-04-11 20:09:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 17:09:05' and `end` < '2025-04-11 20:09:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 20:09: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-11 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-11 20:09:12] Production.ERROR: CronJobId end10
[2025-04-11 20:09:12] Production.INFO: ==12862== Releasing lock...
[2025-04-11 20:09:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 20:09:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 20:09:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 20:09:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 20:09:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 20:09:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 20:09:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 20:09:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 20:09:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 20:09:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 20:09:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 20:09:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 20:09:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 20:09:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 20:09:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 20:09:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 20:09:15] Production.INFO: call_cost start
[2025-04-11 20:09:15] Production.INFO: call_cost end
[2025-04-11 20:09:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 20:09:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 20:09:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 20:09:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 20:09:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 20:09:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 20:09:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 20:09:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 20:09:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 20:09:16] Production.INFO: ==12858== Releasing lock...
[2025-04-11 20:09:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 20:09:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 20:09:18] Production.INFO: count ==2105
[2025-04-11 20:09:18] Production.ERROR: pbx CDR StartTime 2025-04-11 17:09:05 - End Time 2025-04-11 20:09:05
[2025-04-11 20:09:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 20:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886565', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886565', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886565', 'tblTempVendorCDR_20' ) start
[2025-04-11 20:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886565', 'tblTempVendorCDR_20' ) end
[2025-04-11 20:09:18] Production.INFO: ProcessCDR(1,14886565,1,1,2)
[2025-04-11 20:09:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886565,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:09:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886565,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:09:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886565,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:09:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886565,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886565', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886565', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:09:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 20:09:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 20:09:22] Production.INFO: ==12867== Releasing lock...
[2025-04-11 20:09:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 20:09:22] Production.INFO: 43.25 MB #Memory Used#
[2025-04-12 01:10:02] Production.INFO: ==12924== Lock acquired, processing the job...
[2025-04-12 01:10:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 01:10:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 01:10:02] Production.INFO: neon service started
[2025-04-12 01:10:02] Production.INFO: neon service started
[2025-04-12 01:10:02] Production.INFO: ==12924== Releasing lock...
[2025-04-12 01:10:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 01:10:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 20:10:02] Production.INFO: ==12926== Lock acquired, processing the job...
[2025-04-11 20:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 20:10:02] Production.INFO: ==12926== Releasing lock...
[2025-04-11 20:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 20:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 00:10:03] Production.INFO: ==12928== Lock acquired, processing the job...
[2025-04-12 00:10:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 00:10:03] Production.INFO: ==12928== Releasing lock...
[2025-04-12 00:10:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 00:10:03] Production.INFO: 25 MB #Memory Used#
[2025-04-11 20:10:04] Production.INFO: ==12932== Lock acquired, processing the job...
[2025-04-11 20:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 20:10:04] Production.INFO: ==12934== Lock acquired, processing the job...
[2025-04-11 20:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 20:10:04] Production.INFO: ==12930== Lock acquired, processing the job...
[2025-04-11 20:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-11 20:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 20:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-11 20:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-11 20:10:04] Production.ERROR: CronJob PID - 12932
[2025-04-11 20:10:04] Production.ERROR: CronJob Title - System Alerts
[2025-04-11 20:10:04] Production.ERROR: CronJob ID - 5
[2025-04-11 20:10:04] Production.ERROR: CronJob Last Run Time 2025-04-11 20:10:00
[2025-04-11 20:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-11 20:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-11 20:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-11 20:10:04] Production.ERROR: CronJob PID - 12934
[2025-04-11 20:10:04] Production.ERROR: CronJob Title - Account Block
[2025-04-11 20:10:04] Production.INFO: ==12939== Lock acquired, processing the job...
[2025-04-11 20:10:04] Production.ERROR: CronJob ID - 7
[2025-04-11 20:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 20:10:04] Production.ERROR: CronJob Last Run Time 2025-04-11 20:10:00
[2025-04-11 20:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-11 20:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-11 20:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-11 20:10:04] Production.INFO: ==12930== Releasing lock...
[2025-04-11 20:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-11 20:10:04] Production.INFO: ==12936== Lock acquired, processing the job...
[2025-04-11 20:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 20:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-11 20:10:04] Production.INFO: ==12941== Lock acquired, processing the job...
[2025-04-11 20:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 20:10:04] Production.INFO: ==12943== Lock acquired, processing the job...
[2025-04-11 20:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-11 20:10:04] Production.INFO: ==12945== Lock acquired, processing the job...
[2025-04-11 20:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 20:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 20:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 20:10:04] Production.INFO: Account Balance Start.
[2025-04-11 20:10:04] Production.INFO: CreateAllLog Start
[2025-04-11 20:10:04] Production.INFO: 117
[2025-04-11 20:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 20:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 20:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 20:10:04] Production.INFO: Date 2025-04-08
[2025-04-11 20:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 20:10:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:10:04] Production.INFO: Date 2025-04-09
[2025-04-11 20:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 20:10:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:10:04] Production.INFO: count ==12
[2025-04-11 20:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 20:10:04] Production.INFO: count ==23
[2025-04-11 20:10:04] Production.INFO: Date 2025-04-10
[2025-04-11 20:10:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:10:04] Production.INFO: ==12934== Releasing lock...
[2025-04-11 20:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 20:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 20:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886569') start
[2025-04-11 20:10:04] Production.ERROR: done
[2025-04-11 20:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 20:10:04] Production.INFO: Date 2025-04-11
[2025-04-11 20:10:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:10:04] Production.INFO: Total Charge 0
[2025-04-11 20:10:05] Production.INFO: CreateAllLog End
[2025-04-11 20:10:05] Production.ERROR: done
[2025-04-11 20:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14886569') end
[2025-04-11 20:10:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 20:10:05] Production.INFO: 1
[2025-04-11 20:10:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 20:10:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-11 20:10:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14886570', 'tblTempUsageDetail_20reseller','2025-04-11','2025-04-11','1' ) start
[2025-04-11 20:10:05] Production.ERROR: done
[2025-04-11 20:10:05] Production.INFO: Account Balance End.
[2025-04-11 20:10:05] Production.INFO: ==12945== Releasing lock...
[2025-04-11 20:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 20:10:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 20:10:05] Production.ERROR: CronJobId end 12
[2025-04-11 20:10:05] Production.INFO: ==12939== Releasing lock...
[2025-04-11 20:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 20:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 20:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 17:10:06
[end_date_ymd] => 2025-04-11 20:10:06
[RateCDR] => 1
)
[2025-04-11 20:10:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 17:10:06' and `end` < '2025-04-11 20:10:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 20:10:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14886570', 'tblTempUsageDetail_20reseller','2025-04-11','2025-04-11','1' ) end
[2025-04-11 20:10:10] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-11 20:10:10] Production.INFO: ProcessCDR(1,14886570,1,1,2)
[2025-04-11 20:10:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14886570,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:10:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14886570,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:10:10] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 20:10:10] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 20:10:10] Production.INFO: ==12943== Releasing lock...
[2025-04-11 20:10:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-11 20:10:10] Production.INFO: 26 MB #Memory Used#
[2025-04-11 20:10:15] Production.ERROR: CronJobId end10
[2025-04-11 20:10:15] Production.INFO: ==12936== Releasing lock...
[2025-04-11 20:10:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 20:10:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 20:10:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 20:10:17] Production.INFO: ============== Balance Warning START===========
[2025-04-11 20:10:18] Production.INFO: ============== Balance Warning END===========
[2025-04-11 20:10:18] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 20:10:18] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 20:10:18] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 20:10:18] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 20:10:18] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 20:10:18] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 20:10:18] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 20:10:18] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 20:10:18] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 20:10:18] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 20:10:18] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 20:10:18] Production.INFO: call_cost start
[2025-04-11 20:10:18] Production.INFO: call_cost end
[2025-04-11 20:10:19] Production.INFO: count ==2103
[2025-04-11 20:10:19] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 20:10:19] Production.INFO: ============== Report Schedule START===========
[2025-04-11 20:10:19] Production.INFO: ============== Report Schedule END===========
[2025-04-11 20:10:19] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 20:10:19] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 20:10:19] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 20:10:19] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 20:10:19] Production.INFO: ============== Deal alert START===========
[2025-04-11 20:10:19] Production.INFO: ============== Deal alert END===========
[2025-04-11 20:10:19] Production.INFO: ==12932== Releasing lock...
[2025-04-11 20:10:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 20:10:19] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 20:10:19] Production.ERROR: pbx CDR StartTime 2025-04-11 17:10:06 - End Time 2025-04-11 20:10:06
[2025-04-11 20:10:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 20:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886571', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886571', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886571', 'tblTempVendorCDR_20' ) start
[2025-04-11 20:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886571', 'tblTempVendorCDR_20' ) end
[2025-04-11 20:10:19] Production.INFO: ProcessCDR(1,14886571,1,1,2)
[2025-04-11 20:10:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886571,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:10:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886571,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:10:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886571,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:10:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886571,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:10:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886571', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:10:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886571', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:10:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 20:10:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 20:10:25] Production.INFO: ==12941== Releasing lock...
[2025-04-11 20:10:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 20:10:25] Production.INFO: 43.25 MB #Memory Used#
[2025-04-12 01:11:01] Production.INFO: ==13000== Lock acquired, processing the job...
[2025-04-12 01:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 01:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 01:11:01] Production.INFO: neon service started
[2025-04-12 01:11:01] Production.INFO: neon service started
[2025-04-12 01:11:01] Production.INFO: ==13000== Releasing lock...
[2025-04-12 01:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 01:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 20:11:02] Production.INFO: ==13002== Lock acquired, processing the job...
[2025-04-11 20:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 00:11:02] Production.INFO: ==13004== Lock acquired, processing the job...
[2025-04-12 00:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 00:11:02] Production.INFO: ==13004== Releasing lock...
[2025-04-12 00:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 00:11:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 20:11:02] Production.INFO: ==13002== Releasing lock...
[2025-04-11 20:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 20:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 20:11:03] Production.INFO: ==13007== Lock acquired, processing the job...
[2025-04-11 20:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 20:11:03] Production.INFO: ==13013== Lock acquired, processing the job...
[2025-04-11 20:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 20:11:03] Production.INFO: ==13011== Lock acquired, processing the job...
[2025-04-11 20:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 20:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 20:11:03] Production.INFO: Account Balance Start.
[2025-04-11 20:11:03] Production.INFO: CreateAllLog Start
[2025-04-11 20:11:03] Production.INFO: 117
[2025-04-11 20:11:03] Production.INFO: ==13009== Lock acquired, processing the job...
[2025-04-11 20:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 20:11:03] Production.INFO: Date 2025-04-08
[2025-04-11 20:11:03] Production.INFO: ==13015== Lock acquired, processing the job...
[2025-04-11 20:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 20:11:03] Production.INFO: Reseller ==> 0
[2025-04-11 20:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 20:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 20:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 20:11:03] Production.INFO: Date 2025-04-09
[2025-04-11 20:11:03] Production.INFO: Reseller ==> 0
[2025-04-11 20:11:03] Production.INFO: Date 2025-04-10
[2025-04-11 20:11:03] Production.INFO: Reseller ==> 0
[2025-04-11 20:11:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 20:11:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 20:11:04] Production.INFO: Date 2025-04-11
[2025-04-11 20:11:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:11:04] Production.INFO: Total Charge 0
[2025-04-11 20:11:04] Production.INFO: ==13017== Lock acquired, processing the job...
[2025-04-11 20:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 20:11:04] Production.INFO: CreateAllLog End
[2025-04-11 20:11:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 20:11:04] Production.INFO: ==13009== Releasing lock...
[2025-04-11 20:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 20:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 20:11:04] Production.INFO: Account Balance End.
[2025-04-11 20:11:04] Production.INFO: count ==12
[2025-04-11 20:11:04] Production.ERROR: CronJobId end 12
[2025-04-11 20:11:04] Production.INFO: ==13013== Releasing lock...
[2025-04-11 20:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 20:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 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-11 20:11:04] Production.INFO: count ==23
[2025-04-11 20:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886575') start
[2025-04-11 20:11:04] Production.ERROR: done
[2025-04-11 20:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 20:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886575') end
[2025-04-11 20:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 20:11:04] Production.INFO: 1
[2025-04-11 20:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 20:11:04] Production.INFO: ==13017== Releasing lock...
[2025-04-11 20:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 20:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 20:11:04] Production.ERROR: done
[2025-04-11 20:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 17:11:05
[end_date_ymd] => 2025-04-11 20:11:05
[RateCDR] => 1
)
[2025-04-11 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-11 17:11:05' and `end` < '2025-04-11 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-11 20:11:13] Production.ERROR: CronJobId end10
[2025-04-11 20:11:13] Production.INFO: ==13011== Releasing lock...
[2025-04-11 20:11:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 20:11:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 20:11:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 20:11:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 20:11:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 20:11:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 20:11:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 20:11:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 20:11:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 20:11:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 20:11:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 20:11:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 20:11:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 20:11:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 20:11:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 20:11:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 20:11:16] Production.INFO: call_cost start
[2025-04-11 20:11:16] Production.INFO: call_cost end
[2025-04-11 20:11:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 20:11:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 20:11:17] Production.INFO: ============== Report Schedule END===========
[2025-04-11 20:11:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 20:11:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 20:11:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 20:11:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 20:11:17] Production.INFO: ============== Deal alert START===========
[2025-04-11 20:11:17] Production.INFO: ============== Deal alert END===========
[2025-04-11 20:11:17] Production.INFO: ==13007== Releasing lock...
[2025-04-11 20:11:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 20:11:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 20:11:18] Production.INFO: count ==2015
[2025-04-11 20:11:19] Production.ERROR: pbx CDR StartTime 2025-04-11 17:11:05 - End Time 2025-04-11 20:11:05
[2025-04-11 20:11:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 20:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886576', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886576', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886576', 'tblTempVendorCDR_20' ) start
[2025-04-11 20:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886576', 'tblTempVendorCDR_20' ) end
[2025-04-11 20:11:19] Production.INFO: ProcessCDR(1,14886576,1,1,2)
[2025-04-11 20:11:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886576,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:11:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886576,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:11:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886576,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:11:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886576,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886576', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886576', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:11:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 20:11:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 20:11:22] Production.INFO: ==13015== Releasing lock...
[2025-04-11 20:11:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 20:11:22] Production.INFO: 42.75 MB #Memory Used#
[2025-04-12 01:12:02] Production.INFO: ==13075== Lock acquired, processing the job...
[2025-04-12 01:12:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 01:12:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 01:12:02] Production.INFO: neon service started
[2025-04-12 01:12:02] Production.INFO: neon service started
[2025-04-12 01:12:02] Production.INFO: ==13075== Releasing lock...
[2025-04-12 01:12:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 01:12:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 20:12:02] Production.INFO: ==13077== Lock acquired, processing the job...
[2025-04-11 20:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 20:12:03] Production.INFO: ==13077== Releasing lock...
[2025-04-11 20:12:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 20:12:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 00:12:03] Production.INFO: ==13079== Lock acquired, processing the job...
[2025-04-12 00:12:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 00:12:03] Production.INFO: ==13079== Releasing lock...
[2025-04-12 00:12:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 00:12:03] Production.INFO: 25 MB #Memory Used#
[2025-04-11 20:12:03] Production.INFO: ==13092== Lock acquired, processing the job...
[2025-04-11 20:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 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-11 20:12:04] Production.INFO: count ==12
[2025-04-11 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-11 20:12:04] Production.INFO: count ==23
[2025-04-11 20:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886577') start
[2025-04-11 20:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886577') end
[2025-04-11 20:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 20:12:04] Production.INFO: 1
[2025-04-11 20:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 20:12:04] Production.INFO: ==13092== Releasing lock...
[2025-04-11 20:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 20:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 20:12:04] Production.INFO: ==13082== Lock acquired, processing the job...
[2025-04-11 20:12:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 20:12:04] Production.INFO: ==13084== Lock acquired, processing the job...
[2025-04-11 20:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 20:12:04] Production.INFO: ==13090== Lock acquired, processing the job...
[2025-04-11 20:12:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 20:12:04] Production.INFO: ==13086== Lock acquired, processing the job...
[2025-04-11 20:12:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 20:12:04] Production.INFO: ==13088== Lock acquired, processing the job...
[2025-04-11 20:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 20:12:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 20:12:04] Production.INFO: Account Balance Start.
[2025-04-11 20:12:04] Production.INFO: CreateAllLog Start
[2025-04-11 20:12:04] Production.INFO: 117
[2025-04-11 20:12:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 20:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 20:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 20:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 20:12:04] Production.INFO: Date 2025-04-08
[2025-04-11 20:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 20:12:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:12:04] Production.INFO: Date 2025-04-09
[2025-04-11 20:12:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:12:04] Production.INFO: Date 2025-04-10
[2025-04-11 20:12:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:12:04] Production.INFO: Date 2025-04-11
[2025-04-11 20:12:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:12:04] Production.INFO: Total Charge 0
[2025-04-11 20:12:04] Production.INFO: CreateAllLog End
[2025-04-11 20:12:04] Production.INFO: ==13084== Releasing lock...
[2025-04-11 20:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 20:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 20:12:05] Production.ERROR: done
[2025-04-11 20:12:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 20:12:05] Production.INFO: Account Balance End.
[2025-04-11 20:12:05] Production.ERROR: done
[2025-04-11 20:12:05] Production.ERROR: CronJobId end 12
[2025-04-11 20:12:05] Production.INFO: ==13088== Releasing lock...
[2025-04-11 20:12:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 20:12:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 20:12:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 17:12:06
[end_date_ymd] => 2025-04-11 20:12:06
[RateCDR] => 1
)
[2025-04-11 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-11 17:12:06' and `end` < '2025-04-11 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-11 20:12:15] Production.ERROR: CronJobId end10
[2025-04-11 20:12:15] Production.INFO: ==13086== Releasing lock...
[2025-04-11 20:12:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 20:12:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 20:12:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 20:12:16] Production.INFO: ============== Balance Warning START===========
[2025-04-11 20:12:16] Production.INFO: ============== Balance Warning END===========
[2025-04-11 20:12:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 20:12:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 20:12:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 20:12:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 20:12:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 20:12:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 20:12:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 20:12:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 20:12:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 20:12:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 20:12:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 20:12:16] Production.INFO: call_cost start
[2025-04-11 20:12:16] Production.INFO: call_cost end
[2025-04-11 20:12:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 20:12:17] Production.INFO: ============== Report Schedule START===========
[2025-04-11 20:12:17] Production.INFO: ============== Report Schedule END===========
[2025-04-11 20:12:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 20:12:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 20:12:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 20:12:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 20:12:17] Production.INFO: ============== Deal alert START===========
[2025-04-11 20:12:17] Production.INFO: ============== Deal alert END===========
[2025-04-11 20:12:17] Production.INFO: ==13082== Releasing lock...
[2025-04-11 20:12:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 20:12:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 20:12:19] Production.INFO: count ==2011
[2025-04-11 20:12:19] Production.ERROR: pbx CDR StartTime 2025-04-11 17:12:06 - End Time 2025-04-11 20:12:06
[2025-04-11 20:12:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 20:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886581', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886581', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886581', 'tblTempVendorCDR_20' ) start
[2025-04-11 20:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886581', 'tblTempVendorCDR_20' ) end
[2025-04-11 20:12:19] Production.INFO: ProcessCDR(1,14886581,1,1,2)
[2025-04-11 20:12:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886581,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:12:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886581,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:12:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886581,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:12:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886581,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:12:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886581', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:12:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886581', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:12:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 20:12:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 20:12:25] Production.INFO: ==13090== Releasing lock...
[2025-04-11 20:12:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 20:12:25] Production.INFO: 42.75 MB #Memory Used#
[2025-04-12 01:13:01] Production.INFO: ==13144== Lock acquired, processing the job...
[2025-04-12 01:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 01:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 01:13:01] Production.INFO: neon service started
[2025-04-12 01:13:01] Production.INFO: neon service started
[2025-04-12 01:13:01] Production.INFO: ==13144== Releasing lock...
[2025-04-12 01:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 01:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 20:13:02] Production.INFO: ==13146== Lock acquired, processing the job...
[2025-04-11 20:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 00:13:02] Production.INFO: ==13148== Lock acquired, processing the job...
[2025-04-12 00:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 00:13:02] Production.INFO: ==13148== Releasing lock...
[2025-04-12 00:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 00:13:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 20:13:03] Production.INFO: ==13146== Releasing lock...
[2025-04-11 20:13:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 20:13:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 20:13:04] Production.INFO: ==13155== Lock acquired, processing the job...
[2025-04-11 20:13:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 20:13:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 20:13:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 20:13:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 20:13:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 20:13:04] Production.INFO: ==13151== Lock acquired, processing the job...
[2025-04-11 20:13:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 20:13:04] Production.INFO: ==13161== Lock acquired, processing the job...
[2025-04-11 20:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 20:13:04] Production.INFO: ==13153== Lock acquired, processing the job...
[2025-04-11 20:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 20:13:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 20:13:04] Production.INFO: ==13157== Lock acquired, processing the job...
[2025-04-11 20:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 20:13:04] Production.INFO: ==13159== Lock acquired, processing the job...
[2025-04-11 20:13:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 20:13:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 20:13:04] Production.INFO: count ==12
[2025-04-11 20:13:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 20:13:04] Production.INFO: count ==23
[2025-04-11 20:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886582') start
[2025-04-11 20:13:04] Production.INFO: Account Balance Start.
[2025-04-11 20:13:04] Production.INFO: CreateAllLog Start
[2025-04-11 20:13:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 20:13:04] Production.INFO: 117
[2025-04-11 20:13:04] Production.INFO: Date 2025-04-08
[2025-04-11 20:13:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886582') end
[2025-04-11 20:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 20:13:04] Production.INFO: 1
[2025-04-11 20:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 20:13:04] Production.INFO: Date 2025-04-09
[2025-04-11 20:13:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:13:04] Production.INFO: Date 2025-04-10
[2025-04-11 20:13:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:13:04] Production.INFO: ==13161== Releasing lock...
[2025-04-11 20:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 20:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 20:13:04] Production.INFO: Date 2025-04-11
[2025-04-11 20:13:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:13:04] Production.INFO: Total Charge 0
[2025-04-11 20:13:04] Production.INFO: CreateAllLog End
[2025-04-11 20:13:04] Production.ERROR: done
[2025-04-11 20:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 20:13:04] Production.INFO: ==13153== Releasing lock...
[2025-04-11 20:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 20:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 20:13:05] Production.ERROR: done
[2025-04-11 20:13:05] Production.INFO: Account Balance End.
[2025-04-11 20:13:05] Production.ERROR: CronJobId end 12
[2025-04-11 20:13:05] Production.INFO: ==13157== Releasing lock...
[2025-04-11 20:13:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 20:13:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 20:13:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 17:13:06
[end_date_ymd] => 2025-04-11 20:13:06
[RateCDR] => 1
)
[2025-04-11 20: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-11 17:13:06' and `end` < '2025-04-11 20: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-11 20:13:15] Production.ERROR: CronJobId end10
[2025-04-11 20:13:15] Production.INFO: ==13155== Releasing lock...
[2025-04-11 20:13:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 20:13:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 20:13:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 20:13:16] Production.INFO: ============== Balance Warning START===========
[2025-04-11 20:13:16] Production.INFO: ============== Balance Warning END===========
[2025-04-11 20:13:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 20:13:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 20:13:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 20:13:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 20:13:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 20:13:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 20:13:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 20:13:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 20:13:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 20:13:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 20:13:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 20:13:17] Production.INFO: call_cost start
[2025-04-11 20:13:17] Production.INFO: call_cost end
[2025-04-11 20:13:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 20:13:18] Production.INFO: ============== Report Schedule START===========
[2025-04-11 20:13:18] Production.INFO: ============== Report Schedule END===========
[2025-04-11 20:13:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 20:13:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 20:13:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 20:13:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 20:13:18] Production.INFO: ============== Deal alert START===========
[2025-04-11 20:13:18] Production.INFO: ============== Deal alert END===========
[2025-04-11 20:13:18] Production.INFO: ==13151== Releasing lock...
[2025-04-11 20:13:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 20:13:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 20:13:19] Production.INFO: count ==2012
[2025-04-11 20:13:19] Production.ERROR: pbx CDR StartTime 2025-04-11 17:13:06 - End Time 2025-04-11 20:13:06
[2025-04-11 20:13:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 20:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886586', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886586', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886586', 'tblTempVendorCDR_20' ) start
[2025-04-11 20:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886586', 'tblTempVendorCDR_20' ) end
[2025-04-11 20:13:19] Production.INFO: ProcessCDR(1,14886586,1,1,2)
[2025-04-11 20:13:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886586,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:13:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886586,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:13:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886586,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:13:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886586,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:13:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886586', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:13:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886586', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:13:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 20:13:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 20:13:23] Production.INFO: ==13159== Releasing lock...
[2025-04-11 20:13:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 20:13:23] Production.INFO: 42.75 MB #Memory Used#
[2025-04-12 01:14:02] Production.INFO: ==13218== Lock acquired, processing the job...
[2025-04-12 01:14:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 01:14:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 01:14:02] Production.INFO: neon service started
[2025-04-12 01:14:02] Production.INFO: neon service started
[2025-04-12 01:14:02] Production.INFO: ==13218== Releasing lock...
[2025-04-12 01:14:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 01:14:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 20:14:03] Production.INFO: ==13220== Lock acquired, processing the job...
[2025-04-11 20:14:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 00:14:03] Production.INFO: ==13222== Lock acquired, processing the job...
[2025-04-12 00:14:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 00:14:03] Production.INFO: ==13222== Releasing lock...
[2025-04-12 00:14:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 00:14:03] Production.INFO: 25 MB #Memory Used#
[2025-04-11 20:14:03] Production.INFO: ==13220== Releasing lock...
[2025-04-11 20:14:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 20:14:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 20:14:04] Production.INFO: ==13225== Lock acquired, processing the job...
[2025-04-11 20:14:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 20:14:04] Production.INFO: ==13227== Lock acquired, processing the job...
[2025-04-11 20:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 20:14:04] Production.INFO: ==13229== Lock acquired, processing the job...
[2025-04-11 20:14:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 20:14:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 20:14:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 20:14:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 20:14:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 20:14:04] Production.INFO: ==13233== Lock acquired, processing the job...
[2025-04-11 20:14:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 20:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 20:14:04] Production.INFO: ==13231== Lock acquired, processing the job...
[2025-04-11 20:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 20:14:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 20:14:04] Production.INFO: ==13235== Lock acquired, processing the job...
[2025-04-11 20:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 20:14:04] Production.INFO: ==13227== Releasing lock...
[2025-04-11 20:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 20:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 20:14:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 20:14:05] Production.INFO: Account Balance Start.
[2025-04-11 20:14:05] Production.INFO: CreateAllLog Start
[2025-04-11 20:14:05] Production.INFO: 117
[2025-04-11 20:14:05] Production.INFO: count ==12
[2025-04-11 20:14:05] Production.INFO: Date 2025-04-08
[2025-04-11 20:14:05] Production.ERROR: done
[2025-04-11 20:14: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-11 20:14:05] Production.INFO: count ==23
[2025-04-11 20:14:05] Production.INFO: Reseller ==> 0
[2025-04-11 20:14:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 20:14:05] Production.ERROR: PBX CALL prc_importPBXExtension('14886589') start
[2025-04-11 20:14:05] Production.INFO: Date 2025-04-09
[2025-04-11 20:14:05] Production.INFO: Reseller ==> 0
[2025-04-11 20:14:05] Production.INFO: Date 2025-04-10
[2025-04-11 20:14:05] Production.INFO: Reseller ==> 0
[2025-04-11 20:14:05] Production.INFO: Date 2025-04-11
[2025-04-11 20:14:05] Production.INFO: Reseller ==> 0
[2025-04-11 20:14:05] Production.INFO: Total Charge 0
[2025-04-11 20:14:05] Production.INFO: CreateAllLog End
[2025-04-11 20:14:05] Production.ERROR: done
[2025-04-11 20:14:05] Production.ERROR: PBX CALL prc_importPBXExtension('14886589') end
[2025-04-11 20:14:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 20:14:05] Production.INFO: 1
[2025-04-11 20:14:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 20:14:05] Production.INFO: ==13235== Releasing lock...
[2025-04-11 20:14:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 20:14:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 20:14:06] Production.INFO: Account Balance End.
[2025-04-11 20:14:06] Production.ERROR: CronJobId end 12
[2025-04-11 20:14:06] Production.INFO: ==13231== Releasing lock...
[2025-04-11 20:14:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 20:14:06] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 20:14:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 17:14:06
[end_date_ymd] => 2025-04-11 20:14:06
[RateCDR] => 1
)
[2025-04-11 20: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-11 17:14:06' and `end` < '2025-04-11 20: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-11 20:14:14] Production.ERROR: CronJobId end10
[2025-04-11 20:14:14] Production.INFO: ==13229== Releasing lock...
[2025-04-11 20:14:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 20:14:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 20:14:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 20:14:16] Production.INFO: ============== Balance Warning START===========
[2025-04-11 20:14:16] Production.INFO: ============== Balance Warning END===========
[2025-04-11 20:14:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 20:14:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 20:14:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 20:14:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 20:14:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 20:14:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 20:14:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 20:14:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 20:14:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 20:14:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 20:14:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 20:14:17] Production.INFO: call_cost start
[2025-04-11 20:14:17] Production.INFO: call_cost end
[2025-04-11 20:14:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 20:14:18] Production.INFO: ============== Report Schedule START===========
[2025-04-11 20:14:18] Production.INFO: ============== Report Schedule END===========
[2025-04-11 20:14:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 20:14:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 20:14:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 20:14:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 20:14:18] Production.INFO: ============== Deal alert START===========
[2025-04-11 20:14:18] Production.INFO: ============== Deal alert END===========
[2025-04-11 20:14:18] Production.INFO: ==13225== Releasing lock...
[2025-04-11 20:14:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 20:14:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 20:14:19] Production.INFO: count ==2016
[2025-04-11 20:14:20] Production.ERROR: pbx CDR StartTime 2025-04-11 17:14:06 - End Time 2025-04-11 20:14:06
[2025-04-11 20:14:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 20:14:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886591', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:14:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886591', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:14:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886591', 'tblTempVendorCDR_20' ) start
[2025-04-11 20:14:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886591', 'tblTempVendorCDR_20' ) end
[2025-04-11 20:14:20] Production.INFO: ProcessCDR(1,14886591,1,1,2)
[2025-04-11 20:14:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886591,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:14:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886591,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:14:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886591,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:14:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886591,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:14:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886591', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:14:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886591', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:14:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 20:14:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 20:14:23] Production.INFO: ==13233== Releasing lock...
[2025-04-11 20:14:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 20:14:23] Production.INFO: 42.75 MB #Memory Used#
[2025-04-12 01:15:01] Production.INFO: ==13334== Lock acquired, processing the job...
[2025-04-12 01:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 01:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 01:15:02] Production.INFO: neon service started
[2025-04-12 01:15:02] Production.INFO: neon service started
[2025-04-12 01:15:02] Production.INFO: ==13334== Releasing lock...
[2025-04-12 01:15:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 01:15:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 20:15:02] Production.INFO: ==13336== Lock acquired, processing the job...
[2025-04-11 20:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 00:15:02] Production.INFO: ==13338== Lock acquired, processing the job...
[2025-04-12 00:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 00:15:02] Production.INFO: ==13338== Releasing lock...
[2025-04-12 00:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 00:15:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 20:15:03] Production.INFO: ==13336== Releasing lock...
[2025-04-11 20:15:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 20:15:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 20:15:03] Production.INFO: ==13341== Lock acquired, processing the job...
[2025-04-11 20:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 20:15:04] Production.INFO: ==13343== Lock acquired, processing the job...
[2025-04-11 20:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 20:15:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 20:15:04] Production.INFO: ==13351== Lock acquired, processing the job...
[2025-04-11 20:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 20:15:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 20:15:04] Production.INFO: count ==12
[2025-04-11 20:15:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 20:15:04] Production.INFO: count ==23
[2025-04-11 20:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886594') start
[2025-04-11 20:15:04] Production.INFO: ==13345== Lock acquired, processing the job...
[2025-04-11 20:15:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 20:15:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 20:15:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 20:15:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 20:15:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 20:15:04] Production.INFO: ==13347== Lock acquired, processing the job...
[2025-04-11 20:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 20:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886594') end
[2025-04-11 20:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 20:15:04] Production.INFO: 1
[2025-04-11 20:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 20:15:04] Production.INFO: ==13343== Releasing lock...
[2025-04-11 20:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 20:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 20:15:04] Production.INFO: ==13349== Lock acquired, processing the job...
[2025-04-11 20:15:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 20:15:04] Production.INFO: ==13351== Releasing lock...
[2025-04-11 20:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 20:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 20:15:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 20:15:04] Production.INFO: Account Balance Start.
[2025-04-11 20:15:04] Production.INFO: CreateAllLog Start
[2025-04-11 20:15:04] Production.INFO: 117
[2025-04-11 20:15:04] Production.INFO: Date 2025-04-08
[2025-04-11 20:15:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:15:04] Production.INFO: Date 2025-04-09
[2025-04-11 20:15:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:15:04] Production.INFO: Date 2025-04-10
[2025-04-11 20:15:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:15:04] Production.INFO: Date 2025-04-11
[2025-04-11 20:15:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:15:04] Production.INFO: Total Charge 0
[2025-04-11 20:15:04] Production.INFO: CreateAllLog End
[2025-04-11 20:15:05] Production.ERROR: done
[2025-04-11 20:15:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 20:15:05] Production.INFO: Account Balance End.
[2025-04-11 20:15:05] Production.ERROR: CronJobId end 12
[2025-04-11 20:15:05] Production.INFO: ==13347== Releasing lock...
[2025-04-11 20:15:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 20:15:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 20:15:05] Production.ERROR: done
[2025-04-11 20:15:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 17:15:06
[end_date_ymd] => 2025-04-11 20:15:06
[RateCDR] => 1
)
[2025-04-11 20:15:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 17:15:06' and `end` < '2025-04-11 20:15:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 20:15:15] Production.ERROR: CronJobId end10
[2025-04-11 20:15:15] Production.INFO: ==13345== Releasing lock...
[2025-04-11 20:15:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 20:15:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 20:15:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 20:15:16] Production.INFO: ============== Balance Warning START===========
[2025-04-11 20:15:16] Production.INFO: ============== Balance Warning END===========
[2025-04-11 20:15:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 20:15:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 20:15:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 20:15:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 20:15:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 20:15:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 20:15:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 20:15:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 20:15:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 20:15:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 20:15:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 20:15:16] Production.INFO: call_cost start
[2025-04-11 20:15:16] Production.INFO: call_cost end
[2025-04-11 20:15:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 20:15:17] Production.INFO: ============== Report Schedule START===========
[2025-04-11 20:15:17] Production.INFO: ============== Report Schedule END===========
[2025-04-11 20:15:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 20:15:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 20:15:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 20:15:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 20:15:17] Production.INFO: ============== Deal alert START===========
[2025-04-11 20:15:17] Production.INFO: ============== Deal alert END===========
[2025-04-11 20:15:17] Production.INFO: ==13341== Releasing lock...
[2025-04-11 20:15:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 20:15:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 20:15:19] Production.INFO: count ==1993
[2025-04-11 20:15:19] Production.ERROR: pbx CDR StartTime 2025-04-11 17:15:06 - End Time 2025-04-11 20:15:06
[2025-04-11 20:15:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 20:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886596', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886596', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886596', 'tblTempVendorCDR_20' ) start
[2025-04-11 20:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886596', 'tblTempVendorCDR_20' ) end
[2025-04-11 20:15:19] Production.INFO: ProcessCDR(1,14886596,1,1,2)
[2025-04-11 20:15:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886596,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:15:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886596,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:15:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886596,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:15:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886596,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:15:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886596', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:15:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886596', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:15:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 20:15:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 20:15:23] Production.INFO: ==13349== Releasing lock...
[2025-04-11 20:15:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 20:15:23] Production.INFO: 42.5 MB #Memory Used#
[2025-04-12 01:16:01] Production.INFO: ==13407== Lock acquired, processing the job...
[2025-04-12 01:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 01:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 01:16:01] Production.INFO: neon service started
[2025-04-12 01:16:01] Production.INFO: neon service started
[2025-04-12 01:16:01] Production.INFO: ==13407== Releasing lock...
[2025-04-12 01:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 01:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 20:16:01] Production.INFO: ==13409== Lock acquired, processing the job...
[2025-04-11 20:16:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 00:16:02] Production.INFO: ==13411== Lock acquired, processing the job...
[2025-04-12 00:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-11 20:16:02] Production.INFO: ==13409== Releasing lock...
[2025-04-11 20:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 20:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 00:16:02] Production.INFO: ==13411== Releasing lock...
[2025-04-12 00:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 00:16:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 20:16:03] Production.INFO: ==13420== Lock acquired, processing the job...
[2025-04-11 20:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 20:16:03] Production.INFO: ==13424== Lock acquired, processing the job...
[2025-04-11 20:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 20:16:03] Production.INFO: Account Balance Start.
[2025-04-11 20:16:03] Production.INFO: CreateAllLog Start
[2025-04-11 20:16:03] Production.INFO: 117
[2025-04-11 20:16:03] Production.INFO: Date 2025-04-08
[2025-04-11 20:16:03] Production.INFO: Reseller ==> 0
[2025-04-11 20:16:03] Production.INFO: ==13414== Lock acquired, processing the job...
[2025-04-11 20:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 20:16:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 20:16:03] Production.INFO: Date 2025-04-09
[2025-04-11 20:16:03] Production.INFO: Reseller ==> 0
[2025-04-11 20:16:03] Production.INFO: count ==12
[2025-04-11 20:16:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 20:16:03] Production.INFO: count ==23
[2025-04-11 20:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14886598') start
[2025-04-11 20:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 20:16:03] Production.INFO: Date 2025-04-10
[2025-04-11 20:16:03] Production.INFO: Reseller ==> 0
[2025-04-11 20:16:03] Production.INFO: ==13416== Lock acquired, processing the job...
[2025-04-11 20:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 20:16:03] Production.INFO: Date 2025-04-11
[2025-04-11 20:16:03] Production.INFO: ==13422== Lock acquired, processing the job...
[2025-04-11 20:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 20:16:03] Production.INFO: Reseller ==> 0
[2025-04-11 20:16:03] Production.INFO: ==13418== Lock acquired, processing the job...
[2025-04-11 20:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 20:16:03] Production.INFO: Total Charge 0
[2025-04-11 20:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14886598') end
[2025-04-11 20:16:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 20:16:03] Production.INFO: 1
[2025-04-11 20:16:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 20:16:03] Production.INFO: CreateAllLog End
[2025-04-11 20:16:03] Production.INFO: ==13424== Releasing lock...
[2025-04-11 20:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 20:16:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 20:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 20:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 20:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 20:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 20:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 20:16:04] Production.INFO: ==13416== Releasing lock...
[2025-04-11 20:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 20:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 20:16:04] Production.ERROR: done
[2025-04-11 20:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 20:16:04] Production.INFO: Account Balance End.
[2025-04-11 20:16:04] Production.ERROR: CronJobId end 12
[2025-04-11 20:16:04] Production.INFO: ==13420== Releasing lock...
[2025-04-11 20:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 20:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 20:16:04] Production.ERROR: done
[2025-04-11 20:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 17:16:05
[end_date_ymd] => 2025-04-11 20:16:05
[RateCDR] => 1
)
[2025-04-11 20:16:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 17:16:05' and `end` < '2025-04-11 20:16:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 20:16:12] Production.ERROR: CronJobId end10
[2025-04-11 20:16:12] Production.INFO: ==13418== Releasing lock...
[2025-04-11 20:16:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 20:16:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 20:16:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 20:16:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 20:16:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 20:16:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 20:16:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 20:16:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 20:16:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 20:16:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 20:16:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 20:16:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 20:16:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 20:16:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 20:16:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 20:16:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 20:16:15] Production.INFO: call_cost start
[2025-04-11 20:16:15] Production.INFO: call_cost end
[2025-04-11 20:16:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 20:16:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 20:16:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 20:16:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 20:16:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 20:16:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 20:16:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 20:16:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 20:16:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 20:16:16] Production.INFO: ==13414== Releasing lock...
[2025-04-11 20:16:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 20:16:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 20:16:18] Production.INFO: count ==1992
[2025-04-11 20:16:18] Production.ERROR: pbx CDR StartTime 2025-04-11 17:16:05 - End Time 2025-04-11 20:16:05
[2025-04-11 20:16:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 20:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886601', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886601', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886601', 'tblTempVendorCDR_20' ) start
[2025-04-11 20:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886601', 'tblTempVendorCDR_20' ) end
[2025-04-11 20:16:19] Production.INFO: ProcessCDR(1,14886601,1,1,2)
[2025-04-11 20:16:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886601,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:16:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886601,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:16:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886601,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:16:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886601,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886601', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886601', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:16:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 20:16:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 20:16:22] Production.INFO: ==13422== Releasing lock...
[2025-04-11 20:16:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 20:16:22] Production.INFO: 42.5 MB #Memory Used#
[2025-04-12 01:17:02] Production.INFO: ==13484== Lock acquired, processing the job...
[2025-04-12 01:17:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 01:17:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 01:17:02] Production.INFO: neon service started
[2025-04-12 01:17:02] Production.INFO: neon service started
[2025-04-12 01:17:02] Production.INFO: ==13484== Releasing lock...
[2025-04-12 01:17:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 01:17:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 20:17:02] Production.INFO: ==13486== Lock acquired, processing the job...
[2025-04-11 20:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 20:17:02] Production.INFO: ==13486== Releasing lock...
[2025-04-11 20:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 20:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 00:17:02] Production.INFO: ==13488== Lock acquired, processing the job...
[2025-04-12 00:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 00:17:03] Production.INFO: ==13488== Releasing lock...
[2025-04-12 00:17:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 00:17:03] Production.INFO: 25 MB #Memory Used#
[2025-04-11 20:17:03] Production.INFO: ==13497== Lock acquired, processing the job...
[2025-04-11 20:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 20:17:03] Production.INFO: ==13501== Lock acquired, processing the job...
[2025-04-11 20:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 20:17:04] Production.INFO: ==13491== Lock acquired, processing the job...
[2025-04-11 20:17:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 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-11 20:17:04] Production.INFO: Account Balance Start.
[2025-04-11 20:17:04] Production.INFO: CreateAllLog Start
[2025-04-11 20:17:04] Production.INFO: ==13493== Lock acquired, processing the job...
[2025-04-11 20:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 20:17:04] Production.INFO: 117
[2025-04-11 20:17:04] Production.INFO: ==13495== Lock acquired, processing the job...
[2025-04-11 20:17:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 20:17:04] Production.INFO: Date 2025-04-08
[2025-04-11 20:17:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:17:04] Production.INFO: count ==12
[2025-04-11 20:17:04] Production.INFO: ==13499== Lock acquired, processing the job...
[2025-04-11 20:17:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 20:17:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 20:17:04] Production.INFO: count ==23
[2025-04-11 20:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886602') start
[2025-04-11 20:17:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 20:17:04] Production.INFO: Date 2025-04-09
[2025-04-11 20:17:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:17:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 20:17:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 20:17:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 20:17:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 20:17:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 20:17:04] Production.INFO: Date 2025-04-10
[2025-04-11 20:17:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886602') end
[2025-04-11 20:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 20:17:04] Production.INFO: 1
[2025-04-11 20:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 20:17:04] Production.INFO: Date 2025-04-11
[2025-04-11 20:17:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:17:04] Production.INFO: Total Charge 0
[2025-04-11 20:17:04] Production.INFO: CreateAllLog End
[2025-04-11 20:17:04] Production.INFO: ==13501== Releasing lock...
[2025-04-11 20:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 20:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 20:17:04] Production.INFO: ==13493== Releasing lock...
[2025-04-11 20:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 20:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 20:17:04] Production.INFO: Account Balance End.
[2025-04-11 20:17:04] Production.ERROR: done
[2025-04-11 20:17:04] Production.ERROR: CronJobId end 12
[2025-04-11 20:17:04] Production.INFO: ==13497== Releasing lock...
[2025-04-11 20:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 20:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 20:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 20:17:04] Production.ERROR: done
[2025-04-11 20:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 17:17:05
[end_date_ymd] => 2025-04-11 20:17:05
[RateCDR] => 1
)
[2025-04-11 20:17:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 17:17:05' and `end` < '2025-04-11 20:17:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 20:17:13] Production.ERROR: CronJobId end10
[2025-04-11 20:17:13] Production.INFO: ==13495== Releasing lock...
[2025-04-11 20:17:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 20:17:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 20:17:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 20:17:16] Production.INFO: ============== Balance Warning START===========
[2025-04-11 20:17:16] Production.INFO: ============== Balance Warning END===========
[2025-04-11 20:17:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 20:17:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 20:17:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 20:17:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 20:17:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 20:17:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 20:17:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 20:17:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 20:17:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 20:17:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 20:17:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 20:17:17] Production.INFO: call_cost start
[2025-04-11 20:17:17] Production.INFO: call_cost end
[2025-04-11 20:17:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 20:17:18] Production.INFO: ============== Report Schedule START===========
[2025-04-11 20:17:18] Production.INFO: ============== Report Schedule END===========
[2025-04-11 20:17:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 20:17:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 20:17:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 20:17:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 20:17:18] Production.INFO: ============== Deal alert START===========
[2025-04-11 20:17:18] Production.INFO: ============== Deal alert END===========
[2025-04-11 20:17:18] Production.INFO: ==13491== Releasing lock...
[2025-04-11 20:17:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 20:17:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 20:17:18] Production.INFO: count ==1992
[2025-04-11 20:17:19] Production.ERROR: pbx CDR StartTime 2025-04-11 17:17:05 - End Time 2025-04-11 20:17:05
[2025-04-11 20:17:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 20:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886606', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886606', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886606', 'tblTempVendorCDR_20' ) start
[2025-04-11 20:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886606', 'tblTempVendorCDR_20' ) end
[2025-04-11 20:17:19] Production.INFO: ProcessCDR(1,14886606,1,1,2)
[2025-04-11 20:17:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886606,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:17:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886606,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:17:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886606,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:17:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886606,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:17:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886606', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:17:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886606', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:17:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 20:17:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 20:17:24] Production.INFO: ==13499== Releasing lock...
[2025-04-11 20:17:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 20:17:24] Production.INFO: 42.75 MB #Memory Used#
[2025-04-12 01:18:01] Production.INFO: ==13559== Lock acquired, processing the job...
[2025-04-12 01:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 01:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 01:18:01] Production.INFO: neon service started
[2025-04-12 01:18:01] Production.INFO: neon service started
[2025-04-12 01:18:01] Production.INFO: ==13559== Releasing lock...
[2025-04-12 01:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 01:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 20:18:01] Production.INFO: ==13562== Lock acquired, processing the job...
[2025-04-11 20:18:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 20:18:02] Production.INFO: ==13562== Releasing lock...
[2025-04-11 20:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 20:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 00:18:02] Production.INFO: ==13564== Lock acquired, processing the job...
[2025-04-12 00:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 00:18:02] Production.INFO: ==13564== Releasing lock...
[2025-04-12 00:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 00:18:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 20:18:03] Production.INFO: ==13572== Lock acquired, processing the job...
[2025-04-11 20:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 20:18:03] Production.INFO: Account Balance Start.
[2025-04-11 20:18:03] Production.INFO: CreateAllLog Start
[2025-04-11 20:18:03] Production.INFO: 117
[2025-04-11 20:18:03] Production.INFO: Date 2025-04-08
[2025-04-11 20:18:03] Production.INFO: ==13576== Lock acquired, processing the job...
[2025-04-11 20:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 20:18:03] Production.INFO: Reseller ==> 0
[2025-04-11 20:18:03] Production.INFO: Date 2025-04-09
[2025-04-11 20:18:03] Production.INFO: Reseller ==> 0
[2025-04-11 20:18:03] Production.INFO: Date 2025-04-10
[2025-04-11 20:18:03] Production.INFO: Reseller ==> 0
[2025-04-11 20:18:03] Production.INFO: Date 2025-04-11
[2025-04-11 20:18:03] Production.INFO: Reseller ==> 0
[2025-04-11 20:18:03] Production.INFO: ==13566== Lock acquired, processing the job...
[2025-04-11 20:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 20:18:03] Production.INFO: Total Charge 0
[2025-04-11 20:18:03] Production.INFO: CreateAllLog End
[2025-04-11 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-11 20:18:03] Production.INFO: ==13568== Lock acquired, processing the job...
[2025-04-11 20:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 20:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 20:18:03] Production.INFO: ==13570== Lock acquired, processing the job...
[2025-04-11 20:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 20:18:03] Production.INFO: Account Balance End.
[2025-04-11 20:18:03] Production.INFO: count ==12
[2025-04-11 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-11 20:18:03] Production.INFO: count ==23
[2025-04-11 20:18:03] Production.ERROR: CronJobId end 12
[2025-04-11 20:18:03] Production.INFO: ==13572== Releasing lock...
[2025-04-11 20:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 20:18:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 20:18:03] Production.INFO: ==13574== Lock acquired, processing the job...
[2025-04-11 20:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 20:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14886608') start
[2025-04-11 20:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 20:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 20:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 20:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 20:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 20:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886608') end
[2025-04-11 20:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 20:18:04] Production.INFO: 1
[2025-04-11 20:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 20:18:04] Production.INFO: ==13576== Releasing lock...
[2025-04-11 20:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 20:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 20:18:04] Production.INFO: ==13568== Releasing lock...
[2025-04-11 20:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 20:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 20:18:04] Production.ERROR: done
[2025-04-11 20:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 20:18:04] Production.ERROR: done
[2025-04-11 20:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 17:18:05
[end_date_ymd] => 2025-04-11 20:18:05
[RateCDR] => 1
)
[2025-04-11 20:18:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 17:18:05' and `end` < '2025-04-11 20:18:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 20:18:12] Production.ERROR: CronJobId end10
[2025-04-11 20:18:12] Production.INFO: ==13570== Releasing lock...
[2025-04-11 20:18:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 20:18:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 20:18:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 20:18:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 20:18:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 20:18:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 20:18:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 20:18:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 20:18:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 20:18:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 20:18:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 20:18:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 20:18:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 20:18:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 20:18:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 20:18:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 20:18:15] Production.INFO: call_cost start
[2025-04-11 20:18:15] Production.INFO: call_cost end
[2025-04-11 20:18:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 20:18:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 20:18:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 20:18:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 20:18:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 20:18:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 20:18:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 20:18:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 20:18:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 20:18:16] Production.INFO: ==13566== Releasing lock...
[2025-04-11 20:18:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 20:18:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 20:18:18] Production.INFO: count ==1988
[2025-04-11 20:18:18] Production.ERROR: pbx CDR StartTime 2025-04-11 17:18:05 - End Time 2025-04-11 20:18:05
[2025-04-11 20:18:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 20:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886611', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886611', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886611', 'tblTempVendorCDR_20' ) start
[2025-04-11 20:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886611', 'tblTempVendorCDR_20' ) end
[2025-04-11 20:18:18] Production.INFO: ProcessCDR(1,14886611,1,1,2)
[2025-04-11 20:18:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886611,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:18:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886611,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:18:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886611,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:18:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886611,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:18:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886611', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:18:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886611', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:18:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 20:18:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 20:18:24] Production.INFO: ==13574== Releasing lock...
[2025-04-11 20:18:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 20:18:24] Production.INFO: 42.5 MB #Memory Used#
[2025-04-12 01:19:02] Production.INFO: ==13631== Lock acquired, processing the job...
[2025-04-12 01:19:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 01:19:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 01:19:02] Production.INFO: neon service started
[2025-04-12 01:19:02] Production.INFO: neon service started
[2025-04-12 01:19:02] Production.INFO: ==13631== Releasing lock...
[2025-04-12 01:19:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 01:19:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 20:19:02] Production.INFO: ==13633== Lock acquired, processing the job...
[2025-04-11 20:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 20:19:02] Production.INFO: ==13633== Releasing lock...
[2025-04-11 20:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 20:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 00:19:02] Production.INFO: ==13635== Lock acquired, processing the job...
[2025-04-12 00:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 00:19:03] Production.INFO: ==13635== Releasing lock...
[2025-04-12 00:19:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 00:19:03] Production.INFO: 25 MB #Memory Used#
[2025-04-11 20:19:03] Production.INFO: ==13638== Lock acquired, processing the job...
[2025-04-11 20:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 20:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 20:19:03] Production.INFO: ==13640== Lock acquired, processing the job...
[2025-04-11 20:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 20:19:04] Production.INFO: ==13642== Lock acquired, processing the job...
[2025-04-11 20:19:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 20:19:04] Production.INFO: ==13646== Lock acquired, processing the job...
[2025-04-11 20:19:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 20:19:04] Production.INFO: ==13644== Lock acquired, processing the job...
[2025-04-11 20:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 20:19:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 20:19:04] Production.INFO: ==13648== Lock acquired, processing the job...
[2025-04-11 20:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 20:19:04] Production.INFO: Account Balance Start.
[2025-04-11 20:19:04] Production.INFO: CreateAllLog Start
[2025-04-11 20:19:04] Production.INFO: 117
[2025-04-11 20:19:04] Production.INFO: Date 2025-04-08
[2025-04-11 20:19:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:19:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 20:19:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 20:19:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 20:19:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 20:19:04] Production.INFO: Date 2025-04-09
[2025-04-11 20:19:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:19:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 20:19:04] Production.INFO: count ==12
[2025-04-11 20:19:04] Production.INFO: Date 2025-04-10
[2025-04-11 20:19:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 20:19:04] Production.INFO: count ==23
[2025-04-11 20:19:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:19:04] Production.INFO: ==13640== Releasing lock...
[2025-04-11 20:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 20:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 20:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886615') start
[2025-04-11 20:19:04] Production.ERROR: done
[2025-04-11 20:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 20:19:04] Production.INFO: Date 2025-04-11
[2025-04-11 20:19:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:19:04] Production.INFO: Total Charge 0
[2025-04-11 20:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886615') end
[2025-04-11 20:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 20:19:04] Production.INFO: 1
[2025-04-11 20:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 20:19:04] Production.INFO: CreateAllLog End
[2025-04-11 20:19:04] Production.INFO: ==13648== Releasing lock...
[2025-04-11 20:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 20:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 20:19:04] Production.ERROR: done
[2025-04-11 20:19:05] Production.INFO: Account Balance End.
[2025-04-11 20:19:05] Production.ERROR: CronJobId end 12
[2025-04-11 20:19:05] Production.INFO: ==13644== Releasing lock...
[2025-04-11 20:19:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 20:19:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 20:19:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 17:19:06
[end_date_ymd] => 2025-04-11 20:19:06
[RateCDR] => 1
)
[2025-04-11 20:19:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 17:19:06' and `end` < '2025-04-11 20:19:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 20:19:14] Production.ERROR: CronJobId end10
[2025-04-11 20:19:14] Production.INFO: ==13642== Releasing lock...
[2025-04-11 20:19:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 20:19:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 20:19:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 20:19:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 20:19:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 20:19:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 20:19:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 20:19:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 20:19:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 20:19:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 20:19:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 20:19:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 20:19:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 20:19:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 20:19:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 20:19:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 20:19:15] Production.INFO: call_cost start
[2025-04-11 20:19:15] Production.INFO: call_cost end
[2025-04-11 20:19:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 20:19:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 20:19:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 20:19:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 20:19:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 20:19:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 20:19:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 20:19:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 20:19:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 20:19:16] Production.INFO: ==13638== Releasing lock...
[2025-04-11 20:19:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 20:19:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 20:19:19] Production.INFO: count ==1989
[2025-04-11 20:19:19] Production.ERROR: pbx CDR StartTime 2025-04-11 17:19:06 - End Time 2025-04-11 20:19:06
[2025-04-11 20:19:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 20:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886616', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886616', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886616', 'tblTempVendorCDR_20' ) start
[2025-04-11 20:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886616', 'tblTempVendorCDR_20' ) end
[2025-04-11 20:19:19] Production.INFO: ProcessCDR(1,14886616,1,1,2)
[2025-04-11 20:19:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886616,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:19:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886616,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:19:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886616,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:19:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886616,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:19:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886616', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:19:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886616', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:19:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 20:19:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 20:19:23] Production.INFO: ==13646== Releasing lock...
[2025-04-11 20:19:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 20:19:23] Production.INFO: 42.5 MB #Memory Used#
[2025-04-12 01:20:01] Production.INFO: ==13703== Lock acquired, processing the job...
[2025-04-12 01:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 01:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 01:20:01] Production.INFO: neon service started
[2025-04-12 01:20:01] Production.INFO: neon service started
[2025-04-12 01:20:01] Production.INFO: ==13703== Releasing lock...
[2025-04-12 01:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 01:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 00:20:01] Production.INFO: ==13708== Lock acquired, processing the job...
[2025-04-12 00:20:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 00:20:02] Production.INFO: ==13708== Releasing lock...
[2025-04-12 00:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 00:20:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 20:20:02] Production.INFO: ==13706== Lock acquired, processing the job...
[2025-04-11 20:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 20:20:02] Production.INFO: ==13706== Releasing lock...
[2025-04-11 20:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 20:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 20:20:03] Production.INFO: ==13710== Lock acquired, processing the job...
[2025-04-11 20:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-11 20:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-11 20:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-04-11 20:20:03] Production.INFO: ==13710== Releasing lock...
[2025-04-11 20:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-11 20:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-04-11 20:20:03] Production.INFO: ==13720== Lock acquired, processing the job...
[2025-04-11 20:20:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 20:20:03] Production.INFO: ==13722== Lock acquired, processing the job...
[2025-04-11 20:20:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-11 20:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 20:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 20:20:04] Production.INFO: ==13712== Lock acquired, processing the job...
[2025-04-11 20:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 20:20:04] Production.INFO: ==13714== Lock acquired, processing the job...
[2025-04-11 20:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 20:20:04] Production.INFO: ==13716== Lock acquired, processing the job...
[2025-04-11 20:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 20:20:04] Production.INFO: ==13718== Lock acquired, processing the job...
[2025-04-11 20:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 20:20:04] Production.INFO: ==13724== Lock acquired, processing the job...
[2025-04-11 20:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 20:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 20:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 20:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 20:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 20:20:04] Production.INFO: Account Balance Start.
[2025-04-11 20:20:04] Production.INFO: CreateAllLog Start
[2025-04-11 20:20:04] Production.INFO: 117
[2025-04-11 20:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 20:20:04] Production.INFO: Date 2025-04-08
[2025-04-11 20:20:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:20:04] Production.INFO: Date 2025-04-09
[2025-04-11 20:20:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:20:04] Production.INFO: Date 2025-04-10
[2025-04-11 20:20:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:20:04] Production.ERROR: done
[2025-04-11 20:20:04] Production.ERROR: done
[2025-04-11 20:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 20:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 20:20:04] Production.INFO: count ==12
[2025-04-11 20:20:04] Production.INFO: Date 2025-04-11
[2025-04-11 20:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-11 20:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14886621', 'tblTempUsageDetail_20reseller','2025-04-11','2025-04-11','1' ) start
[2025-04-11 20:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 20:20:04] Production.INFO: count ==23
[2025-04-11 20:20:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886620') start
[2025-04-11 20:20:04] Production.INFO: Total Charge 0
[2025-04-11 20:20:04] Production.INFO: CreateAllLog End
[2025-04-11 20:20:04] Production.ERROR: done
[2025-04-11 20:20:04] Production.INFO: ==13714== Releasing lock...
[2025-04-11 20:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 20:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 20:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886620') end
[2025-04-11 20:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 20:20:04] Production.INFO: 1
[2025-04-11 20:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 20:20:04] Production.INFO: Account Balance End.
[2025-04-11 20:20:05] Production.INFO: ==13724== Releasing lock...
[2025-04-11 20:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 20:20:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 20:20:05] Production.ERROR: CronJobId end 12
[2025-04-11 20:20:05] Production.INFO: ==13718== Releasing lock...
[2025-04-11 20:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 20:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 20:20:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 17:20:05
[end_date_ymd] => 2025-04-11 20:20:05
[RateCDR] => 1
)
[2025-04-11 20:20:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 17:20:05' and `end` < '2025-04-11 20:20:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 20:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14886621', 'tblTempUsageDetail_20reseller','2025-04-11','2025-04-11','1' ) end
[2025-04-11 20:20:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-11 20:20:09] Production.INFO: ProcessCDR(1,14886621,1,1,2)
[2025-04-11 20:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14886621,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14886621,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:20:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 20:20:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 20:20:10] Production.INFO: ==13722== Releasing lock...
[2025-04-11 20:20:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-11 20:20:10] Production.INFO: 26 MB #Memory Used#
[2025-04-11 20:20:15] Production.ERROR: CronJobId end10
[2025-04-11 20:20:15] Production.INFO: ==13716== Releasing lock...
[2025-04-11 20:20:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 20:20:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 20:20:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 20:20:17] Production.INFO: ============== Balance Warning START===========
[2025-04-11 20:20:17] Production.INFO: ============== Balance Warning END===========
[2025-04-11 20:20:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 20:20:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 20:20:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 20:20:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 20:20:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 20:20:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 20:20:17] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 20:20:17] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 20:20:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 20:20:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 20:20:17] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 20:20:17] Production.INFO: call_cost start
[2025-04-11 20:20:17] Production.INFO: call_cost end
[2025-04-11 20:20:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 20:20:18] Production.INFO: ============== Report Schedule START===========
[2025-04-11 20:20:18] Production.INFO: ============== Report Schedule END===========
[2025-04-11 20:20:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 20:20:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 20:20:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 20:20:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 20:20:18] Production.INFO: ============== Deal alert START===========
[2025-04-11 20:20:18] Production.INFO: ============== Deal alert END===========
[2025-04-11 20:20:18] Production.INFO: ==13712== Releasing lock...
[2025-04-11 20:20:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 20:20:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 20:20:19] Production.INFO: count ==1988
[2025-04-11 20:20:19] Production.ERROR: pbx CDR StartTime 2025-04-11 17:20:05 - End Time 2025-04-11 20:20:05
[2025-04-11 20:20:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 20:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886622', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886622', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886622', 'tblTempVendorCDR_20' ) start
[2025-04-11 20:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886622', 'tblTempVendorCDR_20' ) end
[2025-04-11 20:20:19] Production.INFO: ProcessCDR(1,14886622,1,1,2)
[2025-04-11 20:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886622,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:20:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886622,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:20:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886622,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:20:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886622,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886622', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886622', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:20:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 20:20:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 20:20:23] Production.INFO: ==13720== Releasing lock...
[2025-04-11 20:20:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 20:20:23] Production.INFO: 42.5 MB #Memory Used#
[2025-04-12 01:21:02] Production.INFO: ==13779== Lock acquired, processing the job...
[2025-04-12 01:21:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 01:21:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 01:21:02] Production.INFO: neon service started
[2025-04-12 01:21:02] Production.INFO: neon service started
[2025-04-12 01:21:02] Production.INFO: ==13779== Releasing lock...
[2025-04-12 01:21:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 01:21:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 20:21:02] Production.INFO: ==13781== Lock acquired, processing the job...
[2025-04-11 20:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 00:21:02] Production.INFO: ==13783== Lock acquired, processing the job...
[2025-04-12 00:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 00:21:02] Production.INFO: ==13783== Releasing lock...
[2025-04-12 00:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 00:21:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 20:21:03] Production.INFO: ==13781== Releasing lock...
[2025-04-11 20:21:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 20:21:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 20:21:04] Production.INFO: ==13786== Lock acquired, processing the job...
[2025-04-11 20:21:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 20:21:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 20:21:04] Production.INFO: ==13790== Lock acquired, processing the job...
[2025-04-11 20:21:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 20:21:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 20:21:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 20:21:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 20:21:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 20:21:04] Production.INFO: ==13796== Lock acquired, processing the job...
[2025-04-11 20:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 20:21:04] Production.INFO: ==13788== Lock acquired, processing the job...
[2025-04-11 20:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 20:21:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 20:21:04] Production.INFO: ==13792== Lock acquired, processing the job...
[2025-04-11 20:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 20:21:04] Production.INFO: count ==12
[2025-04-11 20:21:04] Production.INFO: ==13794== Lock acquired, processing the job...
[2025-04-11 20:21:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 20:21:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 20:21:04] Production.INFO: count ==23
[2025-04-11 20:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886624') start
[2025-04-11 20:21:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 20:21:04] Production.INFO: Account Balance Start.
[2025-04-11 20:21:04] Production.INFO: CreateAllLog Start
[2025-04-11 20:21:04] Production.INFO: 117
[2025-04-11 20:21:04] Production.INFO: Date 2025-04-08
[2025-04-11 20:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886624') end
[2025-04-11 20:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 20:21:04] Production.INFO: 1
[2025-04-11 20:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 20:21:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:21:04] Production.INFO: Date 2025-04-09
[2025-04-11 20:21:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:21:04] Production.INFO: Date 2025-04-10
[2025-04-11 20:21:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:21:05] Production.INFO: Date 2025-04-11
[2025-04-11 20:21:05] Production.INFO: Reseller ==> 0
[2025-04-11 20:21:05] Production.INFO: ==13796== Releasing lock...
[2025-04-11 20:21:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 20:21:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 20:21:05] Production.INFO: Total Charge 0
[2025-04-11 20:21:05] Production.INFO: ==13788== Releasing lock...
[2025-04-11 20:21:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 20:21:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 20:21:05] Production.INFO: CreateAllLog End
[2025-04-11 20:21:05] Production.ERROR: done
[2025-04-11 20:21:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 20:21:05] Production.INFO: Account Balance End.
[2025-04-11 20:21:05] Production.ERROR: done
[2025-04-11 20:21:05] Production.ERROR: CronJobId end 12
[2025-04-11 20:21:05] Production.INFO: ==13792== Releasing lock...
[2025-04-11 20:21:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 20:21:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 20:21:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 17:21:06
[end_date_ymd] => 2025-04-11 20:21:06
[RateCDR] => 1
)
[2025-04-11 20:21:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 17:21:06' and `end` < '2025-04-11 20: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-11 20:21:14] Production.ERROR: CronJobId end10
[2025-04-11 20:21:14] Production.INFO: ==13790== Releasing lock...
[2025-04-11 20:21:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 20:21:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 20:21:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 20:21:16] Production.INFO: ============== Balance Warning START===========
[2025-04-11 20:21:16] Production.INFO: ============== Balance Warning END===========
[2025-04-11 20:21:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 20:21:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 20:21:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 20:21:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 20:21:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 20:21:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 20:21:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 20:21:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 20:21:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 20:21:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 20:21:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 20:21:16] Production.INFO: call_cost start
[2025-04-11 20:21:16] Production.INFO: call_cost end
[2025-04-11 20:21:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 20:21:17] Production.INFO: ============== Report Schedule START===========
[2025-04-11 20:21:17] Production.INFO: ============== Report Schedule END===========
[2025-04-11 20:21:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 20:21:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 20:21:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 20:21:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 20:21:17] Production.INFO: ============== Deal alert START===========
[2025-04-11 20:21:17] Production.INFO: ============== Deal alert END===========
[2025-04-11 20:21:17] Production.INFO: ==13786== Releasing lock...
[2025-04-11 20:21:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 20:21:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 20:21:19] Production.INFO: count ==1940
[2025-04-11 20:21:20] Production.ERROR: pbx CDR StartTime 2025-04-11 17:21:06 - End Time 2025-04-11 20:21:06
[2025-04-11 20:21:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 20:21:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886627', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:21:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886627', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:21:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886627', 'tblTempVendorCDR_20' ) start
[2025-04-11 20:21:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886627', 'tblTempVendorCDR_20' ) end
[2025-04-11 20:21:20] Production.INFO: ProcessCDR(1,14886627,1,1,2)
[2025-04-11 20:21:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886627,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:21:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886627,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:21:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886627,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:21:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886627,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:21:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886627', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:21:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886627', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:21:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 20:21:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 20:21:25] Production.INFO: ==13794== Releasing lock...
[2025-04-11 20:21:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 20:21:25] Production.INFO: 42 MB #Memory Used#
[2025-04-12 01:22:01] Production.INFO: ==13850== Lock acquired, processing the job...
[2025-04-12 01:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 01:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 01:22:01] Production.INFO: neon service started
[2025-04-12 01:22:01] Production.INFO: neon service started
[2025-04-12 01:22:01] Production.INFO: ==13850== Releasing lock...
[2025-04-12 01:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 01:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 00:22:02] Production.INFO: ==13854== Lock acquired, processing the job...
[2025-04-12 00:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 00:22:02] Production.INFO: ==13854== Releasing lock...
[2025-04-12 00:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 00:22:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 20:22:02] Production.INFO: ==13852== Lock acquired, processing the job...
[2025-04-11 20:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 20:22:02] Production.INFO: ==13852== Releasing lock...
[2025-04-11 20:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 20:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 20:22:03] Production.INFO: ==13863== Lock acquired, processing the job...
[2025-04-11 20:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 20:22:03] Production.INFO: ==13867== Lock acquired, processing the job...
[2025-04-11 20:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 20:22:03] Production.INFO: ==13857== Lock acquired, processing the job...
[2025-04-11 20:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 20:22:03] Production.INFO: Account Balance Start.
[2025-04-11 20:22:03] Production.INFO: CreateAllLog Start
[2025-04-11 20:22:03] Production.INFO: 117
[2025-04-11 20:22:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 20:22:03] Production.INFO: Date 2025-04-08
[2025-04-11 20:22:03] Production.INFO: count ==12
[2025-04-11 20:22:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 20:22:03] Production.INFO: Reseller ==> 0
[2025-04-11 20:22:03] Production.INFO: ==13859== Lock acquired, processing the job...
[2025-04-11 20:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 20:22:04] Production.INFO: count ==23
[2025-04-11 20:22:04] Production.INFO: ==13861== Lock acquired, processing the job...
[2025-04-11 20:22:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 20:22:04] Production.INFO: ==13865== Lock acquired, processing the job...
[2025-04-11 20:22:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 20:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886628') start
[2025-04-11 20:22:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 20:22:04] Production.INFO: Date 2025-04-09
[2025-04-11 20:22:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:22:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 20:22:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 20:22:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 20:22:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 20:22:04] Production.INFO: Date 2025-04-10
[2025-04-11 20:22:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:22:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 20:22:04] Production.INFO: Date 2025-04-11
[2025-04-11 20:22:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886628') end
[2025-04-11 20:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 20:22:04] Production.INFO: 1
[2025-04-11 20:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 20:22:04] Production.INFO: Total Charge 0
[2025-04-11 20:22:04] Production.INFO: CreateAllLog End
[2025-04-11 20:22:04] Production.INFO: ==13867== Releasing lock...
[2025-04-11 20:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 20:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 20:22:04] Production.ERROR: done
[2025-04-11 20:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 20:22:04] Production.INFO: ==13859== Releasing lock...
[2025-04-11 20:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 20:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 20:22:04] Production.ERROR: done
[2025-04-11 20:22:04] Production.INFO: Account Balance End.
[2025-04-11 20:22:04] Production.ERROR: CronJobId end 12
[2025-04-11 20:22:04] Production.INFO: ==13863== Releasing lock...
[2025-04-11 20:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 20:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 20:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 17:22:05
[end_date_ymd] => 2025-04-11 20:22:05
[RateCDR] => 1
)
[2025-04-11 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-11 17:22:05' and `end` < '2025-04-11 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-11 20:22:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 20:22:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 20:22:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 20:22:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 20:22:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 20:22:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 20:22:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 20:22:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 20:22:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 20:22:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 20:22:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 20:22:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 20:22:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 20:22:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 20:22:14] Production.ERROR: CronJobId end10
[2025-04-11 20:22:14] Production.INFO: ==13861== Releasing lock...
[2025-04-11 20:22:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 20:22:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 20:22:15] Production.INFO: call_cost start
[2025-04-11 20:22:15] Production.INFO: call_cost end
[2025-04-11 20:22:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 20:22:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 20:22:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 20:22:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 20:22:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 20:22:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 20:22:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 20:22:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 20:22:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 20:22:16] Production.INFO: ==13857== Releasing lock...
[2025-04-11 20:22:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 20:22:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 20:22:18] Production.INFO: count ==1938
[2025-04-11 20:22:19] Production.ERROR: pbx CDR StartTime 2025-04-11 17:22:05 - End Time 2025-04-11 20:22:05
[2025-04-11 20:22:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 20:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886632', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886632', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886632', 'tblTempVendorCDR_20' ) start
[2025-04-11 20:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886632', 'tblTempVendorCDR_20' ) end
[2025-04-11 20:22:19] Production.INFO: ProcessCDR(1,14886632,1,1,2)
[2025-04-11 20:22:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886632,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:22:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886632,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:22:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886632,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:22:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886632,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:22:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886632', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:22:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886632', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:22:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 20:22:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 20:22:24] Production.INFO: ==13865== Releasing lock...
[2025-04-11 20:22:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 20:22:24] Production.INFO: 42 MB #Memory Used#
[2025-04-12 01:23:02] Production.INFO: ==13922== Lock acquired, processing the job...
[2025-04-12 01:23:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 01:23:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 01:23:02] Production.INFO: neon service started
[2025-04-12 01:23:02] Production.INFO: neon service started
[2025-04-12 01:23:02] Production.INFO: ==13922== Releasing lock...
[2025-04-12 01:23:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 01:23:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 00:23:02] Production.INFO: ==13926== Lock acquired, processing the job...
[2025-04-12 00:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 00:23:02] Production.INFO: ==13926== Releasing lock...
[2025-04-12 00:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 00:23:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 20:23:02] Production.INFO: ==13924== Lock acquired, processing the job...
[2025-04-11 20:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 20:23:03] Production.INFO: ==13924== Releasing lock...
[2025-04-11 20:23:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 20:23:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 20:23:03] Production.INFO: ==13932== Lock acquired, processing the job...
[2025-04-11 20:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 20:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 20:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 20:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 20:23:04] Production.INFO: ==13939== Lock acquired, processing the job...
[2025-04-11 20:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 20:23:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 20:23:04] Production.INFO: ==13930== Lock acquired, processing the job...
[2025-04-11 20:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 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-11 20:23:04] Production.INFO: ==13928== Lock acquired, processing the job...
[2025-04-11 20:23:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 20:23:04] Production.INFO: ==13934== Lock acquired, processing the job...
[2025-04-11 20:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 20:23:04] Production.INFO: count ==12
[2025-04-11 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-11 20:23:04] Production.INFO: ==13936== Lock acquired, processing the job...
[2025-04-11 20:23:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 20:23:04] Production.INFO: count ==23
[2025-04-11 20:23:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 20:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886633') start
[2025-04-11 20:23:04] Production.INFO: Account Balance Start.
[2025-04-11 20:23:04] Production.INFO: CreateAllLog Start
[2025-04-11 20:23:04] Production.INFO: 117
[2025-04-11 20:23:04] Production.INFO: Date 2025-04-08
[2025-04-11 20:23:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:23:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 20:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886633') end
[2025-04-11 20:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 20:23:04] Production.INFO: 1
[2025-04-11 20:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 20:23:04] Production.INFO: Date 2025-04-09
[2025-04-11 20:23:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:23:04] Production.INFO: Date 2025-04-10
[2025-04-11 20:23:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:23:04] Production.INFO: Date 2025-04-11
[2025-04-11 20:23:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:23:04] Production.INFO: ==13939== Releasing lock...
[2025-04-11 20:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 20:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 20:23:04] Production.INFO: Total Charge 0
[2025-04-11 20:23:04] Production.INFO: CreateAllLog End
[2025-04-11 20:23:04] Production.INFO: ==13930== Releasing lock...
[2025-04-11 20:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 20:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 20:23:04] Production.ERROR: done
[2025-04-11 20:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 20:23:04] Production.INFO: Account Balance End.
[2025-04-11 20:23:04] Production.ERROR: done
[2025-04-11 20:23:05] Production.ERROR: CronJobId end 12
[2025-04-11 20:23:05] Production.INFO: ==13934== Releasing lock...
[2025-04-11 20:23:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 20:23:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 20:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 17:23:05
[end_date_ymd] => 2025-04-11 20:23:05
[RateCDR] => 1
)
[2025-04-11 20:23:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 17:23:05' and `end` < '2025-04-11 20:23:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 20:23:13] Production.ERROR: CronJobId end10
[2025-04-11 20:23:13] Production.INFO: ==13932== Releasing lock...
[2025-04-11 20:23:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 20:23:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 20:23:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 20:23:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 20:23:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 20:23:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 20:23:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 20:23:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 20:23:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 20:23:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 20:23:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 20:23:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 20:23:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 20:23:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 20:23:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 20:23:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 20:23:16] Production.INFO: call_cost start
[2025-04-11 20:23:16] Production.INFO: call_cost end
[2025-04-11 20:23:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 20:23:17] Production.INFO: ============== Report Schedule START===========
[2025-04-11 20:23:17] Production.INFO: ============== Report Schedule END===========
[2025-04-11 20:23:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 20:23:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 20:23:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 20:23:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 20:23:17] Production.INFO: ============== Deal alert START===========
[2025-04-11 20:23:17] Production.INFO: ============== Deal alert END===========
[2025-04-11 20:23:17] Production.INFO: ==13928== Releasing lock...
[2025-04-11 20:23:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 20:23:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 20:23:18] Production.INFO: count ==1936
[2025-04-11 20:23:19] Production.ERROR: pbx CDR StartTime 2025-04-11 17:23:05 - End Time 2025-04-11 20:23:05
[2025-04-11 20:23:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 20:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886637', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886637', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886637', 'tblTempVendorCDR_20' ) start
[2025-04-11 20:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886637', 'tblTempVendorCDR_20' ) end
[2025-04-11 20:23:19] Production.INFO: ProcessCDR(1,14886637,1,1,2)
[2025-04-11 20:23:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886637,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:23:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886637,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:23:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886637,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:23:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886637,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:23:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886637', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:23:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886637', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:23:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 20:23:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 20:23:24] Production.INFO: ==13936== Releasing lock...
[2025-04-11 20:23:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 20:23:24] Production.INFO: 42 MB #Memory Used#
[2025-04-12 01:24:01] Production.INFO: ==13998== Lock acquired, processing the job...
[2025-04-12 01:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 01:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 01:24:01] Production.INFO: neon service started
[2025-04-12 01:24:01] Production.INFO: neon service started
[2025-04-12 01:24:01] Production.INFO: ==13998== Releasing lock...
[2025-04-12 01:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 01:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 20:24:02] Production.INFO: ==14000== Lock acquired, processing the job...
[2025-04-11 20:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 20:24:02] Production.INFO: ==14000== Releasing lock...
[2025-04-11 20:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 20:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 00:24:02] Production.INFO: ==14002== Lock acquired, processing the job...
[2025-04-12 00:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 00:24:02] Production.INFO: ==14002== Releasing lock...
[2025-04-12 00:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 00:24:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 20:24:03] Production.INFO: ==14005== Lock acquired, processing the job...
[2025-04-11 20:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 20:24:03] Production.INFO: ==14011== Lock acquired, processing the job...
[2025-04-11 20:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 20:24:03] Production.INFO: ==14013== Lock acquired, processing the job...
[2025-04-11 20:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 20:24:03] Production.INFO: ==14007== Lock acquired, processing the job...
[2025-04-11 20:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 20:24:03] Production.INFO: ==14009== Lock acquired, processing the job...
[2025-04-11 20:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 20:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 20:24:03] Production.INFO: Account Balance Start.
[2025-04-11 20:24:03] Production.INFO: CreateAllLog Start
[2025-04-11 20:24:03] Production.INFO: 117
[2025-04-11 20:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 20:24:03] Production.INFO: Date 2025-04-08
[2025-04-11 20:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 20:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 20:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 20:24:03] Production.INFO: ==14015== Lock acquired, processing the job...
[2025-04-11 20:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 20:24:03] Production.INFO: Reseller ==> 0
[2025-04-11 20:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 20:24:03] Production.INFO: Date 2025-04-09
[2025-04-11 20:24:03] Production.INFO: Reseller ==> 0
[2025-04-11 20:24:03] Production.INFO: Date 2025-04-10
[2025-04-11 20:24:03] Production.INFO: Reseller ==> 0
[2025-04-11 20:24:03] Production.INFO: Date 2025-04-11
[2025-04-11 20:24:03] Production.INFO: Reseller ==> 0
[2025-04-11 20:24:03] Production.INFO: Total Charge 0
[2025-04-11 20:24:04] Production.INFO: CreateAllLog End
[2025-04-11 20:24:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 20:24:04] Production.INFO: count ==12
[2025-04-11 20:24:04] Production.ERROR: done
[2025-04-11 20:24:04] Production.INFO: ==14007== Releasing lock...
[2025-04-11 20:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 20:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 20:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 20:24:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 20:24:04] Production.INFO: count ==23
[2025-04-11 20:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886641') start
[2025-04-11 20:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886641') end
[2025-04-11 20:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 20:24:04] Production.INFO: 1
[2025-04-11 20:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 20:24:04] Production.INFO: Account Balance End.
[2025-04-11 20:24:04] Production.INFO: ==14015== Releasing lock...
[2025-04-11 20:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 20:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 20:24:04] Production.ERROR: done
[2025-04-11 20:24:04] Production.ERROR: CronJobId end 12
[2025-04-11 20:24:04] Production.INFO: ==14011== Releasing lock...
[2025-04-11 20:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 20:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 20:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 17:24:05
[end_date_ymd] => 2025-04-11 20:24:05
[RateCDR] => 1
)
[2025-04-11 20:24:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 17:24:05' and `end` < '2025-04-11 20:24:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 20:24:13] Production.ERROR: CronJobId end10
[2025-04-11 20:24:13] Production.INFO: ==14009== Releasing lock...
[2025-04-11 20:24:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 20:24:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 20:24:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 20:24:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 20:24:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 20:24:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 20:24:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 20:24:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 20:24:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 20:24:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 20:24:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 20:24:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 20:24:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 20:24:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 20:24:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 20:24:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 20:24:15] Production.INFO: call_cost start
[2025-04-11 20:24:15] Production.INFO: call_cost end
[2025-04-11 20:24:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 20:24:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 20:24:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 20:24:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 20:24:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 20:24:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 20:24:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 20:24:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 20:24:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 20:24:16] Production.INFO: ==14005== Releasing lock...
[2025-04-11 20:24:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 20:24:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 20:24:18] Production.INFO: count ==1933
[2025-04-11 20:24:18] Production.ERROR: pbx CDR StartTime 2025-04-11 17:24:05 - End Time 2025-04-11 20:24:05
[2025-04-11 20:24:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 20:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886642', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886642', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886642', 'tblTempVendorCDR_20' ) start
[2025-04-11 20:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886642', 'tblTempVendorCDR_20' ) end
[2025-04-11 20:24:19] Production.INFO: ProcessCDR(1,14886642,1,1,2)
[2025-04-11 20:24:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886642,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:24:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886642,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:24:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886642,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:24:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886642,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886642', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886642', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:24:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 20:24:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 20:24:22] Production.INFO: ==14013== Releasing lock...
[2025-04-11 20:24:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 20:24:22] Production.INFO: 42.25 MB #Memory Used#
[2025-04-12 01:25:02] Production.INFO: ==14070== Lock acquired, processing the job...
[2025-04-12 01:25:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 01:25:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 01:25:02] Production.INFO: neon service started
[2025-04-12 01:25:02] Production.INFO: neon service started
[2025-04-12 01:25:02] Production.INFO: ==14070== Releasing lock...
[2025-04-12 01:25:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 01:25:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 20:25:02] Production.INFO: ==14072== Lock acquired, processing the job...
[2025-04-11 20:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 00:25:02] Production.INFO: ==14074== Lock acquired, processing the job...
[2025-04-12 00:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-11 20:25:02] Production.INFO: ==14072== Releasing lock...
[2025-04-11 20:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 20:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 00:25:02] Production.INFO: ==14074== Releasing lock...
[2025-04-12 00:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 00:25:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 20:25:03] Production.INFO: ==14077== Lock acquired, processing the job...
[2025-04-11 20:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 20:25:03] Production.INFO: ==14083== Lock acquired, processing the job...
[2025-04-11 20:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 20:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 20:25:03] Production.INFO: ==14079== Lock acquired, processing the job...
[2025-04-11 20:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 20:25:03] Production.INFO: Account Balance Start.
[2025-04-11 20:25:03] Production.INFO: CreateAllLog Start
[2025-04-11 20:25:03] Production.INFO: ==14087== Lock acquired, processing the job...
[2025-04-11 20:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 20:25:03] Production.INFO: 117
[2025-04-11 20:25:03] Production.INFO: Date 2025-04-08
[2025-04-11 20:25:03] Production.INFO: Reseller ==> 0
[2025-04-11 20:25:03] Production.INFO: ==14081== Lock acquired, processing the job...
[2025-04-11 20:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 20:25:03] Production.INFO: Date 2025-04-09
[2025-04-11 20:25:03] Production.INFO: Reseller ==> 0
[2025-04-11 20:25:03] Production.INFO: ==14085== Lock acquired, processing the job...
[2025-04-11 20:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 20:25:03] Production.INFO: Date 2025-04-10
[2025-04-11 20:25:03] Production.INFO: Reseller ==> 0
[2025-04-11 20:25:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 20:25:04] Production.INFO: Date 2025-04-11
[2025-04-11 20:25:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:25:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 20:25:04] Production.INFO: count ==12
[2025-04-11 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-11 20:25:04] Production.INFO: count ==23
[2025-04-11 20:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886646') start
[2025-04-11 20:25:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 20:25:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 20:25:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 20:25:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 20:25:04] Production.INFO: Total Charge 0
[2025-04-11 20:25:04] Production.INFO: CreateAllLog End
[2025-04-11 20:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886646') end
[2025-04-11 20:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 20:25:04] Production.INFO: 1
[2025-04-11 20:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 20:25:04] Production.INFO: ==14087== Releasing lock...
[2025-04-11 20:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 20:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 20:25:04] Production.INFO: ==14079== Releasing lock...
[2025-04-11 20:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 20:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 20:25:04] Production.ERROR: done
[2025-04-11 20:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 20:25:04] Production.ERROR: done
[2025-04-11 20:25:04] Production.INFO: Account Balance End.
[2025-04-11 20:25:04] Production.ERROR: CronJobId end 12
[2025-04-11 20:25:04] Production.INFO: ==14083== Releasing lock...
[2025-04-11 20:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 20:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 20:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 17:25:05
[end_date_ymd] => 2025-04-11 20:25:05
[RateCDR] => 1
)
[2025-04-11 20:25:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 17:25:05' and `end` < '2025-04-11 20:25:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 20:25:14] Production.ERROR: CronJobId end10
[2025-04-11 20:25:14] Production.INFO: ==14081== Releasing lock...
[2025-04-11 20:25:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 20:25:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 20:25:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 20:25:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 20:25:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 20:25:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 20:25:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 20:25:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 20:25:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 20:25:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 20:25:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 20:25:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 20:25:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 20:25:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 20:25:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 20:25:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 20:25:14] Production.INFO: call_cost start
[2025-04-11 20:25:14] Production.INFO: call_cost end
[2025-04-11 20:25:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 20:25:15] Production.INFO: ============== Report Schedule START===========
[2025-04-11 20:25:15] Production.INFO: ============== Report Schedule END===========
[2025-04-11 20:25:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 20:25:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 20:25:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 20:25:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 20:25:15] Production.INFO: ============== Deal alert START===========
[2025-04-11 20:25:15] Production.INFO: ============== Deal alert END===========
[2025-04-11 20:25:15] Production.INFO: ==14077== Releasing lock...
[2025-04-11 20:25:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 20:25:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 20:25:18] Production.INFO: count ==1931
[2025-04-11 20:25:19] Production.ERROR: pbx CDR StartTime 2025-04-11 17:25:05 - End Time 2025-04-11 20:25:05
[2025-04-11 20:25:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 20:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886647', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886647', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886647', 'tblTempVendorCDR_20' ) start
[2025-04-11 20:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886647', 'tblTempVendorCDR_20' ) end
[2025-04-11 20:25:19] Production.INFO: ProcessCDR(1,14886647,1,1,2)
[2025-04-11 20:25:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886647,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:25:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886647,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:25:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886647,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:25:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886647,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886647', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886647', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:25:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 20:25:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 20:25:22] Production.INFO: ==14085== Releasing lock...
[2025-04-11 20:25:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 20:25:22] Production.INFO: 42 MB #Memory Used#
[2025-04-12 01:26:01] Production.INFO: ==14142== Lock acquired, processing the job...
[2025-04-12 01:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 01:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 01:26:01] Production.INFO: neon service started
[2025-04-12 01:26:01] Production.INFO: neon service started
[2025-04-12 01:26:01] Production.INFO: ==14142== Releasing lock...
[2025-04-12 01:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 01:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 20:26:01] Production.INFO: ==14144== Lock acquired, processing the job...
[2025-04-11 20:26:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 20:26:02] Production.INFO: ==14144== Releasing lock...
[2025-04-11 20:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 20:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 00:26:02] Production.INFO: ==14146== Lock acquired, processing the job...
[2025-04-12 00:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 00:26:02] Production.INFO: ==14146== Releasing lock...
[2025-04-12 00:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 00:26:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 20:26:03] Production.INFO: ==14155== Lock acquired, processing the job...
[2025-04-11 20:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 20:26:03] Production.INFO: Account Balance Start.
[2025-04-11 20:26:03] Production.INFO: CreateAllLog Start
[2025-04-11 20:26:03] Production.INFO: 117
[2025-04-11 20:26:03] Production.INFO: Date 2025-04-08
[2025-04-11 20:26:03] Production.INFO: Reseller ==> 0
[2025-04-11 20:26:03] Production.INFO: ==14159== Lock acquired, processing the job...
[2025-04-11 20:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 20:26:03] Production.INFO: Date 2025-04-09
[2025-04-11 20:26:03] Production.INFO: Reseller ==> 0
[2025-04-11 20:26:03] Production.INFO: Date 2025-04-10
[2025-04-11 20:26:03] Production.INFO: Reseller ==> 0
[2025-04-11 20:26:03] Production.INFO: Date 2025-04-11
[2025-04-11 20:26:03] Production.INFO: Reseller ==> 0
[2025-04-11 20:26:03] Production.INFO: ==14149== Lock acquired, processing the job...
[2025-04-11 20:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 20:26:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 20:26:03] Production.INFO: Total Charge 0
[2025-04-11 20:26:03] Production.INFO: count ==12
[2025-04-11 20:26:03] Production.INFO: CreateAllLog End
[2025-04-11 20:26:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 20:26:03] Production.INFO: ==14151== Lock acquired, processing the job...
[2025-04-11 20:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 20:26:03] Production.INFO: count ==23
[2025-04-11 20:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14886649') start
[2025-04-11 20:26:03] Production.INFO: ==14153== Lock acquired, processing the job...
[2025-04-11 20:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 20:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 20:26:03] Production.INFO: ==14157== Lock acquired, processing the job...
[2025-04-11 20:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 20:26:03] Production.INFO: Account Balance End.
[2025-04-11 20:26:03] Production.ERROR: CronJobId end 12
[2025-04-11 20:26:03] Production.INFO: ==14155== Releasing lock...
[2025-04-11 20:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 20:26:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 20:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 20:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 20:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 20:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 20:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 20:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14886649') end
[2025-04-11 20:26:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 20:26:03] Production.INFO: 1
[2025-04-11 20:26:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 20:26:04] Production.INFO: ==14159== Releasing lock...
[2025-04-11 20:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 20:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 20:26:04] Production.ERROR: done
[2025-04-11 20:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 20:26:04] Production.INFO: ==14151== Releasing lock...
[2025-04-11 20:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 20:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 20:26:04] Production.ERROR: done
[2025-04-11 20:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 17:26:05
[end_date_ymd] => 2025-04-11 20:26:05
[RateCDR] => 1
)
[2025-04-11 20:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 17:26:05' and `end` < '2025-04-11 20:26:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 20:26:12] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:294
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(294): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_LowBal...', Array)
#2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#4 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#8 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#9 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#10 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#11 [internal function]: App\Console\Commands\NeonAlerts->fire()
#12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#20 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 {main}
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_LowBalanceReminder(1,0,10))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#2 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#4 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#6 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#7 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#8 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#9 [internal function]: App\Console\Commands\NeonAlerts->fire()
#10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#11 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 {main}
[2025-04-11 20:26:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 20:26:12] Production.INFO: ============== Balance Warning START===========
[2025-04-11 20:26:12] Production.INFO: ============== Balance Warning END===========
[2025-04-11 20:26:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 20:26:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 20:26:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 20:26:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 20:26:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 20:26:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 20:26:12] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 20:26:12] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 20:26:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 20:26:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 20:26:12] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 20:26:12] Production.INFO: call_cost start
[2025-04-11 20:26:12] Production.INFO: call_cost end
[2025-04-11 20:26:13] Production.ERROR: CronJobId end10
[2025-04-11 20:26:13] Production.INFO: ==14153== Releasing lock...
[2025-04-11 20:26:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 20:26:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 20:26:13] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 20:26:13] Production.INFO: ============== Report Schedule START===========
[2025-04-11 20:26:13] Production.INFO: ============== Report Schedule END===========
[2025-04-11 20:26:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 20:26:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 20:26:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 20:26:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 20:26:13] Production.INFO: ============== Deal alert START===========
[2025-04-11 20:26:13] Production.INFO: ============== Deal alert END===========
[2025-04-11 20:26:13] Production.INFO: ==14149== Releasing lock...
[2025-04-11 20:26:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 20:26:13] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 20:26:18] Production.INFO: count ==1934
[2025-04-11 20:26:18] Production.ERROR: pbx CDR StartTime 2025-04-11 17:26:05 - End Time 2025-04-11 20:26:05
[2025-04-11 20:26:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 20:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886652', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886652', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886652', 'tblTempVendorCDR_20' ) start
[2025-04-11 20:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886652', 'tblTempVendorCDR_20' ) end
[2025-04-11 20:26:18] Production.INFO: ProcessCDR(1,14886652,1,1,2)
[2025-04-11 20:26:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886652,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:26:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886652,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:26:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886652,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:26:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886652,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886652', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886652', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:26:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 20:26:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 20:26:22] Production.INFO: ==14157== Releasing lock...
[2025-04-11 20:26:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 20:26:22] Production.INFO: 42 MB #Memory Used#
[2025-04-12 01:27:02] Production.INFO: ==14214== Lock acquired, processing the job...
[2025-04-12 01:27:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 01:27:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 01:27:02] Production.INFO: neon service started
[2025-04-12 01:27:02] Production.INFO: neon service started
[2025-04-12 01:27:02] Production.INFO: ==14214== Releasing lock...
[2025-04-12 01:27:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 01:27:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 20:27:02] Production.INFO: ==14217== Lock acquired, processing the job...
[2025-04-11 20:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 00:27:02] Production.INFO: ==14219== Lock acquired, processing the job...
[2025-04-12 00:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-11 20:27:02] Production.INFO: ==14217== Releasing lock...
[2025-04-11 20:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 20:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 00:27:02] Production.INFO: ==14219== Releasing lock...
[2025-04-12 00:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 00:27:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 20:27:03] Production.INFO: ==14229== Lock acquired, processing the job...
[2025-04-11 20:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 20:27:03] Production.INFO: ==14231== Lock acquired, processing the job...
[2025-04-11 20:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 20:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 20: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-11 20:27:03] Production.INFO: count ==12
[2025-04-11 20: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-11 20:27:03] Production.INFO: count ==23
[2025-04-11 20:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14886653') start
[2025-04-11 20:27:03] Production.INFO: ==14221== Lock acquired, processing the job...
[2025-04-11 20:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 20:27:04] Production.INFO: ==14223== Lock acquired, processing the job...
[2025-04-11 20:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 20:27:04] Production.INFO: ==14225== Lock acquired, processing the job...
[2025-04-11 20:27:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 20:27:04] Production.INFO: ==14227== Lock acquired, processing the job...
[2025-04-11 20:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 20:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886653') end
[2025-04-11 20:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 20:27:04] Production.INFO: 1
[2025-04-11 20:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 20:27:04] Production.ERROR: done
[2025-04-11 20:27:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 20:27:04] Production.INFO: ==14231== Releasing lock...
[2025-04-11 20:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 20:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 20:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 20:27:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 20:27:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 20:27:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 20:27:04] Production.INFO: Account Balance Start.
[2025-04-11 20:27:04] Production.INFO: CreateAllLog Start
[2025-04-11 20:27:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 20:27:04] Production.INFO: 117
[2025-04-11 20:27:04] Production.INFO: Date 2025-04-08
[2025-04-11 20:27:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:27:04] Production.ERROR: done
[2025-04-11 20:27:04] Production.INFO: Date 2025-04-09
[2025-04-11 20:27:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:27:04] Production.INFO: Date 2025-04-10
[2025-04-11 20:27:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:27:04] Production.INFO: Date 2025-04-11
[2025-04-11 20:27:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:27:04] Production.INFO: ==14223== Releasing lock...
[2025-04-11 20:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 20:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 20:27:04] Production.INFO: Total Charge 0
[2025-04-11 20:27:04] Production.INFO: CreateAllLog End
[2025-04-11 20:27:04] Production.INFO: Account Balance End.
[2025-04-11 20:27:04] Production.ERROR: CronJobId end 12
[2025-04-11 20:27:04] Production.INFO: ==14227== Releasing lock...
[2025-04-11 20:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 20:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 20:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 17:27:05
[end_date_ymd] => 2025-04-11 20:27:05
[RateCDR] => 1
)
[2025-04-11 20:27:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 17:27:05' and `end` < '2025-04-11 20:27:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 20:27:13] Production.ERROR: CronJobId end10
[2025-04-11 20:27:13] Production.INFO: ==14225== Releasing lock...
[2025-04-11 20:27:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 20:27:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 20:27:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 20:27:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 20:27:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 20:27:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 20:27:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 20:27:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 20:27:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 20:27:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 20:27:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 20:27:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 20:27:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 20:27:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 20:27:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 20:27:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 20:27:15] Production.INFO: call_cost start
[2025-04-11 20:27:15] Production.INFO: call_cost end
[2025-04-11 20:27:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 20:27:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 20:27:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 20:27:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 20:27:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 20:27:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 20:27:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 20:27:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 20:27:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 20:27:16] Production.INFO: ==14221== Releasing lock...
[2025-04-11 20:27:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 20:27:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 20:27:18] Production.INFO: count ==1933
[2025-04-11 20:27:18] Production.ERROR: pbx CDR StartTime 2025-04-11 17:27:05 - End Time 2025-04-11 20:27:05
[2025-04-11 20:27:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 20:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886657', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886657', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886657', 'tblTempVendorCDR_20' ) start
[2025-04-11 20:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886657', 'tblTempVendorCDR_20' ) end
[2025-04-11 20:27:19] Production.INFO: ProcessCDR(1,14886657,1,1,2)
[2025-04-11 20:27:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886657,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:27:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886657,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:27:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886657,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:27:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886657,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886657', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886657', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:27:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 20:27:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 20:27:22] Production.INFO: ==14229== Releasing lock...
[2025-04-11 20:27:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 20:27:22] Production.INFO: 42 MB #Memory Used#
[2025-04-12 01:28:01] Production.INFO: ==14284== Lock acquired, processing the job...
[2025-04-12 01:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 01:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 01:28:01] Production.INFO: neon service started
[2025-04-12 01:28:01] Production.INFO: neon service started
[2025-04-12 01:28:01] Production.INFO: ==14284== Releasing lock...
[2025-04-12 01:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 01:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 00:28:01] Production.INFO: ==14288== Lock acquired, processing the job...
[2025-04-12 00:28:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 00:28:01] Production.INFO: ==14288== Releasing lock...
[2025-04-12 00:28:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 00:28:01] Production.INFO: 25 MB #Memory Used#
[2025-04-11 20:28:02] Production.INFO: ==14286== Lock acquired, processing the job...
[2025-04-11 20:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 20:28:02] Production.INFO: ==14286== Releasing lock...
[2025-04-11 20:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 20:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 20:28:03] Production.INFO: ==14290== Lock acquired, processing the job...
[2025-04-11 20:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 20:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 20:28:03] Production.INFO: ==14297== Lock acquired, processing the job...
[2025-04-11 20:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 20:28:03] Production.INFO: ==14299== Lock acquired, processing the job...
[2025-04-11 20:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 20:28:03] Production.INFO: Account Balance Start.
[2025-04-11 20:28:03] Production.INFO: CreateAllLog Start
[2025-04-11 20:28:03] Production.INFO: 117
[2025-04-11 20:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 20:28:03] Production.INFO: Date 2025-04-08
[2025-04-11 20:28:03] Production.INFO: Reseller ==> 0
[2025-04-11 20:28:03] Production.INFO: ==14292== Lock acquired, processing the job...
[2025-04-11 20:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 20:28:03] Production.INFO: Date 2025-04-09
[2025-04-11 20:28:03] Production.INFO: Reseller ==> 0
[2025-04-11 20:28:03] Production.INFO: ==14295== Lock acquired, processing the job...
[2025-04-11 20:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 20:28:03] Production.INFO: Date 2025-04-10
[2025-04-11 20:28:03] Production.INFO: Reseller ==> 0
[2025-04-11 20:28:03] Production.INFO: ==14301== Lock acquired, processing the job...
[2025-04-11 20:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 20:28:03] Production.INFO: Date 2025-04-11
[2025-04-11 20:28:03] Production.INFO: Reseller ==> 0
[2025-04-11 20:28:03] Production.INFO: Total Charge 0
[2025-04-11 20:28:03] Production.INFO: CreateAllLog End
[2025-04-11 20:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 20:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 20:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 20:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 20:28:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 20:28:03] Production.INFO: count ==12
[2025-04-11 20:28:03] Production.ERROR: done
[2025-04-11 20:28:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 20:28:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 20:28:03] Production.INFO: count ==23
[2025-04-11 20:28:03] Production.INFO: ==14292== Releasing lock...
[2025-04-11 20:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 20:28:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 20:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886660') start
[2025-04-11 20:28:04] Production.INFO: Account Balance End.
[2025-04-11 20:28:04] Production.ERROR: CronJobId end 12
[2025-04-11 20:28:04] Production.INFO: ==14297== Releasing lock...
[2025-04-11 20:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 20:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 20:28:04] Production.ERROR: done
[2025-04-11 20:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886660') end
[2025-04-11 20:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 20:28:04] Production.INFO: 1
[2025-04-11 20:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 20:28:04] Production.INFO: ==14301== Releasing lock...
[2025-04-11 20:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 20:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 20:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 17:28:05
[end_date_ymd] => 2025-04-11 20:28:05
[RateCDR] => 1
)
[2025-04-11 20:28:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 17:28:05' and `end` < '2025-04-11 20:28:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 20:28:13] Production.ERROR: CronJobId end10
[2025-04-11 20:28:13] Production.INFO: ==14295== Releasing lock...
[2025-04-11 20:28:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 20:28:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 20:28:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 20:28:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 20:28:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 20:28:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 20:28:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 20:28:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 20:28:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 20:28:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 20:28:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 20:28:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 20:28:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 20:28:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 20:28:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 20:28:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 20:28:15] Production.INFO: call_cost start
[2025-04-11 20:28:15] Production.INFO: call_cost end
[2025-04-11 20:28:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 20:28:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 20:28:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 20:28:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 20:28:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 20:28:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 20:28:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 20:28:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 20:28:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 20:28:16] Production.INFO: ==14290== Releasing lock...
[2025-04-11 20:28:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 20:28:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 20:28:18] Production.INFO: count ==1933
[2025-04-11 20:28:18] Production.ERROR: pbx CDR StartTime 2025-04-11 17:28:05 - End Time 2025-04-11 20:28:05
[2025-04-11 20:28:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 20:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886662', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886662', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886662', 'tblTempVendorCDR_20' ) start
[2025-04-11 20:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886662', 'tblTempVendorCDR_20' ) end
[2025-04-11 20:28:18] Production.INFO: ProcessCDR(1,14886662,1,1,2)
[2025-04-11 20:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886662,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:28:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886662,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:28:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886662,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:28:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886662,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886662', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886662', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:28:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 20:28:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 20:28:21] Production.INFO: ==14299== Releasing lock...
[2025-04-11 20:28:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 20:28:21] Production.INFO: 42 MB #Memory Used#
[2025-04-12 01:29:02] Production.INFO: ==14362== Lock acquired, processing the job...
[2025-04-12 01:29:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 01:29:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 01:29:02] Production.INFO: neon service started
[2025-04-12 01:29:02] Production.INFO: neon service started
[2025-04-12 01:29:02] Production.INFO: ==14362== Releasing lock...
[2025-04-12 01:29:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 01:29:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 00:29:02] Production.INFO: ==14367== Lock acquired, processing the job...
[2025-04-12 00:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 00:29:02] Production.INFO: ==14367== Releasing lock...
[2025-04-12 00:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 00:29:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 20:29:02] Production.INFO: ==14365== Lock acquired, processing the job...
[2025-04-11 20:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 20:29:02] Production.INFO: ==14365== Releasing lock...
[2025-04-11 20:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 20:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 20:29:03] Production.INFO: ==14369== Lock acquired, processing the job...
[2025-04-11 20:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 20:29:03] Production.INFO: ==14373== Lock acquired, processing the job...
[2025-04-11 20:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 20:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 20:29:03] Production.INFO: ==14375== Lock acquired, processing the job...
[2025-04-11 20:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 20:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 20:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 20:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 20:29:03] Production.INFO: Account Balance Start.
[2025-04-11 20:29:03] Production.INFO: CreateAllLog Start
[2025-04-11 20:29:03] Production.INFO: 117
[2025-04-11 20:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 20:29:03] Production.INFO: Date 2025-04-08
[2025-04-11 20:29:03] Production.INFO: Reseller ==> 0
[2025-04-11 20:29:03] Production.INFO: Date 2025-04-09
[2025-04-11 20:29:03] Production.INFO: Reseller ==> 0
[2025-04-11 20:29:03] Production.INFO: Date 2025-04-10
[2025-04-11 20:29:03] Production.INFO: Reseller ==> 0
[2025-04-11 20:29:03] Production.INFO: Date 2025-04-11
[2025-04-11 20:29:03] Production.INFO: Reseller ==> 0
[2025-04-11 20:29:03] Production.INFO: Total Charge 0
[2025-04-11 20:29:03] Production.INFO: CreateAllLog End
[2025-04-11 20:29:03] Production.INFO: ==14371== Lock acquired, processing the job...
[2025-04-11 20:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 20:29:04] Production.INFO: Account Balance End.
[2025-04-11 20:29:04] Production.ERROR: CronJobId end 12
[2025-04-11 20:29:04] Production.INFO: ==14377== Lock acquired, processing the job...
[2025-04-11 20:29:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 20:29:04] Production.INFO: ==14375== Releasing lock...
[2025-04-11 20:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 20:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 20:29:04] Production.INFO: ==14379== Lock acquired, processing the job...
[2025-04-11 20:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 20:29:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 20:29:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 20:29:04] Production.INFO: count ==12
[2025-04-11 20:29:04] Production.INFO: ==14371== Releasing lock...
[2025-04-11 20:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 20:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 20:29:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 20:29:04] Production.INFO: count ==23
[2025-04-11 20:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886666') start
[2025-04-11 20:29:04] Production.ERROR: done
[2025-04-11 20:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 20:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886666') end
[2025-04-11 20:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 20:29:04] Production.INFO: 1
[2025-04-11 20:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 20:29:04] Production.INFO: ==14379== Releasing lock...
[2025-04-11 20:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 20:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 20:29:04] Production.ERROR: done
[2025-04-11 20:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 17:29:05
[end_date_ymd] => 2025-04-11 20:29:05
[RateCDR] => 1
)
[2025-04-11 20:29:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 17:29:05' and `end` < '2025-04-11 20:29:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 20:29:13] Production.ERROR: CronJobId end10
[2025-04-11 20:29:13] Production.INFO: ==14373== Releasing lock...
[2025-04-11 20:29:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 20:29:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 20:29:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 20:29:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 20:29:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 20:29:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 20:29:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 20:29:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 20:29:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 20:29:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 20:29:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 20:29:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 20:29:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 20:29:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 20:29:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 20:29:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 20:29:15] Production.INFO: call_cost start
[2025-04-11 20:29:15] Production.INFO: call_cost end
[2025-04-11 20:29:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 20:29:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 20:29:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 20:29:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 20:29:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 20:29:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 20:29:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 20:29:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 20:29:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 20:29:16] Production.INFO: ==14369== Releasing lock...
[2025-04-11 20:29:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 20:29:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 20:29:18] Production.INFO: count ==1927
[2025-04-11 20:29:18] Production.ERROR: pbx CDR StartTime 2025-04-11 17:29:05 - End Time 2025-04-11 20:29:05
[2025-04-11 20:29:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 20:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886667', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886667', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886667', 'tblTempVendorCDR_20' ) start
[2025-04-11 20:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886667', 'tblTempVendorCDR_20' ) end
[2025-04-11 20:29:18] Production.INFO: ProcessCDR(1,14886667,1,1,2)
[2025-04-11 20:29:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886667,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:29:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886667,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:29:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886667,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:29:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886667,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:29:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886667', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:29:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886667', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:29:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 20:29:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 20:29:23] Production.INFO: ==14377== Releasing lock...
[2025-04-11 20:29:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 20:29:23] Production.INFO: 42 MB #Memory Used#
[2025-04-12 01:30:01] Production.INFO: ==14475== Lock acquired, processing the job...
[2025-04-12 01:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 01:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 01:30:01] Production.INFO: neon service started
[2025-04-12 01:30:01] Production.INFO: neon service started
[2025-04-12 01:30:01] Production.INFO: ==14475== Releasing lock...
[2025-04-12 01:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 01:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 20:30:01] Production.INFO: ==14477== Lock acquired, processing the job...
[2025-04-11 20:30:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 20:30:02] Production.INFO: ==14477== Releasing lock...
[2025-04-11 20:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 20:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 00:30:02] Production.INFO: ==14479== Lock acquired, processing the job...
[2025-04-12 00:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 00:30:02] Production.INFO: ==14479== Releasing lock...
[2025-04-12 00:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 00:30:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 20:30:03] Production.INFO: ==14481== Lock acquired, processing the job...
[2025-04-11 20:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-11 20:30:03] Production.INFO: ==14489== Lock acquired, processing the job...
[2025-04-11 20:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 20:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-11 20:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-11 20:30:03] Production.ERROR: CronJob PID - 14489
[2025-04-11 20:30:03] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-04-11 20:30:03] Production.ERROR: CronJob ID - 12
[2025-04-11 20:30:03] Production.ERROR: CronJob Last Run Time 2025-04-11 20:30:00
[2025-04-11 20:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-11 20:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-11 20:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-04-11 20:30:03] Production.INFO: ==14481== Releasing lock...
[2025-04-11 20:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-11 20:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-04-11 20:30:03] Production.INFO: Account Balance Start.
[2025-04-11 20:30:03] Production.INFO: CreateAllLog Start
[2025-04-11 20:30:03] Production.INFO: 117
[2025-04-11 20:30:03] Production.INFO: Date 2025-04-08
[2025-04-11 20:30:03] Production.INFO: Reseller ==> 0
[2025-04-11 20:30:03] Production.INFO: Date 2025-04-09
[2025-04-11 20:30:03] Production.INFO: Reseller ==> 0
[2025-04-11 20:30:03] Production.INFO: Date 2025-04-10
[2025-04-11 20:30:03] Production.INFO: Reseller ==> 0
[2025-04-11 20:30:03] Production.INFO: Date 2025-04-11
[2025-04-11 20:30:03] Production.INFO: Reseller ==> 0
[2025-04-11 20:30:03] Production.INFO: Total Charge 0
[2025-04-11 20:30:03] Production.INFO: CreateAllLog End
[2025-04-11 20:30:03] Production.INFO: Account Balance End.
[2025-04-11 20:30:03] Production.ERROR: CronJobId end 12
[2025-04-11 20:30:03] Production.INFO: ==14489== Releasing lock...
[2025-04-11 20:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 20:30:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 20:30:03] Production.INFO: ==14483== Lock acquired, processing the job...
[2025-04-11 20:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 20:30:03] Production.INFO: ==14494== Lock acquired, processing the job...
[2025-04-11 20:30:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-11 20:30:04] Production.INFO: ==14485== Lock acquired, processing the job...
[2025-04-11 20:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 20:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 20:30:04] Production.INFO: ==14487== Lock acquired, processing the job...
[2025-04-11 20:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 20:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 20:30:04] Production.INFO: ==14492== Lock acquired, processing the job...
[2025-04-11 20:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 20:30:04] Production.INFO: ==14496== Lock acquired, processing the job...
[2025-04-11 20:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 20:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 20:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 20:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 20:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 20:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 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-11 20:30:04] Production.INFO: count ==12
[2025-04-11 20:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 20:30:04] Production.INFO: count ==23
[2025-04-11 20:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886671') start
[2025-04-11 20:30:04] Production.INFO: ==14485== Releasing lock...
[2025-04-11 20:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 20:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 20:30:04] Production.ERROR: done
[2025-04-11 20:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886671') end
[2025-04-11 20:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 20:30:04] Production.INFO: 1
[2025-04-11 20:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 20:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-11 20:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14886672', 'tblTempUsageDetail_20reseller','2025-04-11','2025-04-11','1' ) start
[2025-04-11 20:30:04] Production.INFO: ==14496== Releasing lock...
[2025-04-11 20:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 20:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 20:30:04] Production.ERROR: done
[2025-04-11 20:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 20:30:04] Production.ERROR: done
[2025-04-11 20:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 17:30:06
[end_date_ymd] => 2025-04-11 20:30:06
[RateCDR] => 1
)
[2025-04-11 20:30:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 17:30:06' and `end` < '2025-04-11 20:30:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 20:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14886672', 'tblTempUsageDetail_20reseller','2025-04-11','2025-04-11','1' ) end
[2025-04-11 20:30:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-11 20:30:08] Production.INFO: ProcessCDR(1,14886672,1,1,2)
[2025-04-11 20:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14886672,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:30:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14886672,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:30:08] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 20:30:08] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 20:30:08] Production.INFO: ==14494== Releasing lock...
[2025-04-11 20:30:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-11 20:30:08] Production.INFO: 26 MB #Memory Used#
[2025-04-11 20:30:14] Production.ERROR: CronJobId end10
[2025-04-11 20:30:14] Production.INFO: ==14487== Releasing lock...
[2025-04-11 20:30:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 20:30:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 20:30:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 20:30:16] Production.INFO: ============== Balance Warning START===========
[2025-04-11 20:30:16] Production.INFO: ============== Balance Warning END===========
[2025-04-11 20:30:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 20:30:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 20:30:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 20:30:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 20:30:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 20:30:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 20:30:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 20:30:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 20:30:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 20:30:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 20:30:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 20:30:17] Production.INFO: call_cost start
[2025-04-11 20:30:17] Production.INFO: call_cost end
[2025-04-11 20:30:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 20:30:18] Production.INFO: ============== Report Schedule START===========
[2025-04-11 20:30:18] Production.INFO: ============== Report Schedule END===========
[2025-04-11 20:30:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 20:30:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 20:30:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 20:30:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 20:30:18] Production.INFO: ============== Deal alert START===========
[2025-04-11 20:30:18] Production.INFO: ============== Deal alert END===========
[2025-04-11 20:30:18] Production.INFO: ==14483== Releasing lock...
[2025-04-11 20:30:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 20:30:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 20:30:19] Production.INFO: count ==1926
[2025-04-11 20:30:19] Production.ERROR: pbx CDR StartTime 2025-04-11 17:30:06 - End Time 2025-04-11 20:30:06
[2025-04-11 20:30:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 20:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886673', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886673', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886673', 'tblTempVendorCDR_20' ) start
[2025-04-11 20:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886673', 'tblTempVendorCDR_20' ) end
[2025-04-11 20:30:19] Production.INFO: ProcessCDR(1,14886673,1,1,2)
[2025-04-11 20:30:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886673,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:30:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886673,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:30:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886673,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:30:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886673,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:30:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886673', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:30:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886673', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:30:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 20:30:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 20:30:23] Production.INFO: ==14492== Releasing lock...
[2025-04-11 20:30:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 20:30:23] Production.INFO: 42 MB #Memory Used#
[2025-04-12 01:31:02] Production.INFO: ==14551== Lock acquired, processing the job...
[2025-04-12 01:31:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 01:31:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 01:31:02] Production.INFO: neon service started
[2025-04-12 01:31:02] Production.INFO: neon service started
[2025-04-12 01:31:02] Production.INFO: ==14551== Releasing lock...
[2025-04-12 01:31:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 01:31:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 20:31:02] Production.INFO: ==14553== Lock acquired, processing the job...
[2025-04-11 20:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 20:31:02] Production.INFO: ==14553== Releasing lock...
[2025-04-11 20:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 20:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 00:31:02] Production.INFO: ==14555== Lock acquired, processing the job...
[2025-04-12 00:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 00:31:02] Production.INFO: ==14555== Releasing lock...
[2025-04-12 00:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 00:31:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 20:31:03] Production.INFO: ==14561== Lock acquired, processing the job...
[2025-04-11 20:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 20:31:03] Production.INFO: ==14557== Lock acquired, processing the job...
[2025-04-11 20:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 20:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 20:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 20:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 20:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 20:31:03] Production.INFO: ==14559== Lock acquired, processing the job...
[2025-04-11 20:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 20:31:03] Production.INFO: ==14567== Lock acquired, processing the job...
[2025-04-11 20:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 20:31:03] Production.INFO: ==14565== Lock acquired, processing the job...
[2025-04-11 20:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 20:31:03] Production.INFO: ==14563== Lock acquired, processing the job...
[2025-04-11 20:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 20:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 20:31:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 20:31:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 20:31:04] Production.INFO: Account Balance Start.
[2025-04-11 20:31:04] Production.INFO: CreateAllLog Start
[2025-04-11 20:31:04] Production.INFO: 117
[2025-04-11 20:31:04] Production.INFO: Date 2025-04-08
[2025-04-11 20:31:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:31:04] Production.INFO: count ==12
[2025-04-11 20:31:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 20:31:04] Production.INFO: count ==23
[2025-04-11 20:31:04] Production.INFO: Date 2025-04-09
[2025-04-11 20:31:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:31:04] Production.INFO: Date 2025-04-10
[2025-04-11 20:31:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886675') start
[2025-04-11 20:31:04] Production.INFO: Date 2025-04-11
[2025-04-11 20:31:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886675') end
[2025-04-11 20:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 20:31:04] Production.INFO: 1
[2025-04-11 20:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 20:31:04] Production.INFO: Total Charge 0
[2025-04-11 20:31:04] Production.INFO: ==14567== Releasing lock...
[2025-04-11 20:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 20:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 20:31:04] Production.INFO: CreateAllLog End
[2025-04-11 20:31:04] Production.INFO: ==14559== Releasing lock...
[2025-04-11 20:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 20:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 20:31:04] Production.ERROR: done
[2025-04-11 20:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 20:31:04] Production.ERROR: done
[2025-04-11 20:31:04] Production.INFO: Account Balance End.
[2025-04-11 20:31:04] Production.ERROR: CronJobId end 12
[2025-04-11 20:31:04] Production.INFO: ==14563== Releasing lock...
[2025-04-11 20:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 20:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 20:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 17:31:05
[end_date_ymd] => 2025-04-11 20:31:05
[RateCDR] => 1
)
[2025-04-11 20:31:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 17:31:05' and `end` < '2025-04-11 20:31:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 20:31:13] Production.ERROR: CronJobId end10
[2025-04-11 20:31:13] Production.INFO: ==14561== Releasing lock...
[2025-04-11 20:31:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 20:31:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 20:31:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 20:31:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 20:31:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 20:31:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 20:31:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 20:31:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 20:31:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 20:31:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 20:31:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 20:31:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 20:31:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 20:31:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 20:31:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 20:31:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 20:31:15] Production.INFO: call_cost start
[2025-04-11 20:31:15] Production.INFO: call_cost end
[2025-04-11 20:31:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 20:31:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 20:31:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 20:31:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 20:31:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 20:31:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 20:31:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 20:31:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 20:31:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 20:31:16] Production.INFO: ==14557== Releasing lock...
[2025-04-11 20:31:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 20:31:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 20:31:18] Production.INFO: count ==1829
[2025-04-11 20:31:19] Production.ERROR: pbx CDR StartTime 2025-04-11 17:31:05 - End Time 2025-04-11 20:31:05
[2025-04-11 20:31:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 20:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886678', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886678', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886678', 'tblTempVendorCDR_20' ) start
[2025-04-11 20:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886678', 'tblTempVendorCDR_20' ) end
[2025-04-11 20:31:19] Production.INFO: ProcessCDR(1,14886678,1,1,2)
[2025-04-11 20:31:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886678,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:31:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886678,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:31:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886678,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:31:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886678,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886678', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886678', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:31:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 20:31:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 20:31:22] Production.INFO: ==14565== Releasing lock...
[2025-04-11 20:31:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 20:31:22] Production.INFO: 41.25 MB #Memory Used#
[2025-04-12 01:32:01] Production.INFO: ==14622== Lock acquired, processing the job...
[2025-04-12 01:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 01:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 01:32:01] Production.INFO: neon service started
[2025-04-12 01:32:01] Production.INFO: neon service started
[2025-04-12 01:32:01] Production.INFO: ==14622== Releasing lock...
[2025-04-12 01:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 01:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 00:32:02] Production.INFO: ==14626== Lock acquired, processing the job...
[2025-04-12 00:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 00:32:02] Production.INFO: ==14626== Releasing lock...
[2025-04-12 00:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 00:32:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 20:32:02] Production.INFO: ==14624== Lock acquired, processing the job...
[2025-04-11 20:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 20:32:02] Production.INFO: ==14624== Releasing lock...
[2025-04-11 20:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 20:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 20:32:03] Production.INFO: ==14631== Lock acquired, processing the job...
[2025-04-11 20:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 20:32:03] Production.INFO: ==14629== Lock acquired, processing the job...
[2025-04-11 20:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 20:32:03] Production.INFO: ==14639== Lock acquired, processing the job...
[2025-04-11 20:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 20:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 20:32:04] Production.INFO: ==14633== Lock acquired, processing the job...
[2025-04-11 20:32:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 20:32:04] Production.INFO: ==14631== Releasing lock...
[2025-04-11 20:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 20:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 20:32:04] Production.INFO: ==14635== Lock acquired, processing the job...
[2025-04-11 20:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 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-11 20:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 20:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 20:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 20:32:04] Production.INFO: count ==12
[2025-04-11 20:32:04] Production.INFO: ==14637== Lock acquired, processing the job...
[2025-04-11 20:32:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 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-11 20:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 20:32:04] Production.INFO: count ==23
[2025-04-11 20:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886681') start
[2025-04-11 20:32:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 20:32:04] Production.INFO: Account Balance Start.
[2025-04-11 20:32:04] Production.INFO: CreateAllLog Start
[2025-04-11 20:32:04] Production.INFO: 117
[2025-04-11 20:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886681') end
[2025-04-11 20:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 20:32:04] Production.INFO: 1
[2025-04-11 20:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 20:32:04] Production.INFO: Date 2025-04-08
[2025-04-11 20:32:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:32:04] Production.INFO: Date 2025-04-09
[2025-04-11 20:32:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:32:04] Production.INFO: Date 2025-04-10
[2025-04-11 20:32:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:32:04] Production.INFO: Date 2025-04-11
[2025-04-11 20:32:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:32:04] Production.INFO: ==14639== Releasing lock...
[2025-04-11 20:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 20:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 20:32:04] Production.INFO: Total Charge 0
[2025-04-11 20:32:04] Production.INFO: CreateAllLog End
[2025-04-11 20:32:04] Production.ERROR: done
[2025-04-11 20:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 20:32:04] Production.INFO: Account Balance End.
[2025-04-11 20:32:04] Production.ERROR: CronJobId end 12
[2025-04-11 20:32:04] Production.INFO: ==14635== Releasing lock...
[2025-04-11 20:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 20:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 20:32:04] Production.ERROR: done
[2025-04-11 20:32:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 17:32:06
[end_date_ymd] => 2025-04-11 20:32:06
[RateCDR] => 1
)
[2025-04-11 20: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-11 17:32:06' and `end` < '2025-04-11 20: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-11 20:32:13] Production.ERROR: CronJobId end10
[2025-04-11 20:32:13] Production.INFO: ==14633== Releasing lock...
[2025-04-11 20:32:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 20:32:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 20:32:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 20:32:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 20:32:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 20:32:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 20:32:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 20:32:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 20:32:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 20:32:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 20:32:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 20:32:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 20:32:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 20:32:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 20:32:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 20:32:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 20:32:16] Production.INFO: call_cost start
[2025-04-11 20:32:16] Production.INFO: call_cost end
[2025-04-11 20:32:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 20:32:17] Production.INFO: ============== Report Schedule START===========
[2025-04-11 20:32:17] Production.INFO: ============== Report Schedule END===========
[2025-04-11 20:32:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 20:32:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 20:32:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 20:32:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 20:32:17] Production.INFO: ============== Deal alert START===========
[2025-04-11 20:32:17] Production.INFO: ============== Deal alert END===========
[2025-04-11 20:32:17] Production.INFO: ==14629== Releasing lock...
[2025-04-11 20:32:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 20:32:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 20:32:19] Production.INFO: count ==1818
[2025-04-11 20:32:19] Production.ERROR: pbx CDR StartTime 2025-04-11 17:32:06 - End Time 2025-04-11 20:32:06
[2025-04-11 20:32:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 20:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886683', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886683', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886683', 'tblTempVendorCDR_20' ) start
[2025-04-11 20:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886683', 'tblTempVendorCDR_20' ) end
[2025-04-11 20:32:19] Production.INFO: ProcessCDR(1,14886683,1,1,2)
[2025-04-11 20:32:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886683,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:32:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886683,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:32:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886683,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:32:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886683,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:32:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886683', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:32:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886683', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:32:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 20:32:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 20:32:23] Production.INFO: ==14637== Releasing lock...
[2025-04-11 20:32:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 20:32:23] Production.INFO: 41.25 MB #Memory Used#
[2025-04-12 01:33:02] Production.INFO: ==14694== Lock acquired, processing the job...
[2025-04-12 01:33:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 01:33:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 01:33:02] Production.INFO: neon service started
[2025-04-12 01:33:02] Production.INFO: neon service started
[2025-04-12 01:33:02] Production.INFO: ==14694== Releasing lock...
[2025-04-12 01:33:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 01:33:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 20:33:02] Production.INFO: ==14696== Lock acquired, processing the job...
[2025-04-11 20:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 20:33:02] Production.INFO: ==14696== Releasing lock...
[2025-04-11 20:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 20:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 00:33:03] Production.INFO: ==14698== Lock acquired, processing the job...
[2025-04-12 00:33:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 00:33:03] Production.INFO: ==14698== Releasing lock...
[2025-04-12 00:33:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 00:33:03] Production.INFO: 25 MB #Memory Used#
[2025-04-11 20:33:03] Production.INFO: ==14702== Lock acquired, processing the job...
[2025-04-11 20:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 20:33:03] Production.INFO: ==14709== Lock acquired, processing the job...
[2025-04-11 20:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 20:33:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 20:33:04] Production.INFO: ==14700== Lock acquired, processing the job...
[2025-04-11 20:33:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 20:33:04] Production.INFO: ==14704== Lock acquired, processing the job...
[2025-04-11 20:33:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 20:33:04] Production.INFO: ==14707== Lock acquired, processing the job...
[2025-04-11 20:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 20:33:04] Production.INFO: ==14711== Lock acquired, processing the job...
[2025-04-11 20:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 20:33:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 20:33:04] Production.INFO: ==14702== Releasing lock...
[2025-04-11 20:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 20:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 20:33:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 20:33:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 20:33:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 20:33:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 20:33:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 20:33:04] Production.INFO: count ==12
[2025-04-11 20:33:04] Production.INFO: Account Balance Start.
[2025-04-11 20:33:04] Production.INFO: CreateAllLog Start
[2025-04-11 20:33:04] Production.INFO: 117
[2025-04-11 20:33:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 20:33:04] Production.INFO: count ==23
[2025-04-11 20:33:04] Production.INFO: Date 2025-04-08
[2025-04-11 20:33:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886687') start
[2025-04-11 20:33:04] Production.ERROR: done
[2025-04-11 20:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 20:33:04] Production.INFO: Date 2025-04-09
[2025-04-11 20:33:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:33:04] Production.INFO: Date 2025-04-10
[2025-04-11 20:33:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:33:04] Production.ERROR: done
[2025-04-11 20:33:04] Production.INFO: Date 2025-04-11
[2025-04-11 20:33:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886687') end
[2025-04-11 20:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 20:33:04] Production.INFO: 1
[2025-04-11 20:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 20:33:04] Production.INFO: ==14711== Releasing lock...
[2025-04-11 20:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 20:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 20:33:04] Production.INFO: Total Charge 0
[2025-04-11 20:33:04] Production.INFO: CreateAllLog End
[2025-04-11 20:33:04] Production.INFO: Account Balance End.
[2025-04-11 20:33:04] Production.ERROR: CronJobId end 12
[2025-04-11 20:33:04] Production.INFO: ==14707== Releasing lock...
[2025-04-11 20:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 20:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 20:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 17:33:05
[end_date_ymd] => 2025-04-11 20:33:05
[RateCDR] => 1
)
[2025-04-11 20:33:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 17:33:05' and `end` < '2025-04-11 20:33:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 20:33:13] Production.ERROR: CronJobId end10
[2025-04-11 20:33:13] Production.INFO: ==14704== Releasing lock...
[2025-04-11 20:33:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 20:33:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 20:33:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 20:33:16] Production.INFO: ============== Balance Warning START===========
[2025-04-11 20:33:16] Production.INFO: ============== Balance Warning END===========
[2025-04-11 20:33:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 20:33:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 20:33:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 20:33:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 20:33:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 20:33:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 20:33:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 20:33:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 20:33:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 20:33:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 20:33:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 20:33:17] Production.INFO: call_cost start
[2025-04-11 20:33:17] Production.INFO: call_cost end
[2025-04-11 20:33:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 20:33:18] Production.INFO: ============== Report Schedule START===========
[2025-04-11 20:33:18] Production.INFO: ============== Report Schedule END===========
[2025-04-11 20:33:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 20:33:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 20:33:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 20:33:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 20:33:18] Production.INFO: ============== Deal alert START===========
[2025-04-11 20:33:18] Production.INFO: ============== Deal alert END===========
[2025-04-11 20:33:18] Production.INFO: ==14700== Releasing lock...
[2025-04-11 20:33:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 20:33:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 20:33:19] Production.INFO: count ==1814
[2025-04-11 20:33:19] Production.ERROR: pbx CDR StartTime 2025-04-11 17:33:05 - End Time 2025-04-11 20:33:05
[2025-04-11 20:33:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 20:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886688', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886688', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886688', 'tblTempVendorCDR_20' ) start
[2025-04-11 20:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886688', 'tblTempVendorCDR_20' ) end
[2025-04-11 20:33:19] Production.INFO: ProcessCDR(1,14886688,1,1,2)
[2025-04-11 20:33:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886688,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:33:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886688,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:33:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886688,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:33:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886688,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:33:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886688', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:33:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886688', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:33:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 20:33:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 20:33:23] Production.INFO: ==14709== Releasing lock...
[2025-04-11 20:33:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 20:33:23] Production.INFO: 41.25 MB #Memory Used#
[2025-04-12 01:34:01] Production.INFO: ==14766== Lock acquired, processing the job...
[2025-04-12 01:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 01:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 01:34:01] Production.INFO: neon service started
[2025-04-12 01:34:01] Production.INFO: neon service started
[2025-04-12 01:34:01] Production.INFO: ==14766== Releasing lock...
[2025-04-12 01:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 01:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 20:34:02] Production.INFO: ==14768== Lock acquired, processing the job...
[2025-04-11 20:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 20:34:02] Production.INFO: ==14768== Releasing lock...
[2025-04-11 20:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 20:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 00:34:02] Production.INFO: ==14770== Lock acquired, processing the job...
[2025-04-12 00:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 00:34:02] Production.INFO: ==14770== Releasing lock...
[2025-04-12 00:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 00:34:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 20:34:03] Production.INFO: ==14773== Lock acquired, processing the job...
[2025-04-11 20:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 20:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 20:34:03] Production.INFO: ==14781== Lock acquired, processing the job...
[2025-04-11 20:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 20:34:03] Production.INFO: ==14777== Lock acquired, processing the job...
[2025-04-11 20:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 20:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 20:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 20:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 20:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 20:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 20:34:03] Production.INFO: ==14775== Lock acquired, processing the job...
[2025-04-11 20:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 20:34:03] Production.INFO: ==14779== Lock acquired, processing the job...
[2025-04-11 20:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 20:34:03] Production.INFO: ==14783== Lock acquired, processing the job...
[2025-04-11 20:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 20:34:03] Production.INFO: Account Balance Start.
[2025-04-11 20:34:03] Production.INFO: CreateAllLog Start
[2025-04-11 20:34:03] Production.INFO: 117
[2025-04-11 20:34:03] Production.INFO: Date 2025-04-08
[2025-04-11 20:34:03] Production.INFO: Reseller ==> 0
[2025-04-11 20:34:03] Production.ERROR: done
[2025-04-11 20:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 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-11 20:34:04] Production.INFO: Date 2025-04-09
[2025-04-11 20:34:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:34:04] Production.INFO: count ==12
[2025-04-11 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-11 20:34:04] Production.INFO: count ==23
[2025-04-11 20:34:04] Production.INFO: Date 2025-04-10
[2025-04-11 20:34:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886691') start
[2025-04-11 20:34:04] Production.INFO: Date 2025-04-11
[2025-04-11 20:34:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:34:04] Production.ERROR: done
[2025-04-11 20:34:04] Production.INFO: Total Charge 0
[2025-04-11 20:34:04] Production.INFO: CreateAllLog End
[2025-04-11 20:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886691') end
[2025-04-11 20:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 20:34:04] Production.INFO: 1
[2025-04-11 20:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 20:34:04] Production.INFO: ==14783== Releasing lock...
[2025-04-11 20:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 20:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 20:34:04] Production.INFO: Account Balance End.
[2025-04-11 20:34:04] Production.ERROR: CronJobId end 12
[2025-04-11 20:34:04] Production.INFO: ==14779== Releasing lock...
[2025-04-11 20:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 20:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 20:34:04] Production.INFO: ==14775== Releasing lock...
[2025-04-11 20:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 20:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 20:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 17:34:05
[end_date_ymd] => 2025-04-11 20:34:05
[RateCDR] => 1
)
[2025-04-11 20:34:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 17:34:05' and `end` < '2025-04-11 20:34:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 20:34:13] Production.ERROR: CronJobId end10
[2025-04-11 20:34:13] Production.INFO: ==14777== Releasing lock...
[2025-04-11 20:34:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 20:34:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 20:34:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 20:34:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 20:34:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 20:34:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 20:34:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 20:34:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 20:34:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 20:34:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 20:34:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 20:34:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 20:34:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 20:34:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 20:34:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 20:34:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 20:34:15] Production.INFO: call_cost start
[2025-04-11 20:34:15] Production.INFO: call_cost end
[2025-04-11 20:34:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 20:34:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 20:34:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 20:34:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 20:34:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 20:34:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 20:34:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 20:34:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 20:34:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 20:34:16] Production.INFO: ==14773== Releasing lock...
[2025-04-11 20:34:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 20:34:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 20:34:18] Production.INFO: count ==1812
[2025-04-11 20:34:18] Production.ERROR: pbx CDR StartTime 2025-04-11 17:34:05 - End Time 2025-04-11 20:34:05
[2025-04-11 20:34:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 20:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886693', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886693', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886693', 'tblTempVendorCDR_20' ) start
[2025-04-11 20:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886693', 'tblTempVendorCDR_20' ) end
[2025-04-11 20:34:18] Production.INFO: ProcessCDR(1,14886693,1,1,2)
[2025-04-11 20:34:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886693,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:34:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886693,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:34:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886693,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:34:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886693,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:34:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886693', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:34:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886693', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:34:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 20:34:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 20:34:24] Production.INFO: ==14781== Releasing lock...
[2025-04-11 20:34:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 20:34:24] Production.INFO: 41.25 MB #Memory Used#
[2025-04-12 01:35:02] Production.INFO: ==14838== Lock acquired, processing the job...
[2025-04-12 01:35:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 01:35:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 01:35:02] Production.INFO: neon service started
[2025-04-12 01:35:02] Production.INFO: neon service started
[2025-04-12 01:35:02] Production.INFO: ==14838== Releasing lock...
[2025-04-12 01:35:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 01:35:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 20:35:02] Production.INFO: ==14840== Lock acquired, processing the job...
[2025-04-11 20:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 00:35:02] Production.INFO: ==14842== Lock acquired, processing the job...
[2025-04-12 00:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-11 20:35:02] Production.INFO: ==14840== Releasing lock...
[2025-04-11 20:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 20:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 00:35:02] Production.INFO: ==14842== Releasing lock...
[2025-04-12 00:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 00:35:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 20:35:03] Production.INFO: ==14846== Lock acquired, processing the job...
[2025-04-11 20:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 20:35:03] Production.INFO: ==14853== Lock acquired, processing the job...
[2025-04-11 20:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 20:35:03] Production.INFO: ==14844== Lock acquired, processing the job...
[2025-04-11 20:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 20:35:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 20:35:04] Production.INFO: ==14849== Lock acquired, processing the job...
[2025-04-11 20:35:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 20:35:04] Production.INFO: ==14851== Lock acquired, processing the job...
[2025-04-11 20:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 20:35:04] Production.INFO: ==14855== Lock acquired, processing the job...
[2025-04-11 20:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 20:35:04] Production.INFO: ==14846== Releasing lock...
[2025-04-11 20:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 20:35:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 20:35:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 20:35:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 20:35:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 20:35:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 20:35:04] Production.INFO: Account Balance Start.
[2025-04-11 20:35:04] Production.INFO: CreateAllLog Start
[2025-04-11 20:35:04] Production.INFO: 117
[2025-04-11 20:35:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 20:35:04] Production.INFO: Date 2025-04-08
[2025-04-11 20:35:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:35:04] Production.ERROR: done
[2025-04-11 20:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 20:35:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 20:35:04] Production.INFO: count ==12
[2025-04-11 20:35:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 20:35:04] Production.INFO: count ==23
[2025-04-11 20:35:04] Production.INFO: Date 2025-04-09
[2025-04-11 20:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886697') start
[2025-04-11 20:35:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:35:04] Production.ERROR: done
[2025-04-11 20:35:04] Production.INFO: Date 2025-04-10
[2025-04-11 20:35:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:35:04] Production.INFO: Date 2025-04-11
[2025-04-11 20:35:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886697') end
[2025-04-11 20:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 20:35:04] Production.INFO: 1
[2025-04-11 20:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 20:35:04] Production.INFO: Total Charge 0
[2025-04-11 20:35:04] Production.INFO: CreateAllLog End
[2025-04-11 20:35:04] Production.INFO: ==14855== Releasing lock...
[2025-04-11 20:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 20:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 20:35:05] Production.INFO: Account Balance End.
[2025-04-11 20:35:05] Production.ERROR: CronJobId end 12
[2025-04-11 20:35:05] Production.INFO: ==14851== Releasing lock...
[2025-04-11 20:35:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 20:35:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 20:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 17:35:05
[end_date_ymd] => 2025-04-11 20:35:05
[RateCDR] => 1
)
[2025-04-11 20:35:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 17:35:05' and `end` < '2025-04-11 20:35:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 20:35:14] Production.ERROR: CronJobId end10
[2025-04-11 20:35:14] Production.INFO: ==14849== Releasing lock...
[2025-04-11 20:35:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 20:35:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 20:35:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 20:35:16] Production.INFO: ============== Balance Warning START===========
[2025-04-11 20:35:16] Production.INFO: ============== Balance Warning END===========
[2025-04-11 20:35:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 20:35:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 20:35:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 20:35:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 20:35:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 20:35:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 20:35:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 20:35:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 20:35:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 20:35:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 20:35:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 20:35:16] Production.INFO: call_cost start
[2025-04-11 20:35:16] Production.INFO: call_cost end
[2025-04-11 20:35:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 20:35:17] Production.INFO: ============== Report Schedule START===========
[2025-04-11 20:35:17] Production.INFO: ============== Report Schedule END===========
[2025-04-11 20:35:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 20:35:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 20:35:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 20:35:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 20:35:17] Production.INFO: ============== Deal alert START===========
[2025-04-11 20:35:17] Production.INFO: ============== Deal alert END===========
[2025-04-11 20:35:17] Production.INFO: ==14844== Releasing lock...
[2025-04-11 20:35:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 20:35:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 20:35:18] Production.INFO: count ==1813
[2025-04-11 20:35:18] Production.ERROR: pbx CDR StartTime 2025-04-11 17:35:05 - End Time 2025-04-11 20:35:05
[2025-04-11 20:35:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 20:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886698', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886698', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886698', 'tblTempVendorCDR_20' ) start
[2025-04-11 20:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886698', 'tblTempVendorCDR_20' ) end
[2025-04-11 20:35:18] Production.INFO: ProcessCDR(1,14886698,1,1,2)
[2025-04-11 20:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886698,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:35:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886698,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:35:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886698,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:35:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886698,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:35:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886698', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:35:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886698', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:35:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 20:35:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 20:35:24] Production.INFO: ==14853== Releasing lock...
[2025-04-11 20:35:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 20:35:24] Production.INFO: 41.25 MB #Memory Used#
[2025-04-12 01:36:01] Production.INFO: ==14910== Lock acquired, processing the job...
[2025-04-12 01:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 01:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 01:36:01] Production.INFO: neon service started
[2025-04-12 01:36:01] Production.INFO: neon service started
[2025-04-12 01:36:01] Production.INFO: ==14910== Releasing lock...
[2025-04-12 01:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 01:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 20:36:02] Production.INFO: ==14912== Lock acquired, processing the job...
[2025-04-11 20:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 20:36:02] Production.INFO: ==14912== Releasing lock...
[2025-04-11 20:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 20:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 00:36:02] Production.INFO: ==14914== Lock acquired, processing the job...
[2025-04-12 00:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 00:36:02] Production.INFO: ==14914== Releasing lock...
[2025-04-12 00:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 00:36:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 20:36:03] Production.INFO: ==14918== Lock acquired, processing the job...
[2025-04-11 20:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 20:36:03] Production.INFO: ==14925== Lock acquired, processing the job...
[2025-04-11 20:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 20:36:03] Production.INFO: ==14916== Lock acquired, processing the job...
[2025-04-11 20:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 20:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 20:36:03] Production.INFO: ==14920== Lock acquired, processing the job...
[2025-04-11 20:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 20:36:03] Production.INFO: ==14923== Lock acquired, processing the job...
[2025-04-11 20:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 20:36:03] Production.INFO: ==14927== Lock acquired, processing the job...
[2025-04-11 20:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 20:36:03] Production.INFO: Account Balance Start.
[2025-04-11 20:36:03] Production.INFO: CreateAllLog Start
[2025-04-11 20:36:03] Production.INFO: 117
[2025-04-11 20:36:03] Production.INFO: Date 2025-04-08
[2025-04-11 20:36:03] Production.INFO: Reseller ==> 0
[2025-04-11 20:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 20:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 20:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 20:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 20:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 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-11 20:36:03] Production.INFO: Date 2025-04-09
[2025-04-11 20:36:03] Production.INFO: Reseller ==> 0
[2025-04-11 20:36:03] Production.INFO: count ==12
[2025-04-11 20:36:03] Production.INFO: Date 2025-04-10
[2025-04-11 20:36:03] Production.INFO: Reseller ==> 0
[2025-04-11 20:36:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 20:36:03] Production.INFO: count ==23
[2025-04-11 20:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886701') start
[2025-04-11 20:36:04] Production.INFO: ==14918== Releasing lock...
[2025-04-11 20:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 20:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 20:36:04] Production.ERROR: done
[2025-04-11 20:36:04] Production.INFO: Date 2025-04-11
[2025-04-11 20:36:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 20:36:04] Production.INFO: Total Charge 0
[2025-04-11 20:36:04] Production.INFO: CreateAllLog End
[2025-04-11 20:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886701') end
[2025-04-11 20:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 20:36:04] Production.INFO: 1
[2025-04-11 20:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 20:36:04] Production.ERROR: done
[2025-04-11 20:36:04] Production.INFO: ==14927== Releasing lock...
[2025-04-11 20:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 20:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 20:36:04] Production.INFO: Account Balance End.
[2025-04-11 20:36:04] Production.ERROR: CronJobId end 12
[2025-04-11 20:36:04] Production.INFO: ==14923== Releasing lock...
[2025-04-11 20:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 20:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 20:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 17:36:05
[end_date_ymd] => 2025-04-11 20:36:05
[RateCDR] => 1
)
[2025-04-11 20:36:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 17:36:05' and `end` < '2025-04-11 20:36:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 20:36:12] Production.ERROR: CronJobId end10
[2025-04-11 20:36:12] Production.INFO: ==14920== Releasing lock...
[2025-04-11 20:36:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 20:36:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 20:36:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 20:36:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 20:36:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 20:36:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 20:36:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 20:36:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 20:36:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 20:36:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 20:36:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 20:36:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 20:36:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 20:36:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 20:36:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 20:36:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 20:36:15] Production.INFO: call_cost start
[2025-04-11 20:36:15] Production.INFO: call_cost end
[2025-04-11 20:36:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 20:36:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 20:36:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 20:36:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 20:36:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 20:36:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 20:36:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 20:36:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 20:36:17] Production.INFO: ============== Deal alert END===========
[2025-04-11 20:36:17] Production.INFO: ==14916== Releasing lock...
[2025-04-11 20:36:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 20:36:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 20:36:18] Production.INFO: count ==1813
[2025-04-11 20:36:18] Production.ERROR: pbx CDR StartTime 2025-04-11 17:36:05 - End Time 2025-04-11 20:36:05
[2025-04-11 20:36:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 20:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886703', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886703', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886703', 'tblTempVendorCDR_20' ) start
[2025-04-11 20:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886703', 'tblTempVendorCDR_20' ) end
[2025-04-11 20:36:19] Production.INFO: ProcessCDR(1,14886703,1,1,2)
[2025-04-11 20:36:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886703,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:36:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886703,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:36:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886703,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:36:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886703,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886703', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886703', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:36:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 20:36:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 20:36:22] Production.INFO: ==14925== Releasing lock...
[2025-04-11 20:36:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 20:36:22] Production.INFO: 41.25 MB #Memory Used#
[2025-04-12 01:37:02] Production.INFO: ==14980== Lock acquired, processing the job...
[2025-04-12 01:37:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 01:37:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 01:37:02] Production.INFO: neon service started
[2025-04-12 01:37:02] Production.INFO: neon service started
[2025-04-12 01:37:02] Production.INFO: ==14980== Releasing lock...
[2025-04-12 01:37:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 01:37:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 20:37:03] Production.INFO: ==14982== Lock acquired, processing the job...
[2025-04-11 20:37:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 00:37:03] Production.INFO: ==14984== Lock acquired, processing the job...
[2025-04-12 00:37:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 00:37:03] Production.INFO: ==14984== Releasing lock...
[2025-04-12 00:37:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 00:37:03] Production.INFO: 25 MB #Memory Used#
[2025-04-11 20:37:03] Production.INFO: ==14982== Releasing lock...
[2025-04-11 20:37:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 20:37:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 20:37:04] Production.INFO: ==14987== Lock acquired, processing the job...
[2025-04-11 20:37:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 20:37:04] Production.INFO: ==14989== Lock acquired, processing the job...
[2025-04-11 20:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 20:37:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 20:37:04] Production.INFO: ==14991== Lock acquired, processing the job...
[2025-04-11 20:37:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 20:37:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 20:37:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 20:37:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 20:37:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 20:37:04] Production.INFO: ==14993== Lock acquired, processing the job...
[2025-04-11 20:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 20:37:04] Production.INFO: ==14995== Lock acquired, processing the job...
[2025-04-11 20:37:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 20:37:04] Production.INFO: ==14997== Lock acquired, processing the job...
[2025-04-11 20:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 20:37:04] Production.INFO: ==14989== Releasing lock...
[2025-04-11 20:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 20:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 20:37:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 20:37:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 20:37:04] Production.INFO: Account Balance Start.
[2025-04-11 20:37:04] Production.INFO: CreateAllLog Start
[2025-04-11 20:37:04] Production.INFO: 117
[2025-04-11 20:37:04] Production.INFO: Date 2025-04-08
[2025-04-11 20:37:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:37:04] Production.INFO: count ==12
[2025-04-11 20:37:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 20:37:04] Production.INFO: count ==23
[2025-04-11 20:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886707') start
[2025-04-11 20:37:05] Production.INFO: Date 2025-04-09
[2025-04-11 20:37:05] Production.INFO: Reseller ==> 0
[2025-04-11 20:37:05] Production.INFO: Date 2025-04-10
[2025-04-11 20:37:05] Production.INFO: Reseller ==> 0
[2025-04-11 20:37:05] Production.ERROR: PBX CALL prc_importPBXExtension('14886707') end
[2025-04-11 20:37:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 20:37:05] Production.INFO: 1
[2025-04-11 20:37:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 20:37:05] Production.INFO: Date 2025-04-11
[2025-04-11 20:37:05] Production.INFO: Reseller ==> 0
[2025-04-11 20:37:05] Production.INFO: Total Charge 0
[2025-04-11 20:37:05] Production.INFO: CreateAllLog End
[2025-04-11 20:37:05] Production.INFO: ==14997== Releasing lock...
[2025-04-11 20:37:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 20:37:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 20:37:05] Production.ERROR: done
[2025-04-11 20:37:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 20:37:05] Production.ERROR: done
[2025-04-11 20:37:05] Production.INFO: Account Balance End.
[2025-04-11 20:37:05] Production.ERROR: CronJobId end 12
[2025-04-11 20:37:05] Production.INFO: ==14993== Releasing lock...
[2025-04-11 20:37:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 20:37:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 20:37:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 17:37:06
[end_date_ymd] => 2025-04-11 20:37:06
[RateCDR] => 1
)
[2025-04-11 20:37:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 17:37:06' and `end` < '2025-04-11 20:37:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 20:37:14] Production.ERROR: CronJobId end10
[2025-04-11 20:37:14] Production.INFO: ==14991== Releasing lock...
[2025-04-11 20:37:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 20:37:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 20:37:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 20:37:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 20:37:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 20:37:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 20:37:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 20:37:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 20:37:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 20:37:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 20:37:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 20:37:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 20:37:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 20:37:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 20:37:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 20:37:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 20:37:15] Production.INFO: call_cost start
[2025-04-11 20:37:15] Production.INFO: call_cost end
[2025-04-11 20:37:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 20:37:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 20:37:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 20:37:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 20:37:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 20:37:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 20:37:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 20:37:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 20:37:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 20:37:16] Production.INFO: ==14987== Releasing lock...
[2025-04-11 20:37:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 20:37:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 20:37:19] Production.INFO: count ==1810
[2025-04-11 20:37:19] Production.ERROR: pbx CDR StartTime 2025-04-11 17:37:06 - End Time 2025-04-11 20:37:06
[2025-04-11 20:37:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 20:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886708', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886708', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886708', 'tblTempVendorCDR_20' ) start
[2025-04-11 20:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886708', 'tblTempVendorCDR_20' ) end
[2025-04-11 20:37:19] Production.INFO: ProcessCDR(1,14886708,1,1,2)
[2025-04-11 20:37:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886708,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:37:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886708,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:37:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886708,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:37:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886708,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:37:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886708', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:37:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886708', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:37:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 20:37:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 20:37:24] Production.INFO: ==14995== Releasing lock...
[2025-04-11 20:37:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 20:37:24] Production.INFO: 41.25 MB #Memory Used#
[2025-04-12 01:38:01] Production.INFO: ==15049== Lock acquired, processing the job...
[2025-04-12 01:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 01:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 01:38:01] Production.INFO: neon service started
[2025-04-12 01:38:01] Production.INFO: neon service started
[2025-04-12 01:38:01] Production.INFO: ==15049== Releasing lock...
[2025-04-12 01:38:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 01:38:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 20:38:02] Production.INFO: ==15051== Lock acquired, processing the job...
[2025-04-11 20:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 00:38:02] Production.INFO: ==15053== Lock acquired, processing the job...
[2025-04-12 00:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-11 20:38:02] Production.INFO: ==15051== Releasing lock...
[2025-04-11 20:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 20:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 00:38:02] Production.INFO: ==15053== Releasing lock...
[2025-04-12 00:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 00:38:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 20:38:03] Production.INFO: ==15055== Lock acquired, processing the job...
[2025-04-11 20:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 20:38:03] Production.INFO: ==15057== Lock acquired, processing the job...
[2025-04-11 20:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 20:38:03] Production.INFO: ==15059== Lock acquired, processing the job...
[2025-04-11 20:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 20:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 20:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 20:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 20:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 20:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 20:38:03] Production.INFO: ==15061== Lock acquired, processing the job...
[2025-04-11 20:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 20:38:03] Production.INFO: ==15057== Releasing lock...
[2025-04-11 20:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 20:38:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 20:38:03] Production.INFO: ==15063== Lock acquired, processing the job...
[2025-04-11 20:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 20:38:03] Production.INFO: ==15066== Lock acquired, processing the job...
[2025-04-11 20:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 20:38:03] Production.INFO: Account Balance Start.
[2025-04-11 20:38:03] Production.INFO: CreateAllLog Start
[2025-04-11 20:38:03] Production.INFO: 117
[2025-04-11 20:38:03] Production.INFO: Date 2025-04-08
[2025-04-11 20:38:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:38:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 20:38:04] Production.INFO: Date 2025-04-09
[2025-04-11 20:38:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:38:04] Production.INFO: Date 2025-04-10
[2025-04-11 20:38:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:38:04] Production.INFO: Date 2025-04-11
[2025-04-11 20:38:04] Production.INFO: Reseller ==> 0
[2025-04-11 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-11 20:38:04] Production.INFO: Total Charge 0
[2025-04-11 20:38:04] Production.INFO: CreateAllLog End
[2025-04-11 20:38:04] Production.INFO: count ==12
[2025-04-11 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-11 20:38:04] Production.INFO: count ==23
[2025-04-11 20:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886712') start
[2025-04-11 20:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886712') end
[2025-04-11 20:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 20:38:04] Production.INFO: 1
[2025-04-11 20:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 20:38:04] Production.INFO: ==15066== Releasing lock...
[2025-04-11 20:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 20:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 20:38:04] Production.ERROR: done
[2025-04-11 20:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 20:38:04] Production.INFO: Account Balance End.
[2025-04-11 20:38:04] Production.ERROR: CronJobId end 12
[2025-04-11 20:38:04] Production.INFO: ==15061== Releasing lock...
[2025-04-11 20:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 20:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 20:38:04] Production.ERROR: done
[2025-04-11 20:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 17:38:05
[end_date_ymd] => 2025-04-11 20:38:05
[RateCDR] => 1
)
[2025-04-11 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-11 17:38:05' and `end` < '2025-04-11 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-11 20:38:12] Production.ERROR: CronJobId end10
[2025-04-11 20:38:12] Production.INFO: ==15059== Releasing lock...
[2025-04-11 20:38:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 20:38:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 20:38:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 20:38:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 20:38:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 20:38:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 20:38:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 20:38:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 20:38:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 20:38:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 20:38:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 20:38:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 20:38:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 20:38:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 20:38:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 20:38:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 20:38:15] Production.INFO: call_cost start
[2025-04-11 20:38:15] Production.INFO: call_cost end
[2025-04-11 20:38:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 20:38:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 20:38:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 20:38:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 20:38:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 20:38:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 20:38:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 20:38:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 20:38:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 20:38:16] Production.INFO: ==15055== Releasing lock...
[2025-04-11 20:38:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 20:38:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 20:38:19] Production.INFO: count ==1794
[2025-04-11 20:38:19] Production.ERROR: pbx CDR StartTime 2025-04-11 17:38:05 - End Time 2025-04-11 20:38:05
[2025-04-11 20:38:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 20:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886713', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886713', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886713', 'tblTempVendorCDR_20' ) start
[2025-04-11 20:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886713', 'tblTempVendorCDR_20' ) end
[2025-04-11 20:38:19] Production.INFO: ProcessCDR(1,14886713,1,1,2)
[2025-04-11 20:38:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886713,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:38:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886713,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:38:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886713,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:38:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886713,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886713', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886713', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:38:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 20:38:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 20:38:22] Production.INFO: ==15063== Releasing lock...
[2025-04-11 20:38:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 20:38:22] Production.INFO: 41 MB #Memory Used#
[2025-04-12 01:39:02] Production.INFO: ==15126== Lock acquired, processing the job...
[2025-04-12 01:39:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 01:39:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 01:39:02] Production.INFO: neon service started
[2025-04-12 01:39:02] Production.INFO: neon service started
[2025-04-12 01:39:02] Production.INFO: ==15126== Releasing lock...
[2025-04-12 01:39:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 01:39:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 20:39:02] Production.INFO: ==15128== Lock acquired, processing the job...
[2025-04-11 20:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 00:39:02] Production.INFO: ==15130== Lock acquired, processing the job...
[2025-04-12 00:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-11 20:39:02] Production.INFO: ==15128== Releasing lock...
[2025-04-11 20:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 20:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 00:39:03] Production.INFO: ==15130== Releasing lock...
[2025-04-12 00:39:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 00:39:03] Production.INFO: 25 MB #Memory Used#
[2025-04-11 20:39:03] Production.INFO: ==15139== Lock acquired, processing the job...
[2025-04-11 20:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 20:39:03] Production.INFO: Account Balance Start.
[2025-04-11 20:39:03] Production.INFO: CreateAllLog Start
[2025-04-11 20:39:03] Production.INFO: 117
[2025-04-11 20:39:03] Production.INFO: Date 2025-04-08
[2025-04-11 20:39:03] Production.INFO: Reseller ==> 0
[2025-04-11 20:39:03] Production.INFO: ==15133== Lock acquired, processing the job...
[2025-04-11 20:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 20:39:03] Production.INFO: Date 2025-04-09
[2025-04-11 20:39:03] Production.INFO: Reseller ==> 0
[2025-04-11 20:39:03] Production.INFO: Date 2025-04-10
[2025-04-11 20:39:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:39:04] Production.INFO: Date 2025-04-11
[2025-04-11 20:39:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:39:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 20:39:04] Production.INFO: Total Charge 0
[2025-04-11 20:39:04] Production.INFO: ==15135== Lock acquired, processing the job...
[2025-04-11 20:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 20:39:04] Production.INFO: ==15143== Lock acquired, processing the job...
[2025-04-11 20:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 20:39:04] Production.INFO: CreateAllLog End
[2025-04-11 20:39:04] Production.INFO: ==15137== Lock acquired, processing the job...
[2025-04-11 20:39:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 20:39:04] Production.INFO: Account Balance End.
[2025-04-11 20:39:04] Production.ERROR: CronJobId end 12
[2025-04-11 20:39:04] Production.INFO: ==15139== Releasing lock...
[2025-04-11 20:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 20:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 20:39:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 20:39:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 20:39:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 20:39:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 20:39:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 20:39:04] Production.INFO: ==15141== Lock acquired, processing the job...
[2025-04-11 20:39:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 20:39:04] Production.INFO: count ==12
[2025-04-11 20:39:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 20:39:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 20:39:04] Production.INFO: count ==23
[2025-04-11 20:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886717') start
[2025-04-11 20:39:04] Production.INFO: ==15135== Releasing lock...
[2025-04-11 20:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 20:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 20:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886717') end
[2025-04-11 20:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 20:39:04] Production.INFO: 1
[2025-04-11 20:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 20:39:04] Production.INFO: ==15143== Releasing lock...
[2025-04-11 20:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 20:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 20:39:04] Production.ERROR: done
[2025-04-11 20:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 20:39:05] Production.ERROR: done
[2025-04-11 20:39:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 17:39:06
[end_date_ymd] => 2025-04-11 20:39:06
[RateCDR] => 1
)
[2025-04-11 20: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-11 17:39:06' and `end` < '2025-04-11 20: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-11 20:39:13] Production.ERROR: CronJobId end10
[2025-04-11 20:39:13] Production.INFO: ==15137== Releasing lock...
[2025-04-11 20:39:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 20:39:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 20:39:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 20:39:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 20:39:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 20:39:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 20:39:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 20:39:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 20:39:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 20:39:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 20:39:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 20:39:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 20:39:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 20:39:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 20:39:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 20:39:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 20:39:15] Production.INFO: call_cost start
[2025-04-11 20:39:15] Production.INFO: call_cost end
[2025-04-11 20:39:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 20:39:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 20:39:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 20:39:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 20:39:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 20:39:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 20:39:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 20:39:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 20:39:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 20:39:16] Production.INFO: ==15133== Releasing lock...
[2025-04-11 20:39:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 20:39:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 20:39:19] Production.INFO: count ==1784
[2025-04-11 20:39:19] Production.ERROR: pbx CDR StartTime 2025-04-11 17:39:06 - End Time 2025-04-11 20:39:06
[2025-04-11 20:39:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 20:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886718', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886718', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886718', 'tblTempVendorCDR_20' ) start
[2025-04-11 20:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886718', 'tblTempVendorCDR_20' ) end
[2025-04-11 20:39:19] Production.INFO: ProcessCDR(1,14886718,1,1,2)
[2025-04-11 20:39:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886718,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:39:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886718,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:39:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886718,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:39:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886718,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:39:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886718', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:39:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886718', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:39:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 20:39:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 20:39:23] Production.INFO: ==15141== Releasing lock...
[2025-04-11 20:39:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 20:39:23] Production.INFO: 41 MB #Memory Used#
[2025-04-12 01:40:01] Production.INFO: ==15198== Lock acquired, processing the job...
[2025-04-12 01:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 01:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 01:40:01] Production.INFO: neon service started
[2025-04-12 01:40:01] Production.INFO: neon service started
[2025-04-12 01:40:01] Production.INFO: ==15198== Releasing lock...
[2025-04-12 01:40:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 01:40:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 00:40:02] Production.INFO: ==15202== Lock acquired, processing the job...
[2025-04-12 00:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 00:40:02] Production.INFO: ==15202== Releasing lock...
[2025-04-12 00:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 00:40:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 20:40:02] Production.INFO: ==15200== Lock acquired, processing the job...
[2025-04-11 20:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 20:40:02] Production.INFO: ==15200== Releasing lock...
[2025-04-11 20:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 20:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 20:40:03] Production.INFO: ==15205== Lock acquired, processing the job...
[2025-04-11 20:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-11 20:40:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-11 20:40:03] Production.ERROR: ========================== active cronjob end =============================
[2025-04-11 20:40:03] Production.INFO: ==15205== Releasing lock...
[2025-04-11 20:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-11 20:40:03] Production.INFO: 25.5 MB #Memory Used#
[2025-04-11 20:40:03] Production.INFO: ==15207== Lock acquired, processing the job...
[2025-04-11 20:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 20:40:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 20:40:03] Production.INFO: ==15211== Lock acquired, processing the job...
[2025-04-11 20:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 20:40:03] Production.INFO: ==15209== Lock acquired, processing the job...
[2025-04-11 20:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 20:40:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 20:40:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 20:40:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 20:40:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 20:40:03] Production.INFO: ==15215== Lock acquired, processing the job...
[2025-04-11 20:40:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 20:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 20:40:04] Production.INFO: ==15213== Lock acquired, processing the job...
[2025-04-11 20:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 20:40:04] Production.INFO: ==15217== Lock acquired, processing the job...
[2025-04-11 20:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-11 20:40:04] Production.INFO: ==15219== Lock acquired, processing the job...
[2025-04-11 20:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 20:40:04] Production.INFO: ==15209== Releasing lock...
[2025-04-11 20:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 20:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 20:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 20:40:04] Production.INFO: Account Balance Start.
[2025-04-11 20:40:04] Production.INFO: CreateAllLog Start
[2025-04-11 20:40:04] Production.INFO: 117
[2025-04-11 20:40:04] Production.INFO: Date 2025-04-08
[2025-04-11 20:40:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:40:04] Production.ERROR: done
[2025-04-11 20:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 20:40:04] Production.INFO: Date 2025-04-09
[2025-04-11 20:40:04] Production.INFO: Reseller ==> 0
[2025-04-11 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-11 20:40:04] Production.INFO: Date 2025-04-10
[2025-04-11 20:40:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:40:04] Production.INFO: Date 2025-04-11
[2025-04-11 20:40:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:40:04] Production.INFO: count ==12
[2025-04-11 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-11 20:40:04] Production.INFO: count ==23
[2025-04-11 20:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886722') start
[2025-04-11 20:40:04] Production.ERROR: done
[2025-04-11 20:40:04] Production.INFO: Total Charge 0
[2025-04-11 20:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-11 20:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14886723', 'tblTempUsageDetail_20reseller','2025-04-11','2025-04-11','1' ) start
[2025-04-11 20:40:04] Production.INFO: CreateAllLog End
[2025-04-11 20:40:04] Production.ERROR: done
[2025-04-11 20:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886722') end
[2025-04-11 20:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 20:40:04] Production.INFO: 1
[2025-04-11 20:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 20:40:04] Production.INFO: ==15219== Releasing lock...
[2025-04-11 20:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 20:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 20:40:05] Production.INFO: Account Balance End.
[2025-04-11 20:40:05] Production.ERROR: CronJobId end 12
[2025-04-11 20:40:05] Production.INFO: ==15213== Releasing lock...
[2025-04-11 20:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 20:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 20:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 17:40:06
[end_date_ymd] => 2025-04-11 20:40:06
[RateCDR] => 1
)
[2025-04-11 20:40:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 17:40:06' and `end` < '2025-04-11 20:40:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 20:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14886723', 'tblTempUsageDetail_20reseller','2025-04-11','2025-04-11','1' ) end
[2025-04-11 20:40:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-11 20:40:09] Production.INFO: ProcessCDR(1,14886723,1,1,2)
[2025-04-11 20:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14886723,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14886723,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 20:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 20:40:09] Production.INFO: ==15217== Releasing lock...
[2025-04-11 20:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-11 20:40:09] Production.INFO: 26 MB #Memory Used#
[2025-04-11 20:40:14] Production.ERROR: CronJobId end10
[2025-04-11 20:40:14] Production.INFO: ==15211== Releasing lock...
[2025-04-11 20:40:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 20:40:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 20:40:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 20:40:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 20:40:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 20:40:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 20:40:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 20:40:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 20:40:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 20:40:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 20:40:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 20:40:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 20:40:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 20:40:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 20:40:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 20:40:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 20:40:16] Production.INFO: call_cost start
[2025-04-11 20:40:16] Production.INFO: call_cost end
[2025-04-11 20:40:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 20:40:17] Production.INFO: ============== Report Schedule START===========
[2025-04-11 20:40:17] Production.INFO: ============== Report Schedule END===========
[2025-04-11 20:40:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 20:40:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 20:40:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 20:40:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 20:40:17] Production.INFO: ============== Deal alert START===========
[2025-04-11 20:40:17] Production.INFO: ============== Deal alert END===========
[2025-04-11 20:40:17] Production.INFO: ==15207== Releasing lock...
[2025-04-11 20:40:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 20:40:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 20:40:19] Production.INFO: count ==1782
[2025-04-11 20:40:19] Production.ERROR: pbx CDR StartTime 2025-04-11 17:40:06 - End Time 2025-04-11 20:40:06
[2025-04-11 20:40:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 20:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886724', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886724', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886724', 'tblTempVendorCDR_20' ) start
[2025-04-11 20:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886724', 'tblTempVendorCDR_20' ) end
[2025-04-11 20:40:19] Production.INFO: ProcessCDR(1,14886724,1,1,2)
[2025-04-11 20:40:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886724,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:40:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886724,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:40:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886724,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:40:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886724,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886724', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886724', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:40:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 20:40:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 20:40:22] Production.INFO: ==15215== Releasing lock...
[2025-04-11 20:40:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 20:40:22] Production.INFO: 41 MB #Memory Used#
[2025-04-12 01:41:02] Production.INFO: ==15274== Lock acquired, processing the job...
[2025-04-12 01:41:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 01:41:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 01:41:02] Production.INFO: neon service started
[2025-04-12 01:41:02] Production.INFO: neon service started
[2025-04-12 01:41:02] Production.INFO: ==15274== Releasing lock...
[2025-04-12 01:41:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 01:41:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 20:41:02] Production.INFO: ==15276== Lock acquired, processing the job...
[2025-04-11 20:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 00:41:02] Production.INFO: ==15278== Lock acquired, processing the job...
[2025-04-12 00:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 00:41:02] Production.INFO: ==15278== Releasing lock...
[2025-04-12 00:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 00:41:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 20:41:03] Production.INFO: ==15276== Releasing lock...
[2025-04-11 20:41:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 20:41:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 20:41:04] Production.INFO: ==15285== Lock acquired, processing the job...
[2025-04-11 20:41:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 20:41:04] Production.INFO: ==15289== Lock acquired, processing the job...
[2025-04-11 20:41:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 20:41:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 20:41:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 20:41:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 20:41:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 20:41:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 20:41:04] Production.INFO: ==15283== Lock acquired, processing the job...
[2025-04-11 20:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 20:41:04] Production.INFO: ==15281== Lock acquired, processing the job...
[2025-04-11 20:41:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 20:41:04] Production.INFO: ==15287== Lock acquired, processing the job...
[2025-04-11 20:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 20:41:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 20:41:04] Production.INFO: ==15291== Lock acquired, processing the job...
[2025-04-11 20:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 20:41:04] Production.INFO: Account Balance Start.
[2025-04-11 20:41:04] Production.INFO: CreateAllLog Start
[2025-04-11 20:41:04] Production.INFO: 117
[2025-04-11 20:41:04] Production.INFO: Date 2025-04-08
[2025-04-11 20:41:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:41:04] Production.INFO: Date 2025-04-09
[2025-04-11 20:41:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:41:04] Production.INFO: Date 2025-04-10
[2025-04-11 20:41:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:41:04] Production.INFO: Date 2025-04-11
[2025-04-11 20:41:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:41:04] Production.INFO: Total Charge 0
[2025-04-11 20:41:04] Production.ERROR: done
[2025-04-11 20:41:04] Production.INFO: CreateAllLog End
[2025-04-11 20:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 20:41:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 20:41:05] Production.INFO: count ==12
[2025-04-11 20:41:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 20:41:05] Production.INFO: count ==23
[2025-04-11 20:41:05] Production.ERROR: PBX CALL prc_importPBXExtension('14886728') start
[2025-04-11 20:41:05] Production.ERROR: done
[2025-04-11 20:41:05] Production.INFO: Account Balance End.
[2025-04-11 20:41:05] Production.ERROR: PBX CALL prc_importPBXExtension('14886728') end
[2025-04-11 20:41:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 20:41:05] Production.INFO: 1
[2025-04-11 20:41:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 20:41:05] Production.ERROR: CronJobId end 12
[2025-04-11 20:41:05] Production.INFO: ==15287== Releasing lock...
[2025-04-11 20:41:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 20:41:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 20:41:05] Production.INFO: ==15283== Releasing lock...
[2025-04-11 20:41:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 20:41:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 20:41:05] Production.INFO: ==15291== Releasing lock...
[2025-04-11 20:41:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 20:41:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 20:41:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 17:41:06
[end_date_ymd] => 2025-04-11 20:41:06
[RateCDR] => 1
)
[2025-04-11 20:41:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 17:41:06' and `end` < '2025-04-11 20: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-11 20:41:13] Production.ERROR: CronJobId end10
[2025-04-11 20:41:13] Production.INFO: ==15285== Releasing lock...
[2025-04-11 20:41:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 20:41:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 20:41:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 20:41:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 20:41:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 20:41:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 20:41:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 20:41:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 20:41:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 20:41:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 20:41:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 20:41:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 20:41:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 20:41:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 20:41:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 20:41:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 20:41:15] Production.INFO: call_cost start
[2025-04-11 20:41:15] Production.INFO: call_cost end
[2025-04-11 20:41:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 20:41:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 20:41:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 20:41:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 20:41:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 20:41:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 20:41:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 20:41:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 20:41:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 20:41:16] Production.INFO: ==15281== Releasing lock...
[2025-04-11 20:41:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 20:41:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 20:41:19] Production.INFO: count ==1751
[2025-04-11 20:41:19] Production.ERROR: pbx CDR StartTime 2025-04-11 17:41:06 - End Time 2025-04-11 20:41:06
[2025-04-11 20:41:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 20:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886729', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886729', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886729', 'tblTempVendorCDR_20' ) start
[2025-04-11 20:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886729', 'tblTempVendorCDR_20' ) end
[2025-04-11 20:41:19] Production.INFO: ProcessCDR(1,14886729,1,1,2)
[2025-04-11 20:41:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886729,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:41:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886729,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:41:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886729,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:41:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886729,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:41:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886729', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:41:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886729', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:41:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 20:41:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 20:41:23] Production.INFO: ==15289== Releasing lock...
[2025-04-11 20:41:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 20:41:23] Production.INFO: 40.75 MB #Memory Used#
[2025-04-12 01:42:01] Production.INFO: ==15344== Lock acquired, processing the job...
[2025-04-12 01:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 01:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 01:42:01] Production.INFO: neon service started
[2025-04-12 01:42:01] Production.INFO: neon service started
[2025-04-12 01:42:01] Production.INFO: ==15344== Releasing lock...
[2025-04-12 01:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 01:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 00:42:02] Production.INFO: ==15348== Lock acquired, processing the job...
[2025-04-12 00:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 00:42:02] Production.INFO: ==15348== Releasing lock...
[2025-04-12 00:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 00:42:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 20:42:02] Production.INFO: ==15346== Lock acquired, processing the job...
[2025-04-11 20:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 20:42:02] Production.INFO: ==15346== Releasing lock...
[2025-04-11 20:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 20:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 20:42:03] Production.INFO: ==15359== Lock acquired, processing the job...
[2025-04-11 20:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 20:42:03] Production.INFO: ==15361== Lock acquired, processing the job...
[2025-04-11 20:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 20:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 20:42:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 20:42:03] Production.INFO: ==15351== Lock acquired, processing the job...
[2025-04-11 20:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 20:42:03] Production.INFO: count ==12
[2025-04-11 20:42:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 20:42:03] Production.INFO: ==15353== Lock acquired, processing the job...
[2025-04-11 20:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 20:42:03] Production.INFO: count ==23
[2025-04-11 20:42:03] Production.INFO: ==15355== Lock acquired, processing the job...
[2025-04-11 20:42:03] Production.INFO: ==15357== Lock acquired, processing the job...
[2025-04-11 20:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 20:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 20:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14886730') start
[2025-04-11 20:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 20:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886730') end
[2025-04-11 20:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 20:42:04] Production.INFO: 1
[2025-04-11 20:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 20:42:04] Production.INFO: Account Balance Start.
[2025-04-11 20:42:04] Production.INFO: CreateAllLog Start
[2025-04-11 20:42:04] Production.INFO: 117
[2025-04-11 20:42:04] Production.INFO: ==15361== Releasing lock...
[2025-04-11 20:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 20:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 20:42:04] Production.INFO: Date 2025-04-08
[2025-04-11 20:42:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 20:42:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 20:42:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 20:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 20:42:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:42:04] Production.ERROR: done
[2025-04-11 20:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 20:42:04] Production.INFO: Date 2025-04-09
[2025-04-11 20:42:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:42:04] Production.INFO: Date 2025-04-10
[2025-04-11 20:42:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:42:04] Production.INFO: Date 2025-04-11
[2025-04-11 20:42:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:42:04] Production.INFO: Total Charge 0
[2025-04-11 20:42:04] Production.INFO: CreateAllLog End
[2025-04-11 20:42:04] Production.INFO: ==15353== Releasing lock...
[2025-04-11 20:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 20:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 20:42:04] Production.ERROR: done
[2025-04-11 20:42:04] Production.INFO: Account Balance End.
[2025-04-11 20:42:04] Production.ERROR: CronJobId end 12
[2025-04-11 20:42:04] Production.INFO: ==15357== Releasing lock...
[2025-04-11 20:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 20:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 20:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 17:42:05
[end_date_ymd] => 2025-04-11 20:42:05
[RateCDR] => 1
)
[2025-04-11 20:42:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 17:42:05' and `end` < '2025-04-11 20:42:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 20:42:13] Production.ERROR: CronJobId end10
[2025-04-11 20:42:13] Production.INFO: ==15355== Releasing lock...
[2025-04-11 20:42:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 20:42:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 20:42:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 20:42:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 20:42:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 20:42:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 20:42:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 20:42:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 20:42:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 20:42:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 20:42:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 20:42:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 20:42:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 20:42:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 20:42:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 20:42:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 20:42:15] Production.INFO: call_cost start
[2025-04-11 20:42:15] Production.INFO: call_cost end
[2025-04-11 20:42:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 20:42:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 20:42:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 20:42:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 20:42:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 20:42:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 20:42:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 20:42:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 20:42:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 20:42:16] Production.INFO: ==15351== Releasing lock...
[2025-04-11 20:42:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 20:42:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 20:42:18] Production.INFO: count ==1766
[2025-04-11 20:42:18] Production.ERROR: pbx CDR StartTime 2025-04-11 17:42:05 - End Time 2025-04-11 20:42:05
[2025-04-11 20:42:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 20:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886734', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886734', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886734', 'tblTempVendorCDR_20' ) start
[2025-04-11 20:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886734', 'tblTempVendorCDR_20' ) end
[2025-04-11 20:42:18] Production.INFO: ProcessCDR(1,14886734,1,1,2)
[2025-04-11 20:42:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886734,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:42:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886734,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:42:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886734,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:42:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886734,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:42:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886734', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:42:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886734', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:42:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 20:42:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 20:42:23] Production.INFO: ==15359== Releasing lock...
[2025-04-11 20:42:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 20:42:23] Production.INFO: 40.75 MB #Memory Used#
[2025-04-12 01:43:02] Production.INFO: ==15420== Lock acquired, processing the job...
[2025-04-12 01:43:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 01:43:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 01:43:02] Production.INFO: neon service started
[2025-04-12 01:43:02] Production.INFO: neon service started
[2025-04-12 01:43:02] Production.INFO: ==15420== Releasing lock...
[2025-04-12 01:43:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 01:43:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 20:43:02] Production.INFO: ==15422== Lock acquired, processing the job...
[2025-04-11 20:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 20:43:02] Production.INFO: ==15422== Releasing lock...
[2025-04-11 20:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 20:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 00:43:03] Production.INFO: ==15424== Lock acquired, processing the job...
[2025-04-12 00:43:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 00:43:03] Production.INFO: ==15424== Releasing lock...
[2025-04-12 00:43:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 00:43:03] Production.INFO: 25 MB #Memory Used#
[2025-04-11 20:43:03] Production.INFO: ==15427== Lock acquired, processing the job...
[2025-04-11 20:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 20:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 20:43:03] Production.INFO: ==15429== Lock acquired, processing the job...
[2025-04-11 20:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 20:43:03] Production.INFO: ==15431== Lock acquired, processing the job...
[2025-04-11 20:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 20:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 20:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 20:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 20:43:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 20:43:04] Production.INFO: ==15433== Lock acquired, processing the job...
[2025-04-11 20:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 20:43:04] Production.INFO: ==15435== Lock acquired, processing the job...
[2025-04-11 20:43:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 20:43:04] Production.INFO: ==15429== Releasing lock...
[2025-04-11 20:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 20:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 20:43:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 20:43:04] Production.INFO: Account Balance Start.
[2025-04-11 20:43:04] Production.INFO: CreateAllLog Start
[2025-04-11 20:43:04] Production.INFO: 117
[2025-04-11 20:43:04] Production.INFO: Date 2025-04-08
[2025-04-11 20:43:04] Production.INFO: ==15437== Lock acquired, processing the job...
[2025-04-11 20:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 20:43:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:43:04] Production.INFO: Date 2025-04-09
[2025-04-11 20:43:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:43:04] Production.INFO: Date 2025-04-10
[2025-04-11 20:43:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:43:04] Production.INFO: Date 2025-04-11
[2025-04-11 20:43:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:43:04] Production.INFO: Total Charge 0
[2025-04-11 20:43:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 20:43:04] Production.INFO: CreateAllLog End
[2025-04-11 20:43:04] Production.INFO: count ==12
[2025-04-11 20:43:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 20:43:04] Production.INFO: count ==23
[2025-04-11 20:43:04] Production.ERROR: done
[2025-04-11 20:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 20:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886738') start
[2025-04-11 20:43:04] Production.ERROR: done
[2025-04-11 20:43:04] Production.INFO: Account Balance End.
[2025-04-11 20:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886738') end
[2025-04-11 20:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 20:43:04] Production.INFO: 1
[2025-04-11 20:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 20:43:05] Production.INFO: ==15437== Releasing lock...
[2025-04-11 20:43:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 20:43:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 20:43:05] Production.ERROR: CronJobId end 12
[2025-04-11 20:43:05] Production.INFO: ==15433== Releasing lock...
[2025-04-11 20:43:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 20:43:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 20:43:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 17:43:06
[end_date_ymd] => 2025-04-11 20:43:06
[RateCDR] => 1
)
[2025-04-11 20: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-11 17:43:06' and `end` < '2025-04-11 20: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-11 20:43:13] Production.ERROR: CronJobId end10
[2025-04-11 20:43:13] Production.INFO: ==15431== Releasing lock...
[2025-04-11 20:43:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 20:43:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 20:43:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 20:43:16] Production.INFO: ============== Balance Warning START===========
[2025-04-11 20:43:16] Production.INFO: ============== Balance Warning END===========
[2025-04-11 20:43:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 20:43:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 20:43:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 20:43:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 20:43:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 20:43:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 20:43:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 20:43:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 20:43:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 20:43:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 20:43:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 20:43:16] Production.INFO: call_cost start
[2025-04-11 20:43:16] Production.INFO: call_cost end
[2025-04-11 20:43:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 20:43:17] Production.INFO: ============== Report Schedule START===========
[2025-04-11 20:43:17] Production.INFO: ============== Report Schedule END===========
[2025-04-11 20:43:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 20:43:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 20:43:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 20:43:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 20:43:17] Production.INFO: ============== Deal alert START===========
[2025-04-11 20:43:17] Production.INFO: ============== Deal alert END===========
[2025-04-11 20:43:17] Production.INFO: ==15427== Releasing lock...
[2025-04-11 20:43:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 20:43:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 20:43:19] Production.INFO: count ==1765
[2025-04-11 20:43:19] Production.ERROR: pbx CDR StartTime 2025-04-11 17:43:06 - End Time 2025-04-11 20:43:06
[2025-04-11 20:43:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 20:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886739', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886739', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886739', 'tblTempVendorCDR_20' ) start
[2025-04-11 20:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886739', 'tblTempVendorCDR_20' ) end
[2025-04-11 20:43:19] Production.INFO: ProcessCDR(1,14886739,1,1,2)
[2025-04-11 20:43:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886739,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:43:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886739,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:43:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886739,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:43:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886739,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:43:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886739', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:43:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886739', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:43:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 20:43:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 20:43:23] Production.INFO: ==15435== Releasing lock...
[2025-04-11 20:43:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 20:43:23] Production.INFO: 40.75 MB #Memory Used#
[2025-04-12 01:44:01] Production.INFO: ==15490== Lock acquired, processing the job...
[2025-04-12 01:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 01:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 01:44:01] Production.INFO: neon service started
[2025-04-12 01:44:01] Production.INFO: neon service started
[2025-04-12 01:44:01] Production.INFO: ==15490== Releasing lock...
[2025-04-12 01:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 01:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 20:44:02] Production.INFO: ==15492== Lock acquired, processing the job...
[2025-04-11 20:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 00:44:02] Production.INFO: ==15494== Lock acquired, processing the job...
[2025-04-12 00:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 00:44:02] Production.INFO: ==15494== Releasing lock...
[2025-04-12 00:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 00:44:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 20:44:02] Production.INFO: ==15492== Releasing lock...
[2025-04-11 20:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 20:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 20:44:03] Production.INFO: ==15501== Lock acquired, processing the job...
[2025-04-11 20:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 20:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 20:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 20:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 20:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 20:44:03] Production.INFO: ==15507== Lock acquired, processing the job...
[2025-04-11 20:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 20:44:03] Production.INFO: ==15505== Lock acquired, processing the job...
[2025-04-11 20:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 20:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 20:44:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 20:44:03] Production.INFO: ==15497== Lock acquired, processing the job...
[2025-04-11 20:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 20:44:03] Production.INFO: count ==12
[2025-04-11 20:44:03] Production.INFO: ==15499== Lock acquired, processing the job...
[2025-04-11 20:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 20:44:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 20:44:03] Production.INFO: count ==23
[2025-04-11 20:44:03] Production.INFO: ==15503== Lock acquired, processing the job...
[2025-04-11 20:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 20:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14886740') start
[2025-04-11 20:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 20:44:03] Production.INFO: Account Balance Start.
[2025-04-11 20:44:03] Production.INFO: CreateAllLog Start
[2025-04-11 20:44:03] Production.INFO: 117
[2025-04-11 20:44:03] Production.INFO: Date 2025-04-08
[2025-04-11 20:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14886740') end
[2025-04-11 20:44:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 20:44:03] Production.INFO: 1
[2025-04-11 20:44:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 20:44:03] Production.INFO: Reseller ==> 0
[2025-04-11 20:44:03] Production.INFO: Date 2025-04-09
[2025-04-11 20:44:03] Production.INFO: Reseller ==> 0
[2025-04-11 20:44:04] Production.INFO: ==15507== Releasing lock...
[2025-04-11 20:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 20:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 20:44:04] Production.ERROR: done
[2025-04-11 20:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 20:44:04] Production.INFO: Date 2025-04-10
[2025-04-11 20:44:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:44:04] Production.INFO: Date 2025-04-11
[2025-04-11 20:44:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:44:04] Production.INFO: Total Charge 0
[2025-04-11 20:44:04] Production.INFO: CreateAllLog End
[2025-04-11 20:44:04] Production.INFO: ==15499== Releasing lock...
[2025-04-11 20:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 20:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 20:44:04] Production.ERROR: done
[2025-04-11 20:44:04] Production.INFO: Account Balance End.
[2025-04-11 20:44:04] Production.ERROR: CronJobId end 12
[2025-04-11 20:44:04] Production.INFO: ==15503== Releasing lock...
[2025-04-11 20:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 20:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 20:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 17:44:05
[end_date_ymd] => 2025-04-11 20:44:05
[RateCDR] => 1
)
[2025-04-11 20:44:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 17:44:05' and `end` < '2025-04-11 20:44:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 20:44:13] Production.ERROR: CronJobId end10
[2025-04-11 20:44:13] Production.INFO: ==15501== Releasing lock...
[2025-04-11 20:44:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 20:44:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 20:44:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 20:44:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 20:44:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 20:44:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 20:44:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 20:44:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 20:44:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 20:44:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 20:44:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 20:44:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 20:44:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 20:44:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 20:44:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 20:44:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 20:44:15] Production.INFO: call_cost start
[2025-04-11 20:44:15] Production.INFO: call_cost end
[2025-04-11 20:44:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 20:44:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 20:44:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 20:44:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 20:44:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 20:44:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 20:44:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 20:44:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 20:44:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 20:44:16] Production.INFO: ==15497== Releasing lock...
[2025-04-11 20:44:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 20:44:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 20:44:18] Production.INFO: count ==1765
[2025-04-11 20:44:18] Production.ERROR: pbx CDR StartTime 2025-04-11 17:44:05 - End Time 2025-04-11 20:44:05
[2025-04-11 20:44:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 20:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886744', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886744', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886744', 'tblTempVendorCDR_20' ) start
[2025-04-11 20:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886744', 'tblTempVendorCDR_20' ) end
[2025-04-11 20:44:18] Production.INFO: ProcessCDR(1,14886744,1,1,2)
[2025-04-11 20:44:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886744,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:44:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886744,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:44:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886744,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:44:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886744,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886744', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886744', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:44:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 20:44:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 20:44:22] Production.INFO: ==15505== Releasing lock...
[2025-04-11 20:44:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 20:44:22] Production.INFO: 40.75 MB #Memory Used#
[2025-04-12 01:45:02] Production.INFO: ==15568== Lock acquired, processing the job...
[2025-04-12 01:45:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 01:45:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 01:45:02] Production.INFO: neon service started
[2025-04-12 01:45:02] Production.INFO: neon service started
[2025-04-12 01:45:02] Production.INFO: ==15568== Releasing lock...
[2025-04-12 01:45:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 01:45:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 00:45:02] Production.INFO: ==15573== Lock acquired, processing the job...
[2025-04-12 00:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 00:45:02] Production.INFO: ==15573== Releasing lock...
[2025-04-12 00:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 00:45:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 20:45:02] Production.INFO: ==15571== Lock acquired, processing the job...
[2025-04-11 20:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 20:45:02] Production.INFO: ==15571== Releasing lock...
[2025-04-11 20:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 20:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 20:45:03] Production.INFO: ==15575== Lock acquired, processing the job...
[2025-04-11 20:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 20:45:03] Production.INFO: ==15579== Lock acquired, processing the job...
[2025-04-11 20:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 20:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 20:45:03] Production.INFO: ==15583== Lock acquired, processing the job...
[2025-04-11 20:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 20:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 20:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 20:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 20:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 20:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 20:45:03] Production.INFO: ==15577== Lock acquired, processing the job...
[2025-04-11 20:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 20:45:04] Production.INFO: ==15581== Lock acquired, processing the job...
[2025-04-11 20:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 20:45:04] Production.ERROR: done
[2025-04-11 20:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 20:45:04] Production.INFO: ==15585== Lock acquired, processing the job...
[2025-04-11 20:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 20:45:04] Production.INFO: Account Balance Start.
[2025-04-11 20:45:04] Production.INFO: CreateAllLog Start
[2025-04-11 20:45:04] Production.INFO: 117
[2025-04-11 20:45:04] Production.ERROR: done
[2025-04-11 20:45:04] Production.INFO: Date 2025-04-08
[2025-04-11 20:45:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:45:04] Production.INFO: Date 2025-04-09
[2025-04-11 20:45:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:45:04] Production.INFO: Date 2025-04-10
[2025-04-11 20:45:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:45:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 20:45:04] Production.INFO: count ==12
[2025-04-11 20:45:04] Production.INFO: Date 2025-04-11
[2025-04-11 20:45:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:45:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 20:45:04] Production.INFO: count ==23
[2025-04-11 20:45:04] Production.INFO: Total Charge 0
[2025-04-11 20:45:04] Production.INFO: CreateAllLog End
[2025-04-11 20:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886748') start
[2025-04-11 20:45:04] Production.INFO: ==15577== Releasing lock...
[2025-04-11 20:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 20:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 20:45:04] Production.INFO: Account Balance End.
[2025-04-11 20:45:04] Production.ERROR: CronJobId end 12
[2025-04-11 20:45:04] Production.INFO: ==15581== Releasing lock...
[2025-04-11 20:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 20:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 20:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886748') end
[2025-04-11 20:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 20:45:04] Production.INFO: 1
[2025-04-11 20:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 20:45:04] Production.INFO: ==15585== Releasing lock...
[2025-04-11 20:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 20:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 20:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 17:45:05
[end_date_ymd] => 2025-04-11 20:45:05
[RateCDR] => 1
)
[2025-04-11 20:45:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 17:45:05' and `end` < '2025-04-11 20:45:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 20:45:13] Production.ERROR: CronJobId end10
[2025-04-11 20:45:13] Production.INFO: ==15579== Releasing lock...
[2025-04-11 20:45:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 20:45:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 20:45:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 20:45:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 20:45:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 20:45:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 20:45:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 20:45:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 20:45:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 20:45:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 20:45:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 20:45:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 20:45:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 20:45:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 20:45:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 20:45:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 20:45:15] Production.INFO: call_cost start
[2025-04-11 20:45:15] Production.INFO: call_cost end
[2025-04-11 20:45:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 20:45:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 20:45:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 20:45:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 20:45:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 20:45:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 20:45:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 20:45:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 20:45:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 20:45:16] Production.INFO: ==15575== Releasing lock...
[2025-04-11 20:45:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 20:45:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 20:45:18] Production.INFO: count ==1765
[2025-04-11 20:45:18] Production.ERROR: pbx CDR StartTime 2025-04-11 17:45:05 - End Time 2025-04-11 20:45:05
[2025-04-11 20:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 20:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886749', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886749', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886749', 'tblTempVendorCDR_20' ) start
[2025-04-11 20:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886749', 'tblTempVendorCDR_20' ) end
[2025-04-11 20:45:18] Production.INFO: ProcessCDR(1,14886749,1,1,2)
[2025-04-11 20:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886749,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:45:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886749,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:45:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886749,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:45:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886749,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:45:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886749', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:45:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886749', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:45:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 20:45:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 20:45:22] Production.INFO: ==15583== Releasing lock...
[2025-04-11 20:45:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 20:45:22] Production.INFO: 40.75 MB #Memory Used#
[2025-04-12 01:46:01] Production.INFO: ==15678== Lock acquired, processing the job...
[2025-04-12 01:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 01:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 01:46:01] Production.INFO: neon service started
[2025-04-12 01:46:01] Production.INFO: neon service started
[2025-04-12 01:46:01] Production.INFO: ==15678== Releasing lock...
[2025-04-12 01:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 01:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 00:46:01] Production.INFO: ==15682== Lock acquired, processing the job...
[2025-04-12 00:46:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 00:46:01] Production.INFO: ==15682== Releasing lock...
[2025-04-12 00:46:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 00:46:01] Production.INFO: 25 MB #Memory Used#
[2025-04-11 20:46:02] Production.INFO: ==15680== Lock acquired, processing the job...
[2025-04-11 20:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 20:46:02] Production.INFO: ==15680== Releasing lock...
[2025-04-11 20:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 20:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 20:46:03] Production.INFO: ==15685== Lock acquired, processing the job...
[2025-04-11 20:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 20:46:03] Production.INFO: ==15687== Lock acquired, processing the job...
[2025-04-11 20:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 20:46:03] Production.INFO: ==15693== Lock acquired, processing the job...
[2025-04-11 20:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 20:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 20:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 20:46:03] Production.INFO: ==15689== Lock acquired, processing the job...
[2025-04-11 20:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 20:46:03] Production.INFO: ==15691== Lock acquired, processing the job...
[2025-04-11 20:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 20:46:03] Production.INFO: ==15695== Lock acquired, processing the job...
[2025-04-11 20:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 20:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 20:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 20:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 20:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 20:46:03] Production.INFO: ==15687== Releasing lock...
[2025-04-11 20:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 20:46:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 20:46:03] Production.INFO: Account Balance Start.
[2025-04-11 20:46:03] Production.INFO: CreateAllLog Start
[2025-04-11 20:46:03] Production.INFO: 117
[2025-04-11 20:46:03] Production.INFO: Date 2025-04-08
[2025-04-11 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-11 20:46:03] Production.INFO: Reseller ==> 0
[2025-04-11 20:46:04] Production.INFO: Date 2025-04-09
[2025-04-11 20:46:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:46:04] Production.INFO: count ==12
[2025-04-11 20:46:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 20:46:04] Production.INFO: Date 2025-04-10
[2025-04-11 20:46:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:46:04] Production.INFO: count ==23
[2025-04-11 20:46:04] Production.INFO: Date 2025-04-11
[2025-04-11 20:46:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:46:04] Production.INFO: Total Charge 0
[2025-04-11 20:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886753') start
[2025-04-11 20:46:04] Production.INFO: CreateAllLog End
[2025-04-11 20:46:04] Production.ERROR: done
[2025-04-11 20:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886753') end
[2025-04-11 20:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 20:46:04] Production.INFO: 1
[2025-04-11 20:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 20:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 20:46:04] Production.INFO: ==15695== Releasing lock...
[2025-04-11 20:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 20:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 20:46:04] Production.ERROR: done
[2025-04-11 20:46:04] Production.INFO: Account Balance End.
[2025-04-11 20:46:04] Production.ERROR: CronJobId end 12
[2025-04-11 20:46:04] Production.INFO: ==15691== Releasing lock...
[2025-04-11 20:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 20:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 20:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 17:46:05
[end_date_ymd] => 2025-04-11 20:46:05
[RateCDR] => 1
)
[2025-04-11 20:46:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 17:46:05' and `end` < '2025-04-11 20:46:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 20:46:13] Production.ERROR: CronJobId end10
[2025-04-11 20:46:13] Production.INFO: ==15689== Releasing lock...
[2025-04-11 20:46:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 20:46:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 20:46:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 20:46:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 20:46:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 20:46:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 20:46:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 20:46:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 20:46:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 20:46:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 20:46:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 20:46:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 20:46:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 20:46:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 20:46:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 20:46:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 20:46:15] Production.INFO: call_cost start
[2025-04-11 20:46:15] Production.INFO: call_cost end
[2025-04-11 20:46:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 20:46:15] Production.INFO: ============== Report Schedule START===========
[2025-04-11 20:46:15] Production.INFO: ============== Report Schedule END===========
[2025-04-11 20:46:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 20:46:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 20:46:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 20:46:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 20:46:15] Production.INFO: ============== Deal alert START===========
[2025-04-11 20:46:15] Production.INFO: ============== Deal alert END===========
[2025-04-11 20:46:15] Production.INFO: ==15685== Releasing lock...
[2025-04-11 20:46:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 20:46:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 20:46:18] Production.INFO: count ==1751
[2025-04-11 20:46:19] Production.ERROR: pbx CDR StartTime 2025-04-11 17:46:05 - End Time 2025-04-11 20:46:05
[2025-04-11 20:46:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 20:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886754', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886754', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886754', 'tblTempVendorCDR_20' ) start
[2025-04-11 20:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886754', 'tblTempVendorCDR_20' ) end
[2025-04-11 20:46:19] Production.INFO: ProcessCDR(1,14886754,1,1,2)
[2025-04-11 20:46:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886754,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:46:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886754,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:46:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886754,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:46:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886754,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:46:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886754', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:46:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886754', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:46:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 20:46:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 20:46:24] Production.INFO: ==15693== Releasing lock...
[2025-04-11 20:46:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 20:46:24] Production.INFO: 40.75 MB #Memory Used#
[2025-04-12 01:47:01] Production.INFO: ==15751== Lock acquired, processing the job...
[2025-04-12 01:47:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 01:47:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 01:47:02] Production.INFO: neon service started
[2025-04-12 01:47:02] Production.INFO: neon service started
[2025-04-12 01:47:02] Production.INFO: ==15751== Releasing lock...
[2025-04-12 01:47:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 01:47:02] Production.INFO: 25.5 MB #Memory Used#
[2025-04-11 20:47:02] Production.INFO: ==15753== Lock acquired, processing the job...
[2025-04-11 20:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 20:47:02] Production.INFO: ==15753== Releasing lock...
[2025-04-11 20:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 20:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 00:47:03] Production.INFO: ==15755== Lock acquired, processing the job...
[2025-04-12 00:47:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 00:47:03] Production.INFO: ==15755== Releasing lock...
[2025-04-12 00:47:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 00:47:03] Production.INFO: 25 MB #Memory Used#
[2025-04-11 20:47:03] Production.INFO: ==15758== Lock acquired, processing the job...
[2025-04-11 20:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 20:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 20:47:03] Production.INFO: ==15760== Lock acquired, processing the job...
[2025-04-11 20:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 20:47:03] Production.INFO: ==15762== Lock acquired, processing the job...
[2025-04-11 20:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 20:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 20:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 20:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 20:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 20:47:04] Production.INFO: ==15760== Releasing lock...
[2025-04-11 20:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 20:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 20:47:04] Production.INFO: ==15766== Lock acquired, processing the job...
[2025-04-11 20:47:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 20:47:04] Production.INFO: ==15764== Lock acquired, processing the job...
[2025-04-11 20:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 20:47:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 20:47:04] Production.INFO: ==15768== Lock acquired, processing the job...
[2025-04-11 20:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 20:47:04] Production.INFO: Account Balance Start.
[2025-04-11 20:47:04] Production.INFO: CreateAllLog Start
[2025-04-11 20:47:04] Production.INFO: 117
[2025-04-11 20:47:04] Production.INFO: Date 2025-04-08
[2025-04-11 20:47:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:47:04] Production.INFO: Date 2025-04-09
[2025-04-11 20:47:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:47:04] Production.INFO: Date 2025-04-10
[2025-04-11 20:47:04] Production.INFO: Reseller ==> 0
[2025-04-11 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-11 20:47:04] Production.INFO: Date 2025-04-11
[2025-04-11 20:47:04] Production.INFO: count ==12
[2025-04-11 20:47:04] Production.INFO: Reseller ==> 0
[2025-04-11 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-11 20:47:04] Production.INFO: count ==23
[2025-04-11 20:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886758') start
[2025-04-11 20:47:04] Production.INFO: Total Charge 0
[2025-04-11 20:47:04] Production.ERROR: done
[2025-04-11 20:47:04] Production.INFO: CreateAllLog End
[2025-04-11 20:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 20:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886758') end
[2025-04-11 20:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 20:47:04] Production.INFO: 1
[2025-04-11 20:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 20:47:04] Production.INFO: ==15768== Releasing lock...
[2025-04-11 20:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 20:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 20:47:04] Production.ERROR: done
[2025-04-11 20:47:04] Production.INFO: Account Balance End.
[2025-04-11 20:47:05] Production.ERROR: CronJobId end 12
[2025-04-11 20:47:05] Production.INFO: ==15764== Releasing lock...
[2025-04-11 20:47:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 20:47:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 20:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 17:47:05
[end_date_ymd] => 2025-04-11 20:47:05
[RateCDR] => 1
)
[2025-04-11 20:47:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 17:47:05' and `end` < '2025-04-11 20:47:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 20:47:13] Production.ERROR: CronJobId end10
[2025-04-11 20:47:13] Production.INFO: ==15762== Releasing lock...
[2025-04-11 20:47:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 20:47:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 20:47:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 20:47:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 20:47:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 20:47:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 20:47:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 20:47:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 20:47:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 20:47:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 20:47:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 20:47:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 20:47:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 20:47:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 20:47:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 20:47:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 20:47:14] Production.INFO: call_cost start
[2025-04-11 20:47:14] Production.INFO: call_cost end
[2025-04-11 20:47:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 20:47:15] Production.INFO: ============== Report Schedule START===========
[2025-04-11 20:47:15] Production.INFO: ============== Report Schedule END===========
[2025-04-11 20:47:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 20:47:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 20:47:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 20:47:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 20:47:15] Production.INFO: ============== Deal alert START===========
[2025-04-11 20:47:15] Production.INFO: ============== Deal alert END===========
[2025-04-11 20:47:15] Production.INFO: ==15758== Releasing lock...
[2025-04-11 20:47:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 20:47:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 20:47:18] Production.INFO: count ==1747
[2025-04-11 20:47:19] Production.ERROR: pbx CDR StartTime 2025-04-11 17:47:05 - End Time 2025-04-11 20:47:05
[2025-04-11 20:47:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 20:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886759', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886759', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886759', 'tblTempVendorCDR_20' ) start
[2025-04-11 20:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886759', 'tblTempVendorCDR_20' ) end
[2025-04-11 20:47:19] Production.INFO: ProcessCDR(1,14886759,1,1,2)
[2025-04-11 20:47:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886759,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:47:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886759,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:47:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886759,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:47:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886759,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886759', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886759', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:47:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 20:47:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 20:47:22] Production.INFO: ==15766== Releasing lock...
[2025-04-11 20:47:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 20:47:22] Production.INFO: 40.75 MB #Memory Used#
[2025-04-12 01:48:01] Production.INFO: ==15822== Lock acquired, processing the job...
[2025-04-12 01:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 01:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 01:48:01] Production.INFO: neon service started
[2025-04-12 01:48:01] Production.INFO: neon service started
[2025-04-12 01:48:01] Production.INFO: ==15822== Releasing lock...
[2025-04-12 01:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 01:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 20:48:01] Production.INFO: ==15824== Lock acquired, processing the job...
[2025-04-11 20:48:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 20:48:02] Production.INFO: ==15824== Releasing lock...
[2025-04-11 20:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 20:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 00:48:02] Production.INFO: ==15826== Lock acquired, processing the job...
[2025-04-12 00:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 00:48:02] Production.INFO: ==15826== Releasing lock...
[2025-04-12 00:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 00:48:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 20:48:03] Production.INFO: ==15828== Lock acquired, processing the job...
[2025-04-11 20:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 20:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 20:48:03] Production.INFO: ==15836== Lock acquired, processing the job...
[2025-04-11 20:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 20:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 20:48:03] Production.INFO: ==15830== Lock acquired, processing the job...
[2025-04-11 20:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 20:48:03] Production.INFO: ==15832== Lock acquired, processing the job...
[2025-04-11 20:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 20:48:03] Production.INFO: ==15834== Lock acquired, processing the job...
[2025-04-11 20:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 20:48:03] Production.INFO: ==15838== Lock acquired, processing the job...
[2025-04-11 20:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 20:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 20:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 20:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 20:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 20:48:03] Production.INFO: Account Balance Start.
[2025-04-11 20:48:03] Production.INFO: CreateAllLog Start
[2025-04-11 20:48:03] Production.INFO: 117
[2025-04-11 20:48:03] Production.INFO: Date 2025-04-08
[2025-04-11 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-11 20:48:03] Production.INFO: Reseller ==> 0
[2025-04-11 20:48:03] Production.INFO: count ==12
[2025-04-11 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-11 20:48:03] Production.INFO: count ==23
[2025-04-11 20:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14886761') start
[2025-04-11 20:48:03] Production.INFO: Date 2025-04-09
[2025-04-11 20:48:03] Production.ERROR: done
[2025-04-11 20:48:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 20:48:03] Production.INFO: Reseller ==> 0
[2025-04-11 20:48:03] Production.INFO: Date 2025-04-10
[2025-04-11 20:48:03] Production.INFO: Reseller ==> 0
[2025-04-11 20:48:03] Production.INFO: Date 2025-04-11
[2025-04-11 20:48:03] Production.INFO: Reseller ==> 0
[2025-04-11 20:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886761') end
[2025-04-11 20:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 20:48:04] Production.INFO: 1
[2025-04-11 20:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 20:48:04] Production.INFO: Total Charge 0
[2025-04-11 20:48:04] Production.INFO: ==15838== Releasing lock...
[2025-04-11 20:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 20:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 20:48:04] Production.INFO: CreateAllLog End
[2025-04-11 20:48:04] Production.ERROR: done
[2025-04-11 20:48:04] Production.INFO: ==15830== Releasing lock...
[2025-04-11 20:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 20:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 20:48:04] Production.INFO: Account Balance End.
[2025-04-11 20:48:04] Production.ERROR: CronJobId end 12
[2025-04-11 20:48:04] Production.INFO: ==15834== Releasing lock...
[2025-04-11 20:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 20:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 20:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 17:48:05
[end_date_ymd] => 2025-04-11 20:48:05
[RateCDR] => 1
)
[2025-04-11 20:48:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 17:48:05' and `end` < '2025-04-11 20:48:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 20:48:12] Production.ERROR: CronJobId end10
[2025-04-11 20:48:12] Production.INFO: ==15832== Releasing lock...
[2025-04-11 20:48:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 20:48:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 20:48:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 20:48:13] Production.INFO: ============== Balance Warning START===========
[2025-04-11 20:48:13] Production.INFO: ============== Balance Warning END===========
[2025-04-11 20:48:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 20:48:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 20:48:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 20:48:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 20:48:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 20:48:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 20:48:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 20:48:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 20:48:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 20:48:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 20:48:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 20:48:14] Production.INFO: call_cost start
[2025-04-11 20:48:14] Production.INFO: call_cost end
[2025-04-11 20:48:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 20:48:15] Production.INFO: ============== Report Schedule START===========
[2025-04-11 20:48:15] Production.INFO: ============== Report Schedule END===========
[2025-04-11 20:48:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 20:48:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 20:48:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 20:48:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 20:48:15] Production.INFO: ============== Deal alert START===========
[2025-04-11 20:48:15] Production.INFO: ============== Deal alert END===========
[2025-04-11 20:48:15] Production.INFO: ==15828== Releasing lock...
[2025-04-11 20:48:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 20:48:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 20:48:18] Production.INFO: count ==1745
[2025-04-11 20:48:18] Production.ERROR: pbx CDR StartTime 2025-04-11 17:48:05 - End Time 2025-04-11 20:48:05
[2025-04-11 20:48:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 20:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886764', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886764', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886764', 'tblTempVendorCDR_20' ) start
[2025-04-11 20:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886764', 'tblTempVendorCDR_20' ) end
[2025-04-11 20:48:18] Production.INFO: ProcessCDR(1,14886764,1,1,2)
[2025-04-11 20:48:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886764,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:48:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886764,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:48:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886764,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:48:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886764,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886764', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886764', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:48:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 20:48:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 20:48:21] Production.INFO: ==15836== Releasing lock...
[2025-04-11 20:48:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 20:48:21] Production.INFO: 40.75 MB #Memory Used#
[2025-04-12 01:49:01] Production.INFO: ==15893== Lock acquired, processing the job...
[2025-04-12 01:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 01:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 01:49:01] Production.INFO: neon service started
[2025-04-12 01:49:01] Production.INFO: neon service started
[2025-04-12 01:49:01] Production.INFO: ==15893== Releasing lock...
[2025-04-12 01:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 01:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 20:49:02] Production.INFO: ==15895== Lock acquired, processing the job...
[2025-04-11 20:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 20:49:02] Production.INFO: ==15895== Releasing lock...
[2025-04-11 20:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 20:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 00:49:02] Production.INFO: ==15897== Lock acquired, processing the job...
[2025-04-12 00:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 00:49:02] Production.INFO: ==15897== Releasing lock...
[2025-04-12 00:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 00:49:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 20:49:03] Production.INFO: ==15901== Lock acquired, processing the job...
[2025-04-11 20:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 20:49:03] Production.INFO: ==15905== Lock acquired, processing the job...
[2025-04-11 20:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 20:49:03] Production.INFO: ==15907== Lock acquired, processing the job...
[2025-04-11 20:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 20:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 20:49:03] Production.INFO: Account Balance Start.
[2025-04-11 20:49:03] Production.INFO: CreateAllLog Start
[2025-04-11 20:49:03] Production.INFO: 117
[2025-04-11 20:49:03] Production.INFO: Date 2025-04-08
[2025-04-11 20:49:03] Production.INFO: Reseller ==> 0
[2025-04-11 20:49:03] Production.INFO: Date 2025-04-09
[2025-04-11 20:49:03] Production.INFO: Reseller ==> 0
[2025-04-11 20:49:03] Production.INFO: Date 2025-04-10
[2025-04-11 20:49:03] Production.INFO: Reseller ==> 0
[2025-04-11 20:49:03] Production.INFO: Date 2025-04-11
[2025-04-11 20:49:03] Production.INFO: Reseller ==> 0
[2025-04-11 20:49:03] Production.INFO: ==15899== Lock acquired, processing the job...
[2025-04-11 20:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 20:49:04] Production.INFO: Total Charge 0
[2025-04-11 20:49:04] Production.INFO: CreateAllLog End
[2025-04-11 20:49:04] Production.INFO: ==15909== Lock acquired, processing the job...
[2025-04-11 20:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 20:49:04] Production.INFO: ==15903== Lock acquired, processing the job...
[2025-04-11 20:49:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 20:49:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 20:49:04] Production.ERROR: done
[2025-04-11 20:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 20:49:04] Production.INFO: ==15901== Releasing lock...
[2025-04-11 20:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 20:49:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 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-11 20:49:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 20:49:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 20:49:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 20:49:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 20:49:04] Production.INFO: count ==12
[2025-04-11 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-11 20:49:04] Production.INFO: count ==23
[2025-04-11 20:49:04] Production.INFO: Account Balance End.
[2025-04-11 20:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886768') start
[2025-04-11 20:49:04] Production.ERROR: done
[2025-04-11 20:49:04] Production.ERROR: CronJobId end 12
[2025-04-11 20:49:04] Production.INFO: ==15905== Releasing lock...
[2025-04-11 20:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 20:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 20:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886768') end
[2025-04-11 20:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 20:49:04] Production.INFO: 1
[2025-04-11 20:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 20:49:04] Production.INFO: ==15909== Releasing lock...
[2025-04-11 20:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 20:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 20:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 17:49:05
[end_date_ymd] => 2025-04-11 20:49:05
[RateCDR] => 1
)
[2025-04-11 20:49:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 17:49:05' and `end` < '2025-04-11 20:49:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 20:49:14] Production.ERROR: CronJobId end10
[2025-04-11 20:49:14] Production.INFO: ==15903== Releasing lock...
[2025-04-11 20:49:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 20:49:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 20:49:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 20:49:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 20:49:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 20:49:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 20:49:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 20:49:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 20:49:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 20:49:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 20:49:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 20:49:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 20:49:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 20:49:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 20:49:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 20:49:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 20:49:15] Production.INFO: call_cost start
[2025-04-11 20:49:15] Production.INFO: call_cost end
[2025-04-11 20:49:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 20:49:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 20:49:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 20:49:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 20:49:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 20:49:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 20:49:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 20:49:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 20:49:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 20:49:16] Production.INFO: ==15899== Releasing lock...
[2025-04-11 20:49:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 20:49:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 20:49:18] Production.INFO: count ==1742
[2025-04-11 20:49:19] Production.ERROR: pbx CDR StartTime 2025-04-11 17:49:05 - End Time 2025-04-11 20:49:05
[2025-04-11 20:49:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 20:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886769', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886769', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886769', 'tblTempVendorCDR_20' ) start
[2025-04-11 20:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886769', 'tblTempVendorCDR_20' ) end
[2025-04-11 20:49:19] Production.INFO: ProcessCDR(1,14886769,1,1,2)
[2025-04-11 20:49:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886769,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:49:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886769,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:49:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886769,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:49:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886769,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:49:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886769', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:49:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886769', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:49:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 20:49:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 20:49:24] Production.INFO: ==15907== Releasing lock...
[2025-04-11 20:49:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 20:49:24] Production.INFO: 40.75 MB #Memory Used#
[2025-04-12 01:50:01] Production.INFO: ==15973== Lock acquired, processing the job...
[2025-04-12 01:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 01:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 01:50:01] Production.INFO: neon service started
[2025-04-12 01:50:01] Production.INFO: neon service started
[2025-04-12 01:50:01] Production.INFO: ==15973== Releasing lock...
[2025-04-12 01:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 01:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 20:50:02] Production.INFO: ==15975== Lock acquired, processing the job...
[2025-04-11 20:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 00:50:02] Production.INFO: ==15977== Lock acquired, processing the job...
[2025-04-12 00:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 00:50:02] Production.INFO: ==15977== Releasing lock...
[2025-04-12 00:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 00:50:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 20:50:02] Production.INFO: ==15975== Releasing lock...
[2025-04-11 20:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 20:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 20:50:03] Production.INFO: ==15982== Lock acquired, processing the job...
[2025-04-11 20:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 20:50:03] Production.INFO: ==15986== Lock acquired, processing the job...
[2025-04-11 20:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 20:50:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 20:50:03] Production.INFO: ==15992== Lock acquired, processing the job...
[2025-04-11 20:50:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-11 20:50:03] Production.INFO: ==15980== Lock acquired, processing the job...
[2025-04-11 20:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-11 20:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 20:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-11 20:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-11 20:50:03] Production.ERROR: CronJob PID - 15982
[2025-04-11 20:50:03] Production.ERROR: CronJob Title - System Alerts
[2025-04-11 20:50:03] Production.ERROR: CronJob ID - 5
[2025-04-11 20:50:03] Production.ERROR: CronJob Last Run Time 2025-04-11 20:50:00
[2025-04-11 20:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-11 20:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-11 20:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-11 20:50:03] Production.ERROR: CronJob PID - 15986
[2025-04-11 20:50:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-04-11 20:50:03] Production.ERROR: CronJob ID - 10
[2025-04-11 20:50:03] Production.ERROR: CronJob Last Run Time 2025-04-11 20:50:00
[2025-04-11 20:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-11 20:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-11 20:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-11 20:50:03] Production.ERROR: CronJob PID - 15992
[2025-04-11 20:50:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-04-11 20:50:03] Production.ERROR: CronJob ID - 17
[2025-04-11 20:50:03] Production.ERROR: CronJob Last Run Time 2025-04-11 20:50:00
[2025-04-11 20:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-11 20:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-11 20:50:03] Production.INFO: ==15984== Lock acquired, processing the job...
[2025-04-11 20:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 20:50:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 20:50:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 20:50:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 20:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 20:50:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-11 20:50:04] Production.INFO: ==15980== Releasing lock...
[2025-04-11 20:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-11 20:50:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-11 20:50:04] Production.INFO: ==15988== Lock acquired, processing the job...
[2025-04-11 20:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 20:50:04] Production.INFO: ==15990== Lock acquired, processing the job...
[2025-04-11 20:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 20:50:04] Production.INFO: ==15994== Lock acquired, processing the job...
[2025-04-11 20:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 20:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 20:50:04] Production.ERROR: done
[2025-04-11 20:50:04] Production.INFO: Account Balance Start.
[2025-04-11 20:50:04] Production.INFO: CreateAllLog Start
[2025-04-11 20:50:04] Production.INFO: 117
[2025-04-11 20:50:04] Production.INFO: Date 2025-04-08
[2025-04-11 20:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-11 20:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14886774', 'tblTempUsageDetail_20reseller','2025-04-11','2025-04-11','1' ) start
[2025-04-11 20:50:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 20:50:04] Production.INFO: count ==12
[2025-04-11 20:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 20:50:04] Production.INFO: count ==23
[2025-04-11 20:50:04] Production.INFO: Date 2025-04-09
[2025-04-11 20:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886773') start
[2025-04-11 20:50:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886773') end
[2025-04-11 20:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 20:50:04] Production.INFO: 1
[2025-04-11 20:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 20:50:04] Production.INFO: Date 2025-04-10
[2025-04-11 20:50:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:50:04] Production.INFO: ==15984== Releasing lock...
[2025-04-11 20:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 20:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 20:50:04] Production.INFO: Date 2025-04-11
[2025-04-11 20:50:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:50:04] Production.INFO: Total Charge 0
[2025-04-11 20:50:04] Production.INFO: CreateAllLog End
[2025-04-11 20:50:04] Production.INFO: ==15994== Releasing lock...
[2025-04-11 20:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 20:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 20:50:04] Production.ERROR: done
[2025-04-11 20:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 20:50:04] Production.INFO: Account Balance End.
[2025-04-11 20:50:04] Production.ERROR: done
[2025-04-11 20:50:05] Production.ERROR: CronJobId end 12
[2025-04-11 20:50:05] Production.INFO: ==15988== Releasing lock...
[2025-04-11 20:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 20:50:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 20:50:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 17:50:05
[end_date_ymd] => 2025-04-11 20:50:05
[RateCDR] => 1
)
[2025-04-11 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-11 17:50:05' and `end` < '2025-04-11 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-11 20:50:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14886774', 'tblTempUsageDetail_20reseller','2025-04-11','2025-04-11','1' ) end
[2025-04-11 20:50:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-11 20:50:08] Production.INFO: ProcessCDR(1,14886774,1,1,2)
[2025-04-11 20:50:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14886774,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:50:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14886774,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:50:08] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 20:50:08] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 20:50:08] Production.INFO: ==15992== Releasing lock...
[2025-04-11 20:50:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-11 20:50:08] Production.INFO: 26 MB #Memory Used#
[2025-04-11 20:50:14] Production.ERROR: CronJobId end10
[2025-04-11 20:50:14] Production.INFO: ==15986== Releasing lock...
[2025-04-11 20:50:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 20:50:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 20:50:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 20:50:17] Production.INFO: ============== Balance Warning START===========
[2025-04-11 20:50:17] Production.INFO: ============== Balance Warning END===========
[2025-04-11 20:50:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 20:50:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 20:50:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 20:50:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 20:50:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 20:50:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 20:50:17] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 20:50:17] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 20:50:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 20:50:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 20:50:17] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 20:50:17] Production.INFO: call_cost start
[2025-04-11 20:50:17] Production.INFO: call_cost end
[2025-04-11 20:50:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 20:50:18] Production.INFO: ============== Report Schedule START===========
[2025-04-11 20:50:18] Production.INFO: ============== Report Schedule END===========
[2025-04-11 20:50:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 20:50:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 20:50:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 20:50:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 20:50:18] Production.INFO: ============== Deal alert START===========
[2025-04-11 20:50:18] Production.INFO: ============== Deal alert END===========
[2025-04-11 20:50:18] Production.INFO: ==15982== Releasing lock...
[2025-04-11 20:50:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 20:50:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 20:50:19] Production.INFO: count ==1736
[2025-04-11 20:50:19] Production.ERROR: pbx CDR StartTime 2025-04-11 17:50:05 - End Time 2025-04-11 20:50:05
[2025-04-11 20:50:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 20:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886775', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886775', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886775', 'tblTempVendorCDR_20' ) start
[2025-04-11 20:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886775', 'tblTempVendorCDR_20' ) end
[2025-04-11 20:50:19] Production.INFO: ProcessCDR(1,14886775,1,1,2)
[2025-04-11 20:50:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886775,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:50:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886775,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:50:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886775,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:50:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886775,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886775', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886775', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:50:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 20:50:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 20:50:22] Production.INFO: ==15990== Releasing lock...
[2025-04-11 20:50:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 20:50:22] Production.INFO: 40.5 MB #Memory Used#
[2025-04-12 01:51:01] Production.INFO: ==16053== Lock acquired, processing the job...
[2025-04-12 01:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 01:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 01:51:01] Production.INFO: neon service started
[2025-04-12 01:51:01] Production.INFO: neon service started
[2025-04-12 01:51:01] Production.INFO: ==16053== Releasing lock...
[2025-04-12 01:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 01:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 20:51:02] Production.INFO: ==16055== Lock acquired, processing the job...
[2025-04-11 20:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 00:51:02] Production.INFO: ==16057== Lock acquired, processing the job...
[2025-04-12 00:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-11 20:51:02] Production.INFO: ==16055== Releasing lock...
[2025-04-11 20:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 20:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 00:51:02] Production.INFO: ==16057== Releasing lock...
[2025-04-12 00:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 00:51:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 20:51:03] Production.INFO: ==16070== Lock acquired, processing the job...
[2025-04-11 20:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 20:51:03] Production.INFO: ==16066== Lock acquired, processing the job...
[2025-04-11 20:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 20:51:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 20:51:03] Production.INFO: count ==12
[2025-04-11 20:51:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 20:51:03] Production.INFO: Account Balance Start.
[2025-04-11 20:51:03] Production.INFO: CreateAllLog Start
[2025-04-11 20:51:03] Production.INFO: 117
[2025-04-11 20:51:03] Production.INFO: Date 2025-04-08
[2025-04-11 20:51:03] Production.INFO: count ==23
[2025-04-11 20:51:03] Production.INFO: Reseller ==> 0
[2025-04-11 20:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14886776') start
[2025-04-11 20:51:03] Production.INFO: Date 2025-04-09
[2025-04-11 20:51:03] Production.INFO: Reseller ==> 0
[2025-04-11 20:51:03] Production.INFO: Date 2025-04-10
[2025-04-11 20:51:03] Production.INFO: Reseller ==> 0
[2025-04-11 20:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14886776') end
[2025-04-11 20:51:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 20:51:03] Production.INFO: 1
[2025-04-11 20:51:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 20:51:03] Production.INFO: ==16070== Releasing lock...
[2025-04-11 20:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 20:51:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 20:51:03] Production.INFO: Date 2025-04-11
[2025-04-11 20:51:03] Production.INFO: Reseller ==> 0
[2025-04-11 20:51:03] Production.INFO: ==16060== Lock acquired, processing the job...
[2025-04-11 20:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 20:51:03] Production.INFO: ==16062== Lock acquired, processing the job...
[2025-04-11 20:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 20:51:03] Production.INFO: Total Charge 0
[2025-04-11 20:51:03] Production.INFO: CreateAllLog End
[2025-04-11 20:51:03] Production.INFO: ==16064== Lock acquired, processing the job...
[2025-04-11 20:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 20:51:03] Production.INFO: ==16068== Lock acquired, processing the job...
[2025-04-11 20:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 20:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 20:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 20:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 20:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 20:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 20:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 20:51:03] Production.INFO: Account Balance End.
[2025-04-11 20:51:04] Production.ERROR: CronJobId end 12
[2025-04-11 20:51:04] Production.INFO: ==16066== Releasing lock...
[2025-04-11 20:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 20:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 20:51:04] Production.INFO: ==16062== Releasing lock...
[2025-04-11 20:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 20:51:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 20:51:04] Production.ERROR: done
[2025-04-11 20:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 20:51:04] Production.ERROR: done
[2025-04-11 20:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 17:51:05
[end_date_ymd] => 2025-04-11 20:51:05
[RateCDR] => 1
)
[2025-04-11 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-11 17:51:05' and `end` < '2025-04-11 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-11 20:51:13] Production.ERROR: CronJobId end10
[2025-04-11 20:51:13] Production.INFO: ==16064== Releasing lock...
[2025-04-11 20:51:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 20:51:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 20:51:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 20:51:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 20:51:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 20:51:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 20:51:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 20:51:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 20:51:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 20:51:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 20:51:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 20:51:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 20:51:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 20:51:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 20:51:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 20:51:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 20:51:15] Production.INFO: call_cost start
[2025-04-11 20:51:15] Production.INFO: call_cost end
[2025-04-11 20:51:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 20:51:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 20:51:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 20:51:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 20:51:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 20:51:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 20:51:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 20:51:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 20:51:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 20:51:16] Production.INFO: ==16060== Releasing lock...
[2025-04-11 20:51:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 20:51:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 20:51:18] Production.INFO: count ==1710
[2025-04-11 20:51:19] Production.ERROR: pbx CDR StartTime 2025-04-11 17:51:05 - End Time 2025-04-11 20:51:05
[2025-04-11 20:51:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 20:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886780', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886780', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886780', 'tblTempVendorCDR_20' ) start
[2025-04-11 20:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886780', 'tblTempVendorCDR_20' ) end
[2025-04-11 20:51:19] Production.INFO: ProcessCDR(1,14886780,1,1,2)
[2025-04-11 20:51:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886780,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:51:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886780,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:51:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886780,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:51:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886780,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886780', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886780', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:51:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 20:51:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 20:51:22] Production.INFO: ==16068== Releasing lock...
[2025-04-11 20:51:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 20:51:22] Production.INFO: 40.5 MB #Memory Used#
[2025-04-12 01:52:01] Production.INFO: ==16125== Lock acquired, processing the job...
[2025-04-12 01:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 01:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 01:52:01] Production.INFO: neon service started
[2025-04-12 01:52:01] Production.INFO: neon service started
[2025-04-12 01:52:01] Production.INFO: ==16125== Releasing lock...
[2025-04-12 01:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 01:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 20:52:01] Production.INFO: ==16127== Lock acquired, processing the job...
[2025-04-11 20:52:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 00:52:02] Production.INFO: ==16129== Lock acquired, processing the job...
[2025-04-12 00:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 00:52:02] Production.INFO: ==16129== Releasing lock...
[2025-04-12 00:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 00:52:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 20:52:02] Production.INFO: ==16127== Releasing lock...
[2025-04-11 20:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 20:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 20:52:03] Production.INFO: ==16132== Lock acquired, processing the job...
[2025-04-11 20:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 20:52:03] Production.INFO: ==16138== Lock acquired, processing the job...
[2025-04-11 20:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 20:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 20:52:03] Production.INFO: ==16140== Lock acquired, processing the job...
[2025-04-11 20:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 20:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 20:52:03] Production.INFO: Account Balance Start.
[2025-04-11 20:52:03] Production.INFO: CreateAllLog Start
[2025-04-11 20:52:03] Production.INFO: 117
[2025-04-11 20:52:03] Production.INFO: Date 2025-04-08
[2025-04-11 20:52:03] Production.INFO: Reseller ==> 0
[2025-04-11 20:52:03] Production.INFO: ==16134== Lock acquired, processing the job...
[2025-04-11 20:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 20:52:03] Production.INFO: Date 2025-04-09
[2025-04-11 20:52:03] Production.INFO: Reseller ==> 0
[2025-04-11 20:52:03] Production.INFO: ==16136== Lock acquired, processing the job...
[2025-04-11 20:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 20:52:03] Production.INFO: Date 2025-04-10
[2025-04-11 20:52:03] Production.INFO: Reseller ==> 0
[2025-04-11 20:52:03] Production.INFO: Date 2025-04-11
[2025-04-11 20:52:03] Production.INFO: Reseller ==> 0
[2025-04-11 20:52:03] Production.INFO: Total Charge 0
[2025-04-11 20:52:03] Production.INFO: CreateAllLog End
[2025-04-11 20:52:03] Production.INFO: ==16142== Lock acquired, processing the job...
[2025-04-11 20:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 20:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 20:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 20:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 20:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 20:52:03] Production.ERROR: done
[2025-04-11 20:52:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 20:52:03] Production.INFO: Account Balance End.
[2025-04-11 20:52:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 20:52:03] Production.INFO: count ==12
[2025-04-11 20:52:04] Production.ERROR: done
[2025-04-11 20:52:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 20:52:04] Production.INFO: count ==23
[2025-04-11 20:52:04] Production.INFO: ==16134== Releasing lock...
[2025-04-11 20:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 20:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 20:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886784') start
[2025-04-11 20:52:04] Production.ERROR: CronJobId end 12
[2025-04-11 20:52:04] Production.INFO: ==16138== Releasing lock...
[2025-04-11 20:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 20:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 20:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886784') end
[2025-04-11 20:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 20:52:04] Production.INFO: 1
[2025-04-11 20:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 20:52:04] Production.INFO: ==16142== Releasing lock...
[2025-04-11 20:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 20:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 20:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 17:52:05
[end_date_ymd] => 2025-04-11 20:52:05
[RateCDR] => 1
)
[2025-04-11 20:52:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 17:52:05' and `end` < '2025-04-11 20:52:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 20:52:13] Production.ERROR: CronJobId end10
[2025-04-11 20:52:13] Production.INFO: ==16136== Releasing lock...
[2025-04-11 20:52:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 20:52:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 20:52:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 20:52:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 20:52:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 20:52:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 20:52:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 20:52:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 20:52:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 20:52:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 20:52:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 20:52:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 20:52:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 20:52:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 20:52:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 20:52:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 20:52:15] Production.INFO: call_cost start
[2025-04-11 20:52:15] Production.INFO: call_cost end
[2025-04-11 20:52:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 20:52:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 20:52:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 20:52:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 20:52:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 20:52:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 20:52:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 20:52:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 20:52:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 20:52:16] Production.INFO: ==16132== Releasing lock...
[2025-04-11 20:52:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 20:52:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 20:52:18] Production.INFO: count ==1706
[2025-04-11 20:52:18] Production.ERROR: pbx CDR StartTime 2025-04-11 17:52:05 - End Time 2025-04-11 20:52:05
[2025-04-11 20:52:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 20:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886785', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886785', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886785', 'tblTempVendorCDR_20' ) start
[2025-04-11 20:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886785', 'tblTempVendorCDR_20' ) end
[2025-04-11 20:52:18] Production.INFO: ProcessCDR(1,14886785,1,1,2)
[2025-04-11 20:52:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886785,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:52:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886785,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:52:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886785,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:52:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886785,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:52:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886785', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:52:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886785', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:52:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 20:52:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 20:52:23] Production.INFO: ==16140== Releasing lock...
[2025-04-11 20:52:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 20:52:23] Production.INFO: 40.25 MB #Memory Used#
[2025-04-12 01:53:01] Production.INFO: ==16199== Lock acquired, processing the job...
[2025-04-12 01:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 01:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 01:53:01] Production.INFO: neon service started
[2025-04-12 01:53:01] Production.INFO: neon service started
[2025-04-12 01:53:01] Production.INFO: ==16199== Releasing lock...
[2025-04-12 01:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 01:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 20:53:02] Production.INFO: ==16201== Lock acquired, processing the job...
[2025-04-11 20:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 00:53:02] Production.INFO: ==16203== Lock acquired, processing the job...
[2025-04-12 00:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 00:53:02] Production.INFO: ==16203== Releasing lock...
[2025-04-12 00:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 00:53:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 20:53:02] Production.INFO: ==16201== Releasing lock...
[2025-04-11 20:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 20:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 20:53:03] Production.INFO: ==16206== Lock acquired, processing the job...
[2025-04-11 20:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 20:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 20:53:03] Production.INFO: ==16208== Lock acquired, processing the job...
[2025-04-11 20:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 20:53:03] Production.INFO: ==16210== Lock acquired, processing the job...
[2025-04-11 20:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 20:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 20:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 20:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 20:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 20:53:03] Production.INFO: ==16212== Lock acquired, processing the job...
[2025-04-11 20:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 20:53:04] Production.INFO: ==16216== Lock acquired, processing the job...
[2025-04-11 20:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 20:53:04] Production.INFO: ==16214== Lock acquired, processing the job...
[2025-04-11 20:53:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 20:53:04] Production.INFO: Account Balance Start.
[2025-04-11 20:53:04] Production.INFO: CreateAllLog Start
[2025-04-11 20:53:04] Production.INFO: 117
[2025-04-11 20:53:04] Production.INFO: Date 2025-04-08
[2025-04-11 20:53:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 20:53:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:53:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 20:53:04] Production.INFO: Date 2025-04-09
[2025-04-11 20:53:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:53:04] Production.INFO: count ==12
[2025-04-11 20:53:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 20:53:04] Production.INFO: count ==23
[2025-04-11 20:53:04] Production.INFO: ==16208== Releasing lock...
[2025-04-11 20:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 20:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 20:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886789') start
[2025-04-11 20:53:04] Production.INFO: Date 2025-04-10
[2025-04-11 20:53:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:53:04] Production.INFO: Date 2025-04-11
[2025-04-11 20:53:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:53:04] Production.INFO: Total Charge 0
[2025-04-11 20:53:04] Production.INFO: CreateAllLog End
[2025-04-11 20:53:04] Production.ERROR: done
[2025-04-11 20:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886789') end
[2025-04-11 20:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 20:53:04] Production.INFO: 1
[2025-04-11 20:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 20:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 20:53:04] Production.INFO: ==16216== Releasing lock...
[2025-04-11 20:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 20:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 20:53:04] Production.ERROR: done
[2025-04-11 20:53:04] Production.INFO: Account Balance End.
[2025-04-11 20:53:04] Production.ERROR: CronJobId end 12
[2025-04-11 20:53:04] Production.INFO: ==16212== Releasing lock...
[2025-04-11 20:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 20:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 20:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 17:53:05
[end_date_ymd] => 2025-04-11 20:53:05
[RateCDR] => 1
)
[2025-04-11 20:53:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 17:53:05' and `end` < '2025-04-11 20:53:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 20:53:12] Production.ERROR: CronJobId end10
[2025-04-11 20:53:12] Production.INFO: ==16210== Releasing lock...
[2025-04-11 20:53:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 20:53:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 20:53:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 20:53:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 20:53:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 20:53:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 20:53:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 20:53:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 20:53:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 20:53:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 20:53:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 20:53:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 20:53:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 20:53:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 20:53:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 20:53:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 20:53:15] Production.INFO: call_cost start
[2025-04-11 20:53:15] Production.INFO: call_cost end
[2025-04-11 20:53:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 20:53:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 20:53:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 20:53:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 20:53:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 20:53:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 20:53:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 20:53:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 20:53:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 20:53:16] Production.INFO: ==16206== Releasing lock...
[2025-04-11 20:53:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 20:53:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 20:53:19] Production.INFO: count ==1704
[2025-04-11 20:53:19] Production.ERROR: pbx CDR StartTime 2025-04-11 17:53:05 - End Time 2025-04-11 20:53:05
[2025-04-11 20:53:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 20:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886790', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886790', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886790', 'tblTempVendorCDR_20' ) start
[2025-04-11 20:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886790', 'tblTempVendorCDR_20' ) end
[2025-04-11 20:53:19] Production.INFO: ProcessCDR(1,14886790,1,1,2)
[2025-04-11 20:53:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886790,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:53:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886790,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:53:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886790,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:53:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886790,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:53:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886790', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:53:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886790', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:53:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 20:53:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 20:53:24] Production.INFO: ==16214== Releasing lock...
[2025-04-11 20:53:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 20:53:24] Production.INFO: 40.25 MB #Memory Used#
[2025-04-12 01:54:01] Production.INFO: ==16274== Lock acquired, processing the job...
[2025-04-12 01:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 01:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 01:54:01] Production.INFO: neon service started
[2025-04-12 01:54:01] Production.INFO: neon service started
[2025-04-12 01:54:01] Production.INFO: ==16274== Releasing lock...
[2025-04-12 01:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 01:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 20:54:02] Production.INFO: ==16276== Lock acquired, processing the job...
[2025-04-11 20:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 00:54:02] Production.INFO: ==16278== Lock acquired, processing the job...
[2025-04-12 00:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 00:54:02] Production.INFO: ==16278== Releasing lock...
[2025-04-12 00:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 00:54:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 20:54:02] Production.INFO: ==16276== Releasing lock...
[2025-04-11 20:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 20:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 20:54:03] Production.INFO: ==16281== Lock acquired, processing the job...
[2025-04-11 20:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 20:54:03] Production.INFO: ==16283== Lock acquired, processing the job...
[2025-04-11 20:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 20:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 20:54:03] Production.INFO: ==16289== Lock acquired, processing the job...
[2025-04-11 20:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 20:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 20:54:03] Production.INFO: ==16285== Lock acquired, processing the job...
[2025-04-11 20:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 20:54:03] Production.INFO: ==16287== Lock acquired, processing the job...
[2025-04-11 20:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 20:54:03] Production.INFO: ==16291== Lock acquired, processing the job...
[2025-04-11 20:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 20:54:03] Production.INFO: ==16283== Releasing lock...
[2025-04-11 20:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 20:54:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 20:54:03] Production.INFO: Account Balance Start.
[2025-04-11 20:54:03] Production.INFO: CreateAllLog Start
[2025-04-11 20:54:03] Production.INFO: 117
[2025-04-11 20:54:03] Production.INFO: Date 2025-04-08
[2025-04-11 20:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 20:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 20:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 20:54:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 20:54:03] Production.INFO: Reseller ==> 0
[2025-04-11 20:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 20:54:03] Production.INFO: count ==12
[2025-04-11 20:54:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 20:54:03] Production.INFO: count ==23
[2025-04-11 20:54:03] Production.ERROR: done
[2025-04-11 20:54:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 20:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14886794') start
[2025-04-11 20:54:04] Production.INFO: Date 2025-04-09
[2025-04-11 20:54:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886794') end
[2025-04-11 20:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 20:54:04] Production.INFO: 1
[2025-04-11 20:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 20:54:04] Production.INFO: Date 2025-04-10
[2025-04-11 20:54:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:54:04] Production.ERROR: done
[2025-04-11 20:54:04] Production.INFO: Date 2025-04-11
[2025-04-11 20:54:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:54:04] Production.INFO: ==16291== Releasing lock...
[2025-04-11 20:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 20:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 20:54:04] Production.INFO: Total Charge 0
[2025-04-11 20:54:04] Production.INFO: CreateAllLog End
[2025-04-11 20:54:04] Production.INFO: Account Balance End.
[2025-04-11 20:54:04] Production.ERROR: CronJobId end 12
[2025-04-11 20:54:04] Production.INFO: ==16287== Releasing lock...
[2025-04-11 20:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 20:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 20:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 17:54:05
[end_date_ymd] => 2025-04-11 20:54:05
[RateCDR] => 1
)
[2025-04-11 20:54:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 17:54:05' and `end` < '2025-04-11 20:54:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 20:54:13] Production.ERROR: CronJobId end10
[2025-04-11 20:54:13] Production.INFO: ==16285== Releasing lock...
[2025-04-11 20:54:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 20:54:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 20:54:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 20:54:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 20:54:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 20:54:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 20:54:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 20:54:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 20:54:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 20:54:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 20:54:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 20:54:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 20:54:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 20:54:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 20:54:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 20:54:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 20:54:15] Production.INFO: call_cost start
[2025-04-11 20:54:15] Production.INFO: call_cost end
[2025-04-11 20:54:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 20:54:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 20:54:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 20:54:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 20:54:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 20:54:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 20:54:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 20:54:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 20:54:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 20:54:16] Production.INFO: ==16281== Releasing lock...
[2025-04-11 20:54:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 20:54:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 20:54:18] Production.INFO: count ==1707
[2025-04-11 20:54:18] Production.ERROR: pbx CDR StartTime 2025-04-11 17:54:05 - End Time 2025-04-11 20:54:05
[2025-04-11 20:54:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 20:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886795', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886795', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886795', 'tblTempVendorCDR_20' ) start
[2025-04-11 20:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886795', 'tblTempVendorCDR_20' ) end
[2025-04-11 20:54:18] Production.INFO: ProcessCDR(1,14886795,1,1,2)
[2025-04-11 20:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886795,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:54:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886795,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:54:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886795,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:54:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886795,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:54:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886795', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:54:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886795', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:54:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 20:54:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 20:54:24] Production.INFO: ==16289== Releasing lock...
[2025-04-11 20:54:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 20:54:24] Production.INFO: 40.25 MB #Memory Used#
[2025-04-12 01:55:01] Production.INFO: ==16349== Lock acquired, processing the job...
[2025-04-12 01:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 01:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 01:55:01] Production.INFO: neon service started
[2025-04-12 01:55:01] Production.INFO: neon service started
[2025-04-12 01:55:01] Production.INFO: ==16349== Releasing lock...
[2025-04-12 01:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 01:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 20:55:02] Production.INFO: ==16351== Lock acquired, processing the job...
[2025-04-11 20:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 00:55:02] Production.INFO: ==16353== Lock acquired, processing the job...
[2025-04-12 00:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 00:55:02] Production.INFO: ==16353== Releasing lock...
[2025-04-12 00:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 00:55:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 20:55:02] Production.INFO: ==16351== Releasing lock...
[2025-04-11 20:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 20:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 20:55:03] Production.INFO: ==16357== Lock acquired, processing the job...
[2025-04-11 20:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 20:55:03] Production.INFO: ==16359== Lock acquired, processing the job...
[2025-04-11 20:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 20:55:03] Production.INFO: ==16363== Lock acquired, processing the job...
[2025-04-11 20:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 20:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 20:55:03] Production.INFO: ==16365== Lock acquired, processing the job...
[2025-04-11 20:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 20:55:03] Production.INFO: Account Balance Start.
[2025-04-11 20:55:03] Production.INFO: CreateAllLog Start
[2025-04-11 20:55:03] Production.INFO: 117
[2025-04-11 20:55:03] Production.INFO: Date 2025-04-08
[2025-04-11 20:55:03] Production.INFO: ==16361== Lock acquired, processing the job...
[2025-04-11 20:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 20:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 20:55:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:55:04] Production.INFO: Date 2025-04-09
[2025-04-11 20:55:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:55:04] Production.INFO: ==16367== Lock acquired, processing the job...
[2025-04-11 20:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 20:55:04] Production.INFO: Date 2025-04-10
[2025-04-11 20:55:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:55:04] Production.INFO: Date 2025-04-11
[2025-04-11 20:55:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:55:04] Production.INFO: Total Charge 0
[2025-04-11 20:55:04] Production.INFO: CreateAllLog End
[2025-04-11 20:55:04] Production.INFO: ==16359== Releasing lock...
[2025-04-11 20:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 20:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 20:55:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 20:55:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 20:55:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 20:55:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 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-11 20:55:04] Production.INFO: count ==12
[2025-04-11 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-11 20:55:04] Production.INFO: count ==23
[2025-04-11 20:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886799') start
[2025-04-11 20:55:04] Production.ERROR: done
[2025-04-11 20:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 20:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886799') end
[2025-04-11 20:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 20:55:04] Production.INFO: 1
[2025-04-11 20:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 20:55:04] Production.ERROR: done
[2025-04-11 20:55:04] Production.INFO: ==16367== Releasing lock...
[2025-04-11 20:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 20:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 20:55:04] Production.INFO: Account Balance End.
[2025-04-11 20:55:04] Production.ERROR: CronJobId end 12
[2025-04-11 20:55:04] Production.INFO: ==16363== Releasing lock...
[2025-04-11 20:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 20:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 20:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 17:55:05
[end_date_ymd] => 2025-04-11 20:55:05
[RateCDR] => 1
)
[2025-04-11 20:55:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 17:55:05' and `end` < '2025-04-11 20:55:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 20:55:13] Production.ERROR: CronJobId end10
[2025-04-11 20:55:13] Production.INFO: ==16361== Releasing lock...
[2025-04-11 20:55:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 20:55:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 20:55:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 20:55:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 20:55:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 20:55:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 20:55:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 20:55:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 20:55:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 20:55:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 20:55:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 20:55:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 20:55:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 20:55:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 20:55:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 20:55:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 20:55:15] Production.INFO: call_cost start
[2025-04-11 20:55:15] Production.INFO: call_cost end
[2025-04-11 20:55:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 20:55:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 20:55:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 20:55:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 20:55:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 20:55:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 20:55:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 20:55:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 20:55:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 20:55:16] Production.INFO: ==16357== Releasing lock...
[2025-04-11 20:55:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 20:55:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 20:55:18] Production.INFO: count ==1703
[2025-04-11 20:55:19] Production.ERROR: pbx CDR StartTime 2025-04-11 17:55:05 - End Time 2025-04-11 20:55:05
[2025-04-11 20:55:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 20:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886800', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886800', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886800', 'tblTempVendorCDR_20' ) start
[2025-04-11 20:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886800', 'tblTempVendorCDR_20' ) end
[2025-04-11 20:55:19] Production.INFO: ProcessCDR(1,14886800,1,1,2)
[2025-04-11 20:55:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886800,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:55:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886800,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:55:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886800,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:55:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886800,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886800', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886800', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:55:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 20:55:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 20:55:22] Production.INFO: ==16365== Releasing lock...
[2025-04-11 20:55:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 20:55:22] Production.INFO: 40.25 MB #Memory Used#
[2025-04-12 01:56:02] Production.INFO: ==16427== Lock acquired, processing the job...
[2025-04-12 01:56:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 01:56:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 01:56:02] Production.INFO: neon service started
[2025-04-12 01:56:02] Production.INFO: neon service started
[2025-04-12 01:56:02] Production.INFO: ==16427== Releasing lock...
[2025-04-12 01:56:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 01:56:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 00:56:02] Production.INFO: ==16431== Lock acquired, processing the job...
[2025-04-12 00:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 00:56:02] Production.INFO: ==16431== Releasing lock...
[2025-04-12 00:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 00:56:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 20:56:02] Production.INFO: ==16429== Lock acquired, processing the job...
[2025-04-11 20:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 20:56:03] Production.INFO: ==16429== Releasing lock...
[2025-04-11 20:56:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 20:56:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 20:56:03] Production.INFO: ==16438== Lock acquired, processing the job...
[2025-04-11 20:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 20:56:03] Production.INFO: ==16444== Lock acquired, processing the job...
[2025-04-11 20:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 20:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 20:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 20:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 20:56:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 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-11 20:56:04] Production.INFO: ==16434== Lock acquired, processing the job...
[2025-04-11 20:56:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 20:56:04] Production.INFO: count ==12
[2025-04-11 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-11 20:56:04] Production.INFO: count ==23
[2025-04-11 20:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886801') start
[2025-04-11 20:56:04] Production.INFO: ==16436== Lock acquired, processing the job...
[2025-04-11 20:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 20:56:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 20:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886801') end
[2025-04-11 20:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 20:56:04] Production.INFO: 1
[2025-04-11 20:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 20:56:04] Production.INFO: ==16440== Lock acquired, processing the job...
[2025-04-11 20:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 20:56:04] Production.INFO: ==16442== Lock acquired, processing the job...
[2025-04-11 20:56:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 20:56:04] Production.INFO: ==16444== Releasing lock...
[2025-04-11 20:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 20:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 20:56:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 20:56:04] Production.INFO: Account Balance Start.
[2025-04-11 20:56:04] Production.INFO: CreateAllLog Start
[2025-04-11 20:56:04] Production.INFO: 117
[2025-04-11 20:56:04] Production.INFO: Date 2025-04-08
[2025-04-11 20:56:04] Production.INFO: ==16436== Releasing lock...
[2025-04-11 20:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 20:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 20:56:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:56:04] Production.ERROR: done
[2025-04-11 20:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 20:56:04] Production.INFO: Date 2025-04-09
[2025-04-11 20:56:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:56:04] Production.INFO: Date 2025-04-10
[2025-04-11 20:56:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:56:04] Production.ERROR: done
[2025-04-11 20:56:04] Production.INFO: Date 2025-04-11
[2025-04-11 20:56:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:56:05] Production.INFO: Total Charge 0
[2025-04-11 20:56:05] Production.INFO: CreateAllLog End
[2025-04-11 20:56:05] Production.INFO: Account Balance End.
[2025-04-11 20:56:05] Production.ERROR: CronJobId end 12
[2025-04-11 20:56:05] Production.INFO: ==16440== Releasing lock...
[2025-04-11 20:56:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 20:56:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 20:56:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 17:56:06
[end_date_ymd] => 2025-04-11 20:56:06
[RateCDR] => 1
)
[2025-04-11 20: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-11 17:56:06' and `end` < '2025-04-11 20: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-11 20:56:13] Production.ERROR: CronJobId end10
[2025-04-11 20:56:13] Production.INFO: ==16438== Releasing lock...
[2025-04-11 20:56:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 20:56:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 20:56:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 20:56:16] Production.INFO: ============== Balance Warning START===========
[2025-04-11 20:56:16] Production.INFO: ============== Balance Warning END===========
[2025-04-11 20:56:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 20:56:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 20:56:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 20:56:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 20:56:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 20:56:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 20:56:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 20:56:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 20:56:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 20:56:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 20:56:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 20:56:16] Production.INFO: call_cost start
[2025-04-11 20:56:16] Production.INFO: call_cost end
[2025-04-11 20:56:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 20:56:17] Production.INFO: ============== Report Schedule START===========
[2025-04-11 20:56:17] Production.INFO: ============== Report Schedule END===========
[2025-04-11 20:56:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 20:56:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 20:56:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 20:56:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 20:56:17] Production.INFO: ============== Deal alert START===========
[2025-04-11 20:56:17] Production.INFO: ============== Deal alert END===========
[2025-04-11 20:56:17] Production.INFO: ==16434== Releasing lock...
[2025-04-11 20:56:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 20:56:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 20:56:19] Production.INFO: count ==1701
[2025-04-11 20:56:19] Production.ERROR: pbx CDR StartTime 2025-04-11 17:56:06 - End Time 2025-04-11 20:56:06
[2025-04-11 20:56:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 20:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886805', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886805', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886805', 'tblTempVendorCDR_20' ) start
[2025-04-11 20:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886805', 'tblTempVendorCDR_20' ) end
[2025-04-11 20:56:19] Production.INFO: ProcessCDR(1,14886805,1,1,2)
[2025-04-11 20:56:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886805,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:56:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886805,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:56:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886805,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:56:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886805,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:56:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886805', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:56:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886805', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:56:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 20:56:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 20:56:23] Production.INFO: ==16442== Releasing lock...
[2025-04-11 20:56:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 20:56:23] Production.INFO: 40.25 MB #Memory Used#
[2025-04-12 01:57:01] Production.INFO: ==16501== Lock acquired, processing the job...
[2025-04-12 01:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 01:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 01:57:01] Production.INFO: neon service started
[2025-04-12 01:57:01] Production.INFO: neon service started
[2025-04-12 01:57:01] Production.INFO: ==16501== Releasing lock...
[2025-04-12 01:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 01:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 20:57:02] Production.INFO: ==16503== Lock acquired, processing the job...
[2025-04-11 20:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 20:57:02] Production.INFO: ==16503== Releasing lock...
[2025-04-11 20:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 20:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 00:57:02] Production.INFO: ==16505== Lock acquired, processing the job...
[2025-04-12 00:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 00:57:02] Production.INFO: ==16505== Releasing lock...
[2025-04-12 00:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 00:57:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 20:57:03] Production.INFO: ==16510== Lock acquired, processing the job...
[2025-04-11 20:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 20:57:03] Production.INFO: ==16518== Lock acquired, processing the job...
[2025-04-11 20:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 20:57:03] Production.INFO: ==16508== Lock acquired, processing the job...
[2025-04-11 20:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 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-11 20:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 20:57:03] Production.INFO: count ==12
[2025-04-11 20:57:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 20:57:04] Production.INFO: ==16512== Lock acquired, processing the job...
[2025-04-11 20:57:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 20:57:04] Production.INFO: count ==23
[2025-04-11 20:57:04] Production.INFO: ==16510== Releasing lock...
[2025-04-11 20:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 20:57:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 20:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886807') start
[2025-04-11 20:57:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 20:57:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 20:57:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 20:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886807') end
[2025-04-11 20:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 20:57:04] Production.INFO: 1
[2025-04-11 20:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 20:57:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 20:57:04] Production.INFO: ==16514== Lock acquired, processing the job...
[2025-04-11 20:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 20:57:04] Production.INFO: ==16518== Releasing lock...
[2025-04-11 20:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 20:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 20:57:04] Production.INFO: ==16516== Lock acquired, processing the job...
[2025-04-11 20:57:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 20:57:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 20:57:04] Production.INFO: Account Balance Start.
[2025-04-11 20:57:04] Production.INFO: CreateAllLog Start
[2025-04-11 20:57:04] Production.INFO: 117
[2025-04-11 20:57:04] Production.INFO: Date 2025-04-08
[2025-04-11 20:57:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:57:04] Production.INFO: Date 2025-04-09
[2025-04-11 20:57:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:57:04] Production.INFO: Date 2025-04-10
[2025-04-11 20:57:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:57:04] Production.INFO: Date 2025-04-11
[2025-04-11 20:57:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:57:04] Production.ERROR: done
[2025-04-11 20:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 20:57:04] Production.INFO: Total Charge 0
[2025-04-11 20:57:05] Production.INFO: CreateAllLog End
[2025-04-11 20:57:05] Production.ERROR: done
[2025-04-11 20:57:05] Production.INFO: Account Balance End.
[2025-04-11 20:57:05] Production.ERROR: CronJobId end 12
[2025-04-11 20:57:05] Production.INFO: ==16514== Releasing lock...
[2025-04-11 20:57:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 20:57:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 20:57:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 17:57:06
[end_date_ymd] => 2025-04-11 20:57:06
[RateCDR] => 1
)
[2025-04-11 20: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-11 17:57:06' and `end` < '2025-04-11 20: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-11 20:57:15] Production.ERROR: CronJobId end10
[2025-04-11 20:57:15] Production.INFO: ==16512== Releasing lock...
[2025-04-11 20:57:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 20:57:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 20:57:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 20:57:17] Production.INFO: ============== Balance Warning START===========
[2025-04-11 20:57:17] Production.INFO: ============== Balance Warning END===========
[2025-04-11 20:57:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 20:57:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 20:57:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 20:57:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 20:57:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 20:57:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 20:57:17] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 20:57:17] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 20:57:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 20:57:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 20:57:17] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 20:57:17] Production.INFO: call_cost start
[2025-04-11 20:57:17] Production.INFO: call_cost end
[2025-04-11 20:57:19] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 20:57:19] Production.INFO: ============== Report Schedule START===========
[2025-04-11 20:57:19] Production.INFO: ============== Report Schedule END===========
[2025-04-11 20:57:19] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 20:57:19] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 20:57:19] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 20:57:19] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 20:57:19] Production.INFO: ============== Deal alert START===========
[2025-04-11 20:57:19] Production.INFO: ============== Deal alert END===========
[2025-04-11 20:57:19] Production.INFO: ==16508== Releasing lock...
[2025-04-11 20:57:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 20:57:19] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 20:57:19] Production.INFO: count ==1697
[2025-04-11 20:57:19] Production.ERROR: pbx CDR StartTime 2025-04-11 17:57:06 - End Time 2025-04-11 20:57:06
[2025-04-11 20:57:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 20:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886810', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886810', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886810', 'tblTempVendorCDR_20' ) start
[2025-04-11 20:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886810', 'tblTempVendorCDR_20' ) end
[2025-04-11 20:57:19] Production.INFO: ProcessCDR(1,14886810,1,1,2)
[2025-04-11 20:57:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886810,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:57:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886810,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:57:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886810,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:57:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886810,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:57:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886810', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:57:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886810', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:57:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 20:57:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 20:57:23] Production.INFO: ==16516== Releasing lock...
[2025-04-11 20:57:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 20:57:23] Production.INFO: 40.25 MB #Memory Used#
[2025-04-12 01:58:01] Production.INFO: ==16576== Lock acquired, processing the job...
[2025-04-12 01:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 01:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 01:58:01] Production.INFO: neon service started
[2025-04-12 01:58:01] Production.INFO: neon service started
[2025-04-12 01:58:01] Production.INFO: ==16576== Releasing lock...
[2025-04-12 01:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 01:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 20:58:01] Production.INFO: ==16578== Lock acquired, processing the job...
[2025-04-11 20:58:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 20:58:02] Production.INFO: ==16578== Releasing lock...
[2025-04-11 20:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 20:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 00:58:02] Production.INFO: ==16580== Lock acquired, processing the job...
[2025-04-12 00:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 00:58:02] Production.INFO: ==16580== Releasing lock...
[2025-04-12 00:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 00:58:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 20:58:03] Production.INFO: ==16588== Lock acquired, processing the job...
[2025-04-11 20:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 20:58:03] Production.INFO: ==16582== Lock acquired, processing the job...
[2025-04-11 20:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 20:58:03] Production.INFO: ==16590== Lock acquired, processing the job...
[2025-04-11 20:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 20:58:03] Production.INFO: Account Balance Start.
[2025-04-11 20:58:03] Production.INFO: CreateAllLog Start
[2025-04-11 20:58:03] Production.INFO: 117
[2025-04-11 20:58:03] Production.INFO: Date 2025-04-08
[2025-04-11 20:58:03] Production.INFO: Reseller ==> 0
[2025-04-11 20:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 20:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 20:58:03] Production.INFO: Date 2025-04-09
[2025-04-11 20:58:03] Production.INFO: Reseller ==> 0
[2025-04-11 20:58:03] Production.INFO: Date 2025-04-10
[2025-04-11 20:58:03] Production.INFO: Reseller ==> 0
[2025-04-11 20:58:03] Production.INFO: Date 2025-04-11
[2025-04-11 20:58:03] Production.INFO: Reseller ==> 0
[2025-04-11 20:58:03] Production.INFO: Total Charge 0
[2025-04-11 20:58:03] Production.INFO: ==16584== Lock acquired, processing the job...
[2025-04-11 20:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 20:58:03] Production.INFO: CreateAllLog End
[2025-04-11 20:58:03] Production.INFO: ==16586== Lock acquired, processing the job...
[2025-04-11 20:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 20:58:03] Production.INFO: ==16592== Lock acquired, processing the job...
[2025-04-11 20:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 20:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 20:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 20:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 20:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 20:58:03] Production.INFO: Account Balance End.
[2025-04-11 20:58:03] Production.ERROR: CronJobId end 12
[2025-04-11 20:58:03] Production.INFO: ==16588== Releasing lock...
[2025-04-11 20:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 20:58:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 20:58:03] Production.ERROR: done
[2025-04-11 20:58:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 20:58:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 20:58:03] Production.INFO: ==16584== Releasing lock...
[2025-04-11 20:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 20:58:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 20:58:03] Production.INFO: count ==12
[2025-04-11 20: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-11 20:58:03] Production.INFO: count ==23
[2025-04-11 20:58:03] Production.ERROR: done
[2025-04-11 20:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14886814') start
[2025-04-11 20:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14886814') end
[2025-04-11 20:58:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 20:58:03] Production.INFO: 1
[2025-04-11 20:58:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 20:58:04] Production.INFO: ==16592== Releasing lock...
[2025-04-11 20:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 20:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 20:58:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 17:58:04
[end_date_ymd] => 2025-04-11 20:58:04
[RateCDR] => 1
)
[2025-04-11 20:58:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 17:58:04' and `end` < '2025-04-11 20:58:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 20:58:13] Production.ERROR: CronJobId end10
[2025-04-11 20:58:13] Production.INFO: ==16586== Releasing lock...
[2025-04-11 20:58:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 20:58:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 20:58:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 20:58:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 20:58:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 20:58:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 20:58:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 20:58:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 20:58:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 20:58:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 20:58:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 20:58:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 20:58:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 20:58:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 20:58:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 20:58:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 20:58:14] Production.INFO: call_cost start
[2025-04-11 20:58:14] Production.INFO: call_cost end
[2025-04-11 20:58:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 20:58:15] Production.INFO: ============== Report Schedule START===========
[2025-04-11 20:58:15] Production.INFO: ============== Report Schedule END===========
[2025-04-11 20:58:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 20:58:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 20:58:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 20:58:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 20:58:15] Production.INFO: ============== Deal alert START===========
[2025-04-11 20:58:15] Production.INFO: ============== Deal alert END===========
[2025-04-11 20:58:15] Production.INFO: ==16582== Releasing lock...
[2025-04-11 20:58:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 20:58:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 20:58:17] Production.INFO: count ==1695
[2025-04-11 20:58:18] Production.ERROR: pbx CDR StartTime 2025-04-11 17:58:04 - End Time 2025-04-11 20:58:04
[2025-04-11 20:58:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 20:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886815', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886815', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886815', 'tblTempVendorCDR_20' ) start
[2025-04-11 20:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886815', 'tblTempVendorCDR_20' ) end
[2025-04-11 20:58:18] Production.INFO: ProcessCDR(1,14886815,1,1,2)
[2025-04-11 20:58:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886815,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:58:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886815,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:58:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886815,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:58:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886815,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886815', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886815', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:58:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 20:58:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 20:58:21] Production.INFO: ==16590== Releasing lock...
[2025-04-11 20:58:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 20:58:21] Production.INFO: 40.25 MB #Memory Used#
[2025-04-12 01:59:01] Production.INFO: ==16646== Lock acquired, processing the job...
[2025-04-12 01:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 01:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 01:59:01] Production.INFO: neon service started
[2025-04-12 01:59:01] Production.INFO: neon service started
[2025-04-12 01:59:01] Production.INFO: ==16646== Releasing lock...
[2025-04-12 01:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 01:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 20:59:02] Production.INFO: ==16649== Lock acquired, processing the job...
[2025-04-11 20:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 20:59:02] Production.INFO: ==16649== Releasing lock...
[2025-04-11 20:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 20:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 00:59:02] Production.INFO: ==16651== Lock acquired, processing the job...
[2025-04-12 00:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 00:59:02] Production.INFO: ==16651== Releasing lock...
[2025-04-12 00:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 00:59:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 20:59:03] Production.INFO: ==16653== Lock acquired, processing the job...
[2025-04-11 20:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 20:59:03] Production.INFO: ==16655== Lock acquired, processing the job...
[2025-04-11 20:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 20:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 20:59:03] Production.INFO: ==16663== Lock acquired, processing the job...
[2025-04-11 20:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 20:59:03] Production.INFO: ==16655== Releasing lock...
[2025-04-11 20:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 20:59:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 20:59:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 20:59:04] Production.INFO: count ==12
[2025-04-11 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-11 20:59:04] Production.INFO: count ==23
[2025-04-11 20:59:04] Production.INFO: ==16657== Lock acquired, processing the job...
[2025-04-11 20:59:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 20:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886818') start
[2025-04-11 20:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886818') end
[2025-04-11 20:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 20:59:04] Production.INFO: 1
[2025-04-11 20:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 20:59:04] Production.INFO: ==16659== Lock acquired, processing the job...
[2025-04-11 20:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 20:59:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 20:59:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 20:59:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 20:59:04] Production.INFO: ==16661== Lock acquired, processing the job...
[2025-04-11 20:59:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 20:59:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 20:59:04] Production.INFO: Account Balance Start.
[2025-04-11 20:59:04] Production.INFO: CreateAllLog Start
[2025-04-11 20:59:04] Production.INFO: 117
[2025-04-11 20:59:04] Production.INFO: ==16663== Releasing lock...
[2025-04-11 20:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 20:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 20:59:04] Production.INFO: Date 2025-04-08
[2025-04-11 20:59:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:59:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 20:59:04] Production.INFO: Date 2025-04-09
[2025-04-11 20:59:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:59:04] Production.INFO: Date 2025-04-10
[2025-04-11 20:59:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:59:04] Production.INFO: Date 2025-04-11
[2025-04-11 20:59:04] Production.INFO: Reseller ==> 0
[2025-04-11 20:59:04] Production.ERROR: done
[2025-04-11 20:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 20:59:04] Production.INFO: Total Charge 0
[2025-04-11 20:59:04] Production.INFO: CreateAllLog End
[2025-04-11 20:59:04] Production.ERROR: done
[2025-04-11 20:59:04] Production.INFO: Account Balance End.
[2025-04-11 20:59:04] Production.ERROR: CronJobId end 12
[2025-04-11 20:59:04] Production.INFO: ==16659== Releasing lock...
[2025-04-11 20:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 20:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 20:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 17:59:05
[end_date_ymd] => 2025-04-11 20:59:05
[RateCDR] => 1
)
[2025-04-11 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-11 17:59:05' and `end` < '2025-04-11 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-11 20:59:12] Production.ERROR: CronJobId end10
[2025-04-11 20:59:12] Production.INFO: ==16657== Releasing lock...
[2025-04-11 20:59:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 20:59:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 20:59:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 20:59:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 20:59:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 20:59:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 20:59:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 20:59:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 20:59:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 20:59:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 20:59:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 20:59:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 20:59:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 20:59:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 20:59:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 20:59:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 20:59:14] Production.INFO: call_cost start
[2025-04-11 20:59:15] Production.INFO: call_cost end
[2025-04-11 20:59:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 20:59:15] Production.INFO: ============== Report Schedule START===========
[2025-04-11 20:59:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 20:59:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 20:59:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 20:59:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 20:59:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 20:59:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 20:59:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 20:59:16] Production.INFO: ==16653== Releasing lock...
[2025-04-11 20:59:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 20:59:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 20:59:18] Production.INFO: count ==1695
[2025-04-11 20:59:18] Production.ERROR: pbx CDR StartTime 2025-04-11 17:59:05 - End Time 2025-04-11 20:59:05
[2025-04-11 20:59:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 20:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886820', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886820', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886820', 'tblTempVendorCDR_20' ) start
[2025-04-11 20:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886820', 'tblTempVendorCDR_20' ) end
[2025-04-11 20:59:18] Production.INFO: ProcessCDR(1,14886820,1,1,2)
[2025-04-11 20:59:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886820,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:59:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886820,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 20:59:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886820,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:59:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886820,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 20:59:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886820', 'tblTempUsageDetail_20' ) start
[2025-04-11 20:59:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886820', 'tblTempUsageDetail_20' ) end
[2025-04-11 20:59:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 20:59:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 20:59:24] Production.INFO: ==16661== Releasing lock...
[2025-04-11 20:59:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 20:59:24] Production.INFO: 40.25 MB #Memory Used#
[2025-04-12 02:00:02] Production.INFO: ==16723== Lock acquired, processing the job...
[2025-04-12 02:00:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 02:00:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 02:00:02] Production.INFO: neon service started
[2025-04-12 02:00:02] Production.INFO: neon service started
[2025-04-12 02:00:02] Production.INFO: ==16723== Releasing lock...
[2025-04-12 02:00:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 02:00:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 21:00:02] Production.INFO: ==16725== Lock acquired, processing the job...
[2025-04-11 21:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 01:00:03] Production.INFO: ==16727== Lock acquired, processing the job...
[2025-04-12 01:00:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 01:00:03] Production.INFO: ==16727== Releasing lock...
[2025-04-12 01:00:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 01:00:03] Production.INFO: 25 MB #Memory Used#
[2025-04-11 21:00:03] Production.INFO: ==16725== Releasing lock...
[2025-04-11 21:00:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 21:00:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 21:00:04] Production.INFO: ==16730== Lock acquired, processing the job...
[2025-04-11 21:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-11 21:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-11 21:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-11 21:00:04] Production.INFO: ==16730== Releasing lock...
[2025-04-11 21:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-11 21:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-11 21:00:04] Production.INFO: ==16732== Lock acquired, processing the job...
[2025-04-11 21:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 21:00:04] Production.INFO: ==16735== Lock acquired, processing the job...
[2025-04-11 21:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 21:00:04] Production.INFO: ==16737== Lock acquired, processing the job...
[2025-04-11 21:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 21:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 21:00:04] Production.INFO: ==16739== Lock acquired, processing the job...
[2025-04-11 21:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 21:00:04] Production.INFO: ==16741== Lock acquired, processing the job...
[2025-04-11 21:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 21:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 21:00:04] Production.INFO: ==16743== Lock acquired, processing the job...
[2025-04-11 21:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-11 21:00:04] Production.INFO: Account Balance Start.
[2025-04-11 21:00:04] Production.INFO: CreateAllLog Start
[2025-04-11 21:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 21:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 21:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 21:00:04] Production.INFO: 117
[2025-04-11 21:00:04] Production.INFO: Date 2025-04-08
[2025-04-11 21:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 21:00:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 21:00:04] Production.INFO: ==16745== Lock acquired, processing the job...
[2025-04-11 21:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 21:00:04] Production.INFO: Date 2025-04-09
[2025-04-11 21:00:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:00:05] Production.INFO: Date 2025-04-10
[2025-04-11 21:00:05] Production.INFO: Reseller ==> 0
[2025-04-11 21:00:05] Production.INFO: Date 2025-04-11
[2025-04-11 21:00:05] Production.INFO: Reseller ==> 0
[2025-04-11 21:00:05] Production.INFO: ==16735== Releasing lock...
[2025-04-11 21:00:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 21:00:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 21:00:05] Production.INFO: Total Charge 0
[2025-04-11 21:00:05] Production.INFO: CreateAllLog End
[2025-04-11 21:00:05] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 21:00:05] Production.INFO: count ==12
[2025-04-11 21:00:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 21:00:05] Production.INFO: count ==23
[2025-04-11 21:00:05] Production.ERROR: done
[2025-04-11 21:00:05] Production.ERROR: done
[2025-04-11 21:00:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 21:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14886824') start
[2025-04-11 21:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-11 21:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14886825', 'tblTempUsageDetail_20reseller','2025-04-11','2025-04-11','1' ) start
[2025-04-11 21:00:05] Production.ERROR: done
[2025-04-11 21:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14886824') end
[2025-04-11 21:00:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 21:00:05] Production.INFO: 1
[2025-04-11 21:00:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 21:00:05] Production.INFO: Account Balance End.
[2025-04-11 21:00:05] Production.ERROR: CronJobId end 12
[2025-04-11 21:00:05] Production.INFO: ==16739== Releasing lock...
[2025-04-11 21:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 21:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 21:00:05] Production.INFO: ==16745== Releasing lock...
[2025-04-11 21:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 21:00:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 21:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 18:00:06
[end_date_ymd] => 2025-04-11 21:00:06
[RateCDR] => 1
)
[2025-04-11 21:00:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 18:00:06' and `end` < '2025-04-11 21:00:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 21:00:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14886825', 'tblTempUsageDetail_20reseller','2025-04-11','2025-04-11','1' ) end
[2025-04-11 21:00:10] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-11 21:00:10] Production.INFO: ProcessCDR(1,14886825,1,1,2)
[2025-04-11 21:00:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14886825,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:00:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14886825,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:00:10] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 21:00:10] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 21:00:10] Production.INFO: ==16743== Releasing lock...
[2025-04-11 21:00:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-11 21:00:10] Production.INFO: 26 MB #Memory Used#
[2025-04-11 21:00:15] Production.ERROR: CronJobId end10
[2025-04-11 21:00:15] Production.INFO: ==16737== Releasing lock...
[2025-04-11 21:00:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 21:00:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 21:00:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 21:00:17] Production.INFO: ============== Balance Warning START===========
[2025-04-11 21:00:17] Production.INFO: ============== Balance Warning END===========
[2025-04-11 21:00:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 21:00:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 21:00:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 21:00:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 21:00:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 21:00:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 21:00:17] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 21:00:17] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 21:00:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 21:00:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 21:00:17] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 21:00:18] Production.INFO: call_cost start
[2025-04-11 21:00:18] Production.INFO: call_cost end
[2025-04-11 21:00:19] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 21:00:19] Production.INFO: ============== Report Schedule START===========
[2025-04-11 21:00:19] Production.INFO: ============== Report Schedule END===========
[2025-04-11 21:00:19] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 21:00:19] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 21:00:19] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 21:00:19] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 21:00:19] Production.INFO: ============== Deal alert START===========
[2025-04-11 21:00:19] Production.INFO: ============== Deal alert END===========
[2025-04-11 21:00:19] Production.INFO: ==16732== Releasing lock...
[2025-04-11 21:00:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 21:00:19] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 21:00:19] Production.INFO: count ==1694
[2025-04-11 21:00:20] Production.ERROR: pbx CDR StartTime 2025-04-11 18:00:06 - End Time 2025-04-11 21:00:06
[2025-04-11 21:00:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 21:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886826', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886826', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886826', 'tblTempVendorCDR_20' ) start
[2025-04-11 21:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886826', 'tblTempVendorCDR_20' ) end
[2025-04-11 21:00:20] Production.INFO: ProcessCDR(1,14886826,1,1,2)
[2025-04-11 21:00:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886826,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:00:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886826,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:00:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886826,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:00:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886826,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886826', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886826', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:00:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 21:00:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 21:00:23] Production.INFO: ==16741== Releasing lock...
[2025-04-11 21:00:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 21:00:23] Production.INFO: 40.25 MB #Memory Used#
[2025-04-12 02:01:01] Production.INFO: ==16840== Lock acquired, processing the job...
[2025-04-12 02:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 02:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 02:01:01] Production.INFO: neon service started
[2025-04-12 02:01:01] Production.INFO: neon service started
[2025-04-12 02:01:01] Production.INFO: ==16840== Releasing lock...
[2025-04-12 02:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 02:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 01:01:02] Production.INFO: ==16853== Lock acquired, processing the job...
[2025-04-12 01:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 01:01:02] Production.INFO: ==16853== Releasing lock...
[2025-04-12 01:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 01:01:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 21:01:02] Production.INFO: ==16851== Lock acquired, processing the job...
[2025-04-11 21:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 21:01:02] Production.INFO: ==16851== Releasing lock...
[2025-04-11 21:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 21:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 21:01:03] Production.INFO: ==16860== Lock acquired, processing the job...
[2025-04-11 21:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 21:01:03] Production.INFO: ==16856== Lock acquired, processing the job...
[2025-04-11 21:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 21:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 21:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 21:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 21:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 21:01:03] Production.INFO: ==16858== Lock acquired, processing the job...
[2025-04-11 21:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 21:01:03] Production.INFO: ==16866== Lock acquired, processing the job...
[2025-04-11 21:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 21:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 21:01:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 21:01:03] Production.INFO: count ==12
[2025-04-11 21:01:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 21:01:03] Production.INFO: ==16862== Lock acquired, processing the job...
[2025-04-11 21:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 21:01:03] Production.INFO: count ==23
[2025-04-11 21:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886828') start
[2025-04-11 21:01:04] Production.INFO: ==16864== Lock acquired, processing the job...
[2025-04-11 21:01:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 21:01:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 21:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886828') end
[2025-04-11 21:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 21:01:04] Production.INFO: 1
[2025-04-11 21:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 21:01:04] Production.INFO: Account Balance Start.
[2025-04-11 21:01:04] Production.INFO: CreateAllLog Start
[2025-04-11 21:01:04] Production.INFO: 117
[2025-04-11 21:01:04] Production.INFO: ==16866== Releasing lock...
[2025-04-11 21:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 21:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 21:01:04] Production.INFO: Date 2025-04-08
[2025-04-11 21:01:04] Production.INFO: ==16858== Releasing lock...
[2025-04-11 21:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 21:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 21:01:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:01:04] Production.INFO: Date 2025-04-09
[2025-04-11 21:01:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:01:04] Production.INFO: Date 2025-04-10
[2025-04-11 21:01:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:01:04] Production.INFO: Date 2025-04-11
[2025-04-11 21:01:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:01:04] Production.INFO: Total Charge 0
[2025-04-11 21:01:04] Production.ERROR: done
[2025-04-11 21:01:04] Production.INFO: CreateAllLog End
[2025-04-11 21:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 21:01:04] Production.ERROR: done
[2025-04-11 21:01:04] Production.INFO: Account Balance End.
[2025-04-11 21:01:05] Production.ERROR: CronJobId end 12
[2025-04-11 21:01:05] Production.INFO: ==16862== Releasing lock...
[2025-04-11 21:01:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 21:01:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 21:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 18:01:05
[end_date_ymd] => 2025-04-11 21:01:05
[RateCDR] => 1
)
[2025-04-11 21:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 18:01:05' and `end` < '2025-04-11 21:01:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 21:01:13] Production.ERROR: CronJobId end10
[2025-04-11 21:01:13] Production.INFO: ==16860== Releasing lock...
[2025-04-11 21:01:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 21:01:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 21:01:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 21:01:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 21:01:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 21:01:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 21:01:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 21:01:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 21:01:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 21:01:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 21:01:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 21:01:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 21:01:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 21:01:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 21:01:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 21:01:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 21:01:15] Production.INFO: call_cost start
[2025-04-11 21:01:15] Production.INFO: call_cost end
[2025-04-11 21:01:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 21:01:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 21:01:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 21:01:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 21:01:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 21:01:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 21:01:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 21:01:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 21:01:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 21:01:16] Production.INFO: ==16856== Releasing lock...
[2025-04-11 21:01:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 21:01:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 21:01:19] Production.INFO: count ==1650
[2025-04-11 21:01:19] Production.ERROR: pbx CDR StartTime 2025-04-11 18:01:05 - End Time 2025-04-11 21:01:05
[2025-04-11 21:01:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 21:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886831', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886831', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886831', 'tblTempVendorCDR_20' ) start
[2025-04-11 21:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886831', 'tblTempVendorCDR_20' ) end
[2025-04-11 21:01:19] Production.INFO: ProcessCDR(1,14886831,1,1,2)
[2025-04-11 21:01:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886831,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:01:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886831,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:01:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886831,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:01:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886831,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886831', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886831', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:01:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 21:01:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 21:01:23] Production.INFO: ==16864== Releasing lock...
[2025-04-11 21:01:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 21:01:23] Production.INFO: 40 MB #Memory Used#
[2025-04-12 02:02:02] Production.INFO: ==16927== Lock acquired, processing the job...
[2025-04-12 02:02:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 02:02:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 02:02:02] Production.INFO: neon service started
[2025-04-12 02:02:02] Production.INFO: neon service started
[2025-04-12 02:02:02] Production.INFO: ==16927== Releasing lock...
[2025-04-12 02:02:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 02:02:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 01:02:02] Production.INFO: ==16931== Lock acquired, processing the job...
[2025-04-12 01:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 01:02:02] Production.INFO: ==16931== Releasing lock...
[2025-04-12 01:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 01:02:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 21:02:02] Production.INFO: ==16929== Lock acquired, processing the job...
[2025-04-11 21:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 21:02:03] Production.INFO: ==16929== Releasing lock...
[2025-04-11 21:02:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 21:02:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 21:02:04] Production.INFO: ==16940== Lock acquired, processing the job...
[2025-04-11 21:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 21:02:04] Production.INFO: ==16942== Lock acquired, processing the job...
[2025-04-11 21:02:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 21:02:04] Production.INFO: Account Balance Start.
[2025-04-11 21:02:04] Production.INFO: CreateAllLog Start
[2025-04-11 21:02:04] Production.INFO: 117
[2025-04-11 21:02:04] Production.INFO: Date 2025-04-08
[2025-04-11 21:02:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:02:04] Production.INFO: Date 2025-04-09
[2025-04-11 21:02:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:02:04] Production.INFO: Date 2025-04-10
[2025-04-11 21:02:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:02:04] Production.INFO: Date 2025-04-11
[2025-04-11 21:02:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 21:02:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:02:04] Production.INFO: ==16934== Lock acquired, processing the job...
[2025-04-11 21:02:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 21:02:04] Production.INFO: Total Charge 0
[2025-04-11 21:02:04] Production.INFO: CreateAllLog End
[2025-04-11 21:02:04] Production.INFO: ==16938== Lock acquired, processing the job...
[2025-04-11 21:02:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 21:02:04] Production.INFO: ==16936== Lock acquired, processing the job...
[2025-04-11 21:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 21:02:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 21:02:04] Production.INFO: ==16944== Lock acquired, processing the job...
[2025-04-11 21:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 21:02:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 21:02:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 21:02:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 21:02:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 21:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 21:02:04] Production.INFO: count ==12
[2025-04-11 21:02:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 21:02:04] Production.INFO: count ==23
[2025-04-11 21:02:04] Production.ERROR: done
[2025-04-11 21:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 21:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886834') start
[2025-04-11 21:02:04] Production.INFO: Account Balance End.
[2025-04-11 21:02:04] Production.ERROR: CronJobId end 12
[2025-04-11 21:02:04] Production.INFO: ==16940== Releasing lock...
[2025-04-11 21:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 21:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 21:02:04] Production.INFO: ==16936== Releasing lock...
[2025-04-11 21:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 21:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 21:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886834') end
[2025-04-11 21:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 21:02:04] Production.INFO: 1
[2025-04-11 21:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 21:02:04] Production.INFO: ==16944== Releasing lock...
[2025-04-11 21:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 21:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 21:02:04] Production.ERROR: done
[2025-04-11 21:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 18:02:05
[end_date_ymd] => 2025-04-11 21:02:05
[RateCDR] => 1
)
[2025-04-11 21:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 18:02:05' and `end` < '2025-04-11 21:02:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 21:02:14] Production.ERROR: CronJobId end10
[2025-04-11 21:02:14] Production.INFO: ==16938== Releasing lock...
[2025-04-11 21:02:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 21:02:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 21:02:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 21:02:16] Production.INFO: ============== Balance Warning START===========
[2025-04-11 21:02:16] Production.INFO: ============== Balance Warning END===========
[2025-04-11 21:02:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 21:02:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 21:02:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 21:02:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 21:02:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 21:02:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 21:02:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 21:02:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 21:02:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 21:02:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 21:02:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 21:02:16] Production.INFO: call_cost start
[2025-04-11 21:02:16] Production.INFO: call_cost end
[2025-04-11 21:02:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 21:02:17] Production.INFO: ============== Report Schedule START===========
[2025-04-11 21:02:17] Production.INFO: ============== Report Schedule END===========
[2025-04-11 21:02:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 21:02:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 21:02:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 21:02:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 21:02:17] Production.INFO: ============== Deal alert START===========
[2025-04-11 21:02:17] Production.INFO: ============== Deal alert END===========
[2025-04-11 21:02:17] Production.INFO: ==16934== Releasing lock...
[2025-04-11 21:02:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 21:02:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 21:02:19] Production.INFO: count ==1636
[2025-04-11 21:02:19] Production.ERROR: pbx CDR StartTime 2025-04-11 18:02:05 - End Time 2025-04-11 21:02:05
[2025-04-11 21:02:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 21:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886836', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886836', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886836', 'tblTempVendorCDR_20' ) start
[2025-04-11 21:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886836', 'tblTempVendorCDR_20' ) end
[2025-04-11 21:02:19] Production.INFO: ProcessCDR(1,14886836,1,1,2)
[2025-04-11 21:02:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886836,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:02:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886836,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:02:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886836,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:02:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886836,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886836', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886836', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:02:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 21:02:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 21:02:22] Production.INFO: ==16942== Releasing lock...
[2025-04-11 21:02:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 21:02:22] Production.INFO: 39.75 MB #Memory Used#
[2025-04-12 02:03:01] Production.INFO: ==17001== Lock acquired, processing the job...
[2025-04-12 02:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 02:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 02:03:01] Production.INFO: neon service started
[2025-04-12 02:03:01] Production.INFO: neon service started
[2025-04-12 02:03:01] Production.INFO: ==17001== Releasing lock...
[2025-04-12 02:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 02:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 21:03:02] Production.INFO: ==17003== Lock acquired, processing the job...
[2025-04-11 21:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 21:03:02] Production.INFO: ==17003== Releasing lock...
[2025-04-11 21:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 21:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 01:03:02] Production.INFO: ==17005== Lock acquired, processing the job...
[2025-04-12 01:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 01:03:02] Production.INFO: ==17005== Releasing lock...
[2025-04-12 01:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 01:03:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 21:03:03] Production.INFO: ==17015== Lock acquired, processing the job...
[2025-04-11 21:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 21:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 21:03:03] Production.INFO: ==17017== Lock acquired, processing the job...
[2025-04-11 21:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 21:03:03] Production.INFO: ==17007== Lock acquired, processing the job...
[2025-04-11 21:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 21:03:03] Production.INFO: ==17009== Lock acquired, processing the job...
[2025-04-11 21:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 21:03:03] Production.INFO: ==17011== Lock acquired, processing the job...
[2025-04-11 21:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 21:03:03] Production.INFO: ==17013== Lock acquired, processing the job...
[2025-04-11 21:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 21:03:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 21:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 21:03:03] Production.INFO: count ==12
[2025-04-11 21:03:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 21:03:03] Production.INFO: count ==23
[2025-04-11 21:03:03] Production.ERROR: done
[2025-04-11 21:03:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 21:03:03] Production.INFO: Account Balance Start.
[2025-04-11 21:03:03] Production.INFO: CreateAllLog Start
[2025-04-11 21:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14886837') start
[2025-04-11 21:03:03] Production.INFO: 117
[2025-04-11 21:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 21:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 21:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 21:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 21:03:03] Production.INFO: Date 2025-04-08
[2025-04-11 21:03:03] Production.INFO: Reseller ==> 0
[2025-04-11 21:03:03] Production.INFO: Date 2025-04-09
[2025-04-11 21:03:03] Production.INFO: Reseller ==> 0
[2025-04-11 21:03:03] Production.INFO: Date 2025-04-10
[2025-04-11 21:03:03] Production.INFO: Reseller ==> 0
[2025-04-11 21:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886837') end
[2025-04-11 21:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 21:03:04] Production.INFO: 1
[2025-04-11 21:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 21:03:04] Production.INFO: Date 2025-04-11
[2025-04-11 21:03:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:03:04] Production.INFO: Total Charge 0
[2025-04-11 21:03:04] Production.INFO: ==17017== Releasing lock...
[2025-04-11 21:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 21:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 21:03:04] Production.INFO: CreateAllLog End
[2025-04-11 21:03:04] Production.ERROR: done
[2025-04-11 21:03:04] Production.INFO: ==17009== Releasing lock...
[2025-04-11 21:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 21:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 21:03:04] Production.INFO: Account Balance End.
[2025-04-11 21:03:04] Production.ERROR: CronJobId end 12
[2025-04-11 21:03:04] Production.INFO: ==17013== Releasing lock...
[2025-04-11 21:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 21:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 21:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 18:03:05
[end_date_ymd] => 2025-04-11 21:03:05
[RateCDR] => 1
)
[2025-04-11 21:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 18:03:05' and `end` < '2025-04-11 21:03:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 21:03:12] Production.ERROR: CronJobId end10
[2025-04-11 21:03:12] Production.INFO: ==17011== Releasing lock...
[2025-04-11 21:03:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 21:03:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 21:03:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 21:03:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 21:03:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 21:03:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 21:03:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 21:03:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 21:03:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 21:03:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 21:03:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 21:03:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 21:03:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 21:03:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 21:03:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 21:03:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 21:03:14] Production.INFO: call_cost start
[2025-04-11 21:03:14] Production.INFO: call_cost end
[2025-04-11 21:03:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 21:03:15] Production.INFO: ============== Report Schedule START===========
[2025-04-11 21:03:15] Production.INFO: ============== Report Schedule END===========
[2025-04-11 21:03:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 21:03:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 21:03:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 21:03:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 21:03:15] Production.INFO: ============== Deal alert START===========
[2025-04-11 21:03:15] Production.INFO: ============== Deal alert END===========
[2025-04-11 21:03:15] Production.INFO: ==17007== Releasing lock...
[2025-04-11 21:03:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 21:03:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 21:03:18] Production.INFO: count ==1634
[2025-04-11 21:03:18] Production.ERROR: pbx CDR StartTime 2025-04-11 18:03:05 - End Time 2025-04-11 21:03:05
[2025-04-11 21:03:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 21:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886841', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886841', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886841', 'tblTempVendorCDR_20' ) start
[2025-04-11 21:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886841', 'tblTempVendorCDR_20' ) end
[2025-04-11 21:03:18] Production.INFO: ProcessCDR(1,14886841,1,1,2)
[2025-04-11 21:03:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886841,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:03:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886841,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:03:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886841,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:03:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886841,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886841', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886841', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:03:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 21:03:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 21:03:22] Production.INFO: ==17015== Releasing lock...
[2025-04-11 21:03:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 21:03:22] Production.INFO: 39.75 MB #Memory Used#
[2025-04-12 02:04:02] Production.INFO: ==17075== Lock acquired, processing the job...
[2025-04-12 02:04:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 02:04:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 02:04:02] Production.INFO: neon service started
[2025-04-12 02:04:02] Production.INFO: neon service started
[2025-04-12 02:04:02] Production.INFO: ==17075== Releasing lock...
[2025-04-12 02:04:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 02:04:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 21:04:02] Production.INFO: ==17077== Lock acquired, processing the job...
[2025-04-11 21:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 21:04:03] Production.INFO: ==17077== Releasing lock...
[2025-04-11 21:04:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 21:04:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 01:04:03] Production.INFO: ==17079== Lock acquired, processing the job...
[2025-04-12 01:04:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 01:04:03] Production.INFO: ==17079== Releasing lock...
[2025-04-12 01:04:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 01:04:03] Production.INFO: 25 MB #Memory Used#
[2025-04-11 21:04:03] Production.INFO: ==17083== Lock acquired, processing the job...
[2025-04-11 21:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 21:04:03] Production.INFO: ==17092== Lock acquired, processing the job...
[2025-04-11 21:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 21:04:03] Production.INFO: ==17081== Lock acquired, processing the job...
[2025-04-11 21:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 21:04:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 21:04:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 21:04:04] Production.INFO: count ==12
[2025-04-11 21:04:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 21:04:04] Production.INFO: ==17085== Lock acquired, processing the job...
[2025-04-11 21:04:04] Production.INFO: count ==23
[2025-04-11 21:04:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 21:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886843') start
[2025-04-11 21:04:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 21:04:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 21:04:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 21:04:04] Production.INFO: ==17087== Lock acquired, processing the job...
[2025-04-11 21:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 21:04:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 21:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886843') end
[2025-04-11 21:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 21:04:04] Production.INFO: 1
[2025-04-11 21:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 21:04:04] Production.INFO: ==17089== Lock acquired, processing the job...
[2025-04-11 21:04:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 21:04:04] Production.INFO: ==17083== Releasing lock...
[2025-04-11 21:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 21:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 21:04:04] Production.INFO: ==17092== Releasing lock...
[2025-04-11 21:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 21:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 21:04:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 21:04:04] Production.INFO: Account Balance Start.
[2025-04-11 21:04:04] Production.INFO: CreateAllLog Start
[2025-04-11 21:04:04] Production.INFO: 117
[2025-04-11 21:04:04] Production.INFO: Date 2025-04-08
[2025-04-11 21:04:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:04:04] Production.INFO: Date 2025-04-09
[2025-04-11 21:04:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:04:04] Production.INFO: Date 2025-04-10
[2025-04-11 21:04:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:04:04] Production.INFO: Date 2025-04-11
[2025-04-11 21:04:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:04:04] Production.ERROR: done
[2025-04-11 21:04:04] Production.INFO: Total Charge 0
[2025-04-11 21:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 21:04:04] Production.INFO: CreateAllLog End
[2025-04-11 21:04:05] Production.ERROR: done
[2025-04-11 21:04:05] Production.INFO: Account Balance End.
[2025-04-11 21:04:05] Production.ERROR: CronJobId end 12
[2025-04-11 21:04:05] Production.INFO: ==17087== Releasing lock...
[2025-04-11 21:04:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 21:04:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 21:04:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 18:04:06
[end_date_ymd] => 2025-04-11 21:04:06
[RateCDR] => 1
)
[2025-04-11 21: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-11 18:04:06' and `end` < '2025-04-11 21: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-11 21:04:13] Production.ERROR: CronJobId end10
[2025-04-11 21:04:13] Production.INFO: ==17085== Releasing lock...
[2025-04-11 21:04:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 21:04:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 21:04:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 21:04:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 21:04:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 21:04:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 21:04:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 21:04:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 21:04:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 21:04:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 21:04:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 21:04:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 21:04:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 21:04:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 21:04:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 21:04:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 21:04:16] Production.INFO: call_cost start
[2025-04-11 21:04:16] Production.INFO: call_cost end
[2025-04-11 21:04:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 21:04:17] Production.INFO: ============== Report Schedule START===========
[2025-04-11 21:04:17] Production.INFO: ============== Report Schedule END===========
[2025-04-11 21:04:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 21:04:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 21:04:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 21:04:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 21:04:17] Production.INFO: ============== Deal alert START===========
[2025-04-11 21:04:17] Production.INFO: ============== Deal alert END===========
[2025-04-11 21:04:17] Production.INFO: ==17081== Releasing lock...
[2025-04-11 21:04:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 21:04:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 21:04:19] Production.INFO: count ==1633
[2025-04-11 21:04:19] Production.ERROR: pbx CDR StartTime 2025-04-11 18:04:06 - End Time 2025-04-11 21:04:06
[2025-04-11 21:04:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 21:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886846', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886846', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886846', 'tblTempVendorCDR_20' ) start
[2025-04-11 21:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886846', 'tblTempVendorCDR_20' ) end
[2025-04-11 21:04:19] Production.INFO: ProcessCDR(1,14886846,1,1,2)
[2025-04-11 21:04:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886846,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:04:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886846,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:04:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886846,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:04:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886846,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886846', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886846', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:04:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 21:04:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 21:04:22] Production.INFO: ==17089== Releasing lock...
[2025-04-11 21:04:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 21:04:22] Production.INFO: 39.75 MB #Memory Used#
[2025-04-12 02:05:01] Production.INFO: ==17147== Lock acquired, processing the job...
[2025-04-12 02:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 02:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 02:05:01] Production.INFO: neon service started
[2025-04-12 02:05:01] Production.INFO: neon service started
[2025-04-12 02:05:01] Production.INFO: ==17147== Releasing lock...
[2025-04-12 02:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 02:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 21:05:02] Production.INFO: ==17149== Lock acquired, processing the job...
[2025-04-11 21:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 21:05:02] Production.INFO: ==17149== Releasing lock...
[2025-04-11 21:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 21:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 01:05:02] Production.INFO: ==17151== Lock acquired, processing the job...
[2025-04-12 01:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 01:05:02] Production.INFO: ==17151== Releasing lock...
[2025-04-12 01:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 01:05:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 21:05:03] Production.INFO: ==17154== Lock acquired, processing the job...
[2025-04-11 21:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 21:05:03] Production.INFO: ==17156== Lock acquired, processing the job...
[2025-04-11 21:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 21:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 21:05:03] Production.INFO: ==17160== Lock acquired, processing the job...
[2025-04-11 21:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 21:05:03] Production.INFO: Account Balance Start.
[2025-04-11 21:05:03] Production.INFO: CreateAllLog Start
[2025-04-11 21:05:03] Production.INFO: 117
[2025-04-11 21:05:03] Production.INFO: Date 2025-04-08
[2025-04-11 21:05:03] Production.INFO: Reseller ==> 0
[2025-04-11 21:05:03] Production.INFO: Date 2025-04-09
[2025-04-11 21:05:03] Production.INFO: Reseller ==> 0
[2025-04-11 21:05:03] Production.INFO: Date 2025-04-10
[2025-04-11 21:05:03] Production.INFO: Reseller ==> 0
[2025-04-11 21:05:03] Production.INFO: Date 2025-04-11
[2025-04-11 21:05:03] Production.INFO: Reseller ==> 0
[2025-04-11 21:05:03] Production.INFO: ==17156== Releasing lock...
[2025-04-11 21:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 21:05:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 21:05:03] Production.INFO: Total Charge 0
[2025-04-11 21:05:03] Production.INFO: ==17158== Lock acquired, processing the job...
[2025-04-11 21:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 21:05:03] Production.INFO: CreateAllLog End
[2025-04-11 21:05:03] Production.INFO: ==17162== Lock acquired, processing the job...
[2025-04-11 21:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 21:05:03] Production.INFO: ==17164== Lock acquired, processing the job...
[2025-04-11 21:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 21:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 21:05:03] Production.INFO: Account Balance End.
[2025-04-11 21:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 21:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 21:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 21:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 21:05:04] Production.ERROR: CronJobId end 12
[2025-04-11 21:05:04] Production.INFO: ==17160== Releasing lock...
[2025-04-11 21:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 21:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 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-11 21:05:04] Production.INFO: count ==12
[2025-04-11 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-11 21:05:04] Production.INFO: count ==23
[2025-04-11 21:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886850') start
[2025-04-11 21:05:04] Production.ERROR: done
[2025-04-11 21:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 21:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886850') end
[2025-04-11 21:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 21:05:04] Production.INFO: 1
[2025-04-11 21:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 21:05:04] Production.INFO: ==17164== Releasing lock...
[2025-04-11 21:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 21:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 21:05:04] Production.ERROR: done
[2025-04-11 21:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 18:05:05
[end_date_ymd] => 2025-04-11 21:05:05
[RateCDR] => 1
)
[2025-04-11 21:05:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 18:05:05' and `end` < '2025-04-11 21:05:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 21:05:13] Production.ERROR: CronJobId end10
[2025-04-11 21:05:13] Production.INFO: ==17158== Releasing lock...
[2025-04-11 21:05:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 21:05:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 21:05:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 21:05:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 21:05:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 21:05:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 21:05:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 21:05:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 21:05:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 21:05:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 21:05:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 21:05:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 21:05:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 21:05:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 21:05:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 21:05:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 21:05:15] Production.INFO: call_cost start
[2025-04-11 21:05:15] Production.INFO: call_cost end
[2025-04-11 21:05:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 21:05:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 21:05:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 21:05:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 21:05:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 21:05:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 21:05:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 21:05:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 21:05:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 21:05:16] Production.INFO: ==17154== Releasing lock...
[2025-04-11 21:05:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 21:05:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 21:05:18] Production.INFO: count ==1631
[2025-04-11 21:05:18] Production.ERROR: pbx CDR StartTime 2025-04-11 18:05:05 - End Time 2025-04-11 21:05:05
[2025-04-11 21:05:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 21:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886851', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886851', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886851', 'tblTempVendorCDR_20' ) start
[2025-04-11 21:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886851', 'tblTempVendorCDR_20' ) end
[2025-04-11 21:05:18] Production.INFO: ProcessCDR(1,14886851,1,1,2)
[2025-04-11 21:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886851,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:05:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886851,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:05:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886851,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:05:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886851,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886851', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886851', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:05:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 21:05:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 21:05:22] Production.INFO: ==17162== Releasing lock...
[2025-04-11 21:05:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 21:05:22] Production.INFO: 39.75 MB #Memory Used#
[2025-04-12 02:06:02] Production.INFO: ==17221== Lock acquired, processing the job...
[2025-04-12 02:06:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 02:06:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 02:06:02] Production.INFO: neon service started
[2025-04-12 02:06:02] Production.INFO: neon service started
[2025-04-12 02:06:02] Production.INFO: ==17221== Releasing lock...
[2025-04-12 02:06:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 02:06:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 01:06:02] Production.INFO: ==17225== Lock acquired, processing the job...
[2025-04-12 01:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 01:06:02] Production.INFO: ==17225== Releasing lock...
[2025-04-12 01:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 01:06:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 21:06:02] Production.INFO: ==17223== Lock acquired, processing the job...
[2025-04-11 21:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 21:06:03] Production.INFO: ==17223== Releasing lock...
[2025-04-11 21:06:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 21:06:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 21:06:03] Production.INFO: ==17227== Lock acquired, processing the job...
[2025-04-11 21:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 21:06:04] Production.INFO: ==17234== Lock acquired, processing the job...
[2025-04-11 21:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 21:06:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 21:06:04] Production.INFO: ==17236== Lock acquired, processing the job...
[2025-04-11 21:06:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 21:06:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 21:06:04] Production.INFO: Account Balance Start.
[2025-04-11 21:06:04] Production.INFO: CreateAllLog Start
[2025-04-11 21:06:04] Production.INFO: 117
[2025-04-11 21:06:04] Production.INFO: Date 2025-04-08
[2025-04-11 21:06:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:06:04] Production.INFO: ==17229== Lock acquired, processing the job...
[2025-04-11 21:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 21:06:04] Production.INFO: Date 2025-04-09
[2025-04-11 21:06:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:06:04] Production.INFO: ==17238== Lock acquired, processing the job...
[2025-04-11 21:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 21:06:04] Production.INFO: Date 2025-04-10
[2025-04-11 21:06:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:06:04] Production.INFO: ==17232== Lock acquired, processing the job...
[2025-04-11 21:06:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 21:06:04] Production.INFO: Date 2025-04-11
[2025-04-11 21:06:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:06:04] Production.INFO: Total Charge 0
[2025-04-11 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-11 21:06:04] Production.INFO: CreateAllLog End
[2025-04-11 21:06:04] Production.INFO: count ==12
[2025-04-11 21:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 21:06:04] Production.INFO: count ==23
[2025-04-11 21:06:04] Production.ERROR: done
[2025-04-11 21:06:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 21:06:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 21:06:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 21:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 21:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886855') start
[2025-04-11 21:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 21:06:04] Production.INFO: ==17229== Releasing lock...
[2025-04-11 21:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 21:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 21:06:04] Production.ERROR: done
[2025-04-11 21:06:04] Production.INFO: Account Balance End.
[2025-04-11 21:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886855') end
[2025-04-11 21:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 21:06:04] Production.INFO: 1
[2025-04-11 21:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 21:06:04] Production.ERROR: CronJobId end 12
[2025-04-11 21:06:04] Production.INFO: ==17234== Releasing lock...
[2025-04-11 21:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 21:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 21:06:04] Production.INFO: ==17238== Releasing lock...
[2025-04-11 21:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 21:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 21:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 18:06:05
[end_date_ymd] => 2025-04-11 21:06:05
[RateCDR] => 1
)
[2025-04-11 21:06:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 18:06:05' and `end` < '2025-04-11 21:06:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 21:06:13] Production.ERROR: CronJobId end10
[2025-04-11 21:06:13] Production.INFO: ==17232== Releasing lock...
[2025-04-11 21:06:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 21:06:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 21:06:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 21:06:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 21:06:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 21:06:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 21:06:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 21:06:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 21:06:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 21:06:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 21:06:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 21:06:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 21:06:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 21:06:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 21:06:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 21:06:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 21:06:15] Production.INFO: call_cost start
[2025-04-11 21:06:15] Production.INFO: call_cost end
[2025-04-11 21:06:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 21:06:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 21:06:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 21:06:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 21:06:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 21:06:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 21:06:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 21:06:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 21:06:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 21:06:16] Production.INFO: ==17227== Releasing lock...
[2025-04-11 21:06:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 21:06:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 21:06:18] Production.INFO: count ==1631
[2025-04-11 21:06:19] Production.ERROR: pbx CDR StartTime 2025-04-11 18:06:05 - End Time 2025-04-11 21:06:05
[2025-04-11 21:06:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 21:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886856', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886856', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886856', 'tblTempVendorCDR_20' ) start
[2025-04-11 21:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886856', 'tblTempVendorCDR_20' ) end
[2025-04-11 21:06:19] Production.INFO: ProcessCDR(1,14886856,1,1,2)
[2025-04-11 21:06:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886856,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:06:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886856,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:06:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886856,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:06:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886856,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886856', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886856', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:06:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 21:06:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 21:06:22] Production.INFO: ==17236== Releasing lock...
[2025-04-11 21:06:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 21:06:22] Production.INFO: 39.75 MB #Memory Used#
[2025-04-12 02:07:01] Production.INFO: ==17294== Lock acquired, processing the job...
[2025-04-12 02:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 02:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 02:07:01] Production.INFO: neon service started
[2025-04-12 02:07:01] Production.INFO: neon service started
[2025-04-12 02:07:01] Production.INFO: ==17294== Releasing lock...
[2025-04-12 02:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 02:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 01:07:02] Production.INFO: ==17300== Lock acquired, processing the job...
[2025-04-12 01:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 01:07:02] Production.INFO: ==17300== Releasing lock...
[2025-04-12 01:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 01:07:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 21:07:02] Production.INFO: ==17298== Lock acquired, processing the job...
[2025-04-11 21:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 21:07:02] Production.INFO: ==17298== Releasing lock...
[2025-04-11 21:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 21:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 21:07:03] Production.INFO: ==17304== Lock acquired, processing the job...
[2025-04-11 21:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 21:07:03] Production.INFO: ==17306== Lock acquired, processing the job...
[2025-04-11 21:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 21:07:03] Production.INFO: ==17310== Lock acquired, processing the job...
[2025-04-11 21:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 21:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 21:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 21:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 21:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 21:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 21:07:03] Production.INFO: ==17302== Lock acquired, processing the job...
[2025-04-11 21:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 21:07:03] Production.INFO: ==17308== Lock acquired, processing the job...
[2025-04-11 21:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 21:07:03] Production.INFO: ==17312== Lock acquired, processing the job...
[2025-04-11 21:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 21:07:03] Production.INFO: Account Balance Start.
[2025-04-11 21:07:03] Production.INFO: CreateAllLog Start
[2025-04-11 21:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 21:07:03] Production.INFO: 117
[2025-04-11 21:07:03] Production.INFO: ==17304== Releasing lock...
[2025-04-11 21:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 21:07:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 21:07:03] Production.INFO: Date 2025-04-08
[2025-04-11 21:07:03] Production.INFO: Reseller ==> 0
[2025-04-11 21:07:04] Production.INFO: Date 2025-04-09
[2025-04-11 21:07:04] Production.INFO: Reseller ==> 0
[2025-04-11 21: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-11 21:07:04] Production.INFO: Date 2025-04-10
[2025-04-11 21:07:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:07:04] Production.INFO: count ==12
[2025-04-11 21:07:04] Production.ERROR: done
[2025-04-11 21:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 21:07:04] Production.INFO: Date 2025-04-11
[2025-04-11 21:07:04] Production.INFO: Reseller ==> 0
[2025-04-11 21: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-11 21:07:04] Production.INFO: count ==23
[2025-04-11 21:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886860') start
[2025-04-11 21:07:04] Production.INFO: Total Charge 0
[2025-04-11 21:07:04] Production.INFO: CreateAllLog End
[2025-04-11 21:07:04] Production.ERROR: done
[2025-04-11 21:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886860') end
[2025-04-11 21:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 21:07:04] Production.INFO: 1
[2025-04-11 21:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 21:07:04] Production.INFO: Account Balance End.
[2025-04-11 21:07:04] Production.INFO: ==17312== Releasing lock...
[2025-04-11 21:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 21:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 21:07:04] Production.ERROR: CronJobId end 12
[2025-04-11 21:07:04] Production.INFO: ==17308== Releasing lock...
[2025-04-11 21:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 21:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 21:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 18:07:05
[end_date_ymd] => 2025-04-11 21:07:05
[RateCDR] => 1
)
[2025-04-11 21:07:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 18:07:05' and `end` < '2025-04-11 21:07:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 21:07:11] Production.ERROR: CronJobId end10
[2025-04-11 21:07:11] Production.INFO: ==17306== Releasing lock...
[2025-04-11 21:07:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 21:07:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 21:07:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 21:07:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 21:07:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 21:07:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 21:07:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 21:07:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 21:07:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 21:07:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 21:07:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 21:07:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 21:07:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 21:07:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 21:07:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 21:07:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 21:07:15] Production.INFO: call_cost start
[2025-04-11 21:07:15] Production.INFO: call_cost end
[2025-04-11 21:07:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 21:07:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 21:07:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 21:07:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 21:07:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 21:07:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 21:07:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 21:07:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 21:07:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 21:07:16] Production.INFO: ==17302== Releasing lock...
[2025-04-11 21:07:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 21:07:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 21:07:18] Production.INFO: count ==1624
[2025-04-11 21:07:18] Production.ERROR: pbx CDR StartTime 2025-04-11 18:07:05 - End Time 2025-04-11 21:07:05
[2025-04-11 21:07:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 21:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886861', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886861', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886861', 'tblTempVendorCDR_20' ) start
[2025-04-11 21:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886861', 'tblTempVendorCDR_20' ) end
[2025-04-11 21:07:18] Production.INFO: ProcessCDR(1,14886861,1,1,2)
[2025-04-11 21:07:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886861,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:07:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886861,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:07:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886861,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:07:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886861,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886861', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886861', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:07:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 21:07:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 21:07:22] Production.INFO: ==17310== Releasing lock...
[2025-04-11 21:07:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 21:07:22] Production.INFO: 39.75 MB #Memory Used#
[2025-04-12 02:08:02] Production.INFO: ==17368== Lock acquired, processing the job...
[2025-04-12 02:08:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 02:08:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 02:08:02] Production.INFO: neon service started
[2025-04-12 02:08:02] Production.INFO: neon service started
[2025-04-12 02:08:02] Production.INFO: ==17368== Releasing lock...
[2025-04-12 02:08:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 02:08:02] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 01:08:03] Production.INFO: ==17373== Lock acquired, processing the job...
[2025-04-12 01:08:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 01:08:03] Production.INFO: ==17373== Releasing lock...
[2025-04-12 01:08:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 01:08:03] Production.INFO: 25 MB #Memory Used#
[2025-04-11 21:08:03] Production.INFO: ==17371== Lock acquired, processing the job...
[2025-04-11 21:08:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 21:08:03] Production.INFO: ==17371== Releasing lock...
[2025-04-11 21:08:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 21:08:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 21:08:03] Production.INFO: ==17375== Lock acquired, processing the job...
[2025-04-11 21:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 21:08:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 21:08:04] Production.INFO: ==17381== Lock acquired, processing the job...
[2025-04-11 21:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 21:08:04] Production.INFO: ==17377== Lock acquired, processing the job...
[2025-04-11 21:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 21:08:04] Production.INFO: ==17385== Lock acquired, processing the job...
[2025-04-11 21:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 21:08:04] Production.INFO: ==17379== Lock acquired, processing the job...
[2025-04-11 21:08:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 21:08:04] Production.INFO: ==17383== Lock acquired, processing the job...
[2025-04-11 21:08:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 21:08:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 21:08:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 21:08:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 21:08:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 21:08:04] Production.INFO: Account Balance Start.
[2025-04-11 21:08:04] Production.INFO: CreateAllLog Start
[2025-04-11 21:08:04] Production.INFO: 117
[2025-04-11 21:08:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 21:08:04] Production.INFO: Date 2025-04-08
[2025-04-11 21:08:04] Production.INFO: Reseller ==> 0
[2025-04-11 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-11 21:08:04] Production.INFO: count ==12
[2025-04-11 21:08:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 21:08:04] Production.INFO: Date 2025-04-09
[2025-04-11 21:08:04] Production.INFO: count ==23
[2025-04-11 21:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886865') start
[2025-04-11 21:08:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:08:04] Production.INFO: Date 2025-04-10
[2025-04-11 21:08:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:08:04] Production.INFO: Date 2025-04-11
[2025-04-11 21:08:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886865') end
[2025-04-11 21:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 21:08:04] Production.INFO: 1
[2025-04-11 21:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 21:08:04] Production.INFO: Total Charge 0
[2025-04-11 21:08:04] Production.INFO: CreateAllLog End
[2025-04-11 21:08:04] Production.INFO: ==17377== Releasing lock...
[2025-04-11 21:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 21:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 21:08:04] Production.INFO: ==17385== Releasing lock...
[2025-04-11 21:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 21:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 21:08:04] Production.ERROR: done
[2025-04-11 21:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 21:08:05] Production.INFO: Account Balance End.
[2025-04-11 21:08:05] Production.ERROR: done
[2025-04-11 21:08:05] Production.ERROR: CronJobId end 12
[2025-04-11 21:08:05] Production.INFO: ==17381== Releasing lock...
[2025-04-11 21:08:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 21:08:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 21:08:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 18:08:06
[end_date_ymd] => 2025-04-11 21:08:06
[RateCDR] => 1
)
[2025-04-11 21:08:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 18:08:06' and `end` < '2025-04-11 21:08:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 21:08:12] Production.ERROR: CronJobId end10
[2025-04-11 21:08:12] Production.INFO: ==17379== Releasing lock...
[2025-04-11 21:08:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 21:08:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 21:08:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 21:08:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 21:08:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 21:08:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 21:08:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 21:08:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 21:08:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 21:08:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 21:08:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 21:08:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 21:08:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 21:08:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 21:08:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 21:08:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 21:08:16] Production.INFO: call_cost start
[2025-04-11 21:08:16] Production.INFO: call_cost end
[2025-04-11 21:08:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 21:08:17] Production.INFO: ============== Report Schedule START===========
[2025-04-11 21:08:17] Production.INFO: ============== Report Schedule END===========
[2025-04-11 21:08:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 21:08:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 21:08:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 21:08:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 21:08:17] Production.INFO: ============== Deal alert START===========
[2025-04-11 21:08:17] Production.INFO: ============== Deal alert END===========
[2025-04-11 21:08:17] Production.INFO: ==17375== Releasing lock...
[2025-04-11 21:08:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 21:08:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 21:08:19] Production.INFO: count ==1623
[2025-04-11 21:08:19] Production.ERROR: pbx CDR StartTime 2025-04-11 18:08:06 - End Time 2025-04-11 21:08:06
[2025-04-11 21:08:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 21:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886866', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886866', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886866', 'tblTempVendorCDR_20' ) start
[2025-04-11 21:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886866', 'tblTempVendorCDR_20' ) end
[2025-04-11 21:08:19] Production.INFO: ProcessCDR(1,14886866,1,1,2)
[2025-04-11 21:08:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886866,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:08:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886866,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:08:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886866,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:08:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886866,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886866', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886866', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:08:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 21:08:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 21:08:22] Production.INFO: ==17383== Releasing lock...
[2025-04-11 21:08:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 21:08:22] Production.INFO: 39.75 MB #Memory Used#
[2025-04-12 02:09:01] Production.INFO: ==17445== Lock acquired, processing the job...
[2025-04-12 02:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 02:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 02:09:01] Production.INFO: neon service started
[2025-04-12 02:09:01] Production.INFO: neon service started
[2025-04-12 02:09:01] Production.INFO: ==17445== Releasing lock...
[2025-04-12 02:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 02:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 01:09:02] Production.INFO: ==17449== Lock acquired, processing the job...
[2025-04-12 01:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 01:09:02] Production.INFO: ==17449== Releasing lock...
[2025-04-12 01:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 01:09:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 21:09:02] Production.INFO: ==17447== Lock acquired, processing the job...
[2025-04-11 21:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 21:09:02] Production.INFO: ==17447== Releasing lock...
[2025-04-11 21:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 21:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 21:09:03] Production.INFO: ==17452== Lock acquired, processing the job...
[2025-04-11 21:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 21:09:03] Production.INFO: ==17454== Lock acquired, processing the job...
[2025-04-11 21:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 21:09:03] Production.INFO: ==17460== Lock acquired, processing the job...
[2025-04-11 21:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 21:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 21:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 21:09:03] Production.INFO: ==17458== Lock acquired, processing the job...
[2025-04-11 21:09:03] Production.INFO: ==17456== Lock acquired, processing the job...
[2025-04-11 21:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 21:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 21:09:03] Production.INFO: ==17462== Lock acquired, processing the job...
[2025-04-11 21:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 21:09:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 21:09:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 21:09:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 21:09:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 21:09:04] Production.INFO: ==17454== Releasing lock...
[2025-04-11 21:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 21:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 21:09:04] Production.ERROR: done
[2025-04-11 21:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 21:09:04] Production.INFO: Account Balance Start.
[2025-04-11 21:09:04] Production.INFO: CreateAllLog Start
[2025-04-11 21:09:04] Production.INFO: 117
[2025-04-11 21:09:04] Production.INFO: Date 2025-04-08
[2025-04-11 21: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-11 21:09:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:09:04] Production.INFO: count ==12
[2025-04-11 21:09:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 21:09:04] Production.INFO: count ==23
[2025-04-11 21:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886870') start
[2025-04-11 21:09:04] Production.INFO: Date 2025-04-09
[2025-04-11 21:09:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:09:04] Production.ERROR: done
[2025-04-11 21:09:04] Production.INFO: Date 2025-04-10
[2025-04-11 21:09:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886870') end
[2025-04-11 21:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 21:09:04] Production.INFO: 1
[2025-04-11 21:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 21:09:04] Production.INFO: Date 2025-04-11
[2025-04-11 21:09:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:09:04] Production.INFO: Total Charge 0
[2025-04-11 21:09:04] Production.INFO: CreateAllLog End
[2025-04-11 21:09:04] Production.INFO: ==17462== Releasing lock...
[2025-04-11 21:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 21:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 21:09:04] Production.INFO: Account Balance End.
[2025-04-11 21:09:04] Production.ERROR: CronJobId end 12
[2025-04-11 21:09:04] Production.INFO: ==17458== Releasing lock...
[2025-04-11 21:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 21:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 21:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 18:09:05
[end_date_ymd] => 2025-04-11 21:09:05
[RateCDR] => 1
)
[2025-04-11 21:09:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 18:09:05' and `end` < '2025-04-11 21:09:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 21:09:13] Production.ERROR: CronJobId end10
[2025-04-11 21:09:13] Production.INFO: ==17456== Releasing lock...
[2025-04-11 21:09:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 21:09:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 21:09:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 21:09:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 21:09:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 21:09:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 21:09:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 21:09:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 21:09:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 21:09:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 21:09:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 21:09:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 21:09:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 21:09:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 21:09:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 21:09:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 21:09:16] Production.INFO: call_cost start
[2025-04-11 21:09:16] Production.INFO: call_cost end
[2025-04-11 21:09:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 21:09:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 21:09:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 21:09:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 21:09:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 21:09:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 21:09:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 21:09:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 21:09:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 21:09:16] Production.INFO: ==17452== Releasing lock...
[2025-04-11 21:09:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 21:09:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 21:09:18] Production.INFO: count ==1618
[2025-04-11 21:09:18] Production.ERROR: pbx CDR StartTime 2025-04-11 18:09:05 - End Time 2025-04-11 21:09:05
[2025-04-11 21:09:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 21:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886871', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886871', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886871', 'tblTempVendorCDR_20' ) start
[2025-04-11 21:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886871', 'tblTempVendorCDR_20' ) end
[2025-04-11 21:09:18] Production.INFO: ProcessCDR(1,14886871,1,1,2)
[2025-04-11 21:09:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886871,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:09:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886871,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:09:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886871,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:09:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886871,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:09:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886871', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:09:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886871', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:09:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 21:09:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 21:09:24] Production.INFO: ==17460== Releasing lock...
[2025-04-11 21:09:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 21:09:24] Production.INFO: 39.75 MB #Memory Used#
[2025-04-12 02:10:02] Production.INFO: ==17528== Lock acquired, processing the job...
[2025-04-12 02:10:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 02:10:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 02:10:02] Production.INFO: neon service started
[2025-04-12 02:10:02] Production.INFO: neon service started
[2025-04-12 02:10:02] Production.INFO: ==17528== Releasing lock...
[2025-04-12 02:10:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 02:10:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 21:10:02] Production.INFO: ==17530== Lock acquired, processing the job...
[2025-04-11 21:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 01:10:03] Production.INFO: ==17532== Lock acquired, processing the job...
[2025-04-12 01:10:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 01:10:03] Production.INFO: ==17532== Releasing lock...
[2025-04-12 01:10:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 01:10:03] Production.INFO: 25 MB #Memory Used#
[2025-04-11 21:10:03] Production.INFO: ==17530== Releasing lock...
[2025-04-11 21:10:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 21:10:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 21:10:04] Production.INFO: ==17534== Lock acquired, processing the job...
[2025-04-11 21:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-11 21:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-11 21:10:04] Production.INFO: ==17536== Lock acquired, processing the job...
[2025-04-11 21:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 21:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-11 21:10:04] Production.INFO: ==17534== Releasing lock...
[2025-04-11 21:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-11 21:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-11 21:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 21:10:04] Production.INFO: ==17545== Lock acquired, processing the job...
[2025-04-11 21:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 21:10:04] Production.INFO: ==17538== Lock acquired, processing the job...
[2025-04-11 21:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 21:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 21:10:04] Production.INFO: ==17547== Lock acquired, processing the job...
[2025-04-11 21:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-11 21:10:04] Production.INFO: ==17541== Lock acquired, processing the job...
[2025-04-11 21:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 21:10:04] Production.INFO: ==17543== Lock acquired, processing the job...
[2025-04-11 21:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 21:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 21:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 21:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 21:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 21:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 21:10:04] Production.INFO: Account Balance Start.
[2025-04-11 21:10:04] Production.INFO: CreateAllLog Start
[2025-04-11 21:10:04] Production.INFO: 117
[2025-04-11 21:10:04] Production.INFO: ==17549== Lock acquired, processing the job...
[2025-04-11 21:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 21:10:04] Production.INFO: Date 2025-04-08
[2025-04-11 21:10:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:10:04] Production.ERROR: done
[2025-04-11 21:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 21:10:04] Production.INFO: ==17538== Releasing lock...
[2025-04-11 21:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 21:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 21:10:04] Production.INFO: Date 2025-04-09
[2025-04-11 21:10:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 21:10:04] Production.ERROR: done
[2025-04-11 21:10:04] Production.INFO: count ==12
[2025-04-11 21:10:04] Production.INFO: Date 2025-04-10
[2025-04-11 21:10:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 21:10:04] Production.INFO: count ==23
[2025-04-11 21:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14886875') start
[2025-04-11 21:10:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-11 21:10:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14886876', 'tblTempUsageDetail_20reseller','2025-04-11','2025-04-11','1' ) start
[2025-04-11 21:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14886875') end
[2025-04-11 21:10:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 21:10:05] Production.INFO: 1
[2025-04-11 21:10:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 21:10:05] Production.ERROR: done
[2025-04-11 21:10:05] Production.INFO: Date 2025-04-11
[2025-04-11 21:10:05] Production.INFO: Reseller ==> 0
[2025-04-11 21:10:05] Production.INFO: ==17549== Releasing lock...
[2025-04-11 21:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 21:10:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 21:10:05] Production.INFO: Total Charge 0
[2025-04-11 21:10:05] Production.INFO: CreateAllLog End
[2025-04-11 21:10:05] Production.INFO: Account Balance End.
[2025-04-11 21:10:05] Production.ERROR: CronJobId end 12
[2025-04-11 21:10:05] Production.INFO: ==17543== Releasing lock...
[2025-04-11 21:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 21:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 21:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 18:10:06
[end_date_ymd] => 2025-04-11 21:10:06
[RateCDR] => 1
)
[2025-04-11 21:10:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 18:10:06' and `end` < '2025-04-11 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-11 21:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14886876', 'tblTempUsageDetail_20reseller','2025-04-11','2025-04-11','1' ) end
[2025-04-11 21:10:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-11 21:10:09] Production.INFO: ProcessCDR(1,14886876,1,1,2)
[2025-04-11 21:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14886876,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14886876,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 21:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 21:10:09] Production.INFO: ==17547== Releasing lock...
[2025-04-11 21:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-11 21:10:09] Production.INFO: 26 MB #Memory Used#
[2025-04-11 21:10:15] Production.ERROR: CronJobId end10
[2025-04-11 21:10:15] Production.INFO: ==17541== Releasing lock...
[2025-04-11 21:10:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 21:10:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 21:10:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 21:10:17] Production.INFO: ============== Balance Warning START===========
[2025-04-11 21:10:17] Production.INFO: ============== Balance Warning END===========
[2025-04-11 21:10:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 21:10:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 21:10:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 21:10:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 21:10:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 21:10:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 21:10:17] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 21:10:17] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 21:10:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 21:10:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 21:10:17] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 21:10:17] Production.INFO: call_cost start
[2025-04-11 21:10:17] Production.INFO: call_cost end
[2025-04-11 21:10:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 21:10:18] Production.INFO: ============== Report Schedule START===========
[2025-04-11 21:10:18] Production.INFO: ============== Report Schedule END===========
[2025-04-11 21:10:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 21:10:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 21:10:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 21:10:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 21:10:18] Production.INFO: ============== Deal alert START===========
[2025-04-11 21:10:18] Production.INFO: ============== Deal alert END===========
[2025-04-11 21:10:18] Production.INFO: ==17536== Releasing lock...
[2025-04-11 21:10:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 21:10:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 21:10:19] Production.INFO: count ==1607
[2025-04-11 21:10:19] Production.ERROR: pbx CDR StartTime 2025-04-11 18:10:06 - End Time 2025-04-11 21:10:06
[2025-04-11 21:10:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 21:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886877', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886877', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886877', 'tblTempVendorCDR_20' ) start
[2025-04-11 21:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886877', 'tblTempVendorCDR_20' ) end
[2025-04-11 21:10:19] Production.INFO: ProcessCDR(1,14886877,1,1,2)
[2025-04-11 21:10:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886877,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:10:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886877,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:10:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886877,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:10:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886877,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:10:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886877', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:10:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886877', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:10:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 21:10:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 21:10:23] Production.INFO: ==17545== Releasing lock...
[2025-04-11 21:10:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 21:10:23] Production.INFO: 39.5 MB #Memory Used#
[2025-04-12 02:11:01] Production.INFO: ==17605== Lock acquired, processing the job...
[2025-04-12 02:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 02:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 02:11:01] Production.INFO: neon service started
[2025-04-12 02:11:01] Production.INFO: neon service started
[2025-04-12 02:11:01] Production.INFO: ==17605== Releasing lock...
[2025-04-12 02:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 02:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 21:11:02] Production.INFO: ==17607== Lock acquired, processing the job...
[2025-04-11 21:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 21:11:02] Production.INFO: ==17607== Releasing lock...
[2025-04-11 21:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 21:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 01:11:02] Production.INFO: ==17609== Lock acquired, processing the job...
[2025-04-12 01:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 01:11:02] Production.INFO: ==17609== Releasing lock...
[2025-04-12 01:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 01:11:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 21:11:03] Production.INFO: ==17617== Lock acquired, processing the job...
[2025-04-11 21:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 21:11:03] Production.INFO: ==17611== Lock acquired, processing the job...
[2025-04-11 21:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 21:11:03] Production.INFO: ==17619== Lock acquired, processing the job...
[2025-04-11 21:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 21:11:03] Production.INFO: ==17613== Lock acquired, processing the job...
[2025-04-11 21:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 21:11:03] Production.INFO: Account Balance Start.
[2025-04-11 21:11:03] Production.INFO: CreateAllLog Start
[2025-04-11 21:11:03] Production.INFO: 117
[2025-04-11 21:11:03] Production.INFO: Date 2025-04-08
[2025-04-11 21:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 21:11:03] Production.INFO: Reseller ==> 0
[2025-04-11 21:11:03] Production.INFO: ==17615== Lock acquired, processing the job...
[2025-04-11 21:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 21:11:03] Production.INFO: Date 2025-04-09
[2025-04-11 21:11:03] Production.INFO: Reseller ==> 0
[2025-04-11 21:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 21:11:03] Production.INFO: Date 2025-04-10
[2025-04-11 21:11:03] Production.INFO: Reseller ==> 0
[2025-04-11 21:11:03] Production.INFO: ==17621== Lock acquired, processing the job...
[2025-04-11 21:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 21:11:03] Production.INFO: Date 2025-04-11
[2025-04-11 21:11:03] Production.INFO: Reseller ==> 0
[2025-04-11 21:11:03] Production.INFO: Total Charge 0
[2025-04-11 21:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 21:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 21:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 21:11:03] Production.INFO: CreateAllLog End
[2025-04-11 21:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 21:11:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 21:11:03] Production.INFO: count ==12
[2025-04-11 21:11:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 21:11:03] Production.ERROR: done
[2025-04-11 21:11:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 21:11:03] Production.INFO: count ==23
[2025-04-11 21:11:03] Production.INFO: ==17613== Releasing lock...
[2025-04-11 21:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14886881') start
[2025-04-11 21:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 21:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 21:11:03] Production.INFO: Account Balance End.
[2025-04-11 21:11:04] Production.ERROR: CronJobId end 12
[2025-04-11 21:11:04] Production.INFO: ==17617== Releasing lock...
[2025-04-11 21:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 21:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 21:11:04] Production.ERROR: done
[2025-04-11 21:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886881') end
[2025-04-11 21:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 21:11:04] Production.INFO: 1
[2025-04-11 21:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 21:11:04] Production.INFO: ==17621== Releasing lock...
[2025-04-11 21:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 21:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 21:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 18:11:05
[end_date_ymd] => 2025-04-11 21:11:05
[RateCDR] => 1
)
[2025-04-11 21:11:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 18:11:05' and `end` < '2025-04-11 21:11:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 21:11:12] Production.ERROR: CronJobId end10
[2025-04-11 21:11:12] Production.INFO: ==17615== Releasing lock...
[2025-04-11 21:11:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 21:11:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 21:11:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 21:11:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 21:11:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 21:11:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 21:11:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 21:11:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 21:11:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 21:11:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 21:11:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 21:11:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 21:11:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 21:11:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 21:11:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 21:11:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 21:11:14] Production.INFO: call_cost start
[2025-04-11 21:11:14] Production.INFO: call_cost end
[2025-04-11 21:11:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 21:11:15] Production.INFO: ============== Report Schedule START===========
[2025-04-11 21:11:15] Production.INFO: ============== Report Schedule END===========
[2025-04-11 21:11:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 21:11:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 21:11:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 21:11:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 21:11:15] Production.INFO: ============== Deal alert START===========
[2025-04-11 21:11:15] Production.INFO: ============== Deal alert END===========
[2025-04-11 21:11:15] Production.INFO: ==17611== Releasing lock...
[2025-04-11 21:11:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 21:11:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 21:11:18] Production.INFO: count ==1564
[2025-04-11 21:11:18] Production.ERROR: pbx CDR StartTime 2025-04-11 18:11:05 - End Time 2025-04-11 21:11:05
[2025-04-11 21:11:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 21:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886882', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886882', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886882', 'tblTempVendorCDR_20' ) start
[2025-04-11 21:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886882', 'tblTempVendorCDR_20' ) end
[2025-04-11 21:11:18] Production.INFO: ProcessCDR(1,14886882,1,1,2)
[2025-04-11 21:11:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886882,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:11:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886882,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:11:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886882,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:11:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886882,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886882', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886882', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:11:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 21:11:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 21:11:21] Production.INFO: ==17619== Releasing lock...
[2025-04-11 21:11:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 21:11:21] Production.INFO: 39.25 MB #Memory Used#
[2025-04-12 02:12:02] Production.INFO: ==17682== Lock acquired, processing the job...
[2025-04-12 02:12:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 02:12:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 02:12:02] Production.INFO: neon service started
[2025-04-12 02:12:02] Production.INFO: neon service started
[2025-04-12 02:12:02] Production.INFO: ==17682== Releasing lock...
[2025-04-12 02:12:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 02:12:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 21:12:02] Production.INFO: ==17684== Lock acquired, processing the job...
[2025-04-11 21:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 21:12:02] Production.INFO: ==17684== Releasing lock...
[2025-04-11 21:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 21:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 01:12:03] Production.INFO: ==17686== Lock acquired, processing the job...
[2025-04-12 01:12:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 01:12:03] Production.INFO: ==17686== Releasing lock...
[2025-04-12 01:12:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 01:12:03] Production.INFO: 25 MB #Memory Used#
[2025-04-11 21:12:03] Production.INFO: ==17696== Lock acquired, processing the job...
[2025-04-11 21:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 21:12:03] Production.INFO: ==17700== Lock acquired, processing the job...
[2025-04-11 21:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 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-11 21:12:04] Production.INFO: ==17689== Lock acquired, processing the job...
[2025-04-11 21:12:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 21:12:04] Production.INFO: Account Balance Start.
[2025-04-11 21:12:04] Production.INFO: CreateAllLog Start
[2025-04-11 21:12:04] Production.INFO: 117
[2025-04-11 21:12:04] Production.INFO: Date 2025-04-08
[2025-04-11 21:12:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:12:04] Production.INFO: count ==12
[2025-04-11 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-11 21:12:04] Production.INFO: Date 2025-04-09
[2025-04-11 21:12:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:12:04] Production.INFO: count ==23
[2025-04-11 21:12:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 21:12:04] Production.INFO: ==17691== Lock acquired, processing the job...
[2025-04-11 21:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 21:12:04] Production.INFO: Date 2025-04-10
[2025-04-11 21:12:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:12:04] Production.INFO: Date 2025-04-11
[2025-04-11 21:12:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:12:04] Production.INFO: ==17694== Lock acquired, processing the job...
[2025-04-11 21:12:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 21:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886884') start
[2025-04-11 21:12:04] Production.INFO: Total Charge 0
[2025-04-11 21:12:04] Production.INFO: CreateAllLog End
[2025-04-11 21:12:04] Production.INFO: ==17698== Lock acquired, processing the job...
[2025-04-11 21:12:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 21:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886884') end
[2025-04-11 21:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 21:12:04] Production.INFO: 1
[2025-04-11 21:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 21:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 21:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 21:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 21:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 21:12:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 21:12:04] Production.INFO: Account Balance End.
[2025-04-11 21:12:04] Production.INFO: ==17700== Releasing lock...
[2025-04-11 21:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 21:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 21:12:04] Production.ERROR: CronJobId end 12
[2025-04-11 21:12:04] Production.INFO: ==17696== Releasing lock...
[2025-04-11 21:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 21:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 21:12:04] Production.INFO: ==17691== Releasing lock...
[2025-04-11 21:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 21:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 21:12:04] Production.ERROR: done
[2025-04-11 21:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 21:12:05] Production.ERROR: done
[2025-04-11 21:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 18:12:05
[end_date_ymd] => 2025-04-11 21:12:05
[RateCDR] => 1
)
[2025-04-11 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-11 18:12:05' and `end` < '2025-04-11 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-11 21:12:12] Production.ERROR: CronJobId end10
[2025-04-11 21:12:12] Production.INFO: ==17694== Releasing lock...
[2025-04-11 21:12:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 21:12:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 21:12:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 21:12:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 21:12:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 21:12:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 21:12:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 21:12:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 21:12:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 21:12:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 21:12:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 21:12:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 21:12:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 21:12:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 21:12:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 21:12:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 21:12:14] Production.INFO: call_cost start
[2025-04-11 21:12:14] Production.INFO: call_cost end
[2025-04-11 21:12:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 21:12:15] Production.INFO: ============== Report Schedule START===========
[2025-04-11 21:12:15] Production.INFO: ============== Report Schedule END===========
[2025-04-11 21:12:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 21:12:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 21:12:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 21:12:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 21:12:15] Production.INFO: ============== Deal alert START===========
[2025-04-11 21:12:15] Production.INFO: ============== Deal alert END===========
[2025-04-11 21:12:15] Production.INFO: ==17689== Releasing lock...
[2025-04-11 21:12:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 21:12:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 21:12:19] Production.INFO: count ==1560
[2025-04-11 21:12:19] Production.ERROR: pbx CDR StartTime 2025-04-11 18:12:05 - End Time 2025-04-11 21:12:05
[2025-04-11 21:12:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 21:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886887', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886887', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886887', 'tblTempVendorCDR_20' ) start
[2025-04-11 21:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886887', 'tblTempVendorCDR_20' ) end
[2025-04-11 21:12:19] Production.INFO: ProcessCDR(1,14886887,1,1,2)
[2025-04-11 21:12:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886887,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:12:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886887,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:12:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886887,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:12:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886887,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:12:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886887', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:12:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886887', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:12:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 21:12:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 21:12:23] Production.INFO: ==17698== Releasing lock...
[2025-04-11 21:12:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 21:12:23] Production.INFO: 39.25 MB #Memory Used#
[2025-04-12 02:13:01] Production.INFO: ==17753== Lock acquired, processing the job...
[2025-04-12 02:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 02:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 02:13:01] Production.INFO: neon service started
[2025-04-12 02:13:01] Production.INFO: neon service started
[2025-04-12 02:13:01] Production.INFO: ==17753== Releasing lock...
[2025-04-12 02:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 02:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 21:13:02] Production.INFO: ==17755== Lock acquired, processing the job...
[2025-04-11 21:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 21:13:02] Production.INFO: ==17755== Releasing lock...
[2025-04-11 21:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 21:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 01:13:02] Production.INFO: ==17757== Lock acquired, processing the job...
[2025-04-12 01:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 01:13:02] Production.INFO: ==17757== Releasing lock...
[2025-04-12 01:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 01:13:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 21:13:03] Production.INFO: ==17769== Lock acquired, processing the job...
[2025-04-11 21:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 21:13:03] Production.INFO: ==17767== Lock acquired, processing the job...
[2025-04-11 21:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 21:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 21:13:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 21:13:03] Production.INFO: ==17759== Lock acquired, processing the job...
[2025-04-11 21:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 21:13:03] Production.INFO: count ==12
[2025-04-11 21:13:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 21:13:03] Production.INFO: ==17761== Lock acquired, processing the job...
[2025-04-11 21:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 21:13:03] Production.INFO: count ==23
[2025-04-11 21:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14886888') start
[2025-04-11 21:13:03] Production.INFO: ==17763== Lock acquired, processing the job...
[2025-04-11 21:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 21:13:03] Production.INFO: ==17765== Lock acquired, processing the job...
[2025-04-11 21:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 21:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14886888') end
[2025-04-11 21:13:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 21:13:03] Production.INFO: 1
[2025-04-11 21:13:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 21:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 21:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 21:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 21:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 21:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 21:13:03] Production.INFO: Account Balance Start.
[2025-04-11 21:13:03] Production.INFO: CreateAllLog Start
[2025-04-11 21:13:03] Production.INFO: 117
[2025-04-11 21:13:03] Production.INFO: ==17769== Releasing lock...
[2025-04-11 21:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 21:13:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 21:13:03] Production.ERROR: done
[2025-04-11 21:13:03] Production.INFO: Date 2025-04-08
[2025-04-11 21:13:03] Production.INFO: Reseller ==> 0
[2025-04-11 21:13:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 21:13:03] Production.INFO: Date 2025-04-09
[2025-04-11 21:13:03] Production.INFO: Reseller ==> 0
[2025-04-11 21:13:03] Production.INFO: Date 2025-04-10
[2025-04-11 21:13:03] Production.INFO: Reseller ==> 0
[2025-04-11 21:13:04] Production.INFO: Date 2025-04-11
[2025-04-11 21:13:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:13:04] Production.INFO: Total Charge 0
[2025-04-11 21:13:04] Production.INFO: CreateAllLog End
[2025-04-11 21:13:04] Production.INFO: ==17761== Releasing lock...
[2025-04-11 21:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 21:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 21:13:04] Production.ERROR: done
[2025-04-11 21:13:04] Production.INFO: Account Balance End.
[2025-04-11 21:13:04] Production.ERROR: CronJobId end 12
[2025-04-11 21:13:04] Production.INFO: ==17765== Releasing lock...
[2025-04-11 21:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 21:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 21:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 18:13:05
[end_date_ymd] => 2025-04-11 21:13:05
[RateCDR] => 1
)
[2025-04-11 21:13:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 18:13:05' and `end` < '2025-04-11 21:13:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 21:13:13] Production.ERROR: CronJobId end10
[2025-04-11 21:13:13] Production.INFO: ==17763== Releasing lock...
[2025-04-11 21:13:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 21:13:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 21:13:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 21:13:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 21:13:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 21:13:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 21:13:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 21:13:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 21:13:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 21:13:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 21:13:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 21:13:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 21:13:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 21:13:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 21:13:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 21:13:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 21:13:14] Production.INFO: call_cost start
[2025-04-11 21:13:14] Production.INFO: call_cost end
[2025-04-11 21:13:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 21:13:15] Production.INFO: ============== Report Schedule START===========
[2025-04-11 21:13:15] Production.INFO: ============== Report Schedule END===========
[2025-04-11 21:13:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 21:13:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 21:13:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 21:13:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 21:13:15] Production.INFO: ============== Deal alert START===========
[2025-04-11 21:13:15] Production.INFO: ============== Deal alert END===========
[2025-04-11 21:13:15] Production.INFO: ==17759== Releasing lock...
[2025-04-11 21:13:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 21:13:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 21:13:18] Production.INFO: count ==1553
[2025-04-11 21:13:18] Production.ERROR: pbx CDR StartTime 2025-04-11 18:13:05 - End Time 2025-04-11 21:13:05
[2025-04-11 21:13:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 21:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886892', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886892', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886892', 'tblTempVendorCDR_20' ) start
[2025-04-11 21:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886892', 'tblTempVendorCDR_20' ) end
[2025-04-11 21:13:18] Production.INFO: ProcessCDR(1,14886892,1,1,2)
[2025-04-11 21:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886892,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:13:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886892,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:13:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886892,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:13:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886892,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886892', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886892', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:13:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 21:13:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 21:13:21] Production.INFO: ==17767== Releasing lock...
[2025-04-11 21:13:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 21:13:21] Production.INFO: 39.25 MB #Memory Used#
[2025-04-12 02:14:02] Production.INFO: ==17828== Lock acquired, processing the job...
[2025-04-12 02:14:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 02:14:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 02:14:02] Production.INFO: neon service started
[2025-04-12 02:14:02] Production.INFO: neon service started
[2025-04-12 02:14:02] Production.INFO: ==17828== Releasing lock...
[2025-04-12 02:14:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 02:14:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 01:14:02] Production.INFO: ==17832== Lock acquired, processing the job...
[2025-04-12 01:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 01:14:02] Production.INFO: ==17832== Releasing lock...
[2025-04-12 01:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 01:14:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 21:14:02] Production.INFO: ==17830== Lock acquired, processing the job...
[2025-04-11 21:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 21:14:03] Production.INFO: ==17830== Releasing lock...
[2025-04-11 21:14:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 21:14:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 21:14:03] Production.INFO: ==17835== Lock acquired, processing the job...
[2025-04-11 21:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 21:14:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 21:14:04] Production.INFO: ==17837== Lock acquired, processing the job...
[2025-04-11 21:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 21:14:04] Production.INFO: ==17839== Lock acquired, processing the job...
[2025-04-11 21:14:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 21:14:04] Production.INFO: ==17841== Lock acquired, processing the job...
[2025-04-11 21:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 21:14:04] Production.INFO: ==17843== Lock acquired, processing the job...
[2025-04-11 21:14:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 21:14:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 21:14:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 21:14:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 21:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 21:14:04] Production.INFO: ==17845== Lock acquired, processing the job...
[2025-04-11 21:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 21:14:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 21:14:04] Production.INFO: Account Balance Start.
[2025-04-11 21:14:04] Production.INFO: CreateAllLog Start
[2025-04-11 21:14:04] Production.INFO: 117
[2025-04-11 21:14:04] Production.INFO: Date 2025-04-08
[2025-04-11 21:14:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:14:04] Production.INFO: ==17837== Releasing lock...
[2025-04-11 21:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 21:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 21:14:04] Production.INFO: Date 2025-04-09
[2025-04-11 21:14:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:14:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 21:14:04] Production.INFO: count ==12
[2025-04-11 21:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 21:14:04] Production.INFO: count ==23
[2025-04-11 21:14:04] Production.INFO: Date 2025-04-10
[2025-04-11 21:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886896') start
[2025-04-11 21:14:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:14:04] Production.INFO: Date 2025-04-11
[2025-04-11 21:14:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:14:04] Production.INFO: Total Charge 0
[2025-04-11 21:14:04] Production.ERROR: done
[2025-04-11 21:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 21:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886896') end
[2025-04-11 21:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 21:14:04] Production.INFO: 1
[2025-04-11 21:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 21:14:04] Production.INFO: CreateAllLog End
[2025-04-11 21:14:04] Production.INFO: ==17845== Releasing lock...
[2025-04-11 21:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 21:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 21:14:04] Production.ERROR: done
[2025-04-11 21:14:05] Production.INFO: Account Balance End.
[2025-04-11 21:14:05] Production.ERROR: CronJobId end 12
[2025-04-11 21:14:05] Production.INFO: ==17841== Releasing lock...
[2025-04-11 21:14:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 21:14:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 21:14:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 18:14:06
[end_date_ymd] => 2025-04-11 21:14:06
[RateCDR] => 1
)
[2025-04-11 21:14:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 18:14:06' and `end` < '2025-04-11 21:14:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 21:14:13] Production.ERROR: CronJobId end10
[2025-04-11 21:14:13] Production.INFO: ==17839== Releasing lock...
[2025-04-11 21:14:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 21:14:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 21:14:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 21:14:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 21:14:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 21:14:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 21:14:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 21:14:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 21:14:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 21:14:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 21:14:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 21:14:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 21:14:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 21:14:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 21:14:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 21:14:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 21:14:15] Production.INFO: call_cost start
[2025-04-11 21:14:15] Production.INFO: call_cost end
[2025-04-11 21:14:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 21:14:15] Production.INFO: ============== Report Schedule START===========
[2025-04-11 21:14:15] Production.INFO: ============== Report Schedule END===========
[2025-04-11 21:14:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 21:14:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 21:14:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 21:14:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 21:14:15] Production.INFO: ============== Deal alert START===========
[2025-04-11 21:14:15] Production.INFO: ============== Deal alert END===========
[2025-04-11 21:14:15] Production.INFO: ==17835== Releasing lock...
[2025-04-11 21:14:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 21:14:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 21:14:19] Production.INFO: count ==1546
[2025-04-11 21:14:19] Production.ERROR: pbx CDR StartTime 2025-04-11 18:14:06 - End Time 2025-04-11 21:14:06
[2025-04-11 21:14:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 21:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886897', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886897', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886897', 'tblTempVendorCDR_20' ) start
[2025-04-11 21:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886897', 'tblTempVendorCDR_20' ) end
[2025-04-11 21:14:19] Production.INFO: ProcessCDR(1,14886897,1,1,2)
[2025-04-11 21:14:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886897,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:14:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886897,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:14:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886897,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:14:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886897,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886897', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886897', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:14:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 21:14:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 21:14:22] Production.INFO: ==17843== Releasing lock...
[2025-04-11 21:14:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 21:14:22] Production.INFO: 39.25 MB #Memory Used#
[2025-04-12 02:15:01] Production.INFO: ==17908== Lock acquired, processing the job...
[2025-04-12 02:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 02:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 02:15:01] Production.INFO: neon service started
[2025-04-12 02:15:01] Production.INFO: neon service started
[2025-04-12 02:15:01] Production.INFO: ==17908== Releasing lock...
[2025-04-12 02:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 02:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 21:15:02] Production.INFO: ==17910== Lock acquired, processing the job...
[2025-04-11 21:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 01:15:02] Production.INFO: ==17912== Lock acquired, processing the job...
[2025-04-12 01:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 01:15:02] Production.INFO: ==17912== Releasing lock...
[2025-04-12 01:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 01:15:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 21:15:02] Production.INFO: ==17910== Releasing lock...
[2025-04-11 21:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 21:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 21:15:03] Production.INFO: ==17914== Lock acquired, processing the job...
[2025-04-11 21:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 21:15:03] Production.INFO: ==17916== Lock acquired, processing the job...
[2025-04-11 21:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 21:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 21:15:03] Production.INFO: ==17918== Lock acquired, processing the job...
[2025-04-11 21:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 21:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 21:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 21:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 21:15:03] Production.INFO: ==17920== Lock acquired, processing the job...
[2025-04-11 21:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 21:15:03] Production.INFO: ==17922== Lock acquired, processing the job...
[2025-04-11 21:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 21:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 21:15:03] Production.INFO: ==17924== Lock acquired, processing the job...
[2025-04-11 21:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 21:15:03] Production.INFO: Account Balance Start.
[2025-04-11 21:15:03] Production.INFO: CreateAllLog Start
[2025-04-11 21:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 21:15:03] Production.INFO: 117
[2025-04-11 21:15:03] Production.INFO: Date 2025-04-08
[2025-04-11 21:15:03] Production.INFO: Reseller ==> 0
[2025-04-11 21:15:03] Production.INFO: Date 2025-04-09
[2025-04-11 21:15:03] Production.INFO: Reseller ==> 0
[2025-04-11 21:15:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 21:15:03] Production.INFO: Date 2025-04-10
[2025-04-11 21:15:03] Production.INFO: count ==12
[2025-04-11 21:15:03] Production.INFO: Reseller ==> 0
[2025-04-11 21:15:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 21:15:03] Production.INFO: count ==23
[2025-04-11 21:15:03] Production.INFO: Date 2025-04-11
[2025-04-11 21:15:03] Production.INFO: Reseller ==> 0
[2025-04-11 21:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14886901') start
[2025-04-11 21:15:03] Production.INFO: Total Charge 0
[2025-04-11 21:15:03] Production.INFO: CreateAllLog End
[2025-04-11 21:15:03] Production.INFO: ==17916== Releasing lock...
[2025-04-11 21:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 21:15:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 21:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886901') end
[2025-04-11 21:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 21:15:04] Production.INFO: 1
[2025-04-11 21:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 21:15:04] Production.ERROR: done
[2025-04-11 21:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 21:15:04] Production.INFO: ==17924== Releasing lock...
[2025-04-11 21:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 21:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 21:15:04] Production.INFO: Account Balance End.
[2025-04-11 21:15:04] Production.ERROR: done
[2025-04-11 21:15:04] Production.ERROR: CronJobId end 12
[2025-04-11 21:15:04] Production.INFO: ==17920== Releasing lock...
[2025-04-11 21:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 21:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 21:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 18:15:05
[end_date_ymd] => 2025-04-11 21:15:05
[RateCDR] => 1
)
[2025-04-11 21:15:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 18:15:05' and `end` < '2025-04-11 21:15:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 21:15:12] Production.ERROR: CronJobId end10
[2025-04-11 21:15:12] Production.INFO: ==17918== Releasing lock...
[2025-04-11 21:15:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 21:15:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 21:15:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 21:15:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 21:15:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 21:15:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 21:15:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 21:15:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 21:15:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 21:15:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 21:15:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 21:15:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 21:15:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 21:15:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 21:15:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 21:15:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 21:15:15] Production.INFO: call_cost start
[2025-04-11 21:15:15] Production.INFO: call_cost end
[2025-04-11 21:15:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 21:15:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 21:15:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 21:15:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 21:15:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 21:15:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 21:15:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 21:15:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 21:15:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 21:15:16] Production.INFO: ==17914== Releasing lock...
[2025-04-11 21:15:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 21:15:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 21:15:18] Production.INFO: count ==1544
[2025-04-11 21:15:18] Production.ERROR: pbx CDR StartTime 2025-04-11 18:15:05 - End Time 2025-04-11 21:15:05
[2025-04-11 21:15:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 21:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886902', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886902', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886902', 'tblTempVendorCDR_20' ) start
[2025-04-11 21:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886902', 'tblTempVendorCDR_20' ) end
[2025-04-11 21:15:18] Production.INFO: ProcessCDR(1,14886902,1,1,2)
[2025-04-11 21:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886902,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:15:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886902,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:15:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886902,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:15:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886902,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:15:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886902', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:15:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886902', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:15:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 21:15:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 21:15:23] Production.INFO: ==17922== Releasing lock...
[2025-04-11 21:15:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 21:15:23] Production.INFO: 39.25 MB #Memory Used#
[2025-04-12 02:16:02] Production.INFO: ==17989== Lock acquired, processing the job...
[2025-04-12 02:16:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 02:16:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 02:16:02] Production.INFO: neon service started
[2025-04-12 02:16:02] Production.INFO: neon service started
[2025-04-12 02:16:02] Production.INFO: ==17989== Releasing lock...
[2025-04-12 02:16:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 02:16:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 21:16:02] Production.INFO: ==17991== Lock acquired, processing the job...
[2025-04-11 21:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 21:16:03] Production.INFO: ==17991== Releasing lock...
[2025-04-11 21:16:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 21:16:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 01:16:03] Production.INFO: ==17993== Lock acquired, processing the job...
[2025-04-12 01:16:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 01:16:03] Production.INFO: ==17993== Releasing lock...
[2025-04-12 01:16:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 01:16:03] Production.INFO: 25 MB #Memory Used#
[2025-04-11 21:16:03] Production.INFO: ==17997== Lock acquired, processing the job...
[2025-04-11 21:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 21:16:03] Production.INFO: ==17999== Lock acquired, processing the job...
[2025-04-11 21:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 21:16:03] Production.INFO: ==17995== Lock acquired, processing the job...
[2025-04-11 21:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 21:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 21:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 21:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 21:16:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 21:16:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 21:16:04] Production.INFO: ==17997== Releasing lock...
[2025-04-11 21:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 21:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 21:16:04] Production.INFO: ==18001== Lock acquired, processing the job...
[2025-04-11 21:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 21:16:04] Production.INFO: ==18006== Lock acquired, processing the job...
[2025-04-11 21:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 21:16:04] Production.INFO: ==18003== Lock acquired, processing the job...
[2025-04-11 21:16:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 21:16:04] Production.INFO: Account Balance Start.
[2025-04-11 21:16:04] Production.INFO: CreateAllLog Start
[2025-04-11 21:16:04] Production.INFO: 117
[2025-04-11 21:16:04] Production.INFO: Date 2025-04-08
[2025-04-11 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-11 21:16:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:16:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 21:16:04] Production.INFO: count ==12
[2025-04-11 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-11 21:16:04] Production.INFO: count ==23
[2025-04-11 21:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886906') start
[2025-04-11 21:16:04] Production.INFO: Date 2025-04-09
[2025-04-11 21:16:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886906') end
[2025-04-11 21:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 21:16:04] Production.INFO: 1
[2025-04-11 21:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 21:16:04] Production.INFO: Date 2025-04-10
[2025-04-11 21:16:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:16:04] Production.INFO: ==18006== Releasing lock...
[2025-04-11 21:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 21:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 21:16:04] Production.INFO: Date 2025-04-11
[2025-04-11 21:16:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:16:04] Production.INFO: Total Charge 0
[2025-04-11 21:16:04] Production.INFO: CreateAllLog End
[2025-04-11 21:16:04] Production.ERROR: done
[2025-04-11 21:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 21:16:05] Production.ERROR: done
[2025-04-11 21:16:05] Production.INFO: Account Balance End.
[2025-04-11 21:16:05] Production.ERROR: CronJobId end 12
[2025-04-11 21:16:05] Production.INFO: ==18001== Releasing lock...
[2025-04-11 21:16:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 21:16:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 21:16:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 18:16:06
[end_date_ymd] => 2025-04-11 21:16:06
[RateCDR] => 1
)
[2025-04-11 21:16:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 18:16:06' and `end` < '2025-04-11 21:16:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 21:16:12] Production.ERROR: CronJobId end10
[2025-04-11 21:16:12] Production.INFO: ==17999== Releasing lock...
[2025-04-11 21:16:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 21:16:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 21:16:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 21:16:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 21:16:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 21:16:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 21:16:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 21:16:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 21:16:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 21:16:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 21:16:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 21:16:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 21:16:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 21:16:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 21:16:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 21:16:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 21:16:14] Production.INFO: call_cost start
[2025-04-11 21:16:14] Production.INFO: call_cost end
[2025-04-11 21:16:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 21:16:15] Production.INFO: ============== Report Schedule START===========
[2025-04-11 21:16:15] Production.INFO: ============== Report Schedule END===========
[2025-04-11 21:16:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 21:16:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 21:16:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 21:16:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 21:16:15] Production.INFO: ============== Deal alert START===========
[2025-04-11 21:16:15] Production.INFO: ============== Deal alert END===========
[2025-04-11 21:16:15] Production.INFO: ==17995== Releasing lock...
[2025-04-11 21:16:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 21:16:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 21:16:19] Production.INFO: count ==1537
[2025-04-11 21:16:19] Production.ERROR: pbx CDR StartTime 2025-04-11 18:16:06 - End Time 2025-04-11 21:16:06
[2025-04-11 21:16:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 21:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886907', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886907', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886907', 'tblTempVendorCDR_20' ) start
[2025-04-11 21:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886907', 'tblTempVendorCDR_20' ) end
[2025-04-11 21:16:19] Production.INFO: ProcessCDR(1,14886907,1,1,2)
[2025-04-11 21:16:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886907,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:16:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886907,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:16:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886907,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:16:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886907,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886907', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886907', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:16:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 21:16:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 21:16:22] Production.INFO: ==18003== Releasing lock...
[2025-04-11 21:16:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 21:16:22] Production.INFO: 39 MB #Memory Used#
[2025-04-12 02:17:01] Production.INFO: ==18100== Lock acquired, processing the job...
[2025-04-12 02:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 02:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 02:17:01] Production.INFO: neon service started
[2025-04-12 02:17:01] Production.INFO: neon service started
[2025-04-12 02:17:01] Production.INFO: ==18100== Releasing lock...
[2025-04-12 02:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 02:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 01:17:01] Production.INFO: ==18104== Lock acquired, processing the job...
[2025-04-12 01:17:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 01:17:01] Production.INFO: ==18104== Releasing lock...
[2025-04-12 01:17:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 01:17:01] Production.INFO: 25 MB #Memory Used#
[2025-04-11 21:17:02] Production.INFO: ==18102== Lock acquired, processing the job...
[2025-04-11 21:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 21:17:02] Production.INFO: ==18102== Releasing lock...
[2025-04-11 21:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 21:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 21:17:03] Production.INFO: ==18110== Lock acquired, processing the job...
[2025-04-11 21:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 21:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 21:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 21:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 21:17:03] Production.INFO: ==18106== Lock acquired, processing the job...
[2025-04-11 21:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 21:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 21:17:03] Production.INFO: ==18108== Lock acquired, processing the job...
[2025-04-11 21:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 21:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 21:17:03] Production.INFO: ==18116== Lock acquired, processing the job...
[2025-04-11 21:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 21:17:03] Production.INFO: ==18112== Lock acquired, processing the job...
[2025-04-11 21:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 21:17:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 21:17:03] Production.INFO: count ==12
[2025-04-11 21:17:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 21:17:03] Production.INFO: count ==23
[2025-04-11 21:17:03] Production.INFO: ==18114== Lock acquired, processing the job...
[2025-04-11 21:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 21:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14886910') start
[2025-04-11 21:17:03] Production.INFO: Account Balance Start.
[2025-04-11 21:17:03] Production.INFO: CreateAllLog Start
[2025-04-11 21:17:03] Production.INFO: 117
[2025-04-11 21:17:03] Production.INFO: Date 2025-04-08
[2025-04-11 21:17:03] Production.INFO: Reseller ==> 0
[2025-04-11 21:17:03] Production.INFO: Date 2025-04-09
[2025-04-11 21:17:03] Production.INFO: Reseller ==> 0
[2025-04-11 21:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 21:17:04] Production.INFO: Date 2025-04-10
[2025-04-11 21:17:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886910') end
[2025-04-11 21:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 21:17:04] Production.INFO: 1
[2025-04-11 21:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 21:17:04] Production.INFO: ==18116== Releasing lock...
[2025-04-11 21:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 21:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 21:17:04] Production.INFO: Date 2025-04-11
[2025-04-11 21:17:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:17:04] Production.INFO: ==18108== Releasing lock...
[2025-04-11 21:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 21:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 21:17:04] Production.INFO: Total Charge 0
[2025-04-11 21:17:04] Production.INFO: CreateAllLog End
[2025-04-11 21:17:04] Production.ERROR: done
[2025-04-11 21:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 21:17:04] Production.INFO: Account Balance End.
[2025-04-11 21:17:04] Production.ERROR: done
[2025-04-11 21:17:04] Production.ERROR: CronJobId end 12
[2025-04-11 21:17:04] Production.INFO: ==18112== Releasing lock...
[2025-04-11 21:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 21:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 21:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 18:17:05
[end_date_ymd] => 2025-04-11 21:17:05
[RateCDR] => 1
)
[2025-04-11 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-11 18:17:05' and `end` < '2025-04-11 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-11 21:17:13] Production.ERROR: CronJobId end10
[2025-04-11 21:17:13] Production.INFO: ==18110== Releasing lock...
[2025-04-11 21:17:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 21:17:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 21:17:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 21:17:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 21:17:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 21:17:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 21:17:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 21:17:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 21:17:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 21:17:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 21:17:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 21:17:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 21:17:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 21:17:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 21:17:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 21:17:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 21:17:14] Production.INFO: call_cost start
[2025-04-11 21:17:14] Production.INFO: call_cost end
[2025-04-11 21:17:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 21:17:15] Production.INFO: ============== Report Schedule START===========
[2025-04-11 21:17:15] Production.INFO: ============== Report Schedule END===========
[2025-04-11 21:17:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 21:17:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 21:17:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 21:17:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 21:17:15] Production.INFO: ============== Deal alert START===========
[2025-04-11 21:17:15] Production.INFO: ============== Deal alert END===========
[2025-04-11 21:17:15] Production.INFO: ==18106== Releasing lock...
[2025-04-11 21:17:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 21:17:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 21:17:18] Production.INFO: count ==1536
[2025-04-11 21:17:18] Production.ERROR: pbx CDR StartTime 2025-04-11 18:17:05 - End Time 2025-04-11 21:17:05
[2025-04-11 21:17:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 21:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886912', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886912', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886912', 'tblTempVendorCDR_20' ) start
[2025-04-11 21:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886912', 'tblTempVendorCDR_20' ) end
[2025-04-11 21:17:18] Production.INFO: ProcessCDR(1,14886912,1,1,2)
[2025-04-11 21:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886912,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:17:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886912,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:17:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886912,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:17:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886912,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:17:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886912', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:17:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886912', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:17:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 21:17:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 21:17:23] Production.INFO: ==18114== Releasing lock...
[2025-04-11 21:17:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 21:17:23] Production.INFO: 39 MB #Memory Used#
[2025-04-12 02:18:02] Production.INFO: ==18187== Lock acquired, processing the job...
[2025-04-12 02:18:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 02:18:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 02:18:02] Production.INFO: neon service started
[2025-04-12 02:18:02] Production.INFO: neon service started
[2025-04-12 02:18:02] Production.INFO: ==18187== Releasing lock...
[2025-04-12 02:18:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 02:18:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 21:18:02] Production.INFO: ==18189== Lock acquired, processing the job...
[2025-04-11 21:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 01:18:02] Production.INFO: ==18191== Lock acquired, processing the job...
[2025-04-12 01:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-11 21:18:02] Production.INFO: ==18189== Releasing lock...
[2025-04-11 21:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 21:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 01:18:02] Production.INFO: ==18191== Releasing lock...
[2025-04-12 01:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 01:18:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 21:18:03] Production.INFO: ==18198== Lock acquired, processing the job...
[2025-04-11 21:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 21:18:03] Production.INFO: ==18196== Lock acquired, processing the job...
[2025-04-11 21:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 21:18:03] Production.INFO: ==18202== Lock acquired, processing the job...
[2025-04-11 21:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 21:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 21:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 21:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 21:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 21:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 21:18:03] Production.INFO: ==18194== Lock acquired, processing the job...
[2025-04-11 21:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 21:18:03] Production.INFO: ==18200== Lock acquired, processing the job...
[2025-04-11 21:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 21:18:03] Production.INFO: ==18204== Lock acquired, processing the job...
[2025-04-11 21:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 21:18:04] Production.INFO: ==18196== Releasing lock...
[2025-04-11 21:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 21:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 21:18:04] Production.INFO: Account Balance Start.
[2025-04-11 21:18:04] Production.INFO: CreateAllLog Start
[2025-04-11 21:18:04] Production.INFO: 117
[2025-04-11 21:18:04] Production.INFO: Date 2025-04-08
[2025-04-11 21:18:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:18:04] Production.INFO: Date 2025-04-09
[2025-04-11 21:18:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 21:18:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:18:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 21:18:04] Production.INFO: count ==12
[2025-04-11 21:18:04] Production.INFO: Date 2025-04-10
[2025-04-11 21:18:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:18:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 21:18:04] Production.INFO: count ==23
[2025-04-11 21:18:04] Production.INFO: Date 2025-04-11
[2025-04-11 21:18:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886916') start
[2025-04-11 21:18:04] Production.INFO: Total Charge 0
[2025-04-11 21:18:04] Production.ERROR: done
[2025-04-11 21:18:04] Production.INFO: CreateAllLog End
[2025-04-11 21:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 21:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886916') end
[2025-04-11 21:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 21:18:04] Production.INFO: 1
[2025-04-11 21:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 21:18:04] Production.ERROR: done
[2025-04-11 21:18:04] Production.INFO: ==18204== Releasing lock...
[2025-04-11 21:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 21:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 21:18:04] Production.INFO: Account Balance End.
[2025-04-11 21:18:04] Production.ERROR: CronJobId end 12
[2025-04-11 21:18:04] Production.INFO: ==18200== Releasing lock...
[2025-04-11 21:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 21:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 21:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 18:18:05
[end_date_ymd] => 2025-04-11 21:18:05
[RateCDR] => 1
)
[2025-04-11 21:18:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 18:18:05' and `end` < '2025-04-11 21:18:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 21:18:12] Production.ERROR: CronJobId end10
[2025-04-11 21:18:12] Production.INFO: ==18198== Releasing lock...
[2025-04-11 21:18:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 21:18:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 21:18:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 21:18:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 21:18:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 21:18:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 21:18:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 21:18:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 21:18:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 21:18:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 21:18:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 21:18:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 21:18:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 21:18:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 21:18:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 21:18:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 21:18:14] Production.INFO: call_cost start
[2025-04-11 21:18:14] Production.INFO: call_cost end
[2025-04-11 21:18:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 21:18:15] Production.INFO: ============== Report Schedule START===========
[2025-04-11 21:18:15] Production.INFO: ============== Report Schedule END===========
[2025-04-11 21:18:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 21:18:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 21:18:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 21:18:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 21:18:15] Production.INFO: ============== Deal alert START===========
[2025-04-11 21:18:15] Production.INFO: ============== Deal alert END===========
[2025-04-11 21:18:15] Production.INFO: ==18194== Releasing lock...
[2025-04-11 21:18:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 21:18:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 21:18:18] Production.INFO: count ==1536
[2025-04-11 21:18:18] Production.ERROR: pbx CDR StartTime 2025-04-11 18:18:05 - End Time 2025-04-11 21:18:05
[2025-04-11 21:18:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 21:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886917', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886917', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886917', 'tblTempVendorCDR_20' ) start
[2025-04-11 21:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886917', 'tblTempVendorCDR_20' ) end
[2025-04-11 21:18:18] Production.INFO: ProcessCDR(1,14886917,1,1,2)
[2025-04-11 21:18:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886917,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:18:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886917,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:18:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886917,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:18:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886917,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886917', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886917', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:18:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 21:18:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 21:18:22] Production.INFO: ==18202== Releasing lock...
[2025-04-11 21:18:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 21:18:22] Production.INFO: 39 MB #Memory Used#
[2025-04-12 02:19:01] Production.INFO: ==18259== Lock acquired, processing the job...
[2025-04-12 02:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 02:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 02:19:01] Production.INFO: neon service started
[2025-04-12 02:19:01] Production.INFO: neon service started
[2025-04-12 02:19:01] Production.INFO: ==18259== Releasing lock...
[2025-04-12 02:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 02:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 21:19:02] Production.INFO: ==18262== Lock acquired, processing the job...
[2025-04-11 21:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 21:19:02] Production.INFO: ==18262== Releasing lock...
[2025-04-11 21:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 21:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 01:19:02] Production.INFO: ==18264== Lock acquired, processing the job...
[2025-04-12 01:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 01:19:02] Production.INFO: ==18264== Releasing lock...
[2025-04-12 01:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 01:19:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 21:19:03] Production.INFO: ==18266== Lock acquired, processing the job...
[2025-04-11 21:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 21:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 21:19:03] Production.INFO: ==18268== Lock acquired, processing the job...
[2025-04-11 21:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 21:19:03] Production.INFO: ==18272== Lock acquired, processing the job...
[2025-04-11 21:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 21:19:03] Production.INFO: Account Balance Start.
[2025-04-11 21:19:03] Production.INFO: CreateAllLog Start
[2025-04-11 21:19:03] Production.INFO: 117
[2025-04-11 21:19:03] Production.INFO: Date 2025-04-08
[2025-04-11 21:19:03] Production.INFO: Reseller ==> 0
[2025-04-11 21:19:03] Production.INFO: Date 2025-04-09
[2025-04-11 21:19:03] Production.INFO: Reseller ==> 0
[2025-04-11 21:19:03] Production.INFO: ==18270== Lock acquired, processing the job...
[2025-04-11 21:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 21:19:03] Production.INFO: Date 2025-04-10
[2025-04-11 21:19:03] Production.INFO: Reseller ==> 0
[2025-04-11 21:19:03] Production.INFO: Date 2025-04-11
[2025-04-11 21:19:03] Production.INFO: Reseller ==> 0
[2025-04-11 21:19:03] Production.INFO: ==18268== Releasing lock...
[2025-04-11 21:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 21:19:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 21:19:03] Production.INFO: ==18276== Lock acquired, processing the job...
[2025-04-11 21:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 21:19:03] Production.INFO: ==18274== Lock acquired, processing the job...
[2025-04-11 21:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 21:19:03] Production.INFO: Total Charge 0
[2025-04-11 21:19:03] Production.INFO: CreateAllLog End
[2025-04-11 21:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 21:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 21:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 21:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 21:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 21:19:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 21:19:03] Production.INFO: count ==12
[2025-04-11 21:19:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 21:19:03] Production.INFO: count ==23
[2025-04-11 21:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14886921') start
[2025-04-11 21:19:03] Production.INFO: Account Balance End.
[2025-04-11 21:19:03] Production.ERROR: done
[2025-04-11 21:19:04] Production.ERROR: CronJobId end 12
[2025-04-11 21:19:04] Production.INFO: ==18272== Releasing lock...
[2025-04-11 21:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 21:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 21:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 21:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886921') end
[2025-04-11 21:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 21:19:04] Production.INFO: 1
[2025-04-11 21:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 21:19:04] Production.ERROR: done
[2025-04-11 21:19:04] Production.INFO: ==18276== Releasing lock...
[2025-04-11 21:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 21:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 21:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 18:19:05
[end_date_ymd] => 2025-04-11 21:19:05
[RateCDR] => 1
)
[2025-04-11 21:19:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 18:19:05' and `end` < '2025-04-11 21:19:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 21:19:13] Production.ERROR: CronJobId end10
[2025-04-11 21:19:13] Production.INFO: ==18270== Releasing lock...
[2025-04-11 21:19:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 21:19:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 21:19:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 21:19:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 21:19:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 21:19:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 21:19:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 21:19:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 21:19:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 21:19:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 21:19:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 21:19:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 21:19:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 21:19:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 21:19:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 21:19:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 21:19:14] Production.INFO: call_cost start
[2025-04-11 21:19:14] Production.INFO: call_cost end
[2025-04-11 21:19:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 21:19:15] Production.INFO: ============== Report Schedule START===========
[2025-04-11 21:19:15] Production.INFO: ============== Report Schedule END===========
[2025-04-11 21:19:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 21:19:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 21:19:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 21:19:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 21:19:15] Production.INFO: ============== Deal alert START===========
[2025-04-11 21:19:15] Production.INFO: ============== Deal alert END===========
[2025-04-11 21:19:15] Production.INFO: ==18266== Releasing lock...
[2025-04-11 21:19:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 21:19:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 21:19:18] Production.INFO: count ==1521
[2025-04-11 21:19:18] Production.ERROR: pbx CDR StartTime 2025-04-11 18:19:05 - End Time 2025-04-11 21:19:05
[2025-04-11 21:19:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 21:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886922', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886922', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886922', 'tblTempVendorCDR_20' ) start
[2025-04-11 21:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886922', 'tblTempVendorCDR_20' ) end
[2025-04-11 21:19:18] Production.INFO: ProcessCDR(1,14886922,1,1,2)
[2025-04-11 21:19:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886922,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:19:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886922,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:19:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886922,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:19:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886922,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886922', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886922', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:19:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 21:19:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 21:19:21] Production.INFO: ==18274== Releasing lock...
[2025-04-11 21:19:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 21:19:21] Production.INFO: 39 MB #Memory Used#
[2025-04-12 02:20:02] Production.INFO: ==18331== Lock acquired, processing the job...
[2025-04-12 02:20:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 02:20:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 02:20:02] Production.INFO: neon service started
[2025-04-12 02:20:02] Production.INFO: neon service started
[2025-04-12 02:20:02] Production.INFO: ==18331== Releasing lock...
[2025-04-12 02:20:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 02:20:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 01:20:02] Production.INFO: ==18335== Lock acquired, processing the job...
[2025-04-12 01:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 01:20:02] Production.INFO: ==18335== Releasing lock...
[2025-04-12 01:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 01:20:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 21:20:02] Production.INFO: ==18333== Lock acquired, processing the job...
[2025-04-11 21:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 21:20:02] Production.INFO: ==18333== Releasing lock...
[2025-04-11 21:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 21:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 21:20:03] Production.INFO: ==18339== Lock acquired, processing the job...
[2025-04-11 21:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 21:20:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 21:20:03] Production.INFO: ==18348== Lock acquired, processing the job...
[2025-04-11 21:20:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 21:20:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 21:20:03] Production.INFO: ==18337== Lock acquired, processing the job...
[2025-04-11 21:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-11 21:20:04] Production.INFO: ==18352== Lock acquired, processing the job...
[2025-04-11 21:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 21:20:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-11 21:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-11 21:20:04] Production.ERROR: CronJob PID - 18339
[2025-04-11 21:20:04] Production.ERROR: CronJob Title - System Alerts
[2025-04-11 21:20:04] Production.ERROR: CronJob ID - 5
[2025-04-11 21:20:04] Production.ERROR: CronJob Last Run Time 2025-04-11 21:20:00
[2025-04-11 21:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-11 21:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-11 21:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-11 21:20:04] Production.ERROR: CronJob PID - 18348
[2025-04-11 21:20:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-04-11 21:20:04] Production.ERROR: CronJob ID - 16
[2025-04-11 21:20:04] Production.ERROR: CronJob Last Run Time 2025-04-11 21:20:00
[2025-04-11 21:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-11 21:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-11 21:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-11 21:20:04] Production.ERROR: CronJob PID - 18352
[2025-04-11 21:20:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-04-11 21:20:04] Production.ERROR: CronJob ID - 19
[2025-04-11 21:20:04] Production.ERROR: CronJob Last Run Time 2025-04-11 21:20:00
[2025-04-11 21:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-11 21:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-11 21:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 21:20:04] Production.INFO: count ==12
[2025-04-11 21:20:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-11 21:20:04] Production.INFO: ==18337== Releasing lock...
[2025-04-11 21:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-11 21:20:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-11 21:20:04] Production.INFO: ==18341== Lock acquired, processing the job...
[2025-04-11 21:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 21:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 21:20:04] Production.INFO: count ==23
[2025-04-11 21:20:04] Production.INFO: ==18343== Lock acquired, processing the job...
[2025-04-11 21:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 21:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886924') start
[2025-04-11 21:20:04] Production.INFO: ==18345== Lock acquired, processing the job...
[2025-04-11 21:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 21:20:04] Production.INFO: ==18350== Lock acquired, processing the job...
[2025-04-11 21:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-11 21:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886924') end
[2025-04-11 21:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 21:20:04] Production.INFO: 1
[2025-04-11 21:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 21:20:04] Production.INFO: ==18352== Releasing lock...
[2025-04-11 21:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 21:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 21:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 21:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 21:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 21:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 21:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 21:20:04] Production.ERROR: done
[2025-04-11 21:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 21:20:04] Production.INFO: Account Balance Start.
[2025-04-11 21:20:04] Production.INFO: CreateAllLog Start
[2025-04-11 21:20:04] Production.INFO: 117
[2025-04-11 21:20:04] Production.INFO: Date 2025-04-08
[2025-04-11 21:20:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:20:04] Production.INFO: Date 2025-04-09
[2025-04-11 21:20:04] Production.ERROR: done
[2025-04-11 21:20:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:20:04] Production.INFO: Date 2025-04-10
[2025-04-11 21:20:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:20:04] Production.INFO: Date 2025-04-11
[2025-04-11 21:20:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:20:04] Production.INFO: Total Charge 0
[2025-04-11 21:20:04] Production.INFO: CreateAllLog End
[2025-04-11 21:20:04] Production.INFO: ==18341== Releasing lock...
[2025-04-11 21:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 21:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 21:20:04] Production.ERROR: done
[2025-04-11 21:20:05] Production.INFO: Account Balance End.
[2025-04-11 21:20:05] Production.ERROR: CronJobId end 12
[2025-04-11 21:20:05] Production.INFO: ==18345== Releasing lock...
[2025-04-11 21:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 21:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 21:20:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-11 21:20:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14886928', 'tblTempUsageDetail_20reseller','2025-04-11','2025-04-11','1' ) start
[2025-04-11 21:20:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 18:20:05
[end_date_ymd] => 2025-04-11 21:20:05
[RateCDR] => 1
)
[2025-04-11 21: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-11 18:20:05' and `end` < '2025-04-11 21: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-11 21:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14886928', 'tblTempUsageDetail_20reseller','2025-04-11','2025-04-11','1' ) end
[2025-04-11 21:20:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-11 21:20:09] Production.INFO: ProcessCDR(1,14886928,1,1,2)
[2025-04-11 21:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14886928,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14886928,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:20:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 21:20:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 21:20:09] Production.INFO: ==18350== Releasing lock...
[2025-04-11 21:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-11 21:20:09] Production.INFO: 26 MB #Memory Used#
[2025-04-11 21:20:15] Production.ERROR: CronJobId end10
[2025-04-11 21:20:15] Production.INFO: ==18343== Releasing lock...
[2025-04-11 21:20:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 21:20:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 21:20:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 21:20:17] Production.INFO: ============== Balance Warning START===========
[2025-04-11 21:20:17] Production.INFO: ============== Balance Warning END===========
[2025-04-11 21:20:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 21:20:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 21:20:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 21:20:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 21:20:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 21:20:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 21:20:17] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 21:20:17] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 21:20:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 21:20:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 21:20:17] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 21:20:17] Production.INFO: call_cost start
[2025-04-11 21:20:17] Production.INFO: call_cost end
[2025-04-11 21:20:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 21:20:18] Production.INFO: ============== Report Schedule START===========
[2025-04-11 21:20:18] Production.INFO: ============== Report Schedule END===========
[2025-04-11 21:20:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 21:20:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 21:20:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 21:20:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 21:20:18] Production.INFO: ============== Deal alert START===========
[2025-04-11 21:20:18] Production.INFO: ============== Deal alert END===========
[2025-04-11 21:20:18] Production.INFO: ==18339== Releasing lock...
[2025-04-11 21:20:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 21:20:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 21:20:18] Production.INFO: count ==1519
[2025-04-11 21:20:18] Production.ERROR: pbx CDR StartTime 2025-04-11 18:20:05 - End Time 2025-04-11 21:20:05
[2025-04-11 21:20:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 21:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886927', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886927', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886927', 'tblTempVendorCDR_20' ) start
[2025-04-11 21:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886927', 'tblTempVendorCDR_20' ) end
[2025-04-11 21:20:18] Production.INFO: ProcessCDR(1,14886927,1,1,2)
[2025-04-11 21:20:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886927,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:20:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886927,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:20:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886927,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:20:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886927,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886927', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:20:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886927', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:20:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 21:20:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 21:20:24] Production.INFO: ==18348== Releasing lock...
[2025-04-11 21:20:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 21:20:24] Production.INFO: 39 MB #Memory Used#
[2025-04-12 02:21:01] Production.INFO: ==18409== Lock acquired, processing the job...
[2025-04-12 02:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 02:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 02:21:01] Production.INFO: neon service started
[2025-04-12 02:21:01] Production.INFO: neon service started
[2025-04-12 02:21:01] Production.INFO: ==18409== Releasing lock...
[2025-04-12 02:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 02:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 21:21:02] Production.INFO: ==18411== Lock acquired, processing the job...
[2025-04-11 21:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 01:21:02] Production.INFO: ==18413== Lock acquired, processing the job...
[2025-04-12 01:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 01:21:02] Production.INFO: ==18413== Releasing lock...
[2025-04-12 01:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 01:21:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 21:21:02] Production.INFO: ==18411== Releasing lock...
[2025-04-11 21:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 21:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 21:21:03] Production.INFO: ==18416== Lock acquired, processing the job...
[2025-04-11 21:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 21:21:03] Production.INFO: ==18418== Lock acquired, processing the job...
[2025-04-11 21:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 21:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 21:21:03] Production.INFO: ==18424== Lock acquired, processing the job...
[2025-04-11 21:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 21:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 21:21:03] Production.INFO: ==18422== Lock acquired, processing the job...
[2025-04-11 21:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 21:21:03] Production.INFO: ==18420== Lock acquired, processing the job...
[2025-04-11 21:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 21:21:03] Production.INFO: ==18426== Lock acquired, processing the job...
[2025-04-11 21:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 21:21:03] Production.INFO: ==18418== Releasing lock...
[2025-04-11 21:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 21:21:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 21:21:03] Production.INFO: Account Balance Start.
[2025-04-11 21:21:03] Production.INFO: CreateAllLog Start
[2025-04-11 21:21:03] Production.INFO: 117
[2025-04-11 21:21:03] Production.INFO: Date 2025-04-08
[2025-04-11 21:21:03] Production.INFO: Reseller ==> 0
[2025-04-11 21:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 21:21:03] Production.INFO: Date 2025-04-09
[2025-04-11 21:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 21:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 21:21:03] Production.ERROR: done
[2025-04-11 21:21:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 21:21:03] Production.INFO: Reseller ==> 0
[2025-04-11 21:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 21:21:03] Production.INFO: Date 2025-04-10
[2025-04-11 21:21:03] Production.INFO: Reseller ==> 0
[2025-04-11 21:21:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 21:21:03] Production.INFO: count ==12
[2025-04-11 21:21:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 21:21:03] Production.INFO: count ==23
[2025-04-11 21:21:03] Production.INFO: Date 2025-04-11
[2025-04-11 21:21:03] Production.INFO: Reseller ==> 0
[2025-04-11 21:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886932') start
[2025-04-11 21:21:04] Production.INFO: Total Charge 0
[2025-04-11 21:21:04] Production.INFO: CreateAllLog End
[2025-04-11 21:21:04] Production.ERROR: done
[2025-04-11 21:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886932') end
[2025-04-11 21:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 21:21:04] Production.INFO: 1
[2025-04-11 21:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 21:21:04] Production.INFO: Account Balance End.
[2025-04-11 21:21:04] Production.ERROR: CronJobId end 12
[2025-04-11 21:21:04] Production.INFO: ==18422== Releasing lock...
[2025-04-11 21:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 21:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 21:21:04] Production.INFO: ==18426== Releasing lock...
[2025-04-11 21:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 21:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 21:21:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 18:21:04
[end_date_ymd] => 2025-04-11 21:21:04
[RateCDR] => 1
)
[2025-04-11 21: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-11 18:21:04' and `end` < '2025-04-11 21: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-11 21:21:12] Production.ERROR: CronJobId end10
[2025-04-11 21:21:12] Production.INFO: ==18420== Releasing lock...
[2025-04-11 21:21:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 21:21:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 21:21:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 21:21:13] Production.INFO: ============== Balance Warning START===========
[2025-04-11 21:21:13] Production.INFO: ============== Balance Warning END===========
[2025-04-11 21:21:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 21:21:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 21:21:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 21:21:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 21:21:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 21:21:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 21:21:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 21:21:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 21:21:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 21:21:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 21:21:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 21:21:14] Production.INFO: call_cost start
[2025-04-11 21:21:14] Production.INFO: call_cost end
[2025-04-11 21:21:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 21:21:15] Production.INFO: ============== Report Schedule START===========
[2025-04-11 21:21:15] Production.INFO: ============== Report Schedule END===========
[2025-04-11 21:21:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 21:21:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 21:21:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 21:21:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 21:21:15] Production.INFO: ============== Deal alert START===========
[2025-04-11 21:21:15] Production.INFO: ============== Deal alert END===========
[2025-04-11 21:21:15] Production.INFO: ==18416== Releasing lock...
[2025-04-11 21:21:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 21:21:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 21:21:17] Production.INFO: count ==1481
[2025-04-11 21:21:17] Production.ERROR: pbx CDR StartTime 2025-04-11 18:21:04 - End Time 2025-04-11 21:21:04
[2025-04-11 21:21:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 21:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886933', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886933', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886933', 'tblTempVendorCDR_20' ) start
[2025-04-11 21:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886933', 'tblTempVendorCDR_20' ) end
[2025-04-11 21:21:17] Production.INFO: ProcessCDR(1,14886933,1,1,2)
[2025-04-11 21:21:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886933,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:21:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886933,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:21:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886933,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:21:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886933,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886933', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886933', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:21:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 21:21:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 21:21:21] Production.INFO: ==18424== Releasing lock...
[2025-04-11 21:21:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 21:21:21] Production.INFO: 38.75 MB #Memory Used#
[2025-04-12 02:22:01] Production.INFO: ==18480== Lock acquired, processing the job...
[2025-04-12 02:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 02:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 02:22:01] Production.INFO: neon service started
[2025-04-12 02:22:01] Production.INFO: neon service started
[2025-04-12 02:22:01] Production.INFO: ==18480== Releasing lock...
[2025-04-12 02:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 02:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 21:22:02] Production.INFO: ==18482== Lock acquired, processing the job...
[2025-04-11 21:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 01:22:02] Production.INFO: ==18484== Lock acquired, processing the job...
[2025-04-12 01:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 01:22:02] Production.INFO: ==18484== Releasing lock...
[2025-04-12 01:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 01:22:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 21:22:03] Production.INFO: ==18482== Releasing lock...
[2025-04-11 21:22:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 21:22:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 21:22:03] Production.INFO: ==18489== Lock acquired, processing the job...
[2025-04-11 21:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 21:22:03] Production.INFO: ==18487== Lock acquired, processing the job...
[2025-04-11 21:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 21:22:04] Production.INFO: ==18491== Lock acquired, processing the job...
[2025-04-11 21:22:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 21:22:04] Production.INFO: ==18498== Lock acquired, processing the job...
[2025-04-11 21:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 21:22:04] Production.INFO: ==18489== Releasing lock...
[2025-04-11 21:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 21:22:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 21:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 21:22:04] Production.INFO: ==18493== Lock acquired, processing the job...
[2025-04-11 21:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 21:22:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 21:22:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 21:22:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 21:22:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 21:22:04] Production.INFO: ==18495== Lock acquired, processing the job...
[2025-04-11 21:22:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 21:22:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 21:22:04] Production.INFO: count ==12
[2025-04-11 21:22:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 21:22:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 21:22:04] Production.INFO: count ==23
[2025-04-11 21:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886936') start
[2025-04-11 21:22:04] Production.INFO: Account Balance Start.
[2025-04-11 21:22:04] Production.INFO: CreateAllLog Start
[2025-04-11 21:22:04] Production.INFO: 117
[2025-04-11 21:22:04] Production.INFO: Date 2025-04-08
[2025-04-11 21:22:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:22:04] Production.INFO: Date 2025-04-09
[2025-04-11 21:22:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:22:04] Production.INFO: Date 2025-04-10
[2025-04-11 21:22:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:22:04] Production.INFO: Date 2025-04-11
[2025-04-11 21:22:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:22:04] Production.INFO: Total Charge 0
[2025-04-11 21:22:04] Production.INFO: CreateAllLog End
[2025-04-11 21:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886936') end
[2025-04-11 21:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 21:22:04] Production.INFO: 1
[2025-04-11 21:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 21:22:04] Production.INFO: ==18498== Releasing lock...
[2025-04-11 21:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 21:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 21:22:04] Production.ERROR: done
[2025-04-11 21:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 21:22:04] Production.INFO: Account Balance End.
[2025-04-11 21:22:04] Production.ERROR: CronJobId end 12
[2025-04-11 21:22:04] Production.INFO: ==18493== Releasing lock...
[2025-04-11 21:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 21:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 21:22:05] Production.ERROR: done
[2025-04-11 21:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 18:22:05
[end_date_ymd] => 2025-04-11 21:22:05
[RateCDR] => 1
)
[2025-04-11 21:22:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 18:22:05' and `end` < '2025-04-11 21:22:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 21:22:13] Production.ERROR: CronJobId end10
[2025-04-11 21:22:13] Production.INFO: ==18491== Releasing lock...
[2025-04-11 21:22:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 21:22:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 21:22:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 21:22:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 21:22:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 21:22:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 21:22:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 21:22:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 21:22:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 21:22:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 21:22:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 21:22:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 21:22:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 21:22:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 21:22:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 21:22:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 21:22:15] Production.INFO: call_cost start
[2025-04-11 21:22:15] Production.INFO: call_cost end
[2025-04-11 21:22:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 21:22:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 21:22:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 21:22:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 21:22:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 21:22:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 21:22:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 21:22:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 21:22:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 21:22:16] Production.INFO: ==18487== Releasing lock...
[2025-04-11 21:22:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 21:22:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 21:22:19] Production.INFO: count ==1480
[2025-04-11 21:22:19] Production.ERROR: pbx CDR StartTime 2025-04-11 18:22:05 - End Time 2025-04-11 21:22:05
[2025-04-11 21:22:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 21:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886938', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886938', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886938', 'tblTempVendorCDR_20' ) start
[2025-04-11 21:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886938', 'tblTempVendorCDR_20' ) end
[2025-04-11 21:22:19] Production.INFO: ProcessCDR(1,14886938,1,1,2)
[2025-04-11 21:22:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886938,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:22:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886938,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:22:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886938,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:22:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886938,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886938', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886938', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:22:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 21:22:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 21:22:22] Production.INFO: ==18495== Releasing lock...
[2025-04-11 21:22:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 21:22:22] Production.INFO: 38.75 MB #Memory Used#
[2025-04-12 02:23:01] Production.INFO: ==18565== Lock acquired, processing the job...
[2025-04-12 02:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 02:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 02:23:01] Production.INFO: neon service started
[2025-04-12 02:23:01] Production.INFO: neon service started
[2025-04-12 02:23:01] Production.INFO: ==18565== Releasing lock...
[2025-04-12 02:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 02:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 21:23:01] Production.INFO: ==18567== Lock acquired, processing the job...
[2025-04-11 21:23:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 21:23:02] Production.INFO: ==18567== Releasing lock...
[2025-04-11 21:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 21:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 01:23:02] Production.INFO: ==18569== Lock acquired, processing the job...
[2025-04-12 01:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 01:23:02] Production.INFO: ==18569== Releasing lock...
[2025-04-12 01:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 01:23:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 21:23:02] Production.INFO: ==18581== Lock acquired, processing the job...
[2025-04-11 21:23:02] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 21:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 21:23:03] Production.INFO: count ==12
[2025-04-11 21:23:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 21:23:03] Production.INFO: count ==23
[2025-04-11 21:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14886939') start
[2025-04-11 21:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14886939') end
[2025-04-11 21:23:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 21:23:03] Production.INFO: 1
[2025-04-11 21:23:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 21:23:03] Production.INFO: ==18581== Releasing lock...
[2025-04-11 21:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 21:23:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 21:23:03] Production.INFO: ==18579== Lock acquired, processing the job...
[2025-04-11 21:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 21:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 21:23:03] Production.INFO: ==18573== Lock acquired, processing the job...
[2025-04-11 21:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 21:23:03] Production.INFO: ==18571== Lock acquired, processing the job...
[2025-04-11 21:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 21:23:03] Production.INFO: ==18575== Lock acquired, processing the job...
[2025-04-11 21:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 21:23:03] Production.INFO: ==18577== Lock acquired, processing the job...
[2025-04-11 21:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 21:23:03] Production.INFO: Account Balance Start.
[2025-04-11 21:23:03] Production.INFO: CreateAllLog Start
[2025-04-11 21:23:03] Production.INFO: 117
[2025-04-11 21:23:03] Production.INFO: Date 2025-04-08
[2025-04-11 21:23:03] Production.INFO: Reseller ==> 0
[2025-04-11 21:23:03] Production.INFO: Date 2025-04-09
[2025-04-11 21:23:03] Production.INFO: Reseller ==> 0
[2025-04-11 21:23:03] Production.INFO: Date 2025-04-10
[2025-04-11 21:23:03] Production.INFO: Reseller ==> 0
[2025-04-11 21:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 21:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 21:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 21:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 21:23:03] Production.INFO: Date 2025-04-11
[2025-04-11 21:23:03] Production.INFO: ==18573== Releasing lock...
[2025-04-11 21:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 21:23:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 21:23:03] Production.INFO: Reseller ==> 0
[2025-04-11 21:23:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 21:23:04] Production.INFO: Total Charge 0
[2025-04-11 21:23:04] Production.ERROR: done
[2025-04-11 21:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 21:23:04] Production.INFO: CreateAllLog End
[2025-04-11 21:23:04] Production.ERROR: done
[2025-04-11 21:23:04] Production.INFO: Account Balance End.
[2025-04-11 21:23:04] Production.ERROR: CronJobId end 12
[2025-04-11 21:23:04] Production.INFO: ==18577== Releasing lock...
[2025-04-11 21:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 21:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 21:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 18:23:05
[end_date_ymd] => 2025-04-11 21:23:05
[RateCDR] => 1
)
[2025-04-11 21:23:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 18:23:05' and `end` < '2025-04-11 21:23:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 21:23:13] Production.ERROR: CronJobId end10
[2025-04-11 21:23:13] Production.INFO: ==18575== Releasing lock...
[2025-04-11 21:23:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 21:23:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 21:23:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 21:23:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 21:23:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 21:23:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 21:23:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 21:23:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 21:23:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 21:23:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 21:23:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 21:23:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 21:23:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 21:23:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 21:23:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 21:23:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 21:23:15] Production.INFO: call_cost start
[2025-04-11 21:23:15] Production.INFO: call_cost end
[2025-04-11 21:23:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 21:23:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 21:23:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 21:23:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 21:23:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 21:23:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 21:23:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 21:23:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 21:23:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 21:23:16] Production.INFO: ==18571== Releasing lock...
[2025-04-11 21:23:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 21:23:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 21:23:18] Production.INFO: count ==1480
[2025-04-11 21:23:18] Production.ERROR: pbx CDR StartTime 2025-04-11 18:23:05 - End Time 2025-04-11 21:23:05
[2025-04-11 21:23:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 21:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886943', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886943', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886943', 'tblTempVendorCDR_20' ) start
[2025-04-11 21:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886943', 'tblTempVendorCDR_20' ) end
[2025-04-11 21:23:18] Production.INFO: ProcessCDR(1,14886943,1,1,2)
[2025-04-11 21:23:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886943,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:23:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886943,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:23:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886943,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:23:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886943,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886943', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886943', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:23:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 21:23:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 21:23:22] Production.INFO: ==18579== Releasing lock...
[2025-04-11 21:23:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 21:23:22] Production.INFO: 38.75 MB #Memory Used#
[2025-04-12 02:24:01] Production.INFO: ==18643== Lock acquired, processing the job...
[2025-04-12 02:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 02:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 02:24:01] Production.INFO: neon service started
[2025-04-12 02:24:01] Production.INFO: neon service started
[2025-04-12 02:24:01] Production.INFO: ==18643== Releasing lock...
[2025-04-12 02:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 02:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 21:24:02] Production.INFO: ==18645== Lock acquired, processing the job...
[2025-04-11 21:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 01:24:02] Production.INFO: ==18647== Lock acquired, processing the job...
[2025-04-12 01:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 01:24:02] Production.INFO: ==18647== Releasing lock...
[2025-04-12 01:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 01:24:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 21:24:03] Production.INFO: ==18645== Releasing lock...
[2025-04-11 21:24:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 21:24:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 21:24:04] Production.INFO: ==18652== Lock acquired, processing the job...
[2025-04-11 21:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 21:24:04] Production.INFO: ==18654== Lock acquired, processing the job...
[2025-04-11 21:24:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 21:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 21:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 21:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 21:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 21:24:04] Production.INFO: ==18650== Lock acquired, processing the job...
[2025-04-11 21:24:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 21:24:04] Production.INFO: ==18656== Lock acquired, processing the job...
[2025-04-11 21:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 21:24:04] Production.INFO: ==18658== Lock acquired, processing the job...
[2025-04-11 21:24:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 21:24:04] Production.INFO: ==18660== Lock acquired, processing the job...
[2025-04-11 21:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 21:24:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 21:24:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 21:24:04] Production.INFO: Account Balance Start.
[2025-04-11 21:24:04] Production.INFO: CreateAllLog Start
[2025-04-11 21:24:04] Production.INFO: 117
[2025-04-11 21:24:04] Production.INFO: Date 2025-04-08
[2025-04-11 21:24:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:24:04] Production.INFO: ==18652== Releasing lock...
[2025-04-11 21:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 21:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 21:24:04] Production.INFO: Date 2025-04-09
[2025-04-11 21:24:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:24:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 21:24:04] Production.INFO: Date 2025-04-10
[2025-04-11 21:24:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:24:04] Production.INFO: Date 2025-04-11
[2025-04-11 21:24:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:24:04] Production.INFO: count ==12
[2025-04-11 21:24:04] Production.INFO: Total Charge 0
[2025-04-11 21:24:04] Production.INFO: CreateAllLog End
[2025-04-11 21:24:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 21:24:04] Production.INFO: count ==23
[2025-04-11 21:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886947') start
[2025-04-11 21:24:04] Production.ERROR: done
[2025-04-11 21:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 21:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886947') end
[2025-04-11 21:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 21:24:04] Production.INFO: 1
[2025-04-11 21:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 21:24:04] Production.ERROR: done
[2025-04-11 21:24:04] Production.INFO: Account Balance End.
[2025-04-11 21:24:04] Production.INFO: ==18660== Releasing lock...
[2025-04-11 21:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 21:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 21:24:04] Production.ERROR: CronJobId end 12
[2025-04-11 21:24:04] Production.INFO: ==18656== Releasing lock...
[2025-04-11 21:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 21:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 21:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 18:24:05
[end_date_ymd] => 2025-04-11 21:24:05
[RateCDR] => 1
)
[2025-04-11 21:24:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 18:24:05' and `end` < '2025-04-11 21:24:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 21:24:13] Production.ERROR: CronJobId end10
[2025-04-11 21:24:13] Production.INFO: ==18654== Releasing lock...
[2025-04-11 21:24:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 21:24:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 21:24:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 21:24:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 21:24:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 21:24:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 21:24:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 21:24:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 21:24:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 21:24:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 21:24:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 21:24:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 21:24:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 21:24:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 21:24:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 21:24:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 21:24:15] Production.INFO: call_cost start
[2025-04-11 21:24:15] Production.INFO: call_cost end
[2025-04-11 21:24:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 21:24:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 21:24:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 21:24:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 21:24:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 21:24:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 21:24:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 21:24:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 21:24:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 21:24:16] Production.INFO: ==18650== Releasing lock...
[2025-04-11 21:24:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 21:24:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 21:24:18] Production.INFO: count ==1479
[2025-04-11 21:24:19] Production.ERROR: pbx CDR StartTime 2025-04-11 18:24:05 - End Time 2025-04-11 21:24:05
[2025-04-11 21:24:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 21:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886948', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886948', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886948', 'tblTempVendorCDR_20' ) start
[2025-04-11 21:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886948', 'tblTempVendorCDR_20' ) end
[2025-04-11 21:24:19] Production.INFO: ProcessCDR(1,14886948,1,1,2)
[2025-04-11 21:24:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886948,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:24:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886948,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:24:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886948,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:24:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886948,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886948', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886948', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:24:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 21:24:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 21:24:22] Production.INFO: ==18658== Releasing lock...
[2025-04-11 21:24:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 21:24:22] Production.INFO: 38.75 MB #Memory Used#
[2025-04-12 02:25:02] Production.INFO: ==18720== Lock acquired, processing the job...
[2025-04-12 02:25:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 02:25:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 02:25:02] Production.INFO: neon service started
[2025-04-12 02:25:02] Production.INFO: neon service started
[2025-04-12 02:25:02] Production.INFO: ==18720== Releasing lock...
[2025-04-12 02:25:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 02:25:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 21:25:02] Production.INFO: ==18722== Lock acquired, processing the job...
[2025-04-11 21:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 01:25:03] Production.INFO: ==18724== Lock acquired, processing the job...
[2025-04-12 01:25:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 01:25:03] Production.INFO: ==18724== Releasing lock...
[2025-04-12 01:25:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 01:25:03] Production.INFO: 25 MB #Memory Used#
[2025-04-11 21:25:03] Production.INFO: ==18722== Releasing lock...
[2025-04-11 21:25:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 21:25:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 21:25:04] Production.INFO: ==18727== Lock acquired, processing the job...
[2025-04-11 21:25:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 21:25:04] Production.INFO: ==18729== Lock acquired, processing the job...
[2025-04-11 21:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 21:25:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 21:25:04] Production.INFO: ==18735== Lock acquired, processing the job...
[2025-04-11 21:25:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 21:25:04] Production.INFO: ==18733== Lock acquired, processing the job...
[2025-04-11 21:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 21:25:04] Production.INFO: ==18731== Lock acquired, processing the job...
[2025-04-11 21:25:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 21:25:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 21:25:04] Production.INFO: ==18737== Lock acquired, processing the job...
[2025-04-11 21:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 21:25:04] Production.INFO: Account Balance Start.
[2025-04-11 21:25:04] Production.INFO: CreateAllLog Start
[2025-04-11 21:25:04] Production.INFO: 117
[2025-04-11 21:25:04] Production.INFO: Date 2025-04-08
[2025-04-11 21:25:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:25:04] Production.INFO: Date 2025-04-09
[2025-04-11 21:25:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:25:04] Production.INFO: ==18729== Releasing lock...
[2025-04-11 21:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 21:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 21:25:04] Production.INFO: Date 2025-04-10
[2025-04-11 21:25:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:25:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 21:25:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 21:25:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 21:25:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 21:25:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 21:25:04] Production.INFO: Date 2025-04-11
[2025-04-11 21:25:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:25:04] Production.INFO: Total Charge 0
[2025-04-11 21:25:04] Production.INFO: CreateAllLog End
[2025-04-11 21:25:04] Production.INFO: count ==12
[2025-04-11 21:25:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 21:25:04] Production.INFO: count ==23
[2025-04-11 21:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886952') start
[2025-04-11 21:25:04] Production.ERROR: done
[2025-04-11 21:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 21:25:05] Production.ERROR: PBX CALL prc_importPBXExtension('14886952') end
[2025-04-11 21:25:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 21:25:05] Production.INFO: 1
[2025-04-11 21:25:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 21:25:05] Production.INFO: ==18737== Releasing lock...
[2025-04-11 21:25:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 21:25:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 21:25:05] Production.ERROR: done
[2025-04-11 21:25:05] Production.INFO: Account Balance End.
[2025-04-11 21:25:05] Production.ERROR: CronJobId end 12
[2025-04-11 21:25:05] Production.INFO: ==18733== Releasing lock...
[2025-04-11 21:25:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 21:25:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 21:25:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 18:25:06
[end_date_ymd] => 2025-04-11 21:25:06
[RateCDR] => 1
)
[2025-04-11 21: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-11 18:25:06' and `end` < '2025-04-11 21: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-11 21:25:12] Production.ERROR: CronJobId end10
[2025-04-11 21:25:12] Production.INFO: ==18731== Releasing lock...
[2025-04-11 21:25:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 21:25:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 21:25:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 21:25:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 21:25:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 21:25:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 21:25:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 21:25:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 21:25:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 21:25:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 21:25:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 21:25:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 21:25:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 21:25:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 21:25:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 21:25:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 21:25:14] Production.INFO: call_cost start
[2025-04-11 21:25:14] Production.INFO: call_cost end
[2025-04-11 21:25:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 21:25:15] Production.INFO: ============== Report Schedule START===========
[2025-04-11 21:25:15] Production.INFO: ============== Report Schedule END===========
[2025-04-11 21:25:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 21:25:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 21:25:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 21:25:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 21:25:15] Production.INFO: ============== Deal alert START===========
[2025-04-11 21:25:15] Production.INFO: ============== Deal alert END===========
[2025-04-11 21:25:15] Production.INFO: ==18727== Releasing lock...
[2025-04-11 21:25:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 21:25:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 21:25:19] Production.INFO: count ==1479
[2025-04-11 21:25:19] Production.ERROR: pbx CDR StartTime 2025-04-11 18:25:06 - End Time 2025-04-11 21:25:06
[2025-04-11 21:25:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 21:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886953', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886953', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886953', 'tblTempVendorCDR_20' ) start
[2025-04-11 21:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886953', 'tblTempVendorCDR_20' ) end
[2025-04-11 21:25:19] Production.INFO: ProcessCDR(1,14886953,1,1,2)
[2025-04-11 21:25:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886953,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:25:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886953,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:25:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886953,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:25:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886953,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886953', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886953', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:25:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 21:25:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 21:25:22] Production.INFO: ==18735== Releasing lock...
[2025-04-11 21:25:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 21:25:22] Production.INFO: 38.75 MB #Memory Used#
[2025-04-12 02:26:01] Production.INFO: ==18793== Lock acquired, processing the job...
[2025-04-12 02:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 02:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 02:26:01] Production.INFO: neon service started
[2025-04-12 02:26:01] Production.INFO: neon service started
[2025-04-12 02:26:01] Production.INFO: ==18793== Releasing lock...
[2025-04-12 02:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 02:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 21:26:02] Production.INFO: ==18795== Lock acquired, processing the job...
[2025-04-11 21:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 21:26:02] Production.INFO: ==18795== Releasing lock...
[2025-04-11 21:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 21:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 01:26:02] Production.INFO: ==18797== Lock acquired, processing the job...
[2025-04-12 01:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 01:26:02] Production.INFO: ==18797== Releasing lock...
[2025-04-12 01:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 01:26:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 21:26:03] Production.INFO: ==18802== Lock acquired, processing the job...
[2025-04-11 21:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 21:26:03] Production.INFO: ==18800== Lock acquired, processing the job...
[2025-04-11 21:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 21:26:03] Production.INFO: ==18804== Lock acquired, processing the job...
[2025-04-11 21:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 21:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 21:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 21:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 21:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 21:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 21:26:03] Production.INFO: ==18806== Lock acquired, processing the job...
[2025-04-11 21:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 21:26:03] Production.INFO: ==18810== Lock acquired, processing the job...
[2025-04-11 21:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 21:26:03] Production.INFO: ==18808== Lock acquired, processing the job...
[2025-04-11 21:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 21:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 21:26:03] Production.INFO: ==18802== Releasing lock...
[2025-04-11 21:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 21:26:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 21:26:03] Production.INFO: Account Balance Start.
[2025-04-11 21:26:03] Production.INFO: CreateAllLog Start
[2025-04-11 21:26:03] Production.INFO: 117
[2025-04-11 21:26:03] Production.INFO: Date 2025-04-08
[2025-04-11 21:26:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 21:26:03] Production.INFO: Reseller ==> 0
[2025-04-11 21:26:04] Production.INFO: Date 2025-04-09
[2025-04-11 21:26:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:26:04] Production.INFO: count ==12
[2025-04-11 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-11 21:26:04] Production.INFO: count ==23
[2025-04-11 21:26:04] Production.INFO: Date 2025-04-10
[2025-04-11 21:26:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886957') start
[2025-04-11 21:26:04] Production.INFO: Date 2025-04-11
[2025-04-11 21:26:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:26:04] Production.INFO: Total Charge 0
[2025-04-11 21:26:04] Production.INFO: CreateAllLog End
[2025-04-11 21:26:04] Production.ERROR: done
[2025-04-11 21:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886957') end
[2025-04-11 21:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 21:26:04] Production.INFO: 1
[2025-04-11 21:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 21:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 21:26:04] Production.INFO: ==18810== Releasing lock...
[2025-04-11 21:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 21:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 21:26:04] Production.ERROR: done
[2025-04-11 21:26:04] Production.INFO: Account Balance End.
[2025-04-11 21:26:04] Production.ERROR: CronJobId end 12
[2025-04-11 21:26:04] Production.INFO: ==18806== Releasing lock...
[2025-04-11 21:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 21:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 21:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 18:26:05
[end_date_ymd] => 2025-04-11 21:26:05
[RateCDR] => 1
)
[2025-04-11 21:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 18:26:05' and `end` < '2025-04-11 21:26:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 21:26:13] Production.ERROR: CronJobId end10
[2025-04-11 21:26:13] Production.INFO: ==18804== Releasing lock...
[2025-04-11 21:26:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 21:26:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 21:26:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 21:26:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 21:26:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 21:26:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 21:26:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 21:26:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 21:26:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 21:26:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 21:26:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 21:26:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 21:26:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 21:26:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 21:26:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 21:26:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 21:26:15] Production.INFO: call_cost start
[2025-04-11 21:26:15] Production.INFO: call_cost end
[2025-04-11 21:26:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 21:26:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 21:26:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 21:26:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 21:26:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 21:26:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 21:26:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 21:26:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 21:26:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 21:26:16] Production.INFO: ==18800== Releasing lock...
[2025-04-11 21:26:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 21:26:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 21:26:18] Production.INFO: count ==1478
[2025-04-11 21:26:18] Production.ERROR: pbx CDR StartTime 2025-04-11 18:26:05 - End Time 2025-04-11 21:26:05
[2025-04-11 21:26:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 21:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886958', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886958', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886958', 'tblTempVendorCDR_20' ) start
[2025-04-11 21:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886958', 'tblTempVendorCDR_20' ) end
[2025-04-11 21:26:18] Production.INFO: ProcessCDR(1,14886958,1,1,2)
[2025-04-11 21:26:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886958,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:26:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886958,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:26:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886958,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:26:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886958,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886958', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886958', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:26:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 21:26:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 21:26:22] Production.INFO: ==18808== Releasing lock...
[2025-04-11 21:26:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 21:26:22] Production.INFO: 38.75 MB #Memory Used#
[2025-04-12 02:27:01] Production.INFO: ==18868== Lock acquired, processing the job...
[2025-04-12 02:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 02:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 02:27:01] Production.INFO: neon service started
[2025-04-12 02:27:01] Production.INFO: neon service started
[2025-04-12 02:27:01] Production.INFO: ==18868== Releasing lock...
[2025-04-12 02:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 02:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 01:27:01] Production.INFO: ==18872== Lock acquired, processing the job...
[2025-04-12 01:27:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 01:27:01] Production.INFO: ==18872== Releasing lock...
[2025-04-12 01:27:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 01:27:01] Production.INFO: 25 MB #Memory Used#
[2025-04-11 21:27:01] Production.INFO: ==18870== Lock acquired, processing the job...
[2025-04-11 21:27:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 21:27:02] Production.INFO: ==18870== Releasing lock...
[2025-04-11 21:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 21:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 21:27:02] Production.INFO: ==18877== Lock acquired, processing the job...
[2025-04-11 21:27:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 21:27:03] Production.INFO: ==18883== Lock acquired, processing the job...
[2025-04-11 21:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 21:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 21:27:03] Production.INFO: ==18875== Lock acquired, processing the job...
[2025-04-11 21:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 21:27:03] Production.INFO: ==18879== Lock acquired, processing the job...
[2025-04-11 21:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 21:27:03] Production.INFO: ==18881== Lock acquired, processing the job...
[2025-04-11 21:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 21:27:03] Production.INFO: ==18877== Releasing lock...
[2025-04-11 21:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 21:27:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 21:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 21:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 21:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 21:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 21:27:03] Production.INFO: Account Balance Start.
[2025-04-11 21:27:03] Production.INFO: CreateAllLog Start
[2025-04-11 21:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 21:27:03] Production.INFO: 117
[2025-04-11 21:27:03] Production.INFO: ==18885== Lock acquired, processing the job...
[2025-04-11 21:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 21:27:03] Production.INFO: Date 2025-04-08
[2025-04-11 21:27:03] Production.INFO: Reseller ==> 0
[2025-04-11 21:27:03] Production.ERROR: done
[2025-04-11 21:27:03] Production.INFO: Date 2025-04-09
[2025-04-11 21:27:03] Production.INFO: Reseller ==> 0
[2025-04-11 21:27:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 21:27:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 21:27:03] Production.INFO: Date 2025-04-10
[2025-04-11 21:27:03] Production.INFO: Reseller ==> 0
[2025-04-11 21:27:03] Production.INFO: count ==12
[2025-04-11 21:27:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 21:27:03] Production.INFO: count ==23
[2025-04-11 21:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14886962') start
[2025-04-11 21:27:03] Production.ERROR: done
[2025-04-11 21:27:03] Production.INFO: Date 2025-04-11
[2025-04-11 21:27:03] Production.INFO: Reseller ==> 0
[2025-04-11 21:27:03] Production.INFO: Total Charge 0
[2025-04-11 21:27:03] Production.INFO: CreateAllLog End
[2025-04-11 21:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886962') end
[2025-04-11 21:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 21:27:04] Production.INFO: 1
[2025-04-11 21:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 21:27:04] Production.INFO: ==18885== Releasing lock...
[2025-04-11 21:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 21:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 21:27:04] Production.INFO: Account Balance End.
[2025-04-11 21:27:04] Production.ERROR: CronJobId end 12
[2025-04-11 21:27:04] Production.INFO: ==18881== Releasing lock...
[2025-04-11 21:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 21:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 21:27:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 18:27:04
[end_date_ymd] => 2025-04-11 21:27:04
[RateCDR] => 1
)
[2025-04-11 21:27:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 18:27:04' and `end` < '2025-04-11 21:27:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 21:27:12] Production.ERROR: CronJobId end10
[2025-04-11 21:27:12] Production.INFO: ==18879== Releasing lock...
[2025-04-11 21:27:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 21:27:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 21:27:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 21:27:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 21:27:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 21:27:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 21:27:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 21:27:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 21:27:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 21:27:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 21:27:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 21:27:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 21:27:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 21:27:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 21:27:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 21:27:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 21:27:14] Production.INFO: call_cost start
[2025-04-11 21:27:14] Production.INFO: call_cost end
[2025-04-11 21:27:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 21:27:15] Production.INFO: ============== Report Schedule START===========
[2025-04-11 21:27:15] Production.INFO: ============== Report Schedule END===========
[2025-04-11 21:27:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 21:27:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 21:27:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 21:27:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 21:27:15] Production.INFO: ============== Deal alert START===========
[2025-04-11 21:27:15] Production.INFO: ============== Deal alert END===========
[2025-04-11 21:27:15] Production.INFO: ==18875== Releasing lock...
[2025-04-11 21:27:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 21:27:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 21:27:18] Production.INFO: count ==1471
[2025-04-11 21:27:18] Production.ERROR: pbx CDR StartTime 2025-04-11 18:27:04 - End Time 2025-04-11 21:27:04
[2025-04-11 21:27:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 21:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886963', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886963', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886963', 'tblTempVendorCDR_20' ) start
[2025-04-11 21:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886963', 'tblTempVendorCDR_20' ) end
[2025-04-11 21:27:18] Production.INFO: ProcessCDR(1,14886963,1,1,2)
[2025-04-11 21:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886963,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:27:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886963,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:27:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886963,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:27:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886963,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886963', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886963', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:27:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 21:27:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 21:27:21] Production.INFO: ==18883== Releasing lock...
[2025-04-11 21:27:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 21:27:21] Production.INFO: 38.5 MB #Memory Used#
[2025-04-12 02:28:01] Production.INFO: ==18939== Lock acquired, processing the job...
[2025-04-12 02:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 02:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 02:28:01] Production.INFO: neon service started
[2025-04-12 02:28:01] Production.INFO: neon service started
[2025-04-12 02:28:01] Production.INFO: ==18939== Releasing lock...
[2025-04-12 02:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 02:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 21:28:02] Production.INFO: ==18941== Lock acquired, processing the job...
[2025-04-11 21:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 21:28:02] Production.INFO: ==18941== Releasing lock...
[2025-04-11 21:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 21:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 01:28:02] Production.INFO: ==18943== Lock acquired, processing the job...
[2025-04-12 01:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 01:28:02] Production.INFO: ==18943== Releasing lock...
[2025-04-12 01:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 01:28:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 21:28:03] Production.INFO: ==18949== Lock acquired, processing the job...
[2025-04-11 21:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 21:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 21:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 21:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 21:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 21:28:03] Production.INFO: ==18955== Lock acquired, processing the job...
[2025-04-11 21:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 21:28:03] Production.INFO: ==18947== Lock acquired, processing the job...
[2025-04-11 21:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 21:28:03] Production.INFO: ==18945== Lock acquired, processing the job...
[2025-04-11 21:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 21:28:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 21:28:03] Production.INFO: count ==12
[2025-04-11 21:28:03] Production.INFO: ==18951== Lock acquired, processing the job...
[2025-04-11 21:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 21:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 21:28:03] Production.INFO: ==18953== Lock acquired, processing the job...
[2025-04-11 21:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 21:28:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 21:28:03] Production.INFO: count ==23
[2025-04-11 21:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14886964') start
[2025-04-11 21:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 21:28:03] Production.INFO: Account Balance Start.
[2025-04-11 21:28:03] Production.INFO: CreateAllLog Start
[2025-04-11 21:28:03] Production.INFO: 117
[2025-04-11 21:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886964') end
[2025-04-11 21:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 21:28:04] Production.INFO: Date 2025-04-08
[2025-04-11 21:28:04] Production.INFO: 1
[2025-04-11 21:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 21:28:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:28:04] Production.INFO: Date 2025-04-09
[2025-04-11 21:28:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:28:04] Production.INFO: Date 2025-04-10
[2025-04-11 21:28:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:28:04] Production.INFO: Date 2025-04-11
[2025-04-11 21:28:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:28:04] Production.INFO: Total Charge 0
[2025-04-11 21:28:04] Production.INFO: CreateAllLog End
[2025-04-11 21:28:04] Production.INFO: ==18955== Releasing lock...
[2025-04-11 21:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 21:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 21:28:04] Production.INFO: ==18947== Releasing lock...
[2025-04-11 21:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 21:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 21:28:04] Production.ERROR: done
[2025-04-11 21:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 21:28:04] Production.ERROR: done
[2025-04-11 21:28:04] Production.INFO: Account Balance End.
[2025-04-11 21:28:04] Production.ERROR: CronJobId end 12
[2025-04-11 21:28:04] Production.INFO: ==18951== Releasing lock...
[2025-04-11 21:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 21:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 21:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 18:28:05
[end_date_ymd] => 2025-04-11 21:28:05
[RateCDR] => 1
)
[2025-04-11 21:28:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 18:28:05' and `end` < '2025-04-11 21:28:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 21:28:11] Production.ERROR: CronJobId end10
[2025-04-11 21:28:11] Production.INFO: ==18949== Releasing lock...
[2025-04-11 21:28:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 21:28:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 21:28:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 21:28:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 21:28:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 21:28:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 21:28:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 21:28:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 21:28:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 21:28:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 21:28:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 21:28:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 21:28:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 21:28:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 21:28:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 21:28:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 21:28:14] Production.INFO: call_cost start
[2025-04-11 21:28:14] Production.INFO: call_cost end
[2025-04-11 21:28:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 21:28:15] Production.INFO: ============== Report Schedule START===========
[2025-04-11 21:28:15] Production.INFO: ============== Report Schedule END===========
[2025-04-11 21:28:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 21:28:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 21:28:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 21:28:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 21:28:15] Production.INFO: ============== Deal alert START===========
[2025-04-11 21:28:15] Production.INFO: ============== Deal alert END===========
[2025-04-11 21:28:15] Production.INFO: ==18945== Releasing lock...
[2025-04-11 21:28:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 21:28:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 21:28:18] Production.INFO: count ==1469
[2025-04-11 21:28:18] Production.ERROR: pbx CDR StartTime 2025-04-11 18:28:05 - End Time 2025-04-11 21:28:05
[2025-04-11 21:28:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 21:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886968', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886968', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886968', 'tblTempVendorCDR_20' ) start
[2025-04-11 21:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886968', 'tblTempVendorCDR_20' ) end
[2025-04-11 21:28:18] Production.INFO: ProcessCDR(1,14886968,1,1,2)
[2025-04-11 21:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886968,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:28:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886968,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:28:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886968,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:28:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886968,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886968', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886968', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:28:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 21:28:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 21:28:22] Production.INFO: ==18953== Releasing lock...
[2025-04-11 21:28:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 21:28:22] Production.INFO: 38.5 MB #Memory Used#
[2025-04-12 02:29:02] Production.INFO: ==19017== Lock acquired, processing the job...
[2025-04-12 02:29:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 02:29:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 02:29:02] Production.INFO: neon service started
[2025-04-12 02:29:02] Production.INFO: neon service started
[2025-04-12 02:29:02] Production.INFO: ==19017== Releasing lock...
[2025-04-12 02:29:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 02:29:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 01:29:02] Production.INFO: ==19022== Lock acquired, processing the job...
[2025-04-12 01:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 01:29:02] Production.INFO: ==19022== Releasing lock...
[2025-04-12 01:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 01:29:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 21:29:02] Production.INFO: ==19020== Lock acquired, processing the job...
[2025-04-11 21:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 21:29:03] Production.INFO: ==19020== Releasing lock...
[2025-04-11 21:29:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 21:29:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 21:29:03] Production.INFO: ==19028== Lock acquired, processing the job...
[2025-04-11 21:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 21:29:04] Production.INFO: ==19024== Lock acquired, processing the job...
[2025-04-11 21:29:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 21:29:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 21:29:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 21:29:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 21:29:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 21:29:04] Production.INFO: ==19032== Lock acquired, processing the job...
[2025-04-11 21:29:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 21:29:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 21:29:04] Production.INFO: ==19026== Lock acquired, processing the job...
[2025-04-11 21:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 21:29:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 21:29:04] Production.INFO: ==19030== Lock acquired, processing the job...
[2025-04-11 21:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 21:29:04] Production.INFO: ==19034== Lock acquired, processing the job...
[2025-04-11 21:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 21:29:04] Production.INFO: Account Balance Start.
[2025-04-11 21:29:04] Production.INFO: CreateAllLog Start
[2025-04-11 21:29:04] Production.INFO: 117
[2025-04-11 21:29:04] Production.INFO: Date 2025-04-08
[2025-04-11 21:29:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:29:04] Production.ERROR: done
[2025-04-11 21:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 21:29:04] Production.INFO: Date 2025-04-09
[2025-04-11 21:29:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:29:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 21:29:04] Production.INFO: Date 2025-04-10
[2025-04-11 21:29:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:29:04] Production.INFO: Date 2025-04-11
[2025-04-11 21:29:04] Production.INFO: count ==12
[2025-04-11 21:29:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:29:04] Production.INFO: ==19026== Releasing lock...
[2025-04-11 21:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 21:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 21:29:04] Production.ERROR: done
[2025-04-11 21:29:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 21:29:04] Production.INFO: count ==23
[2025-04-11 21:29:04] Production.INFO: Total Charge 0
[2025-04-11 21:29:04] Production.INFO: CreateAllLog End
[2025-04-11 21:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886972') start
[2025-04-11 21:29:05] Production.ERROR: PBX CALL prc_importPBXExtension('14886972') end
[2025-04-11 21:29:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 21:29:05] Production.INFO: 1
[2025-04-11 21:29:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 21:29:05] Production.INFO: ==19034== Releasing lock...
[2025-04-11 21:29:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 21:29:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 21:29:05] Production.INFO: Account Balance End.
[2025-04-11 21:29:05] Production.ERROR: CronJobId end 12
[2025-04-11 21:29:05] Production.INFO: ==19030== Releasing lock...
[2025-04-11 21:29:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 21:29:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 21:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 18:29:05
[end_date_ymd] => 2025-04-11 21:29:05
[RateCDR] => 1
)
[2025-04-11 21:29:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 18:29:05' and `end` < '2025-04-11 21:29:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 21:29:12] Production.ERROR: CronJobId end10
[2025-04-11 21:29:12] Production.INFO: ==19028== Releasing lock...
[2025-04-11 21:29:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 21:29:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 21:29:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 21:29:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 21:29:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 21:29:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 21:29:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 21:29:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 21:29:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 21:29:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 21:29:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 21:29:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 21:29:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 21:29:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 21:29:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 21:29:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 21:29:15] Production.INFO: call_cost start
[2025-04-11 21:29:15] Production.INFO: call_cost end
[2025-04-11 21:29:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 21:29:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 21:29:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 21:29:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 21:29:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 21:29:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 21:29:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 21:29:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 21:29:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 21:29:16] Production.INFO: ==19024== Releasing lock...
[2025-04-11 21:29:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 21:29:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 21:29:18] Production.INFO: count ==1465
[2025-04-11 21:29:18] Production.ERROR: pbx CDR StartTime 2025-04-11 18:29:05 - End Time 2025-04-11 21:29:05
[2025-04-11 21:29:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 21:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886973', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886973', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886973', 'tblTempVendorCDR_20' ) start
[2025-04-11 21:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886973', 'tblTempVendorCDR_20' ) end
[2025-04-11 21:29:19] Production.INFO: ProcessCDR(1,14886973,1,1,2)
[2025-04-11 21:29:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886973,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:29:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886973,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:29:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886973,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:29:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886973,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886973', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886973', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:29:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 21:29:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 21:29:22] Production.INFO: ==19032== Releasing lock...
[2025-04-11 21:29:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 21:29:22] Production.INFO: 38.5 MB #Memory Used#
[2025-04-12 02:30:01] Production.INFO: ==19092== Lock acquired, processing the job...
[2025-04-12 02:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 02:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 02:30:01] Production.INFO: neon service started
[2025-04-12 02:30:01] Production.INFO: neon service started
[2025-04-12 02:30:01] Production.INFO: ==19092== Releasing lock...
[2025-04-12 02:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 02:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 21:30:02] Production.INFO: ==19094== Lock acquired, processing the job...
[2025-04-11 21:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 01:30:02] Production.INFO: ==19096== Lock acquired, processing the job...
[2025-04-12 01:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 01:30:02] Production.INFO: ==19096== Releasing lock...
[2025-04-12 01:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 01:30:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 21:30:02] Production.INFO: ==19094== Releasing lock...
[2025-04-11 21:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 21:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 21:30:03] Production.INFO: ==19103== Lock acquired, processing the job...
[2025-04-11 21:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 21:30:03] Production.INFO: ==19105== Lock acquired, processing the job...
[2025-04-11 21:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 21:30:03] Production.INFO: ==19109== Lock acquired, processing the job...
[2025-04-11 21:30:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 21:30:03] Production.INFO: ==19099== Lock acquired, processing the job...
[2025-04-11 21:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-11 21:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 21:30:03] Production.INFO: ==19103== Releasing lock...
[2025-04-11 21:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 21:30:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 21:30:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 21:30:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 21:30:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 21:30:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-11 21:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-11 21:30:04] Production.ERROR: CronJob PID - 19105
[2025-04-11 21:30:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-04-11 21:30:04] Production.ERROR: CronJob ID - 10
[2025-04-11 21:30:04] Production.ERROR: CronJob Last Run Time 2025-04-11 21:30:00
[2025-04-11 21:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-11 21:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-11 21:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-11 21:30:04] Production.ERROR: CronJob PID - 19109
[2025-04-11 21:30:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-04-11 21:30:04] Production.ERROR: CronJob ID - 16
[2025-04-11 21:30:04] Production.ERROR: CronJob Last Run Time 2025-04-11 21:30:00
[2025-04-11 21:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-11 21:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-11 21:30:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-11 21:30:04] Production.INFO: ==19099== Releasing lock...
[2025-04-11 21:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-11 21:30:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-11 21:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 21:30:04] Production.INFO: ==19101== Lock acquired, processing the job...
[2025-04-11 21:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 21:30:04] Production.INFO: ==19107== Lock acquired, processing the job...
[2025-04-11 21:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 21:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 21:30:04] Production.INFO: ==19111== Lock acquired, processing the job...
[2025-04-11 21:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-11 21:30:04] Production.INFO: ==19113== Lock acquired, processing the job...
[2025-04-11 21:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 21:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 21:30:04] Production.ERROR: done
[2025-04-11 21:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 21:30:04] Production.INFO: Account Balance Start.
[2025-04-11 21:30:04] Production.INFO: CreateAllLog Start
[2025-04-11 21:30:04] Production.INFO: 117
[2025-04-11 21:30:04] Production.INFO: Date 2025-04-08
[2025-04-11 21:30:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:30:04] Production.ERROR: done
[2025-04-11 21:30:04] Production.ERROR: done
[2025-04-11 21:30:04] Production.INFO: Date 2025-04-09
[2025-04-11 21:30:04] Production.INFO: Reseller ==> 0
[2025-04-11 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-11 21:30:04] Production.INFO: Date 2025-04-10
[2025-04-11 21:30:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:30:04] Production.INFO: count ==12
[2025-04-11 21:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 21:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-11 21:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14886979', 'tblTempUsageDetail_20reseller','2025-04-11','2025-04-11','1' ) start
[2025-04-11 21:30:04] Production.INFO: count ==23
[2025-04-11 21:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886977') start
[2025-04-11 21:30:04] Production.INFO: Date 2025-04-11
[2025-04-11 21:30:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:30:04] Production.INFO: Total Charge 0
[2025-04-11 21:30:04] Production.INFO: CreateAllLog End
[2025-04-11 21:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886977') end
[2025-04-11 21:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 21:30:04] Production.INFO: 1
[2025-04-11 21:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 21:30:04] Production.INFO: ==19113== Releasing lock...
[2025-04-11 21:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 21:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 21:30:04] Production.INFO: Account Balance End.
[2025-04-11 21:30:05] Production.ERROR: CronJobId end 12
[2025-04-11 21:30:05] Production.INFO: ==19107== Releasing lock...
[2025-04-11 21:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 21:30:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 21:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 18:30:06
[end_date_ymd] => 2025-04-11 21:30:06
[RateCDR] => 1
)
[2025-04-11 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-11 18:30:06' and `end` < '2025-04-11 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-11 21:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14886979', 'tblTempUsageDetail_20reseller','2025-04-11','2025-04-11','1' ) end
[2025-04-11 21:30:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-11 21:30:09] Production.INFO: ProcessCDR(1,14886979,1,1,2)
[2025-04-11 21:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14886979,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14886979,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 21:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 21:30:09] Production.INFO: ==19111== Releasing lock...
[2025-04-11 21:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-11 21:30:09] Production.INFO: 26 MB #Memory Used#
[2025-04-11 21:30:15] Production.ERROR: CronJobId end10
[2025-04-11 21:30:15] Production.INFO: ==19105== Releasing lock...
[2025-04-11 21:30:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 21:30:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 21:30:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 21:30:17] Production.INFO: ============== Balance Warning START===========
[2025-04-11 21:30:17] Production.INFO: ============== Balance Warning END===========
[2025-04-11 21:30:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 21:30:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 21:30:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 21:30:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 21:30:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 21:30:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 21:30:17] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 21:30:17] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 21:30:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 21:30:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 21:30:17] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 21:30:17] Production.INFO: call_cost start
[2025-04-11 21:30:17] Production.INFO: call_cost end
[2025-04-11 21:30:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 21:30:18] Production.INFO: ============== Report Schedule START===========
[2025-04-11 21:30:18] Production.INFO: ============== Report Schedule END===========
[2025-04-11 21:30:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 21:30:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 21:30:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 21:30:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 21:30:18] Production.INFO: ============== Deal alert START===========
[2025-04-11 21:30:18] Production.INFO: ============== Deal alert END===========
[2025-04-11 21:30:18] Production.INFO: ==19101== Releasing lock...
[2025-04-11 21:30:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 21:30:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 21:30:19] Production.INFO: count ==1463
[2025-04-11 21:30:19] Production.ERROR: pbx CDR StartTime 2025-04-11 18:30:06 - End Time 2025-04-11 21:30:06
[2025-04-11 21:30:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 21:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886978', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886978', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886978', 'tblTempVendorCDR_20' ) start
[2025-04-11 21:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886978', 'tblTempVendorCDR_20' ) end
[2025-04-11 21:30:19] Production.INFO: ProcessCDR(1,14886978,1,1,2)
[2025-04-11 21:30:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886978,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:30:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886978,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:30:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886978,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:30:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886978,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886978', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886978', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:30:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 21:30:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 21:30:22] Production.INFO: ==19109== Releasing lock...
[2025-04-11 21:30:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 21:30:22] Production.INFO: 38.5 MB #Memory Used#
[2025-04-12 02:31:02] Production.INFO: ==19166== Lock acquired, processing the job...
[2025-04-12 02:31:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 02:31:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 02:31:02] Production.INFO: neon service started
[2025-04-12 02:31:02] Production.INFO: neon service started
[2025-04-12 02:31:02] Production.INFO: ==19166== Releasing lock...
[2025-04-12 02:31:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 02:31:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 21:31:02] Production.INFO: ==19168== Lock acquired, processing the job...
[2025-04-11 21:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 21:31:02] Production.INFO: ==19168== Releasing lock...
[2025-04-11 21:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 21:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 01:31:02] Production.INFO: ==19170== Lock acquired, processing the job...
[2025-04-12 01:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 01:31:03] Production.INFO: ==19170== Releasing lock...
[2025-04-12 01:31:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 01:31:03] Production.INFO: 25 MB #Memory Used#
[2025-04-11 21:31:04] Production.INFO: ==19173== Lock acquired, processing the job...
[2025-04-11 21:31:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 21:31:04] Production.INFO: ==19181== Lock acquired, processing the job...
[2025-04-11 21:31:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 21:31:04] Production.INFO: ==19183== Lock acquired, processing the job...
[2025-04-11 21:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 21:31:04] Production.INFO: ==19175== Lock acquired, processing the job...
[2025-04-11 21:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 21:31:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 21:31:04] Production.INFO: ==19177== Lock acquired, processing the job...
[2025-04-11 21:31:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 21:31:04] Production.INFO: ==19179== Lock acquired, processing the job...
[2025-04-11 21:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 21:31:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 21:31:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 21:31:04] Production.INFO: count ==12
[2025-04-11 21:31:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 21:31:04] Production.INFO: count ==23
[2025-04-11 21:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886980') start
[2025-04-11 21:31:04] Production.INFO: Account Balance Start.
[2025-04-11 21:31:04] Production.INFO: CreateAllLog Start
[2025-04-11 21:31:04] Production.INFO: 117
[2025-04-11 21:31:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 21:31:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 21:31:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 21:31:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 21:31:04] Production.INFO: Date 2025-04-08
[2025-04-11 21:31:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886980') end
[2025-04-11 21:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 21:31:04] Production.INFO: 1
[2025-04-11 21:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 21:31:04] Production.INFO: Date 2025-04-09
[2025-04-11 21:31:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:31:04] Production.INFO: Date 2025-04-10
[2025-04-11 21:31:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:31:04] Production.INFO: Date 2025-04-11
[2025-04-11 21:31:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:31:04] Production.INFO: ==19183== Releasing lock...
[2025-04-11 21:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 21:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 21:31:04] Production.ERROR: done
[2025-04-11 21:31:04] Production.INFO: Total Charge 0
[2025-04-11 21:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 21:31:04] Production.INFO: CreateAllLog End
[2025-04-11 21:31:04] Production.INFO: ==19175== Releasing lock...
[2025-04-11 21:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 21:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 21:31:04] Production.ERROR: done
[2025-04-11 21:31:04] Production.INFO: Account Balance End.
[2025-04-11 21:31:05] Production.ERROR: CronJobId end 12
[2025-04-11 21:31:05] Production.INFO: ==19179== Releasing lock...
[2025-04-11 21:31:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 21:31:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 21:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 18:31:05
[end_date_ymd] => 2025-04-11 21:31:05
[RateCDR] => 1
)
[2025-04-11 21:31:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 18:31:05' and `end` < '2025-04-11 21:31:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 21:31:12] Production.ERROR: CronJobId end10
[2025-04-11 21:31:12] Production.INFO: ==19177== Releasing lock...
[2025-04-11 21:31:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 21:31:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 21:31:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 21:31:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 21:31:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 21:31:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 21:31:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 21:31:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 21:31:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 21:31:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 21:31:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 21:31:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 21:31:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 21:31:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 21:31:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 21:31:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 21:31:15] Production.INFO: call_cost start
[2025-04-11 21:31:15] Production.INFO: call_cost end
[2025-04-11 21:31:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 21:31:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 21:31:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 21:31:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 21:31:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 21:31:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 21:31:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 21:31:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 21:31:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 21:31:16] Production.INFO: ==19173== Releasing lock...
[2025-04-11 21:31:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 21:31:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 21:31:18] Production.INFO: count ==1447
[2025-04-11 21:31:18] Production.ERROR: pbx CDR StartTime 2025-04-11 18:31:05 - End Time 2025-04-11 21:31:05
[2025-04-11 21:31:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 21:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886984', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886984', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886984', 'tblTempVendorCDR_20' ) start
[2025-04-11 21:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886984', 'tblTempVendorCDR_20' ) end
[2025-04-11 21:31:18] Production.INFO: ProcessCDR(1,14886984,1,1,2)
[2025-04-11 21:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886984,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:31:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886984,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:31:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886984,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:31:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886984,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886984', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886984', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:31:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 21:31:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 21:31:22] Production.INFO: ==19181== Releasing lock...
[2025-04-11 21:31:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 21:31:22] Production.INFO: 38.5 MB #Memory Used#
[2025-04-12 02:32:01] Production.INFO: ==19279== Lock acquired, processing the job...
[2025-04-12 02:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 02:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 02:32:01] Production.INFO: neon service started
[2025-04-12 02:32:01] Production.INFO: neon service started
[2025-04-12 02:32:01] Production.INFO: ==19279== Releasing lock...
[2025-04-12 02:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 02:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 21:32:02] Production.INFO: ==19281== Lock acquired, processing the job...
[2025-04-11 21:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 21:32:02] Production.INFO: ==19281== Releasing lock...
[2025-04-11 21:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 21:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 01:32:02] Production.INFO: ==19283== Lock acquired, processing the job...
[2025-04-12 01:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 01:32:02] Production.INFO: ==19283== Releasing lock...
[2025-04-12 01:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 01:32:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 21:32:03] Production.INFO: ==19292== Lock acquired, processing the job...
[2025-04-11 21:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 21:32:03] Production.INFO: ==19296== Lock acquired, processing the job...
[2025-04-11 21:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 21:32:03] Production.INFO: Account Balance Start.
[2025-04-11 21:32:03] Production.INFO: CreateAllLog Start
[2025-04-11 21:32:03] Production.INFO: 117
[2025-04-11 21:32:03] Production.INFO: Date 2025-04-08
[2025-04-11 21:32:03] Production.INFO: Reseller ==> 0
[2025-04-11 21:32:03] Production.INFO: ==19288== Lock acquired, processing the job...
[2025-04-11 21:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 21:32:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 21:32:03] Production.INFO: Date 2025-04-09
[2025-04-11 21:32:03] Production.INFO: Reseller ==> 0
[2025-04-11 21:32:03] Production.INFO: ==19286== Lock acquired, processing the job...
[2025-04-11 21:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 21:32:03] Production.INFO: ==19290== Lock acquired, processing the job...
[2025-04-11 21:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 21:32:03] Production.INFO: count ==12
[2025-04-11 21:32:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 21:32:03] Production.INFO: count ==23
[2025-04-11 21:32:03] Production.INFO: Date 2025-04-10
[2025-04-11 21:32:03] Production.INFO: Reseller ==> 0
[2025-04-11 21:32:03] Production.INFO: ==19294== Lock acquired, processing the job...
[2025-04-11 21:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 21:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14886986') start
[2025-04-11 21:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 21:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 21:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 21:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 21:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 21:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 21:32:03] Production.INFO: Date 2025-04-11
[2025-04-11 21:32:03] Production.INFO: Reseller ==> 0
[2025-04-11 21:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14886986') end
[2025-04-11 21:32:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 21:32:03] Production.INFO: 1
[2025-04-11 21:32:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 21:32:03] Production.INFO: Total Charge 0
[2025-04-11 21:32:03] Production.INFO: CreateAllLog End
[2025-04-11 21:32:03] Production.INFO: ==19296== Releasing lock...
[2025-04-11 21:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 21:32:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 21:32:04] Production.INFO: Account Balance End.
[2025-04-11 21:32:04] Production.INFO: ==19288== Releasing lock...
[2025-04-11 21:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 21:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 21:32:04] Production.ERROR: CronJobId end 12
[2025-04-11 21:32:04] Production.INFO: ==19292== Releasing lock...
[2025-04-11 21:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 21:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 21:32:04] Production.ERROR: done
[2025-04-11 21:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 21:32:04] Production.ERROR: done
[2025-04-11 21:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 18:32:05
[end_date_ymd] => 2025-04-11 21:32:05
[RateCDR] => 1
)
[2025-04-11 21:32:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 18:32:05' and `end` < '2025-04-11 21:32:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 21:32:13] Production.ERROR: CronJobId end10
[2025-04-11 21:32:13] Production.INFO: ==19290== Releasing lock...
[2025-04-11 21:32:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 21:32:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 21:32:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 21:32:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 21:32:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 21:32:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 21:32:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 21:32:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 21:32:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 21:32:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 21:32:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 21:32:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 21:32:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 21:32:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 21:32:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 21:32:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 21:32:15] Production.INFO: call_cost start
[2025-04-11 21:32:15] Production.INFO: call_cost end
[2025-04-11 21:32:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 21:32:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 21:32:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 21:32:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 21:32:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 21:32:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 21:32:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 21:32:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 21:32:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 21:32:16] Production.INFO: ==19286== Releasing lock...
[2025-04-11 21:32:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 21:32:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 21:32:18] Production.INFO: count ==1449
[2025-04-11 21:32:18] Production.ERROR: pbx CDR StartTime 2025-04-11 18:32:05 - End Time 2025-04-11 21:32:05
[2025-04-11 21:32:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 21:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886989', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886989', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886989', 'tblTempVendorCDR_20' ) start
[2025-04-11 21:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886989', 'tblTempVendorCDR_20' ) end
[2025-04-11 21:32:18] Production.INFO: ProcessCDR(1,14886989,1,1,2)
[2025-04-11 21:32:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886989,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:32:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886989,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:32:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886989,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:32:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886989,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886989', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886989', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:32:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 21:32:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 21:32:22] Production.INFO: ==19294== Releasing lock...
[2025-04-11 21:32:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 21:32:22] Production.INFO: 38.5 MB #Memory Used#
[2025-04-12 02:33:02] Production.INFO: ==19353== Lock acquired, processing the job...
[2025-04-12 02:33:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 02:33:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 02:33:02] Production.INFO: neon service started
[2025-04-12 02:33:02] Production.INFO: neon service started
[2025-04-12 02:33:02] Production.INFO: ==19353== Releasing lock...
[2025-04-12 02:33:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 02:33:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 21:33:02] Production.INFO: ==19355== Lock acquired, processing the job...
[2025-04-11 21:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 21:33:02] Production.INFO: ==19355== Releasing lock...
[2025-04-11 21:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 21:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 01:33:02] Production.INFO: ==19357== Lock acquired, processing the job...
[2025-04-12 01:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 01:33:03] Production.INFO: ==19357== Releasing lock...
[2025-04-12 01:33:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 01:33:03] Production.INFO: 25 MB #Memory Used#
[2025-04-11 21:33:03] Production.INFO: ==19364== Lock acquired, processing the job...
[2025-04-11 21:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 21:33:03] Production.INFO: ==19360== Lock acquired, processing the job...
[2025-04-11 21:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 21:33:03] Production.INFO: ==19368== Lock acquired, processing the job...
[2025-04-11 21:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 21:33:03] Production.INFO: ==19362== Lock acquired, processing the job...
[2025-04-11 21:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 21:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 21:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 21:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 21:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 21:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 21:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 21:33:04] Production.INFO: ==19366== Lock acquired, processing the job...
[2025-04-11 21:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 21:33:04] Production.INFO: ==19370== Lock acquired, processing the job...
[2025-04-11 21:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 21:33:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 21:33:04] Production.INFO: Account Balance Start.
[2025-04-11 21:33:04] Production.INFO: CreateAllLog Start
[2025-04-11 21:33:04] Production.INFO: 117
[2025-04-11 21:33:04] Production.INFO: count ==12
[2025-04-11 21:33:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 21:33:04] Production.INFO: count ==23
[2025-04-11 21:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886992') start
[2025-04-11 21:33:04] Production.INFO: Date 2025-04-08
[2025-04-11 21:33:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:33:04] Production.INFO: ==19362== Releasing lock...
[2025-04-11 21:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 21:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 21:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886992') end
[2025-04-11 21:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 21:33:04] Production.INFO: 1
[2025-04-11 21:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 21:33:04] Production.ERROR: done
[2025-04-11 21:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 21:33:04] Production.INFO: Date 2025-04-09
[2025-04-11 21:33:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:33:04] Production.INFO: ==19370== Releasing lock...
[2025-04-11 21:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 21:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 21:33:04] Production.INFO: Date 2025-04-10
[2025-04-11 21:33:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:33:04] Production.INFO: Date 2025-04-11
[2025-04-11 21:33:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:33:04] Production.INFO: Total Charge 0
[2025-04-11 21:33:04] Production.INFO: CreateAllLog End
[2025-04-11 21:33:04] Production.ERROR: done
[2025-04-11 21:33:05] Production.INFO: Account Balance End.
[2025-04-11 21:33:05] Production.ERROR: CronJobId end 12
[2025-04-11 21:33:05] Production.INFO: ==19366== Releasing lock...
[2025-04-11 21:33:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 21:33:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 21:33:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 18:33:06
[end_date_ymd] => 2025-04-11 21:33:06
[RateCDR] => 1
)
[2025-04-11 21:33:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 18:33:06' and `end` < '2025-04-11 21:33:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 21:33:14] Production.ERROR: CronJobId end10
[2025-04-11 21:33:14] Production.INFO: ==19364== Releasing lock...
[2025-04-11 21:33:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 21:33:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 21:33:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 21:33:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 21:33:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 21:33:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 21:33:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 21:33:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 21:33:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 21:33:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 21:33:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 21:33:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 21:33:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 21:33:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 21:33:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 21:33:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 21:33:15] Production.INFO: call_cost start
[2025-04-11 21:33:15] Production.INFO: call_cost end
[2025-04-11 21:33:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 21:33:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 21:33:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 21:33:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 21:33:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 21:33:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 21:33:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 21:33:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 21:33:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 21:33:16] Production.INFO: ==19360== Releasing lock...
[2025-04-11 21:33:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 21:33:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 21:33:19] Production.INFO: count ==1448
[2025-04-11 21:33:19] Production.ERROR: pbx CDR StartTime 2025-04-11 18:33:06 - End Time 2025-04-11 21:33:06
[2025-04-11 21:33:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 21:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886994', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886994', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886994', 'tblTempVendorCDR_20' ) start
[2025-04-11 21:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886994', 'tblTempVendorCDR_20' ) end
[2025-04-11 21:33:19] Production.INFO: ProcessCDR(1,14886994,1,1,2)
[2025-04-11 21:33:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886994,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:33:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886994,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:33:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886994,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:33:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886994,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:33:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886994', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:33:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886994', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:33:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 21:33:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 21:33:23] Production.INFO: ==19368== Releasing lock...
[2025-04-11 21:33:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 21:33:23] Production.INFO: 38.5 MB #Memory Used#
[2025-04-12 02:34:01] Production.INFO: ==19426== Lock acquired, processing the job...
[2025-04-12 02:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 02:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 02:34:01] Production.INFO: neon service started
[2025-04-12 02:34:01] Production.INFO: neon service started
[2025-04-12 02:34:01] Production.INFO: ==19426== Releasing lock...
[2025-04-12 02:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 02:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 21:34:02] Production.INFO: ==19428== Lock acquired, processing the job...
[2025-04-11 21:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 21:34:02] Production.INFO: ==19428== Releasing lock...
[2025-04-11 21:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 21:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 01:34:02] Production.INFO: ==19430== Lock acquired, processing the job...
[2025-04-12 01:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 01:34:02] Production.INFO: ==19430== Releasing lock...
[2025-04-12 01:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 01:34:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 21:34:03] Production.INFO: ==19436== Lock acquired, processing the job...
[2025-04-11 21:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 21:34:03] Production.INFO: ==19440== Lock acquired, processing the job...
[2025-04-11 21:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 21:34:03] Production.INFO: ==19434== Lock acquired, processing the job...
[2025-04-11 21:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 21:34:03] Production.INFO: ==19432== Lock acquired, processing the job...
[2025-04-11 21:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 21:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 21:34:03] Production.INFO: ==19438== Lock acquired, processing the job...
[2025-04-11 21:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 21:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 21:34:03] Production.INFO: ==19442== Lock acquired, processing the job...
[2025-04-11 21:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 21:34:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 21:34:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 21:34:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 21:34:04] Production.INFO: Account Balance Start.
[2025-04-11 21:34:04] Production.INFO: CreateAllLog Start
[2025-04-11 21:34:04] Production.INFO: 117
[2025-04-11 21:34:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 21:34:04] Production.INFO: ==19434== Releasing lock...
[2025-04-11 21:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 21:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 21:34:04] Production.INFO: Date 2025-04-08
[2025-04-11 21:34:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 21:34:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:34:04] Production.INFO: count ==12
[2025-04-11 21:34:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 21:34:04] Production.INFO: count ==23
[2025-04-11 21:34:04] Production.INFO: Date 2025-04-09
[2025-04-11 21:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886997') start
[2025-04-11 21:34:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:34:04] Production.ERROR: done
[2025-04-11 21:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 21:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14886997') end
[2025-04-11 21:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 21:34:04] Production.INFO: 1
[2025-04-11 21:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 21:34:04] Production.INFO: Date 2025-04-10
[2025-04-11 21:34:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:34:04] Production.INFO: ==19442== Releasing lock...
[2025-04-11 21:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 21:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 21:34:04] Production.ERROR: done
[2025-04-11 21:34:04] Production.INFO: Date 2025-04-11
[2025-04-11 21:34:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:34:04] Production.INFO: Total Charge 0
[2025-04-11 21:34:04] Production.INFO: CreateAllLog End
[2025-04-11 21:34:04] Production.INFO: Account Balance End.
[2025-04-11 21:34:04] Production.ERROR: CronJobId end 12
[2025-04-11 21:34:04] Production.INFO: ==19438== Releasing lock...
[2025-04-11 21:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 21:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 21:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 18:34:05
[end_date_ymd] => 2025-04-11 21:34:05
[RateCDR] => 1
)
[2025-04-11 21:34:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 18:34:05' and `end` < '2025-04-11 21:34:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 21:34:12] Production.ERROR: CronJobId end10
[2025-04-11 21:34:12] Production.INFO: ==19436== Releasing lock...
[2025-04-11 21:34:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 21:34:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 21:34:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 21:34:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 21:34:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 21:34:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 21:34:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 21:34:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 21:34:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 21:34:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 21:34:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 21:34:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 21:34:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 21:34:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 21:34:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 21:34:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 21:34:15] Production.INFO: call_cost start
[2025-04-11 21:34:15] Production.INFO: call_cost end
[2025-04-11 21:34:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 21:34:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 21:34:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 21:34:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 21:34:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 21:34:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 21:34:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 21:34:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 21:34:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 21:34:16] Production.INFO: ==19432== Releasing lock...
[2025-04-11 21:34:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 21:34:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 21:34:18] Production.INFO: count ==1447
[2025-04-11 21:34:18] Production.ERROR: pbx CDR StartTime 2025-04-11 18:34:05 - End Time 2025-04-11 21:34:05
[2025-04-11 21:34:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 21:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886999', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14886999', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886999', 'tblTempVendorCDR_20' ) start
[2025-04-11 21:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14886999', 'tblTempVendorCDR_20' ) end
[2025-04-11 21:34:18] Production.INFO: ProcessCDR(1,14886999,1,1,2)
[2025-04-11 21:34:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14886999,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:34:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14886999,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:34:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14886999,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:34:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14886999,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:34:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886999', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:34:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14886999', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:34:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 21:34:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 21:34:23] Production.INFO: ==19440== Releasing lock...
[2025-04-11 21:34:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 21:34:23] Production.INFO: 38.5 MB #Memory Used#
[2025-04-12 02:35:02] Production.INFO: ==19506== Lock acquired, processing the job...
[2025-04-12 02:35:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 02:35:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 02:35:02] Production.INFO: neon service started
[2025-04-12 02:35:02] Production.INFO: neon service started
[2025-04-12 02:35:02] Production.INFO: ==19506== Releasing lock...
[2025-04-12 02:35:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 02:35:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 01:35:02] Production.INFO: ==19510== Lock acquired, processing the job...
[2025-04-12 01:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 01:35:02] Production.INFO: ==19510== Releasing lock...
[2025-04-12 01:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 01:35:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 21:35:02] Production.INFO: ==19508== Lock acquired, processing the job...
[2025-04-11 21:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 21:35:03] Production.INFO: ==19508== Releasing lock...
[2025-04-11 21:35:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 21:35:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 21:35:04] Production.INFO: ==19519== Lock acquired, processing the job...
[2025-04-11 21:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 21:35:04] Production.INFO: ==19521== Lock acquired, processing the job...
[2025-04-11 21:35:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 21:35:04] Production.INFO: Account Balance Start.
[2025-04-11 21:35:04] Production.INFO: CreateAllLog Start
[2025-04-11 21:35:04] Production.INFO: 117
[2025-04-11 21:35:04] Production.INFO: Date 2025-04-08
[2025-04-11 21:35:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:35:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 21:35:04] Production.INFO: Date 2025-04-09
[2025-04-11 21:35:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:35:04] Production.INFO: Date 2025-04-10
[2025-04-11 21:35:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:35:04] Production.INFO: Date 2025-04-11
[2025-04-11 21:35:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:35:04] Production.INFO: Total Charge 0
[2025-04-11 21:35:04] Production.INFO: CreateAllLog End
[2025-04-11 21:35:04] Production.INFO: ==19513== Lock acquired, processing the job...
[2025-04-11 21:35:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 21:35:04] Production.INFO: ==19515== Lock acquired, processing the job...
[2025-04-11 21:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 21:35:04] Production.INFO: ==19517== Lock acquired, processing the job...
[2025-04-11 21:35:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 21:35:04] Production.INFO: ==19523== Lock acquired, processing the job...
[2025-04-11 21:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 21:35:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 21:35:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 21:35:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 21:35:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 21:35:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 21:35:04] Production.ERROR: done
[2025-04-11 21:35:04] Production.INFO: ==19515== Releasing lock...
[2025-04-11 21:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 21:35:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 21:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 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-11 21:35:05] Production.INFO: Account Balance End.
[2025-04-11 21:35:05] Production.INFO: count ==12
[2025-04-11 21:35: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-11 21:35:05] Production.INFO: count ==23
[2025-04-11 21:35:05] Production.ERROR: PBX CALL prc_importPBXExtension('14887003') start
[2025-04-11 21:35:05] Production.ERROR: CronJobId end 12
[2025-04-11 21:35:05] Production.INFO: ==19519== Releasing lock...
[2025-04-11 21:35:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 21:35:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 21:35:05] Production.ERROR: done
[2025-04-11 21:35:05] Production.ERROR: PBX CALL prc_importPBXExtension('14887003') end
[2025-04-11 21:35:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 21:35:05] Production.INFO: 1
[2025-04-11 21:35:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 21:35:05] Production.INFO: ==19523== Releasing lock...
[2025-04-11 21:35:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 21:35:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 21:35:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 18:35:06
[end_date_ymd] => 2025-04-11 21:35:06
[RateCDR] => 1
)
[2025-04-11 21:35:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 18:35:06' and `end` < '2025-04-11 21:35:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 21:35:14] Production.ERROR: CronJobId end10
[2025-04-11 21:35:14] Production.INFO: ==19517== Releasing lock...
[2025-04-11 21:35:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 21:35:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 21:35:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 21:35:16] Production.INFO: ============== Balance Warning START===========
[2025-04-11 21:35:16] Production.INFO: ============== Balance Warning END===========
[2025-04-11 21:35:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 21:35:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 21:35:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 21:35:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 21:35:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 21:35:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 21:35:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 21:35:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 21:35:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 21:35:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 21:35:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 21:35:17] Production.INFO: call_cost start
[2025-04-11 21:35:17] Production.INFO: call_cost end
[2025-04-11 21:35:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 21:35:18] Production.INFO: ============== Report Schedule START===========
[2025-04-11 21:35:18] Production.INFO: ============== Report Schedule END===========
[2025-04-11 21:35:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 21:35:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 21:35:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 21:35:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 21:35:18] Production.INFO: ============== Deal alert START===========
[2025-04-11 21:35:18] Production.INFO: ============== Deal alert END===========
[2025-04-11 21:35:18] Production.INFO: ==19513== Releasing lock...
[2025-04-11 21:35:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 21:35:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 21:35:19] Production.INFO: count ==1446
[2025-04-11 21:35:19] Production.ERROR: pbx CDR StartTime 2025-04-11 18:35:06 - End Time 2025-04-11 21:35:06
[2025-04-11 21:35:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 21:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887004', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887004', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887004', 'tblTempVendorCDR_20' ) start
[2025-04-11 21:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887004', 'tblTempVendorCDR_20' ) end
[2025-04-11 21:35:19] Production.INFO: ProcessCDR(1,14887004,1,1,2)
[2025-04-11 21:35:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887004,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:35:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887004,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:35:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887004,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:35:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887004,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:35:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887004', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:35:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887004', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:35:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 21:35:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 21:35:23] Production.INFO: ==19521== Releasing lock...
[2025-04-11 21:35:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 21:35:23] Production.INFO: 38.5 MB #Memory Used#
[2025-04-12 02:36:01] Production.INFO: ==19581== Lock acquired, processing the job...
[2025-04-12 02:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 02:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 02:36:01] Production.INFO: neon service started
[2025-04-12 02:36:01] Production.INFO: neon service started
[2025-04-12 02:36:01] Production.INFO: ==19581== Releasing lock...
[2025-04-12 02:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 02:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 21:36:02] Production.INFO: ==19583== Lock acquired, processing the job...
[2025-04-11 21:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 01:36:02] Production.INFO: ==19585== Lock acquired, processing the job...
[2025-04-12 01:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 01:36:02] Production.INFO: ==19585== Releasing lock...
[2025-04-12 01:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 01:36:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 21:36:02] Production.INFO: ==19583== Releasing lock...
[2025-04-11 21:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 21:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 21:36:03] Production.INFO: ==19596== Lock acquired, processing the job...
[2025-04-11 21:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 21:36:03] Production.INFO: ==19594== Lock acquired, processing the job...
[2025-04-11 21:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 21:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 21:36:03] Production.INFO: Account Balance Start.
[2025-04-11 21:36:03] Production.INFO: CreateAllLog Start
[2025-04-11 21:36:03] Production.INFO: 117
[2025-04-11 21:36:03] Production.INFO: Date 2025-04-08
[2025-04-11 21:36:03] Production.INFO: ==19588== Lock acquired, processing the job...
[2025-04-11 21:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 21:36:03] Production.INFO: Reseller ==> 0
[2025-04-11 21:36:03] Production.INFO: ==19590== Lock acquired, processing the job...
[2025-04-11 21:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 21:36:03] Production.INFO: ==19592== Lock acquired, processing the job...
[2025-04-11 21:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 21:36:03] Production.INFO: Date 2025-04-09
[2025-04-11 21:36:03] Production.INFO: Reseller ==> 0
[2025-04-11 21:36:04] Production.INFO: ==19598== Lock acquired, processing the job...
[2025-04-11 21:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 21:36:04] Production.INFO: Date 2025-04-10
[2025-04-11 21:36:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:36:04] Production.INFO: Date 2025-04-11
[2025-04-11 21:36:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:36:04] Production.ERROR: done
[2025-04-11 21:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 21:36:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 21:36:04] Production.INFO: Total Charge 0
[2025-04-11 21:36:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 21:36:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 21:36:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 21:36:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 21:36:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 21:36:04] Production.INFO: CreateAllLog End
[2025-04-11 21:36:04] Production.INFO: count ==12
[2025-04-11 21:36:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 21:36:04] Production.INFO: count ==23
[2025-04-11 21:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887006') start
[2025-04-11 21:36:04] Production.ERROR: done
[2025-04-11 21:36:04] Production.INFO: Account Balance End.
[2025-04-11 21:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887006') end
[2025-04-11 21:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 21:36:04] Production.INFO: 1
[2025-04-11 21:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 21:36:04] Production.INFO: ==19590== Releasing lock...
[2025-04-11 21:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 21:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 21:36:04] Production.INFO: ==19598== Releasing lock...
[2025-04-11 21:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 21:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 21:36:04] Production.ERROR: CronJobId end 12
[2025-04-11 21:36:04] Production.INFO: ==19594== Releasing lock...
[2025-04-11 21:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 21:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 21:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 18:36:05
[end_date_ymd] => 2025-04-11 21:36:05
[RateCDR] => 1
)
[2025-04-11 21:36:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 18:36:05' and `end` < '2025-04-11 21:36:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 21:36:12] Production.ERROR: CronJobId end10
[2025-04-11 21:36:12] Production.INFO: ==19592== Releasing lock...
[2025-04-11 21:36:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 21:36:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 21:36:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 21:36:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 21:36:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 21:36:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 21:36:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 21:36:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 21:36:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 21:36:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 21:36:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 21:36:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 21:36:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 21:36:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 21:36:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 21:36:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 21:36:14] Production.INFO: call_cost start
[2025-04-11 21:36:14] Production.INFO: call_cost end
[2025-04-11 21:36:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 21:36:15] Production.INFO: ============== Report Schedule START===========
[2025-04-11 21:36:15] Production.INFO: ============== Report Schedule END===========
[2025-04-11 21:36:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 21:36:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 21:36:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 21:36:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 21:36:15] Production.INFO: ============== Deal alert START===========
[2025-04-11 21:36:15] Production.INFO: ============== Deal alert END===========
[2025-04-11 21:36:15] Production.INFO: ==19588== Releasing lock...
[2025-04-11 21:36:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 21:36:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 21:36:18] Production.INFO: count ==1445
[2025-04-11 21:36:18] Production.ERROR: pbx CDR StartTime 2025-04-11 18:36:05 - End Time 2025-04-11 21:36:05
[2025-04-11 21:36:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 21:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887009', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887009', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887009', 'tblTempVendorCDR_20' ) start
[2025-04-11 21:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887009', 'tblTempVendorCDR_20' ) end
[2025-04-11 21:36:18] Production.INFO: ProcessCDR(1,14887009,1,1,2)
[2025-04-11 21:36:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887009,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:36:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887009,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:36:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887009,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:36:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887009,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887009', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887009', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:36:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 21:36:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 21:36:22] Production.INFO: ==19596== Releasing lock...
[2025-04-11 21:36:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 21:36:22] Production.INFO: 38.5 MB #Memory Used#
[2025-04-12 02:37:01] Production.INFO: ==19656== Lock acquired, processing the job...
[2025-04-12 02:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 02:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 02:37:01] Production.INFO: neon service started
[2025-04-12 02:37:01] Production.INFO: neon service started
[2025-04-12 02:37:01] Production.INFO: ==19656== Releasing lock...
[2025-04-12 02:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 02:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 21:37:01] Production.INFO: ==19658== Lock acquired, processing the job...
[2025-04-11 21:37:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 21:37:02] Production.INFO: ==19658== Releasing lock...
[2025-04-11 21:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 21:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 01:37:02] Production.INFO: ==19660== Lock acquired, processing the job...
[2025-04-12 01:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 01:37:02] Production.INFO: ==19660== Releasing lock...
[2025-04-12 01:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 01:37:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 21:37:02] Production.INFO: ==19669== Lock acquired, processing the job...
[2025-04-11 21:37:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 21:37:02] Production.INFO: ==19671== Lock acquired, processing the job...
[2025-04-11 21:37:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 21:37:02] Production.INFO: ==19663== Lock acquired, processing the job...
[2025-04-11 21:37:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 21:37:03] Production.INFO: Account Balance Start.
[2025-04-11 21:37:03] Production.INFO: CreateAllLog Start
[2025-04-11 21:37:03] Production.INFO: 117
[2025-04-11 21:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 21:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 21:37:03] Production.INFO: Date 2025-04-08
[2025-04-11 21:37:03] Production.INFO: Reseller ==> 0
[2025-04-11 21:37:03] Production.INFO: Date 2025-04-09
[2025-04-11 21:37:03] Production.INFO: Reseller ==> 0
[2025-04-11 21:37:03] Production.INFO: Date 2025-04-10
[2025-04-11 21:37:03] Production.INFO: Reseller ==> 0
[2025-04-11 21:37:03] Production.INFO: ==19665== Lock acquired, processing the job...
[2025-04-11 21:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 21:37:03] Production.INFO: Date 2025-04-11
[2025-04-11 21:37:03] Production.INFO: ==19667== Lock acquired, processing the job...
[2025-04-11 21:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 21:37:03] Production.INFO: Reseller ==> 0
[2025-04-11 21:37:03] Production.INFO: ==19673== Lock acquired, processing the job...
[2025-04-11 21:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 21:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 21:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 21:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 21:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 21:37:03] Production.INFO: Total Charge 0
[2025-04-11 21:37:03] Production.INFO: CreateAllLog End
[2025-04-11 21:37:03] Production.ERROR: done
[2025-04-11 21:37:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 21:37:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 21:37:03] Production.INFO: count ==12
[2025-04-11 21:37:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 21:37:03] Production.INFO: count ==23
[2025-04-11 21:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887013') start
[2025-04-11 21:37:03] Production.ERROR: done
[2025-04-11 21:37:03] Production.INFO: Account Balance End.
[2025-04-11 21:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887013') end
[2025-04-11 21:37:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 21:37:03] Production.INFO: 1
[2025-04-11 21:37:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 21:37:03] Production.ERROR: CronJobId end 12
[2025-04-11 21:37:03] Production.INFO: ==19669== Releasing lock...
[2025-04-11 21:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 21:37:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 21:37:03] Production.INFO: ==19665== Releasing lock...
[2025-04-11 21:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 21:37:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 21:37:03] Production.INFO: ==19673== Releasing lock...
[2025-04-11 21:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 21:37:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 21:37:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 18:37:04
[end_date_ymd] => 2025-04-11 21:37:04
[RateCDR] => 1
)
[2025-04-11 21:37:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 18:37:04' and `end` < '2025-04-11 21:37:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 21:37:11] Production.ERROR: CronJobId end10
[2025-04-11 21:37:11] Production.INFO: ==19667== Releasing lock...
[2025-04-11 21:37:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 21:37:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 21:37:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 21:37:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 21:37:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 21:37:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 21:37:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 21:37:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 21:37:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 21:37:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 21:37:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 21:37:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 21:37:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 21:37:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 21:37:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 21:37:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 21:37:14] Production.INFO: call_cost start
[2025-04-11 21:37:14] Production.INFO: call_cost end
[2025-04-11 21:37:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 21:37:15] Production.INFO: ============== Report Schedule START===========
[2025-04-11 21:37:15] Production.INFO: ============== Report Schedule END===========
[2025-04-11 21:37:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 21:37:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 21:37:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 21:37:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 21:37:15] Production.INFO: ============== Deal alert START===========
[2025-04-11 21:37:15] Production.INFO: ============== Deal alert END===========
[2025-04-11 21:37:15] Production.INFO: ==19663== Releasing lock...
[2025-04-11 21:37:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 21:37:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 21:37:17] Production.INFO: count ==1445
[2025-04-11 21:37:17] Production.ERROR: pbx CDR StartTime 2025-04-11 18:37:04 - End Time 2025-04-11 21:37:04
[2025-04-11 21:37:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 21:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887014', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887014', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887014', 'tblTempVendorCDR_20' ) start
[2025-04-11 21:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887014', 'tblTempVendorCDR_20' ) end
[2025-04-11 21:37:17] Production.INFO: ProcessCDR(1,14887014,1,1,2)
[2025-04-11 21:37:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887014,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:37:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887014,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:37:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887014,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:37:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887014,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:37:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887014', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:37:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887014', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:37:20] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 21:37:20] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 21:37:20] Production.INFO: ==19671== Releasing lock...
[2025-04-11 21:37:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 21:37:20] Production.INFO: 38.5 MB #Memory Used#
[2025-04-12 02:38:01] Production.INFO: ==19730== Lock acquired, processing the job...
[2025-04-12 02:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 02:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 02:38:01] Production.INFO: neon service started
[2025-04-12 02:38:01] Production.INFO: neon service started
[2025-04-12 02:38:01] Production.INFO: ==19730== Releasing lock...
[2025-04-12 02:38:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 02:38:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 01:38:02] Production.INFO: ==19735== Lock acquired, processing the job...
[2025-04-12 01:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 01:38:02] Production.INFO: ==19735== Releasing lock...
[2025-04-12 01:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 01:38:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 21:38:02] Production.INFO: ==19733== Lock acquired, processing the job...
[2025-04-11 21:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 21:38:02] Production.INFO: ==19733== Releasing lock...
[2025-04-11 21:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 21:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 21:38:03] Production.INFO: ==19737== Lock acquired, processing the job...
[2025-04-11 21:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 21:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 21:38:03] Production.INFO: ==19741== Lock acquired, processing the job...
[2025-04-11 21:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 21:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 21:38:03] Production.INFO: ==19747== Lock acquired, processing the job...
[2025-04-11 21:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 21:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 21:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 21:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 21: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-11 21:38:04] Production.INFO: count ==12
[2025-04-11 21: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-11 21:38:04] Production.INFO: count ==23
[2025-04-11 21:38:04] Production.INFO: ==19739== Lock acquired, processing the job...
[2025-04-11 21:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 21:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887016') start
[2025-04-11 21:38:04] Production.INFO: ==19743== Lock acquired, processing the job...
[2025-04-11 21:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 21:38:04] Production.INFO: ==19745== Lock acquired, processing the job...
[2025-04-11 21:38:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 21:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887016') end
[2025-04-11 21:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 21:38:04] Production.INFO: 1
[2025-04-11 21:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 21:38:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 21:38:04] Production.INFO: Account Balance Start.
[2025-04-11 21:38:04] Production.INFO: CreateAllLog Start
[2025-04-11 21:38:04] Production.INFO: 117
[2025-04-11 21:38:04] Production.INFO: Date 2025-04-08
[2025-04-11 21:38:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:38:04] Production.INFO: ==19747== Releasing lock...
[2025-04-11 21:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 21:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 21:38:04] Production.INFO: Date 2025-04-09
[2025-04-11 21:38:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:38:04] Production.INFO: Date 2025-04-10
[2025-04-11 21:38:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:38:04] Production.ERROR: done
[2025-04-11 21:38:04] Production.INFO: Date 2025-04-11
[2025-04-11 21:38:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:38:04] Production.INFO: ==19739== Releasing lock...
[2025-04-11 21:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 21:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 21:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 21:38:04] Production.INFO: Total Charge 0
[2025-04-11 21:38:04] Production.INFO: CreateAllLog End
[2025-04-11 21:38:04] Production.ERROR: done
[2025-04-11 21:38:05] Production.INFO: Account Balance End.
[2025-04-11 21:38:05] Production.ERROR: CronJobId end 12
[2025-04-11 21:38:05] Production.INFO: ==19743== Releasing lock...
[2025-04-11 21:38:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 21:38:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 21:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 18:38:05
[end_date_ymd] => 2025-04-11 21:38:05
[RateCDR] => 1
)
[2025-04-11 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-11 18:38:05' and `end` < '2025-04-11 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-11 21:38:13] Production.ERROR: CronJobId end10
[2025-04-11 21:38:13] Production.INFO: ==19741== Releasing lock...
[2025-04-11 21:38:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 21:38:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 21:38:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 21:38:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 21:38:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 21:38:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 21:38:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 21:38:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 21:38:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 21:38:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 21:38:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 21:38:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 21:38:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 21:38:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 21:38:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 21:38:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 21:38:15] Production.INFO: call_cost start
[2025-04-11 21:38:15] Production.INFO: call_cost end
[2025-04-11 21:38:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 21:38:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 21:38:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 21:38:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 21:38:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 21:38:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 21:38:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 21:38:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 21:38:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 21:38:16] Production.INFO: ==19737== Releasing lock...
[2025-04-11 21:38:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 21:38:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 21:38:18] Production.INFO: count ==1443
[2025-04-11 21:38:18] Production.ERROR: pbx CDR StartTime 2025-04-11 18:38:05 - End Time 2025-04-11 21:38:05
[2025-04-11 21:38:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 21:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887019', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887019', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887019', 'tblTempVendorCDR_20' ) start
[2025-04-11 21:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887019', 'tblTempVendorCDR_20' ) end
[2025-04-11 21:38:18] Production.INFO: ProcessCDR(1,14887019,1,1,2)
[2025-04-11 21:38:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887019,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:38:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887019,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:38:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887019,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:38:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887019,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887019', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887019', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:38:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 21:38:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 21:38:22] Production.INFO: ==19745== Releasing lock...
[2025-04-11 21:38:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 21:38:22] Production.INFO: 38.5 MB #Memory Used#
[2025-04-12 02:39:01] Production.INFO: ==19807== Lock acquired, processing the job...
[2025-04-12 02:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 02:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 02:39:01] Production.INFO: neon service started
[2025-04-12 02:39:01] Production.INFO: neon service started
[2025-04-12 02:39:01] Production.INFO: ==19807== Releasing lock...
[2025-04-12 02:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 02:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 01:39:01] Production.INFO: ==19811== Lock acquired, processing the job...
[2025-04-12 01:39:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 01:39:01] Production.INFO: ==19811== Releasing lock...
[2025-04-12 01:39:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 01:39:01] Production.INFO: 25 MB #Memory Used#
[2025-04-11 21:39:02] Production.INFO: ==19809== Lock acquired, processing the job...
[2025-04-11 21:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 21:39:02] Production.INFO: ==19809== Releasing lock...
[2025-04-11 21:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 21:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 21:39:03] Production.INFO: ==19816== Lock acquired, processing the job...
[2025-04-11 21:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 21:39:03] Production.INFO: ==19818== Lock acquired, processing the job...
[2025-04-11 21:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 21:39:03] Production.INFO: ==19820== Lock acquired, processing the job...
[2025-04-11 21:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 21:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 21:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 21:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 21:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 21:39:03] Production.INFO: Account Balance Start.
[2025-04-11 21:39:03] Production.INFO: CreateAllLog Start
[2025-04-11 21:39:03] Production.INFO: 117
[2025-04-11 21:39:03] Production.INFO: Date 2025-04-08
[2025-04-11 21:39:03] Production.INFO: ==19814== Lock acquired, processing the job...
[2025-04-11 21:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 21:39:03] Production.INFO: Reseller ==> 0
[2025-04-11 21:39:03] Production.INFO: Date 2025-04-09
[2025-04-11 21:39:03] Production.INFO: Reseller ==> 0
[2025-04-11 21:39:03] Production.INFO: Date 2025-04-10
[2025-04-11 21:39:03] Production.INFO: Reseller ==> 0
[2025-04-11 21:39:03] Production.INFO: ==19822== Lock acquired, processing the job...
[2025-04-11 21:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 21:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 21:39:03] Production.INFO: Date 2025-04-11
[2025-04-11 21:39:03] Production.INFO: Reseller ==> 0
[2025-04-11 21:39:03] Production.INFO: ==19816== Releasing lock...
[2025-04-11 21:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 21:39:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 21:39:03] Production.INFO: Total Charge 0
[2025-04-11 21:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 21:39:03] Production.INFO: CreateAllLog End
[2025-04-11 21:39:03] Production.INFO: ==19824== Lock acquired, processing the job...
[2025-04-11 21:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 21:39:04] Production.ERROR: done
[2025-04-11 21:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 21:39:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 21:39:04] Production.INFO: count ==12
[2025-04-11 21:39:04] Production.ERROR: done
[2025-04-11 21:39:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 21:39:04] Production.INFO: count ==23
[2025-04-11 21:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887023') start
[2025-04-11 21:39:04] Production.INFO: Account Balance End.
[2025-04-11 21:39:04] Production.ERROR: CronJobId end 12
[2025-04-11 21:39:04] Production.INFO: ==19820== Releasing lock...
[2025-04-11 21:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 21:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 21:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887023') end
[2025-04-11 21:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 21:39:04] Production.INFO: 1
[2025-04-11 21:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 21:39:04] Production.INFO: ==19824== Releasing lock...
[2025-04-11 21:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 21:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 21:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 18:39:05
[end_date_ymd] => 2025-04-11 21:39:05
[RateCDR] => 1
)
[2025-04-11 21:39:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 18:39:05' and `end` < '2025-04-11 21:39:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 21:39:13] Production.ERROR: CronJobId end10
[2025-04-11 21:39:13] Production.INFO: ==19818== Releasing lock...
[2025-04-11 21:39:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 21:39:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 21:39:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 21:39:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 21:39:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 21:39:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 21:39:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 21:39:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 21:39:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 21:39:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 21:39:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 21:39:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 21:39:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 21:39:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 21:39:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 21:39:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 21:39:15] Production.INFO: call_cost start
[2025-04-11 21:39:15] Production.INFO: call_cost end
[2025-04-11 21:39:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 21:39:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 21:39:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 21:39:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 21:39:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 21:39:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 21:39:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 21:39:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 21:39:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 21:39:16] Production.INFO: ==19814== Releasing lock...
[2025-04-11 21:39:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 21:39:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 21:39:18] Production.INFO: count ==1442
[2025-04-11 21:39:18] Production.ERROR: pbx CDR StartTime 2025-04-11 18:39:05 - End Time 2025-04-11 21:39:05
[2025-04-11 21:39:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 21:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887024', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887024', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887024', 'tblTempVendorCDR_20' ) start
[2025-04-11 21:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887024', 'tblTempVendorCDR_20' ) end
[2025-04-11 21:39:18] Production.INFO: ProcessCDR(1,14887024,1,1,2)
[2025-04-11 21:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887024,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:39:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887024,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:39:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887024,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:39:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887024,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887024', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887024', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:39:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 21:39:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 21:39:21] Production.INFO: ==19822== Releasing lock...
[2025-04-11 21:39:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 21:39:21] Production.INFO: 38.5 MB #Memory Used#
[2025-04-12 02:40:02] Production.INFO: ==19885== Lock acquired, processing the job...
[2025-04-12 02:40:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 02:40:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 02:40:02] Production.INFO: neon service started
[2025-04-12 02:40:02] Production.INFO: neon service started
[2025-04-12 02:40:02] Production.INFO: ==19885== Releasing lock...
[2025-04-12 02:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 02:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 21:40:02] Production.INFO: ==19887== Lock acquired, processing the job...
[2025-04-11 21:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 01:40:02] Production.INFO: ==19889== Lock acquired, processing the job...
[2025-04-12 01:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 01:40:03] Production.INFO: ==19889== Releasing lock...
[2025-04-12 01:40:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 01:40:03] Production.INFO: 25 MB #Memory Used#
[2025-04-11 21:40:03] Production.INFO: ==19887== Releasing lock...
[2025-04-11 21:40:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 21:40:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 21:40:04] Production.INFO: ==19892== Lock acquired, processing the job...
[2025-04-11 21:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-11 21:40:04] Production.INFO: ==19894== Lock acquired, processing the job...
[2025-04-11 21:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 21:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-11 21:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-11 21:40:04] Production.ERROR: CronJob PID - 19894
[2025-04-11 21:40:04] Production.ERROR: CronJob Title - System Alerts
[2025-04-11 21:40:04] Production.ERROR: CronJob ID - 5
[2025-04-11 21:40:04] Production.ERROR: CronJob Last Run Time 2025-04-11 21:40:00
[2025-04-11 21:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-11 21:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-11 21:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-11 21:40:04] Production.INFO: ==19892== Releasing lock...
[2025-04-11 21:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-11 21:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-11 21:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 21:40:04] Production.INFO: ==19896== Lock acquired, processing the job...
[2025-04-11 21:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 21:40:04] Production.INFO: ==19902== Lock acquired, processing the job...
[2025-04-11 21:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 21:40:04] Production.INFO: ==19906== Lock acquired, processing the job...
[2025-04-11 21:40:04] Production.INFO: ==19898== Lock acquired, processing the job...
[2025-04-11 21:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 21:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 21:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 21:40:04] Production.INFO: ==19904== Lock acquired, processing the job...
[2025-04-11 21:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-11 21:40:05] Production.INFO: ==19900== Lock acquired, processing the job...
[2025-04-11 21:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 21:40:05] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 21:40:05] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 21:40:05] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 21:40:05] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 21: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-11 21:40:05] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 21:40:05] Production.INFO: count ==12
[2025-04-11 21: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-11 21:40:05] Production.INFO: count ==23
[2025-04-11 21:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14887027') start
[2025-04-11 21:40:05] Production.INFO: Account Balance Start.
[2025-04-11 21:40:05] Production.INFO: CreateAllLog Start
[2025-04-11 21:40:05] Production.INFO: 117
[2025-04-11 21:40:05] Production.INFO: Date 2025-04-08
[2025-04-11 21:40:05] Production.INFO: Reseller ==> 0
[2025-04-11 21:40:05] Production.INFO: Date 2025-04-09
[2025-04-11 21:40:05] Production.INFO: Reseller ==> 0
[2025-04-11 21:40:05] Production.INFO: Date 2025-04-10
[2025-04-11 21:40:05] Production.INFO: Reseller ==> 0
[2025-04-11 21:40:05] Production.INFO: Date 2025-04-11
[2025-04-11 21:40:05] Production.INFO: Reseller ==> 0
[2025-04-11 21:40:05] Production.INFO: ==19896== Releasing lock...
[2025-04-11 21:40:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 21:40:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 21:40:05] Production.INFO: Total Charge 0
[2025-04-11 21:40:05] Production.INFO: CreateAllLog End
[2025-04-11 21:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14887027') end
[2025-04-11 21:40:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 21:40:05] Production.INFO: 1
[2025-04-11 21:40:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 21:40:05] Production.ERROR: done
[2025-04-11 21:40:05] Production.INFO: ==19906== Releasing lock...
[2025-04-11 21:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 21:40:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 21:40:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 21:40:05] Production.ERROR: done
[2025-04-11 21:40:05] Production.ERROR: done
[2025-04-11 21:40:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-11 21:40:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14887029', 'tblTempUsageDetail_20reseller','2025-04-11','2025-04-11','1' ) start
[2025-04-11 21:40:06] Production.INFO: Account Balance End.
[2025-04-11 21:40:06] Production.ERROR: CronJobId end 12
[2025-04-11 21:40:06] Production.INFO: ==19900== Releasing lock...
[2025-04-11 21:40:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 21:40:06] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 21:40:07] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 18:40:07
[end_date_ymd] => 2025-04-11 21:40:07
[RateCDR] => 1
)
[2025-04-11 21: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-11 18:40:07' and `end` < '2025-04-11 21: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-11 21:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14887029', 'tblTempUsageDetail_20reseller','2025-04-11','2025-04-11','1' ) end
[2025-04-11 21:40:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-11 21:40:09] Production.INFO: ProcessCDR(1,14887029,1,1,2)
[2025-04-11 21:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14887029,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14887029,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 21:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 21:40:10] Production.INFO: ==19904== Releasing lock...
[2025-04-11 21:40:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-11 21:40:10] Production.INFO: 26 MB #Memory Used#
[2025-04-11 21:40:15] Production.ERROR: CronJobId end10
[2025-04-11 21:40:15] Production.INFO: ==19898== Releasing lock...
[2025-04-11 21:40:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 21:40:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 21:40:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 21:40:17] Production.INFO: ============== Balance Warning START===========
[2025-04-11 21:40:17] Production.INFO: ============== Balance Warning END===========
[2025-04-11 21:40:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 21:40:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 21:40:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 21:40:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 21:40:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 21:40:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 21:40:17] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 21:40:17] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 21:40:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 21:40:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 21:40:17] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 21:40:17] Production.INFO: call_cost start
[2025-04-11 21:40:17] Production.INFO: call_cost end
[2025-04-11 21:40:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 21:40:18] Production.INFO: ============== Report Schedule START===========
[2025-04-11 21:40:18] Production.INFO: ============== Report Schedule END===========
[2025-04-11 21:40:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 21:40:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 21:40:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 21:40:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 21:40:18] Production.INFO: ============== Deal alert START===========
[2025-04-11 21:40:18] Production.INFO: ============== Deal alert END===========
[2025-04-11 21:40:18] Production.INFO: ==19894== Releasing lock...
[2025-04-11 21:40:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 21:40:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 21:40:20] Production.INFO: count ==1442
[2025-04-11 21:40:20] Production.ERROR: pbx CDR StartTime 2025-04-11 18:40:07 - End Time 2025-04-11 21:40:07
[2025-04-11 21:40:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 21:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887030', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887030', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887030', 'tblTempVendorCDR_20' ) start
[2025-04-11 21:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887030', 'tblTempVendorCDR_20' ) end
[2025-04-11 21:40:20] Production.INFO: ProcessCDR(1,14887030,1,1,2)
[2025-04-11 21:40:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887030,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:40:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887030,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:40:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887030,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:40:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887030,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:40:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887030', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:40:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887030', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:40:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 21:40:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 21:40:24] Production.INFO: ==19902== Releasing lock...
[2025-04-11 21:40:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 21:40:24] Production.INFO: 38.5 MB #Memory Used#
[2025-04-12 02:41:01] Production.INFO: ==19964== Lock acquired, processing the job...
[2025-04-12 02:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 02:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 02:41:01] Production.INFO: neon service started
[2025-04-12 02:41:01] Production.INFO: neon service started
[2025-04-12 02:41:01] Production.INFO: ==19964== Releasing lock...
[2025-04-12 02:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 02:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 21:41:02] Production.INFO: ==19966== Lock acquired, processing the job...
[2025-04-11 21:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 01:41:02] Production.INFO: ==19968== Lock acquired, processing the job...
[2025-04-12 01:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 01:41:02] Production.INFO: ==19968== Releasing lock...
[2025-04-12 01:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 01:41:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 21:41:02] Production.INFO: ==19966== Releasing lock...
[2025-04-11 21:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 21:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 21:41:03] Production.INFO: ==19973== Lock acquired, processing the job...
[2025-04-11 21:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 21:41:03] Production.INFO: ==19981== Lock acquired, processing the job...
[2025-04-11 21:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 21:41:03] Production.INFO: ==19971== Lock acquired, processing the job...
[2025-04-11 21:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 21:41:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 21:41:04] Production.INFO: ==19975== Lock acquired, processing the job...
[2025-04-11 21:41:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 21:41:04] Production.INFO: ==19973== Releasing lock...
[2025-04-11 21:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 21:41:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 21:41:04] Production.INFO: count ==12
[2025-04-11 21:41:04] Production.INFO: ==19977== Lock acquired, processing the job...
[2025-04-11 21:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 21:41:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 21:41:04] Production.INFO: ==19979== Lock acquired, processing the job...
[2025-04-11 21:41:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 21:41:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 21:41:04] Production.INFO: count ==23
[2025-04-11 21:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887032') start
[2025-04-11 21:41:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 21:41:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 21:41:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 21:41:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 21:41:04] Production.INFO: Account Balance Start.
[2025-04-11 21:41:04] Production.INFO: CreateAllLog Start
[2025-04-11 21:41:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 21:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887032') end
[2025-04-11 21:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 21:41:04] Production.INFO: 1
[2025-04-11 21:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 21:41:04] Production.INFO: 117
[2025-04-11 21:41:04] Production.INFO: Date 2025-04-08
[2025-04-11 21:41:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:41:04] Production.INFO: Date 2025-04-09
[2025-04-11 21:41:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:41:04] Production.INFO: Date 2025-04-10
[2025-04-11 21:41:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:41:04] Production.INFO: Date 2025-04-11
[2025-04-11 21:41:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:41:04] Production.INFO: Total Charge 0
[2025-04-11 21:41:04] Production.INFO: CreateAllLog End
[2025-04-11 21:41:04] Production.INFO: ==19981== Releasing lock...
[2025-04-11 21:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 21:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 21:41:04] Production.INFO: Account Balance End.
[2025-04-11 21:41:04] Production.ERROR: done
[2025-04-11 21:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 21:41:04] Production.ERROR: CronJobId end 12
[2025-04-11 21:41:04] Production.INFO: ==19977== Releasing lock...
[2025-04-11 21:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 21:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 21:41:04] Production.ERROR: done
[2025-04-11 21:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 18:41:05
[end_date_ymd] => 2025-04-11 21:41:05
[RateCDR] => 1
)
[2025-04-11 21:41:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 18:41:05' and `end` < '2025-04-11 21:41:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 21:41:13] Production.ERROR: CronJobId end10
[2025-04-11 21:41:13] Production.INFO: ==19975== Releasing lock...
[2025-04-11 21:41:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 21:41:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 21:41:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 21:41:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 21:41:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 21:41:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 21:41:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 21:41:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 21:41:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 21:41:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 21:41:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 21:41:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 21:41:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 21:41:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 21:41:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 21:41:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 21:41:15] Production.INFO: call_cost start
[2025-04-11 21:41:15] Production.INFO: call_cost end
[2025-04-11 21:41:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 21:41:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 21:41:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 21:41:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 21:41:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 21:41:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 21:41:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 21:41:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 21:41:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 21:41:16] Production.INFO: ==19971== Releasing lock...
[2025-04-11 21:41:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 21:41:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 21:41:18] Production.INFO: count ==1394
[2025-04-11 21:41:19] Production.ERROR: pbx CDR StartTime 2025-04-11 18:41:05 - End Time 2025-04-11 21:41:05
[2025-04-11 21:41:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 21:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887035', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887035', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887035', 'tblTempVendorCDR_20' ) start
[2025-04-11 21:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887035', 'tblTempVendorCDR_20' ) end
[2025-04-11 21:41:19] Production.INFO: ProcessCDR(1,14887035,1,1,2)
[2025-04-11 21:41:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887035,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:41:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887035,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:41:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887035,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:41:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887035,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887035', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887035', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:41:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 21:41:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 21:41:22] Production.INFO: ==19979== Releasing lock...
[2025-04-11 21:41:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 21:41:22] Production.INFO: 38 MB #Memory Used#
[2025-04-12 02:42:02] Production.INFO: ==20038== Lock acquired, processing the job...
[2025-04-12 02:42:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 02:42:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 02:42:02] Production.INFO: neon service started
[2025-04-12 02:42:02] Production.INFO: neon service started
[2025-04-12 02:42:02] Production.INFO: ==20038== Releasing lock...
[2025-04-12 02:42:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 02:42:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 01:42:02] Production.INFO: ==20042== Lock acquired, processing the job...
[2025-04-12 01:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 01:42:02] Production.INFO: ==20042== Releasing lock...
[2025-04-12 01:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 01:42:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 21:42:02] Production.INFO: ==20040== Lock acquired, processing the job...
[2025-04-11 21:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 21:42:03] Production.INFO: ==20040== Releasing lock...
[2025-04-11 21:42:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 21:42:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 21:42:04] Production.INFO: ==20049== Lock acquired, processing the job...
[2025-04-11 21:42:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 21:42:04] Production.INFO: ==20053== Lock acquired, processing the job...
[2025-04-11 21:42:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 21:42:04] Production.INFO: ==20045== Lock acquired, processing the job...
[2025-04-11 21:42:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 21:42:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 21:42:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 21:42:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 21:42:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 21:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 21:42:04] Production.INFO: ==20047== Lock acquired, processing the job...
[2025-04-11 21:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 21:42:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 21:42:04] Production.INFO: ==20051== Lock acquired, processing the job...
[2025-04-11 21:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 21:42:04] Production.INFO: ==20055== Lock acquired, processing the job...
[2025-04-11 21:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 21:42:04] Production.INFO: Account Balance Start.
[2025-04-11 21:42:04] Production.INFO: CreateAllLog Start
[2025-04-11 21:42:04] Production.INFO: 117
[2025-04-11 21:42:04] Production.INFO: Date 2025-04-08
[2025-04-11 21:42:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:42:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 21:42:04] Production.INFO: count ==12
[2025-04-11 21:42:04] Production.INFO: ==20047== Releasing lock...
[2025-04-11 21:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 21:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 21:42:04] Production.ERROR: done
[2025-04-11 21:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 21:42:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 21:42:04] Production.INFO: count ==23
[2025-04-11 21:42:04] Production.INFO: Date 2025-04-09
[2025-04-11 21:42:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:42:04] Production.INFO: Date 2025-04-10
[2025-04-11 21:42:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887039') start
[2025-04-11 21:42:04] Production.INFO: Date 2025-04-11
[2025-04-11 21:42:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:42:04] Production.INFO: Total Charge 0
[2025-04-11 21:42:04] Production.INFO: CreateAllLog End
[2025-04-11 21:42:04] Production.ERROR: done
[2025-04-11 21:42:05] Production.ERROR: PBX CALL prc_importPBXExtension('14887039') end
[2025-04-11 21:42:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 21:42:05] Production.INFO: 1
[2025-04-11 21:42:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 21:42:05] Production.INFO: ==20055== Releasing lock...
[2025-04-11 21:42:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 21:42:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 21:42:05] Production.INFO: Account Balance End.
[2025-04-11 21:42:05] Production.ERROR: CronJobId end 12
[2025-04-11 21:42:05] Production.INFO: ==20051== Releasing lock...
[2025-04-11 21:42:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 21:42:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 21:42:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 18:42:06
[end_date_ymd] => 2025-04-11 21:42:06
[RateCDR] => 1
)
[2025-04-11 21:42:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 18:42:06' and `end` < '2025-04-11 21:42:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 21:42:13] Production.ERROR: CronJobId end10
[2025-04-11 21:42:13] Production.INFO: ==20049== Releasing lock...
[2025-04-11 21:42:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 21:42:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 21:42:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 21:42:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 21:42:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 21:42:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 21:42:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 21:42:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 21:42:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 21:42:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 21:42:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 21:42:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 21:42:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 21:42:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 21:42:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 21:42:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 21:42:15] Production.INFO: call_cost start
[2025-04-11 21:42:15] Production.INFO: call_cost end
[2025-04-11 21:42:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 21:42:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 21:42:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 21:42:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 21:42:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 21:42:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 21:42:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 21:42:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 21:42:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 21:42:16] Production.INFO: ==20045== Releasing lock...
[2025-04-11 21:42:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 21:42:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 21:42:19] Production.INFO: count ==1394
[2025-04-11 21:42:19] Production.ERROR: pbx CDR StartTime 2025-04-11 18:42:06 - End Time 2025-04-11 21:42:06
[2025-04-11 21:42:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 21:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887040', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887040', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887040', 'tblTempVendorCDR_20' ) start
[2025-04-11 21:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887040', 'tblTempVendorCDR_20' ) end
[2025-04-11 21:42:19] Production.INFO: ProcessCDR(1,14887040,1,1,2)
[2025-04-11 21:42:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887040,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:42:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887040,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:42:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887040,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:42:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887040,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887040', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887040', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:42:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 21:42:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 21:42:22] Production.INFO: ==20053== Releasing lock...
[2025-04-11 21:42:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 21:42:22] Production.INFO: 38 MB #Memory Used#
[2025-04-12 02:43:01] Production.INFO: ==20109== Lock acquired, processing the job...
[2025-04-12 02:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 02:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 02:43:01] Production.INFO: neon service started
[2025-04-12 02:43:01] Production.INFO: neon service started
[2025-04-12 02:43:01] Production.INFO: ==20109== Releasing lock...
[2025-04-12 02:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 02:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 01:43:02] Production.INFO: ==20113== Lock acquired, processing the job...
[2025-04-12 01:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 01:43:02] Production.INFO: ==20113== Releasing lock...
[2025-04-12 01:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 01:43:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 21:43:02] Production.INFO: ==20111== Lock acquired, processing the job...
[2025-04-11 21:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 21:43:02] Production.INFO: ==20111== Releasing lock...
[2025-04-11 21:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 21:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 21:43:03] Production.INFO: ==20118== Lock acquired, processing the job...
[2025-04-11 21:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 21:43:03] Production.INFO: ==20120== Lock acquired, processing the job...
[2025-04-11 21:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 21:43:03] Production.INFO: ==20122== Lock acquired, processing the job...
[2025-04-11 21:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 21:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 21:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 21:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 21:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 21:43:03] Production.INFO: ==20116== Lock acquired, processing the job...
[2025-04-11 21:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 21:43:03] Production.INFO: Account Balance Start.
[2025-04-11 21:43:03] Production.INFO: CreateAllLog Start
[2025-04-11 21:43:03] Production.INFO: 117
[2025-04-11 21:43:03] Production.INFO: Date 2025-04-08
[2025-04-11 21:43:03] Production.INFO: Reseller ==> 0
[2025-04-11 21:43:03] Production.INFO: ==20124== Lock acquired, processing the job...
[2025-04-11 21:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 21:43:03] Production.INFO: Date 2025-04-09
[2025-04-11 21:43:03] Production.INFO: Reseller ==> 0
[2025-04-11 21:43:03] Production.INFO: ==20118== Releasing lock...
[2025-04-11 21:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 21:43:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 21:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 21:43:03] Production.INFO: Date 2025-04-10
[2025-04-11 21:43:03] Production.INFO: Reseller ==> 0
[2025-04-11 21:43:03] Production.INFO: Date 2025-04-11
[2025-04-11 21:43:03] Production.INFO: Reseller ==> 0
[2025-04-11 21:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 21:43:03] Production.INFO: ==20126== Lock acquired, processing the job...
[2025-04-11 21:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 21:43:03] Production.INFO: Total Charge 0
[2025-04-11 21:43:03] Production.INFO: CreateAllLog End
[2025-04-11 21: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-11 21:43:03] Production.INFO: count ==12
[2025-04-11 21:43:03] Production.INFO: Account Balance End.
[2025-04-11 21: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-11 21:43:03] Production.INFO: count ==23
[2025-04-11 21:43:04] Production.ERROR: CronJobId end 12
[2025-04-11 21:43:04] Production.INFO: ==20122== Releasing lock...
[2025-04-11 21:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 21:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 21:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887044') start
[2025-04-11 21:43:04] Production.ERROR: done
[2025-04-11 21:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 21:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887044') end
[2025-04-11 21:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 21:43:04] Production.INFO: 1
[2025-04-11 21:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 21:43:04] Production.ERROR: done
[2025-04-11 21:43:04] Production.INFO: ==20126== Releasing lock...
[2025-04-11 21:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 21:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 21:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 18:43:05
[end_date_ymd] => 2025-04-11 21:43:05
[RateCDR] => 1
)
[2025-04-11 21:43:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 18:43:05' and `end` < '2025-04-11 21:43:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 21:43:13] Production.ERROR: CronJobId end10
[2025-04-11 21:43:13] Production.INFO: ==20120== Releasing lock...
[2025-04-11 21:43:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 21:43:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 21:43:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 21:43:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 21:43:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 21:43:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 21:43:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 21:43:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 21:43:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 21:43:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 21:43:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 21:43:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 21:43:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 21:43:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 21:43:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 21:43:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 21:43:14] Production.INFO: call_cost start
[2025-04-11 21:43:14] Production.INFO: call_cost end
[2025-04-11 21:43:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 21:43:15] Production.INFO: ============== Report Schedule START===========
[2025-04-11 21:43:15] Production.INFO: ============== Report Schedule END===========
[2025-04-11 21:43:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 21:43:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 21:43:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 21:43:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 21:43:15] Production.INFO: ============== Deal alert START===========
[2025-04-11 21:43:15] Production.INFO: ============== Deal alert END===========
[2025-04-11 21:43:15] Production.INFO: ==20116== Releasing lock...
[2025-04-11 21:43:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 21:43:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 21:43:18] Production.INFO: count ==1391
[2025-04-11 21:43:18] Production.ERROR: pbx CDR StartTime 2025-04-11 18:43:05 - End Time 2025-04-11 21:43:05
[2025-04-11 21:43:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 21:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887045', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887045', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887045', 'tblTempVendorCDR_20' ) start
[2025-04-11 21:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887045', 'tblTempVendorCDR_20' ) end
[2025-04-11 21:43:18] Production.INFO: ProcessCDR(1,14887045,1,1,2)
[2025-04-11 21:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887045,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:43:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887045,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:43:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887045,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:43:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887045,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887045', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887045', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:43:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 21:43:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 21:43:21] Production.INFO: ==20124== Releasing lock...
[2025-04-11 21:43:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 21:43:21] Production.INFO: 38 MB #Memory Used#
[2025-04-12 02:44:02] Production.INFO: ==20184== Lock acquired, processing the job...
[2025-04-12 02:44:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 02:44:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 02:44:02] Production.INFO: neon service started
[2025-04-12 02:44:02] Production.INFO: neon service started
[2025-04-12 02:44:02] Production.INFO: ==20184== Releasing lock...
[2025-04-12 02:44:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 02:44:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 21:44:02] Production.INFO: ==20186== Lock acquired, processing the job...
[2025-04-11 21:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 21:44:02] Production.INFO: ==20186== Releasing lock...
[2025-04-11 21:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 21:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 01:44:02] Production.INFO: ==20188== Lock acquired, processing the job...
[2025-04-12 01:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 01:44:02] Production.INFO: ==20188== Releasing lock...
[2025-04-12 01:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 01:44:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 21:44:03] Production.INFO: ==20193== Lock acquired, processing the job...
[2025-04-11 21:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 21:44:03] Production.INFO: ==20191== Lock acquired, processing the job...
[2025-04-11 21:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 21:44:03] Production.INFO: ==20197== Lock acquired, processing the job...
[2025-04-11 21:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 21:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 21:44:03] Production.INFO: Account Balance Start.
[2025-04-11 21:44:03] Production.INFO: CreateAllLog Start
[2025-04-11 21:44:03] Production.INFO: ==20195== Lock acquired, processing the job...
[2025-04-11 21:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 21:44:03] Production.INFO: 117
[2025-04-11 21:44:03] Production.INFO: Date 2025-04-08
[2025-04-11 21:44:04] Production.INFO: ==20201== Lock acquired, processing the job...
[2025-04-11 21:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 21:44:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:44:04] Production.INFO: ==20199== Lock acquired, processing the job...
[2025-04-11 21:44:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 21:44:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 21:44:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 21:44:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 21:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 21:44:04] Production.INFO: Date 2025-04-09
[2025-04-11 21:44:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:44:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 21:44:04] Production.INFO: Date 2025-04-10
[2025-04-11 21:44:04] Production.INFO: Reseller ==> 0
[2025-04-11 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-11 21:44:04] Production.INFO: Date 2025-04-11
[2025-04-11 21:44:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:44:04] Production.INFO: count ==12
[2025-04-11 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-11 21:44:04] Production.INFO: count ==23
[2025-04-11 21:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887049') start
[2025-04-11 21:44:04] Production.INFO: Total Charge 0
[2025-04-11 21:44:04] Production.INFO: CreateAllLog End
[2025-04-11 21:44:04] Production.INFO: ==20193== Releasing lock...
[2025-04-11 21:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 21:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 21:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887049') end
[2025-04-11 21:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 21:44:04] Production.INFO: 1
[2025-04-11 21:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 21:44:04] Production.INFO: ==20201== Releasing lock...
[2025-04-11 21:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 21:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 21:44:04] Production.INFO: Account Balance End.
[2025-04-11 21:44:04] Production.ERROR: done
[2025-04-11 21:44:04] Production.ERROR: CronJobId end 12
[2025-04-11 21:44:04] Production.INFO: ==20197== Releasing lock...
[2025-04-11 21:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 21:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 21:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 21:44:04] Production.ERROR: done
[2025-04-11 21:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 18:44:05
[end_date_ymd] => 2025-04-11 21:44:05
[RateCDR] => 1
)
[2025-04-11 21:44:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 18:44:05' and `end` < '2025-04-11 21:44:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 21:44:12] Production.ERROR: CronJobId end10
[2025-04-11 21:44:12] Production.INFO: ==20195== Releasing lock...
[2025-04-11 21:44:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 21:44:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 21:44:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 21:44:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 21:44:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 21:44:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 21:44:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 21:44:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 21:44:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 21:44:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 21:44:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 21:44:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 21:44:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 21:44:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 21:44:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 21:44:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 21:44:15] Production.INFO: call_cost start
[2025-04-11 21:44:15] Production.INFO: call_cost end
[2025-04-11 21:44:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 21:44:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 21:44:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 21:44:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 21:44:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 21:44:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 21:44:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 21:44:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 21:44:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 21:44:16] Production.INFO: ==20191== Releasing lock...
[2025-04-11 21:44:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 21:44:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 21:44:18] Production.INFO: count ==1390
[2025-04-11 21:44:18] Production.ERROR: pbx CDR StartTime 2025-04-11 18:44:05 - End Time 2025-04-11 21:44:05
[2025-04-11 21:44:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 21:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887050', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887050', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887050', 'tblTempVendorCDR_20' ) start
[2025-04-11 21:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887050', 'tblTempVendorCDR_20' ) end
[2025-04-11 21:44:18] Production.INFO: ProcessCDR(1,14887050,1,1,2)
[2025-04-11 21:44:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887050,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:44:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887050,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:44:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887050,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:44:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887050,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887050', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887050', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:44:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 21:44:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 21:44:22] Production.INFO: ==20199== Releasing lock...
[2025-04-11 21:44:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 21:44:22] Production.INFO: 38 MB #Memory Used#
[2025-04-12 02:45:01] Production.INFO: ==20256== Lock acquired, processing the job...
[2025-04-12 02:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 02:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 02:45:01] Production.INFO: neon service started
[2025-04-12 02:45:01] Production.INFO: neon service started
[2025-04-12 02:45:01] Production.INFO: ==20256== Releasing lock...
[2025-04-12 02:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 02:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 01:45:01] Production.INFO: ==20261== Lock acquired, processing the job...
[2025-04-12 01:45:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 01:45:01] Production.INFO: ==20261== Releasing lock...
[2025-04-12 01:45:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 01:45:01] Production.INFO: 25 MB #Memory Used#
[2025-04-11 21:45:02] Production.INFO: ==20259== Lock acquired, processing the job...
[2025-04-11 21:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 21:45:02] Production.INFO: ==20259== Releasing lock...
[2025-04-11 21:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 21:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 21:45:03] Production.INFO: ==20263== Lock acquired, processing the job...
[2025-04-11 21:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 21:45:03] Production.INFO: ==20267== Lock acquired, processing the job...
[2025-04-11 21:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 21:45:03] Production.INFO: ==20272== Lock acquired, processing the job...
[2025-04-11 21:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 21:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 21:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 21:45:03] Production.INFO: ==20274== Lock acquired, processing the job...
[2025-04-11 21:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 21:45:03] Production.INFO: ==20265== Lock acquired, processing the job...
[2025-04-11 21:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 21:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 21:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 21:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 21:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 21:45:03] Production.INFO: ==20269== Lock acquired, processing the job...
[2025-04-11 21:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 21:45:03] Production.INFO: Account Balance Start.
[2025-04-11 21:45:03] Production.INFO: CreateAllLog Start
[2025-04-11 21:45:03] Production.INFO: 117
[2025-04-11 21:45:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 21:45:03] Production.INFO: count ==12
[2025-04-11 21:45:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 21:45:03] Production.INFO: count ==23
[2025-04-11 21:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887052') start
[2025-04-11 21:45:03] Production.ERROR: done
[2025-04-11 21:45:03] Production.INFO: Date 2025-04-08
[2025-04-11 21:45:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 21:45:03] Production.INFO: Reseller ==> 0
[2025-04-11 21:45:03] Production.INFO: Date 2025-04-09
[2025-04-11 21:45:03] Production.INFO: Reseller ==> 0
[2025-04-11 21:45:03] Production.INFO: Date 2025-04-10
[2025-04-11 21:45:03] Production.INFO: Reseller ==> 0
[2025-04-11 21:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887052') end
[2025-04-11 21:45:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 21:45:03] Production.INFO: 1
[2025-04-11 21:45:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 21:45:03] Production.ERROR: done
[2025-04-11 21:45:03] Production.INFO: Date 2025-04-11
[2025-04-11 21:45:03] Production.INFO: Reseller ==> 0
[2025-04-11 21:45:04] Production.INFO: ==20274== Releasing lock...
[2025-04-11 21:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 21:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 21:45:04] Production.INFO: Total Charge 0
[2025-04-11 21:45:04] Production.INFO: CreateAllLog End
[2025-04-11 21:45:04] Production.INFO: ==20265== Releasing lock...
[2025-04-11 21:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 21:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 21:45:04] Production.INFO: Account Balance End.
[2025-04-11 21:45:04] Production.ERROR: CronJobId end 12
[2025-04-11 21:45:04] Production.INFO: ==20269== Releasing lock...
[2025-04-11 21:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 21:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 21:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 18:45:05
[end_date_ymd] => 2025-04-11 21:45:05
[RateCDR] => 1
)
[2025-04-11 21:45:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 18:45:05' and `end` < '2025-04-11 21:45:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 21:45:12] Production.ERROR: CronJobId end10
[2025-04-11 21:45:12] Production.INFO: ==20267== Releasing lock...
[2025-04-11 21:45:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 21:45:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 21:45:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 21:45:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 21:45:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 21:45:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 21:45:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 21:45:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 21:45:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 21:45:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 21:45:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 21:45:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 21:45:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 21:45:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 21:45:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 21:45:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 21:45:14] Production.INFO: call_cost start
[2025-04-11 21:45:14] Production.INFO: call_cost end
[2025-04-11 21:45:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 21:45:15] Production.INFO: ============== Report Schedule START===========
[2025-04-11 21:45:15] Production.INFO: ============== Report Schedule END===========
[2025-04-11 21:45:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 21:45:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 21:45:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 21:45:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 21:45:15] Production.INFO: ============== Deal alert START===========
[2025-04-11 21:45:15] Production.INFO: ============== Deal alert END===========
[2025-04-11 21:45:15] Production.INFO: ==20263== Releasing lock...
[2025-04-11 21:45:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 21:45:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 21:45:18] Production.INFO: count ==1390
[2025-04-11 21:45:18] Production.ERROR: pbx CDR StartTime 2025-04-11 18:45:05 - End Time 2025-04-11 21:45:05
[2025-04-11 21:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 21:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887055', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887055', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887055', 'tblTempVendorCDR_20' ) start
[2025-04-11 21:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887055', 'tblTempVendorCDR_20' ) end
[2025-04-11 21:45:18] Production.INFO: ProcessCDR(1,14887055,1,1,2)
[2025-04-11 21:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887055,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887055,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887055,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:45:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887055,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887055', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:45:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887055', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:45:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 21:45:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 21:45:22] Production.INFO: ==20272== Releasing lock...
[2025-04-11 21:45:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 21:45:22] Production.INFO: 38 MB #Memory Used#
[2025-04-12 02:46:02] Production.INFO: ==20334== Lock acquired, processing the job...
[2025-04-12 02:46:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 02:46:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 02:46:02] Production.INFO: neon service started
[2025-04-12 02:46:02] Production.INFO: neon service started
[2025-04-12 02:46:02] Production.INFO: ==20334== Releasing lock...
[2025-04-12 02:46:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 02:46:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 21:46:02] Production.INFO: ==20337== Lock acquired, processing the job...
[2025-04-11 21:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 01:46:02] Production.INFO: ==20339== Lock acquired, processing the job...
[2025-04-12 01:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 01:46:02] Production.INFO: ==20339== Releasing lock...
[2025-04-12 01:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 01:46:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 21:46:03] Production.INFO: ==20337== Releasing lock...
[2025-04-11 21:46:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 21:46:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 21:46:03] Production.INFO: ==20341== Lock acquired, processing the job...
[2025-04-11 21:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 21:46:04] Production.INFO: ==20349== Lock acquired, processing the job...
[2025-04-11 21:46:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 21:46:04] Production.INFO: ==20351== Lock acquired, processing the job...
[2025-04-11 21:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 21:46:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 21:46:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 21:46:04] Production.INFO: ==20343== Lock acquired, processing the job...
[2025-04-11 21:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 21:46:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 21:46:04] Production.INFO: ==20345== Lock acquired, processing the job...
[2025-04-11 21:46:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 21:46:04] Production.INFO: ==20347== Lock acquired, processing the job...
[2025-04-11 21:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 21:46:04] Production.INFO: count ==12
[2025-04-11 21:46:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 21:46:04] Production.INFO: count ==23
[2025-04-11 21:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887057') start
[2025-04-11 21:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 21:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 21:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 21:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 21:46:04] Production.INFO: Account Balance Start.
[2025-04-11 21:46:04] Production.INFO: CreateAllLog Start
[2025-04-11 21:46:04] Production.INFO: 117
[2025-04-11 21:46:04] Production.INFO: Date 2025-04-08
[2025-04-11 21:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887057') end
[2025-04-11 21:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 21:46:04] Production.INFO: 1
[2025-04-11 21:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 21:46:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:46:04] Production.ERROR: done
[2025-04-11 21:46:04] Production.INFO: ==20351== Releasing lock...
[2025-04-11 21:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 21:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 21:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 21:46:04] Production.INFO: Date 2025-04-09
[2025-04-11 21:46:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:46:04] Production.ERROR: done
[2025-04-11 21:46:04] Production.INFO: Date 2025-04-10
[2025-04-11 21:46:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:46:04] Production.INFO: Date 2025-04-11
[2025-04-11 21:46:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:46:04] Production.INFO: Total Charge 0
[2025-04-11 21:46:04] Production.INFO: CreateAllLog End
[2025-04-11 21:46:04] Production.INFO: ==20343== Releasing lock...
[2025-04-11 21:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 21:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 21:46:05] Production.INFO: Account Balance End.
[2025-04-11 21:46:05] Production.ERROR: CronJobId end 12
[2025-04-11 21:46:05] Production.INFO: ==20347== Releasing lock...
[2025-04-11 21:46:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 21:46:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 21:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 18:46:05
[end_date_ymd] => 2025-04-11 21:46:05
[RateCDR] => 1
)
[2025-04-11 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-11 18:46:05' and `end` < '2025-04-11 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-11 21:46:13] Production.ERROR: CronJobId end10
[2025-04-11 21:46:13] Production.INFO: ==20345== Releasing lock...
[2025-04-11 21:46:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 21:46:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 21:46:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 21:46:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 21:46:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 21:46:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 21:46:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 21:46:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 21:46:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 21:46:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 21:46:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 21:46:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 21:46:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 21:46:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 21:46:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 21:46:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 21:46:15] Production.INFO: call_cost start
[2025-04-11 21:46:15] Production.INFO: call_cost end
[2025-04-11 21:46:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 21:46:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 21:46:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 21:46:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 21:46:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 21:46:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 21:46:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 21:46:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 21:46:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 21:46:16] Production.INFO: ==20341== Releasing lock...
[2025-04-11 21:46:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 21:46:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 21:46:18] Production.INFO: count ==1386
[2025-04-11 21:46:18] Production.ERROR: pbx CDR StartTime 2025-04-11 18:46:05 - End Time 2025-04-11 21:46:05
[2025-04-11 21:46:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 21:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887060', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887060', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887060', 'tblTempVendorCDR_20' ) start
[2025-04-11 21:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887060', 'tblTempVendorCDR_20' ) end
[2025-04-11 21:46:18] Production.INFO: ProcessCDR(1,14887060,1,1,2)
[2025-04-11 21:46:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887060,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:46:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887060,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:46:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887060,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:46:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887060,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:46:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887060', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:46:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887060', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:46:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 21:46:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 21:46:24] Production.INFO: ==20349== Releasing lock...
[2025-04-11 21:46:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 21:46:24] Production.INFO: 38 MB #Memory Used#
[2025-04-12 02:47:01] Production.INFO: ==20406== Lock acquired, processing the job...
[2025-04-12 02:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 02:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 02:47:01] Production.INFO: neon service started
[2025-04-12 02:47:01] Production.INFO: neon service started
[2025-04-12 02:47:01] Production.INFO: ==20406== Releasing lock...
[2025-04-12 02:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 02:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 21:47:01] Production.INFO: ==20408== Lock acquired, processing the job...
[2025-04-11 21:47:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 21:47:02] Production.INFO: ==20408== Releasing lock...
[2025-04-11 21:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 21:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 01:47:02] Production.INFO: ==20410== Lock acquired, processing the job...
[2025-04-12 01:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 01:47:02] Production.INFO: ==20410== Releasing lock...
[2025-04-12 01:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 01:47:02] Production.INFO: 26 MB #Memory Used#
[2025-04-11 21:47:03] Production.INFO: ==20415== Lock acquired, processing the job...
[2025-04-11 21:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 21:47:03] Production.INFO: ==20419== Lock acquired, processing the job...
[2025-04-11 21:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 21:47:03] Production.INFO: ==20421== Lock acquired, processing the job...
[2025-04-11 21:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 21:47:03] Production.INFO: Account Balance Start.
[2025-04-11 21:47:03] Production.INFO: CreateAllLog Start
[2025-04-11 21:47:03] Production.INFO: 117
[2025-04-11 21:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 21:47:03] Production.INFO: Date 2025-04-08
[2025-04-11 21:47:03] Production.INFO: Reseller ==> 0
[2025-04-11 21:47:03] Production.INFO: Date 2025-04-09
[2025-04-11 21:47:03] Production.INFO: Reseller ==> 0
[2025-04-11 21:47:03] Production.INFO: Date 2025-04-10
[2025-04-11 21:47:03] Production.INFO: Reseller ==> 0
[2025-04-11 21:47:03] Production.INFO: Date 2025-04-11
[2025-04-11 21:47:03] Production.INFO: Reseller ==> 0
[2025-04-11 21:47:03] Production.INFO: ==20415== Releasing lock...
[2025-04-11 21:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 21:47:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 21:47:03] Production.INFO: Total Charge 0
[2025-04-11 21:47:03] Production.INFO: CreateAllLog End
[2025-04-11 21:47:03] Production.INFO: ==20417== Lock acquired, processing the job...
[2025-04-11 21:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 21:47:03] Production.INFO: ==20413== Lock acquired, processing the job...
[2025-04-11 21:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 21:47:03] Production.INFO: ==20423== Lock acquired, processing the job...
[2025-04-11 21:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 21:47:03] Production.ERROR: done
[2025-04-11 21:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 21:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 21:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 21:47:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 21:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 21:47:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 21:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 21:47:03] Production.INFO: count ==12
[2025-04-11 21:47:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 21:47:03] Production.INFO: count ==23
[2025-04-11 21:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887063') start
[2025-04-11 21:47:03] Production.INFO: Account Balance End.
[2025-04-11 21:47:03] Production.ERROR: done
[2025-04-11 21:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887063') end
[2025-04-11 21:47:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 21:47:03] Production.INFO: 1
[2025-04-11 21:47:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 21:47:03] Production.ERROR: CronJobId end 12
[2025-04-11 21:47:03] Production.INFO: ==20419== Releasing lock...
[2025-04-11 21:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 21:47:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 21:47:03] Production.INFO: ==20423== Releasing lock...
[2025-04-11 21:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 21:47:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 21:47:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 18:47:04
[end_date_ymd] => 2025-04-11 21:47:04
[RateCDR] => 1
)
[2025-04-11 21:47:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 18:47:04' and `end` < '2025-04-11 21:47:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 21:47:13] Production.ERROR: CronJobId end10
[2025-04-11 21:47:13] Production.INFO: ==20417== Releasing lock...
[2025-04-11 21:47:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 21:47:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 21:47:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 21:47:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 21:47:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 21:47:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 21:47:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 21:47:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 21:47:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 21:47:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 21:47:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 21:47:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 21:47:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 21:47:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 21:47:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 21:47:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 21:47:14] Production.INFO: call_cost start
[2025-04-11 21:47:14] Production.INFO: call_cost end
[2025-04-11 21:47:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 21:47:15] Production.INFO: ============== Report Schedule START===========
[2025-04-11 21:47:15] Production.INFO: ============== Report Schedule END===========
[2025-04-11 21:47:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 21:47:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 21:47:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 21:47:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 21:47:15] Production.INFO: ============== Deal alert START===========
[2025-04-11 21:47:15] Production.INFO: ============== Deal alert END===========
[2025-04-11 21:47:15] Production.INFO: ==20413== Releasing lock...
[2025-04-11 21:47:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 21:47:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 21:47:17] Production.INFO: count ==1392
[2025-04-11 21:47:18] Production.ERROR: pbx CDR StartTime 2025-04-11 18:47:04 - End Time 2025-04-11 21:47:04
[2025-04-11 21:47:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 21:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887065', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887065', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887065', 'tblTempVendorCDR_20' ) start
[2025-04-11 21:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887065', 'tblTempVendorCDR_20' ) end
[2025-04-11 21:47:18] Production.INFO: ProcessCDR(1,14887065,1,1,2)
[2025-04-11 21:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887065,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:47:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887065,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:47:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887065,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:47:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887065,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:47:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887065', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:47:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887065', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:47:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 21:47:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 21:47:23] Production.INFO: ==20421== Releasing lock...
[2025-04-11 21:47:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 21:47:23] Production.INFO: 38 MB #Memory Used#
[2025-04-12 02:48:01] Production.INFO: ==20519== Lock acquired, processing the job...
[2025-04-12 02:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 02:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 02:48:01] Production.INFO: neon service started
[2025-04-12 02:48:01] Production.INFO: neon service started
[2025-04-12 02:48:01] Production.INFO: ==20519== Releasing lock...
[2025-04-12 02:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 02:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 21:48:02] Production.INFO: ==20521== Lock acquired, processing the job...
[2025-04-11 21:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 01:48:02] Production.INFO: ==20523== Lock acquired, processing the job...
[2025-04-12 01:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 01:48:02] Production.INFO: ==20523== Releasing lock...
[2025-04-12 01:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 01:48:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 21:48:02] Production.INFO: ==20521== Releasing lock...
[2025-04-11 21:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 21:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 21:48:03] Production.INFO: ==20528== Lock acquired, processing the job...
[2025-04-11 21:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 21:48:03] Production.INFO: ==20526== Lock acquired, processing the job...
[2025-04-11 21:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 21:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 21:48:03] Production.INFO: ==20536== Lock acquired, processing the job...
[2025-04-11 21:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 21:48:03] Production.INFO: ==20530== Lock acquired, processing the job...
[2025-04-11 21:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 21:48:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 21:48:03] Production.INFO: ==20528== Releasing lock...
[2025-04-11 21:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 21:48:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 21:48:03] Production.INFO: count ==12
[2025-04-11 21:48:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 21:48:03] Production.INFO: ==20534== Lock acquired, processing the job...
[2025-04-11 21:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 21:48:03] Production.INFO: count ==23
[2025-04-11 21:48:03] Production.INFO: ==20532== Lock acquired, processing the job...
[2025-04-11 21:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 21:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887068') start
[2025-04-11 21:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 21:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 21:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 21:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 21:48:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 21:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887068') end
[2025-04-11 21:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 21:48:04] Production.INFO: 1
[2025-04-11 21:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 21:48:04] Production.INFO: ==20536== Releasing lock...
[2025-04-11 21:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 21:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 21:48:04] Production.INFO: Account Balance Start.
[2025-04-11 21:48:04] Production.INFO: CreateAllLog Start
[2025-04-11 21:48:04] Production.INFO: 117
[2025-04-11 21:48:04] Production.INFO: Date 2025-04-08
[2025-04-11 21:48:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:48:04] Production.INFO: Date 2025-04-09
[2025-04-11 21:48:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:48:04] Production.INFO: Date 2025-04-10
[2025-04-11 21:48:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:48:04] Production.INFO: Date 2025-04-11
[2025-04-11 21:48:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:48:04] Production.ERROR: done
[2025-04-11 21:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 21:48:04] Production.INFO: Total Charge 0
[2025-04-11 21:48:04] Production.INFO: CreateAllLog End
[2025-04-11 21:48:04] Production.ERROR: done
[2025-04-11 21:48:04] Production.INFO: Account Balance End.
[2025-04-11 21:48:04] Production.ERROR: CronJobId end 12
[2025-04-11 21:48:04] Production.INFO: ==20532== Releasing lock...
[2025-04-11 21:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 21:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 21:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 18:48:05
[end_date_ymd] => 2025-04-11 21:48:05
[RateCDR] => 1
)
[2025-04-11 21:48:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 18:48:05' and `end` < '2025-04-11 21:48:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 21:48:14] Production.ERROR: CronJobId end10
[2025-04-11 21:48:14] Production.INFO: ==20530== Releasing lock...
[2025-04-11 21:48:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 21:48:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 21:48:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 21:48:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 21:48:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 21:48:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 21:48:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 21:48:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 21:48:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 21:48:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 21:48:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 21:48:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 21:48:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 21:48:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 21:48:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 21:48:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 21:48:15] Production.INFO: call_cost start
[2025-04-11 21:48:15] Production.INFO: call_cost end
[2025-04-11 21:48:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 21:48:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 21:48:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 21:48:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 21:48:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 21:48:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 21:48:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 21:48:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 21:48:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 21:48:16] Production.INFO: ==20526== Releasing lock...
[2025-04-11 21:48:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 21:48:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 21:48:18] Production.INFO: count ==1393
[2025-04-11 21:48:18] Production.ERROR: pbx CDR StartTime 2025-04-11 18:48:05 - End Time 2025-04-11 21:48:05
[2025-04-11 21:48:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 21:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887070', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887070', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887070', 'tblTempVendorCDR_20' ) start
[2025-04-11 21:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887070', 'tblTempVendorCDR_20' ) end
[2025-04-11 21:48:18] Production.INFO: ProcessCDR(1,14887070,1,1,2)
[2025-04-11 21:48:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887070,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:48:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887070,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:48:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887070,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:48:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887070,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:48:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887070', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:48:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887070', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:48:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 21:48:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 21:48:24] Production.INFO: ==20534== Releasing lock...
[2025-04-11 21:48:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 21:48:24] Production.INFO: 38 MB #Memory Used#
[2025-04-12 02:49:01] Production.INFO: ==20592== Lock acquired, processing the job...
[2025-04-12 02:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 02:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 02:49:01] Production.INFO: neon service started
[2025-04-12 02:49:01] Production.INFO: neon service started
[2025-04-12 02:49:01] Production.INFO: ==20592== Releasing lock...
[2025-04-12 02:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 02:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 21:49:01] Production.INFO: ==20594== Lock acquired, processing the job...
[2025-04-11 21:49:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 21:49:02] Production.INFO: ==20594== Releasing lock...
[2025-04-11 21:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 21:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 01:49:02] Production.INFO: ==20596== Lock acquired, processing the job...
[2025-04-12 01:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 01:49:02] Production.INFO: ==20596== Releasing lock...
[2025-04-12 01:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 01:49:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 21:49:02] Production.INFO: ==20606== Lock acquired, processing the job...
[2025-04-11 21:49:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 21:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 21:49:03] Production.INFO: ==20609== Lock acquired, processing the job...
[2025-04-11 21:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 21:49:03] Production.INFO: ==20600== Lock acquired, processing the job...
[2025-04-11 21:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 21:49:03] Production.INFO: ==20598== Lock acquired, processing the job...
[2025-04-11 21:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 21:49:03] Production.INFO: ==20604== Lock acquired, processing the job...
[2025-04-11 21:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 21:49:03] Production.INFO: ==20602== Lock acquired, processing the job...
[2025-04-11 21:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 21:49:03] Production.INFO: Account Balance Start.
[2025-04-11 21:49:03] Production.INFO: CreateAllLog Start
[2025-04-11 21:49:03] Production.INFO: 117
[2025-04-11 21:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 21:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 21:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 21:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 21:49:03] Production.INFO: Date 2025-04-08
[2025-04-11 21:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 21:49:03] Production.INFO: Reseller ==> 0
[2025-04-11 21:49:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 21:49:03] Production.INFO: count ==12
[2025-04-11 21:49:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 21:49:03] Production.INFO: count ==23
[2025-04-11 21:49:03] Production.INFO: Date 2025-04-09
[2025-04-11 21:49:03] Production.INFO: Reseller ==> 0
[2025-04-11 21:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887072') start
[2025-04-11 21:49:03] Production.INFO: Date 2025-04-10
[2025-04-11 21:49:03] Production.INFO: Reseller ==> 0
[2025-04-11 21:49:03] Production.INFO: ==20600== Releasing lock...
[2025-04-11 21:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 21:49:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 21:49:03] Production.ERROR: done
[2025-04-11 21:49:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 21:49:03] Production.INFO: Date 2025-04-11
[2025-04-11 21:49:03] Production.INFO: Reseller ==> 0
[2025-04-11 21:49:03] Production.INFO: Total Charge 0
[2025-04-11 21:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887072') end
[2025-04-11 21:49:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 21:49:03] Production.INFO: 1
[2025-04-11 21:49:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 21:49:03] Production.INFO: CreateAllLog End
[2025-04-11 21:49:03] Production.ERROR: done
[2025-04-11 21:49:03] Production.INFO: ==20609== Releasing lock...
[2025-04-11 21:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 21:49:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 21:49:03] Production.INFO: Account Balance End.
[2025-04-11 21:49:03] Production.ERROR: CronJobId end 12
[2025-04-11 21:49:03] Production.INFO: ==20604== Releasing lock...
[2025-04-11 21:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 21:49:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 21:49:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 18:49:04
[end_date_ymd] => 2025-04-11 21:49:04
[RateCDR] => 1
)
[2025-04-11 21: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-11 18:49:04' and `end` < '2025-04-11 21: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-11 21:49:11] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php: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-11 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-11 21:49:11] Production.ERROR: CronJobId end10
[2025-04-11 21:49:11] Production.INFO: ==20602== Releasing lock...
[2025-04-11 21:49:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 21:49:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 21:49:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 21:49:13] Production.INFO: ============== Balance Warning START===========
[2025-04-11 21:49:13] Production.INFO: ============== Balance Warning END===========
[2025-04-11 21:49:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 21:49:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 21:49:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 21:49:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 21:49:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 21:49:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 21:49:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 21:49:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 21:49:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 21:49:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 21:49:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 21:49:14] Production.INFO: call_cost start
[2025-04-11 21:49:14] Production.INFO: call_cost end
[2025-04-11 21:49:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 21:49:15] Production.INFO: ============== Report Schedule START===========
[2025-04-11 21:49:15] Production.INFO: ============== Report Schedule END===========
[2025-04-11 21:49:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 21:49:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 21:49:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 21:49:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 21:49:15] Production.INFO: ============== Deal alert START===========
[2025-04-11 21:49:15] Production.INFO: ============== Deal alert END===========
[2025-04-11 21:49:15] Production.INFO: ==20598== Releasing lock...
[2025-04-11 21:49:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 21:49:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 21:49:17] Production.INFO: count ==1390
[2025-04-11 21:49:17] Production.ERROR: pbx CDR StartTime 2025-04-11 18:49:04 - End Time 2025-04-11 21:49:04
[2025-04-11 21:49:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 21:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887075', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887075', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887075', 'tblTempVendorCDR_20' ) start
[2025-04-11 21:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887075', 'tblTempVendorCDR_20' ) end
[2025-04-11 21:49:17] Production.INFO: ProcessCDR(1,14887075,1,1,2)
[2025-04-11 21:49:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887075,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:49:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887075,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:49:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887075,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:49:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887075,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887075', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887075', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:49:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 21:49:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 21:49:22] Production.INFO: ==20606== Releasing lock...
[2025-04-11 21:49:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 21:49:22] Production.INFO: 38 MB #Memory Used#
[2025-04-12 02:50:01] Production.INFO: ==20664== Lock acquired, processing the job...
[2025-04-12 02:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 02:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 02:50:01] Production.INFO: neon service started
[2025-04-12 02:50:02] Production.INFO: neon service started
[2025-04-12 02:50:02] Production.INFO: ==20664== Releasing lock...
[2025-04-12 02:50:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 02:50:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 21:50:02] Production.INFO: ==20666== Lock acquired, processing the job...
[2025-04-11 21:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 01:50:02] Production.INFO: ==20668== Lock acquired, processing the job...
[2025-04-12 01:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 01:50:02] Production.INFO: ==20668== Releasing lock...
[2025-04-12 01:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 01:50:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 21:50:03] Production.INFO: ==20666== Releasing lock...
[2025-04-11 21:50:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 21:50:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 21:50:04] Production.INFO: ==20675== Lock acquired, processing the job...
[2025-04-11 21:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 21:50:04] Production.INFO: ==20683== Lock acquired, processing the job...
[2025-04-11 21:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-11 21:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 21:50:04] Production.INFO: ==20675== Releasing lock...
[2025-04-11 21:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 21:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 21:50:04] Production.INFO: ==20671== Lock acquired, processing the job...
[2025-04-11 21:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-11 21:50:04] Production.INFO: ==20673== Lock acquired, processing the job...
[2025-04-11 21:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 21:50:04] Production.INFO: ==20677== Lock acquired, processing the job...
[2025-04-11 21:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 21:50:04] Production.ERROR: done
[2025-04-11 21:50:04] Production.INFO: ==20679== Lock acquired, processing the job...
[2025-04-11 21:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 21:50:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-11 21:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-11 21:50:04] Production.ERROR: CronJob PID - 20673
[2025-04-11 21:50:04] Production.ERROR: CronJob Title - System Alerts
[2025-04-11 21:50:04] Production.ERROR: CronJob ID - 5
[2025-04-11 21:50:04] Production.ERROR: CronJob Last Run Time 2025-04-11 21:50:00
[2025-04-11 21:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-11 21:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-11 21:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-11 21:50:04] Production.ERROR: CronJob PID - 20677
[2025-04-11 21:50:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-04-11 21:50:04] Production.ERROR: CronJob ID - 10
[2025-04-11 21:50:04] Production.ERROR: CronJob Last Run Time 2025-04-11 21:50:00
[2025-04-11 21:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-11 21:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-11 21:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-11 21:50:04] Production.ERROR: CronJob PID - 20683
[2025-04-11 21:50:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-04-11 21:50:04] Production.ERROR: CronJob ID - 17
[2025-04-11 21:50:04] Production.ERROR: CronJob Last Run Time 2025-04-11 21:50:00
[2025-04-11 21:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-11 21:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-11 21:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 21:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 21:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 21:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 21:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-11 21:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14887077', 'tblTempUsageDetail_20reseller','2025-04-11','2025-04-11','1' ) start
[2025-04-11 21:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 21:50:04] Production.INFO: ==20685== Lock acquired, processing the job...
[2025-04-11 21:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 21:50:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-11 21:50:04] Production.INFO: ==20671== Releasing lock...
[2025-04-11 21:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-11 21:50:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-11 21:50:04] Production.INFO: ==20681== Lock acquired, processing the job...
[2025-04-11 21:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 21:50:04] Production.INFO: Account Balance Start.
[2025-04-11 21:50:04] Production.INFO: CreateAllLog Start
[2025-04-11 21:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 21:50:04] Production.INFO: 117
[2025-04-11 21:50:04] Production.INFO: Date 2025-04-08
[2025-04-11 21:50:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:50:04] Production.INFO: Date 2025-04-09
[2025-04-11 21:50:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:50:05] Production.INFO: Date 2025-04-10
[2025-04-11 21:50:05] Production.INFO: Reseller ==> 0
[2025-04-11 21:50:05] Production.INFO: Date 2025-04-11
[2025-04-11 21:50:05] Production.INFO: Reseller ==> 0
[2025-04-11 21:50:05] Production.INFO: Total Charge 0
[2025-04-11 21:50:05] Production.INFO: CreateAllLog End
[2025-04-11 21: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-11 21:50:05] Production.INFO: count ==12
[2025-04-11 21: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-11 21:50:05] Production.INFO: count ==23
[2025-04-11 21:50:05] Production.ERROR: PBX CALL prc_importPBXExtension('14887080') start
[2025-04-11 21:50:05] Production.ERROR: done
[2025-04-11 21:50:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 21:50:05] Production.ERROR: PBX CALL prc_importPBXExtension('14887080') end
[2025-04-11 21:50:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 21:50:05] Production.INFO: 1
[2025-04-11 21:50:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 21:50:05] Production.INFO: Account Balance End.
[2025-04-11 21:50:05] Production.ERROR: CronJobId end 12
[2025-04-11 21:50:05] Production.INFO: ==20679== Releasing lock...
[2025-04-11 21:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 21:50:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 21:50:05] Production.INFO: ==20685== Releasing lock...
[2025-04-11 21:50:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 21:50:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 21:50:05] Production.ERROR: done
[2025-04-11 21:50:07] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 18:50:07
[end_date_ymd] => 2025-04-11 21:50:07
[RateCDR] => 1
)
[2025-04-11 21: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-11 18:50:07' and `end` < '2025-04-11 21: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-11 21:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14887077', 'tblTempUsageDetail_20reseller','2025-04-11','2025-04-11','1' ) end
[2025-04-11 21:50:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-11 21:50:09] Production.INFO: ProcessCDR(1,14887077,1,1,2)
[2025-04-11 21:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14887077,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14887077,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:50:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 21:50:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 21:50:09] Production.INFO: ==20683== Releasing lock...
[2025-04-11 21:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-11 21:50:09] Production.INFO: 26 MB #Memory Used#
[2025-04-11 21:50:16] Production.ERROR: CronJobId end10
[2025-04-11 21:50:16] Production.INFO: ==20677== Releasing lock...
[2025-04-11 21:50:16] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 21:50:16] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 21:50:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 21:50:17] Production.INFO: ============== Balance Warning START===========
[2025-04-11 21:50:17] Production.INFO: ============== Balance Warning END===========
[2025-04-11 21:50:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 21:50:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 21:50:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 21:50:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 21:50:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 21:50:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 21:50:17] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 21:50:17] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 21:50:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 21:50:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 21:50:17] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 21:50:18] Production.INFO: call_cost start
[2025-04-11 21:50:18] Production.INFO: call_cost end
[2025-04-11 21:50:19] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 21:50:19] Production.INFO: ============== Report Schedule START===========
[2025-04-11 21:50:19] Production.INFO: ============== Report Schedule END===========
[2025-04-11 21:50:19] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 21:50:19] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 21:50:19] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 21:50:19] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 21:50:19] Production.INFO: ============== Deal alert START===========
[2025-04-11 21:50:19] Production.INFO: ============== Deal alert END===========
[2025-04-11 21:50:19] Production.INFO: ==20673== Releasing lock...
[2025-04-11 21:50:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 21:50:19] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 21:50:20] Production.INFO: count ==1393
[2025-04-11 21:50:20] Production.ERROR: pbx CDR StartTime 2025-04-11 18:50:07 - End Time 2025-04-11 21:50:07
[2025-04-11 21:50:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 21:50:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887081', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:50:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887081', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:50:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887081', 'tblTempVendorCDR_20' ) start
[2025-04-11 21:50:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887081', 'tblTempVendorCDR_20' ) end
[2025-04-11 21:50:20] Production.INFO: ProcessCDR(1,14887081,1,1,2)
[2025-04-11 21:50:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887081,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:50:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887081,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:50:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887081,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:50:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887081,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:50:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887081', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:50:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887081', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:50:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 21:50:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 21:50:25] Production.INFO: ==20681== Releasing lock...
[2025-04-11 21:50:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 21:50:25] Production.INFO: 38 MB #Memory Used#
[2025-04-12 02:51:01] Production.INFO: ==20750== Lock acquired, processing the job...
[2025-04-12 02:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 02:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 02:51:01] Production.INFO: neon service started
[2025-04-12 02:51:01] Production.INFO: neon service started
[2025-04-12 02:51:01] Production.INFO: ==20750== Releasing lock...
[2025-04-12 02:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 02:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 21:51:01] Production.INFO: ==20752== Lock acquired, processing the job...
[2025-04-11 21:51:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 01:51:02] Production.INFO: ==20754== Lock acquired, processing the job...
[2025-04-12 01:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-11 21:51:02] Production.INFO: ==20752== Releasing lock...
[2025-04-11 21:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 21:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 01:51:02] Production.INFO: ==20754== Releasing lock...
[2025-04-12 01:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 01:51:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 21:51:02] Production.INFO: ==20756== Lock acquired, processing the job...
[2025-04-11 21:51:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 21:51:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 21:51:03] Production.INFO: ==20758== Lock acquired, processing the job...
[2025-04-11 21:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 21:51:03] Production.INFO: ==20766== Lock acquired, processing the job...
[2025-04-11 21:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 21:51:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 21:51:03] Production.INFO: count ==12
[2025-04-11 21:51:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 21:51:03] Production.INFO: count ==23
[2025-04-11 21:51:03] Production.INFO: ==20760== Lock acquired, processing the job...
[2025-04-11 21:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 21:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887084') start
[2025-04-11 21:51:03] Production.INFO: ==20762== Lock acquired, processing the job...
[2025-04-11 21:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 21:51:03] Production.INFO: ==20764== Lock acquired, processing the job...
[2025-04-11 21:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 21:51:03] Production.INFO: ==20758== Releasing lock...
[2025-04-11 21:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 21:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 21:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 21:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 21:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 21:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 21:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 21:51:03] Production.INFO: Account Balance Start.
[2025-04-11 21:51:03] Production.INFO: CreateAllLog Start
[2025-04-11 21:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887084') end
[2025-04-11 21:51:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 21:51:03] Production.INFO: 1
[2025-04-11 21:51:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 21:51:03] Production.INFO: 117
[2025-04-11 21:51:03] Production.INFO: Date 2025-04-08
[2025-04-11 21:51:03] Production.INFO: ==20766== Releasing lock...
[2025-04-11 21:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 21:51:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 21:51:03] Production.INFO: Reseller ==> 0
[2025-04-11 21:51:03] Production.INFO: Date 2025-04-09
[2025-04-11 21:51:03] Production.INFO: Reseller ==> 0
[2025-04-11 21:51:03] Production.INFO: Date 2025-04-10
[2025-04-11 21:51:03] Production.INFO: Reseller ==> 0
[2025-04-11 21:51:03] Production.INFO: Date 2025-04-11
[2025-04-11 21:51:03] Production.INFO: Reseller ==> 0
[2025-04-11 21:51:03] Production.ERROR: done
[2025-04-11 21:51:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 21:51:03] Production.INFO: Total Charge 0
[2025-04-11 21:51:03] Production.INFO: CreateAllLog End
[2025-04-11 21:51:03] Production.ERROR: done
[2025-04-11 21:51:03] Production.INFO: Account Balance End.
[2025-04-11 21:51:03] Production.ERROR: CronJobId end 12
[2025-04-11 21:51:03] Production.INFO: ==20762== Releasing lock...
[2025-04-11 21:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 21:51:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 21:51:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 18:51:04
[end_date_ymd] => 2025-04-11 21:51:04
[RateCDR] => 1
)
[2025-04-11 21:51:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 18:51:04' and `end` < '2025-04-11 21:51:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 21:51:12] Production.ERROR: CronJobId end10
[2025-04-11 21:51:12] Production.INFO: ==20760== Releasing lock...
[2025-04-11 21:51:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 21:51:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 21:51:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 21:51:13] Production.INFO: ============== Balance Warning START===========
[2025-04-11 21:51:13] Production.INFO: ============== Balance Warning END===========
[2025-04-11 21:51:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 21:51:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 21:51:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 21:51:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 21:51:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 21:51:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 21:51:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 21:51:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 21:51:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 21:51:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 21:51:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 21:51:13] Production.INFO: call_cost start
[2025-04-11 21:51:13] Production.INFO: call_cost end
[2025-04-11 21:51:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 21:51:14] Production.INFO: ============== Report Schedule START===========
[2025-04-11 21:51:14] Production.INFO: ============== Report Schedule END===========
[2025-04-11 21:51:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 21:51:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 21:51:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 21:51:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 21:51:14] Production.INFO: ============== Deal alert START===========
[2025-04-11 21:51:14] Production.INFO: ============== Deal alert END===========
[2025-04-11 21:51:14] Production.INFO: ==20756== Releasing lock...
[2025-04-11 21:51:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 21:51:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 21:51:17] Production.INFO: count ==1306
[2025-04-11 21:51:17] Production.ERROR: pbx CDR StartTime 2025-04-11 18:51:04 - End Time 2025-04-11 21:51:04
[2025-04-11 21:51:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 21:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887086', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887086', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887086', 'tblTempVendorCDR_20' ) start
[2025-04-11 21:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887086', 'tblTempVendorCDR_20' ) end
[2025-04-11 21:51:18] Production.INFO: ProcessCDR(1,14887086,1,1,2)
[2025-04-11 21:51:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887086,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:51:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887086,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:51:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887086,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:51:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887086,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887086', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887086', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:51:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 21:51:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 21:51:21] Production.INFO: ==20764== Releasing lock...
[2025-04-11 21:51:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 21:51:21] Production.INFO: 37.25 MB #Memory Used#
[2025-04-12 02:52:01] Production.INFO: ==20824== Lock acquired, processing the job...
[2025-04-12 02:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 02:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 02:52:01] Production.INFO: neon service started
[2025-04-12 02:52:01] Production.INFO: neon service started
[2025-04-12 02:52:01] Production.INFO: ==20824== Releasing lock...
[2025-04-12 02:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 02:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 21:52:02] Production.INFO: ==20826== Lock acquired, processing the job...
[2025-04-11 21:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 21:52:02] Production.INFO: ==20826== Releasing lock...
[2025-04-11 21:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 21:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 01:52:02] Production.INFO: ==20828== Lock acquired, processing the job...
[2025-04-12 01:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 01:52:02] Production.INFO: ==20828== Releasing lock...
[2025-04-12 01:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 01:52:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 21:52:03] Production.INFO: ==20836== Lock acquired, processing the job...
[2025-04-11 21:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 21:52:03] Production.INFO: ==20840== Lock acquired, processing the job...
[2025-04-11 21:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 21:52:03] Production.INFO: Account Balance Start.
[2025-04-11 21:52:03] Production.INFO: CreateAllLog Start
[2025-04-11 21:52:03] Production.INFO: 117
[2025-04-11 21:52:03] Production.INFO: Date 2025-04-08
[2025-04-11 21:52:03] Production.INFO: ==20830== Lock acquired, processing the job...
[2025-04-11 21:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 21:52:03] Production.INFO: Reseller ==> 0
[2025-04-11 21:52:03] Production.INFO: Date 2025-04-09
[2025-04-11 21:52:03] Production.INFO: Reseller ==> 0
[2025-04-11 21:52:03] Production.INFO: ==20832== Lock acquired, processing the job...
[2025-04-11 21:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 21:52:03] Production.INFO: Date 2025-04-10
[2025-04-11 21:52:03] Production.INFO: Reseller ==> 0
[2025-04-11 21:52:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 21:52:03] Production.INFO: count ==12
[2025-04-11 21:52:03] Production.INFO: ==20834== Lock acquired, processing the job...
[2025-04-11 21:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 21:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 21:52:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 21:52:03] Production.INFO: count ==23
[2025-04-11 21:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887088') start
[2025-04-11 21:52:03] Production.INFO: ==20838== Lock acquired, processing the job...
[2025-04-11 21:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 21:52:03] Production.INFO: Date 2025-04-11
[2025-04-11 21:52:03] Production.INFO: Reseller ==> 0
[2025-04-11 21:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 21:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 21:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 21:52:03] Production.INFO: Total Charge 0
[2025-04-11 21:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 21:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887088') end
[2025-04-11 21:52:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 21:52:03] Production.INFO: 1
[2025-04-11 21:52:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 21:52:03] Production.INFO: CreateAllLog End
[2025-04-11 21:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 21:52:04] Production.INFO: ==20840== Releasing lock...
[2025-04-11 21:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 21:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 21:52:04] Production.INFO: ==20832== Releasing lock...
[2025-04-11 21:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 21:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 21:52:04] Production.INFO: Account Balance End.
[2025-04-11 21:52:04] Production.ERROR: done
[2025-04-11 21:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 21:52:04] Production.ERROR: CronJobId end 12
[2025-04-11 21:52:04] Production.INFO: ==20836== Releasing lock...
[2025-04-11 21:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 21:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 21:52:04] Production.ERROR: done
[2025-04-11 21:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 18:52:05
[end_date_ymd] => 2025-04-11 21:52:05
[RateCDR] => 1
)
[2025-04-11 21:52:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 18:52:05' and `end` < '2025-04-11 21:52:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 21:52:13] Production.ERROR: CronJobId end10
[2025-04-11 21:52:13] Production.INFO: ==20834== Releasing lock...
[2025-04-11 21:52:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 21:52:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 21:52:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 21:52:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 21:52:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 21:52:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 21:52:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 21:52:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 21:52:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 21:52:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 21:52:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 21:52:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 21:52:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 21:52:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 21:52:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 21:52:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 21:52:15] Production.INFO: call_cost start
[2025-04-11 21:52:15] Production.INFO: call_cost end
[2025-04-11 21:52:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 21:52:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 21:52:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 21:52:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 21:52:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 21:52:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 21:52:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 21:52:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 21:52:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 21:52:16] Production.INFO: ==20830== Releasing lock...
[2025-04-11 21:52:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 21:52:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 21:52:18] Production.INFO: count ==1303
[2025-04-11 21:52:18] Production.ERROR: pbx CDR StartTime 2025-04-11 18:52:05 - End Time 2025-04-11 21:52:05
[2025-04-11 21:52:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 21:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887091', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887091', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887091', 'tblTempVendorCDR_20' ) start
[2025-04-11 21:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887091', 'tblTempVendorCDR_20' ) end
[2025-04-11 21:52:19] Production.INFO: ProcessCDR(1,14887091,1,1,2)
[2025-04-11 21:52:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887091,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:52:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887091,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:52:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887091,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:52:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887091,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887091', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887091', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:52:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 21:52:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 21:52:22] Production.INFO: ==20838== Releasing lock...
[2025-04-11 21:52:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 21:52:22] Production.INFO: 37.25 MB #Memory Used#
[2025-04-12 02:53:01] Production.INFO: ==20897== Lock acquired, processing the job...
[2025-04-12 02:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 02:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 02:53:01] Production.INFO: neon service started
[2025-04-12 02:53:01] Production.INFO: neon service started
[2025-04-12 02:53:01] Production.INFO: ==20897== Releasing lock...
[2025-04-12 02:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 02:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 01:53:01] Production.INFO: ==20901== Lock acquired, processing the job...
[2025-04-12 01:53:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 01:53:01] Production.INFO: ==20901== Releasing lock...
[2025-04-12 01:53:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 01:53:01] Production.INFO: 25 MB #Memory Used#
[2025-04-11 21:53:01] Production.INFO: ==20899== Lock acquired, processing the job...
[2025-04-11 21:53:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 21:53:02] Production.INFO: ==20899== Releasing lock...
[2025-04-11 21:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 21:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 21:53:03] Production.INFO: ==20907== Lock acquired, processing the job...
[2025-04-11 21:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 21:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 21:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 21:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 21:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 21:53:03] Production.INFO: ==20903== Lock acquired, processing the job...
[2025-04-11 21:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 21:53:03] Production.INFO: ==20905== Lock acquired, processing the job...
[2025-04-11 21:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 21:53:03] Production.INFO: ==20912== Lock acquired, processing the job...
[2025-04-11 21:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 21:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 21:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 21:53:03] Production.INFO: ==20910== Lock acquired, processing the job...
[2025-04-11 21:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 21:53:03] Production.INFO: ==20914== Lock acquired, processing the job...
[2025-04-11 21:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 21:53:03] Production.INFO: Account Balance Start.
[2025-04-11 21:53:03] Production.INFO: CreateAllLog Start
[2025-04-11 21:53:03] Production.INFO: 117
[2025-04-11 21:53:03] Production.INFO: Date 2025-04-08
[2025-04-11 21:53:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 21:53:03] Production.INFO: Reseller ==> 0
[2025-04-11 21:53:03] Production.INFO: count ==12
[2025-04-11 21:53:03] Production.INFO: ==20905== Releasing lock...
[2025-04-11 21:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 21:53:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 21: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-11 21:53:03] Production.INFO: count ==23
[2025-04-11 21:53:03] Production.ERROR: done
[2025-04-11 21:53:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 21:53:03] Production.INFO: Date 2025-04-09
[2025-04-11 21:53:03] Production.INFO: Reseller ==> 0
[2025-04-11 21:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887095') start
[2025-04-11 21:53:03] Production.INFO: Date 2025-04-10
[2025-04-11 21:53:03] Production.INFO: Reseller ==> 0
[2025-04-11 21:53:03] Production.INFO: Date 2025-04-11
[2025-04-11 21:53:03] Production.INFO: Reseller ==> 0
[2025-04-11 21:53:03] Production.INFO: Total Charge 0
[2025-04-11 21:53:03] Production.INFO: CreateAllLog End
[2025-04-11 21:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887095') end
[2025-04-11 21:53:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 21:53:03] Production.INFO: 1
[2025-04-11 21:53:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 21:53:03] Production.ERROR: done
[2025-04-11 21:53:04] Production.INFO: ==20914== Releasing lock...
[2025-04-11 21:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 21:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 21:53:04] Production.INFO: Account Balance End.
[2025-04-11 21:53:04] Production.ERROR: CronJobId end 12
[2025-04-11 21:53:04] Production.INFO: ==20910== Releasing lock...
[2025-04-11 21:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 21:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 21:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 18:53:05
[end_date_ymd] => 2025-04-11 21:53:05
[RateCDR] => 1
)
[2025-04-11 21:53:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 18:53:05' and `end` < '2025-04-11 21:53:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 21:53:13] Production.ERROR: CronJobId end10
[2025-04-11 21:53:13] Production.INFO: ==20907== Releasing lock...
[2025-04-11 21:53:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 21:53:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 21:53:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 21:53:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 21:53:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 21:53:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 21:53:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 21:53:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 21:53:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 21:53:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 21:53:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 21:53:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 21:53:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 21:53:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 21:53:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 21:53:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 21:53:15] Production.INFO: call_cost start
[2025-04-11 21:53:15] Production.INFO: call_cost end
[2025-04-11 21:53:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 21:53:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 21:53:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 21:53:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 21:53:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 21:53:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 21:53:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 21:53:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 21:53:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 21:53:16] Production.INFO: ==20903== Releasing lock...
[2025-04-11 21:53:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 21:53:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 21:53:17] Production.INFO: count ==1287
[2025-04-11 21:53:18] Production.ERROR: pbx CDR StartTime 2025-04-11 18:53:05 - End Time 2025-04-11 21:53:05
[2025-04-11 21:53:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 21:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887096', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887096', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887096', 'tblTempVendorCDR_20' ) start
[2025-04-11 21:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887096', 'tblTempVendorCDR_20' ) end
[2025-04-11 21:53:18] Production.INFO: ProcessCDR(1,14887096,1,1,2)
[2025-04-11 21:53:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887096,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:53:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887096,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:53:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887096,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:53:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887096,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:53:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887096', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:53:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887096', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:53:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 21:53:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 21:53:23] Production.INFO: ==20912== Releasing lock...
[2025-04-11 21:53:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 21:53:23] Production.INFO: 37.25 MB #Memory Used#
[2025-04-12 02:54:01] Production.INFO: ==20974== Lock acquired, processing the job...
[2025-04-12 02:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 02:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 02:54:01] Production.INFO: neon service started
[2025-04-12 02:54:01] Production.INFO: neon service started
[2025-04-12 02:54:01] Production.INFO: ==20974== Releasing lock...
[2025-04-12 02:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 02:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 21:54:02] Production.INFO: ==20977== Lock acquired, processing the job...
[2025-04-11 21:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 01:54:02] Production.INFO: ==20979== Lock acquired, processing the job...
[2025-04-12 01:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 01:54:02] Production.INFO: ==20979== Releasing lock...
[2025-04-12 01:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 01:54:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 21:54:02] Production.INFO: ==20977== Releasing lock...
[2025-04-11 21:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 21:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 21:54:03] Production.INFO: ==20984== Lock acquired, processing the job...
[2025-04-11 21:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 21:54:03] Production.INFO: ==20993== Lock acquired, processing the job...
[2025-04-11 21:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 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-11 21:54:03] Production.INFO: ==20981== Lock acquired, processing the job...
[2025-04-11 21:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 21:54:04] Production.INFO: count ==12
[2025-04-11 21:54:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 21:54:04] Production.INFO: count ==23
[2025-04-11 21:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887098') start
[2025-04-11 21:54:04] Production.INFO: ==20987== Lock acquired, processing the job...
[2025-04-11 21:54:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 21:54:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 21:54:04] Production.INFO: ==20989== Lock acquired, processing the job...
[2025-04-11 21:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 21:54:04] Production.INFO: ==20991== Lock acquired, processing the job...
[2025-04-11 21:54:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 21:54:04] Production.INFO: ==20984== Releasing lock...
[2025-04-11 21:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 21:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 21:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887098') end
[2025-04-11 21:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 21:54:04] Production.INFO: 1
[2025-04-11 21:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 21:54:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 21:54:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 21:54:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 21:54:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 21:54:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 21:54:04] Production.INFO: Account Balance Start.
[2025-04-11 21:54:04] Production.INFO: CreateAllLog Start
[2025-04-11 21:54:04] Production.INFO: 117
[2025-04-11 21:54:04] Production.INFO: Date 2025-04-08
[2025-04-11 21:54:04] Production.INFO: ==20993== Releasing lock...
[2025-04-11 21:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 21:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 21:54:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:54:04] Production.INFO: Date 2025-04-09
[2025-04-11 21:54:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:54:04] Production.INFO: Date 2025-04-10
[2025-04-11 21:54:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:54:04] Production.INFO: Date 2025-04-11
[2025-04-11 21:54:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:54:04] Production.INFO: Total Charge 0
[2025-04-11 21:54:04] Production.INFO: CreateAllLog End
[2025-04-11 21:54:04] Production.INFO: Account Balance End.
[2025-04-11 21:54:04] Production.ERROR: CronJobId end 12
[2025-04-11 21:54:04] Production.INFO: ==20989== Releasing lock...
[2025-04-11 21:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 21:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 21:54:04] Production.ERROR: done
[2025-04-11 21:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 21:54:04] Production.ERROR: done
[2025-04-11 21:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 18:54:05
[end_date_ymd] => 2025-04-11 21:54:05
[RateCDR] => 1
)
[2025-04-11 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-11 18:54:05' and `end` < '2025-04-11 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-11 21:54:13] Production.ERROR: CronJobId end10
[2025-04-11 21:54:13] Production.INFO: ==20987== Releasing lock...
[2025-04-11 21:54:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 21:54:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 21:54:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 21:54:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 21:54:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 21:54:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 21:54:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 21:54:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 21:54:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 21:54:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 21:54:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 21:54:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 21:54:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 21:54:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 21:54:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 21:54:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 21:54:15] Production.INFO: call_cost start
[2025-04-11 21:54:15] Production.INFO: call_cost end
[2025-04-11 21:54:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 21:54:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 21:54:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 21:54:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 21:54:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 21:54:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 21:54:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 21:54:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 21:54:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 21:54:16] Production.INFO: ==20981== Releasing lock...
[2025-04-11 21:54:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 21:54:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 21:54:18] Production.INFO: count ==1286
[2025-04-11 21:54:18] Production.ERROR: pbx CDR StartTime 2025-04-11 18:54:05 - End Time 2025-04-11 21:54:05
[2025-04-11 21:54:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 21:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887101', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887101', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887101', 'tblTempVendorCDR_20' ) start
[2025-04-11 21:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887101', 'tblTempVendorCDR_20' ) end
[2025-04-11 21:54:18] Production.INFO: ProcessCDR(1,14887101,1,1,2)
[2025-04-11 21:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887101,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:54:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887101,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:54:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887101,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:54:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887101,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887101', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887101', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:54:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 21:54:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 21:54:22] Production.INFO: ==20991== Releasing lock...
[2025-04-11 21:54:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 21:54:22] Production.INFO: 37.25 MB #Memory Used#
[2025-04-12 02:55:02] Production.INFO: ==21054== Lock acquired, processing the job...
[2025-04-12 02:55:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 02:55:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 02:55:02] Production.INFO: neon service started
[2025-04-12 02:55:02] Production.INFO: neon service started
[2025-04-12 02:55:02] Production.INFO: ==21054== Releasing lock...
[2025-04-12 02:55:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 02:55:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 21:55:02] Production.INFO: ==21056== Lock acquired, processing the job...
[2025-04-11 21:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 21:55:03] Production.INFO: ==21056== Releasing lock...
[2025-04-11 21:55:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 21:55:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 01:55:03] Production.INFO: ==21058== Lock acquired, processing the job...
[2025-04-12 01:55:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 01:55:03] Production.INFO: ==21058== Releasing lock...
[2025-04-12 01:55:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 01:55:03] Production.INFO: 25 MB #Memory Used#
[2025-04-11 21:55:03] Production.INFO: ==21064== Lock acquired, processing the job...
[2025-04-11 21:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 21:55:04] Production.INFO: ==21068== Lock acquired, processing the job...
[2025-04-11 21:55:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 21:55:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 21:55:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 21:55:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 21:55:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 21:55:04] Production.INFO: ==21060== Lock acquired, processing the job...
[2025-04-11 21:55:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 21:55:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 21:55:04] Production.INFO: ==21066== Lock acquired, processing the job...
[2025-04-11 21:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 21:55:04] Production.INFO: ==21062== Lock acquired, processing the job...
[2025-04-11 21:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 21:55:04] Production.INFO: ==21070== Lock acquired, processing the job...
[2025-04-11 21:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 21:55:04] Production.INFO: Account Balance Start.
[2025-04-11 21:55:04] Production.INFO: CreateAllLog Start
[2025-04-11 21:55:04] Production.INFO: 117
[2025-04-11 21:55:04] Production.INFO: Date 2025-04-08
[2025-04-11 21:55:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 21:55:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:55:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 21:55:04] Production.INFO: Date 2025-04-09
[2025-04-11 21:55:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:55:04] Production.INFO: count ==12
[2025-04-11 21:55:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 21:55:04] Production.INFO: count ==23
[2025-04-11 21:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887104') start
[2025-04-11 21:55:04] Production.INFO: Date 2025-04-10
[2025-04-11 21:55:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:55:04] Production.INFO: Date 2025-04-11
[2025-04-11 21:55:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:55:04] Production.ERROR: done
[2025-04-11 21:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887104') end
[2025-04-11 21:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 21:55:04] Production.INFO: 1
[2025-04-11 21:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 21:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 21:55:04] Production.INFO: ==21062== Releasing lock...
[2025-04-11 21:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 21:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 21:55:04] Production.INFO: Total Charge 0
[2025-04-11 21:55:04] Production.INFO: CreateAllLog End
[2025-04-11 21:55:04] Production.INFO: ==21070== Releasing lock...
[2025-04-11 21:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 21:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 21:55:04] Production.ERROR: done
[2025-04-11 21:55:05] Production.INFO: Account Balance End.
[2025-04-11 21:55:05] Production.ERROR: CronJobId end 12
[2025-04-11 21:55:05] Production.INFO: ==21066== Releasing lock...
[2025-04-11 21:55:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 21:55:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 21:55:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 18:55:06
[end_date_ymd] => 2025-04-11 21:55:06
[RateCDR] => 1
)
[2025-04-11 21:55:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 18:55:06' and `end` < '2025-04-11 21:55:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 21:55:14] Production.ERROR: CronJobId end10
[2025-04-11 21:55:14] Production.INFO: ==21064== Releasing lock...
[2025-04-11 21:55:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 21:55:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 21:55:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 21:55:16] Production.INFO: ============== Balance Warning START===========
[2025-04-11 21:55:16] Production.INFO: ============== Balance Warning END===========
[2025-04-11 21:55:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 21:55:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 21:55:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 21:55:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 21:55:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 21:55:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 21:55:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 21:55:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 21:55:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 21:55:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 21:55:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 21:55:16] Production.INFO: call_cost start
[2025-04-11 21:55:16] Production.INFO: call_cost end
[2025-04-11 21:55:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 21:55:17] Production.INFO: ============== Report Schedule START===========
[2025-04-11 21:55:17] Production.INFO: ============== Report Schedule END===========
[2025-04-11 21:55:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 21:55:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 21:55:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 21:55:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 21:55:17] Production.INFO: ============== Deal alert START===========
[2025-04-11 21:55:17] Production.INFO: ============== Deal alert END===========
[2025-04-11 21:55:17] Production.INFO: ==21060== Releasing lock...
[2025-04-11 21:55:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 21:55:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 21:55:19] Production.INFO: count ==1286
[2025-04-11 21:55:19] Production.ERROR: pbx CDR StartTime 2025-04-11 18:55:06 - End Time 2025-04-11 21:55:06
[2025-04-11 21:55:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 21:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887106', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887106', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887106', 'tblTempVendorCDR_20' ) start
[2025-04-11 21:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887106', 'tblTempVendorCDR_20' ) end
[2025-04-11 21:55:19] Production.INFO: ProcessCDR(1,14887106,1,1,2)
[2025-04-11 21:55:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887106,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:55:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887106,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:55:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887106,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:55:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887106,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:55:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887106', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:55:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887106', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:55:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 21:55:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 21:55:24] Production.INFO: ==21068== Releasing lock...
[2025-04-11 21:55:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 21:55:24] Production.INFO: 37.25 MB #Memory Used#
[2025-04-12 02:56:01] Production.INFO: ==21124== Lock acquired, processing the job...
[2025-04-12 02:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 02:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 02:56:01] Production.INFO: neon service started
[2025-04-12 02:56:01] Production.INFO: neon service started
[2025-04-12 02:56:01] Production.INFO: ==21124== Releasing lock...
[2025-04-12 02:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 02:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 21:56:02] Production.INFO: ==21126== Lock acquired, processing the job...
[2025-04-11 21:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 21:56:02] Production.INFO: ==21126== Releasing lock...
[2025-04-11 21:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 21:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 01:56:02] Production.INFO: ==21128== Lock acquired, processing the job...
[2025-04-12 01:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 01:56:02] Production.INFO: ==21128== Releasing lock...
[2025-04-12 01:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 01:56:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 21:56:03] Production.INFO: ==21134== Lock acquired, processing the job...
[2025-04-11 21:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 21:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 21:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 21:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 21:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 21:56:03] Production.INFO: ==21141== Lock acquired, processing the job...
[2025-04-11 21:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 21:56:03] Production.INFO: ==21130== Lock acquired, processing the job...
[2025-04-11 21:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 21:56:03] Production.INFO: ==21132== Lock acquired, processing the job...
[2025-04-11 21:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 21:56:03] Production.INFO: ==21136== Lock acquired, processing the job...
[2025-04-11 21:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 21:56:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 21:56:03] Production.INFO: count ==12
[2025-04-11 21:56:03] Production.INFO: ==21138== Lock acquired, processing the job...
[2025-04-11 21:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 21:56:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 21:56:03] Production.INFO: count ==23
[2025-04-11 21:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 21:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887107') start
[2025-04-11 21:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 21:56:03] Production.INFO: Account Balance Start.
[2025-04-11 21:56:03] Production.INFO: CreateAllLog Start
[2025-04-11 21:56:03] Production.INFO: 117
[2025-04-11 21:56:03] Production.INFO: Date 2025-04-08
[2025-04-11 21:56:03] Production.INFO: Reseller ==> 0
[2025-04-11 21:56:04] Production.INFO: Date 2025-04-09
[2025-04-11 21:56:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:56:04] Production.INFO: Date 2025-04-10
[2025-04-11 21:56:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:56:04] Production.INFO: Date 2025-04-11
[2025-04-11 21:56:04] Production.INFO: ==21132== Releasing lock...
[2025-04-11 21:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 21:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 21:56:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887107') end
[2025-04-11 21:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 21:56:04] Production.INFO: 1
[2025-04-11 21:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 21:56:04] Production.INFO: Total Charge 0
[2025-04-11 21:56:04] Production.INFO: CreateAllLog End
[2025-04-11 21:56:04] Production.INFO: ==21141== Releasing lock...
[2025-04-11 21:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 21:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 21:56:04] Production.ERROR: done
[2025-04-11 21:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 21:56:04] Production.ERROR: done
[2025-04-11 21:56:04] Production.INFO: Account Balance End.
[2025-04-11 21:56:04] Production.ERROR: CronJobId end 12
[2025-04-11 21:56:04] Production.INFO: ==21136== Releasing lock...
[2025-04-11 21:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 21:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 21:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 18:56:05
[end_date_ymd] => 2025-04-11 21:56:05
[RateCDR] => 1
)
[2025-04-11 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-11 18:56:05' and `end` < '2025-04-11 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-11 21:56:13] Production.ERROR: CronJobId end10
[2025-04-11 21:56:13] Production.INFO: ==21134== Releasing lock...
[2025-04-11 21:56:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 21:56:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 21:56:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 21:56:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 21:56:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 21:56:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 21:56:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 21:56:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 21:56:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 21:56:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 21:56:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 21:56:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 21:56:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 21:56:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 21:56:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 21:56:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 21:56:16] Production.INFO: call_cost start
[2025-04-11 21:56:16] Production.INFO: call_cost end
[2025-04-11 21:56:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 21:56:17] Production.INFO: ============== Report Schedule START===========
[2025-04-11 21:56:17] Production.INFO: ============== Report Schedule END===========
[2025-04-11 21:56:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 21:56:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 21:56:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 21:56:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 21:56:17] Production.INFO: ============== Deal alert START===========
[2025-04-11 21:56:17] Production.INFO: ============== Deal alert END===========
[2025-04-11 21:56:17] Production.INFO: ==21130== Releasing lock...
[2025-04-11 21:56:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 21:56:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 21:56:18] Production.INFO: count ==1288
[2025-04-11 21:56:18] Production.ERROR: pbx CDR StartTime 2025-04-11 18:56:05 - End Time 2025-04-11 21:56:05
[2025-04-11 21:56:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 21:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887111', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887111', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887111', 'tblTempVendorCDR_20' ) start
[2025-04-11 21:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887111', 'tblTempVendorCDR_20' ) end
[2025-04-11 21:56:18] Production.INFO: ProcessCDR(1,14887111,1,1,2)
[2025-04-11 21:56:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887111,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:56:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887111,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:56:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887111,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:56:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887111,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887111', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887111', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:56:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 21:56:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 21:56:22] Production.INFO: ==21138== Releasing lock...
[2025-04-11 21:56:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 21:56:22] Production.INFO: 37.25 MB #Memory Used#
[2025-04-12 02:57:02] Production.INFO: ==21203== Lock acquired, processing the job...
[2025-04-12 02:57:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 02:57:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 02:57:02] Production.INFO: neon service started
[2025-04-12 02:57:02] Production.INFO: neon service started
[2025-04-12 02:57:02] Production.INFO: ==21203== Releasing lock...
[2025-04-12 02:57:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 02:57:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 21:57:02] Production.INFO: ==21205== Lock acquired, processing the job...
[2025-04-11 21:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 21:57:02] Production.INFO: ==21205== Releasing lock...
[2025-04-11 21:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 21:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 01:57:03] Production.INFO: ==21207== Lock acquired, processing the job...
[2025-04-12 01:57:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 01:57:03] Production.INFO: ==21207== Releasing lock...
[2025-04-12 01:57:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 01:57:03] Production.INFO: 25 MB #Memory Used#
[2025-04-11 21:57:03] Production.INFO: ==21211== Lock acquired, processing the job...
[2025-04-11 21:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 21:57:03] Production.INFO: ==21215== Lock acquired, processing the job...
[2025-04-11 21:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 21:57:03] Production.INFO: Account Balance Start.
[2025-04-11 21:57:03] Production.INFO: CreateAllLog Start
[2025-04-11 21:57:03] Production.INFO: 117
[2025-04-11 21:57:04] Production.INFO: Date 2025-04-08
[2025-04-11 21:57:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:57:04] Production.INFO: Date 2025-04-09
[2025-04-11 21:57:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:57:04] Production.INFO: Date 2025-04-10
[2025-04-11 21:57:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:57:04] Production.INFO: ==21209== Lock acquired, processing the job...
[2025-04-11 21:57:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 21:57:04] Production.INFO: Date 2025-04-11
[2025-04-11 21:57:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:57:04] Production.INFO: Total Charge 0
[2025-04-11 21:57:04] Production.INFO: ==21213== Lock acquired, processing the job...
[2025-04-11 21:57:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 21:57:04] Production.INFO: CreateAllLog End
[2025-04-11 21:57:04] Production.INFO: ==21217== Lock acquired, processing the job...
[2025-04-11 21:57:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 21:57:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 21:57:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 21:57:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 21:57:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 21:57:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 21:57:04] Production.INFO: ==21219== Lock acquired, processing the job...
[2025-04-11 21:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 21:57:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 21:57:04] Production.INFO: Account Balance End.
[2025-04-11 21:57:04] Production.INFO: ==21211== Releasing lock...
[2025-04-11 21:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 21:57:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 21:57:04] Production.ERROR: CronJobId end 12
[2025-04-11 21:57:04] Production.INFO: ==21215== Releasing lock...
[2025-04-11 21:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 21:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 21:57:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 21:57:04] Production.ERROR: done
[2025-04-11 21:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 21:57:04] Production.INFO: count ==12
[2025-04-11 21:57:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 21:57:04] Production.INFO: count ==23
[2025-04-11 21:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887115') start
[2025-04-11 21:57:04] Production.ERROR: done
[2025-04-11 21:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887115') end
[2025-04-11 21:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 21:57:04] Production.INFO: 1
[2025-04-11 21:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 21:57:04] Production.INFO: ==21219== Releasing lock...
[2025-04-11 21:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 21:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 21:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 18:57:05
[end_date_ymd] => 2025-04-11 21:57:05
[RateCDR] => 1
)
[2025-04-11 21:57:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 18:57:05' and `end` < '2025-04-11 21:57:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 21:57:12] Production.ERROR: CronJobId end10
[2025-04-11 21:57:12] Production.INFO: ==21213== Releasing lock...
[2025-04-11 21:57:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 21:57:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 21:57:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 21:57:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 21:57:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 21:57:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 21:57:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 21:57:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 21:57:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 21:57:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 21:57:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 21:57:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 21:57:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 21:57:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 21:57:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 21:57:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 21:57:15] Production.INFO: call_cost start
[2025-04-11 21:57:15] Production.INFO: call_cost end
[2025-04-11 21:57:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 21:57:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 21:57:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 21:57:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 21:57:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 21:57:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 21:57:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 21:57:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 21:57:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 21:57:16] Production.INFO: ==21209== Releasing lock...
[2025-04-11 21:57:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 21:57:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 21:57:18] Production.INFO: count ==1285
[2025-04-11 21:57:18] Production.ERROR: pbx CDR StartTime 2025-04-11 18:57:05 - End Time 2025-04-11 21:57:05
[2025-04-11 21:57:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 21:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887116', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887116', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887116', 'tblTempVendorCDR_20' ) start
[2025-04-11 21:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887116', 'tblTempVendorCDR_20' ) end
[2025-04-11 21:57:18] Production.INFO: ProcessCDR(1,14887116,1,1,2)
[2025-04-11 21:57:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887116,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:57:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887116,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:57:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887116,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:57:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887116,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887116', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887116', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:57:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 21:57:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 21:57:22] Production.INFO: ==21217== Releasing lock...
[2025-04-11 21:57:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 21:57:22] Production.INFO: 37.25 MB #Memory Used#
[2025-04-12 02:58:01] Production.INFO: ==21276== Lock acquired, processing the job...
[2025-04-12 02:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 02:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 02:58:01] Production.INFO: neon service started
[2025-04-12 02:58:01] Production.INFO: neon service started
[2025-04-12 02:58:01] Production.INFO: ==21276== Releasing lock...
[2025-04-12 02:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 02:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 01:58:02] Production.INFO: ==21280== Lock acquired, processing the job...
[2025-04-12 01:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 01:58:02] Production.INFO: ==21280== Releasing lock...
[2025-04-12 01:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 01:58:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 21:58:02] Production.INFO: ==21278== Lock acquired, processing the job...
[2025-04-11 21:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 21:58:02] Production.INFO: ==21278== Releasing lock...
[2025-04-11 21:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 21:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 21:58:03] Production.INFO: ==21283== Lock acquired, processing the job...
[2025-04-11 21:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 21:58:03] Production.INFO: ==21285== Lock acquired, processing the job...
[2025-04-11 21:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 21:58:03] Production.INFO: ==21289== Lock acquired, processing the job...
[2025-04-11 21:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 21:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 21:58:03] Production.INFO: Account Balance Start.
[2025-04-11 21:58:03] Production.INFO: CreateAllLog Start
[2025-04-11 21:58:03] Production.INFO: 117
[2025-04-11 21:58:03] Production.INFO: Date 2025-04-08
[2025-04-11 21:58:03] Production.INFO: ==21287== Lock acquired, processing the job...
[2025-04-11 21:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 21:58:03] Production.INFO: Reseller ==> 0
[2025-04-11 21:58:03] Production.INFO: Date 2025-04-09
[2025-04-11 21:58:03] Production.INFO: Reseller ==> 0
[2025-04-11 21:58:03] Production.INFO: Date 2025-04-10
[2025-04-11 21:58:03] Production.INFO: Reseller ==> 0
[2025-04-11 21:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 21:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 21:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 21:58:03] Production.INFO: Date 2025-04-11
[2025-04-11 21:58:03] Production.INFO: Reseller ==> 0
[2025-04-11 21:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 21:58:03] Production.INFO: Total Charge 0
[2025-04-11 21:58:03] Production.INFO: CreateAllLog End
[2025-04-11 21:58:03] Production.INFO: ==21291== Lock acquired, processing the job...
[2025-04-11 21:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 21:58:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 21:58:04] Production.INFO: ==21293== Lock acquired, processing the job...
[2025-04-11 21:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 21:58:04] Production.INFO: ==21285== Releasing lock...
[2025-04-11 21:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 21:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 21:58:04] Production.INFO: Account Balance End.
[2025-04-11 21:58:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 21:58:04] Production.INFO: count ==12
[2025-04-11 21:58:04] Production.ERROR: CronJobId end 12
[2025-04-11 21:58:04] Production.INFO: ==21289== Releasing lock...
[2025-04-11 21:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 21:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 21:58:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 21:58:04] Production.INFO: count ==23
[2025-04-11 21:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887120') start
[2025-04-11 21:58:04] Production.ERROR: done
[2025-04-11 21:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 21:58:04] Production.ERROR: done
[2025-04-11 21:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887120') end
[2025-04-11 21:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 21:58:04] Production.INFO: 1
[2025-04-11 21:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 21:58:04] Production.INFO: ==21293== Releasing lock...
[2025-04-11 21:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 21:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 21:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 18:58:05
[end_date_ymd] => 2025-04-11 21:58:05
[RateCDR] => 1
)
[2025-04-11 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-11 18:58:05' and `end` < '2025-04-11 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-11 21:58:12] Production.ERROR: CronJobId end10
[2025-04-11 21:58:12] Production.INFO: ==21287== Releasing lock...
[2025-04-11 21:58:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 21:58:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 21:58:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 21:58:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 21:58:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 21:58:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 21:58:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 21:58:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 21:58:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 21:58:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 21:58:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 21:58:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 21:58:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 21:58:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 21:58:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 21:58:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 21:58:14] Production.INFO: call_cost start
[2025-04-11 21:58:14] Production.INFO: call_cost end
[2025-04-11 21:58:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 21:58:15] Production.INFO: ============== Report Schedule START===========
[2025-04-11 21:58:15] Production.INFO: ============== Report Schedule END===========
[2025-04-11 21:58:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 21:58:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 21:58:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 21:58:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 21:58:15] Production.INFO: ============== Deal alert START===========
[2025-04-11 21:58:15] Production.INFO: ============== Deal alert END===========
[2025-04-11 21:58:15] Production.INFO: ==21283== Releasing lock...
[2025-04-11 21:58:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 21:58:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 21:58:18] Production.INFO: count ==1285
[2025-04-11 21:58:18] Production.ERROR: pbx CDR StartTime 2025-04-11 18:58:05 - End Time 2025-04-11 21:58:05
[2025-04-11 21:58:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 21:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887121', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887121', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887121', 'tblTempVendorCDR_20' ) start
[2025-04-11 21:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887121', 'tblTempVendorCDR_20' ) end
[2025-04-11 21:58:18] Production.INFO: ProcessCDR(1,14887121,1,1,2)
[2025-04-11 21:58:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887121,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:58:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887121,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:58:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887121,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:58:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887121,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887121', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887121', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:58:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 21:58:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 21:58:22] Production.INFO: ==21291== Releasing lock...
[2025-04-11 21:58:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 21:58:22] Production.INFO: 37.25 MB #Memory Used#
[2025-04-12 02:59:02] Production.INFO: ==21350== Lock acquired, processing the job...
[2025-04-12 02:59:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 02:59:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 02:59:02] Production.INFO: neon service started
[2025-04-12 02:59:02] Production.INFO: neon service started
[2025-04-12 02:59:02] Production.INFO: ==21350== Releasing lock...
[2025-04-12 02:59:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 02:59:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 01:59:02] Production.INFO: ==21354== Lock acquired, processing the job...
[2025-04-12 01:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 01:59:02] Production.INFO: ==21354== Releasing lock...
[2025-04-12 01:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 01:59:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 21:59:02] Production.INFO: ==21352== Lock acquired, processing the job...
[2025-04-11 21:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 21:59:03] Production.INFO: ==21352== Releasing lock...
[2025-04-11 21:59:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 21:59:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 21:59:03] Production.INFO: ==21365== Lock acquired, processing the job...
[2025-04-11 21:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 21:59:03] Production.INFO: ==21363== Lock acquired, processing the job...
[2025-04-11 21:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 21:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 21:59:04] Production.INFO: Account Balance Start.
[2025-04-11 21:59:04] Production.INFO: CreateAllLog Start
[2025-04-11 21:59:04] Production.INFO: 117
[2025-04-11 21:59:04] Production.INFO: Date 2025-04-08
[2025-04-11 21:59:04] Production.INFO: ==21357== Lock acquired, processing the job...
[2025-04-11 21:59:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 21:59:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:59:04] Production.INFO: Date 2025-04-09
[2025-04-11 21:59:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:59:04] Production.INFO: ==21359== Lock acquired, processing the job...
[2025-04-11 21:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 21:59:04] Production.INFO: Date 2025-04-10
[2025-04-11 21:59:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:59:04] Production.INFO: ==21361== Lock acquired, processing the job...
[2025-04-11 21:59:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 21:59:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 21:59:04] Production.INFO: ==21367== Lock acquired, processing the job...
[2025-04-11 21:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 21:59:04] Production.INFO: Date 2025-04-11
[2025-04-11 21:59:04] Production.INFO: Reseller ==> 0
[2025-04-11 21:59:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 21:59:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 21:59:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 21:59:04] Production.ERROR: done
[2025-04-11 21:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 21:59:04] Production.INFO: Total Charge 0
[2025-04-11 21:59:04] Production.INFO: CreateAllLog End
[2025-04-11 21:59:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 21:59:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 21:59:04] Production.INFO: count ==12
[2025-04-11 21:59:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 21:59:04] Production.INFO: count ==23
[2025-04-11 21:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887125') start
[2025-04-11 21:59:04] Production.ERROR: done
[2025-04-11 21:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887125') end
[2025-04-11 21:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 21:59:04] Production.INFO: 1
[2025-04-11 21:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 21:59:04] Production.INFO: Account Balance End.
[2025-04-11 21:59:04] Production.INFO: ==21367== Releasing lock...
[2025-04-11 21:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 21:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 21:59:04] Production.INFO: ==21359== Releasing lock...
[2025-04-11 21:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 21:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 21:59:04] Production.ERROR: CronJobId end 12
[2025-04-11 21:59:04] Production.INFO: ==21363== Releasing lock...
[2025-04-11 21:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 21:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 21:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 18:59:05
[end_date_ymd] => 2025-04-11 21:59:05
[RateCDR] => 1
)
[2025-04-11 21:59:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 18:59:05' and `end` < '2025-04-11 21:59:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 21:59:13] Production.ERROR: CronJobId end10
[2025-04-11 21:59:13] Production.INFO: ==21361== Releasing lock...
[2025-04-11 21:59:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 21:59:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 21:59:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 21:59:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 21:59:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 21:59:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 21:59:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 21:59:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 21:59:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 21:59:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 21:59:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 21:59:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 21:59:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 21:59:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 21:59:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 21:59:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 21:59:15] Production.INFO: call_cost start
[2025-04-11 21:59:15] Production.INFO: call_cost end
[2025-04-11 21:59:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 21:59:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 21:59:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 21:59:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 21:59:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 21:59:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 21:59:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 21:59:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 21:59:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 21:59:16] Production.INFO: ==21357== Releasing lock...
[2025-04-11 21:59:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 21:59:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 21:59:18] Production.INFO: count ==1285
[2025-04-11 21:59:18] Production.ERROR: pbx CDR StartTime 2025-04-11 18:59:05 - End Time 2025-04-11 21:59:05
[2025-04-11 21:59:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 21:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887126', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887126', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887126', 'tblTempVendorCDR_20' ) start
[2025-04-11 21:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887126', 'tblTempVendorCDR_20' ) end
[2025-04-11 21:59:18] Production.INFO: ProcessCDR(1,14887126,1,1,2)
[2025-04-11 21:59:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887126,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:59:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887126,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 21:59:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887126,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:59:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887126,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 21:59:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887126', 'tblTempUsageDetail_20' ) start
[2025-04-11 21:59:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887126', 'tblTempUsageDetail_20' ) end
[2025-04-11 21:59:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 21:59:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 21:59:23] Production.INFO: ==21365== Releasing lock...
[2025-04-11 21:59:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 21:59:23] Production.INFO: 37.25 MB #Memory Used#
[2025-04-12 03:00:01] Production.INFO: ==21423== Lock acquired, processing the job...
[2025-04-12 03:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 03:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 03:00:01] Production.INFO: neon service started
[2025-04-12 03:00:01] Production.INFO: neon service started
[2025-04-12 03:00:01] Production.INFO: ==21423== Releasing lock...
[2025-04-12 03:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 03:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 22:00:02] Production.INFO: ==21425== Lock acquired, processing the job...
[2025-04-11 22:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 02:00:02] Production.INFO: ==21427== Lock acquired, processing the job...
[2025-04-12 02:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 02:00:02] Production.INFO: ==21427== Releasing lock...
[2025-04-12 02:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 02:00:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 22:00:02] Production.INFO: ==21425== Releasing lock...
[2025-04-11 22:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 22:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 22:00:03] Production.INFO: ==21430== Lock acquired, processing the job...
[2025-04-11 22:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-11 22:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-11 22:00:03] Production.ERROR: ========================== active cronjob end =============================
[2025-04-11 22:00:03] Production.INFO: ==21430== Releasing lock...
[2025-04-11 22:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-11 22:00:03] Production.INFO: 25.5 MB #Memory Used#
[2025-04-11 22:00:03] Production.INFO: ==21434== Lock acquired, processing the job...
[2025-04-11 22:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 22:00:03] Production.INFO: ==21436== Lock acquired, processing the job...
[2025-04-11 22:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 22:00:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 22:00:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 22:00:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 22:00:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 22:00:03] Production.INFO: ==21440== Lock acquired, processing the job...
[2025-04-11 22:00:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 22:00:03] Production.INFO: ==21432== Lock acquired, processing the job...
[2025-04-11 22:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 22:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 22:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 22:00:04] Production.INFO: ==21438== Lock acquired, processing the job...
[2025-04-11 22:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 22:00:04] Production.INFO: ==21434== Releasing lock...
[2025-04-11 22:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 22:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 22:00:04] Production.INFO: ==21444== Lock acquired, processing the job...
[2025-04-11 22:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 22:00:04] Production.INFO: ==21442== Lock acquired, processing the job...
[2025-04-11 22:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-11 22:00:04] Production.INFO: Account Balance Start.
[2025-04-11 22:00:04] Production.INFO: CreateAllLog Start
[2025-04-11 22:00:04] Production.INFO: 117
[2025-04-11 22:00:04] Production.INFO: Date 2025-04-08
[2025-04-11 22:00:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:00:04] Production.ERROR: done
[2025-04-11 22:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 22:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 22:00:04] Production.INFO: Date 2025-04-09
[2025-04-11 22:00:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 22:00:04] Production.INFO: Date 2025-04-10
[2025-04-11 22:00:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:00:04] Production.INFO: count ==12
[2025-04-11 22:00:04] Production.INFO: Date 2025-04-11
[2025-04-11 22:00:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 22:00:04] Production.INFO: count ==23
[2025-04-11 22:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887130') start
[2025-04-11 22:00:04] Production.INFO: Total Charge 0
[2025-04-11 22:00:04] Production.INFO: CreateAllLog End
[2025-04-11 22:00:04] Production.ERROR: done
[2025-04-11 22:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887130') end
[2025-04-11 22:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 22:00:04] Production.INFO: 1
[2025-04-11 22:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 22:00:04] Production.INFO: ==21444== Releasing lock...
[2025-04-11 22:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 22:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 22:00:04] Production.INFO: Account Balance End.
[2025-04-11 22:00:04] Production.ERROR: CronJobId end 12
[2025-04-11 22:00:04] Production.INFO: ==21438== Releasing lock...
[2025-04-11 22:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 22:00:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 22:00:04] Production.ERROR: done
[2025-04-11 22:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-11 22:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14887132', 'tblTempUsageDetail_20reseller','2025-04-11','2025-04-11','1' ) start
[2025-04-11 22:00:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 19:00:05
[end_date_ymd] => 2025-04-11 22:00:05
[RateCDR] => 1
)
[2025-04-11 22: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-11 19:00:05' and `end` < '2025-04-11 22: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-11 22:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14887132', 'tblTempUsageDetail_20reseller','2025-04-11','2025-04-11','1' ) end
[2025-04-11 22:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-11 22:00:09] Production.INFO: ProcessCDR(1,14887132,1,1,2)
[2025-04-11 22:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14887132,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14887132,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 22:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 22:00:09] Production.INFO: ==21442== Releasing lock...
[2025-04-11 22:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-11 22:00:09] Production.INFO: 26 MB #Memory Used#
[2025-04-11 22:00:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 22:00:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 22:00:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 22:00:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 22:00:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 22:00:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 22:00:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 22:00:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 22:00:15] Production.ERROR: CronJobId end10
[2025-04-11 22:00:15] Production.INFO: ==21436== Releasing lock...
[2025-04-11 22:00:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 22:00:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 22:00:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 22:00:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 22:00:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 22:00:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 22:00:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 22:00:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 22:00:16] Production.INFO: call_cost start
[2025-04-11 22:00:16] Production.INFO: call_cost end
[2025-04-11 22:00:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 22:00:17] Production.INFO: ============== Report Schedule START===========
[2025-04-11 22:00:17] Production.INFO: ============== Report Schedule END===========
[2025-04-11 22:00:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 22:00:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 22:00:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 22:00:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 22:00:17] Production.INFO: ============== Deal alert START===========
[2025-04-11 22:00:17] Production.INFO: ============== Deal alert END===========
[2025-04-11 22:00:17] Production.INFO: ==21432== Releasing lock...
[2025-04-11 22:00:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 22:00:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 22:00:18] Production.INFO: count ==1290
[2025-04-11 22:00:18] Production.ERROR: pbx CDR StartTime 2025-04-11 19:00:05 - End Time 2025-04-11 22:00:05
[2025-04-11 22:00:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 22:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887131', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887131', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887131', 'tblTempVendorCDR_20' ) start
[2025-04-11 22:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887131', 'tblTempVendorCDR_20' ) end
[2025-04-11 22:00:18] Production.INFO: ProcessCDR(1,14887131,1,1,2)
[2025-04-11 22:00:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887131,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:00:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887131,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:00:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887131,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:00:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887131,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887131', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887131', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:00:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 22:00:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 22:00:22] Production.INFO: ==21440== Releasing lock...
[2025-04-11 22:00:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 22:00:22] Production.INFO: 37.25 MB #Memory Used#
[2025-04-12 03:01:02] Production.INFO: ==21514== Lock acquired, processing the job...
[2025-04-12 03:01:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 03:01:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 03:01:02] Production.INFO: neon service started
[2025-04-12 03:01:02] Production.INFO: neon service started
[2025-04-12 03:01:02] Production.INFO: ==21514== Releasing lock...
[2025-04-12 03:01:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 03:01:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 22:01:02] Production.INFO: ==21520== Lock acquired, processing the job...
[2025-04-11 22:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 22:01:02] Production.INFO: ==21520== Releasing lock...
[2025-04-11 22:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 22:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 02:01:02] Production.INFO: ==21522== Lock acquired, processing the job...
[2025-04-12 02:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 02:01:03] Production.INFO: ==21522== Releasing lock...
[2025-04-12 02:01:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 02:01:03] Production.INFO: 25 MB #Memory Used#
[2025-04-11 22:01:03] Production.INFO: ==21531== Lock acquired, processing the job...
[2025-04-11 22:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 22:01:03] Production.INFO: ==21535== Lock acquired, processing the job...
[2025-04-11 22:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 22:01:03] Production.INFO: Account Balance Start.
[2025-04-11 22:01:03] Production.INFO: CreateAllLog Start
[2025-04-11 22:01:03] Production.INFO: 117
[2025-04-11 22:01:03] Production.INFO: Date 2025-04-08
[2025-04-11 22:01:03] Production.INFO: Reseller ==> 0
[2025-04-11 22:01:03] Production.INFO: Date 2025-04-09
[2025-04-11 22:01:03] Production.INFO: Reseller ==> 0
[2025-04-11 22:01:03] Production.INFO: Date 2025-04-10
[2025-04-11 22:01:03] Production.INFO: Reseller ==> 0
[2025-04-11 22:01:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 22:01:03] Production.INFO: ==21527== Lock acquired, processing the job...
[2025-04-11 22:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 22:01:03] Production.INFO: Date 2025-04-11
[2025-04-11 22:01:03] Production.INFO: Reseller ==> 0
[2025-04-11 22:01:03] Production.INFO: count ==12
[2025-04-11 22:01:03] Production.INFO: Total Charge 0
[2025-04-11 22:01:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 22:01:03] Production.INFO: CreateAllLog End
[2025-04-11 22:01:03] Production.INFO: ==21525== Lock acquired, processing the job...
[2025-04-11 22:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 22:01:03] Production.INFO: count ==23
[2025-04-11 22:01:03] Production.INFO: ==21529== Lock acquired, processing the job...
[2025-04-11 22:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 22:01:04] Production.INFO: ==21533== Lock acquired, processing the job...
[2025-04-11 22:01:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 22:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887134') start
[2025-04-11 22:01:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 22:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887134') end
[2025-04-11 22:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 22:01:04] Production.INFO: 1
[2025-04-11 22:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 22:01:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 22:01:04] Production.INFO: Account Balance End.
[2025-04-11 22:01:04] Production.INFO: ==21535== Releasing lock...
[2025-04-11 22:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 22:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 22:01:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 22:01:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 22:01:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 22:01:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 22:01:04] Production.ERROR: CronJobId end 12
[2025-04-11 22:01:04] Production.INFO: ==21531== Releasing lock...
[2025-04-11 22:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 22:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 22:01:04] Production.INFO: ==21527== Releasing lock...
[2025-04-11 22:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 22:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 22:01:04] Production.ERROR: done
[2025-04-11 22:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 22:01:04] Production.ERROR: done
[2025-04-11 22:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 19:01:05
[end_date_ymd] => 2025-04-11 22:01:05
[RateCDR] => 1
)
[2025-04-11 22:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 19:01:05' and `end` < '2025-04-11 22:01:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 22:01:13] Production.ERROR: CronJobId end10
[2025-04-11 22:01:13] Production.INFO: ==21529== Releasing lock...
[2025-04-11 22:01:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 22:01:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 22:01:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 22:01:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 22:01:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 22:01:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 22:01:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 22:01:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 22:01:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 22:01:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 22:01:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 22:01:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 22:01:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 22:01:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 22:01:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 22:01:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 22:01:15] Production.INFO: call_cost start
[2025-04-11 22:01:15] Production.INFO: call_cost end
[2025-04-11 22:01:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 22:01:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 22:01:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 22:01:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 22:01:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 22:01:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 22:01:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 22:01:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 22:01:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 22:01:16] Production.INFO: ==21525== Releasing lock...
[2025-04-11 22:01:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 22:01:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 22:01:18] Production.INFO: count ==1289
[2025-04-11 22:01:18] Production.ERROR: pbx CDR StartTime 2025-04-11 19:01:05 - End Time 2025-04-11 22:01:05
[2025-04-11 22:01:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 22:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887137', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887137', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887137', 'tblTempVendorCDR_20' ) start
[2025-04-11 22:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887137', 'tblTempVendorCDR_20' ) end
[2025-04-11 22:01:18] Production.INFO: ProcessCDR(1,14887137,1,1,2)
[2025-04-11 22:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887137,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:01:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887137,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:01:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887137,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:01:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887137,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887137', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887137', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:01:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 22:01:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 22:01:22] Production.INFO: ==21533== Releasing lock...
[2025-04-11 22:01:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 22:01:22] Production.INFO: 37.25 MB #Memory Used#
[2025-04-12 03:02:01] Production.INFO: ==21589== Lock acquired, processing the job...
[2025-04-12 03:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 03:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 03:02:01] Production.INFO: neon service started
[2025-04-12 03:02:01] Production.INFO: neon service started
[2025-04-12 03:02:01] Production.INFO: ==21589== Releasing lock...
[2025-04-12 03:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 03:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 22:02:02] Production.INFO: ==21591== Lock acquired, processing the job...
[2025-04-11 22:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 22:02:02] Production.INFO: ==21591== Releasing lock...
[2025-04-11 22:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 22:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 02:02:02] Production.INFO: ==21593== Lock acquired, processing the job...
[2025-04-12 02:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 02:02:02] Production.INFO: ==21593== Releasing lock...
[2025-04-12 02:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 02:02:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 22:02:03] Production.INFO: ==21598== Lock acquired, processing the job...
[2025-04-11 22:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 22:02:03] Production.INFO: ==21596== Lock acquired, processing the job...
[2025-04-11 22:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 22:02:03] Production.INFO: ==21600== Lock acquired, processing the job...
[2025-04-11 22:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 22:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 22:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 22:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 22:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 22:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 22:02:03] Production.INFO: ==21598== Releasing lock...
[2025-04-11 22:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 22:02:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 22:02:03] Production.INFO: ==21604== Lock acquired, processing the job...
[2025-04-11 22:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 22:02:03] Production.INFO: ==21602== Lock acquired, processing the job...
[2025-04-11 22:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 22:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 22:02:03] Production.INFO: Account Balance Start.
[2025-04-11 22:02:03] Production.INFO: CreateAllLog Start
[2025-04-11 22:02:03] Production.INFO: 117
[2025-04-11 22:02:03] Production.INFO: Date 2025-04-08
[2025-04-11 22:02:03] Production.INFO: ==21606== Lock acquired, processing the job...
[2025-04-11 22:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 22:02:03] Production.INFO: Reseller ==> 0
[2025-04-11 22:02:03] Production.INFO: Date 2025-04-09
[2025-04-11 22:02:03] Production.INFO: Reseller ==> 0
[2025-04-11 22:02:03] Production.INFO: Date 2025-04-10
[2025-04-11 22:02:03] Production.INFO: Reseller ==> 0
[2025-04-11 22:02:03] Production.INFO: Date 2025-04-11
[2025-04-11 22:02:03] Production.INFO: Reseller ==> 0
[2025-04-11 22:02:03] Production.INFO: Total Charge 0
[2025-04-11 22: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-11 22:02:03] Production.INFO: CreateAllLog End
[2025-04-11 22:02:04] Production.INFO: count ==12
[2025-04-11 22:02:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 22:02:04] Production.ERROR: done
[2025-04-11 22:02:04] Production.INFO: count ==23
[2025-04-11 22:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 22:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887141') start
[2025-04-11 22:02:04] Production.INFO: Account Balance End.
[2025-04-11 22:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887141') end
[2025-04-11 22:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 22:02:04] Production.INFO: 1
[2025-04-11 22:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 22:02:04] Production.ERROR: CronJobId end 12
[2025-04-11 22:02:04] Production.INFO: ==21602== Releasing lock...
[2025-04-11 22:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 22:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 22:02:04] Production.INFO: ==21606== Releasing lock...
[2025-04-11 22:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 22:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 22:02:04] Production.ERROR: done
[2025-04-11 22:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 19:02:05
[end_date_ymd] => 2025-04-11 22:02:05
[RateCDR] => 1
)
[2025-04-11 22:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 19:02:05' and `end` < '2025-04-11 22:02:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 22:02:13] Production.ERROR: CronJobId end10
[2025-04-11 22:02:13] Production.INFO: ==21600== Releasing lock...
[2025-04-11 22:02:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 22:02:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 22:02:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 22:02:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 22:02:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 22:02:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 22:02:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 22:02:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 22:02:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 22:02:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 22:02:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 22:02:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 22:02:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 22:02:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 22:02:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 22:02:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 22:02:14] Production.INFO: call_cost start
[2025-04-11 22:02:14] Production.INFO: call_cost end
[2025-04-11 22:02:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 22:02:15] Production.INFO: ============== Report Schedule START===========
[2025-04-11 22:02:15] Production.INFO: ============== Report Schedule END===========
[2025-04-11 22:02:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 22:02:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 22:02:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 22:02:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 22:02:15] Production.INFO: ============== Deal alert START===========
[2025-04-11 22:02:15] Production.INFO: ============== Deal alert END===========
[2025-04-11 22:02:15] Production.INFO: ==21596== Releasing lock...
[2025-04-11 22:02:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 22:02:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 22:02:18] Production.INFO: count ==1286
[2025-04-11 22:02:18] Production.ERROR: pbx CDR StartTime 2025-04-11 19:02:05 - End Time 2025-04-11 22:02:05
[2025-04-11 22:02:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 22:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887142', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887142', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887142', 'tblTempVendorCDR_20' ) start
[2025-04-11 22:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887142', 'tblTempVendorCDR_20' ) end
[2025-04-11 22:02:18] Production.INFO: ProcessCDR(1,14887142,1,1,2)
[2025-04-11 22:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887142,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:02:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887142,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:02:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887142,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:02:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887142,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887142', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887142', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:02:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 22:02:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 22:02:21] Production.INFO: ==21604== Releasing lock...
[2025-04-11 22:02:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 22:02:21] Production.INFO: 37.25 MB #Memory Used#
[2025-04-12 03:03:02] Production.INFO: ==21699== Lock acquired, processing the job...
[2025-04-12 03:03:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 03:03:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 03:03:02] Production.INFO: neon service started
[2025-04-12 03:03:02] Production.INFO: neon service started
[2025-04-12 03:03:02] Production.INFO: ==21699== Releasing lock...
[2025-04-12 03:03:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 03:03:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 22:03:02] Production.INFO: ==21701== Lock acquired, processing the job...
[2025-04-11 22:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 22:03:02] Production.INFO: ==21701== Releasing lock...
[2025-04-11 22:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 22:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 02:03:02] Production.INFO: ==21703== Lock acquired, processing the job...
[2025-04-12 02:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 02:03:02] Production.INFO: ==21703== Releasing lock...
[2025-04-12 02:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 02:03:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 22:03:03] Production.INFO: ==21711== Lock acquired, processing the job...
[2025-04-11 22:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 22:03:03] Production.INFO: ==21705== Lock acquired, processing the job...
[2025-04-11 22:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 22:03:03] Production.INFO: ==21716== Lock acquired, processing the job...
[2025-04-11 22:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 22:03:03] Production.INFO: Account Balance Start.
[2025-04-11 22:03:03] Production.INFO: CreateAllLog Start
[2025-04-11 22:03:03] Production.INFO: 117
[2025-04-11 22:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 22:03:03] Production.INFO: Date 2025-04-08
[2025-04-11 22:03:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 22:03:03] Production.INFO: ==21707== Lock acquired, processing the job...
[2025-04-11 22:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 22:03:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:03:04] Production.INFO: ==21709== Lock acquired, processing the job...
[2025-04-11 22:03:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 22:03:04] Production.INFO: count ==12
[2025-04-11 22:03:04] Production.INFO: Date 2025-04-09
[2025-04-11 22:03:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 22:03:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:03:04] Production.INFO: count ==23
[2025-04-11 22:03:04] Production.INFO: ==21713== Lock acquired, processing the job...
[2025-04-11 22:03:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 22:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887144') start
[2025-04-11 22:03:04] Production.INFO: Date 2025-04-10
[2025-04-11 22:03:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:03:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 22:03:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 22:03:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 22:03:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 22:03:04] Production.INFO: Date 2025-04-11
[2025-04-11 22:03:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 22:03:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887144') end
[2025-04-11 22:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 22:03:04] Production.INFO: 1
[2025-04-11 22:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 22:03:04] Production.INFO: Total Charge 0
[2025-04-11 22:03:04] Production.INFO: CreateAllLog End
[2025-04-11 22:03:04] Production.INFO: ==21716== Releasing lock...
[2025-04-11 22:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 22:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 22:03:04] Production.INFO: ==21707== Releasing lock...
[2025-04-11 22:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 22:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 22:03:04] Production.INFO: Account Balance End.
[2025-04-11 22:03:04] Production.ERROR: CronJobId end 12
[2025-04-11 22:03:04] Production.INFO: ==21711== Releasing lock...
[2025-04-11 22:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 22:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 22:03:04] Production.ERROR: done
[2025-04-11 22:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 22:03:04] Production.ERROR: done
[2025-04-11 22:03:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 19:03:06
[end_date_ymd] => 2025-04-11 22:03:06
[RateCDR] => 1
)
[2025-04-11 22: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-11 19:03:06' and `end` < '2025-04-11 22: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-11 22:03:12] Production.ERROR: CronJobId end10
[2025-04-11 22:03:12] Production.INFO: ==21709== Releasing lock...
[2025-04-11 22:03:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 22:03:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 22:03:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 22:03:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 22:03:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 22:03:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 22:03:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 22:03:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 22:03:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 22:03:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 22:03:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 22:03:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 22:03:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 22:03:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 22:03:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 22:03:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 22:03:14] Production.INFO: call_cost start
[2025-04-11 22:03:14] Production.INFO: call_cost end
[2025-04-11 22:03:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 22:03:15] Production.INFO: ============== Report Schedule START===========
[2025-04-11 22:03:15] Production.INFO: ============== Report Schedule END===========
[2025-04-11 22:03:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 22:03:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 22:03:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 22:03:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 22:03:15] Production.INFO: ============== Deal alert START===========
[2025-04-11 22:03:15] Production.INFO: ============== Deal alert END===========
[2025-04-11 22:03:15] Production.INFO: ==21705== Releasing lock...
[2025-04-11 22:03:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 22:03:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 22:03:19] Production.INFO: count ==1286
[2025-04-11 22:03:19] Production.ERROR: pbx CDR StartTime 2025-04-11 19:03:06 - End Time 2025-04-11 22:03:06
[2025-04-11 22:03:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 22:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887147', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887147', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887147', 'tblTempVendorCDR_20' ) start
[2025-04-11 22:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887147', 'tblTempVendorCDR_20' ) end
[2025-04-11 22:03:19] Production.INFO: ProcessCDR(1,14887147,1,1,2)
[2025-04-11 22:03:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887147,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:03:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887147,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:03:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887147,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:03:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887147,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887147', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887147', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:03:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 22:03:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 22:03:22] Production.INFO: ==21713== Releasing lock...
[2025-04-11 22:03:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 22:03:22] Production.INFO: 37.25 MB #Memory Used#
[2025-04-12 03:04:01] Production.INFO: ==21777== Lock acquired, processing the job...
[2025-04-12 03:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 03:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 03:04:01] Production.INFO: neon service started
[2025-04-12 03:04:01] Production.INFO: neon service started
[2025-04-12 03:04:01] Production.INFO: ==21777== Releasing lock...
[2025-04-12 03:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 03:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 22:04:01] Production.INFO: ==21779== Lock acquired, processing the job...
[2025-04-11 22:04:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 22:04:02] Production.INFO: ==21779== Releasing lock...
[2025-04-11 22:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 22:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 02:04:02] Production.INFO: ==21781== Lock acquired, processing the job...
[2025-04-12 02:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 02:04:02] Production.INFO: ==21781== Releasing lock...
[2025-04-12 02:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 02:04:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 22:04:03] Production.INFO: ==21785== Lock acquired, processing the job...
[2025-04-11 22:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 22:04:03] Production.INFO: ==21783== Lock acquired, processing the job...
[2025-04-11 22:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 22:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 22:04:03] Production.INFO: ==21787== Lock acquired, processing the job...
[2025-04-11 22:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 22:04:03] Production.INFO: ==21789== Lock acquired, processing the job...
[2025-04-11 22:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 22:04:03] Production.INFO: Account Balance Start.
[2025-04-11 22:04:03] Production.INFO: CreateAllLog Start
[2025-04-11 22:04:03] Production.INFO: 117
[2025-04-11 22:04:03] Production.INFO: ==21785== Releasing lock...
[2025-04-11 22:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 22:04:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 22:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 22:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 22:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 22:04:03] Production.INFO: Date 2025-04-08
[2025-04-11 22:04:03] Production.INFO: ==21791== Lock acquired, processing the job...
[2025-04-11 22:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 22:04:03] Production.INFO: Reseller ==> 0
[2025-04-11 22:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 22:04:03] Production.INFO: Date 2025-04-09
[2025-04-11 22:04:03] Production.INFO: Reseller ==> 0
[2025-04-11 22:04:03] Production.INFO: Date 2025-04-10
[2025-04-11 22:04:03] Production.INFO: ==21793== Lock acquired, processing the job...
[2025-04-11 22:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 22:04:03] Production.INFO: Reseller ==> 0
[2025-04-11 22:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 22:04:03] Production.INFO: Date 2025-04-11
[2025-04-11 22:04:03] Production.INFO: Reseller ==> 0
[2025-04-11 22:04:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 22:04:03] Production.INFO: Total Charge 0
[2025-04-11 22:04:03] Production.INFO: count ==12
[2025-04-11 22: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-11 22:04:03] Production.INFO: CreateAllLog End
[2025-04-11 22:04:03] Production.INFO: count ==23
[2025-04-11 22:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887151') start
[2025-04-11 22:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887151') end
[2025-04-11 22:04:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 22:04:03] Production.INFO: 1
[2025-04-11 22:04:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 22:04:03] Production.INFO: ==21793== Releasing lock...
[2025-04-11 22:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 22:04:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 22:04:04] Production.ERROR: done
[2025-04-11 22:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 22:04:04] Production.INFO: Account Balance End.
[2025-04-11 22:04:04] Production.ERROR: done
[2025-04-11 22:04:04] Production.ERROR: CronJobId end 12
[2025-04-11 22:04:04] Production.INFO: ==21789== Releasing lock...
[2025-04-11 22:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 22:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 22:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 19:04:05
[end_date_ymd] => 2025-04-11 22:04:05
[RateCDR] => 1
)
[2025-04-11 22:04:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 19:04:05' and `end` < '2025-04-11 22:04:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 22:04:12] Production.ERROR: CronJobId end10
[2025-04-11 22:04:12] Production.INFO: ==21787== Releasing lock...
[2025-04-11 22:04:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 22:04:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 22:04:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 22:04:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 22:04:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 22:04:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 22:04:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 22:04:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 22:04:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 22:04:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 22:04:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 22:04:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 22:04:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 22:04:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 22:04:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 22:04:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 22:04:14] Production.INFO: call_cost start
[2025-04-11 22:04:14] Production.INFO: call_cost end
[2025-04-11 22:04:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 22:04:15] Production.INFO: ============== Report Schedule START===========
[2025-04-11 22:04:15] Production.INFO: ============== Report Schedule END===========
[2025-04-11 22:04:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 22:04:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 22:04:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 22:04:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 22:04:15] Production.INFO: ============== Deal alert START===========
[2025-04-11 22:04:15] Production.INFO: ============== Deal alert END===========
[2025-04-11 22:04:15] Production.INFO: ==21783== Releasing lock...
[2025-04-11 22:04:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 22:04:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 22:04:18] Production.INFO: count ==1290
[2025-04-11 22:04:18] Production.ERROR: pbx CDR StartTime 2025-04-11 19:04:05 - End Time 2025-04-11 22:04:05
[2025-04-11 22:04:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 22:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887152', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887152', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887152', 'tblTempVendorCDR_20' ) start
[2025-04-11 22:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887152', 'tblTempVendorCDR_20' ) end
[2025-04-11 22:04:18] Production.INFO: ProcessCDR(1,14887152,1,1,2)
[2025-04-11 22:04:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887152,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:04:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887152,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:04:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887152,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:04:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887152,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887152', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887152', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:04:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 22:04:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 22:04:21] Production.INFO: ==21791== Releasing lock...
[2025-04-11 22:04:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 22:04:21] Production.INFO: 37.25 MB #Memory Used#
[2025-04-12 03:05:02] Production.INFO: ==21849== Lock acquired, processing the job...
[2025-04-12 03:05:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 03:05:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 03:05:02] Production.INFO: neon service started
[2025-04-12 03:05:02] Production.INFO: neon service started
[2025-04-12 03:05:02] Production.INFO: ==21849== Releasing lock...
[2025-04-12 03:05:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 03:05:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 22:05:02] Production.INFO: ==21852== Lock acquired, processing the job...
[2025-04-11 22:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 02:05:02] Production.INFO: ==21854== Lock acquired, processing the job...
[2025-04-12 02:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 02:05:02] Production.INFO: ==21854== Releasing lock...
[2025-04-12 02:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 02:05:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 22:05:03] Production.INFO: ==21852== Releasing lock...
[2025-04-11 22:05:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 22:05:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 22:05:03] Production.INFO: ==21858== Lock acquired, processing the job...
[2025-04-11 22:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 22:05:04] Production.INFO: ==21866== Lock acquired, processing the job...
[2025-04-11 22:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 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-11 22:05:04] Production.INFO: ==21858== Releasing lock...
[2025-04-11 22:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 22:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 22:05:04] Production.INFO: ==21856== Lock acquired, processing the job...
[2025-04-11 22:05:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 22:05:04] Production.INFO: count ==12
[2025-04-11 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-11 22:05:04] Production.INFO: count ==23
[2025-04-11 22:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887154') start
[2025-04-11 22:05:04] Production.INFO: ==21860== Lock acquired, processing the job...
[2025-04-11 22:05:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 22:05:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 22:05:04] Production.INFO: ==21862== Lock acquired, processing the job...
[2025-04-11 22:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 22:05:04] Production.INFO: ==21864== Lock acquired, processing the job...
[2025-04-11 22:05:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 22:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887154') end
[2025-04-11 22:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 22:05:04] Production.INFO: 1
[2025-04-11 22:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 22:05:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 22:05:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 22:05:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 22:05:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 22:05:04] Production.INFO: ==21866== Releasing lock...
[2025-04-11 22:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 22:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 22:05:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 22:05:04] Production.INFO: Account Balance Start.
[2025-04-11 22:05:04] Production.INFO: CreateAllLog Start
[2025-04-11 22:05:04] Production.INFO: 117
[2025-04-11 22:05:04] Production.INFO: Date 2025-04-08
[2025-04-11 22:05:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:05:04] Production.INFO: Date 2025-04-09
[2025-04-11 22:05:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:05:04] Production.INFO: Date 2025-04-10
[2025-04-11 22:05:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:05:04] Production.INFO: Date 2025-04-11
[2025-04-11 22:05:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:05:04] Production.INFO: Total Charge 0
[2025-04-11 22:05:04] Production.INFO: CreateAllLog End
[2025-04-11 22:05:05] Production.ERROR: done
[2025-04-11 22:05:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 22:05:05] Production.INFO: Account Balance End.
[2025-04-11 22:05:05] Production.ERROR: CronJobId end 12
[2025-04-11 22:05:05] Production.INFO: ==21862== Releasing lock...
[2025-04-11 22:05:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 22:05:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 22:05:05] Production.ERROR: done
[2025-04-11 22:05:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 19:05:06
[end_date_ymd] => 2025-04-11 22:05:06
[RateCDR] => 1
)
[2025-04-11 22: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-11 19:05:06' and `end` < '2025-04-11 22: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-11 22:05:13] Production.ERROR: CronJobId end10
[2025-04-11 22:05:13] Production.INFO: ==21860== Releasing lock...
[2025-04-11 22:05:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 22:05:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 22:05:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 22:05:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 22:05:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 22:05:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 22:05:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 22:05:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 22:05:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 22:05:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 22:05:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 22:05:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 22:05:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 22:05:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 22:05:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 22:05:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 22:05:15] Production.INFO: call_cost start
[2025-04-11 22:05:15] Production.INFO: call_cost end
[2025-04-11 22:05:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 22:05:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 22:05:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 22:05:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 22:05:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 22:05:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 22:05:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 22:05:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 22:05:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 22:05:16] Production.INFO: ==21856== Releasing lock...
[2025-04-11 22:05:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 22:05:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 22:05:19] Production.INFO: count ==1287
[2025-04-11 22:05:19] Production.ERROR: pbx CDR StartTime 2025-04-11 19:05:06 - End Time 2025-04-11 22:05:06
[2025-04-11 22:05:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 22:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887157', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887157', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887157', 'tblTempVendorCDR_20' ) start
[2025-04-11 22:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887157', 'tblTempVendorCDR_20' ) end
[2025-04-11 22:05:19] Production.INFO: ProcessCDR(1,14887157,1,1,2)
[2025-04-11 22:05:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887157,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:05:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887157,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:05:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887157,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:05:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887157,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887157', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887157', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:05:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 22:05:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 22:05:22] Production.INFO: ==21864== Releasing lock...
[2025-04-11 22:05:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 22:05:22] Production.INFO: 37.25 MB #Memory Used#
[2025-04-12 03:06:01] Production.INFO: ==21926== Lock acquired, processing the job...
[2025-04-12 03:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 03:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 03:06:01] Production.INFO: neon service started
[2025-04-12 03:06:01] Production.INFO: neon service started
[2025-04-12 03:06:01] Production.INFO: ==21926== Releasing lock...
[2025-04-12 03:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 03:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 22:06:02] Production.INFO: ==21928== Lock acquired, processing the job...
[2025-04-11 22:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 02:06:02] Production.INFO: ==21930== Lock acquired, processing the job...
[2025-04-12 02:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 02:06:02] Production.INFO: ==21930== Releasing lock...
[2025-04-12 02:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 02:06:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 22:06:02] Production.INFO: ==21928== Releasing lock...
[2025-04-11 22:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 22:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 22:06:03] Production.INFO: ==21935== Lock acquired, processing the job...
[2025-04-11 22:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 22:06:03] Production.INFO: ==21933== Lock acquired, processing the job...
[2025-04-11 22:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 22:06:03] Production.INFO: ==21943== Lock acquired, processing the job...
[2025-04-11 22:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 22:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 22:06:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 22:06:03] Production.INFO: ==21937== Lock acquired, processing the job...
[2025-04-11 22:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 22:06:03] Production.INFO: ==21935== Releasing lock...
[2025-04-11 22:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 22:06:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 22:06:03] Production.INFO: ==21939== Lock acquired, processing the job...
[2025-04-11 22:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 22:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 22:06:03] Production.INFO: count ==12
[2025-04-11 22:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 22:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 22:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 22:06:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 22:06:03] Production.INFO: count ==23
[2025-04-11 22:06:03] Production.INFO: ==21941== Lock acquired, processing the job...
[2025-04-11 22:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 22:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887160') start
[2025-04-11 22:06:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 22:06:04] Production.INFO: Account Balance Start.
[2025-04-11 22:06:04] Production.INFO: CreateAllLog Start
[2025-04-11 22:06:04] Production.INFO: 117
[2025-04-11 22:06:04] Production.INFO: Date 2025-04-08
[2025-04-11 22:06:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887160') end
[2025-04-11 22:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 22:06:04] Production.INFO: 1
[2025-04-11 22:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 22:06:04] Production.INFO: ==21943== Releasing lock...
[2025-04-11 22:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 22:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 22:06:04] Production.INFO: Date 2025-04-09
[2025-04-11 22:06:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:06:04] Production.INFO: Date 2025-04-10
[2025-04-11 22:06:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:06:04] Production.INFO: Date 2025-04-11
[2025-04-11 22:06:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:06:04] Production.INFO: Total Charge 0
[2025-04-11 22:06:04] Production.INFO: CreateAllLog End
[2025-04-11 22:06:04] Production.ERROR: done
[2025-04-11 22:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 22:06:04] Production.ERROR: done
[2025-04-11 22:06:04] Production.INFO: Account Balance End.
[2025-04-11 22:06:04] Production.ERROR: CronJobId end 12
[2025-04-11 22:06:04] Production.INFO: ==21939== Releasing lock...
[2025-04-11 22:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 22:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 22:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 19:06:05
[end_date_ymd] => 2025-04-11 22:06:05
[RateCDR] => 1
)
[2025-04-11 22:06:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 19:06:05' and `end` < '2025-04-11 22:06:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 22:06:13] Production.ERROR: CronJobId end10
[2025-04-11 22:06:13] Production.INFO: ==21937== Releasing lock...
[2025-04-11 22:06:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 22:06:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 22:06:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 22:06:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 22:06:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 22:06:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 22:06:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 22:06:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 22:06:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 22:06:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 22:06:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 22:06:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 22:06:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 22:06:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 22:06:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 22:06:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 22:06:15] Production.INFO: call_cost start
[2025-04-11 22:06:15] Production.INFO: call_cost end
[2025-04-11 22:06:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 22:06:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 22:06:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 22:06:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 22:06:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 22:06:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 22:06:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 22:06:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 22:06:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 22:06:16] Production.INFO: ==21933== Releasing lock...
[2025-04-11 22:06:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 22:06:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 22:06:18] Production.INFO: count ==1285
[2025-04-11 22:06:18] Production.ERROR: pbx CDR StartTime 2025-04-11 19:06:05 - End Time 2025-04-11 22:06:05
[2025-04-11 22:06:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 22:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887162', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887162', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887162', 'tblTempVendorCDR_20' ) start
[2025-04-11 22:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887162', 'tblTempVendorCDR_20' ) end
[2025-04-11 22:06:18] Production.INFO: ProcessCDR(1,14887162,1,1,2)
[2025-04-11 22:06:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887162,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:06:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887162,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:06:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887162,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:06:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887162,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887162', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887162', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:06:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 22:06:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 22:06:22] Production.INFO: ==21941== Releasing lock...
[2025-04-11 22:06:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 22:06:22] Production.INFO: 37.25 MB #Memory Used#
[2025-04-12 03:07:02] Production.INFO: ==21999== Lock acquired, processing the job...
[2025-04-12 03:07:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 03:07:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 03:07:02] Production.INFO: neon service started
[2025-04-12 03:07:02] Production.INFO: neon service started
[2025-04-12 03:07:02] Production.INFO: ==21999== Releasing lock...
[2025-04-12 03:07:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 03:07:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 22:07:02] Production.INFO: ==22002== Lock acquired, processing the job...
[2025-04-11 22:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 22:07:02] Production.INFO: ==22002== Releasing lock...
[2025-04-11 22:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 22:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 02:07:02] Production.INFO: ==22004== Lock acquired, processing the job...
[2025-04-12 02:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 02:07:02] Production.INFO: ==22004== Releasing lock...
[2025-04-12 02:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 02:07:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 22:07:03] Production.INFO: ==22008== Lock acquired, processing the job...
[2025-04-11 22:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 22:07:03] Production.INFO: ==22016== Lock acquired, processing the job...
[2025-04-11 22:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 22:07:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 22:07:03] Production.INFO: count ==12
[2025-04-11 22:07:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 22:07:03] Production.INFO: count ==23
[2025-04-11 22:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887164') start
[2025-04-11 22:07:03] Production.INFO: ==22008== Releasing lock...
[2025-04-11 22:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 22:07:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 22:07:03] Production.INFO: ==22006== Lock acquired, processing the job...
[2025-04-11 22:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 22:07:03] Production.INFO: ==22010== Lock acquired, processing the job...
[2025-04-11 22:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 22:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887164') end
[2025-04-11 22:07:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 22:07:03] Production.INFO: 1
[2025-04-11 22:07:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 22:07:03] Production.INFO: ==22014== Lock acquired, processing the job...
[2025-04-11 22:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 22:07:03] Production.INFO: ==22012== Lock acquired, processing the job...
[2025-04-11 22:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 22:07:03] Production.INFO: ==22016== Releasing lock...
[2025-04-11 22:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 22:07:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 22:07:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 22:07:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 22:07:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 22:07:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 22:07:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 22:07:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 22:07:04] Production.INFO: Account Balance Start.
[2025-04-11 22:07:04] Production.INFO: CreateAllLog Start
[2025-04-11 22:07:04] Production.INFO: 117
[2025-04-11 22:07:04] Production.INFO: Date 2025-04-08
[2025-04-11 22:07:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:07:04] Production.INFO: Date 2025-04-09
[2025-04-11 22:07:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:07:04] Production.INFO: Date 2025-04-10
[2025-04-11 22:07:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:07:04] Production.INFO: Date 2025-04-11
[2025-04-11 22:07:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:07:04] Production.INFO: Total Charge 0
[2025-04-11 22:07:04] Production.INFO: CreateAllLog End
[2025-04-11 22:07:04] Production.ERROR: done
[2025-04-11 22:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 22:07:04] Production.ERROR: done
[2025-04-11 22:07:04] Production.INFO: Account Balance End.
[2025-04-11 22:07:04] Production.ERROR: CronJobId end 12
[2025-04-11 22:07:04] Production.INFO: ==22012== Releasing lock...
[2025-04-11 22:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 22:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 22:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 19:07:05
[end_date_ymd] => 2025-04-11 22:07:05
[RateCDR] => 1
)
[2025-04-11 22: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-11 19:07:05' and `end` < '2025-04-11 22: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-11 22:07:14] Production.ERROR: CronJobId end10
[2025-04-11 22:07:14] Production.INFO: ==22010== Releasing lock...
[2025-04-11 22:07:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 22:07:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 22:07:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 22:07:16] Production.INFO: ============== Balance Warning START===========
[2025-04-11 22:07:16] Production.INFO: ============== Balance Warning END===========
[2025-04-11 22:07:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 22:07:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 22:07:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 22:07:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 22:07:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 22:07:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 22:07:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 22:07:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 22:07:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 22:07:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 22:07:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 22:07:16] Production.INFO: call_cost start
[2025-04-11 22:07:16] Production.INFO: call_cost end
[2025-04-11 22:07:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 22:07:17] Production.INFO: ============== Report Schedule START===========
[2025-04-11 22:07:17] Production.INFO: ============== Report Schedule END===========
[2025-04-11 22:07:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 22:07:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 22:07:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 22:07:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 22:07:17] Production.INFO: ============== Deal alert START===========
[2025-04-11 22:07:17] Production.INFO: ============== Deal alert END===========
[2025-04-11 22:07:17] Production.INFO: ==22006== Releasing lock...
[2025-04-11 22:07:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 22:07:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 22:07:18] Production.INFO: count ==1285
[2025-04-11 22:07:18] Production.ERROR: pbx CDR StartTime 2025-04-11 19:07:05 - End Time 2025-04-11 22:07:05
[2025-04-11 22:07:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 22:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887167', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887167', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887167', 'tblTempVendorCDR_20' ) start
[2025-04-11 22:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887167', 'tblTempVendorCDR_20' ) end
[2025-04-11 22:07:18] Production.INFO: ProcessCDR(1,14887167,1,1,2)
[2025-04-11 22:07:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887167,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:07:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887167,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:07:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887167,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:07:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887167,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887167', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887167', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:07:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 22:07:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 22:07:22] Production.INFO: ==22014== Releasing lock...
[2025-04-11 22:07:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 22:07:22] Production.INFO: 37.25 MB #Memory Used#
[2025-04-12 03:08:01] Production.INFO: ==22072== Lock acquired, processing the job...
[2025-04-12 03:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 03:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 03:08:01] Production.INFO: neon service started
[2025-04-12 03:08:01] Production.INFO: neon service started
[2025-04-12 03:08:01] Production.INFO: ==22072== Releasing lock...
[2025-04-12 03:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 03:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 22:08:02] Production.INFO: ==22074== Lock acquired, processing the job...
[2025-04-11 22:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 02:08:02] Production.INFO: ==22076== Lock acquired, processing the job...
[2025-04-12 02:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 02:08:02] Production.INFO: ==22076== Releasing lock...
[2025-04-12 02:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 02:08:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 22:08:02] Production.INFO: ==22074== Releasing lock...
[2025-04-11 22:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 22:08:02] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 22:08:03] Production.INFO: ==22081== Lock acquired, processing the job...
[2025-04-11 22:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 22:08:03] Production.INFO: ==22079== Lock acquired, processing the job...
[2025-04-11 22:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 22:08:03] Production.INFO: ==22083== Lock acquired, processing the job...
[2025-04-11 22:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 22:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 22:08:03] Production.INFO: ==22085== Lock acquired, processing the job...
[2025-04-11 22:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 22:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 22:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 22:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 22:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 22:08:03] Production.INFO: ==22089== Lock acquired, processing the job...
[2025-04-11 22:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 22:08:03] Production.INFO: Account Balance Start.
[2025-04-11 22:08:03] Production.INFO: CreateAllLog Start
[2025-04-11 22:08:03] Production.INFO: 117
[2025-04-11 22:08:03] Production.INFO: Date 2025-04-08
[2025-04-11 22:08:03] Production.INFO: Reseller ==> 0
[2025-04-11 22:08:04] Production.INFO: ==22087== Lock acquired, processing the job...
[2025-04-11 22:08:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 22:08:04] Production.INFO: Date 2025-04-09
[2025-04-11 22:08:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:08:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 22:08:04] Production.INFO: count ==12
[2025-04-11 22:08:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 22:08:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 22:08:04] Production.INFO: count ==23
[2025-04-11 22:08:04] Production.INFO: Date 2025-04-10
[2025-04-11 22:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887171') start
[2025-04-11 22:08:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:08:04] Production.INFO: ==22081== Releasing lock...
[2025-04-11 22:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 22:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 22:08:04] Production.INFO: Date 2025-04-11
[2025-04-11 22:08:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887171') end
[2025-04-11 22:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 22:08:04] Production.INFO: 1
[2025-04-11 22:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 22:08:04] Production.INFO: Total Charge 0
[2025-04-11 22:08:04] Production.INFO: ==22089== Releasing lock...
[2025-04-11 22:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 22:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 22:08:04] Production.INFO: CreateAllLog End
[2025-04-11 22:08:04] Production.ERROR: done
[2025-04-11 22:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 22:08:04] Production.ERROR: done
[2025-04-11 22:08:04] Production.INFO: Account Balance End.
[2025-04-11 22:08:04] Production.ERROR: CronJobId end 12
[2025-04-11 22:08:04] Production.INFO: ==22085== Releasing lock...
[2025-04-11 22:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 22:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 22:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 19:08:05
[end_date_ymd] => 2025-04-11 22:08:05
[RateCDR] => 1
)
[2025-04-11 22:08:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 19:08:05' and `end` < '2025-04-11 22:08:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 22:08:13] Production.ERROR: CronJobId end10
[2025-04-11 22:08:13] Production.INFO: ==22083== Releasing lock...
[2025-04-11 22:08:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 22:08:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 22:08:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 22:08:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 22:08:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 22:08:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 22:08:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 22:08:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 22:08:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 22:08:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 22:08:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 22:08:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 22:08:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 22:08:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 22:08:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 22:08:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 22:08:15] Production.INFO: call_cost start
[2025-04-11 22:08:15] Production.INFO: call_cost end
[2025-04-11 22:08:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 22:08:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 22:08:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 22:08:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 22:08:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 22:08:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 22:08:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 22:08:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 22:08:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 22:08:16] Production.INFO: ==22079== Releasing lock...
[2025-04-11 22:08:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 22:08:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 22:08:18] Production.INFO: count ==1284
[2025-04-11 22:08:18] Production.ERROR: pbx CDR StartTime 2025-04-11 19:08:05 - End Time 2025-04-11 22:08:05
[2025-04-11 22:08:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 22:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887172', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887172', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887172', 'tblTempVendorCDR_20' ) start
[2025-04-11 22:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887172', 'tblTempVendorCDR_20' ) end
[2025-04-11 22:08:18] Production.INFO: ProcessCDR(1,14887172,1,1,2)
[2025-04-11 22:08:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887172,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:08:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887172,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:08:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887172,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:08:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887172,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887172', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887172', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:08:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 22:08:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 22:08:22] Production.INFO: ==22087== Releasing lock...
[2025-04-11 22:08:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 22:08:22] Production.INFO: 37.25 MB #Memory Used#
[2025-04-12 03:09:02] Production.INFO: ==22148== Lock acquired, processing the job...
[2025-04-12 03:09:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 03:09:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 03:09:02] Production.INFO: neon service started
[2025-04-12 03:09:02] Production.INFO: neon service started
[2025-04-12 03:09:02] Production.INFO: ==22148== Releasing lock...
[2025-04-12 03:09:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 03:09:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 22:09:02] Production.INFO: ==22150== Lock acquired, processing the job...
[2025-04-11 22:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 22:09:02] Production.INFO: ==22150== Releasing lock...
[2025-04-11 22:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 22:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 02:09:02] Production.INFO: ==22152== Lock acquired, processing the job...
[2025-04-12 02:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 02:09:02] Production.INFO: ==22152== Releasing lock...
[2025-04-12 02:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 02:09:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 22:09:03] Production.INFO: ==22158== Lock acquired, processing the job...
[2025-04-11 22:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 22:09:03] Production.INFO: ==22154== Lock acquired, processing the job...
[2025-04-11 22:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 22:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 22:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 22:09:03] Production.INFO: ==22162== Lock acquired, processing the job...
[2025-04-11 22:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 22:09:03] Production.INFO: ==22156== Lock acquired, processing the job...
[2025-04-11 22:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 22:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 22:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 22:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 22:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 22:09:03] Production.INFO: ==22160== Lock acquired, processing the job...
[2025-04-11 22:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 22:09:03] Production.INFO: ==22164== Lock acquired, processing the job...
[2025-04-11 22:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 22:09:03] Production.INFO: Account Balance Start.
[2025-04-11 22:09:03] Production.INFO: CreateAllLog Start
[2025-04-11 22:09:03] Production.INFO: 117
[2025-04-11 22:09:04] Production.INFO: Date 2025-04-08
[2025-04-11 22:09:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:09:04] Production.INFO: Date 2025-04-09
[2025-04-11 22:09:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:09:04] Production.INFO: Date 2025-04-10
[2025-04-11 22:09:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:09:04] Production.INFO: Date 2025-04-11
[2025-04-11 22:09:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:09:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 22:09:04] Production.ERROR: done
[2025-04-11 22:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 22:09:04] Production.INFO: count ==12
[2025-04-11 22:09:04] Production.INFO: ==22156== Releasing lock...
[2025-04-11 22:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 22:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 22:09:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 22:09:04] Production.INFO: count ==23
[2025-04-11 22:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887176') start
[2025-04-11 22:09:04] Production.INFO: Total Charge 0
[2025-04-11 22:09:04] Production.INFO: CreateAllLog End
[2025-04-11 22:09:04] Production.ERROR: done
[2025-04-11 22:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887176') end
[2025-04-11 22:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 22:09:04] Production.INFO: 1
[2025-04-11 22:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 22:09:04] Production.INFO: ==22164== Releasing lock...
[2025-04-11 22:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 22:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 22:09:04] Production.INFO: Account Balance End.
[2025-04-11 22:09:04] Production.ERROR: CronJobId end 12
[2025-04-11 22:09:04] Production.INFO: ==22160== Releasing lock...
[2025-04-11 22:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 22:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 22:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 19:09:05
[end_date_ymd] => 2025-04-11 22:09:05
[RateCDR] => 1
)
[2025-04-11 22:09:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 19:09:05' and `end` < '2025-04-11 22:09:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 22:09:13] Production.ERROR: CronJobId end10
[2025-04-11 22:09:13] Production.INFO: ==22158== Releasing lock...
[2025-04-11 22:09:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 22:09:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 22:09:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 22:09:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 22:09:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 22:09:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 22:09:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 22:09:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 22:09:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 22:09:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 22:09:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 22:09:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 22:09:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 22:09:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 22:09:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 22:09:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 22:09:15] Production.INFO: call_cost start
[2025-04-11 22:09:15] Production.INFO: call_cost end
[2025-04-11 22:09:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 22:09:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 22:09:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 22:09:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 22:09:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 22:09:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 22:09:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 22:09:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 22:09:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 22:09:16] Production.INFO: ==22154== Releasing lock...
[2025-04-11 22:09:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 22:09:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 22:09:18] Production.INFO: count ==1285
[2025-04-11 22:09:18] Production.ERROR: pbx CDR StartTime 2025-04-11 19:09:05 - End Time 2025-04-11 22:09:05
[2025-04-11 22:09:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 22:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887177', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887177', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887177', 'tblTempVendorCDR_20' ) start
[2025-04-11 22:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887177', 'tblTempVendorCDR_20' ) end
[2025-04-11 22:09:18] Production.INFO: ProcessCDR(1,14887177,1,1,2)
[2025-04-11 22:09:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887177,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:09:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887177,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:09:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887177,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:09:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887177,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:09:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887177', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:09:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887177', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:09:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 22:09:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 22:09:23] Production.INFO: ==22162== Releasing lock...
[2025-04-11 22:09:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 22:09:23] Production.INFO: 37.25 MB #Memory Used#
[2025-04-12 03:10:01] Production.INFO: ==22219== Lock acquired, processing the job...
[2025-04-12 03:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 03:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 03:10:01] Production.INFO: neon service started
[2025-04-12 03:10:01] Production.INFO: neon service started
[2025-04-12 03:10:01] Production.INFO: ==22219== Releasing lock...
[2025-04-12 03:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 03:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 22:10:02] Production.INFO: ==22221== Lock acquired, processing the job...
[2025-04-11 22:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 02:10:02] Production.INFO: ==22223== Lock acquired, processing the job...
[2025-04-12 02:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 02:10:02] Production.INFO: ==22223== Releasing lock...
[2025-04-12 02:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 02:10:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 22:10:02] Production.INFO: ==22221== Releasing lock...
[2025-04-11 22:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 22:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 22:10:03] Production.INFO: ==22226== Lock acquired, processing the job...
[2025-04-11 22:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-11 22:10:03] Production.INFO: ==22230== Lock acquired, processing the job...
[2025-04-11 22:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 22:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-11 22:10:03] Production.ERROR: ========================== active cronjob end =============================
[2025-04-11 22:10:03] Production.INFO: ==22226== Releasing lock...
[2025-04-11 22:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-11 22:10:03] Production.INFO: 25.5 MB #Memory Used#
[2025-04-11 22:10:03] Production.INFO: ==22232== Lock acquired, processing the job...
[2025-04-11 22:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 22:10:04] Production.INFO: ==22228== Lock acquired, processing the job...
[2025-04-11 22:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 22:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 22:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 22:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 22:10:04] Production.INFO: ==22238== Lock acquired, processing the job...
[2025-04-11 22:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-11 22:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 22:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 22:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 22:10:04] Production.INFO: ==22236== Lock acquired, processing the job...
[2025-04-11 22:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 22:10:04] Production.INFO: ==22234== Lock acquired, processing the job...
[2025-04-11 22:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 22:10:04] Production.INFO: ==22240== Lock acquired, processing the job...
[2025-04-11 22:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 22:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 22:10:04] Production.INFO: ==22230== Releasing lock...
[2025-04-11 22:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 22:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 22:10:04] Production.INFO: Account Balance Start.
[2025-04-11 22:10:04] Production.INFO: CreateAllLog Start
[2025-04-11 22:10:04] Production.INFO: 117
[2025-04-11 22:10:04] Production.INFO: Date 2025-04-08
[2025-04-11 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-11 22:10:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:10:04] Production.INFO: count ==12
[2025-04-11 22:10:04] Production.ERROR: done
[2025-04-11 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-11 22:10:04] Production.INFO: count ==23
[2025-04-11 22:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887181') start
[2025-04-11 22:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-11 22:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14887182', 'tblTempUsageDetail_20reseller','2025-04-11','2025-04-11','1' ) start
[2025-04-11 22:10:04] Production.INFO: Date 2025-04-09
[2025-04-11 22:10:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:10:04] Production.ERROR: done
[2025-04-11 22:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887181') end
[2025-04-11 22:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 22:10:04] Production.INFO: 1
[2025-04-11 22:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 22:10:04] Production.INFO: Date 2025-04-10
[2025-04-11 22:10:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:10:04] Production.INFO: Date 2025-04-11
[2025-04-11 22:10:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 22:10:05] Production.INFO: Total Charge 0
[2025-04-11 22:10:05] Production.INFO: ==22240== Releasing lock...
[2025-04-11 22:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 22:10:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 22:10:05] Production.INFO: CreateAllLog End
[2025-04-11 22:10:05] Production.ERROR: done
[2025-04-11 22:10:05] Production.INFO: Account Balance End.
[2025-04-11 22:10:05] Production.ERROR: CronJobId end 12
[2025-04-11 22:10:05] Production.INFO: ==22234== Releasing lock...
[2025-04-11 22:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 22:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 22:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 19:10:06
[end_date_ymd] => 2025-04-11 22:10:06
[RateCDR] => 1
)
[2025-04-11 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-11 19:10:06' and `end` < '2025-04-11 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-11 22:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14887182', 'tblTempUsageDetail_20reseller','2025-04-11','2025-04-11','1' ) end
[2025-04-11 22:10:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-11 22:10:09] Production.INFO: ProcessCDR(1,14887182,1,1,2)
[2025-04-11 22:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14887182,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:10:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14887182,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:10:10] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 22:10:10] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 22:10:10] Production.INFO: ==22238== Releasing lock...
[2025-04-11 22:10:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-11 22:10:10] Production.INFO: 26 MB #Memory Used#
[2025-04-11 22:10:15] Production.ERROR: CronJobId end10
[2025-04-11 22:10:15] Production.INFO: ==22232== Releasing lock...
[2025-04-11 22:10:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 22:10:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 22:10:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 22:10:17] Production.INFO: ============== Balance Warning START===========
[2025-04-11 22:10:17] Production.INFO: ============== Balance Warning END===========
[2025-04-11 22:10:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 22:10:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 22:10:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 22:10:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 22:10:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 22:10:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 22:10:17] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 22:10:17] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 22:10:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 22:10:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 22:10:17] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 22:10:18] Production.INFO: call_cost start
[2025-04-11 22:10:18] Production.INFO: call_cost end
[2025-04-11 22:10:19] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 22:10:19] Production.INFO: ============== Report Schedule START===========
[2025-04-11 22:10:19] Production.INFO: ============== Report Schedule END===========
[2025-04-11 22:10:19] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 22:10:19] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 22:10:19] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 22:10:19] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 22:10:19] Production.INFO: ============== Deal alert START===========
[2025-04-11 22:10:19] Production.INFO: ============== Deal alert END===========
[2025-04-11 22:10:19] Production.INFO: ==22228== Releasing lock...
[2025-04-11 22:10:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 22:10:19] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 22:10:19] Production.INFO: count ==1284
[2025-04-11 22:10:19] Production.ERROR: pbx CDR StartTime 2025-04-11 19:10:06 - End Time 2025-04-11 22:10:06
[2025-04-11 22:10:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 22:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887183', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887183', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887183', 'tblTempVendorCDR_20' ) start
[2025-04-11 22:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887183', 'tblTempVendorCDR_20' ) end
[2025-04-11 22:10:19] Production.INFO: ProcessCDR(1,14887183,1,1,2)
[2025-04-11 22:10:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887183,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:10:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887183,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:10:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887183,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:10:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887183,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:10:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887183', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:10:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887183', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:10:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 22:10:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 22:10:23] Production.INFO: ==22236== Releasing lock...
[2025-04-11 22:10:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 22:10:23] Production.INFO: 37.25 MB #Memory Used#
[2025-04-12 03:11:02] Production.INFO: ==22301== Lock acquired, processing the job...
[2025-04-12 03:11:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 03:11:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 03:11:02] Production.INFO: neon service started
[2025-04-12 03:11:02] Production.INFO: neon service started
[2025-04-12 03:11:02] Production.INFO: ==22301== Releasing lock...
[2025-04-12 03:11:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 03:11:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 02:11:02] Production.INFO: ==22305== Lock acquired, processing the job...
[2025-04-12 02:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 02:11:02] Production.INFO: ==22305== Releasing lock...
[2025-04-12 02:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 02:11:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 22:11:02] Production.INFO: ==22303== Lock acquired, processing the job...
[2025-04-11 22:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 22:11:02] Production.INFO: ==22303== Releasing lock...
[2025-04-11 22:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 22:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 22:11:03] Production.INFO: ==22310== Lock acquired, processing the job...
[2025-04-11 22:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 22:11:03] Production.INFO: ==22314== Lock acquired, processing the job...
[2025-04-11 22:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 22:11:04] Production.INFO: ==22308== Lock acquired, processing the job...
[2025-04-11 22:11:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 22:11:04] Production.INFO: Account Balance Start.
[2025-04-11 22:11:04] Production.INFO: CreateAllLog Start
[2025-04-11 22:11:04] Production.INFO: 117
[2025-04-11 22:11:04] Production.INFO: Date 2025-04-08
[2025-04-11 22:11:04] Production.INFO: ==22312== Lock acquired, processing the job...
[2025-04-11 22:11:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 22:11:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:11:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 22:11:04] Production.INFO: Date 2025-04-09
[2025-04-11 22:11:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:11:04] Production.INFO: Date 2025-04-10
[2025-04-11 22:11:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:11:04] Production.INFO: ==22310== Releasing lock...
[2025-04-11 22:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 22:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 22:11:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 22:11:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 22:11:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 22:11:04] Production.INFO: Date 2025-04-11
[2025-04-11 22:11:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:11:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 22:11:04] Production.INFO: ==22316== Lock acquired, processing the job...
[2025-04-11 22:11:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 22:11:04] Production.INFO: Total Charge 0
[2025-04-11 22:11:04] Production.INFO: ==22318== Lock acquired, processing the job...
[2025-04-11 22:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 22:11:04] Production.INFO: CreateAllLog End
[2025-04-11 22:11:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 22:11:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 22:11:04] Production.INFO: count ==12
[2025-04-11 22:11:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 22:11:04] Production.INFO: count ==23
[2025-04-11 22:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887187') start
[2025-04-11 22:11:04] Production.ERROR: done
[2025-04-11 22:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887187') end
[2025-04-11 22:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 22:11:04] Production.INFO: 1
[2025-04-11 22:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 22:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 22:11:04] Production.INFO: Account Balance End.
[2025-04-11 22:11:04] Production.INFO: ==22318== Releasing lock...
[2025-04-11 22:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 22:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 22:11:04] Production.ERROR: CronJobId end 12
[2025-04-11 22:11:04] Production.INFO: ==22314== Releasing lock...
[2025-04-11 22:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 22:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 22:11:05] Production.ERROR: done
[2025-04-11 22:11:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 19:11:06
[end_date_ymd] => 2025-04-11 22:11:06
[RateCDR] => 1
)
[2025-04-11 22: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-11 19:11:06' and `end` < '2025-04-11 22: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-11 22:11:14] Production.ERROR: CronJobId end10
[2025-04-11 22:11:14] Production.INFO: ==22312== Releasing lock...
[2025-04-11 22:11:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 22:11:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 22:11:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 22:11:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 22:11:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 22:11:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 22:11:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 22:11:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 22:11:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 22:11:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 22:11:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 22:11:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 22:11:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 22:11:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 22:11:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 22:11:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 22:11:16] Production.INFO: call_cost start
[2025-04-11 22:11:16] Production.INFO: call_cost end
[2025-04-11 22:11:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 22:11:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 22:11:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 22:11:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 22:11:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 22:11:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 22:11:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 22:11:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 22:11:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 22:11:16] Production.INFO: ==22308== Releasing lock...
[2025-04-11 22:11:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 22:11:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 22:11:19] Production.INFO: count ==1226
[2025-04-11 22:11:19] Production.ERROR: pbx CDR StartTime 2025-04-11 19:11:06 - End Time 2025-04-11 22:11:06
[2025-04-11 22:11:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 22:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887188', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887188', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887188', 'tblTempVendorCDR_20' ) start
[2025-04-11 22:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887188', 'tblTempVendorCDR_20' ) end
[2025-04-11 22:11:19] Production.INFO: ProcessCDR(1,14887188,1,1,2)
[2025-04-11 22:11:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887188,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:11:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887188,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:11:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887188,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:11:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887188,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:11:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887188', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:11:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887188', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:11:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 22:11:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 22:11:24] Production.INFO: ==22316== Releasing lock...
[2025-04-11 22:11:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 22:11:24] Production.INFO: 36.75 MB #Memory Used#
[2025-04-12 03:12:01] Production.INFO: ==22377== Lock acquired, processing the job...
[2025-04-12 03:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 03:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 03:12:01] Production.INFO: neon service started
[2025-04-12 03:12:01] Production.INFO: neon service started
[2025-04-12 03:12:01] Production.INFO: ==22377== Releasing lock...
[2025-04-12 03:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 03:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 22:12:01] Production.INFO: ==22379== Lock acquired, processing the job...
[2025-04-11 22:12:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 22:12:02] Production.INFO: ==22379== Releasing lock...
[2025-04-11 22:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 22:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 02:12:02] Production.INFO: ==22381== Lock acquired, processing the job...
[2025-04-12 02:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 02:12:02] Production.INFO: ==22381== Releasing lock...
[2025-04-12 02:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 02:12:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 22:12:03] Production.INFO: ==22385== Lock acquired, processing the job...
[2025-04-11 22:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 22:12:03] Production.INFO: ==22383== Lock acquired, processing the job...
[2025-04-11 22:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 22:12:03] Production.INFO: ==22391== Lock acquired, processing the job...
[2025-04-11 22:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 22:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 22:12:03] Production.INFO: ==22387== Lock acquired, processing the job...
[2025-04-11 22:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 22:12:03] Production.INFO: ==22389== Lock acquired, processing the job...
[2025-04-11 22:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 22:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 22:12:03] Production.INFO: ==22393== Lock acquired, processing the job...
[2025-04-11 22:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 22:12:03] Production.INFO: Account Balance Start.
[2025-04-11 22:12:03] Production.INFO: CreateAllLog Start
[2025-04-11 22:12:03] Production.INFO: 117
[2025-04-11 22:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 22:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 22:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 22:12:03] Production.INFO: Date 2025-04-08
[2025-04-11 22:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 22:12:03] Production.INFO: Reseller ==> 0
[2025-04-11 22:12:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 22:12:03] Production.INFO: count ==12
[2025-04-11 22:12:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 22:12:03] Production.INFO: count ==23
[2025-04-11 22:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887192') start
[2025-04-11 22:12:03] Production.INFO: Date 2025-04-09
[2025-04-11 22:12:03] Production.INFO: Reseller ==> 0
[2025-04-11 22:12:03] Production.INFO: Date 2025-04-10
[2025-04-11 22:12:03] Production.INFO: Reseller ==> 0
[2025-04-11 22:12:03] Production.INFO: ==22385== Releasing lock...
[2025-04-11 22:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 22:12:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 22:12:03] Production.ERROR: done
[2025-04-11 22:12:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 22:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887192') end
[2025-04-11 22:12:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 22:12:03] Production.INFO: 1
[2025-04-11 22:12:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 22:12:03] Production.INFO: ==22393== Releasing lock...
[2025-04-11 22:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 22:12:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 22:12:03] Production.INFO: Date 2025-04-11
[2025-04-11 22:12:03] Production.INFO: Reseller ==> 0
[2025-04-11 22:12:03] Production.INFO: Total Charge 0
[2025-04-11 22:12:03] Production.ERROR: done
[2025-04-11 22:12:03] Production.INFO: CreateAllLog End
[2025-04-11 22:12:04] Production.INFO: Account Balance End.
[2025-04-11 22:12:04] Production.ERROR: CronJobId end 12
[2025-04-11 22:12:04] Production.INFO: ==22389== Releasing lock...
[2025-04-11 22:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 22:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 22:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 19:12:05
[end_date_ymd] => 2025-04-11 22:12:05
[RateCDR] => 1
)
[2025-04-11 22:12:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 19:12:05' and `end` < '2025-04-11 22:12:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 22:12:13] Production.ERROR: CronJobId end10
[2025-04-11 22:12:13] Production.INFO: ==22387== Releasing lock...
[2025-04-11 22:12:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 22:12:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 22:12:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 22:12:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 22:12:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 22:12:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 22:12:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 22:12:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 22:12:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 22:12:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 22:12:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 22:12:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 22:12:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 22:12:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 22:12:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 22:12:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 22:12:15] Production.INFO: call_cost start
[2025-04-11 22:12:15] Production.INFO: call_cost end
[2025-04-11 22:12:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 22:12:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 22:12:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 22:12:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 22:12:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 22:12:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 22:12:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 22:12:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 22:12:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 22:12:16] Production.INFO: ==22383== Releasing lock...
[2025-04-11 22:12:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 22:12:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 22:12:17] Production.INFO: count ==1225
[2025-04-11 22:12:18] Production.ERROR: pbx CDR StartTime 2025-04-11 19:12:05 - End Time 2025-04-11 22:12:05
[2025-04-11 22:12:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 22:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887193', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887193', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887193', 'tblTempVendorCDR_20' ) start
[2025-04-11 22:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887193', 'tblTempVendorCDR_20' ) end
[2025-04-11 22:12:18] Production.INFO: ProcessCDR(1,14887193,1,1,2)
[2025-04-11 22:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887193,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:12:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887193,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:12:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887193,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:12:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887193,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887193', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887193', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:12:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 22:12:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 22:12:21] Production.INFO: ==22391== Releasing lock...
[2025-04-11 22:12:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 22:12:21] Production.INFO: 36.75 MB #Memory Used#
[2025-04-12 03:13:01] Production.INFO: ==22456== Lock acquired, processing the job...
[2025-04-12 03:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 03:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 03:13:01] Production.INFO: neon service started
[2025-04-12 03:13:01] Production.INFO: neon service started
[2025-04-12 03:13:01] Production.INFO: ==22456== Releasing lock...
[2025-04-12 03:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 03:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 22:13:02] Production.INFO: ==22458== Lock acquired, processing the job...
[2025-04-11 22:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 22:13:02] Production.INFO: ==22458== Releasing lock...
[2025-04-11 22:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 22:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 02:13:02] Production.INFO: ==22460== Lock acquired, processing the job...
[2025-04-12 02:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 02:13:02] Production.INFO: ==22460== Releasing lock...
[2025-04-12 02:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 02:13:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 22:13:03] Production.INFO: ==22472== Lock acquired, processing the job...
[2025-04-11 22:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 22:13:03] Production.INFO: ==22470== Lock acquired, processing the job...
[2025-04-11 22:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 22:13:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 22:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 22:13:03] Production.INFO: count ==12
[2025-04-11 22:13:03] Production.INFO: ==22464== Lock acquired, processing the job...
[2025-04-11 22:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 22:13:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 22:13:03] Production.INFO: ==22466== Lock acquired, processing the job...
[2025-04-11 22:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 22:13:03] Production.INFO: count ==23
[2025-04-11 22:13:03] Production.INFO: ==22468== Lock acquired, processing the job...
[2025-04-11 22:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 22:13:03] Production.INFO: ==22462== Lock acquired, processing the job...
[2025-04-11 22:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 22:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887194') start
[2025-04-11 22:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 22:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 22:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 22:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 22:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 22:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887194') end
[2025-04-11 22:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 22:13:04] Production.INFO: 1
[2025-04-11 22:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 22:13:04] Production.INFO: Account Balance Start.
[2025-04-11 22:13:04] Production.INFO: CreateAllLog Start
[2025-04-11 22:13:04] Production.INFO: 117
[2025-04-11 22:13:04] Production.INFO: Date 2025-04-08
[2025-04-11 22:13:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:13:04] Production.INFO: Date 2025-04-09
[2025-04-11 22:13:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:13:04] Production.INFO: ==22464== Releasing lock...
[2025-04-11 22:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 22:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 22:13:04] Production.INFO: ==22472== Releasing lock...
[2025-04-11 22:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 22:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 22:13:04] Production.INFO: Date 2025-04-10
[2025-04-11 22:13:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:13:04] Production.ERROR: done
[2025-04-11 22:13:04] Production.INFO: Date 2025-04-11
[2025-04-11 22:13:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 22:13:04] Production.INFO: Total Charge 0
[2025-04-11 22:13:04] Production.INFO: CreateAllLog End
[2025-04-11 22:13:04] Production.ERROR: done
[2025-04-11 22:13:04] Production.INFO: Account Balance End.
[2025-04-11 22:13:04] Production.ERROR: CronJobId end 12
[2025-04-11 22:13:04] Production.INFO: ==22468== Releasing lock...
[2025-04-11 22:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 22:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 22:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 19:13:05
[end_date_ymd] => 2025-04-11 22:13:05
[RateCDR] => 1
)
[2025-04-11 22:13:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 19:13:05' and `end` < '2025-04-11 22:13:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 22:13:13] Production.ERROR: CronJobId end10
[2025-04-11 22:13:13] Production.INFO: ==22466== Releasing lock...
[2025-04-11 22:13:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 22:13:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 22:13:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 22:13:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 22:13:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 22:13:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 22:13:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 22:13:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 22:13:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 22:13:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 22:13:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 22:13:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 22:13:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 22:13:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 22:13:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 22:13:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 22:13:15] Production.INFO: call_cost start
[2025-04-11 22:13:15] Production.INFO: call_cost end
[2025-04-11 22:13:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 22:13:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 22:13:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 22:13:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 22:13:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 22:13:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 22:13:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 22:13:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 22:13:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 22:13:16] Production.INFO: ==22462== Releasing lock...
[2025-04-11 22:13:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 22:13:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 22:13:18] Production.INFO: count ==1222
[2025-04-11 22:13:18] Production.ERROR: pbx CDR StartTime 2025-04-11 19:13:05 - End Time 2025-04-11 22:13:05
[2025-04-11 22:13:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 22:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887198', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887198', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887198', 'tblTempVendorCDR_20' ) start
[2025-04-11 22:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887198', 'tblTempVendorCDR_20' ) end
[2025-04-11 22:13:18] Production.INFO: ProcessCDR(1,14887198,1,1,2)
[2025-04-11 22:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887198,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:13:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887198,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:13:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887198,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:13:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887198,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:13:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887198', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:13:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887198', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:13:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 22:13:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 22:13:23] Production.INFO: ==22470== Releasing lock...
[2025-04-11 22:13:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 22:13:23] Production.INFO: 36.75 MB #Memory Used#
[2025-04-12 03:14:02] Production.INFO: ==22526== Lock acquired, processing the job...
[2025-04-12 03:14:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 03:14:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 03:14:02] Production.INFO: neon service started
[2025-04-12 03:14:02] Production.INFO: neon service started
[2025-04-12 03:14:02] Production.INFO: ==22526== Releasing lock...
[2025-04-12 03:14:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 03:14:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 02:14:02] Production.INFO: ==22531== Lock acquired, processing the job...
[2025-04-12 02:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 02:14:02] Production.INFO: ==22531== Releasing lock...
[2025-04-12 02:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 02:14:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 22:14:02] Production.INFO: ==22529== Lock acquired, processing the job...
[2025-04-11 22:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 22:14:03] Production.INFO: ==22529== Releasing lock...
[2025-04-11 22:14:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 22:14:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 22:14:03] Production.INFO: ==22539== Lock acquired, processing the job...
[2025-04-11 22:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 22:14:03] Production.INFO: ==22541== Lock acquired, processing the job...
[2025-04-11 22:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 22:14:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 22:14:04] Production.INFO: ==22533== Lock acquired, processing the job...
[2025-04-11 22:14:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 22:14:04] Production.INFO: ==22535== Lock acquired, processing the job...
[2025-04-11 22:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 22:14:04] Production.INFO: ==22537== Lock acquired, processing the job...
[2025-04-11 22:14:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 22:14:04] Production.INFO: Account Balance Start.
[2025-04-11 22:14:04] Production.INFO: CreateAllLog Start
[2025-04-11 22:14:04] Production.INFO: 117
[2025-04-11 22:14:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 22:14:04] Production.INFO: ==22543== Lock acquired, processing the job...
[2025-04-11 22:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 22:14:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 22:14:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 22:14:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 22:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 22:14:04] Production.INFO: Date 2025-04-08
[2025-04-11 22:14:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:14:04] Production.ERROR: done
[2025-04-11 22:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 22:14:04] Production.INFO: Date 2025-04-09
[2025-04-11 22:14:04] Production.INFO: Reseller ==> 0
[2025-04-11 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-11 22:14:04] Production.INFO: count ==12
[2025-04-11 22:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 22:14:04] Production.INFO: count ==23
[2025-04-11 22:14:04] Production.ERROR: done
[2025-04-11 22:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887202') start
[2025-04-11 22:14:04] Production.INFO: Date 2025-04-10
[2025-04-11 22:14:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:14:04] Production.INFO: ==22535== Releasing lock...
[2025-04-11 22:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 22:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 22:14:04] Production.INFO: Date 2025-04-11
[2025-04-11 22:14:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:14:04] Production.INFO: Total Charge 0
[2025-04-11 22:14:04] Production.INFO: CreateAllLog End
[2025-04-11 22:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887202') end
[2025-04-11 22:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 22:14:04] Production.INFO: 1
[2025-04-11 22:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 22:14:04] Production.INFO: ==22543== Releasing lock...
[2025-04-11 22:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 22:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 22:14:04] Production.INFO: Account Balance End.
[2025-04-11 22:14:05] Production.ERROR: CronJobId end 12
[2025-04-11 22:14:05] Production.INFO: ==22539== Releasing lock...
[2025-04-11 22:14:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 22:14:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 22:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 19:14:05
[end_date_ymd] => 2025-04-11 22:14:05
[RateCDR] => 1
)
[2025-04-11 22:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 19:14:05' and `end` < '2025-04-11 22:14:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 22:14:13] Production.ERROR: CronJobId end10
[2025-04-11 22:14:13] Production.INFO: ==22537== Releasing lock...
[2025-04-11 22:14:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 22:14:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 22:14:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 22:14:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 22:14:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 22:14:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 22:14:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 22:14:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 22:14:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 22:14:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 22:14:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 22:14:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 22:14:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 22:14:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 22:14:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 22:14:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 22:14:15] Production.INFO: call_cost start
[2025-04-11 22:14:15] Production.INFO: call_cost end
[2025-04-11 22:14:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 22:14:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 22:14:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 22:14:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 22:14:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 22:14:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 22:14:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 22:14:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 22:14:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 22:14:16] Production.INFO: ==22533== Releasing lock...
[2025-04-11 22:14:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 22:14:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 22:14:18] Production.INFO: count ==1224
[2025-04-11 22:14:18] Production.ERROR: pbx CDR StartTime 2025-04-11 19:14:05 - End Time 2025-04-11 22:14:05
[2025-04-11 22:14:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 22:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887203', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887203', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887203', 'tblTempVendorCDR_20' ) start
[2025-04-11 22:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887203', 'tblTempVendorCDR_20' ) end
[2025-04-11 22:14:18] Production.INFO: ProcessCDR(1,14887203,1,1,2)
[2025-04-11 22:14:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887203,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:14:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887203,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:14:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887203,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:14:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887203,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887203', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887203', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:14:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 22:14:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 22:14:22] Production.INFO: ==22541== Releasing lock...
[2025-04-11 22:14:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 22:14:22] Production.INFO: 36.75 MB #Memory Used#
[2025-04-12 03:15:01] Production.INFO: ==22601== Lock acquired, processing the job...
[2025-04-12 03:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 03:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 03:15:01] Production.INFO: neon service started
[2025-04-12 03:15:01] Production.INFO: neon service started
[2025-04-12 03:15:01] Production.INFO: ==22601== Releasing lock...
[2025-04-12 03:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 03:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 22:15:02] Production.INFO: ==22603== Lock acquired, processing the job...
[2025-04-11 22:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 22:15:02] Production.INFO: ==22603== Releasing lock...
[2025-04-11 22:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 22:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 02:15:02] Production.INFO: ==22605== Lock acquired, processing the job...
[2025-04-12 02:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 02:15:02] Production.INFO: ==22605== Releasing lock...
[2025-04-12 02:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 02:15:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 22:15:03] Production.INFO: ==22611== Lock acquired, processing the job...
[2025-04-11 22:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 22:15:03] Production.INFO: ==22607== Lock acquired, processing the job...
[2025-04-11 22:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 22:15:03] Production.INFO: ==22617== Lock acquired, processing the job...
[2025-04-11 22:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 22:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 22:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 22:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 22:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 22:15:03] Production.INFO: ==22609== Lock acquired, processing the job...
[2025-04-11 22:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 22:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 22:15:03] Production.INFO: ==22613== Lock acquired, processing the job...
[2025-04-11 22:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 22:15:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 22:15:03] Production.INFO: count ==12
[2025-04-11 22:15:03] Production.INFO: ==22615== Lock acquired, processing the job...
[2025-04-11 22:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 22:15:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 22:15:03] Production.INFO: count ==23
[2025-04-11 22:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887205') start
[2025-04-11 22:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 22:15:03] Production.INFO: Account Balance Start.
[2025-04-11 22:15:03] Production.INFO: CreateAllLog Start
[2025-04-11 22:15:03] Production.INFO: 117
[2025-04-11 22:15:03] Production.INFO: Date 2025-04-08
[2025-04-11 22:15:03] Production.INFO: Reseller ==> 0
[2025-04-11 22:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887205') end
[2025-04-11 22:15:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 22:15:03] Production.INFO: 1
[2025-04-11 22:15:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 22:15:03] Production.INFO: Date 2025-04-09
[2025-04-11 22:15:03] Production.INFO: Reseller ==> 0
[2025-04-11 22:15:03] Production.INFO: ==22617== Releasing lock...
[2025-04-11 22:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 22:15:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 22:15:03] Production.INFO: ==22609== Releasing lock...
[2025-04-11 22:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 22:15:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 22:15:03] Production.INFO: Date 2025-04-10
[2025-04-11 22:15:03] Production.INFO: Reseller ==> 0
[2025-04-11 22:15:04] Production.INFO: Date 2025-04-11
[2025-04-11 22:15:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:15:04] Production.ERROR: done
[2025-04-11 22:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 22:15:04] Production.INFO: Total Charge 0
[2025-04-11 22:15:04] Production.INFO: CreateAllLog End
[2025-04-11 22:15:04] Production.ERROR: done
[2025-04-11 22:15:04] Production.INFO: Account Balance End.
[2025-04-11 22:15:04] Production.ERROR: CronJobId end 12
[2025-04-11 22:15:04] Production.INFO: ==22613== Releasing lock...
[2025-04-11 22:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 22:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 22:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 19:15:05
[end_date_ymd] => 2025-04-11 22:15:05
[RateCDR] => 1
)
[2025-04-11 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-11 19:15:05' and `end` < '2025-04-11 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-11 22:15:14] Production.ERROR: CronJobId end10
[2025-04-11 22:15:14] Production.INFO: ==22611== Releasing lock...
[2025-04-11 22:15:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 22:15:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 22:15:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 22:15:16] Production.INFO: ============== Balance Warning START===========
[2025-04-11 22:15:16] Production.INFO: ============== Balance Warning END===========
[2025-04-11 22:15:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 22:15:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 22:15:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 22:15:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 22:15:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 22:15:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 22:15:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 22:15:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 22:15:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 22:15:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 22:15:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 22:15:16] Production.INFO: call_cost start
[2025-04-11 22:15:16] Production.INFO: call_cost end
[2025-04-11 22:15:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 22:15:17] Production.INFO: ============== Report Schedule START===========
[2025-04-11 22:15:17] Production.INFO: ============== Report Schedule END===========
[2025-04-11 22:15:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 22:15:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 22:15:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 22:15:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 22:15:17] Production.INFO: ============== Deal alert START===========
[2025-04-11 22:15:17] Production.INFO: ============== Deal alert END===========
[2025-04-11 22:15:17] Production.INFO: ==22607== Releasing lock...
[2025-04-11 22:15:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 22:15:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 22:15:18] Production.INFO: count ==1224
[2025-04-11 22:15:18] Production.ERROR: pbx CDR StartTime 2025-04-11 19:15:05 - End Time 2025-04-11 22:15:05
[2025-04-11 22:15:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 22:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887208', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887208', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887208', 'tblTempVendorCDR_20' ) start
[2025-04-11 22:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887208', 'tblTempVendorCDR_20' ) end
[2025-04-11 22:15:18] Production.INFO: ProcessCDR(1,14887208,1,1,2)
[2025-04-11 22:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887208,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:15:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887208,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:15:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887208,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:15:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887208,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887208', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887208', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:15:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 22:15:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 22:15:22] Production.INFO: ==22615== Releasing lock...
[2025-04-11 22:15:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 22:15:22] Production.INFO: 36.75 MB #Memory Used#
[2025-04-12 03:16:02] Production.INFO: ==22686== Lock acquired, processing the job...
[2025-04-12 03:16:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 03:16:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 03:16:02] Production.INFO: neon service started
[2025-04-12 03:16:02] Production.INFO: neon service started
[2025-04-12 03:16:02] Production.INFO: ==22686== Releasing lock...
[2025-04-12 03:16:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 03:16:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 22:16:02] Production.INFO: ==22688== Lock acquired, processing the job...
[2025-04-11 22:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 22:16:02] Production.INFO: ==22688== Releasing lock...
[2025-04-11 22:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 22:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 02:16:02] Production.INFO: ==22690== Lock acquired, processing the job...
[2025-04-12 02:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 02:16:03] Production.INFO: ==22690== Releasing lock...
[2025-04-12 02:16:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 02:16:03] Production.INFO: 25 MB #Memory Used#
[2025-04-11 22:16:03] Production.INFO: ==22702== Lock acquired, processing the job...
[2025-04-11 22:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 22:16:03] Production.INFO: ==22698== Lock acquired, processing the job...
[2025-04-11 22:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 22:16:03] Production.INFO: ==22692== Lock acquired, processing the job...
[2025-04-11 22:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 22:16:03] Production.INFO: ==22694== Lock acquired, processing the job...
[2025-04-11 22:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 22: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-11 22:16:04] Production.INFO: Account Balance Start.
[2025-04-11 22:16:04] Production.INFO: CreateAllLog Start
[2025-04-11 22:16:04] Production.INFO: ==22696== Lock acquired, processing the job...
[2025-04-11 22:16:04] Production.INFO: 117
[2025-04-11 22:16:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 22:16:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 22:16:04] Production.INFO: count ==12
[2025-04-11 22:16:04] Production.INFO: Date 2025-04-08
[2025-04-11 22:16:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 22:16:04] Production.INFO: count ==23
[2025-04-11 22:16:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887209') start
[2025-04-11 22:16:04] Production.INFO: ==22700== Lock acquired, processing the job...
[2025-04-11 22:16:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 22:16:04] Production.INFO: Date 2025-04-09
[2025-04-11 22:16:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:16:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 22:16:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 22:16:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 22:16:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 22:16:04] Production.INFO: Date 2025-04-10
[2025-04-11 22:16:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:16:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 22:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887209') end
[2025-04-11 22:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 22:16:04] Production.INFO: 1
[2025-04-11 22:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 22:16:04] Production.INFO: Date 2025-04-11
[2025-04-11 22:16:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:16:04] Production.INFO: Total Charge 0
[2025-04-11 22:16:04] Production.INFO: CreateAllLog End
[2025-04-11 22:16:04] Production.INFO: ==22702== Releasing lock...
[2025-04-11 22:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 22:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 22:16:04] Production.INFO: ==22694== Releasing lock...
[2025-04-11 22:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 22:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 22:16:04] Production.ERROR: done
[2025-04-11 22:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 22:16:04] Production.INFO: Account Balance End.
[2025-04-11 22:16:04] Production.ERROR: CronJobId end 12
[2025-04-11 22:16:04] Production.INFO: ==22698== Releasing lock...
[2025-04-11 22:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 22:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 22:16:04] Production.ERROR: done
[2025-04-11 22:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 19:16:05
[end_date_ymd] => 2025-04-11 22:16:05
[RateCDR] => 1
)
[2025-04-11 22:16:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 19:16:05' and `end` < '2025-04-11 22:16:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 22:16:13] Production.ERROR: CronJobId end10
[2025-04-11 22:16:13] Production.INFO: ==22696== Releasing lock...
[2025-04-11 22:16:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 22:16:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 22:16:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 22:16:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 22:16:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 22:16:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 22:16:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 22:16:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 22:16:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 22:16:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 22:16:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 22:16:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 22:16:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 22:16:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 22:16:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 22:16:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 22:16:15] Production.INFO: call_cost start
[2025-04-11 22:16:15] Production.INFO: call_cost end
[2025-04-11 22:16:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 22:16:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 22:16:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 22:16:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 22:16:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 22:16:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 22:16:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 22:16:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 22:16:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 22:16:16] Production.INFO: ==22692== Releasing lock...
[2025-04-11 22:16:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 22:16:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 22:16:18] Production.INFO: count ==1223
[2025-04-11 22:16:19] Production.ERROR: pbx CDR StartTime 2025-04-11 19:16:05 - End Time 2025-04-11 22:16:05
[2025-04-11 22:16:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 22:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887213', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887213', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887213', 'tblTempVendorCDR_20' ) start
[2025-04-11 22:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887213', 'tblTempVendorCDR_20' ) end
[2025-04-11 22:16:19] Production.INFO: ProcessCDR(1,14887213,1,1,2)
[2025-04-11 22:16:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887213,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:16:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887213,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:16:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887213,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:16:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887213,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887213', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887213', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:16:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 22:16:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 22:16:22] Production.INFO: ==22700== Releasing lock...
[2025-04-11 22:16:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 22:16:22] Production.INFO: 36.75 MB #Memory Used#
[2025-04-12 03:17:01] Production.INFO: ==22756== Lock acquired, processing the job...
[2025-04-12 03:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 03:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 03:17:01] Production.INFO: neon service started
[2025-04-12 03:17:01] Production.INFO: neon service started
[2025-04-12 03:17:01] Production.INFO: ==22756== Releasing lock...
[2025-04-12 03:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 03:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 22:17:02] Production.INFO: ==22758== Lock acquired, processing the job...
[2025-04-11 22:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 22:17:02] Production.INFO: ==22758== Releasing lock...
[2025-04-11 22:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 22:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 02:17:02] Production.INFO: ==22760== Lock acquired, processing the job...
[2025-04-12 02:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 02:17:02] Production.INFO: ==22760== Releasing lock...
[2025-04-12 02:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 02:17:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 22:17:03] Production.INFO: ==22770== Lock acquired, processing the job...
[2025-04-11 22:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 22:17:03] Production.INFO: ==22772== Lock acquired, processing the job...
[2025-04-11 22:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 22:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 22:17:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 22:17:03] Production.INFO: ==22762== Lock acquired, processing the job...
[2025-04-11 22:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 22:17:03] Production.INFO: count ==12
[2025-04-11 22:17:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 22:17:03] Production.INFO: count ==23
[2025-04-11 22:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887214') start
[2025-04-11 22:17:03] Production.INFO: ==22764== Lock acquired, processing the job...
[2025-04-11 22:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 22:17:03] Production.INFO: ==22766== Lock acquired, processing the job...
[2025-04-11 22:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 22:17:03] Production.INFO: ==22768== Lock acquired, processing the job...
[2025-04-11 22:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 22:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887214') end
[2025-04-11 22:17:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 22:17:03] Production.INFO: 1
[2025-04-11 22:17:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 22:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 22:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 22:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 22:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 22:17:03] Production.INFO: Account Balance Start.
[2025-04-11 22:17:03] Production.INFO: CreateAllLog Start
[2025-04-11 22:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 22:17:03] Production.INFO: 117
[2025-04-11 22:17:03] Production.INFO: ==22772== Releasing lock...
[2025-04-11 22:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 22:17:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 22:17:03] Production.ERROR: done
[2025-04-11 22:17:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 22:17:03] Production.INFO: Date 2025-04-08
[2025-04-11 22:17:03] Production.INFO: Reseller ==> 0
[2025-04-11 22:17:03] Production.ERROR: done
[2025-04-11 22:17:03] Production.INFO: Date 2025-04-09
[2025-04-11 22:17:03] Production.INFO: Reseller ==> 0
[2025-04-11 22:17:03] Production.INFO: Date 2025-04-10
[2025-04-11 22:17:03] Production.INFO: Reseller ==> 0
[2025-04-11 22:17:03] Production.INFO: Date 2025-04-11
[2025-04-11 22:17:03] Production.INFO: Reseller ==> 0
[2025-04-11 22:17:03] Production.INFO: ==22764== Releasing lock...
[2025-04-11 22:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 22:17:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 22:17:04] Production.INFO: Total Charge 0
[2025-04-11 22:17:04] Production.INFO: CreateAllLog End
[2025-04-11 22:17:04] Production.INFO: Account Balance End.
[2025-04-11 22:17:04] Production.ERROR: CronJobId end 12
[2025-04-11 22:17:04] Production.INFO: ==22768== Releasing lock...
[2025-04-11 22:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 22:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 22:17:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 19:17:04
[end_date_ymd] => 2025-04-11 22:17:04
[RateCDR] => 1
)
[2025-04-11 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-11 19:17:04' and `end` < '2025-04-11 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-11 22:17:13] Production.ERROR: CronJobId end10
[2025-04-11 22:17:13] Production.INFO: ==22766== Releasing lock...
[2025-04-11 22:17:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 22:17:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 22:17:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 22:17:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 22:17:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 22:17:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 22:17:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 22:17:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 22:17:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 22:17:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 22:17:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 22:17:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 22:17:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 22:17:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 22:17:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 22:17:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 22:17:15] Production.INFO: call_cost start
[2025-04-11 22:17:15] Production.INFO: call_cost end
[2025-04-11 22:17:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 22:17:15] Production.INFO: ============== Report Schedule START===========
[2025-04-11 22:17:15] Production.INFO: ============== Report Schedule END===========
[2025-04-11 22:17:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 22:17:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 22:17:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 22:17:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 22:17:15] Production.INFO: ============== Deal alert START===========
[2025-04-11 22:17:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 22:17:16] Production.INFO: ==22762== Releasing lock...
[2025-04-11 22:17:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 22:17:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 22:17:18] Production.INFO: count ==1228
[2025-04-11 22:17:18] Production.ERROR: pbx CDR StartTime 2025-04-11 19:17:04 - End Time 2025-04-11 22:17:04
[2025-04-11 22:17:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 22:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887218', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887218', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887218', 'tblTempVendorCDR_20' ) start
[2025-04-11 22:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887218', 'tblTempVendorCDR_20' ) end
[2025-04-11 22:17:18] Production.INFO: ProcessCDR(1,14887218,1,1,2)
[2025-04-11 22:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887218,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:17:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887218,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:17:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887218,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:17:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887218,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887218', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887218', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:17:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 22:17:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 22:17:21] Production.INFO: ==22770== Releasing lock...
[2025-04-11 22:17:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 22:17:21] Production.INFO: 36.75 MB #Memory Used#
[2025-04-12 03:18:02] Production.INFO: ==22834== Lock acquired, processing the job...
[2025-04-12 03:18:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 03:18:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 03:18:02] Production.INFO: neon service started
[2025-04-12 03:18:02] Production.INFO: neon service started
[2025-04-12 03:18:02] Production.INFO: ==22834== Releasing lock...
[2025-04-12 03:18:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 03:18:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 22:18:02] Production.INFO: ==22836== Lock acquired, processing the job...
[2025-04-11 22:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 02:18:02] Production.INFO: ==22838== Lock acquired, processing the job...
[2025-04-12 02:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 02:18:02] Production.INFO: ==22838== Releasing lock...
[2025-04-12 02:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 02:18:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 22:18:03] Production.INFO: ==22836== Releasing lock...
[2025-04-11 22:18:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 22:18:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 22:18:03] Production.INFO: ==22843== Lock acquired, processing the job...
[2025-04-11 22:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 22:18:03] Production.INFO: ==22845== Lock acquired, processing the job...
[2025-04-11 22:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 22:18:04] Production.INFO: ==22849== Lock acquired, processing the job...
[2025-04-11 22:18:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 22:18:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 22:18:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 22:18:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 22:18:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 22:18:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 22:18:04] Production.INFO: ==22843== Releasing lock...
[2025-04-11 22:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 22:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 22:18:04] Production.INFO: ==22841== Lock acquired, processing the job...
[2025-04-11 22:18:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 22:18:04] Production.INFO: ==22847== Lock acquired, processing the job...
[2025-04-11 22:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 22:18:04] Production.INFO: ==22851== Lock acquired, processing the job...
[2025-04-11 22:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 22:18:04] Production.ERROR: done
[2025-04-11 22:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 22:18:04] Production.INFO: Account Balance Start.
[2025-04-11 22:18:04] Production.INFO: CreateAllLog Start
[2025-04-11 22:18:04] Production.INFO: 117
[2025-04-11 22:18:04] Production.INFO: Date 2025-04-08
[2025-04-11 22:18:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:18:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 22:18:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 22:18:04] Production.INFO: Date 2025-04-09
[2025-04-11 22:18:04] Production.INFO: count ==12
[2025-04-11 22:18:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:18:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 22:18:04] Production.INFO: count ==23
[2025-04-11 22:18:04] Production.INFO: Date 2025-04-10
[2025-04-11 22:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887221') start
[2025-04-11 22:18:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:18:04] Production.ERROR: done
[2025-04-11 22:18:04] Production.INFO: Date 2025-04-11
[2025-04-11 22:18:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:18:04] Production.INFO: Total Charge 0
[2025-04-11 22:18:04] Production.INFO: CreateAllLog End
[2025-04-11 22:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887221') end
[2025-04-11 22:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 22:18:04] Production.INFO: 1
[2025-04-11 22:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 22:18:05] Production.INFO: Account Balance End.
[2025-04-11 22:18:05] Production.INFO: ==22851== Releasing lock...
[2025-04-11 22:18:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 22:18:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 22:18:05] Production.ERROR: CronJobId end 12
[2025-04-11 22:18:05] Production.INFO: ==22847== Releasing lock...
[2025-04-11 22:18:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 22:18:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 22:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 19:18:05
[end_date_ymd] => 2025-04-11 22:18:05
[RateCDR] => 1
)
[2025-04-11 22:18:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 19:18:05' and `end` < '2025-04-11 22:18:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 22:18:12] Production.ERROR: CronJobId end10
[2025-04-11 22:18:12] Production.INFO: ==22845== Releasing lock...
[2025-04-11 22:18:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 22:18:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 22:18:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 22:18:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 22:18:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 22:18:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 22:18:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 22:18:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 22:18:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 22:18:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 22:18:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 22:18:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 22:18:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 22:18:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 22:18:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 22:18:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 22:18:15] Production.INFO: call_cost start
[2025-04-11 22:18:15] Production.INFO: call_cost end
[2025-04-11 22:18:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 22:18:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 22:18:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 22:18:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 22:18:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 22:18:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 22:18:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 22:18:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 22:18:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 22:18:16] Production.INFO: ==22841== Releasing lock...
[2025-04-11 22:18:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 22:18:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 22:18:18] Production.INFO: count ==1226
[2025-04-11 22:18:18] Production.ERROR: pbx CDR StartTime 2025-04-11 19:18:05 - End Time 2025-04-11 22:18:05
[2025-04-11 22:18:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 22:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887223', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887223', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887223', 'tblTempVendorCDR_20' ) start
[2025-04-11 22:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887223', 'tblTempVendorCDR_20' ) end
[2025-04-11 22:18:18] Production.INFO: ProcessCDR(1,14887223,1,1,2)
[2025-04-11 22:18:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887223,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:18:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887223,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:18:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887223,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:18:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887223,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887223', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887223', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:18:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 22:18:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 22:18:22] Production.INFO: ==22849== Releasing lock...
[2025-04-11 22:18:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 22:18:22] Production.INFO: 36.75 MB #Memory Used#
[2025-04-12 03:19:01] Production.INFO: ==22947== Lock acquired, processing the job...
[2025-04-12 03:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 03:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 03:19:01] Production.INFO: neon service started
[2025-04-12 03:19:01] Production.INFO: neon service started
[2025-04-12 03:19:01] Production.INFO: ==22947== Releasing lock...
[2025-04-12 03:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 03:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 22:19:01] Production.INFO: ==22949== Lock acquired, processing the job...
[2025-04-11 22:19:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 22:19:02] Production.INFO: ==22949== Releasing lock...
[2025-04-11 22:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 22:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 02:19:02] Production.INFO: ==22951== Lock acquired, processing the job...
[2025-04-12 02:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 02:19:02] Production.INFO: ==22951== Releasing lock...
[2025-04-12 02:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 02:19:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 22:19:03] Production.INFO: ==22955== Lock acquired, processing the job...
[2025-04-11 22:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 22:19:03] Production.INFO: ==22953== Lock acquired, processing the job...
[2025-04-11 22:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 22:19:03] Production.INFO: ==22961== Lock acquired, processing the job...
[2025-04-11 22:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 22:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 22:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 22:19:03] Production.INFO: ==22959== Lock acquired, processing the job...
[2025-04-11 22:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 22:19:03] Production.INFO: ==22957== Lock acquired, processing the job...
[2025-04-11 22:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 22:19:03] Production.INFO: ==22963== Lock acquired, processing the job...
[2025-04-11 22:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 22:19:03] Production.INFO: ==22955== Releasing lock...
[2025-04-11 22:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 22:19:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 22:19:03] Production.INFO: Account Balance Start.
[2025-04-11 22:19:03] Production.INFO: CreateAllLog Start
[2025-04-11 22:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 22:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 22:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 22:19:03] Production.INFO: 117
[2025-04-11 22:19:03] Production.INFO: Date 2025-04-08
[2025-04-11 22:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 22:19:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 22:19:03] Production.INFO: Reseller ==> 0
[2025-04-11 22:19:03] Production.INFO: Date 2025-04-09
[2025-04-11 22:19:03] Production.INFO: Reseller ==> 0
[2025-04-11 22:19:03] Production.INFO: Date 2025-04-10
[2025-04-11 22:19:03] Production.INFO: Reseller ==> 0
[2025-04-11 22:19:03] Production.INFO: count ==12
[2025-04-11 22:19:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 22:19:03] Production.INFO: count ==23
[2025-04-11 22:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887227') start
[2025-04-11 22:19:03] Production.ERROR: done
[2025-04-11 22:19:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 22:19:03] Production.INFO: Date 2025-04-11
[2025-04-11 22:19:03] Production.INFO: Reseller ==> 0
[2025-04-11 22:19:03] Production.INFO: Total Charge 0
[2025-04-11 22:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887227') end
[2025-04-11 22:19:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 22:19:03] Production.INFO: 1
[2025-04-11 22:19:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 22:19:03] Production.INFO: CreateAllLog End
[2025-04-11 22:19:03] Production.INFO: ==22963== Releasing lock...
[2025-04-11 22:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 22:19:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 22:19:03] Production.ERROR: done
[2025-04-11 22:19:04] Production.INFO: Account Balance End.
[2025-04-11 22:19:04] Production.ERROR: CronJobId end 12
[2025-04-11 22:19:04] Production.INFO: ==22959== Releasing lock...
[2025-04-11 22:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 22:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 22:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 19:19:05
[end_date_ymd] => 2025-04-11 22:19:05
[RateCDR] => 1
)
[2025-04-11 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-11 19:19:05' and `end` < '2025-04-11 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-11 22:19:12] Production.ERROR: CronJobId end10
[2025-04-11 22:19:12] Production.INFO: ==22957== Releasing lock...
[2025-04-11 22:19:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 22:19:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 22:19:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 22:19:13] Production.INFO: ============== Balance Warning START===========
[2025-04-11 22:19:13] Production.INFO: ============== Balance Warning END===========
[2025-04-11 22:19:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 22:19:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 22:19:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 22:19:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 22:19:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 22:19:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 22:19:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 22:19:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 22:19:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 22:19:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 22:19:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 22:19:14] Production.INFO: call_cost start
[2025-04-11 22:19:14] Production.INFO: call_cost end
[2025-04-11 22:19:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 22:19:14] Production.INFO: ============== Report Schedule START===========
[2025-04-11 22:19:14] Production.INFO: ============== Report Schedule END===========
[2025-04-11 22:19:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 22:19:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 22:19:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 22:19:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 22:19:14] Production.INFO: ============== Deal alert START===========
[2025-04-11 22:19:14] Production.INFO: ============== Deal alert END===========
[2025-04-11 22:19:14] Production.INFO: ==22953== Releasing lock...
[2025-04-11 22:19:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 22:19:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 22:19:18] Production.INFO: count ==1225
[2025-04-11 22:19:18] Production.ERROR: pbx CDR StartTime 2025-04-11 19:19:05 - End Time 2025-04-11 22:19:05
[2025-04-11 22:19:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 22:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887228', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887228', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887228', 'tblTempVendorCDR_20' ) start
[2025-04-11 22:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887228', 'tblTempVendorCDR_20' ) end
[2025-04-11 22:19:18] Production.INFO: ProcessCDR(1,14887228,1,1,2)
[2025-04-11 22:19:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887228,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:19:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887228,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:19:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887228,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:19:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887228,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887228', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887228', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:19:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 22:19:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 22:19:21] Production.INFO: ==22961== Releasing lock...
[2025-04-11 22:19:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 22:19:21] Production.INFO: 36.75 MB #Memory Used#
[2025-04-12 03:20:02] Production.INFO: ==23019== Lock acquired, processing the job...
[2025-04-12 03:20:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 03:20:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 03:20:02] Production.INFO: neon service started
[2025-04-12 03:20:02] Production.INFO: neon service started
[2025-04-12 03:20:02] Production.INFO: ==23019== Releasing lock...
[2025-04-12 03:20:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 03:20:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 22:20:02] Production.INFO: ==23022== Lock acquired, processing the job...
[2025-04-11 22:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 22:20:02] Production.INFO: ==23022== Releasing lock...
[2025-04-11 22:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 22:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 02:20:02] Production.INFO: ==23024== Lock acquired, processing the job...
[2025-04-12 02:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 02:20:02] Production.INFO: ==23024== Releasing lock...
[2025-04-12 02:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 02:20:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 22:20:03] Production.INFO: ==23026== Lock acquired, processing the job...
[2025-04-11 22:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-11 22:20:03] Production.INFO: ==23028== Lock acquired, processing the job...
[2025-04-11 22:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 22:20:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-11 22:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-11 22:20:04] Production.ERROR: CronJob PID - 23028
[2025-04-11 22:20:04] Production.ERROR: CronJob Title - System Alerts
[2025-04-11 22:20:04] Production.ERROR: CronJob ID - 5
[2025-04-11 22:20:04] Production.ERROR: CronJob Last Run Time 2025-04-11 22:20:00
[2025-04-11 22:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-11 22:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-11 22:20:04] Production.INFO: ==23040== Lock acquired, processing the job...
[2025-04-11 22:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 22:20:04] Production.INFO: ==23034== Lock acquired, processing the job...
[2025-04-11 22:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 22:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 22:20:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-11 22:20:04] Production.INFO: ==23026== Releasing lock...
[2025-04-11 22:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-11 22:20:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-11 22:20:04] Production.INFO: ==23030== Lock acquired, processing the job...
[2025-04-11 22:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 22:20:04] Production.INFO: ==23032== Lock acquired, processing the job...
[2025-04-11 22:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 22:20:04] Production.INFO: Account Balance Start.
[2025-04-11 22:20:04] Production.INFO: CreateAllLog Start
[2025-04-11 22:20:04] Production.INFO: 117
[2025-04-11 22:20:04] Production.INFO: Date 2025-04-08
[2025-04-11 22:20:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 22:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 22:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 22:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 22:20:04] Production.INFO: ==23036== Lock acquired, processing the job...
[2025-04-11 22:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 22:20:04] Production.INFO: count ==12
[2025-04-11 22:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 22:20:04] Production.INFO: count ==23
[2025-04-11 22:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 22:20:04] Production.INFO: ==23038== Lock acquired, processing the job...
[2025-04-11 22:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-11 22:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887231') start
[2025-04-11 22:20:04] Production.INFO: Date 2025-04-09
[2025-04-11 22:20:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 22:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 22:20:04] Production.INFO: Date 2025-04-10
[2025-04-11 22:20:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:20:04] Production.INFO: Date 2025-04-11
[2025-04-11 22:20:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887231') end
[2025-04-11 22:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 22:20:04] Production.INFO: 1
[2025-04-11 22:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 22:20:04] Production.INFO: Total Charge 0
[2025-04-11 22:20:04] Production.INFO: CreateAllLog End
[2025-04-11 22:20:04] Production.INFO: ==23040== Releasing lock...
[2025-04-11 22:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 22:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 22:20:04] Production.INFO: ==23030== Releasing lock...
[2025-04-11 22:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 22:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 22:20:04] Production.ERROR: done
[2025-04-11 22:20:04] Production.ERROR: done
[2025-04-11 22:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 22:20:04] Production.INFO: Account Balance End.
[2025-04-11 22:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-11 22:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14887233', 'tblTempUsageDetail_20reseller','2025-04-11','2025-04-11','1' ) start
[2025-04-11 22:20:05] Production.ERROR: CronJobId end 12
[2025-04-11 22:20:05] Production.INFO: ==23034== Releasing lock...
[2025-04-11 22:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 22:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 22:20:05] Production.ERROR: done
[2025-04-11 22:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 19:20:06
[end_date_ymd] => 2025-04-11 22:20:06
[RateCDR] => 1
)
[2025-04-11 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-11 19:20:06' and `end` < '2025-04-11 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-11 22:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14887233', 'tblTempUsageDetail_20reseller','2025-04-11','2025-04-11','1' ) end
[2025-04-11 22:20:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-11 22:20:09] Production.INFO: ProcessCDR(1,14887233,1,1,2)
[2025-04-11 22:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14887233,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14887233,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:20:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 22:20:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 22:20:09] Production.INFO: ==23038== Releasing lock...
[2025-04-11 22:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-11 22:20:09] Production.INFO: 26 MB #Memory Used#
[2025-04-11 22:20:14] Production.ERROR: CronJobId end10
[2025-04-11 22:20:14] Production.INFO: ==23032== Releasing lock...
[2025-04-11 22:20:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 22:20:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 22:20:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 22:20:16] Production.INFO: ============== Balance Warning START===========
[2025-04-11 22:20:16] Production.INFO: ============== Balance Warning END===========
[2025-04-11 22:20:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 22:20:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 22:20:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 22:20:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 22:20:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 22:20:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 22:20:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 22:20:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 22:20:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 22:20:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 22:20:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 22:20:16] Production.INFO: call_cost start
[2025-04-11 22:20:16] Production.INFO: call_cost end
[2025-04-11 22:20:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 22:20:17] Production.INFO: ============== Report Schedule START===========
[2025-04-11 22:20:17] Production.INFO: ============== Report Schedule END===========
[2025-04-11 22:20:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 22:20:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 22:20:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 22:20:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 22:20:17] Production.INFO: ============== Deal alert START===========
[2025-04-11 22:20:17] Production.INFO: ============== Deal alert END===========
[2025-04-11 22:20:17] Production.INFO: ==23028== Releasing lock...
[2025-04-11 22:20:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 22:20:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 22:20:19] Production.INFO: count ==1215
[2025-04-11 22:20:19] Production.ERROR: pbx CDR StartTime 2025-04-11 19:20:06 - End Time 2025-04-11 22:20:06
[2025-04-11 22:20:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 22:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887234', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887234', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887234', 'tblTempVendorCDR_20' ) start
[2025-04-11 22:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887234', 'tblTempVendorCDR_20' ) end
[2025-04-11 22:20:19] Production.INFO: ProcessCDR(1,14887234,1,1,2)
[2025-04-11 22:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887234,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:20:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887234,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:20:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887234,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:20:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887234,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887234', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887234', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:20:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 22:20:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 22:20:23] Production.INFO: ==23036== Releasing lock...
[2025-04-11 22:20:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 22:20:23] Production.INFO: 36.75 MB #Memory Used#
[2025-04-12 03:21:01] Production.INFO: ==23100== Lock acquired, processing the job...
[2025-04-12 03:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 03:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 03:21:01] Production.INFO: neon service started
[2025-04-12 03:21:01] Production.INFO: neon service started
[2025-04-12 03:21:01] Production.INFO: ==23100== Releasing lock...
[2025-04-12 03:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 03:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 02:21:02] Production.INFO: ==23104== Lock acquired, processing the job...
[2025-04-12 02:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-11 22:21:02] Production.INFO: ==23102== Lock acquired, processing the job...
[2025-04-11 22:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 02:21:02] Production.INFO: ==23104== Releasing lock...
[2025-04-12 02:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 02:21:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 22:21:02] Production.INFO: ==23102== Releasing lock...
[2025-04-11 22:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 22:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 22:21:03] Production.INFO: ==23111== Lock acquired, processing the job...
[2025-04-11 22:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 22:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 22:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 22:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 22:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 22:21:03] Production.INFO: ==23117== Lock acquired, processing the job...
[2025-04-11 22:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 22:21:03] Production.INFO: ==23107== Lock acquired, processing the job...
[2025-04-11 22:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 22:21:03] Production.INFO: ==23109== Lock acquired, processing the job...
[2025-04-11 22:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 22:21:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 22:21:03] Production.INFO: count ==12
[2025-04-11 22:21:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 22:21:03] Production.INFO: count ==23
[2025-04-11 22:21:03] Production.INFO: ==23113== Lock acquired, processing the job...
[2025-04-11 22:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 22:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887235') start
[2025-04-11 22:21:03] Production.INFO: ==23115== Lock acquired, processing the job...
[2025-04-11 22:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 22:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 22:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 22:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887235') end
[2025-04-11 22:21:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 22:21:03] Production.INFO: 1
[2025-04-11 22:21:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 22:21:03] Production.INFO: Account Balance Start.
[2025-04-11 22:21:03] Production.INFO: CreateAllLog Start
[2025-04-11 22:21:03] Production.INFO: 117
[2025-04-11 22:21:03] Production.INFO: Date 2025-04-08
[2025-04-11 22:21:03] Production.INFO: Reseller ==> 0
[2025-04-11 22:21:03] Production.INFO: ==23117== Releasing lock...
[2025-04-11 22:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 22:21:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 22:21:03] Production.INFO: Date 2025-04-09
[2025-04-11 22:21:03] Production.INFO: Reseller ==> 0
[2025-04-11 22:21:03] Production.INFO: Date 2025-04-10
[2025-04-11 22:21:03] Production.INFO: Reseller ==> 0
[2025-04-11 22:21:03] Production.INFO: Date 2025-04-11
[2025-04-11 22:21:03] Production.INFO: Reseller ==> 0
[2025-04-11 22:21:03] Production.INFO: ==23109== Releasing lock...
[2025-04-11 22:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 22:21:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 22:21:04] Production.ERROR: done
[2025-04-11 22:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 22:21:04] Production.INFO: Total Charge 0
[2025-04-11 22:21:04] Production.INFO: CreateAllLog End
[2025-04-11 22:21:04] Production.ERROR: done
[2025-04-11 22:21:04] Production.INFO: Account Balance End.
[2025-04-11 22:21:04] Production.ERROR: CronJobId end 12
[2025-04-11 22:21:04] Production.INFO: ==23113== Releasing lock...
[2025-04-11 22:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 22:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 22:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 19:21:05
[end_date_ymd] => 2025-04-11 22:21:05
[RateCDR] => 1
)
[2025-04-11 22:21:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 19:21:05' and `end` < '2025-04-11 22:21:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 22:21:11] Production.ERROR: CronJobId end10
[2025-04-11 22:21:11] Production.INFO: ==23111== Releasing lock...
[2025-04-11 22:21:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 22:21:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 22:21:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 22:21:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 22:21:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 22:21:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 22:21:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 22:21:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 22:21:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 22:21:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 22:21:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 22:21:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 22:21:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 22:21:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 22:21:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 22:21:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 22:21:15] Production.INFO: call_cost start
[2025-04-11 22:21:15] Production.INFO: call_cost end
[2025-04-11 22:21:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 22:21:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 22:21:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 22:21:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 22:21:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 22:21:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 22:21:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 22:21:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 22:21:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 22:21:16] Production.INFO: ==23107== Releasing lock...
[2025-04-11 22:21:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 22:21:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 22:21:18] Production.INFO: count ==1203
[2025-04-11 22:21:18] Production.ERROR: pbx CDR StartTime 2025-04-11 19:21:05 - End Time 2025-04-11 22:21:05
[2025-04-11 22:21:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 22:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887239', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887239', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887239', 'tblTempVendorCDR_20' ) start
[2025-04-11 22:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887239', 'tblTempVendorCDR_20' ) end
[2025-04-11 22:21:18] Production.INFO: ProcessCDR(1,14887239,1,1,2)
[2025-04-11 22:21:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887239,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:21:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887239,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:21:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887239,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:21:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887239,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887239', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887239', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:21:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 22:21:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 22:21:21] Production.INFO: ==23115== Releasing lock...
[2025-04-11 22:21:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 22:21:21] Production.INFO: 36.5 MB #Memory Used#
[2025-04-12 03:22:02] Production.INFO: ==23171== Lock acquired, processing the job...
[2025-04-12 03:22:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 03:22:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 03:22:02] Production.INFO: neon service started
[2025-04-12 03:22:02] Production.INFO: neon service started
[2025-04-12 03:22:02] Production.INFO: ==23171== Releasing lock...
[2025-04-12 03:22:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 03:22:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 22:22:02] Production.INFO: ==23173== Lock acquired, processing the job...
[2025-04-11 22:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 22:22:02] Production.INFO: ==23173== Releasing lock...
[2025-04-11 22:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 22:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 02:22:02] Production.INFO: ==23175== Lock acquired, processing the job...
[2025-04-12 02:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 02:22:03] Production.INFO: ==23175== Releasing lock...
[2025-04-12 02:22:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 02:22:03] Production.INFO: 25 MB #Memory Used#
[2025-04-11 22:22:03] Production.INFO: ==23188== Lock acquired, processing the job...
[2025-04-11 22:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 22:22:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 22:22:04] Production.INFO: ==23186== Lock acquired, processing the job...
[2025-04-11 22:22:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 22:22:04] Production.INFO: count ==12
[2025-04-11 22:22:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 22:22:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 22:22:04] Production.INFO: count ==23
[2025-04-11 22:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887240') start
[2025-04-11 22:22:04] Production.INFO: ==23180== Lock acquired, processing the job...
[2025-04-11 22:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 22:22:04] Production.INFO: ==23178== Lock acquired, processing the job...
[2025-04-11 22:22:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 22:22:04] Production.INFO: ==23182== Lock acquired, processing the job...
[2025-04-11 22:22:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 22:22:04] Production.INFO: ==23184== Lock acquired, processing the job...
[2025-04-11 22:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 22:22:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 22:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887240') end
[2025-04-11 22:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 22:22:04] Production.INFO: 1
[2025-04-11 22:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 22:22:04] Production.INFO: Account Balance Start.
[2025-04-11 22:22:04] Production.INFO: CreateAllLog Start
[2025-04-11 22:22:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 22:22:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 22:22:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 22:22:04] Production.INFO: 117
[2025-04-11 22:22:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 22:22:04] Production.INFO: Date 2025-04-08
[2025-04-11 22:22:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:22:04] Production.INFO: Date 2025-04-09
[2025-04-11 22:22:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:22:04] Production.INFO: ==23188== Releasing lock...
[2025-04-11 22:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 22:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 22:22:04] Production.ERROR: done
[2025-04-11 22:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 22:22:04] Production.INFO: ==23180== Releasing lock...
[2025-04-11 22:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 22:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 22:22:04] Production.INFO: Date 2025-04-10
[2025-04-11 22:22:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:22:04] Production.INFO: Date 2025-04-11
[2025-04-11 22:22:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:22:04] Production.INFO: Total Charge 0
[2025-04-11 22:22:04] Production.INFO: CreateAllLog End
[2025-04-11 22:22:04] Production.ERROR: done
[2025-04-11 22:22:04] Production.INFO: Account Balance End.
[2025-04-11 22:22:05] Production.ERROR: CronJobId end 12
[2025-04-11 22:22:05] Production.INFO: ==23184== Releasing lock...
[2025-04-11 22:22:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 22:22:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 22:22:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 19:22:06
[end_date_ymd] => 2025-04-11 22:22:06
[RateCDR] => 1
)
[2025-04-11 22:22:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 19:22:06' and `end` < '2025-04-11 22:22:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 22:22:13] Production.ERROR: CronJobId end10
[2025-04-11 22:22:13] Production.INFO: ==23182== Releasing lock...
[2025-04-11 22:22:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 22:22:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 22:22:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 22:22:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 22:22:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 22:22:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 22:22:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 22:22:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 22:22:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 22:22:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 22:22:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 22:22:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 22:22:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 22:22:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 22:22:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 22:22:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 22:22:16] Production.INFO: call_cost start
[2025-04-11 22:22:16] Production.INFO: call_cost end
[2025-04-11 22:22:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 22:22:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 22:22:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 22:22:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 22:22:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 22:22:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 22:22:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 22:22:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 22:22:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 22:22:16] Production.INFO: ==23178== Releasing lock...
[2025-04-11 22:22:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 22:22:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 22:22:19] Production.INFO: count ==1202
[2025-04-11 22:22:19] Production.ERROR: pbx CDR StartTime 2025-04-11 19:22:06 - End Time 2025-04-11 22:22:06
[2025-04-11 22:22:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 22:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887244', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887244', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887244', 'tblTempVendorCDR_20' ) start
[2025-04-11 22:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887244', 'tblTempVendorCDR_20' ) end
[2025-04-11 22:22:19] Production.INFO: ProcessCDR(1,14887244,1,1,2)
[2025-04-11 22:22:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887244,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:22:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887244,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:22:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887244,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:22:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887244,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887244', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887244', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:22:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 22:22:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 22:22:22] Production.INFO: ==23186== Releasing lock...
[2025-04-11 22:22:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 22:22:22] Production.INFO: 36.5 MB #Memory Used#
[2025-04-12 03:23:01] Production.INFO: ==23243== Lock acquired, processing the job...
[2025-04-12 03:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 03:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 03:23:01] Production.INFO: neon service started
[2025-04-12 03:23:01] Production.INFO: neon service started
[2025-04-12 03:23:01] Production.INFO: ==23243== Releasing lock...
[2025-04-12 03:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 03:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 22:23:02] Production.INFO: ==23245== Lock acquired, processing the job...
[2025-04-11 22:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 02:23:02] Production.INFO: ==23247== Lock acquired, processing the job...
[2025-04-12 02:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 02:23:02] Production.INFO: ==23247== Releasing lock...
[2025-04-12 02:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 02:23:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 22:23:02] Production.INFO: ==23245== Releasing lock...
[2025-04-11 22:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 22:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 22:23:03] Production.INFO: ==23254== Lock acquired, processing the job...
[2025-04-11 22:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 22:23:03] Production.INFO: ==23252== Lock acquired, processing the job...
[2025-04-11 22:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 22:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 22:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 22:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 22:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 22:23:03] Production.INFO: ==23250== Lock acquired, processing the job...
[2025-04-11 22:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 22:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 22:23:03] Production.INFO: ==23256== Lock acquired, processing the job...
[2025-04-11 22:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 22:23:03] Production.INFO: ==23258== Lock acquired, processing the job...
[2025-04-11 22:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 22:23:03] Production.INFO: ==23252== Releasing lock...
[2025-04-11 22:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 22:23:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 22:23:04] Production.INFO: ==23260== Lock acquired, processing the job...
[2025-04-11 22:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 22:23:04] Production.INFO: Account Balance Start.
[2025-04-11 22:23:04] Production.INFO: CreateAllLog Start
[2025-04-11 22:23:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 22:23:04] Production.INFO: 117
[2025-04-11 22:23:04] Production.INFO: Date 2025-04-08
[2025-04-11 22:23:04] Production.INFO: Reseller ==> 0
[2025-04-11 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-11 22:23:04] Production.INFO: count ==12
[2025-04-11 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-11 22:23:04] Production.INFO: count ==23
[2025-04-11 22:23:04] Production.INFO: Date 2025-04-09
[2025-04-11 22:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887248') start
[2025-04-11 22:23:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:23:04] Production.INFO: Date 2025-04-10
[2025-04-11 22:23:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887248') end
[2025-04-11 22:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 22:23:04] Production.INFO: 1
[2025-04-11 22:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 22:23:04] Production.INFO: Date 2025-04-11
[2025-04-11 22:23:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:23:04] Production.INFO: Total Charge 0
[2025-04-11 22:23:04] Production.INFO: CreateAllLog End
[2025-04-11 22:23:04] Production.INFO: ==23260== Releasing lock...
[2025-04-11 22:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 22:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 22:23:04] Production.ERROR: done
[2025-04-11 22:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 22:23:04] Production.INFO: Account Balance End.
[2025-04-11 22:23:04] Production.ERROR: CronJobId end 12
[2025-04-11 22:23:04] Production.INFO: ==23256== Releasing lock...
[2025-04-11 22:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 22:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 22:23:04] Production.ERROR: done
[2025-04-11 22:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 19:23:05
[end_date_ymd] => 2025-04-11 22:23:05
[RateCDR] => 1
)
[2025-04-11 22:23:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 19:23:05' and `end` < '2025-04-11 22:23:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 22:23:12] Production.ERROR: CronJobId end10
[2025-04-11 22:23:12] Production.INFO: ==23254== Releasing lock...
[2025-04-11 22:23:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 22:23:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 22:23:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 22:23:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 22:23:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 22:23:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 22:23:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 22:23:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 22:23:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 22:23:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 22:23:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 22:23:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 22:23:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 22:23:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 22:23:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 22:23:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 22:23:14] Production.INFO: call_cost start
[2025-04-11 22:23:14] Production.INFO: call_cost end
[2025-04-11 22:23:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 22:23:15] Production.INFO: ============== Report Schedule START===========
[2025-04-11 22:23:15] Production.INFO: ============== Report Schedule END===========
[2025-04-11 22:23:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 22:23:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 22:23:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 22:23:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 22:23:15] Production.INFO: ============== Deal alert START===========
[2025-04-11 22:23:15] Production.INFO: ============== Deal alert END===========
[2025-04-11 22:23:15] Production.INFO: ==23250== Releasing lock...
[2025-04-11 22:23:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 22:23:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 22:23:18] Production.INFO: count ==1186
[2025-04-11 22:23:18] Production.ERROR: pbx CDR StartTime 2025-04-11 19:23:05 - End Time 2025-04-11 22:23:05
[2025-04-11 22:23:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 22:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887249', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887249', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887249', 'tblTempVendorCDR_20' ) start
[2025-04-11 22:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887249', 'tblTempVendorCDR_20' ) end
[2025-04-11 22:23:18] Production.INFO: ProcessCDR(1,14887249,1,1,2)
[2025-04-11 22:23:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887249,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:23:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887249,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:23:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887249,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:23:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887249,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887249', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887249', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:23:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 22:23:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 22:23:22] Production.INFO: ==23258== Releasing lock...
[2025-04-11 22:23:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 22:23:22] Production.INFO: 36.5 MB #Memory Used#
[2025-04-12 03:24:02] Production.INFO: ==23322== Lock acquired, processing the job...
[2025-04-12 03:24:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 03:24:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 03:24:02] Production.INFO: neon service started
[2025-04-12 03:24:02] Production.INFO: neon service started
[2025-04-12 03:24:02] Production.INFO: ==23322== Releasing lock...
[2025-04-12 03:24:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 03:24:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 22:24:02] Production.INFO: ==23324== Lock acquired, processing the job...
[2025-04-11 22:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 02:24:02] Production.INFO: ==23326== Lock acquired, processing the job...
[2025-04-12 02:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 02:24:02] Production.INFO: ==23326== Releasing lock...
[2025-04-12 02:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 02:24:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 22:24:03] Production.INFO: ==23324== Releasing lock...
[2025-04-11 22:24:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 22:24:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 22:24:04] Production.INFO: ==23331== Lock acquired, processing the job...
[2025-04-11 22:24:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 22:24:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 22:24:04] Production.INFO: ==23333== Lock acquired, processing the job...
[2025-04-11 22:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 22:24:04] Production.INFO: ==23337== Lock acquired, processing the job...
[2025-04-11 22:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 22:24:04] Production.INFO: ==23335== Lock acquired, processing the job...
[2025-04-11 22:24:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 22:24:04] Production.INFO: Account Balance Start.
[2025-04-11 22:24:04] Production.INFO: CreateAllLog Start
[2025-04-11 22:24:04] Production.INFO: 117
[2025-04-11 22:24:04] Production.INFO: ==23342== Lock acquired, processing the job...
[2025-04-11 22:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 22:24:04] Production.INFO: Date 2025-04-08
[2025-04-11 22:24:04] Production.INFO: ==23339== Lock acquired, processing the job...
[2025-04-11 22:24:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 22:24:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 22:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 22:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 22:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 22:24:04] Production.INFO: Date 2025-04-09
[2025-04-11 22:24:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:24:04] Production.INFO: Date 2025-04-10
[2025-04-11 22:24:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:24:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 22:24:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 22:24:04] Production.INFO: Date 2025-04-11
[2025-04-11 22:24:04] Production.INFO: count ==12
[2025-04-11 22:24:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:24:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 22:24:04] Production.INFO: count ==23
[2025-04-11 22:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887253') start
[2025-04-11 22:24:04] Production.INFO: Total Charge 0
[2025-04-11 22:24:04] Production.INFO: CreateAllLog End
[2025-04-11 22:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887253') end
[2025-04-11 22:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 22:24:04] Production.INFO: 1
[2025-04-11 22:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 22:24:04] Production.INFO: ==23333== Releasing lock...
[2025-04-11 22:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 22:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 22:24:04] Production.INFO: ==23342== Releasing lock...
[2025-04-11 22:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 22:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 22:24:04] Production.ERROR: done
[2025-04-11 22:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 22:24:05] Production.ERROR: done
[2025-04-11 22:24:05] Production.INFO: Account Balance End.
[2025-04-11 22:24:05] Production.ERROR: CronJobId end 12
[2025-04-11 22:24:05] Production.INFO: ==23337== Releasing lock...
[2025-04-11 22:24:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 22:24:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 22:24:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 19:24:06
[end_date_ymd] => 2025-04-11 22:24:06
[RateCDR] => 1
)
[2025-04-11 22:24:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 19:24:06' and `end` < '2025-04-11 22:24:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 22:24:13] Production.ERROR: CronJobId end10
[2025-04-11 22:24:13] Production.INFO: ==23335== Releasing lock...
[2025-04-11 22:24:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 22:24:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 22:24:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 22:24:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 22:24:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 22:24:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 22:24:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 22:24:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 22:24:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 22:24:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 22:24:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 22:24:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 22:24:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 22:24:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 22:24:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 22:24:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 22:24:15] Production.INFO: call_cost start
[2025-04-11 22:24:15] Production.INFO: call_cost end
[2025-04-11 22:24:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 22:24:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 22:24:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 22:24:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 22:24:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 22:24:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 22:24:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 22:24:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 22:24:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 22:24:16] Production.INFO: ==23331== Releasing lock...
[2025-04-11 22:24:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 22:24:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 22:24:18] Production.INFO: count ==1178
[2025-04-11 22:24:19] Production.ERROR: pbx CDR StartTime 2025-04-11 19:24:06 - End Time 2025-04-11 22:24:06
[2025-04-11 22:24:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 22:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887254', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887254', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887254', 'tblTempVendorCDR_20' ) start
[2025-04-11 22:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887254', 'tblTempVendorCDR_20' ) end
[2025-04-11 22:24:19] Production.INFO: ProcessCDR(1,14887254,1,1,2)
[2025-04-11 22:24:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887254,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:24:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887254,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:24:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887254,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:24:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887254,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887254', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887254', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:24:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 22:24:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 22:24:22] Production.INFO: ==23339== Releasing lock...
[2025-04-11 22:24:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 22:24:22] Production.INFO: 36.5 MB #Memory Used#
[2025-04-12 03:25:01] Production.INFO: ==23396== Lock acquired, processing the job...
[2025-04-12 03:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 03:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 03:25:01] Production.INFO: neon service started
[2025-04-12 03:25:01] Production.INFO: neon service started
[2025-04-12 03:25:01] Production.INFO: ==23396== Releasing lock...
[2025-04-12 03:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 03:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 22:25:01] Production.INFO: ==23399== Lock acquired, processing the job...
[2025-04-11 22:25:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 22:25:02] Production.INFO: ==23399== Releasing lock...
[2025-04-11 22:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 22:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 02:25:02] Production.INFO: ==23401== Lock acquired, processing the job...
[2025-04-12 02:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 02:25:02] Production.INFO: ==23401== Releasing lock...
[2025-04-12 02:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 02:25:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 22:25:03] Production.INFO: ==23405== Lock acquired, processing the job...
[2025-04-11 22:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 22:25:03] Production.INFO: ==23403== Lock acquired, processing the job...
[2025-04-11 22:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 22:25:03] Production.INFO: ==23407== Lock acquired, processing the job...
[2025-04-11 22:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 22:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 22:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 22:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 22:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 22:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 22:25:03] Production.INFO: ==23405== Releasing lock...
[2025-04-11 22:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 22:25:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 22:25:03] Production.INFO: ==23413== Lock acquired, processing the job...
[2025-04-11 22:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 22:25:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 22:25:03] Production.INFO: ==23409== Lock acquired, processing the job...
[2025-04-11 22:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 22:25:03] Production.INFO: count ==12
[2025-04-11 22:25:03] Production.INFO: ==23411== Lock acquired, processing the job...
[2025-04-11 22:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 22:25:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 22:25:03] Production.INFO: count ==23
[2025-04-11 22:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 22:25:03] Production.INFO: Account Balance Start.
[2025-04-11 22:25:03] Production.INFO: CreateAllLog Start
[2025-04-11 22:25:03] Production.INFO: 117
[2025-04-11 22:25:03] Production.INFO: Date 2025-04-08
[2025-04-11 22:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887257') start
[2025-04-11 22:25:03] Production.INFO: Reseller ==> 0
[2025-04-11 22:25:03] Production.INFO: Date 2025-04-09
[2025-04-11 22:25:03] Production.INFO: Reseller ==> 0
[2025-04-11 22:25:03] Production.INFO: Date 2025-04-10
[2025-04-11 22:25:03] Production.INFO: Reseller ==> 0
[2025-04-11 22:25:03] Production.INFO: Date 2025-04-11
[2025-04-11 22:25:03] Production.INFO: Reseller ==> 0
[2025-04-11 22:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887257') end
[2025-04-11 22:25:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 22:25:03] Production.INFO: 1
[2025-04-11 22:25:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 22:25:03] Production.INFO: Total Charge 0
[2025-04-11 22:25:03] Production.INFO: CreateAllLog End
[2025-04-11 22:25:04] Production.INFO: ==23413== Releasing lock...
[2025-04-11 22:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 22:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 22:25:04] Production.ERROR: done
[2025-04-11 22:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 22:25:04] Production.ERROR: done
[2025-04-11 22:25:04] Production.INFO: Account Balance End.
[2025-04-11 22:25:04] Production.ERROR: CronJobId end 12
[2025-04-11 22:25:04] Production.INFO: ==23409== Releasing lock...
[2025-04-11 22:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 22:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 22:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 19:25:05
[end_date_ymd] => 2025-04-11 22:25:05
[RateCDR] => 1
)
[2025-04-11 22:25:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 19:25:05' and `end` < '2025-04-11 22:25:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 22:25:13] Production.ERROR: CronJobId end10
[2025-04-11 22:25:13] Production.INFO: ==23407== Releasing lock...
[2025-04-11 22:25:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 22:25:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 22:25:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 22:25:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 22:25:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 22:25:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 22:25:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 22:25:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 22:25:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 22:25:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 22:25:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 22:25:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 22:25:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 22:25:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 22:25:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 22:25:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 22:25:15] Production.INFO: call_cost start
[2025-04-11 22:25:15] Production.INFO: call_cost end
[2025-04-11 22:25:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 22:25:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 22:25:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 22:25:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 22:25:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 22:25:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 22:25:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 22:25:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 22:25:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 22:25:16] Production.INFO: ==23403== Releasing lock...
[2025-04-11 22:25:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 22:25:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 22:25:18] Production.INFO: count ==1175
[2025-04-11 22:25:18] Production.ERROR: pbx CDR StartTime 2025-04-11 19:25:05 - End Time 2025-04-11 22:25:05
[2025-04-11 22:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 22:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887259', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887259', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887259', 'tblTempVendorCDR_20' ) start
[2025-04-11 22:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887259', 'tblTempVendorCDR_20' ) end
[2025-04-11 22:25:18] Production.INFO: ProcessCDR(1,14887259,1,1,2)
[2025-04-11 22:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887259,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:25:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887259,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:25:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887259,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:25:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887259,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887259', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887259', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:25:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 22:25:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 22:25:21] Production.INFO: ==23411== Releasing lock...
[2025-04-11 22:25:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 22:25:21] Production.INFO: 36.5 MB #Memory Used#
[2025-04-12 03:26:02] Production.INFO: ==23470== Lock acquired, processing the job...
[2025-04-12 03:26:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 03:26:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 03:26:02] Production.INFO: neon service started
[2025-04-12 03:26:02] Production.INFO: neon service started
[2025-04-12 03:26:02] Production.INFO: ==23470== Releasing lock...
[2025-04-12 03:26:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 03:26:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 22:26:02] Production.INFO: ==23472== Lock acquired, processing the job...
[2025-04-11 22:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 22:26:02] Production.INFO: ==23472== Releasing lock...
[2025-04-11 22:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 22:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 02:26:03] Production.INFO: ==23474== Lock acquired, processing the job...
[2025-04-12 02:26:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 02:26:03] Production.INFO: ==23474== Releasing lock...
[2025-04-12 02:26:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 02:26:03] Production.INFO: 25 MB #Memory Used#
[2025-04-11 22:26:03] Production.INFO: ==23481== Lock acquired, processing the job...
[2025-04-11 22:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 22:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 22:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 22:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 22:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 22:26:03] Production.INFO: ==23485== Lock acquired, processing the job...
[2025-04-11 22:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 22:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 22:26:03] Production.INFO: ==23479== Lock acquired, processing the job...
[2025-04-11 22:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 22:26:03] Production.INFO: ==23483== Lock acquired, processing the job...
[2025-04-11 22:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 22:26:03] Production.INFO: ==23477== Lock acquired, processing the job...
[2025-04-11 22:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 22:26:03] Production.INFO: ==23487== Lock acquired, processing the job...
[2025-04-11 22:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 22:26:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 22:26:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 22:26:04] Production.INFO: Account Balance Start.
[2025-04-11 22:26:04] Production.INFO: CreateAllLog Start
[2025-04-11 22:26:04] Production.INFO: 117
[2025-04-11 22:26:04] Production.INFO: count ==12
[2025-04-11 22:26:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 22:26:04] Production.INFO: count ==23
[2025-04-11 22:26:04] Production.INFO: Date 2025-04-08
[2025-04-11 22:26:04] Production.ERROR: done
[2025-04-11 22:26:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 22:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887260') start
[2025-04-11 22:26:04] Production.INFO: Date 2025-04-09
[2025-04-11 22:26:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887260') end
[2025-04-11 22:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 22:26:04] Production.INFO: 1
[2025-04-11 22:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 22:26:04] Production.INFO: ==23479== Releasing lock...
[2025-04-11 22:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 22:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 22:26:04] Production.ERROR: done
[2025-04-11 22:26:04] Production.INFO: Date 2025-04-10
[2025-04-11 22:26:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:26:04] Production.INFO: ==23487== Releasing lock...
[2025-04-11 22:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 22:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 22:26:04] Production.INFO: Date 2025-04-11
[2025-04-11 22:26:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:26:04] Production.INFO: Total Charge 0
[2025-04-11 22:26:04] Production.INFO: CreateAllLog End
[2025-04-11 22:26:04] Production.INFO: Account Balance End.
[2025-04-11 22:26:04] Production.ERROR: CronJobId end 12
[2025-04-11 22:26:04] Production.INFO: ==23483== Releasing lock...
[2025-04-11 22:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 22:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 22:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 19:26:05
[end_date_ymd] => 2025-04-11 22:26:05
[RateCDR] => 1
)
[2025-04-11 22:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 19:26:05' and `end` < '2025-04-11 22:26:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 22:26:11] Production.ERROR: CronJobId end10
[2025-04-11 22:26:11] Production.INFO: ==23481== Releasing lock...
[2025-04-11 22:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 22:26:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 22:26:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 22:26:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 22:26:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 22:26:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 22:26:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 22:26:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 22:26:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 22:26:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 22:26:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 22:26:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 22:26:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 22:26:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 22:26:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 22:26:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 22:26:15] Production.INFO: call_cost start
[2025-04-11 22:26:15] Production.INFO: call_cost end
[2025-04-11 22:26:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 22:26:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 22:26:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 22:26:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 22:26:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 22:26:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 22:26:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 22:26:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 22:26:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 22:26:16] Production.INFO: ==23477== Releasing lock...
[2025-04-11 22:26:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 22:26:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 22:26:18] Production.INFO: count ==1174
[2025-04-11 22:26:18] Production.ERROR: pbx CDR StartTime 2025-04-11 19:26:05 - End Time 2025-04-11 22:26:05
[2025-04-11 22:26:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 22:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887264', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887264', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887264', 'tblTempVendorCDR_20' ) start
[2025-04-11 22:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887264', 'tblTempVendorCDR_20' ) end
[2025-04-11 22:26:18] Production.INFO: ProcessCDR(1,14887264,1,1,2)
[2025-04-11 22:26:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887264,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:26:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887264,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:26:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887264,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:26:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887264,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887264', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887264', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:26:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 22:26:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 22:26:22] Production.INFO: ==23485== Releasing lock...
[2025-04-11 22:26:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 22:26:22] Production.INFO: 36.5 MB #Memory Used#
[2025-04-12 03:27:01] Production.INFO: ==23542== Lock acquired, processing the job...
[2025-04-12 03:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 03:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 03:27:01] Production.INFO: neon service started
[2025-04-12 03:27:01] Production.INFO: neon service started
[2025-04-12 03:27:01] Production.INFO: ==23542== Releasing lock...
[2025-04-12 03:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 03:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 22:27:02] Production.INFO: ==23544== Lock acquired, processing the job...
[2025-04-11 22:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 22:27:02] Production.INFO: ==23544== Releasing lock...
[2025-04-11 22:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 22:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 02:27:02] Production.INFO: ==23546== Lock acquired, processing the job...
[2025-04-12 02:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 02:27:02] Production.INFO: ==23546== Releasing lock...
[2025-04-12 02:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 02:27:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 22:27:03] Production.INFO: ==23553== Lock acquired, processing the job...
[2025-04-11 22:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 22:27:03] Production.INFO: ==23549== Lock acquired, processing the job...
[2025-04-11 22:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 22:27:03] Production.INFO: ==23551== Lock acquired, processing the job...
[2025-04-11 22:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 22:27:03] Production.INFO: ==23559== Lock acquired, processing the job...
[2025-04-11 22:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 22:27:03] Production.INFO: ==23555== Lock acquired, processing the job...
[2025-04-11 22:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 22:27:03] Production.INFO: ==23557== Lock acquired, processing the job...
[2025-04-11 22:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 22:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 22:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 22:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 22:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 22:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 22:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 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-11 22:27:03] Production.INFO: count ==12
[2025-04-11 22:27:03] Production.INFO: Account Balance Start.
[2025-04-11 22:27:03] Production.INFO: CreateAllLog Start
[2025-04-11 22:27:03] Production.INFO: 117
[2025-04-11 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-11 22:27:03] Production.INFO: count ==23
[2025-04-11 22:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887267') start
[2025-04-11 22:27:04] Production.INFO: Date 2025-04-08
[2025-04-11 22:27:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:27:04] Production.INFO: Date 2025-04-09
[2025-04-11 22:27:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:27:04] Production.INFO: Date 2025-04-10
[2025-04-11 22:27:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887267') end
[2025-04-11 22:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 22:27:04] Production.INFO: 1
[2025-04-11 22:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 22:27:04] Production.INFO: Date 2025-04-11
[2025-04-11 22:27:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:27:04] Production.INFO: ==23559== Releasing lock...
[2025-04-11 22:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 22:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 22:27:04] Production.INFO: ==23551== Releasing lock...
[2025-04-11 22:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 22:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 22:27:04] Production.ERROR: done
[2025-04-11 22:27:04] Production.INFO: Total Charge 0
[2025-04-11 22:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 22:27:04] Production.INFO: CreateAllLog End
[2025-04-11 22:27:04] Production.ERROR: done
[2025-04-11 22:27:04] Production.INFO: Account Balance End.
[2025-04-11 22:27:04] Production.ERROR: CronJobId end 12
[2025-04-11 22:27:04] Production.INFO: ==23555== Releasing lock...
[2025-04-11 22:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 22:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 22:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 19:27:05
[end_date_ymd] => 2025-04-11 22:27:05
[RateCDR] => 1
)
[2025-04-11 22:27:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 19:27:05' and `end` < '2025-04-11 22:27:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 22:27:13] Production.ERROR: CronJobId end10
[2025-04-11 22:27:13] Production.INFO: ==23553== Releasing lock...
[2025-04-11 22:27:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 22:27:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 22:27:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 22:27:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 22:27:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 22:27:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 22:27:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 22:27:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 22:27:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 22:27:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 22:27:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 22:27:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 22:27:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 22:27:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 22:27:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 22:27:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 22:27:15] Production.INFO: call_cost start
[2025-04-11 22:27:15] Production.INFO: call_cost end
[2025-04-11 22:27:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 22:27:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 22:27:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 22:27:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 22:27:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 22:27:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 22:27:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 22:27:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 22:27:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 22:27:16] Production.INFO: ==23549== Releasing lock...
[2025-04-11 22:27:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 22:27:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 22:27:18] Production.INFO: count ==1173
[2025-04-11 22:27:18] Production.ERROR: pbx CDR StartTime 2025-04-11 19:27:05 - End Time 2025-04-11 22:27:05
[2025-04-11 22:27:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 22:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887269', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887269', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887269', 'tblTempVendorCDR_20' ) start
[2025-04-11 22:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887269', 'tblTempVendorCDR_20' ) end
[2025-04-11 22:27:18] Production.INFO: ProcessCDR(1,14887269,1,1,2)
[2025-04-11 22:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887269,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:27:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887269,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:27:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887269,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:27:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887269,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887269', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887269', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:27:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 22:27:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 22:27:22] Production.INFO: ==23557== Releasing lock...
[2025-04-11 22:27:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 22:27:22] Production.INFO: 36.25 MB #Memory Used#
[2025-04-12 03:28:02] Production.INFO: ==23614== Lock acquired, processing the job...
[2025-04-12 03:28:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 03:28:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 03:28:02] Production.INFO: neon service started
[2025-04-12 03:28:02] Production.INFO: neon service started
[2025-04-12 03:28:02] Production.INFO: ==23614== Releasing lock...
[2025-04-12 03:28:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 03:28:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 22:28:03] Production.INFO: ==23616== Lock acquired, processing the job...
[2025-04-11 22:28:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 02:28:03] Production.INFO: ==23618== Lock acquired, processing the job...
[2025-04-12 02:28:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 02:28:03] Production.INFO: ==23618== Releasing lock...
[2025-04-12 02:28:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 02:28:03] Production.INFO: 25 MB #Memory Used#
[2025-04-11 22:28:03] Production.INFO: ==23616== Releasing lock...
[2025-04-11 22:28:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 22:28:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 22:28:04] Production.INFO: ==23623== Lock acquired, processing the job...
[2025-04-11 22:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 22:28:04] Production.INFO: ==23625== Lock acquired, processing the job...
[2025-04-11 22:28:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 22:28:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 22:28:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 22:28:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 22:28:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 22:28:04] Production.INFO: ==23629== Lock acquired, processing the job...
[2025-04-11 22:28:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 22:28:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 22:28:04] Production.INFO: ==23621== Lock acquired, processing the job...
[2025-04-11 22:28:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 22:28:04] Production.INFO: ==23627== Lock acquired, processing the job...
[2025-04-11 22:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 22:28:04] Production.INFO: ==23623== Releasing lock...
[2025-04-11 22:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 22:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 22:28:04] Production.INFO: ==23631== Lock acquired, processing the job...
[2025-04-11 22:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 22:28:04] Production.INFO: Account Balance Start.
[2025-04-11 22:28:04] Production.INFO: CreateAllLog Start
[2025-04-11 22:28:04] Production.INFO: 117
[2025-04-11 22:28:04] Production.INFO: Date 2025-04-08
[2025-04-11 22:28:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:28:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 22:28:04] Production.INFO: Date 2025-04-09
[2025-04-11 22:28:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:28:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 22:28:04] Production.ERROR: done
[2025-04-11 22:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 22:28:04] Production.INFO: count ==12
[2025-04-11 22:28:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 22:28:04] Production.INFO: count ==23
[2025-04-11 22:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887273') start
[2025-04-11 22:28:04] Production.INFO: Date 2025-04-10
[2025-04-11 22:28:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:28:04] Production.INFO: Date 2025-04-11
[2025-04-11 22:28:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:28:04] Production.INFO: Total Charge 0
[2025-04-11 22:28:04] Production.INFO: CreateAllLog End
[2025-04-11 22:28:04] Production.ERROR: done
[2025-04-11 22:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887273') end
[2025-04-11 22:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 22:28:04] Production.INFO: 1
[2025-04-11 22:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 22:28:04] Production.INFO: Account Balance End.
[2025-04-11 22:28:05] Production.ERROR: CronJobId end 12
[2025-04-11 22:28:05] Production.INFO: ==23627== Releasing lock...
[2025-04-11 22:28:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 22:28:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 22:28:05] Production.INFO: ==23631== Releasing lock...
[2025-04-11 22:28:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 22:28:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 22:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 19:28:05
[end_date_ymd] => 2025-04-11 22:28:05
[RateCDR] => 1
)
[2025-04-11 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-11 19:28:05' and `end` < '2025-04-11 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-11 22:28:13] Production.ERROR: CronJobId end10
[2025-04-11 22:28:13] Production.INFO: ==23625== Releasing lock...
[2025-04-11 22:28:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 22:28:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 22:28:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 22:28:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 22:28:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 22:28:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 22:28:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 22:28:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 22:28:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 22:28:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 22:28:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 22:28:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 22:28:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 22:28:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 22:28:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 22:28:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 22:28:15] Production.INFO: call_cost start
[2025-04-11 22:28:15] Production.INFO: call_cost end
[2025-04-11 22:28:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 22:28:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 22:28:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 22:28:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 22:28:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 22:28:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 22:28:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 22:28:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 22:28:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 22:28:16] Production.INFO: ==23621== Releasing lock...
[2025-04-11 22:28:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 22:28:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 22:28:18] Production.INFO: count ==1173
[2025-04-11 22:28:18] Production.ERROR: pbx CDR StartTime 2025-04-11 19:28:05 - End Time 2025-04-11 22:28:05
[2025-04-11 22:28:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 22:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887274', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887274', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887274', 'tblTempVendorCDR_20' ) start
[2025-04-11 22:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887274', 'tblTempVendorCDR_20' ) end
[2025-04-11 22:28:18] Production.INFO: ProcessCDR(1,14887274,1,1,2)
[2025-04-11 22:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887274,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:28:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887274,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:28:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887274,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:28:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887274,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887274', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887274', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:28:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 22:28:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 22:28:22] Production.INFO: ==23629== Releasing lock...
[2025-04-11 22:28:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 22:28:22] Production.INFO: 36.25 MB #Memory Used#
[2025-04-12 03:29:01] Production.INFO: ==23686== Lock acquired, processing the job...
[2025-04-12 03:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 03:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 03:29:01] Production.INFO: neon service started
[2025-04-12 03:29:01] Production.INFO: neon service started
[2025-04-12 03:29:01] Production.INFO: ==23686== Releasing lock...
[2025-04-12 03:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 03:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 22:29:02] Production.INFO: ==23688== Lock acquired, processing the job...
[2025-04-11 22:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 22:29:02] Production.INFO: ==23688== Releasing lock...
[2025-04-11 22:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 22:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 02:29:02] Production.INFO: ==23690== Lock acquired, processing the job...
[2025-04-12 02:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 02:29:02] Production.INFO: ==23690== Releasing lock...
[2025-04-12 02:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 02:29:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 22:29:03] Production.INFO: ==23693== Lock acquired, processing the job...
[2025-04-11 22:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 22:29:03] Production.INFO: ==23695== Lock acquired, processing the job...
[2025-04-11 22:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 22:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 22:29:03] Production.INFO: ==23701== Lock acquired, processing the job...
[2025-04-11 22:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 22:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 22:29:03] Production.INFO: ==23695== Releasing lock...
[2025-04-11 22:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 22:29:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 22:29:03] Production.INFO: ==23697== Lock acquired, processing the job...
[2025-04-11 22:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 22:29:03] Production.INFO: ==23699== Lock acquired, processing the job...
[2025-04-11 22:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 22:29:03] Production.INFO: ==23703== Lock acquired, processing the job...
[2025-04-11 22:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 22:29:03] Production.ERROR: done
[2025-04-11 22:29:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 22:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 22:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 22:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 22:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 22:29:03] Production.INFO: Account Balance Start.
[2025-04-11 22:29:03] Production.INFO: CreateAllLog Start
[2025-04-11 22:29:03] Production.INFO: 117
[2025-04-11 22:29:03] Production.INFO: Date 2025-04-08
[2025-04-11 22:29:03] Production.INFO: Reseller ==> 0
[2025-04-11 22:29:03] Production.ERROR: done
[2025-04-11 22:29:03] Production.INFO: Date 2025-04-09
[2025-04-11 22:29:03] Production.INFO: Reseller ==> 0
[2025-04-11 22:29:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 22:29:03] Production.INFO: Date 2025-04-10
[2025-04-11 22:29:03] Production.INFO: Reseller ==> 0
[2025-04-11 22:29:03] Production.INFO: Date 2025-04-11
[2025-04-11 22:29:03] Production.INFO: Reseller ==> 0
[2025-04-11 22:29:04] Production.INFO: count ==12
[2025-04-11 22:29:04] Production.INFO: Total Charge 0
[2025-04-11 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-11 22:29:04] Production.INFO: count ==23
[2025-04-11 22:29:04] Production.INFO: CreateAllLog End
[2025-04-11 22:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887278') start
[2025-04-11 22:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887278') end
[2025-04-11 22:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 22:29:04] Production.INFO: 1
[2025-04-11 22:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 22:29:04] Production.INFO: Account Balance End.
[2025-04-11 22:29:04] Production.INFO: ==23703== Releasing lock...
[2025-04-11 22:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 22:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 22:29:04] Production.ERROR: CronJobId end 12
[2025-04-11 22:29:04] Production.INFO: ==23699== Releasing lock...
[2025-04-11 22:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 22:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 22:29:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 19:29:04
[end_date_ymd] => 2025-04-11 22:29:04
[RateCDR] => 1
)
[2025-04-11 22: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-11 19:29:04' and `end` < '2025-04-11 22: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-11 22:29:12] Production.ERROR: CronJobId end10
[2025-04-11 22:29:12] Production.INFO: ==23697== Releasing lock...
[2025-04-11 22:29:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 22:29:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 22:29:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 22:29:13] Production.INFO: ============== Balance Warning START===========
[2025-04-11 22:29:13] Production.INFO: ============== Balance Warning END===========
[2025-04-11 22:29:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 22:29:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 22:29:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 22:29:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 22:29:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 22:29:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 22:29:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 22:29:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 22:29:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 22:29:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 22:29:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 22:29:14] Production.INFO: call_cost start
[2025-04-11 22:29:14] Production.INFO: call_cost end
[2025-04-11 22:29:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 22:29:15] Production.INFO: ============== Report Schedule START===========
[2025-04-11 22:29:15] Production.INFO: ============== Report Schedule END===========
[2025-04-11 22:29:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 22:29:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 22:29:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 22:29:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 22:29:15] Production.INFO: ============== Deal alert START===========
[2025-04-11 22:29:15] Production.INFO: ============== Deal alert END===========
[2025-04-11 22:29:15] Production.INFO: ==23693== Releasing lock...
[2025-04-11 22:29:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 22:29:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 22:29:17] Production.INFO: count ==1170
[2025-04-11 22:29:17] Production.ERROR: pbx CDR StartTime 2025-04-11 19:29:04 - End Time 2025-04-11 22:29:04
[2025-04-11 22:29:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 22:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887279', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887279', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887279', 'tblTempVendorCDR_20' ) start
[2025-04-11 22:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887279', 'tblTempVendorCDR_20' ) end
[2025-04-11 22:29:17] Production.INFO: ProcessCDR(1,14887279,1,1,2)
[2025-04-11 22:29:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887279,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:29:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887279,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:29:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887279,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:29:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887279,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887279', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887279', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:29:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 22:29:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 22:29:21] Production.INFO: ==23701== Releasing lock...
[2025-04-11 22:29:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 22:29:21] Production.INFO: 36.25 MB #Memory Used#
[2025-04-12 03:30:02] Production.INFO: ==23759== Lock acquired, processing the job...
[2025-04-12 03:30:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 03:30:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 03:30:02] Production.INFO: neon service started
[2025-04-12 03:30:02] Production.INFO: neon service started
[2025-04-12 03:30:02] Production.INFO: ==23759== Releasing lock...
[2025-04-12 03:30:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 03:30:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 22:30:02] Production.INFO: ==23761== Lock acquired, processing the job...
[2025-04-11 22:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 22:30:03] Production.INFO: ==23761== Releasing lock...
[2025-04-11 22:30:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 22:30:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 02:30:03] Production.INFO: ==23763== Lock acquired, processing the job...
[2025-04-12 02:30:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 02:30:03] Production.INFO: ==23763== Releasing lock...
[2025-04-12 02:30:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 02:30:03] Production.INFO: 25 MB #Memory Used#
[2025-04-11 22:30:04] Production.INFO: ==23766== Lock acquired, processing the job...
[2025-04-11 22:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-11 22:30:04] Production.INFO: ==23768== Lock acquired, processing the job...
[2025-04-11 22:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 22:30:04] Production.INFO: ==23774== Lock acquired, processing the job...
[2025-04-11 22:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 22:30:04] Production.INFO: ==23778== Lock acquired, processing the job...
[2025-04-11 22:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-11 22:30:04] Production.INFO: ==23770== Lock acquired, processing the job...
[2025-04-11 22:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 22:30:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-11 22:30:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-11 22:30:04] Production.INFO: ==23766== Releasing lock...
[2025-04-11 22:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-11 22:30:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-11 22:30:04] Production.INFO: ==23780== Lock acquired, processing the job...
[2025-04-11 22:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 22:30:04] Production.INFO: Account Balance Start.
[2025-04-11 22:30:04] Production.INFO: CreateAllLog Start
[2025-04-11 22:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 22:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 22:30:04] Production.INFO: 117
[2025-04-11 22:30:04] Production.INFO: ==23772== Lock acquired, processing the job...
[2025-04-11 22:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 22:30:04] Production.INFO: Date 2025-04-08
[2025-04-11 22:30:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:30:04] Production.INFO: Date 2025-04-09
[2025-04-11 22:30:04] Production.INFO: ==23776== Lock acquired, processing the job...
[2025-04-11 22:30:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:30:04] Production.INFO: Date 2025-04-10
[2025-04-11 22:30:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 22:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 22:30:04] Production.INFO: Date 2025-04-11
[2025-04-11 22:30:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:30:04] Production.INFO: count ==12
[2025-04-11 22:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 22:30:04] Production.INFO: Total Charge 0
[2025-04-11 22:30:04] Production.INFO: count ==23
[2025-04-11 22:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887283') start
[2025-04-11 22:30:04] Production.INFO: CreateAllLog End
[2025-04-11 22:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 22:30:04] Production.INFO: ==23770== Releasing lock...
[2025-04-11 22:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 22:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 22:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 22:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 22:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 22:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 22:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887283') end
[2025-04-11 22:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 22:30:04] Production.INFO: 1
[2025-04-11 22:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 22:30:04] Production.ERROR: done
[2025-04-11 22:30:04] Production.INFO: ==23780== Releasing lock...
[2025-04-11 22:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 22:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 22:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-11 22:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14887284', 'tblTempUsageDetail_20reseller','2025-04-11','2025-04-11','1' ) start
[2025-04-11 22:30:05] Production.ERROR: done
[2025-04-11 22:30:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 22:30:05] Production.INFO: Account Balance End.
[2025-04-11 22:30:05] Production.ERROR: CronJobId end 12
[2025-04-11 22:30:05] Production.INFO: ==23774== Releasing lock...
[2025-04-11 22:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 22:30:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 22:30:05] Production.ERROR: done
[2025-04-11 22:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 19:30:06
[end_date_ymd] => 2025-04-11 22:30:06
[RateCDR] => 1
)
[2025-04-11 22:30:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 19:30:06' and `end` < '2025-04-11 22:30:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 22:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14887284', 'tblTempUsageDetail_20reseller','2025-04-11','2025-04-11','1' ) end
[2025-04-11 22:30:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-11 22:30:09] Production.INFO: ProcessCDR(1,14887284,1,1,2)
[2025-04-11 22:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14887284,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14887284,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 22:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 22:30:09] Production.INFO: ==23778== Releasing lock...
[2025-04-11 22:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-11 22:30:09] Production.INFO: 26 MB #Memory Used#
[2025-04-11 22:30:14] Production.ERROR: CronJobId end10
[2025-04-11 22:30:14] Production.INFO: ==23772== Releasing lock...
[2025-04-11 22:30:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 22:30:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 22:30:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 22:30:16] Production.INFO: ============== Balance Warning START===========
[2025-04-11 22:30:16] Production.INFO: ============== Balance Warning END===========
[2025-04-11 22:30:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 22:30:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 22:30:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 22:30:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 22:30:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 22:30:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 22:30:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 22:30:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 22:30:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 22:30:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 22:30:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 22:30:16] Production.INFO: call_cost start
[2025-04-11 22:30:16] Production.INFO: call_cost end
[2025-04-11 22:30:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 22:30:17] Production.INFO: ============== Report Schedule START===========
[2025-04-11 22:30:17] Production.INFO: ============== Report Schedule END===========
[2025-04-11 22:30:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 22:30:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 22:30:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 22:30:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 22:30:17] Production.INFO: ============== Deal alert START===========
[2025-04-11 22:30:17] Production.INFO: ============== Deal alert END===========
[2025-04-11 22:30:17] Production.INFO: ==23768== Releasing lock...
[2025-04-11 22:30:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 22:30:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 22:30:19] Production.INFO: count ==1167
[2025-04-11 22:30:19] Production.ERROR: pbx CDR StartTime 2025-04-11 19:30:06 - End Time 2025-04-11 22:30:06
[2025-04-11 22:30:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 22:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887285', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887285', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887285', 'tblTempVendorCDR_20' ) start
[2025-04-11 22:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887285', 'tblTempVendorCDR_20' ) end
[2025-04-11 22:30:19] Production.INFO: ProcessCDR(1,14887285,1,1,2)
[2025-04-11 22:30:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887285,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:30:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887285,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:30:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887285,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:30:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887285,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887285', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887285', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:30:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 22:30:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 22:30:22] Production.INFO: ==23776== Releasing lock...
[2025-04-11 22:30:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 22:30:22] Production.INFO: 36.25 MB #Memory Used#
[2025-04-12 03:31:01] Production.INFO: ==23834== Lock acquired, processing the job...
[2025-04-12 03:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 03:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 03:31:01] Production.INFO: neon service started
[2025-04-12 03:31:01] Production.INFO: neon service started
[2025-04-12 03:31:01] Production.INFO: ==23834== Releasing lock...
[2025-04-12 03:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 03:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 02:31:02] Production.INFO: ==23838== Lock acquired, processing the job...
[2025-04-12 02:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 02:31:02] Production.INFO: ==23838== Releasing lock...
[2025-04-12 02:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 02:31:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 22:31:02] Production.INFO: ==23836== Lock acquired, processing the job...
[2025-04-11 22:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 22:31:02] Production.INFO: ==23836== Releasing lock...
[2025-04-11 22:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 22:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 22:31:03] Production.INFO: ==23843== Lock acquired, processing the job...
[2025-04-11 22:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 22:31:03] Production.INFO: ==23845== Lock acquired, processing the job...
[2025-04-11 22:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 22:31:03] Production.INFO: ==23847== Lock acquired, processing the job...
[2025-04-11 22:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 22:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 22:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 22:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 22:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 22:31:03] Production.INFO: ==23841== Lock acquired, processing the job...
[2025-04-11 22:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 22:31:03] Production.INFO: Account Balance Start.
[2025-04-11 22:31:03] Production.INFO: CreateAllLog Start
[2025-04-11 22:31:03] Production.INFO: 117
[2025-04-11 22:31:03] Production.INFO: ==23843== Releasing lock...
[2025-04-11 22:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 22:31:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 22:31:03] Production.INFO: Date 2025-04-08
[2025-04-11 22:31:03] Production.INFO: Reseller ==> 0
[2025-04-11 22:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 22:31:03] Production.INFO: Date 2025-04-09
[2025-04-11 22:31:03] Production.INFO: Reseller ==> 0
[2025-04-11 22:31:03] Production.INFO: ==23849== Lock acquired, processing the job...
[2025-04-11 22:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 22:31:03] Production.INFO: Date 2025-04-10
[2025-04-11 22:31:03] Production.INFO: Reseller ==> 0
[2025-04-11 22:31:03] Production.INFO: Date 2025-04-11
[2025-04-11 22:31:03] Production.INFO: Reseller ==> 0
[2025-04-11 22:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 22:31:03] Production.INFO: Total Charge 0
[2025-04-11 22:31:03] Production.INFO: CreateAllLog End
[2025-04-11 22:31:03] Production.INFO: ==23851== Lock acquired, processing the job...
[2025-04-11 22:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 22:31:04] Production.ERROR: done
[2025-04-11 22:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 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-11 22:31:04] Production.INFO: count ==12
[2025-04-11 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-11 22:31:04] Production.INFO: count ==23
[2025-04-11 22:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887289') start
[2025-04-11 22:31:04] Production.INFO: Account Balance End.
[2025-04-11 22:31:04] Production.ERROR: done
[2025-04-11 22:31:04] Production.ERROR: CronJobId end 12
[2025-04-11 22:31:04] Production.INFO: ==23847== Releasing lock...
[2025-04-11 22:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 22:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 22:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887289') end
[2025-04-11 22:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 22:31:04] Production.INFO: 1
[2025-04-11 22:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 22:31:04] Production.INFO: ==23851== Releasing lock...
[2025-04-11 22:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 22:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 22:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 19:31:05
[end_date_ymd] => 2025-04-11 22:31:05
[RateCDR] => 1
)
[2025-04-11 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-11 19:31:05' and `end` < '2025-04-11 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-11 22:31:13] Production.ERROR: CronJobId end10
[2025-04-11 22:31:13] Production.INFO: ==23845== Releasing lock...
[2025-04-11 22:31:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 22:31:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 22:31:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 22:31:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 22:31:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 22:31:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 22:31:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 22:31:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 22:31:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 22:31:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 22:31:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 22:31:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 22:31:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 22:31:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 22:31:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 22:31:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 22:31:14] Production.INFO: call_cost start
[2025-04-11 22:31:14] Production.INFO: call_cost end
[2025-04-11 22:31:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 22:31:15] Production.INFO: ============== Report Schedule START===========
[2025-04-11 22:31:15] Production.INFO: ============== Report Schedule END===========
[2025-04-11 22:31:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 22:31:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 22:31:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 22:31:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 22:31:15] Production.INFO: ============== Deal alert START===========
[2025-04-11 22:31:15] Production.INFO: ============== Deal alert END===========
[2025-04-11 22:31:15] Production.INFO: ==23841== Releasing lock...
[2025-04-11 22:31:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 22:31:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 22:31:18] Production.INFO: count ==1097
[2025-04-11 22:31:18] Production.ERROR: pbx CDR StartTime 2025-04-11 19:31:05 - End Time 2025-04-11 22:31:05
[2025-04-11 22:31:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 22:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887290', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887290', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887290', 'tblTempVendorCDR_20' ) start
[2025-04-11 22:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887290', 'tblTempVendorCDR_20' ) end
[2025-04-11 22:31:18] Production.INFO: ProcessCDR(1,14887290,1,1,2)
[2025-04-11 22:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887290,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:31:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887290,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:31:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887290,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:31:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887290,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887290', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887290', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:31:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 22:31:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 22:31:22] Production.INFO: ==23849== Releasing lock...
[2025-04-11 22:31:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 22:31:22] Production.INFO: 35.75 MB #Memory Used#
[2025-04-12 03:32:02] Production.INFO: ==23912== Lock acquired, processing the job...
[2025-04-12 03:32:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 03:32:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 03:32:02] Production.INFO: neon service started
[2025-04-12 03:32:02] Production.INFO: neon service started
[2025-04-12 03:32:02] Production.INFO: ==23912== Releasing lock...
[2025-04-12 03:32:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 03:32:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 22:32:02] Production.INFO: ==23914== Lock acquired, processing the job...
[2025-04-11 22:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 02:32:03] Production.INFO: ==23916== Lock acquired, processing the job...
[2025-04-12 02:32:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 02:32:03] Production.INFO: ==23916== Releasing lock...
[2025-04-12 02:32:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 02:32:03] Production.INFO: 25 MB #Memory Used#
[2025-04-11 22:32:03] Production.INFO: ==23914== Releasing lock...
[2025-04-11 22:32:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 22:32:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 22:32:04] Production.INFO: ==23919== Lock acquired, processing the job...
[2025-04-11 22:32:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 22:32:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 22:32:04] Production.INFO: ==23929== Lock acquired, processing the job...
[2025-04-11 22:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 22:32:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 22:32:04] Production.INFO: ==23921== Lock acquired, processing the job...
[2025-04-11 22:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 22:32:04] Production.INFO: count ==12
[2025-04-11 22:32:04] Production.INFO: ==23923== Lock acquired, processing the job...
[2025-04-11 22:32:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 22:32:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 22:32:04] Production.INFO: count ==23
[2025-04-11 22:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887292') start
[2025-04-11 22:32:04] Production.INFO: ==23927== Lock acquired, processing the job...
[2025-04-11 22:32:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 22:32:04] Production.INFO: ==23925== Lock acquired, processing the job...
[2025-04-11 22:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 22:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 22:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 22:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 22:32:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 22:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 22:32:04] Production.INFO: Account Balance Start.
[2025-04-11 22:32:04] Production.INFO: CreateAllLog Start
[2025-04-11 22:32:04] Production.INFO: 117
[2025-04-11 22:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887292') end
[2025-04-11 22:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 22:32:04] Production.INFO: 1
[2025-04-11 22:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 22:32:04] Production.INFO: Date 2025-04-08
[2025-04-11 22:32:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:32:04] Production.INFO: Date 2025-04-09
[2025-04-11 22:32:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:32:04] Production.INFO: Date 2025-04-10
[2025-04-11 22:32:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:32:05] Production.INFO: Date 2025-04-11
[2025-04-11 22:32:05] Production.INFO: Reseller ==> 0
[2025-04-11 22:32:05] Production.INFO: ==23929== Releasing lock...
[2025-04-11 22:32:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 22:32:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 22:32:05] Production.INFO: Total Charge 0
[2025-04-11 22:32:05] Production.INFO: CreateAllLog End
[2025-04-11 22:32:05] Production.INFO: ==23921== Releasing lock...
[2025-04-11 22:32:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 22:32:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 22:32:05] Production.ERROR: done
[2025-04-11 22:32:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 22:32:05] Production.ERROR: done
[2025-04-11 22:32:05] Production.INFO: Account Balance End.
[2025-04-11 22:32:05] Production.ERROR: CronJobId end 12
[2025-04-11 22:32:05] Production.INFO: ==23925== Releasing lock...
[2025-04-11 22:32:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 22:32:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 22:32:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 19:32:06
[end_date_ymd] => 2025-04-11 22:32:06
[RateCDR] => 1
)
[2025-04-11 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-11 19:32:06' and `end` < '2025-04-11 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-11 22:32:14] Production.ERROR: CronJobId end10
[2025-04-11 22:32:14] Production.INFO: ==23923== Releasing lock...
[2025-04-11 22:32:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 22:32:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 22:32:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 22:32:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 22:32:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 22:32:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 22:32:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 22:32:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 22:32:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 22:32:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 22:32:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 22:32:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 22:32:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 22:32:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 22:32:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 22:32:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 22:32:16] Production.INFO: call_cost start
[2025-04-11 22:32:16] Production.INFO: call_cost end
[2025-04-11 22:32:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 22:32:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 22:32:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 22:32:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 22:32:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 22:32:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 22:32:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 22:32:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 22:32:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 22:32:16] Production.INFO: ==23919== Releasing lock...
[2025-04-11 22:32:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 22:32:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 22:32:19] Production.INFO: count ==1089
[2025-04-11 22:32:19] Production.ERROR: pbx CDR StartTime 2025-04-11 19:32:06 - End Time 2025-04-11 22:32:06
[2025-04-11 22:32:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 22:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887295', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887295', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887295', 'tblTempVendorCDR_20' ) start
[2025-04-11 22:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887295', 'tblTempVendorCDR_20' ) end
[2025-04-11 22:32:19] Production.INFO: ProcessCDR(1,14887295,1,1,2)
[2025-04-11 22:32:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887295,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:32:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887295,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:32:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887295,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:32:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887295,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:32:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887295', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:32:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887295', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:32:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 22:32:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 22:32:23] Production.INFO: ==23927== Releasing lock...
[2025-04-11 22:32:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 22:32:23] Production.INFO: 35.75 MB #Memory Used#
[2025-04-12 03:33:01] Production.INFO: ==23985== Lock acquired, processing the job...
[2025-04-12 03:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 03:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 03:33:01] Production.INFO: neon service started
[2025-04-12 03:33:01] Production.INFO: neon service started
[2025-04-12 03:33:01] Production.INFO: ==23985== Releasing lock...
[2025-04-12 03:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 03:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 22:33:02] Production.INFO: ==23987== Lock acquired, processing the job...
[2025-04-11 22:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 02:33:02] Production.INFO: ==23989== Lock acquired, processing the job...
[2025-04-12 02:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 02:33:02] Production.INFO: ==23989== Releasing lock...
[2025-04-12 02:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 02:33:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 22:33:02] Production.INFO: ==23987== Releasing lock...
[2025-04-11 22:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 22:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 22:33:03] Production.INFO: ==23997== Lock acquired, processing the job...
[2025-04-11 22:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 22:33:03] Production.INFO: ==24001== Lock acquired, processing the job...
[2025-04-11 22:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 22:33:03] Production.INFO: Account Balance Start.
[2025-04-11 22:33:03] Production.INFO: CreateAllLog Start
[2025-04-11 22:33:03] Production.INFO: 117
[2025-04-11 22:33:03] Production.INFO: Date 2025-04-08
[2025-04-11 22:33:03] Production.INFO: Reseller ==> 0
[2025-04-11 22:33:03] Production.INFO: ==23991== Lock acquired, processing the job...
[2025-04-11 22:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 22:33:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 22:33:03] Production.INFO: Date 2025-04-09
[2025-04-11 22:33:03] Production.INFO: Reseller ==> 0
[2025-04-11 22:33:03] Production.INFO: ==23993== Lock acquired, processing the job...
[2025-04-11 22:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 22:33:03] Production.INFO: count ==12
[2025-04-11 22:33:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 22:33:03] Production.INFO: count ==23
[2025-04-11 22:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887297') start
[2025-04-11 22:33:03] Production.INFO: Date 2025-04-10
[2025-04-11 22:33:03] Production.INFO: Reseller ==> 0
[2025-04-11 22:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 22:33:03] Production.INFO: ==23995== Lock acquired, processing the job...
[2025-04-11 22:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 22:33:03] Production.INFO: Date 2025-04-11
[2025-04-11 22:33:03] Production.INFO: Reseller ==> 0
[2025-04-11 22:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 22:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 22:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 22:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 22:33:03] Production.INFO: Total Charge 0
[2025-04-11 22:33:03] Production.INFO: ==23999== Lock acquired, processing the job...
[2025-04-11 22:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 22:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887297') end
[2025-04-11 22:33:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 22:33:03] Production.INFO: 1
[2025-04-11 22:33:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 22:33:03] Production.INFO: CreateAllLog End
[2025-04-11 22:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 22:33:03] Production.INFO: ==24001== Releasing lock...
[2025-04-11 22:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 22:33:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 22:33:03] Production.INFO: ==23993== Releasing lock...
[2025-04-11 22:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 22:33:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 22:33:04] Production.INFO: Account Balance End.
[2025-04-11 22:33:04] Production.ERROR: CronJobId end 12
[2025-04-11 22:33:04] Production.INFO: ==23997== Releasing lock...
[2025-04-11 22:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 22:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 22:33:04] Production.ERROR: done
[2025-04-11 22:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 22:33:04] Production.ERROR: done
[2025-04-11 22:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 19:33:05
[end_date_ymd] => 2025-04-11 22:33:05
[RateCDR] => 1
)
[2025-04-11 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-11 19:33:05' and `end` < '2025-04-11 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-11 22:33:13] Production.ERROR: CronJobId end10
[2025-04-11 22:33:13] Production.INFO: ==23995== Releasing lock...
[2025-04-11 22:33:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 22:33:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 22:33:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 22:33:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 22:33:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 22:33:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 22:33:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 22:33:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 22:33:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 22:33:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 22:33:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 22:33:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 22:33:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 22:33:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 22:33:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 22:33:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 22:33:15] Production.INFO: call_cost start
[2025-04-11 22:33:15] Production.INFO: call_cost end
[2025-04-11 22:33:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 22:33:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 22:33:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 22:33:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 22:33:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 22:33:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 22:33:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 22:33:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 22:33:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 22:33:16] Production.INFO: ==23991== Releasing lock...
[2025-04-11 22:33:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 22:33:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 22:33:18] Production.INFO: count ==1087
[2025-04-11 22:33:18] Production.ERROR: pbx CDR StartTime 2025-04-11 19:33:05 - End Time 2025-04-11 22:33:05
[2025-04-11 22:33:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 22:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887300', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887300', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887300', 'tblTempVendorCDR_20' ) start
[2025-04-11 22:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887300', 'tblTempVendorCDR_20' ) end
[2025-04-11 22:33:18] Production.INFO: ProcessCDR(1,14887300,1,1,2)
[2025-04-11 22:33:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887300,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:33:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887300,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:33:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887300,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:33:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887300,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887300', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887300', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:33:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 22:33:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 22:33:21] Production.INFO: ==23999== Releasing lock...
[2025-04-11 22:33:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 22:33:21] Production.INFO: 35.75 MB #Memory Used#
[2025-04-12 03:34:02] Production.INFO: ==24094== Lock acquired, processing the job...
[2025-04-12 03:34:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 03:34:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 03:34:02] Production.INFO: neon service started
[2025-04-12 03:34:02] Production.INFO: neon service started
[2025-04-12 03:34:02] Production.INFO: ==24094== Releasing lock...
[2025-04-12 03:34:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 03:34:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 22:34:02] Production.INFO: ==24096== Lock acquired, processing the job...
[2025-04-11 22:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 22:34:02] Production.INFO: ==24096== Releasing lock...
[2025-04-11 22:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 22:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 02:34:03] Production.INFO: ==24098== Lock acquired, processing the job...
[2025-04-12 02:34:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 02:34:03] Production.INFO: ==24098== Releasing lock...
[2025-04-12 02:34:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 02:34:03] Production.INFO: 25 MB #Memory Used#
[2025-04-11 22:34:03] Production.INFO: ==24107== Lock acquired, processing the job...
[2025-04-11 22:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 22:34:03] Production.INFO: ==24101== Lock acquired, processing the job...
[2025-04-11 22:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 22:34:03] Production.INFO: ==24103== Lock acquired, processing the job...
[2025-04-11 22:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 22:34:04] Production.INFO: ==24111== Lock acquired, processing the job...
[2025-04-11 22:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 22:34:04] Production.INFO: ==24105== Lock acquired, processing the job...
[2025-04-11 22:34:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 22:34:04] Production.INFO: Account Balance Start.
[2025-04-11 22:34:04] Production.INFO: CreateAllLog Start
[2025-04-11 22:34:04] Production.INFO: 117
[2025-04-11 22:34:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 22:34:04] Production.INFO: Date 2025-04-08
[2025-04-11 22:34:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:34:04] Production.INFO: Date 2025-04-09
[2025-04-11 22:34:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:34:04] Production.INFO: ==24109== Lock acquired, processing the job...
[2025-04-11 22:34:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 22:34:04] Production.INFO: Date 2025-04-10
[2025-04-11 22:34:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:34:04] Production.INFO: Date 2025-04-11
[2025-04-11 22:34:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:34:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 22:34:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 22:34:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 22:34:04] Production.INFO: Total Charge 0
[2025-04-11 22:34:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 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-11 22:34:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 22:34:04] Production.INFO: count ==12
[2025-04-11 22:34:04] Production.INFO: CreateAllLog End
[2025-04-11 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-11 22:34:04] Production.INFO: count ==23
[2025-04-11 22:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887304') start
[2025-04-11 22:34:04] Production.INFO: ==24103== Releasing lock...
[2025-04-11 22:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 22:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 22:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887304') end
[2025-04-11 22:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 22:34:04] Production.INFO: 1
[2025-04-11 22:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 22:34:04] Production.INFO: ==24111== Releasing lock...
[2025-04-11 22:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 22:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 22:34:04] Production.ERROR: done
[2025-04-11 22:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 22:34:04] Production.INFO: Account Balance End.
[2025-04-11 22:34:04] Production.ERROR: done
[2025-04-11 22:34:04] Production.ERROR: CronJobId end 12
[2025-04-11 22:34:04] Production.INFO: ==24107== Releasing lock...
[2025-04-11 22:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 22:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 22:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 19:34:05
[end_date_ymd] => 2025-04-11 22:34:05
[RateCDR] => 1
)
[2025-04-11 22:34:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 19:34:05' and `end` < '2025-04-11 22:34:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 22:34:12] Production.ERROR: CronJobId end10
[2025-04-11 22:34:12] Production.INFO: ==24105== Releasing lock...
[2025-04-11 22:34:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 22:34:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 22:34:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 22:34:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 22:34:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 22:34:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 22:34:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 22:34:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 22:34:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 22:34:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 22:34:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 22:34:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 22:34:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 22:34:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 22:34:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 22:34:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 22:34:16] Production.INFO: call_cost start
[2025-04-11 22:34:16] Production.INFO: call_cost end
[2025-04-11 22:34:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 22:34:17] Production.INFO: ============== Report Schedule START===========
[2025-04-11 22:34:17] Production.INFO: ============== Report Schedule END===========
[2025-04-11 22:34:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 22:34:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 22:34:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 22:34:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 22:34:17] Production.INFO: ============== Deal alert START===========
[2025-04-11 22:34:17] Production.INFO: ============== Deal alert END===========
[2025-04-11 22:34:17] Production.INFO: ==24101== Releasing lock...
[2025-04-11 22:34:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 22:34:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 22:34:18] Production.INFO: count ==1086
[2025-04-11 22:34:18] Production.ERROR: pbx CDR StartTime 2025-04-11 19:34:05 - End Time 2025-04-11 22:34:05
[2025-04-11 22:34:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 22:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887305', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887305', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887305', 'tblTempVendorCDR_20' ) start
[2025-04-11 22:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887305', 'tblTempVendorCDR_20' ) end
[2025-04-11 22:34:18] Production.INFO: ProcessCDR(1,14887305,1,1,2)
[2025-04-11 22:34:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887305,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:34:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887305,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:34:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887305,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:34:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887305,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887305', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887305', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:34:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 22:34:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 22:34:22] Production.INFO: ==24109== Releasing lock...
[2025-04-11 22:34:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 22:34:22] Production.INFO: 35.75 MB #Memory Used#
[2025-04-12 03:35:01] Production.INFO: ==24169== Lock acquired, processing the job...
[2025-04-12 03:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 03:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 03:35:01] Production.INFO: neon service started
[2025-04-12 03:35:01] Production.INFO: neon service started
[2025-04-12 03:35:01] Production.INFO: ==24169== Releasing lock...
[2025-04-12 03:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 03:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 02:35:02] Production.INFO: ==24173== Lock acquired, processing the job...
[2025-04-12 02:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 02:35:02] Production.INFO: ==24173== Releasing lock...
[2025-04-12 02:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 02:35:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 22:35:02] Production.INFO: ==24171== Lock acquired, processing the job...
[2025-04-11 22:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 22:35:02] Production.INFO: ==24171== Releasing lock...
[2025-04-11 22:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 22:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 22:35:03] Production.INFO: ==24184== Lock acquired, processing the job...
[2025-04-11 22:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 22:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 22:35:03] Production.INFO: ==24186== Lock acquired, processing the job...
[2025-04-11 22:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 22:35:03] Production.INFO: ==24178== Lock acquired, processing the job...
[2025-04-11 22:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 22:35:03] Production.INFO: ==24180== Lock acquired, processing the job...
[2025-04-11 22:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 22:35:03] Production.INFO: ==24176== Lock acquired, processing the job...
[2025-04-11 22:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 22:35:03] Production.INFO: ==24182== Lock acquired, processing the job...
[2025-04-11 22:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 22:35:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 22:35:03] Production.INFO: count ==12
[2025-04-11 22:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 22:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 22:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 22:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 22:35:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 22:35:03] Production.ERROR: done
[2025-04-11 22:35:03] Production.INFO: count ==23
[2025-04-11 22:35:03] Production.INFO: Account Balance Start.
[2025-04-11 22:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 22:35:03] Production.INFO: CreateAllLog Start
[2025-04-11 22:35:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 22:35:03] Production.INFO: 117
[2025-04-11 22:35:03] Production.INFO: Date 2025-04-08
[2025-04-11 22:35:03] Production.INFO: Reseller ==> 0
[2025-04-11 22:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887306') start
[2025-04-11 22:35:03] Production.INFO: Date 2025-04-09
[2025-04-11 22:35:03] Production.INFO: Reseller ==> 0
[2025-04-11 22:35:03] Production.INFO: Date 2025-04-10
[2025-04-11 22:35:03] Production.INFO: Reseller ==> 0
[2025-04-11 22:35:03] Production.INFO: Date 2025-04-11
[2025-04-11 22:35:03] Production.INFO: Reseller ==> 0
[2025-04-11 22:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887306') end
[2025-04-11 22:35:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 22:35:03] Production.INFO: 1
[2025-04-11 22:35:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 22:35:04] Production.INFO: Total Charge 0
[2025-04-11 22:35:04] Production.INFO: CreateAllLog End
[2025-04-11 22:35:04] Production.ERROR: done
[2025-04-11 22:35:04] Production.INFO: ==24186== Releasing lock...
[2025-04-11 22:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 22:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 22:35:04] Production.INFO: ==24178== Releasing lock...
[2025-04-11 22:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 22:35:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 22:35:04] Production.INFO: Account Balance End.
[2025-04-11 22:35:04] Production.ERROR: CronJobId end 12
[2025-04-11 22:35:04] Production.INFO: ==24182== Releasing lock...
[2025-04-11 22:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 22:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 22:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 19:35:05
[end_date_ymd] => 2025-04-11 22:35:05
[RateCDR] => 1
)
[2025-04-11 22:35:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 19:35:05' and `end` < '2025-04-11 22:35:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 22:35:12] Production.ERROR: CronJobId end10
[2025-04-11 22:35:12] Production.INFO: ==24180== Releasing lock...
[2025-04-11 22:35:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 22:35:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 22:35:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 22:35:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 22:35:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 22:35:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 22:35:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 22:35:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 22:35:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 22:35:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 22:35:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 22:35:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 22:35:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 22:35:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 22:35:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 22:35:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 22:35:14] Production.INFO: call_cost start
[2025-04-11 22:35:14] Production.INFO: call_cost end
[2025-04-11 22:35:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 22:35:15] Production.INFO: ============== Report Schedule START===========
[2025-04-11 22:35:15] Production.INFO: ============== Report Schedule END===========
[2025-04-11 22:35:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 22:35:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 22:35:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 22:35:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 22:35:15] Production.INFO: ============== Deal alert START===========
[2025-04-11 22:35:15] Production.INFO: ============== Deal alert END===========
[2025-04-11 22:35:15] Production.INFO: ==24176== Releasing lock...
[2025-04-11 22:35:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 22:35:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 22:35:18] Production.INFO: count ==1088
[2025-04-11 22:35:18] Production.ERROR: pbx CDR StartTime 2025-04-11 19:35:05 - End Time 2025-04-11 22:35:05
[2025-04-11 22:35:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 22:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887310', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887310', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887310', 'tblTempVendorCDR_20' ) start
[2025-04-11 22:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887310', 'tblTempVendorCDR_20' ) end
[2025-04-11 22:35:18] Production.INFO: ProcessCDR(1,14887310,1,1,2)
[2025-04-11 22:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887310,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:35:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887310,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:35:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887310,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:35:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887310,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887310', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887310', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:35:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 22:35:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 22:35:21] Production.INFO: ==24184== Releasing lock...
[2025-04-11 22:35:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 22:35:21] Production.INFO: 35.75 MB #Memory Used#
[2025-04-12 03:36:02] Production.INFO: ==24248== Lock acquired, processing the job...
[2025-04-12 03:36:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 03:36:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 03:36:02] Production.INFO: neon service started
[2025-04-12 03:36:02] Production.INFO: neon service started
[2025-04-12 03:36:02] Production.INFO: ==24248== Releasing lock...
[2025-04-12 03:36:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 03:36:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 22:36:02] Production.INFO: ==24250== Lock acquired, processing the job...
[2025-04-11 22:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 22:36:02] Production.INFO: ==24250== Releasing lock...
[2025-04-11 22:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 22:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 02:36:02] Production.INFO: ==24252== Lock acquired, processing the job...
[2025-04-12 02:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 02:36:02] Production.INFO: ==24252== Releasing lock...
[2025-04-12 02:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 02:36:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 22:36:03] Production.INFO: ==24261== Lock acquired, processing the job...
[2025-04-11 22:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 22:36:03] Production.INFO: Account Balance Start.
[2025-04-11 22:36:03] Production.INFO: CreateAllLog Start
[2025-04-11 22:36:03] Production.INFO: 117
[2025-04-11 22:36:03] Production.INFO: Date 2025-04-08
[2025-04-11 22:36:03] Production.INFO: ==24265== Lock acquired, processing the job...
[2025-04-11 22:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 22:36:03] Production.INFO: Reseller ==> 0
[2025-04-11 22:36:03] Production.INFO: ==24255== Lock acquired, processing the job...
[2025-04-11 22:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 22:36:03] Production.INFO: Date 2025-04-09
[2025-04-11 22:36:03] Production.INFO: Reseller ==> 0
[2025-04-11 22:36:03] Production.INFO: ==24257== Lock acquired, processing the job...
[2025-04-11 22:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 22:36:03] Production.INFO: Date 2025-04-10
[2025-04-11 22:36:03] Production.INFO: Reseller ==> 0
[2025-04-11 22:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 22:36:03] Production.INFO: ==24259== Lock acquired, processing the job...
[2025-04-11 22:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 22:36:03] Production.INFO: Date 2025-04-11
[2025-04-11 22:36:03] Production.INFO: Reseller ==> 0
[2025-04-11 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-11 22:36:04] Production.INFO: Total Charge 0
[2025-04-11 22:36:04] Production.INFO: count ==12
[2025-04-11 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-11 22:36:04] Production.INFO: CreateAllLog End
[2025-04-11 22:36:04] Production.INFO: count ==23
[2025-04-11 22:36:04] Production.INFO: ==24263== Lock acquired, processing the job...
[2025-04-11 22:36:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 22:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887312') start
[2025-04-11 22:36:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 22:36:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 22:36:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 22:36:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 22:36:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 22:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887312') end
[2025-04-11 22:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 22:36:04] Production.INFO: 1
[2025-04-11 22:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 22:36:04] Production.INFO: Account Balance End.
[2025-04-11 22:36:04] Production.INFO: ==24265== Releasing lock...
[2025-04-11 22:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 22:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 22:36:04] Production.ERROR: CronJobId end 12
[2025-04-11 22:36:04] Production.INFO: ==24261== Releasing lock...
[2025-04-11 22:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 22:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 22:36:04] Production.INFO: ==24257== Releasing lock...
[2025-04-11 22:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 22:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 22:36:04] Production.ERROR: done
[2025-04-11 22:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 22:36:04] Production.ERROR: done
[2025-04-11 22:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 19:36:05
[end_date_ymd] => 2025-04-11 22:36:05
[RateCDR] => 1
)
[2025-04-11 22:36:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 19:36:05' and `end` < '2025-04-11 22:36:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 22:36:13] Production.ERROR: CronJobId end10
[2025-04-11 22:36:13] Production.INFO: ==24259== Releasing lock...
[2025-04-11 22:36:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 22:36:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 22:36:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 22:36:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 22:36:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 22:36:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 22:36:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 22:36:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 22:36:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 22:36:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 22:36:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 22:36:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 22:36:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 22:36:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 22:36:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 22:36:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 22:36:15] Production.INFO: call_cost start
[2025-04-11 22:36:15] Production.INFO: call_cost end
[2025-04-11 22:36:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 22:36:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 22:36:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 22:36:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 22:36:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 22:36:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 22:36:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 22:36:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 22:36:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 22:36:16] Production.INFO: ==24255== Releasing lock...
[2025-04-11 22:36:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 22:36:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 22:36:18] Production.INFO: count ==1087
[2025-04-11 22:36:18] Production.ERROR: pbx CDR StartTime 2025-04-11 19:36:05 - End Time 2025-04-11 22:36:05
[2025-04-11 22:36:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 22:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887315', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887315', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887315', 'tblTempVendorCDR_20' ) start
[2025-04-11 22:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887315', 'tblTempVendorCDR_20' ) end
[2025-04-11 22:36:18] Production.INFO: ProcessCDR(1,14887315,1,1,2)
[2025-04-11 22:36:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887315,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:36:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887315,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:36:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887315,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:36:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887315,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887315', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887315', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:36:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 22:36:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 22:36:22] Production.INFO: ==24263== Releasing lock...
[2025-04-11 22:36:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 22:36:22] Production.INFO: 35.75 MB #Memory Used#
[2025-04-12 03:37:01] Production.INFO: ==24320== Lock acquired, processing the job...
[2025-04-12 03:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 03:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 03:37:01] Production.INFO: neon service started
[2025-04-12 03:37:01] Production.INFO: neon service started
[2025-04-12 03:37:01] Production.INFO: ==24320== Releasing lock...
[2025-04-12 03:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 03:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 22:37:02] Production.INFO: ==24322== Lock acquired, processing the job...
[2025-04-11 22:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 02:37:02] Production.INFO: ==24324== Lock acquired, processing the job...
[2025-04-12 02:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-11 22:37:02] Production.INFO: ==24322== Releasing lock...
[2025-04-11 22:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 22:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 02:37:02] Production.INFO: ==24324== Releasing lock...
[2025-04-12 02:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 02:37:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 22:37:03] Production.INFO: ==24327== Lock acquired, processing the job...
[2025-04-11 22:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 22:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 22:37:03] Production.INFO: ==24329== Lock acquired, processing the job...
[2025-04-11 22:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 22:37:03] Production.INFO: ==24331== Lock acquired, processing the job...
[2025-04-11 22:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 22:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 22:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 22:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 22:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 22:37:03] Production.INFO: ==24333== Lock acquired, processing the job...
[2025-04-11 22:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 22:37:03] Production.INFO: ==24335== Lock acquired, processing the job...
[2025-04-11 22:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 22:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 22:37:03] Production.INFO: ==24337== Lock acquired, processing the job...
[2025-04-11 22:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 22:37:03] Production.INFO: Account Balance Start.
[2025-04-11 22:37:03] Production.INFO: CreateAllLog Start
[2025-04-11 22:37:03] Production.INFO: 117
[2025-04-11 22:37:03] Production.INFO: Date 2025-04-08
[2025-04-11 22:37:03] Production.INFO: Reseller ==> 0
[2025-04-11 22:37:03] Production.INFO: ==24329== Releasing lock...
[2025-04-11 22:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 22:37:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 22:37:03] Production.INFO: Date 2025-04-09
[2025-04-11 22:37:03] Production.INFO: Reseller ==> 0
[2025-04-11 22:37:03] Production.INFO: Date 2025-04-10
[2025-04-11 22:37:03] Production.INFO: Reseller ==> 0
[2025-04-11 22:37:03] Production.INFO: Date 2025-04-11
[2025-04-11 22:37:03] Production.INFO: Reseller ==> 0
[2025-04-11 22: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-11 22:37:04] Production.INFO: Total Charge 0
[2025-04-11 22:37:04] Production.INFO: CreateAllLog End
[2025-04-11 22:37:04] Production.INFO: count ==12
[2025-04-11 22:37:04] Production.ERROR: done
[2025-04-11 22: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-11 22:37:04] Production.INFO: count ==23
[2025-04-11 22:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 22:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887319') start
[2025-04-11 22:37:04] Production.INFO: Account Balance End.
[2025-04-11 22:37:04] Production.ERROR: done
[2025-04-11 22:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887319') end
[2025-04-11 22:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 22:37:04] Production.INFO: 1
[2025-04-11 22:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 22:37:04] Production.ERROR: CronJobId end 12
[2025-04-11 22:37:04] Production.INFO: ==24333== Releasing lock...
[2025-04-11 22:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 22:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 22:37:04] Production.INFO: ==24337== Releasing lock...
[2025-04-11 22:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 22:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 22:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 19:37:05
[end_date_ymd] => 2025-04-11 22:37:05
[RateCDR] => 1
)
[2025-04-11 22:37:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 19:37:05' and `end` < '2025-04-11 22:37:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 22:37:13] Production.ERROR: CronJobId end10
[2025-04-11 22:37:13] Production.INFO: ==24331== Releasing lock...
[2025-04-11 22:37:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 22:37:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 22:37:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 22:37:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 22:37:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 22:37:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 22:37:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 22:37:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 22:37:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 22:37:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 22:37:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 22:37:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 22:37:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 22:37:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 22:37:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 22:37:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 22:37:14] Production.INFO: call_cost start
[2025-04-11 22:37:14] Production.INFO: call_cost end
[2025-04-11 22:37:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 22:37:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 22:37:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 22:37:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 22:37:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 22:37:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 22:37:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 22:37:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 22:37:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 22:37:16] Production.INFO: ==24327== Releasing lock...
[2025-04-11 22:37:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 22:37:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 22:37:18] Production.INFO: count ==1083
[2025-04-11 22:37:18] Production.ERROR: pbx CDR StartTime 2025-04-11 19:37:05 - End Time 2025-04-11 22:37:05
[2025-04-11 22:37:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 22:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887320', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887320', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887320', 'tblTempVendorCDR_20' ) start
[2025-04-11 22:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887320', 'tblTempVendorCDR_20' ) end
[2025-04-11 22:37:18] Production.INFO: ProcessCDR(1,14887320,1,1,2)
[2025-04-11 22:37:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887320,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:37:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887320,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:37:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887320,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:37:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887320,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887320', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887320', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:37:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 22:37:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 22:37:22] Production.INFO: ==24335== Releasing lock...
[2025-04-11 22:37:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 22:37:22] Production.INFO: 35.75 MB #Memory Used#
[2025-04-12 03:38:02] Production.INFO: ==24394== Lock acquired, processing the job...
[2025-04-12 03:38:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 03:38:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 03:38:02] Production.INFO: neon service started
[2025-04-12 03:38:02] Production.INFO: neon service started
[2025-04-12 03:38:02] Production.INFO: ==24394== Releasing lock...
[2025-04-12 03:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 03:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 22:38:02] Production.INFO: ==24396== Lock acquired, processing the job...
[2025-04-11 22:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 22:38:02] Production.INFO: ==24396== Releasing lock...
[2025-04-11 22:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 22:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 02:38:03] Production.INFO: ==24398== Lock acquired, processing the job...
[2025-04-12 02:38:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 02:38:03] Production.INFO: ==24398== Releasing lock...
[2025-04-12 02:38:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 02:38:03] Production.INFO: 25 MB #Memory Used#
[2025-04-11 22:38:03] Production.INFO: ==24404== Lock acquired, processing the job...
[2025-04-11 22:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 22:38:03] Production.INFO: ==24406== Lock acquired, processing the job...
[2025-04-11 22:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 22:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 22:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 22:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 22:38:03] Production.INFO: ==24402== Lock acquired, processing the job...
[2025-04-11 22:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 22:38:03] Production.INFO: Account Balance Start.
[2025-04-11 22:38:03] Production.INFO: CreateAllLog Start
[2025-04-11 22:38:03] Production.INFO: 117
[2025-04-11 22:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 22:38:03] Production.INFO: Date 2025-04-08
[2025-04-11 22:38:03] Production.INFO: Reseller ==> 0
[2025-04-11 22:38:03] Production.INFO: Date 2025-04-09
[2025-04-11 22:38:03] Production.INFO: Reseller ==> 0
[2025-04-11 22:38:03] Production.INFO: Date 2025-04-10
[2025-04-11 22:38:03] Production.INFO: Reseller ==> 0
[2025-04-11 22:38:04] Production.INFO: Date 2025-04-11
[2025-04-11 22:38:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:38:04] Production.INFO: Total Charge 0
[2025-04-11 22:38:04] Production.INFO: CreateAllLog End
[2025-04-11 22:38:04] Production.INFO: ==24400== Lock acquired, processing the job...
[2025-04-11 22:38:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 22:38:04] Production.INFO: Account Balance End.
[2025-04-11 22:38:04] Production.INFO: ==24408== Lock acquired, processing the job...
[2025-04-11 22:38:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 22:38:04] Production.ERROR: CronJobId end 12
[2025-04-11 22:38:04] Production.INFO: ==24406== Releasing lock...
[2025-04-11 22:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 22:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 22:38:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 22:38:04] Production.INFO: ==24410== Lock acquired, processing the job...
[2025-04-11 22:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 22:38:04] Production.INFO: ==24402== Releasing lock...
[2025-04-11 22:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 22:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 22:38:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 22:38:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 22:38:04] Production.INFO: count ==12
[2025-04-11 22:38:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 22:38:04] Production.INFO: count ==23
[2025-04-11 22:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887324') start
[2025-04-11 22:38:04] Production.ERROR: done
[2025-04-11 22:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887324') end
[2025-04-11 22:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 22:38:04] Production.INFO: 1
[2025-04-11 22:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 22:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 22:38:04] Production.INFO: ==24410== Releasing lock...
[2025-04-11 22:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 22:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 22:38:04] Production.ERROR: done
[2025-04-11 22:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 19:38:05
[end_date_ymd] => 2025-04-11 22:38:05
[RateCDR] => 1
)
[2025-04-11 22:38:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 19:38:05' and `end` < '2025-04-11 22:38:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 22:38:13] Production.ERROR: CronJobId end10
[2025-04-11 22:38:13] Production.INFO: ==24404== Releasing lock...
[2025-04-11 22:38:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 22:38:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 22:38:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 22:38:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 22:38:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 22:38:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 22:38:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 22:38:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 22:38:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 22:38:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 22:38:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 22:38:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 22:38:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 22:38:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 22:38:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 22:38:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 22:38:15] Production.INFO: call_cost start
[2025-04-11 22:38:15] Production.INFO: call_cost end
[2025-04-11 22:38:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 22:38:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 22:38:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 22:38:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 22:38:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 22:38:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 22:38:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 22:38:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 22:38:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 22:38:16] Production.INFO: ==24400== Releasing lock...
[2025-04-11 22:38:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 22:38:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 22:38:18] Production.INFO: count ==1087
[2025-04-11 22:38:18] Production.ERROR: pbx CDR StartTime 2025-04-11 19:38:05 - End Time 2025-04-11 22:38:05
[2025-04-11 22:38:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 22:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887325', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887325', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887325', 'tblTempVendorCDR_20' ) start
[2025-04-11 22:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887325', 'tblTempVendorCDR_20' ) end
[2025-04-11 22:38:18] Production.INFO: ProcessCDR(1,14887325,1,1,2)
[2025-04-11 22:38:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887325,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:38:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887325,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:38:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887325,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:38:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887325,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887325', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887325', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:38:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 22:38:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 22:38:22] Production.INFO: ==24408== Releasing lock...
[2025-04-11 22:38:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 22:38:22] Production.INFO: 35.75 MB #Memory Used#
[2025-04-12 03:39:01] Production.INFO: ==24473== Lock acquired, processing the job...
[2025-04-12 03:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 03:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 03:39:01] Production.INFO: neon service started
[2025-04-12 03:39:01] Production.INFO: neon service started
[2025-04-12 03:39:01] Production.INFO: ==24473== Releasing lock...
[2025-04-12 03:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 03:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 22:39:02] Production.INFO: ==24475== Lock acquired, processing the job...
[2025-04-11 22:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 02:39:02] Production.INFO: ==24477== Lock acquired, processing the job...
[2025-04-12 02:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 02:39:02] Production.INFO: ==24477== Releasing lock...
[2025-04-12 02:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 02:39:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 22:39:02] Production.INFO: ==24475== Releasing lock...
[2025-04-11 22:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 22:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 22:39:03] Production.INFO: ==24490== Lock acquired, processing the job...
[2025-04-11 22:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 22:39:03] Production.INFO: ==24488== Lock acquired, processing the job...
[2025-04-11 22:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 22:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 22:39:03] Production.INFO: ==24479== Lock acquired, processing the job...
[2025-04-11 22:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 22:39:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 22:39:03] Production.INFO: count ==12
[2025-04-11 22:39:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 22:39:03] Production.INFO: count ==23
[2025-04-11 22:39:03] Production.INFO: ==24481== Lock acquired, processing the job...
[2025-04-11 22:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 22:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887326') start
[2025-04-11 22:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 22:39:03] Production.INFO: ==24484== Lock acquired, processing the job...
[2025-04-11 22:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 22:39:03] Production.INFO: ==24486== Lock acquired, processing the job...
[2025-04-11 22:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 22:39:03] Production.ERROR: done
[2025-04-11 22:39:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 22:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 22:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 22:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 22:39:03] Production.INFO: Account Balance Start.
[2025-04-11 22:39:03] Production.INFO: CreateAllLog Start
[2025-04-11 22:39:03] Production.INFO: 117
[2025-04-11 22:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887326') end
[2025-04-11 22:39:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 22:39:03] Production.INFO: 1
[2025-04-11 22:39:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 22:39:03] Production.INFO: Date 2025-04-08
[2025-04-11 22:39:03] Production.INFO: Reseller ==> 0
[2025-04-11 22:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 22:39:03] Production.INFO: Date 2025-04-09
[2025-04-11 22:39:03] Production.INFO: Reseller ==> 0
[2025-04-11 22:39:03] Production.INFO: Date 2025-04-10
[2025-04-11 22:39:03] Production.INFO: Reseller ==> 0
[2025-04-11 22:39:03] Production.INFO: Date 2025-04-11
[2025-04-11 22:39:03] Production.INFO: ==24490== Releasing lock...
[2025-04-11 22:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 22:39:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 22:39:03] Production.INFO: Reseller ==> 0
[2025-04-11 22:39:03] Production.ERROR: done
[2025-04-11 22:39:03] Production.INFO: ==24481== Releasing lock...
[2025-04-11 22:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 22:39:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 22:39:03] Production.INFO: Total Charge 0
[2025-04-11 22:39:04] Production.INFO: CreateAllLog End
[2025-04-11 22:39:04] Production.INFO: Account Balance End.
[2025-04-11 22:39:04] Production.ERROR: CronJobId end 12
[2025-04-11 22:39:04] Production.INFO: ==24486== Releasing lock...
[2025-04-11 22:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 22:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 22:39:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 19:39:04
[end_date_ymd] => 2025-04-11 22:39:04
[RateCDR] => 1
)
[2025-04-11 22: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-11 19:39:04' and `end` < '2025-04-11 22: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-11 22:39:13] Production.ERROR: CronJobId end10
[2025-04-11 22:39:13] Production.INFO: ==24484== Releasing lock...
[2025-04-11 22:39:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 22:39:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 22:39:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 22:39:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 22:39:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 22:39:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 22:39:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 22:39:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 22:39:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 22:39:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 22:39:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 22:39:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 22:39:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 22:39:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 22:39:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 22:39:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 22:39:15] Production.INFO: call_cost start
[2025-04-11 22:39:15] Production.INFO: call_cost end
[2025-04-11 22:39:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 22:39:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 22:39:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 22:39:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 22:39:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 22:39:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 22:39:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 22:39:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 22:39:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 22:39:16] Production.INFO: ==24479== Releasing lock...
[2025-04-11 22:39:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 22:39:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 22:39:17] Production.INFO: count ==1081
[2025-04-11 22:39:17] Production.ERROR: pbx CDR StartTime 2025-04-11 19:39:04 - End Time 2025-04-11 22:39:04
[2025-04-11 22:39:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 22:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887330', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887330', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887330', 'tblTempVendorCDR_20' ) start
[2025-04-11 22:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887330', 'tblTempVendorCDR_20' ) end
[2025-04-11 22:39:17] Production.INFO: ProcessCDR(1,14887330,1,1,2)
[2025-04-11 22:39:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887330,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:39:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887330,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:39:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887330,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:39:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887330,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887330', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887330', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:39:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 22:39:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 22:39:21] Production.INFO: ==24488== Releasing lock...
[2025-04-11 22:39:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 22:39:21] Production.INFO: 35.75 MB #Memory Used#
[2025-04-12 03:40:02] Production.INFO: ==24546== Lock acquired, processing the job...
[2025-04-12 03:40:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 03:40:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 03:40:02] Production.INFO: neon service started
[2025-04-12 03:40:02] Production.INFO: neon service started
[2025-04-12 03:40:02] Production.INFO: ==24546== Releasing lock...
[2025-04-12 03:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 03:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 02:40:02] Production.INFO: ==24550== Lock acquired, processing the job...
[2025-04-12 02:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 02:40:02] Production.INFO: ==24550== Releasing lock...
[2025-04-12 02:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 02:40:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 22:40:02] Production.INFO: ==24548== Lock acquired, processing the job...
[2025-04-11 22:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 22:40:03] Production.INFO: ==24548== Releasing lock...
[2025-04-11 22:40:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 22:40:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 22:40:03] Production.INFO: ==24554== Lock acquired, processing the job...
[2025-04-11 22:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 22:40:04] Production.INFO: ==24556== Lock acquired, processing the job...
[2025-04-11 22:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 22:40:04] Production.INFO: ==24558== Lock acquired, processing the job...
[2025-04-11 22:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 22:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 22:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 22:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 22:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 22:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 22:40:04] Production.INFO: ==24562== Lock acquired, processing the job...
[2025-04-11 22:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 22:40:04] Production.INFO: ==24552== Lock acquired, processing the job...
[2025-04-11 22:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-11 22:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 22:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-11 22:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-11 22:40:04] Production.ERROR: CronJob PID - 24554
[2025-04-11 22:40:04] Production.ERROR: CronJob Title - System Alerts
[2025-04-11 22:40:04] Production.ERROR: CronJob ID - 5
[2025-04-11 22:40:04] Production.ERROR: CronJob Last Run Time 2025-04-11 22:40:00
[2025-04-11 22:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-11 22:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-11 22:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-11 22:40:04] Production.ERROR: CronJob PID - 24556
[2025-04-11 22:40:04] Production.ERROR: CronJob Title - Account Block
[2025-04-11 22:40:04] Production.ERROR: CronJob ID - 7
[2025-04-11 22:40:04] Production.ERROR: CronJob Last Run Time 2025-04-11 22:40:00
[2025-04-11 22:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-11 22:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-11 22:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-11 22:40:04] Production.ERROR: CronJob PID - 24558
[2025-04-11 22:40:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-04-11 22:40:04] Production.ERROR: CronJob ID - 10
[2025-04-11 22:40:04] Production.ERROR: CronJob Last Run Time 2025-04-11 22:40:00
[2025-04-11 22:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-11 22:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-11 22:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-11 22:40:04] Production.ERROR: CronJob PID - 24562
[2025-04-11 22:40:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-04-11 22:40:04] Production.ERROR: CronJob ID - 16
[2025-04-11 22:40:04] Production.ERROR: CronJob Last Run Time 2025-04-11 22:40:00
[2025-04-11 22:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-11 22:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-11 22:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-11 22:40:04] Production.INFO: ==24552== Releasing lock...
[2025-04-11 22:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-11 22:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-11 22:40:04] Production.INFO: ==24556== Releasing lock...
[2025-04-11 22:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 22:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 22:40:04] Production.INFO: ==24560== Lock acquired, processing the job...
[2025-04-11 22:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 22:40:04] Production.INFO: ==24564== Lock acquired, processing the job...
[2025-04-11 22:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-11 22:40:04] Production.INFO: ==24567== Lock acquired, processing the job...
[2025-04-11 22:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 22:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 22:40:04] Production.INFO: Account Balance Start.
[2025-04-11 22:40:04] Production.INFO: CreateAllLog Start
[2025-04-11 22:40:04] Production.ERROR: done
[2025-04-11 22:40:04] Production.INFO: 117
[2025-04-11 22:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 22:40:04] Production.INFO: Date 2025-04-08
[2025-04-11 22:40:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:40:04] Production.INFO: Date 2025-04-09
[2025-04-11 22:40:04] Production.INFO: Reseller ==> 0
[2025-04-11 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-11 22:40:04] Production.INFO: Date 2025-04-10
[2025-04-11 22:40:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:40:04] Production.INFO: count ==12
[2025-04-11 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-11 22:40:04] Production.INFO: count ==23
[2025-04-11 22:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887334') start
[2025-04-11 22:40:04] Production.INFO: Date 2025-04-11
[2025-04-11 22:40:05] Production.INFO: Reseller ==> 0
[2025-04-11 22:40:05] Production.ERROR: done
[2025-04-11 22:40:05] Production.INFO: Total Charge 0
[2025-04-11 22:40:05] Production.INFO: CreateAllLog End
[2025-04-11 22:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14887334') end
[2025-04-11 22:40:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 22:40:05] Production.INFO: 1
[2025-04-11 22:40:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 22:40:05] Production.ERROR: done
[2025-04-11 22:40:05] Production.INFO: ==24567== Releasing lock...
[2025-04-11 22:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 22:40:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 22:40:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-11 22:40:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14887336', 'tblTempUsageDetail_20reseller','2025-04-11','2025-04-11','1' ) start
[2025-04-11 22:40:05] Production.INFO: Account Balance End.
[2025-04-11 22:40:05] Production.ERROR: CronJobId end 12
[2025-04-11 22:40:05] Production.INFO: ==24560== Releasing lock...
[2025-04-11 22:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 22:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 22:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 19:40:06
[end_date_ymd] => 2025-04-11 22:40:06
[RateCDR] => 1
)
[2025-04-11 22:40:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 19:40:06' and `end` < '2025-04-11 22:40:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 22:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14887336', 'tblTempUsageDetail_20reseller','2025-04-11','2025-04-11','1' ) end
[2025-04-11 22:40:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-11 22:40:09] Production.INFO: ProcessCDR(1,14887336,1,1,2)
[2025-04-11 22:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14887336,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14887336,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 22:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 22:40:09] Production.INFO: ==24564== Releasing lock...
[2025-04-11 22:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-11 22:40:09] Production.INFO: 26 MB #Memory Used#
[2025-04-11 22:40:15] Production.ERROR: CronJobId end10
[2025-04-11 22:40:15] Production.INFO: ==24558== Releasing lock...
[2025-04-11 22:40:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 22:40:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 22:40:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 22:40:16] Production.INFO: ============== Balance Warning START===========
[2025-04-11 22:40:16] Production.INFO: ============== Balance Warning END===========
[2025-04-11 22:40:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 22:40:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 22:40:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 22:40:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 22:40:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 22:40:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 22:40:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 22:40:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 22:40:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 22:40:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 22:40:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 22:40:16] Production.INFO: call_cost start
[2025-04-11 22:40:16] Production.INFO: call_cost end
[2025-04-11 22:40:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 22:40:17] Production.INFO: ============== Report Schedule START===========
[2025-04-11 22:40:17] Production.INFO: ============== Report Schedule END===========
[2025-04-11 22:40:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 22:40:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 22:40:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 22:40:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 22:40:17] Production.INFO: ============== Deal alert START===========
[2025-04-11 22:40:17] Production.INFO: ============== Deal alert END===========
[2025-04-11 22:40:18] Production.INFO: ==24554== Releasing lock...
[2025-04-11 22:40:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 22:40:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 22:40:19] Production.INFO: count ==1084
[2025-04-11 22:40:19] Production.ERROR: pbx CDR StartTime 2025-04-11 19:40:06 - End Time 2025-04-11 22:40:06
[2025-04-11 22:40:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 22:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887335', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887335', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887335', 'tblTempVendorCDR_20' ) start
[2025-04-11 22:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887335', 'tblTempVendorCDR_20' ) end
[2025-04-11 22:40:19] Production.INFO: ProcessCDR(1,14887335,1,1,2)
[2025-04-11 22:40:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887335,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:40:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887335,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:40:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887335,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:40:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887335,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:40:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887335', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:40:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887335', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:40:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 22:40:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 22:40:24] Production.INFO: ==24562== Releasing lock...
[2025-04-11 22:40:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 22:40:24] Production.INFO: 35.75 MB #Memory Used#
[2025-04-12 03:41:01] Production.INFO: ==24626== Lock acquired, processing the job...
[2025-04-12 03:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 03:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 03:41:01] Production.INFO: neon service started
[2025-04-12 03:41:01] Production.INFO: neon service started
[2025-04-12 03:41:01] Production.INFO: ==24626== Releasing lock...
[2025-04-12 03:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 03:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 22:41:02] Production.INFO: ==24628== Lock acquired, processing the job...
[2025-04-11 22:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 02:41:02] Production.INFO: ==24630== Lock acquired, processing the job...
[2025-04-12 02:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 02:41:02] Production.INFO: ==24630== Releasing lock...
[2025-04-12 02:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 02:41:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 22:41:02] Production.INFO: ==24628== Releasing lock...
[2025-04-11 22:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 22:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 22:41:03] Production.INFO: ==24633== Lock acquired, processing the job...
[2025-04-11 22:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 22:41:03] Production.INFO: ==24637== Lock acquired, processing the job...
[2025-04-11 22:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 22:41:03] Production.INFO: ==24639== Lock acquired, processing the job...
[2025-04-11 22:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 22:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 22:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 22:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 22:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 22:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 22:41:03] Production.INFO: Account Balance Start.
[2025-04-11 22:41:03] Production.INFO: CreateAllLog Start
[2025-04-11 22:41:03] Production.INFO: 117
[2025-04-11 22:41:03] Production.INFO: Date 2025-04-08
[2025-04-11 22:41:03] Production.INFO: Reseller ==> 0
[2025-04-11 22:41:03] Production.INFO: ==24635== Lock acquired, processing the job...
[2025-04-11 22:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 22:41:03] Production.INFO: Date 2025-04-09
[2025-04-11 22:41:03] Production.INFO: Reseller ==> 0
[2025-04-11 22:41:03] Production.INFO: Date 2025-04-10
[2025-04-11 22:41:03] Production.INFO: Reseller ==> 0
[2025-04-11 22:41:03] Production.INFO: ==24643== Lock acquired, processing the job...
[2025-04-11 22:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 22:41:03] Production.INFO: Date 2025-04-11
[2025-04-11 22:41:03] Production.INFO: Reseller ==> 0
[2025-04-11 22:41:03] Production.INFO: Total Charge 0
[2025-04-11 22:41:03] Production.INFO: ==24641== Lock acquired, processing the job...
[2025-04-11 22:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 22:41:03] Production.INFO: CreateAllLog End
[2025-04-11 22:41:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 22:41:03] Production.INFO: count ==12
[2025-04-11 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-11 22:41:03] Production.INFO: count ==23
[2025-04-11 22:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 22:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887340') start
[2025-04-11 22:41:03] Production.INFO: ==24635== Releasing lock...
[2025-04-11 22:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 22:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 22:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887340') end
[2025-04-11 22:41:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 22:41:03] Production.INFO: 1
[2025-04-11 22:41:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 22:41:04] Production.INFO: ==24643== Releasing lock...
[2025-04-11 22:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 22:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 22:41:04] Production.INFO: Account Balance End.
[2025-04-11 22:41:04] Production.ERROR: done
[2025-04-11 22:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 22:41:04] Production.ERROR: CronJobId end 12
[2025-04-11 22:41:04] Production.INFO: ==24639== Releasing lock...
[2025-04-11 22:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 22:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 22:41:04] Production.ERROR: done
[2025-04-11 22:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 19:41:05
[end_date_ymd] => 2025-04-11 22:41:05
[RateCDR] => 1
)
[2025-04-11 22:41:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 19:41:05' and `end` < '2025-04-11 22:41:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 22:41:12] Production.ERROR: CronJobId end10
[2025-04-11 22:41:12] Production.INFO: ==24637== Releasing lock...
[2025-04-11 22:41:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 22:41:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 22:41:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 22:41:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 22:41:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 22:41:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 22:41:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 22:41:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 22:41:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 22:41:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 22:41:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 22:41:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 22:41:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 22:41:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 22:41:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 22:41:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 22:41:14] Production.INFO: call_cost start
[2025-04-11 22:41:14] Production.INFO: call_cost end
[2025-04-11 22:41:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 22:41:15] Production.INFO: ============== Report Schedule START===========
[2025-04-11 22:41:15] Production.INFO: ============== Report Schedule END===========
[2025-04-11 22:41:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 22:41:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 22:41:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 22:41:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 22:41:15] Production.INFO: ============== Deal alert START===========
[2025-04-11 22:41:15] Production.INFO: ============== Deal alert END===========
[2025-04-11 22:41:15] Production.INFO: ==24633== Releasing lock...
[2025-04-11 22:41:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 22:41:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 22:41:18] Production.INFO: count ==995
[2025-04-11 22:41:18] Production.ERROR: pbx CDR StartTime 2025-04-11 19:41:05 - End Time 2025-04-11 22:41:05
[2025-04-11 22:41:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 22:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887341', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887341', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887341', 'tblTempVendorCDR_20' ) start
[2025-04-11 22:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887341', 'tblTempVendorCDR_20' ) end
[2025-04-11 22:41:18] Production.INFO: ProcessCDR(1,14887341,1,1,2)
[2025-04-11 22:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887341,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:41:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887341,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:41:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887341,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:41:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887341,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887341', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887341', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:41:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 22:41:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 22:41:21] Production.INFO: ==24641== Releasing lock...
[2025-04-11 22:41:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 22:41:21] Production.INFO: 35 MB #Memory Used#
[2025-04-12 03:42:02] Production.INFO: ==24703== Lock acquired, processing the job...
[2025-04-12 03:42:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 03:42:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 03:42:02] Production.INFO: neon service started
[2025-04-12 03:42:02] Production.INFO: neon service started
[2025-04-12 03:42:02] Production.INFO: ==24703== Releasing lock...
[2025-04-12 03:42:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 03:42:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 22:42:02] Production.INFO: ==24705== Lock acquired, processing the job...
[2025-04-11 22:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 02:42:02] Production.INFO: ==24707== Lock acquired, processing the job...
[2025-04-12 02:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 02:42:02] Production.INFO: ==24707== Releasing lock...
[2025-04-12 02:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 02:42:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 22:42:03] Production.INFO: ==24705== Releasing lock...
[2025-04-11 22:42:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 22:42:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 22:42:04] Production.INFO: ==24712== Lock acquired, processing the job...
[2025-04-11 22:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 22:42:04] Production.INFO: ==24718== Lock acquired, processing the job...
[2025-04-11 22:42:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 22:42:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 22:42:04] Production.INFO: ==24710== Lock acquired, processing the job...
[2025-04-11 22:42:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 22:42:04] Production.INFO: ==24714== Lock acquired, processing the job...
[2025-04-11 22:42:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 22:42:04] Production.INFO: ==24720== Lock acquired, processing the job...
[2025-04-11 22:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 22:42:04] Production.INFO: ==24716== Lock acquired, processing the job...
[2025-04-11 22:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 22:42:04] Production.INFO: ==24712== Releasing lock...
[2025-04-11 22:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 22:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 22:42:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 22:42:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 22:42:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 22:42:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 22:42:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 22:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 22:42:04] Production.INFO: Account Balance Start.
[2025-04-11 22:42:04] Production.INFO: CreateAllLog Start
[2025-04-11 22:42:04] Production.INFO: 117
[2025-04-11 22:42:04] Production.INFO: Date 2025-04-08
[2025-04-11 22:42:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:42:04] Production.INFO: count ==12
[2025-04-11 22:42:04] Production.INFO: Date 2025-04-09
[2025-04-11 22:42:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:42:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 22:42:04] Production.INFO: Date 2025-04-10
[2025-04-11 22:42:04] Production.INFO: count ==23
[2025-04-11 22:42:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887344') start
[2025-04-11 22:42:04] Production.ERROR: done
[2025-04-11 22:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 22:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887344') end
[2025-04-11 22:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 22:42:04] Production.INFO: 1
[2025-04-11 22:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 22:42:04] Production.INFO: Date 2025-04-11
[2025-04-11 22:42:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:42:04] Production.INFO: ==24720== Releasing lock...
[2025-04-11 22:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 22:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 22:42:05] Production.INFO: Total Charge 0
[2025-04-11 22:42:05] Production.INFO: CreateAllLog End
[2025-04-11 22:42:05] Production.ERROR: done
[2025-04-11 22:42:05] Production.INFO: Account Balance End.
[2025-04-11 22:42:05] Production.ERROR: CronJobId end 12
[2025-04-11 22:42:05] Production.INFO: ==24716== Releasing lock...
[2025-04-11 22:42:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 22:42:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 22:42:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 19:42:06
[end_date_ymd] => 2025-04-11 22:42:06
[RateCDR] => 1
)
[2025-04-11 22:42:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 19:42:06' and `end` < '2025-04-11 22:42:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 22:42:13] Production.ERROR: CronJobId end10
[2025-04-11 22:42:13] Production.INFO: ==24714== Releasing lock...
[2025-04-11 22:42:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 22:42:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 22:42:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 22:42:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 22:42:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 22:42:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 22:42:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 22:42:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 22:42:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 22:42:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 22:42:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 22:42:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 22:42:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 22:42:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 22:42:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 22:42:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 22:42:15] Production.INFO: call_cost start
[2025-04-11 22:42:15] Production.INFO: call_cost end
[2025-04-11 22:42:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 22:42:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 22:42:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 22:42:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 22:42:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 22:42:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 22:42:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 22:42:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 22:42:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 22:42:16] Production.INFO: ==24710== Releasing lock...
[2025-04-11 22:42:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 22:42:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 22:42:19] Production.INFO: count ==994
[2025-04-11 22:42:19] Production.ERROR: pbx CDR StartTime 2025-04-11 19:42:06 - End Time 2025-04-11 22:42:06
[2025-04-11 22:42:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 22:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887346', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887346', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887346', 'tblTempVendorCDR_20' ) start
[2025-04-11 22:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887346', 'tblTempVendorCDR_20' ) end
[2025-04-11 22:42:19] Production.INFO: ProcessCDR(1,14887346,1,1,2)
[2025-04-11 22:42:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887346,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:42:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887346,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:42:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887346,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:42:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887346,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887346', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887346', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:42:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 22:42:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 22:42:22] Production.INFO: ==24718== Releasing lock...
[2025-04-11 22:42:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 22:42:22] Production.INFO: 35 MB #Memory Used#
[2025-04-12 03:43:01] Production.INFO: ==24776== Lock acquired, processing the job...
[2025-04-12 03:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 03:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 03:43:01] Production.INFO: neon service started
[2025-04-12 03:43:01] Production.INFO: neon service started
[2025-04-12 03:43:01] Production.INFO: ==24776== Releasing lock...
[2025-04-12 03:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 03:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 22:43:02] Production.INFO: ==24778== Lock acquired, processing the job...
[2025-04-11 22:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 22:43:02] Production.INFO: ==24778== Releasing lock...
[2025-04-11 22:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 22:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 02:43:02] Production.INFO: ==24780== Lock acquired, processing the job...
[2025-04-12 02:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 02:43:02] Production.INFO: ==24780== Releasing lock...
[2025-04-12 02:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 02:43:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 22:43:03] Production.INFO: ==24784== Lock acquired, processing the job...
[2025-04-11 22:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 22:43:03] Production.INFO: ==24792== Lock acquired, processing the job...
[2025-04-11 22:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 22:43:03] Production.INFO: ==24782== Lock acquired, processing the job...
[2025-04-11 22:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 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-11 22:43:03] Production.INFO: count ==12
[2025-04-11 22:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 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-11 22:43:03] Production.INFO: count ==23
[2025-04-11 22:43:03] Production.INFO: ==24786== Lock acquired, processing the job...
[2025-04-11 22:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 22:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887347') start
[2025-04-11 22:43:03] Production.INFO: ==24788== Lock acquired, processing the job...
[2025-04-11 22:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 22:43:03] Production.INFO: ==24790== Lock acquired, processing the job...
[2025-04-11 22:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 22:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 22:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 22:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 22:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 22:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887347') end
[2025-04-11 22:43:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 22:43:03] Production.INFO: 1
[2025-04-11 22:43:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 22:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 22:43:03] Production.INFO: ==24792== Releasing lock...
[2025-04-11 22:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 22:43:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 22:43:03] Production.INFO: ==24784== Releasing lock...
[2025-04-11 22:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 22:43:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 22:43:03] Production.INFO: Account Balance Start.
[2025-04-11 22:43:03] Production.INFO: CreateAllLog Start
[2025-04-11 22:43:03] Production.INFO: 117
[2025-04-11 22:43:03] Production.INFO: Date 2025-04-08
[2025-04-11 22:43:03] Production.INFO: Reseller ==> 0
[2025-04-11 22:43:03] Production.INFO: Date 2025-04-09
[2025-04-11 22:43:03] Production.INFO: Reseller ==> 0
[2025-04-11 22:43:03] Production.INFO: Date 2025-04-10
[2025-04-11 22:43:03] Production.INFO: Reseller ==> 0
[2025-04-11 22:43:03] Production.INFO: Date 2025-04-11
[2025-04-11 22:43:03] Production.INFO: Reseller ==> 0
[2025-04-11 22:43:03] Production.INFO: Total Charge 0
[2025-04-11 22:43:03] Production.INFO: CreateAllLog End
[2025-04-11 22:43:04] Production.ERROR: done
[2025-04-11 22:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 22:43:04] Production.INFO: Account Balance End.
[2025-04-11 22:43:04] Production.ERROR: CronJobId end 12
[2025-04-11 22:43:04] Production.INFO: ==24788== Releasing lock...
[2025-04-11 22:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 22:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 22:43:04] Production.ERROR: done
[2025-04-11 22:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 19:43:05
[end_date_ymd] => 2025-04-11 22:43:05
[RateCDR] => 1
)
[2025-04-11 22:43:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 19:43:05' and `end` < '2025-04-11 22:43:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 22:43:12] Production.ERROR: CronJobId end10
[2025-04-11 22:43:12] Production.INFO: ==24786== Releasing lock...
[2025-04-11 22:43:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 22:43:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 22:43:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 22:43:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 22:43:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 22:43:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 22:43:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 22:43:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 22:43:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 22:43:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 22:43:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 22:43:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 22:43:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 22:43:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 22:43:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 22:43:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 22:43:15] Production.INFO: call_cost start
[2025-04-11 22:43:15] Production.INFO: call_cost end
[2025-04-11 22:43:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 22:43:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 22:43:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 22:43:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 22:43:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 22:43:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 22:43:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 22:43:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 22:43:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 22:43:16] Production.INFO: ==24782== Releasing lock...
[2025-04-11 22:43:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 22:43:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 22:43:18] Production.INFO: count ==996
[2025-04-11 22:43:18] Production.ERROR: pbx CDR StartTime 2025-04-11 19:43:05 - End Time 2025-04-11 22:43:05
[2025-04-11 22:43:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 22:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887351', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887351', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887351', 'tblTempVendorCDR_20' ) start
[2025-04-11 22:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887351', 'tblTempVendorCDR_20' ) end
[2025-04-11 22:43:18] Production.INFO: ProcessCDR(1,14887351,1,1,2)
[2025-04-11 22:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887351,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:43:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887351,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:43:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887351,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:43:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887351,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:43:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887351', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:43:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887351', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:43:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 22:43:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 22:43:23] Production.INFO: ==24790== Releasing lock...
[2025-04-11 22:43:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 22:43:23] Production.INFO: 35 MB #Memory Used#
[2025-04-12 03:44:02] Production.INFO: ==24852== Lock acquired, processing the job...
[2025-04-12 03:44:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 03:44:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 03:44:02] Production.INFO: neon service started
[2025-04-12 03:44:02] Production.INFO: neon service started
[2025-04-12 03:44:02] Production.INFO: ==24852== Releasing lock...
[2025-04-12 03:44:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 03:44:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 02:44:02] Production.INFO: ==24856== Lock acquired, processing the job...
[2025-04-12 02:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 02:44:02] Production.INFO: ==24856== Releasing lock...
[2025-04-12 02:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 02:44:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 22:44:02] Production.INFO: ==24854== Lock acquired, processing the job...
[2025-04-11 22:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 22:44:03] Production.INFO: ==24854== Releasing lock...
[2025-04-11 22:44:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 22:44:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 22:44:03] Production.INFO: ==24867== Lock acquired, processing the job...
[2025-04-11 22:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 22:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 22:44:04] Production.ERROR: done
[2025-04-11 22:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 22:44:04] Production.INFO: ==24859== Lock acquired, processing the job...
[2025-04-11 22:44:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 22:44:04] Production.ERROR: done
[2025-04-11 22:44:04] Production.INFO: ==24861== Lock acquired, processing the job...
[2025-04-11 22:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 22:44:04] Production.INFO: ==24863== Lock acquired, processing the job...
[2025-04-11 22:44:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 22:44:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 22:44:04] Production.INFO: ==24865== Lock acquired, processing the job...
[2025-04-11 22:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 22:44:04] Production.INFO: ==24869== Lock acquired, processing the job...
[2025-04-11 22:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 22:44:04] Production.INFO: Account Balance Start.
[2025-04-11 22:44:04] Production.INFO: CreateAllLog Start
[2025-04-11 22:44:04] Production.INFO: 117
[2025-04-11 22:44:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 22:44:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 22:44:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 22:44:04] Production.INFO: Date 2025-04-08
[2025-04-11 22:44:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 22:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 22:44:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:44:04] Production.INFO: count ==12
[2025-04-11 22:44:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 22:44:04] Production.INFO: count ==23
[2025-04-11 22:44:04] Production.INFO: Date 2025-04-09
[2025-04-11 22:44:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887355') start
[2025-04-11 22:44:04] Production.INFO: Date 2025-04-10
[2025-04-11 22:44:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887355') end
[2025-04-11 22:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 22:44:04] Production.INFO: 1
[2025-04-11 22:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 22:44:04] Production.INFO: Date 2025-04-11
[2025-04-11 22:44:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:44:04] Production.INFO: ==24869== Releasing lock...
[2025-04-11 22:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 22:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 22:44:04] Production.INFO: Total Charge 0
[2025-04-11 22:44:04] Production.INFO: CreateAllLog End
[2025-04-11 22:44:04] Production.INFO: ==24861== Releasing lock...
[2025-04-11 22:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 22:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 22:44:05] Production.INFO: Account Balance End.
[2025-04-11 22:44:05] Production.ERROR: CronJobId end 12
[2025-04-11 22:44:05] Production.INFO: ==24865== Releasing lock...
[2025-04-11 22:44:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 22:44:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 22:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 19:44:05
[end_date_ymd] => 2025-04-11 22:44:05
[RateCDR] => 1
)
[2025-04-11 22:44:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 19:44:05' and `end` < '2025-04-11 22:44:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 22:44:13] Production.ERROR: CronJobId end10
[2025-04-11 22:44:13] Production.INFO: ==24863== Releasing lock...
[2025-04-11 22:44:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 22:44:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 22:44:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 22:44:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 22:44:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 22:44:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 22:44:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 22:44:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 22:44:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 22:44:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 22:44:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 22:44:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 22:44:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 22:44:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 22:44:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 22:44:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 22:44:15] Production.INFO: call_cost start
[2025-04-11 22:44:15] Production.INFO: call_cost end
[2025-04-11 22:44:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 22:44:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 22:44:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 22:44:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 22:44:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 22:44:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 22:44:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 22:44:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 22:44:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 22:44:16] Production.INFO: ==24859== Releasing lock...
[2025-04-11 22:44:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 22:44:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 22:44:18] Production.INFO: count ==996
[2025-04-11 22:44:18] Production.ERROR: pbx CDR StartTime 2025-04-11 19:44:05 - End Time 2025-04-11 22:44:05
[2025-04-11 22:44:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 22:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887352', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887352', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887352', 'tblTempVendorCDR_20' ) start
[2025-04-11 22:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887352', 'tblTempVendorCDR_20' ) end
[2025-04-11 22:44:18] Production.INFO: ProcessCDR(1,14887352,1,1,2)
[2025-04-11 22:44:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887352,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:44:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887352,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:44:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887352,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:44:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887352,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887352', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887352', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:44:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 22:44:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 22:44:22] Production.INFO: ==24867== Releasing lock...
[2025-04-11 22:44:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 22:44:22] Production.INFO: 35 MB #Memory Used#
[2025-04-12 03:45:01] Production.INFO: ==24930== Lock acquired, processing the job...
[2025-04-12 03:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 03:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 03:45:01] Production.INFO: neon service started
[2025-04-12 03:45:01] Production.INFO: neon service started
[2025-04-12 03:45:01] Production.INFO: ==24930== Releasing lock...
[2025-04-12 03:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 03:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 22:45:01] Production.INFO: ==24932== Lock acquired, processing the job...
[2025-04-11 22:45:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 22:45:02] Production.INFO: ==24932== Releasing lock...
[2025-04-11 22:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 22:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 02:45:02] Production.INFO: ==24934== Lock acquired, processing the job...
[2025-04-12 02:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 02:45:02] Production.INFO: ==24934== Releasing lock...
[2025-04-12 02:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 02:45:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 22:45:03] Production.INFO: ==24936== Lock acquired, processing the job...
[2025-04-11 22:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 22:45:03] Production.INFO: ==24938== Lock acquired, processing the job...
[2025-04-11 22:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 22:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 22:45:03] Production.INFO: ==24942== Lock acquired, processing the job...
[2025-04-11 22:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 22:45:03] Production.INFO: ==24940== Lock acquired, processing the job...
[2025-04-11 22:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 22:45:03] Production.INFO: ==24944== Lock acquired, processing the job...
[2025-04-11 22:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 22:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 22:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 22:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 22:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 22:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 22:45:03] Production.INFO: Account Balance Start.
[2025-04-11 22:45:03] Production.INFO: CreateAllLog Start
[2025-04-11 22:45:03] Production.INFO: 117
[2025-04-11 22:45:03] Production.INFO: Date 2025-04-08
[2025-04-11 22:45:03] Production.INFO: Reseller ==> 0
[2025-04-11 22:45:03] Production.INFO: Date 2025-04-09
[2025-04-11 22:45:03] Production.INFO: Reseller ==> 0
[2025-04-11 22:45:03] Production.INFO: Date 2025-04-10
[2025-04-11 22:45:03] Production.INFO: Reseller ==> 0
[2025-04-11 22:45:03] Production.INFO: ==24947== Lock acquired, processing the job...
[2025-04-11 22:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 22:45:03] Production.INFO: ==24938== Releasing lock...
[2025-04-11 22:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 22:45:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 22:45:03] Production.INFO: Date 2025-04-11
[2025-04-11 22:45:03] Production.INFO: Reseller ==> 0
[2025-04-11 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-11 22:45:03] Production.INFO: Total Charge 0
[2025-04-11 22:45:03] Production.INFO: CreateAllLog End
[2025-04-11 22:45:03] Production.INFO: count ==12
[2025-04-11 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-11 22:45:03] Production.INFO: count ==23
[2025-04-11 22:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887360') start
[2025-04-11 22:45:03] Production.ERROR: done
[2025-04-11 22:45:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 22:45:04] Production.ERROR: done
[2025-04-11 22:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887360') end
[2025-04-11 22:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 22:45:04] Production.INFO: 1
[2025-04-11 22:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 22:45:04] Production.INFO: Account Balance End.
[2025-04-11 22:45:04] Production.ERROR: CronJobId end 12
[2025-04-11 22:45:04] Production.INFO: ==24942== Releasing lock...
[2025-04-11 22:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 22:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 22:45:04] Production.INFO: ==24947== Releasing lock...
[2025-04-11 22:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 22:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 22:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 19:45:05
[end_date_ymd] => 2025-04-11 22:45:05
[RateCDR] => 1
)
[2025-04-11 22:45:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 19:45:05' and `end` < '2025-04-11 22:45:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 22:45:12] Production.ERROR: CronJobId end10
[2025-04-11 22:45:12] Production.INFO: ==24940== Releasing lock...
[2025-04-11 22:45:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 22:45:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 22:45:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 22:45:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 22:45:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 22:45:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 22:45:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 22:45:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 22:45:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 22:45:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 22:45:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 22:45:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 22:45:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 22:45:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 22:45:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 22:45:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 22:45:14] Production.INFO: call_cost start
[2025-04-11 22:45:14] Production.INFO: call_cost end
[2025-04-11 22:45:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 22:45:15] Production.INFO: ============== Report Schedule START===========
[2025-04-11 22:45:15] Production.INFO: ============== Report Schedule END===========
[2025-04-11 22:45:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 22:45:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 22:45:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 22:45:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 22:45:15] Production.INFO: ============== Deal alert START===========
[2025-04-11 22:45:15] Production.INFO: ============== Deal alert END===========
[2025-04-11 22:45:15] Production.INFO: ==24936== Releasing lock...
[2025-04-11 22:45:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 22:45:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 22:45:18] Production.INFO: count ==996
[2025-04-11 22:45:18] Production.ERROR: pbx CDR StartTime 2025-04-11 19:45:05 - End Time 2025-04-11 22:45:05
[2025-04-11 22:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 22:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887361', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887361', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887361', 'tblTempVendorCDR_20' ) start
[2025-04-11 22:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887361', 'tblTempVendorCDR_20' ) end
[2025-04-11 22:45:18] Production.INFO: ProcessCDR(1,14887361,1,1,2)
[2025-04-11 22:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887361,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887361,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887361,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:45:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887361,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887361', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887361', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:45:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 22:45:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 22:45:21] Production.INFO: ==24944== Releasing lock...
[2025-04-11 22:45:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 22:45:21] Production.INFO: 35 MB #Memory Used#
[2025-04-12 03:46:01] Production.INFO: ==25005== Lock acquired, processing the job...
[2025-04-12 03:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 03:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 03:46:01] Production.INFO: neon service started
[2025-04-12 03:46:02] Production.INFO: neon service started
[2025-04-12 03:46:02] Production.INFO: ==25005== Releasing lock...
[2025-04-12 03:46:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 03:46:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 22:46:02] Production.INFO: ==25007== Lock acquired, processing the job...
[2025-04-11 22:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 02:46:02] Production.INFO: ==25009== Lock acquired, processing the job...
[2025-04-12 02:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 02:46:02] Production.INFO: ==25009== Releasing lock...
[2025-04-12 02:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 02:46:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 22:46:03] Production.INFO: ==25007== Releasing lock...
[2025-04-11 22:46:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 22:46:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 22:46:03] Production.INFO: ==25018== Lock acquired, processing the job...
[2025-04-11 22:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 22:46:04] Production.INFO: ==25012== Lock acquired, processing the job...
[2025-04-11 22:46:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 22:46:04] Production.INFO: Account Balance Start.
[2025-04-11 22:46:04] Production.INFO: CreateAllLog Start
[2025-04-11 22:46:04] Production.INFO: 117
[2025-04-11 22:46:04] Production.INFO: Date 2025-04-08
[2025-04-11 22:46:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:46:04] Production.INFO: ==25014== Lock acquired, processing the job...
[2025-04-11 22:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 22:46:04] Production.INFO: Date 2025-04-09
[2025-04-11 22:46:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:46:04] Production.INFO: ==25016== Lock acquired, processing the job...
[2025-04-11 22:46:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 22:46:04] Production.INFO: ==25022== Lock acquired, processing the job...
[2025-04-11 22:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 22:46:04] Production.INFO: Date 2025-04-10
[2025-04-11 22:46:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:46:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 22:46:04] Production.INFO: Date 2025-04-11
[2025-04-11 22:46:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:46:04] Production.INFO: Total Charge 0
[2025-04-11 22:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 22:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 22:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 22:46:04] Production.INFO: CreateAllLog End
[2025-04-11 22:46:04] Production.INFO: ==25020== Lock acquired, processing the job...
[2025-04-11 22:46:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 22:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 22:46:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 22:46:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 22:46:04] Production.INFO: count ==12
[2025-04-11 22:46:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 22:46:04] Production.INFO: count ==23
[2025-04-11 22:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887365') start
[2025-04-11 22:46:04] Production.INFO: Account Balance End.
[2025-04-11 22:46:04] Production.ERROR: CronJobId end 12
[2025-04-11 22:46:04] Production.INFO: ==25018== Releasing lock...
[2025-04-11 22:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 22:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 22:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887365') end
[2025-04-11 22:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 22:46:04] Production.INFO: 1
[2025-04-11 22:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 22:46:04] Production.INFO: ==25022== Releasing lock...
[2025-04-11 22:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 22:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 22:46:04] Production.INFO: ==25014== Releasing lock...
[2025-04-11 22:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 22:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 22:46:04] Production.ERROR: done
[2025-04-11 22:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 22:46:05] Production.ERROR: done
[2025-04-11 22:46:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 19:46:06
[end_date_ymd] => 2025-04-11 22:46:06
[RateCDR] => 1
)
[2025-04-11 22:46:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 19:46:06' and `end` < '2025-04-11 22:46:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 22:46:13] Production.ERROR: CronJobId end10
[2025-04-11 22:46:13] Production.INFO: ==25016== Releasing lock...
[2025-04-11 22:46:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 22:46:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 22:46:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 22:46:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 22:46:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 22:46:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 22:46:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 22:46:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 22:46:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 22:46:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 22:46:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 22:46:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 22:46:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 22:46:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 22:46:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 22:46:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 22:46:15] Production.INFO: call_cost start
[2025-04-11 22:46:15] Production.INFO: call_cost end
[2025-04-11 22:46:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 22:46:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 22:46:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 22:46:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 22:46:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 22:46:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 22:46:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 22:46:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 22:46:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 22:46:16] Production.INFO: ==25012== Releasing lock...
[2025-04-11 22:46:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 22:46:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 22:46:19] Production.INFO: count ==996
[2025-04-11 22:46:19] Production.ERROR: pbx CDR StartTime 2025-04-11 19:46:06 - End Time 2025-04-11 22:46:06
[2025-04-11 22:46:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 22:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887366', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887366', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887366', 'tblTempVendorCDR_20' ) start
[2025-04-11 22:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887366', 'tblTempVendorCDR_20' ) end
[2025-04-11 22:46:19] Production.INFO: ProcessCDR(1,14887366,1,1,2)
[2025-04-11 22:46:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887366,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:46:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887366,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:46:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887366,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:46:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887366,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:46:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887366', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:46:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887366', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:46:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 22:46:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 22:46:24] Production.INFO: ==25020== Releasing lock...
[2025-04-11 22:46:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 22:46:24] Production.INFO: 35 MB #Memory Used#
[2025-04-12 03:47:01] Production.INFO: ==25075== Lock acquired, processing the job...
[2025-04-12 03:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 03:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 03:47:01] Production.INFO: neon service started
[2025-04-12 03:47:01] Production.INFO: neon service started
[2025-04-12 03:47:01] Production.INFO: ==25075== Releasing lock...
[2025-04-12 03:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 03:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 02:47:02] Production.INFO: ==25079== Lock acquired, processing the job...
[2025-04-12 02:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-11 22:47:02] Production.INFO: ==25077== Lock acquired, processing the job...
[2025-04-11 22:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 02:47:02] Production.INFO: ==25079== Releasing lock...
[2025-04-12 02:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 02:47:02] Production.INFO: 26 MB #Memory Used#
[2025-04-11 22:47:02] Production.INFO: ==25077== Releasing lock...
[2025-04-11 22:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 22:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 22:47:03] Production.INFO: ==25088== Lock acquired, processing the job...
[2025-04-11 22:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 22:47:03] Production.INFO: ==25086== Lock acquired, processing the job...
[2025-04-11 22:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 22:47:03] Production.INFO: Account Balance Start.
[2025-04-11 22:47:03] Production.INFO: CreateAllLog Start
[2025-04-11 22:47:03] Production.INFO: 117
[2025-04-11 22:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 22:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 22:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 22:47:03] Production.INFO: Date 2025-04-08
[2025-04-11 22:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 22:47:03] Production.INFO: Reseller ==> 0
[2025-04-11 22:47:03] Production.INFO: ==25082== Lock acquired, processing the job...
[2025-04-11 22:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 22:47:03] Production.INFO: Date 2025-04-09
[2025-04-11 22:47:03] Production.INFO: Reseller ==> 0
[2025-04-11 22:47:03] Production.INFO: ==25084== Lock acquired, processing the job...
[2025-04-11 22:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 22:47:03] Production.INFO: Date 2025-04-10
[2025-04-11 22:47:03] Production.INFO: Reseller ==> 0
[2025-04-11 22:47:03] Production.INFO: Date 2025-04-11
[2025-04-11 22:47:03] Production.INFO: Reseller ==> 0
[2025-04-11 22:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 22:47:03] Production.INFO: Total Charge 0
[2025-04-11 22:47:03] Production.INFO: ==25090== Lock acquired, processing the job...
[2025-04-11 22:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 22:47:03] Production.INFO: CreateAllLog End
[2025-04-11 22:47:03] Production.INFO: ==25092== Lock acquired, processing the job...
[2025-04-11 22:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 22:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 22:47:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 22:47:03] Production.INFO: Account Balance End.
[2025-04-11 22:47:03] Production.INFO: count ==12
[2025-04-11 22:47:04] Production.ERROR: CronJobId end 12
[2025-04-11 22:47:04] Production.INFO: ==25088== Releasing lock...
[2025-04-11 22:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 22:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 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-11 22:47:04] Production.INFO: count ==23
[2025-04-11 22:47:04] Production.INFO: ==25084== Releasing lock...
[2025-04-11 22:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 22:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 22:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887370') start
[2025-04-11 22:47:04] Production.ERROR: done
[2025-04-11 22:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 22:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887370') end
[2025-04-11 22:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 22:47:04] Production.INFO: 1
[2025-04-11 22:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 22:47:04] Production.ERROR: done
[2025-04-11 22:47:04] Production.INFO: ==25092== Releasing lock...
[2025-04-11 22:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 22:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 22:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 19:47:05
[end_date_ymd] => 2025-04-11 22:47:05
[RateCDR] => 1
)
[2025-04-11 22:47:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 19:47:05' and `end` < '2025-04-11 22:47:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 22:47:12] Production.ERROR: CronJobId end10
[2025-04-11 22:47:12] Production.INFO: ==25086== Releasing lock...
[2025-04-11 22:47:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 22:47:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 22:47:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 22:47:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 22:47:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 22:47:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 22:47:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 22:47:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 22:47:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 22:47:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 22:47:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 22:47:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 22:47:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 22:47:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 22:47:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 22:47:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 22:47:14] Production.INFO: call_cost start
[2025-04-11 22:47:14] Production.INFO: call_cost end
[2025-04-11 22:47:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 22:47:15] Production.INFO: ============== Report Schedule START===========
[2025-04-11 22:47:15] Production.INFO: ============== Report Schedule END===========
[2025-04-11 22:47:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 22:47:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 22:47:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 22:47:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 22:47:15] Production.INFO: ============== Deal alert START===========
[2025-04-11 22:47:15] Production.INFO: ============== Deal alert END===========
[2025-04-11 22:47:15] Production.INFO: ==25082== Releasing lock...
[2025-04-11 22:47:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 22:47:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 22:47:18] Production.INFO: count ==993
[2025-04-11 22:47:18] Production.ERROR: pbx CDR StartTime 2025-04-11 19:47:05 - End Time 2025-04-11 22:47:05
[2025-04-11 22:47:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 22:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887371', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887371', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887371', 'tblTempVendorCDR_20' ) start
[2025-04-11 22:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887371', 'tblTempVendorCDR_20' ) end
[2025-04-11 22:47:18] Production.INFO: ProcessCDR(1,14887371,1,1,2)
[2025-04-11 22:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887371,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:47:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887371,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:47:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887371,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:47:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887371,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887371', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887371', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:47:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 22:47:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 22:47:22] Production.INFO: ==25090== Releasing lock...
[2025-04-11 22:47:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 22:47:22] Production.INFO: 35 MB #Memory Used#
[2025-04-12 03:48:02] Production.INFO: ==25147== Lock acquired, processing the job...
[2025-04-12 03:48:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 03:48:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 03:48:02] Production.INFO: neon service started
[2025-04-12 03:48:02] Production.INFO: neon service started
[2025-04-12 03:48:02] Production.INFO: ==25147== Releasing lock...
[2025-04-12 03:48:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 03:48:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 22:48:02] Production.INFO: ==25149== Lock acquired, processing the job...
[2025-04-11 22:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 02:48:02] Production.INFO: ==25151== Lock acquired, processing the job...
[2025-04-12 02:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 02:48:02] Production.INFO: ==25151== Releasing lock...
[2025-04-12 02:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 02:48:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 22:48:03] Production.INFO: ==25149== Releasing lock...
[2025-04-11 22:48:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 22:48:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 22:48:03] Production.INFO: ==25156== Lock acquired, processing the job...
[2025-04-11 22:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 22:48:03] Production.INFO: ==25160== Lock acquired, processing the job...
[2025-04-11 22:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 22:48:04] Production.INFO: ==25154== Lock acquired, processing the job...
[2025-04-11 22:48:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 22:48:04] Production.INFO: Account Balance Start.
[2025-04-11 22:48:04] Production.INFO: CreateAllLog Start
[2025-04-11 22:48:04] Production.INFO: 117
[2025-04-11 22:48:04] Production.INFO: Date 2025-04-08
[2025-04-11 22:48:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:48:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 22:48:04] Production.INFO: ==25158== Lock acquired, processing the job...
[2025-04-11 22:48:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 22:48:04] Production.INFO: Date 2025-04-09
[2025-04-11 22:48:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:48:04] Production.INFO: Date 2025-04-10
[2025-04-11 22:48:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:48:04] Production.INFO: ==25156== Releasing lock...
[2025-04-11 22:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 22:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 22:48:04] Production.INFO: Date 2025-04-11
[2025-04-11 22:48:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:48:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 22:48:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 22:48:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 22:48:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 22:48:04] Production.INFO: ==25162== Lock acquired, processing the job...
[2025-04-11 22:48:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 22:48:04] Production.INFO: ==25164== Lock acquired, processing the job...
[2025-04-11 22:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 22:48:04] Production.INFO: Total Charge 0
[2025-04-11 22:48:04] Production.INFO: CreateAllLog End
[2025-04-11 22:48:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 22:48:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 22:48:04] Production.INFO: count ==12
[2025-04-11 22:48:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 22:48:04] Production.INFO: count ==23
[2025-04-11 22:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887375') start
[2025-04-11 22:48:04] Production.ERROR: done
[2025-04-11 22:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 22:48:04] Production.INFO: Account Balance End.
[2025-04-11 22:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887375') end
[2025-04-11 22:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 22:48:04] Production.INFO: 1
[2025-04-11 22:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 22:48:04] Production.ERROR: CronJobId end 12
[2025-04-11 22:48:04] Production.INFO: ==25164== Releasing lock...
[2025-04-11 22:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 22:48:04] Production.INFO: ==25160== Releasing lock...
[2025-04-11 22:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 22:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 22:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 22:48:04] Production.ERROR: done
[2025-04-11 22:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 19:48:05
[end_date_ymd] => 2025-04-11 22:48:05
[RateCDR] => 1
)
[2025-04-11 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-11 19:48:05' and `end` < '2025-04-11 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-11 22:48:12] Production.ERROR: CronJobId end10
[2025-04-11 22:48:12] Production.INFO: ==25158== Releasing lock...
[2025-04-11 22:48:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 22:48:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 22:48:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 22:48:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 22:48:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 22:48:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 22:48:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 22:48:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 22:48:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 22:48:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 22:48:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 22:48:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 22:48:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 22:48:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 22:48:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 22:48:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 22:48:14] Production.INFO: call_cost start
[2025-04-11 22:48:14] Production.INFO: call_cost end
[2025-04-11 22:48:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 22:48:15] Production.INFO: ============== Report Schedule START===========
[2025-04-11 22:48:15] Production.INFO: ============== Report Schedule END===========
[2025-04-11 22:48:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 22:48:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 22:48:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 22:48:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 22:48:15] Production.INFO: ============== Deal alert START===========
[2025-04-11 22:48:15] Production.INFO: ============== Deal alert END===========
[2025-04-11 22:48:15] Production.INFO: ==25154== Releasing lock...
[2025-04-11 22:48:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 22:48:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 22:48:18] Production.INFO: count ==992
[2025-04-11 22:48:18] Production.ERROR: pbx CDR StartTime 2025-04-11 19:48:05 - End Time 2025-04-11 22:48:05
[2025-04-11 22:48:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 22:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887376', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887376', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887376', 'tblTempVendorCDR_20' ) start
[2025-04-11 22:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887376', 'tblTempVendorCDR_20' ) end
[2025-04-11 22:48:18] Production.INFO: ProcessCDR(1,14887376,1,1,2)
[2025-04-11 22:48:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887376,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:48:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887376,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:48:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887376,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:48:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887376,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:48:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887376', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:48:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887376', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:48:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 22:48:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 22:48:23] Production.INFO: ==25162== Releasing lock...
[2025-04-11 22:48:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 22:48:23] Production.INFO: 35 MB #Memory Used#
[2025-04-12 03:49:01] Production.INFO: ==25256== Lock acquired, processing the job...
[2025-04-12 03:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 03:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 03:49:01] Production.INFO: neon service started
[2025-04-12 03:49:01] Production.INFO: neon service started
[2025-04-12 03:49:01] Production.INFO: ==25256== Releasing lock...
[2025-04-12 03:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 03:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 22:49:01] Production.INFO: ==25258== Lock acquired, processing the job...
[2025-04-11 22:49:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 22:49:02] Production.INFO: ==25258== Releasing lock...
[2025-04-11 22:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 22:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 02:49:02] Production.INFO: ==25260== Lock acquired, processing the job...
[2025-04-12 02:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 02:49:02] Production.INFO: ==25260== Releasing lock...
[2025-04-12 02:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 02:49:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 22:49:02] Production.INFO: ==25262== Lock acquired, processing the job...
[2025-04-11 22:49:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 22:49:03] Production.INFO: ==25266== Lock acquired, processing the job...
[2025-04-11 22:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 22:49:03] Production.INFO: ==25268== Lock acquired, processing the job...
[2025-04-11 22:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 22:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 22:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 22:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 22:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 22:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 22:49:03] Production.INFO: Account Balance Start.
[2025-04-11 22:49:03] Production.INFO: CreateAllLog Start
[2025-04-11 22:49:03] Production.INFO: 117
[2025-04-11 22:49:03] Production.INFO: Date 2025-04-08
[2025-04-11 22:49:03] Production.INFO: Reseller ==> 0
[2025-04-11 22:49:03] Production.INFO: ==25264== Lock acquired, processing the job...
[2025-04-11 22:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 22:49:03] Production.INFO: Date 2025-04-09
[2025-04-11 22:49:03] Production.INFO: Reseller ==> 0
[2025-04-11 22:49:03] Production.INFO: Date 2025-04-10
[2025-04-11 22:49:03] Production.INFO: Reseller ==> 0
[2025-04-11 22:49:03] Production.INFO: ==25273== Lock acquired, processing the job...
[2025-04-11 22:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 22:49:03] Production.INFO: Date 2025-04-11
[2025-04-11 22:49:03] Production.INFO: Reseller ==> 0
[2025-04-11 22:49:03] Production.INFO: Total Charge 0
[2025-04-11 22:49:03] Production.INFO: CreateAllLog End
[2025-04-11 22:49:03] Production.INFO: ==25271== Lock acquired, processing the job...
[2025-04-11 22:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 22:49:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 22:49:03] Production.INFO: count ==12
[2025-04-11 22:49:03] Production.INFO: ==25264== Releasing lock...
[2025-04-11 22:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 22:49:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 22:49:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 22:49:03] Production.INFO: count ==23
[2025-04-11 22:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 22:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887380') start
[2025-04-11 22:49:03] Production.INFO: Account Balance End.
[2025-04-11 22:49:03] Production.ERROR: CronJobId end 12
[2025-04-11 22:49:03] Production.INFO: ==25268== Releasing lock...
[2025-04-11 22:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 22:49:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 22:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887380') end
[2025-04-11 22:49:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 22:49:03] Production.INFO: 1
[2025-04-11 22:49:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 22:49:03] Production.INFO: ==25273== Releasing lock...
[2025-04-11 22:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 22:49:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 22:49:03] Production.ERROR: done
[2025-04-11 22:49:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 22:49:04] Production.ERROR: done
[2025-04-11 22:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 19:49:05
[end_date_ymd] => 2025-04-11 22:49:05
[RateCDR] => 1
)
[2025-04-11 22:49:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 19:49:05' and `end` < '2025-04-11 22:49:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 22:49:12] Production.ERROR: CronJobId end10
[2025-04-11 22:49:12] Production.INFO: ==25266== Releasing lock...
[2025-04-11 22:49:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 22:49:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 22:49:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 22:49:13] Production.INFO: ============== Balance Warning START===========
[2025-04-11 22:49:13] Production.INFO: ============== Balance Warning END===========
[2025-04-11 22:49:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 22:49:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 22:49:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 22:49:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 22:49:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 22:49:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 22:49:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 22:49:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 22:49:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 22:49:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 22:49:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 22:49:13] Production.INFO: call_cost start
[2025-04-11 22:49:13] Production.INFO: call_cost end
[2025-04-11 22:49:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 22:49:14] Production.INFO: ============== Report Schedule START===========
[2025-04-11 22:49:14] Production.INFO: ============== Report Schedule END===========
[2025-04-11 22:49:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 22:49:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 22:49:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 22:49:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 22:49:14] Production.INFO: ============== Deal alert START===========
[2025-04-11 22:49:14] Production.INFO: ============== Deal alert END===========
[2025-04-11 22:49:14] Production.INFO: ==25262== Releasing lock...
[2025-04-11 22:49:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 22:49:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 22:49:18] Production.INFO: count ==989
[2025-04-11 22:49:18] Production.ERROR: pbx CDR StartTime 2025-04-11 19:49:05 - End Time 2025-04-11 22:49:05
[2025-04-11 22:49:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 22:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887381', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887381', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887381', 'tblTempVendorCDR_20' ) start
[2025-04-11 22:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887381', 'tblTempVendorCDR_20' ) end
[2025-04-11 22:49:18] Production.INFO: ProcessCDR(1,14887381,1,1,2)
[2025-04-11 22:49:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887381,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:49:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887381,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:49:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887381,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:49:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887381,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887381', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887381', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:49:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 22:49:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 22:49:21] Production.INFO: ==25271== Releasing lock...
[2025-04-11 22:49:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 22:49:21] Production.INFO: 35 MB #Memory Used#
[2025-04-12 03:50:01] Production.INFO: ==25329== Lock acquired, processing the job...
[2025-04-12 03:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 03:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 03:50:01] Production.INFO: neon service started
[2025-04-12 03:50:01] Production.INFO: neon service started
[2025-04-12 03:50:01] Production.INFO: ==25329== Releasing lock...
[2025-04-12 03:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 03:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 22:50:02] Production.INFO: ==25331== Lock acquired, processing the job...
[2025-04-11 22:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 02:50:02] Production.INFO: ==25333== Lock acquired, processing the job...
[2025-04-12 02:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-11 22:50:02] Production.INFO: ==25331== Releasing lock...
[2025-04-11 22:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 22:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 02:50:02] Production.INFO: ==25333== Releasing lock...
[2025-04-12 02:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 02:50:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 22:50:03] Production.INFO: ==25335== Lock acquired, processing the job...
[2025-04-11 22:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-11 22:50:03] Production.INFO: ==25341== Lock acquired, processing the job...
[2025-04-11 22:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 22:50:03] Production.INFO: ==25349== Lock acquired, processing the job...
[2025-04-11 22:50:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 22:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-11 22:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-11 22:50:03] Production.ERROR: CronJob PID - 25341
[2025-04-11 22:50:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-04-11 22:50:03] Production.ERROR: CronJob ID - 10
[2025-04-11 22:50:03] Production.ERROR: CronJob Last Run Time 2025-04-11 22:50:00
[2025-04-11 22:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-11 22:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-11 22:50:03] Production.INFO: ==25347== Lock acquired, processing the job...
[2025-04-11 22:50:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-11 22:50:03] Production.ERROR: ========================== active cronjob end =============================
[2025-04-11 22:50:03] Production.INFO: ==25335== Releasing lock...
[2025-04-11 22:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-11 22:50:03] Production.INFO: 25.5 MB #Memory Used#
[2025-04-11 22:50:04] Production.INFO: ==25339== Lock acquired, processing the job...
[2025-04-11 22:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 22:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 22:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 22:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 22:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 22:50:04] Production.INFO: ==25337== Lock acquired, processing the job...
[2025-04-11 22:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 22:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 22:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 22:50:04] Production.INFO: count ==12
[2025-04-11 22:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 22:50:04] Production.INFO: count ==23
[2025-04-11 22:50:04] Production.INFO: ==25345== Lock acquired, processing the job...
[2025-04-11 22:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 22:50:04] Production.INFO: ==25343== Lock acquired, processing the job...
[2025-04-11 22:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 22:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887382') start
[2025-04-11 22:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 22:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 22:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887382') end
[2025-04-11 22:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 22:50:04] Production.INFO: 1
[2025-04-11 22:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 22:50:04] Production.INFO: Account Balance Start.
[2025-04-11 22:50:04] Production.INFO: CreateAllLog Start
[2025-04-11 22:50:04] Production.INFO: 117
[2025-04-11 22:50:04] Production.INFO: Date 2025-04-08
[2025-04-11 22:50:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:50:04] Production.INFO: ==25349== Releasing lock...
[2025-04-11 22:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 22:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 22:50:04] Production.ERROR: done
[2025-04-11 22:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-11 22:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14887386', 'tblTempUsageDetail_20reseller','2025-04-11','2025-04-11','1' ) start
[2025-04-11 22:50:04] Production.INFO: Date 2025-04-09
[2025-04-11 22:50:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:50:04] Production.INFO: Date 2025-04-10
[2025-04-11 22:50:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:50:04] Production.INFO: Date 2025-04-11
[2025-04-11 22:50:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:50:04] Production.INFO: Total Charge 0
[2025-04-11 22:50:04] Production.INFO: CreateAllLog End
[2025-04-11 22:50:04] Production.INFO: ==25339== Releasing lock...
[2025-04-11 22:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 22:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 22:50:04] Production.ERROR: done
[2025-04-11 22:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 22:50:04] Production.ERROR: done
[2025-04-11 22:50:05] Production.INFO: Account Balance End.
[2025-04-11 22:50:05] Production.ERROR: CronJobId end 12
[2025-04-11 22:50:05] Production.INFO: ==25343== Releasing lock...
[2025-04-11 22:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 22:50:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 22:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 19:50:06
[end_date_ymd] => 2025-04-11 22:50:06
[RateCDR] => 1
)
[2025-04-11 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-11 19:50:06' and `end` < '2025-04-11 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-11 22:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14887386', 'tblTempUsageDetail_20reseller','2025-04-11','2025-04-11','1' ) end
[2025-04-11 22:50:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-11 22:50:09] Production.INFO: ProcessCDR(1,14887386,1,1,2)
[2025-04-11 22:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14887386,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14887386,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:50:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 22:50:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 22:50:09] Production.INFO: ==25347== Releasing lock...
[2025-04-11 22:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-11 22:50:09] Production.INFO: 26 MB #Memory Used#
[2025-04-11 22:50:15] Production.ERROR: CronJobId end10
[2025-04-11 22:50:15] Production.INFO: ==25341== Releasing lock...
[2025-04-11 22:50:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 22:50:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 22:50:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 22:50:16] Production.INFO: ============== Balance Warning START===========
[2025-04-11 22:50:16] Production.INFO: ============== Balance Warning END===========
[2025-04-11 22:50:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 22:50:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 22:50:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 22:50:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 22:50:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 22:50:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 22:50:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 22:50:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 22:50:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 22:50:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 22:50:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 22:50:16] Production.INFO: call_cost start
[2025-04-11 22:50:16] Production.INFO: call_cost end
[2025-04-11 22:50:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 22:50:17] Production.INFO: ============== Report Schedule START===========
[2025-04-11 22:50:17] Production.INFO: ============== Report Schedule END===========
[2025-04-11 22:50:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 22:50:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 22:50:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 22:50:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 22:50:17] Production.INFO: ============== Deal alert START===========
[2025-04-11 22:50:17] Production.INFO: ============== Deal alert END===========
[2025-04-11 22:50:17] Production.INFO: ==25337== Releasing lock...
[2025-04-11 22:50:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 22:50:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 22:50:19] Production.INFO: count ==988
[2025-04-11 22:50:19] Production.ERROR: pbx CDR StartTime 2025-04-11 19:50:06 - End Time 2025-04-11 22:50:06
[2025-04-11 22:50:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 22:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887387', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887387', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887387', 'tblTempVendorCDR_20' ) start
[2025-04-11 22:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887387', 'tblTempVendorCDR_20' ) end
[2025-04-11 22:50:19] Production.INFO: ProcessCDR(1,14887387,1,1,2)
[2025-04-11 22:50:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887387,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:50:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887387,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:50:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887387,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:50:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887387,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:50:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887387', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:50:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887387', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:50:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 22:50:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 22:50:23] Production.INFO: ==25345== Releasing lock...
[2025-04-11 22:50:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 22:50:23] Production.INFO: 35 MB #Memory Used#
[2025-04-12 03:51:02] Production.INFO: ==25410== Lock acquired, processing the job...
[2025-04-12 03:51:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 03:51:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 03:51:02] Production.INFO: neon service started
[2025-04-12 03:51:02] Production.INFO: neon service started
[2025-04-12 03:51:02] Production.INFO: ==25410== Releasing lock...
[2025-04-12 03:51:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 03:51:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 22:51:02] Production.INFO: ==25412== Lock acquired, processing the job...
[2025-04-11 22:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 22:51:03] Production.INFO: ==25412== Releasing lock...
[2025-04-11 22:51:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 22:51:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 02:51:03] Production.INFO: ==25414== Lock acquired, processing the job...
[2025-04-12 02:51:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 02:51:03] Production.INFO: ==25414== Releasing lock...
[2025-04-12 02:51:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 02:51:03] Production.INFO: 25 MB #Memory Used#
[2025-04-11 22:51:03] Production.INFO: ==25425== Lock acquired, processing the job...
[2025-04-11 22:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 22:51:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 22:51:04] Production.INFO: ==25427== Lock acquired, processing the job...
[2025-04-11 22:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 22:51:04] Production.INFO: ==25417== Lock acquired, processing the job...
[2025-04-11 22:51:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 22:51:04] Production.INFO: ==25419== Lock acquired, processing the job...
[2025-04-11 22:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 22:51:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 22:51:04] Production.INFO: ==25421== Lock acquired, processing the job...
[2025-04-11 22:51:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 22:51:04] Production.INFO: ==25423== Lock acquired, processing the job...
[2025-04-11 22:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 22:51:04] Production.INFO: count ==12
[2025-04-11 22:51:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 22:51:04] Production.INFO: count ==23
[2025-04-11 22:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887388') start
[2025-04-11 22:51:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 22:51:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 22:51:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 22:51:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 22:51:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 22:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887388') end
[2025-04-11 22:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 22:51:04] Production.INFO: 1
[2025-04-11 22:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 22:51:04] Production.INFO: Account Balance Start.
[2025-04-11 22:51:04] Production.INFO: CreateAllLog Start
[2025-04-11 22:51:04] Production.INFO: 117
[2025-04-11 22:51:04] Production.INFO: Date 2025-04-08
[2025-04-11 22:51:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:51:04] Production.ERROR: done
[2025-04-11 22:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 22:51:04] Production.INFO: ==25427== Releasing lock...
[2025-04-11 22:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 22:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 22:51:04] Production.INFO: Date 2025-04-09
[2025-04-11 22:51:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:51:04] Production.INFO: Date 2025-04-10
[2025-04-11 22:51:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:51:04] Production.INFO: Date 2025-04-11
[2025-04-11 22:51:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:51:04] Production.INFO: Total Charge 0
[2025-04-11 22:51:04] Production.INFO: CreateAllLog End
[2025-04-11 22:51:04] Production.ERROR: done
[2025-04-11 22:51:04] Production.INFO: ==25419== Releasing lock...
[2025-04-11 22:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 22:51:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 22:51:04] Production.INFO: Account Balance End.
[2025-04-11 22:51:04] Production.ERROR: CronJobId end 12
[2025-04-11 22:51:04] Production.INFO: ==25423== Releasing lock...
[2025-04-11 22:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 22:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 22:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 19:51:05
[end_date_ymd] => 2025-04-11 22:51:05
[RateCDR] => 1
)
[2025-04-11 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-11 19:51:05' and `end` < '2025-04-11 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-11 22:51:12] Production.ERROR: CronJobId end10
[2025-04-11 22:51:12] Production.INFO: ==25421== Releasing lock...
[2025-04-11 22:51:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 22:51:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 22:51:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 22:51:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 22:51:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 22:51:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 22:51:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 22:51:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 22:51:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 22:51:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 22:51:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 22:51:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 22:51:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 22:51:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 22:51:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 22:51:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 22:51:14] Production.INFO: call_cost start
[2025-04-11 22:51:14] Production.INFO: call_cost end
[2025-04-11 22:51:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 22:51:15] Production.INFO: ============== Report Schedule START===========
[2025-04-11 22:51:15] Production.INFO: ============== Report Schedule END===========
[2025-04-11 22:51:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 22:51:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 22:51:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 22:51:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 22:51:15] Production.INFO: ============== Deal alert START===========
[2025-04-11 22:51:15] Production.INFO: ============== Deal alert END===========
[2025-04-11 22:51:15] Production.INFO: ==25417== Releasing lock...
[2025-04-11 22:51:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 22:51:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 22:51:18] Production.INFO: count ==962
[2025-04-11 22:51:18] Production.ERROR: pbx CDR StartTime 2025-04-11 19:51:05 - End Time 2025-04-11 22:51:05
[2025-04-11 22:51:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 22:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887392', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887392', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887392', 'tblTempVendorCDR_20' ) start
[2025-04-11 22:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887392', 'tblTempVendorCDR_20' ) end
[2025-04-11 22:51:18] Production.INFO: ProcessCDR(1,14887392,1,1,2)
[2025-04-11 22:51:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887392,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:51:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887392,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:51:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887392,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:51:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887392,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887392', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887392', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:51:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 22:51:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 22:51:22] Production.INFO: ==25425== Releasing lock...
[2025-04-11 22:51:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 22:51:22] Production.INFO: 34.75 MB #Memory Used#
[2025-04-12 03:52:01] Production.INFO: ==25483== Lock acquired, processing the job...
[2025-04-12 03:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 03:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 03:52:01] Production.INFO: neon service started
[2025-04-12 03:52:01] Production.INFO: neon service started
[2025-04-12 03:52:01] Production.INFO: ==25483== Releasing lock...
[2025-04-12 03:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 03:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 02:52:02] Production.INFO: ==25488== Lock acquired, processing the job...
[2025-04-12 02:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 02:52:02] Production.INFO: ==25488== Releasing lock...
[2025-04-12 02:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 02:52:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 22:52:02] Production.INFO: ==25486== Lock acquired, processing the job...
[2025-04-11 22:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 22:52:02] Production.INFO: ==25486== Releasing lock...
[2025-04-11 22:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 22:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 22:52:03] Production.INFO: ==25490== Lock acquired, processing the job...
[2025-04-11 22:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 22:52:03] Production.INFO: ==25500== Lock acquired, processing the job...
[2025-04-11 22:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 22:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 22:52:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 22:52:03] Production.INFO: ==25492== Lock acquired, processing the job...
[2025-04-11 22:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 22:52:03] Production.INFO: ==25494== Lock acquired, processing the job...
[2025-04-11 22:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 22:52:03] Production.INFO: count ==12
[2025-04-11 22:52:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 22:52:03] Production.INFO: ==25496== Lock acquired, processing the job...
[2025-04-11 22:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 22:52:03] Production.INFO: count ==23
[2025-04-11 22:52:03] Production.INFO: ==25498== Lock acquired, processing the job...
[2025-04-11 22:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 22:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887394') start
[2025-04-11 22:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 22:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 22:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 22:52:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 22:52:04] Production.INFO: Account Balance Start.
[2025-04-11 22:52:04] Production.INFO: CreateAllLog Start
[2025-04-11 22:52:04] Production.INFO: 117
[2025-04-11 22:52:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 22:52:04] Production.INFO: Date 2025-04-08
[2025-04-11 22:52:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:52:04] Production.INFO: Date 2025-04-09
[2025-04-11 22:52:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887394') end
[2025-04-11 22:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 22:52:04] Production.INFO: 1
[2025-04-11 22:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 22:52:04] Production.INFO: Date 2025-04-10
[2025-04-11 22:52:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:52:04] Production.INFO: Date 2025-04-11
[2025-04-11 22:52:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:52:04] Production.INFO: ==25500== Releasing lock...
[2025-04-11 22:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 22:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 22:52:04] Production.INFO: Total Charge 0
[2025-04-11 22:52:04] Production.INFO: CreateAllLog End
[2025-04-11 22:52:04] Production.ERROR: done
[2025-04-11 22:52:04] Production.INFO: ==25492== Releasing lock...
[2025-04-11 22:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 22:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 22:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 22:52:04] Production.ERROR: done
[2025-04-11 22:52:04] Production.INFO: Account Balance End.
[2025-04-11 22:52:04] Production.ERROR: CronJobId end 12
[2025-04-11 22:52:04] Production.INFO: ==25496== Releasing lock...
[2025-04-11 22:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 22:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 22:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 19:52:05
[end_date_ymd] => 2025-04-11 22:52:05
[RateCDR] => 1
)
[2025-04-11 22:52:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 19:52:05' and `end` < '2025-04-11 22:52:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 22:52:12] Production.ERROR: CronJobId end10
[2025-04-11 22:52:12] Production.INFO: ==25494== Releasing lock...
[2025-04-11 22:52:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 22:52:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 22:52:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 22:52:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 22:52:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 22:52:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 22:52:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 22:52:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 22:52:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 22:52:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 22:52:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 22:52:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 22:52:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 22:52:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 22:52:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 22:52:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 22:52:15] Production.INFO: call_cost start
[2025-04-11 22:52:15] Production.INFO: call_cost end
[2025-04-11 22:52:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 22:52:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 22:52:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 22:52:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 22:52:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 22:52:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 22:52:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 22:52:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 22:52:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 22:52:16] Production.INFO: ==25490== Releasing lock...
[2025-04-11 22:52:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 22:52:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 22:52:18] Production.INFO: count ==960
[2025-04-11 22:52:19] Production.ERROR: pbx CDR StartTime 2025-04-11 19:52:05 - End Time 2025-04-11 22:52:05
[2025-04-11 22:52:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 22:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887397', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887397', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887397', 'tblTempVendorCDR_20' ) start
[2025-04-11 22:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887397', 'tblTempVendorCDR_20' ) end
[2025-04-11 22:52:19] Production.INFO: ProcessCDR(1,14887397,1,1,2)
[2025-04-11 22:52:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887397,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:52:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887397,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:52:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887397,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:52:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887397,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887397', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887397', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:52:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 22:52:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 22:52:22] Production.INFO: ==25498== Releasing lock...
[2025-04-11 22:52:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 22:52:22] Production.INFO: 34.75 MB #Memory Used#
[2025-04-12 03:53:02] Production.INFO: ==25556== Lock acquired, processing the job...
[2025-04-12 03:53:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 03:53:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 03:53:02] Production.INFO: neon service started
[2025-04-12 03:53:02] Production.INFO: neon service started
[2025-04-12 03:53:02] Production.INFO: ==25556== Releasing lock...
[2025-04-12 03:53:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 03:53:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 02:53:02] Production.INFO: ==25561== Lock acquired, processing the job...
[2025-04-12 02:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 02:53:02] Production.INFO: ==25561== Releasing lock...
[2025-04-12 02:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 02:53:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 22:53:03] Production.INFO: ==25559== Lock acquired, processing the job...
[2025-04-11 22:53:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 22:53:03] Production.INFO: ==25559== Releasing lock...
[2025-04-11 22:53:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 22:53:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 22:53:04] Production.INFO: ==25563== Lock acquired, processing the job...
[2025-04-11 22:53:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 22:53:04] Production.INFO: ==25565== Lock acquired, processing the job...
[2025-04-11 22:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 22:53:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 22:53:04] Production.INFO: ==25571== Lock acquired, processing the job...
[2025-04-11 22:53:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 22:53:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 22:53:04] Production.INFO: ==25567== Lock acquired, processing the job...
[2025-04-11 22:53:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 22:53:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 22:53:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 22:53:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 22:53:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 22:53:04] Production.INFO: ==25569== Lock acquired, processing the job...
[2025-04-11 22:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 22:53:04] Production.INFO: ==25573== Lock acquired, processing the job...
[2025-04-11 22:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 22:53:04] Production.INFO: ==25565== Releasing lock...
[2025-04-11 22:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 22:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 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-11 22:53:04] Production.INFO: Account Balance Start.
[2025-04-11 22:53:04] Production.INFO: CreateAllLog Start
[2025-04-11 22:53:04] Production.INFO: 117
[2025-04-11 22:53:04] Production.INFO: Date 2025-04-08
[2025-04-11 22:53:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:53:04] Production.INFO: count ==12
[2025-04-11 22:53: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-11 22:53:05] Production.INFO: count ==23
[2025-04-11 22:53:05] Production.ERROR: done
[2025-04-11 22:53:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 22:53:05] Production.ERROR: PBX CALL prc_importPBXExtension('14887400') start
[2025-04-11 22:53:05] Production.INFO: Date 2025-04-09
[2025-04-11 22:53:05] Production.INFO: Reseller ==> 0
[2025-04-11 22:53:05] Production.INFO: Date 2025-04-10
[2025-04-11 22:53:05] Production.INFO: Reseller ==> 0
[2025-04-11 22:53:05] Production.INFO: Date 2025-04-11
[2025-04-11 22:53:05] Production.INFO: Reseller ==> 0
[2025-04-11 22:53:05] Production.ERROR: PBX CALL prc_importPBXExtension('14887400') end
[2025-04-11 22:53:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 22:53:05] Production.INFO: 1
[2025-04-11 22:53:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 22:53:05] Production.ERROR: done
[2025-04-11 22:53:05] Production.INFO: Total Charge 0
[2025-04-11 22:53:05] Production.INFO: ==25573== Releasing lock...
[2025-04-11 22:53:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 22:53:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 22:53:05] Production.INFO: CreateAllLog End
[2025-04-11 22:53:05] Production.INFO: Account Balance End.
[2025-04-11 22:53:05] Production.ERROR: CronJobId end 12
[2025-04-11 22:53:05] Production.INFO: ==25569== Releasing lock...
[2025-04-11 22:53:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 22:53:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 22:53:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 19:53:06
[end_date_ymd] => 2025-04-11 22:53:06
[RateCDR] => 1
)
[2025-04-11 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-11 19:53:06' and `end` < '2025-04-11 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-11 22:53:14] Production.ERROR: CronJobId end10
[2025-04-11 22:53:14] Production.INFO: ==25567== Releasing lock...
[2025-04-11 22:53:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 22:53:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 22:53:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 22:53:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 22:53:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 22:53:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 22:53:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 22:53:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 22:53:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 22:53:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 22:53:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 22:53:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 22:53:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 22:53:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 22:53:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 22:53:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 22:53:16] Production.INFO: call_cost start
[2025-04-11 22:53:16] Production.INFO: call_cost end
[2025-04-11 22:53:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 22:53:17] Production.INFO: ============== Report Schedule START===========
[2025-04-11 22:53:17] Production.INFO: ============== Report Schedule END===========
[2025-04-11 22:53:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 22:53:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 22:53:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 22:53:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 22:53:17] Production.INFO: ============== Deal alert START===========
[2025-04-11 22:53:17] Production.INFO: ============== Deal alert END===========
[2025-04-11 22:53:17] Production.INFO: ==25563== Releasing lock...
[2025-04-11 22:53:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 22:53:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 22:53:19] Production.INFO: count ==960
[2025-04-11 22:53:19] Production.ERROR: pbx CDR StartTime 2025-04-11 19:53:06 - End Time 2025-04-11 22:53:06
[2025-04-11 22:53:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 22:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887402', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887402', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887402', 'tblTempVendorCDR_20' ) start
[2025-04-11 22:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887402', 'tblTempVendorCDR_20' ) end
[2025-04-11 22:53:19] Production.INFO: ProcessCDR(1,14887402,1,1,2)
[2025-04-11 22:53:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887402,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:53:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887402,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:53:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887402,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:53:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887402,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:53:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887402', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:53:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887402', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:53:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 22:53:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 22:53:23] Production.INFO: ==25571== Releasing lock...
[2025-04-11 22:53:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 22:53:23] Production.INFO: 34.75 MB #Memory Used#
[2025-04-12 03:54:02] Production.INFO: ==25632== Lock acquired, processing the job...
[2025-04-12 03:54:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 03:54:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 03:54:02] Production.INFO: neon service started
[2025-04-12 03:54:02] Production.INFO: neon service started
[2025-04-12 03:54:02] Production.INFO: ==25632== Releasing lock...
[2025-04-12 03:54:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 03:54:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 02:54:02] Production.INFO: ==25636== Lock acquired, processing the job...
[2025-04-12 02:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 02:54:02] Production.INFO: ==25636== Releasing lock...
[2025-04-12 02:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 02:54:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 22:54:02] Production.INFO: ==25634== Lock acquired, processing the job...
[2025-04-11 22:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 22:54:02] Production.INFO: ==25634== Releasing lock...
[2025-04-11 22:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 22:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 22:54:03] Production.INFO: ==25643== Lock acquired, processing the job...
[2025-04-11 22:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 22:54:03] Production.INFO: ==25639== Lock acquired, processing the job...
[2025-04-11 22:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 22:54:03] Production.INFO: ==25649== Lock acquired, processing the job...
[2025-04-11 22:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 22:54:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 22:54:04] Production.INFO: ==25641== Lock acquired, processing the job...
[2025-04-11 22:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 22:54:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 22:54:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 22:54:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 22:54:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 22:54:04] Production.INFO: ==25645== Lock acquired, processing the job...
[2025-04-11 22:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 22:54:04] Production.INFO: ==25647== Lock acquired, processing the job...
[2025-04-11 22:54:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 22:54:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 22:54:04] Production.INFO: count ==12
[2025-04-11 22:54:04] Production.INFO: Account Balance Start.
[2025-04-11 22:54:04] Production.INFO: CreateAllLog Start
[2025-04-11 22:54:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 22:54:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 22:54:04] Production.INFO: 117
[2025-04-11 22:54:04] Production.INFO: Date 2025-04-08
[2025-04-11 22:54:04] Production.INFO: count ==23
[2025-04-11 22:54:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887404') start
[2025-04-11 22:54:04] Production.INFO: Date 2025-04-09
[2025-04-11 22:54:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:54:04] Production.INFO: Date 2025-04-10
[2025-04-11 22:54:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:54:04] Production.INFO: Date 2025-04-11
[2025-04-11 22:54:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:54:04] Production.INFO: Total Charge 0
[2025-04-11 22:54:04] Production.INFO: CreateAllLog End
[2025-04-11 22:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887404') end
[2025-04-11 22:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 22:54:04] Production.INFO: 1
[2025-04-11 22:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 22:54:04] Production.INFO: ==25641== Releasing lock...
[2025-04-11 22:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 22:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 22:54:04] Production.INFO: ==25649== Releasing lock...
[2025-04-11 22:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 22:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 22:54:04] Production.ERROR: done
[2025-04-11 22:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 22:54:04] Production.ERROR: done
[2025-04-11 22:54:05] Production.INFO: Account Balance End.
[2025-04-11 22:54:05] Production.ERROR: CronJobId end 12
[2025-04-11 22:54:05] Production.INFO: ==25645== Releasing lock...
[2025-04-11 22:54:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 22:54:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 22:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 19:54:05
[end_date_ymd] => 2025-04-11 22:54:05
[RateCDR] => 1
)
[2025-04-11 22:54:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 19:54:05' and `end` < '2025-04-11 22:54:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 22:54:12] Production.ERROR: CronJobId end10
[2025-04-11 22:54:12] Production.INFO: ==25643== Releasing lock...
[2025-04-11 22:54:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 22:54:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 22:54:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 22:54:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 22:54:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 22:54:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 22:54:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 22:54:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 22:54:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 22:54:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 22:54:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 22:54:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 22:54:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 22:54:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 22:54:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 22:54:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 22:54:15] Production.INFO: call_cost start
[2025-04-11 22:54:15] Production.INFO: call_cost end
[2025-04-11 22:54:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 22:54:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 22:54:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 22:54:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 22:54:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 22:54:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 22:54:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 22:54:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 22:54:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 22:54:16] Production.INFO: ==25639== Releasing lock...
[2025-04-11 22:54:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 22:54:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 22:54:18] Production.INFO: count ==962
[2025-04-11 22:54:18] Production.ERROR: pbx CDR StartTime 2025-04-11 19:54:05 - End Time 2025-04-11 22:54:05
[2025-04-11 22:54:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 22:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887407', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887407', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887407', 'tblTempVendorCDR_20' ) start
[2025-04-11 22:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887407', 'tblTempVendorCDR_20' ) end
[2025-04-11 22:54:18] Production.INFO: ProcessCDR(1,14887407,1,1,2)
[2025-04-11 22:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887407,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:54:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887407,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:54:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887407,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:54:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887407,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887407', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887407', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:54:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 22:54:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 22:54:22] Production.INFO: ==25647== Releasing lock...
[2025-04-11 22:54:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 22:54:22] Production.INFO: 34.75 MB #Memory Used#
[2025-04-12 03:55:01] Production.INFO: ==25703== Lock acquired, processing the job...
[2025-04-12 03:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 03:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 03:55:01] Production.INFO: neon service started
[2025-04-12 03:55:01] Production.INFO: neon service started
[2025-04-12 03:55:01] Production.INFO: ==25703== Releasing lock...
[2025-04-12 03:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 03:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 02:55:01] Production.INFO: ==25707== Lock acquired, processing the job...
[2025-04-12 02:55:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 02:55:01] Production.INFO: ==25707== Releasing lock...
[2025-04-12 02:55:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 02:55:01] Production.INFO: 25 MB #Memory Used#
[2025-04-11 22:55:02] Production.INFO: ==25705== Lock acquired, processing the job...
[2025-04-11 22:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 22:55:02] Production.INFO: ==25705== Releasing lock...
[2025-04-11 22:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 22:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 22:55:03] Production.INFO: ==25712== Lock acquired, processing the job...
[2025-04-11 22:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 22:55:03] Production.INFO: ==25714== Lock acquired, processing the job...
[2025-04-11 22:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 22:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 22:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 22:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 22:55:03] Production.INFO: ==25718== Lock acquired, processing the job...
[2025-04-11 22:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 22:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 22:55:03] Production.INFO: ==25712== Releasing lock...
[2025-04-11 22:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 22:55:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 22:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 22:55:03] Production.INFO: ==25710== Lock acquired, processing the job...
[2025-04-11 22:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 22:55:03] Production.INFO: ==25716== Lock acquired, processing the job...
[2025-04-11 22:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 22:55:03] Production.INFO: ==25720== Lock acquired, processing the job...
[2025-04-11 22:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 22:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 22:55:03] Production.ERROR: done
[2025-04-11 22:55:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 22:55:03] Production.INFO: Account Balance Start.
[2025-04-11 22:55:03] Production.INFO: CreateAllLog Start
[2025-04-11 22:55:03] Production.INFO: 117
[2025-04-11 22:55:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 22:55:04] Production.INFO: Date 2025-04-08
[2025-04-11 22:55:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:55:04] Production.INFO: count ==12
[2025-04-11 22:55:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 22:55:04] Production.INFO: count ==23
[2025-04-11 22:55:04] Production.INFO: Date 2025-04-09
[2025-04-11 22:55:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:55:04] Production.ERROR: done
[2025-04-11 22:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887411') start
[2025-04-11 22:55:04] Production.INFO: Date 2025-04-10
[2025-04-11 22:55:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:55:04] Production.INFO: Date 2025-04-11
[2025-04-11 22:55:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:55:04] Production.INFO: Total Charge 0
[2025-04-11 22:55:04] Production.INFO: CreateAllLog End
[2025-04-11 22:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887411') end
[2025-04-11 22:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 22:55:04] Production.INFO: 1
[2025-04-11 22:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 22:55:04] Production.INFO: ==25720== Releasing lock...
[2025-04-11 22:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 22:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 22:55:04] Production.INFO: Account Balance End.
[2025-04-11 22:55:04] Production.ERROR: CronJobId end 12
[2025-04-11 22:55:04] Production.INFO: ==25716== Releasing lock...
[2025-04-11 22:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 22:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 22:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 19:55:05
[end_date_ymd] => 2025-04-11 22:55:05
[RateCDR] => 1
)
[2025-04-11 22:55:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 19:55:05' and `end` < '2025-04-11 22:55:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 22:55:13] Production.ERROR: CronJobId end10
[2025-04-11 22:55:13] Production.INFO: ==25714== Releasing lock...
[2025-04-11 22:55:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 22:55:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 22:55:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 22:55:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 22:55:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 22:55:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 22:55:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 22:55:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 22:55:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 22:55:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 22:55:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 22:55:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 22:55:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 22:55:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 22:55:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 22:55:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 22:55:15] Production.INFO: call_cost start
[2025-04-11 22:55:15] Production.INFO: call_cost end
[2025-04-11 22:55:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 22:55:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 22:55:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 22:55:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 22:55:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 22:55:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 22:55:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 22:55:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 22:55:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 22:55:16] Production.INFO: ==25710== Releasing lock...
[2025-04-11 22:55:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 22:55:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 22:55:18] Production.INFO: count ==961
[2025-04-11 22:55:18] Production.ERROR: pbx CDR StartTime 2025-04-11 19:55:05 - End Time 2025-04-11 22:55:05
[2025-04-11 22:55:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 22:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887412', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887412', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887412', 'tblTempVendorCDR_20' ) start
[2025-04-11 22:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887412', 'tblTempVendorCDR_20' ) end
[2025-04-11 22:55:18] Production.INFO: ProcessCDR(1,14887412,1,1,2)
[2025-04-11 22:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887412,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:55:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887412,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:55:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887412,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:55:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887412,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887412', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887412', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:55:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 22:55:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 22:55:22] Production.INFO: ==25718== Releasing lock...
[2025-04-11 22:55:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 22:55:22] Production.INFO: 34.75 MB #Memory Used#
[2025-04-12 03:56:02] Production.INFO: ==25775== Lock acquired, processing the job...
[2025-04-12 03:56:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 03:56:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 03:56:02] Production.INFO: neon service started
[2025-04-12 03:56:02] Production.INFO: neon service started
[2025-04-12 03:56:02] Production.INFO: ==25775== Releasing lock...
[2025-04-12 03:56:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 03:56:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 02:56:02] Production.INFO: ==25779== Lock acquired, processing the job...
[2025-04-12 02:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 02:56:02] Production.INFO: ==25779== Releasing lock...
[2025-04-12 02:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 02:56:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 22:56:02] Production.INFO: ==25777== Lock acquired, processing the job...
[2025-04-11 22:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 22:56:02] Production.INFO: ==25777== Releasing lock...
[2025-04-11 22:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 22:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 22:56:03] Production.INFO: ==25782== Lock acquired, processing the job...
[2025-04-11 22:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 22:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 22:56:03] Production.INFO: ==25788== Lock acquired, processing the job...
[2025-04-11 22:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 22:56:03] Production.INFO: ==25792== Lock acquired, processing the job...
[2025-04-11 22:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 22:56:03] Production.INFO: ==25786== Lock acquired, processing the job...
[2025-04-11 22:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 22:56:03] Production.INFO: ==25784== Lock acquired, processing the job...
[2025-04-11 22:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 22:56:04] Production.INFO: Account Balance Start.
[2025-04-11 22:56:04] Production.INFO: CreateAllLog Start
[2025-04-11 22:56:04] Production.INFO: 117
[2025-04-11 22:56:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 22:56:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 22:56:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 22:56:04] Production.INFO: Date 2025-04-08
[2025-04-11 22:56:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:56:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 22:56:04] Production.INFO: Date 2025-04-09
[2025-04-11 22:56:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:56:04] Production.INFO: Date 2025-04-10
[2025-04-11 22:56:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:56:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 22:56:04] Production.INFO: ==25790== Lock acquired, processing the job...
[2025-04-11 22:56:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 22:56:04] Production.INFO: Date 2025-04-11
[2025-04-11 22:56:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:56:04] Production.INFO: count ==12
[2025-04-11 22:56:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 22:56:04] Production.INFO: count ==23
[2025-04-11 22:56:04] Production.INFO: Total Charge 0
[2025-04-11 22:56:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 22:56:04] Production.INFO: CreateAllLog End
[2025-04-11 22:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887415') start
[2025-04-11 22:56:04] Production.INFO: ==25784== Releasing lock...
[2025-04-11 22:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 22:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 22:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887415') end
[2025-04-11 22:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 22:56:04] Production.INFO: 1
[2025-04-11 22:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 22:56:04] Production.ERROR: done
[2025-04-11 22:56:04] Production.INFO: ==25792== Releasing lock...
[2025-04-11 22:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 22:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 22:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 22:56:04] Production.INFO: Account Balance End.
[2025-04-11 22:56:04] Production.ERROR: CronJobId end 12
[2025-04-11 22:56:04] Production.INFO: ==25788== Releasing lock...
[2025-04-11 22:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 22:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 22:56:04] Production.ERROR: done
[2025-04-11 22:56:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 19:56:06
[end_date_ymd] => 2025-04-11 22:56:06
[RateCDR] => 1
)
[2025-04-11 22: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-11 19:56:06' and `end` < '2025-04-11 22: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-11 22:56:13] Production.ERROR: CronJobId end10
[2025-04-11 22:56:13] Production.INFO: ==25786== Releasing lock...
[2025-04-11 22:56:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 22:56:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 22:56:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 22:56:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 22:56:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 22:56:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 22:56:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 22:56:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 22:56:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 22:56:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 22:56:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 22:56:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 22:56:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 22:56:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 22:56:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 22:56:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 22:56:14] Production.INFO: call_cost start
[2025-04-11 22:56:14] Production.INFO: call_cost end
[2025-04-11 22:56:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 22:56:15] Production.INFO: ============== Report Schedule START===========
[2025-04-11 22:56:15] Production.INFO: ============== Report Schedule END===========
[2025-04-11 22:56:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 22:56:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 22:56:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 22:56:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 22:56:15] Production.INFO: ============== Deal alert START===========
[2025-04-11 22:56:15] Production.INFO: ============== Deal alert END===========
[2025-04-11 22:56:15] Production.INFO: ==25782== Releasing lock...
[2025-04-11 22:56:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 22:56:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 22:56:19] Production.INFO: count ==959
[2025-04-11 22:56:19] Production.ERROR: pbx CDR StartTime 2025-04-11 19:56:06 - End Time 2025-04-11 22:56:06
[2025-04-11 22:56:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 22:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887417', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887417', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887417', 'tblTempVendorCDR_20' ) start
[2025-04-11 22:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887417', 'tblTempVendorCDR_20' ) end
[2025-04-11 22:56:19] Production.INFO: ProcessCDR(1,14887417,1,1,2)
[2025-04-11 22:56:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887417,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:56:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887417,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:56:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887417,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:56:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887417,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887417', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887417', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:56:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 22:56:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 22:56:22] Production.INFO: ==25790== Releasing lock...
[2025-04-11 22:56:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 22:56:22] Production.INFO: 34.75 MB #Memory Used#
[2025-04-12 03:57:01] Production.INFO: ==25859== Lock acquired, processing the job...
[2025-04-12 03:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 03:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 03:57:01] Production.INFO: neon service started
[2025-04-12 03:57:01] Production.INFO: neon service started
[2025-04-12 03:57:01] Production.INFO: ==25859== Releasing lock...
[2025-04-12 03:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 03:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 02:57:01] Production.INFO: ==25863== Lock acquired, processing the job...
[2025-04-12 02:57:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 02:57:01] Production.INFO: ==25863== Releasing lock...
[2025-04-12 02:57:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 02:57:01] Production.INFO: 25 MB #Memory Used#
[2025-04-11 22:57:01] Production.INFO: ==25861== Lock acquired, processing the job...
[2025-04-11 22:57:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 22:57:02] Production.INFO: ==25861== Releasing lock...
[2025-04-11 22:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 22:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 22:57:03] Production.INFO: ==25867== Lock acquired, processing the job...
[2025-04-11 22:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 22:57:03] Production.INFO: ==25869== Lock acquired, processing the job...
[2025-04-11 22:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 22:57:03] Production.INFO: ==25865== Lock acquired, processing the job...
[2025-04-11 22:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 22:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 22:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 22:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 22:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 22:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 22:57:03] Production.INFO: ==25871== Lock acquired, processing the job...
[2025-04-11 22:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 22:57:03] Production.INFO: ==25867== Releasing lock...
[2025-04-11 22:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 22:57:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 22:57:03] Production.INFO: Account Balance Start.
[2025-04-11 22:57:03] Production.INFO: CreateAllLog Start
[2025-04-11 22:57:03] Production.INFO: 117
[2025-04-11 22:57:03] Production.INFO: Date 2025-04-08
[2025-04-11 22:57:03] Production.INFO: Reseller ==> 0
[2025-04-11 22:57:03] Production.INFO: Date 2025-04-09
[2025-04-11 22:57:03] Production.INFO: Reseller ==> 0
[2025-04-11 22:57:03] Production.INFO: Date 2025-04-10
[2025-04-11 22:57:03] Production.INFO: ==25873== Lock acquired, processing the job...
[2025-04-11 22:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 22:57:03] Production.INFO: Reseller ==> 0
[2025-04-11 22:57:03] Production.INFO: Date 2025-04-11
[2025-04-11 22:57:03] Production.INFO: Reseller ==> 0
[2025-04-11 22:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 22:57:03] Production.INFO: Total Charge 0
[2025-04-11 22:57:03] Production.INFO: ==25876== Lock acquired, processing the job...
[2025-04-11 22:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 22:57:03] Production.INFO: CreateAllLog End
[2025-04-11 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-11 22:57:03] Production.INFO: count ==12
[2025-04-11 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-11 22:57:03] Production.INFO: count ==23
[2025-04-11 22:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887421') start
[2025-04-11 22:57:04] Production.INFO: Account Balance End.
[2025-04-11 22:57:04] Production.ERROR: CronJobId end 12
[2025-04-11 22:57:04] Production.INFO: ==25871== Releasing lock...
[2025-04-11 22:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 22:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 22:57:04] Production.ERROR: done
[2025-04-11 22:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887421') end
[2025-04-11 22:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 22:57:04] Production.INFO: 1
[2025-04-11 22:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 22:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 22:57:04] Production.INFO: ==25876== Releasing lock...
[2025-04-11 22:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 22:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 22:57:04] Production.ERROR: done
[2025-04-11 22:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 19:57:05
[end_date_ymd] => 2025-04-11 22:57:05
[RateCDR] => 1
)
[2025-04-11 22:57:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 19:57:05' and `end` < '2025-04-11 22:57:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 22:57:12] Production.ERROR: CronJobId end10
[2025-04-11 22:57:12] Production.INFO: ==25869== Releasing lock...
[2025-04-11 22:57:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 22:57:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 22:57:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 22:57:13] Production.INFO: ============== Balance Warning START===========
[2025-04-11 22:57:13] Production.INFO: ============== Balance Warning END===========
[2025-04-11 22:57:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 22:57:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 22:57:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 22:57:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 22:57:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 22:57:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 22:57:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 22:57:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 22:57:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 22:57:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 22:57:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 22:57:14] Production.INFO: call_cost start
[2025-04-11 22:57:14] Production.INFO: call_cost end
[2025-04-11 22:57:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 22:57:15] Production.INFO: ============== Report Schedule START===========
[2025-04-11 22:57:15] Production.INFO: ============== Report Schedule END===========
[2025-04-11 22:57:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 22:57:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 22:57:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 22:57:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 22:57:15] Production.INFO: ============== Deal alert START===========
[2025-04-11 22:57:15] Production.INFO: ============== Deal alert END===========
[2025-04-11 22:57:15] Production.INFO: ==25865== Releasing lock...
[2025-04-11 22:57:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 22:57:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 22:57:18] Production.INFO: count ==956
[2025-04-11 22:57:18] Production.ERROR: pbx CDR StartTime 2025-04-11 19:57:05 - End Time 2025-04-11 22:57:05
[2025-04-11 22:57:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 22:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887422', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887422', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887422', 'tblTempVendorCDR_20' ) start
[2025-04-11 22:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887422', 'tblTempVendorCDR_20' ) end
[2025-04-11 22:57:18] Production.INFO: ProcessCDR(1,14887422,1,1,2)
[2025-04-11 22:57:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887422,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:57:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887422,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:57:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887422,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:57:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887422,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887422', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887422', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:57:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 22:57:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 22:57:21] Production.INFO: ==25873== Releasing lock...
[2025-04-11 22:57:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 22:57:21] Production.INFO: 34.75 MB #Memory Used#
[2025-04-12 03:58:01] Production.INFO: ==25934== Lock acquired, processing the job...
[2025-04-12 03:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 03:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 03:58:01] Production.INFO: neon service started
[2025-04-12 03:58:01] Production.INFO: neon service started
[2025-04-12 03:58:01] Production.INFO: ==25934== Releasing lock...
[2025-04-12 03:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 03:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 22:58:02] Production.INFO: ==25936== Lock acquired, processing the job...
[2025-04-11 22:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 22:58:02] Production.INFO: ==25936== Releasing lock...
[2025-04-11 22:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 22:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 02:58:02] Production.INFO: ==25938== Lock acquired, processing the job...
[2025-04-12 02:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 02:58:02] Production.INFO: ==25938== Releasing lock...
[2025-04-12 02:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 02:58:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 22:58:03] Production.INFO: ==25940== Lock acquired, processing the job...
[2025-04-11 22:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 22:58:03] Production.INFO: ==25944== Lock acquired, processing the job...
[2025-04-11 22:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 22:58:03] Production.INFO: ==25946== Lock acquired, processing the job...
[2025-04-11 22:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 22:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 22:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 22:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 22:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 22:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 22:58:03] Production.INFO: Account Balance Start.
[2025-04-11 22:58:03] Production.INFO: CreateAllLog Start
[2025-04-11 22:58:03] Production.INFO: 117
[2025-04-11 22:58:03] Production.INFO: Date 2025-04-08
[2025-04-11 22:58:03] Production.INFO: Reseller ==> 0
[2025-04-11 22:58:03] Production.INFO: ==25950== Lock acquired, processing the job...
[2025-04-11 22:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 22:58:03] Production.INFO: Date 2025-04-09
[2025-04-11 22:58:03] Production.INFO: Reseller ==> 0
[2025-04-11 22:58:03] Production.INFO: ==25942== Lock acquired, processing the job...
[2025-04-11 22:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 22:58:03] Production.INFO: Date 2025-04-10
[2025-04-11 22:58:03] Production.INFO: Reseller ==> 0
[2025-04-11 22:58:03] Production.INFO: Date 2025-04-11
[2025-04-11 22:58:03] Production.INFO: Reseller ==> 0
[2025-04-11 22:58:03] Production.INFO: ==25948== Lock acquired, processing the job...
[2025-04-11 22:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 22:58:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 22:58:03] Production.INFO: Total Charge 0
[2025-04-11 22:58:03] Production.INFO: count ==12
[2025-04-11 22:58:03] Production.INFO: CreateAllLog End
[2025-04-11 22:58:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 22:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 22:58:03] Production.INFO: count ==23
[2025-04-11 22:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887425') start
[2025-04-11 22:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887425') end
[2025-04-11 22:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 22:58:04] Production.INFO: 1
[2025-04-11 22:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 22:58:04] Production.INFO: ==25950== Releasing lock...
[2025-04-11 22:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 22:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 22:58:04] Production.ERROR: done
[2025-04-11 22:58:04] Production.INFO: ==25942== Releasing lock...
[2025-04-11 22:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 22:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 22:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 22:58:04] Production.INFO: Account Balance End.
[2025-04-11 22:58:04] Production.ERROR: CronJobId end 12
[2025-04-11 22:58:04] Production.INFO: ==25946== Releasing lock...
[2025-04-11 22:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 22:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 22:58:04] Production.ERROR: done
[2025-04-11 22:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 19:58:05
[end_date_ymd] => 2025-04-11 22:58:05
[RateCDR] => 1
)
[2025-04-11 22:58:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 19:58:05' and `end` < '2025-04-11 22:58:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 22:58:11] Production.ERROR: CronJobId end10
[2025-04-11 22:58:11] Production.INFO: ==25944== Releasing lock...
[2025-04-11 22:58:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 22:58:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 22:58:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 22:58:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 22:58:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 22:58:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 22:58:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 22:58:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 22:58:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 22:58:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 22:58:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 22:58:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 22:58:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 22:58:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 22:58:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 22:58:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 22:58:15] Production.INFO: call_cost start
[2025-04-11 22:58:15] Production.INFO: call_cost end
[2025-04-11 22:58:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 22:58:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 22:58:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 22:58:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 22:58:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 22:58:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 22:58:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 22:58:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 22:58:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 22:58:16] Production.INFO: ==25940== Releasing lock...
[2025-04-11 22:58:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 22:58:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 22:58:18] Production.INFO: count ==951
[2025-04-11 22:58:18] Production.ERROR: pbx CDR StartTime 2025-04-11 19:58:05 - End Time 2025-04-11 22:58:05
[2025-04-11 22:58:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 22:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887427', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887427', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887427', 'tblTempVendorCDR_20' ) start
[2025-04-11 22:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887427', 'tblTempVendorCDR_20' ) end
[2025-04-11 22:58:18] Production.INFO: ProcessCDR(1,14887427,1,1,2)
[2025-04-11 22:58:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887427,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:58:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887427,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:58:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887427,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:58:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887427,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887427', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887427', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:58:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 22:58:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 22:58:22] Production.INFO: ==25948== Releasing lock...
[2025-04-11 22:58:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 22:58:22] Production.INFO: 34.75 MB #Memory Used#
[2025-04-12 03:59:02] Production.INFO: ==26011== Lock acquired, processing the job...
[2025-04-12 03:59:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 03:59:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 03:59:02] Production.INFO: neon service started
[2025-04-12 03:59:02] Production.INFO: neon service started
[2025-04-12 03:59:02] Production.INFO: ==26011== Releasing lock...
[2025-04-12 03:59:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 03:59:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 22:59:02] Production.INFO: ==26013== Lock acquired, processing the job...
[2025-04-11 22:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 22:59:03] Production.INFO: ==26013== Releasing lock...
[2025-04-11 22:59:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 22:59:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 02:59:03] Production.INFO: ==26015== Lock acquired, processing the job...
[2025-04-12 02:59:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 02:59:03] Production.INFO: ==26015== Releasing lock...
[2025-04-12 02:59:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 02:59:03] Production.INFO: 25 MB #Memory Used#
[2025-04-11 22:59:03] Production.INFO: ==26021== Lock acquired, processing the job...
[2025-04-11 22:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 22:59:04] Production.INFO: ==26028== Lock acquired, processing the job...
[2025-04-11 22:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 22:59:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 22:59:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 22:59:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 22:59:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 22:59:04] Production.INFO: ==26019== Lock acquired, processing the job...
[2025-04-11 22:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 22:59:04] Production.INFO: ==26017== Lock acquired, processing the job...
[2025-04-11 22:59:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 22:59:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 22:59:04] Production.INFO: count ==12
[2025-04-11 22:59:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 22:59:04] Production.INFO: count ==23
[2025-04-11 22:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887428') start
[2025-04-11 22:59:04] Production.INFO: ==26023== Lock acquired, processing the job...
[2025-04-11 22:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 22:59:04] Production.INFO: ==26025== Lock acquired, processing the job...
[2025-04-11 22:59:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 22:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887428') end
[2025-04-11 22:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 22:59:04] Production.INFO: 1
[2025-04-11 22:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 22:59:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 22:59:04] Production.INFO: ==26028== Releasing lock...
[2025-04-11 22:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 22:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 22:59:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 22:59:04] Production.INFO: Account Balance Start.
[2025-04-11 22:59:04] Production.INFO: CreateAllLog Start
[2025-04-11 22:59:04] Production.INFO: 117
[2025-04-11 22:59:04] Production.INFO: Date 2025-04-08
[2025-04-11 22:59:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:59:04] Production.INFO: Date 2025-04-09
[2025-04-11 22:59:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:59:04] Production.INFO: ==26019== Releasing lock...
[2025-04-11 22:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 22:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 22:59:04] Production.ERROR: done
[2025-04-11 22:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 22:59:04] Production.INFO: Date 2025-04-10
[2025-04-11 22:59:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:59:04] Production.ERROR: done
[2025-04-11 22:59:04] Production.INFO: Date 2025-04-11
[2025-04-11 22:59:04] Production.INFO: Reseller ==> 0
[2025-04-11 22:59:05] Production.INFO: Total Charge 0
[2025-04-11 22:59:05] Production.INFO: CreateAllLog End
[2025-04-11 22:59:05] Production.INFO: Account Balance End.
[2025-04-11 22:59:05] Production.ERROR: CronJobId end 12
[2025-04-11 22:59:05] Production.INFO: ==26023== Releasing lock...
[2025-04-11 22:59:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 22:59:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 22:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 19:59:05
[end_date_ymd] => 2025-04-11 22:59:05
[RateCDR] => 1
)
[2025-04-11 22:59:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 19:59:05' and `end` < '2025-04-11 22:59:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 22:59:13] Production.ERROR: CronJobId end10
[2025-04-11 22:59:13] Production.INFO: ==26021== Releasing lock...
[2025-04-11 22:59:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 22:59:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 22:59:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 22:59:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 22:59:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 22:59:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 22:59:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 22:59:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 22:59:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 22:59:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 22:59:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 22:59:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 22:59:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 22:59:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 22:59:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 22:59:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 22:59:15] Production.INFO: call_cost start
[2025-04-11 22:59:15] Production.INFO: call_cost end
[2025-04-11 22:59:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 22:59:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 22:59:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 22:59:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 22:59:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 22:59:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 22:59:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 22:59:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 22:59:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 22:59:16] Production.INFO: ==26017== Releasing lock...
[2025-04-11 22:59:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 22:59:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 22:59:18] Production.INFO: count ==952
[2025-04-11 22:59:18] Production.ERROR: pbx CDR StartTime 2025-04-11 19:59:05 - End Time 2025-04-11 22:59:05
[2025-04-11 22:59:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 22:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887432', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887432', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887432', 'tblTempVendorCDR_20' ) start
[2025-04-11 22:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887432', 'tblTempVendorCDR_20' ) end
[2025-04-11 22:59:18] Production.INFO: ProcessCDR(1,14887432,1,1,2)
[2025-04-11 22:59:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887432,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:59:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887432,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 22:59:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887432,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:59:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887432,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 22:59:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887432', 'tblTempUsageDetail_20' ) start
[2025-04-11 22:59:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887432', 'tblTempUsageDetail_20' ) end
[2025-04-11 22:59:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 22:59:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 22:59:24] Production.INFO: ==26025== Releasing lock...
[2025-04-11 22:59:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 22:59:24] Production.INFO: 34.75 MB #Memory Used#
[2025-04-12 04:00:01] Production.INFO: ==26081== Lock acquired, processing the job...
[2025-04-12 04:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 04:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 04:00:01] Production.INFO: neon service started
[2025-04-12 04:00:01] Production.INFO: neon service started
[2025-04-12 04:00:01] Production.INFO: ==26081== Releasing lock...
[2025-04-12 04:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 04:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 23:00:02] Production.INFO: ==26083== Lock acquired, processing the job...
[2025-04-11 23:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 03:00:02] Production.INFO: ==26085== Lock acquired, processing the job...
[2025-04-12 03:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 03:00:02] Production.INFO: ==26085== Releasing lock...
[2025-04-12 03:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 03:00:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 23:00:02] Production.INFO: ==26083== Releasing lock...
[2025-04-11 23:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 23:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 23:00:04] Production.INFO: ==26088== Lock acquired, processing the job...
[2025-04-11 23:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-11 23:00:04] Production.INFO: ==26090== Lock acquired, processing the job...
[2025-04-11 23:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 23:00:04] Production.INFO: ==26092== Lock acquired, processing the job...
[2025-04-11 23:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 23:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-11 23:00:04] Production.INFO: ==26094== Lock acquired, processing the job...
[2025-04-11 23:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 23:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-11 23:00:04] Production.INFO: ==26088== Releasing lock...
[2025-04-11 23:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-11 23:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-11 23:00:04] Production.INFO: ==26096== Lock acquired, processing the job...
[2025-04-11 23:00:04] Production.INFO: bulkautopaymentcapture-command-bulkautopaymentcapture-companyid-1-cronjobid-11 #Starts#
[2025-04-11 23:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 23:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 23:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 23:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 23:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 23:00:04] Production.INFO: ==26100== Lock acquired, processing the job...
[2025-04-11 23:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 23:00:04] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '5', '0', '1' )
[2025-04-11 23:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:04] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '7', '0', '1' )
[2025-04-11 23:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:04] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '8', '0', '1' )
[2025-04-11 23:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:04] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '13', '0', '1' )
[2025-04-11 23:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:04] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '14', '0', '1' )
[2025-04-11 23:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:04] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '17', '0', '1' )
[2025-04-11 23:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:04] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '19', '0', '1' )
[2025-04-11 23:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:04] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '21', '0', '1' )
[2025-04-11 23:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:04] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '25', '0', '1' )
[2025-04-11 23:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:04] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '26', '0', '1' )
[2025-04-11 23:00:04] Production.INFO: ==26098== Lock acquired, processing the job...
[2025-04-11 23:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 23:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:04] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '20', '0', '1' )
[2025-04-11 23:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:04] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '32', '0', '1' )
[2025-04-11 23:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:04] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '33', '0', '1' )
[2025-04-11 23:00:04] Production.INFO: PaymentPendingInvoice Count - 1
[2025-04-11 23:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 23:00:04] Production.INFO: Outstanding Amount 64.98
[2025-04-11 23:00:04] Production.INFO: Invoice Full Number INV11763
[2025-04-11 23:00:04] Production.INFO: Transaction start
[2025-04-11 23:00:04] Production.INFO: ==26102== Lock acquired, processing the job...
[2025-04-11 23:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-11 23:00:04] Production.INFO: ==26104== Lock acquired, processing the job...
[2025-04-11 23:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 23:00:04] Production.INFO: ==26092== Releasing lock...
[2025-04-11 23:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 23:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 23:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 23:00:04] Production.INFO: Account Balance Start.
[2025-04-11 23:00:04] Production.INFO: CreateAllLog Start
[2025-04-11 23:00:04] Production.INFO: 117
[2025-04-11 23:00:04] Production.ERROR: done
[2025-04-11 23:00:04] Production.INFO: Date 2025-04-08
[2025-04-11 23:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 23:00:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:00:04] Production.INFO: Date 2025-04-09
[2025-04-11 23:00:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:00:05] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 23:00:05] Production.INFO: Date 2025-04-10
[2025-04-11 23:00:05] Production.INFO: Reseller ==> 0
[2025-04-11 23:00:05] Production.INFO: count ==12
[2025-04-11 23: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-11 23:00:05] Production.INFO: count ==23
[2025-04-11 23:00:05] Production.INFO: Date 2025-04-11
[2025-04-11 23:00:05] Production.INFO: Reseller ==> 0
[2025-04-11 23:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14887436') start
[2025-04-11 23:00:05] Production.ERROR: done
[2025-04-11 23:00:05] Production.ERROR: done
[2025-04-11 23:00:05] Production.INFO: Total Charge 0
[2025-04-11 23:00:05] Production.INFO: CreateAllLog End
[2025-04-11 23:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-11 23:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14887437', 'tblTempUsageDetail_20reseller','2025-04-11','2025-04-11','1' ) start
[2025-04-11 23:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14887436') end
[2025-04-11 23:00:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 23:00:05] Production.INFO: 1
[2025-04-11 23:00:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 23:00:05] Production.INFO: ==26104== Releasing lock...
[2025-04-11 23:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 23:00:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 23:00:05] Production.INFO: Account Balance End.
[2025-04-11 23:00:05] Production.ERROR: CronJobId end 12
[2025-04-11 23:00:05] Production.INFO: ==26098== Releasing lock...
[2025-04-11 23:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 23:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 23: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-11 23:00:06] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '37', '0', '1' )
[2025-04-11 23:00:06] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:06] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '41', '0', '1' )
[2025-04-11 23:00:06] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:06] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '43', '0', '1' )
[2025-04-11 23:00:06] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:06] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '45', '0', '1' )
[2025-04-11 23:00:06] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:06] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '49', '0', '1' )
[2025-04-11 23:00:06] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:06] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '47', '0', '1' )
[2025-04-11 23:00:06] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:06] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '52', '0', '1' )
[2025-04-11 23:00:06] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:06] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '53', '0', '1' )
[2025-04-11 23:00:06] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:06] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '54', '0', '1' )
[2025-04-11 23:00:06] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:06] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '57', '0', '1' )
[2025-04-11 23:00:06] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:06] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '58', '0', '1' )
[2025-04-11 23:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 20:00:06
[end_date_ymd] => 2025-04-11 23:00:06
[RateCDR] => 1
)
[2025-04-11 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-11 20:00:06' and `end` < '2025-04-11 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-11 23:00:06] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:06] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '34', '0', '1' )
[2025-04-11 23:00:06] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:06] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '59', '0', '1' )
[2025-04-11 23:00:06] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:06] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '63', '0', '1' )
[2025-04-11 23:00:06] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:06] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '65', '0', '1' )
[2025-04-11 23:00:06] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:06] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '67', '0', '1' )
[2025-04-11 23:00:06] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:06] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '73', '0', '1' )
[2025-04-11 23:00:06] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:06] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '74', '0', '1' )
[2025-04-11 23:00:06] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:06] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '70', '0', '1' )
[2025-04-11 23:00:06] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:06] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '82', '0', '1' )
[2025-04-11 23:00:06] Production.INFO: PaymentPendingInvoice Count - 1
[2025-04-11 23:00:06] Production.INFO: Outstanding Amount 43.21
[2025-04-11 23:00:06] Production.INFO: Invoice Full Number INV11689
[2025-04-11 23:00:06] Production.INFO: Transaction start
[2025-04-11 23:00:08] 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-11 23:00:08] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '83', '0', '1' )
[2025-04-11 23:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:08] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '84', '0', '1' )
[2025-04-11 23:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:08] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '85', '0', '1' )
[2025-04-11 23:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:08] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '93', '0', '1' )
[2025-04-11 23:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:08] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '95', '0', '1' )
[2025-04-11 23:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:08] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '92', '0', '1' )
[2025-04-11 23:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:08] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '86', '0', '1' )
[2025-04-11 23:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:08] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '78', '0', '1' )
[2025-04-11 23:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:08] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '87', '0', '1' )
[2025-04-11 23:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:08] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '88', '0', '1' )
[2025-04-11 23:00:08] Production.INFO: PaymentPendingInvoice Count - 6
[2025-04-11 23:00:08] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '90', '0', '1' )
[2025-04-11 23:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:08] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '98', '0', '1' )
[2025-04-11 23:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:08] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '99', '0', '1' )
[2025-04-11 23:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:08] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '97', '0', '1' )
[2025-04-11 23:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:08] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '100', '0', '1' )
[2025-04-11 23:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:08] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '101', '0', '1' )
[2025-04-11 23:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:08] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '102', '0', '1' )
[2025-04-11 23:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:08] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '104', '0', '1' )
[2025-04-11 23:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:08] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '106', '0', '1' )
[2025-04-11 23:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:08] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '107', '0', '1' )
[2025-04-11 23:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:08] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '110', '0', '1' )
[2025-04-11 23:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:08] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '111', '0', '1' )
[2025-04-11 23:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:08] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '113', '0', '1' )
[2025-04-11 23:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:08] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '114', '0', '1' )
[2025-04-11 23:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:08] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '115', '0', '1' )
[2025-04-11 23:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:08] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '119', '0', '1' )
[2025-04-11 23:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:08] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '121', '0', '1' )
[2025-04-11 23:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:08] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '123', '0', '1' )
[2025-04-11 23:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:08] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '124', '0', '1' )
[2025-04-11 23:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:08] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '127', '0', '1' )
[2025-04-11 23:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:08] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '131', '0', '1' )
[2025-04-11 23:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:08] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '130', '0', '1' )
[2025-04-11 23:00:08] Production.INFO: PaymentPendingInvoice Count - 7
[2025-04-11 23:00:08] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '134', '0', '1' )
[2025-04-11 23:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:08] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '137', '0', '1' )
[2025-04-11 23:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:08] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '138', '0', '1' )
[2025-04-11 23:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:08] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '136', '0', '1' )
[2025-04-11 23:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:08] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '139', '0', '1' )
[2025-04-11 23:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:08] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '140', '0', '1' )
[2025-04-11 23:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:08] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '146', '0', '1' )
[2025-04-11 23:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:08] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '147', '0', '1' )
[2025-04-11 23:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:08] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '151', '0', '1' )
[2025-04-11 23:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:08] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '153', '0', '1' )
[2025-04-11 23:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:08] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '154', '0', '1' )
[2025-04-11 23:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:08] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '155', '0', '1' )
[2025-04-11 23:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:08] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '157', '0', '1' )
[2025-04-11 23:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:08] Production.INFO: PaymentMethod - 0
[2025-04-11 23:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '149', '0', '1' )
[2025-04-11 23:00:08] Production.INFO: PaymentPendingInvoice Count - 2
[2025-04-11 23:00:08] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '160', '0', '1' )
[2025-04-11 23:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:08] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '152', '0', '1' )
[2025-04-11 23:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:08] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '161', '0', '1' )
[2025-04-11 23:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:08] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '165', '0', '1' )
[2025-04-11 23:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:08] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '166', '0', '1' )
[2025-04-11 23:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:08] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '183', '0', '1' )
[2025-04-11 23:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:08] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '184', '0', '1' )
[2025-04-11 23:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:08] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '185', '0', '1' )
[2025-04-11 23:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:08] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '187', '0', '1' )
[2025-04-11 23:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:08] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '195', '0', '1' )
[2025-04-11 23:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:08] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '190', '0', '1' )
[2025-04-11 23:00:08] Production.INFO: PaymentPendingInvoice Count - 1
[2025-04-11 23:00:08] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '192', '0', '1' )
[2025-04-11 23:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:08] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '193', '0', '1' )
[2025-04-11 23:00:08] Production.INFO: PaymentPendingInvoice Count - 3
[2025-04-11 23:00:08] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '205', '0', '1' )
[2025-04-11 23:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:08] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '208', '0', '1' )
[2025-04-11 23:00:08] Production.INFO: PaymentPendingInvoice Count - 1
[2025-04-11 23:00:08] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '206', '0', '1' )
[2025-04-11 23:00:08] Production.INFO: PaymentPendingInvoice Count - 20
[2025-04-11 23:00:08] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '182', '0', '1' )
[2025-04-11 23:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:08] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '211', '0', '1' )
[2025-04-11 23:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:08] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '188', '0', '1' )
[2025-04-11 23:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:08] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '218', '0', '1' )
[2025-04-11 23:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:08] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '226', '0', '1' )
[2025-04-11 23:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:08] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '227', '0', '1' )
[2025-04-11 23:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:08] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '189', '0', '1' )
[2025-04-11 23:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:08] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '229', '0', '1' )
[2025-04-11 23:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:08] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '230', '0', '1' )
[2025-04-11 23:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:08] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '232', '0', '1' )
[2025-04-11 23:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:08] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '236', '0', '1' )
[2025-04-11 23:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:08] Production.INFO: PaymentMethod - 0
[2025-04-11 23:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '239', '0', '1' )
[2025-04-11 23:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:08] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '241', '0', '1' )
[2025-04-11 23:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:08] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '260', '0', '1' )
[2025-04-11 23:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:08] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '262', '0', '1' )
[2025-04-11 23:00:08] Production.INFO: PaymentPendingInvoice Count - 1
[2025-04-11 23:00:08] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '263', '0', '1' )
[2025-04-11 23:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-11 23:00:08] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '264', '0', '1' )
[2025-04-11 23:00:08] Production.INFO: PaymentPendingInvoice Count - 1
[2025-04-11 23:00:08] Production.INFO: PaymentMethod - 1
[2025-04-11 23:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '266', '0', '1' )
[2025-04-11 23:00:08] Production.INFO: PaymentPendingInvoice Count - 1
[2025-04-11 23:00:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14887437', 'tblTempUsageDetail_20reseller','2025-04-11','2025-04-11','1' ) end
[2025-04-11 23:00:10] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-11 23:00:10] Production.INFO: ProcessCDR(1,14887437,1,1,2)
[2025-04-11 23:00:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14887437,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:00:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14887437,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:00:10] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 23:00:10] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 23:00:10] Production.INFO: ==26102== Releasing lock...
[2025-04-11 23:00:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-11 23:00:10] Production.INFO: 26 MB #Memory Used#
[2025-04-11 23:00:13] Production.ERROR: CronJobId end11
[2025-04-11 23:00:13] Production.INFO: ==26096== Releasing lock...
[2025-04-11 23:00:13] Production.INFO: bulkautopaymentcapture-command-bulkautopaymentcapture-companyid-1-cronjobid-11 #Stops#
[2025-04-11 23:00:13] Production.INFO: 34 MB #Memory Used#
[2025-04-11 23:00:15] Production.ERROR: CronJobId end10
[2025-04-11 23:00:15] Production.INFO: ==26094== Releasing lock...
[2025-04-11 23:00:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 23:00:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 23:00:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 23:00:17] Production.INFO: ============== Balance Warning START===========
[2025-04-11 23:00:17] Production.INFO: ============== Balance Warning END===========
[2025-04-11 23:00:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 23:00:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 23:00:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 23:00:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 23:00:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 23:00:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 23:00:17] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 23:00:17] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 23:00:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 23:00:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 23:00:17] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 23:00:17] Production.INFO: call_cost start
[2025-04-11 23:00:17] Production.INFO: call_cost end
[2025-04-11 23:00:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 23:00:18] Production.INFO: ============== Report Schedule START===========
[2025-04-11 23:00:18] Production.INFO: ============== Report Schedule END===========
[2025-04-11 23:00:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 23:00:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 23:00:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 23:00:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 23:00:18] Production.INFO: ============== Deal alert START===========
[2025-04-11 23:00:18] Production.INFO: ============== Deal alert END===========
[2025-04-11 23:00:18] Production.INFO: ==26090== Releasing lock...
[2025-04-11 23:00:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 23:00:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 23:00:19] Production.INFO: count ==953
[2025-04-11 23:00:19] Production.ERROR: pbx CDR StartTime 2025-04-11 20:00:06 - End Time 2025-04-11 23:00:06
[2025-04-11 23:00:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 23:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887438', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887438', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887438', 'tblTempVendorCDR_20' ) start
[2025-04-11 23:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887438', 'tblTempVendorCDR_20' ) end
[2025-04-11 23:00:19] Production.INFO: ProcessCDR(1,14887438,1,1,2)
[2025-04-11 23:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887438,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:00:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887438,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:00:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887438,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:00:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887438,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:00:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887438', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:00:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887438', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:00:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 23:00:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 23:00:24] Production.INFO: ==26100== Releasing lock...
[2025-04-11 23:00:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 23:00:24] Production.INFO: 34.75 MB #Memory Used#
[2025-04-12 04:01:02] Production.INFO: ==26166== Lock acquired, processing the job...
[2025-04-12 04:01:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 04:01:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 04:01:02] Production.INFO: neon service started
[2025-04-12 04:01:02] Production.INFO: neon service started
[2025-04-12 04:01:02] Production.INFO: ==26166== Releasing lock...
[2025-04-12 04:01:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 04:01:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 23:01:02] Production.INFO: ==26178== Lock acquired, processing the job...
[2025-04-11 23:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 03:01:02] Production.INFO: ==26180== Lock acquired, processing the job...
[2025-04-12 03:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 03:01:03] Production.INFO: ==26180== Releasing lock...
[2025-04-12 03:01:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 03:01:03] Production.INFO: 25 MB #Memory Used#
[2025-04-11 23:01:03] Production.INFO: ==26178== Releasing lock...
[2025-04-11 23:01:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 23:01:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 23:01:04] Production.INFO: ==26183== Lock acquired, processing the job...
[2025-04-11 23:01:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 23:01:04] Production.INFO: ==26193== Lock acquired, processing the job...
[2025-04-11 23:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 23:01:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 23:01:04] Production.INFO: ==26185== Lock acquired, processing the job...
[2025-04-11 23:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 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-11 23:01:04] Production.INFO: ==26187== Lock acquired, processing the job...
[2025-04-11 23:01:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 23:01:04] Production.INFO: ==26189== Lock acquired, processing the job...
[2025-04-11 23:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 23:01:04] Production.INFO: count ==12
[2025-04-11 23:01:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 23:01:04] Production.INFO: ==26191== Lock acquired, processing the job...
[2025-04-11 23:01:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 23:01:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 23:01:04] Production.INFO: count ==23
[2025-04-11 23:01:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 23:01:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 23:01:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 23:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887440') start
[2025-04-11 23:01:04] Production.INFO: Account Balance Start.
[2025-04-11 23:01:04] Production.INFO: CreateAllLog Start
[2025-04-11 23:01:04] Production.INFO: 117
[2025-04-11 23:01:04] Production.INFO: Date 2025-04-08
[2025-04-11 23:01:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:01:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 23:01:04] Production.INFO: Date 2025-04-09
[2025-04-11 23:01:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:01:04] Production.INFO: Date 2025-04-10
[2025-04-11 23:01:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887440') end
[2025-04-11 23:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 23:01:04] Production.INFO: 1
[2025-04-11 23:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 23:01:04] Production.INFO: Date 2025-04-11
[2025-04-11 23:01:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:01:04] Production.INFO: Total Charge 0
[2025-04-11 23:01:04] Production.INFO: CreateAllLog End
[2025-04-11 23:01:04] Production.INFO: ==26185== Releasing lock...
[2025-04-11 23:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 23:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 23:01:04] Production.INFO: ==26193== Releasing lock...
[2025-04-11 23:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 23:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 23:01:05] Production.ERROR: done
[2025-04-11 23:01:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 23:01:05] Production.ERROR: done
[2025-04-11 23:01:05] Production.INFO: Account Balance End.
[2025-04-11 23:01:05] Production.ERROR: CronJobId end 12
[2025-04-11 23:01:05] Production.INFO: ==26189== Releasing lock...
[2025-04-11 23:01:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 23:01:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 23:01:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 20:01:06
[end_date_ymd] => 2025-04-11 23:01:06
[RateCDR] => 1
)
[2025-04-11 23: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-11 20:01:06' and `end` < '2025-04-11 23: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-11 23:01:13] Production.ERROR: CronJobId end10
[2025-04-11 23:01:13] Production.INFO: ==26187== Releasing lock...
[2025-04-11 23:01:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 23:01:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 23:01:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 23:01:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 23:01:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 23:01:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 23:01:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 23:01:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 23:01:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 23:01:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 23:01:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 23:01:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 23:01:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 23:01:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 23:01:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 23:01:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 23:01:16] Production.INFO: call_cost start
[2025-04-11 23:01:16] Production.INFO: call_cost end
[2025-04-11 23:01:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 23:01:17] Production.INFO: ============== Report Schedule START===========
[2025-04-11 23:01:17] Production.INFO: ============== Report Schedule END===========
[2025-04-11 23:01:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 23:01:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 23:01:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 23:01:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 23:01:17] Production.INFO: ============== Deal alert START===========
[2025-04-11 23:01:17] Production.INFO: ============== Deal alert END===========
[2025-04-11 23:01:17] Production.INFO: ==26183== Releasing lock...
[2025-04-11 23:01:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 23:01:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 23:01:19] Production.INFO: count ==928
[2025-04-11 23:01:19] Production.ERROR: pbx CDR StartTime 2025-04-11 20:01:06 - End Time 2025-04-11 23:01:06
[2025-04-11 23:01:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 23:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887443', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887443', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887443', 'tblTempVendorCDR_20' ) start
[2025-04-11 23:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887443', 'tblTempVendorCDR_20' ) end
[2025-04-11 23:01:19] Production.INFO: ProcessCDR(1,14887443,1,1,2)
[2025-04-11 23:01:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887443,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:01:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887443,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:01:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887443,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:01:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887443,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:01:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887443', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:01:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887443', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:01:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 23:01:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 23:01:23] Production.INFO: ==26191== Releasing lock...
[2025-04-11 23:01:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 23:01:23] Production.INFO: 34.25 MB #Memory Used#
[2025-04-12 04:02:01] Production.INFO: ==26328== Lock acquired, processing the job...
[2025-04-12 04:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 04:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 04:02:01] Production.INFO: neon service started
[2025-04-12 04:02:01] Production.INFO: neon service started
[2025-04-12 04:02:01] Production.INFO: ==26328== Releasing lock...
[2025-04-12 04:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 04:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 23:02:02] Production.INFO: ==26330== Lock acquired, processing the job...
[2025-04-11 23:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 03:02:02] Production.INFO: ==26332== Lock acquired, processing the job...
[2025-04-12 03:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-11 23:02:02] Production.INFO: ==26330== Releasing lock...
[2025-04-11 23:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 23:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 03:02:02] Production.INFO: ==26332== Releasing lock...
[2025-04-12 03:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 03:02:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 23:02:03] Production.INFO: ==26335== Lock acquired, processing the job...
[2025-04-11 23:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 23:02:03] Production.INFO: ==26343== Lock acquired, processing the job...
[2025-04-11 23:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 23:02:03] Production.INFO: ==26345== Lock acquired, processing the job...
[2025-04-11 23:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 23:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 23:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 23:02:03] Production.INFO: ==26337== Lock acquired, processing the job...
[2025-04-11 23:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 23:02:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 23:02:03] Production.INFO: count ==12
[2025-04-11 23:02:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 23:02:03] Production.INFO: ==26339== Lock acquired, processing the job...
[2025-04-11 23:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 23:02:03] Production.INFO: count ==23
[2025-04-11 23:02:03] Production.INFO: ==26341== Lock acquired, processing the job...
[2025-04-11 23:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 23:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887445') start
[2025-04-11 23:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887445') end
[2025-04-11 23:02:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 23:02:03] Production.INFO: 1
[2025-04-11 23:02:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 23:02:03] Production.INFO: Account Balance Start.
[2025-04-11 23:02:03] Production.INFO: CreateAllLog Start
[2025-04-11 23:02:03] Production.INFO: 117
[2025-04-11 23:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 23:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 23:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 23:02:03] Production.INFO: Date 2025-04-08
[2025-04-11 23:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 23:02:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:02:03] Production.INFO: Date 2025-04-09
[2025-04-11 23:02:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:02:03] Production.INFO: Date 2025-04-10
[2025-04-11 23:02:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:02:03] Production.INFO: Date 2025-04-11
[2025-04-11 23:02:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:02:03] Production.INFO: ==26345== Releasing lock...
[2025-04-11 23:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 23:02:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 23:02:03] Production.INFO: ==26337== Releasing lock...
[2025-04-11 23:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 23:02:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 23:02:03] Production.ERROR: done
[2025-04-11 23:02:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 23:02:04] Production.INFO: Total Charge 0
[2025-04-11 23:02:04] Production.INFO: CreateAllLog End
[2025-04-11 23:02:04] Production.ERROR: done
[2025-04-11 23:02:04] Production.INFO: Account Balance End.
[2025-04-11 23:02:04] Production.ERROR: CronJobId end 12
[2025-04-11 23:02:04] Production.INFO: ==26341== Releasing lock...
[2025-04-11 23:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 23:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 23:02:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 20:02:04
[end_date_ymd] => 2025-04-11 23:02:04
[RateCDR] => 1
)
[2025-04-11 23: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-11 20:02:04' and `end` < '2025-04-11 23: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-11 23:02:13] Production.ERROR: CronJobId end10
[2025-04-11 23:02:13] Production.INFO: ==26339== Releasing lock...
[2025-04-11 23:02:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 23:02:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 23:02:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 23:02:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 23:02:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 23:02:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 23:02:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 23:02:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 23:02:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 23:02:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 23:02:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 23:02:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 23:02:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 23:02:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 23:02:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 23:02:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 23:02:15] Production.INFO: call_cost start
[2025-04-11 23:02:15] Production.INFO: call_cost end
[2025-04-11 23:02:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 23:02:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 23:02:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 23:02:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 23:02:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 23:02:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 23:02:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 23:02:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 23:02:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 23:02:16] Production.INFO: ==26335== Releasing lock...
[2025-04-11 23:02:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 23:02:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 23:02:17] Production.INFO: count ==924
[2025-04-11 23:02:18] Production.ERROR: pbx CDR StartTime 2025-04-11 20:02:04 - End Time 2025-04-11 23:02:04
[2025-04-11 23:02:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 23:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887448', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887448', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887448', 'tblTempVendorCDR_20' ) start
[2025-04-11 23:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887448', 'tblTempVendorCDR_20' ) end
[2025-04-11 23:02:18] Production.INFO: ProcessCDR(1,14887448,1,1,2)
[2025-04-11 23:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887448,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:02:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887448,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:02:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887448,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:02:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887448,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887448', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887448', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:02:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 23:02:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 23:02:21] Production.INFO: ==26343== Releasing lock...
[2025-04-11 23:02:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 23:02:21] Production.INFO: 34.25 MB #Memory Used#
[2025-04-12 04:03:02] Production.INFO: ==26405== Lock acquired, processing the job...
[2025-04-12 04:03:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 04:03:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 04:03:02] Production.INFO: neon service started
[2025-04-12 04:03:02] Production.INFO: neon service started
[2025-04-12 04:03:02] Production.INFO: ==26405== Releasing lock...
[2025-04-12 04:03:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 04:03:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 03:03:02] Production.INFO: ==26410== Lock acquired, processing the job...
[2025-04-12 03:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 03:03:02] Production.INFO: ==26410== Releasing lock...
[2025-04-12 03:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 03:03:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 23:03:02] Production.INFO: ==26408== Lock acquired, processing the job...
[2025-04-11 23:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 23:03:03] Production.INFO: ==26408== Releasing lock...
[2025-04-11 23:03:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 23:03:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 23:03:03] Production.INFO: ==26412== Lock acquired, processing the job...
[2025-04-11 23:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 23:03:04] Production.INFO: ==26414== Lock acquired, processing the job...
[2025-04-11 23:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 23:03:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 23:03:04] Production.INFO: ==26418== Lock acquired, processing the job...
[2025-04-11 23:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 23:03:04] Production.INFO: Account Balance Start.
[2025-04-11 23:03:04] Production.INFO: CreateAllLog Start
[2025-04-11 23:03:04] Production.INFO: 117
[2025-04-11 23:03:04] Production.INFO: Date 2025-04-08
[2025-04-11 23:03:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:03:04] Production.INFO: ==26416== Lock acquired, processing the job...
[2025-04-11 23:03:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 23:03:04] Production.INFO: Date 2025-04-09
[2025-04-11 23:03:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:03:04] Production.INFO: Date 2025-04-10
[2025-04-11 23:03:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:03:04] Production.INFO: ==26420== Lock acquired, processing the job...
[2025-04-11 23:03:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 23:03:04] Production.INFO: ==26422== Lock acquired, processing the job...
[2025-04-11 23:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 23:03:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 23:03:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 23:03:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 23:03:04] Production.INFO: Date 2025-04-11
[2025-04-11 23:03:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:03:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 23:03:04] Production.INFO: Total Charge 0
[2025-04-11 23:03:04] Production.INFO: CreateAllLog End
[2025-04-11 23:03:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 23:03:04] Production.INFO: ==26414== Releasing lock...
[2025-04-11 23:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 23:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 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-11 23:03:04] Production.INFO: count ==12
[2025-04-11 23:03:04] Production.INFO: Account Balance End.
[2025-04-11 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-11 23:03:04] Production.INFO: count ==23
[2025-04-11 23:03:04] Production.ERROR: CronJobId end 12
[2025-04-11 23:03:04] Production.INFO: ==26418== Releasing lock...
[2025-04-11 23:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 23:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 23:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887452') start
[2025-04-11 23:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887452') end
[2025-04-11 23:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 23:03:04] Production.INFO: 1
[2025-04-11 23:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 23:03:04] Production.ERROR: done
[2025-04-11 23:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 23:03:04] Production.INFO: ==26422== Releasing lock...
[2025-04-11 23:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 23:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 23:03:05] Production.ERROR: done
[2025-04-11 23:03:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 20:03:06
[end_date_ymd] => 2025-04-11 23:03:06
[RateCDR] => 1
)
[2025-04-11 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-11 20:03:06' and `end` < '2025-04-11 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-11 23:03:12] Production.ERROR: CronJobId end10
[2025-04-11 23:03:12] Production.INFO: ==26416== Releasing lock...
[2025-04-11 23:03:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 23:03:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 23:03:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 23:03:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 23:03:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 23:03:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 23:03:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 23:03:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 23:03:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 23:03:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 23:03:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 23:03:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 23:03:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 23:03:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 23:03:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 23:03:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 23:03:15] Production.INFO: call_cost start
[2025-04-11 23:03:15] Production.INFO: call_cost end
[2025-04-11 23:03:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 23:03:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 23:03:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 23:03:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 23:03:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 23:03:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 23:03:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 23:03:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 23:03:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 23:03:16] Production.INFO: ==26412== Releasing lock...
[2025-04-11 23:03:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 23:03:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 23:03:19] Production.INFO: count ==924
[2025-04-11 23:03:19] Production.ERROR: pbx CDR StartTime 2025-04-11 20:03:06 - End Time 2025-04-11 23:03:06
[2025-04-11 23:03:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 23:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887453', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887453', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887453', 'tblTempVendorCDR_20' ) start
[2025-04-11 23:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887453', 'tblTempVendorCDR_20' ) end
[2025-04-11 23:03:19] Production.INFO: ProcessCDR(1,14887453,1,1,2)
[2025-04-11 23:03:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887453,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:03:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887453,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:03:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887453,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:03:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887453,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887453', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887453', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:03:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 23:03:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 23:03:22] Production.INFO: ==26420== Releasing lock...
[2025-04-11 23:03:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 23:03:22] Production.INFO: 34.25 MB #Memory Used#
[2025-04-12 04:04:01] Production.INFO: ==26478== Lock acquired, processing the job...
[2025-04-12 04:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 04:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 04:04:01] Production.INFO: neon service started
[2025-04-12 04:04:01] Production.INFO: neon service started
[2025-04-12 04:04:01] Production.INFO: ==26478== Releasing lock...
[2025-04-12 04:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 04:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 23:04:02] Production.INFO: ==26480== Lock acquired, processing the job...
[2025-04-11 23:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 23:04:02] Production.INFO: ==26480== Releasing lock...
[2025-04-11 23:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 23:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 03:04:02] Production.INFO: ==26482== Lock acquired, processing the job...
[2025-04-12 03:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 03:04:02] Production.INFO: ==26482== Releasing lock...
[2025-04-12 03:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 03:04:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 23:04:03] Production.INFO: ==26485== Lock acquired, processing the job...
[2025-04-11 23:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 23:04:03] Production.INFO: ==26487== Lock acquired, processing the job...
[2025-04-11 23:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 23:04:03] Production.INFO: ==26489== Lock acquired, processing the job...
[2025-04-11 23:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 23:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 23:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 23:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 23:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 23:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 23:04:03] Production.INFO: ==26495== Lock acquired, processing the job...
[2025-04-11 23:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 23:04:03] Production.INFO: ==26487== Releasing lock...
[2025-04-11 23:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 23:04:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 23:04:03] Production.INFO: ==26491== Lock acquired, processing the job...
[2025-04-11 23:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 23:04:03] Production.INFO: ==26493== Lock acquired, processing the job...
[2025-04-11 23:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 23:04:03] Production.INFO: Account Balance Start.
[2025-04-11 23:04:03] Production.INFO: CreateAllLog Start
[2025-04-11 23:04:03] Production.INFO: 117
[2025-04-11 23:04:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 23:04:03] Production.INFO: Date 2025-04-08
[2025-04-11 23:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 23:04:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:04:03] Production.INFO: count ==12
[2025-04-11 23:04:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 23:04:03] Production.INFO: Date 2025-04-09
[2025-04-11 23:04:03] Production.INFO: count ==23
[2025-04-11 23:04:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887456') start
[2025-04-11 23:04:03] Production.INFO: Date 2025-04-10
[2025-04-11 23:04:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:04:04] Production.INFO: Date 2025-04-11
[2025-04-11 23:04:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:04:04] Production.INFO: Total Charge 0
[2025-04-11 23:04:04] Production.INFO: CreateAllLog End
[2025-04-11 23:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887456') end
[2025-04-11 23:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 23:04:04] Production.INFO: 1
[2025-04-11 23:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 23:04:04] Production.INFO: ==26495== Releasing lock...
[2025-04-11 23:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 23:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 23:04:04] Production.ERROR: done
[2025-04-11 23:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 23:04:04] Production.INFO: Account Balance End.
[2025-04-11 23:04:04] Production.ERROR: CronJobId end 12
[2025-04-11 23:04:04] Production.INFO: ==26491== Releasing lock...
[2025-04-11 23:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 23:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 23:04:04] Production.ERROR: done
[2025-04-11 23:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 20:04:05
[end_date_ymd] => 2025-04-11 23:04:05
[RateCDR] => 1
)
[2025-04-11 23:04:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 20:04:05' and `end` < '2025-04-11 23:04:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 23:04:12] Production.ERROR: CronJobId end10
[2025-04-11 23:04:12] Production.INFO: ==26489== Releasing lock...
[2025-04-11 23:04:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 23:04:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 23:04:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 23:04:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 23:04:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 23:04:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 23:04:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 23:04:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 23:04:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 23:04:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 23:04:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 23:04:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 23:04:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 23:04:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 23:04:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 23:04:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 23:04:14] Production.INFO: call_cost start
[2025-04-11 23:04:14] Production.INFO: call_cost end
[2025-04-11 23:04:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 23:04:15] Production.INFO: ============== Report Schedule START===========
[2025-04-11 23:04:15] Production.INFO: ============== Report Schedule END===========
[2025-04-11 23:04:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 23:04:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 23:04:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 23:04:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 23:04:15] Production.INFO: ============== Deal alert START===========
[2025-04-11 23:04:15] Production.INFO: ============== Deal alert END===========
[2025-04-11 23:04:15] Production.INFO: ==26485== Releasing lock...
[2025-04-11 23:04:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 23:04:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 23:04:18] Production.INFO: count ==922
[2025-04-11 23:04:18] Production.ERROR: pbx CDR StartTime 2025-04-11 20:04:05 - End Time 2025-04-11 23:04:05
[2025-04-11 23:04:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 23:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887458', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887458', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887458', 'tblTempVendorCDR_20' ) start
[2025-04-11 23:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887458', 'tblTempVendorCDR_20' ) end
[2025-04-11 23:04:18] Production.INFO: ProcessCDR(1,14887458,1,1,2)
[2025-04-11 23:04:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887458,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:04:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887458,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:04:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887458,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:04:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887458,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887458', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887458', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:04:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 23:04:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 23:04:22] Production.INFO: ==26493== Releasing lock...
[2025-04-11 23:04:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 23:04:22] Production.INFO: 34 MB #Memory Used#
[2025-04-12 04:05:02] Production.INFO: ==26665== Lock acquired, processing the job...
[2025-04-12 04:05:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 04:05:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 04:05:02] Production.INFO: neon service started
[2025-04-12 04:05:02] Production.INFO: neon service started
[2025-04-12 04:05:02] Production.INFO: ==26665== Releasing lock...
[2025-04-12 04:05:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 04:05:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 23:05:02] Production.INFO: ==26667== Lock acquired, processing the job...
[2025-04-11 23:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 03:05:03] Production.INFO: ==26669== Lock acquired, processing the job...
[2025-04-12 03:05:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-11 23:05:03] Production.INFO: ==26667== Releasing lock...
[2025-04-11 23:05:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 23:05:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 03:05:03] Production.INFO: ==26669== Releasing lock...
[2025-04-12 03:05:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 03:05:03] Production.INFO: 25 MB #Memory Used#
[2025-04-11 23:05:03] Production.INFO: ==26682== Lock acquired, processing the job...
[2025-04-11 23:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 23:05:03] Production.INFO: ==26677== Lock acquired, processing the job...
[2025-04-11 23:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 23:05:04] Production.INFO: Account Balance Start.
[2025-04-11 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-11 23:05:04] Production.INFO: CreateAllLog Start
[2025-04-11 23:05:04] Production.INFO: 117
[2025-04-11 23:05:04] Production.INFO: count ==12
[2025-04-11 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-11 23:05:04] Production.INFO: count ==23
[2025-04-11 23:05:04] Production.INFO: ==26671== Lock acquired, processing the job...
[2025-04-11 23:05:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 23:05:04] Production.INFO: Date 2025-04-08
[2025-04-11 23:05:04] Production.INFO: ==26673== Lock acquired, processing the job...
[2025-04-11 23:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 23:05:04] Production.INFO: ==26675== Lock acquired, processing the job...
[2025-04-11 23:05:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 23:05:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887460') start
[2025-04-11 23:05:04] Production.INFO: Date 2025-04-09
[2025-04-11 23:05:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:05:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 23:05:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 23:05:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 23:05:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 23:05:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 23:05:04] Production.INFO: Date 2025-04-10
[2025-04-11 23:05:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:05:04] Production.INFO: ==26680== Lock acquired, processing the job...
[2025-04-11 23:05:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 23:05:04] Production.INFO: Date 2025-04-11
[2025-04-11 23:05:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887460') end
[2025-04-11 23:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 23:05:04] Production.INFO: 1
[2025-04-11 23:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 23:05:04] Production.INFO: Total Charge 0
[2025-04-11 23:05:04] Production.INFO: CreateAllLog End
[2025-04-11 23:05:04] Production.INFO: ==26682== Releasing lock...
[2025-04-11 23:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 23:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 23:05:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 23:05:04] Production.INFO: ==26673== Releasing lock...
[2025-04-11 23:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 23:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 23:05:04] Production.ERROR: done
[2025-04-11 23:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 23:05:04] Production.INFO: Account Balance End.
[2025-04-11 23:05:04] Production.ERROR: CronJobId end 12
[2025-04-11 23:05:04] Production.INFO: ==26677== Releasing lock...
[2025-04-11 23:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 23:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 23:05:04] Production.ERROR: done
[2025-04-11 23:05:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 20:05:06
[end_date_ymd] => 2025-04-11 23:05:06
[RateCDR] => 1
)
[2025-04-11 23:05:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 20:05:06' and `end` < '2025-04-11 23:05:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 23:05:13] Production.ERROR: CronJobId end10
[2025-04-11 23:05:13] Production.INFO: ==26675== Releasing lock...
[2025-04-11 23:05:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 23:05:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 23:05:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 23:05:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 23:05:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 23:05:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 23:05:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 23:05:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 23:05:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 23:05:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 23:05:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 23:05:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 23:05:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 23:05:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 23:05:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 23:05:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 23:05:16] Production.INFO: call_cost start
[2025-04-11 23:05:16] Production.INFO: call_cost end
[2025-04-11 23:05:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 23:05:17] Production.INFO: ============== Report Schedule START===========
[2025-04-11 23:05:17] Production.INFO: ============== Report Schedule END===========
[2025-04-11 23:05:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 23:05:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 23:05:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 23:05:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 23:05:17] Production.INFO: ============== Deal alert START===========
[2025-04-11 23:05:17] Production.INFO: ============== Deal alert END===========
[2025-04-11 23:05:17] Production.INFO: ==26671== Releasing lock...
[2025-04-11 23:05:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 23:05:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 23:05:19] Production.INFO: count ==922
[2025-04-11 23:05:19] Production.ERROR: pbx CDR StartTime 2025-04-11 20:05:06 - End Time 2025-04-11 23:05:06
[2025-04-11 23:05:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 23:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887463', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887463', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887463', 'tblTempVendorCDR_20' ) start
[2025-04-11 23:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887463', 'tblTempVendorCDR_20' ) end
[2025-04-11 23:05:19] Production.INFO: ProcessCDR(1,14887463,1,1,2)
[2025-04-11 23:05:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887463,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:05:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887463,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:05:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887463,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:05:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887463,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887463', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887463', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:05:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 23:05:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 23:05:22] Production.INFO: ==26680== Releasing lock...
[2025-04-11 23:05:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 23:05:22] Production.INFO: 34 MB #Memory Used#
[2025-04-12 04:06:01] Production.INFO: ==26759== Lock acquired, processing the job...
[2025-04-12 04:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 04:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 04:06:01] Production.INFO: neon service started
[2025-04-12 04:06:01] Production.INFO: neon service started
[2025-04-12 04:06:01] Production.INFO: ==26759== Releasing lock...
[2025-04-12 04:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 04:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 23:06:02] Production.INFO: ==26763== Lock acquired, processing the job...
[2025-04-11 23:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 03:06:02] Production.INFO: ==26766== Lock acquired, processing the job...
[2025-04-12 03:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 03:06:02] Production.INFO: ==26766== Releasing lock...
[2025-04-12 03:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 03:06:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 23:06:02] Production.INFO: ==26763== Releasing lock...
[2025-04-11 23:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 23:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 23:06:03] Production.INFO: ==26770== Lock acquired, processing the job...
[2025-04-11 23:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 23:06:03] Production.INFO: ==26772== Lock acquired, processing the job...
[2025-04-11 23:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 23:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 23:06:03] Production.INFO: ==26776== Lock acquired, processing the job...
[2025-04-11 23:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 23:06:03] Production.INFO: ==26774== Lock acquired, processing the job...
[2025-04-11 23:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 23:06:03] Production.INFO: ==26772== Releasing lock...
[2025-04-11 23:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 23:06:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 23:06:03] Production.INFO: ==26778== Lock acquired, processing the job...
[2025-04-11 23:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 23:06:03] Production.INFO: ==26780== Lock acquired, processing the job...
[2025-04-11 23:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 23:06:03] Production.INFO: Account Balance Start.
[2025-04-11 23:06:03] Production.INFO: CreateAllLog Start
[2025-04-11 23:06:03] Production.INFO: 117
[2025-04-11 23:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 23:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 23:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 23:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 23:06:03] Production.INFO: Date 2025-04-08
[2025-04-11 23:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 23:06:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:06:03] Production.INFO: Date 2025-04-09
[2025-04-11 23:06:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:06:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 23:06:03] Production.INFO: Date 2025-04-10
[2025-04-11 23:06:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:06:03] Production.INFO: count ==12
[2025-04-11 23:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 23:06:04] Production.INFO: count ==23
[2025-04-11 23:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887467') start
[2025-04-11 23:06:04] Production.INFO: Date 2025-04-11
[2025-04-11 23:06:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:06:04] Production.INFO: Total Charge 0
[2025-04-11 23:06:04] Production.INFO: CreateAllLog End
[2025-04-11 23:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887467') end
[2025-04-11 23:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 23:06:04] Production.INFO: 1
[2025-04-11 23:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 23:06:04] Production.INFO: ==26780== Releasing lock...
[2025-04-11 23:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 23:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 23:06:04] Production.ERROR: done
[2025-04-11 23:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 23:06:04] Production.INFO: Account Balance End.
[2025-04-11 23:06:04] Production.ERROR: CronJobId end 12
[2025-04-11 23:06:04] Production.INFO: ==26776== Releasing lock...
[2025-04-11 23:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 23:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 23:06:04] Production.ERROR: done
[2025-04-11 23:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 20:06:05
[end_date_ymd] => 2025-04-11 23:06:05
[RateCDR] => 1
)
[2025-04-11 23:06:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 20:06:05' and `end` < '2025-04-11 23:06:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 23:06:16] Production.ERROR: CronJobId end10
[2025-04-11 23:06:16] Production.INFO: ==26774== Releasing lock...
[2025-04-11 23:06:16] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 23:06:16] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 23:06:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 23:06:17] Production.INFO: ============== Balance Warning START===========
[2025-04-11 23:06:17] Production.INFO: ============== Balance Warning END===========
[2025-04-11 23:06:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 23:06:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 23:06:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 23:06:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 23:06:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 23:06:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 23:06:17] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 23:06:17] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 23:06:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 23:06:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 23:06:17] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 23:06:18] Production.INFO: call_cost start
[2025-04-11 23:06:18] Production.INFO: call_cost end
[2025-04-11 23:06:18] Production.INFO: count ==922
[2025-04-11 23:06:18] Production.ERROR: pbx CDR StartTime 2025-04-11 20:06:05 - End Time 2025-04-11 23:06:05
[2025-04-11 23:06:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 23:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887468', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887468', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887468', 'tblTempVendorCDR_20' ) start
[2025-04-11 23:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887468', 'tblTempVendorCDR_20' ) end
[2025-04-11 23:06:18] Production.INFO: ProcessCDR(1,14887468,1,1,2)
[2025-04-11 23:06:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887468,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:06:19] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 23:06:19] Production.INFO: ============== Report Schedule START===========
[2025-04-11 23:06:19] Production.INFO: ============== Report Schedule END===========
[2025-04-11 23:06:19] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 23:06:19] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 23:06:19] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 23:06:19] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 23:06:19] Production.INFO: ============== Deal alert START===========
[2025-04-11 23:06:19] Production.INFO: ============== Deal alert END===========
[2025-04-11 23:06:19] Production.INFO: ==26770== Releasing lock...
[2025-04-11 23:06:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 23:06:19] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 23:06:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887468,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:06:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887468,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:06:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887468,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887468', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887468', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:06:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 23:06:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 23:06:22] Production.INFO: ==26778== Releasing lock...
[2025-04-11 23:06:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 23:06:22] Production.INFO: 34 MB #Memory Used#
[2025-04-12 04:07:02] Production.INFO: ==27114== Lock acquired, processing the job...
[2025-04-12 04:07:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 04:07:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 04:07:02] Production.INFO: neon service started
[2025-04-12 04:07:02] Production.INFO: neon service started
[2025-04-12 04:07:02] Production.INFO: ==27114== Releasing lock...
[2025-04-12 04:07:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 04:07:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 03:07:02] Production.INFO: ==27118== Lock acquired, processing the job...
[2025-04-12 03:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 03:07:02] Production.INFO: ==27118== Releasing lock...
[2025-04-12 03:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 03:07:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 23:07:02] Production.INFO: ==27116== Lock acquired, processing the job...
[2025-04-11 23:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 23:07:03] Production.INFO: ==27116== Releasing lock...
[2025-04-11 23:07:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 23:07:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 23:07:03] Production.INFO: ==27125== Lock acquired, processing the job...
[2025-04-11 23:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 23:07:03] Production.INFO: ==27127== Lock acquired, processing the job...
[2025-04-11 23:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 23:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 23:07:04] Production.INFO: ==27135== Lock acquired, processing the job...
[2025-04-11 23:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 23: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-11 23:07:04] Production.INFO: ==27129== Lock acquired, processing the job...
[2025-04-11 23:07:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 23:07:04] Production.INFO: count ==12
[2025-04-11 23: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-11 23:07:04] Production.INFO: count ==23
[2025-04-11 23:07:04] Production.INFO: ==27133== Lock acquired, processing the job...
[2025-04-11 23:07:04] Production.INFO: ==27131== Lock acquired, processing the job...
[2025-04-11 23:07:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 23:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 23:07:04] Production.INFO: ==27127== Releasing lock...
[2025-04-11 23:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 23:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 23:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887471') start
[2025-04-11 23:07:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 23:07:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 23:07:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 23:07:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 23:07:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 23:07:04] Production.INFO: Account Balance Start.
[2025-04-11 23:07:04] Production.INFO: CreateAllLog Start
[2025-04-11 23:07:04] Production.INFO: 117
[2025-04-11 23:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887471') end
[2025-04-11 23:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 23:07:04] Production.INFO: 1
[2025-04-11 23:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 23:07:04] Production.INFO: Date 2025-04-08
[2025-04-11 23:07:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:07:04] Production.INFO: Date 2025-04-09
[2025-04-11 23:07:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:07:04] Production.INFO: Date 2025-04-10
[2025-04-11 23:07:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:07:04] Production.INFO: Date 2025-04-11
[2025-04-11 23:07:04] Production.INFO: ==27135== Releasing lock...
[2025-04-11 23:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 23:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 23:07:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:07:04] Production.INFO: Total Charge 0
[2025-04-11 23:07:04] Production.INFO: CreateAllLog End
[2025-04-11 23:07:04] Production.ERROR: done
[2025-04-11 23:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 23:07:04] Production.ERROR: done
[2025-04-11 23:07:05] Production.INFO: Account Balance End.
[2025-04-11 23:07:05] Production.ERROR: CronJobId end 12
[2025-04-11 23:07:05] Production.INFO: ==27131== Releasing lock...
[2025-04-11 23:07:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 23:07:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 23:07:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 20:07:06
[end_date_ymd] => 2025-04-11 23:07:06
[RateCDR] => 1
)
[2025-04-11 23: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-11 20:07:06' and `end` < '2025-04-11 23: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-11 23:07:15] Production.ERROR: CronJobId end10
[2025-04-11 23:07:15] Production.INFO: ==27129== Releasing lock...
[2025-04-11 23:07:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 23:07:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 23:07:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 23:07:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 23:07:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 23:07:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 23:07:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 23:07:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 23:07:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 23:07:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 23:07:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 23:07:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 23:07:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 23:07:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 23:07:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 23:07:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 23:07:16] Production.INFO: call_cost start
[2025-04-11 23:07:16] Production.INFO: call_cost end
[2025-04-11 23:07:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 23:07:17] Production.INFO: ============== Report Schedule START===========
[2025-04-11 23:07:17] Production.INFO: ============== Report Schedule END===========
[2025-04-11 23:07:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 23:07:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 23:07:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 23:07:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 23:07:17] Production.INFO: ============== Deal alert START===========
[2025-04-11 23:07:17] Production.INFO: ============== Deal alert END===========
[2025-04-11 23:07:17] Production.INFO: ==27125== Releasing lock...
[2025-04-11 23:07:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 23:07:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 23:07:19] Production.INFO: count ==921
[2025-04-11 23:07:19] Production.ERROR: pbx CDR StartTime 2025-04-11 20:07:06 - End Time 2025-04-11 23:07:06
[2025-04-11 23:07:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 23:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887473', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887473', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887473', 'tblTempVendorCDR_20' ) start
[2025-04-11 23:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887473', 'tblTempVendorCDR_20' ) end
[2025-04-11 23:07:19] Production.INFO: ProcessCDR(1,14887473,1,1,2)
[2025-04-11 23:07:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887473,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:07:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887473,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:07:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887473,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:07:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887473,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887473', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887473', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:07:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 23:07:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 23:07:22] Production.INFO: ==27133== Releasing lock...
[2025-04-11 23:07:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 23:07:22] Production.INFO: 34.25 MB #Memory Used#
[2025-04-12 04:08:01] Production.INFO: ==27340== Lock acquired, processing the job...
[2025-04-12 04:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 04:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 04:08:01] Production.INFO: neon service started
[2025-04-12 04:08:01] Production.INFO: neon service started
[2025-04-12 04:08:01] Production.INFO: ==27340== Releasing lock...
[2025-04-12 04:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 04:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 23:08:02] Production.INFO: ==27342== Lock acquired, processing the job...
[2025-04-11 23:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 23:08:02] Production.INFO: ==27342== Releasing lock...
[2025-04-11 23:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 23:08:02] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 03:08:02] Production.INFO: ==27344== Lock acquired, processing the job...
[2025-04-12 03:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 03:08:02] Production.INFO: ==27344== Releasing lock...
[2025-04-12 03:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 03:08:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 23:08:03] Production.INFO: ==27348== Lock acquired, processing the job...
[2025-04-11 23:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 23:08:03] Production.INFO: ==27346== Lock acquired, processing the job...
[2025-04-11 23:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 23:08:03] Production.INFO: ==27350== Lock acquired, processing the job...
[2025-04-11 23:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 23:08:03] Production.INFO: ==27352== Lock acquired, processing the job...
[2025-04-11 23:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 23:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 23:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 23:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 23:08:03] Production.INFO: ==27354== Lock acquired, processing the job...
[2025-04-11 23:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 23:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 23:08:03] Production.INFO: ==27356== Lock acquired, processing the job...
[2025-04-11 23:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 23:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 23:08:03] Production.INFO: Account Balance Start.
[2025-04-11 23:08:03] Production.INFO: CreateAllLog Start
[2025-04-11 23:08:03] Production.INFO: 117
[2025-04-11 23:08:03] Production.INFO: Date 2025-04-08
[2025-04-11 23:08:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:08:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 23:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 23:08:03] Production.INFO: Date 2025-04-09
[2025-04-11 23:08:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:08:03] Production.INFO: count ==12
[2025-04-11 23:08:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 23:08:03] Production.INFO: count ==23
[2025-04-11 23:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887477') start
[2025-04-11 23:08:03] Production.INFO: ==27348== Releasing lock...
[2025-04-11 23:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 23:08:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 23:08:03] Production.INFO: Date 2025-04-10
[2025-04-11 23:08:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:08:03] Production.INFO: Date 2025-04-11
[2025-04-11 23:08:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:08:03] Production.INFO: Total Charge 0
[2025-04-11 23:08:03] Production.INFO: CreateAllLog End
[2025-04-11 23:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887477') end
[2025-04-11 23:08:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 23:08:03] Production.INFO: 1
[2025-04-11 23:08:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 23:08:03] Production.INFO: ==27356== Releasing lock...
[2025-04-11 23:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 23:08:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 23:08:04] Production.INFO: Account Balance End.
[2025-04-11 23:08:04] Production.ERROR: CronJobId end 12
[2025-04-11 23:08:04] Production.INFO: ==27352== Releasing lock...
[2025-04-11 23:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 23:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 23:08:04] Production.ERROR: done
[2025-04-11 23:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 23:08:04] Production.ERROR: done
[2025-04-11 23:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 20:08:05
[end_date_ymd] => 2025-04-11 23:08:05
[RateCDR] => 1
)
[2025-04-11 23:08:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 20:08:05' and `end` < '2025-04-11 23:08:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 23:08:12] Production.ERROR: CronJobId end10
[2025-04-11 23:08:12] Production.INFO: ==27350== Releasing lock...
[2025-04-11 23:08:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 23:08:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 23:08:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 23:08:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 23:08:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 23:08:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 23:08:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 23:08:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 23:08:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 23:08:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 23:08:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 23:08:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 23:08:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 23:08:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 23:08:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 23:08:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 23:08:15] Production.INFO: call_cost start
[2025-04-11 23:08:15] Production.INFO: call_cost end
[2025-04-11 23:08:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 23:08:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 23:08:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 23:08:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 23:08:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 23:08:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 23:08:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 23:08:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 23:08:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 23:08:16] Production.INFO: ==27346== Releasing lock...
[2025-04-11 23:08:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 23:08:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 23:08:18] Production.INFO: count ==1078
[2025-04-11 23:08:18] Production.ERROR: pbx CDR StartTime 2025-04-11 20:08:05 - End Time 2025-04-11 23:08:05
[2025-04-11 23:08:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 23:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887478', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887478', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887478', 'tblTempVendorCDR_20' ) start
[2025-04-11 23:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887478', 'tblTempVendorCDR_20' ) end
[2025-04-11 23:08:18] Production.INFO: ProcessCDR(1,14887478,1,1,2)
[2025-04-11 23:08:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887478,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:08:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887478,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:08:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887478,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:08:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887478,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887478', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887478', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:08:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 23:08:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 23:08:22] Production.INFO: ==27354== Releasing lock...
[2025-04-11 23:08:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 23:08:22] Production.INFO: 35.75 MB #Memory Used#
[2025-04-12 04:09:02] Production.INFO: ==27454== Lock acquired, processing the job...
[2025-04-12 04:09:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 04:09:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 04:09:02] Production.INFO: neon service started
[2025-04-12 04:09:02] Production.INFO: neon service started
[2025-04-12 04:09:02] Production.INFO: ==27454== Releasing lock...
[2025-04-12 04:09:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 04:09:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 23:09:02] Production.INFO: ==27456== Lock acquired, processing the job...
[2025-04-11 23:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 03:09:02] Production.INFO: ==27458== Lock acquired, processing the job...
[2025-04-12 03:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 03:09:03] Production.INFO: ==27458== Releasing lock...
[2025-04-12 03:09:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 03:09:03] Production.INFO: 25 MB #Memory Used#
[2025-04-11 23:09:03] Production.INFO: ==27456== Releasing lock...
[2025-04-11 23:09:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 23:09:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 23:09:04] Production.INFO: ==27465== Lock acquired, processing the job...
[2025-04-11 23:09:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 23:09:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 23:09:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 23:09:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 23:09:04] Production.INFO: ==27471== Lock acquired, processing the job...
[2025-04-11 23:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 23:09:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 23:09:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 23:09:04] Production.INFO: ==27463== Lock acquired, processing the job...
[2025-04-11 23:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 23:09:04] Production.INFO: count ==12
[2025-04-11 23:09:04] Production.INFO: ==27461== Lock acquired, processing the job...
[2025-04-11 23:09:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 23:09:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 23:09:04] Production.INFO: count ==23
[2025-04-11 23:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887479') start
[2025-04-11 23:09:04] Production.INFO: ==27467== Lock acquired, processing the job...
[2025-04-11 23:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 23:09:04] Production.INFO: ==27469== Lock acquired, processing the job...
[2025-04-11 23:09:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 23:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887479') end
[2025-04-11 23:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 23:09:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 23:09:04] Production.INFO: 1
[2025-04-11 23:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 23:09:04] Production.INFO: ==27471== Releasing lock...
[2025-04-11 23:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 23:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 23:09:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 23:09:04] Production.INFO: Account Balance Start.
[2025-04-11 23:09:04] Production.INFO: CreateAllLog Start
[2025-04-11 23:09:04] Production.INFO: 117
[2025-04-11 23:09:04] Production.INFO: Date 2025-04-08
[2025-04-11 23:09:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:09:04] Production.INFO: Date 2025-04-09
[2025-04-11 23:09:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:09:04] Production.INFO: Date 2025-04-10
[2025-04-11 23:09:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:09:04] Production.INFO: Date 2025-04-11
[2025-04-11 23:09:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:09:04] Production.INFO: Total Charge 0
[2025-04-11 23:09:04] Production.INFO: CreateAllLog End
[2025-04-11 23:09:04] Production.INFO: ==27463== Releasing lock...
[2025-04-11 23:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 23:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 23:09:05] Production.ERROR: done
[2025-04-11 23:09:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 23:09:05] Production.ERROR: done
[2025-04-11 23:09:05] Production.INFO: Account Balance End.
[2025-04-11 23:09:05] Production.ERROR: CronJobId end 12
[2025-04-11 23:09:05] Production.INFO: ==27467== Releasing lock...
[2025-04-11 23:09:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 23:09:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 23:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 20:09:05
[end_date_ymd] => 2025-04-11 23:09:05
[RateCDR] => 1
)
[2025-04-11 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-11 20:09:05' and `end` < '2025-04-11 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-11 23:09:12] Production.ERROR: CronJobId end10
[2025-04-11 23:09:12] Production.INFO: ==27465== Releasing lock...
[2025-04-11 23:09:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 23:09:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 23:09:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 23:09:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 23:09:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 23:09:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 23:09:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 23:09:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 23:09:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 23:09:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 23:09:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 23:09:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 23:09:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 23:09:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 23:09:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 23:09:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 23:09:15] Production.INFO: call_cost start
[2025-04-11 23:09:15] Production.INFO: call_cost end
[2025-04-11 23:09:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 23:09:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 23:09:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 23:09:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 23:09:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 23:09:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 23:09:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 23:09:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 23:09:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 23:09:16] Production.INFO: ==27461== Releasing lock...
[2025-04-11 23:09:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 23:09:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 23:09:18] Production.INFO: count ==1076
[2025-04-11 23:09:18] Production.ERROR: pbx CDR StartTime 2025-04-11 20:09:05 - End Time 2025-04-11 23:09:05
[2025-04-11 23:09:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 23:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887483', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887483', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887483', 'tblTempVendorCDR_20' ) start
[2025-04-11 23:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887483', 'tblTempVendorCDR_20' ) end
[2025-04-11 23:09:19] Production.INFO: ProcessCDR(1,14887483,1,1,2)
[2025-04-11 23:09:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887483,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:09:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887483,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:09:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887483,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:09:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887483,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:09:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887483', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:09:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887483', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:09:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 23:09:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 23:09:24] Production.INFO: ==27469== Releasing lock...
[2025-04-11 23:09:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 23:09:24] Production.INFO: 35.75 MB #Memory Used#
[2025-04-12 04:10:01] Production.INFO: ==27527== Lock acquired, processing the job...
[2025-04-12 04:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 04:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 04:10:01] Production.INFO: neon service started
[2025-04-12 04:10:01] Production.INFO: neon service started
[2025-04-12 04:10:01] Production.INFO: ==27527== Releasing lock...
[2025-04-12 04:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 04:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 23:10:02] Production.INFO: ==27529== Lock acquired, processing the job...
[2025-04-11 23:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 03:10:02] Production.INFO: ==27531== Lock acquired, processing the job...
[2025-04-12 03:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-11 23:10:02] Production.INFO: ==27529== Releasing lock...
[2025-04-11 23:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 23:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 03:10:02] Production.INFO: ==27531== Releasing lock...
[2025-04-12 03:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 03:10:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 23:10:03] Production.INFO: ==27539== Lock acquired, processing the job...
[2025-04-11 23:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 23:10:03] Production.INFO: ==27543== Lock acquired, processing the job...
[2025-04-11 23:10:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 23:10:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 23:10:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 23:10:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 23:10:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 23:10:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 23:10:03] Production.INFO: ==27535== Lock acquired, processing the job...
[2025-04-11 23:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 23:10:03] Production.INFO: ==27546== Lock acquired, processing the job...
[2025-04-11 23:10:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-11 23:10:03] Production.INFO: ==27533== Lock acquired, processing the job...
[2025-04-11 23:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-11 23:10:04] Production.INFO: ==27537== Lock acquired, processing the job...
[2025-04-11 23:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 23:10:04] Production.INFO: ==27541== Lock acquired, processing the job...
[2025-04-11 23:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 23:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-11 23:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-11 23:10:04] Production.ERROR: CronJob PID - 27535
[2025-04-11 23:10:04] Production.ERROR: CronJob Title - System Alerts
[2025-04-11 23:10:04] Production.ERROR: CronJob ID - 5
[2025-04-11 23:10:04] Production.ERROR: CronJob Last Run Time 2025-04-11 23:10:00
[2025-04-11 23:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-11 23:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-11 23:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-11 23:10:04] Production.ERROR: CronJob PID - 27537
[2025-04-11 23:10:04] Production.ERROR: CronJob Title - Account Block
[2025-04-11 23:10:04] Production.ERROR: CronJob ID - 7
[2025-04-11 23:10:04] Production.ERROR: CronJob Last Run Time 2025-04-11 23:10:00
[2025-04-11 23:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-11 23:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-11 23:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-11 23:10:04] Production.ERROR: CronJob PID - 27539
[2025-04-11 23:10:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-04-11 23:10:04] Production.ERROR: CronJob ID - 10
[2025-04-11 23:10:04] Production.ERROR: CronJob Last Run Time 2025-04-11 23:10:00
[2025-04-11 23:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-11 23:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-11 23:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-11 23:10:04] Production.ERROR: CronJob PID - 27541
[2025-04-11 23:10:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-04-11 23:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 23:10:04] Production.ERROR: CronJob ID - 12
[2025-04-11 23:10:04] Production.ERROR: CronJob Last Run Time 2025-04-11 23:10:00
[2025-04-11 23:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-11 23:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-11 23:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-11 23:10:04] Production.ERROR: CronJob PID - 27543
[2025-04-11 23:10:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-04-11 23:10:04] Production.ERROR: CronJob ID - 16
[2025-04-11 23:10:04] Production.ERROR: CronJob Last Run Time 2025-04-11 23:10:00
[2025-04-11 23:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-11 23:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-11 23:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-11 23:10:04] Production.ERROR: CronJob PID - 27546
[2025-04-11 23:10:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-04-11 23:10:04] Production.ERROR: CronJob ID - 17
[2025-04-11 23:10:04] Production.ERROR: CronJob Last Run Time 2025-04-11 23:10:00
[2025-04-11 23:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-11 23:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-11 23:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 23:10:04] Production.INFO: ==27548== Lock acquired, processing the job...
[2025-04-11 23:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 23:10:04] Production.INFO: Account Balance Start.
[2025-04-11 23:10:04] Production.INFO: CreateAllLog Start
[2025-04-11 23:10:04] Production.INFO: 117
[2025-04-11 23:10:04] Production.INFO: Date 2025-04-08
[2025-04-11 23:10:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:10:04] Production.INFO: Date 2025-04-09
[2025-04-11 23:10:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:10:04] Production.INFO: Date 2025-04-10
[2025-04-11 23:10:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-11 23:10:04] Production.INFO: ==27533== Releasing lock...
[2025-04-11 23:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-11 23:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-11 23:10:04] Production.ERROR: done
[2025-04-11 23:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 23:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 23:10:04] Production.INFO: Date 2025-04-11
[2025-04-11 23:10:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:10:04] Production.INFO: count ==12
[2025-04-11 23:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 23:10:04] Production.INFO: count ==23
[2025-04-11 23:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887487') start
[2025-04-11 23:10:04] Production.ERROR: done
[2025-04-11 23:10:04] Production.ERROR: done
[2025-04-11 23:10:04] Production.INFO: ==27537== Releasing lock...
[2025-04-11 23:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 23:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 23:10:04] Production.INFO: Total Charge 0
[2025-04-11 23:10:04] Production.INFO: CreateAllLog End
[2025-04-11 23:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-11 23:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14887488', 'tblTempUsageDetail_20reseller','2025-04-11','2025-04-11','1' ) start
[2025-04-11 23:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887487') end
[2025-04-11 23:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 23:10:04] Production.INFO: 1
[2025-04-11 23:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 23:10:05] Production.INFO: Account Balance End.
[2025-04-11 23:10:05] Production.INFO: ==27548== Releasing lock...
[2025-04-11 23:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 23:10:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 23:10:05] Production.ERROR: CronJobId end 12
[2025-04-11 23:10:05] Production.INFO: ==27541== Releasing lock...
[2025-04-11 23:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 23:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 23:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 20:10:06
[end_date_ymd] => 2025-04-11 23:10:06
[RateCDR] => 1
)
[2025-04-11 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-11 20:10:06' and `end` < '2025-04-11 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-11 23:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14887488', 'tblTempUsageDetail_20reseller','2025-04-11','2025-04-11','1' ) end
[2025-04-11 23:10:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-11 23:10:09] Production.INFO: ProcessCDR(1,14887488,1,1,2)
[2025-04-11 23:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14887488,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14887488,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 23:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 23:10:09] Production.INFO: ==27546== Releasing lock...
[2025-04-11 23:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-11 23:10:09] Production.INFO: 26 MB #Memory Used#
[2025-04-11 23:10:13] Production.ERROR: CronJobId end10
[2025-04-11 23:10:13] Production.INFO: ==27539== Releasing lock...
[2025-04-11 23:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 23:10:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 23:10:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 23:10:16] Production.INFO: ============== Balance Warning START===========
[2025-04-11 23:10:16] Production.INFO: ============== Balance Warning END===========
[2025-04-11 23:10:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 23:10:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 23:10:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 23:10:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 23:10:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 23:10:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 23:10:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 23:10:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 23:10:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 23:10:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 23:10:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 23:10:16] Production.INFO: call_cost start
[2025-04-11 23:10:16] Production.INFO: call_cost end
[2025-04-11 23:10:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 23:10:17] Production.INFO: ============== Report Schedule START===========
[2025-04-11 23:10:17] Production.INFO: ============== Report Schedule END===========
[2025-04-11 23:10:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 23:10:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 23:10:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 23:10:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 23:10:17] Production.INFO: ============== Deal alert START===========
[2025-04-11 23:10:17] Production.INFO: ============== Deal alert END===========
[2025-04-11 23:10:17] Production.INFO: ==27535== Releasing lock...
[2025-04-11 23:10:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 23:10:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 23:10:19] Production.INFO: count ==1078
[2025-04-11 23:10:19] Production.ERROR: pbx CDR StartTime 2025-04-11 20:10:06 - End Time 2025-04-11 23:10:06
[2025-04-11 23:10:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 23:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887489', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887489', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887489', 'tblTempVendorCDR_20' ) start
[2025-04-11 23:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887489', 'tblTempVendorCDR_20' ) end
[2025-04-11 23:10:19] Production.INFO: ProcessCDR(1,14887489,1,1,2)
[2025-04-11 23:10:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887489,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:10:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887489,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:10:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887489,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:10:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887489,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:10:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887489', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:10:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887489', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:10:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 23:10:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 23:10:24] Production.INFO: ==27543== Releasing lock...
[2025-04-11 23:10:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 23:10:24] Production.INFO: 35.75 MB #Memory Used#
[2025-04-12 04:11:02] Production.INFO: ==27603== Lock acquired, processing the job...
[2025-04-12 04:11:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 04:11:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 04:11:02] Production.INFO: neon service started
[2025-04-12 04:11:02] Production.INFO: neon service started
[2025-04-12 04:11:02] Production.INFO: ==27603== Releasing lock...
[2025-04-12 04:11:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 04:11:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 03:11:02] Production.INFO: ==27607== Lock acquired, processing the job...
[2025-04-12 03:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 03:11:02] Production.INFO: ==27607== Releasing lock...
[2025-04-12 03:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 03:11:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 23:11:02] Production.INFO: ==27605== Lock acquired, processing the job...
[2025-04-11 23:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 23:11:02] Production.INFO: ==27605== Releasing lock...
[2025-04-11 23:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 23:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 23:11:03] Production.INFO: ==27612== Lock acquired, processing the job...
[2025-04-11 23:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 23:11:03] Production.INFO: ==27614== Lock acquired, processing the job...
[2025-04-11 23:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 23:11:03] Production.INFO: ==27616== Lock acquired, processing the job...
[2025-04-11 23:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 23:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 23:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 23:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 23:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 23:11:03] Production.INFO: Account Balance Start.
[2025-04-11 23:11:03] Production.INFO: CreateAllLog Start
[2025-04-11 23:11:03] Production.INFO: 117
[2025-04-11 23:11:03] Production.INFO: Date 2025-04-08
[2025-04-11 23:11:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:11:03] Production.INFO: Date 2025-04-09
[2025-04-11 23:11:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:11:03] Production.INFO: Date 2025-04-10
[2025-04-11 23:11:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:11:03] Production.INFO: ==27612== Releasing lock...
[2025-04-11 23:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 23:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 23:11:03] Production.INFO: Date 2025-04-11
[2025-04-11 23:11:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:11:04] Production.INFO: Total Charge 0
[2025-04-11 23:11:04] Production.INFO: CreateAllLog End
[2025-04-11 23:11:04] Production.INFO: ==27610== Lock acquired, processing the job...
[2025-04-11 23:11:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 23:11:04] Production.INFO: ==27620== Lock acquired, processing the job...
[2025-04-11 23:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 23:11:04] Production.INFO: Account Balance End.
[2025-04-11 23:11:04] Production.INFO: ==27618== Lock acquired, processing the job...
[2025-04-11 23:11:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 23:11:04] Production.ERROR: CronJobId end 12
[2025-04-11 23:11:04] Production.INFO: ==27616== Releasing lock...
[2025-04-11 23:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 23:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 23:11:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 23:11:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 23:11:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 23:11:04] Production.INFO: count ==12
[2025-04-11 23:11:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 23:11:04] Production.INFO: count ==23
[2025-04-11 23:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887493') start
[2025-04-11 23:11:04] Production.ERROR: done
[2025-04-11 23:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887493') end
[2025-04-11 23:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 23:11:04] Production.INFO: 1
[2025-04-11 23:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 23:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 23:11:04] Production.INFO: ==27620== Releasing lock...
[2025-04-11 23:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 23:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 23:11:04] Production.ERROR: done
[2025-04-11 23:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 20:11:05
[end_date_ymd] => 2025-04-11 23:11:05
[RateCDR] => 1
)
[2025-04-11 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-11 20:11:05' and `end` < '2025-04-11 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-11 23:11:12] Production.ERROR: CronJobId end10
[2025-04-11 23:11:12] Production.INFO: ==27614== Releasing lock...
[2025-04-11 23:11:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 23:11:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 23:11:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 23:11:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 23:11:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 23:11:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 23:11:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 23:11:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 23:11:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 23:11:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 23:11:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 23:11:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 23:11:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 23:11:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 23:11:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 23:11:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 23:11:15] Production.INFO: call_cost start
[2025-04-11 23:11:15] Production.INFO: call_cost end
[2025-04-11 23:11:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 23:11:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 23:11:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 23:11:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 23:11:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 23:11:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 23:11:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 23:11:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 23:11:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 23:11:16] Production.INFO: ==27610== Releasing lock...
[2025-04-11 23:11:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 23:11:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 23:11:18] Production.INFO: count ==1058
[2025-04-11 23:11:18] Production.ERROR: pbx CDR StartTime 2025-04-11 20:11:05 - End Time 2025-04-11 23:11:05
[2025-04-11 23:11:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 23:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887494', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887494', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887494', 'tblTempVendorCDR_20' ) start
[2025-04-11 23:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887494', 'tblTempVendorCDR_20' ) end
[2025-04-11 23:11:18] Production.INFO: ProcessCDR(1,14887494,1,1,2)
[2025-04-11 23:11:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887494,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:11:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887494,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:11:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887494,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:11:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887494,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887494', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887494', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:11:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 23:11:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 23:11:22] Production.INFO: ==27618== Releasing lock...
[2025-04-11 23:11:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 23:11:22] Production.INFO: 35.5 MB #Memory Used#
[2025-04-12 04:12:01] Production.INFO: ==27761== Lock acquired, processing the job...
[2025-04-12 04:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 04:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 04:12:01] Production.INFO: neon service started
[2025-04-12 04:12:01] Production.INFO: neon service started
[2025-04-12 04:12:01] Production.INFO: ==27761== Releasing lock...
[2025-04-12 04:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 04:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 03:12:01] Production.INFO: ==27765== Lock acquired, processing the job...
[2025-04-12 03:12:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 03:12:02] Production.INFO: ==27765== Releasing lock...
[2025-04-12 03:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 03:12:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 23:12:02] Production.INFO: ==27763== Lock acquired, processing the job...
[2025-04-11 23:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 23:12:02] Production.INFO: ==27763== Releasing lock...
[2025-04-11 23:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 23:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 23:12:03] Production.INFO: ==27772== Lock acquired, processing the job...
[2025-04-11 23:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 23:12:03] Production.INFO: ==27778== Lock acquired, processing the job...
[2025-04-11 23:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 23:12:03] Production.INFO: ==27768== Lock acquired, processing the job...
[2025-04-11 23:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 23:12:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 23:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 23:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 23:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 23:12:03] Production.INFO: count ==12
[2025-04-11 23:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 23:12:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 23:12:03] Production.INFO: count ==23
[2025-04-11 23:12:03] Production.INFO: ==27770== Lock acquired, processing the job...
[2025-04-11 23:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 23:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887495') start
[2025-04-11 23:12:03] Production.INFO: ==27776== Lock acquired, processing the job...
[2025-04-11 23:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 23:12:03] Production.INFO: ==27774== Lock acquired, processing the job...
[2025-04-11 23:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 23:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 23:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 23:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887495') end
[2025-04-11 23:12:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 23:12:03] Production.INFO: 1
[2025-04-11 23:12:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 23:12:03] Production.INFO: Account Balance Start.
[2025-04-11 23:12:03] Production.INFO: CreateAllLog Start
[2025-04-11 23:12:03] Production.INFO: 117
[2025-04-11 23:12:03] Production.INFO: Date 2025-04-08
[2025-04-11 23:12:03] Production.INFO: ==27778== Releasing lock...
[2025-04-11 23:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 23:12:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 23:12:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:12:04] Production.INFO: Date 2025-04-09
[2025-04-11 23:12:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:12:04] Production.ERROR: done
[2025-04-11 23:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 23:12:04] Production.INFO: ==27770== Releasing lock...
[2025-04-11 23:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 23:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 23:12:04] Production.INFO: Date 2025-04-10
[2025-04-11 23:12:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:12:04] Production.INFO: Date 2025-04-11
[2025-04-11 23:12:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:12:04] Production.INFO: Total Charge 0
[2025-04-11 23:12:04] Production.INFO: CreateAllLog End
[2025-04-11 23:12:04] Production.ERROR: done
[2025-04-11 23:12:04] Production.INFO: Account Balance End.
[2025-04-11 23:12:04] Production.ERROR: CronJobId end 12
[2025-04-11 23:12:04] Production.INFO: ==27774== Releasing lock...
[2025-04-11 23:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 23:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 23:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 20:12:05
[end_date_ymd] => 2025-04-11 23:12:05
[RateCDR] => 1
)
[2025-04-11 23:12:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 20:12:05' and `end` < '2025-04-11 23:12:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 23:12:12] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:362
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(362): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_update...', Array)
#2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_update...', Array, Object(Closure))
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(363): Illuminate\Database\Connection->run('CALL prc_update...', Array, Object(Closure))
#4 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Database\Connection->statement()
#5 /var/www/html/onswitch.neon.service/app/Console/Commands/CreateSummaryLive.php(0): App\Lib\AccountBalance::getOutstandingAmount()
#6 [internal function]: App\Console\Commands\CreateSummaryLive->handle()
#7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#8 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#9 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\CreateSummaryLive), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 {main}
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_updateSOAOffSet(1,0))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_update...', Array, Object(Closure))
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(363): Illuminate\Database\Connection->run('CALL prc_update...', Array, Object(Closure))
#2 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Database\Connection->statement()
#3 /var/www/html/onswitch.neon.service/app/Console/Commands/CreateSummaryLive.php(0): App\Lib\AccountBalance::getOutstandingAmount()
#4 [internal function]: App\Console\Commands\CreateSummaryLive->handle()
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#7 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#8 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#9 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\CreateSummaryLive), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 {main}
[2025-04-11 23:12:12] Production.ERROR: CronJobId end10
[2025-04-11 23:12:12] Production.INFO: ==27772== Releasing lock...
[2025-04-11 23:12:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 23:12:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 23:12:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 23:12:13] Production.INFO: ============== Balance Warning START===========
[2025-04-11 23:12:13] Production.INFO: ============== Balance Warning END===========
[2025-04-11 23:12:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 23:12:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 23:12:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 23:12:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 23:12:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 23:12:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 23:12:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 23:12:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 23:12:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 23:12:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 23:12:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 23:12:14] Production.INFO: call_cost start
[2025-04-11 23:12:14] Production.INFO: call_cost end
[2025-04-11 23:12:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 23:12:15] Production.INFO: ============== Report Schedule START===========
[2025-04-11 23:12:15] Production.INFO: ============== Report Schedule END===========
[2025-04-11 23:12:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 23:12:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 23:12:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 23:12:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 23:12:15] Production.INFO: ============== Deal alert START===========
[2025-04-11 23:12:15] Production.INFO: ============== Deal alert END===========
[2025-04-11 23:12:15] Production.INFO: ==27768== Releasing lock...
[2025-04-11 23:12:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 23:12:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 23:12:18] Production.INFO: count ==1055
[2025-04-11 23:12:18] Production.ERROR: pbx CDR StartTime 2025-04-11 20:12:05 - End Time 2025-04-11 23:12:05
[2025-04-11 23:12:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 23:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887499', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887499', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887499', 'tblTempVendorCDR_20' ) start
[2025-04-11 23:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887499', 'tblTempVendorCDR_20' ) end
[2025-04-11 23:12:18] Production.INFO: ProcessCDR(1,14887499,1,1,2)
[2025-04-11 23:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887499,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:12:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887499,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:12:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887499,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:12:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887499,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887499', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887499', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:12:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 23:12:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 23:12:21] Production.INFO: ==27776== Releasing lock...
[2025-04-11 23:12:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 23:12:21] Production.INFO: 35.5 MB #Memory Used#
[2025-04-12 04:13:02] Production.INFO: ==27838== Lock acquired, processing the job...
[2025-04-12 04:13:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 04:13:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 04:13:02] Production.INFO: neon service started
[2025-04-12 04:13:02] Production.INFO: neon service started
[2025-04-12 04:13:02] Production.INFO: ==27838== Releasing lock...
[2025-04-12 04:13:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 04:13:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 23:13:02] Production.INFO: ==27840== Lock acquired, processing the job...
[2025-04-11 23:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 23:13:02] Production.INFO: ==27840== Releasing lock...
[2025-04-11 23:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 23:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 03:13:02] Production.INFO: ==27842== Lock acquired, processing the job...
[2025-04-12 03:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 03:13:03] Production.INFO: ==27842== Releasing lock...
[2025-04-12 03:13:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 03:13:03] Production.INFO: 25 MB #Memory Used#
[2025-04-11 23:13:03] Production.INFO: ==27855== Lock acquired, processing the job...
[2025-04-11 23:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 23:13:03] Production.INFO: ==27853== Lock acquired, processing the job...
[2025-04-11 23:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 23:13:03] Production.INFO: ==27845== Lock acquired, processing the job...
[2025-04-11 23:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 23:13:03] Production.INFO: ==27847== Lock acquired, processing the job...
[2025-04-11 23:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 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-11 23:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 23:13:03] Production.INFO: count ==12
[2025-04-11 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-11 23:13:03] Production.INFO: count ==23
[2025-04-11 23:13:03] Production.INFO: ==27849== Lock acquired, processing the job...
[2025-04-11 23:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 23:13:03] Production.INFO: ==27851== Lock acquired, processing the job...
[2025-04-11 23:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 23:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887500') start
[2025-04-11 23:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 23:13:04] Production.INFO: Account Balance Start.
[2025-04-11 23:13:04] Production.INFO: CreateAllLog Start
[2025-04-11 23:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887500') end
[2025-04-11 23:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 23:13:04] Production.INFO: 1
[2025-04-11 23:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 23:13:04] Production.INFO: 117
[2025-04-11 23:13:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 23:13:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 23:13:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 23:13:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 23:13:04] Production.INFO: Date 2025-04-08
[2025-04-11 23:13:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:13:04] Production.INFO: Date 2025-04-09
[2025-04-11 23:13:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:13:04] Production.INFO: ==27855== Releasing lock...
[2025-04-11 23:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 23:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 23:13:04] Production.ERROR: done
[2025-04-11 23:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 23:13:04] Production.INFO: Date 2025-04-10
[2025-04-11 23:13:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:13:04] Production.INFO: Date 2025-04-11
[2025-04-11 23:13:04] Production.INFO: ==27847== Releasing lock...
[2025-04-11 23:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 23:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 23:13:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:13:04] Production.INFO: Total Charge 0
[2025-04-11 23:13:04] Production.INFO: CreateAllLog End
[2025-04-11 23:13:04] Production.ERROR: done
[2025-04-11 23:13:04] Production.INFO: Account Balance End.
[2025-04-11 23:13:04] Production.ERROR: CronJobId end 12
[2025-04-11 23:13:04] Production.INFO: ==27851== Releasing lock...
[2025-04-11 23:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 23:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 23:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 20:13:05
[end_date_ymd] => 2025-04-11 23:13:05
[RateCDR] => 1
)
[2025-04-11 23:13:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 20:13:05' and `end` < '2025-04-11 23:13:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 23:13:11] Production.ERROR: CronJobId end10
[2025-04-11 23:13:11] Production.INFO: ==27849== Releasing lock...
[2025-04-11 23:13:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 23:13:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 23:13:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 23:13:13] Production.INFO: ============== Balance Warning START===========
[2025-04-11 23:13:13] Production.INFO: ============== Balance Warning END===========
[2025-04-11 23:13:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 23:13:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 23:13:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 23:13:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 23:13:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 23:13:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 23:13:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 23:13:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 23:13:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 23:13:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 23:13:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 23:13:14] Production.INFO: call_cost start
[2025-04-11 23:13:14] Production.INFO: call_cost end
[2025-04-11 23:13:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 23:13:15] Production.INFO: ============== Report Schedule START===========
[2025-04-11 23:13:15] Production.INFO: ============== Report Schedule END===========
[2025-04-11 23:13:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 23:13:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 23:13:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 23:13:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 23:13:15] Production.INFO: ============== Deal alert START===========
[2025-04-11 23:13:15] Production.INFO: ============== Deal alert END===========
[2025-04-11 23:13:15] Production.INFO: ==27845== Releasing lock...
[2025-04-11 23:13:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 23:13:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 23:13:18] Production.INFO: count ==1059
[2025-04-11 23:13:18] Production.ERROR: pbx CDR StartTime 2025-04-11 20:13:05 - End Time 2025-04-11 23:13:05
[2025-04-11 23:13:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 23:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887504', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887504', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887504', 'tblTempVendorCDR_20' ) start
[2025-04-11 23:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887504', 'tblTempVendorCDR_20' ) end
[2025-04-11 23:13:18] Production.INFO: ProcessCDR(1,14887504,1,1,2)
[2025-04-11 23:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887504,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:13:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887504,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:13:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887504,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:13:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887504,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887504', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887504', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:13:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 23:13:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 23:13:22] Production.INFO: ==27853== Releasing lock...
[2025-04-11 23:13:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 23:13:22] Production.INFO: 35.5 MB #Memory Used#
[2025-04-12 04:14:01] Production.INFO: ==27910== Lock acquired, processing the job...
[2025-04-12 04:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 04:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 04:14:01] Production.INFO: neon service started
[2025-04-12 04:14:01] Production.INFO: neon service started
[2025-04-12 04:14:01] Production.INFO: ==27910== Releasing lock...
[2025-04-12 04:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 04:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 03:14:01] Production.INFO: ==27914== Lock acquired, processing the job...
[2025-04-12 03:14:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 03:14:01] Production.INFO: ==27914== Releasing lock...
[2025-04-12 03:14:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 03:14:01] Production.INFO: 25 MB #Memory Used#
[2025-04-11 23:14:02] Production.INFO: ==27912== Lock acquired, processing the job...
[2025-04-11 23:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 23:14:02] Production.INFO: ==27912== Releasing lock...
[2025-04-11 23:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 23:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 23:14:03] Production.INFO: ==27917== Lock acquired, processing the job...
[2025-04-11 23:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 23:14:03] Production.INFO: ==27925== Lock acquired, processing the job...
[2025-04-11 23:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 23:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 23:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 23:14:03] Production.INFO: ==27919== Lock acquired, processing the job...
[2025-04-11 23:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 23:14:03] Production.INFO: ==27921== Lock acquired, processing the job...
[2025-04-11 23:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 23:14:03] Production.INFO: ==27923== Lock acquired, processing the job...
[2025-04-11 23:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 23:14:03] Production.INFO: ==27927== Lock acquired, processing the job...
[2025-04-11 23:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 23:14:03] Production.INFO: Account Balance Start.
[2025-04-11 23:14:03] Production.INFO: CreateAllLog Start
[2025-04-11 23:14:03] Production.INFO: 117
[2025-04-11 23:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 23:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 23:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 23:14:03] Production.INFO: Date 2025-04-08
[2025-04-11 23:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 23:14:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:14:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 23:14:03] Production.INFO: count ==12
[2025-04-11 23:14:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 23:14:03] Production.INFO: count ==23
[2025-04-11 23:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887508') start
[2025-04-11 23:14:03] Production.INFO: Date 2025-04-09
[2025-04-11 23:14:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:14:03] Production.ERROR: done
[2025-04-11 23:14:03] Production.INFO: Date 2025-04-10
[2025-04-11 23:14:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:14:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 23:14:03] Production.INFO: Date 2025-04-11
[2025-04-11 23:14:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887508') end
[2025-04-11 23:14:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 23:14:03] Production.INFO: 1
[2025-04-11 23:14:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 23:14:03] Production.INFO: Total Charge 0
[2025-04-11 23:14:03] Production.INFO: CreateAllLog End
[2025-04-11 23:14:04] Production.INFO: ==27927== Releasing lock...
[2025-04-11 23:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 23:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 23:14:04] Production.INFO: ==27919== Releasing lock...
[2025-04-11 23:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 23:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 23:14:04] Production.ERROR: done
[2025-04-11 23:14:04] Production.INFO: Account Balance End.
[2025-04-11 23:14:04] Production.ERROR: CronJobId end 12
[2025-04-11 23:14:04] Production.INFO: ==27923== Releasing lock...
[2025-04-11 23:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 23:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 23:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 20:14:05
[end_date_ymd] => 2025-04-11 23:14:05
[RateCDR] => 1
)
[2025-04-11 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-11 20:14:05' and `end` < '2025-04-11 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-11 23:14:13] Production.ERROR: CronJobId end10
[2025-04-11 23:14:13] Production.INFO: ==27921== Releasing lock...
[2025-04-11 23:14:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 23:14:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 23:14:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 23:14:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 23:14:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 23:14:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 23:14:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 23:14:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 23:14:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 23:14:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 23:14:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 23:14:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 23:14:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 23:14:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 23:14:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 23:14:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 23:14:14] Production.INFO: call_cost start
[2025-04-11 23:14:14] Production.INFO: call_cost end
[2025-04-11 23:14:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 23:14:15] Production.INFO: ============== Report Schedule START===========
[2025-04-11 23:14:15] Production.INFO: ============== Report Schedule END===========
[2025-04-11 23:14:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 23:14:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 23:14:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 23:14:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 23:14:15] Production.INFO: ============== Deal alert START===========
[2025-04-11 23:14:15] Production.INFO: ============== Deal alert END===========
[2025-04-11 23:14:15] Production.INFO: ==27917== Releasing lock...
[2025-04-11 23:14:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 23:14:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 23:14:18] Production.INFO: count ==1049
[2025-04-11 23:14:18] Production.ERROR: pbx CDR StartTime 2025-04-11 20:14:05 - End Time 2025-04-11 23:14:05
[2025-04-11 23:14:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 23:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887509', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887509', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887509', 'tblTempVendorCDR_20' ) start
[2025-04-11 23:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887509', 'tblTempVendorCDR_20' ) end
[2025-04-11 23:14:18] Production.INFO: ProcessCDR(1,14887509,1,1,2)
[2025-04-11 23:14:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887509,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:14:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887509,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:14:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887509,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:14:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887509,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887509', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887509', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:14:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 23:14:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 23:14:22] Production.INFO: ==27925== Releasing lock...
[2025-04-11 23:14:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 23:14:22] Production.INFO: 35.5 MB #Memory Used#
[2025-04-12 04:15:02] Production.INFO: ==28063== Lock acquired, processing the job...
[2025-04-12 04:15:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 04:15:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 04:15:02] Production.INFO: neon service started
[2025-04-12 04:15:02] Production.INFO: neon service started
[2025-04-12 04:15:02] Production.INFO: ==28063== Releasing lock...
[2025-04-12 04:15:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 04:15:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 23:15:02] Production.INFO: ==28065== Lock acquired, processing the job...
[2025-04-11 23:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 03:15:02] Production.INFO: ==28067== Lock acquired, processing the job...
[2025-04-12 03:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 03:15:02] Production.INFO: ==28067== Releasing lock...
[2025-04-12 03:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 03:15:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 23:15:03] Production.INFO: ==28065== Releasing lock...
[2025-04-11 23:15:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 23:15:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 23:15:03] Production.INFO: ==28072== Lock acquired, processing the job...
[2025-04-11 23:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 23:15:03] Production.INFO: ==28074== Lock acquired, processing the job...
[2025-04-11 23:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 23:15:03] Production.INFO: ==28070== Lock acquired, processing the job...
[2025-04-11 23:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 23:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 23:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 23:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 23:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 23:15:04] Production.INFO: ==28076== Lock acquired, processing the job...
[2025-04-11 23:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 23:15:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 23:15:04] Production.INFO: Account Balance Start.
[2025-04-11 23:15:04] Production.INFO: CreateAllLog Start
[2025-04-11 23:15:04] Production.INFO: 117
[2025-04-11 23:15:04] Production.INFO: Date 2025-04-08
[2025-04-11 23:15:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:15:04] Production.INFO: Date 2025-04-09
[2025-04-11 23:15:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:15:04] Production.INFO: Date 2025-04-10
[2025-04-11 23:15:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:15:04] Production.INFO: ==28078== Lock acquired, processing the job...
[2025-04-11 23:15:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 23:15:04] Production.INFO: Date 2025-04-11
[2025-04-11 23:15:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:15:04] Production.INFO: ==28072== Releasing lock...
[2025-04-11 23:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 23:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 23:15:04] Production.INFO: ==28080== Lock acquired, processing the job...
[2025-04-11 23:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 23:15:04] Production.INFO: Total Charge 0
[2025-04-11 23:15:04] Production.INFO: CreateAllLog End
[2025-04-11 23:15:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 23:15:04] Production.INFO: Account Balance End.
[2025-04-11 23:15:04] Production.ERROR: CronJobId end 12
[2025-04-11 23:15:04] Production.INFO: ==28076== Releasing lock...
[2025-04-11 23:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 23:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 23:15:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 23:15:04] Production.INFO: count ==12
[2025-04-11 23:15:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 23:15:04] Production.INFO: count ==23
[2025-04-11 23:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887513') start
[2025-04-11 23:15:04] Production.ERROR: done
[2025-04-11 23:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 23:15:05] Production.ERROR: PBX CALL prc_importPBXExtension('14887513') end
[2025-04-11 23:15:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 23:15:05] Production.INFO: 1
[2025-04-11 23:15:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 23:15:05] Production.ERROR: done
[2025-04-11 23:15:05] Production.INFO: ==28080== Releasing lock...
[2025-04-11 23:15:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 23:15:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 23:15:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 20:15:06
[end_date_ymd] => 2025-04-11 23:15:06
[RateCDR] => 1
)
[2025-04-11 23: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-11 20:15:06' and `end` < '2025-04-11 23: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-11 23:15:12] Production.ERROR: CronJobId end10
[2025-04-11 23:15:12] Production.INFO: ==28074== Releasing lock...
[2025-04-11 23:15:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 23:15:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 23:15:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 23:15:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 23:15:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 23:15:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 23:15:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 23:15:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 23:15:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 23:15:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 23:15:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 23:15:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 23:15:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 23:15:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 23:15:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 23:15:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 23:15:14] Production.INFO: call_cost start
[2025-04-11 23:15:14] Production.INFO: call_cost end
[2025-04-11 23:15:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 23:15:15] Production.INFO: ============== Report Schedule START===========
[2025-04-11 23:15:15] Production.INFO: ============== Report Schedule END===========
[2025-04-11 23:15:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 23:15:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 23:15:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 23:15:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 23:15:15] Production.INFO: ============== Deal alert START===========
[2025-04-11 23:15:15] Production.INFO: ============== Deal alert END===========
[2025-04-11 23:15:15] Production.INFO: ==28070== Releasing lock...
[2025-04-11 23:15:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 23:15:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 23:15:19] Production.INFO: count ==1452
[2025-04-11 23:15:19] Production.ERROR: pbx CDR StartTime 2025-04-11 20:15:06 - End Time 2025-04-11 23:15:06
[2025-04-11 23:15:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 23:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887514', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887514', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887514', 'tblTempVendorCDR_20' ) start
[2025-04-11 23:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887514', 'tblTempVendorCDR_20' ) end
[2025-04-11 23:15:19] Production.INFO: ProcessCDR(1,14887514,1,1,2)
[2025-04-11 23:15:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887514,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:15:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887514,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:15:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887514,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:15:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887514,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:15:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887514', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:15:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887514', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:15:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 23:15:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 23:15:23] Production.INFO: ==28078== Releasing lock...
[2025-04-11 23:15:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 23:15:23] Production.INFO: 39.5 MB #Memory Used#
[2025-04-12 04:16:01] Production.INFO: ==28139== Lock acquired, processing the job...
[2025-04-12 04:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 04:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 04:16:01] Production.INFO: neon service started
[2025-04-12 04:16:01] Production.INFO: neon service started
[2025-04-12 04:16:01] Production.INFO: ==28139== Releasing lock...
[2025-04-12 04:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 04:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 03:16:01] Production.INFO: ==28143== Lock acquired, processing the job...
[2025-04-12 03:16:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 03:16:01] Production.INFO: ==28143== Releasing lock...
[2025-04-12 03:16:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 03:16:01] Production.INFO: 25 MB #Memory Used#
[2025-04-11 23:16:02] Production.INFO: ==28141== Lock acquired, processing the job...
[2025-04-11 23:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 23:16:02] Production.INFO: ==28141== Releasing lock...
[2025-04-11 23:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 23:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 23:16:03] Production.INFO: ==28145== Lock acquired, processing the job...
[2025-04-11 23:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 23:16:03] Production.INFO: ==28149== Lock acquired, processing the job...
[2025-04-11 23:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 23:16:03] Production.INFO: ==28152== Lock acquired, processing the job...
[2025-04-11 23:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 23:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 23:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 23:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 23:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 23:16:03] Production.INFO: Account Balance Start.
[2025-04-11 23:16:03] Production.INFO: CreateAllLog Start
[2025-04-11 23:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 23:16:03] Production.INFO: 117
[2025-04-11 23:16:03] Production.INFO: Date 2025-04-08
[2025-04-11 23:16:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:16:03] Production.INFO: Date 2025-04-09
[2025-04-11 23:16:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:16:03] Production.INFO: Date 2025-04-10
[2025-04-11 23:16:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:16:03] Production.INFO: ==28147== Lock acquired, processing the job...
[2025-04-11 23:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 23:16:03] Production.INFO: ==28154== Lock acquired, processing the job...
[2025-04-11 23:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 23:16:03] Production.INFO: Date 2025-04-11
[2025-04-11 23:16:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 23:16:03] Production.INFO: Total Charge 0
[2025-04-11 23:16:03] Production.INFO: CreateAllLog End
[2025-04-11 23:16:03] Production.INFO: Account Balance End.
[2025-04-11 23:16:03] Production.INFO: ==28156== Lock acquired, processing the job...
[2025-04-11 23:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 23:16:03] Production.ERROR: CronJobId end 12
[2025-04-11 23:16:03] Production.INFO: ==28152== Releasing lock...
[2025-04-11 23:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 23:16:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 23:16:03] Production.INFO: ==28147== Releasing lock...
[2025-04-11 23:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 23:16:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 23:16:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 23:16:04] Production.INFO: count ==12
[2025-04-11 23:16:04] Production.ERROR: done
[2025-04-11 23: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-11 23:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 23:16:04] Production.INFO: count ==23
[2025-04-11 23:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887518') start
[2025-04-11 23:16:04] Production.ERROR: done
[2025-04-11 23:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887518') end
[2025-04-11 23:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 23:16:04] Production.INFO: 1
[2025-04-11 23:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 23:16:04] Production.INFO: ==28156== Releasing lock...
[2025-04-11 23:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 23:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 23:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 20:16:05
[end_date_ymd] => 2025-04-11 23:16:05
[RateCDR] => 1
)
[2025-04-11 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-11 20:16:05' and `end` < '2025-04-11 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-11 23:16:11] Production.ERROR: CronJobId end10
[2025-04-11 23:16:11] Production.INFO: ==28149== Releasing lock...
[2025-04-11 23:16:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 23:16:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 23:16:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 23:16:13] Production.INFO: ============== Balance Warning START===========
[2025-04-11 23:16:13] Production.INFO: ============== Balance Warning END===========
[2025-04-11 23:16:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 23:16:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 23:16:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 23:16:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 23:16:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 23:16:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 23:16:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 23:16:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 23:16:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 23:16:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 23:16:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 23:16:14] Production.INFO: call_cost start
[2025-04-11 23:16:14] Production.INFO: call_cost end
[2025-04-11 23:16:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 23:16:14] Production.INFO: ============== Report Schedule START===========
[2025-04-11 23:16:14] Production.INFO: ============== Report Schedule END===========
[2025-04-11 23:16:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 23:16:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 23:16:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 23:16:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 23:16:14] Production.INFO: ============== Deal alert START===========
[2025-04-11 23:16:14] Production.INFO: ============== Deal alert END===========
[2025-04-11 23:16:15] Production.INFO: ==28145== Releasing lock...
[2025-04-11 23:16:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 23:16:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 23:16:18] Production.INFO: count ==1494
[2025-04-11 23:16:18] Production.ERROR: pbx CDR StartTime 2025-04-11 20:16:05 - End Time 2025-04-11 23:16:05
[2025-04-11 23:16:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 23:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887519', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887519', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887519', 'tblTempVendorCDR_20' ) start
[2025-04-11 23:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887519', 'tblTempVendorCDR_20' ) end
[2025-04-11 23:16:18] Production.INFO: ProcessCDR(1,14887519,1,1,2)
[2025-04-11 23:16:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887519,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:16:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887519,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:16:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887519,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:16:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887519,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:16:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887519', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:16:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887519', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:16:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 23:16:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 23:16:23] Production.INFO: ==28154== Releasing lock...
[2025-04-11 23:16:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 23:16:23] Production.INFO: 39.75 MB #Memory Used#
[2025-04-12 04:17:01] Production.INFO: ==28209== Lock acquired, processing the job...
[2025-04-12 04:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 04:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 04:17:01] Production.INFO: neon service started
[2025-04-12 04:17:01] Production.INFO: neon service started
[2025-04-12 04:17:01] Production.INFO: ==28209== Releasing lock...
[2025-04-12 04:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 04:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 03:17:02] Production.INFO: ==28213== Lock acquired, processing the job...
[2025-04-12 03:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 03:17:02] Production.INFO: ==28213== Releasing lock...
[2025-04-12 03:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 03:17:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 23:17:02] Production.INFO: ==28211== Lock acquired, processing the job...
[2025-04-11 23:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 23:17:02] Production.INFO: ==28211== Releasing lock...
[2025-04-11 23:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 23:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 23:17:03] Production.INFO: ==28220== Lock acquired, processing the job...
[2025-04-11 23:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 23:17:03] Production.INFO: ==28222== Lock acquired, processing the job...
[2025-04-11 23:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 23:17:03] Production.INFO: ==28224== Lock acquired, processing the job...
[2025-04-11 23:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 23:17:03] Production.INFO: ==28216== Lock acquired, processing the job...
[2025-04-11 23:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 23:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 23:17:03] Production.INFO: ==28218== Lock acquired, processing the job...
[2025-04-11 23:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 23:17:03] Production.INFO: Account Balance Start.
[2025-04-11 23:17:03] Production.INFO: CreateAllLog Start
[2025-04-11 23:17:03] Production.INFO: 117
[2025-04-11 23:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 23:17:03] Production.INFO: Date 2025-04-08
[2025-04-11 23:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 23:17:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 23:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 23:17:03] Production.INFO: Date 2025-04-09
[2025-04-11 23:17:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 23:17:03] Production.INFO: Date 2025-04-10
[2025-04-11 23:17:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:17:03] Production.INFO: Date 2025-04-11
[2025-04-11 23:17:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:17:03] Production.INFO: Total Charge 0
[2025-04-11 23:17:03] Production.INFO: CreateAllLog End
[2025-04-11 23:17:03] Production.INFO: ==28226== Lock acquired, processing the job...
[2025-04-11 23:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 23:17:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 23:17:04] Production.INFO: Account Balance End.
[2025-04-11 23:17:04] Production.INFO: count ==12
[2025-04-11 23:17:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 23:17:04] Production.INFO: count ==23
[2025-04-11 23:17:04] Production.ERROR: done
[2025-04-11 23:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887523') start
[2025-04-11 23:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 23:17:04] Production.ERROR: CronJobId end 12
[2025-04-11 23:17:04] Production.INFO: ==28222== Releasing lock...
[2025-04-11 23:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 23:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 23:17:04] Production.INFO: ==28218== Releasing lock...
[2025-04-11 23:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 23:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 23:17:04] Production.ERROR: done
[2025-04-11 23:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887523') end
[2025-04-11 23:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 23:17:04] Production.INFO: 1
[2025-04-11 23:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 23:17:04] Production.INFO: ==28226== Releasing lock...
[2025-04-11 23:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 23:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 23:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 20:17:05
[end_date_ymd] => 2025-04-11 23:17:05
[RateCDR] => 1
)
[2025-04-11 23:17:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 20:17:05' and `end` < '2025-04-11 23:17:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 23:17:12] Production.ERROR: CronJobId end10
[2025-04-11 23:17:12] Production.INFO: ==28220== Releasing lock...
[2025-04-11 23:17:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 23:17:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 23:17:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 23:17:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 23:17:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 23:17:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 23:17:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 23:17:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 23:17:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 23:17:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 23:17:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 23:17:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 23:17:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 23:17:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 23:17:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 23:17:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 23:17:14] Production.INFO: call_cost start
[2025-04-11 23:17:15] Production.INFO: call_cost end
[2025-04-11 23:17:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 23:17:15] Production.INFO: ============== Report Schedule START===========
[2025-04-11 23:17:15] Production.INFO: ============== Report Schedule END===========
[2025-04-11 23:17:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 23:17:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 23:17:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 23:17:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 23:17:15] Production.INFO: ============== Deal alert START===========
[2025-04-11 23:17:15] Production.INFO: ============== Deal alert END===========
[2025-04-11 23:17:15] Production.INFO: ==28216== Releasing lock...
[2025-04-11 23:17:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 23:17:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 23:17:18] Production.INFO: count ==1493
[2025-04-11 23:17:18] Production.ERROR: pbx CDR StartTime 2025-04-11 20:17:05 - End Time 2025-04-11 23:17:05
[2025-04-11 23:17:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 23:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887524', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887524', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887524', 'tblTempVendorCDR_20' ) start
[2025-04-11 23:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887524', 'tblTempVendorCDR_20' ) end
[2025-04-11 23:17:18] Production.INFO: ProcessCDR(1,14887524,1,1,2)
[2025-04-11 23:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887524,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:17:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887524,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:17:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887524,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:17:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887524,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887524', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887524', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:17:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 23:17:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 23:17:22] Production.INFO: ==28224== Releasing lock...
[2025-04-11 23:17:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 23:17:22] Production.INFO: 39.5 MB #Memory Used#
[2025-04-12 04:18:01] Production.INFO: ==28278== Lock acquired, processing the job...
[2025-04-12 04:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 04:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 04:18:01] Production.INFO: neon service started
[2025-04-12 04:18:01] Production.INFO: neon service started
[2025-04-12 04:18:01] Production.INFO: ==28278== Releasing lock...
[2025-04-12 04:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 04:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 03:18:01] Production.INFO: ==28282== Lock acquired, processing the job...
[2025-04-12 03:18:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 03:18:01] Production.INFO: ==28282== Releasing lock...
[2025-04-12 03:18:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 03:18:01] Production.INFO: 25 MB #Memory Used#
[2025-04-11 23:18:02] Production.INFO: ==28280== Lock acquired, processing the job...
[2025-04-11 23:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 23:18:02] Production.INFO: ==28280== Releasing lock...
[2025-04-11 23:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 23:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 23:18:03] Production.INFO: ==28287== Lock acquired, processing the job...
[2025-04-11 23:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 23:18:03] Production.INFO: ==28289== Lock acquired, processing the job...
[2025-04-11 23:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 23:18:03] Production.INFO: ==28293== Lock acquired, processing the job...
[2025-04-11 23:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 23:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 23:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 23:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 23:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 23:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 23:18:03] Production.INFO: ==28285== Lock acquired, processing the job...
[2025-04-11 23:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 23:18:03] Production.INFO: ==28295== Lock acquired, processing the job...
[2025-04-11 23:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 23:18:03] Production.INFO: ==28291== Lock acquired, processing the job...
[2025-04-11 23:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 23:18:03] Production.INFO: ==28287== Releasing lock...
[2025-04-11 23:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 23:18:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 23:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 23:18:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 23:18:03] Production.ERROR: done
[2025-04-11 23:18:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 23:18:03] Production.INFO: Account Balance Start.
[2025-04-11 23:18:03] Production.INFO: CreateAllLog Start
[2025-04-11 23:18:03] Production.INFO: count ==12
[2025-04-11 23:18:03] Production.INFO: 117
[2025-04-11 23:18:03] Production.INFO: Date 2025-04-08
[2025-04-11 23:18:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:18:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 23:18:03] Production.INFO: count ==23
[2025-04-11 23:18:03] Production.INFO: Date 2025-04-09
[2025-04-11 23:18:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:18:03] Production.ERROR: done
[2025-04-11 23:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887526') start
[2025-04-11 23:18:03] Production.INFO: Date 2025-04-10
[2025-04-11 23:18:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:18:04] Production.INFO: Date 2025-04-11
[2025-04-11 23:18:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887526') end
[2025-04-11 23:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 23:18:04] Production.INFO: 1
[2025-04-11 23:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 23:18:04] Production.INFO: Total Charge 0
[2025-04-11 23:18:04] Production.INFO: CreateAllLog End
[2025-04-11 23:18:04] Production.INFO: ==28295== Releasing lock...
[2025-04-11 23:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 23:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 23:18:04] Production.INFO: Account Balance End.
[2025-04-11 23:18:04] Production.ERROR: CronJobId end 12
[2025-04-11 23:18:04] Production.INFO: ==28291== Releasing lock...
[2025-04-11 23:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 23:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 23:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 20:18:05
[end_date_ymd] => 2025-04-11 23:18:05
[RateCDR] => 1
)
[2025-04-11 23:18:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 20:18:05' and `end` < '2025-04-11 23:18:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 23:18:11] Production.ERROR: CronJobId end10
[2025-04-11 23:18:11] Production.INFO: ==28289== Releasing lock...
[2025-04-11 23:18:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 23:18:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 23:18:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 23:18:13] Production.INFO: ============== Balance Warning START===========
[2025-04-11 23:18:13] Production.INFO: ============== Balance Warning END===========
[2025-04-11 23:18:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 23:18:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 23:18:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 23:18:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 23:18:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 23:18:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 23:18:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 23:18:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 23:18:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 23:18:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 23:18:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 23:18:14] Production.INFO: call_cost start
[2025-04-11 23:18:14] Production.INFO: call_cost end
[2025-04-11 23:18:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 23:18:15] Production.INFO: ============== Report Schedule START===========
[2025-04-11 23:18:15] Production.INFO: ============== Report Schedule END===========
[2025-04-11 23:18:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 23:18:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 23:18:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 23:18:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 23:18:15] Production.INFO: ============== Deal alert START===========
[2025-04-11 23:18:15] Production.INFO: ============== Deal alert END===========
[2025-04-11 23:18:15] Production.INFO: ==28285== Releasing lock...
[2025-04-11 23:18:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 23:18:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 23:18:17] Production.INFO: count ==1491
[2025-04-11 23:18:18] Production.ERROR: pbx CDR StartTime 2025-04-11 20:18:05 - End Time 2025-04-11 23:18:05
[2025-04-11 23:18:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 23:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887529', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887529', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887529', 'tblTempVendorCDR_20' ) start
[2025-04-11 23:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887529', 'tblTempVendorCDR_20' ) end
[2025-04-11 23:18:18] Production.INFO: ProcessCDR(1,14887529,1,1,2)
[2025-04-11 23:18:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887529,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:18:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887529,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:18:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887529,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:18:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887529,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887529', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887529', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:18:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 23:18:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 23:18:21] Production.INFO: ==28293== Releasing lock...
[2025-04-11 23:18:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 23:18:21] Production.INFO: 39.5 MB #Memory Used#
[2025-04-12 04:19:01] Production.INFO: ==28354== Lock acquired, processing the job...
[2025-04-12 04:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 04:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 04:19:01] Production.INFO: neon service started
[2025-04-12 04:19:01] Production.INFO: neon service started
[2025-04-12 04:19:01] Production.INFO: ==28354== Releasing lock...
[2025-04-12 04:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 04:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 23:19:02] Production.INFO: ==28356== Lock acquired, processing the job...
[2025-04-11 23:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 23:19:02] Production.INFO: ==28356== Releasing lock...
[2025-04-11 23:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 23:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 03:19:02] Production.INFO: ==28358== Lock acquired, processing the job...
[2025-04-12 03:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 03:19:02] Production.INFO: ==28358== Releasing lock...
[2025-04-12 03:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 03:19:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 23:19:03] Production.INFO: ==28369== Lock acquired, processing the job...
[2025-04-11 23:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 23:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 23:19:03] Production.INFO: ==28361== Lock acquired, processing the job...
[2025-04-11 23:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 23:19:03] Production.INFO: ==28363== Lock acquired, processing the job...
[2025-04-11 23:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 23:19:03] Production.INFO: ==28365== Lock acquired, processing the job...
[2025-04-11 23:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 23:19:03] Production.ERROR: done
[2025-04-11 23:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 23:19:03] Production.INFO: ==28367== Lock acquired, processing the job...
[2025-04-11 23:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 23:19:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 23:19:03] Production.INFO: ==28371== Lock acquired, processing the job...
[2025-04-11 23:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 23:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 23:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 23:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 23:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 23:19:03] Production.INFO: Account Balance Start.
[2025-04-11 23:19:03] Production.INFO: CreateAllLog Start
[2025-04-11 23:19:03] Production.INFO: 117
[2025-04-11 23:19:03] Production.ERROR: done
[2025-04-11 23:19:03] Production.INFO: Date 2025-04-08
[2025-04-11 23:19:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:19:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 23:19:03] Production.INFO: Date 2025-04-09
[2025-04-11 23:19:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:19:03] Production.INFO: Date 2025-04-10
[2025-04-11 23:19:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:19:03] Production.INFO: count ==12
[2025-04-11 23:19:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 23:19:04] Production.INFO: count ==23
[2025-04-11 23:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887533') start
[2025-04-11 23:19:04] Production.INFO: Date 2025-04-11
[2025-04-11 23:19:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:19:04] Production.INFO: ==28363== Releasing lock...
[2025-04-11 23:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 23:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 23:19:04] Production.INFO: Total Charge 0
[2025-04-11 23:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887533') end
[2025-04-11 23:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 23:19:04] Production.INFO: 1
[2025-04-11 23:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 23:19:04] Production.INFO: CreateAllLog End
[2025-04-11 23:19:04] Production.INFO: ==28371== Releasing lock...
[2025-04-11 23:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 23:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 23:19:04] Production.INFO: Account Balance End.
[2025-04-11 23:19:04] Production.ERROR: CronJobId end 12
[2025-04-11 23:19:04] Production.INFO: ==28367== Releasing lock...
[2025-04-11 23:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 23:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 23:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 20:19:05
[end_date_ymd] => 2025-04-11 23:19:05
[RateCDR] => 1
)
[2025-04-11 23:19:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 20:19:05' and `end` < '2025-04-11 23:19:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 23:19:13] Production.ERROR: CronJobId end10
[2025-04-11 23:19:13] Production.INFO: ==28365== Releasing lock...
[2025-04-11 23:19:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 23:19:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 23:19:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 23:19:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 23:19:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 23:19:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 23:19:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 23:19:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 23:19:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 23:19:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 23:19:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 23:19:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 23:19:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 23:19:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 23:19:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 23:19:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 23:19:15] Production.INFO: call_cost start
[2025-04-11 23:19:15] Production.INFO: call_cost end
[2025-04-11 23:19:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 23:19:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 23:19:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 23:19:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 23:19:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 23:19:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 23:19:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 23:19:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 23:19:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 23:19:16] Production.INFO: ==28361== Releasing lock...
[2025-04-11 23:19:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 23:19:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 23:19:18] Production.INFO: count ==1489
[2025-04-11 23:19:18] Production.ERROR: pbx CDR StartTime 2025-04-11 20:19:05 - End Time 2025-04-11 23:19:05
[2025-04-11 23:19:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 23:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887534', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887534', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887534', 'tblTempVendorCDR_20' ) start
[2025-04-11 23:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887534', 'tblTempVendorCDR_20' ) end
[2025-04-11 23:19:18] Production.INFO: ProcessCDR(1,14887534,1,1,2)
[2025-04-11 23:19:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887534,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:19:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887534,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:19:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887534,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:19:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887534,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887534', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887534', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:19:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 23:19:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 23:19:21] Production.INFO: ==28369== Releasing lock...
[2025-04-11 23:19:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 23:19:21] Production.INFO: 39.75 MB #Memory Used#
[2025-04-12 04:20:02] Production.INFO: ==28468== Lock acquired, processing the job...
[2025-04-12 04:20:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 04:20:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 04:20:02] Production.INFO: neon service started
[2025-04-12 04:20:02] Production.INFO: neon service started
[2025-04-12 04:20:02] Production.INFO: ==28468== Releasing lock...
[2025-04-12 04:20:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 04:20:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 23:20:02] Production.INFO: ==28470== Lock acquired, processing the job...
[2025-04-11 23:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 23:20:03] Production.INFO: ==28470== Releasing lock...
[2025-04-11 23:20:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 23:20:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 03:20:03] Production.INFO: ==28472== Lock acquired, processing the job...
[2025-04-12 03:20:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 03:20:03] Production.INFO: ==28472== Releasing lock...
[2025-04-12 03:20:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 03:20:03] Production.INFO: 25 MB #Memory Used#
[2025-04-11 23:20:04] Production.INFO: ==28477== Lock acquired, processing the job...
[2025-04-11 23:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 23:20:04] Production.INFO: ==28475== Lock acquired, processing the job...
[2025-04-11 23:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-11 23:20:04] Production.INFO: ==28479== Lock acquired, processing the job...
[2025-04-11 23:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 23:20:04] Production.INFO: ==28481== Lock acquired, processing the job...
[2025-04-11 23:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 23:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 23:20:04] Production.INFO: ==28483== Lock acquired, processing the job...
[2025-04-11 23:20:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-11 23:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 23:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-11 23:20:04] Production.ERROR: CronJob PID - 28477
[2025-04-11 23:20:04] Production.ERROR: CronJob Title - System Alerts
[2025-04-11 23:20:04] Production.ERROR: CronJob ID - 5
[2025-04-11 23:20:04] Production.ERROR: CronJob Last Run Time 2025-04-11 23:20:00
[2025-04-11 23:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-11 23:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-11 23:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-11 23:20:04] Production.ERROR: CronJob PID - 28479
[2025-04-11 23:20:04] Production.ERROR: CronJob Title - Account Block
[2025-04-11 23:20:04] Production.ERROR: CronJob ID - 7
[2025-04-11 23:20:04] Production.ERROR: CronJob Last Run Time 2025-04-11 23:20:00
[2025-04-11 23:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-11 23:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-11 23:20:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-11 23:20:04] Production.INFO: ==28475== Releasing lock...
[2025-04-11 23:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-11 23:20:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-11 23:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 23:20:04] Production.INFO: ==28485== Lock acquired, processing the job...
[2025-04-11 23:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 23:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 23:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 23:20:04] Production.INFO: Account Balance Start.
[2025-04-11 23:20:04] Production.INFO: CreateAllLog Start
[2025-04-11 23:20:04] Production.INFO: 117
[2025-04-11 23:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 23:20:04] Production.INFO: ==28487== Lock acquired, processing the job...
[2025-04-11 23:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-11 23:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 23:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 23:20:04] Production.INFO: Date 2025-04-08
[2025-04-11 23:20:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:20:04] Production.INFO: ==28489== Lock acquired, processing the job...
[2025-04-11 23:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 23:20:04] Production.INFO: Date 2025-04-09
[2025-04-11 23:20:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 23:20:04] Production.INFO: Date 2025-04-10
[2025-04-11 23:20:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:20:04] Production.INFO: Date 2025-04-11
[2025-04-11 23:20:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:20:04] Production.INFO: count ==12
[2025-04-11 23:20:04] Production.INFO: Total Charge 0
[2025-04-11 23:20:04] Production.INFO: CreateAllLog End
[2025-04-11 23:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 23:20:04] Production.INFO: ==28479== Releasing lock...
[2025-04-11 23:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 23:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 23:20:04] Production.INFO: count ==23
[2025-04-11 23:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887538') start
[2025-04-11 23:20:04] Production.ERROR: done
[2025-04-11 23:20:04] Production.ERROR: done
[2025-04-11 23:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 23:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14887538') end
[2025-04-11 23:20:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 23:20:05] Production.INFO: 1
[2025-04-11 23:20:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 23:20:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-11 23:20:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14887539', 'tblTempUsageDetail_20reseller','2025-04-11','2025-04-11','1' ) start
[2025-04-11 23:20:05] Production.ERROR: done
[2025-04-11 23:20:05] Production.INFO: ==28489== Releasing lock...
[2025-04-11 23:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 23:20:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 23:20:05] Production.INFO: Account Balance End.
[2025-04-11 23:20:05] Production.ERROR: CronJobId end 12
[2025-04-11 23:20:05] Production.INFO: ==28483== Releasing lock...
[2025-04-11 23:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 23:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 23:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 20:20:06
[end_date_ymd] => 2025-04-11 23:20:06
[RateCDR] => 1
)
[2025-04-11 23:20:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 20:20:06' and `end` < '2025-04-11 23:20:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 23:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14887539', 'tblTempUsageDetail_20reseller','2025-04-11','2025-04-11','1' ) end
[2025-04-11 23:20:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-11 23:20:09] Production.INFO: ProcessCDR(1,14887539,1,1,2)
[2025-04-11 23:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14887539,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14887539,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:20:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 23:20:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 23:20:09] Production.INFO: ==28487== Releasing lock...
[2025-04-11 23:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-11 23:20:09] Production.INFO: 26 MB #Memory Used#
[2025-04-11 23:20:15] Production.ERROR: CronJobId end10
[2025-04-11 23:20:15] Production.INFO: ==28481== Releasing lock...
[2025-04-11 23:20:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 23:20:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 23:20:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 23:20:16] Production.INFO: ============== Balance Warning START===========
[2025-04-11 23:20:16] Production.INFO: ============== Balance Warning END===========
[2025-04-11 23:20:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 23:20:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 23:20:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 23:20:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 23:20:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 23:20:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 23:20:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 23:20:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 23:20:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 23:20:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 23:20:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 23:20:16] Production.INFO: call_cost start
[2025-04-11 23:20:16] Production.INFO: call_cost end
[2025-04-11 23:20:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 23:20:17] Production.INFO: ============== Report Schedule START===========
[2025-04-11 23:20:17] Production.INFO: ============== Report Schedule END===========
[2025-04-11 23:20:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 23:20:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 23:20:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 23:20:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 23:20:17] Production.INFO: ============== Deal alert START===========
[2025-04-11 23:20:17] Production.INFO: ============== Deal alert END===========
[2025-04-11 23:20:17] Production.INFO: ==28477== Releasing lock...
[2025-04-11 23:20:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 23:20:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 23:20:19] Production.INFO: count ==1490
[2025-04-11 23:20:19] Production.ERROR: pbx CDR StartTime 2025-04-11 20:20:06 - End Time 2025-04-11 23:20:06
[2025-04-11 23:20:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 23:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887540', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887540', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887540', 'tblTempVendorCDR_20' ) start
[2025-04-11 23:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887540', 'tblTempVendorCDR_20' ) end
[2025-04-11 23:20:19] Production.INFO: ProcessCDR(1,14887540,1,1,2)
[2025-04-11 23:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887540,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:20:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887540,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:20:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887540,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:20:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887540,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887540', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887540', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:20:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 23:20:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 23:20:23] Production.INFO: ==28485== Releasing lock...
[2025-04-11 23:20:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 23:20:23] Production.INFO: 39.5 MB #Memory Used#
[2025-04-12 04:21:01] Production.INFO: ==28545== Lock acquired, processing the job...
[2025-04-12 04:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 04:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 04:21:01] Production.INFO: neon service started
[2025-04-12 04:21:01] Production.INFO: neon service started
[2025-04-12 04:21:01] Production.INFO: ==28545== Releasing lock...
[2025-04-12 04:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 04:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 03:21:02] Production.INFO: ==28549== Lock acquired, processing the job...
[2025-04-12 03:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 03:21:02] Production.INFO: ==28549== Releasing lock...
[2025-04-12 03:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 03:21:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 23:21:02] Production.INFO: ==28547== Lock acquired, processing the job...
[2025-04-11 23:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 23:21:02] Production.INFO: ==28547== Releasing lock...
[2025-04-11 23:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 23:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 23:21:03] Production.INFO: ==28552== Lock acquired, processing the job...
[2025-04-11 23:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 23:21:03] Production.INFO: ==28554== Lock acquired, processing the job...
[2025-04-11 23:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 23:21:03] Production.INFO: ==28558== Lock acquired, processing the job...
[2025-04-11 23:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 23:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 23:21:03] Production.INFO: Account Balance Start.
[2025-04-11 23:21:03] Production.INFO: CreateAllLog Start
[2025-04-11 23:21:03] Production.INFO: 117
[2025-04-11 23:21:03] Production.INFO: Date 2025-04-08
[2025-04-11 23:21:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:21:03] Production.INFO: ==28556== Lock acquired, processing the job...
[2025-04-11 23:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 23:21:03] Production.INFO: Date 2025-04-09
[2025-04-11 23:21:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:21:03] Production.INFO: Date 2025-04-10
[2025-04-11 23:21:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:21:03] Production.INFO: ==28560== Lock acquired, processing the job...
[2025-04-11 23:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 23:21:03] Production.INFO: ==28562== Lock acquired, processing the job...
[2025-04-11 23:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 23:21:03] Production.INFO: Date 2025-04-11
[2025-04-11 23:21:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 23:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 23:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 23:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 23:21:03] Production.INFO: Total Charge 0
[2025-04-11 23:21:03] Production.INFO: CreateAllLog End
[2025-04-11 23:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 23:21:03] Production.INFO: ==28554== Releasing lock...
[2025-04-11 23:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 23:21:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 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-11 23:21:04] Production.INFO: count ==12
[2025-04-11 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-11 23:21:04] Production.INFO: count ==23
[2025-04-11 23:21:04] Production.ERROR: done
[2025-04-11 23:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 23:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887544') start
[2025-04-11 23:21:04] Production.INFO: Account Balance End.
[2025-04-11 23:21:04] Production.ERROR: CronJobId end 12
[2025-04-11 23:21:04] Production.INFO: ==28558== Releasing lock...
[2025-04-11 23:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 23:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 23:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887544') end
[2025-04-11 23:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 23:21:04] Production.INFO: 1
[2025-04-11 23:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 23:21:04] Production.INFO: ==28562== Releasing lock...
[2025-04-11 23:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 23:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 23:21:04] Production.ERROR: done
[2025-04-11 23:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 20:21:05
[end_date_ymd] => 2025-04-11 23:21:05
[RateCDR] => 1
)
[2025-04-11 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-11 20:21:05' and `end` < '2025-04-11 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-11 23:21:12] Production.ERROR: CronJobId end10
[2025-04-11 23:21:12] Production.INFO: ==28556== Releasing lock...
[2025-04-11 23:21:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 23:21:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 23:21:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 23:21:12] Production.INFO: ============== Balance Warning START===========
[2025-04-11 23:21:12] Production.INFO: ============== Balance Warning END===========
[2025-04-11 23:21:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 23:21:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 23:21:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 23:21:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 23:21:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 23:21:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 23:21:12] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 23:21:12] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 23:21:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 23:21:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 23:21:12] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 23:21:13] Production.INFO: call_cost start
[2025-04-11 23:21:13] Production.INFO: call_cost end
[2025-04-11 23:21:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 23:21:14] Production.INFO: ============== Report Schedule START===========
[2025-04-11 23:21:14] Production.INFO: ============== Report Schedule END===========
[2025-04-11 23:21:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 23:21:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 23:21:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 23:21:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 23:21:14] Production.INFO: ============== Deal alert START===========
[2025-04-11 23:21:14] Production.INFO: ============== Deal alert END===========
[2025-04-11 23:21:14] Production.INFO: ==28552== Releasing lock...
[2025-04-11 23:21:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 23:21:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 23:21:18] Production.INFO: count ==1450
[2025-04-11 23:21:18] Production.ERROR: pbx CDR StartTime 2025-04-11 20:21:05 - End Time 2025-04-11 23:21:05
[2025-04-11 23:21:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 23:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887545', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887545', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887545', 'tblTempVendorCDR_20' ) start
[2025-04-11 23:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887545', 'tblTempVendorCDR_20' ) end
[2025-04-11 23:21:18] Production.INFO: ProcessCDR(1,14887545,1,1,2)
[2025-04-11 23:21:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887545,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:21:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887545,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:21:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887545,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:21:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887545,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887545', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887545', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:21:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 23:21:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 23:21:22] Production.INFO: ==28560== Releasing lock...
[2025-04-11 23:21:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 23:21:22] Production.INFO: 39.5 MB #Memory Used#
[2025-04-12 04:22:02] Production.INFO: ==28620== Lock acquired, processing the job...
[2025-04-12 04:22:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 04:22:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 04:22:02] Production.INFO: neon service started
[2025-04-12 04:22:02] Production.INFO: neon service started
[2025-04-12 04:22:02] Production.INFO: ==28620== Releasing lock...
[2025-04-12 04:22:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 04:22:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 23:22:02] Production.INFO: ==28622== Lock acquired, processing the job...
[2025-04-11 23:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 23:22:02] Production.INFO: ==28622== Releasing lock...
[2025-04-11 23:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 23:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 03:22:02] Production.INFO: ==28624== Lock acquired, processing the job...
[2025-04-12 03:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 03:22:02] Production.INFO: ==28624== Releasing lock...
[2025-04-12 03:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 03:22:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 23:22:03] Production.INFO: ==28629== Lock acquired, processing the job...
[2025-04-11 23:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 23:22:03] Production.INFO: ==28637== Lock acquired, processing the job...
[2025-04-11 23:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 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-11 23:22:03] Production.INFO: ==28631== Lock acquired, processing the job...
[2025-04-11 23:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 23:22:03] Production.INFO: count ==12
[2025-04-11 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-11 23:22:04] Production.INFO: ==28633== Lock acquired, processing the job...
[2025-04-11 23:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 23:22:04] Production.INFO: ==28627== Lock acquired, processing the job...
[2025-04-11 23:22:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 23:22:04] Production.INFO: count ==23
[2025-04-11 23:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887547') start
[2025-04-11 23:22:04] Production.INFO: ==28635== Lock acquired, processing the job...
[2025-04-11 23:22:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 23:22:04] Production.INFO: ==28629== Releasing lock...
[2025-04-11 23:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 23:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 23:22:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 23:22:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 23:22:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 23:22:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 23:22:04] Production.INFO: Account Balance Start.
[2025-04-11 23:22:04] Production.INFO: CreateAllLog Start
[2025-04-11 23:22:04] Production.INFO: 117
[2025-04-11 23:22:04] Production.INFO: Date 2025-04-08
[2025-04-11 23:22:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 23:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887547') end
[2025-04-11 23:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 23:22:04] Production.INFO: 1
[2025-04-11 23:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 23:22:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 23:22:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:22:04] Production.INFO: Date 2025-04-09
[2025-04-11 23:22:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:22:04] Production.INFO: Date 2025-04-10
[2025-04-11 23:22:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:22:04] Production.INFO: Date 2025-04-11
[2025-04-11 23:22:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:22:04] Production.INFO: Total Charge 0
[2025-04-11 23:22:04] Production.INFO: CreateAllLog End
[2025-04-11 23:22:04] Production.INFO: ==28637== Releasing lock...
[2025-04-11 23:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 23:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 23:22:04] Production.ERROR: done
[2025-04-11 23:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 23:22:04] Production.INFO: Account Balance End.
[2025-04-11 23:22:04] Production.ERROR: done
[2025-04-11 23:22:04] Production.ERROR: CronJobId end 12
[2025-04-11 23:22:04] Production.INFO: ==28633== Releasing lock...
[2025-04-11 23:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 23:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 23:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 20:22:05
[end_date_ymd] => 2025-04-11 23:22:05
[RateCDR] => 1
)
[2025-04-11 23:22:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 20:22:05' and `end` < '2025-04-11 23:22:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 23:22:12] Production.ERROR: CronJobId end10
[2025-04-11 23:22:12] Production.INFO: ==28631== Releasing lock...
[2025-04-11 23:22:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 23:22:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 23:22:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 23:22:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 23:22:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 23:22:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 23:22:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 23:22:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 23:22:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 23:22:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 23:22:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 23:22:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 23:22:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 23:22:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 23:22:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 23:22:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 23:22:15] Production.INFO: call_cost start
[2025-04-11 23:22:15] Production.INFO: call_cost end
[2025-04-11 23:22:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 23:22:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 23:22:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 23:22:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 23:22:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 23:22:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 23:22:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 23:22:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 23:22:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 23:22:16] Production.INFO: ==28627== Releasing lock...
[2025-04-11 23:22:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 23:22:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 23:22:18] Production.INFO: count ==1449
[2025-04-11 23:22:19] Production.ERROR: pbx CDR StartTime 2025-04-11 20:22:05 - End Time 2025-04-11 23:22:05
[2025-04-11 23:22:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 23:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887550', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887550', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887550', 'tblTempVendorCDR_20' ) start
[2025-04-11 23:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887550', 'tblTempVendorCDR_20' ) end
[2025-04-11 23:22:19] Production.INFO: ProcessCDR(1,14887550,1,1,2)
[2025-04-11 23:22:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887550,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:22:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887550,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:22:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887550,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:22:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887550,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887550', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887550', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:22:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 23:22:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 23:22:22] Production.INFO: ==28635== Releasing lock...
[2025-04-11 23:22:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 23:22:22] Production.INFO: 39.75 MB #Memory Used#
[2025-04-12 04:23:01] Production.INFO: ==28692== Lock acquired, processing the job...
[2025-04-12 04:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 04:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 04:23:01] Production.INFO: neon service started
[2025-04-12 04:23:01] Production.INFO: neon service started
[2025-04-12 04:23:01] Production.INFO: ==28692== Releasing lock...
[2025-04-12 04:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 04:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 23:23:01] Production.INFO: ==28695== Lock acquired, processing the job...
[2025-04-11 23:23:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 23:23:02] Production.INFO: ==28695== Releasing lock...
[2025-04-11 23:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 23:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 03:23:02] Production.INFO: ==28697== Lock acquired, processing the job...
[2025-04-12 03:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 03:23:02] Production.INFO: ==28697== Releasing lock...
[2025-04-12 03:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 03:23:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 23:23:03] Production.INFO: ==28699== Lock acquired, processing the job...
[2025-04-11 23:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 23:23:03] Production.INFO: ==28701== Lock acquired, processing the job...
[2025-04-11 23:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 23:23:03] Production.INFO: ==28703== Lock acquired, processing the job...
[2025-04-11 23:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 23:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 23:23:03] Production.INFO: ==28705== Lock acquired, processing the job...
[2025-04-11 23:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 23:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 23:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 23:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 23:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 23:23:03] Production.INFO: ==28707== Lock acquired, processing the job...
[2025-04-11 23:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 23:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 23:23:03] Production.INFO: Account Balance Start.
[2025-04-11 23:23:03] Production.INFO: CreateAllLog Start
[2025-04-11 23:23:03] Production.INFO: ==28709== Lock acquired, processing the job...
[2025-04-11 23:23:03] Production.INFO: 117
[2025-04-11 23:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 23:23:03] Production.INFO: Date 2025-04-08
[2025-04-11 23:23:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:23:03] Production.INFO: Date 2025-04-09
[2025-04-11 23:23:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 23:23:03] Production.INFO: Date 2025-04-10
[2025-04-11 23:23:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:23:03] Production.INFO: count ==12
[2025-04-11 23:23:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 23:23:03] Production.INFO: count ==23
[2025-04-11 23:23:03] Production.INFO: Date 2025-04-11
[2025-04-11 23:23:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:23:03] Production.INFO: ==28701== Releasing lock...
[2025-04-11 23:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 23:23:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 23:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887554') start
[2025-04-11 23:23:03] Production.INFO: Total Charge 0
[2025-04-11 23:23:03] Production.INFO: CreateAllLog End
[2025-04-11 23:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887554') end
[2025-04-11 23:23:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 23:23:03] Production.INFO: 1
[2025-04-11 23:23:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 23:23:04] Production.INFO: ==28709== Releasing lock...
[2025-04-11 23:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 23:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 23:23:04] Production.ERROR: done
[2025-04-11 23:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 23:23:04] Production.ERROR: done
[2025-04-11 23:23:04] Production.INFO: Account Balance End.
[2025-04-11 23:23:04] Production.ERROR: CronJobId end 12
[2025-04-11 23:23:04] Production.INFO: ==28705== Releasing lock...
[2025-04-11 23:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 23:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 23:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 20:23:05
[end_date_ymd] => 2025-04-11 23:23:05
[RateCDR] => 1
)
[2025-04-11 23:23:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 20:23:05' and `end` < '2025-04-11 23:23:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 23:23:12] Production.ERROR: CronJobId end10
[2025-04-11 23:23:12] Production.INFO: ==28703== Releasing lock...
[2025-04-11 23:23:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 23:23:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 23:23:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 23:23:13] Production.INFO: ============== Balance Warning START===========
[2025-04-11 23:23:13] Production.INFO: ============== Balance Warning END===========
[2025-04-11 23:23:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 23:23:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 23:23:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 23:23:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 23:23:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 23:23:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 23:23:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 23:23:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 23:23:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 23:23:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 23:23:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 23:23:13] Production.INFO: call_cost start
[2025-04-11 23:23:13] Production.INFO: call_cost end
[2025-04-11 23:23:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 23:23:14] Production.INFO: ============== Report Schedule START===========
[2025-04-11 23:23:14] Production.INFO: ============== Report Schedule END===========
[2025-04-11 23:23:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 23:23:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 23:23:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 23:23:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 23:23:14] Production.INFO: ============== Deal alert START===========
[2025-04-11 23:23:14] Production.INFO: ============== Deal alert END===========
[2025-04-11 23:23:14] Production.INFO: ==28699== Releasing lock...
[2025-04-11 23:23:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 23:23:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 23:23:18] Production.INFO: count ==1448
[2025-04-11 23:23:18] Production.ERROR: pbx CDR StartTime 2025-04-11 20:23:05 - End Time 2025-04-11 23:23:05
[2025-04-11 23:23:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 23:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887555', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887555', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887555', 'tblTempVendorCDR_20' ) start
[2025-04-11 23:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887555', 'tblTempVendorCDR_20' ) end
[2025-04-11 23:23:18] Production.INFO: ProcessCDR(1,14887555,1,1,2)
[2025-04-11 23:23:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887555,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:23:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887555,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:23:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887555,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:23:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887555,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887555', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887555', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:23:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 23:23:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 23:23:22] Production.INFO: ==28707== Releasing lock...
[2025-04-11 23:23:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 23:23:22] Production.INFO: 39.25 MB #Memory Used#
[2025-04-12 04:24:02] Production.INFO: ==28767== Lock acquired, processing the job...
[2025-04-12 04:24:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 04:24:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 04:24:02] Production.INFO: neon service started
[2025-04-12 04:24:02] Production.INFO: neon service started
[2025-04-12 04:24:02] Production.INFO: ==28767== Releasing lock...
[2025-04-12 04:24:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 04:24:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 23:24:02] Production.INFO: ==28770== Lock acquired, processing the job...
[2025-04-11 23:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 23:24:02] Production.INFO: ==28770== Releasing lock...
[2025-04-11 23:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 23:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 03:24:02] Production.INFO: ==28772== Lock acquired, processing the job...
[2025-04-12 03:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 03:24:03] Production.INFO: ==28772== Releasing lock...
[2025-04-12 03:24:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 03:24:03] Production.INFO: 25 MB #Memory Used#
[2025-04-11 23:24:03] Production.INFO: ==28774== Lock acquired, processing the job...
[2025-04-11 23:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 23:24:03] Production.INFO: ==28776== Lock acquired, processing the job...
[2025-04-11 23:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 23:24:03] Production.INFO: ==28782== Lock acquired, processing the job...
[2025-04-11 23:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 23:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 23:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 23:24:03] Production.INFO: ==28776== Releasing lock...
[2025-04-11 23:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 23:24:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 23:24:03] Production.INFO: ==28778== Lock acquired, processing the job...
[2025-04-11 23:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 23:24:03] Production.INFO: ==28784== Lock acquired, processing the job...
[2025-04-11 23:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 23:24:03] Production.INFO: ==28780== Lock acquired, processing the job...
[2025-04-11 23:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 23:24:04] Production.ERROR: done
[2025-04-11 23:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 23:24:04] Production.INFO: Account Balance Start.
[2025-04-11 23:24:04] Production.INFO: CreateAllLog Start
[2025-04-11 23:24:04] Production.INFO: 117
[2025-04-11 23:24:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 23:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 23:24:04] Production.INFO: Date 2025-04-08
[2025-04-11 23:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 23:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 23:24:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 23:24:04] Production.INFO: Date 2025-04-09
[2025-04-11 23:24:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:24:04] Production.INFO: count ==12
[2025-04-11 23:24:04] Production.INFO: Date 2025-04-10
[2025-04-11 23:24:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:24:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 23:24:04] Production.INFO: count ==23
[2025-04-11 23:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887558') start
[2025-04-11 23:24:04] Production.INFO: Date 2025-04-11
[2025-04-11 23:24:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:24:04] Production.ERROR: done
[2025-04-11 23:24:04] Production.INFO: Total Charge 0
[2025-04-11 23:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887558') end
[2025-04-11 23:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 23:24:04] Production.INFO: 1
[2025-04-11 23:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 23:24:04] Production.INFO: CreateAllLog End
[2025-04-11 23:24:04] Production.INFO: ==28784== Releasing lock...
[2025-04-11 23:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 23:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 23:24:04] Production.INFO: Account Balance End.
[2025-04-11 23:24:04] Production.ERROR: CronJobId end 12
[2025-04-11 23:24:04] Production.INFO: ==28780== Releasing lock...
[2025-04-11 23:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 23:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 23:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 20:24:05
[end_date_ymd] => 2025-04-11 23:24:05
[RateCDR] => 1
)
[2025-04-11 23:24:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 20:24:05' and `end` < '2025-04-11 23:24:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 23:24:12] Production.ERROR: CronJobId end10
[2025-04-11 23:24:12] Production.INFO: ==28778== Releasing lock...
[2025-04-11 23:24:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 23:24:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 23:24:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 23:24:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 23:24:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 23:24:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 23:24:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 23:24:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 23:24:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 23:24:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 23:24:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 23:24:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 23:24:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 23:24:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 23:24:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 23:24:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 23:24:14] Production.INFO: call_cost start
[2025-04-11 23:24:14] Production.INFO: call_cost end
[2025-04-11 23:24:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 23:24:15] Production.INFO: ============== Report Schedule START===========
[2025-04-11 23:24:15] Production.INFO: ============== Report Schedule END===========
[2025-04-11 23:24:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 23:24:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 23:24:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 23:24:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 23:24:15] Production.INFO: ============== Deal alert START===========
[2025-04-11 23:24:15] Production.INFO: ============== Deal alert END===========
[2025-04-11 23:24:15] Production.INFO: ==28774== Releasing lock...
[2025-04-11 23:24:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 23:24:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 23:24:18] Production.INFO: count ==1446
[2025-04-11 23:24:18] Production.ERROR: pbx CDR StartTime 2025-04-11 20:24:05 - End Time 2025-04-11 23:24:05
[2025-04-11 23:24:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 23:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887560', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887560', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887560', 'tblTempVendorCDR_20' ) start
[2025-04-11 23:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887560', 'tblTempVendorCDR_20' ) end
[2025-04-11 23:24:18] Production.INFO: ProcessCDR(1,14887560,1,1,2)
[2025-04-11 23:24:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887560,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:24:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887560,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:24:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887560,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:24:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887560,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887560', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887560', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:24:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 23:24:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 23:24:22] Production.INFO: ==28782== Releasing lock...
[2025-04-11 23:24:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 23:24:22] Production.INFO: 39.25 MB #Memory Used#
[2025-04-12 04:25:01] Production.INFO: ==28837== Lock acquired, processing the job...
[2025-04-12 04:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 04:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 04:25:01] Production.INFO: neon service started
[2025-04-12 04:25:01] Production.INFO: neon service started
[2025-04-12 04:25:01] Production.INFO: ==28837== Releasing lock...
[2025-04-12 04:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 04:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 23:25:02] Production.INFO: ==28839== Lock acquired, processing the job...
[2025-04-11 23:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 03:25:02] Production.INFO: ==28842== Lock acquired, processing the job...
[2025-04-12 03:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 03:25:02] Production.INFO: ==28842== Releasing lock...
[2025-04-12 03:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 03:25:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 23:25:02] Production.INFO: ==28839== Releasing lock...
[2025-04-11 23:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 23:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 23:25:03] Production.INFO: ==28844== Lock acquired, processing the job...
[2025-04-11 23:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 23:25:03] Production.INFO: ==28846== Lock acquired, processing the job...
[2025-04-11 23:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 23:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 23:25:03] Production.INFO: ==28852== Lock acquired, processing the job...
[2025-04-11 23:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 23:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 23:25:03] Production.INFO: ==28846== Releasing lock...
[2025-04-11 23:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 23:25:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 23:25:03] Production.INFO: ==28848== Lock acquired, processing the job...
[2025-04-11 23:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 23:25:03] Production.INFO: ==28850== Lock acquired, processing the job...
[2025-04-11 23:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 23:25:03] Production.INFO: ==28854== Lock acquired, processing the job...
[2025-04-11 23:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 23:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 23:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 23:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 23:25:03] Production.ERROR: done
[2025-04-11 23:25:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 23:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 23:25:03] Production.INFO: count ==12
[2025-04-11 23:25:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 23:25:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 23:25:03] Production.INFO: count ==23
[2025-04-11 23:25:03] Production.INFO: Account Balance Start.
[2025-04-11 23:25:03] Production.INFO: CreateAllLog Start
[2025-04-11 23:25:03] Production.INFO: 117
[2025-04-11 23:25:03] Production.INFO: Date 2025-04-08
[2025-04-11 23:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887563') start
[2025-04-11 23:25:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:25:03] Production.INFO: Date 2025-04-09
[2025-04-11 23:25:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:25:04] Production.INFO: Date 2025-04-10
[2025-04-11 23:25:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:25:04] Production.INFO: Date 2025-04-11
[2025-04-11 23:25:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:25:04] Production.INFO: Total Charge 0
[2025-04-11 23:25:04] Production.ERROR: done
[2025-04-11 23:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887563') end
[2025-04-11 23:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 23:25:04] Production.INFO: 1
[2025-04-11 23:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 23:25:04] Production.INFO: CreateAllLog End
[2025-04-11 23:25:04] Production.INFO: ==28854== Releasing lock...
[2025-04-11 23:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 23:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 23:25:04] Production.INFO: Account Balance End.
[2025-04-11 23:25:04] Production.ERROR: CronJobId end 12
[2025-04-11 23:25:04] Production.INFO: ==28850== Releasing lock...
[2025-04-11 23:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 23:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 23:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 20:25:05
[end_date_ymd] => 2025-04-11 23:25:05
[RateCDR] => 1
)
[2025-04-11 23:25:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 20:25:05' and `end` < '2025-04-11 23:25:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 23:25:12] Production.ERROR: CronJobId end10
[2025-04-11 23:25:12] Production.INFO: ==28848== Releasing lock...
[2025-04-11 23:25:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 23:25:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 23:25:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 23:25:13] Production.INFO: ============== Balance Warning START===========
[2025-04-11 23:25:13] Production.INFO: ============== Balance Warning END===========
[2025-04-11 23:25:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 23:25:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 23:25:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 23:25:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 23:25:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 23:25:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 23:25:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 23:25:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 23:25:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 23:25:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 23:25:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 23:25:14] Production.INFO: call_cost start
[2025-04-11 23:25:14] Production.INFO: call_cost end
[2025-04-11 23:25:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 23:25:15] Production.INFO: ============== Report Schedule START===========
[2025-04-11 23:25:15] Production.INFO: ============== Report Schedule END===========
[2025-04-11 23:25:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 23:25:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 23:25:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 23:25:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 23:25:15] Production.INFO: ============== Deal alert START===========
[2025-04-11 23:25:15] Production.INFO: ============== Deal alert END===========
[2025-04-11 23:25:15] Production.INFO: ==28844== Releasing lock...
[2025-04-11 23:25:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 23:25:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 23:25:17] Production.INFO: count ==1444
[2025-04-11 23:25:18] Production.ERROR: pbx CDR StartTime 2025-04-11 20:25:05 - End Time 2025-04-11 23:25:05
[2025-04-11 23:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 23:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887565', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887565', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887565', 'tblTempVendorCDR_20' ) start
[2025-04-11 23:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887565', 'tblTempVendorCDR_20' ) end
[2025-04-11 23:25:18] Production.INFO: ProcessCDR(1,14887565,1,1,2)
[2025-04-11 23:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887565,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:25:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887565,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:25:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887565,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:25:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887565,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887565', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887565', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:25:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 23:25:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 23:25:21] Production.INFO: ==28852== Releasing lock...
[2025-04-11 23:25:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 23:25:21] Production.INFO: 39.25 MB #Memory Used#
[2025-04-12 04:26:01] Production.INFO: ==28923== Lock acquired, processing the job...
[2025-04-12 04:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 04:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 04:26:02] Production.INFO: neon service started
[2025-04-12 04:26:02] Production.INFO: neon service started
[2025-04-12 04:26:02] Production.INFO: ==28923== Releasing lock...
[2025-04-12 04:26:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 04:26:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 23:26:02] Production.INFO: ==28925== Lock acquired, processing the job...
[2025-04-11 23:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 23:26:02] Production.INFO: ==28925== Releasing lock...
[2025-04-11 23:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 23:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 03:26:02] Production.INFO: ==28927== Lock acquired, processing the job...
[2025-04-12 03:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 03:26:02] Production.INFO: ==28927== Releasing lock...
[2025-04-12 03:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 03:26:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 23:26:03] Production.INFO: ==28936== Lock acquired, processing the job...
[2025-04-11 23:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 23:26:03] Production.INFO: Account Balance Start.
[2025-04-11 23:26:03] Production.INFO: CreateAllLog Start
[2025-04-11 23:26:03] Production.INFO: 117
[2025-04-11 23:26:03] Production.INFO: Date 2025-04-08
[2025-04-11 23:26:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:26:03] Production.INFO: Date 2025-04-09
[2025-04-11 23:26:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:26:03] Production.INFO: Date 2025-04-10
[2025-04-11 23:26:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:26:03] Production.INFO: Date 2025-04-11
[2025-04-11 23:26:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:26:03] Production.INFO: Total Charge 0
[2025-04-11 23:26:03] Production.INFO: CreateAllLog End
[2025-04-11 23:26:03] Production.INFO: ==28929== Lock acquired, processing the job...
[2025-04-11 23:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 23:26:03] Production.INFO: Account Balance End.
[2025-04-11 23:26:03] Production.INFO: ==28940== Lock acquired, processing the job...
[2025-04-11 23:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 23:26:03] Production.ERROR: CronJobId end 12
[2025-04-11 23:26:03] Production.INFO: ==28936== Releasing lock...
[2025-04-11 23:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 23:26:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 23:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 23:26:03] Production.INFO: ==28931== Lock acquired, processing the job...
[2025-04-11 23:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 23:26:03] Production.INFO: ==28934== Lock acquired, processing the job...
[2025-04-11 23:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 23:26:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 23:26:04] Production.INFO: count ==12
[2025-04-11 23:26:04] Production.INFO: ==28938== Lock acquired, processing the job...
[2025-04-11 23:26:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 23:26:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 23:26:04] Production.INFO: count ==23
[2025-04-11 23:26:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 23:26:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 23:26:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 23:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887568') start
[2025-04-11 23:26:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 23:26:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 23:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887568') end
[2025-04-11 23:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 23:26:04] Production.INFO: 1
[2025-04-11 23:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 23:26:04] Production.INFO: ==28940== Releasing lock...
[2025-04-11 23:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 23:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 23:26:04] Production.INFO: ==28931== Releasing lock...
[2025-04-11 23:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 23:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 23:26:04] Production.ERROR: done
[2025-04-11 23:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 23:26:04] Production.ERROR: done
[2025-04-11 23:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 20:26:05
[end_date_ymd] => 2025-04-11 23:26:05
[RateCDR] => 1
)
[2025-04-11 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-11 20:26:05' and `end` < '2025-04-11 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-11 23:26:11] Production.ERROR: CronJobId end10
[2025-04-11 23:26:11] Production.INFO: ==28934== Releasing lock...
[2025-04-11 23:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 23:26:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 23:26:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 23:26:13] Production.INFO: ============== Balance Warning START===========
[2025-04-11 23:26:13] Production.INFO: ============== Balance Warning END===========
[2025-04-11 23:26:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 23:26:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 23:26:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 23:26:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 23:26:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 23:26:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 23:26:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 23:26:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 23:26:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 23:26:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 23:26:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 23:26:14] Production.INFO: call_cost start
[2025-04-11 23:26:14] Production.INFO: call_cost end
[2025-04-11 23:26:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 23:26:15] Production.INFO: ============== Report Schedule START===========
[2025-04-11 23:26:15] Production.INFO: ============== Report Schedule END===========
[2025-04-11 23:26:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 23:26:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 23:26:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 23:26:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 23:26:15] Production.INFO: ============== Deal alert START===========
[2025-04-11 23:26:15] Production.INFO: ============== Deal alert END===========
[2025-04-11 23:26:15] Production.INFO: ==28929== Releasing lock...
[2025-04-11 23:26:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 23:26:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 23:26:18] Production.INFO: count ==1442
[2025-04-11 23:26:19] Production.ERROR: pbx CDR StartTime 2025-04-11 20:26:05 - End Time 2025-04-11 23:26:05
[2025-04-11 23:26:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 23:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887570', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887570', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887570', 'tblTempVendorCDR_20' ) start
[2025-04-11 23:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887570', 'tblTempVendorCDR_20' ) end
[2025-04-11 23:26:19] Production.INFO: ProcessCDR(1,14887570,1,1,2)
[2025-04-11 23:26:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887570,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:26:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887570,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:26:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887570,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:26:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887570,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887570', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887570', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:26:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 23:26:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 23:26:22] Production.INFO: ==28938== Releasing lock...
[2025-04-11 23:26:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 23:26:22] Production.INFO: 39.75 MB #Memory Used#
[2025-04-12 04:27:01] Production.INFO: ==28993== Lock acquired, processing the job...
[2025-04-12 04:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 04:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 04:27:01] Production.INFO: neon service started
[2025-04-12 04:27:01] Production.INFO: neon service started
[2025-04-12 04:27:01] Production.INFO: ==28993== Releasing lock...
[2025-04-12 04:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 04:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 23:27:01] Production.INFO: ==28995== Lock acquired, processing the job...
[2025-04-11 23:27:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 03:27:02] Production.INFO: ==28997== Lock acquired, processing the job...
[2025-04-12 03:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-11 23:27:02] Production.INFO: ==28995== Releasing lock...
[2025-04-11 23:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 23:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 03:27:02] Production.INFO: ==28997== Releasing lock...
[2025-04-12 03:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 03:27:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 23:27:03] Production.INFO: ==29000== Lock acquired, processing the job...
[2025-04-11 23:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 23:27:03] Production.INFO: ==29004== Lock acquired, processing the job...
[2025-04-11 23:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 23:27:03] Production.INFO: ==29006== Lock acquired, processing the job...
[2025-04-11 23:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 23:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 23:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 23:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 23:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 23:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 23:27:03] Production.INFO: Account Balance Start.
[2025-04-11 23:27:03] Production.INFO: CreateAllLog Start
[2025-04-11 23:27:03] Production.INFO: 117
[2025-04-11 23:27:03] Production.INFO: Date 2025-04-08
[2025-04-11 23:27:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:27:03] Production.INFO: Date 2025-04-09
[2025-04-11 23:27:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:27:03] Production.INFO: ==29002== Lock acquired, processing the job...
[2025-04-11 23:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 23:27:03] Production.INFO: Date 2025-04-10
[2025-04-11 23:27:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:27:03] Production.INFO: Date 2025-04-11
[2025-04-11 23:27:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:27:03] Production.INFO: Total Charge 0
[2025-04-11 23:27:03] Production.INFO: ==29010== Lock acquired, processing the job...
[2025-04-11 23:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 23:27:03] Production.INFO: CreateAllLog End
[2025-04-11 23:27:03] Production.INFO: ==29008== Lock acquired, processing the job...
[2025-04-11 23:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 23:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 23:27:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 23:27:03] Production.INFO: Account Balance End.
[2025-04-11 23:27:03] Production.INFO: count ==12
[2025-04-11 23:27:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 23:27:03] Production.INFO: count ==23
[2025-04-11 23:27:03] Production.ERROR: CronJobId end 12
[2025-04-11 23:27:03] Production.INFO: ==29006== Releasing lock...
[2025-04-11 23:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 23:27:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 23:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887573') start
[2025-04-11 23:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887573') end
[2025-04-11 23:27:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 23:27:03] Production.INFO: 1
[2025-04-11 23:27:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 23:27:04] Production.INFO: ==29010== Releasing lock...
[2025-04-11 23:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 23:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 23:27:04] Production.ERROR: done
[2025-04-11 23:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 23:27:04] Production.INFO: ==29002== Releasing lock...
[2025-04-11 23:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 23:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 23:27:04] Production.ERROR: done
[2025-04-11 23:27:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 20:27:04
[end_date_ymd] => 2025-04-11 23:27:04
[RateCDR] => 1
)
[2025-04-11 23:27:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 20:27:04' and `end` < '2025-04-11 23:27:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 23:27:12] Production.ERROR: CronJobId end10
[2025-04-11 23:27:12] Production.INFO: ==29004== Releasing lock...
[2025-04-11 23:27:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 23:27:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 23:27:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 23:27:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 23:27:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 23:27:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 23:27:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 23:27:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 23:27:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 23:27:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 23:27:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 23:27:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 23:27:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 23:27:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 23:27:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 23:27:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 23:27:14] Production.INFO: call_cost start
[2025-04-11 23:27:14] Production.INFO: call_cost end
[2025-04-11 23:27:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 23:27:15] Production.INFO: ============== Report Schedule START===========
[2025-04-11 23:27:15] Production.INFO: ============== Report Schedule END===========
[2025-04-11 23:27:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 23:27:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 23:27:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 23:27:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 23:27:15] Production.INFO: ============== Deal alert START===========
[2025-04-11 23:27:15] Production.INFO: ============== Deal alert END===========
[2025-04-11 23:27:15] Production.INFO: ==29000== Releasing lock...
[2025-04-11 23:27:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 23:27:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 23:27:17] Production.INFO: count ==1440
[2025-04-11 23:27:18] Production.ERROR: pbx CDR StartTime 2025-04-11 20:27:04 - End Time 2025-04-11 23:27:04
[2025-04-11 23:27:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 23:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887575', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887575', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887575', 'tblTempVendorCDR_20' ) start
[2025-04-11 23:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887575', 'tblTempVendorCDR_20' ) end
[2025-04-11 23:27:18] Production.INFO: ProcessCDR(1,14887575,1,1,2)
[2025-04-11 23:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887575,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:27:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887575,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:27:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887575,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:27:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887575,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887575', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887575', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:27:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 23:27:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 23:27:21] Production.INFO: ==29008== Releasing lock...
[2025-04-11 23:27:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 23:27:21] Production.INFO: 39.25 MB #Memory Used#
[2025-04-12 04:28:02] Production.INFO: ==29066== Lock acquired, processing the job...
[2025-04-12 04:28:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 04:28:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 04:28:02] Production.INFO: neon service started
[2025-04-12 04:28:02] Production.INFO: neon service started
[2025-04-12 04:28:02] Production.INFO: ==29066== Releasing lock...
[2025-04-12 04:28:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 04:28:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 03:28:02] Production.INFO: ==29071== Lock acquired, processing the job...
[2025-04-12 03:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 03:28:02] Production.INFO: ==29071== Releasing lock...
[2025-04-12 03:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 03:28:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 23:28:02] Production.INFO: ==29069== Lock acquired, processing the job...
[2025-04-11 23:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 23:28:03] Production.INFO: ==29069== Releasing lock...
[2025-04-11 23:28:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 23:28:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 23:28:03] Production.INFO: ==29075== Lock acquired, processing the job...
[2025-04-11 23:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 23:28:04] Production.INFO: ==29081== Lock acquired, processing the job...
[2025-04-11 23:28:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 23:28:04] Production.INFO: ==29073== Lock acquired, processing the job...
[2025-04-11 23:28:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 23:28:04] Production.INFO: ==29077== Lock acquired, processing the job...
[2025-04-11 23:28:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 23:28:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 23:28:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 23:28:04] Production.INFO: ==29079== Lock acquired, processing the job...
[2025-04-11 23:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 23:28:04] Production.INFO: ==29083== Lock acquired, processing the job...
[2025-04-11 23:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 23:28:04] Production.INFO: ==29075== Releasing lock...
[2025-04-11 23:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 23:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 23:28:04] Production.INFO: Account Balance Start.
[2025-04-11 23:28:04] Production.INFO: CreateAllLog Start
[2025-04-11 23:28:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 23:28:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 23:28:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 23:28:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 23:28:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 23:28:04] Production.INFO: 117
[2025-04-11 23:28:04] Production.INFO: count ==12
[2025-04-11 23:28:04] Production.INFO: Date 2025-04-08
[2025-04-11 23:28:04] Production.ERROR: done
[2025-04-11 23:28:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 23:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 23:28:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:28:04] Production.INFO: count ==23
[2025-04-11 23:28:04] Production.INFO: Date 2025-04-09
[2025-04-11 23:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887579') start
[2025-04-11 23:28:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:28:04] Production.INFO: Date 2025-04-10
[2025-04-11 23:28:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887579') end
[2025-04-11 23:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 23:28:04] Production.INFO: 1
[2025-04-11 23:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 23:28:04] Production.ERROR: done
[2025-04-11 23:28:04] Production.INFO: Date 2025-04-11
[2025-04-11 23:28:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:28:04] Production.INFO: ==29083== Releasing lock...
[2025-04-11 23:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 23:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 23:28:04] Production.INFO: Total Charge 0
[2025-04-11 23:28:04] Production.INFO: CreateAllLog End
[2025-04-11 23:28:05] Production.INFO: Account Balance End.
[2025-04-11 23:28:05] Production.ERROR: CronJobId end 12
[2025-04-11 23:28:05] Production.INFO: ==29079== Releasing lock...
[2025-04-11 23:28:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 23:28:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 23:28:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 20:28:06
[end_date_ymd] => 2025-04-11 23:28:06
[RateCDR] => 1
)
[2025-04-11 23: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-11 20:28:06' and `end` < '2025-04-11 23: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-11 23:28:13] Production.ERROR: CronJobId end10
[2025-04-11 23:28:13] Production.INFO: ==29077== Releasing lock...
[2025-04-11 23:28:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 23:28:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 23:28:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 23:28:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 23:28:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 23:28:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 23:28:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 23:28:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 23:28:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 23:28:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 23:28:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 23:28:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 23:28:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 23:28:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 23:28:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 23:28:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 23:28:15] Production.INFO: call_cost start
[2025-04-11 23:28:15] Production.INFO: call_cost end
[2025-04-11 23:28:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 23:28:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 23:28:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 23:28:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 23:28:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 23:28:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 23:28:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 23:28:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 23:28:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 23:28:16] Production.INFO: ==29073== Releasing lock...
[2025-04-11 23:28:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 23:28:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 23:28:18] Production.INFO: count ==1441
[2025-04-11 23:28:19] Production.ERROR: pbx CDR StartTime 2025-04-11 20:28:06 - End Time 2025-04-11 23:28:06
[2025-04-11 23:28:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 23:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887580', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887580', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887580', 'tblTempVendorCDR_20' ) start
[2025-04-11 23:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887580', 'tblTempVendorCDR_20' ) end
[2025-04-11 23:28:19] Production.INFO: ProcessCDR(1,14887580,1,1,2)
[2025-04-11 23:28:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887580,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:28:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887580,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:28:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887580,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:28:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887580,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:28:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887580', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:28:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887580', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:28:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 23:28:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 23:28:24] Production.INFO: ==29081== Releasing lock...
[2025-04-11 23:28:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 23:28:24] Production.INFO: 39.5 MB #Memory Used#
[2025-04-12 04:29:01] Production.INFO: ==29138== Lock acquired, processing the job...
[2025-04-12 04:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 04:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 04:29:01] Production.INFO: neon service started
[2025-04-12 04:29:01] Production.INFO: neon service started
[2025-04-12 04:29:01] Production.INFO: ==29138== Releasing lock...
[2025-04-12 04:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 04:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 23:29:01] Production.INFO: ==29140== Lock acquired, processing the job...
[2025-04-11 23:29:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 23:29:02] Production.INFO: ==29140== Releasing lock...
[2025-04-11 23:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 23:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 03:29:02] Production.INFO: ==29142== Lock acquired, processing the job...
[2025-04-12 03:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 03:29:02] Production.INFO: ==29142== Releasing lock...
[2025-04-12 03:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 03:29:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 23:29:03] Production.INFO: ==29149== Lock acquired, processing the job...
[2025-04-11 23:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 23:29:03] Production.INFO: ==29145== Lock acquired, processing the job...
[2025-04-11 23:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 23:29:03] Production.INFO: ==29153== Lock acquired, processing the job...
[2025-04-11 23:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 23:29:03] Production.INFO: ==29147== Lock acquired, processing the job...
[2025-04-11 23:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 23:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 23:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 23:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 23:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 23:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 23:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 23:29:03] Production.INFO: ==29151== Lock acquired, processing the job...
[2025-04-11 23:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 23:29:03] Production.INFO: ==29155== Lock acquired, processing the job...
[2025-04-11 23:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 23:29:03] Production.INFO: Account Balance Start.
[2025-04-11 23:29:03] Production.INFO: CreateAllLog Start
[2025-04-11 23:29:03] Production.INFO: 117
[2025-04-11 23:29:03] Production.INFO: Date 2025-04-08
[2025-04-11 23:29:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 23:29:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:29:03] Production.INFO: count ==12
[2025-04-11 23:29:03] Production.ERROR: done
[2025-04-11 23:29:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 23:29:03] Production.INFO: count ==23
[2025-04-11 23:29:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 23:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887582') start
[2025-04-11 23:29:03] Production.INFO: Date 2025-04-09
[2025-04-11 23:29:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:29:03] Production.INFO: ==29147== Releasing lock...
[2025-04-11 23:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 23:29:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 23:29:03] Production.INFO: Date 2025-04-10
[2025-04-11 23:29:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:29:03] Production.ERROR: done
[2025-04-11 23:29:03] Production.INFO: Date 2025-04-11
[2025-04-11 23:29:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887582') end
[2025-04-11 23:29:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 23:29:03] Production.INFO: 1
[2025-04-11 23:29:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 23:29:03] Production.INFO: Total Charge 0
[2025-04-11 23:29:03] Production.INFO: CreateAllLog End
[2025-04-11 23:29:03] Production.INFO: ==29155== Releasing lock...
[2025-04-11 23:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 23:29:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 23:29:03] Production.INFO: Account Balance End.
[2025-04-11 23:29:04] Production.ERROR: CronJobId end 12
[2025-04-11 23:29:04] Production.INFO: ==29151== Releasing lock...
[2025-04-11 23:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 23:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 23:29:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 20:29:04
[end_date_ymd] => 2025-04-11 23:29:04
[RateCDR] => 1
)
[2025-04-11 23: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-11 20:29:04' and `end` < '2025-04-11 23: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-11 23:29:13] Production.ERROR: CronJobId end10
[2025-04-11 23:29:13] Production.INFO: ==29149== Releasing lock...
[2025-04-11 23:29:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 23:29:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 23:29:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 23:29:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 23:29:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 23:29:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 23:29:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 23:29:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 23:29:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 23:29:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 23:29:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 23:29:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 23:29:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 23:29:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 23:29:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 23:29:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 23:29:14] Production.INFO: call_cost start
[2025-04-11 23:29:14] Production.INFO: call_cost end
[2025-04-11 23:29:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 23:29:15] Production.INFO: ============== Report Schedule START===========
[2025-04-11 23:29:15] Production.INFO: ============== Report Schedule END===========
[2025-04-11 23:29:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 23:29:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 23:29:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 23:29:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 23:29:15] Production.INFO: ============== Deal alert START===========
[2025-04-11 23:29:15] Production.INFO: ============== Deal alert END===========
[2025-04-11 23:29:15] Production.INFO: ==29145== Releasing lock...
[2025-04-11 23:29:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 23:29:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 23:29:17] Production.INFO: count ==1441
[2025-04-11 23:29:17] Production.ERROR: pbx CDR StartTime 2025-04-11 20:29:04 - End Time 2025-04-11 23:29:04
[2025-04-11 23:29:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 23:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887585', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887585', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887585', 'tblTempVendorCDR_20' ) start
[2025-04-11 23:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887585', 'tblTempVendorCDR_20' ) end
[2025-04-11 23:29:17] Production.INFO: ProcessCDR(1,14887585,1,1,2)
[2025-04-11 23:29:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887585,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:29:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887585,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:29:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887585,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:29:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887585,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887585', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887585', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:29:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 23:29:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 23:29:22] Production.INFO: ==29153== Releasing lock...
[2025-04-11 23:29:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 23:29:22] Production.INFO: 39.25 MB #Memory Used#
[2025-04-12 04:30:01] Production.INFO: ==29212== Lock acquired, processing the job...
[2025-04-12 04:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 04:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 04:30:01] Production.INFO: neon service started
[2025-04-12 04:30:02] Production.INFO: neon service started
[2025-04-12 04:30:02] Production.INFO: ==29212== Releasing lock...
[2025-04-12 04:30:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 04:30:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 23:30:02] Production.INFO: ==29214== Lock acquired, processing the job...
[2025-04-11 23:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 03:30:02] Production.INFO: ==29216== Lock acquired, processing the job...
[2025-04-12 03:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-11 23:30:02] Production.INFO: ==29214== Releasing lock...
[2025-04-11 23:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 23:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 03:30:02] Production.INFO: ==29216== Releasing lock...
[2025-04-12 03:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 03:30:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 23:30:03] Production.INFO: ==29219== Lock acquired, processing the job...
[2025-04-11 23:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-11 23:30:03] Production.INFO: ==29221== Lock acquired, processing the job...
[2025-04-11 23:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 23:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-11 23:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-11 23:30:03] Production.ERROR: CronJob PID - 29221
[2025-04-11 23:30:04] Production.ERROR: CronJob Title - System Alerts
[2025-04-11 23:30:04] Production.ERROR: CronJob ID - 5
[2025-04-11 23:30:04] Production.ERROR: CronJob Last Run Time 2025-04-11 23:30:00
[2025-04-11 23:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-11 23:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-11 23:30:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-11 23:30:04] Production.INFO: ==29219== Releasing lock...
[2025-04-11 23:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-11 23:30:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-11 23:30:04] Production.INFO: ==29223== Lock acquired, processing the job...
[2025-04-11 23:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 23:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 23:30:04] Production.INFO: ==29225== Lock acquired, processing the job...
[2025-04-11 23:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 23:30:04] Production.INFO: ==29227== Lock acquired, processing the job...
[2025-04-11 23:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 23:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 23:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 23:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 23:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 23:30:04] Production.INFO: Account Balance Start.
[2025-04-11 23:30:04] Production.INFO: CreateAllLog Start
[2025-04-11 23:30:04] Production.INFO: 117
[2025-04-11 23:30:04] Production.INFO: Date 2025-04-08
[2025-04-11 23:30:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:30:04] Production.INFO: ==29233== Lock acquired, processing the job...
[2025-04-11 23:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 23:30:04] Production.INFO: ==29231== Lock acquired, processing the job...
[2025-04-11 23:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-11 23:30:04] Production.INFO: ==29229== Lock acquired, processing the job...
[2025-04-11 23:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 23:30:04] Production.INFO: Date 2025-04-09
[2025-04-11 23:30:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:30:04] Production.INFO: Date 2025-04-10
[2025-04-11 23:30:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 23:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 23:30:04] Production.INFO: Date 2025-04-11
[2025-04-11 23:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 23:30:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:30:04] Production.INFO: count ==12
[2025-04-11 23:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 23:30:04] Production.INFO: count ==23
[2025-04-11 23:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887589') start
[2025-04-11 23:30:04] Production.INFO: ==29223== Releasing lock...
[2025-04-11 23:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 23:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 23:30:04] Production.INFO: Total Charge 0
[2025-04-11 23:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887589') end
[2025-04-11 23:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 23:30:04] Production.INFO: 1
[2025-04-11 23:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 23:30:04] Production.INFO: CreateAllLog End
[2025-04-11 23:30:04] Production.INFO: ==29233== Releasing lock...
[2025-04-11 23:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 23:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 23:30:05] Production.ERROR: done
[2025-04-11 23:30:05] Production.ERROR: done
[2025-04-11 23:30:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 23:30:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-11 23:30:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14887590', 'tblTempUsageDetail_20reseller','2025-04-11','2025-04-11','1' ) start
[2025-04-11 23:30:05] Production.INFO: Account Balance End.
[2025-04-11 23:30:05] Production.ERROR: done
[2025-04-11 23:30:05] Production.ERROR: CronJobId end 12
[2025-04-11 23:30:05] Production.INFO: ==29227== Releasing lock...
[2025-04-11 23:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 23:30:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 23:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 20:30:06
[end_date_ymd] => 2025-04-11 23:30:06
[RateCDR] => 1
)
[2025-04-11 23:30:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 20:30:06' and `end` < '2025-04-11 23:30:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 23:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14887590', 'tblTempUsageDetail_20reseller','2025-04-11','2025-04-11','1' ) end
[2025-04-11 23:30:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-11 23:30:09] Production.INFO: ProcessCDR(1,14887590,1,1,2)
[2025-04-11 23:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14887590,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14887590,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 23:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 23:30:10] Production.INFO: ==29231== Releasing lock...
[2025-04-11 23:30:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-11 23:30:10] Production.INFO: 26 MB #Memory Used#
[2025-04-11 23:30:15] Production.ERROR: CronJobId end10
[2025-04-11 23:30:15] Production.INFO: ==29225== Releasing lock...
[2025-04-11 23:30:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 23:30:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 23:30:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 23:30:16] Production.INFO: ============== Balance Warning START===========
[2025-04-11 23:30:16] Production.INFO: ============== Balance Warning END===========
[2025-04-11 23:30:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 23:30:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 23:30:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 23:30:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 23:30:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 23:30:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 23:30:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 23:30:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 23:30:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 23:30:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 23:30:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 23:30:16] Production.INFO: call_cost start
[2025-04-11 23:30:16] Production.INFO: call_cost end
[2025-04-11 23:30:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 23:30:17] Production.INFO: ============== Report Schedule START===========
[2025-04-11 23:30:17] Production.INFO: ============== Report Schedule END===========
[2025-04-11 23:30:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 23:30:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 23:30:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 23:30:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 23:30:17] Production.INFO: ============== Deal alert START===========
[2025-04-11 23:30:17] Production.INFO: ============== Deal alert END===========
[2025-04-11 23:30:17] Production.INFO: ==29221== Releasing lock...
[2025-04-11 23:30:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 23:30:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 23:30:19] Production.INFO: count ==1438
[2025-04-11 23:30:20] Production.ERROR: pbx CDR StartTime 2025-04-11 20:30:06 - End Time 2025-04-11 23:30:06
[2025-04-11 23:30:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 23:30:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887591', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:30:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887591', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:30:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887591', 'tblTempVendorCDR_20' ) start
[2025-04-11 23:30:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887591', 'tblTempVendorCDR_20' ) end
[2025-04-11 23:30:20] Production.INFO: ProcessCDR(1,14887591,1,1,2)
[2025-04-11 23:30:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887591,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:30:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887591,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:30:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887591,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:30:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887591,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:30:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887591', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:30:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887591', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:30:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 23:30:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 23:30:23] Production.INFO: ==29229== Releasing lock...
[2025-04-11 23:30:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 23:30:23] Production.INFO: 39.25 MB #Memory Used#
[2025-04-12 04:31:01] Production.INFO: ==29291== Lock acquired, processing the job...
[2025-04-12 04:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 04:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 04:31:01] Production.INFO: neon service started
[2025-04-12 04:31:01] Production.INFO: neon service started
[2025-04-12 04:31:01] Production.INFO: ==29291== Releasing lock...
[2025-04-12 04:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 04:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 23:31:01] Production.INFO: ==29293== Lock acquired, processing the job...
[2025-04-11 23:31:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 03:31:02] Production.INFO: ==29295== Lock acquired, processing the job...
[2025-04-12 03:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-11 23:31:02] Production.INFO: ==29293== Releasing lock...
[2025-04-11 23:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 23:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 03:31:02] Production.INFO: ==29295== Releasing lock...
[2025-04-12 03:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 03:31:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 23:31:03] Production.INFO: ==29299== Lock acquired, processing the job...
[2025-04-11 23:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 23:31:03] Production.INFO: ==29301== Lock acquired, processing the job...
[2025-04-11 23:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 23:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 23:31:03] Production.INFO: ==29306== Lock acquired, processing the job...
[2025-04-11 23:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 23:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 23:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 23:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 23:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 23:31:03] Production.INFO: ==29297== Lock acquired, processing the job...
[2025-04-11 23:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 23:31:03] Production.INFO: ==29304== Lock acquired, processing the job...
[2025-04-11 23:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 23:31:03] Production.INFO: ==29299== Releasing lock...
[2025-04-11 23:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 23:31:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 23:31:03] Production.INFO: Account Balance Start.
[2025-04-11 23:31:03] Production.INFO: CreateAllLog Start
[2025-04-11 23:31:03] Production.INFO: ==29308== Lock acquired, processing the job...
[2025-04-11 23:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 23:31:03] Production.INFO: 117
[2025-04-11 23:31:03] Production.INFO: Date 2025-04-08
[2025-04-11 23:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 23:31:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:31:03] Production.INFO: Date 2025-04-09
[2025-04-11 23:31:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:31:03] Production.INFO: Date 2025-04-10
[2025-04-11 23:31:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:31:03] Production.INFO: Date 2025-04-11
[2025-04-11 23:31:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:31:03] Production.INFO: Total Charge 0
[2025-04-11 23:31:03] Production.ERROR: done
[2025-04-11 23:31:03] Production.INFO: CreateAllLog End
[2025-04-11 23:31:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 23:31:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 23:31:03] Production.INFO: count ==12
[2025-04-11 23:31:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 23:31:03] Production.INFO: count ==23
[2025-04-11 23:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887595') start
[2025-04-11 23:31:03] Production.ERROR: done
[2025-04-11 23:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887595') end
[2025-04-11 23:31:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 23:31:03] Production.INFO: 1
[2025-04-11 23:31:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 23:31:03] Production.INFO: Account Balance End.
[2025-04-11 23:31:03] Production.ERROR: CronJobId end 12
[2025-04-11 23:31:03] Production.INFO: ==29304== Releasing lock...
[2025-04-11 23:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 23:31:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 23:31:03] Production.INFO: ==29308== Releasing lock...
[2025-04-11 23:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 23:31:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 23:31:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 20:31:04
[end_date_ymd] => 2025-04-11 23:31:04
[RateCDR] => 1
)
[2025-04-11 23: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-11 20:31:04' and `end` < '2025-04-11 23: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-11 23:31:12] Production.ERROR: CronJobId end10
[2025-04-11 23:31:12] Production.INFO: ==29301== Releasing lock...
[2025-04-11 23:31:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 23:31:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 23:31:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 23:31:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 23:31:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 23:31:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 23:31:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 23:31:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 23:31:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 23:31:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 23:31:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 23:31:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 23:31:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 23:31:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 23:31:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 23:31:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 23:31:14] Production.INFO: call_cost start
[2025-04-11 23:31:14] Production.INFO: call_cost end
[2025-04-11 23:31:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 23:31:15] Production.INFO: ============== Report Schedule START===========
[2025-04-11 23:31:15] Production.INFO: ============== Report Schedule END===========
[2025-04-11 23:31:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 23:31:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 23:31:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 23:31:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 23:31:15] Production.INFO: ============== Deal alert START===========
[2025-04-11 23:31:15] Production.INFO: ============== Deal alert END===========
[2025-04-11 23:31:15] Production.INFO: ==29297== Releasing lock...
[2025-04-11 23:31:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 23:31:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 23:31:17] Production.INFO: count ==1427
[2025-04-11 23:31:18] Production.ERROR: pbx CDR StartTime 2025-04-11 20:31:04 - End Time 2025-04-11 23:31:04
[2025-04-11 23:31:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 23:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887596', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887596', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887596', 'tblTempVendorCDR_20' ) start
[2025-04-11 23:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887596', 'tblTempVendorCDR_20' ) end
[2025-04-11 23:31:18] Production.INFO: ProcessCDR(1,14887596,1,1,2)
[2025-04-11 23:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887596,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:31:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887596,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:31:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887596,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:31:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887596,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887596', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887596', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:31:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 23:31:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 23:31:23] Production.INFO: ==29306== Releasing lock...
[2025-04-11 23:31:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 23:31:23] Production.INFO: 39.25 MB #Memory Used#
[2025-04-12 04:32:01] Production.INFO: ==29370== Lock acquired, processing the job...
[2025-04-12 04:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 04:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 04:32:01] Production.INFO: neon service started
[2025-04-12 04:32:02] Production.INFO: neon service started
[2025-04-12 04:32:02] Production.INFO: ==29370== Releasing lock...
[2025-04-12 04:32:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 04:32:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 23:32:02] Production.INFO: ==29372== Lock acquired, processing the job...
[2025-04-11 23:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 03:32:02] Production.INFO: ==29374== Lock acquired, processing the job...
[2025-04-12 03:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-11 23:32:02] Production.INFO: ==29372== Releasing lock...
[2025-04-11 23:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 23:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 03:32:02] Production.INFO: ==29374== Releasing lock...
[2025-04-12 03:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 03:32:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 23:32:03] Production.INFO: ==29377== Lock acquired, processing the job...
[2025-04-11 23:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 23:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 23:32:03] Production.INFO: ==29379== Lock acquired, processing the job...
[2025-04-11 23:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 23:32:03] Production.INFO: ==29381== Lock acquired, processing the job...
[2025-04-11 23:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 23:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 23:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 23:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 23:32:03] Production.INFO: ==29385== Lock acquired, processing the job...
[2025-04-11 23:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 23:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 23:32:03] Production.INFO: ==29387== Lock acquired, processing the job...
[2025-04-11 23:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 23:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 23:32:03] Production.INFO: ==29383== Lock acquired, processing the job...
[2025-04-11 23:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 23:32:04] Production.INFO: ==29379== Releasing lock...
[2025-04-11 23:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 23:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 23:32:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 23:32:04] Production.INFO: Account Balance Start.
[2025-04-11 23:32:04] Production.INFO: CreateAllLog Start
[2025-04-11 23:32:04] Production.INFO: count ==12
[2025-04-11 23:32:04] Production.INFO: 117
[2025-04-11 23:32:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 23:32:04] Production.INFO: count ==23
[2025-04-11 23:32:04] Production.INFO: Date 2025-04-08
[2025-04-11 23:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887599') start
[2025-04-11 23:32:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887599') end
[2025-04-11 23:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 23:32:04] Production.INFO: 1
[2025-04-11 23:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 23:32:04] Production.ERROR: done
[2025-04-11 23:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 23:32:04] Production.INFO: Date 2025-04-09
[2025-04-11 23:32:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:32:04] Production.INFO: Date 2025-04-10
[2025-04-11 23:32:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:32:04] Production.INFO: Date 2025-04-11
[2025-04-11 23:32:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:32:04] Production.INFO: Total Charge 0
[2025-04-11 23:32:04] Production.INFO: CreateAllLog End
[2025-04-11 23:32:04] Production.INFO: ==29387== Releasing lock...
[2025-04-11 23:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 23:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 23:32:04] Production.ERROR: done
[2025-04-11 23:32:04] Production.INFO: Account Balance End.
[2025-04-11 23:32:04] Production.ERROR: CronJobId end 12
[2025-04-11 23:32:04] Production.INFO: ==29383== Releasing lock...
[2025-04-11 23:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 23:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 23:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 20:32:05
[end_date_ymd] => 2025-04-11 23:32:05
[RateCDR] => 1
)
[2025-04-11 23:32:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 20:32:05' and `end` < '2025-04-11 23:32:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 23:32:13] Production.ERROR: CronJobId end10
[2025-04-11 23:32:13] Production.INFO: ==29381== Releasing lock...
[2025-04-11 23:32:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 23:32:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 23:32:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 23:32:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 23:32:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 23:32:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 23:32:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 23:32:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 23:32:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 23:32:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 23:32:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 23:32:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 23:32:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 23:32:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 23:32:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 23:32:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 23:32:15] Production.INFO: call_cost start
[2025-04-11 23:32:15] Production.INFO: call_cost end
[2025-04-11 23:32:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 23:32:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 23:32:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 23:32:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 23:32:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 23:32:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 23:32:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 23:32:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 23:32:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 23:32:16] Production.INFO: ==29377== Releasing lock...
[2025-04-11 23:32:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 23:32:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 23:32:18] Production.INFO: count ==1428
[2025-04-11 23:32:18] Production.ERROR: pbx CDR StartTime 2025-04-11 20:32:05 - End Time 2025-04-11 23:32:05
[2025-04-11 23:32:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 23:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887601', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887601', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887601', 'tblTempVendorCDR_20' ) start
[2025-04-11 23:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887601', 'tblTempVendorCDR_20' ) end
[2025-04-11 23:32:18] Production.INFO: ProcessCDR(1,14887601,1,1,2)
[2025-04-11 23:32:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887601,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:32:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887601,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:32:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887601,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:32:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887601,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:32:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887601', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:32:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887601', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:32:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 23:32:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 23:32:23] Production.INFO: ==29385== Releasing lock...
[2025-04-11 23:32:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 23:32:23] Production.INFO: 39 MB #Memory Used#
[2025-04-12 04:33:01] Production.INFO: ==29457== Lock acquired, processing the job...
[2025-04-12 04:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 04:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 04:33:01] Production.INFO: neon service started
[2025-04-12 04:33:01] Production.INFO: neon service started
[2025-04-12 04:33:01] Production.INFO: ==29457== Releasing lock...
[2025-04-12 04:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 04:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 23:33:02] Production.INFO: ==29459== Lock acquired, processing the job...
[2025-04-11 23:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 03:33:02] Production.INFO: ==29461== Lock acquired, processing the job...
[2025-04-12 03:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 03:33:02] Production.INFO: ==29461== Releasing lock...
[2025-04-12 03:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 03:33:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 23:33:02] Production.INFO: ==29459== Releasing lock...
[2025-04-11 23:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 23:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 23:33:03] Production.INFO: ==29464== Lock acquired, processing the job...
[2025-04-11 23:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 23:33:03] Production.INFO: ==29466== Lock acquired, processing the job...
[2025-04-11 23:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 23:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 23:33:03] Production.INFO: ==29472== Lock acquired, processing the job...
[2025-04-11 23:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 23:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 23:33:03] Production.INFO: ==29468== Lock acquired, processing the job...
[2025-04-11 23:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 23:33:03] Production.INFO: ==29466== Releasing lock...
[2025-04-11 23:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 23:33:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 23:33:03] Production.INFO: ==29470== Lock acquired, processing the job...
[2025-04-11 23:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 23:33:03] Production.INFO: ==29474== Lock acquired, processing the job...
[2025-04-11 23:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 23:33:03] Production.INFO: Account Balance Start.
[2025-04-11 23:33:03] Production.INFO: CreateAllLog Start
[2025-04-11 23:33:03] Production.INFO: 117
[2025-04-11 23:33:03] Production.INFO: Date 2025-04-08
[2025-04-11 23:33:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 23:33:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 23:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 23:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 23:33:03] Production.INFO: count ==12
[2025-04-11 23:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 23:33:03] Production.INFO: Date 2025-04-09
[2025-04-11 23:33:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:33:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 23:33:03] Production.INFO: count ==23
[2025-04-11 23:33:03] Production.INFO: Date 2025-04-10
[2025-04-11 23:33:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887605') start
[2025-04-11 23:33:03] Production.INFO: Date 2025-04-11
[2025-04-11 23:33:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:33:04] Production.ERROR: done
[2025-04-11 23:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887605') end
[2025-04-11 23:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 23:33:04] Production.INFO: 1
[2025-04-11 23:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 23:33:04] Production.INFO: Total Charge 0
[2025-04-11 23:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 23:33:04] Production.INFO: CreateAllLog End
[2025-04-11 23:33:04] Production.INFO: ==29474== Releasing lock...
[2025-04-11 23:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 23:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 23:33:04] Production.ERROR: done
[2025-04-11 23:33:04] Production.INFO: Account Balance End.
[2025-04-11 23:33:04] Production.ERROR: CronJobId end 12
[2025-04-11 23:33:04] Production.INFO: ==29470== Releasing lock...
[2025-04-11 23:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 23:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 23:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 20:33:05
[end_date_ymd] => 2025-04-11 23:33:05
[RateCDR] => 1
)
[2025-04-11 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-11 20:33:05' and `end` < '2025-04-11 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-11 23:33:13] Production.ERROR: CronJobId end10
[2025-04-11 23:33:13] Production.INFO: ==29468== Releasing lock...
[2025-04-11 23:33:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 23:33:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 23:33:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 23:33:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 23:33:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 23:33:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 23:33:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 23:33:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 23:33:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 23:33:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 23:33:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 23:33:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 23:33:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 23:33:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 23:33:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 23:33:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 23:33:15] Production.INFO: call_cost start
[2025-04-11 23:33:15] Production.INFO: call_cost end
[2025-04-11 23:33:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 23:33:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 23:33:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 23:33:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 23:33:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 23:33:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 23:33:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 23:33:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 23:33:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 23:33:16] Production.INFO: ==29464== Releasing lock...
[2025-04-11 23:33:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 23:33:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 23:33:18] Production.INFO: count ==1431
[2025-04-11 23:33:18] Production.ERROR: pbx CDR StartTime 2025-04-11 20:33:05 - End Time 2025-04-11 23:33:05
[2025-04-11 23:33:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 23:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887606', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887606', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887606', 'tblTempVendorCDR_20' ) start
[2025-04-11 23:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887606', 'tblTempVendorCDR_20' ) end
[2025-04-11 23:33:18] Production.INFO: ProcessCDR(1,14887606,1,1,2)
[2025-04-11 23:33:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887606,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:33:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887606,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:33:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887606,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:33:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887606,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:33:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887606', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:33:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887606', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:33:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 23:33:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 23:33:23] Production.INFO: ==29472== Releasing lock...
[2025-04-11 23:33:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 23:33:23] Production.INFO: 39.25 MB #Memory Used#
[2025-04-12 04:34:01] Production.INFO: ==29537== Lock acquired, processing the job...
[2025-04-12 04:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 04:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 04:34:01] Production.INFO: neon service started
[2025-04-12 04:34:01] Production.INFO: neon service started
[2025-04-12 04:34:01] Production.INFO: ==29537== Releasing lock...
[2025-04-12 04:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 04:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 23:34:02] Production.INFO: ==29539== Lock acquired, processing the job...
[2025-04-11 23:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 23:34:02] Production.INFO: ==29539== Releasing lock...
[2025-04-11 23:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 23:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 03:34:02] Production.INFO: ==29541== Lock acquired, processing the job...
[2025-04-12 03:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 03:34:03] Production.INFO: ==29541== Releasing lock...
[2025-04-12 03:34:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 03:34:03] Production.INFO: 25 MB #Memory Used#
[2025-04-11 23:34:03] Production.INFO: ==29544== Lock acquired, processing the job...
[2025-04-11 23:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 23:34:03] Production.INFO: ==29550== Lock acquired, processing the job...
[2025-04-11 23:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 23:34:03] Production.INFO: ==29546== Lock acquired, processing the job...
[2025-04-11 23:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 23:34:03] Production.INFO: ==29548== Lock acquired, processing the job...
[2025-04-11 23:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 23:34:03] Production.INFO: Account Balance Start.
[2025-04-11 23:34:03] Production.INFO: CreateAllLog Start
[2025-04-11 23:34:03] Production.INFO: 117
[2025-04-11 23:34:03] Production.INFO: ==29552== Lock acquired, processing the job...
[2025-04-11 23:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 23:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 23:34:03] Production.INFO: Date 2025-04-08
[2025-04-11 23:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 23:34:03] Production.INFO: ==29554== Lock acquired, processing the job...
[2025-04-11 23:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 23:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 23:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 23:34:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 23:34:03] Production.INFO: Date 2025-04-09
[2025-04-11 23:34:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:34:03] Production.INFO: Date 2025-04-10
[2025-04-11 23:34:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 23:34:03] Production.INFO: Date 2025-04-11
[2025-04-11 23:34:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:34:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 23:34:03] Production.INFO: count ==12
[2025-04-11 23:34:03] Production.INFO: Total Charge 0
[2025-04-11 23:34:04] Production.INFO: CreateAllLog End
[2025-04-11 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-11 23:34:04] Production.INFO: count ==23
[2025-04-11 23:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887610') start
[2025-04-11 23:34:04] Production.INFO: ==29546== Releasing lock...
[2025-04-11 23:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 23:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 23:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887610') end
[2025-04-11 23:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 23:34:04] Production.INFO: 1
[2025-04-11 23:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 23:34:04] Production.INFO: Account Balance End.
[2025-04-11 23:34:04] Production.ERROR: CronJobId end 12
[2025-04-11 23:34:04] Production.INFO: ==29550== Releasing lock...
[2025-04-11 23:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 23:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 23:34:04] Production.INFO: ==29554== Releasing lock...
[2025-04-11 23:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 23:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 23:34:04] Production.ERROR: done
[2025-04-11 23:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 23:34:04] Production.ERROR: done
[2025-04-11 23:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 20:34:05
[end_date_ymd] => 2025-04-11 23:34:05
[RateCDR] => 1
)
[2025-04-11 23:34:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 20:34:05' and `end` < '2025-04-11 23:34:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 23:34:13] Production.ERROR: CronJobId end10
[2025-04-11 23:34:13] Production.INFO: ==29548== Releasing lock...
[2025-04-11 23:34:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 23:34:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 23:34:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 23:34:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 23:34:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 23:34:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 23:34:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 23:34:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 23:34:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 23:34:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 23:34:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 23:34:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 23:34:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 23:34:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 23:34:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 23:34:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 23:34:14] Production.INFO: call_cost start
[2025-04-11 23:34:14] Production.INFO: call_cost end
[2025-04-11 23:34:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 23:34:15] Production.INFO: ============== Report Schedule START===========
[2025-04-11 23:34:15] Production.INFO: ============== Report Schedule END===========
[2025-04-11 23:34:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 23:34:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 23:34:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 23:34:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 23:34:15] Production.INFO: ============== Deal alert START===========
[2025-04-11 23:34:15] Production.INFO: ============== Deal alert END===========
[2025-04-11 23:34:15] Production.INFO: ==29544== Releasing lock...
[2025-04-11 23:34:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 23:34:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 23:34:18] Production.INFO: count ==1432
[2025-04-11 23:34:18] Production.ERROR: pbx CDR StartTime 2025-04-11 20:34:05 - End Time 2025-04-11 23:34:05
[2025-04-11 23:34:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 23:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887611', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887611', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887611', 'tblTempVendorCDR_20' ) start
[2025-04-11 23:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887611', 'tblTempVendorCDR_20' ) end
[2025-04-11 23:34:19] Production.INFO: ProcessCDR(1,14887611,1,1,2)
[2025-04-11 23:34:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887611,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:34:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887611,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:34:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887611,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:34:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887611,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:34:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887611', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:34:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887611', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:34:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 23:34:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 23:34:24] Production.INFO: ==29552== Releasing lock...
[2025-04-11 23:34:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 23:34:24] Production.INFO: 39.25 MB #Memory Used#
[2025-04-12 04:35:02] Production.INFO: ==29620== Lock acquired, processing the job...
[2025-04-12 04:35:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 04:35:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 04:35:02] Production.INFO: neon service started
[2025-04-12 04:35:02] Production.INFO: neon service started
[2025-04-12 04:35:02] Production.INFO: ==29620== Releasing lock...
[2025-04-12 04:35:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 04:35:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 23:35:02] Production.INFO: ==29622== Lock acquired, processing the job...
[2025-04-11 23:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 03:35:02] Production.INFO: ==29624== Lock acquired, processing the job...
[2025-04-12 03:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 03:35:03] Production.INFO: ==29624== Releasing lock...
[2025-04-12 03:35:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 03:35:03] Production.INFO: 25 MB #Memory Used#
[2025-04-11 23:35:03] Production.INFO: ==29622== Releasing lock...
[2025-04-11 23:35:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 23:35:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 23:35:04] Production.INFO: ==29629== Lock acquired, processing the job...
[2025-04-11 23:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 23:35:04] Production.INFO: ==29637== Lock acquired, processing the job...
[2025-04-11 23:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 23:35:04] Production.INFO: ==29627== Lock acquired, processing the job...
[2025-04-11 23:35:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 23:35:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 23:35:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 23:35:04] Production.INFO: ==29633== Lock acquired, processing the job...
[2025-04-11 23:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 23:35:04] Production.INFO: count ==12
[2025-04-11 23:35:04] Production.INFO: ==29631== Lock acquired, processing the job...
[2025-04-11 23:35:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 23:35:04] Production.INFO: ==29635== Lock acquired, processing the job...
[2025-04-11 23:35:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 23:35:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 23:35:04] Production.INFO: count ==23
[2025-04-11 23:35:04] Production.INFO: ==29629== Releasing lock...
[2025-04-11 23:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 23:35:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 23:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887613') start
[2025-04-11 23:35:04] Production.INFO: Account Balance Start.
[2025-04-11 23:35:04] Production.INFO: CreateAllLog Start
[2025-04-11 23:35:04] Production.INFO: 117
[2025-04-11 23:35:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 23:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887613') end
[2025-04-11 23:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 23:35:04] Production.INFO: 1
[2025-04-11 23:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 23:35:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 23:35:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 23:35:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 23:35:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 23:35:04] Production.INFO: Date 2025-04-08
[2025-04-11 23:35:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:35:04] Production.INFO: Date 2025-04-09
[2025-04-11 23:35:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:35:04] Production.INFO: ==29637== Releasing lock...
[2025-04-11 23:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 23:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 23:35:04] Production.INFO: Date 2025-04-10
[2025-04-11 23:35:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:35:04] Production.INFO: Date 2025-04-11
[2025-04-11 23:35:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:35:04] Production.INFO: Total Charge 0
[2025-04-11 23:35:04] Production.INFO: CreateAllLog End
[2025-04-11 23:35:04] Production.ERROR: done
[2025-04-11 23:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 23:35:04] Production.INFO: Account Balance End.
[2025-04-11 23:35:05] Production.ERROR: CronJobId end 12
[2025-04-11 23:35:05] Production.INFO: ==29633== Releasing lock...
[2025-04-11 23:35:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 23:35:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 23:35:05] Production.ERROR: done
[2025-04-11 23:35:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 20:35:06
[end_date_ymd] => 2025-04-11 23:35:06
[RateCDR] => 1
)
[2025-04-11 23:35:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 20:35:06' and `end` < '2025-04-11 23:35:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 23:35:14] Production.ERROR: CronJobId end10
[2025-04-11 23:35:14] Production.INFO: ==29631== Releasing lock...
[2025-04-11 23:35:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 23:35:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 23:35:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 23:35:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 23:35:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 23:35:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 23:35:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 23:35:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 23:35:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 23:35:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 23:35:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 23:35:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 23:35:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 23:35:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 23:35:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 23:35:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 23:35:16] Production.INFO: call_cost start
[2025-04-11 23:35:16] Production.INFO: call_cost end
[2025-04-11 23:35:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 23:35:17] Production.INFO: ============== Report Schedule START===========
[2025-04-11 23:35:17] Production.INFO: ============== Report Schedule END===========
[2025-04-11 23:35:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 23:35:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 23:35:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 23:35:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 23:35:17] Production.INFO: ============== Deal alert START===========
[2025-04-11 23:35:17] Production.INFO: ============== Deal alert END===========
[2025-04-11 23:35:17] Production.INFO: ==29627== Releasing lock...
[2025-04-11 23:35:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 23:35:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 23:35:19] Production.INFO: count ==1430
[2025-04-11 23:35:19] Production.ERROR: pbx CDR StartTime 2025-04-11 20:35:06 - End Time 2025-04-11 23:35:06
[2025-04-11 23:35:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 23:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887616', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887616', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887616', 'tblTempVendorCDR_20' ) start
[2025-04-11 23:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887616', 'tblTempVendorCDR_20' ) end
[2025-04-11 23:35:19] Production.INFO: ProcessCDR(1,14887616,1,1,2)
[2025-04-11 23:35:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887616,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:35:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887616,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:35:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887616,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:35:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887616,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:35:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887616', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:35:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887616', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:35:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 23:35:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 23:35:24] Production.INFO: ==29635== Releasing lock...
[2025-04-11 23:35:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 23:35:24] Production.INFO: 39.5 MB #Memory Used#
[2025-04-12 04:36:01] Production.INFO: ==29746== Lock acquired, processing the job...
[2025-04-12 04:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 04:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 04:36:01] Production.INFO: neon service started
[2025-04-12 04:36:01] Production.INFO: neon service started
[2025-04-12 04:36:01] Production.INFO: ==29746== Releasing lock...
[2025-04-12 04:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 04:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 23:36:02] Production.INFO: ==29748== Lock acquired, processing the job...
[2025-04-11 23:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 03:36:02] Production.INFO: ==29750== Lock acquired, processing the job...
[2025-04-12 03:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-11 23:36:02] Production.INFO: ==29748== Releasing lock...
[2025-04-11 23:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 23:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 03:36:02] Production.INFO: ==29750== Releasing lock...
[2025-04-12 03:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 03:36:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 23:36:03] Production.INFO: ==29752== Lock acquired, processing the job...
[2025-04-11 23:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 23:36:03] Production.INFO: ==29762== Lock acquired, processing the job...
[2025-04-11 23:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 23:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 23:36:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 23:36:03] Production.INFO: ==29754== Lock acquired, processing the job...
[2025-04-11 23:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 23:36:03] Production.INFO: count ==12
[2025-04-11 23:36:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 23:36:03] Production.INFO: ==29756== Lock acquired, processing the job...
[2025-04-11 23:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 23:36:03] Production.INFO: count ==23
[2025-04-11 23:36:03] Production.INFO: ==29758== Lock acquired, processing the job...
[2025-04-11 23:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 23:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887617') start
[2025-04-11 23:36:03] Production.INFO: ==29760== Lock acquired, processing the job...
[2025-04-11 23:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 23:36:03] Production.INFO: Account Balance Start.
[2025-04-11 23:36:03] Production.INFO: CreateAllLog Start
[2025-04-11 23:36:03] Production.INFO: 117
[2025-04-11 23:36:03] Production.INFO: Date 2025-04-08
[2025-04-11 23:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887617') end
[2025-04-11 23:36:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 23:36:03] Production.INFO: 1
[2025-04-11 23:36:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 23:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 23:36:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:36:03] Production.INFO: ==29762== Releasing lock...
[2025-04-11 23:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 23:36:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 23:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 23:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 23:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 23:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 23:36:03] Production.INFO: Date 2025-04-09
[2025-04-11 23:36:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:36:03] Production.INFO: Date 2025-04-10
[2025-04-11 23:36:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:36:03] Production.INFO: Date 2025-04-11
[2025-04-11 23:36:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:36:03] Production.INFO: Total Charge 0
[2025-04-11 23:36:04] Production.INFO: CreateAllLog End
[2025-04-11 23:36:04] Production.INFO: ==29754== Releasing lock...
[2025-04-11 23:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 23:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 23:36:04] Production.ERROR: done
[2025-04-11 23:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 23:36:04] Production.ERROR: done
[2025-04-11 23:36:04] Production.INFO: Account Balance End.
[2025-04-11 23:36:04] Production.ERROR: CronJobId end 12
[2025-04-11 23:36:04] Production.INFO: ==29758== Releasing lock...
[2025-04-11 23:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 23:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 23:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 20:36:05
[end_date_ymd] => 2025-04-11 23:36:05
[RateCDR] => 1
)
[2025-04-11 23:36:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 20:36:05' and `end` < '2025-04-11 23:36:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 23:36:12] Production.ERROR: CronJobId end10
[2025-04-11 23:36:12] Production.INFO: ==29756== Releasing lock...
[2025-04-11 23:36:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 23:36:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 23:36:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 23:36:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 23:36:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 23:36:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 23:36:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 23:36:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 23:36:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 23:36:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 23:36:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 23:36:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 23:36:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 23:36:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 23:36:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 23:36:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 23:36:14] Production.INFO: call_cost start
[2025-04-11 23:36:14] Production.INFO: call_cost end
[2025-04-11 23:36:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 23:36:15] Production.INFO: ============== Report Schedule START===========
[2025-04-11 23:36:15] Production.INFO: ============== Report Schedule END===========
[2025-04-11 23:36:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 23:36:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 23:36:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 23:36:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 23:36:15] Production.INFO: ============== Deal alert START===========
[2025-04-11 23:36:15] Production.INFO: ============== Deal alert END===========
[2025-04-11 23:36:15] Production.INFO: ==29752== Releasing lock...
[2025-04-11 23:36:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 23:36:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 23:36:18] Production.INFO: count ==1429
[2025-04-11 23:36:18] Production.ERROR: pbx CDR StartTime 2025-04-11 20:36:05 - End Time 2025-04-11 23:36:05
[2025-04-11 23:36:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 23:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887621', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887621', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887621', 'tblTempVendorCDR_20' ) start
[2025-04-11 23:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887621', 'tblTempVendorCDR_20' ) end
[2025-04-11 23:36:18] Production.INFO: ProcessCDR(1,14887621,1,1,2)
[2025-04-11 23:36:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887621,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:36:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887621,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:36:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887621,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:36:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887621,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887621', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887621', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:36:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 23:36:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 23:36:22] Production.INFO: ==29760== Releasing lock...
[2025-04-11 23:36:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 23:36:22] Production.INFO: 39 MB #Memory Used#
[2025-04-12 04:37:02] Production.INFO: ==29836== Lock acquired, processing the job...
[2025-04-12 04:37:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 04:37:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 04:37:02] Production.INFO: neon service started
[2025-04-12 04:37:02] Production.INFO: neon service started
[2025-04-12 04:37:02] Production.INFO: ==29836== Releasing lock...
[2025-04-12 04:37:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 04:37:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 23:37:02] Production.INFO: ==29838== Lock acquired, processing the job...
[2025-04-11 23:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 23:37:02] Production.INFO: ==29838== Releasing lock...
[2025-04-11 23:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 23:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 03:37:03] Production.INFO: ==29841== Lock acquired, processing the job...
[2025-04-12 03:37:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 03:37:03] Production.INFO: ==29841== Releasing lock...
[2025-04-12 03:37:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 03:37:03] Production.INFO: 25 MB #Memory Used#
[2025-04-11 23:37:03] Production.INFO: ==29847== Lock acquired, processing the job...
[2025-04-11 23:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 23:37:03] Production.INFO: ==29851== Lock acquired, processing the job...
[2025-04-11 23:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 23:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 23:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 23:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 23:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 23:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 23:37:03] Production.INFO: ==29845== Lock acquired, processing the job...
[2025-04-11 23:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 23:37:04] Production.INFO: ==29843== Lock acquired, processing the job...
[2025-04-11 23:37:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 23:37:04] Production.INFO: ==29849== Lock acquired, processing the job...
[2025-04-11 23:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 23:37:04] Production.INFO: ==29853== Lock acquired, processing the job...
[2025-04-11 23:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 23:37:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 23:37:04] Production.INFO: Account Balance Start.
[2025-04-11 23:37:04] Production.INFO: CreateAllLog Start
[2025-04-11 23:37:04] Production.INFO: 117
[2025-04-11 23:37:04] Production.ERROR: done
[2025-04-11 23:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 23:37:04] Production.INFO: Date 2025-04-08
[2025-04-11 23: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-11 23:37:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:37:04] Production.INFO: count ==12
[2025-04-11 23: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-11 23:37:04] Production.INFO: count ==23
[2025-04-11 23:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887625') start
[2025-04-11 23:37:04] Production.INFO: ==29845== Releasing lock...
[2025-04-11 23:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 23:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 23:37:04] Production.INFO: Date 2025-04-09
[2025-04-11 23:37:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887625') end
[2025-04-11 23:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 23:37:04] Production.INFO: 1
[2025-04-11 23:37:04] Production.INFO: Date 2025-04-10
[2025-04-11 23:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 23:37:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:37:04] Production.ERROR: done
[2025-04-11 23:37:04] Production.INFO: Date 2025-04-11
[2025-04-11 23:37:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:37:04] Production.INFO: ==29853== Releasing lock...
[2025-04-11 23:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 23:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 23:37:04] Production.INFO: Total Charge 0
[2025-04-11 23:37:04] Production.INFO: CreateAllLog End
[2025-04-11 23:37:04] Production.INFO: Account Balance End.
[2025-04-11 23:37:04] Production.ERROR: CronJobId end 12
[2025-04-11 23:37:04] Production.INFO: ==29849== Releasing lock...
[2025-04-11 23:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 23:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 23:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 20:37:05
[end_date_ymd] => 2025-04-11 23:37:05
[RateCDR] => 1
)
[2025-04-11 23:37:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 20:37:05' and `end` < '2025-04-11 23:37:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 23:37:13] Production.ERROR: CronJobId end10
[2025-04-11 23:37:13] Production.INFO: ==29847== Releasing lock...
[2025-04-11 23:37:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 23:37:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 23:37:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 23:37:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 23:37:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 23:37:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 23:37:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 23:37:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 23:37:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 23:37:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 23:37:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 23:37:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 23:37:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 23:37:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 23:37:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 23:37:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 23:37:14] Production.INFO: call_cost start
[2025-04-11 23:37:14] Production.INFO: call_cost end
[2025-04-11 23:37:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 23:37:15] Production.INFO: ============== Report Schedule START===========
[2025-04-11 23:37:15] Production.INFO: ============== Report Schedule END===========
[2025-04-11 23:37:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 23:37:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 23:37:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 23:37:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 23:37:15] Production.INFO: ============== Deal alert START===========
[2025-04-11 23:37:15] Production.INFO: ============== Deal alert END===========
[2025-04-11 23:37:15] Production.INFO: ==29843== Releasing lock...
[2025-04-11 23:37:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 23:37:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 23:37:18] Production.INFO: count ==1428
[2025-04-11 23:37:18] Production.ERROR: pbx CDR StartTime 2025-04-11 20:37:05 - End Time 2025-04-11 23:37:05
[2025-04-11 23:37:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 23:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887626', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887626', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887626', 'tblTempVendorCDR_20' ) start
[2025-04-11 23:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887626', 'tblTempVendorCDR_20' ) end
[2025-04-11 23:37:18] Production.INFO: ProcessCDR(1,14887626,1,1,2)
[2025-04-11 23:37:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887626,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:37:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887626,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:37:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887626,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:37:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887626,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887626', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887626', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:37:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 23:37:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 23:37:22] Production.INFO: ==29851== Releasing lock...
[2025-04-11 23:37:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 23:37:22] Production.INFO: 39.25 MB #Memory Used#
[2025-04-12 04:38:01] Production.INFO: ==29922== Lock acquired, processing the job...
[2025-04-12 04:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 04:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 04:38:01] Production.INFO: neon service started
[2025-04-12 04:38:01] Production.INFO: neon service started
[2025-04-12 04:38:01] Production.INFO: ==29922== Releasing lock...
[2025-04-12 04:38:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 04:38:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 23:38:02] Production.INFO: ==29924== Lock acquired, processing the job...
[2025-04-11 23:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 03:38:02] Production.INFO: ==29926== Lock acquired, processing the job...
[2025-04-12 03:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 03:38:02] Production.INFO: ==29926== Releasing lock...
[2025-04-12 03:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 03:38:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 23:38:02] Production.INFO: ==29924== Releasing lock...
[2025-04-11 23:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 23:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 23:38:03] Production.INFO: ==29933== Lock acquired, processing the job...
[2025-04-11 23:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 23:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 23:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 23:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 23:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 23:38:03] Production.INFO: ==29939== Lock acquired, processing the job...
[2025-04-11 23:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 23:38:03] Production.INFO: ==29929== Lock acquired, processing the job...
[2025-04-11 23:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 23:38:03] Production.INFO: ==29931== Lock acquired, processing the job...
[2025-04-11 23:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 23:38:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 23:38:03] Production.INFO: ==29935== Lock acquired, processing the job...
[2025-04-11 23:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 23:38:03] Production.INFO: ==29937== Lock acquired, processing the job...
[2025-04-11 23:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 23:38:03] Production.INFO: count ==12
[2025-04-11 23:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 23:38:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 23:38:03] Production.INFO: count ==23
[2025-04-11 23:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 23:38:03] Production.INFO: Account Balance Start.
[2025-04-11 23:38:03] Production.INFO: CreateAllLog Start
[2025-04-11 23:38:03] Production.INFO: 117
[2025-04-11 23:38:03] Production.INFO: Date 2025-04-08
[2025-04-11 23:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887627') start
[2025-04-11 23:38:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:38:04] Production.INFO: Date 2025-04-09
[2025-04-11 23:38:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:38:04] Production.INFO: Date 2025-04-10
[2025-04-11 23:38:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887627') end
[2025-04-11 23:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 23:38:04] Production.INFO: 1
[2025-04-11 23:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 23:38:04] Production.INFO: Date 2025-04-11
[2025-04-11 23:38:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:38:04] Production.INFO: Total Charge 0
[2025-04-11 23:38:04] Production.INFO: ==29939== Releasing lock...
[2025-04-11 23:38:04] Production.INFO: CreateAllLog End
[2025-04-11 23:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 23:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 23:38:04] Production.ERROR: done
[2025-04-11 23:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 23:38:04] Production.INFO: ==29931== Releasing lock...
[2025-04-11 23:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 23:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 23:38:04] Production.ERROR: done
[2025-04-11 23:38:04] Production.INFO: Account Balance End.
[2025-04-11 23:38:04] Production.ERROR: CronJobId end 12
[2025-04-11 23:38:04] Production.INFO: ==29935== Releasing lock...
[2025-04-11 23:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 23:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 23:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 20:38:05
[end_date_ymd] => 2025-04-11 23:38:05
[RateCDR] => 1
)
[2025-04-11 23:38:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 20:38:05' and `end` < '2025-04-11 23:38:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 23:38:12] Production.ERROR: CronJobId end10
[2025-04-11 23:38:12] Production.INFO: ==29933== Releasing lock...
[2025-04-11 23:38:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 23:38:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 23:38:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 23:38:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 23:38:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 23:38:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 23:38:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 23:38:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 23:38:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 23:38:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 23:38:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 23:38:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 23:38:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 23:38:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 23:38:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 23:38:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 23:38:14] Production.INFO: call_cost start
[2025-04-11 23:38:14] Production.INFO: call_cost end
[2025-04-11 23:38:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 23:38:15] Production.INFO: ============== Report Schedule START===========
[2025-04-11 23:38:15] Production.INFO: ============== Report Schedule END===========
[2025-04-11 23:38:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 23:38:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 23:38:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 23:38:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 23:38:15] Production.INFO: ============== Deal alert START===========
[2025-04-11 23:38:15] Production.INFO: ============== Deal alert END===========
[2025-04-11 23:38:15] Production.INFO: ==29929== Releasing lock...
[2025-04-11 23:38:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 23:38:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 23:38:18] Production.INFO: count ==1431
[2025-04-11 23:38:18] Production.ERROR: pbx CDR StartTime 2025-04-11 20:38:05 - End Time 2025-04-11 23:38:05
[2025-04-11 23:38:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 23:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887631', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887631', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887631', 'tblTempVendorCDR_20' ) start
[2025-04-11 23:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887631', 'tblTempVendorCDR_20' ) end
[2025-04-11 23:38:18] Production.INFO: ProcessCDR(1,14887631,1,1,2)
[2025-04-11 23:38:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887631,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:38:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887631,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:38:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887631,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:38:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887631,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:38:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887631', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:38:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887631', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:38:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 23:38:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 23:38:23] Production.INFO: ==29937== Releasing lock...
[2025-04-11 23:38:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 23:38:23] Production.INFO: 39.25 MB #Memory Used#
[2025-04-12 04:39:02] Production.INFO: ==30017== Lock acquired, processing the job...
[2025-04-12 04:39:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 04:39:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 04:39:02] Production.INFO: neon service started
[2025-04-12 04:39:02] Production.INFO: neon service started
[2025-04-12 04:39:02] Production.INFO: ==30017== Releasing lock...
[2025-04-12 04:39:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 04:39:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 23:39:02] Production.INFO: ==30019== Lock acquired, processing the job...
[2025-04-11 23:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 23:39:02] Production.INFO: ==30019== Releasing lock...
[2025-04-11 23:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 23:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 03:39:03] Production.INFO: ==30021== Lock acquired, processing the job...
[2025-04-12 03:39:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 03:39:03] Production.INFO: ==30021== Releasing lock...
[2025-04-12 03:39:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 03:39:03] Production.INFO: 25 MB #Memory Used#
[2025-04-11 23:39:03] Production.INFO: ==30024== Lock acquired, processing the job...
[2025-04-11 23:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 23:39:03] Production.INFO: ==30026== Lock acquired, processing the job...
[2025-04-11 23:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 23:39:03] Production.INFO: ==30029== Lock acquired, processing the job...
[2025-04-11 23:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 23:39:03] Production.INFO: ==30033== Lock acquired, processing the job...
[2025-04-11 23:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 23:39:03] Production.INFO: ==30031== Lock acquired, processing the job...
[2025-04-11 23:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 23:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 23:39:03] Production.INFO: ==30035== Lock acquired, processing the job...
[2025-04-11 23:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 23:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 23:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 23:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 23:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 23:39:03] Production.INFO: Account Balance Start.
[2025-04-11 23:39:03] Production.INFO: CreateAllLog Start
[2025-04-11 23:39:03] Production.INFO: 117
[2025-04-11 23:39:03] Production.INFO: Date 2025-04-08
[2025-04-11 23:39:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 23:39:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:39:04] Production.INFO: Date 2025-04-09
[2025-04-11 23:39:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:39:04] Production.INFO: Date 2025-04-10
[2025-04-11 23:39:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:39:04] Production.INFO: Date 2025-04-11
[2025-04-11 23:39:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:39:04] Production.INFO: Total Charge 0
[2025-04-11 23:39:04] Production.INFO: CreateAllLog End
[2025-04-11 23:39:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 23:39:04] Production.INFO: count ==12
[2025-04-11 23:39:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 23:39:04] Production.INFO: count ==23
[2025-04-11 23:39:04] Production.INFO: ==30026== Releasing lock...
[2025-04-11 23:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 23:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 23:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887635') start
[2025-04-11 23:39:04] Production.ERROR: done
[2025-04-11 23:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 23:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887635') end
[2025-04-11 23:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 23:39:04] Production.INFO: 1
[2025-04-11 23:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 23:39:04] Production.INFO: Account Balance End.
[2025-04-11 23:39:04] Production.INFO: ==30035== Releasing lock...
[2025-04-11 23:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 23:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 23:39:04] Production.ERROR: CronJobId end 12
[2025-04-11 23:39:04] Production.INFO: ==30031== Releasing lock...
[2025-04-11 23:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 23:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 23:39:04] Production.ERROR: done
[2025-04-11 23:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 20:39:05
[end_date_ymd] => 2025-04-11 23:39:05
[RateCDR] => 1
)
[2025-04-11 23:39:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 20:39:05' and `end` < '2025-04-11 23:39:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 23:39:13] Production.ERROR: CronJobId end10
[2025-04-11 23:39:13] Production.INFO: ==30029== Releasing lock...
[2025-04-11 23:39:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 23:39:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 23:39:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 23:39:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 23:39:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 23:39:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 23:39:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 23:39:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 23:39:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 23:39:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 23:39:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 23:39:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 23:39:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 23:39:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 23:39:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 23:39:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 23:39:15] Production.INFO: call_cost start
[2025-04-11 23:39:15] Production.INFO: call_cost end
[2025-04-11 23:39:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 23:39:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 23:39:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 23:39:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 23:39:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 23:39:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 23:39:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 23:39:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 23:39:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 23:39:16] Production.INFO: ==30024== Releasing lock...
[2025-04-11 23:39:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 23:39:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 23:39:18] Production.INFO: count ==1433
[2025-04-11 23:39:19] Production.ERROR: pbx CDR StartTime 2025-04-11 20:39:05 - End Time 2025-04-11 23:39:05
[2025-04-11 23:39:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 23:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887636', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887636', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887636', 'tblTempVendorCDR_20' ) start
[2025-04-11 23:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887636', 'tblTempVendorCDR_20' ) end
[2025-04-11 23:39:19] Production.INFO: ProcessCDR(1,14887636,1,1,2)
[2025-04-11 23:39:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887636,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:39:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887636,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:39:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887636,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:39:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887636,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:39:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887636', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:39:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887636', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:39:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 23:39:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 23:39:23] Production.INFO: ==30033== Releasing lock...
[2025-04-11 23:39:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 23:39:23] Production.INFO: 39.25 MB #Memory Used#
[2025-04-12 04:40:01] Production.INFO: ==30109== Lock acquired, processing the job...
[2025-04-12 04:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 04:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 04:40:01] Production.INFO: neon service started
[2025-04-12 04:40:01] Production.INFO: neon service started
[2025-04-12 04:40:01] Production.INFO: ==30109== Releasing lock...
[2025-04-12 04:40:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 04:40:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 23:40:02] Production.INFO: ==30111== Lock acquired, processing the job...
[2025-04-11 23:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 03:40:02] Production.INFO: ==30113== Lock acquired, processing the job...
[2025-04-12 03:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 03:40:02] Production.INFO: ==30113== Releasing lock...
[2025-04-12 03:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 03:40:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 23:40:02] Production.INFO: ==30111== Releasing lock...
[2025-04-11 23:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 23:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 23:40:03] Production.INFO: ==30120== Lock acquired, processing the job...
[2025-04-11 23:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 23:40:03] Production.INFO: ==30116== Lock acquired, processing the job...
[2025-04-11 23:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-11 23:40:03] Production.INFO: ==30128== Lock acquired, processing the job...
[2025-04-11 23:40:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-11 23:40:03] Production.INFO: ==30124== Lock acquired, processing the job...
[2025-04-11 23:40:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 23:40:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-11 23:40:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-11 23:40:03] Production.ERROR: CronJob PID - 30120
[2025-04-11 23:40:03] Production.ERROR: CronJob Title - Account Block
[2025-04-11 23:40:03] Production.ERROR: CronJob ID - 7
[2025-04-11 23:40:03] Production.ERROR: CronJob Last Run Time 2025-04-11 23:40:00
[2025-04-11 23:40:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-11 23:40:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-11 23:40:03] Production.INFO: ==30118== Lock acquired, processing the job...
[2025-04-11 23:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 23:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-11 23:40:04] Production.INFO: ==30116== Releasing lock...
[2025-04-11 23:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-11 23:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-11 23:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 23:40:04] Production.INFO: Account Balance Start.
[2025-04-11 23:40:04] Production.INFO: CreateAllLog Start
[2025-04-11 23:40:04] Production.INFO: 117
[2025-04-11 23:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 23:40:04] Production.INFO: Date 2025-04-08
[2025-04-11 23:40:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:40:04] Production.INFO: ==30122== Lock acquired, processing the job...
[2025-04-11 23:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 23:40:04] Production.INFO: ==30126== Lock acquired, processing the job...
[2025-04-11 23:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 23:40:04] Production.INFO: Date 2025-04-09
[2025-04-11 23:40:04] Production.INFO: ==30130== Lock acquired, processing the job...
[2025-04-11 23:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 23:40:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 23:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 23:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 23:40:04] Production.INFO: Date 2025-04-10
[2025-04-11 23:40:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 23:40:04] Production.INFO: Date 2025-04-11
[2025-04-11 23:40:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:40:04] Production.INFO: Total Charge 0
[2025-04-11 23:40:04] Production.INFO: CreateAllLog End
[2025-04-11 23:40:04] Production.ERROR: done
[2025-04-11 23:40:04] Production.INFO: ==30120== Releasing lock...
[2025-04-11 23:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 23:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 23:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 23:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-11 23:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14887640', 'tblTempUsageDetail_20reseller','2025-04-11','2025-04-11','1' ) start
[2025-04-11 23:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 23:40:04] Production.INFO: Account Balance End.
[2025-04-11 23:40:04] Production.INFO: count ==12
[2025-04-11 23:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 23:40:04] Production.INFO: count ==23
[2025-04-11 23:40:04] Production.ERROR: CronJobId end 12
[2025-04-11 23:40:04] Production.INFO: ==30124== Releasing lock...
[2025-04-11 23:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 23:40:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 23:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887641') start
[2025-04-11 23:40:04] Production.ERROR: done
[2025-04-11 23:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887641') end
[2025-04-11 23:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 23:40:04] Production.INFO: 1
[2025-04-11 23:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 23:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 23:40:05] Production.INFO: ==30130== Releasing lock...
[2025-04-11 23:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 23:40:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 23:40:05] Production.ERROR: done
[2025-04-11 23:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 20:40:06
[end_date_ymd] => 2025-04-11 23:40:06
[RateCDR] => 1
)
[2025-04-11 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-11 20:40:06' and `end` < '2025-04-11 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-11 23:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14887640', 'tblTempUsageDetail_20reseller','2025-04-11','2025-04-11','1' ) end
[2025-04-11 23:40:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-11 23:40:09] Production.INFO: ProcessCDR(1,14887640,1,1,2)
[2025-04-11 23:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14887640,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14887640,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 23:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 23:40:09] Production.INFO: ==30128== Releasing lock...
[2025-04-11 23:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-11 23:40:09] Production.INFO: 26 MB #Memory Used#
[2025-04-11 23:40:14] Production.ERROR: CronJobId end10
[2025-04-11 23:40:14] Production.INFO: ==30122== Releasing lock...
[2025-04-11 23:40:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 23:40:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 23:40:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 23:40:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 23:40:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 23:40:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 23:40:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 23:40:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 23:40:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 23:40:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 23:40:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 23:40:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 23:40:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 23:40:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 23:40:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 23:40:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 23:40:16] Production.INFO: call_cost start
[2025-04-11 23:40:16] Production.INFO: call_cost end
[2025-04-11 23:40:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 23:40:17] Production.INFO: ============== Report Schedule START===========
[2025-04-11 23:40:17] Production.INFO: ============== Report Schedule END===========
[2025-04-11 23:40:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 23:40:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 23:40:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 23:40:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 23:40:17] Production.INFO: ============== Deal alert START===========
[2025-04-11 23:40:17] Production.INFO: ============== Deal alert END===========
[2025-04-11 23:40:17] Production.INFO: ==30118== Releasing lock...
[2025-04-11 23:40:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 23:40:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 23:40:19] Production.INFO: count ==1424
[2025-04-11 23:40:19] Production.ERROR: pbx CDR StartTime 2025-04-11 20:40:06 - End Time 2025-04-11 23:40:06
[2025-04-11 23:40:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 23:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887642', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887642', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887642', 'tblTempVendorCDR_20' ) start
[2025-04-11 23:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887642', 'tblTempVendorCDR_20' ) end
[2025-04-11 23:40:19] Production.INFO: ProcessCDR(1,14887642,1,1,2)
[2025-04-11 23:40:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887642,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:40:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887642,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:40:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887642,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:40:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887642,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:40:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887642', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:40:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887642', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:40:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 23:40:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 23:40:24] Production.INFO: ==30126== Releasing lock...
[2025-04-11 23:40:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 23:40:24] Production.INFO: 39.75 MB #Memory Used#
[2025-04-12 04:41:02] Production.INFO: ==30199== Lock acquired, processing the job...
[2025-04-12 04:41:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 04:41:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 04:41:02] Production.INFO: neon service started
[2025-04-12 04:41:02] Production.INFO: neon service started
[2025-04-12 04:41:02] Production.INFO: ==30199== Releasing lock...
[2025-04-12 04:41:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 04:41:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 23:41:02] Production.INFO: ==30201== Lock acquired, processing the job...
[2025-04-11 23:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 23:41:02] Production.INFO: ==30201== Releasing lock...
[2025-04-11 23:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 23:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 03:41:02] Production.INFO: ==30203== Lock acquired, processing the job...
[2025-04-12 03:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 03:41:02] Production.INFO: ==30203== Releasing lock...
[2025-04-12 03:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 03:41:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 23:41:03] Production.INFO: ==30210== Lock acquired, processing the job...
[2025-04-11 23:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 23:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 23:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 23:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 23:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 23:41:03] Production.INFO: ==30214== Lock acquired, processing the job...
[2025-04-11 23:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 23:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 23:41:03] Production.INFO: ==30206== Lock acquired, processing the job...
[2025-04-11 23:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 23:41:03] Production.INFO: ==30208== Lock acquired, processing the job...
[2025-04-11 23:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 23:41:03] Production.INFO: ==30212== Lock acquired, processing the job...
[2025-04-11 23:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 23:41:03] Production.INFO: ==30216== Lock acquired, processing the job...
[2025-04-11 23:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 23:41:03] Production.INFO: Account Balance Start.
[2025-04-11 23:41:03] Production.INFO: CreateAllLog Start
[2025-04-11 23:41:03] Production.INFO: 117
[2025-04-11 23:41:04] Production.INFO: Date 2025-04-08
[2025-04-11 23:41:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 23:41:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:41:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 23:41:04] Production.INFO: count ==12
[2025-04-11 23:41:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 23:41:04] Production.INFO: count ==23
[2025-04-11 23:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887644') start
[2025-04-11 23:41:04] Production.INFO: Date 2025-04-09
[2025-04-11 23:41:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887644') end
[2025-04-11 23:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 23:41:04] Production.INFO: 1
[2025-04-11 23:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 23:41:04] Production.INFO: Date 2025-04-10
[2025-04-11 23:41:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:41:04] Production.INFO: ==30216== Releasing lock...
[2025-04-11 23:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 23:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 23:41:04] Production.ERROR: done
[2025-04-11 23:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 23:41:04] Production.INFO: Date 2025-04-11
[2025-04-11 23:41:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:41:04] Production.INFO: Total Charge 0
[2025-04-11 23:41:04] Production.INFO: CreateAllLog End
[2025-04-11 23:41:04] Production.ERROR: done
[2025-04-11 23:41:04] Production.INFO: ==30208== Releasing lock...
[2025-04-11 23:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 23:41:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 23:41:04] Production.INFO: Account Balance End.
[2025-04-11 23:41:04] Production.ERROR: CronJobId end 12
[2025-04-11 23:41:04] Production.INFO: ==30212== Releasing lock...
[2025-04-11 23:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 23:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 23:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 20:41:05
[end_date_ymd] => 2025-04-11 23:41:05
[RateCDR] => 1
)
[2025-04-11 23:41:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 20:41:05' and `end` < '2025-04-11 23:41:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 23:41:12] Production.ERROR: CronJobId end10
[2025-04-11 23:41:12] Production.INFO: ==30210== Releasing lock...
[2025-04-11 23:41:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 23:41:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 23:41:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 23:41:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 23:41:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 23:41:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 23:41:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 23:41:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 23:41:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 23:41:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 23:41:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 23:41:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 23:41:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 23:41:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 23:41:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 23:41:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 23:41:14] Production.INFO: call_cost start
[2025-04-11 23:41:14] Production.INFO: call_cost end
[2025-04-11 23:41:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 23:41:15] Production.INFO: ============== Report Schedule START===========
[2025-04-11 23:41:15] Production.INFO: ============== Report Schedule END===========
[2025-04-11 23:41:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 23:41:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 23:41:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 23:41:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 23:41:15] Production.INFO: ============== Deal alert START===========
[2025-04-11 23:41:15] Production.INFO: ============== Deal alert END===========
[2025-04-11 23:41:15] Production.INFO: ==30206== Releasing lock...
[2025-04-11 23:41:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 23:41:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 23:41:18] Production.INFO: count ==1364
[2025-04-11 23:41:18] Production.ERROR: pbx CDR StartTime 2025-04-11 20:41:05 - End Time 2025-04-11 23:41:05
[2025-04-11 23:41:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 23:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887647', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887647', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887647', 'tblTempVendorCDR_20' ) start
[2025-04-11 23:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887647', 'tblTempVendorCDR_20' ) end
[2025-04-11 23:41:18] Production.INFO: ProcessCDR(1,14887647,1,1,2)
[2025-04-11 23:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887647,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:41:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887647,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:41:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887647,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:41:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887647,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887647', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887647', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:41:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 23:41:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 23:41:22] Production.INFO: ==30214== Releasing lock...
[2025-04-11 23:41:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 23:41:22] Production.INFO: 39.25 MB #Memory Used#
[2025-04-12 04:42:01] Production.INFO: ==30285== Lock acquired, processing the job...
[2025-04-12 04:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 04:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 04:42:01] Production.INFO: neon service started
[2025-04-12 04:42:01] Production.INFO: neon service started
[2025-04-12 04:42:01] Production.INFO: ==30285== Releasing lock...
[2025-04-12 04:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 04:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 23:42:01] Production.INFO: ==30287== Lock acquired, processing the job...
[2025-04-11 23:42:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 03:42:02] Production.INFO: ==30289== Lock acquired, processing the job...
[2025-04-12 03:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 03:42:02] Production.INFO: ==30289== Releasing lock...
[2025-04-12 03:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 03:42:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 23:42:02] Production.INFO: ==30287== Releasing lock...
[2025-04-11 23:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 23:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 23:42:03] Production.INFO: ==30292== Lock acquired, processing the job...
[2025-04-11 23:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 23:42:03] Production.INFO: ==30298== Lock acquired, processing the job...
[2025-04-11 23:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 23:42:03] Production.INFO: ==30300== Lock acquired, processing the job...
[2025-04-11 23:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 23:42:03] Production.INFO: ==30294== Lock acquired, processing the job...
[2025-04-11 23:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 23:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 23:42:03] Production.INFO: Account Balance Start.
[2025-04-11 23:42:03] Production.INFO: CreateAllLog Start
[2025-04-11 23:42:03] Production.INFO: 117
[2025-04-11 23:42:03] Production.INFO: ==30296== Lock acquired, processing the job...
[2025-04-11 23:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 23:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 23:42:03] Production.INFO: Date 2025-04-08
[2025-04-11 23:42:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:42:03] Production.INFO: Date 2025-04-09
[2025-04-11 23:42:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 23:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 23:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 23:42:03] Production.INFO: ==30302== Lock acquired, processing the job...
[2025-04-11 23:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 23:42:03] Production.INFO: Date 2025-04-10
[2025-04-11 23:42:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 23:42:03] Production.INFO: Date 2025-04-11
[2025-04-11 23:42:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:42:03] Production.INFO: ==30294== Releasing lock...
[2025-04-11 23:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 23:42:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 23:42:03] Production.INFO: Total Charge 0
[2025-04-11 23:42:03] Production.INFO: CreateAllLog End
[2025-04-11 23:42:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 23:42:03] Production.INFO: count ==12
[2025-04-11 23:42:03] Production.ERROR: done
[2025-04-11 23:42:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 23:42:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 23:42:03] Production.INFO: count ==23
[2025-04-11 23:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887651') start
[2025-04-11 23:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887651') end
[2025-04-11 23:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 23:42:04] Production.INFO: 1
[2025-04-11 23:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 23:42:04] Production.INFO: Account Balance End.
[2025-04-11 23:42:04] Production.ERROR: CronJobId end 12
[2025-04-11 23:42:04] Production.INFO: ==30298== Releasing lock...
[2025-04-11 23:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 23:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 23:42:04] Production.ERROR: done
[2025-04-11 23:42:04] Production.INFO: ==30302== Releasing lock...
[2025-04-11 23:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 23:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 23:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 20:42:05
[end_date_ymd] => 2025-04-11 23:42:05
[RateCDR] => 1
)
[2025-04-11 23:42:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 20:42:05' and `end` < '2025-04-11 23:42:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 23:42:12] Production.ERROR: CronJobId end10
[2025-04-11 23:42:12] Production.INFO: ==30296== Releasing lock...
[2025-04-11 23:42:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 23:42:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 23:42:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 23:42:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 23:42:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 23:42:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 23:42:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 23:42:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 23:42:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 23:42:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 23:42:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 23:42:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 23:42:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 23:42:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 23:42:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 23:42:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 23:42:15] Production.INFO: call_cost start
[2025-04-11 23:42:15] Production.INFO: call_cost end
[2025-04-11 23:42:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 23:42:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 23:42:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 23:42:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 23:42:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 23:42:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 23:42:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 23:42:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 23:42:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 23:42:16] Production.INFO: ==30292== Releasing lock...
[2025-04-11 23:42:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 23:42:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 23:42:18] Production.INFO: count ==1360
[2025-04-11 23:42:18] Production.ERROR: pbx CDR StartTime 2025-04-11 20:42:05 - End Time 2025-04-11 23:42:05
[2025-04-11 23:42:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 23:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887652', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887652', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887652', 'tblTempVendorCDR_20' ) start
[2025-04-11 23:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887652', 'tblTempVendorCDR_20' ) end
[2025-04-11 23:42:18] Production.INFO: ProcessCDR(1,14887652,1,1,2)
[2025-04-11 23:42:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887652,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:42:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887652,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:42:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887652,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:42:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887652,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887652', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887652', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:42:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 23:42:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 23:42:21] Production.INFO: ==30300== Releasing lock...
[2025-04-11 23:42:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 23:42:21] Production.INFO: 39 MB #Memory Used#
[2025-04-12 04:43:01] Production.INFO: ==30372== Lock acquired, processing the job...
[2025-04-12 04:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 04:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 04:43:01] Production.INFO: neon service started
[2025-04-12 04:43:01] Production.INFO: neon service started
[2025-04-12 04:43:01] Production.INFO: ==30372== Releasing lock...
[2025-04-12 04:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 04:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 23:43:02] Production.INFO: ==30374== Lock acquired, processing the job...
[2025-04-11 23:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 03:43:02] Production.INFO: ==30376== Lock acquired, processing the job...
[2025-04-12 03:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 03:43:02] Production.INFO: ==30376== Releasing lock...
[2025-04-12 03:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 03:43:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 23:43:02] Production.INFO: ==30374== Releasing lock...
[2025-04-11 23:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 23:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 23:43:03] Production.INFO: ==30381== Lock acquired, processing the job...
[2025-04-11 23:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 23:43:03] Production.INFO: ==30379== Lock acquired, processing the job...
[2025-04-11 23:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 23:43:03] Production.INFO: ==30383== Lock acquired, processing the job...
[2025-04-11 23:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 23:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 23:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 23:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 23:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 23:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 23:43:04] Production.INFO: ==30381== Releasing lock...
[2025-04-11 23:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 23:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 23:43:04] Production.INFO: ==30385== Lock acquired, processing the job...
[2025-04-11 23:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 23:43:04] Production.INFO: ==30387== Lock acquired, processing the job...
[2025-04-11 23:43:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 23:43:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 23:43:04] Production.INFO: ==30389== Lock acquired, processing the job...
[2025-04-11 23:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 23:43:04] Production.INFO: Account Balance Start.
[2025-04-11 23:43:04] Production.INFO: CreateAllLog Start
[2025-04-11 23:43:04] Production.INFO: 117
[2025-04-11 23:43:04] Production.INFO: Date 2025-04-08
[2025-04-11 23:43:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:43:04] Production.INFO: Date 2025-04-09
[2025-04-11 23:43:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:43:04] Production.INFO: Date 2025-04-10
[2025-04-11 23:43:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:43:04] Production.INFO: Date 2025-04-11
[2025-04-11 23:43:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:43:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 23:43:04] Production.INFO: Total Charge 0
[2025-04-11 23:43:04] Production.INFO: CreateAllLog End
[2025-04-11 23:43:04] Production.INFO: count ==12
[2025-04-11 23:43:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 23:43:04] Production.INFO: count ==23
[2025-04-11 23:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887656') start
[2025-04-11 23:43:04] Production.ERROR: done
[2025-04-11 23:43:04] Production.INFO: Account Balance End.
[2025-04-11 23:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 23:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887656') end
[2025-04-11 23:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 23:43:04] Production.INFO: 1
[2025-04-11 23:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 23:43:04] Production.ERROR: CronJobId end 12
[2025-04-11 23:43:04] Production.INFO: ==30389== Releasing lock...
[2025-04-11 23:43:04] Production.INFO: ==30385== Releasing lock...
[2025-04-11 23:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 23:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 23:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 23:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 23:43:04] Production.ERROR: done
[2025-04-11 23:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 20:43:05
[end_date_ymd] => 2025-04-11 23:43:05
[RateCDR] => 1
)
[2025-04-11 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-11 20:43:05' and `end` < '2025-04-11 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-11 23:43:13] Production.ERROR: CronJobId end10
[2025-04-11 23:43:13] Production.INFO: ==30383== Releasing lock...
[2025-04-11 23:43:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 23:43:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 23:43:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 23:43:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 23:43:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 23:43:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 23:43:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 23:43:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 23:43:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 23:43:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 23:43:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 23:43:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 23:43:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 23:43:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 23:43:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 23:43:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 23:43:14] Production.INFO: call_cost start
[2025-04-11 23:43:14] Production.INFO: call_cost end
[2025-04-11 23:43:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 23:43:15] Production.INFO: ============== Report Schedule START===========
[2025-04-11 23:43:15] Production.INFO: ============== Report Schedule END===========
[2025-04-11 23:43:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 23:43:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 23:43:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 23:43:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 23:43:15] Production.INFO: ============== Deal alert START===========
[2025-04-11 23:43:15] Production.INFO: ============== Deal alert END===========
[2025-04-11 23:43:15] Production.INFO: ==30379== Releasing lock...
[2025-04-11 23:43:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 23:43:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 23:43:18] Production.INFO: count ==1360
[2025-04-11 23:43:19] Production.ERROR: pbx CDR StartTime 2025-04-11 20:43:05 - End Time 2025-04-11 23:43:05
[2025-04-11 23:43:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 23:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887657', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887657', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887657', 'tblTempVendorCDR_20' ) start
[2025-04-11 23:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887657', 'tblTempVendorCDR_20' ) end
[2025-04-11 23:43:19] Production.INFO: ProcessCDR(1,14887657,1,1,2)
[2025-04-11 23:43:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887657,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:43:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887657,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:43:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887657,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:43:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887657,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887657', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887657', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:43:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 23:43:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 23:43:22] Production.INFO: ==30387== Releasing lock...
[2025-04-11 23:43:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 23:43:22] Production.INFO: 39 MB #Memory Used#
[2025-04-12 04:44:01] Production.INFO: ==30459== Lock acquired, processing the job...
[2025-04-12 04:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 04:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 04:44:01] Production.INFO: neon service started
[2025-04-12 04:44:01] Production.INFO: neon service started
[2025-04-12 04:44:01] Production.INFO: ==30459== Releasing lock...
[2025-04-12 04:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 04:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 03:44:01] Production.INFO: ==30463== Lock acquired, processing the job...
[2025-04-12 03:44:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 03:44:01] Production.INFO: ==30463== Releasing lock...
[2025-04-12 03:44:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 03:44:01] Production.INFO: 25 MB #Memory Used#
[2025-04-11 23:44:01] Production.INFO: ==30461== Lock acquired, processing the job...
[2025-04-11 23:44:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 23:44:02] Production.INFO: ==30461== Releasing lock...
[2025-04-11 23:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 23:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 23:44:03] Production.INFO: ==30472== Lock acquired, processing the job...
[2025-04-11 23:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 23:44:03] Production.INFO: ==30476== Lock acquired, processing the job...
[2025-04-11 23:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 23:44:03] Production.INFO: Account Balance Start.
[2025-04-11 23:44:03] Production.INFO: CreateAllLog Start
[2025-04-11 23:44:03] Production.INFO: 117
[2025-04-11 23:44:03] Production.INFO: Date 2025-04-08
[2025-04-11 23:44:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:44:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 23:44:03] Production.INFO: Date 2025-04-09
[2025-04-11 23:44:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:44:03] Production.INFO: count ==12
[2025-04-11 23:44:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 23:44:03] Production.INFO: ==30466== Lock acquired, processing the job...
[2025-04-11 23:44:03] Production.INFO: count ==23
[2025-04-11 23:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 23:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887659') start
[2025-04-11 23:44:03] Production.INFO: ==30468== Lock acquired, processing the job...
[2025-04-11 23:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 23:44:03] Production.INFO: Date 2025-04-10
[2025-04-11 23:44:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 23:44:03] Production.INFO: ==30470== Lock acquired, processing the job...
[2025-04-11 23:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 23:44:03] Production.INFO: Date 2025-04-11
[2025-04-11 23:44:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887659') end
[2025-04-11 23:44:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 23:44:03] Production.INFO: 1
[2025-04-11 23:44:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 23:44:03] Production.INFO: ==30474== Lock acquired, processing the job...
[2025-04-11 23:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 23:44:03] Production.INFO: ==30476== Releasing lock...
[2025-04-11 23:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 23:44:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 23:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 23:44:03] Production.INFO: Total Charge 0
[2025-04-11 23:44:03] Production.INFO: CreateAllLog End
[2025-04-11 23:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 23:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 23:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 23:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 23:44:03] Production.INFO: ==30468== Releasing lock...
[2025-04-11 23:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 23:44:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 23:44:03] Production.ERROR: done
[2025-04-11 23:44:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 23:44:03] Production.ERROR: done
[2025-04-11 23:44:03] Production.INFO: Account Balance End.
[2025-04-11 23:44:04] Production.ERROR: CronJobId end 12
[2025-04-11 23:44:04] Production.INFO: ==30472== Releasing lock...
[2025-04-11 23:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 23:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 23:44:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 20:44:04
[end_date_ymd] => 2025-04-11 23:44:04
[RateCDR] => 1
)
[2025-04-11 23:44:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 20:44:04' and `end` < '2025-04-11 23:44:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 23:44:12] Production.ERROR: CronJobId end10
[2025-04-11 23:44:12] Production.INFO: ==30470== Releasing lock...
[2025-04-11 23:44:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 23:44:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 23:44:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 23:44:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 23:44:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 23:44:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 23:44:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 23:44:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 23:44:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 23:44:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 23:44:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 23:44:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 23:44:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 23:44:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 23:44:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 23:44:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 23:44:14] Production.INFO: call_cost start
[2025-04-11 23:44:14] Production.INFO: call_cost end
[2025-04-11 23:44:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 23:44:15] Production.INFO: ============== Report Schedule START===========
[2025-04-11 23:44:15] Production.INFO: ============== Report Schedule END===========
[2025-04-11 23:44:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 23:44:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 23:44:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 23:44:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 23:44:15] Production.INFO: ============== Deal alert START===========
[2025-04-11 23:44:15] Production.INFO: ============== Deal alert END===========
[2025-04-11 23:44:15] Production.INFO: ==30466== Releasing lock...
[2025-04-11 23:44:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 23:44:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 23:44:18] Production.INFO: count ==1360
[2025-04-11 23:44:18] Production.ERROR: pbx CDR StartTime 2025-04-11 20:44:04 - End Time 2025-04-11 23:44:04
[2025-04-11 23:44:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 23:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887662', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887662', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887662', 'tblTempVendorCDR_20' ) start
[2025-04-11 23:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887662', 'tblTempVendorCDR_20' ) end
[2025-04-11 23:44:18] Production.INFO: ProcessCDR(1,14887662,1,1,2)
[2025-04-11 23:44:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887662,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:44:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887662,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:44:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887662,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:44:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887662,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887662', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887662', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:44:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 23:44:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 23:44:21] Production.INFO: ==30474== Releasing lock...
[2025-04-11 23:44:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 23:44:21] Production.INFO: 39 MB #Memory Used#
[2025-04-12 04:45:01] Production.INFO: ==30549== Lock acquired, processing the job...
[2025-04-12 04:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 04:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 04:45:01] Production.INFO: neon service started
[2025-04-12 04:45:01] Production.INFO: neon service started
[2025-04-12 04:45:01] Production.INFO: ==30549== Releasing lock...
[2025-04-12 04:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 04:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 03:45:02] Production.INFO: ==30553== Lock acquired, processing the job...
[2025-04-12 03:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 03:45:02] Production.INFO: ==30553== Releasing lock...
[2025-04-12 03:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 03:45:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 23:45:02] Production.INFO: ==30551== Lock acquired, processing the job...
[2025-04-11 23:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 23:45:02] Production.INFO: ==30551== Releasing lock...
[2025-04-11 23:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 23:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 23:45:03] Production.INFO: ==30555== Lock acquired, processing the job...
[2025-04-11 23:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 23:45:03] Production.INFO: ==30561== Lock acquired, processing the job...
[2025-04-11 23:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 23:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 23:45:03] Production.INFO: ==30559== Lock acquired, processing the job...
[2025-04-11 23:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 23:45:03] Production.INFO: Account Balance Start.
[2025-04-11 23:45:03] Production.INFO: CreateAllLog Start
[2025-04-11 23:45:03] Production.INFO: 117
[2025-04-11 23:45:03] Production.INFO: Date 2025-04-08
[2025-04-11 23:45:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:45:03] Production.INFO: ==30557== Lock acquired, processing the job...
[2025-04-11 23:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 23:45:03] Production.INFO: Date 2025-04-09
[2025-04-11 23:45:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 23:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 23:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 23:45:03] Production.INFO: Date 2025-04-10
[2025-04-11 23:45:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 23:45:03] Production.INFO: Date 2025-04-11
[2025-04-11 23:45:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:45:03] Production.INFO: Total Charge 0
[2025-04-11 23:45:03] Production.INFO: CreateAllLog End
[2025-04-11 23:45:03] Production.INFO: ==30564== Lock acquired, processing the job...
[2025-04-11 23:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 23:45:03] Production.INFO: Account Balance End.
[2025-04-11 23:45:03] Production.INFO: ==30566== Lock acquired, processing the job...
[2025-04-11 23:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 23:45:03] Production.ERROR: CronJobId end 12
[2025-04-11 23:45:03] Production.INFO: ==30561== Releasing lock...
[2025-04-11 23:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 23:45:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 23:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 23:45:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 23:45:03] Production.INFO: ==30557== Releasing lock...
[2025-04-11 23:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 23:45:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 23:45:04] Production.INFO: count ==12
[2025-04-11 23:45:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 23:45:04] Production.INFO: count ==23
[2025-04-11 23:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887666') start
[2025-04-11 23:45:04] Production.ERROR: done
[2025-04-11 23:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 23:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887666') end
[2025-04-11 23:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 23:45:04] Production.INFO: 1
[2025-04-11 23:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 23:45:04] Production.INFO: ==30566== Releasing lock...
[2025-04-11 23:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 23:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 23:45:04] Production.ERROR: done
[2025-04-11 23:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 20:45:05
[end_date_ymd] => 2025-04-11 23:45:05
[RateCDR] => 1
)
[2025-04-11 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-11 20:45:05' and `end` < '2025-04-11 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-11 23:45:13] Production.ERROR: CronJobId end10
[2025-04-11 23:45:13] Production.INFO: ==30559== Releasing lock...
[2025-04-11 23:45:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 23:45:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 23:45:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 23:45:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 23:45:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 23:45:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 23:45:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 23:45:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 23:45:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 23:45:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 23:45:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 23:45:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 23:45:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 23:45:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 23:45:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 23:45:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 23:45:15] Production.INFO: call_cost start
[2025-04-11 23:45:15] Production.INFO: call_cost end
[2025-04-11 23:45:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 23:45:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 23:45:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 23:45:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 23:45:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 23:45:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 23:45:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 23:45:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 23:45:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 23:45:16] Production.INFO: ==30555== Releasing lock...
[2025-04-11 23:45:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 23:45:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 23:45:18] Production.INFO: count ==1359
[2025-04-11 23:45:18] Production.ERROR: pbx CDR StartTime 2025-04-11 20:45:05 - End Time 2025-04-11 23:45:05
[2025-04-11 23:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 23:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887667', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887667', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887667', 'tblTempVendorCDR_20' ) start
[2025-04-11 23:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887667', 'tblTempVendorCDR_20' ) end
[2025-04-11 23:45:18] Production.INFO: ProcessCDR(1,14887667,1,1,2)
[2025-04-11 23:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887667,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:45:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887667,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:45:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887667,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:45:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887667,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:45:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887667', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:45:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887667', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:45:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 23:45:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 23:45:23] Production.INFO: ==30564== Releasing lock...
[2025-04-11 23:45:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 23:45:23] Production.INFO: 39 MB #Memory Used#
[2025-04-12 04:46:02] Production.INFO: ==30634== Lock acquired, processing the job...
[2025-04-12 04:46:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 04:46:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 04:46:02] Production.INFO: neon service started
[2025-04-12 04:46:02] Production.INFO: neon service started
[2025-04-12 04:46:02] Production.INFO: ==30634== Releasing lock...
[2025-04-12 04:46:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 04:46:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 23:46:02] Production.INFO: ==30636== Lock acquired, processing the job...
[2025-04-11 23:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 23:46:02] Production.INFO: ==30636== Releasing lock...
[2025-04-11 23:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 23:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 03:46:03] Production.INFO: ==30638== Lock acquired, processing the job...
[2025-04-12 03:46:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 03:46:03] Production.INFO: ==30638== Releasing lock...
[2025-04-12 03:46:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 03:46:03] Production.INFO: 25 MB #Memory Used#
[2025-04-11 23:46:03] Production.INFO: ==30646== Lock acquired, processing the job...
[2025-04-11 23:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 23:46:03] Production.INFO: ==30640== Lock acquired, processing the job...
[2025-04-11 23:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 23:46:03] Production.INFO: ==30642== Lock acquired, processing the job...
[2025-04-11 23:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 23:46:03] Production.INFO: ==30651== Lock acquired, processing the job...
[2025-04-11 23:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 23:46:03] Production.INFO: ==30644== Lock acquired, processing the job...
[2025-04-11 23:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 23:46:03] Production.INFO: Account Balance Start.
[2025-04-11 23:46:03] Production.INFO: CreateAllLog Start
[2025-04-11 23:46:03] Production.INFO: 117
[2025-04-11 23:46:03] Production.INFO: Date 2025-04-08
[2025-04-11 23:46:03] Production.INFO: ==30649== Lock acquired, processing the job...
[2025-04-11 23:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 23:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 23:46:03] Production.INFO: Reseller ==> 0
[2025-04-11 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-11 23:46:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 23:46:04] Production.INFO: Date 2025-04-09
[2025-04-11 23:46:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:46:04] Production.INFO: count ==12
[2025-04-11 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-11 23:46:04] Production.INFO: count ==23
[2025-04-11 23:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 23:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 23:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 23:46:04] Production.INFO: Date 2025-04-10
[2025-04-11 23:46:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887671') start
[2025-04-11 23:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 23:46:04] Production.INFO: Date 2025-04-11
[2025-04-11 23:46:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:46:04] Production.INFO: Total Charge 0
[2025-04-11 23:46:04] Production.INFO: CreateAllLog End
[2025-04-11 23:46:04] Production.INFO: ==30642== Releasing lock...
[2025-04-11 23:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 23:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 23:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887671') end
[2025-04-11 23:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 23:46:04] Production.INFO: 1
[2025-04-11 23:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 23:46:04] Production.INFO: ==30651== Releasing lock...
[2025-04-11 23:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 23:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 23:46:04] Production.ERROR: done
[2025-04-11 23:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 23:46:04] Production.INFO: Account Balance End.
[2025-04-11 23:46:04] Production.ERROR: CronJobId end 12
[2025-04-11 23:46:04] Production.INFO: ==30646== Releasing lock...
[2025-04-11 23:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 23:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 23:46:04] Production.ERROR: done
[2025-04-11 23:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 20:46:05
[end_date_ymd] => 2025-04-11 23:46:05
[RateCDR] => 1
)
[2025-04-11 23:46:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 20:46:05' and `end` < '2025-04-11 23:46:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 23:46:13] Production.ERROR: CronJobId end10
[2025-04-11 23:46:13] Production.INFO: ==30644== Releasing lock...
[2025-04-11 23:46:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 23:46:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 23:46:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 23:46:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 23:46:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 23:46:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 23:46:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 23:46:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 23:46:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 23:46:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 23:46:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 23:46:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 23:46:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 23:46:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 23:46:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 23:46:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 23:46:15] Production.INFO: call_cost start
[2025-04-11 23:46:15] Production.INFO: call_cost end
[2025-04-11 23:46:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 23:46:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 23:46:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 23:46:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 23:46:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 23:46:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 23:46:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 23:46:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 23:46:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 23:46:16] Production.INFO: ==30640== Releasing lock...
[2025-04-11 23:46:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 23:46:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 23:46:18] Production.INFO: count ==1359
[2025-04-11 23:46:19] Production.ERROR: pbx CDR StartTime 2025-04-11 20:46:05 - End Time 2025-04-11 23:46:05
[2025-04-11 23:46:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 23:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887672', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887672', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887672', 'tblTempVendorCDR_20' ) start
[2025-04-11 23:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887672', 'tblTempVendorCDR_20' ) end
[2025-04-11 23:46:19] Production.INFO: ProcessCDR(1,14887672,1,1,2)
[2025-04-11 23:46:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887672,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:46:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887672,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:46:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887672,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:46:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887672,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:46:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887672', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:46:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887672', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:46:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 23:46:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 23:46:24] Production.INFO: ==30649== Releasing lock...
[2025-04-11 23:46:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 23:46:24] Production.INFO: 38.75 MB #Memory Used#
[2025-04-12 04:47:01] Production.INFO: ==30719== Lock acquired, processing the job...
[2025-04-12 04:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 04:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 04:47:01] Production.INFO: neon service started
[2025-04-12 04:47:01] Production.INFO: neon service started
[2025-04-12 04:47:01] Production.INFO: ==30719== Releasing lock...
[2025-04-12 04:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 04:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 23:47:02] Production.INFO: ==30721== Lock acquired, processing the job...
[2025-04-11 23:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 23:47:02] Production.INFO: ==30721== Releasing lock...
[2025-04-11 23:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 23:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 03:47:02] Production.INFO: ==30723== Lock acquired, processing the job...
[2025-04-12 03:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 03:47:02] Production.INFO: ==30723== Releasing lock...
[2025-04-12 03:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 03:47:02] Production.INFO: 26 MB #Memory Used#
[2025-04-11 23:47:03] Production.INFO: ==30729== Lock acquired, processing the job...
[2025-04-11 23:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 23:47:03] Production.INFO: ==30727== Lock acquired, processing the job...
[2025-04-11 23:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 23:47:03] Production.INFO: ==30735== Lock acquired, processing the job...
[2025-04-11 23:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 23:47:03] Production.INFO: ==30725== Lock acquired, processing the job...
[2025-04-11 23:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 23:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 23:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 23:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 23:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 23:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 23:47:03] Production.INFO: ==30731== Lock acquired, processing the job...
[2025-04-11 23:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 23:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 23:47:03] Production.INFO: ==30738== Lock acquired, processing the job...
[2025-04-11 23:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 23:47:03] Production.INFO: ==30727== Releasing lock...
[2025-04-11 23:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 23:47:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 23:47:03] Production.INFO: Account Balance Start.
[2025-04-11 23:47:03] Production.INFO: CreateAllLog Start
[2025-04-11 23:47:03] Production.INFO: 117
[2025-04-11 23:47:03] Production.INFO: Date 2025-04-08
[2025-04-11 23:47:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 23:47:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:47:03] Production.INFO: count ==12
[2025-04-11 23:47:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 23:47:03] Production.INFO: count ==23
[2025-04-11 23:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887675') start
[2025-04-11 23:47:03] Production.INFO: Date 2025-04-09
[2025-04-11 23:47:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:47:03] Production.INFO: Date 2025-04-10
[2025-04-11 23:47:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:47:03] Production.INFO: Date 2025-04-11
[2025-04-11 23:47:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:47:03] Production.ERROR: done
[2025-04-11 23:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887675') end
[2025-04-11 23:47:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 23:47:03] Production.INFO: 1
[2025-04-11 23:47:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 23:47:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 23:47:04] Production.INFO: Total Charge 0
[2025-04-11 23:47:04] Production.ERROR: done
[2025-04-11 23:47:04] Production.INFO: ==30738== Releasing lock...
[2025-04-11 23:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 23:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 23:47:04] Production.INFO: CreateAllLog End
[2025-04-11 23:47:04] Production.INFO: Account Balance End.
[2025-04-11 23:47:04] Production.ERROR: CronJobId end 12
[2025-04-11 23:47:04] Production.INFO: ==30731== Releasing lock...
[2025-04-11 23:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 23:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 23:47:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 20:47:04
[end_date_ymd] => 2025-04-11 23:47:04
[RateCDR] => 1
)
[2025-04-11 23: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-11 20:47:04' and `end` < '2025-04-11 23: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-11 23:47:12] Production.ERROR: CronJobId end10
[2025-04-11 23:47:12] Production.INFO: ==30729== Releasing lock...
[2025-04-11 23:47:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 23:47:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 23:47:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 23:47:13] Production.INFO: ============== Balance Warning START===========
[2025-04-11 23:47:13] Production.INFO: ============== Balance Warning END===========
[2025-04-11 23:47:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 23:47:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 23:47:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 23:47:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 23:47:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 23:47:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 23:47:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 23:47:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 23:47:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 23:47:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 23:47:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 23:47:14] Production.INFO: call_cost start
[2025-04-11 23:47:14] Production.INFO: call_cost end
[2025-04-11 23:47:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 23:47:15] Production.INFO: ============== Report Schedule START===========
[2025-04-11 23:47:15] Production.INFO: ============== Report Schedule END===========
[2025-04-11 23:47:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 23:47:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 23:47:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 23:47:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 23:47:15] Production.INFO: ============== Deal alert START===========
[2025-04-11 23:47:15] Production.INFO: ============== Deal alert END===========
[2025-04-11 23:47:15] Production.INFO: ==30725== Releasing lock...
[2025-04-11 23:47:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 23:47:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 23:47:17] Production.INFO: count ==1359
[2025-04-11 23:47:18] Production.ERROR: pbx CDR StartTime 2025-04-11 20:47:04 - End Time 2025-04-11 23:47:04
[2025-04-11 23:47:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 23:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887677', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887677', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887677', 'tblTempVendorCDR_20' ) start
[2025-04-11 23:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887677', 'tblTempVendorCDR_20' ) end
[2025-04-11 23:47:18] Production.INFO: ProcessCDR(1,14887677,1,1,2)
[2025-04-11 23:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887677,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:47:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887677,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:47:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887677,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:47:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887677,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887677', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887677', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:47:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 23:47:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 23:47:21] Production.INFO: ==30735== Releasing lock...
[2025-04-11 23:47:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 23:47:21] Production.INFO: 38.75 MB #Memory Used#
[2025-04-12 04:48:02] Production.INFO: ==30803== Lock acquired, processing the job...
[2025-04-12 04:48:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 04:48:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 04:48:02] Production.INFO: neon service started
[2025-04-12 04:48:02] Production.INFO: neon service started
[2025-04-12 04:48:02] Production.INFO: ==30803== Releasing lock...
[2025-04-12 04:48:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 04:48:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 23:48:02] Production.INFO: ==30807== Lock acquired, processing the job...
[2025-04-11 23:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 03:48:02] Production.INFO: ==30809== Lock acquired, processing the job...
[2025-04-12 03:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 03:48:02] Production.INFO: ==30809== Releasing lock...
[2025-04-12 03:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 03:48:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 23:48:03] Production.INFO: ==30807== Releasing lock...
[2025-04-11 23:48:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 23:48:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 23:48:04] Production.INFO: ==30816== Lock acquired, processing the job...
[2025-04-11 23:48:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 23:48:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 23:48:04] Production.INFO: ==30822== Lock acquired, processing the job...
[2025-04-11 23:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 23:48:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 23:48:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 23:48:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 23:48:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 23:48:04] Production.INFO: count ==12
[2025-04-11 23:48:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 23:48:04] Production.INFO: count ==23
[2025-04-11 23:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887678') start
[2025-04-11 23:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887678') end
[2025-04-11 23:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 23:48:04] Production.INFO: 1
[2025-04-11 23:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 23:48:04] Production.INFO: ==30812== Lock acquired, processing the job...
[2025-04-11 23:48:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 23:48:04] Production.INFO: ==30822== Releasing lock...
[2025-04-11 23:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 23:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 23:48:04] Production.INFO: ==30814== Lock acquired, processing the job...
[2025-04-11 23:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 23:48:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 23:48:04] Production.INFO: ==30818== Lock acquired, processing the job...
[2025-04-11 23:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 23:48:04] Production.INFO: ==30820== Lock acquired, processing the job...
[2025-04-11 23:48:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 23:48:04] Production.INFO: Account Balance Start.
[2025-04-11 23:48:04] Production.INFO: CreateAllLog Start
[2025-04-11 23:48:04] Production.INFO: 117
[2025-04-11 23:48:04] Production.INFO: Date 2025-04-08
[2025-04-11 23:48:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:48:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 23:48:04] Production.INFO: Date 2025-04-09
[2025-04-11 23:48:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:48:04] Production.INFO: Date 2025-04-10
[2025-04-11 23:48:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:48:04] Production.INFO: ==30814== Releasing lock...
[2025-04-11 23:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 23:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 23:48:04] Production.INFO: Date 2025-04-11
[2025-04-11 23:48:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:48:04] Production.ERROR: done
[2025-04-11 23:48:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 23:48:05] Production.INFO: Total Charge 0
[2025-04-11 23:48:05] Production.INFO: CreateAllLog End
[2025-04-11 23:48:05] Production.ERROR: done
[2025-04-11 23:48:05] Production.INFO: Account Balance End.
[2025-04-11 23:48:05] Production.ERROR: CronJobId end 12
[2025-04-11 23:48:05] Production.INFO: ==30818== Releasing lock...
[2025-04-11 23:48:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 23:48:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 23:48:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 20:48:06
[end_date_ymd] => 2025-04-11 23:48:06
[RateCDR] => 1
)
[2025-04-11 23: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-11 20:48:06' and `end` < '2025-04-11 23: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-11 23:48:14] Production.ERROR: CronJobId end10
[2025-04-11 23:48:14] Production.INFO: ==30816== Releasing lock...
[2025-04-11 23:48:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 23:48:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 23:48:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 23:48:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 23:48:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 23:48:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 23:48:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 23:48:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 23:48:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 23:48:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 23:48:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 23:48:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 23:48:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 23:48:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 23:48:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 23:48:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 23:48:16] Production.INFO: call_cost start
[2025-04-11 23:48:16] Production.INFO: call_cost end
[2025-04-11 23:48:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 23:48:17] Production.INFO: ============== Report Schedule START===========
[2025-04-11 23:48:17] Production.INFO: ============== Report Schedule END===========
[2025-04-11 23:48:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 23:48:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 23:48:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 23:48:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 23:48:17] Production.INFO: ============== Deal alert START===========
[2025-04-11 23:48:17] Production.INFO: ============== Deal alert END===========
[2025-04-11 23:48:17] Production.INFO: ==30812== Releasing lock...
[2025-04-11 23:48:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 23:48:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 23:48:19] Production.INFO: count ==1359
[2025-04-11 23:48:19] Production.ERROR: pbx CDR StartTime 2025-04-11 20:48:06 - End Time 2025-04-11 23:48:06
[2025-04-11 23:48:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 23:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887682', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887682', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887682', 'tblTempVendorCDR_20' ) start
[2025-04-11 23:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887682', 'tblTempVendorCDR_20' ) end
[2025-04-11 23:48:19] Production.INFO: ProcessCDR(1,14887682,1,1,2)
[2025-04-11 23:48:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887682,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:48:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887682,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:48:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887682,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:48:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887682,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887682', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887682', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:48:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 23:48:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 23:48:22] Production.INFO: ==30820== Releasing lock...
[2025-04-11 23:48:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 23:48:22] Production.INFO: 38.75 MB #Memory Used#
[2025-04-12 04:49:01] Production.INFO: ==30896== Lock acquired, processing the job...
[2025-04-12 04:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 04:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 04:49:01] Production.INFO: neon service started
[2025-04-12 04:49:01] Production.INFO: neon service started
[2025-04-12 04:49:01] Production.INFO: ==30896== Releasing lock...
[2025-04-12 04:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 04:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 03:49:01] Production.INFO: ==30902== Lock acquired, processing the job...
[2025-04-12 03:49:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 03:49:01] Production.INFO: ==30902== Releasing lock...
[2025-04-12 03:49:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 03:49:01] Production.INFO: 25 MB #Memory Used#
[2025-04-11 23:49:02] Production.INFO: ==30900== Lock acquired, processing the job...
[2025-04-11 23:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 23:49:02] Production.INFO: ==30900== Releasing lock...
[2025-04-11 23:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 23:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 23:49:03] Production.INFO: ==30904== Lock acquired, processing the job...
[2025-04-11 23:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 23:49:03] Production.INFO: ==30906== Lock acquired, processing the job...
[2025-04-11 23:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 23:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 23:49:03] Production.INFO: ==30912== Lock acquired, processing the job...
[2025-04-11 23:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 23:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 23:49:03] Production.INFO: ==30910== Lock acquired, processing the job...
[2025-04-11 23:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 23:49:03] Production.INFO: ==30908== Lock acquired, processing the job...
[2025-04-11 23:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 23:49:03] Production.INFO: ==30906== Releasing lock...
[2025-04-11 23:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 23:49:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 23:49:03] Production.INFO: ==30914== Lock acquired, processing the job...
[2025-04-11 23:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 23:49:03] Production.INFO: Account Balance Start.
[2025-04-11 23:49:03] Production.INFO: CreateAllLog Start
[2025-04-11 23:49:03] Production.INFO: 117
[2025-04-11 23:49:03] Production.INFO: Date 2025-04-08
[2025-04-11 23:49:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:49:03] Production.INFO: Date 2025-04-09
[2025-04-11 23:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 23:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 23:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 23:49:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 23:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 23:49:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:49:03] Production.INFO: count ==12
[2025-04-11 23:49:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 23:49:03] Production.INFO: count ==23
[2025-04-11 23:49:03] Production.INFO: Date 2025-04-10
[2025-04-11 23:49:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:49:03] Production.ERROR: done
[2025-04-11 23:49:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 23:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887686') start
[2025-04-11 23:49:03] Production.INFO: Date 2025-04-11
[2025-04-11 23:49:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:49:04] Production.INFO: Total Charge 0
[2025-04-11 23:49:04] Production.INFO: CreateAllLog End
[2025-04-11 23:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887686') end
[2025-04-11 23:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 23:49:04] Production.INFO: 1
[2025-04-11 23:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 23:49:04] Production.INFO: ==30914== Releasing lock...
[2025-04-11 23:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 23:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 23:49:04] Production.ERROR: done
[2025-04-11 23:49:04] Production.INFO: Account Balance End.
[2025-04-11 23:49:04] Production.ERROR: CronJobId end 12
[2025-04-11 23:49:04] Production.INFO: ==30910== Releasing lock...
[2025-04-11 23:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 23:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 23:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 20:49:05
[end_date_ymd] => 2025-04-11 23:49:05
[RateCDR] => 1
)
[2025-04-11 23:49:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 20:49:05' and `end` < '2025-04-11 23:49:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 23:49:12] Production.ERROR: CronJobId end10
[2025-04-11 23:49:12] Production.INFO: ==30908== Releasing lock...
[2025-04-11 23:49:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 23:49:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 23:49:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 23:49:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 23:49:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 23:49:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 23:49:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 23:49:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 23:49:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 23:49:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 23:49:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 23:49:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 23:49:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 23:49:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 23:49:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 23:49:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 23:49:14] Production.INFO: call_cost start
[2025-04-11 23:49:14] Production.INFO: call_cost end
[2025-04-11 23:49:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 23:49:15] Production.INFO: ============== Report Schedule START===========
[2025-04-11 23:49:15] Production.INFO: ============== Report Schedule END===========
[2025-04-11 23:49:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 23:49:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 23:49:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 23:49:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 23:49:15] Production.INFO: ============== Deal alert START===========
[2025-04-11 23:49:15] Production.INFO: ============== Deal alert END===========
[2025-04-11 23:49:15] Production.INFO: ==30904== Releasing lock...
[2025-04-11 23:49:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 23:49:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 23:49:18] Production.INFO: count ==1358
[2025-04-11 23:49:18] Production.ERROR: pbx CDR StartTime 2025-04-11 20:49:05 - End Time 2025-04-11 23:49:05
[2025-04-11 23:49:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 23:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887687', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887687', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887687', 'tblTempVendorCDR_20' ) start
[2025-04-11 23:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887687', 'tblTempVendorCDR_20' ) end
[2025-04-11 23:49:18] Production.INFO: ProcessCDR(1,14887687,1,1,2)
[2025-04-11 23:49:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887687,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:49:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887687,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:49:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887687,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:49:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887687,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887687', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887687', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:49:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 23:49:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 23:49:21] Production.INFO: ==30912== Releasing lock...
[2025-04-11 23:49:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 23:49:21] Production.INFO: 38.75 MB #Memory Used#
[2025-04-12 04:50:02] Production.INFO: ==30981== Lock acquired, processing the job...
[2025-04-12 04:50:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 04:50:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 04:50:02] Production.INFO: neon service started
[2025-04-12 04:50:02] Production.INFO: neon service started
[2025-04-12 04:50:02] Production.INFO: ==30981== Releasing lock...
[2025-04-12 04:50:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 04:50:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 23:50:02] Production.INFO: ==30983== Lock acquired, processing the job...
[2025-04-11 23:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 03:50:02] Production.INFO: ==30985== Lock acquired, processing the job...
[2025-04-12 03:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 03:50:02] Production.INFO: ==30985== Releasing lock...
[2025-04-12 03:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 03:50:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 23:50:02] Production.INFO: ==30983== Releasing lock...
[2025-04-11 23:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 23:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 23:50:03] Production.INFO: ==30988== Lock acquired, processing the job...
[2025-04-11 23:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-11 23:50:04] Production.INFO: ==30990== Lock acquired, processing the job...
[2025-04-11 23:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 23:50:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-11 23:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-11 23:50:04] Production.ERROR: CronJob PID - 30990
[2025-04-11 23:50:04] Production.ERROR: CronJob Title - System Alerts
[2025-04-11 23:50:04] Production.ERROR: CronJob ID - 5
[2025-04-11 23:50:04] Production.ERROR: CronJob Last Run Time 2025-04-11 23:50:00
[2025-04-11 23:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-11 23:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-11 23:50:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-11 23:50:04] Production.INFO: ==30988== Releasing lock...
[2025-04-11 23:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-11 23:50:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-11 23:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 23:50:04] Production.INFO: ==30998== Lock acquired, processing the job...
[2025-04-11 23:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 23:50:04] Production.INFO: ==31002== Lock acquired, processing the job...
[2025-04-11 23:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 23:50:04] Production.INFO: ==30996== Lock acquired, processing the job...
[2025-04-11 23:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 23:50:04] Production.INFO: ==30992== Lock acquired, processing the job...
[2025-04-11 23:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 23:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 23:50:04] Production.INFO: ==30994== Lock acquired, processing the job...
[2025-04-11 23:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 23:50:04] Production.INFO: ==31000== Lock acquired, processing the job...
[2025-04-11 23:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-11 23:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 23:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 23:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 23:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 23:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 23:50:04] Production.INFO: Account Balance Start.
[2025-04-11 23:50:04] Production.INFO: CreateAllLog Start
[2025-04-11 23:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 23:50:04] Production.INFO: count ==12
[2025-04-11 23:50:04] Production.INFO: 117
[2025-04-11 23:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 23:50:04] Production.INFO: count ==23
[2025-04-11 23:50:04] Production.INFO: Date 2025-04-08
[2025-04-11 23:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887689') start
[2025-04-11 23:50:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:50:04] Production.ERROR: done
[2025-04-11 23:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887689') end
[2025-04-11 23:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 23:50:04] Production.INFO: 1
[2025-04-11 23:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 23:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 23:50:04] Production.INFO: ==30992== Releasing lock...
[2025-04-11 23:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 23:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 23:50:04] Production.INFO: Date 2025-04-09
[2025-04-11 23:50:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:50:04] Production.INFO: Date 2025-04-10
[2025-04-11 23:50:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:50:04] Production.INFO: ==31002== Releasing lock...
[2025-04-11 23:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 23:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 23:50:04] Production.INFO: Date 2025-04-11
[2025-04-11 23:50:05] Production.ERROR: done
[2025-04-11 23:50:05] Production.INFO: Reseller ==> 0
[2025-04-11 23:50:05] Production.ERROR: done
[2025-04-11 23:50:05] Production.INFO: Total Charge 0
[2025-04-11 23:50:05] Production.INFO: CreateAllLog End
[2025-04-11 23:50:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-11 23:50:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14887693', 'tblTempUsageDetail_20reseller','2025-04-11','2025-04-11','1' ) start
[2025-04-11 23:50:05] Production.INFO: Account Balance End.
[2025-04-11 23:50:05] Production.ERROR: CronJobId end 12
[2025-04-11 23:50:05] Production.INFO: ==30996== Releasing lock...
[2025-04-11 23:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 23:50:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 23:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 20:50:06
[end_date_ymd] => 2025-04-11 23:50:06
[RateCDR] => 1
)
[2025-04-11 23:50:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 20:50:06' and `end` < '2025-04-11 23:50:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 23:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14887693', 'tblTempUsageDetail_20reseller','2025-04-11','2025-04-11','1' ) end
[2025-04-11 23:50:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-11 23:50:09] Production.INFO: ProcessCDR(1,14887693,1,1,2)
[2025-04-11 23:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14887693,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14887693,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:50:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 23:50:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 23:50:09] Production.INFO: ==31000== Releasing lock...
[2025-04-11 23:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-11 23:50:09] Production.INFO: 26 MB #Memory Used#
[2025-04-11 23:50:14] Production.ERROR: CronJobId end10
[2025-04-11 23:50:14] Production.INFO: ==30994== Releasing lock...
[2025-04-11 23:50:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 23:50:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 23:50:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 23:50:16] Production.INFO: ============== Balance Warning START===========
[2025-04-11 23:50:16] Production.INFO: ============== Balance Warning END===========
[2025-04-11 23:50:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 23:50:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 23:50:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 23:50:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 23:50:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 23:50:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 23:50:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 23:50:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 23:50:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 23:50:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 23:50:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 23:50:17] Production.INFO: call_cost start
[2025-04-11 23:50:17] Production.INFO: call_cost end
[2025-04-11 23:50:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 23:50:17] Production.INFO: ============== Report Schedule START===========
[2025-04-11 23:50:17] Production.INFO: ============== Report Schedule END===========
[2025-04-11 23:50:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 23:50:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 23:50:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 23:50:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 23:50:17] Production.INFO: ============== Deal alert START===========
[2025-04-11 23:50:18] Production.INFO: ============== Deal alert END===========
[2025-04-11 23:50:18] Production.INFO: ==30990== Releasing lock...
[2025-04-11 23:50:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 23:50:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 23:50:19] Production.INFO: count ==1359
[2025-04-11 23:50:19] Production.ERROR: pbx CDR StartTime 2025-04-11 20:50:06 - End Time 2025-04-11 23:50:06
[2025-04-11 23:50:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 23:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887692', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887692', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887692', 'tblTempVendorCDR_20' ) start
[2025-04-11 23:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887692', 'tblTempVendorCDR_20' ) end
[2025-04-11 23:50:19] Production.INFO: ProcessCDR(1,14887692,1,1,2)
[2025-04-11 23:50:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887692,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:50:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887692,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:50:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887692,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:50:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887692,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:50:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887692', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:50:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887692', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:50:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 23:50:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 23:50:24] Production.INFO: ==30998== Releasing lock...
[2025-04-11 23:50:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 23:50:24] Production.INFO: 38.75 MB #Memory Used#
[2025-04-12 04:51:01] Production.INFO: ==31112== Lock acquired, processing the job...
[2025-04-12 04:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 04:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 04:51:01] Production.INFO: neon service started
[2025-04-12 04:51:01] Production.INFO: neon service started
[2025-04-12 04:51:01] Production.INFO: ==31112== Releasing lock...
[2025-04-12 04:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 04:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 23:51:01] Production.INFO: ==31114== Lock acquired, processing the job...
[2025-04-11 23:51:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 23:51:02] Production.INFO: ==31114== Releasing lock...
[2025-04-11 23:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 23:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 03:51:02] Production.INFO: ==31116== Lock acquired, processing the job...
[2025-04-12 03:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 03:51:02] Production.INFO: ==31116== Releasing lock...
[2025-04-12 03:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 03:51:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 23:51:03] Production.INFO: ==31123== Lock acquired, processing the job...
[2025-04-11 23:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 23:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 23:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 23:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 23:51:03] Production.INFO: ==31129== Lock acquired, processing the job...
[2025-04-11 23:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 23:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 23:51:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 23:51:03] Production.INFO: ==31121== Lock acquired, processing the job...
[2025-04-11 23:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 23:51:03] Production.INFO: count ==12
[2025-04-11 23:51:03] Production.INFO: ==31119== Lock acquired, processing the job...
[2025-04-11 23:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 23:51:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 23:51:03] Production.INFO: count ==23
[2025-04-11 23:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887694') start
[2025-04-11 23:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 23:51:03] Production.INFO: ==31125== Lock acquired, processing the job...
[2025-04-11 23:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 23:51:03] Production.INFO: ==31127== Lock acquired, processing the job...
[2025-04-11 23:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 23:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887694') end
[2025-04-11 23:51:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 23:51:03] Production.INFO: 1
[2025-04-11 23:51:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 23:51:03] Production.INFO: Account Balance Start.
[2025-04-11 23:51:03] Production.INFO: CreateAllLog Start
[2025-04-11 23:51:03] Production.INFO: 117
[2025-04-11 23:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 23:51:03] Production.INFO: Date 2025-04-08
[2025-04-11 23:51:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:51:03] Production.INFO: Date 2025-04-09
[2025-04-11 23:51:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:51:03] Production.INFO: Date 2025-04-10
[2025-04-11 23:51:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:51:03] Production.INFO: Date 2025-04-11
[2025-04-11 23:51:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:51:03] Production.INFO: ==31129== Releasing lock...
[2025-04-11 23:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 23:51:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 23:51:03] Production.INFO: ==31121== Releasing lock...
[2025-04-11 23:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 23:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 23:51:03] Production.INFO: Total Charge 0
[2025-04-11 23:51:03] Production.INFO: CreateAllLog End
[2025-04-11 23:51:04] Production.ERROR: done
[2025-04-11 23:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 23:51:04] Production.ERROR: done
[2025-04-11 23:51:04] Production.INFO: Account Balance End.
[2025-04-11 23:51:04] Production.ERROR: CronJobId end 12
[2025-04-11 23:51:04] Production.INFO: ==31125== Releasing lock...
[2025-04-11 23:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 23:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 23:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 20:51:05
[end_date_ymd] => 2025-04-11 23:51:05
[RateCDR] => 1
)
[2025-04-11 23:51:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 20:51:05' and `end` < '2025-04-11 23:51:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 23:51:11] Production.ERROR: CronJobId end10
[2025-04-11 23:51:11] Production.INFO: ==31123== Releasing lock...
[2025-04-11 23:51:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 23:51:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 23:51:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 23:51:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 23:51:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 23:51:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 23:51:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 23:51:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 23:51:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 23:51:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 23:51:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 23:51:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 23:51:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 23:51:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 23:51:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 23:51:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 23:51:14] Production.INFO: call_cost start
[2025-04-11 23:51:14] Production.INFO: call_cost end
[2025-04-11 23:51:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 23:51:15] Production.INFO: ============== Report Schedule START===========
[2025-04-11 23:51:15] Production.INFO: ============== Report Schedule END===========
[2025-04-11 23:51:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 23:51:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 23:51:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 23:51:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 23:51:15] Production.INFO: ============== Deal alert START===========
[2025-04-11 23:51:15] Production.INFO: ============== Deal alert END===========
[2025-04-11 23:51:15] Production.INFO: ==31119== Releasing lock...
[2025-04-11 23:51:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 23:51:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 23:51:18] Production.INFO: count ==1303
[2025-04-11 23:51:18] Production.ERROR: pbx CDR StartTime 2025-04-11 20:51:05 - End Time 2025-04-11 23:51:05
[2025-04-11 23:51:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 23:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887698', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887698', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887698', 'tblTempVendorCDR_20' ) start
[2025-04-11 23:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887698', 'tblTempVendorCDR_20' ) end
[2025-04-11 23:51:18] Production.INFO: ProcessCDR(1,14887698,1,1,2)
[2025-04-11 23:51:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887698,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:51:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887698,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:51:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887698,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:51:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887698,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887698', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887698', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:51:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 23:51:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 23:51:22] Production.INFO: ==31127== Releasing lock...
[2025-04-11 23:51:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 23:51:22] Production.INFO: 38.25 MB #Memory Used#
[2025-04-12 04:52:01] Production.INFO: ==31197== Lock acquired, processing the job...
[2025-04-12 04:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 04:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 04:52:01] Production.INFO: neon service started
[2025-04-12 04:52:02] Production.INFO: neon service started
[2025-04-12 04:52:02] Production.INFO: ==31197== Releasing lock...
[2025-04-12 04:52:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 04:52:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 23:52:02] Production.INFO: ==31199== Lock acquired, processing the job...
[2025-04-11 23:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 23:52:02] Production.INFO: ==31199== Releasing lock...
[2025-04-11 23:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 23:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 03:52:02] Production.INFO: ==31201== Lock acquired, processing the job...
[2025-04-12 03:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 03:52:02] Production.INFO: ==31201== Releasing lock...
[2025-04-12 03:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 03:52:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 23:52:03] Production.INFO: ==31207== Lock acquired, processing the job...
[2025-04-11 23:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 23:52:03] Production.INFO: ==31215== Lock acquired, processing the job...
[2025-04-11 23:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 23:52:03] Production.INFO: ==31205== Lock acquired, processing the job...
[2025-04-11 23:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 23:52:03] Production.INFO: ==31209== Lock acquired, processing the job...
[2025-04-11 23:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 23:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 23:52:03] Production.INFO: ==31211== Lock acquired, processing the job...
[2025-04-11 23:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 23:52:03] Production.INFO: ==31213== Lock acquired, processing the job...
[2025-04-11 23:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 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-11 23:52:03] Production.INFO: count ==12
[2025-04-11 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-11 23:52:03] Production.INFO: count ==23
[2025-04-11 23:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 23:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887700') start
[2025-04-11 23:52:03] Production.INFO: Account Balance Start.
[2025-04-11 23:52:03] Production.INFO: CreateAllLog Start
[2025-04-11 23:52:03] Production.INFO: 117
[2025-04-11 23:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 23:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 23:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 23:52:03] Production.INFO: ==31207== Releasing lock...
[2025-04-11 23:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 23:52:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 23:52:03] Production.INFO: Date 2025-04-08
[2025-04-11 23:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 23:52:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:52:04] Production.INFO: Date 2025-04-09
[2025-04-11 23:52:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887700') end
[2025-04-11 23:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 23:52:04] Production.INFO: 1
[2025-04-11 23:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 23:52:04] Production.INFO: Date 2025-04-10
[2025-04-11 23:52:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:52:04] Production.INFO: Date 2025-04-11
[2025-04-11 23:52:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:52:04] Production.INFO: Total Charge 0
[2025-04-11 23:52:04] Production.INFO: CreateAllLog End
[2025-04-11 23:52:04] Production.INFO: ==31215== Releasing lock...
[2025-04-11 23:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 23:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 23:52:04] Production.INFO: Account Balance End.
[2025-04-11 23:52:04] Production.ERROR: done
[2025-04-11 23:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 23:52:04] Production.ERROR: CronJobId end 12
[2025-04-11 23:52:04] Production.INFO: ==31211== Releasing lock...
[2025-04-11 23:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 23:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 23:52:04] Production.ERROR: done
[2025-04-11 23:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 20:52:05
[end_date_ymd] => 2025-04-11 23:52:05
[RateCDR] => 1
)
[2025-04-11 23:52:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 20:52:05' and `end` < '2025-04-11 23:52:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 23:52:12] Production.ERROR: CronJobId end10
[2025-04-11 23:52:12] Production.INFO: ==31209== Releasing lock...
[2025-04-11 23:52:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 23:52:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 23:52:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 23:52:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 23:52:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 23:52:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 23:52:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 23:52:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 23:52:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 23:52:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 23:52:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 23:52:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 23:52:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 23:52:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 23:52:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 23:52:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 23:52:14] Production.INFO: call_cost start
[2025-04-11 23:52:14] Production.INFO: call_cost end
[2025-04-11 23:52:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 23:52:15] Production.INFO: ============== Report Schedule START===========
[2025-04-11 23:52:15] Production.INFO: ============== Report Schedule END===========
[2025-04-11 23:52:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 23:52:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 23:52:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 23:52:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 23:52:15] Production.INFO: ============== Deal alert START===========
[2025-04-11 23:52:15] Production.INFO: ============== Deal alert END===========
[2025-04-11 23:52:15] Production.INFO: ==31205== Releasing lock...
[2025-04-11 23:52:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 23:52:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 23:52:18] Production.INFO: count ==1302
[2025-04-11 23:52:19] Production.ERROR: pbx CDR StartTime 2025-04-11 20:52:05 - End Time 2025-04-11 23:52:05
[2025-04-11 23:52:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 23:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887703', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887703', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887703', 'tblTempVendorCDR_20' ) start
[2025-04-11 23:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887703', 'tblTempVendorCDR_20' ) end
[2025-04-11 23:52:19] Production.INFO: ProcessCDR(1,14887703,1,1,2)
[2025-04-11 23:52:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887703,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:52:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887703,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:52:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887703,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:52:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887703,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887703', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887703', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:52:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 23:52:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 23:52:22] Production.INFO: ==31213== Releasing lock...
[2025-04-11 23:52:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 23:52:22] Production.INFO: 38.25 MB #Memory Used#
[2025-04-12 04:53:01] Production.INFO: ==31288== Lock acquired, processing the job...
[2025-04-12 04:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 04:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 04:53:01] Production.INFO: neon service started
[2025-04-12 04:53:01] Production.INFO: neon service started
[2025-04-12 04:53:01] Production.INFO: ==31288== Releasing lock...
[2025-04-12 04:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 04:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 23:53:01] Production.INFO: ==31290== Lock acquired, processing the job...
[2025-04-11 23:53:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 23:53:02] Production.INFO: ==31290== Releasing lock...
[2025-04-11 23:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 23:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 03:53:02] Production.INFO: ==31292== Lock acquired, processing the job...
[2025-04-12 03:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 03:53:02] Production.INFO: ==31292== Releasing lock...
[2025-04-12 03:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 03:53:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 23:53:02] Production.INFO: ==31294== Lock acquired, processing the job...
[2025-04-11 23:53:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 23:53:02] Production.INFO: ==31298== Lock acquired, processing the job...
[2025-04-11 23:53:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 23:53:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 23:53:02] Production.INFO: ==31300== Lock acquired, processing the job...
[2025-04-11 23:53:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 23:53:03] Production.INFO: Account Balance Start.
[2025-04-11 23:53:03] Production.INFO: CreateAllLog Start
[2025-04-11 23:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 23:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 23:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 23:53:03] Production.INFO: 117
[2025-04-11 23:53:03] Production.INFO: Date 2025-04-08
[2025-04-11 23:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 23:53:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:53:03] Production.INFO: Date 2025-04-09
[2025-04-11 23:53:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:53:03] Production.INFO: Date 2025-04-10
[2025-04-11 23:53:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:53:03] Production.INFO: Date 2025-04-11
[2025-04-11 23:53:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:53:03] Production.INFO: Total Charge 0
[2025-04-11 23:53:03] Production.INFO: ==31296== Lock acquired, processing the job...
[2025-04-11 23:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 23:53:03] Production.INFO: CreateAllLog End
[2025-04-11 23:53:03] Production.INFO: ==31302== Lock acquired, processing the job...
[2025-04-11 23:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 23:53:03] Production.INFO: ==31305== Lock acquired, processing the job...
[2025-04-11 23:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 23:53:03] Production.INFO: Account Balance End.
[2025-04-11 23:53:03] Production.ERROR: CronJobId end 12
[2025-04-11 23:53:03] Production.INFO: ==31300== Releasing lock...
[2025-04-11 23:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 23:53:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 23:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 23:53:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 23:53:03] Production.INFO: count ==12
[2025-04-11 23:53:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 23:53:03] Production.INFO: ==31296== Releasing lock...
[2025-04-11 23:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 23:53:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 23:53:03] Production.INFO: count ==23
[2025-04-11 23:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887707') start
[2025-04-11 23:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887707') end
[2025-04-11 23:53:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 23:53:03] Production.INFO: 1
[2025-04-11 23:53:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 23:53:03] Production.ERROR: done
[2025-04-11 23:53:03] Production.INFO: ==31305== Releasing lock...
[2025-04-11 23:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 23:53:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 23:53:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 23:53:04] Production.ERROR: done
[2025-04-11 23:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 20:53:05
[end_date_ymd] => 2025-04-11 23:53:05
[RateCDR] => 1
)
[2025-04-11 23:53:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 20:53:05' and `end` < '2025-04-11 23:53:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 23:53:12] Production.ERROR: CronJobId end10
[2025-04-11 23:53:12] Production.INFO: ==31298== Releasing lock...
[2025-04-11 23:53:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 23:53:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 23:53:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 23:53:13] Production.INFO: ============== Balance Warning START===========
[2025-04-11 23:53:13] Production.INFO: ============== Balance Warning END===========
[2025-04-11 23:53:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 23:53:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 23:53:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 23:53:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 23:53:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 23:53:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 23:53:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 23:53:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 23:53:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 23:53:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 23:53:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 23:53:14] Production.INFO: call_cost start
[2025-04-11 23:53:14] Production.INFO: call_cost end
[2025-04-11 23:53:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 23:53:15] Production.INFO: ============== Report Schedule START===========
[2025-04-11 23:53:15] Production.INFO: ============== Report Schedule END===========
[2025-04-11 23:53:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 23:53:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 23:53:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 23:53:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 23:53:15] Production.INFO: ============== Deal alert START===========
[2025-04-11 23:53:15] Production.INFO: ============== Deal alert END===========
[2025-04-11 23:53:15] Production.INFO: ==31294== Releasing lock...
[2025-04-11 23:53:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 23:53:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 23:53:18] Production.INFO: count ==1301
[2025-04-11 23:53:18] Production.ERROR: pbx CDR StartTime 2025-04-11 20:53:05 - End Time 2025-04-11 23:53:05
[2025-04-11 23:53:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 23:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887708', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887708', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887708', 'tblTempVendorCDR_20' ) start
[2025-04-11 23:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887708', 'tblTempVendorCDR_20' ) end
[2025-04-11 23:53:18] Production.INFO: ProcessCDR(1,14887708,1,1,2)
[2025-04-11 23:53:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887708,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:53:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887708,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:53:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887708,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:53:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887708,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887708', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887708', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:53:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 23:53:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 23:53:22] Production.INFO: ==31302== Releasing lock...
[2025-04-11 23:53:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 23:53:22] Production.INFO: 38.5 MB #Memory Used#
[2025-04-12 04:54:01] Production.INFO: ==31379== Lock acquired, processing the job...
[2025-04-12 04:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 04:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 04:54:01] Production.INFO: neon service started
[2025-04-12 04:54:01] Production.INFO: neon service started
[2025-04-12 04:54:01] Production.INFO: ==31379== Releasing lock...
[2025-04-12 04:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 04:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 03:54:02] Production.INFO: ==31383== Lock acquired, processing the job...
[2025-04-12 03:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 03:54:02] Production.INFO: ==31383== Releasing lock...
[2025-04-12 03:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 03:54:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 23:54:02] Production.INFO: ==31381== Lock acquired, processing the job...
[2025-04-11 23:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 23:54:02] Production.INFO: ==31381== Releasing lock...
[2025-04-11 23:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 23:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 23:54:03] Production.INFO: ==31394== Lock acquired, processing the job...
[2025-04-11 23:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 23:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 23:54:03] Production.INFO: ==31392== Lock acquired, processing the job...
[2025-04-11 23:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 23:54:03] Production.INFO: Account Balance Start.
[2025-04-11 23:54:03] Production.INFO: CreateAllLog Start
[2025-04-11 23:54:03] Production.INFO: 117
[2025-04-11 23:54:03] Production.INFO: Date 2025-04-08
[2025-04-11 23:54:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:54:03] Production.INFO: Date 2025-04-09
[2025-04-11 23:54:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:54:03] Production.INFO: Date 2025-04-10
[2025-04-11 23:54:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:54:03] Production.INFO: ==31388== Lock acquired, processing the job...
[2025-04-11 23:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 23:54:03] Production.INFO: ==31386== Lock acquired, processing the job...
[2025-04-11 23:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 23:54:03] Production.INFO: Date 2025-04-11
[2025-04-11 23:54:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:54:03] Production.INFO: ==31390== Lock acquired, processing the job...
[2025-04-11 23:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 23:54:04] Production.INFO: Total Charge 0
[2025-04-11 23:54:04] Production.INFO: ==31396== Lock acquired, processing the job...
[2025-04-11 23:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 23:54:04] Production.ERROR: done
[2025-04-11 23:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 23:54:04] Production.INFO: CreateAllLog End
[2025-04-11 23:54:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 23:54:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 23:54:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 23:54:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 23:54:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 23:54:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 23:54:04] Production.ERROR: done
[2025-04-11 23:54:04] Production.INFO: count ==12
[2025-04-11 23:54:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 23:54:04] Production.INFO: count ==23
[2025-04-11 23:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887712') start
[2025-04-11 23:54:04] Production.INFO: Account Balance End.
[2025-04-11 23:54:04] Production.ERROR: CronJobId end 12
[2025-04-11 23:54:04] Production.INFO: ==31392== Releasing lock...
[2025-04-11 23:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 23:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 23:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887712') end
[2025-04-11 23:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 23:54:04] Production.INFO: 1
[2025-04-11 23:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 23:54:04] Production.INFO: ==31388== Releasing lock...
[2025-04-11 23:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 23:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 23:54:04] Production.INFO: ==31396== Releasing lock...
[2025-04-11 23:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 23:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 23:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 20:54:05
[end_date_ymd] => 2025-04-11 23:54:05
[RateCDR] => 1
)
[2025-04-11 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-11 20:54:05' and `end` < '2025-04-11 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-11 23:54:12] Production.ERROR: CronJobId end10
[2025-04-11 23:54:12] Production.INFO: ==31390== Releasing lock...
[2025-04-11 23:54:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 23:54:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 23:54:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 23:54:13] Production.INFO: ============== Balance Warning START===========
[2025-04-11 23:54:13] Production.INFO: ============== Balance Warning END===========
[2025-04-11 23:54:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 23:54:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 23:54:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 23:54:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 23:54:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 23:54:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 23:54:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 23:54:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 23:54:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 23:54:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 23:54:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 23:54:14] Production.INFO: call_cost start
[2025-04-11 23:54:14] Production.INFO: call_cost end
[2025-04-11 23:54:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 23:54:15] Production.INFO: ============== Report Schedule START===========
[2025-04-11 23:54:15] Production.INFO: ============== Report Schedule END===========
[2025-04-11 23:54:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 23:54:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 23:54:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 23:54:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 23:54:15] Production.INFO: ============== Deal alert START===========
[2025-04-11 23:54:15] Production.INFO: ============== Deal alert END===========
[2025-04-11 23:54:15] Production.INFO: ==31386== Releasing lock...
[2025-04-11 23:54:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 23:54:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 23:54:18] Production.INFO: count ==1299
[2025-04-11 23:54:18] Production.ERROR: pbx CDR StartTime 2025-04-11 20:54:05 - End Time 2025-04-11 23:54:05
[2025-04-11 23:54:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 23:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887713', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887713', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887713', 'tblTempVendorCDR_20' ) start
[2025-04-11 23:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887713', 'tblTempVendorCDR_20' ) end
[2025-04-11 23:54:18] Production.INFO: ProcessCDR(1,14887713,1,1,2)
[2025-04-11 23:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887713,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:54:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887713,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:54:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887713,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:54:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887713,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:54:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887713', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:54:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887713', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:54:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 23:54:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 23:54:23] Production.INFO: ==31394== Releasing lock...
[2025-04-11 23:54:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 23:54:23] Production.INFO: 38.25 MB #Memory Used#
[2025-04-12 04:55:02] Production.INFO: ==31466== Lock acquired, processing the job...
[2025-04-12 04:55:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 04:55:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 04:55:02] Production.INFO: neon service started
[2025-04-12 04:55:02] Production.INFO: neon service started
[2025-04-12 04:55:02] Production.INFO: ==31466== Releasing lock...
[2025-04-12 04:55:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 04:55:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 23:55:02] Production.INFO: ==31468== Lock acquired, processing the job...
[2025-04-11 23:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 23:55:02] Production.INFO: ==31468== Releasing lock...
[2025-04-11 23:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 23:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 03:55:03] Production.INFO: ==31470== Lock acquired, processing the job...
[2025-04-12 03:55:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 03:55:03] Production.INFO: ==31470== Releasing lock...
[2025-04-12 03:55:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 03:55:03] Production.INFO: 25 MB #Memory Used#
[2025-04-11 23:55:03] Production.INFO: ==31474== Lock acquired, processing the job...
[2025-04-11 23:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 23:55:03] Production.INFO: ==31472== Lock acquired, processing the job...
[2025-04-11 23:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 23:55:03] Production.INFO: ==31476== Lock acquired, processing the job...
[2025-04-11 23:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 23:55:03] Production.INFO: ==31478== Lock acquired, processing the job...
[2025-04-11 23:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 23:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 23:55:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 23:55:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 23:55:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 23:55:04] Production.INFO: ==31481== Lock acquired, processing the job...
[2025-04-11 23:55:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 23:55:04] Production.INFO: Account Balance Start.
[2025-04-11 23:55:04] Production.INFO: CreateAllLog Start
[2025-04-11 23:55:04] Production.INFO: 117
[2025-04-11 23:55:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 23:55:04] Production.INFO: Date 2025-04-08
[2025-04-11 23:55:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:55:04] Production.INFO: ==31483== Lock acquired, processing the job...
[2025-04-11 23:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 23:55:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 23:55:04] Production.INFO: Date 2025-04-09
[2025-04-11 23:55:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:55:04] Production.INFO: Date 2025-04-10
[2025-04-11 23:55:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:55:04] Production.INFO: Date 2025-04-11
[2025-04-11 23:55:04] Production.INFO: Reseller ==> 0
[2025-04-11 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-11 23:55:04] Production.INFO: Total Charge 0
[2025-04-11 23:55:04] Production.INFO: count ==12
[2025-04-11 23:55:04] Production.INFO: CreateAllLog End
[2025-04-11 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-11 23:55:04] Production.INFO: count ==23
[2025-04-11 23:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887717') start
[2025-04-11 23:55:04] Production.ERROR: done
[2025-04-11 23:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 23:55:04] Production.INFO: ==31474== Releasing lock...
[2025-04-11 23:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 23:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 23:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887717') end
[2025-04-11 23:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 23:55:04] Production.INFO: 1
[2025-04-11 23:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 23:55:04] Production.ERROR: done
[2025-04-11 23:55:04] Production.INFO: Account Balance End.
[2025-04-11 23:55:04] Production.INFO: ==31483== Releasing lock...
[2025-04-11 23:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 23:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 23:55:04] Production.ERROR: CronJobId end 12
[2025-04-11 23:55:04] Production.INFO: ==31478== Releasing lock...
[2025-04-11 23:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 23:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 23:55:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 20:55:06
[end_date_ymd] => 2025-04-11 23:55:06
[RateCDR] => 1
)
[2025-04-11 23:55:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 20:55:06' and `end` < '2025-04-11 23:55:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 23:55:13] Production.ERROR: CronJobId end10
[2025-04-11 23:55:13] Production.INFO: ==31476== Releasing lock...
[2025-04-11 23:55:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 23:55:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 23:55:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 23:55:15] Production.INFO: ============== Balance Warning START===========
[2025-04-11 23:55:15] Production.INFO: ============== Balance Warning END===========
[2025-04-11 23:55:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 23:55:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 23:55:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 23:55:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 23:55:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 23:55:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 23:55:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 23:55:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 23:55:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 23:55:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 23:55:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 23:55:16] Production.INFO: call_cost start
[2025-04-11 23:55:16] Production.INFO: call_cost end
[2025-04-11 23:55:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 23:55:17] Production.INFO: ============== Report Schedule START===========
[2025-04-11 23:55:17] Production.INFO: ============== Report Schedule END===========
[2025-04-11 23:55:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 23:55:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 23:55:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 23:55:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 23:55:17] Production.INFO: ============== Deal alert START===========
[2025-04-11 23:55:17] Production.INFO: ============== Deal alert END===========
[2025-04-11 23:55:17] Production.INFO: ==31472== Releasing lock...
[2025-04-11 23:55:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 23:55:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 23:55:19] Production.INFO: count ==1299
[2025-04-11 23:55:19] Production.ERROR: pbx CDR StartTime 2025-04-11 20:55:06 - End Time 2025-04-11 23:55:06
[2025-04-11 23:55:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 23:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887718', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887718', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887718', 'tblTempVendorCDR_20' ) start
[2025-04-11 23:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887718', 'tblTempVendorCDR_20' ) end
[2025-04-11 23:55:19] Production.INFO: ProcessCDR(1,14887718,1,1,2)
[2025-04-11 23:55:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887718,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:55:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887718,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:55:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887718,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:55:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887718,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887718', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887718', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:55:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 23:55:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 23:55:22] Production.INFO: ==31481== Releasing lock...
[2025-04-11 23:55:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 23:55:22] Production.INFO: 38.25 MB #Memory Used#
[2025-04-12 04:56:01] Production.INFO: ==31550== Lock acquired, processing the job...
[2025-04-12 04:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 04:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 04:56:01] Production.INFO: neon service started
[2025-04-12 04:56:01] Production.INFO: neon service started
[2025-04-12 04:56:01] Production.INFO: ==31550== Releasing lock...
[2025-04-12 04:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 04:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 03:56:02] Production.INFO: ==31554== Lock acquired, processing the job...
[2025-04-12 03:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 03:56:02] Production.INFO: ==31554== Releasing lock...
[2025-04-12 03:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 03:56:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 23:56:02] Production.INFO: ==31552== Lock acquired, processing the job...
[2025-04-11 23:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 23:56:02] Production.INFO: ==31552== Releasing lock...
[2025-04-11 23:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 23:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 23:56:03] Production.INFO: ==31557== Lock acquired, processing the job...
[2025-04-11 23:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 23:56:03] Production.INFO: ==31561== Lock acquired, processing the job...
[2025-04-11 23:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 23:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 23:56:03] Production.INFO: ==31563== Lock acquired, processing the job...
[2025-04-11 23:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 23:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 23:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 23:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 23:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 23:56:03] Production.INFO: Account Balance Start.
[2025-04-11 23:56:03] Production.INFO: CreateAllLog Start
[2025-04-11 23:56:03] Production.INFO: 117
[2025-04-11 23:56:03] Production.INFO: Date 2025-04-08
[2025-04-11 23:56:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:56:03] Production.INFO: ==31559== Lock acquired, processing the job...
[2025-04-11 23:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 23:56:03] Production.INFO: Date 2025-04-09
[2025-04-11 23:56:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:56:03] Production.INFO: Date 2025-04-10
[2025-04-11 23:56:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:56:03] Production.INFO: Date 2025-04-11
[2025-04-11 23:56:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:56:03] Production.INFO: ==31565== Lock acquired, processing the job...
[2025-04-11 23:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 23:56:03] Production.INFO: ==31567== Lock acquired, processing the job...
[2025-04-11 23:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 23:56:03] Production.INFO: Total Charge 0
[2025-04-11 23:56:03] Production.INFO: CreateAllLog End
[2025-04-11 23:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 23:56:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 23:56:04] Production.INFO: count ==12
[2025-04-11 23:56:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 23:56:04] Production.INFO: count ==23
[2025-04-11 23:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887722') start
[2025-04-11 23:56:04] Production.INFO: Account Balance End.
[2025-04-11 23:56:04] Production.INFO: ==31559== Releasing lock...
[2025-04-11 23:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 23:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 23:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887722') end
[2025-04-11 23:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 23:56:04] Production.INFO: 1
[2025-04-11 23:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 23:56:04] Production.ERROR: CronJobId end 12
[2025-04-11 23:56:04] Production.INFO: ==31563== Releasing lock...
[2025-04-11 23:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 23:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 23:56:04] Production.ERROR: done
[2025-04-11 23:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 23:56:04] Production.INFO: ==31567== Releasing lock...
[2025-04-11 23:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 23:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 23:56:04] Production.ERROR: done
[2025-04-11 23:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 20:56:05
[end_date_ymd] => 2025-04-11 23:56:05
[RateCDR] => 1
)
[2025-04-11 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-11 20:56:05' and `end` < '2025-04-11 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-11 23:56:13] Production.ERROR: CronJobId end10
[2025-04-11 23:56:13] Production.INFO: ==31561== Releasing lock...
[2025-04-11 23:56:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 23:56:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 23:56:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 23:56:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 23:56:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 23:56:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 23:56:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 23:56:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 23:56:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 23:56:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 23:56:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 23:56:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 23:56:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 23:56:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 23:56:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 23:56:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 23:56:14] Production.INFO: call_cost start
[2025-04-11 23:56:14] Production.INFO: call_cost end
[2025-04-11 23:56:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 23:56:15] Production.INFO: ============== Report Schedule START===========
[2025-04-11 23:56:15] Production.INFO: ============== Report Schedule END===========
[2025-04-11 23:56:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 23:56:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 23:56:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 23:56:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 23:56:15] Production.INFO: ============== Deal alert START===========
[2025-04-11 23:56:15] Production.INFO: ============== Deal alert END===========
[2025-04-11 23:56:15] Production.INFO: ==31557== Releasing lock...
[2025-04-11 23:56:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 23:56:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 23:56:18] Production.INFO: count ==1301
[2025-04-11 23:56:18] Production.ERROR: pbx CDR StartTime 2025-04-11 20:56:05 - End Time 2025-04-11 23:56:05
[2025-04-11 23:56:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 23:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887723', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887723', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887723', 'tblTempVendorCDR_20' ) start
[2025-04-11 23:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887723', 'tblTempVendorCDR_20' ) end
[2025-04-11 23:56:18] Production.INFO: ProcessCDR(1,14887723,1,1,2)
[2025-04-11 23:56:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887723,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:56:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887723,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:56:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887723,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:56:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887723,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887723', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887723', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:56:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 23:56:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 23:56:22] Production.INFO: ==31565== Releasing lock...
[2025-04-11 23:56:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 23:56:22] Production.INFO: 38.25 MB #Memory Used#
[2025-04-12 04:57:02] Production.INFO: ==31629== Lock acquired, processing the job...
[2025-04-12 04:57:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 04:57:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 04:57:02] Production.INFO: neon service started
[2025-04-12 04:57:02] Production.INFO: neon service started
[2025-04-12 04:57:02] Production.INFO: ==31629== Releasing lock...
[2025-04-12 04:57:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 04:57:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 23:57:02] Production.INFO: ==31631== Lock acquired, processing the job...
[2025-04-11 23:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 03:57:02] Production.INFO: ==31633== Lock acquired, processing the job...
[2025-04-12 03:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 03:57:02] Production.INFO: ==31633== Releasing lock...
[2025-04-12 03:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 03:57:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 23:57:03] Production.INFO: ==31631== Releasing lock...
[2025-04-11 23:57:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 23:57:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 23:57:03] Production.INFO: ==31640== Lock acquired, processing the job...
[2025-04-11 23:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 23:57:04] Production.INFO: ==31645== Lock acquired, processing the job...
[2025-04-11 23:57:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 23:57:04] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 23:57:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 23:57:04] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 23:57:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 23:57:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 23:57:04] Production.INFO: ==31636== Lock acquired, processing the job...
[2025-04-11 23:57:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 23:57:04] Production.INFO: ==31638== Lock acquired, processing the job...
[2025-04-11 23:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 23:57:04] Production.INFO: ==31642== Lock acquired, processing the job...
[2025-04-11 23:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 23:57:04] Production.INFO: Account Balance Start.
[2025-04-11 23:57:04] Production.INFO: CreateAllLog Start
[2025-04-11 23:57:04] Production.INFO: 117
[2025-04-11 23:57:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 23:57:04] Production.INFO: Date 2025-04-08
[2025-04-11 23:57:04] Production.INFO: ==31648== Lock acquired, processing the job...
[2025-04-11 23:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 23:57:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:57:04] Production.INFO: Date 2025-04-09
[2025-04-11 23:57:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:57:04] Production.INFO: Date 2025-04-10
[2025-04-11 23:57:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:57:04] Production.INFO: Date 2025-04-11
[2025-04-11 23:57:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:57:04] Production.INFO: Total Charge 0
[2025-04-11 23:57:04] Production.INFO: CreateAllLog End
[2025-04-11 23:57:04] Production.ERROR: done
[2025-04-11 23:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 23:57:04] Production.INFO: ==31638== Releasing lock...
[2025-04-11 23:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 23:57:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 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-11 23:57:04] Production.INFO: count ==12
[2025-04-11 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-11 23:57:04] Production.INFO: count ==23
[2025-04-11 23:57:04] Production.ERROR: done
[2025-04-11 23:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887727') start
[2025-04-11 23:57:05] Production.INFO: Account Balance End.
[2025-04-11 23:57:05] Production.ERROR: CronJobId end 12
[2025-04-11 23:57:05] Production.INFO: ==31642== Releasing lock...
[2025-04-11 23:57:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 23:57:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 23:57:05] Production.ERROR: PBX CALL prc_importPBXExtension('14887727') end
[2025-04-11 23:57:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 23:57:05] Production.INFO: 1
[2025-04-11 23:57:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 23:57:05] Production.INFO: ==31648== Releasing lock...
[2025-04-11 23:57:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 23:57:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 23:57:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 20:57:06
[end_date_ymd] => 2025-04-11 23:57:06
[RateCDR] => 1
)
[2025-04-11 23: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-11 20:57:06' and `end` < '2025-04-11 23: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-11 23:57:13] Production.ERROR: CronJobId end10
[2025-04-11 23:57:13] Production.INFO: ==31640== Releasing lock...
[2025-04-11 23:57:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 23:57:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 23:57:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 23:57:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 23:57:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 23:57:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 23:57:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 23:57:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 23:57:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 23:57:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 23:57:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 23:57:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 23:57:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 23:57:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 23:57:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 23:57:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 23:57:15] Production.INFO: call_cost start
[2025-04-11 23:57:15] Production.INFO: call_cost end
[2025-04-11 23:57:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 23:57:16] Production.INFO: ============== Report Schedule START===========
[2025-04-11 23:57:16] Production.INFO: ============== Report Schedule END===========
[2025-04-11 23:57:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 23:57:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 23:57:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 23:57:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 23:57:16] Production.INFO: ============== Deal alert START===========
[2025-04-11 23:57:16] Production.INFO: ============== Deal alert END===========
[2025-04-11 23:57:16] Production.INFO: ==31636== Releasing lock...
[2025-04-11 23:57:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 23:57:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 23:57:18] Production.INFO: count ==1303
[2025-04-11 23:57:19] Production.ERROR: pbx CDR StartTime 2025-04-11 20:57:06 - End Time 2025-04-11 23:57:06
[2025-04-11 23:57:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 23:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887728', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887728', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887728', 'tblTempVendorCDR_20' ) start
[2025-04-11 23:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887728', 'tblTempVendorCDR_20' ) end
[2025-04-11 23:57:19] Production.INFO: ProcessCDR(1,14887728,1,1,2)
[2025-04-11 23:57:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887728,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:57:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887728,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:57:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887728,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:57:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887728,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:57:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887728', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:57:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887728', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:57:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 23:57:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 23:57:23] Production.INFO: ==31645== Releasing lock...
[2025-04-11 23:57:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 23:57:23] Production.INFO: 38.5 MB #Memory Used#
[2025-04-12 04:58:01] Production.INFO: ==31707== Lock acquired, processing the job...
[2025-04-12 04:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 04:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 04:58:01] Production.INFO: neon service started
[2025-04-12 04:58:01] Production.INFO: neon service started
[2025-04-12 04:58:01] Production.INFO: ==31707== Releasing lock...
[2025-04-12 04:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 04:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 03:58:01] Production.INFO: ==31711== Lock acquired, processing the job...
[2025-04-12 03:58:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 03:58:01] Production.INFO: ==31711== Releasing lock...
[2025-04-12 03:58:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 03:58:01] Production.INFO: 25 MB #Memory Used#
[2025-04-11 23:58:02] Production.INFO: ==31709== Lock acquired, processing the job...
[2025-04-11 23:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-11 23:58:02] Production.INFO: ==31709== Releasing lock...
[2025-04-11 23:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 23:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 23:58:03] Production.INFO: ==31716== Lock acquired, processing the job...
[2025-04-11 23:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 23:58:03] Production.INFO: ==31718== Lock acquired, processing the job...
[2025-04-11 23:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 23:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 23:58:03] Production.INFO: ==31724== Lock acquired, processing the job...
[2025-04-11 23:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 23:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 23:58:03] Production.INFO: ==31720== Lock acquired, processing the job...
[2025-04-11 23:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 23:58:03] Production.INFO: ==31722== Lock acquired, processing the job...
[2025-04-11 23:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 23:58:03] Production.INFO: ==31718== Releasing lock...
[2025-04-11 23:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 23:58:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 23:58:03] Production.INFO: Account Balance Start.
[2025-04-11 23:58:03] Production.INFO: CreateAllLog Start
[2025-04-11 23:58:03] Production.INFO: 117
[2025-04-11 23:58:03] Production.INFO: ==31726== Lock acquired, processing the job...
[2025-04-11 23:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 23:58:03] Production.INFO: Date 2025-04-08
[2025-04-11 23:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 23:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 23:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 23:58:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 23:58:03] Production.INFO: Date 2025-04-09
[2025-04-11 23:58:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:58:03] Production.INFO: Date 2025-04-10
[2025-04-11 23:58:03] Production.INFO: Reseller ==> 0
[2025-04-11 23:58:03] Production.ERROR: done
[2025-04-11 23:58:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 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-11 23:58:04] Production.INFO: Date 2025-04-11
[2025-04-11 23:58:04] Production.INFO: count ==12
[2025-04-11 23:58:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:58:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-11 23:58:04] Production.INFO: count ==23
[2025-04-11 23:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887732') start
[2025-04-11 23:58:04] Production.INFO: Total Charge 0
[2025-04-11 23:58:04] Production.INFO: CreateAllLog End
[2025-04-11 23:58:04] Production.ERROR: done
[2025-04-11 23:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887732') end
[2025-04-11 23:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 23:58:04] Production.INFO: 1
[2025-04-11 23:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 23:58:04] Production.INFO: ==31726== Releasing lock...
[2025-04-11 23:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 23:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 23:58:04] Production.INFO: Account Balance End.
[2025-04-11 23:58:04] Production.ERROR: CronJobId end 12
[2025-04-11 23:58:04] Production.INFO: ==31722== Releasing lock...
[2025-04-11 23:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 23:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 23:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 20:58:05
[end_date_ymd] => 2025-04-11 23:58:05
[RateCDR] => 1
)
[2025-04-11 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-11 20:58:05' and `end` < '2025-04-11 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-11 23:58:13] Production.ERROR: CronJobId end10
[2025-04-11 23:58:13] Production.INFO: ==31720== Releasing lock...
[2025-04-11 23:58:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 23:58:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 23:58:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 23:58:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 23:58:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 23:58:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 23:58:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 23:58:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 23:58:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 23:58:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 23:58:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 23:58:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 23:58:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 23:58:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 23:58:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 23:58:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 23:58:14] Production.INFO: call_cost start
[2025-04-11 23:58:14] Production.INFO: call_cost end
[2025-04-11 23:58:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 23:58:15] Production.INFO: ============== Report Schedule START===========
[2025-04-11 23:58:15] Production.INFO: ============== Report Schedule END===========
[2025-04-11 23:58:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 23:58:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 23:58:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 23:58:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 23:58:15] Production.INFO: ============== Deal alert START===========
[2025-04-11 23:58:15] Production.INFO: ============== Deal alert END===========
[2025-04-11 23:58:15] Production.INFO: ==31716== Releasing lock...
[2025-04-11 23:58:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 23:58:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 23:58:17] Production.INFO: count ==1303
[2025-04-11 23:58:18] Production.ERROR: pbx CDR StartTime 2025-04-11 20:58:05 - End Time 2025-04-11 23:58:05
[2025-04-11 23:58:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 23:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887733', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887733', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887733', 'tblTempVendorCDR_20' ) start
[2025-04-11 23:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887733', 'tblTempVendorCDR_20' ) end
[2025-04-11 23:58:18] Production.INFO: ProcessCDR(1,14887733,1,1,2)
[2025-04-11 23:58:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887733,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:58:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887733,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:58:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887733,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:58:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887733,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887733', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887733', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:58:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 23:58:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 23:58:21] Production.INFO: ==31724== Releasing lock...
[2025-04-11 23:58:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 23:58:21] Production.INFO: 38.5 MB #Memory Used#
[2025-04-12 04:59:02] Production.INFO: ==31788== Lock acquired, processing the job...
[2025-04-12 04:59:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 04:59:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 04:59:02] Production.INFO: neon service started
[2025-04-12 04:59:02] Production.INFO: neon service started
[2025-04-12 04:59:02] Production.INFO: ==31788== Releasing lock...
[2025-04-12 04:59:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 04:59:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-11 23:59:02] Production.INFO: ==31790== Lock acquired, processing the job...
[2025-04-11 23:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 03:59:02] Production.INFO: ==31792== Lock acquired, processing the job...
[2025-04-12 03:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 03:59:02] Production.INFO: ==31792== Releasing lock...
[2025-04-12 03:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 03:59:02] Production.INFO: 25 MB #Memory Used#
[2025-04-11 23:59:03] Production.INFO: ==31790== Releasing lock...
[2025-04-11 23:59:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-11 23:59:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-11 23:59:03] Production.INFO: ==31795== Lock acquired, processing the job...
[2025-04-11 23:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-11 23:59:03] Production.INFO: ==31799== Lock acquired, processing the job...
[2025-04-11 23:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-11 23:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-11 23:59:03] Production.INFO: ==31801== Lock acquired, processing the job...
[2025-04-11 23:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-11 23:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250411Live done
[2025-04-11 23:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411Live done
[2025-04-11 23:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250411Live)
[2025-04-11 23:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-11','2025-04-11','120250411Live')
[2025-04-11 23:59:04] Production.INFO: Account Balance Start.
[2025-04-11 23:59:04] Production.INFO: CreateAllLog Start
[2025-04-11 23:59:04] Production.INFO: 117
[2025-04-11 23:59:04] Production.INFO: Date 2025-04-08
[2025-04-11 23:59:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:59:04] Production.INFO: ==31797== Lock acquired, processing the job...
[2025-04-11 23:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-11 23:59:04] Production.INFO: Date 2025-04-09
[2025-04-11 23:59:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:59:04] Production.INFO: ==31803== Lock acquired, processing the job...
[2025-04-11 23:59:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-11 23:59:04] Production.INFO: Date 2025-04-10
[2025-04-11 23:59:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:59:04] Production.INFO: ==31805== Lock acquired, processing the job...
[2025-04-11 23:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-11 23:59:04] Production.INFO: Date 2025-04-11
[2025-04-11 23:59:04] Production.INFO: Reseller ==> 0
[2025-04-11 23:59:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-11 23:59:04] Production.INFO: Total Charge 0
[2025-04-11 23:59:04] Production.INFO: CreateAllLog End
[2025-04-11 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-11 23:59:04] Production.INFO: count ==12
[2025-04-11 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-11 23:59:04] Production.INFO: count ==23
[2025-04-11 23:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887737') start
[2025-04-11 23:59:04] Production.INFO: ==31797== Releasing lock...
[2025-04-11 23:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-11 23:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-11 23:59:04] Production.INFO: Account Balance End.
[2025-04-11 23:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887737') end
[2025-04-11 23:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-11 23:59:04] Production.INFO: 1
[2025-04-11 23:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-11 23:59:04] Production.ERROR: CronJobId end 12
[2025-04-11 23:59:04] Production.INFO: ==31805== Releasing lock...
[2025-04-11 23:59:04] Production.INFO: ==31801== Releasing lock...
[2025-04-11 23:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-11 23:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-11 23:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-11 23:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-11 23:59:04] Production.ERROR: done
[2025-04-11 23:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-11 23:59:04] Production.ERROR: done
[2025-04-11 23:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 20:59:05
[end_date_ymd] => 2025-04-11 23:59:05
[RateCDR] => 1
)
[2025-04-11 23:59:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 20:59:05' and `end` < '2025-04-11 23:59:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-11 23:59:13] Production.ERROR: CronJobId end10
[2025-04-11 23:59:13] Production.INFO: ==31799== Releasing lock...
[2025-04-11 23:59:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-11 23:59:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-11 23:59:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-11 23:59:14] Production.INFO: ============== Balance Warning START===========
[2025-04-11 23:59:14] Production.INFO: ============== Balance Warning END===========
[2025-04-11 23:59:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-11 23:59:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-11 23:59:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-11 23:59:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-11 23:59:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-11 23:59:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-11 23:59:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-11 23:59:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-11 23:59:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-11 23:59:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-11 23:59:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-11 23:59:15] Production.INFO: call_cost start
[2025-04-11 23:59:15] Production.INFO: call_cost end
[2025-04-11 23:59:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-11 23:59:15] Production.INFO: ============== Report Schedule START===========
[2025-04-11 23:59:15] Production.INFO: ============== Report Schedule END===========
[2025-04-11 23:59:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-11 23:59:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-11 23:59:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-11 23:59:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-11 23:59:15] Production.INFO: ============== Deal alert START===========
[2025-04-11 23:59:15] Production.INFO: ============== Deal alert END===========
[2025-04-11 23:59:15] Production.INFO: ==31795== Releasing lock...
[2025-04-11 23:59:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-11 23:59:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-11 23:59:18] Production.INFO: count ==1302
[2025-04-11 23:59:19] Production.ERROR: pbx CDR StartTime 2025-04-11 20:59:05 - End Time 2025-04-11 23:59:05
[2025-04-11 23:59:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-11 23:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887738', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887738', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887738', 'tblTempVendorCDR_20' ) start
[2025-04-11 23:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887738', 'tblTempVendorCDR_20' ) end
[2025-04-11 23:59:19] Production.INFO: ProcessCDR(1,14887738,1,1,2)
[2025-04-11 23:59:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887738,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:59:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887738,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-11 23:59:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887738,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:59:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887738,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-11 23:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887738', 'tblTempUsageDetail_20' ) start
[2025-04-11 23:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887738', 'tblTempUsageDetail_20' ) end
[2025-04-11 23:59:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-11 23:59:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-11 23:59:22] Production.INFO: ==31803== Releasing lock...
[2025-04-11 23:59:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-11 23:59:22] Production.INFO: 38.25 MB #Memory Used#
[2025-04-12 05:00:01] Production.INFO: ==31879== Lock acquired, processing the job...
[2025-04-12 05:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 05:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 05:00:01] Production.INFO: neon service started
[2025-04-12 05:00:01] Production.INFO: neon service started
[2025-04-12 05:00:01] Production.INFO: ==31879== Releasing lock...
[2025-04-12 05:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 05:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 04:00:02] Production.INFO: ==31883== Lock acquired, processing the job...
[2025-04-12 04:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 04:00:02] Production.INFO: ==31883== Releasing lock...
[2025-04-12 04:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 04:00:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 00:00:02] Production.INFO: ==31881== Lock acquired, processing the job...
[2025-04-12 00:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 00:00:02] Production.INFO: ==31881== Releasing lock...
[2025-04-12 00:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 00:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 00:00:03] Production.INFO: ==31888== Lock acquired, processing the job...
[2025-04-12 00:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 00:00:03] Production.INFO: ==31892== Lock acquired, processing the job...
[2025-04-12 00:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 00:00:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 00:00:03] Production.INFO: ==31894== Lock acquired, processing the job...
[2025-04-12 00:00:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 00:00:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 00:00:03] Production.INFO: ==31898== Lock acquired, processing the job...
[2025-04-12 00:00:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 00:00:03] Production.INFO: ==31896== Lock acquired, processing the job...
[2025-04-12 00:00:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 00:00:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 00:00:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 00:00:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 00:00:03] Production.INFO: Account Balance Start.
[2025-04-12 00:00:03] Production.INFO: CreateAllLog Start
[2025-04-12 00:00:03] Production.INFO: ==31886== Lock acquired, processing the job...
[2025-04-12 00:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 00:00:03] Production.INFO: ==31890== Lock acquired, processing the job...
[2025-04-12 00:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 00:00:03] Production.INFO: ==31900== Lock acquired, processing the job...
[2025-04-12 00:00:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 00:00:03] Production.INFO: 117
[2025-04-12 00:00:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 00:00:03] Production.INFO: Date 2025-04-08
[2025-04-12 00:00:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 00:00:04] Production.INFO: Date 2025-04-09
[2025-04-12 00:00:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 00:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 00:00:04] Production.ERROR: CronJob PID - 31888
[2025-04-12 00:00:04] Production.ERROR: CronJob Title - System Alerts
[2025-04-12 00:00:04] Production.ERROR: CronJob ID - 5
[2025-04-12 00:00:04] Production.ERROR: CronJob Last Run Time 2025-04-12 00:00:00
[2025-04-12 00:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 00:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 00:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 00:00:04] Production.ERROR: CronJob PID - 31890
[2025-04-12 00:00:04] Production.ERROR: CronJob Title - Account Block
[2025-04-12 00:00:04] Production.ERROR: CronJob ID - 7
[2025-04-12 00:00:04] Production.ERROR: CronJob Last Run Time 2025-04-12 00:00:00
[2025-04-12 00:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 00:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 00:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 00:00:04] Production.ERROR: CronJob PID - 31892
[2025-04-12 00:00:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-04-12 00:00:04] Production.ERROR: CronJob ID - 10
[2025-04-12 00:00:04] Production.INFO: Date 2025-04-10
[2025-04-12 00:00:04] Production.ERROR: CronJob Last Run Time 2025-04-12 00:00:00
[2025-04-12 00:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 00:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 00:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 00:00:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:00:04] Production.ERROR: CronJob PID - 31894
[2025-04-12 00:00:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-04-12 00:00:04] Production.ERROR: CronJob ID - 12
[2025-04-12 00:00:04] Production.ERROR: CronJob Last Run Time 2025-04-12 00:00:00
[2025-04-12 00:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 00:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 00:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 00:00:04] Production.ERROR: CronJob PID - 31896
[2025-04-12 00:00:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-04-12 00:00:04] Production.ERROR: CronJob ID - 16
[2025-04-12 00:00:04] Production.ERROR: CronJob Last Run Time 2025-04-12 00:00:00
[2025-04-12 00:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 00:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 00:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 00:00:04] Production.ERROR: CronJob PID - 31898
[2025-04-12 00:00:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-04-12 00:00:04] Production.ERROR: CronJob ID - 17
[2025-04-12 00:00:04] Production.ERROR: CronJob Last Run Time 2025-04-12 00:00:00
[2025-04-12 00:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 00:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 00:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 00:00:04] Production.INFO: ==31886== Releasing lock...
[2025-04-12 00:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 00:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 00:00:04] Production.INFO: Date 2025-04-11
[2025-04-12 00:00:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 00:00:04] Production.INFO: count ==12
[2025-04-12 00:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 00:00:04] Production.INFO: count ==23
[2025-04-12 00:00:04] Production.INFO: Date 2025-04-12
[2025-04-12 00:00:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887742') start
[2025-04-12 00:00:04] Production.ERROR: done
[2025-04-12 00:00:04] Production.INFO: Total Charge 0
[2025-04-12 00:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887742') end
[2025-04-12 00:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 00:00:04] Production.INFO: 1
[2025-04-12 00:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 00:00:04] Production.ERROR: done
[2025-04-12 00:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 00:00:04] Production.INFO: CreateAllLog End
[2025-04-12 00:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 00:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14887743', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 00:00:04] Production.INFO: ==31890== Releasing lock...
[2025-04-12 00:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 00:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 00:00:04] Production.INFO: ==31900== Releasing lock...
[2025-04-12 00:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 00:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 00:00:04] Production.ERROR: done
[2025-04-12 00:00:04] Production.INFO: Account Balance End.
[2025-04-12 00:00:04] Production.ERROR: CronJobId end 12
[2025-04-12 00:00:04] Production.INFO: ==31894== Releasing lock...
[2025-04-12 00:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 00:00:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 00:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 21:00:06
[end_date_ymd] => 2025-04-12 00:00:06
[RateCDR] => 1
)
[2025-04-12 00:00:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 21:00:06' and `end` < '2025-04-12 00:00:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 00:00:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14887743', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 00:00:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 00:00:08] Production.INFO: ProcessCDR(1,14887743,1,1,2)
[2025-04-12 00:00:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14887743,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:00:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14887743,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:00:08] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 00:00:08] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 00:00:08] Production.INFO: ==31898== Releasing lock...
[2025-04-12 00:00:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 00:00:08] Production.INFO: 26 MB #Memory Used#
[2025-04-12 00:00:13] Production.ERROR: CronJobId end10
[2025-04-12 00:00:13] Production.INFO: ==31892== Releasing lock...
[2025-04-12 00:00:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 00:00:13] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 00:00:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 00:00:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 00:00:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 00:00:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 00:00:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 00:00:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 00:00:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 00:00:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 00:00:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 00:00:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 00:00:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 00:00:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 00:00:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 00:00:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 00:00:16] Production.INFO: call_cost start
[2025-04-12 00:00:16] Production.INFO: call_cost end
[2025-04-12 00:00:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 00:00:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 00:00:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 00:00:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 00:00:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 00:00:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 00:00:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 00:00:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 00:00:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 00:00:17] Production.INFO: ==31888== Releasing lock...
[2025-04-12 00:00:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 00:00:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 00:00:20] Production.INFO: count ==1300
[2025-04-12 00:00:20] Production.ERROR: pbx CDR StartTime 2025-04-11 21:00:06 - End Time 2025-04-12 00:00:06
[2025-04-12 00:00:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 00:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887744', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887744', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887744', 'tblTempVendorCDR_20' ) start
[2025-04-12 00:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887744', 'tblTempVendorCDR_20' ) end
[2025-04-12 00:00:20] Production.INFO: ProcessCDR(1,14887744,1,1,2)
[2025-04-12 00:00:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887744,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:00:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887744,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:00:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887744,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:00:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887744,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887744', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887744', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:00:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 00:00:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 00:00:26] Production.INFO: ==31896== Releasing lock...
[2025-04-12 00:00:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 00:00:26] Production.INFO: 39 MB #Memory Used#
[2025-04-12 05:01:01] Production.INFO: ==31981== Lock acquired, processing the job...
[2025-04-12 05:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 05:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 05:01:01] Production.INFO: neon service started
[2025-04-12 05:01:01] Production.INFO: neon service started
[2025-04-12 05:01:01] Production.INFO: ==31981== Releasing lock...
[2025-04-12 05:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 05:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 04:01:02] Production.INFO: ==31992== Lock acquired, processing the job...
[2025-04-12 04:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 04:01:02] Production.INFO: ==31992== Releasing lock...
[2025-04-12 04:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 04:01:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 00:01:02] Production.INFO: ==31990== Lock acquired, processing the job...
[2025-04-12 00:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 00:01:02] Production.INFO: ==31990== Releasing lock...
[2025-04-12 00:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 00:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 00:01:03] Production.INFO: ==31994== Lock acquired, processing the job...
[2025-04-12 00:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 00:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 00:01:03] Production.INFO: ==31998== Lock acquired, processing the job...
[2025-04-12 00:01:03] Production.INFO: createsummary-command-createsummary-companyid-1-cronjobid-9 #Starts#
[2025-04-12 00:01:03] Production.INFO: ==31996== Lock acquired, processing the job...
[2025-04-12 00:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 00:01:03] Production.INFO: ==32002== Lock acquired, processing the job...
[2025-04-12 00:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 00:01:04] Production.INFO: ==32006== Lock acquired, processing the job...
[2025-04-12 00:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 00:01:04] Production.INFO: ==32000== Lock acquired, processing the job...
[2025-04-12 00:01:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 00:01:04] Production.INFO: ==32004== Lock acquired, processing the job...
[2025-04-12 00:01:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 00:01:04] Production.INFO: Account Balance Start.
[2025-04-12 00:01:04] Production.INFO: CreateAllLog Start
[2025-04-12 00:01:04] Production.INFO: 117
[2025-04-12 00:01:04] Production.INFO: Date 2025-04-08
[2025-04-12 00:01:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 00:01:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 00:01:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 00:01:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 00:01:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 00:01:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 00:01:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:01:04] Production.INFO: Date 2025-04-09
[2025-04-12 00:01:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:01:04] Production.INFO: Date 2025-04-10
[2025-04-12 00:01:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:01:04] Production.INFO: count ==12
[2025-04-12 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-12 00:01:04] Production.INFO: count ==23
[2025-04-12 00:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887748') start
[2025-04-12 00:01:04] Production.INFO: Date 2025-04-11
[2025-04-12 00:01:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:01:04] Production.INFO: ==31996== Releasing lock...
[2025-04-12 00:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 00:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 00:01:04] Production.INFO: Date 2025-04-12
[2025-04-12 00:01:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887748') end
[2025-04-12 00:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 00:01:04] Production.INFO: 1
[2025-04-12 00:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 00:01:04] Production.INFO: Total Charge 0
[2025-04-12 00:01:04] Production.ERROR: done
[2025-04-12 00:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 00:01:04] Production.INFO: CreateAllLog End
[2025-04-12 00:01:04] Production.INFO: ==32006== Releasing lock...
[2025-04-12 00:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 00:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 00:01:04] Production.ERROR: done
[2025-04-12 00:01:05] Production.INFO: Account Balance End.
[2025-04-12 00:01:05] Production.ERROR: CronJobId end 12
[2025-04-12 00:01:05] Production.INFO: ==32002== Releasing lock...
[2025-04-12 00:01:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 00:01:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 00:01:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 21:01:06
[end_date_ymd] => 2025-04-12 00:01:06
[RateCDR] => 1
)
[2025-04-12 00:01:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 21:01:06' and `end` < '2025-04-12 00:01:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 00:01:11] Production.ERROR: tmp_tblUsageDetailsReport_120250408 done
[2025-04-12 00:01:11] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250408 done
[2025-04-12 00:01:11] Production.ERROR: DELETE FROM tmp_tblUsageDetailsReport_120250408
[2025-04-12 00:01:13] Production.INFO: call prc_generateSummary(1,'2025-04-08','2025-04-08','120250408')
[2025-04-12 00:01:19] Production.INFO: call prc_generateVendorSummary(1,'2025-04-08','2025-04-08','120250408')
[2025-04-12 00:01:20] Production.ERROR: CronJobId end10
[2025-04-12 00:01:20] Production.INFO: ==32000== Releasing lock...
[2025-04-12 00:01:20] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 00:01:20] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 00:01:20] Production.INFO: count ==1244
[2025-04-12 00:01:21] Production.ERROR: pbx CDR StartTime 2025-04-11 21:01:06 - End Time 2025-04-12 00:01:06
[2025-04-12 00:01:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 00:01:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887749', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:01:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887749', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:01:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887749', 'tblTempVendorCDR_20' ) start
[2025-04-12 00:01:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887749', 'tblTempVendorCDR_20' ) end
[2025-04-12 00:01:21] Production.INFO: ProcessCDR(1,14887749,1,1,2)
[2025-04-12 00:01:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887749,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:01:21] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 00:01:21] Production.INFO: ============== Balance Warning START===========
[2025-04-12 00:01:21] Production.INFO: ============== Balance Warning END===========
[2025-04-12 00:01:21] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 00:01:21] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 00:01:21] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 00:01:21] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 00:01:21] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 00:01:21] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 00:01:21] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 00:01:21] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 00:01:21] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 00:01:21] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 00:01:21] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 00:01:21] Production.INFO: call_cost start
[2025-04-12 00:01:21] Production.INFO: call_cost end
[2025-04-12 00:01:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887749,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:01:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887749,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:01:23] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 00:01:23] Production.INFO: ============== Report Schedule START===========
[2025-04-12 00:01:23] Production.INFO: ============== Report Schedule END===========
[2025-04-12 00:01:23] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 00:01:23] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 00:01:23] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 00:01:23] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 00:01:23] Production.INFO: ============== Deal alert START===========
[2025-04-12 00:01:23] Production.INFO: ============== Deal alert END===========
[2025-04-12 00:01:23] Production.INFO: ==31994== Releasing lock...
[2025-04-12 00:01:23] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 00:01:23] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 00:01:24] Production.ERROR: tmp_tblUsageDetailsReport_120250409 done
[2025-04-12 00:01:24] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250409 done
[2025-04-12 00:01:24] Production.ERROR: DELETE FROM tmp_tblUsageDetailsReport_120250409
[2025-04-12 00:01:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887749,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:01:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887749', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:01:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887749', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:01:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 00:01:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 00:01:25] Production.INFO: ==32004== Releasing lock...
[2025-04-12 00:01:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 00:01:25] Production.INFO: 38 MB #Memory Used#
[2025-04-12 00:01:25] Production.INFO: call prc_generateSummary(1,'2025-04-09','2025-04-09','120250409')
[2025-04-12 00:01:28] Production.INFO: call prc_generateVendorSummary(1,'2025-04-09','2025-04-09','120250409')
[2025-04-12 00:01:31] Production.ERROR: tmp_tblUsageDetailsReport_120250410 done
[2025-04-12 00:01:31] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250410 done
[2025-04-12 00:01:31] Production.ERROR: DELETE FROM tmp_tblUsageDetailsReport_120250410
[2025-04-12 00:01:32] Production.INFO: call prc_generateSummary(1,'2025-04-10','2025-04-10','120250410')
[2025-04-12 00:01:35] Production.INFO: call prc_generateVendorSummary(1,'2025-04-10','2025-04-10','120250410')
[2025-04-12 00:01:38] Production.ERROR: tmp_tblUsageDetailsReport_120250411 done
[2025-04-12 00:01:38] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250411 done
[2025-04-12 00:01:38] Production.ERROR: DELETE FROM tmp_tblUsageDetailsReport_120250411
[2025-04-12 00:01:38] Production.INFO: call prc_generateSummary(1,'2025-04-11','2025-04-11','120250411')
[2025-04-12 00:01:41] Production.INFO: call prc_generateVendorSummary(1,'2025-04-11','2025-04-11','120250411')
[2025-04-12 00:01:45] Production.ERROR: CronJobId end9
[2025-04-12 00:01:45] Production.INFO: ==31998== Releasing lock...
[2025-04-12 00:01:45] Production.INFO: createsummary-command-createsummary-companyid-1-cronjobid-9 #Stops#
[2025-04-12 00:01:45] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 05:02:01] Production.INFO: ==32081== Lock acquired, processing the job...
[2025-04-12 05:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 05:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 05:02:01] Production.INFO: neon service started
[2025-04-12 05:02:01] Production.INFO: neon service started
[2025-04-12 05:02:01] Production.INFO: ==32081== Releasing lock...
[2025-04-12 05:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 05:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 00:02:01] Production.INFO: ==32083== Lock acquired, processing the job...
[2025-04-12 00:02:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 00:02:02] Production.INFO: ==32083== Releasing lock...
[2025-04-12 00:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 00:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 04:02:02] Production.INFO: ==32085== Lock acquired, processing the job...
[2025-04-12 04:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 04:02:02] Production.INFO: ==32085== Releasing lock...
[2025-04-12 04:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 04:02:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 00:02:03] Production.INFO: ==32090== Lock acquired, processing the job...
[2025-04-12 00:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 00:02:03] Production.INFO: ==32096== Lock acquired, processing the job...
[2025-04-12 00:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 00:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 00:02:03] Production.INFO: ==32088== Lock acquired, processing the job...
[2025-04-12 00:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 00:02:03] Production.INFO: ==32092== Lock acquired, processing the job...
[2025-04-12 00:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 00:02:03] Production.INFO: ==32094== Lock acquired, processing the job...
[2025-04-12 00:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 00:02:03] Production.INFO: ==32098== Lock acquired, processing the job...
[2025-04-12 00:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 00:02:03] Production.ERROR: done
[2025-04-12 00:02:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 00:02:03] Production.INFO: Account Balance Start.
[2025-04-12 00:02:03] Production.INFO: CreateAllLog Start
[2025-04-12 00:02:03] Production.INFO: 117
[2025-04-12 00:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 00:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 00:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 00:02:03] Production.INFO: Date 2025-04-08
[2025-04-12 00:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 00:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 00:02:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:02:03] Production.INFO: Date 2025-04-09
[2025-04-12 00:02:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:02:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 00:02:03] Production.INFO: Date 2025-04-10
[2025-04-12 00:02:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:02:03] Production.INFO: count ==12
[2025-04-12 00:02:03] Production.ERROR: done
[2025-04-12 00:02:03] Production.INFO: Date 2025-04-11
[2025-04-12 00:02:03] Production.INFO: Reseller ==> 0
[2025-04-12 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-12 00:02:03] Production.INFO: ==32090== Releasing lock...
[2025-04-12 00:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 00:02:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 00:02:03] Production.INFO: count ==23
[2025-04-12 00:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887753') start
[2025-04-12 00:02:03] Production.INFO: Date 2025-04-12
[2025-04-12 00:02:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:02:04] Production.INFO: Total Charge 0
[2025-04-12 00:02:04] Production.INFO: CreateAllLog End
[2025-04-12 00:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887753') end
[2025-04-12 00:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 00:02:04] Production.INFO: 1
[2025-04-12 00:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 00:02:04] Production.INFO: ==32098== Releasing lock...
[2025-04-12 00:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 00:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 00:02:04] Production.INFO: Account Balance End.
[2025-04-12 00:02:04] Production.ERROR: CronJobId end 12
[2025-04-12 00:02:04] Production.INFO: ==32094== Releasing lock...
[2025-04-12 00:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 00:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 00:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 21:02:05
[end_date_ymd] => 2025-04-12 00:02:05
[RateCDR] => 1
)
[2025-04-12 00:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 21:02:05' and `end` < '2025-04-12 00:02:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 00:02:11] Production.ERROR: CronJobId end10
[2025-04-12 00:02:11] Production.INFO: ==32092== Releasing lock...
[2025-04-12 00:02:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 00:02:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 00:02:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 00:02:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 00:02:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 00:02:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 00:02:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 00:02:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 00:02:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 00:02:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 00:02:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 00:02:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 00:02:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 00:02:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 00:02:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 00:02:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 00:02:14] Production.INFO: call_cost start
[2025-04-12 00:02:14] Production.INFO: call_cost end
[2025-04-12 00:02:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 00:02:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 00:02:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 00:02:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 00:02:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 00:02:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 00:02:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 00:02:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 00:02:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 00:02:15] Production.INFO: ==32088== Releasing lock...
[2025-04-12 00:02:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 00:02:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 00:02:18] Production.INFO: count ==725
[2025-04-12 00:02:18] Production.ERROR: pbx CDR StartTime 2025-04-11 21:02:05 - End Time 2025-04-12 00:02:05
[2025-04-12 00:02:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 00:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887754', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887754', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887754', 'tblTempVendorCDR_20' ) start
[2025-04-12 00:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887754', 'tblTempVendorCDR_20' ) end
[2025-04-12 00:02:18] Production.INFO: ProcessCDR(1,14887754,1,1,2)
[2025-04-12 00:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887754,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:02:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887754,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:02:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887754,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:02:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887754,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:02:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887754', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:02:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887754', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:02:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 00:02:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 00:02:23] Production.INFO: ==32096== Releasing lock...
[2025-04-12 00:02:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 00:02:23] Production.INFO: 34.75 MB #Memory Used#
[2025-04-12 05:03:01] Production.INFO: ==32171== Lock acquired, processing the job...
[2025-04-12 05:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 05:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 05:03:01] Production.INFO: neon service started
[2025-04-12 05:03:01] Production.INFO: neon service started
[2025-04-12 05:03:01] Production.INFO: ==32171== Releasing lock...
[2025-04-12 05:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 05:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 04:03:02] Production.INFO: ==32176== Lock acquired, processing the job...
[2025-04-12 04:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 04:03:02] Production.INFO: ==32176== Releasing lock...
[2025-04-12 04:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 04:03:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 00:03:02] Production.INFO: ==32174== Lock acquired, processing the job...
[2025-04-12 00:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 00:03:02] Production.INFO: ==32174== Releasing lock...
[2025-04-12 00:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 00:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 00:03:03] Production.INFO: ==32185== Lock acquired, processing the job...
[2025-04-12 00:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 00:03:03] Production.INFO: ==32187== Lock acquired, processing the job...
[2025-04-12 00:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 00:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 00:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 00:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 00:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 00:03:03] Production.INFO: ==32181== Lock acquired, processing the job...
[2025-04-12 00:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 00:03:03] Production.INFO: ==32183== Lock acquired, processing the job...
[2025-04-12 00:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 00:03:03] Production.INFO: Account Balance Start.
[2025-04-12 00:03:03] Production.INFO: CreateAllLog Start
[2025-04-12 00:03:03] Production.INFO: 117
[2025-04-12 00:03:03] Production.INFO: Date 2025-04-08
[2025-04-12 00:03:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:03:03] Production.INFO: ==32189== Lock acquired, processing the job...
[2025-04-12 00:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 00:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 00:03:03] Production.INFO: Date 2025-04-09
[2025-04-12 00:03:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:03:03] Production.INFO: ==32192== Lock acquired, processing the job...
[2025-04-12 00:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 00:03:03] Production.INFO: Date 2025-04-10
[2025-04-12 00:03:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:03:03] Production.INFO: Date 2025-04-11
[2025-04-12 00:03:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:03:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 00:03:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 00:03:04] Production.INFO: Date 2025-04-12
[2025-04-12 00:03:04] Production.INFO: count ==12
[2025-04-12 00:03:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:03:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 00:03:04] Production.INFO: count ==23
[2025-04-12 00:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887758') start
[2025-04-12 00:03:04] Production.INFO: Total Charge 0
[2025-04-12 00:03:04] Production.INFO: CreateAllLog End
[2025-04-12 00:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887758') end
[2025-04-12 00:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 00:03:04] Production.INFO: 1
[2025-04-12 00:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 00:03:04] Production.INFO: ==32192== Releasing lock...
[2025-04-12 00:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 00:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 00:03:04] Production.INFO: ==32183== Releasing lock...
[2025-04-12 00:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 00:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 00:03:04] Production.ERROR: done
[2025-04-12 00:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 00:03:04] Production.INFO: Account Balance End.
[2025-04-12 00:03:04] Production.ERROR: CronJobId end 12
[2025-04-12 00:03:04] Production.INFO: ==32187== Releasing lock...
[2025-04-12 00:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 00:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 00:03:04] Production.ERROR: done
[2025-04-12 00:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 21:03:05
[end_date_ymd] => 2025-04-12 00:03:05
[RateCDR] => 1
)
[2025-04-12 00:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 21:03:05' and `end` < '2025-04-12 00:03:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 00:03:12] Production.ERROR: CronJobId end10
[2025-04-12 00:03:12] Production.INFO: ==32185== Releasing lock...
[2025-04-12 00:03:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 00:03:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 00:03:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 00:03:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 00:03:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 00:03:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 00:03:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 00:03:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 00:03:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 00:03:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 00:03:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 00:03:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 00:03:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 00:03:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 00:03:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 00:03:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 00:03:15] Production.INFO: call_cost start
[2025-04-12 00:03:15] Production.INFO: call_cost end
[2025-04-12 00:03:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 00:03:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 00:03:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 00:03:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 00:03:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 00:03:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 00:03:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 00:03:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 00:03:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 00:03:16] Production.INFO: ==32181== Releasing lock...
[2025-04-12 00:03:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 00:03:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 00:03:18] Production.INFO: count ==725
[2025-04-12 00:03:19] Production.ERROR: pbx CDR StartTime 2025-04-11 21:03:05 - End Time 2025-04-12 00:03:05
[2025-04-12 00:03:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 00:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887759', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887759', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887759', 'tblTempVendorCDR_20' ) start
[2025-04-12 00:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887759', 'tblTempVendorCDR_20' ) end
[2025-04-12 00:03:19] Production.INFO: ProcessCDR(1,14887759,1,1,2)
[2025-04-12 00:03:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887759,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:03:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887759,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:03:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887759,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:03:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887759,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887759', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887759', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:03:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 00:03:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 00:03:22] Production.INFO: ==32189== Releasing lock...
[2025-04-12 00:03:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 00:03:22] Production.INFO: 34.75 MB #Memory Used#
[2025-04-12 05:04:01] Production.INFO: ==32269== Lock acquired, processing the job...
[2025-04-12 05:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 05:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 05:04:01] Production.INFO: neon service started
[2025-04-12 05:04:01] Production.INFO: neon service started
[2025-04-12 05:04:01] Production.INFO: ==32269== Releasing lock...
[2025-04-12 05:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 05:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 00:04:01] Production.INFO: ==32271== Lock acquired, processing the job...
[2025-04-12 00:04:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 00:04:02] Production.INFO: ==32271== Releasing lock...
[2025-04-12 00:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 00:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 04:04:02] Production.INFO: ==32273== Lock acquired, processing the job...
[2025-04-12 04:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 04:04:02] Production.INFO: ==32273== Releasing lock...
[2025-04-12 04:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 04:04:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 00:04:02] Production.INFO: ==32276== Lock acquired, processing the job...
[2025-04-12 00:04:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 00:04:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 00:04:02] Production.INFO: ==32280== Lock acquired, processing the job...
[2025-04-12 00:04:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 00:04:03] Production.INFO: ==32284== Lock acquired, processing the job...
[2025-04-12 00:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 00:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 00:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 00:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 00:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 00:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 00:04:03] Production.INFO: ==32278== Lock acquired, processing the job...
[2025-04-12 00:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 00:04:03] Production.INFO: ==32282== Lock acquired, processing the job...
[2025-04-12 00:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 00:04:03] Production.INFO: ==32286== Lock acquired, processing the job...
[2025-04-12 00:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 00:04:03] Production.ERROR: done
[2025-04-12 00:04:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 00:04:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 00:04:03] Production.INFO: count ==12
[2025-04-12 00:04:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 00:04:03] Production.INFO: count ==23
[2025-04-12 00:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887761') start
[2025-04-12 00:04:03] Production.INFO: Account Balance Start.
[2025-04-12 00:04:03] Production.INFO: CreateAllLog Start
[2025-04-12 00:04:03] Production.INFO: 117
[2025-04-12 00:04:03] Production.ERROR: done
[2025-04-12 00:04:03] Production.INFO: Date 2025-04-08
[2025-04-12 00:04:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:04:03] Production.INFO: Date 2025-04-09
[2025-04-12 00:04:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887761') end
[2025-04-12 00:04:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 00:04:03] Production.INFO: 1
[2025-04-12 00:04:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 00:04:03] Production.INFO: Date 2025-04-10
[2025-04-12 00:04:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:04:03] Production.INFO: ==32286== Releasing lock...
[2025-04-12 00:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 00:04:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 00:04:03] Production.INFO: Date 2025-04-11
[2025-04-12 00:04:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:04:03] Production.INFO: Date 2025-04-12
[2025-04-12 00:04:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:04:03] Production.INFO: Total Charge 0
[2025-04-12 00:04:04] Production.INFO: ==32278== Releasing lock...
[2025-04-12 00:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 00:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 00:04:04] Production.INFO: CreateAllLog End
[2025-04-12 00:04:04] Production.INFO: Account Balance End.
[2025-04-12 00:04:04] Production.ERROR: CronJobId end 12
[2025-04-12 00:04:04] Production.INFO: ==32282== Releasing lock...
[2025-04-12 00:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 00:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 00:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 21:04:05
[end_date_ymd] => 2025-04-12 00:04:05
[RateCDR] => 1
)
[2025-04-12 00:04:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 21:04:05' and `end` < '2025-04-12 00:04:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 00:04:11] Production.ERROR: CronJobId end10
[2025-04-12 00:04:11] Production.INFO: ==32280== Releasing lock...
[2025-04-12 00:04:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 00:04:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 00:04:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 00:04:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 00:04:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 00:04:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 00:04:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 00:04:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 00:04:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 00:04:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 00:04:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 00:04:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 00:04:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 00:04:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 00:04:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 00:04:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 00:04:14] Production.INFO: call_cost start
[2025-04-12 00:04:14] Production.INFO: call_cost end
[2025-04-12 00:04:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 00:04:14] Production.INFO: ============== Report Schedule START===========
[2025-04-12 00:04:14] Production.INFO: ============== Report Schedule END===========
[2025-04-12 00:04:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 00:04:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 00:04:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 00:04:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 00:04:14] Production.INFO: ============== Deal alert START===========
[2025-04-12 00:04:14] Production.INFO: ============== Deal alert END===========
[2025-04-12 00:04:14] Production.INFO: ==32276== Releasing lock...
[2025-04-12 00:04:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 00:04:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 00:04:27] Production.INFO: count ==725
[2025-04-12 00:04:27] Production.ERROR: pbx CDR StartTime 2025-04-11 21:04:05 - End Time 2025-04-12 00:04:05
[2025-04-12 00:04:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 00:04:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887764', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:04:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887764', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:04:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887764', 'tblTempVendorCDR_20' ) start
[2025-04-12 00:04:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887764', 'tblTempVendorCDR_20' ) end
[2025-04-12 00:04:27] Production.INFO: ProcessCDR(1,14887764,1,1,2)
[2025-04-12 00:04:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887764,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:04:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887764,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:04:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887764,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:04:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887764,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:04:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887764', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:04:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887764', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:04:31] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 00:04:31] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 00:04:31] Production.INFO: ==32284== Releasing lock...
[2025-04-12 00:04:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 00:04:31] Production.INFO: 34.75 MB #Memory Used#
[2025-04-12 05:05:01] Production.INFO: ==32360== Lock acquired, processing the job...
[2025-04-12 05:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 05:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 05:05:01] Production.INFO: neon service started
[2025-04-12 05:05:01] Production.INFO: neon service started
[2025-04-12 05:05:01] Production.INFO: ==32360== Releasing lock...
[2025-04-12 05:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 05:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 04:05:02] Production.INFO: ==32364== Lock acquired, processing the job...
[2025-04-12 04:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 04:05:02] Production.INFO: ==32364== Releasing lock...
[2025-04-12 04:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 04:05:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 00:05:02] Production.INFO: ==32362== Lock acquired, processing the job...
[2025-04-12 00:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 00:05:02] Production.INFO: ==32362== Releasing lock...
[2025-04-12 00:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 00:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 00:05:03] Production.INFO: ==32371== Lock acquired, processing the job...
[2025-04-12 00:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 00:05:03] Production.INFO: ==32375== Lock acquired, processing the job...
[2025-04-12 00:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 00:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 00:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 00:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 00:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 00:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 00:05:03] Production.INFO: ==32369== Lock acquired, processing the job...
[2025-04-12 00:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 00:05:03] Production.INFO: ==32367== Lock acquired, processing the job...
[2025-04-12 00:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 00:05:03] Production.INFO: ==32373== Lock acquired, processing the job...
[2025-04-12 00:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 00:05:03] Production.INFO: ==32377== Lock acquired, processing the job...
[2025-04-12 00:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 00:05:04] Production.ERROR: done
[2025-04-12 00:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 00:05:04] Production.INFO: Account Balance Start.
[2025-04-12 00:05:04] Production.INFO: CreateAllLog Start
[2025-04-12 00:05:04] Production.INFO: 117
[2025-04-12 00:05:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 00:05:04] Production.INFO: Date 2025-04-08
[2025-04-12 00:05:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:05:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 00:05:04] Production.INFO: count ==12
[2025-04-12 00:05:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 00:05:04] Production.INFO: count ==23
[2025-04-12 00:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887765') start
[2025-04-12 00:05:04] Production.ERROR: done
[2025-04-12 00:05:04] Production.INFO: Date 2025-04-09
[2025-04-12 00:05:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:05:04] Production.INFO: Date 2025-04-10
[2025-04-12 00:05:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:05:04] Production.INFO: Date 2025-04-11
[2025-04-12 00:05:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:05:04] Production.INFO: Date 2025-04-12
[2025-04-12 00:05:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887765') end
[2025-04-12 00:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 00:05:04] Production.INFO: 1
[2025-04-12 00:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 00:05:04] Production.INFO: ==32377== Releasing lock...
[2025-04-12 00:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 00:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 00:05:04] Production.INFO: ==32369== Releasing lock...
[2025-04-12 00:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 00:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 00:05:04] Production.INFO: Total Charge 0
[2025-04-12 00:05:04] Production.INFO: CreateAllLog End
[2025-04-12 00:05:04] Production.INFO: Account Balance End.
[2025-04-12 00:05:04] Production.ERROR: CronJobId end 12
[2025-04-12 00:05:04] Production.INFO: ==32373== Releasing lock...
[2025-04-12 00:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 00:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 00:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 21:05:05
[end_date_ymd] => 2025-04-12 00:05:05
[RateCDR] => 1
)
[2025-04-12 00:05:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 21:05:05' and `end` < '2025-04-12 00:05:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 00:05:12] Production.ERROR: CronJobId end10
[2025-04-12 00:05:12] Production.INFO: ==32371== Releasing lock...
[2025-04-12 00:05:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 00:05:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 00:05:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 00:05:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 00:05:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 00:05:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 00:05:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 00:05:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 00:05:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 00:05:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 00:05:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 00:05:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 00:05:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 00:05:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 00:05:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 00:05:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 00:05:15] Production.INFO: call_cost start
[2025-04-12 00:05:15] Production.INFO: call_cost end
[2025-04-12 00:05:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 00:05:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 00:05:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 00:05:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 00:05:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 00:05:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 00:05:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 00:05:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 00:05:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 00:05:16] Production.INFO: ==32367== Releasing lock...
[2025-04-12 00:05:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 00:05:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 00:05:33] Production.INFO: count ==725
[2025-04-12 00:05:33] Production.ERROR: pbx CDR StartTime 2025-04-11 21:05:05 - End Time 2025-04-12 00:05:05
[2025-04-12 00:05:33] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 00:05:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887769', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:05:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887769', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:05:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887769', 'tblTempVendorCDR_20' ) start
[2025-04-12 00:05:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887769', 'tblTempVendorCDR_20' ) end
[2025-04-12 00:05:33] Production.INFO: ProcessCDR(1,14887769,1,1,2)
[2025-04-12 00:05:33] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887769,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:05:35] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887769,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:05:35] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887769,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:05:37] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887769,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:05:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887769', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:05:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887769', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:05:37] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 00:05:37] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 00:05:37] Production.INFO: ==32375== Releasing lock...
[2025-04-12 00:05:37] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 00:05:37] Production.INFO: 34.75 MB #Memory Used#
[2025-04-12 05:06:02] Production.INFO: ==32458== Lock acquired, processing the job...
[2025-04-12 05:06:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 05:06:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 05:06:02] Production.INFO: neon service started
[2025-04-12 05:06:02] Production.INFO: neon service started
[2025-04-12 05:06:02] Production.INFO: ==32458== Releasing lock...
[2025-04-12 05:06:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 05:06:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 00:06:03] Production.INFO: ==32460== Lock acquired, processing the job...
[2025-04-12 00:06:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 04:06:03] Production.INFO: ==32462== Lock acquired, processing the job...
[2025-04-12 04:06:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 04:06:03] Production.INFO: ==32462== Releasing lock...
[2025-04-12 04:06:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 04:06:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 00:06:03] Production.INFO: ==32460== Releasing lock...
[2025-04-12 00:06:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 00:06:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 00:06:04] Production.INFO: ==32471== Lock acquired, processing the job...
[2025-04-12 00:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 00:06:04] Production.INFO: ==32469== Lock acquired, processing the job...
[2025-04-12 00:06:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 00:06:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 00:06:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 00:06:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 00:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 00:06:04] Production.INFO: ==32465== Lock acquired, processing the job...
[2025-04-12 00:06:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 00:06:04] Production.INFO: ==32467== Lock acquired, processing the job...
[2025-04-12 00:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 00:06:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 00:06:04] Production.INFO: Account Balance Start.
[2025-04-12 00:06:04] Production.INFO: CreateAllLog Start
[2025-04-12 00:06:04] Production.INFO: 117
[2025-04-12 00:06:04] Production.INFO: Date 2025-04-08
[2025-04-12 00:06:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:06:04] Production.INFO: ==32475== Lock acquired, processing the job...
[2025-04-12 00:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 00:06:04] Production.INFO: ==32473== Lock acquired, processing the job...
[2025-04-12 00:06:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 00:06:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 00:06:04] Production.INFO: Date 2025-04-09
[2025-04-12 00:06:04] Production.INFO: Reseller ==> 0
[2025-04-12 00: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-12 00:06:04] Production.INFO: Date 2025-04-10
[2025-04-12 00:06:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:06:04] Production.INFO: count ==12
[2025-04-12 00:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 00:06:04] Production.INFO: count ==23
[2025-04-12 00:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887773') start
[2025-04-12 00:06:04] Production.INFO: Date 2025-04-11
[2025-04-12 00:06:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:06:04] Production.INFO: ==32467== Releasing lock...
[2025-04-12 00:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 00:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 00:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887773') end
[2025-04-12 00:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 00:06:04] Production.INFO: 1
[2025-04-12 00:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 00:06:05] Production.INFO: Date 2025-04-12
[2025-04-12 00:06:05] Production.INFO: ==32475== Releasing lock...
[2025-04-12 00:06:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 00:06:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 00:06:05] Production.INFO: Reseller ==> 0
[2025-04-12 00:06:05] Production.INFO: Total Charge 0
[2025-04-12 00:06:05] Production.INFO: CreateAllLog End
[2025-04-12 00:06:05] Production.ERROR: done
[2025-04-12 00:06:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 00:06:05] Production.INFO: Account Balance End.
[2025-04-12 00:06:05] Production.ERROR: done
[2025-04-12 00:06:05] Production.ERROR: CronJobId end 12
[2025-04-12 00:06:05] Production.INFO: ==32471== Releasing lock...
[2025-04-12 00:06:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 00:06:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 00:06:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 21:06:06
[end_date_ymd] => 2025-04-12 00:06:06
[RateCDR] => 1
)
[2025-04-12 00: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-11 21:06:06' and `end` < '2025-04-12 00: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-12 00:06:12] Production.ERROR: CronJobId end10
[2025-04-12 00:06:12] Production.INFO: ==32469== Releasing lock...
[2025-04-12 00:06:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 00:06:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 00:06:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 00:06:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 00:06:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 00:06:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 00:06:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 00:06:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 00:06:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 00:06:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 00:06:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 00:06:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 00:06:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 00:06:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 00:06:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 00:06:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 00:06:15] Production.INFO: call_cost start
[2025-04-12 00:06:15] Production.INFO: call_cost end
[2025-04-12 00:06:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 00:06:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 00:06:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 00:06:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 00:06:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 00:06:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 00:06:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 00:06:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 00:06:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 00:06:16] Production.INFO: ==32465== Releasing lock...
[2025-04-12 00:06:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 00:06:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 00:06:30] Production.INFO: count ==723
[2025-04-12 00:06:30] Production.ERROR: pbx CDR StartTime 2025-04-11 21:06:06 - End Time 2025-04-12 00:06:06
[2025-04-12 00:06:30] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 00:06:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887774', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:06:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887774', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:06:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887774', 'tblTempVendorCDR_20' ) start
[2025-04-12 00:06:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887774', 'tblTempVendorCDR_20' ) end
[2025-04-12 00:06:30] Production.INFO: ProcessCDR(1,14887774,1,1,2)
[2025-04-12 00:06:30] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887774,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:06:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887774,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:06:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887774,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:06:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887774,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:06:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887774', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:06:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887774', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:06:33] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 00:06:33] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 00:06:33] Production.INFO: ==32473== Releasing lock...
[2025-04-12 00:06:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 00:06:33] Production.INFO: 34.75 MB #Memory Used#
[2025-04-12 05:07:01] Production.INFO: ==32579== Lock acquired, processing the job...
[2025-04-12 05:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 05:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 05:07:01] Production.INFO: neon service started
[2025-04-12 05:07:01] Production.INFO: neon service started
[2025-04-12 05:07:01] Production.INFO: ==32579== Releasing lock...
[2025-04-12 05:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 05:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 04:07:02] Production.INFO: ==32583== Lock acquired, processing the job...
[2025-04-12 04:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 04:07:02] Production.INFO: ==32583== Releasing lock...
[2025-04-12 04:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 04:07:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 00:07:02] Production.INFO: ==32581== Lock acquired, processing the job...
[2025-04-12 00:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 00:07:02] Production.INFO: ==32581== Releasing lock...
[2025-04-12 00:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 00:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 00:07:03] Production.INFO: ==32590== Lock acquired, processing the job...
[2025-04-12 00:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 00:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 00:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 00:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 00:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 00:07:03] Production.INFO: ==32592== Lock acquired, processing the job...
[2025-04-12 00:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 00:07:03] Production.INFO: ==32594== Lock acquired, processing the job...
[2025-04-12 00:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 00:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 00:07:03] Production.INFO: Account Balance Start.
[2025-04-12 00:07:03] Production.INFO: CreateAllLog Start
[2025-04-12 00:07:03] Production.INFO: 117
[2025-04-12 00:07:03] Production.INFO: Date 2025-04-08
[2025-04-12 00:07:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:07:03] Production.INFO: Date 2025-04-09
[2025-04-12 00:07:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:07:03] Production.INFO: Date 2025-04-10
[2025-04-12 00:07:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:07:03] Production.INFO: Date 2025-04-11
[2025-04-12 00:07:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:07:03] Production.INFO: Date 2025-04-12
[2025-04-12 00:07:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:07:03] Production.ERROR: done
[2025-04-12 00:07:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 00:07:03] Production.INFO: Total Charge 0
[2025-04-12 00:07:03] Production.INFO: ==32588== Lock acquired, processing the job...
[2025-04-12 00:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 00:07:03] Production.INFO: ==32586== Lock acquired, processing the job...
[2025-04-12 00:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 00:07:03] Production.INFO: CreateAllLog End
[2025-04-12 00:07:03] Production.INFO: ==32596== Lock acquired, processing the job...
[2025-04-12 00:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 00:07:04] Production.ERROR: done
[2025-04-12 00:07:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 00:07:04] Production.INFO: Account Balance End.
[2025-04-12 00:07:04] Production.ERROR: CronJobId end 12
[2025-04-12 00:07:04] Production.INFO: ==32592== Releasing lock...
[2025-04-12 00:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 00:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 00:07:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 00:07:04] Production.INFO: count ==12
[2025-04-12 00:07:04] Production.INFO: ==32588== Releasing lock...
[2025-04-12 00:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 00:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 00:07:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 00:07:04] Production.INFO: count ==23
[2025-04-12 00:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887779') start
[2025-04-12 00:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887779') end
[2025-04-12 00:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 00:07:04] Production.INFO: 1
[2025-04-12 00:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 00:07:04] Production.INFO: ==32596== Releasing lock...
[2025-04-12 00:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 00:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 00:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 21:07:05
[end_date_ymd] => 2025-04-12 00:07:05
[RateCDR] => 1
)
[2025-04-12 00:07:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 21:07:05' and `end` < '2025-04-12 00:07:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 00:07:11] Production.ERROR: CronJobId end10
[2025-04-12 00:07:11] Production.INFO: ==32590== Releasing lock...
[2025-04-12 00:07:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 00:07:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 00:07:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 00:07:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 00:07:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 00:07:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 00:07:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 00:07:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 00:07:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 00:07:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 00:07:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 00:07:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 00:07:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 00:07:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 00:07:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 00:07:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 00:07:14] Production.INFO: call_cost start
[2025-04-12 00:07:14] Production.INFO: call_cost end
[2025-04-12 00:07:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 00:07:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 00:07:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 00:07:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 00:07:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 00:07:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 00:07:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 00:07:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 00:07:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 00:07:15] Production.INFO: ==32586== Releasing lock...
[2025-04-12 00:07:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 00:07:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 00:07:29] Production.INFO: count ==723
[2025-04-12 00:07:30] Production.ERROR: pbx CDR StartTime 2025-04-11 21:07:05 - End Time 2025-04-12 00:07:05
[2025-04-12 00:07:30] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 00:07:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887778', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:07:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887778', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:07:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887778', 'tblTempVendorCDR_20' ) start
[2025-04-12 00:07:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887778', 'tblTempVendorCDR_20' ) end
[2025-04-12 00:07:30] Production.INFO: ProcessCDR(1,14887778,1,1,2)
[2025-04-12 00:07:30] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887778,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:07:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887778,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:07:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887778,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:07:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887778,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:07:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887778', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:07:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887778', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:07:33] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 00:07:33] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 00:07:33] Production.INFO: ==32594== Releasing lock...
[2025-04-12 00:07:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 00:07:33] Production.INFO: 34.75 MB #Memory Used#
[2025-04-12 05:08:02] Production.INFO: ==32656== Lock acquired, processing the job...
[2025-04-12 05:08:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 05:08:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 05:08:02] Production.INFO: neon service started
[2025-04-12 05:08:02] Production.INFO: neon service started
[2025-04-12 05:08:02] Production.INFO: ==32656== Releasing lock...
[2025-04-12 05:08:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 05:08:02] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 00:08:02] Production.INFO: ==32658== Lock acquired, processing the job...
[2025-04-12 00:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 04:08:03] Production.INFO: ==32660== Lock acquired, processing the job...
[2025-04-12 04:08:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 00:08:03] Production.INFO: ==32658== Releasing lock...
[2025-04-12 00:08:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 00:08:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 04:08:03] Production.INFO: ==32660== Releasing lock...
[2025-04-12 04:08:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 04:08:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 00:08:03] Production.INFO: ==32664== Lock acquired, processing the job...
[2025-04-12 00:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 00:08:04] Production.INFO: ==32668== Lock acquired, processing the job...
[2025-04-12 00:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 00:08:04] Production.INFO: ==32670== Lock acquired, processing the job...
[2025-04-12 00:08:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 00:08:04] Production.INFO: ==32662== Lock acquired, processing the job...
[2025-04-12 00:08:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 00:08:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 00:08:04] Production.INFO: Account Balance Start.
[2025-04-12 00:08:04] Production.INFO: CreateAllLog Start
[2025-04-12 00:08:04] Production.INFO: 117
[2025-04-12 00:08:04] Production.INFO: Date 2025-04-08
[2025-04-12 00:08:04] Production.INFO: ==32666== Lock acquired, processing the job...
[2025-04-12 00:08:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 00:08:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:08:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 00:08:04] Production.INFO: Date 2025-04-09
[2025-04-12 00:08:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:08:04] Production.INFO: ==32673== Lock acquired, processing the job...
[2025-04-12 00:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 00:08:04] Production.INFO: Date 2025-04-10
[2025-04-12 00:08:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:08:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 00:08:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 00:08:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 00:08:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 00:08:04] Production.INFO: ==32664== Releasing lock...
[2025-04-12 00:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 00:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 00:08:04] Production.INFO: Date 2025-04-11
[2025-04-12 00:08:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:08:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 00:08:04] Production.INFO: Date 2025-04-12
[2025-04-12 00:08:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:08:04] Production.INFO: count ==12
[2025-04-12 00:08:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 00:08:04] Production.INFO: count ==23
[2025-04-12 00:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887783') start
[2025-04-12 00:08:04] Production.ERROR: done
[2025-04-12 00:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 00:08:04] Production.INFO: Total Charge 0
[2025-04-12 00:08:04] Production.INFO: CreateAllLog End
[2025-04-12 00:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887783') end
[2025-04-12 00:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 00:08:04] Production.INFO: 1
[2025-04-12 00:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 00:08:04] Production.INFO: ==32673== Releasing lock...
[2025-04-12 00:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 00:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 00:08:04] Production.ERROR: done
[2025-04-12 00:08:04] Production.INFO: Account Balance End.
[2025-04-12 00:08:04] Production.ERROR: CronJobId end 12
[2025-04-12 00:08:04] Production.INFO: ==32668== Releasing lock...
[2025-04-12 00:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 00:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 00:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 21:08:05
[end_date_ymd] => 2025-04-12 00:08:05
[RateCDR] => 1
)
[2025-04-12 00:08:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 21:08:05' and `end` < '2025-04-12 00:08:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 00:08:12] Production.ERROR: CronJobId end10
[2025-04-12 00:08:12] Production.INFO: ==32666== Releasing lock...
[2025-04-12 00:08:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 00:08:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 00:08:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 00:08:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 00:08:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 00:08:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 00:08:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 00:08:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 00:08:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 00:08:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 00:08:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 00:08:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 00:08:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 00:08:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 00:08:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 00:08:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 00:08:15] Production.INFO: call_cost start
[2025-04-12 00:08:15] Production.INFO: call_cost end
[2025-04-12 00:08:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 00:08:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 00:08:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 00:08:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 00:08:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 00:08:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 00:08:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 00:08:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 00:08:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 00:08:15] Production.INFO: ==32662== Releasing lock...
[2025-04-12 00:08:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 00:08:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 00:08:28] Production.INFO: count ==723
[2025-04-12 00:08:28] Production.ERROR: pbx CDR StartTime 2025-04-11 21:08:05 - End Time 2025-04-12 00:08:05
[2025-04-12 00:08:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 00:08:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887784', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:08:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887784', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:08:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887784', 'tblTempVendorCDR_20' ) start
[2025-04-12 00:08:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887784', 'tblTempVendorCDR_20' ) end
[2025-04-12 00:08:28] Production.INFO: ProcessCDR(1,14887784,1,1,2)
[2025-04-12 00:08:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887784,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:08:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887784,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:08:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887784,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:08:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887784,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:08:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887784', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:08:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887784', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:08:32] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 00:08:32] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 00:08:32] Production.INFO: ==32670== Releasing lock...
[2025-04-12 00:08:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 00:08:32] Production.INFO: 34.75 MB #Memory Used#
[2025-04-12 05:09:01] Production.INFO: ==32736== Lock acquired, processing the job...
[2025-04-12 05:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 05:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 05:09:01] Production.INFO: neon service started
[2025-04-12 05:09:01] Production.INFO: neon service started
[2025-04-12 05:09:01] Production.INFO: ==32736== Releasing lock...
[2025-04-12 05:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 05:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 00:09:02] Production.INFO: ==32738== Lock acquired, processing the job...
[2025-04-12 00:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 04:09:02] Production.INFO: ==32740== Lock acquired, processing the job...
[2025-04-12 04:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 04:09:02] Production.INFO: ==32740== Releasing lock...
[2025-04-12 04:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 04:09:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 00:09:02] Production.INFO: ==32738== Releasing lock...
[2025-04-12 00:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 00:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 00:09:03] Production.INFO: ==32750== Lock acquired, processing the job...
[2025-04-12 00:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 00:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 00:09:03] Production.INFO: ==32753== Lock acquired, processing the job...
[2025-04-12 00:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 00:09:03] Production.INFO: ==32742== Lock acquired, processing the job...
[2025-04-12 00:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 00:09:03] Production.INFO: ==32744== Lock acquired, processing the job...
[2025-04-12 00:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 00:09:03] Production.INFO: ==32746== Lock acquired, processing the job...
[2025-04-12 00:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 00:09:03] Production.INFO: ==32748== Lock acquired, processing the job...
[2025-04-12 00:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 00:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 00:09:03] Production.INFO: Account Balance Start.
[2025-04-12 00:09:03] Production.INFO: CreateAllLog Start
[2025-04-12 00:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 00:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 00:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 00:09:03] Production.INFO: 117
[2025-04-12 00:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 00:09:03] Production.INFO: Date 2025-04-08
[2025-04-12 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-12 00:09:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:09:03] Production.INFO: Date 2025-04-09
[2025-04-12 00:09:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:09:03] Production.INFO: Date 2025-04-10
[2025-04-12 00:09:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:09:03] Production.INFO: count ==12
[2025-04-12 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-12 00:09:03] Production.INFO: count ==23
[2025-04-12 00:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887787') start
[2025-04-12 00:09:03] Production.ERROR: done
[2025-04-12 00:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 00:09:04] Production.INFO: Date 2025-04-11
[2025-04-12 00:09:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:09:04] Production.INFO: Date 2025-04-12
[2025-04-12 00:09:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887787') end
[2025-04-12 00:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 00:09:04] Production.INFO: 1
[2025-04-12 00:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 00:09:04] Production.ERROR: done
[2025-04-12 00:09:04] Production.INFO: ==32753== Releasing lock...
[2025-04-12 00:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 00:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 00:09:04] Production.INFO: Total Charge 0
[2025-04-12 00:09:04] Production.INFO: CreateAllLog End
[2025-04-12 00:09:04] Production.INFO: ==32744== Releasing lock...
[2025-04-12 00:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 00:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 00:09:04] Production.INFO: Account Balance End.
[2025-04-12 00:09:04] Production.ERROR: CronJobId end 12
[2025-04-12 00:09:04] Production.INFO: ==32748== Releasing lock...
[2025-04-12 00:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 00:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 00:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 21:09:05
[end_date_ymd] => 2025-04-12 00:09:05
[RateCDR] => 1
)
[2025-04-12 00:09:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 21:09:05' and `end` < '2025-04-12 00:09:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 00:09:11] Production.ERROR: CronJobId end10
[2025-04-12 00:09:11] Production.INFO: ==32746== Releasing lock...
[2025-04-12 00:09:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 00:09:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 00:09:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 00:09:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 00:09:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 00:09:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 00:09:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 00:09:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 00:09:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 00:09:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 00:09:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 00:09:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 00:09:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 00:09:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 00:09:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 00:09:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 00:09:14] Production.INFO: call_cost start
[2025-04-12 00:09:14] Production.INFO: call_cost end
[2025-04-12 00:09:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 00:09:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 00:09:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 00:09:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 00:09:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 00:09:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 00:09:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 00:09:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 00:09:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 00:09:15] Production.INFO: ==32742== Releasing lock...
[2025-04-12 00:09:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 00:09:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 00:09:27] Production.INFO: count ==722
[2025-04-12 00:09:27] Production.ERROR: pbx CDR StartTime 2025-04-11 21:09:05 - End Time 2025-04-12 00:09:05
[2025-04-12 00:09:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 00:09:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887789', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:09:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887789', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:09:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887789', 'tblTempVendorCDR_20' ) start
[2025-04-12 00:09:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887789', 'tblTempVendorCDR_20' ) end
[2025-04-12 00:09:27] Production.INFO: ProcessCDR(1,14887789,1,1,2)
[2025-04-12 00:09:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887789,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:09:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887789,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:09:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887789,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:09:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887789,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:09:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887789', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:09:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887789', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:09:31] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 00:09:31] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 00:09:31] Production.INFO: ==32750== Releasing lock...
[2025-04-12 00:09:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 00:09:31] Production.INFO: 34.5 MB #Memory Used#
[2025-04-12 05:10:02] Production.INFO: ==363== Lock acquired, processing the job...
[2025-04-12 05:10:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 05:10:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 05:10:02] Production.INFO: neon service started
[2025-04-12 05:10:02] Production.INFO: neon service started
[2025-04-12 05:10:02] Production.INFO: ==363== Releasing lock...
[2025-04-12 05:10:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 05:10:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 00:10:02] Production.INFO: ==365== Lock acquired, processing the job...
[2025-04-12 00:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 04:10:02] Production.INFO: ==367== Lock acquired, processing the job...
[2025-04-12 04:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 04:10:03] Production.INFO: ==367== Releasing lock...
[2025-04-12 04:10:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 04:10:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 00:10:03] Production.INFO: ==365== Releasing lock...
[2025-04-12 00:10:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 00:10:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 00:10:03] Production.INFO: ==369== Lock acquired, processing the job...
[2025-04-12 00:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 00:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 00:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 00:10:04] Production.INFO: ==369== Releasing lock...
[2025-04-12 00:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 00:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 00:10:04] Production.INFO: ==371== Lock acquired, processing the job...
[2025-04-12 00:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 00:10:04] Production.INFO: ==373== Lock acquired, processing the job...
[2025-04-12 00:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 00:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 00:10:04] Production.INFO: ==382== Lock acquired, processing the job...
[2025-04-12 00:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 00:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 00:10:04] Production.INFO: ==375== Lock acquired, processing the job...
[2025-04-12 00:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 00:10:04] Production.INFO: ==377== Lock acquired, processing the job...
[2025-04-12 00:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 00:10:04] Production.INFO: ==379== Lock acquired, processing the job...
[2025-04-12 00:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 00:10:04] Production.INFO: ==373== Releasing lock...
[2025-04-12 00:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 00:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 00:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 00:10:04] Production.INFO: ==384== Lock acquired, processing the job...
[2025-04-12 00:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 00:10:04] Production.INFO: Account Balance Start.
[2025-04-12 00:10:04] Production.INFO: CreateAllLog Start
[2025-04-12 00:10:04] Production.INFO: 117
[2025-04-12 00:10:04] Production.INFO: Date 2025-04-08
[2025-04-12 00:10:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 00:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 00:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 00:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 00:10:04] Production.INFO: Date 2025-04-09
[2025-04-12 00:10:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:10:04] Production.INFO: Date 2025-04-10
[2025-04-12 00:10:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:10:04] Production.ERROR: done
[2025-04-12 00:10:04] Production.INFO: Date 2025-04-11
[2025-04-12 00:10:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 00:10:04] Production.INFO: count ==12
[2025-04-12 00:10:04] Production.INFO: Date 2025-04-12
[2025-04-12 00:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 00:10:04] Production.INFO: count ==23
[2025-04-12 00:10:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887793') start
[2025-04-12 00:10:05] Production.INFO: Total Charge 0
[2025-04-12 00:10:05] Production.INFO: CreateAllLog End
[2025-04-12 00:10:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 00:10:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14887794', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 00:10:05] Production.ERROR: done
[2025-04-12 00:10:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 00:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14887793') end
[2025-04-12 00:10:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 00:10:05] Production.INFO: 1
[2025-04-12 00:10:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 00:10:05] Production.INFO: ==384== Releasing lock...
[2025-04-12 00:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 00:10:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 00:10:05] Production.ERROR: done
[2025-04-12 00:10:05] Production.INFO: Account Balance End.
[2025-04-12 00:10:05] Production.ERROR: CronJobId end 12
[2025-04-12 00:10:05] Production.INFO: ==377== Releasing lock...
[2025-04-12 00:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 00:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 00:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 21:10:06
[end_date_ymd] => 2025-04-12 00:10:06
[RateCDR] => 1
)
[2025-04-12 00:10:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 21:10:06' and `end` < '2025-04-12 00:10:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 00:10:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14887794', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 00:10:10] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 00:10:10] Production.INFO: ProcessCDR(1,14887794,1,1,2)
[2025-04-12 00:10:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14887794,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:10:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14887794,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:10:10] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 00:10:10] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 00:10:10] Production.INFO: ==382== Releasing lock...
[2025-04-12 00:10:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 00:10:10] Production.INFO: 26 MB #Memory Used#
[2025-04-12 00:10:14] Production.ERROR: CronJobId end10
[2025-04-12 00:10:14] Production.INFO: ==375== Releasing lock...
[2025-04-12 00:10:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 00:10:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 00:10:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 00:10:17] Production.INFO: ============== Balance Warning START===========
[2025-04-12 00:10:17] Production.INFO: ============== Balance Warning END===========
[2025-04-12 00:10:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 00:10:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 00:10:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 00:10:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 00:10:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 00:10:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 00:10:17] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 00:10:17] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 00:10:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 00:10:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 00:10:17] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 00:10:17] Production.INFO: call_cost start
[2025-04-12 00:10:17] Production.INFO: call_cost end
[2025-04-12 00:10:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 00:10:18] Production.INFO: ============== Report Schedule START===========
[2025-04-12 00:10:18] Production.INFO: ============== Report Schedule END===========
[2025-04-12 00:10:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 00:10:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 00:10:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 00:10:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 00:10:18] Production.INFO: ============== Deal alert START===========
[2025-04-12 00:10:18] Production.INFO: ============== Deal alert END===========
[2025-04-12 00:10:18] Production.INFO: ==371== Releasing lock...
[2025-04-12 00:10:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 00:10:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 00:10:19] Production.INFO: count ==732
[2025-04-12 00:10:19] Production.ERROR: pbx CDR StartTime 2025-04-11 21:10:06 - End Time 2025-04-12 00:10:06
[2025-04-12 00:10:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 00:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887795', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887795', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887795', 'tblTempVendorCDR_20' ) start
[2025-04-12 00:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887795', 'tblTempVendorCDR_20' ) end
[2025-04-12 00:10:19] Production.INFO: ProcessCDR(1,14887795,1,1,2)
[2025-04-12 00:10:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887795,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:10:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887795,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:10:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887795,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:10:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887795,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:10:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887795', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:10:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887795', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:10:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 00:10:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 00:10:23] Production.INFO: ==379== Releasing lock...
[2025-04-12 00:10:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 00:10:23] Production.INFO: 35 MB #Memory Used#
[2025-04-12 05:11:01] Production.INFO: ==450== Lock acquired, processing the job...
[2025-04-12 05:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 05:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 05:11:01] Production.INFO: neon service started
[2025-04-12 05:11:01] Production.INFO: neon service started
[2025-04-12 05:11:01] Production.INFO: ==450== Releasing lock...
[2025-04-12 05:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 05:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 00:11:02] Production.INFO: ==452== Lock acquired, processing the job...
[2025-04-12 00:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 04:11:02] Production.INFO: ==454== Lock acquired, processing the job...
[2025-04-12 04:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 04:11:02] Production.INFO: ==454== Releasing lock...
[2025-04-12 04:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 04:11:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 00:11:02] Production.INFO: ==452== Releasing lock...
[2025-04-12 00:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 00:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 00:11:03] Production.INFO: ==457== Lock acquired, processing the job...
[2025-04-12 00:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 00:11:03] Production.INFO: ==467== Lock acquired, processing the job...
[2025-04-12 00:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 00:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 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-12 00:11:03] Production.INFO: count ==12
[2025-04-12 00:11:03] Production.INFO: ==459== Lock acquired, processing the job...
[2025-04-12 00:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 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-12 00:11:03] Production.INFO: ==465== Lock acquired, processing the job...
[2025-04-12 00:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 00:11:03] Production.INFO: count ==23
[2025-04-12 00:11:04] Production.INFO: ==461== Lock acquired, processing the job...
[2025-04-12 00:11:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 00:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887797') start
[2025-04-12 00:11:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 00:11:04] Production.INFO: ==463== Lock acquired, processing the job...
[2025-04-12 00:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 00:11:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 00:11:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 00:11:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 00:11:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 00:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887797') end
[2025-04-12 00:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 00:11:04] Production.INFO: 1
[2025-04-12 00:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 00:11:04] Production.INFO: Account Balance Start.
[2025-04-12 00:11:04] Production.INFO: CreateAllLog Start
[2025-04-12 00:11:04] Production.INFO: 117
[2025-04-12 00:11:04] Production.INFO: ==467== Releasing lock...
[2025-04-12 00:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 00:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 00:11:04] Production.INFO: Date 2025-04-08
[2025-04-12 00:11:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:11:04] Production.INFO: Date 2025-04-09
[2025-04-12 00:11:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:11:04] Production.ERROR: done
[2025-04-12 00:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 00:11:04] Production.INFO: Date 2025-04-10
[2025-04-12 00:11:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:11:04] Production.INFO: Date 2025-04-11
[2025-04-12 00:11:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:11:04] Production.INFO: Date 2025-04-12
[2025-04-12 00:11:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:11:04] Production.INFO: Total Charge 0
[2025-04-12 00:11:04] Production.INFO: CreateAllLog End
[2025-04-12 00:11:04] Production.INFO: ==459== Releasing lock...
[2025-04-12 00:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 00:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 00:11:04] Production.ERROR: done
[2025-04-12 00:11:04] Production.INFO: Account Balance End.
[2025-04-12 00:11:04] Production.ERROR: CronJobId end 12
[2025-04-12 00:11:04] Production.INFO: ==463== Releasing lock...
[2025-04-12 00:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 00:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 00:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 21:11:05
[end_date_ymd] => 2025-04-12 00:11:05
[RateCDR] => 1
)
[2025-04-12 00:11:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 21:11:05' and `end` < '2025-04-12 00:11:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 00:11:12] Production.ERROR: CronJobId end10
[2025-04-12 00:11:12] Production.INFO: ==461== Releasing lock...
[2025-04-12 00:11:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 00:11:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 00:11:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 00:11:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 00:11:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 00:11:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 00:11:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 00:11:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 00:11:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 00:11:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 00:11:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 00:11:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 00:11:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 00:11:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 00:11:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 00:11:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 00:11:14] Production.INFO: call_cost start
[2025-04-12 00:11:14] Production.INFO: call_cost end
[2025-04-12 00:11:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 00:11:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 00:11:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 00:11:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 00:11:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 00:11:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 00:11:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 00:11:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 00:11:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 00:11:15] Production.INFO: ==457== Releasing lock...
[2025-04-12 00:11:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 00:11:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 00:11:19] Production.INFO: count ==750
[2025-04-12 00:11:19] Production.ERROR: pbx CDR StartTime 2025-04-11 21:11:05 - End Time 2025-04-12 00:11:05
[2025-04-12 00:11:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 00:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887800', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887800', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887800', 'tblTempVendorCDR_20' ) start
[2025-04-12 00:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887800', 'tblTempVendorCDR_20' ) end
[2025-04-12 00:11:19] Production.INFO: ProcessCDR(1,14887800,1,1,2)
[2025-04-12 00:11:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887800,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:11:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887800,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:11:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887800,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:11:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887800,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:11:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887800', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:11:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887800', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:11:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 00:11:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 00:11:23] Production.INFO: ==465== Releasing lock...
[2025-04-12 00:11:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 00:11:23] Production.INFO: 35 MB #Memory Used#
[2025-04-12 05:12:02] Production.INFO: ==540== Lock acquired, processing the job...
[2025-04-12 05:12:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 05:12:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 05:12:02] Production.INFO: neon service started
[2025-04-12 05:12:02] Production.INFO: neon service started
[2025-04-12 05:12:02] Production.INFO: ==540== Releasing lock...
[2025-04-12 05:12:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 05:12:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 00:12:02] Production.INFO: ==542== Lock acquired, processing the job...
[2025-04-12 00:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 00:12:02] Production.INFO: ==542== Releasing lock...
[2025-04-12 00:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 00:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 04:12:03] Production.INFO: ==544== Lock acquired, processing the job...
[2025-04-12 04:12:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 04:12:03] Production.INFO: ==544== Releasing lock...
[2025-04-12 04:12:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 04:12:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 00:12:03] Production.INFO: ==546== Lock acquired, processing the job...
[2025-04-12 00:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 00:12:03] Production.INFO: ==557== Lock acquired, processing the job...
[2025-04-12 00:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 00:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 00:12:04] Production.INFO: ==548== Lock acquired, processing the job...
[2025-04-12 00:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 00:12:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 00:12:04] Production.INFO: ==550== Lock acquired, processing the job...
[2025-04-12 00:12:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 00:12:04] Production.INFO: count ==12
[2025-04-12 00:12:04] Production.INFO: ==552== Lock acquired, processing the job...
[2025-04-12 00:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 00:12:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 00:12:04] Production.INFO: count ==23
[2025-04-12 00:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887802') start
[2025-04-12 00:12:04] Production.INFO: ==555== Lock acquired, processing the job...
[2025-04-12 00:12:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 00:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887802') end
[2025-04-12 00:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 00:12:04] Production.INFO: 1
[2025-04-12 00:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 00:12:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 00:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 00:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 00:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 00:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 00:12:04] Production.INFO: ==557== Releasing lock...
[2025-04-12 00:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 00:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 00:12:04] Production.INFO: Account Balance Start.
[2025-04-12 00:12:04] Production.INFO: CreateAllLog Start
[2025-04-12 00:12:04] Production.INFO: 117
[2025-04-12 00:12:04] Production.INFO: Date 2025-04-08
[2025-04-12 00:12:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:12:04] Production.INFO: Date 2025-04-09
[2025-04-12 00:12:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:12:04] Production.INFO: Date 2025-04-10
[2025-04-12 00:12:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:12:04] Production.INFO: Date 2025-04-11
[2025-04-12 00:12:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:12:04] Production.INFO: ==548== Releasing lock...
[2025-04-12 00:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 00:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 00:12:04] Production.INFO: Date 2025-04-12
[2025-04-12 00:12:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:12:04] Production.ERROR: done
[2025-04-12 00:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 00:12:04] Production.INFO: Total Charge 0
[2025-04-12 00:12:04] Production.INFO: CreateAllLog End
[2025-04-12 00:12:04] Production.ERROR: done
[2025-04-12 00:12:05] Production.INFO: Account Balance End.
[2025-04-12 00:12:05] Production.ERROR: CronJobId end 12
[2025-04-12 00:12:05] Production.INFO: ==552== Releasing lock...
[2025-04-12 00:12:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 00:12:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 00:12:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 21:12:06
[end_date_ymd] => 2025-04-12 00:12:06
[RateCDR] => 1
)
[2025-04-12 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-11 21:12:06' and `end` < '2025-04-12 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-12 00:12:13] Production.ERROR: CronJobId end10
[2025-04-12 00:12:13] Production.INFO: ==550== Releasing lock...
[2025-04-12 00:12:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 00:12:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 00:12:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 00:12:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 00:12:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 00:12:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 00:12:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 00:12:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 00:12:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 00:12:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 00:12:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 00:12:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 00:12:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 00:12:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 00:12:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 00:12:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 00:12:15] Production.INFO: call_cost start
[2025-04-12 00:12:15] Production.INFO: call_cost end
[2025-04-12 00:12:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 00:12:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 00:12:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 00:12:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 00:12:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 00:12:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 00:12:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 00:12:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 00:12:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 00:12:16] Production.INFO: ==546== Releasing lock...
[2025-04-12 00:12:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 00:12:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 00:12:19] Production.INFO: count ==750
[2025-04-12 00:12:19] Production.ERROR: pbx CDR StartTime 2025-04-11 21:12:06 - End Time 2025-04-12 00:12:06
[2025-04-12 00:12:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 00:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887805', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887805', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887805', 'tblTempVendorCDR_20' ) start
[2025-04-12 00:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887805', 'tblTempVendorCDR_20' ) end
[2025-04-12 00:12:19] Production.INFO: ProcessCDR(1,14887805,1,1,2)
[2025-04-12 00:12:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887805,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:12:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887805,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:12:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887805,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:12:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887805,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:12:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887805', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:12:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887805', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:12:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 00:12:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 00:12:23] Production.INFO: ==555== Releasing lock...
[2025-04-12 00:12:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 00:12:23] Production.INFO: 35 MB #Memory Used#
[2025-04-12 05:13:01] Production.INFO: ==623== Lock acquired, processing the job...
[2025-04-12 05:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 05:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 05:13:01] Production.INFO: neon service started
[2025-04-12 05:13:01] Production.INFO: neon service started
[2025-04-12 05:13:01] Production.INFO: ==623== Releasing lock...
[2025-04-12 05:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 05:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 00:13:02] Production.INFO: ==625== Lock acquired, processing the job...
[2025-04-12 00:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 04:13:02] Production.INFO: ==627== Lock acquired, processing the job...
[2025-04-12 04:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 00:13:02] Production.INFO: ==625== Releasing lock...
[2025-04-12 00:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 00:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 04:13:02] Production.INFO: ==627== Releasing lock...
[2025-04-12 04:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 04:13:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 00:13:03] Production.INFO: ==638== Lock acquired, processing the job...
[2025-04-12 00:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 00:13:03] Production.INFO: ==640== Lock acquired, processing the job...
[2025-04-12 00:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 00:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 00:13:03] Production.INFO: Account Balance Start.
[2025-04-12 00:13:03] Production.INFO: CreateAllLog Start
[2025-04-12 00:13:03] Production.INFO: 117
[2025-04-12 00:13:03] Production.INFO: Date 2025-04-08
[2025-04-12 00:13:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:13:03] Production.INFO: ==629== Lock acquired, processing the job...
[2025-04-12 00:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 00:13:03] Production.INFO: Date 2025-04-09
[2025-04-12 00:13:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:13:03] Production.INFO: Date 2025-04-10
[2025-04-12 00:13:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:13:03] Production.INFO: ==634== Lock acquired, processing the job...
[2025-04-12 00:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 00:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 00:13:03] Production.INFO: Date 2025-04-11
[2025-04-12 00:13:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:13:03] Production.INFO: ==636== Lock acquired, processing the job...
[2025-04-12 00:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 00:13:03] Production.INFO: Date 2025-04-12
[2025-04-12 00:13:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:13:03] Production.INFO: ==642== Lock acquired, processing the job...
[2025-04-12 00:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 00:13:03] Production.INFO: Total Charge 0
[2025-04-12 00:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 00:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 00:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 00:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 00:13:03] Production.INFO: CreateAllLog End
[2025-04-12 00:13:04] Production.ERROR: done
[2025-04-12 00:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 00:13:04] Production.INFO: ==634== Releasing lock...
[2025-04-12 00:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 00:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 00: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-12 00:13:04] Production.INFO: Account Balance End.
[2025-04-12 00:13:04] Production.INFO: count ==12
[2025-04-12 00:13:04] Production.ERROR: CronJobId end 12
[2025-04-12 00:13:04] Production.INFO: ==638== Releasing lock...
[2025-04-12 00:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 00:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 00: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-12 00:13:04] Production.ERROR: done
[2025-04-12 00:13:04] Production.INFO: count ==23
[2025-04-12 00:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887809') start
[2025-04-12 00:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887809') end
[2025-04-12 00:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 00:13:04] Production.INFO: 1
[2025-04-12 00:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 00:13:04] Production.INFO: ==642== Releasing lock...
[2025-04-12 00:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 00:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 00:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 21:13:05
[end_date_ymd] => 2025-04-12 00:13:05
[RateCDR] => 1
)
[2025-04-12 00:13:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 21:13:05' and `end` < '2025-04-12 00:13:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 00:13:11] Production.ERROR: CronJobId end10
[2025-04-12 00:13:11] Production.INFO: ==636== Releasing lock...
[2025-04-12 00:13:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 00:13:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 00:13:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 00:13:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 00:13:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 00:13:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 00:13:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 00:13:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 00:13:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 00:13:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 00:13:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 00:13:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 00:13:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 00:13:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 00:13:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 00:13:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 00:13:14] Production.INFO: call_cost start
[2025-04-12 00:13:14] Production.INFO: call_cost end
[2025-04-12 00:13:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 00:13:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 00:13:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 00:13:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 00:13:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 00:13:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 00:13:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 00:13:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 00:13:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 00:13:15] Production.INFO: ==629== Releasing lock...
[2025-04-12 00:13:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 00:13:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 00:13:18] Production.INFO: count ==750
[2025-04-12 00:13:18] Production.ERROR: pbx CDR StartTime 2025-04-11 21:13:05 - End Time 2025-04-12 00:13:05
[2025-04-12 00:13:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 00:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887810', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887810', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887810', 'tblTempVendorCDR_20' ) start
[2025-04-12 00:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887810', 'tblTempVendorCDR_20' ) end
[2025-04-12 00:13:18] Production.INFO: ProcessCDR(1,14887810,1,1,2)
[2025-04-12 00:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887810,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:13:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887810,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:13:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887810,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:13:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887810,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887810', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887810', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:13:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 00:13:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 00:13:21] Production.INFO: ==640== Releasing lock...
[2025-04-12 00:13:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 00:13:21] Production.INFO: 35 MB #Memory Used#
[2025-04-12 05:14:02] Production.INFO: ==728== Lock acquired, processing the job...
[2025-04-12 05:14:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 05:14:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 05:14:02] Production.INFO: neon service started
[2025-04-12 05:14:02] Production.INFO: neon service started
[2025-04-12 05:14:02] Production.INFO: ==728== Releasing lock...
[2025-04-12 05:14:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 05:14:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 00:14:02] Production.INFO: ==730== Lock acquired, processing the job...
[2025-04-12 00:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 00:14:02] Production.INFO: ==730== Releasing lock...
[2025-04-12 00:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 00:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 04:14:02] Production.INFO: ==732== Lock acquired, processing the job...
[2025-04-12 04:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 04:14:02] Production.INFO: ==732== Releasing lock...
[2025-04-12 04:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 04:14:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 00:14:03] Production.INFO: ==734== Lock acquired, processing the job...
[2025-04-12 00:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 00:14:03] Production.INFO: ==742== Lock acquired, processing the job...
[2025-04-12 00:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 00:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 00:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 00:14:03] Production.INFO: ==736== Lock acquired, processing the job...
[2025-04-12 00:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 00:14:03] Production.INFO: ==747== Lock acquired, processing the job...
[2025-04-12 00:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 00:14:03] Production.INFO: ==738== Lock acquired, processing the job...
[2025-04-12 00:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 00:14:03] Production.INFO: ==740== Lock acquired, processing the job...
[2025-04-12 00:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 00:14:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 00:14:04] Production.INFO: count ==12
[2025-04-12 00:14:04] Production.INFO: Account Balance Start.
[2025-04-12 00:14:04] Production.INFO: CreateAllLog Start
[2025-04-12 00:14:04] Production.INFO: 117
[2025-04-12 00:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 00:14:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 00:14:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 00:14:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 00:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 00:14:04] Production.INFO: count ==23
[2025-04-12 00:14:04] Production.INFO: Date 2025-04-08
[2025-04-12 00:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887812') start
[2025-04-12 00:14:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:14:04] Production.INFO: Date 2025-04-09
[2025-04-12 00:14:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887812') end
[2025-04-12 00:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 00:14:04] Production.INFO: 1
[2025-04-12 00:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 00:14:04] Production.INFO: Date 2025-04-10
[2025-04-12 00:14:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:14:04] Production.INFO: Date 2025-04-11
[2025-04-12 00:14:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:14:04] Production.INFO: ==747== Releasing lock...
[2025-04-12 00:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 00:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 00:14:04] Production.ERROR: done
[2025-04-12 00:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 00:14:04] Production.INFO: Date 2025-04-12
[2025-04-12 00:14:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:14:04] Production.ERROR: done
[2025-04-12 00:14:04] Production.INFO: Total Charge 0
[2025-04-12 00:14:04] Production.INFO: CreateAllLog End
[2025-04-12 00:14:04] Production.INFO: ==736== Releasing lock...
[2025-04-12 00:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 00:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 00:14:04] Production.INFO: Account Balance End.
[2025-04-12 00:14:04] Production.ERROR: CronJobId end 12
[2025-04-12 00:14:04] Production.INFO: ==740== Releasing lock...
[2025-04-12 00:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 00:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 00:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 21:14:05
[end_date_ymd] => 2025-04-12 00:14:05
[RateCDR] => 1
)
[2025-04-12 00:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 21:14:05' and `end` < '2025-04-12 00:14:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 00:14:11] Production.ERROR: CronJobId end10
[2025-04-12 00:14:11] Production.INFO: ==738== Releasing lock...
[2025-04-12 00:14:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 00:14:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 00:14:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 00:14:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 00:14:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 00:14:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 00:14:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 00:14:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 00:14:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 00:14:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 00:14:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 00:14:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 00:14:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 00:14:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 00:14:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 00:14:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 00:14:14] Production.INFO: call_cost start
[2025-04-12 00:14:14] Production.INFO: call_cost end
[2025-04-12 00:14:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 00:14:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 00:14:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 00:14:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 00:14:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 00:14:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 00:14:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 00:14:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 00:14:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 00:14:15] Production.INFO: ==734== Releasing lock...
[2025-04-12 00:14:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 00:14:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 00:14:18] Production.INFO: count ==751
[2025-04-12 00:14:19] Production.ERROR: pbx CDR StartTime 2025-04-11 21:14:05 - End Time 2025-04-12 00:14:05
[2025-04-12 00:14:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 00:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887815', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887815', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887815', 'tblTempVendorCDR_20' ) start
[2025-04-12 00:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887815', 'tblTempVendorCDR_20' ) end
[2025-04-12 00:14:19] Production.INFO: ProcessCDR(1,14887815,1,1,2)
[2025-04-12 00:14:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887815,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:14:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887815,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:14:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887815,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:14:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887815,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:14:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887815', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:14:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887815', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:14:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 00:14:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 00:14:24] Production.INFO: ==742== Releasing lock...
[2025-04-12 00:14:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 00:14:24] Production.INFO: 34.75 MB #Memory Used#
[2025-04-12 05:15:01] Production.INFO: ==807== Lock acquired, processing the job...
[2025-04-12 05:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 05:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 05:15:01] Production.INFO: neon service started
[2025-04-12 05:15:01] Production.INFO: neon service started
[2025-04-12 05:15:01] Production.INFO: ==807== Releasing lock...
[2025-04-12 05:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 05:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 04:15:01] Production.INFO: ==811== Lock acquired, processing the job...
[2025-04-12 04:15:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 04:15:01] Production.INFO: ==811== Releasing lock...
[2025-04-12 04:15:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 04:15:01] Production.INFO: 25 MB #Memory Used#
[2025-04-12 00:15:02] Production.INFO: ==809== Lock acquired, processing the job...
[2025-04-12 00:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 00:15:02] Production.INFO: ==809== Releasing lock...
[2025-04-12 00:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 00:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 00:15:03] Production.INFO: ==813== Lock acquired, processing the job...
[2025-04-12 00:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 00:15:03] Production.INFO: ==815== Lock acquired, processing the job...
[2025-04-12 00:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 00:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 00:15:03] Production.INFO: ==820== Lock acquired, processing the job...
[2025-04-12 00:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 00:15:03] Production.INFO: Account Balance Start.
[2025-04-12 00:15:03] Production.INFO: CreateAllLog Start
[2025-04-12 00:15:03] Production.INFO: 117
[2025-04-12 00:15:03] Production.INFO: Date 2025-04-08
[2025-04-12 00:15:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:15:03] Production.INFO: ==817== Lock acquired, processing the job...
[2025-04-12 00:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 00:15:03] Production.INFO: Date 2025-04-09
[2025-04-12 00:15:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:15:03] Production.INFO: Date 2025-04-10
[2025-04-12 00:15:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:15:03] Production.INFO: ==815== Releasing lock...
[2025-04-12 00:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 00:15:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 00:15:03] Production.INFO: ==824== Lock acquired, processing the job...
[2025-04-12 00:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 00:15:03] Production.INFO: Date 2025-04-11
[2025-04-12 00:15:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:15:03] Production.INFO: Date 2025-04-12
[2025-04-12 00:15:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 00:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 00:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 00:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 00:15:03] Production.INFO: Total Charge 0
[2025-04-12 00:15:03] Production.INFO: CreateAllLog End
[2025-04-12 00:15:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 00:15:03] Production.INFO: ==822== Lock acquired, processing the job...
[2025-04-12 00:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 00:15:03] Production.INFO: count ==12
[2025-04-12 00:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 00:15:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 00:15:03] Production.INFO: count ==23
[2025-04-12 00:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887819') start
[2025-04-12 00:15:03] Production.INFO: Account Balance End.
[2025-04-12 00:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887819') end
[2025-04-12 00:15:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 00:15:03] Production.INFO: 1
[2025-04-12 00:15:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 00:15:03] Production.ERROR: CronJobId end 12
[2025-04-12 00:15:03] Production.INFO: ==820== Releasing lock...
[2025-04-12 00:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 00:15:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 00:15:03] Production.INFO: ==824== Releasing lock...
[2025-04-12 00:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 00:15:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 00:15:04] Production.ERROR: done
[2025-04-12 00:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 00:15:04] Production.ERROR: done
[2025-04-12 00:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 21:15:05
[end_date_ymd] => 2025-04-12 00:15:05
[RateCDR] => 1
)
[2025-04-12 00:15:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 21:15:05' and `end` < '2025-04-12 00:15:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 00:15:11] Production.ERROR: CronJobId end10
[2025-04-12 00:15:11] Production.INFO: ==817== Releasing lock...
[2025-04-12 00:15:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 00:15:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 00:15:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 00:15:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 00:15:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 00:15:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 00:15:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 00:15:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 00:15:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 00:15:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 00:15:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 00:15:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 00:15:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 00:15:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 00:15:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 00:15:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 00:15:13] Production.INFO: call_cost start
[2025-04-12 00:15:13] Production.INFO: call_cost end
[2025-04-12 00:15:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 00:15:14] Production.INFO: ============== Report Schedule START===========
[2025-04-12 00:15:14] Production.INFO: ============== Report Schedule END===========
[2025-04-12 00:15:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 00:15:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 00:15:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 00:15:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 00:15:14] Production.INFO: ============== Deal alert START===========
[2025-04-12 00:15:14] Production.INFO: ============== Deal alert END===========
[2025-04-12 00:15:14] Production.INFO: ==813== Releasing lock...
[2025-04-12 00:15:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 00:15:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 00:15:18] Production.INFO: count ==750
[2025-04-12 00:15:18] Production.ERROR: pbx CDR StartTime 2025-04-11 21:15:05 - End Time 2025-04-12 00:15:05
[2025-04-12 00:15:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 00:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887820', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887820', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887820', 'tblTempVendorCDR_20' ) start
[2025-04-12 00:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887820', 'tblTempVendorCDR_20' ) end
[2025-04-12 00:15:18] Production.INFO: ProcessCDR(1,14887820,1,1,2)
[2025-04-12 00:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887820,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:15:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887820,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:15:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887820,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:15:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887820,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887820', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887820', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:15:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 00:15:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 00:15:22] Production.INFO: ==822== Releasing lock...
[2025-04-12 00:15:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 00:15:22] Production.INFO: 34.75 MB #Memory Used#
[2025-04-12 05:16:02] Production.INFO: ==892== Lock acquired, processing the job...
[2025-04-12 05:16:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 05:16:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 05:16:02] Production.INFO: neon service started
[2025-04-12 05:16:02] Production.INFO: neon service started
[2025-04-12 05:16:02] Production.INFO: ==892== Releasing lock...
[2025-04-12 05:16:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 05:16:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 00:16:02] Production.INFO: ==894== Lock acquired, processing the job...
[2025-04-12 00:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 04:16:02] Production.INFO: ==897== Lock acquired, processing the job...
[2025-04-12 04:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 04:16:02] Production.INFO: ==897== Releasing lock...
[2025-04-12 04:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 04:16:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 00:16:02] Production.INFO: ==894== Releasing lock...
[2025-04-12 00:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 00:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 00:16:03] Production.INFO: ==903== Lock acquired, processing the job...
[2025-04-12 00:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 00:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 00:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 00:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 00:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 00:16:03] Production.INFO: ==909== Lock acquired, processing the job...
[2025-04-12 00:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 00:16:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 00:16:04] Production.INFO: count ==12
[2025-04-12 00:16:04] Production.INFO: ==901== Lock acquired, processing the job...
[2025-04-12 00:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 00:16:04] Production.INFO: ==899== Lock acquired, processing the job...
[2025-04-12 00:16:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 00:16:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 00:16:04] Production.INFO: count ==23
[2025-04-12 00:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887821') start
[2025-04-12 00:16:04] Production.INFO: ==905== Lock acquired, processing the job...
[2025-04-12 00:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 00:16:04] Production.INFO: ==907== Lock acquired, processing the job...
[2025-04-12 00:16:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 00:16:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 00:16:04] Production.INFO: Account Balance Start.
[2025-04-12 00:16:04] Production.INFO: CreateAllLog Start
[2025-04-12 00:16:04] Production.INFO: 117
[2025-04-12 00:16:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 00:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887821') end
[2025-04-12 00:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 00:16:04] Production.INFO: 1
[2025-04-12 00:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 00:16:04] Production.INFO: Date 2025-04-08
[2025-04-12 00:16:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:16:04] Production.INFO: Date 2025-04-09
[2025-04-12 00:16:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:16:04] Production.INFO: ==909== Releasing lock...
[2025-04-12 00:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 00:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 00:16:04] Production.INFO: Date 2025-04-10
[2025-04-12 00:16:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:16:04] Production.INFO: Date 2025-04-11
[2025-04-12 00:16:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:16:04] Production.INFO: Date 2025-04-12
[2025-04-12 00:16:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:16:04] Production.INFO: Total Charge 0
[2025-04-12 00:16:04] Production.INFO: CreateAllLog End
[2025-04-12 00:16:04] Production.INFO: ==901== Releasing lock...
[2025-04-12 00:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 00:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 00:16:04] Production.ERROR: done
[2025-04-12 00:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 00:16:04] Production.INFO: Account Balance End.
[2025-04-12 00:16:04] Production.ERROR: CronJobId end 12
[2025-04-12 00:16:04] Production.INFO: ==905== Releasing lock...
[2025-04-12 00:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 00:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 00:16:04] Production.ERROR: done
[2025-04-12 00:16:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 21:16:06
[end_date_ymd] => 2025-04-12 00:16:06
[RateCDR] => 1
)
[2025-04-12 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-11 21:16:06' and `end` < '2025-04-12 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-12 00:16:11] Production.ERROR: CronJobId end10
[2025-04-12 00:16:11] Production.INFO: ==903== Releasing lock...
[2025-04-12 00:16:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 00:16:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 00:16:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 00:16:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 00:16:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 00:16:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 00:16:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 00:16:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 00:16:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 00:16:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 00:16:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 00:16:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 00:16:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 00:16:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 00:16:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 00:16:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 00:16:14] Production.INFO: call_cost start
[2025-04-12 00:16:14] Production.INFO: call_cost end
[2025-04-12 00:16:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 00:16:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 00:16:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 00:16:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 00:16:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 00:16:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 00:16:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 00:16:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 00:16:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 00:16:15] Production.INFO: ==899== Releasing lock...
[2025-04-12 00:16:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 00:16:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 00:16:18] Production.INFO: count ==750
[2025-04-12 00:16:19] Production.ERROR: pbx CDR StartTime 2025-04-11 21:16:06 - End Time 2025-04-12 00:16:06
[2025-04-12 00:16:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 00:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887825', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887825', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887825', 'tblTempVendorCDR_20' ) start
[2025-04-12 00:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887825', 'tblTempVendorCDR_20' ) end
[2025-04-12 00:16:19] Production.INFO: ProcessCDR(1,14887825,1,1,2)
[2025-04-12 00:16:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887825,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:16:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887825,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:16:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887825,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:16:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887825,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887825', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887825', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:16:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 00:16:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 00:16:22] Production.INFO: ==907== Releasing lock...
[2025-04-12 00:16:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 00:16:22] Production.INFO: 34.75 MB #Memory Used#
[2025-04-12 05:17:01] Production.INFO: ==971== Lock acquired, processing the job...
[2025-04-12 05:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 05:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 05:17:01] Production.INFO: neon service started
[2025-04-12 05:17:01] Production.INFO: neon service started
[2025-04-12 05:17:01] Production.INFO: ==971== Releasing lock...
[2025-04-12 05:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 05:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 00:17:01] Production.INFO: ==974== Lock acquired, processing the job...
[2025-04-12 00:17:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 00:17:02] Production.INFO: ==974== Releasing lock...
[2025-04-12 00:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 00:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 04:17:02] Production.INFO: ==976== Lock acquired, processing the job...
[2025-04-12 04:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 04:17:02] Production.INFO: ==976== Releasing lock...
[2025-04-12 04:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 04:17:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 00:17:03] Production.INFO: ==982== Lock acquired, processing the job...
[2025-04-12 00:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 00:17:03] Production.INFO: ==988== Lock acquired, processing the job...
[2025-04-12 00:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 00:17:03] Production.INFO: ==978== Lock acquired, processing the job...
[2025-04-12 00:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 00:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 00:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 00:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 00:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 00:17:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 00:17:03] Production.INFO: ==980== Lock acquired, processing the job...
[2025-04-12 00:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 00:17:03] Production.INFO: count ==12
[2025-04-12 00:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 00:17:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 00:17:03] Production.INFO: count ==23
[2025-04-12 00:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887826') start
[2025-04-12 00:17:03] Production.INFO: ==984== Lock acquired, processing the job...
[2025-04-12 00:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 00:17:03] Production.INFO: ==986== Lock acquired, processing the job...
[2025-04-12 00:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 00:17:03] Production.INFO: Account Balance Start.
[2025-04-12 00:17:03] Production.INFO: CreateAllLog Start
[2025-04-12 00:17:03] Production.INFO: 117
[2025-04-12 00:17:03] Production.INFO: Date 2025-04-08
[2025-04-12 00:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 00:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887826') end
[2025-04-12 00:17:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 00:17:03] Production.INFO: 1
[2025-04-12 00:17:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 00:17:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:17:03] Production.INFO: ==988== Releasing lock...
[2025-04-12 00:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 00:17:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 00:17:03] Production.INFO: Date 2025-04-09
[2025-04-12 00:17:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:17:03] Production.INFO: Date 2025-04-10
[2025-04-12 00:17:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:17:03] Production.INFO: Date 2025-04-11
[2025-04-12 00:17:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:17:03] Production.INFO: Date 2025-04-12
[2025-04-12 00:17:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:17:03] Production.INFO: Total Charge 0
[2025-04-12 00:17:03] Production.INFO: CreateAllLog End
[2025-04-12 00:17:04] Production.INFO: ==980== Releasing lock...
[2025-04-12 00:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 00:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 00:17:04] Production.ERROR: done
[2025-04-12 00:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 00:17:04] Production.INFO: Account Balance End.
[2025-04-12 00:17:04] Production.ERROR: CronJobId end 12
[2025-04-12 00:17:04] Production.INFO: ==984== Releasing lock...
[2025-04-12 00:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 00:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 00:17:04] Production.ERROR: done
[2025-04-12 00:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 21:17:05
[end_date_ymd] => 2025-04-12 00:17:05
[RateCDR] => 1
)
[2025-04-12 00:17:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 21:17:05' and `end` < '2025-04-12 00:17:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 00:17:12] Production.ERROR: CronJobId end10
[2025-04-12 00:17:12] Production.INFO: ==982== Releasing lock...
[2025-04-12 00:17:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 00:17:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 00:17:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 00:17:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 00:17:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 00:17:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 00:17:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 00:17:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 00:17:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 00:17:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 00:17:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 00:17:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 00:17:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 00:17:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 00:17:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 00:17:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 00:17:15] Production.INFO: call_cost start
[2025-04-12 00:17:15] Production.INFO: call_cost end
[2025-04-12 00:17:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 00:17:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 00:17:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 00:17:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 00:17:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 00:17:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 00:17:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 00:17:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 00:17:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 00:17:15] Production.INFO: ==978== Releasing lock...
[2025-04-12 00:17:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 00:17:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 00:17:18] Production.INFO: count ==749
[2025-04-12 00:17:18] Production.ERROR: pbx CDR StartTime 2025-04-11 21:17:05 - End Time 2025-04-12 00:17:05
[2025-04-12 00:17:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 00:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887830', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887830', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887830', 'tblTempVendorCDR_20' ) start
[2025-04-12 00:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887830', 'tblTempVendorCDR_20' ) end
[2025-04-12 00:17:18] Production.INFO: ProcessCDR(1,14887830,1,1,2)
[2025-04-12 00:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887830,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:17:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887830,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:17:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887830,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:17:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887830,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887830', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887830', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:17:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 00:17:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 00:17:22] Production.INFO: ==986== Releasing lock...
[2025-04-12 00:17:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 00:17:22] Production.INFO: 34.75 MB #Memory Used#
[2025-04-12 05:18:02] Production.INFO: ==1049== Lock acquired, processing the job...
[2025-04-12 05:18:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 05:18:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 05:18:02] Production.INFO: neon service started
[2025-04-12 05:18:02] Production.INFO: neon service started
[2025-04-12 05:18:02] Production.INFO: ==1049== Releasing lock...
[2025-04-12 05:18:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 05:18:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 04:18:02] Production.INFO: ==1053== Lock acquired, processing the job...
[2025-04-12 04:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 04:18:02] Production.INFO: ==1053== Releasing lock...
[2025-04-12 04:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 04:18:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 00:18:02] Production.INFO: ==1051== Lock acquired, processing the job...
[2025-04-12 00:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 00:18:02] Production.INFO: ==1051== Releasing lock...
[2025-04-12 00:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 00:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 00:18:03] Production.INFO: ==1060== Lock acquired, processing the job...
[2025-04-12 00:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 00:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 00:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 00:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 00:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 00:18:03] Production.INFO: ==1056== Lock acquired, processing the job...
[2025-04-12 00:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 00:18:03] Production.INFO: ==1066== Lock acquired, processing the job...
[2025-04-12 00:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 00:18:03] Production.INFO: ==1058== Lock acquired, processing the job...
[2025-04-12 00:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 00:18:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 00:18:04] Production.INFO: ==1062== Lock acquired, processing the job...
[2025-04-12 00:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 00:18:04] Production.INFO: ==1064== Lock acquired, processing the job...
[2025-04-12 00:18:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 00:18:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 00:18:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 00:18:04] Production.INFO: count ==12
[2025-04-12 00:18:04] Production.INFO: Account Balance Start.
[2025-04-12 00:18:04] Production.INFO: CreateAllLog Start
[2025-04-12 00:18:04] Production.INFO: 117
[2025-04-12 00:18:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 00:18:04] Production.INFO: count ==23
[2025-04-12 00:18:04] Production.INFO: Date 2025-04-08
[2025-04-12 00:18:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887832') start
[2025-04-12 00:18:04] Production.INFO: Date 2025-04-09
[2025-04-12 00:18:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:18:04] Production.INFO: ==1058== Releasing lock...
[2025-04-12 00:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 00:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 00:18:04] Production.INFO: Date 2025-04-10
[2025-04-12 00:18:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:18:04] Production.INFO: Date 2025-04-11
[2025-04-12 00:18:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887832') end
[2025-04-12 00:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 00:18:04] Production.INFO: 1
[2025-04-12 00:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 00:18:04] Production.INFO: Date 2025-04-12
[2025-04-12 00:18:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:18:04] Production.INFO: Total Charge 0
[2025-04-12 00:18:04] Production.INFO: ==1066== Releasing lock...
[2025-04-12 00:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 00:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 00:18:04] Production.INFO: CreateAllLog End
[2025-04-12 00:18:04] Production.ERROR: done
[2025-04-12 00:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 00:18:04] Production.ERROR: done
[2025-04-12 00:18:04] Production.INFO: Account Balance End.
[2025-04-12 00:18:05] Production.ERROR: CronJobId end 12
[2025-04-12 00:18:05] Production.INFO: ==1062== Releasing lock...
[2025-04-12 00:18:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 00:18:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 00:18:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 21:18:06
[end_date_ymd] => 2025-04-12 00:18:06
[RateCDR] => 1
)
[2025-04-12 00: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-11 21:18:06' and `end` < '2025-04-12 00: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-12 00:18:12] Production.ERROR: CronJobId end10
[2025-04-12 00:18:12] Production.INFO: ==1060== Releasing lock...
[2025-04-12 00:18:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 00:18:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 00:18:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 00:18:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 00:18:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 00:18:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 00:18:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 00:18:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 00:18:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 00:18:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 00:18:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 00:18:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 00:18:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 00:18:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 00:18:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 00:18:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 00:18:15] Production.INFO: call_cost start
[2025-04-12 00:18:15] Production.INFO: call_cost end
[2025-04-12 00:18:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 00:18:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 00:18:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 00:18:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 00:18:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 00:18:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 00:18:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 00:18:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 00:18:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 00:18:16] Production.INFO: ==1056== Releasing lock...
[2025-04-12 00:18:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 00:18:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 00:18:19] Production.INFO: count ==749
[2025-04-12 00:18:19] Production.ERROR: pbx CDR StartTime 2025-04-11 21:18:06 - End Time 2025-04-12 00:18:06
[2025-04-12 00:18:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 00:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887835', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887835', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887835', 'tblTempVendorCDR_20' ) start
[2025-04-12 00:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887835', 'tblTempVendorCDR_20' ) end
[2025-04-12 00:18:19] Production.INFO: ProcessCDR(1,14887835,1,1,2)
[2025-04-12 00:18:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887835,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:18:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887835,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:18:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887835,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:18:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887835,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887835', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887835', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:18:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 00:18:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 00:18:22] Production.INFO: ==1064== Releasing lock...
[2025-04-12 00:18:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 00:18:22] Production.INFO: 34.75 MB #Memory Used#
[2025-04-12 05:19:01] Production.INFO: ==1129== Lock acquired, processing the job...
[2025-04-12 05:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 05:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 05:19:01] Production.INFO: neon service started
[2025-04-12 05:19:01] Production.INFO: neon service started
[2025-04-12 05:19:01] Production.INFO: ==1129== Releasing lock...
[2025-04-12 05:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 05:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 00:19:01] Production.INFO: ==1133== Lock acquired, processing the job...
[2025-04-12 00:19:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 00:19:02] Production.INFO: ==1133== Releasing lock...
[2025-04-12 00:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 00:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 04:19:02] Production.INFO: ==1135== Lock acquired, processing the job...
[2025-04-12 04:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 04:19:02] Production.INFO: ==1135== Releasing lock...
[2025-04-12 04:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 04:19:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 00:19:03] Production.INFO: ==1145== Lock acquired, processing the job...
[2025-04-12 00:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 00:19:03] Production.INFO: Account Balance Start.
[2025-04-12 00:19:03] Production.INFO: CreateAllLog Start
[2025-04-12 00:19:03] Production.INFO: 117
[2025-04-12 00:19:03] Production.INFO: Date 2025-04-08
[2025-04-12 00:19:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:19:03] Production.INFO: Date 2025-04-09
[2025-04-12 00:19:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:19:03] Production.INFO: Date 2025-04-10
[2025-04-12 00:19:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:19:03] Production.INFO: ==1147== Lock acquired, processing the job...
[2025-04-12 00:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 00:19:03] Production.INFO: ==1143== Lock acquired, processing the job...
[2025-04-12 00:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 00:19:03] Production.INFO: ==1139== Lock acquired, processing the job...
[2025-04-12 00:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 00:19:03] Production.INFO: Date 2025-04-11
[2025-04-12 00:19:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:19:03] Production.INFO: ==1141== Lock acquired, processing the job...
[2025-04-12 00:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 00:19:03] Production.INFO: ==1149== Lock acquired, processing the job...
[2025-04-12 00:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 00:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 00:19:03] Production.INFO: Date 2025-04-12
[2025-04-12 00:19:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:19:03] Production.INFO: Total Charge 0
[2025-04-12 00:19:03] Production.INFO: CreateAllLog End
[2025-04-12 00:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 00:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 00:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 00:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 00:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 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-12 00:19:03] Production.INFO: ==1141== Releasing lock...
[2025-04-12 00:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 00:19:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 00:19:03] Production.INFO: count ==12
[2025-04-12 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-12 00:19:03] Production.INFO: count ==23
[2025-04-12 00:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887839') start
[2025-04-12 00:19:03] Production.ERROR: done
[2025-04-12 00:19:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 00:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887839') end
[2025-04-12 00:19:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 00:19:03] Production.INFO: 1
[2025-04-12 00:19:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 00:19:03] Production.INFO: Account Balance End.
[2025-04-12 00:19:03] Production.INFO: ==1149== Releasing lock...
[2025-04-12 00:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 00:19:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 00:19:03] Production.ERROR: CronJobId end 12
[2025-04-12 00:19:03] Production.INFO: ==1145== Releasing lock...
[2025-04-12 00:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 00:19:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 00:19:03] Production.ERROR: done
[2025-04-12 00:19:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 21:19:04
[end_date_ymd] => 2025-04-12 00:19:04
[RateCDR] => 1
)
[2025-04-12 00:19:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 21:19:04' and `end` < '2025-04-12 00:19:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 00:19:11] Production.ERROR: CronJobId end10
[2025-04-12 00:19:11] Production.INFO: ==1143== Releasing lock...
[2025-04-12 00:19:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 00:19:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 00:19:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 00:19:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 00:19:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 00:19:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 00:19:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 00:19:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 00:19:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 00:19:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 00:19:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 00:19:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 00:19:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 00:19:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 00:19:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 00:19:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 00:19:14] Production.INFO: call_cost start
[2025-04-12 00:19:14] Production.INFO: call_cost end
[2025-04-12 00:19:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 00:19:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 00:19:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 00:19:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 00:19:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 00:19:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 00:19:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 00:19:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 00:19:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 00:19:15] Production.INFO: ==1139== Releasing lock...
[2025-04-12 00:19:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 00:19:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 00:19:17] Production.INFO: count ==749
[2025-04-12 00:19:18] Production.ERROR: pbx CDR StartTime 2025-04-11 21:19:04 - End Time 2025-04-12 00:19:04
[2025-04-12 00:19:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 00:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887840', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887840', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887840', 'tblTempVendorCDR_20' ) start
[2025-04-12 00:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887840', 'tblTempVendorCDR_20' ) end
[2025-04-12 00:19:18] Production.INFO: ProcessCDR(1,14887840,1,1,2)
[2025-04-12 00:19:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887840,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:19:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887840,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:19:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887840,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:19:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887840,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887840', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887840', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:19:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 00:19:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 00:19:21] Production.INFO: ==1147== Releasing lock...
[2025-04-12 00:19:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 00:19:21] Production.INFO: 34.75 MB #Memory Used#
[2025-04-12 05:20:02] Production.INFO: ==1221== Lock acquired, processing the job...
[2025-04-12 05:20:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 05:20:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 05:20:02] Production.INFO: neon service started
[2025-04-12 05:20:02] Production.INFO: neon service started
[2025-04-12 05:20:02] Production.INFO: ==1221== Releasing lock...
[2025-04-12 05:20:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 05:20:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 00:20:02] Production.INFO: ==1223== Lock acquired, processing the job...
[2025-04-12 00:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 04:20:02] Production.INFO: ==1225== Lock acquired, processing the job...
[2025-04-12 04:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 00:20:02] Production.INFO: ==1223== Releasing lock...
[2025-04-12 00:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 00:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 04:20:02] Production.INFO: ==1225== Releasing lock...
[2025-04-12 04:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 04:20:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 00:20:03] Production.INFO: ==1230== Lock acquired, processing the job...
[2025-04-12 00:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 00:20:04] Production.INFO: ==1228== Lock acquired, processing the job...
[2025-04-12 00:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 00:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 00:20:04] Production.INFO: ==1245== Lock acquired, processing the job...
[2025-04-12 00:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 00:20:04] Production.INFO: ==1247== Lock acquired, processing the job...
[2025-04-12 00:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 00:20:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 00:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 00:20:04] Production.ERROR: CronJob PID - 1230
[2025-04-12 00:20:04] Production.ERROR: CronJob Title - System Alerts
[2025-04-12 00:20:04] Production.ERROR: CronJob ID - 5
[2025-04-12 00:20:04] Production.ERROR: CronJob Last Run Time 2025-04-12 00:20:00
[2025-04-12 00:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 00:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 00:20:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 00:20:04] Production.INFO: ==1228== Releasing lock...
[2025-04-12 00:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 00:20:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 00:20:04] Production.INFO: ==1232== Lock acquired, processing the job...
[2025-04-12 00:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 00:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 00:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 00:20:04] Production.INFO: ==1234== Lock acquired, processing the job...
[2025-04-12 00:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 00:20:04] Production.INFO: ==1241== Lock acquired, processing the job...
[2025-04-12 00:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 00:20:04] Production.INFO: ==1254== Lock acquired, processing the job...
[2025-04-12 00:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 00:20:04] Production.INFO: Account Balance Start.
[2025-04-12 00:20:04] Production.INFO: CreateAllLog Start
[2025-04-12 00:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 00:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 00:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 00:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 00:20:04] Production.INFO: 117
[2025-04-12 00:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 00:20:04] Production.INFO: Date 2025-04-08
[2025-04-12 00:20:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:20:04] Production.INFO: count ==12
[2025-04-12 00:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 00:20:04] Production.INFO: count ==23
[2025-04-12 00:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887844') start
[2025-04-12 00:20:04] Production.ERROR: done
[2025-04-12 00:20:04] Production.ERROR: done
[2025-04-12 00:20:04] Production.INFO: Date 2025-04-09
[2025-04-12 00:20:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 00:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887844') end
[2025-04-12 00:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 00:20:04] Production.INFO: 1
[2025-04-12 00:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 00:20:04] Production.INFO: Date 2025-04-10
[2025-04-12 00:20:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:20:04] Production.INFO: Date 2025-04-11
[2025-04-12 00:20:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 00:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14887845', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 00:20:04] Production.INFO: Date 2025-04-12
[2025-04-12 00:20:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:20:04] Production.INFO: Total Charge 0
[2025-04-12 00:20:05] Production.INFO: ==1254== Releasing lock...
[2025-04-12 00:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 00:20:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 00:20:05] Production.INFO: CreateAllLog End
[2025-04-12 00:20:05] Production.INFO: ==1232== Releasing lock...
[2025-04-12 00:20:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 00:20:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 00:20:05] Production.ERROR: done
[2025-04-12 00:20:05] Production.INFO: Account Balance End.
[2025-04-12 00:20:05] Production.ERROR: CronJobId end 12
[2025-04-12 00:20:05] Production.INFO: ==1241== Releasing lock...
[2025-04-12 00:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 00:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 00:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 21:20:06
[end_date_ymd] => 2025-04-12 00:20:06
[RateCDR] => 1
)
[2025-04-12 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-11 21:20:06' and `end` < '2025-04-12 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-12 00:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14887845', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 00:20:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 00:20:09] Production.INFO: ProcessCDR(1,14887845,1,1,2)
[2025-04-12 00:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14887845,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14887845,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:20:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 00:20:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 00:20:10] Production.INFO: ==1247== Releasing lock...
[2025-04-12 00:20:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 00:20:10] Production.INFO: 26 MB #Memory Used#
[2025-04-12 00:20:14] Production.ERROR: CronJobId end10
[2025-04-12 00:20:14] Production.INFO: ==1234== Releasing lock...
[2025-04-12 00:20:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 00:20:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 00:20:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 00:20:16] Production.INFO: ============== Balance Warning START===========
[2025-04-12 00:20:16] Production.INFO: ============== Balance Warning END===========
[2025-04-12 00:20:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 00:20:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 00:20:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 00:20:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 00:20:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 00:20:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 00:20:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 00:20:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 00:20:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 00:20:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 00:20:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 00:20:17] Production.INFO: call_cost start
[2025-04-12 00:20:17] Production.INFO: call_cost end
[2025-04-12 00:20:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 00:20:18] Production.INFO: ============== Report Schedule START===========
[2025-04-12 00:20:18] Production.INFO: ============== Report Schedule END===========
[2025-04-12 00:20:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 00:20:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 00:20:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 00:20:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 00:20:18] Production.INFO: ============== Deal alert START===========
[2025-04-12 00:20:18] Production.INFO: ============== Deal alert END===========
[2025-04-12 00:20:18] Production.INFO: ==1230== Releasing lock...
[2025-04-12 00:20:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 00:20:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 00:20:19] Production.INFO: count ==758
[2025-04-12 00:20:19] Production.ERROR: pbx CDR StartTime 2025-04-11 21:20:06 - End Time 2025-04-12 00:20:06
[2025-04-12 00:20:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 00:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887846', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887846', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887846', 'tblTempVendorCDR_20' ) start
[2025-04-12 00:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887846', 'tblTempVendorCDR_20' ) end
[2025-04-12 00:20:19] Production.INFO: ProcessCDR(1,14887846,1,1,2)
[2025-04-12 00:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887846,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:20:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887846,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:20:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887846,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:20:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887846,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887846', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887846', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:20:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 00:20:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 00:20:23] Production.INFO: ==1245== Releasing lock...
[2025-04-12 00:20:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 00:20:23] Production.INFO: 34.75 MB #Memory Used#
[2025-04-12 05:21:01] Production.INFO: ==1317== Lock acquired, processing the job...
[2025-04-12 05:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 05:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 05:21:01] Production.INFO: neon service started
[2025-04-12 05:21:01] Production.INFO: neon service started
[2025-04-12 05:21:01] Production.INFO: ==1317== Releasing lock...
[2025-04-12 05:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 05:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 00:21:01] Production.INFO: ==1319== Lock acquired, processing the job...
[2025-04-12 00:21:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 00:21:02] Production.INFO: ==1319== Releasing lock...
[2025-04-12 00:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 00:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 04:21:02] Production.INFO: ==1321== Lock acquired, processing the job...
[2025-04-12 04:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 04:21:02] Production.INFO: ==1321== Releasing lock...
[2025-04-12 04:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 04:21:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 00:21:03] Production.INFO: ==1323== Lock acquired, processing the job...
[2025-04-12 00:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 00:21:03] Production.INFO: ==1327== Lock acquired, processing the job...
[2025-04-12 00:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 00:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 00:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 00:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 00:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 00:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 00:21:03] Production.INFO: ==1325== Lock acquired, processing the job...
[2025-04-12 00:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 00:21:03] Production.INFO: ==1334== Lock acquired, processing the job...
[2025-04-12 00:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 00:21:03] Production.INFO: ==1330== Lock acquired, processing the job...
[2025-04-12 00:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 00:21:03] Production.INFO: ==1332== Lock acquired, processing the job...
[2025-04-12 00:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 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-12 00:21:03] Production.INFO: Account Balance Start.
[2025-04-12 00:21:03] Production.INFO: CreateAllLog Start
[2025-04-12 00:21:03] Production.INFO: 117
[2025-04-12 00:21:03] Production.INFO: Date 2025-04-08
[2025-04-12 00:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 00:21:03] Production.INFO: ==1325== Releasing lock...
[2025-04-12 00:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 00:21:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 00:21:03] Production.INFO: count ==12
[2025-04-12 00:21:03] Production.INFO: Reseller ==> 0
[2025-04-12 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-12 00:21:03] Production.INFO: Date 2025-04-09
[2025-04-12 00:21:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:21:03] Production.INFO: count ==23
[2025-04-12 00:21:03] Production.INFO: Date 2025-04-10
[2025-04-12 00:21:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887849') start
[2025-04-12 00:21:03] Production.INFO: Date 2025-04-11
[2025-04-12 00:21:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:21:03] Production.INFO: Date 2025-04-12
[2025-04-12 00:21:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887849') end
[2025-04-12 00:21:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 00:21:03] Production.INFO: 1
[2025-04-12 00:21:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 00:21:03] Production.INFO: Total Charge 0
[2025-04-12 00:21:03] Production.INFO: CreateAllLog End
[2025-04-12 00:21:03] Production.INFO: ==1334== Releasing lock...
[2025-04-12 00:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 00:21:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 00:21:04] Production.ERROR: done
[2025-04-12 00:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 00:21:04] Production.ERROR: done
[2025-04-12 00:21:04] Production.INFO: Account Balance End.
[2025-04-12 00:21:04] Production.ERROR: CronJobId end 12
[2025-04-12 00:21:04] Production.INFO: ==1330== Releasing lock...
[2025-04-12 00:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 00:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 00:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 21:21:05
[end_date_ymd] => 2025-04-12 00:21:05
[RateCDR] => 1
)
[2025-04-12 00:21:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 21:21:05' and `end` < '2025-04-12 00:21:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 00:21:11] Production.ERROR: CronJobId end10
[2025-04-12 00:21:11] Production.INFO: ==1327== Releasing lock...
[2025-04-12 00:21:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 00:21:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 00:21:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 00:21:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 00:21:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 00:21:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 00:21:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 00:21:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 00:21:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 00:21:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 00:21:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 00:21:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 00:21:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 00:21:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 00:21:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 00:21:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 00:21:13] Production.INFO: call_cost start
[2025-04-12 00:21:13] Production.INFO: call_cost end
[2025-04-12 00:21:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 00:21:14] Production.INFO: ============== Report Schedule START===========
[2025-04-12 00:21:14] Production.INFO: ============== Report Schedule END===========
[2025-04-12 00:21:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 00:21:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 00:21:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 00:21:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 00:21:14] Production.INFO: ============== Deal alert START===========
[2025-04-12 00:21:14] Production.INFO: ============== Deal alert END===========
[2025-04-12 00:21:14] Production.INFO: ==1323== Releasing lock...
[2025-04-12 00:21:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 00:21:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 00:21:18] Production.INFO: count ==762
[2025-04-12 00:21:18] Production.ERROR: pbx CDR StartTime 2025-04-11 21:21:05 - End Time 2025-04-12 00:21:05
[2025-04-12 00:21:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 00:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887851', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887851', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887851', 'tblTempVendorCDR_20' ) start
[2025-04-12 00:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887851', 'tblTempVendorCDR_20' ) end
[2025-04-12 00:21:18] Production.INFO: ProcessCDR(1,14887851,1,1,2)
[2025-04-12 00:21:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887851,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:21:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887851,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:21:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887851,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:21:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887851,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887851', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887851', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:21:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 00:21:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 00:21:22] Production.INFO: ==1332== Releasing lock...
[2025-04-12 00:21:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 00:21:22] Production.INFO: 34.75 MB #Memory Used#
[2025-04-12 05:22:01] Production.INFO: ==1439== Lock acquired, processing the job...
[2025-04-12 05:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 05:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 05:22:01] Production.INFO: neon service started
[2025-04-12 05:22:01] Production.INFO: neon service started
[2025-04-12 05:22:01] Production.INFO: ==1439== Releasing lock...
[2025-04-12 05:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 05:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 04:22:02] Production.INFO: ==1443== Lock acquired, processing the job...
[2025-04-12 04:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 04:22:02] Production.INFO: ==1443== Releasing lock...
[2025-04-12 04:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 04:22:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 00:22:02] Production.INFO: ==1441== Lock acquired, processing the job...
[2025-04-12 00:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 00:22:02] Production.INFO: ==1441== Releasing lock...
[2025-04-12 00:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 00:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 00:22:03] Production.INFO: ==1451== Lock acquired, processing the job...
[2025-04-12 00:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 00:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 00:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 00:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 00:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 00:22:03] Production.INFO: ==1453== Lock acquired, processing the job...
[2025-04-12 00:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 00:22:03] Production.INFO: ==1458== Lock acquired, processing the job...
[2025-04-12 00:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 00:22:03] Production.INFO: Account Balance Start.
[2025-04-12 00:22:03] Production.INFO: CreateAllLog Start
[2025-04-12 00:22:03] Production.INFO: 117
[2025-04-12 00:22:03] Production.INFO: Date 2025-04-08
[2025-04-12 00:22:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:22:03] Production.INFO: Date 2025-04-09
[2025-04-12 00:22:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:22:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 00:22:03] Production.INFO: Date 2025-04-10
[2025-04-12 00:22:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:22:03] Production.INFO: count ==12
[2025-04-12 00:22:03] Production.INFO: Date 2025-04-11
[2025-04-12 00:22:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:22:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 00:22:03] Production.INFO: count ==23
[2025-04-12 00:22:04] Production.INFO: Date 2025-04-12
[2025-04-12 00:22:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887853') start
[2025-04-12 00:22:04] Production.INFO: ==1455== Lock acquired, processing the job...
[2025-04-12 00:22:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 00:22:04] Production.INFO: Total Charge 0
[2025-04-12 00:22:04] Production.INFO: ==1449== Lock acquired, processing the job...
[2025-04-12 00:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 00:22:04] Production.INFO: CreateAllLog End
[2025-04-12 00:22:04] Production.INFO: ==1447== Lock acquired, processing the job...
[2025-04-12 00:22:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 00:22:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 00:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887853') end
[2025-04-12 00:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 00:22:04] Production.INFO: 1
[2025-04-12 00:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 00:22:04] Production.INFO: ==1458== Releasing lock...
[2025-04-12 00:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 00:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 00:22:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 00:22:04] Production.INFO: Account Balance End.
[2025-04-12 00:22:04] Production.ERROR: done
[2025-04-12 00:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 00:22:04] Production.INFO: ==1449== Releasing lock...
[2025-04-12 00:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 00:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 00:22:04] Production.ERROR: CronJobId end 12
[2025-04-12 00:22:04] Production.INFO: ==1453== Releasing lock...
[2025-04-12 00:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 00:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 00:22:04] Production.ERROR: done
[2025-04-12 00:22:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 21:22:05
[end_date_ymd] => 2025-04-12 00:22:05
[RateCDR] => 1
)
[2025-04-12 00: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-11 21:22:05' and `end` < '2025-04-12 00:22:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 00:22:12] Production.ERROR: CronJobId end10
[2025-04-12 00:22:12] Production.INFO: ==1451== Releasing lock...
[2025-04-12 00:22:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 00:22:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 00:22:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 00:22:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 00:22:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 00:22:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 00:22:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 00:22:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 00:22:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 00:22:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 00:22:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 00:22:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 00:22:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 00:22:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 00:22:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 00:22:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 00:22:15] Production.INFO: call_cost start
[2025-04-12 00:22:15] Production.INFO: call_cost end
[2025-04-12 00:22:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 00:22:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 00:22:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 00:22:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 00:22:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 00:22:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 00:22:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 00:22:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 00:22:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 00:22:16] Production.INFO: ==1447== Releasing lock...
[2025-04-12 00:22:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 00:22:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 00:22:18] Production.INFO: count ==762
[2025-04-12 00:22:19] Production.ERROR: pbx CDR StartTime 2025-04-11 21:22:05 - End Time 2025-04-12 00:22:05
[2025-04-12 00:22:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 00:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887856', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887856', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887856', 'tblTempVendorCDR_20' ) start
[2025-04-12 00:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887856', 'tblTempVendorCDR_20' ) end
[2025-04-12 00:22:19] Production.INFO: ProcessCDR(1,14887856,1,1,2)
[2025-04-12 00:22:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887856,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:22:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887856,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:22:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887856,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:22:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887856,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887856', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887856', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:22:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 00:22:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 00:22:22] Production.INFO: ==1455== Releasing lock...
[2025-04-12 00:22:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 00:22:22] Production.INFO: 34.75 MB #Memory Used#
[2025-04-12 05:23:01] Production.INFO: ==1543== Lock acquired, processing the job...
[2025-04-12 05:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 05:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 05:23:01] Production.INFO: neon service started
[2025-04-12 05:23:01] Production.INFO: neon service started
[2025-04-12 05:23:01] Production.INFO: ==1543== Releasing lock...
[2025-04-12 05:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 05:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 04:23:01] Production.INFO: ==1547== Lock acquired, processing the job...
[2025-04-12 04:23:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 04:23:01] Production.INFO: ==1547== Releasing lock...
[2025-04-12 04:23:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 04:23:01] Production.INFO: 25 MB #Memory Used#
[2025-04-12 00:23:01] Production.INFO: ==1545== Lock acquired, processing the job...
[2025-04-12 00:23:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 00:23:02] Production.INFO: ==1545== Releasing lock...
[2025-04-12 00:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 00:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 00:23:03] Production.INFO: ==1550== Lock acquired, processing the job...
[2025-04-12 00:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 00:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 00:23:03] Production.INFO: ==1560== Lock acquired, processing the job...
[2025-04-12 00:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 00:23:03] Production.INFO: ==1553== Lock acquired, processing the job...
[2025-04-12 00:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 00:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 00:23:03] Production.INFO: ==1555== Lock acquired, processing the job...
[2025-04-12 00:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 00:23:03] Production.INFO: ==1562== Lock acquired, processing the job...
[2025-04-12 00:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 00:23:03] Production.INFO: ==1558== Lock acquired, processing the job...
[2025-04-12 00:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 00:23:03] Production.INFO: Account Balance Start.
[2025-04-12 00:23:03] Production.INFO: CreateAllLog Start
[2025-04-12 00:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 00:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 00:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 00:23:03] Production.INFO: 117
[2025-04-12 00:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 00:23:03] Production.INFO: Date 2025-04-08
[2025-04-12 00:23:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 00:23:03] Production.INFO: Date 2025-04-09
[2025-04-12 00:23:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:23:03] Production.INFO: count ==12
[2025-04-12 00:23:03] Production.ERROR: done
[2025-04-12 00:23:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 00:23:03] Production.INFO: Date 2025-04-10
[2025-04-12 00:23:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:23:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 00:23:03] Production.INFO: count ==23
[2025-04-12 00:23:03] Production.INFO: ==1553== Releasing lock...
[2025-04-12 00:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 00:23:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 00:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887860') start
[2025-04-12 00:23:03] Production.ERROR: done
[2025-04-12 00:23:03] Production.INFO: Date 2025-04-11
[2025-04-12 00:23:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:23:03] Production.INFO: Date 2025-04-12
[2025-04-12 00:23:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887860') end
[2025-04-12 00:23:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 00:23:03] Production.INFO: 1
[2025-04-12 00:23:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 00:23:03] Production.INFO: Total Charge 0
[2025-04-12 00:23:04] Production.INFO: ==1562== Releasing lock...
[2025-04-12 00:23:04] Production.INFO: CreateAllLog End
[2025-04-12 00:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 00:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 00:23:04] Production.INFO: Account Balance End.
[2025-04-12 00:23:04] Production.ERROR: CronJobId end 12
[2025-04-12 00:23:04] Production.INFO: ==1558== Releasing lock...
[2025-04-12 00:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 00:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 00:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 21:23:05
[end_date_ymd] => 2025-04-12 00:23:05
[RateCDR] => 1
)
[2025-04-12 00:23:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 21:23:05' and `end` < '2025-04-12 00:23:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 00:23:11] Production.ERROR: CronJobId end10
[2025-04-12 00:23:11] Production.INFO: ==1555== Releasing lock...
[2025-04-12 00:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 00:23:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 00:23:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 00:23:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 00:23:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 00:23:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 00:23:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 00:23:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 00:23:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 00:23:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 00:23:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 00:23:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 00:23:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 00:23:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 00:23:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 00:23:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 00:23:14] Production.INFO: call_cost start
[2025-04-12 00:23:14] Production.INFO: call_cost end
[2025-04-12 00:23:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 00:23:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 00:23:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 00:23:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 00:23:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 00:23:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 00:23:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 00:23:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 00:23:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 00:23:15] Production.INFO: ==1550== Releasing lock...
[2025-04-12 00:23:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 00:23:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 00:23:17] Production.INFO: count ==762
[2025-04-12 00:23:18] Production.ERROR: pbx CDR StartTime 2025-04-11 21:23:05 - End Time 2025-04-12 00:23:05
[2025-04-12 00:23:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 00:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887861', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887861', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887861', 'tblTempVendorCDR_20' ) start
[2025-04-12 00:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887861', 'tblTempVendorCDR_20' ) end
[2025-04-12 00:23:18] Production.INFO: ProcessCDR(1,14887861,1,1,2)
[2025-04-12 00:23:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887861,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:23:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887861,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:23:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887861,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:23:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887861,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887861', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887861', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:23:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 00:23:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 00:23:21] Production.INFO: ==1560== Releasing lock...
[2025-04-12 00:23:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 00:23:21] Production.INFO: 34.75 MB #Memory Used#
[2025-04-12 05:24:01] Production.INFO: ==1629== Lock acquired, processing the job...
[2025-04-12 05:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 05:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 05:24:01] Production.INFO: neon service started
[2025-04-12 05:24:01] Production.INFO: neon service started
[2025-04-12 05:24:01] Production.INFO: ==1629== Releasing lock...
[2025-04-12 05:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 05:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 00:24:02] Production.INFO: ==1631== Lock acquired, processing the job...
[2025-04-12 00:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 00:24:02] Production.INFO: ==1631== Releasing lock...
[2025-04-12 00:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 00:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 04:24:02] Production.INFO: ==1633== Lock acquired, processing the job...
[2025-04-12 04:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 04:24:02] Production.INFO: ==1633== Releasing lock...
[2025-04-12 04:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 04:24:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 00:24:03] Production.INFO: ==1642== Lock acquired, processing the job...
[2025-04-12 00:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 00:24:03] Production.INFO: ==1637== Lock acquired, processing the job...
[2025-04-12 00:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 00:24:03] Production.INFO: ==1635== Lock acquired, processing the job...
[2025-04-12 00:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 00:24:03] Production.INFO: Account Balance Start.
[2025-04-12 00:24:03] Production.INFO: CreateAllLog Start
[2025-04-12 00:24:03] Production.INFO: ==1648== Lock acquired, processing the job...
[2025-04-12 00:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 00:24:03] Production.INFO: 117
[2025-04-12 00:24:03] Production.INFO: ==1640== Lock acquired, processing the job...
[2025-04-12 00:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 00:24:03] Production.INFO: Date 2025-04-08
[2025-04-12 00:24:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 00:24:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 00:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 00:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 00:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 00:24:03] Production.INFO: ==1645== Lock acquired, processing the job...
[2025-04-12 00:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 00:24:03] Production.INFO: Date 2025-04-09
[2025-04-12 00:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 00:24:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:24:03] Production.INFO: Date 2025-04-10
[2025-04-12 00:24:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:24:03] Production.INFO: count ==12
[2025-04-12 00:24:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 00:24:03] Production.INFO: count ==23
[2025-04-12 00:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 00:24:03] Production.INFO: Date 2025-04-11
[2025-04-12 00:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887864') start
[2025-04-12 00:24:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:24:03] Production.INFO: Date 2025-04-12
[2025-04-12 00:24:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:24:03] Production.INFO: Total Charge 0
[2025-04-12 00:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887864') end
[2025-04-12 00:24:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 00:24:03] Production.INFO: 1
[2025-04-12 00:24:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 00:24:03] Production.INFO: CreateAllLog End
[2025-04-12 00:24:04] Production.INFO: ==1637== Releasing lock...
[2025-04-12 00:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 00:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 00:24:04] Production.INFO: ==1648== Releasing lock...
[2025-04-12 00:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 00:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 00:24:04] Production.ERROR: done
[2025-04-12 00:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 00:24:04] Production.INFO: Account Balance End.
[2025-04-12 00:24:04] Production.ERROR: CronJobId end 12
[2025-04-12 00:24:04] Production.INFO: ==1642== Releasing lock...
[2025-04-12 00:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 00:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 00:24:04] Production.ERROR: done
[2025-04-12 00:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 21:24:05
[end_date_ymd] => 2025-04-12 00:24:05
[RateCDR] => 1
)
[2025-04-12 00:24:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 21:24:05' and `end` < '2025-04-12 00:24:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 00:24:12] Production.ERROR: CronJobId end10
[2025-04-12 00:24:12] Production.INFO: ==1640== Releasing lock...
[2025-04-12 00:24:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 00:24:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 00:24:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 00:24:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 00:24:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 00:24:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 00:24:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 00:24:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 00:24:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 00:24:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 00:24:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 00:24:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 00:24:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 00:24:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 00:24:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 00:24:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 00:24:15] Production.INFO: call_cost start
[2025-04-12 00:24:15] Production.INFO: call_cost end
[2025-04-12 00:24:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 00:24:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 00:24:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 00:24:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 00:24:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 00:24:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 00:24:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 00:24:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 00:24:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 00:24:16] Production.INFO: ==1635== Releasing lock...
[2025-04-12 00:24:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 00:24:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 00:24:18] Production.INFO: count ==762
[2025-04-12 00:24:18] Production.ERROR: pbx CDR StartTime 2025-04-11 21:24:05 - End Time 2025-04-12 00:24:05
[2025-04-12 00:24:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 00:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887866', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887866', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887866', 'tblTempVendorCDR_20' ) start
[2025-04-12 00:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887866', 'tblTempVendorCDR_20' ) end
[2025-04-12 00:24:19] Production.INFO: ProcessCDR(1,14887866,1,1,2)
[2025-04-12 00:24:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887866,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:24:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887866,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:24:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887866,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:24:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887866,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887866', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887866', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:24:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 00:24:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 00:24:22] Production.INFO: ==1645== Releasing lock...
[2025-04-12 00:24:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 00:24:22] Production.INFO: 34.75 MB #Memory Used#
[2025-04-12 05:25:02] Production.INFO: ==1712== Lock acquired, processing the job...
[2025-04-12 05:25:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 05:25:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 05:25:02] Production.INFO: neon service started
[2025-04-12 05:25:02] Production.INFO: neon service started
[2025-04-12 05:25:02] Production.INFO: ==1712== Releasing lock...
[2025-04-12 05:25:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 05:25:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 04:25:02] Production.INFO: ==1716== Lock acquired, processing the job...
[2025-04-12 04:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 04:25:02] Production.INFO: ==1716== Releasing lock...
[2025-04-12 04:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 04:25:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 00:25:02] Production.INFO: ==1714== Lock acquired, processing the job...
[2025-04-12 00:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 00:25:03] Production.INFO: ==1714== Releasing lock...
[2025-04-12 00:25:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 00:25:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 00:25:03] Production.INFO: ==1725== Lock acquired, processing the job...
[2025-04-12 00:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 00:25:04] Production.INFO: ==1729== Lock acquired, processing the job...
[2025-04-12 00:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 00:25:04] Production.INFO: Account Balance Start.
[2025-04-12 00:25:04] Production.INFO: CreateAllLog Start
[2025-04-12 00:25:04] Production.INFO: 117
[2025-04-12 00:25:04] Production.INFO: ==1719== Lock acquired, processing the job...
[2025-04-12 00:25:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 00:25:04] Production.INFO: Date 2025-04-08
[2025-04-12 00:25:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:25:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 00:25:04] Production.INFO: ==1723== Lock acquired, processing the job...
[2025-04-12 00:25:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 00:25:04] Production.INFO: ==1721== Lock acquired, processing the job...
[2025-04-12 00:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 00:25:04] Production.INFO: count ==12
[2025-04-12 00:25:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 00:25:04] Production.INFO: count ==23
[2025-04-12 00:25:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 00:25:04] Production.INFO: Date 2025-04-09
[2025-04-12 00:25:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887868') start
[2025-04-12 00:25:04] Production.INFO: ==1727== Lock acquired, processing the job...
[2025-04-12 00:25:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 00:25:04] Production.INFO: Date 2025-04-10
[2025-04-12 00:25:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887868') end
[2025-04-12 00:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 00:25:04] Production.INFO: 1
[2025-04-12 00:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 00:25:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 00:25:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 00:25:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 00:25:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 00:25:04] Production.INFO: ==1729== Releasing lock...
[2025-04-12 00:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 00:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 00:25:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 00:25:04] Production.INFO: Date 2025-04-11
[2025-04-12 00:25:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:25:04] Production.INFO: Date 2025-04-12
[2025-04-12 00:25:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:25:04] Production.INFO: Total Charge 0
[2025-04-12 00:25:04] Production.INFO: CreateAllLog End
[2025-04-12 00:25:04] Production.ERROR: done
[2025-04-12 00:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 00:25:04] Production.INFO: ==1721== Releasing lock...
[2025-04-12 00:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 00:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 00:25:04] Production.ERROR: done
[2025-04-12 00:25:04] Production.INFO: Account Balance End.
[2025-04-12 00:25:04] Production.ERROR: CronJobId end 12
[2025-04-12 00:25:04] Production.INFO: ==1725== Releasing lock...
[2025-04-12 00:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 00:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 00:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 21:25:05
[end_date_ymd] => 2025-04-12 00:25:05
[RateCDR] => 1
)
[2025-04-12 00:25:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 21:25:05' and `end` < '2025-04-12 00:25:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 00:25:13] Production.ERROR: CronJobId end10
[2025-04-12 00:25:13] Production.INFO: ==1723== Releasing lock...
[2025-04-12 00:25:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 00:25:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 00:25:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 00:25:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 00:25:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 00:25:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 00:25:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 00:25:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 00:25:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 00:25:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 00:25:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 00:25:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 00:25:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 00:25:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 00:25:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 00:25:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 00:25:15] Production.INFO: call_cost start
[2025-04-12 00:25:15] Production.INFO: call_cost end
[2025-04-12 00:25:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 00:25:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 00:25:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 00:25:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 00:25:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 00:25:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 00:25:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 00:25:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 00:25:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 00:25:16] Production.INFO: ==1719== Releasing lock...
[2025-04-12 00:25:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 00:25:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 00:25:18] Production.INFO: count ==765
[2025-04-12 00:25:19] Production.ERROR: pbx CDR StartTime 2025-04-11 21:25:05 - End Time 2025-04-12 00:25:05
[2025-04-12 00:25:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 00:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887871', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887871', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887871', 'tblTempVendorCDR_20' ) start
[2025-04-12 00:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887871', 'tblTempVendorCDR_20' ) end
[2025-04-12 00:25:19] Production.INFO: ProcessCDR(1,14887871,1,1,2)
[2025-04-12 00:25:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887871,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:25:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887871,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:25:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887871,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:25:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887871,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:25:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887871', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:25:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887871', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:25:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 00:25:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 00:25:24] Production.INFO: ==1727== Releasing lock...
[2025-04-12 00:25:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 00:25:24] Production.INFO: 34.75 MB #Memory Used#
[2025-04-12 05:26:01] Production.INFO: ==1792== Lock acquired, processing the job...
[2025-04-12 05:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 05:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 05:26:01] Production.INFO: neon service started
[2025-04-12 05:26:01] Production.INFO: neon service started
[2025-04-12 05:26:01] Production.INFO: ==1792== Releasing lock...
[2025-04-12 05:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 05:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 04:26:02] Production.INFO: ==1796== Lock acquired, processing the job...
[2025-04-12 04:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 04:26:02] Production.INFO: ==1796== Releasing lock...
[2025-04-12 04:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 04:26:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 00:26:02] Production.INFO: ==1794== Lock acquired, processing the job...
[2025-04-12 00:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 00:26:02] Production.INFO: ==1794== Releasing lock...
[2025-04-12 00:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 00:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 00:26:03] Production.INFO: ==1800== Lock acquired, processing the job...
[2025-04-12 00:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 00:26:03] Production.INFO: ==1798== Lock acquired, processing the job...
[2025-04-12 00:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 00:26:03] Production.INFO: ==1804== Lock acquired, processing the job...
[2025-04-12 00:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 00:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 00:26:03] Production.INFO: Account Balance Start.
[2025-04-12 00:26:03] Production.INFO: CreateAllLog Start
[2025-04-12 00:26:03] Production.INFO: 117
[2025-04-12 00:26:03] Production.INFO: Date 2025-04-08
[2025-04-12 00:26:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:26:03] Production.INFO: ==1802== Lock acquired, processing the job...
[2025-04-12 00:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 00:26:03] Production.INFO: Date 2025-04-09
[2025-04-12 00:26:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:26:03] Production.INFO: Date 2025-04-10
[2025-04-12 00:26:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:26:03] Production.INFO: Date 2025-04-11
[2025-04-12 00:26:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:26:03] Production.INFO: Date 2025-04-12
[2025-04-12 00:26:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:26:03] Production.INFO: Total Charge 0
[2025-04-12 00:26:03] Production.INFO: CreateAllLog End
[2025-04-12 00:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 00:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 00:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 00:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 00:26:03] Production.INFO: ==1806== Lock acquired, processing the job...
[2025-04-12 00:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 00:26:03] Production.INFO: ==1800== Releasing lock...
[2025-04-12 00:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 00:26:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 00:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 00:26:03] Production.INFO: ==1809== Lock acquired, processing the job...
[2025-04-12 00:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 00:26:03] Production.INFO: Account Balance End.
[2025-04-12 00:26:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 00:26:04] Production.ERROR: CronJobId end 12
[2025-04-12 00:26:04] Production.INFO: ==1804== Releasing lock...
[2025-04-12 00:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 00:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 00:26:04] Production.INFO: count ==12
[2025-04-12 00: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-12 00:26:04] Production.INFO: count ==23
[2025-04-12 00:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887875') start
[2025-04-12 00:26:04] Production.ERROR: done
[2025-04-12 00:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887875') end
[2025-04-12 00:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 00:26:04] Production.INFO: 1
[2025-04-12 00:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 00:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 00:26:04] Production.INFO: ==1809== Releasing lock...
[2025-04-12 00:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 00:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 00:26:04] Production.ERROR: done
[2025-04-12 00:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 21:26:05
[end_date_ymd] => 2025-04-12 00:26:05
[RateCDR] => 1
)
[2025-04-12 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-11 21:26:05' and `end` < '2025-04-12 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-12 00:26:11] Production.ERROR: CronJobId end10
[2025-04-12 00:26:11] Production.INFO: ==1802== Releasing lock...
[2025-04-12 00:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 00:26:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 00:26:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 00:26:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 00:26:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 00:26:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 00:26:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 00:26:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 00:26:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 00:26:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 00:26:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 00:26:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 00:26:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 00:26:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 00:26:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 00:26:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 00:26:14] Production.INFO: call_cost start
[2025-04-12 00:26:14] Production.INFO: call_cost end
[2025-04-12 00:26:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 00:26:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 00:26:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 00:26:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 00:26:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 00:26:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 00:26:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 00:26:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 00:26:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 00:26:15] Production.INFO: ==1798== Releasing lock...
[2025-04-12 00:26:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 00:26:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 00:26:18] Production.INFO: count ==765
[2025-04-12 00:26:18] Production.ERROR: pbx CDR StartTime 2025-04-11 21:26:05 - End Time 2025-04-12 00:26:05
[2025-04-12 00:26:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 00:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887876', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887876', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887876', 'tblTempVendorCDR_20' ) start
[2025-04-12 00:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887876', 'tblTempVendorCDR_20' ) end
[2025-04-12 00:26:18] Production.INFO: ProcessCDR(1,14887876,1,1,2)
[2025-04-12 00:26:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887876,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:26:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887876,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:26:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887876,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:26:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887876,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887876', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887876', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:26:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 00:26:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 00:26:22] Production.INFO: ==1806== Releasing lock...
[2025-04-12 00:26:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 00:26:22] Production.INFO: 34.75 MB #Memory Used#
[2025-04-12 05:27:02] Production.INFO: ==1874== Lock acquired, processing the job...
[2025-04-12 05:27:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 05:27:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 05:27:02] Production.INFO: neon service started
[2025-04-12 05:27:02] Production.INFO: neon service started
[2025-04-12 05:27:02] Production.INFO: ==1874== Releasing lock...
[2025-04-12 05:27:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 05:27:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 00:27:02] Production.INFO: ==1876== Lock acquired, processing the job...
[2025-04-12 00:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 00:27:02] Production.INFO: ==1876== Releasing lock...
[2025-04-12 00:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 00:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 04:27:02] Production.INFO: ==1878== Lock acquired, processing the job...
[2025-04-12 04:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 04:27:03] Production.INFO: ==1878== Releasing lock...
[2025-04-12 04:27:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 04:27:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 00:27:03] Production.INFO: ==1883== Lock acquired, processing the job...
[2025-04-12 00:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 00:27:03] Production.INFO: ==1885== Lock acquired, processing the job...
[2025-04-12 00:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 00:27:03] Production.INFO: ==1881== Lock acquired, processing the job...
[2025-04-12 00:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 00:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 00:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 00:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 00:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 00:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 00:27:03] Production.INFO: ==1887== Lock acquired, processing the job...
[2025-04-12 00:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 00:27:04] Production.INFO: Account Balance Start.
[2025-04-12 00:27:04] Production.INFO: CreateAllLog Start
[2025-04-12 00:27:04] Production.INFO: 117
[2025-04-12 00:27:04] Production.INFO: Date 2025-04-08
[2025-04-12 00:27:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:27:04] Production.INFO: Date 2025-04-09
[2025-04-12 00:27:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:27:04] Production.INFO: ==1889== Lock acquired, processing the job...
[2025-04-12 00:27:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 00:27:04] Production.INFO: Date 2025-04-10
[2025-04-12 00:27:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:27:04] Production.INFO: ==1883== Releasing lock...
[2025-04-12 00:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 00:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 00:27:04] Production.INFO: ==1891== Lock acquired, processing the job...
[2025-04-12 00:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 00:27:04] Production.INFO: Date 2025-04-11
[2025-04-12 00:27:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:27:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 00:27:04] Production.INFO: Date 2025-04-12
[2025-04-12 00:27:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:27:04] Production.INFO: Total Charge 0
[2025-04-12 00:27:04] Production.INFO: CreateAllLog End
[2025-04-12 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-12 00:27:04] Production.ERROR: done
[2025-04-12 00:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 00:27:04] Production.INFO: count ==12
[2025-04-12 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-12 00:27:04] Production.INFO: count ==23
[2025-04-12 00:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887880') start
[2025-04-12 00:27:04] Production.ERROR: done
[2025-04-12 00:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887880') end
[2025-04-12 00:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 00:27:04] Production.INFO: 1
[2025-04-12 00:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 00:27:04] Production.INFO: ==1891== Releasing lock...
[2025-04-12 00:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 00:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 00:27:04] Production.INFO: Account Balance End.
[2025-04-12 00:27:04] Production.ERROR: CronJobId end 12
[2025-04-12 00:27:04] Production.INFO: ==1887== Releasing lock...
[2025-04-12 00:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 00:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 00:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 21:27:05
[end_date_ymd] => 2025-04-12 00:27:05
[RateCDR] => 1
)
[2025-04-12 00:27:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 21:27:05' and `end` < '2025-04-12 00:27:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 00:27:12] Production.ERROR: CronJobId end10
[2025-04-12 00:27:12] Production.INFO: ==1885== Releasing lock...
[2025-04-12 00:27:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 00:27:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 00:27:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 00:27:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 00:27:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 00:27:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 00:27:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 00:27:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 00:27:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 00:27:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 00:27:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 00:27:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 00:27:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 00:27:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 00:27:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 00:27:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 00:27:14] Production.INFO: call_cost start
[2025-04-12 00:27:14] Production.INFO: call_cost end
[2025-04-12 00:27:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 00:27:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 00:27:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 00:27:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 00:27:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 00:27:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 00:27:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 00:27:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 00:27:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 00:27:15] Production.INFO: ==1881== Releasing lock...
[2025-04-12 00:27:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 00:27:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 00:27:18] Production.INFO: count ==765
[2025-04-12 00:27:18] Production.ERROR: pbx CDR StartTime 2025-04-11 21:27:05 - End Time 2025-04-12 00:27:05
[2025-04-12 00:27:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 00:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887881', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887881', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887881', 'tblTempVendorCDR_20' ) start
[2025-04-12 00:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887881', 'tblTempVendorCDR_20' ) end
[2025-04-12 00:27:18] Production.INFO: ProcessCDR(1,14887881,1,1,2)
[2025-04-12 00:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887881,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:27:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887881,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:27:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887881,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:27:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887881,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887881', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887881', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:27:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 00:27:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 00:27:22] Production.INFO: ==1889== Releasing lock...
[2025-04-12 00:27:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 00:27:22] Production.INFO: 34.75 MB #Memory Used#
[2025-04-12 05:28:01] Production.INFO: ==1959== Lock acquired, processing the job...
[2025-04-12 05:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 05:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 05:28:01] Production.INFO: neon service started
[2025-04-12 05:28:01] Production.INFO: neon service started
[2025-04-12 05:28:01] Production.INFO: ==1959== Releasing lock...
[2025-04-12 05:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 05:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 04:28:02] Production.INFO: ==1964== Lock acquired, processing the job...
[2025-04-12 04:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 04:28:02] Production.INFO: ==1964== Releasing lock...
[2025-04-12 04:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 04:28:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 00:28:02] Production.INFO: ==1962== Lock acquired, processing the job...
[2025-04-12 00:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 00:28:02] Production.INFO: ==1962== Releasing lock...
[2025-04-12 00:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 00:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 00:28:03] Production.INFO: ==1973== Lock acquired, processing the job...
[2025-04-12 00:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 00:28:03] Production.INFO: ==1975== Lock acquired, processing the job...
[2025-04-12 00:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 00:28:03] Production.INFO: Account Balance Start.
[2025-04-12 00:28:03] Production.INFO: CreateAllLog Start
[2025-04-12 00:28:03] Production.INFO: 117
[2025-04-12 00:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 00:28:03] Production.INFO: Date 2025-04-08
[2025-04-12 00:28:03] Production.INFO: ==1967== Lock acquired, processing the job...
[2025-04-12 00:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 00:28:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:28:03] Production.INFO: ==1969== Lock acquired, processing the job...
[2025-04-12 00:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 00:28:03] Production.INFO: Date 2025-04-09
[2025-04-12 00:28:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:28:03] Production.INFO: ==1971== Lock acquired, processing the job...
[2025-04-12 00:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 00:28:03] Production.INFO: ==1977== Lock acquired, processing the job...
[2025-04-12 00:28:03] Production.INFO: Date 2025-04-10
[2025-04-12 00:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 00:28:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:28:03] Production.INFO: Date 2025-04-11
[2025-04-12 00:28:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:28:03] Production.INFO: Date 2025-04-12
[2025-04-12 00:28:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 00:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 00:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 00:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 00:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 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-12 00:28:03] Production.INFO: Total Charge 0
[2025-04-12 00:28:03] Production.INFO: CreateAllLog End
[2025-04-12 00:28:03] Production.INFO: count ==12
[2025-04-12 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-12 00:28:03] Production.INFO: count ==23
[2025-04-12 00:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887883') start
[2025-04-12 00:28:04] Production.ERROR: done
[2025-04-12 00:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 00:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887883') end
[2025-04-12 00:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 00:28:04] Production.INFO: 1
[2025-04-12 00:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 00:28:04] Production.INFO: Account Balance End.
[2025-04-12 00:28:04] Production.INFO: ==1969== Releasing lock...
[2025-04-12 00:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 00:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 00:28:04] Production.INFO: ==1977== Releasing lock...
[2025-04-12 00:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 00:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 00:28:04] Production.ERROR: done
[2025-04-12 00:28:04] Production.ERROR: CronJobId end 12
[2025-04-12 00:28:04] Production.INFO: ==1973== Releasing lock...
[2025-04-12 00:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 00:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 00:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 21:28:05
[end_date_ymd] => 2025-04-12 00:28:05
[RateCDR] => 1
)
[2025-04-12 00:28:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 21:28:05' and `end` < '2025-04-12 00:28:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 00:28:12] Production.ERROR: CronJobId end10
[2025-04-12 00:28:12] Production.INFO: ==1971== Releasing lock...
[2025-04-12 00:28:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 00:28:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 00:28:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 00:28:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 00:28:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 00:28:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 00:28:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 00:28:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 00:28:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 00:28:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 00:28:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 00:28:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 00:28:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 00:28:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 00:28:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 00:28:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 00:28:15] Production.INFO: call_cost start
[2025-04-12 00:28:15] Production.INFO: call_cost end
[2025-04-12 00:28:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 00:28:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 00:28:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 00:28:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 00:28:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 00:28:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 00:28:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 00:28:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 00:28:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 00:28:16] Production.INFO: ==1967== Releasing lock...
[2025-04-12 00:28:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 00:28:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 00:28:18] Production.INFO: count ==765
[2025-04-12 00:28:18] Production.ERROR: pbx CDR StartTime 2025-04-11 21:28:05 - End Time 2025-04-12 00:28:05
[2025-04-12 00:28:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 00:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887886', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887886', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887886', 'tblTempVendorCDR_20' ) start
[2025-04-12 00:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887886', 'tblTempVendorCDR_20' ) end
[2025-04-12 00:28:18] Production.INFO: ProcessCDR(1,14887886,1,1,2)
[2025-04-12 00:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887886,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:28:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887886,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:28:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887886,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:28:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887886,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887886', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887886', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:28:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 00:28:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 00:28:21] Production.INFO: ==1975== Releasing lock...
[2025-04-12 00:28:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 00:28:21] Production.INFO: 34.75 MB #Memory Used#
[2025-04-12 05:29:02] Production.INFO: ==2041== Lock acquired, processing the job...
[2025-04-12 05:29:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 05:29:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 05:29:02] Production.INFO: neon service started
[2025-04-12 05:29:02] Production.INFO: neon service started
[2025-04-12 05:29:02] Production.INFO: ==2041== Releasing lock...
[2025-04-12 05:29:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 05:29:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 04:29:02] Production.INFO: ==2045== Lock acquired, processing the job...
[2025-04-12 04:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 04:29:02] Production.INFO: ==2045== Releasing lock...
[2025-04-12 04:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 04:29:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 00:29:02] Production.INFO: ==2043== Lock acquired, processing the job...
[2025-04-12 00:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 00:29:03] Production.INFO: ==2043== Releasing lock...
[2025-04-12 00:29:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 00:29:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 00:29:03] Production.INFO: ==2051== Lock acquired, processing the job...
[2025-04-12 00:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 00:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 00:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 00:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 00:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 00:29:03] Production.INFO: ==2055== Lock acquired, processing the job...
[2025-04-12 00:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 00:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 00:29:04] Production.INFO: ==2047== Lock acquired, processing the job...
[2025-04-12 00:29:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 00:29:04] Production.INFO: ==2049== Lock acquired, processing the job...
[2025-04-12 00:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 00:29:04] Production.INFO: ==2053== Lock acquired, processing the job...
[2025-04-12 00:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 00:29:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 00:29:04] Production.INFO: ==2057== Lock acquired, processing the job...
[2025-04-12 00:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 00:29:04] Production.ERROR: done
[2025-04-12 00:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 00:29:04] Production.INFO: Account Balance Start.
[2025-04-12 00:29:04] Production.INFO: CreateAllLog Start
[2025-04-12 00:29:04] Production.INFO: 117
[2025-04-12 00:29:04] Production.INFO: Date 2025-04-08
[2025-04-12 00:29:04] Production.INFO: Reseller ==> 0
[2025-04-12 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-12 00:29:04] Production.INFO: count ==12
[2025-04-12 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-12 00:29:04] Production.ERROR: done
[2025-04-12 00:29:04] Production.INFO: count ==23
[2025-04-12 00:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887889') start
[2025-04-12 00:29:04] Production.INFO: Date 2025-04-09
[2025-04-12 00:29:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:29:04] Production.INFO: Date 2025-04-10
[2025-04-12 00:29:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:29:04] Production.INFO: ==2049== Releasing lock...
[2025-04-12 00:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 00:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 00:29:04] Production.INFO: Date 2025-04-11
[2025-04-12 00:29:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:29:04] Production.INFO: Date 2025-04-12
[2025-04-12 00:29:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887889') end
[2025-04-12 00:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 00:29:04] Production.INFO: 1
[2025-04-12 00:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 00:29:04] Production.INFO: Total Charge 0
[2025-04-12 00:29:04] Production.INFO: ==2057== Releasing lock...
[2025-04-12 00:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 00:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 00:29:04] Production.INFO: CreateAllLog End
[2025-04-12 00:29:04] Production.INFO: Account Balance End.
[2025-04-12 00:29:05] Production.ERROR: CronJobId end 12
[2025-04-12 00:29:05] Production.INFO: ==2053== Releasing lock...
[2025-04-12 00:29:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 00:29:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 00:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 21:29:05
[end_date_ymd] => 2025-04-12 00:29:05
[RateCDR] => 1
)
[2025-04-12 00:29:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 21:29:05' and `end` < '2025-04-12 00:29:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 00:29:11] Production.ERROR: CronJobId end10
[2025-04-12 00:29:11] Production.INFO: ==2051== Releasing lock...
[2025-04-12 00:29:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 00:29:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 00:29:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 00:29:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 00:29:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 00:29:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 00:29:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 00:29:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 00:29:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 00:29:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 00:29:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 00:29:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 00:29:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 00:29:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 00:29:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 00:29:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 00:29:14] Production.INFO: call_cost start
[2025-04-12 00:29:14] Production.INFO: call_cost end
[2025-04-12 00:29:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 00:29:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 00:29:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 00:29:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 00:29:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 00:29:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 00:29:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 00:29:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 00:29:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 00:29:15] Production.INFO: ==2047== Releasing lock...
[2025-04-12 00:29:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 00:29:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 00:29:18] Production.INFO: count ==765
[2025-04-12 00:29:19] Production.ERROR: pbx CDR StartTime 2025-04-11 21:29:05 - End Time 2025-04-12 00:29:05
[2025-04-12 00:29:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 00:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887891', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887891', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887891', 'tblTempVendorCDR_20' ) start
[2025-04-12 00:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887891', 'tblTempVendorCDR_20' ) end
[2025-04-12 00:29:19] Production.INFO: ProcessCDR(1,14887891,1,1,2)
[2025-04-12 00:29:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887891,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:29:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887891,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:29:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887891,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:29:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887891,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887891', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887891', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:29:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 00:29:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 00:29:22] Production.INFO: ==2055== Releasing lock...
[2025-04-12 00:29:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 00:29:22] Production.INFO: 34.75 MB #Memory Used#
[2025-04-12 05:30:01] Production.INFO: ==2114== Lock acquired, processing the job...
[2025-04-12 05:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 05:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 05:30:01] Production.INFO: neon service started
[2025-04-12 05:30:01] Production.INFO: neon service started
[2025-04-12 05:30:01] Production.INFO: ==2114== Releasing lock...
[2025-04-12 05:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 05:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 04:30:01] Production.INFO: ==2118== Lock acquired, processing the job...
[2025-04-12 04:30:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 04:30:02] Production.INFO: ==2118== Releasing lock...
[2025-04-12 04:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 04:30:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 00:30:02] Production.INFO: ==2116== Lock acquired, processing the job...
[2025-04-12 00:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 00:30:02] Production.INFO: ==2116== Releasing lock...
[2025-04-12 00:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 00:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 00:30:03] Production.INFO: ==2121== Lock acquired, processing the job...
[2025-04-12 00:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 00:30:03] Production.INFO: ==2129== Lock acquired, processing the job...
[2025-04-12 00:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 00:30:03] Production.INFO: ==2131== Lock acquired, processing the job...
[2025-04-12 00:30:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 00:30:03] Production.INFO: ==2123== Lock acquired, processing the job...
[2025-04-12 00:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 00:30:03] Production.INFO: ==2127== Lock acquired, processing the job...
[2025-04-12 00:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 00:30:03] Production.INFO: ==2125== Lock acquired, processing the job...
[2025-04-12 00:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 00:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 00:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 00:30:03] Production.ERROR: CronJob PID - 2129
[2025-04-12 00:30:03] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-04-12 00:30:03] Production.ERROR: CronJob ID - 12
[2025-04-12 00:30:03] Production.ERROR: CronJob Last Run Time 2025-04-12 00:30:00
[2025-04-12 00:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 00:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 00:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 00:30:03] Production.ERROR: CronJob PID - 2131
[2025-04-12 00:30:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-04-12 00:30:03] Production.ERROR: CronJob ID - 16
[2025-04-12 00:30:03] Production.ERROR: CronJob Last Run Time 2025-04-12 00:30:00
[2025-04-12 00:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 00:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 00:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 00:30:03] Production.INFO: Account Balance Start.
[2025-04-12 00:30:03] Production.INFO: CreateAllLog Start
[2025-04-12 00:30:03] Production.INFO: 117
[2025-04-12 00:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 00:30:03] Production.INFO: ==2121== Releasing lock...
[2025-04-12 00:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 00:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 00:30:03] Production.INFO: ==2135== Lock acquired, processing the job...
[2025-04-12 00:30:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 00:30:03] Production.INFO: Date 2025-04-08
[2025-04-12 00:30:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:30:04] Production.INFO: Date 2025-04-09
[2025-04-12 00:30:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:30:04] Production.INFO: ==2133== Lock acquired, processing the job...
[2025-04-12 00:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 00:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 00:30:04] Production.INFO: Date 2025-04-10
[2025-04-12 00:30:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 00:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 00:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 00:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 00:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 00:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 00:30:04] Production.INFO: Date 2025-04-11
[2025-04-12 00:30:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:30:04] Production.INFO: count ==12
[2025-04-12 00:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 00:30:04] Production.INFO: count ==23
[2025-04-12 00:30:04] Production.ERROR: done
[2025-04-12 00:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887894') start
[2025-04-12 00:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 00:30:04] Production.INFO: Date 2025-04-12
[2025-04-12 00:30:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:30:04] Production.ERROR: done
[2025-04-12 00:30:04] Production.INFO: Total Charge 0
[2025-04-12 00:30:04] Production.INFO: CreateAllLog End
[2025-04-12 00:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 00:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14887896', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 00:30:04] Production.INFO: ==2125== Releasing lock...
[2025-04-12 00:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 00:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 00:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887894') end
[2025-04-12 00:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 00:30:04] Production.INFO: 1
[2025-04-12 00:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 00:30:04] Production.INFO: ==2135== Releasing lock...
[2025-04-12 00:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 00:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 00:30:04] Production.INFO: Account Balance End.
[2025-04-12 00:30:04] Production.ERROR: done
[2025-04-12 00:30:04] Production.ERROR: CronJobId end 12
[2025-04-12 00:30:04] Production.INFO: ==2129== Releasing lock...
[2025-04-12 00:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 00:30:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 00:30:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 21:30:05
[end_date_ymd] => 2025-04-12 00:30:05
[RateCDR] => 1
)
[2025-04-12 00:30:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 21:30:05' and `end` < '2025-04-12 00:30:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 00:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14887896', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 00:30:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 00:30:09] Production.INFO: ProcessCDR(1,14887896,1,1,2)
[2025-04-12 00:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14887896,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14887896,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 00:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 00:30:09] Production.INFO: ==2133== Releasing lock...
[2025-04-12 00:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 00:30:09] Production.INFO: 26 MB #Memory Used#
[2025-04-12 00:30:15] Production.ERROR: CronJobId end10
[2025-04-12 00:30:15] Production.INFO: ==2127== Releasing lock...
[2025-04-12 00:30:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 00:30:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 00:30:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 00:30:16] Production.INFO: ============== Balance Warning START===========
[2025-04-12 00:30:16] Production.INFO: ============== Balance Warning END===========
[2025-04-12 00:30:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 00:30:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 00:30:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 00:30:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 00:30:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 00:30:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 00:30:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 00:30:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 00:30:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 00:30:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 00:30:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 00:30:16] Production.INFO: call_cost start
[2025-04-12 00:30:16] Production.INFO: call_cost end
[2025-04-12 00:30:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 00:30:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 00:30:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 00:30:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 00:30:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 00:30:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 00:30:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 00:30:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 00:30:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 00:30:17] Production.INFO: ==2123== Releasing lock...
[2025-04-12 00:30:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 00:30:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 00:30:18] Production.INFO: count ==773
[2025-04-12 00:30:19] Production.ERROR: pbx CDR StartTime 2025-04-11 21:30:05 - End Time 2025-04-12 00:30:05
[2025-04-12 00:30:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 00:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887897', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887897', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887897', 'tblTempVendorCDR_20' ) start
[2025-04-12 00:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887897', 'tblTempVendorCDR_20' ) end
[2025-04-12 00:30:19] Production.INFO: ProcessCDR(1,14887897,1,1,2)
[2025-04-12 00:30:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887897,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:30:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887897,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:30:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887897,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:30:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887897,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887897', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887897', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:30:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 00:30:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 00:30:22] Production.INFO: ==2131== Releasing lock...
[2025-04-12 00:30:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 00:30:22] Production.INFO: 34.5 MB #Memory Used#
[2025-04-12 05:31:02] Production.INFO: ==2208== Lock acquired, processing the job...
[2025-04-12 05:31:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 05:31:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 05:31:02] Production.INFO: neon service started
[2025-04-12 05:31:02] Production.INFO: neon service started
[2025-04-12 05:31:02] Production.INFO: ==2208== Releasing lock...
[2025-04-12 05:31:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 05:31:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 04:31:02] Production.INFO: ==2213== Lock acquired, processing the job...
[2025-04-12 04:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 04:31:02] Production.INFO: ==2213== Releasing lock...
[2025-04-12 04:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 04:31:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 00:31:02] Production.INFO: ==2211== Lock acquired, processing the job...
[2025-04-12 00:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 00:31:02] Production.INFO: ==2211== Releasing lock...
[2025-04-12 00:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 00:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 00:31:03] Production.INFO: ==2215== Lock acquired, processing the job...
[2025-04-12 00:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 00:31:03] Production.INFO: ==2219== Lock acquired, processing the job...
[2025-04-12 00:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 00:31:03] Production.INFO: ==2217== Lock acquired, processing the job...
[2025-04-12 00:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 00:31:03] Production.INFO: ==2223== Lock acquired, processing the job...
[2025-04-12 00:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 00:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 00:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 00:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 00:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 00:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 00:31:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 00:31:04] Production.INFO: ==2221== Lock acquired, processing the job...
[2025-04-12 00:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 00:31:04] Production.INFO: ==2225== Lock acquired, processing the job...
[2025-04-12 00:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 00:31:04] Production.INFO: Account Balance Start.
[2025-04-12 00:31:04] Production.INFO: CreateAllLog Start
[2025-04-12 00:31:04] Production.INFO: 117
[2025-04-12 00:31:04] Production.INFO: Date 2025-04-08
[2025-04-12 00:31:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:31:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 00:31:04] Production.INFO: count ==12
[2025-04-12 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-12 00:31:04] Production.INFO: count ==23
[2025-04-12 00:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887900') start
[2025-04-12 00:31:04] Production.INFO: ==2217== Releasing lock...
[2025-04-12 00:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 00:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 00:31:04] Production.ERROR: done
[2025-04-12 00:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 00:31:04] Production.INFO: Date 2025-04-09
[2025-04-12 00:31:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:31:04] Production.INFO: Date 2025-04-10
[2025-04-12 00:31:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:31:04] Production.INFO: Date 2025-04-11
[2025-04-12 00:31:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:31:04] Production.INFO: Date 2025-04-12
[2025-04-12 00:31:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:31:04] Production.INFO: Total Charge 0
[2025-04-12 00:31:04] Production.INFO: CreateAllLog End
[2025-04-12 00:31:04] Production.ERROR: done
[2025-04-12 00:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887900') end
[2025-04-12 00:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 00:31:04] Production.INFO: 1
[2025-04-12 00:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 00:31:04] Production.INFO: ==2225== Releasing lock...
[2025-04-12 00:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 00:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 00:31:04] Production.INFO: Account Balance End.
[2025-04-12 00:31:04] Production.ERROR: CronJobId end 12
[2025-04-12 00:31:04] Production.INFO: ==2221== Releasing lock...
[2025-04-12 00:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 00:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 00:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 21:31:05
[end_date_ymd] => 2025-04-12 00:31:05
[RateCDR] => 1
)
[2025-04-12 00:31:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 21:31:05' and `end` < '2025-04-12 00:31:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 00:31:12] Production.ERROR: CronJobId end10
[2025-04-12 00:31:12] Production.INFO: ==2219== Releasing lock...
[2025-04-12 00:31:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 00:31:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 00:31:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 00:31:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 00:31:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 00:31:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 00:31:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 00:31:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 00:31:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 00:31:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 00:31:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 00:31:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 00:31:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 00:31:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 00:31:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 00:31:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 00:31:14] Production.INFO: call_cost start
[2025-04-12 00:31:14] Production.INFO: call_cost end
[2025-04-12 00:31:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 00:31:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 00:31:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 00:31:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 00:31:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 00:31:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 00:31:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 00:31:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 00:31:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 00:31:15] Production.INFO: ==2215== Releasing lock...
[2025-04-12 00:31:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 00:31:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 00:31:18] Production.INFO: count ==779
[2025-04-12 00:31:18] Production.ERROR: pbx CDR StartTime 2025-04-11 21:31:05 - End Time 2025-04-12 00:31:05
[2025-04-12 00:31:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 00:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887902', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887902', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887902', 'tblTempVendorCDR_20' ) start
[2025-04-12 00:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887902', 'tblTempVendorCDR_20' ) end
[2025-04-12 00:31:18] Production.INFO: ProcessCDR(1,14887902,1,1,2)
[2025-04-12 00:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887902,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:31:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887902,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:31:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887902,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:31:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887902,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887902', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887902', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:31:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 00:31:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 00:31:22] Production.INFO: ==2223== Releasing lock...
[2025-04-12 00:31:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 00:31:22] Production.INFO: 34.75 MB #Memory Used#
[2025-04-12 05:32:01] Production.INFO: ==2283== Lock acquired, processing the job...
[2025-04-12 05:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 05:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 05:32:01] Production.INFO: neon service started
[2025-04-12 05:32:01] Production.INFO: neon service started
[2025-04-12 05:32:01] Production.INFO: ==2283== Releasing lock...
[2025-04-12 05:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 05:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 04:32:01] Production.INFO: ==2287== Lock acquired, processing the job...
[2025-04-12 04:32:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 04:32:02] Production.INFO: ==2287== Releasing lock...
[2025-04-12 04:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 04:32:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 00:32:02] Production.INFO: ==2285== Lock acquired, processing the job...
[2025-04-12 00:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 00:32:02] Production.INFO: ==2285== Releasing lock...
[2025-04-12 00:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 00:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 00:32:03] Production.INFO: ==2292== Lock acquired, processing the job...
[2025-04-12 00:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 00:32:03] Production.INFO: ==2294== Lock acquired, processing the job...
[2025-04-12 00:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 00:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 00:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 00:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 00:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 00:32:03] Production.INFO: ==2298== Lock acquired, processing the job...
[2025-04-12 00:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 00:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 00:32:03] Production.INFO: ==2290== Lock acquired, processing the job...
[2025-04-12 00:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 00:32:03] Production.INFO: ==2296== Lock acquired, processing the job...
[2025-04-12 00:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 00:32:03] Production.INFO: ==2300== Lock acquired, processing the job...
[2025-04-12 00:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 00:32:03] Production.INFO: ==2292== Releasing lock...
[2025-04-12 00:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 00:32:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 00:32:03] Production.INFO: Account Balance Start.
[2025-04-12 00:32:03] Production.INFO: CreateAllLog Start
[2025-04-12 00:32:03] Production.INFO: 117
[2025-04-12 00:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 00:32:03] Production.INFO: Date 2025-04-08
[2025-04-12 00:32:03] Production.ERROR: done
[2025-04-12 00:32:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 00:32:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:32:04] Production.INFO: Date 2025-04-09
[2025-04-12 00:32:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:32:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 00:32:04] Production.INFO: Date 2025-04-10
[2025-04-12 00:32:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:32:04] Production.INFO: Date 2025-04-11
[2025-04-12 00:32:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:32:04] Production.INFO: count ==12
[2025-04-12 00:32:04] Production.INFO: Date 2025-04-12
[2025-04-12 00:32:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:32:04] Production.ERROR: done
[2025-04-12 00:32:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 00:32:04] Production.INFO: count ==23
[2025-04-12 00:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887906') start
[2025-04-12 00:32:04] Production.INFO: Total Charge 0
[2025-04-12 00:32:04] Production.INFO: CreateAllLog End
[2025-04-12 00:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887906') end
[2025-04-12 00:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 00:32:04] Production.INFO: 1
[2025-04-12 00:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 00:32:04] Production.INFO: ==2300== Releasing lock...
[2025-04-12 00:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 00:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 00:32:04] Production.INFO: Account Balance End.
[2025-04-12 00:32:04] Production.ERROR: CronJobId end 12
[2025-04-12 00:32:04] Production.INFO: ==2296== Releasing lock...
[2025-04-12 00:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 00:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 00:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 21:32:05
[end_date_ymd] => 2025-04-12 00:32:05
[RateCDR] => 1
)
[2025-04-12 00:32:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 21:32:05' and `end` < '2025-04-12 00:32:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 00:32:11] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:294
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(294): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_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-12 00:32:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 00:32:11] Production.INFO: ============== Balance Warning START===========
[2025-04-12 00:32:11] Production.INFO: ============== Balance Warning END===========
[2025-04-12 00:32:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 00:32:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 00:32:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 00:32:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 00:32:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 00:32:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 00:32:11] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 00:32:11] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 00:32:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 00:32:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 00:32:12] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 00:32:12] Production.INFO: call_cost start
[2025-04-12 00:32:12] Production.INFO: call_cost end
[2025-04-12 00:32:12] Production.ERROR: CronJobId end10
[2025-04-12 00:32:12] Production.INFO: ==2294== Releasing lock...
[2025-04-12 00:32:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 00:32:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 00:32:13] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 00:32:13] Production.INFO: ============== Report Schedule START===========
[2025-04-12 00:32:13] Production.INFO: ============== Report Schedule END===========
[2025-04-12 00:32:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 00:32:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 00:32:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 00:32:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 00:32:13] Production.INFO: ============== Deal alert START===========
[2025-04-12 00:32:13] Production.INFO: ============== Deal alert END===========
[2025-04-12 00:32:13] Production.INFO: ==2290== Releasing lock...
[2025-04-12 00:32:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 00:32:13] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 00:32:18] Production.INFO: count ==776
[2025-04-12 00:32:18] Production.ERROR: pbx CDR StartTime 2025-04-11 21:32:05 - End Time 2025-04-12 00:32:05
[2025-04-12 00:32:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 00:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887907', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887907', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887907', 'tblTempVendorCDR_20' ) start
[2025-04-12 00:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887907', 'tblTempVendorCDR_20' ) end
[2025-04-12 00:32:18] Production.INFO: ProcessCDR(1,14887907,1,1,2)
[2025-04-12 00:32:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887907,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:32:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887907,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:32:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887907,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:32:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887907,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887907', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887907', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:32:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 00:32:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 00:32:21] Production.INFO: ==2298== Releasing lock...
[2025-04-12 00:32:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 00:32:21] Production.INFO: 34.75 MB #Memory Used#
[2025-04-12 05:33:02] Production.INFO: ==2363== Lock acquired, processing the job...
[2025-04-12 05:33:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 05:33:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 05:33:02] Production.INFO: neon service started
[2025-04-12 05:33:02] Production.INFO: neon service started
[2025-04-12 05:33:02] Production.INFO: ==2363== Releasing lock...
[2025-04-12 05:33:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 05:33:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 00:33:02] Production.INFO: ==2365== Lock acquired, processing the job...
[2025-04-12 00:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 00:33:02] Production.INFO: ==2365== Releasing lock...
[2025-04-12 00:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 00:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 04:33:02] Production.INFO: ==2367== Lock acquired, processing the job...
[2025-04-12 04:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 04:33:02] Production.INFO: ==2367== Releasing lock...
[2025-04-12 04:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 04:33:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 00:33:03] Production.INFO: ==2371== Lock acquired, processing the job...
[2025-04-12 00:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 00:33:03] Production.INFO: ==2369== Lock acquired, processing the job...
[2025-04-12 00:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 00:33:03] Production.INFO: ==2373== Lock acquired, processing the job...
[2025-04-12 00:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 00:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 00:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 00:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 00:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 00:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 00:33:03] Production.INFO: ==2375== Lock acquired, processing the job...
[2025-04-12 00:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 00:33:04] Production.INFO: ==2377== Lock acquired, processing the job...
[2025-04-12 00:33:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 00:33:04] Production.INFO: ==2371== Releasing lock...
[2025-04-12 00:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 00:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 00:33:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 00:33:04] Production.INFO: Account Balance Start.
[2025-04-12 00:33:04] Production.INFO: CreateAllLog Start
[2025-04-12 00:33:04] Production.INFO: 117
[2025-04-12 00:33:04] Production.INFO: ==2380== Lock acquired, processing the job...
[2025-04-12 00:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 00:33:04] Production.INFO: Date 2025-04-08
[2025-04-12 00:33:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:33:04] Production.INFO: Date 2025-04-09
[2025-04-12 00:33:04] Production.INFO: Reseller ==> 0
[2025-04-12 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-12 00:33:04] Production.INFO: Date 2025-04-10
[2025-04-12 00:33:04] Production.INFO: count ==12
[2025-04-12 00:33:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:33:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 00:33:04] Production.INFO: count ==23
[2025-04-12 00:33:04] Production.ERROR: done
[2025-04-12 00:33:04] Production.INFO: Date 2025-04-11
[2025-04-12 00:33:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887911') start
[2025-04-12 00:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 00:33:04] Production.INFO: Date 2025-04-12
[2025-04-12 00:33:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:33:04] Production.INFO: Total Charge 0
[2025-04-12 00:33:04] Production.INFO: CreateAllLog End
[2025-04-12 00:33:04] Production.ERROR: done
[2025-04-12 00:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887911') end
[2025-04-12 00:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 00:33:04] Production.INFO: 1
[2025-04-12 00:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 00:33:04] Production.INFO: ==2380== Releasing lock...
[2025-04-12 00:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 00:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 00:33:04] Production.INFO: Account Balance End.
[2025-04-12 00:33:04] Production.ERROR: CronJobId end 12
[2025-04-12 00:33:04] Production.INFO: ==2375== Releasing lock...
[2025-04-12 00:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 00:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 00:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 21:33:05
[end_date_ymd] => 2025-04-12 00:33:05
[RateCDR] => 1
)
[2025-04-12 00:33:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 21:33:05' and `end` < '2025-04-12 00:33:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 00:33:12] Production.ERROR: CronJobId end10
[2025-04-12 00:33:12] Production.INFO: ==2373== Releasing lock...
[2025-04-12 00:33:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 00:33:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 00:33:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 00:33:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 00:33:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 00:33:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 00:33:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 00:33:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 00:33:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 00:33:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 00:33:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 00:33:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 00:33:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 00:33:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 00:33:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 00:33:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 00:33:15] Production.INFO: call_cost start
[2025-04-12 00:33:15] Production.INFO: call_cost end
[2025-04-12 00:33:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 00:33:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 00:33:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 00:33:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 00:33:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 00:33:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 00:33:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 00:33:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 00:33:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 00:33:16] Production.INFO: ==2369== Releasing lock...
[2025-04-12 00:33:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 00:33:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 00:33:18] Production.INFO: count ==776
[2025-04-12 00:33:19] Production.ERROR: pbx CDR StartTime 2025-04-11 21:33:05 - End Time 2025-04-12 00:33:05
[2025-04-12 00:33:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 00:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887912', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887912', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887912', 'tblTempVendorCDR_20' ) start
[2025-04-12 00:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887912', 'tblTempVendorCDR_20' ) end
[2025-04-12 00:33:19] Production.INFO: ProcessCDR(1,14887912,1,1,2)
[2025-04-12 00:33:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887912,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:33:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887912,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:33:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887912,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:33:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887912,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887912', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887912', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:33:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 00:33:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 00:33:22] Production.INFO: ==2377== Releasing lock...
[2025-04-12 00:33:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 00:33:22] Production.INFO: 34.75 MB #Memory Used#
[2025-04-12 05:34:01] Production.INFO: ==2447== Lock acquired, processing the job...
[2025-04-12 05:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 05:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 05:34:01] Production.INFO: neon service started
[2025-04-12 05:34:01] Production.INFO: neon service started
[2025-04-12 05:34:01] Production.INFO: ==2447== Releasing lock...
[2025-04-12 05:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 05:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 00:34:02] Production.INFO: ==2449== Lock acquired, processing the job...
[2025-04-12 00:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 04:34:02] Production.INFO: ==2451== Lock acquired, processing the job...
[2025-04-12 04:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 04:34:02] Production.INFO: ==2451== Releasing lock...
[2025-04-12 04:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 04:34:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 00:34:02] Production.INFO: ==2449== Releasing lock...
[2025-04-12 00:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 00:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 00:34:03] Production.INFO: ==2458== Lock acquired, processing the job...
[2025-04-12 00:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 00:34:03] Production.INFO: ==2460== Lock acquired, processing the job...
[2025-04-12 00:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 00:34:03] Production.INFO: ==2462== Lock acquired, processing the job...
[2025-04-12 00:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 00:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 00:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 00:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 00:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 00:34:03] Production.INFO: Account Balance Start.
[2025-04-12 00:34:03] Production.INFO: CreateAllLog Start
[2025-04-12 00:34:03] Production.INFO: 117
[2025-04-12 00:34:03] Production.INFO: Date 2025-04-08
[2025-04-12 00:34:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:34:03] Production.INFO: ==2458== Releasing lock...
[2025-04-12 00:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 00:34:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 00:34:03] Production.INFO: Date 2025-04-09
[2025-04-12 00:34:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:34:03] Production.INFO: Date 2025-04-10
[2025-04-12 00:34:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:34:03] Production.INFO: ==2456== Lock acquired, processing the job...
[2025-04-12 00:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 00:34:03] Production.INFO: Date 2025-04-11
[2025-04-12 00:34:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:34:03] Production.INFO: Date 2025-04-12
[2025-04-12 00:34:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 00:34:03] Production.INFO: Total Charge 0
[2025-04-12 00:34:03] Production.INFO: CreateAllLog End
[2025-04-12 00:34:03] Production.INFO: ==2464== Lock acquired, processing the job...
[2025-04-12 00:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 00:34:03] Production.INFO: ==2466== Lock acquired, processing the job...
[2025-04-12 00:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 00:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 00:34:03] Production.INFO: Account Balance End.
[2025-04-12 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-12 00:34:04] Production.ERROR: CronJobId end 12
[2025-04-12 00:34:04] Production.INFO: ==2462== Releasing lock...
[2025-04-12 00:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 00:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 00:34:04] Production.INFO: count ==12
[2025-04-12 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-12 00:34:04] Production.INFO: count ==23
[2025-04-12 00:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887916') start
[2025-04-12 00:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887916') end
[2025-04-12 00:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 00:34:04] Production.INFO: 1
[2025-04-12 00:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 00:34:04] Production.INFO: ==2466== Releasing lock...
[2025-04-12 00:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 00:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 00:34:04] Production.ERROR: done
[2025-04-12 00:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 00:34:04] Production.ERROR: done
[2025-04-12 00:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 21:34:05
[end_date_ymd] => 2025-04-12 00:34:05
[RateCDR] => 1
)
[2025-04-12 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-11 21:34:05' and `end` < '2025-04-12 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-12 00:34:11] Production.ERROR: CronJobId end10
[2025-04-12 00:34:11] Production.INFO: ==2460== Releasing lock...
[2025-04-12 00:34:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 00:34:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 00:34:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 00:34:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 00:34:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 00:34:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 00:34:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 00:34:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 00:34:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 00:34:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 00:34:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 00:34:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 00:34:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 00:34:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 00:34:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 00:34:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 00:34:14] Production.INFO: call_cost start
[2025-04-12 00:34:14] Production.INFO: call_cost end
[2025-04-12 00:34:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 00:34:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 00:34:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 00:34:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 00:34:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 00:34:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 00:34:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 00:34:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 00:34:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 00:34:15] Production.INFO: ==2456== Releasing lock...
[2025-04-12 00:34:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 00:34:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 00:34:18] Production.INFO: count ==775
[2025-04-12 00:34:19] Production.ERROR: pbx CDR StartTime 2025-04-11 21:34:05 - End Time 2025-04-12 00:34:05
[2025-04-12 00:34:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 00:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887917', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887917', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887917', 'tblTempVendorCDR_20' ) start
[2025-04-12 00:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887917', 'tblTempVendorCDR_20' ) end
[2025-04-12 00:34:19] Production.INFO: ProcessCDR(1,14887917,1,1,2)
[2025-04-12 00:34:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887917,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:34:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887917,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:34:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887917,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:34:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887917,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887917', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887917', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:34:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 00:34:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 00:34:22] Production.INFO: ==2464== Releasing lock...
[2025-04-12 00:34:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 00:34:22] Production.INFO: 34.5 MB #Memory Used#
[2025-04-12 05:35:02] Production.INFO: ==2528== Lock acquired, processing the job...
[2025-04-12 05:35:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 05:35:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 05:35:02] Production.INFO: neon service started
[2025-04-12 05:35:02] Production.INFO: neon service started
[2025-04-12 05:35:02] Production.INFO: ==2528== Releasing lock...
[2025-04-12 05:35:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 05:35:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 00:35:02] Production.INFO: ==2530== Lock acquired, processing the job...
[2025-04-12 00:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 00:35:02] Production.INFO: ==2530== Releasing lock...
[2025-04-12 00:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 00:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 04:35:03] Production.INFO: ==2532== Lock acquired, processing the job...
[2025-04-12 04:35:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 04:35:03] Production.INFO: ==2532== Releasing lock...
[2025-04-12 04:35:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 04:35:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 00:35:03] Production.INFO: ==2534== Lock acquired, processing the job...
[2025-04-12 00:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 00:35:03] Production.INFO: ==2537== Lock acquired, processing the job...
[2025-04-12 00:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 00:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 00:35:03] Production.INFO: ==2540== Lock acquired, processing the job...
[2025-04-12 00:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 00:35:03] Production.INFO: ==2546== Lock acquired, processing the job...
[2025-04-12 00:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 00:35:03] Production.INFO: ==2542== Lock acquired, processing the job...
[2025-04-12 00:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 00:35:03] Production.INFO: ==2544== Lock acquired, processing the job...
[2025-04-12 00:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 00:35:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 00:35:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 00:35:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 00:35:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 00:35:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 00:35:04] Production.INFO: Account Balance Start.
[2025-04-12 00:35:04] Production.INFO: CreateAllLog Start
[2025-04-12 00:35:04] Production.INFO: 117
[2025-04-12 00:35:04] Production.INFO: Date 2025-04-08
[2025-04-12 00:35:04] Production.INFO: Reseller ==> 0
[2025-04-12 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-12 00:35:04] Production.INFO: ==2537== Releasing lock...
[2025-04-12 00:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 00:35:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 00:35:04] Production.INFO: count ==12
[2025-04-12 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-12 00:35:04] Production.INFO: count ==23
[2025-04-12 00:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887921') start
[2025-04-12 00:35:04] Production.INFO: Date 2025-04-09
[2025-04-12 00:35:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887921') end
[2025-04-12 00:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 00:35:04] Production.INFO: 1
[2025-04-12 00:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 00:35:04] Production.INFO: Date 2025-04-10
[2025-04-12 00:35:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:35:04] Production.INFO: Date 2025-04-11
[2025-04-12 00:35:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:35:04] Production.INFO: ==2546== Releasing lock...
[2025-04-12 00:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 00:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 00:35:04] Production.ERROR: done
[2025-04-12 00:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 00:35:04] Production.INFO: Date 2025-04-12
[2025-04-12 00:35:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:35:04] Production.INFO: Total Charge 0
[2025-04-12 00:35:04] Production.INFO: CreateAllLog End
[2025-04-12 00:35:04] Production.ERROR: done
[2025-04-12 00:35:04] Production.INFO: Account Balance End.
[2025-04-12 00:35:04] Production.ERROR: CronJobId end 12
[2025-04-12 00:35:04] Production.INFO: ==2542== Releasing lock...
[2025-04-12 00:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 00:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 00:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 21:35:05
[end_date_ymd] => 2025-04-12 00:35:05
[RateCDR] => 1
)
[2025-04-12 00:35:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 21:35:05' and `end` < '2025-04-12 00:35:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 00:35:12] Production.ERROR: CronJobId end10
[2025-04-12 00:35:12] Production.INFO: ==2540== Releasing lock...
[2025-04-12 00:35:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 00:35:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 00:35:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 00:35:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 00:35:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 00:35:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 00:35:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 00:35:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 00:35:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 00:35:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 00:35:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 00:35:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 00:35:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 00:35:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 00:35:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 00:35:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 00:35:15] Production.INFO: call_cost start
[2025-04-12 00:35:15] Production.INFO: call_cost end
[2025-04-12 00:35:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 00:35:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 00:35:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 00:35:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 00:35:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 00:35:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 00:35:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 00:35:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 00:35:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 00:35:16] Production.INFO: ==2534== Releasing lock...
[2025-04-12 00:35:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 00:35:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 00:35:18] Production.INFO: count ==775
[2025-04-12 00:35:18] Production.ERROR: pbx CDR StartTime 2025-04-11 21:35:05 - End Time 2025-04-12 00:35:05
[2025-04-12 00:35:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 00:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887922', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887922', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887922', 'tblTempVendorCDR_20' ) start
[2025-04-12 00:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887922', 'tblTempVendorCDR_20' ) end
[2025-04-12 00:35:19] Production.INFO: ProcessCDR(1,14887922,1,1,2)
[2025-04-12 00:35:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887922,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:35:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887922,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:35:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887922,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:35:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887922,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:35:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887922', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:35:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887922', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:35:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 00:35:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 00:35:22] Production.INFO: ==2544== Releasing lock...
[2025-04-12 00:35:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 00:35:22] Production.INFO: 34.5 MB #Memory Used#
[2025-04-12 05:36:01] Production.INFO: ==2609== Lock acquired, processing the job...
[2025-04-12 05:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 05:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 05:36:01] Production.INFO: neon service started
[2025-04-12 05:36:01] Production.INFO: neon service started
[2025-04-12 05:36:01] Production.INFO: ==2609== Releasing lock...
[2025-04-12 05:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 05:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 00:36:01] Production.INFO: ==2611== Lock acquired, processing the job...
[2025-04-12 00:36:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 00:36:02] Production.INFO: ==2611== Releasing lock...
[2025-04-12 00:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 00:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 04:36:02] Production.INFO: ==2613== Lock acquired, processing the job...
[2025-04-12 04:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 04:36:02] Production.INFO: ==2613== Releasing lock...
[2025-04-12 04:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 04:36:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 00:36:03] Production.INFO: ==2619== Lock acquired, processing the job...
[2025-04-12 00:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 00:36:03] Production.INFO: ==2617== Lock acquired, processing the job...
[2025-04-12 00:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 00:36:03] Production.INFO: ==2615== Lock acquired, processing the job...
[2025-04-12 00:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 00:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 00:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 00:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 00:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 00:36:03] Production.INFO: ==2624== Lock acquired, processing the job...
[2025-04-12 00:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 00:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 00:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 00:36:03] Production.INFO: ==2622== Lock acquired, processing the job...
[2025-04-12 00:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 00:36:03] Production.INFO: ==2626== Lock acquired, processing the job...
[2025-04-12 00:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 00:36:03] Production.INFO: Account Balance Start.
[2025-04-12 00:36:03] Production.INFO: CreateAllLog Start
[2025-04-12 00:36:03] Production.INFO: 117
[2025-04-12 00:36:03] Production.INFO: Date 2025-04-08
[2025-04-12 00:36:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 00:36:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:36:03] Production.INFO: Date 2025-04-09
[2025-04-12 00:36:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:36:03] Production.INFO: Date 2025-04-10
[2025-04-12 00:36:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:36:03] Production.INFO: Date 2025-04-11
[2025-04-12 00:36:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:36:03] Production.INFO: count ==12
[2025-04-12 00:36:03] Production.INFO: Date 2025-04-12
[2025-04-12 00:36:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 00:36:03] Production.INFO: count ==23
[2025-04-12 00:36:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:36:03] Production.INFO: ==2617== Releasing lock...
[2025-04-12 00:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 00:36:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 00:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887926') start
[2025-04-12 00:36:03] Production.ERROR: done
[2025-04-12 00:36:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 00:36:03] Production.INFO: Total Charge 0
[2025-04-12 00:36:03] Production.INFO: CreateAllLog End
[2025-04-12 00:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887926') end
[2025-04-12 00:36:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 00:36:03] Production.INFO: 1
[2025-04-12 00:36:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 00:36:03] Production.INFO: ==2626== Releasing lock...
[2025-04-12 00:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 00:36:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 00:36:03] Production.ERROR: done
[2025-04-12 00:36:04] Production.INFO: Account Balance End.
[2025-04-12 00:36:04] Production.ERROR: CronJobId end 12
[2025-04-12 00:36:04] Production.INFO: ==2622== Releasing lock...
[2025-04-12 00:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 00:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 00:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 21:36:05
[end_date_ymd] => 2025-04-12 00:36:05
[RateCDR] => 1
)
[2025-04-12 00:36:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 21:36:05' and `end` < '2025-04-12 00:36:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 00:36:12] Production.ERROR: CronJobId end10
[2025-04-12 00:36:12] Production.INFO: ==2619== Releasing lock...
[2025-04-12 00:36:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 00:36:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 00:36:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 00:36:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 00:36:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 00:36:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 00:36:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 00:36:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 00:36:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 00:36:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 00:36:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 00:36:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 00:36:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 00:36:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 00:36:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 00:36:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 00:36:14] Production.INFO: call_cost start
[2025-04-12 00:36:14] Production.INFO: call_cost end
[2025-04-12 00:36:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 00:36:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 00:36:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 00:36:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 00:36:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 00:36:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 00:36:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 00:36:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 00:36:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 00:36:15] Production.INFO: ==2615== Releasing lock...
[2025-04-12 00:36:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 00:36:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 00:36:18] Production.INFO: count ==775
[2025-04-12 00:36:18] Production.ERROR: pbx CDR StartTime 2025-04-11 21:36:05 - End Time 2025-04-12 00:36:05
[2025-04-12 00:36:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 00:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887927', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887927', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887927', 'tblTempVendorCDR_20' ) start
[2025-04-12 00:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887927', 'tblTempVendorCDR_20' ) end
[2025-04-12 00:36:18] Production.INFO: ProcessCDR(1,14887927,1,1,2)
[2025-04-12 00:36:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887927,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:36:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887927,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:36:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887927,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:36:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887927,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887927', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887927', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:36:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 00:36:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 00:36:22] Production.INFO: ==2624== Releasing lock...
[2025-04-12 00:36:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 00:36:22] Production.INFO: 34.5 MB #Memory Used#
[2025-04-12 05:37:01] Production.INFO: ==2693== Lock acquired, processing the job...
[2025-04-12 05:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 05:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 05:37:01] Production.INFO: neon service started
[2025-04-12 05:37:01] Production.INFO: neon service started
[2025-04-12 05:37:01] Production.INFO: ==2693== Releasing lock...
[2025-04-12 05:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 05:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 00:37:02] Production.INFO: ==2696== Lock acquired, processing the job...
[2025-04-12 00:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 00:37:02] Production.INFO: ==2696== Releasing lock...
[2025-04-12 00:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 00:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 04:37:02] Production.INFO: ==2698== Lock acquired, processing the job...
[2025-04-12 04:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 04:37:02] Production.INFO: ==2698== Releasing lock...
[2025-04-12 04:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 04:37:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 00:37:03] Production.INFO: ==2700== Lock acquired, processing the job...
[2025-04-12 00:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 00:37:03] Production.INFO: ==2706== Lock acquired, processing the job...
[2025-04-12 00:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 00:37:03] Production.INFO: ==2702== Lock acquired, processing the job...
[2025-04-12 00:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 00:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 00:37:03] Production.INFO: ==2704== Lock acquired, processing the job...
[2025-04-12 00:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 00:37:03] Production.INFO: ==2710== Lock acquired, processing the job...
[2025-04-12 00:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 00:37:03] Production.INFO: Account Balance Start.
[2025-04-12 00:37:03] Production.INFO: CreateAllLog Start
[2025-04-12 00:37:03] Production.INFO: 117
[2025-04-12 00:37:03] Production.INFO: Date 2025-04-08
[2025-04-12 00:37:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 00:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 00:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 00:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 00:37:03] Production.INFO: Date 2025-04-09
[2025-04-12 00:37:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:37:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 00:37:03] Production.INFO: count ==12
[2025-04-12 00:37:03] Production.INFO: Date 2025-04-10
[2025-04-12 00:37:03] Production.INFO: ==2708== Lock acquired, processing the job...
[2025-04-12 00:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 00:37:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 00:37:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:37:03] Production.INFO: count ==23
[2025-04-12 00:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 00:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887931') start
[2025-04-12 00:37:03] Production.INFO: Date 2025-04-11
[2025-04-12 00:37:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:37:03] Production.INFO: Date 2025-04-12
[2025-04-12 00:37:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:37:04] Production.INFO: Total Charge 0
[2025-04-12 00:37:04] Production.INFO: CreateAllLog End
[2025-04-12 00:37:04] Production.INFO: ==2702== Releasing lock...
[2025-04-12 00:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 00:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 00:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887931') end
[2025-04-12 00:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 00:37:04] Production.INFO: 1
[2025-04-12 00:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 00:37:04] Production.INFO: ==2710== Releasing lock...
[2025-04-12 00:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 00:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 00:37:04] Production.ERROR: done
[2025-04-12 00:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 00:37:04] Production.INFO: Account Balance End.
[2025-04-12 00:37:04] Production.ERROR: CronJobId end 12
[2025-04-12 00:37:04] Production.INFO: ==2706== Releasing lock...
[2025-04-12 00:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 00:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 00:37:04] Production.ERROR: done
[2025-04-12 00:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 21:37:05
[end_date_ymd] => 2025-04-12 00:37:05
[RateCDR] => 1
)
[2025-04-12 00:37:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 21:37:05' and `end` < '2025-04-12 00:37:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 00:37:12] Production.ERROR: CronJobId end10
[2025-04-12 00:37:12] Production.INFO: ==2704== Releasing lock...
[2025-04-12 00:37:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 00:37:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 00:37:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 00:37:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 00:37:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 00:37:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 00:37:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 00:37:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 00:37:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 00:37:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 00:37:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 00:37:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 00:37:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 00:37:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 00:37:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 00:37:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 00:37:15] Production.INFO: call_cost start
[2025-04-12 00:37:15] Production.INFO: call_cost end
[2025-04-12 00:37:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 00:37:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 00:37:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 00:37:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 00:37:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 00:37:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 00:37:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 00:37:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 00:37:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 00:37:16] Production.INFO: ==2700== Releasing lock...
[2025-04-12 00:37:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 00:37:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 00:37:18] Production.INFO: count ==777
[2025-04-12 00:37:18] Production.ERROR: pbx CDR StartTime 2025-04-11 21:37:05 - End Time 2025-04-12 00:37:05
[2025-04-12 00:37:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 00:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887932', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887932', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887932', 'tblTempVendorCDR_20' ) start
[2025-04-12 00:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887932', 'tblTempVendorCDR_20' ) end
[2025-04-12 00:37:18] Production.INFO: ProcessCDR(1,14887932,1,1,2)
[2025-04-12 00:37:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887932,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:37:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887932,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:37:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887932,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:37:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887932,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887932', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887932', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:37:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 00:37:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 00:37:22] Production.INFO: ==2708== Releasing lock...
[2025-04-12 00:37:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 00:37:22] Production.INFO: 34.25 MB #Memory Used#
[2025-04-12 05:38:02] Production.INFO: ==2812== Lock acquired, processing the job...
[2025-04-12 05:38:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 05:38:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 05:38:02] Production.INFO: neon service started
[2025-04-12 05:38:02] Production.INFO: neon service started
[2025-04-12 05:38:02] Production.INFO: ==2812== Releasing lock...
[2025-04-12 05:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 05:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 00:38:02] Production.INFO: ==2815== Lock acquired, processing the job...
[2025-04-12 00:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 00:38:03] Production.INFO: ==2815== Releasing lock...
[2025-04-12 00:38:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 00:38:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 04:38:03] Production.INFO: ==2817== Lock acquired, processing the job...
[2025-04-12 04:38:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 04:38:03] Production.INFO: ==2817== Releasing lock...
[2025-04-12 04:38:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 04:38:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 00:38:04] Production.INFO: ==2819== Lock acquired, processing the job...
[2025-04-12 00:38:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 00:38:04] Production.INFO: ==2823== Lock acquired, processing the job...
[2025-04-12 00:38:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 00:38:04] Production.INFO: ==2829== Lock acquired, processing the job...
[2025-04-12 00:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 00:38:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 00:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 00:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 00:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 00:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 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-12 00:38:04] Production.INFO: ==2821== Lock acquired, processing the job...
[2025-04-12 00:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 00:38:04] Production.INFO: count ==12
[2025-04-12 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-12 00:38:04] Production.INFO: count ==23
[2025-04-12 00:38:04] Production.INFO: ==2825== Lock acquired, processing the job...
[2025-04-12 00:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 00:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887934') start
[2025-04-12 00:38:04] Production.INFO: ==2827== Lock acquired, processing the job...
[2025-04-12 00:38:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 00:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887934') end
[2025-04-12 00:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 00:38:04] Production.INFO: 1
[2025-04-12 00:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 00:38:04] Production.INFO: Account Balance Start.
[2025-04-12 00:38:04] Production.INFO: CreateAllLog Start
[2025-04-12 00:38:04] Production.INFO: 117
[2025-04-12 00:38:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 00:38:04] Production.INFO: ==2829== Releasing lock...
[2025-04-12 00:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 00:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 00:38:04] Production.INFO: Date 2025-04-08
[2025-04-12 00:38:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:38:04] Production.INFO: Date 2025-04-09
[2025-04-12 00:38:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:38:04] Production.INFO: Date 2025-04-10
[2025-04-12 00:38:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:38:04] Production.INFO: Date 2025-04-11
[2025-04-12 00:38:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:38:04] Production.INFO: Date 2025-04-12
[2025-04-12 00:38:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:38:04] Production.INFO: Total Charge 0
[2025-04-12 00:38:04] Production.INFO: CreateAllLog End
[2025-04-12 00:38:04] Production.INFO: ==2821== Releasing lock...
[2025-04-12 00:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 00:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 00:38:04] Production.ERROR: done
[2025-04-12 00:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 00:38:05] Production.INFO: Account Balance End.
[2025-04-12 00:38:05] Production.ERROR: CronJobId end 12
[2025-04-12 00:38:05] Production.INFO: ==2825== Releasing lock...
[2025-04-12 00:38:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 00:38:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 00:38:05] Production.ERROR: done
[2025-04-12 00:38:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 21:38:06
[end_date_ymd] => 2025-04-12 00:38:06
[RateCDR] => 1
)
[2025-04-12 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-11 21:38:06' and `end` < '2025-04-12 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-12 00:38:12] Production.ERROR: CronJobId end10
[2025-04-12 00:38:12] Production.INFO: ==2823== Releasing lock...
[2025-04-12 00:38:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 00:38:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 00:38:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 00:38:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 00:38:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 00:38:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 00:38:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 00:38:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 00:38:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 00:38:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 00:38:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 00:38:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 00:38:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 00:38:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 00:38:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 00:38:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 00:38:14] Production.INFO: call_cost start
[2025-04-12 00:38:14] Production.INFO: call_cost end
[2025-04-12 00:38:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 00:38:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 00:38:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 00:38:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 00:38:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 00:38:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 00:38:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 00:38:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 00:38:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 00:38:15] Production.INFO: ==2819== Releasing lock...
[2025-04-12 00:38:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 00:38:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 00:38:19] Production.INFO: count ==777
[2025-04-12 00:38:19] Production.ERROR: pbx CDR StartTime 2025-04-11 21:38:06 - End Time 2025-04-12 00:38:06
[2025-04-12 00:38:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 00:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887937', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887937', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887937', 'tblTempVendorCDR_20' ) start
[2025-04-12 00:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887937', 'tblTempVendorCDR_20' ) end
[2025-04-12 00:38:19] Production.INFO: ProcessCDR(1,14887937,1,1,2)
[2025-04-12 00:38:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887937,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:38:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887937,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:38:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887937,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:38:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887937,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:38:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887937', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:38:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887937', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:38:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 00:38:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 00:38:23] Production.INFO: ==2827== Releasing lock...
[2025-04-12 00:38:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 00:38:23] Production.INFO: 34.25 MB #Memory Used#
[2025-04-12 05:39:01] Production.INFO: ==2893== Lock acquired, processing the job...
[2025-04-12 05:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 05:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 05:39:01] Production.INFO: neon service started
[2025-04-12 05:39:01] Production.INFO: neon service started
[2025-04-12 05:39:01] Production.INFO: ==2893== Releasing lock...
[2025-04-12 05:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 05:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 00:39:02] Production.INFO: ==2895== Lock acquired, processing the job...
[2025-04-12 00:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 04:39:02] Production.INFO: ==2897== Lock acquired, processing the job...
[2025-04-12 04:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 04:39:02] Production.INFO: ==2897== Releasing lock...
[2025-04-12 04:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 04:39:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 00:39:02] Production.INFO: ==2895== Releasing lock...
[2025-04-12 00:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 00:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 00:39:03] Production.INFO: ==2900== Lock acquired, processing the job...
[2025-04-12 00:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 00:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 00:39:03] Production.INFO: ==2906== Lock acquired, processing the job...
[2025-04-12 00:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 00:39:03] Production.INFO: ==2910== Lock acquired, processing the job...
[2025-04-12 00:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 00:39:03] Production.INFO: Account Balance Start.
[2025-04-12 00:39:03] Production.INFO: CreateAllLog Start
[2025-04-12 00:39:03] Production.INFO: 117
[2025-04-12 00:39:03] Production.INFO: Date 2025-04-08
[2025-04-12 00:39:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:39:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 00:39:04] Production.INFO: count ==12
[2025-04-12 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-12 00:39:04] Production.INFO: Date 2025-04-09
[2025-04-12 00:39:04] Production.INFO: count ==23
[2025-04-12 00:39:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887940') start
[2025-04-12 00:39:04] Production.INFO: ==2902== Lock acquired, processing the job...
[2025-04-12 00:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 00:39:04] Production.INFO: Date 2025-04-10
[2025-04-12 00:39:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:39:04] Production.INFO: Date 2025-04-11
[2025-04-12 00:39:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887940') end
[2025-04-12 00:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 00:39:04] Production.INFO: 1
[2025-04-12 00:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 00:39:04] Production.INFO: ==2910== Releasing lock...
[2025-04-12 00:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 00:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 00:39:04] Production.INFO: ==2904== Lock acquired, processing the job...
[2025-04-12 00:39:04] Production.INFO: ==2908== Lock acquired, processing the job...
[2025-04-12 00:39:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 00:39:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 00:39:04] Production.INFO: Date 2025-04-12
[2025-04-12 00:39:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:39:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 00:39:04] Production.INFO: Total Charge 0
[2025-04-12 00:39:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 00:39:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 00:39:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 00:39:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 00:39:04] Production.INFO: ==2902== Releasing lock...
[2025-04-12 00:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 00:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 00:39:04] Production.INFO: CreateAllLog End
[2025-04-12 00:39:04] Production.INFO: Account Balance End.
[2025-04-12 00:39:04] Production.ERROR: CronJobId end 12
[2025-04-12 00:39:04] Production.INFO: ==2906== Releasing lock...
[2025-04-12 00:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 00:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 00:39:04] Production.ERROR: done
[2025-04-12 00:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 00:39:04] Production.ERROR: done
[2025-04-12 00:39:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 21:39:06
[end_date_ymd] => 2025-04-12 00:39:06
[RateCDR] => 1
)
[2025-04-12 00: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-11 21:39:06' and `end` < '2025-04-12 00: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-12 00:39:13] Production.ERROR: CronJobId end10
[2025-04-12 00:39:13] Production.INFO: ==2904== Releasing lock...
[2025-04-12 00:39:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 00:39:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 00:39:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 00:39:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 00:39:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 00:39:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 00:39:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 00:39:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 00:39:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 00:39:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 00:39:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 00:39:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 00:39:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 00:39:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 00:39:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 00:39:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 00:39:15] Production.INFO: call_cost start
[2025-04-12 00:39:15] Production.INFO: call_cost end
[2025-04-12 00:39:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 00:39:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 00:39:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 00:39:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 00:39:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 00:39:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 00:39:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 00:39:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 00:39:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 00:39:16] Production.INFO: ==2900== Releasing lock...
[2025-04-12 00:39:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 00:39:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 00:39:19] Production.INFO: count ==777
[2025-04-12 00:39:19] Production.ERROR: pbx CDR StartTime 2025-04-11 21:39:06 - End Time 2025-04-12 00:39:06
[2025-04-12 00:39:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 00:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887942', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887942', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887942', 'tblTempVendorCDR_20' ) start
[2025-04-12 00:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887942', 'tblTempVendorCDR_20' ) end
[2025-04-12 00:39:19] Production.INFO: ProcessCDR(1,14887942,1,1,2)
[2025-04-12 00:39:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887942,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:39:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887942,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:39:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887942,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:39:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887942,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887942', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887942', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:39:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 00:39:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 00:39:22] Production.INFO: ==2908== Releasing lock...
[2025-04-12 00:39:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 00:39:22] Production.INFO: 34.25 MB #Memory Used#
[2025-04-12 05:40:02] Production.INFO: ==2974== Lock acquired, processing the job...
[2025-04-12 05:40:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 05:40:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 05:40:02] Production.INFO: neon service started
[2025-04-12 05:40:02] Production.INFO: neon service started
[2025-04-12 05:40:02] Production.INFO: ==2974== Releasing lock...
[2025-04-12 05:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 05:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 04:40:02] Production.INFO: ==2978== Lock acquired, processing the job...
[2025-04-12 04:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 04:40:02] Production.INFO: ==2978== Releasing lock...
[2025-04-12 04:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 04:40:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 00:40:02] Production.INFO: ==2976== Lock acquired, processing the job...
[2025-04-12 00:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 00:40:03] Production.INFO: ==2976== Releasing lock...
[2025-04-12 00:40:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 00:40:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 00:40:04] Production.INFO: ==2985== Lock acquired, processing the job...
[2025-04-12 00:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 00:40:04] Production.INFO: ==2987== Lock acquired, processing the job...
[2025-04-12 00:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 00:40:04] Production.INFO: ==2989== Lock acquired, processing the job...
[2025-04-12 00:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 00:40:04] Production.INFO: Account Balance Start.
[2025-04-12 00:40:04] Production.INFO: CreateAllLog Start
[2025-04-12 00:40:04] Production.INFO: 117
[2025-04-12 00:40:04] Production.INFO: Date 2025-04-08
[2025-04-12 00:40:04] Production.INFO: ==2993== Lock acquired, processing the job...
[2025-04-12 00:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 00:40:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 00:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 00:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 00:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 00:40:04] Production.INFO: ==2981== Lock acquired, processing the job...
[2025-04-12 00:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 00:40:04] Production.INFO: Date 2025-04-09
[2025-04-12 00:40:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 00:40:04] Production.INFO: ==2983== Lock acquired, processing the job...
[2025-04-12 00:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 00:40:04] Production.INFO: Date 2025-04-10
[2025-04-12 00:40:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:40:04] Production.INFO: Date 2025-04-11
[2025-04-12 00:40:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:40:04] Production.INFO: Date 2025-04-12
[2025-04-12 00:40:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:40:04] Production.INFO: ==2991== Lock acquired, processing the job...
[2025-04-12 00:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 00:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 00:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 00:40:04] Production.ERROR: CronJob PID - 2983
[2025-04-12 00:40:04] Production.ERROR: CronJob Title - System Alerts
[2025-04-12 00:40:04] Production.ERROR: CronJob ID - 5
[2025-04-12 00:40:04] Production.ERROR: CronJob Last Run Time 2025-04-12 00:40:00
[2025-04-12 00:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 00:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 00:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 00:40:04] Production.ERROR: CronJob PID - 2985
[2025-04-12 00:40:04] Production.ERROR: CronJob Title - Account Block
[2025-04-12 00:40:04] Production.ERROR: CronJob ID - 7
[2025-04-12 00:40:04] Production.ERROR: CronJob Last Run Time 2025-04-12 00:40:00
[2025-04-12 00:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 00:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 00:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 00:40:04] Production.ERROR: CronJob PID - 2987
[2025-04-12 00:40:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-04-12 00:40:04] Production.ERROR: CronJob ID - 10
[2025-04-12 00:40:04] Production.ERROR: CronJob Last Run Time 2025-04-12 00:40:00
[2025-04-12 00:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 00:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 00:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 00:40:04] Production.ERROR: CronJob PID - 2989
[2025-04-12 00:40:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-04-12 00:40:04] Production.ERROR: CronJob ID - 12
[2025-04-12 00:40:04] Production.ERROR: CronJob Last Run Time 2025-04-12 00:40:00
[2025-04-12 00:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 00:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 00:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 00:40:04] Production.ERROR: CronJob PID - 2993
[2025-04-12 00:40:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-04-12 00:40:04] Production.ERROR: CronJob ID - 17
[2025-04-12 00:40:04] Production.ERROR: CronJob Last Run Time 2025-04-12 00:40:00
[2025-04-12 00:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 00:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 00:40:04] Production.INFO: Total Charge 0
[2025-04-12 00:40:04] Production.INFO: ==2985== Releasing lock...
[2025-04-12 00:40:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 00:40:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 00:40:05] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 00:40:05] Production.INFO: CreateAllLog End
[2025-04-12 00:40:05] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 00:40:05] Production.INFO: ==2981== Releasing lock...
[2025-04-12 00:40:05] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 00:40:05] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 00:40:05] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 00:40:05] Production.INFO: ==2995== Lock acquired, processing the job...
[2025-04-12 00:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 00:40:05] Production.ERROR: done
[2025-04-12 00:40:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 00:40:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14887946', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 00: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-12 00:40:05] Production.INFO: count ==12
[2025-04-12 00: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-12 00:40:05] Production.INFO: count ==23
[2025-04-12 00:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14887947') start
[2025-04-12 00:40:05] Production.INFO: Account Balance End.
[2025-04-12 00:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14887947') end
[2025-04-12 00:40:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 00:40:05] Production.INFO: 1
[2025-04-12 00:40:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 00:40:05] Production.ERROR: CronJobId end 12
[2025-04-12 00:40:05] Production.INFO: ==2989== Releasing lock...
[2025-04-12 00:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 00:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 00:40:05] Production.ERROR: done
[2025-04-12 00:40:05] Production.INFO: ==2995== Releasing lock...
[2025-04-12 00:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 00:40:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 00:40:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 00:40:05] Production.ERROR: done
[2025-04-12 00:40:07] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 21:40:07
[end_date_ymd] => 2025-04-12 00:40:07
[RateCDR] => 1
)
[2025-04-12 00: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-11 21:40:07' and `end` < '2025-04-12 00: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-12 00:40:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14887946', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 00:40:10] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 00:40:10] Production.INFO: ProcessCDR(1,14887946,1,1,2)
[2025-04-12 00:40:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14887946,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:40:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14887946,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:40:10] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 00:40:10] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 00:40:10] Production.INFO: ==2993== Releasing lock...
[2025-04-12 00:40:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 00:40:10] Production.INFO: 26 MB #Memory Used#
[2025-04-12 00:40:15] Production.ERROR: CronJobId end10
[2025-04-12 00:40:15] Production.INFO: ==2987== Releasing lock...
[2025-04-12 00:40:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 00:40:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 00:40:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 00:40:16] Production.INFO: ============== Balance Warning START===========
[2025-04-12 00:40:16] Production.INFO: ============== Balance Warning END===========
[2025-04-12 00:40:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 00:40:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 00:40:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 00:40:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 00:40:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 00:40:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 00:40:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 00:40:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 00:40:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 00:40:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 00:40:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 00:40:17] Production.INFO: call_cost start
[2025-04-12 00:40:17] Production.INFO: call_cost end
[2025-04-12 00:40:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 00:40:18] Production.INFO: ============== Report Schedule START===========
[2025-04-12 00:40:18] Production.INFO: ============== Report Schedule END===========
[2025-04-12 00:40:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 00:40:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 00:40:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 00:40:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 00:40:18] Production.INFO: ============== Deal alert START===========
[2025-04-12 00:40:18] Production.INFO: ============== Deal alert END===========
[2025-04-12 00:40:18] Production.INFO: ==2983== Releasing lock...
[2025-04-12 00:40:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 00:40:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 00:40:20] Production.INFO: count ==793
[2025-04-12 00:40:20] Production.ERROR: pbx CDR StartTime 2025-04-11 21:40:07 - End Time 2025-04-12 00:40:07
[2025-04-12 00:40:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 00:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887948', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887948', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887948', 'tblTempVendorCDR_20' ) start
[2025-04-12 00:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887948', 'tblTempVendorCDR_20' ) end
[2025-04-12 00:40:20] Production.INFO: ProcessCDR(1,14887948,1,1,2)
[2025-04-12 00:40:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887948,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:40:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887948,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:40:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887948,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:40:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887948,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:40:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887948', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:40:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887948', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:40:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 00:40:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 00:40:25] Production.INFO: ==2991== Releasing lock...
[2025-04-12 00:40:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 00:40:25] Production.INFO: 35 MB #Memory Used#
[2025-04-12 05:41:01] Production.INFO: ==3059== Lock acquired, processing the job...
[2025-04-12 05:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 05:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 05:41:01] Production.INFO: neon service started
[2025-04-12 05:41:01] Production.INFO: neon service started
[2025-04-12 05:41:01] Production.INFO: ==3059== Releasing lock...
[2025-04-12 05:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 05:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 00:41:02] Production.INFO: ==3061== Lock acquired, processing the job...
[2025-04-12 00:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 04:41:02] Production.INFO: ==3063== Lock acquired, processing the job...
[2025-04-12 04:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 00:41:02] Production.INFO: ==3061== Releasing lock...
[2025-04-12 00:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 00:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 04:41:02] Production.INFO: ==3063== Releasing lock...
[2025-04-12 04:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 04:41:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 00:41:03] Production.INFO: ==3072== Lock acquired, processing the job...
[2025-04-12 00:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 00:41:03] Production.INFO: ==3074== Lock acquired, processing the job...
[2025-04-12 00:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 00:41:03] Production.INFO: ==3066== Lock acquired, processing the job...
[2025-04-12 00:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 00:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 00:41:03] Production.INFO: Account Balance Start.
[2025-04-12 00:41:03] Production.INFO: CreateAllLog Start
[2025-04-12 00:41:03] Production.INFO: 117
[2025-04-12 00:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 00:41:03] Production.INFO: Date 2025-04-08
[2025-04-12 00:41:03] Production.INFO: ==3068== Lock acquired, processing the job...
[2025-04-12 00:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 00:41:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:41:03] Production.INFO: ==3070== Lock acquired, processing the job...
[2025-04-12 00:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 00:41:03] Production.INFO: Date 2025-04-09
[2025-04-12 00:41:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:41:03] Production.INFO: ==3076== Lock acquired, processing the job...
[2025-04-12 00:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 00:41:03] Production.INFO: Date 2025-04-10
[2025-04-12 00:41:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:41:03] Production.INFO: Date 2025-04-11
[2025-04-12 00:41:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 00:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 00:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 00:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 00:41:03] Production.INFO: Date 2025-04-12
[2025-04-12 00:41:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:41:03] Production.INFO: Total Charge 0
[2025-04-12 00:41:03] Production.ERROR: done
[2025-04-12 00:41:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 00:41:03] Production.INFO: CreateAllLog End
[2025-04-12 00:41:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 00:41:03] Production.INFO: count ==12
[2025-04-12 00:41:03] Production.ERROR: done
[2025-04-12 00:41:03] Production.INFO: ==3068== Releasing lock...
[2025-04-12 00:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 00:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 00:41:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 00:41:03] Production.INFO: count ==23
[2025-04-12 00:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887952') start
[2025-04-12 00:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887952') end
[2025-04-12 00:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 00:41:04] Production.INFO: 1
[2025-04-12 00:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 00:41:04] Production.INFO: Account Balance End.
[2025-04-12 00:41:04] Production.ERROR: CronJobId end 12
[2025-04-12 00:41:04] Production.INFO: ==3072== Releasing lock...
[2025-04-12 00:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 00:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 00:41:04] Production.INFO: ==3076== Releasing lock...
[2025-04-12 00:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 00:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 00:41:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 21:41:04
[end_date_ymd] => 2025-04-12 00:41:04
[RateCDR] => 1
)
[2025-04-12 00:41:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 21:41:04' and `end` < '2025-04-12 00:41:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 00:41:12] Production.ERROR: CronJobId end10
[2025-04-12 00:41:12] Production.INFO: ==3070== Releasing lock...
[2025-04-12 00:41:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 00:41:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 00:41:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 00:41:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 00:41:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 00:41:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 00:41:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 00:41:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 00:41:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 00:41:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 00:41:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 00:41:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 00:41:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 00:41:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 00:41:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 00:41:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 00:41:14] Production.INFO: call_cost start
[2025-04-12 00:41:14] Production.INFO: call_cost end
[2025-04-12 00:41:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 00:41:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 00:41:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 00:41:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 00:41:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 00:41:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 00:41:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 00:41:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 00:41:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 00:41:15] Production.INFO: ==3066== Releasing lock...
[2025-04-12 00:41:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 00:41:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 00:41:17] Production.INFO: count ==807
[2025-04-12 00:41:18] Production.ERROR: pbx CDR StartTime 2025-04-11 21:41:04 - End Time 2025-04-12 00:41:04
[2025-04-12 00:41:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 00:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887953', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887953', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887953', 'tblTempVendorCDR_20' ) start
[2025-04-12 00:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887953', 'tblTempVendorCDR_20' ) end
[2025-04-12 00:41:18] Production.INFO: ProcessCDR(1,14887953,1,1,2)
[2025-04-12 00:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887953,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:41:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887953,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:41:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887953,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:41:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887953,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887953', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887953', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:41:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 00:41:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 00:41:21] Production.INFO: ==3074== Releasing lock...
[2025-04-12 00:41:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 00:41:21] Production.INFO: 34.75 MB #Memory Used#
[2025-04-12 05:42:02] Production.INFO: ==3146== Lock acquired, processing the job...
[2025-04-12 05:42:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 05:42:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 05:42:02] Production.INFO: neon service started
[2025-04-12 05:42:02] Production.INFO: neon service started
[2025-04-12 05:42:02] Production.INFO: ==3146== Releasing lock...
[2025-04-12 05:42:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 05:42:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 00:42:02] Production.INFO: ==3148== Lock acquired, processing the job...
[2025-04-12 00:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 00:42:02] Production.INFO: ==3148== Releasing lock...
[2025-04-12 00:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 00:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 04:42:02] Production.INFO: ==3150== Lock acquired, processing the job...
[2025-04-12 04:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 04:42:03] Production.INFO: ==3150== Releasing lock...
[2025-04-12 04:42:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 04:42:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 00:42:03] Production.INFO: ==3160== Lock acquired, processing the job...
[2025-04-12 00:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 00:42:03] Production.INFO: ==3162== Lock acquired, processing the job...
[2025-04-12 00:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 00:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 00:42:03] Production.INFO: ==3152== Lock acquired, processing the job...
[2025-04-12 00:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 00:42:03] Production.INFO: ==3154== Lock acquired, processing the job...
[2025-04-12 00:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 00:42:04] Production.INFO: ==3156== Lock acquired, processing the job...
[2025-04-12 00:42:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 00:42:04] Production.INFO: ==3158== Lock acquired, processing the job...
[2025-04-12 00:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 00:42:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 00:42:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 00:42:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 00:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 00:42:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 00:42:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 00:42:04] Production.INFO: count ==12
[2025-04-12 00:42:04] Production.INFO: Account Balance Start.
[2025-04-12 00:42:04] Production.INFO: CreateAllLog Start
[2025-04-12 00:42:04] Production.INFO: 117
[2025-04-12 00:42:04] Production.INFO: Date 2025-04-08
[2025-04-12 00:42:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:42:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 00:42:04] Production.INFO: count ==23
[2025-04-12 00:42:04] Production.INFO: Date 2025-04-09
[2025-04-12 00:42:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887954') start
[2025-04-12 00:42:04] Production.INFO: Date 2025-04-10
[2025-04-12 00:42:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:42:04] Production.INFO: Date 2025-04-11
[2025-04-12 00:42:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:42:04] Production.ERROR: done
[2025-04-12 00:42:04] Production.INFO: Date 2025-04-12
[2025-04-12 00:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887954') end
[2025-04-12 00:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 00:42:04] Production.INFO: 1
[2025-04-12 00:42:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 00:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 00:42:04] Production.INFO: ==3162== Releasing lock...
[2025-04-12 00:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 00:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 00:42:04] Production.INFO: Total Charge 0
[2025-04-12 00:42:04] Production.INFO: CreateAllLog End
[2025-04-12 00:42:04] Production.INFO: ==3154== Releasing lock...
[2025-04-12 00:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 00:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 00:42:04] Production.ERROR: done
[2025-04-12 00:42:04] Production.INFO: Account Balance End.
[2025-04-12 00:42:04] Production.ERROR: CronJobId end 12
[2025-04-12 00:42:04] Production.INFO: ==3158== Releasing lock...
[2025-04-12 00:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 00:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 00:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 21:42:05
[end_date_ymd] => 2025-04-12 00:42:05
[RateCDR] => 1
)
[2025-04-12 00:42:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 21:42:05' and `end` < '2025-04-12 00:42:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 00:42:12] Production.ERROR: CronJobId end10
[2025-04-12 00:42:12] Production.INFO: ==3156== Releasing lock...
[2025-04-12 00:42:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 00:42:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 00:42:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 00:42:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 00:42:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 00:42:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 00:42:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 00:42:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 00:42:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 00:42:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 00:42:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 00:42:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 00:42:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 00:42:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 00:42:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 00:42:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 00:42:15] Production.INFO: call_cost start
[2025-04-12 00:42:15] Production.INFO: call_cost end
[2025-04-12 00:42:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 00:42:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 00:42:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 00:42:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 00:42:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 00:42:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 00:42:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 00:42:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 00:42:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 00:42:16] Production.INFO: ==3152== Releasing lock...
[2025-04-12 00:42:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 00:42:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 00:42:18] Production.INFO: count ==807
[2025-04-12 00:42:18] Production.ERROR: pbx CDR StartTime 2025-04-11 21:42:05 - End Time 2025-04-12 00:42:05
[2025-04-12 00:42:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 00:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887958', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887958', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887958', 'tblTempVendorCDR_20' ) start
[2025-04-12 00:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887958', 'tblTempVendorCDR_20' ) end
[2025-04-12 00:42:19] Production.INFO: ProcessCDR(1,14887958,1,1,2)
[2025-04-12 00:42:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887958,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:42:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887958,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:42:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887958,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:42:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887958,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887958', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887958', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:42:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 00:42:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 00:42:22] Production.INFO: ==3160== Releasing lock...
[2025-04-12 00:42:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 00:42:22] Production.INFO: 34.75 MB #Memory Used#
[2025-04-12 05:43:01] Production.INFO: ==3226== Lock acquired, processing the job...
[2025-04-12 05:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 05:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 05:43:01] Production.INFO: neon service started
[2025-04-12 05:43:01] Production.INFO: neon service started
[2025-04-12 05:43:01] Production.INFO: ==3226== Releasing lock...
[2025-04-12 05:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 05:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 04:43:02] Production.INFO: ==3230== Lock acquired, processing the job...
[2025-04-12 04:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 04:43:02] Production.INFO: ==3230== Releasing lock...
[2025-04-12 04:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 04:43:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 00:43:02] Production.INFO: ==3228== Lock acquired, processing the job...
[2025-04-12 00:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 00:43:02] Production.INFO: ==3228== Releasing lock...
[2025-04-12 00:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 00:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 00:43:03] Production.INFO: ==3233== Lock acquired, processing the job...
[2025-04-12 00:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 00:43:03] Production.INFO: ==3235== Lock acquired, processing the job...
[2025-04-12 00:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 00:43:03] Production.INFO: ==3237== Lock acquired, processing the job...
[2025-04-12 00:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 00:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 00:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 00:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 00:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 00:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 00:43:03] Production.INFO: ==3235== Releasing lock...
[2025-04-12 00:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 00:43:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 00:43:03] Production.INFO: ==3241== Lock acquired, processing the job...
[2025-04-12 00:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 00:43:03] Production.INFO: ==3239== Lock acquired, processing the job...
[2025-04-12 00:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 00:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 00:43:03] Production.INFO: Account Balance Start.
[2025-04-12 00:43:03] Production.INFO: CreateAllLog Start
[2025-04-12 00:43:03] Production.INFO: 117
[2025-04-12 00:43:03] Production.INFO: Date 2025-04-08
[2025-04-12 00:43:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:43:03] Production.INFO: ==3243== Lock acquired, processing the job...
[2025-04-12 00:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 00:43:03] Production.INFO: Date 2025-04-09
[2025-04-12 00:43:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:43:03] Production.INFO: Date 2025-04-10
[2025-04-12 00:43:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:43:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 00:43:04] Production.INFO: Date 2025-04-11
[2025-04-12 00:43:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:43:04] Production.INFO: count ==12
[2025-04-12 00:43:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 00:43:04] Production.INFO: count ==23
[2025-04-12 00:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887962') start
[2025-04-12 00:43:04] Production.ERROR: done
[2025-04-12 00:43:04] Production.INFO: Date 2025-04-12
[2025-04-12 00:43:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 00:43:04] Production.INFO: Total Charge 0
[2025-04-12 00:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887962') end
[2025-04-12 00:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 00:43:04] Production.INFO: 1
[2025-04-12 00:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 00:43:04] Production.INFO: CreateAllLog End
[2025-04-12 00:43:04] Production.INFO: ==3243== Releasing lock...
[2025-04-12 00:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 00:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 00:43:04] Production.ERROR: done
[2025-04-12 00:43:04] Production.INFO: Account Balance End.
[2025-04-12 00:43:04] Production.ERROR: CronJobId end 12
[2025-04-12 00:43:04] Production.INFO: ==3239== Releasing lock...
[2025-04-12 00:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 00:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 00:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 21:43:05
[end_date_ymd] => 2025-04-12 00:43:05
[RateCDR] => 1
)
[2025-04-12 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-11 21:43:05' and `end` < '2025-04-12 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-12 00:43:11] Production.ERROR: CronJobId end10
[2025-04-12 00:43:11] Production.INFO: ==3237== Releasing lock...
[2025-04-12 00:43:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 00:43:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 00:43:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 00:43:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 00:43:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 00:43:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 00:43:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 00:43:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 00:43:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 00:43:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 00:43:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 00:43:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 00:43:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 00:43:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 00:43:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 00:43:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 00:43:14] Production.INFO: call_cost start
[2025-04-12 00:43:14] Production.INFO: call_cost end
[2025-04-12 00:43:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 00:43:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 00:43:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 00:43:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 00:43:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 00:43:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 00:43:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 00:43:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 00:43:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 00:43:15] Production.INFO: ==3233== Releasing lock...
[2025-04-12 00:43:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 00:43:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 00:43:18] Production.INFO: count ==807
[2025-04-12 00:43:18] Production.ERROR: pbx CDR StartTime 2025-04-11 21:43:05 - End Time 2025-04-12 00:43:05
[2025-04-12 00:43:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 00:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887963', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887963', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887963', 'tblTempVendorCDR_20' ) start
[2025-04-12 00:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887963', 'tblTempVendorCDR_20' ) end
[2025-04-12 00:43:18] Production.INFO: ProcessCDR(1,14887963,1,1,2)
[2025-04-12 00:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887963,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:43:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887963,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:43:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887963,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:43:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887963,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887963', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887963', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:43:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 00:43:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 00:43:22] Production.INFO: ==3241== Releasing lock...
[2025-04-12 00:43:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 00:43:22] Production.INFO: 34.75 MB #Memory Used#
[2025-04-12 05:44:02] Production.INFO: ==3302== Lock acquired, processing the job...
[2025-04-12 05:44:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 05:44:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 05:44:02] Production.INFO: neon service started
[2025-04-12 05:44:02] Production.INFO: neon service started
[2025-04-12 05:44:02] Production.INFO: ==3302== Releasing lock...
[2025-04-12 05:44:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 05:44:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 00:44:02] Production.INFO: ==3304== Lock acquired, processing the job...
[2025-04-12 00:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 04:44:02] Production.INFO: ==3306== Lock acquired, processing the job...
[2025-04-12 04:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 04:44:02] Production.INFO: ==3306== Releasing lock...
[2025-04-12 04:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 04:44:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 00:44:02] Production.INFO: ==3304== Releasing lock...
[2025-04-12 00:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 00:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 00:44:03] Production.INFO: ==3315== Lock acquired, processing the job...
[2025-04-12 00:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 00:44:03] Production.INFO: ==3317== Lock acquired, processing the job...
[2025-04-12 00:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 00:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 00:44:03] Production.INFO: Account Balance Start.
[2025-04-12 00:44:03] Production.INFO: CreateAllLog Start
[2025-04-12 00:44:03] Production.INFO: 117
[2025-04-12 00:44:03] Production.INFO: Date 2025-04-08
[2025-04-12 00:44:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:44:04] Production.INFO: Date 2025-04-09
[2025-04-12 00:44:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:44:04] Production.INFO: ==3309== Lock acquired, processing the job...
[2025-04-12 00:44:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 00:44:04] Production.INFO: ==3311== Lock acquired, processing the job...
[2025-04-12 00:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 00:44:04] Production.INFO: Date 2025-04-10
[2025-04-12 00:44:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:44:04] Production.INFO: ==3313== Lock acquired, processing the job...
[2025-04-12 00:44:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 00:44:04] Production.INFO: ==3319== Lock acquired, processing the job...
[2025-04-12 00:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 00:44:04] Production.INFO: Date 2025-04-11
[2025-04-12 00:44:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:44:04] Production.ERROR: done
[2025-04-12 00:44:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 00:44:04] Production.INFO: Date 2025-04-12
[2025-04-12 00:44:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 00:44:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 00:44:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 00:44:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 00:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 00:44:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 00:44:04] Production.INFO: Total Charge 0
[2025-04-12 00:44:04] Production.INFO: count ==12
[2025-04-12 00:44:04] Production.INFO: CreateAllLog End
[2025-04-12 00:44:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 00:44:04] Production.INFO: count ==23
[2025-04-12 00:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887965') start
[2025-04-12 00:44:04] Production.ERROR: done
[2025-04-12 00:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887965') end
[2025-04-12 00:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 00:44:04] Production.INFO: 1
[2025-04-12 00:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 00:44:04] Production.INFO: Account Balance End.
[2025-04-12 00:44:04] Production.ERROR: CronJobId end 12
[2025-04-12 00:44:04] Production.INFO: ==3315== Releasing lock...
[2025-04-12 00:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 00:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 00:44:04] Production.INFO: ==3319== Releasing lock...
[2025-04-12 00:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 00:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 00:44:04] Production.INFO: ==3311== Releasing lock...
[2025-04-12 00:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 00:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 00:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 21:44:05
[end_date_ymd] => 2025-04-12 00:44:05
[RateCDR] => 1
)
[2025-04-12 00:44:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 21:44:05' and `end` < '2025-04-12 00:44:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 00:44:11] Production.ERROR: CronJobId end10
[2025-04-12 00:44:11] Production.INFO: ==3313== Releasing lock...
[2025-04-12 00:44:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 00:44:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 00:44:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 00:44:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 00:44:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 00:44:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 00:44:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 00:44:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 00:44:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 00:44:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 00:44:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 00:44:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 00:44:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 00:44:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 00:44:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 00:44:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 00:44:14] Production.INFO: call_cost start
[2025-04-12 00:44:14] Production.INFO: call_cost end
[2025-04-12 00:44:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 00:44:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 00:44:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 00:44:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 00:44:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 00:44:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 00:44:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 00:44:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 00:44:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 00:44:15] Production.INFO: ==3309== Releasing lock...
[2025-04-12 00:44:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 00:44:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 00:44:18] Production.INFO: count ==805
[2025-04-12 00:44:19] Production.ERROR: pbx CDR StartTime 2025-04-11 21:44:05 - End Time 2025-04-12 00:44:05
[2025-04-12 00:44:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 00:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887968', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887968', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887968', 'tblTempVendorCDR_20' ) start
[2025-04-12 00:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887968', 'tblTempVendorCDR_20' ) end
[2025-04-12 00:44:19] Production.INFO: ProcessCDR(1,14887968,1,1,2)
[2025-04-12 00:44:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887968,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:44:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887968,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:44:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887968,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:44:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887968,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887968', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887968', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:44:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 00:44:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 00:44:22] Production.INFO: ==3317== Releasing lock...
[2025-04-12 00:44:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 00:44:22] Production.INFO: 34.5 MB #Memory Used#
[2025-04-12 05:45:01] Production.INFO: ==3375== Lock acquired, processing the job...
[2025-04-12 05:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 05:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 05:45:01] Production.INFO: neon service started
[2025-04-12 05:45:01] Production.INFO: neon service started
[2025-04-12 05:45:01] Production.INFO: ==3375== Releasing lock...
[2025-04-12 05:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 05:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 00:45:01] Production.INFO: ==3377== Lock acquired, processing the job...
[2025-04-12 00:45:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 00:45:02] Production.INFO: ==3377== Releasing lock...
[2025-04-12 00:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 00:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 04:45:02] Production.INFO: ==3379== Lock acquired, processing the job...
[2025-04-12 04:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 04:45:02] Production.INFO: ==3379== Releasing lock...
[2025-04-12 04:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 04:45:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 00:45:03] Production.INFO: ==3387== Lock acquired, processing the job...
[2025-04-12 00:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 00:45:03] Production.INFO: ==3389== Lock acquired, processing the job...
[2025-04-12 00:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 00:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 00:45:03] Production.INFO: Account Balance Start.
[2025-04-12 00:45:03] Production.INFO: CreateAllLog Start
[2025-04-12 00:45:03] Production.INFO: 117
[2025-04-12 00:45:03] Production.INFO: Date 2025-04-08
[2025-04-12 00:45:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:45:03] Production.INFO: ==3381== Lock acquired, processing the job...
[2025-04-12 00:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 00:45:03] Production.INFO: ==3383== Lock acquired, processing the job...
[2025-04-12 00:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 00:45:03] Production.INFO: Date 2025-04-09
[2025-04-12 00:45:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:45:03] Production.INFO: Date 2025-04-10
[2025-04-12 00:45:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:45:03] Production.INFO: ==3385== Lock acquired, processing the job...
[2025-04-12 00:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 00:45:03] Production.INFO: ==3391== Lock acquired, processing the job...
[2025-04-12 00:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 00:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 00:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 00:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 00:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 00:45:03] Production.INFO: Date 2025-04-11
[2025-04-12 00:45:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 00:45:03] Production.INFO: Date 2025-04-12
[2025-04-12 00:45:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:45:03] Production.INFO: Total Charge 0
[2025-04-12 00:45:03] Production.INFO: CreateAllLog End
[2025-04-12 00:45:03] Production.ERROR: done
[2025-04-12 00:45:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 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-12 00:45:03] Production.INFO: count ==12
[2025-04-12 00:45:03] Production.INFO: ==3383== Releasing lock...
[2025-04-12 00:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 00:45:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 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-12 00:45:03] Production.ERROR: done
[2025-04-12 00:45:03] Production.INFO: count ==23
[2025-04-12 00:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887972') start
[2025-04-12 00:45:04] Production.INFO: Account Balance End.
[2025-04-12 00:45:04] Production.ERROR: CronJobId end 12
[2025-04-12 00:45:04] Production.INFO: ==3387== Releasing lock...
[2025-04-12 00:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 00:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 00:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887972') end
[2025-04-12 00:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 00:45:04] Production.INFO: 1
[2025-04-12 00:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 00:45:04] Production.INFO: ==3391== Releasing lock...
[2025-04-12 00:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 00:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 00:45:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 21:45:04
[end_date_ymd] => 2025-04-12 00:45:04
[RateCDR] => 1
)
[2025-04-12 00: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-11 21:45:04' and `end` < '2025-04-12 00: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-12 00:45:11] Production.ERROR: CronJobId end10
[2025-04-12 00:45:11] Production.INFO: ==3385== Releasing lock...
[2025-04-12 00:45:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 00:45:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 00:45:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 00:45:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 00:45:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 00:45:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 00:45:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 00:45:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 00:45:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 00:45:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 00:45:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 00:45:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 00:45:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 00:45:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 00:45:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 00:45:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 00:45:13] Production.INFO: call_cost start
[2025-04-12 00:45:13] Production.INFO: call_cost end
[2025-04-12 00:45:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 00:45:14] Production.INFO: ============== Report Schedule START===========
[2025-04-12 00:45:14] Production.INFO: ============== Report Schedule END===========
[2025-04-12 00:45:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 00:45:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 00:45:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 00:45:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 00:45:14] Production.INFO: ============== Deal alert START===========
[2025-04-12 00:45:14] Production.INFO: ============== Deal alert END===========
[2025-04-12 00:45:14] Production.INFO: ==3381== Releasing lock...
[2025-04-12 00:45:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 00:45:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 00:45:17] Production.INFO: count ==803
[2025-04-12 00:45:18] Production.ERROR: pbx CDR StartTime 2025-04-11 21:45:04 - End Time 2025-04-12 00:45:04
[2025-04-12 00:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 00:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887973', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887973', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887973', 'tblTempVendorCDR_20' ) start
[2025-04-12 00:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887973', 'tblTempVendorCDR_20' ) end
[2025-04-12 00:45:18] Production.INFO: ProcessCDR(1,14887973,1,1,2)
[2025-04-12 00:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887973,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:45:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887973,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:45:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887973,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:45:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887973,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:45:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887973', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:45:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887973', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:45:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 00:45:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 00:45:22] Production.INFO: ==3389== Releasing lock...
[2025-04-12 00:45:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 00:45:22] Production.INFO: 34.25 MB #Memory Used#
[2025-04-12 05:46:02] Production.INFO: ==3451== Lock acquired, processing the job...
[2025-04-12 05:46:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 05:46:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 05:46:02] Production.INFO: neon service started
[2025-04-12 05:46:02] Production.INFO: neon service started
[2025-04-12 05:46:02] Production.INFO: ==3451== Releasing lock...
[2025-04-12 05:46:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 05:46:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 00:46:02] Production.INFO: ==3454== Lock acquired, processing the job...
[2025-04-12 00:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 04:46:02] Production.INFO: ==3456== Lock acquired, processing the job...
[2025-04-12 04:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 04:46:02] Production.INFO: ==3456== Releasing lock...
[2025-04-12 04:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 04:46:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 00:46:03] Production.INFO: ==3454== Releasing lock...
[2025-04-12 00:46:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 00:46:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 00:46:03] Production.INFO: ==3462== Lock acquired, processing the job...
[2025-04-12 00:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 00:46:03] Production.INFO: ==3460== Lock acquired, processing the job...
[2025-04-12 00:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 00:46:03] Production.INFO: ==3464== Lock acquired, processing the job...
[2025-04-12 00:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 00:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 00:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 00:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 00:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 00:46:04] Production.INFO: ==3458== Lock acquired, processing the job...
[2025-04-12 00:46:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 00:46:04] Production.INFO: Account Balance Start.
[2025-04-12 00:46:04] Production.INFO: CreateAllLog Start
[2025-04-12 00:46:04] Production.INFO: 117
[2025-04-12 00:46:04] Production.INFO: Date 2025-04-08
[2025-04-12 00:46:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:46:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 00:46:04] Production.INFO: Date 2025-04-09
[2025-04-12 00:46:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:46:04] Production.INFO: ==3468== Lock acquired, processing the job...
[2025-04-12 00:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 00:46:04] Production.INFO: ==3466== Lock acquired, processing the job...
[2025-04-12 00:46:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 00:46:04] Production.INFO: ==3460== Releasing lock...
[2025-04-12 00:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 00:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 00:46:04] Production.INFO: Date 2025-04-10
[2025-04-12 00:46:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:46:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 00:46:04] Production.INFO: Date 2025-04-11
[2025-04-12 00:46:04] Production.INFO: Reseller ==> 0
[2025-04-12 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-12 00:46:04] Production.INFO: Date 2025-04-12
[2025-04-12 00:46:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:46:04] Production.INFO: Total Charge 0
[2025-04-12 00:46:04] Production.INFO: count ==12
[2025-04-12 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-12 00:46:04] Production.INFO: count ==23
[2025-04-12 00:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887977') start
[2025-04-12 00:46:04] Production.INFO: CreateAllLog End
[2025-04-12 00:46:04] Production.ERROR: done
[2025-04-12 00:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 00:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887977') end
[2025-04-12 00:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 00:46:04] Production.INFO: 1
[2025-04-12 00:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 00:46:04] Production.ERROR: done
[2025-04-12 00:46:04] Production.INFO: ==3468== Releasing lock...
[2025-04-12 00:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 00:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 00:46:04] Production.INFO: Account Balance End.
[2025-04-12 00:46:05] Production.ERROR: CronJobId end 12
[2025-04-12 00:46:05] Production.INFO: ==3464== Releasing lock...
[2025-04-12 00:46:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 00:46:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 00:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 21:46:05
[end_date_ymd] => 2025-04-12 00:46:05
[RateCDR] => 1
)
[2025-04-12 00:46:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 21:46:05' and `end` < '2025-04-12 00:46:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 00:46:12] Production.ERROR: CronJobId end10
[2025-04-12 00:46:12] Production.INFO: ==3462== Releasing lock...
[2025-04-12 00:46:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 00:46:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 00:46:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 00:46:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 00:46:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 00:46:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 00:46:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 00:46:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 00:46:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 00:46:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 00:46:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 00:46:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 00:46:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 00:46:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 00:46:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 00:46:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 00:46:14] Production.INFO: call_cost start
[2025-04-12 00:46:14] Production.INFO: call_cost end
[2025-04-12 00:46:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 00:46:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 00:46:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 00:46:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 00:46:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 00:46:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 00:46:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 00:46:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 00:46:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 00:46:15] Production.INFO: ==3458== Releasing lock...
[2025-04-12 00:46:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 00:46:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 00:46:18] Production.INFO: count ==799
[2025-04-12 00:46:18] Production.ERROR: pbx CDR StartTime 2025-04-11 21:46:05 - End Time 2025-04-12 00:46:05
[2025-04-12 00:46:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 00:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887978', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887978', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887978', 'tblTempVendorCDR_20' ) start
[2025-04-12 00:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887978', 'tblTempVendorCDR_20' ) end
[2025-04-12 00:46:19] Production.INFO: ProcessCDR(1,14887978,1,1,2)
[2025-04-12 00:46:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887978,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:46:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887978,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:46:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887978,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:46:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887978,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887978', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887978', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:46:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 00:46:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 00:46:22] Production.INFO: ==3466== Releasing lock...
[2025-04-12 00:46:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 00:46:22] Production.INFO: 35 MB #Memory Used#
[2025-04-12 05:47:01] Production.INFO: ==3524== Lock acquired, processing the job...
[2025-04-12 05:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 05:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 05:47:01] Production.INFO: neon service started
[2025-04-12 05:47:01] Production.INFO: neon service started
[2025-04-12 05:47:01] Production.INFO: ==3524== Releasing lock...
[2025-04-12 05:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 05:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 04:47:01] Production.INFO: ==3529== Lock acquired, processing the job...
[2025-04-12 04:47:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 04:47:01] Production.INFO: ==3529== Releasing lock...
[2025-04-12 04:47:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 04:47:01] Production.INFO: 25 MB #Memory Used#
[2025-04-12 00:47:02] Production.INFO: ==3526== Lock acquired, processing the job...
[2025-04-12 00:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 00:47:02] Production.INFO: ==3526== Releasing lock...
[2025-04-12 00:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 00:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 00:47:03] Production.INFO: ==3537== Lock acquired, processing the job...
[2025-04-12 00:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 00:47:03] Production.INFO: Account Balance Start.
[2025-04-12 00:47:03] Production.INFO: CreateAllLog Start
[2025-04-12 00:47:03] Production.INFO: 117
[2025-04-12 00:47:03] Production.INFO: Date 2025-04-08
[2025-04-12 00:47:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:47:03] Production.INFO: ==3539== Lock acquired, processing the job...
[2025-04-12 00:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 00:47:03] Production.INFO: Date 2025-04-09
[2025-04-12 00:47:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:47:03] Production.INFO: ==3531== Lock acquired, processing the job...
[2025-04-12 00:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 00:47:03] Production.INFO: Date 2025-04-10
[2025-04-12 00:47:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 00:47:03] Production.INFO: Date 2025-04-11
[2025-04-12 00:47:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 00:47:03] Production.INFO: Date 2025-04-12
[2025-04-12 00:47:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:47:03] Production.INFO: ==3533== Lock acquired, processing the job...
[2025-04-12 00:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 00:47:03] Production.INFO: ==3535== Lock acquired, processing the job...
[2025-04-12 00:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 00:47:03] Production.INFO: Total Charge 0
[2025-04-12 00:47:03] Production.INFO: ==3541== Lock acquired, processing the job...
[2025-04-12 00:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 00:47:03] Production.INFO: CreateAllLog End
[2025-04-12 00:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 00:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 00:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 00:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 00:47:03] Production.ERROR: done
[2025-04-12 00:47:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 00:47:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 00:47:03] Production.INFO: Account Balance End.
[2025-04-12 00:47:03] Production.INFO: count ==12
[2025-04-12 00:47:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 00:47:03] Production.INFO: count ==23
[2025-04-12 00:47:03] Production.ERROR: done
[2025-04-12 00:47:03] Production.ERROR: CronJobId end 12
[2025-04-12 00:47:03] Production.INFO: ==3537== Releasing lock...
[2025-04-12 00:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 00:47:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 00:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887981') start
[2025-04-12 00:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14887981') end
[2025-04-12 00:47:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 00:47:03] Production.INFO: 1
[2025-04-12 00:47:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 00:47:04] Production.INFO: ==3533== Releasing lock...
[2025-04-12 00:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 00:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 00:47:04] Production.INFO: ==3541== Releasing lock...
[2025-04-12 00:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 00:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 00:47:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 21:47:04
[end_date_ymd] => 2025-04-12 00:47:04
[RateCDR] => 1
)
[2025-04-12 00: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-11 21:47:04' and `end` < '2025-04-12 00: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-12 00:47:11] Production.ERROR: CronJobId end10
[2025-04-12 00:47:11] Production.INFO: ==3535== Releasing lock...
[2025-04-12 00:47:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 00:47:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 00:47:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 00:47:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 00:47:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 00:47:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 00:47:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 00:47:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 00:47:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 00:47:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 00:47:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 00:47:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 00:47:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 00:47:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 00:47:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 00:47:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 00:47:14] Production.INFO: call_cost start
[2025-04-12 00:47:14] Production.INFO: call_cost end
[2025-04-12 00:47:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 00:47:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 00:47:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 00:47:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 00:47:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 00:47:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 00:47:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 00:47:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 00:47:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 00:47:15] Production.INFO: ==3531== Releasing lock...
[2025-04-12 00:47:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 00:47:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 00:47:17] Production.INFO: count ==797
[2025-04-12 00:47:18] Production.ERROR: pbx CDR StartTime 2025-04-11 21:47:04 - End Time 2025-04-12 00:47:04
[2025-04-12 00:47:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 00:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887983', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887983', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887983', 'tblTempVendorCDR_20' ) start
[2025-04-12 00:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887983', 'tblTempVendorCDR_20' ) end
[2025-04-12 00:47:18] Production.INFO: ProcessCDR(1,14887983,1,1,2)
[2025-04-12 00:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887983,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:47:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887983,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:47:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887983,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:47:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887983,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887983', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887983', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:47:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 00:47:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 00:47:21] Production.INFO: ==3539== Releasing lock...
[2025-04-12 00:47:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 00:47:21] Production.INFO: 34.5 MB #Memory Used#
[2025-04-12 05:48:02] Production.INFO: ==3608== Lock acquired, processing the job...
[2025-04-12 05:48:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 05:48:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 05:48:02] Production.INFO: neon service started
[2025-04-12 05:48:02] Production.INFO: neon service started
[2025-04-12 05:48:02] Production.INFO: ==3608== Releasing lock...
[2025-04-12 05:48:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 05:48:02] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 00:48:02] Production.INFO: ==3611== Lock acquired, processing the job...
[2025-04-12 00:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 04:48:02] Production.INFO: ==3613== Lock acquired, processing the job...
[2025-04-12 04:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 04:48:02] Production.INFO: ==3613== Releasing lock...
[2025-04-12 04:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 04:48:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 00:48:03] Production.INFO: ==3611== Releasing lock...
[2025-04-12 00:48:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 00:48:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 00:48:03] Production.INFO: ==3615== Lock acquired, processing the job...
[2025-04-12 00:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 00:48:03] Production.INFO: ==3617== Lock acquired, processing the job...
[2025-04-12 00:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 00:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 00:48:04] Production.INFO: ==3625== Lock acquired, processing the job...
[2025-04-12 00:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 00:48:04] Production.INFO: ==3619== Lock acquired, processing the job...
[2025-04-12 00:48:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 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-12 00:48:04] Production.INFO: ==3617== Releasing lock...
[2025-04-12 00:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 00:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 00:48:04] Production.INFO: count ==12
[2025-04-12 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-12 00:48:04] Production.INFO: ==3623== Lock acquired, processing the job...
[2025-04-12 00:48:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 00:48:04] Production.INFO: count ==23
[2025-04-12 00:48:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 00:48:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 00:48:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 00:48:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 00:48:04] Production.INFO: ==3621== Lock acquired, processing the job...
[2025-04-12 00:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 00:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887986') start
[2025-04-12 00:48:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 00:48:04] Production.INFO: Account Balance Start.
[2025-04-12 00:48:04] Production.INFO: CreateAllLog Start
[2025-04-12 00:48:04] Production.INFO: 117
[2025-04-12 00:48:04] Production.INFO: Date 2025-04-08
[2025-04-12 00:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887986') end
[2025-04-12 00:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 00:48:04] Production.INFO: 1
[2025-04-12 00:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 00:48:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:48:04] Production.INFO: Date 2025-04-09
[2025-04-12 00:48:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:48:04] Production.INFO: Date 2025-04-10
[2025-04-12 00:48:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:48:04] Production.INFO: Date 2025-04-11
[2025-04-12 00:48:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:48:04] Production.INFO: Date 2025-04-12
[2025-04-12 00:48:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:48:04] Production.INFO: ==3625== Releasing lock...
[2025-04-12 00:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 00:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 00:48:04] Production.INFO: Total Charge 0
[2025-04-12 00:48:04] Production.INFO: CreateAllLog End
[2025-04-12 00:48:05] Production.ERROR: done
[2025-04-12 00:48:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 00:48:05] Production.ERROR: done
[2025-04-12 00:48:05] Production.INFO: Account Balance End.
[2025-04-12 00:48:05] Production.ERROR: CronJobId end 12
[2025-04-12 00:48:05] Production.INFO: ==3621== Releasing lock...
[2025-04-12 00:48:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 00:48:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 00:48:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 21:48:06
[end_date_ymd] => 2025-04-12 00:48:06
[RateCDR] => 1
)
[2025-04-12 00: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-11 21:48:06' and `end` < '2025-04-12 00: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-12 00:48:12] Production.ERROR: CronJobId end10
[2025-04-12 00:48:12] Production.INFO: ==3619== Releasing lock...
[2025-04-12 00:48:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 00:48:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 00:48:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 00:48:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 00:48:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 00:48:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 00:48:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 00:48:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 00:48:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 00:48:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 00:48:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 00:48:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 00:48:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 00:48:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 00:48:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 00:48:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 00:48:15] Production.INFO: call_cost start
[2025-04-12 00:48:15] Production.INFO: call_cost end
[2025-04-12 00:48:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 00:48:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 00:48:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 00:48:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 00:48:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 00:48:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 00:48:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 00:48:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 00:48:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 00:48:15] Production.INFO: ==3615== Releasing lock...
[2025-04-12 00:48:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 00:48:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 00:48:19] Production.INFO: count ==797
[2025-04-12 00:48:19] Production.ERROR: pbx CDR StartTime 2025-04-11 21:48:06 - End Time 2025-04-12 00:48:06
[2025-04-12 00:48:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 00:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887988', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887988', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887988', 'tblTempVendorCDR_20' ) start
[2025-04-12 00:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887988', 'tblTempVendorCDR_20' ) end
[2025-04-12 00:48:19] Production.INFO: ProcessCDR(1,14887988,1,1,2)
[2025-04-12 00:48:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887988,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:48:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887988,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:48:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887988,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:48:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887988,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:48:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887988', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:48:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887988', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:48:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 00:48:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 00:48:23] Production.INFO: ==3623== Releasing lock...
[2025-04-12 00:48:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 00:48:23] Production.INFO: 34.5 MB #Memory Used#
[2025-04-12 05:49:01] Production.INFO: ==3683== Lock acquired, processing the job...
[2025-04-12 05:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 05:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 05:49:01] Production.INFO: neon service started
[2025-04-12 05:49:01] Production.INFO: neon service started
[2025-04-12 05:49:01] Production.INFO: ==3683== Releasing lock...
[2025-04-12 05:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 05:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 04:49:02] Production.INFO: ==3687== Lock acquired, processing the job...
[2025-04-12 04:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 04:49:02] Production.INFO: ==3687== Releasing lock...
[2025-04-12 04:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 04:49:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 00:49:02] Production.INFO: ==3685== Lock acquired, processing the job...
[2025-04-12 00:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 00:49:02] Production.INFO: ==3685== Releasing lock...
[2025-04-12 00:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 00:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 00:49:03] Production.INFO: ==3689== Lock acquired, processing the job...
[2025-04-12 00:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 00:49:03] Production.INFO: ==3691== Lock acquired, processing the job...
[2025-04-12 00:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 00:49:03] Production.INFO: ==3693== Lock acquired, processing the job...
[2025-04-12 00:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 00:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 00:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 00:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 00:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 00:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 00:49:03] Production.INFO: ==3698== Lock acquired, processing the job...
[2025-04-12 00:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 00:49:03] Production.INFO: ==3691== Releasing lock...
[2025-04-12 00:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 00:49:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 00:49:03] Production.INFO: ==3696== Lock acquired, processing the job...
[2025-04-12 00:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 00:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 00:49:03] Production.INFO: ==3700== Lock acquired, processing the job...
[2025-04-12 00:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 00:49:04] Production.INFO: Account Balance Start.
[2025-04-12 00:49:04] Production.INFO: CreateAllLog Start
[2025-04-12 00:49:04] Production.INFO: 117
[2025-04-12 00:49:04] Production.INFO: Date 2025-04-08
[2025-04-12 00:49:04] Production.ERROR: done
[2025-04-12 00:49:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 00:49:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 00:49:04] Production.INFO: count ==12
[2025-04-12 00:49:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 00:49:04] Production.INFO: count ==23
[2025-04-12 00:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887992') start
[2025-04-12 00:49:04] Production.ERROR: done
[2025-04-12 00:49:04] Production.INFO: Date 2025-04-09
[2025-04-12 00:49:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:49:04] Production.INFO: Date 2025-04-10
[2025-04-12 00:49:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887992') end
[2025-04-12 00:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 00:49:04] Production.INFO: 1
[2025-04-12 00:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 00:49:04] Production.INFO: ==3700== Releasing lock...
[2025-04-12 00:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 00:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 00:49:04] Production.INFO: Date 2025-04-11
[2025-04-12 00:49:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:49:04] Production.INFO: Date 2025-04-12
[2025-04-12 00:49:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:49:04] Production.INFO: Total Charge 0
[2025-04-12 00:49:04] Production.INFO: CreateAllLog End
[2025-04-12 00:49:04] Production.INFO: Account Balance End.
[2025-04-12 00:49:04] Production.ERROR: CronJobId end 12
[2025-04-12 00:49:04] Production.INFO: ==3696== Releasing lock...
[2025-04-12 00:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 00:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 00:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 21:49:05
[end_date_ymd] => 2025-04-12 00:49:05
[RateCDR] => 1
)
[2025-04-12 00:49:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 21:49:05' and `end` < '2025-04-12 00:49:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 00:49:12] Production.ERROR: CronJobId end10
[2025-04-12 00:49:12] Production.INFO: ==3693== Releasing lock...
[2025-04-12 00:49:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 00:49:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 00:49:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 00:49:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 00:49:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 00:49:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 00:49:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 00:49:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 00:49:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 00:49:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 00:49:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 00:49:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 00:49:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 00:49:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 00:49:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 00:49:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 00:49:14] Production.INFO: call_cost start
[2025-04-12 00:49:14] Production.INFO: call_cost end
[2025-04-12 00:49:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 00:49:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 00:49:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 00:49:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 00:49:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 00:49:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 00:49:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 00:49:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 00:49:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 00:49:15] Production.INFO: ==3689== Releasing lock...
[2025-04-12 00:49:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 00:49:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 00:49:17] Production.INFO: count ==796
[2025-04-12 00:49:18] Production.ERROR: pbx CDR StartTime 2025-04-11 21:49:05 - End Time 2025-04-12 00:49:05
[2025-04-12 00:49:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 00:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887993', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887993', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887993', 'tblTempVendorCDR_20' ) start
[2025-04-12 00:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887993', 'tblTempVendorCDR_20' ) end
[2025-04-12 00:49:18] Production.INFO: ProcessCDR(1,14887993,1,1,2)
[2025-04-12 00:49:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887993,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:49:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887993,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:49:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887993,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:49:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887993,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887993', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887993', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:49:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 00:49:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 00:49:21] Production.INFO: ==3698== Releasing lock...
[2025-04-12 00:49:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 00:49:21] Production.INFO: 34.75 MB #Memory Used#
[2025-04-12 05:50:02] Production.INFO: ==3759== Lock acquired, processing the job...
[2025-04-12 05:50:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 05:50:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 05:50:02] Production.INFO: neon service started
[2025-04-12 05:50:02] Production.INFO: neon service started
[2025-04-12 05:50:02] Production.INFO: ==3759== Releasing lock...
[2025-04-12 05:50:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 05:50:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 00:50:02] Production.INFO: ==3761== Lock acquired, processing the job...
[2025-04-12 00:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 00:50:03] Production.INFO: ==3761== Releasing lock...
[2025-04-12 00:50:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 00:50:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 04:50:03] Production.INFO: ==3763== Lock acquired, processing the job...
[2025-04-12 04:50:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 04:50:03] Production.INFO: ==3763== Releasing lock...
[2025-04-12 04:50:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 04:50:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 00:50:04] Production.INFO: ==3765== Lock acquired, processing the job...
[2025-04-12 00:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 00:50:04] Production.INFO: ==3769== Lock acquired, processing the job...
[2025-04-12 00:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 00:50:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 00:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 00:50:04] Production.ERROR: CronJob PID - 3769
[2025-04-12 00:50:04] Production.ERROR: CronJob Title - Account Block
[2025-04-12 00:50:04] Production.ERROR: CronJob ID - 7
[2025-04-12 00:50:04] Production.ERROR: CronJob Last Run Time 2025-04-12 00:50:00
[2025-04-12 00:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 00:50:04] Production.INFO: ==3773== Lock acquired, processing the job...
[2025-04-12 00:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 00:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 00:50:04] Production.INFO: ==3767== Lock acquired, processing the job...
[2025-04-12 00:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 00:50:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 00:50:04] Production.INFO: ==3765== Releasing lock...
[2025-04-12 00:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 00:50:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 00:50:04] Production.INFO: ==3771== Lock acquired, processing the job...
[2025-04-12 00:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 00:50:04] Production.INFO: Account Balance Start.
[2025-04-12 00:50:04] Production.INFO: CreateAllLog Start
[2025-04-12 00:50:04] Production.INFO: 117
[2025-04-12 00:50:04] Production.INFO: Date 2025-04-08
[2025-04-12 00:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 00:50:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:50:04] Production.INFO: Date 2025-04-09
[2025-04-12 00:50:04] Production.INFO: ==3775== Lock acquired, processing the job...
[2025-04-12 00:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 00:50:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 00:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 00:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 00:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 00:50:04] Production.INFO: ==3779== Lock acquired, processing the job...
[2025-04-12 00:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 00:50:04] Production.INFO: Date 2025-04-10
[2025-04-12 00:50:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 00:50:04] Production.INFO: Date 2025-04-11
[2025-04-12 00:50:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:50:04] Production.INFO: ==3777== Lock acquired, processing the job...
[2025-04-12 00:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 00:50:04] Production.INFO: Date 2025-04-12
[2025-04-12 00:50:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 00:50:04] Production.INFO: ==3769== Releasing lock...
[2025-04-12 00:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 00:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 00:50:04] Production.INFO: Total Charge 0
[2025-04-12 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-12 00:50:04] Production.INFO: CreateAllLog End
[2025-04-12 00:50:04] Production.INFO: count ==12
[2025-04-12 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-12 00:50:04] Production.INFO: count ==23
[2025-04-12 00:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14887997') start
[2025-04-12 00:50:04] Production.ERROR: done
[2025-04-12 00:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 00:50:04] Production.ERROR: done
[2025-04-12 00:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 00:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14887998', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 00:50:05] Production.ERROR: PBX CALL prc_importPBXExtension('14887997') end
[2025-04-12 00:50:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 00:50:05] Production.INFO: 1
[2025-04-12 00:50:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 00:50:05] Production.INFO: Account Balance End.
[2025-04-12 00:50:05] Production.ERROR: done
[2025-04-12 00:50:05] Production.ERROR: CronJobId end 12
[2025-04-12 00:50:05] Production.INFO: ==3773== Releasing lock...
[2025-04-12 00:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 00:50:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 00:50:05] Production.INFO: ==3779== Releasing lock...
[2025-04-12 00:50:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 00:50:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 00:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 21:50:06
[end_date_ymd] => 2025-04-12 00:50:06
[RateCDR] => 1
)
[2025-04-12 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-11 21:50:06' and `end` < '2025-04-12 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-12 00:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14887998', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 00:50:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 00:50:09] Production.INFO: ProcessCDR(1,14887998,1,1,2)
[2025-04-12 00:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14887998,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:50:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14887998,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:50:10] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 00:50:10] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 00:50:10] Production.INFO: ==3777== Releasing lock...
[2025-04-12 00:50:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 00:50:10] Production.INFO: 26 MB #Memory Used#
[2025-04-12 00:50:14] Production.ERROR: CronJobId end10
[2025-04-12 00:50:14] Production.INFO: ==3771== Releasing lock...
[2025-04-12 00:50:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 00:50:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 00:50:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 00:50:17] Production.INFO: ============== Balance Warning START===========
[2025-04-12 00:50:17] Production.INFO: ============== Balance Warning END===========
[2025-04-12 00:50:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 00:50:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 00:50:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 00:50:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 00:50:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 00:50:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 00:50:17] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 00:50:17] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 00:50:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 00:50:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 00:50:17] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 00:50:17] Production.INFO: call_cost start
[2025-04-12 00:50:17] Production.INFO: call_cost end
[2025-04-12 00:50:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 00:50:18] Production.INFO: ============== Report Schedule START===========
[2025-04-12 00:50:18] Production.INFO: ============== Report Schedule END===========
[2025-04-12 00:50:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 00:50:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 00:50:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 00:50:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 00:50:18] Production.INFO: ============== Deal alert START===========
[2025-04-12 00:50:18] Production.INFO: ============== Deal alert END===========
[2025-04-12 00:50:18] Production.INFO: ==3767== Releasing lock...
[2025-04-12 00:50:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 00:50:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 00:50:19] Production.INFO: count ==803
[2025-04-12 00:50:19] Production.ERROR: pbx CDR StartTime 2025-04-11 21:50:06 - End Time 2025-04-12 00:50:06
[2025-04-12 00:50:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 00:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887999', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14887999', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887999', 'tblTempVendorCDR_20' ) start
[2025-04-12 00:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14887999', 'tblTempVendorCDR_20' ) end
[2025-04-12 00:50:19] Production.INFO: ProcessCDR(1,14887999,1,1,2)
[2025-04-12 00:50:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14887999,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:50:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14887999,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:50:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14887999,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:50:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14887999,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:50:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887999', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:50:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14887999', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:50:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 00:50:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 00:50:23] Production.INFO: ==3775== Releasing lock...
[2025-04-12 00:50:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 00:50:23] Production.INFO: 34.75 MB #Memory Used#
[2025-04-12 05:51:01] Production.INFO: ==3839== Lock acquired, processing the job...
[2025-04-12 05:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 05:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 05:51:01] Production.INFO: neon service started
[2025-04-12 05:51:01] Production.INFO: neon service started
[2025-04-12 05:51:01] Production.INFO: ==3839== Releasing lock...
[2025-04-12 05:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 05:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 04:51:02] Production.INFO: ==3843== Lock acquired, processing the job...
[2025-04-12 04:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 04:51:02] Production.INFO: ==3843== Releasing lock...
[2025-04-12 04:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 00:51:02] Production.INFO: ==3841== Lock acquired, processing the job...
[2025-04-12 04:51:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 00:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 00:51:02] Production.INFO: ==3841== Releasing lock...
[2025-04-12 00:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 00:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 00:51:03] Production.INFO: ==3846== Lock acquired, processing the job...
[2025-04-12 00:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 00:51:03] Production.INFO: ==3848== Lock acquired, processing the job...
[2025-04-12 00:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 00:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 00:51:03] Production.INFO: ==3854== Lock acquired, processing the job...
[2025-04-12 00:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 00:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 00:51:03] Production.INFO: ==3850== Lock acquired, processing the job...
[2025-04-12 00:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 00:51:03] Production.INFO: ==3852== Lock acquired, processing the job...
[2025-04-12 00:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 00:51:03] Production.INFO: ==3856== Lock acquired, processing the job...
[2025-04-12 00:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 00:51:03] Production.INFO: ==3848== Releasing lock...
[2025-04-12 00:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 00:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 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-12 00:51:04] Production.INFO: Account Balance Start.
[2025-04-12 00:51:04] Production.INFO: CreateAllLog Start
[2025-04-12 00:51:04] Production.INFO: 117
[2025-04-12 00:51:04] Production.INFO: count ==12
[2025-04-12 00:51:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 00:51:04] Production.INFO: count ==23
[2025-04-12 00:51:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 00:51:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 00:51:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 00:51:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 00:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888002') start
[2025-04-12 00:51:04] Production.INFO: Date 2025-04-08
[2025-04-12 00:51:04] Production.ERROR: done
[2025-04-12 00:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 00:51:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:51:04] Production.INFO: Date 2025-04-09
[2025-04-12 00:51:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:51:04] Production.INFO: Date 2025-04-10
[2025-04-12 00:51:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888002') end
[2025-04-12 00:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 00:51:04] Production.INFO: 1
[2025-04-12 00:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 00:51:04] Production.INFO: Date 2025-04-11
[2025-04-12 00:51:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:51:04] Production.INFO: Date 2025-04-12
[2025-04-12 00:51:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:51:04] Production.INFO: Total Charge 0
[2025-04-12 00:51:04] Production.INFO: ==3856== Releasing lock...
[2025-04-12 00:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 00:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 00:51:04] Production.INFO: CreateAllLog End
[2025-04-12 00:51:04] Production.ERROR: done
[2025-04-12 00:51:04] Production.INFO: Account Balance End.
[2025-04-12 00:51:04] Production.ERROR: CronJobId end 12
[2025-04-12 00:51:04] Production.INFO: ==3852== Releasing lock...
[2025-04-12 00:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 00:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 00:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 21:51:05
[end_date_ymd] => 2025-04-12 00:51:05
[RateCDR] => 1
)
[2025-04-12 00:51:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 21:51:05' and `end` < '2025-04-12 00:51:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 00:51:12] Production.ERROR: CronJobId end10
[2025-04-12 00:51:12] Production.INFO: ==3850== Releasing lock...
[2025-04-12 00:51:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 00:51:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 00:51:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 00:51:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 00:51:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 00:51:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 00:51:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 00:51:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 00:51:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 00:51:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 00:51:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 00:51:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 00:51:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 00:51:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 00:51:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 00:51:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 00:51:14] Production.INFO: call_cost start
[2025-04-12 00:51:14] Production.INFO: call_cost end
[2025-04-12 00:51:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 00:51:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 00:51:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 00:51:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 00:51:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 00:51:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 00:51:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 00:51:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 00:51:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 00:51:15] Production.INFO: ==3846== Releasing lock...
[2025-04-12 00:51:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 00:51:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 00:51:18] Production.INFO: count ==821
[2025-04-12 00:51:18] Production.ERROR: pbx CDR StartTime 2025-04-11 21:51:05 - End Time 2025-04-12 00:51:05
[2025-04-12 00:51:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 00:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888004', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888004', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888004', 'tblTempVendorCDR_20' ) start
[2025-04-12 00:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888004', 'tblTempVendorCDR_20' ) end
[2025-04-12 00:51:18] Production.INFO: ProcessCDR(1,14888004,1,1,2)
[2025-04-12 00:51:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888004,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:51:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888004,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:51:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888004,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:51:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888004,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888004', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888004', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:51:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 00:51:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 00:51:22] Production.INFO: ==3854== Releasing lock...
[2025-04-12 00:51:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 00:51:22] Production.INFO: 34.75 MB #Memory Used#
[2025-04-12 05:52:02] Production.INFO: ==3911== Lock acquired, processing the job...
[2025-04-12 05:52:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 05:52:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 05:52:02] Production.INFO: neon service started
[2025-04-12 05:52:02] Production.INFO: neon service started
[2025-04-12 05:52:02] Production.INFO: ==3911== Releasing lock...
[2025-04-12 05:52:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 05:52:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 00:52:02] Production.INFO: ==3913== Lock acquired, processing the job...
[2025-04-12 00:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 04:52:02] Production.INFO: ==3915== Lock acquired, processing the job...
[2025-04-12 04:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 04:52:02] Production.INFO: ==3915== Releasing lock...
[2025-04-12 04:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 04:52:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 00:52:03] Production.INFO: ==3913== Releasing lock...
[2025-04-12 00:52:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 00:52:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 00:52:03] Production.INFO: ==3918== Lock acquired, processing the job...
[2025-04-12 00:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 00:52:04] Production.INFO: ==3924== Lock acquired, processing the job...
[2025-04-12 00:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 00:52:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 00:52:04] Production.INFO: ==3928== Lock acquired, processing the job...
[2025-04-12 00:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 00:52:04] Production.INFO: Account Balance Start.
[2025-04-12 00:52:04] Production.INFO: CreateAllLog Start
[2025-04-12 00:52:04] Production.INFO: 117
[2025-04-12 00:52:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 00:52:04] Production.INFO: Date 2025-04-08
[2025-04-12 00:52:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:52:04] Production.INFO: count ==12
[2025-04-12 00:52:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 00:52:04] Production.INFO: count ==23
[2025-04-12 00:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888007') start
[2025-04-12 00:52:04] Production.INFO: ==3920== Lock acquired, processing the job...
[2025-04-12 00:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 00:52:04] Production.INFO: ==3922== Lock acquired, processing the job...
[2025-04-12 00:52:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 00:52:04] Production.INFO: ==3926== Lock acquired, processing the job...
[2025-04-12 00:52:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 00:52:04] Production.INFO: Date 2025-04-09
[2025-04-12 00:52:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:52:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 00:52:04] Production.INFO: Date 2025-04-10
[2025-04-12 00:52:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888007') end
[2025-04-12 00:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 00:52:04] Production.INFO: 1
[2025-04-12 00:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 00:52:04] Production.INFO: Date 2025-04-11
[2025-04-12 00:52:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:52:04] Production.INFO: ==3928== Releasing lock...
[2025-04-12 00:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 00:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 00:52:04] Production.INFO: Date 2025-04-12
[2025-04-12 00:52:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:52:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 00:52:04] Production.INFO: Total Charge 0
[2025-04-12 00:52:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 00:52:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 00:52:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 00:52:04] Production.INFO: CreateAllLog End
[2025-04-12 00:52:04] Production.ERROR: done
[2025-04-12 00:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 00:52:04] Production.INFO: ==3920== Releasing lock...
[2025-04-12 00:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 00:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 00:52:05] Production.INFO: Account Balance End.
[2025-04-12 00:52:05] Production.ERROR: done
[2025-04-12 00:52:05] Production.ERROR: CronJobId end 12
[2025-04-12 00:52:05] Production.INFO: ==3924== Releasing lock...
[2025-04-12 00:52:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 00:52:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 00:52:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 21:52:06
[end_date_ymd] => 2025-04-12 00:52:06
[RateCDR] => 1
)
[2025-04-12 00:52:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 21:52:06' and `end` < '2025-04-12 00:52:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 00:52:12] Production.ERROR: CronJobId end10
[2025-04-12 00:52:12] Production.INFO: ==3922== Releasing lock...
[2025-04-12 00:52:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 00:52:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 00:52:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 00:52:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 00:52:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 00:52:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 00:52:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 00:52:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 00:52:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 00:52:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 00:52:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 00:52:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 00:52:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 00:52:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 00:52:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 00:52:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 00:52:14] Production.INFO: call_cost start
[2025-04-12 00:52:14] Production.INFO: call_cost end
[2025-04-12 00:52:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 00:52:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 00:52:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 00:52:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 00:52:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 00:52:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 00:52:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 00:52:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 00:52:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 00:52:15] Production.INFO: ==3918== Releasing lock...
[2025-04-12 00:52:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 00:52:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 00:52:19] Production.INFO: count ==821
[2025-04-12 00:52:19] Production.ERROR: pbx CDR StartTime 2025-04-11 21:52:06 - End Time 2025-04-12 00:52:06
[2025-04-12 00:52:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 00:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888009', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888009', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888009', 'tblTempVendorCDR_20' ) start
[2025-04-12 00:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888009', 'tblTempVendorCDR_20' ) end
[2025-04-12 00:52:19] Production.INFO: ProcessCDR(1,14888009,1,1,2)
[2025-04-12 00:52:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888009,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:52:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888009,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:52:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888009,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:52:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888009,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:52:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888009', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:52:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888009', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:52:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 00:52:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 00:52:23] Production.INFO: ==3926== Releasing lock...
[2025-04-12 00:52:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 00:52:23] Production.INFO: 34.75 MB #Memory Used#
[2025-04-12 05:53:01] Production.INFO: ==4027== Lock acquired, processing the job...
[2025-04-12 05:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 05:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 05:53:01] Production.INFO: neon service started
[2025-04-12 05:53:01] Production.INFO: neon service started
[2025-04-12 05:53:01] Production.INFO: ==4027== Releasing lock...
[2025-04-12 05:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 05:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 00:53:02] Production.INFO: ==4029== Lock acquired, processing the job...
[2025-04-12 00:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 04:53:02] Production.INFO: ==4031== Lock acquired, processing the job...
[2025-04-12 04:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 04:53:02] Production.INFO: ==4031== Releasing lock...
[2025-04-12 04:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 04:53:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 00:53:02] Production.INFO: ==4029== Releasing lock...
[2025-04-12 00:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 00:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 00:53:03] Production.INFO: ==4038== Lock acquired, processing the job...
[2025-04-12 00:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 00:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 00:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 00:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 00:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 00:53:03] Production.INFO: ==4034== Lock acquired, processing the job...
[2025-04-12 00:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 00:53:03] Production.INFO: ==4042== Lock acquired, processing the job...
[2025-04-12 00:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 00:53:03] Production.INFO: ==4036== Lock acquired, processing the job...
[2025-04-12 00:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 00:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 00:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 00:53:03] Production.INFO: ==4040== Lock acquired, processing the job...
[2025-04-12 00:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 00:53:03] Production.INFO: ==4044== Lock acquired, processing the job...
[2025-04-12 00:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 00:53:04] Production.INFO: Account Balance Start.
[2025-04-12 00:53:04] Production.INFO: CreateAllLog Start
[2025-04-12 00:53:04] Production.INFO: 117
[2025-04-12 00:53:04] Production.INFO: Date 2025-04-08
[2025-04-12 00:53:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:53:04] Production.ERROR: done
[2025-04-12 00:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 00:53:04] Production.INFO: Date 2025-04-09
[2025-04-12 00:53:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:53:04] Production.INFO: Date 2025-04-10
[2025-04-12 00:53:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:53:04] Production.INFO: Date 2025-04-11
[2025-04-12 00:53:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:53:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 00:53:04] Production.INFO: Date 2025-04-12
[2025-04-12 00:53:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:53:04] Production.INFO: count ==12
[2025-04-12 00:53:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 00:53:04] Production.ERROR: done
[2025-04-12 00:53:04] Production.INFO: count ==23
[2025-04-12 00:53:04] Production.INFO: Total Charge 0
[2025-04-12 00:53:04] Production.INFO: ==4036== Releasing lock...
[2025-04-12 00:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 00:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 00:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888013') start
[2025-04-12 00:53:04] Production.INFO: CreateAllLog End
[2025-04-12 00:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888013') end
[2025-04-12 00:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 00:53:04] Production.INFO: 1
[2025-04-12 00:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 00:53:04] Production.INFO: Account Balance End.
[2025-04-12 00:53:04] Production.INFO: ==4044== Releasing lock...
[2025-04-12 00:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 00:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 00:53:04] Production.ERROR: CronJobId end 12
[2025-04-12 00:53:04] Production.INFO: ==4040== Releasing lock...
[2025-04-12 00:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 00:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 00:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 21:53:05
[end_date_ymd] => 2025-04-12 00:53:05
[RateCDR] => 1
)
[2025-04-12 00:53:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 21:53:05' and `end` < '2025-04-12 00:53:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 00:53:10] Production.ERROR: CronJobId end10
[2025-04-12 00:53:10] Production.INFO: ==4038== Releasing lock...
[2025-04-12 00:53:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 00:53:10] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 00:53:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 00:53:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 00:53:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 00:53:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 00:53:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 00:53:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 00:53:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 00:53:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 00:53:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 00:53:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 00:53:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 00:53:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 00:53:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 00:53:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 00:53:13] Production.INFO: call_cost start
[2025-04-12 00:53:13] Production.INFO: call_cost end
[2025-04-12 00:53:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 00:53:14] Production.INFO: ============== Report Schedule START===========
[2025-04-12 00:53:14] Production.INFO: ============== Report Schedule END===========
[2025-04-12 00:53:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 00:53:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 00:53:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 00:53:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 00:53:14] Production.INFO: ============== Deal alert START===========
[2025-04-12 00:53:14] Production.INFO: ============== Deal alert END===========
[2025-04-12 00:53:14] Production.INFO: ==4034== Releasing lock...
[2025-04-12 00:53:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 00:53:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 00:53:18] Production.INFO: count ==819
[2025-04-12 00:53:18] Production.ERROR: pbx CDR StartTime 2025-04-11 21:53:05 - End Time 2025-04-12 00:53:05
[2025-04-12 00:53:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 00:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888014', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888014', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888014', 'tblTempVendorCDR_20' ) start
[2025-04-12 00:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888014', 'tblTempVendorCDR_20' ) end
[2025-04-12 00:53:18] Production.INFO: ProcessCDR(1,14888014,1,1,2)
[2025-04-12 00:53:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888014,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:53:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888014,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:53:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888014,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:53:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888014,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:53:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888014', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:53:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888014', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:53:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 00:53:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 00:53:23] Production.INFO: ==4042== Releasing lock...
[2025-04-12 00:53:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 00:53:23] Production.INFO: 34.75 MB #Memory Used#
[2025-04-12 05:54:02] Production.INFO: ==4107== Lock acquired, processing the job...
[2025-04-12 05:54:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 05:54:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 05:54:02] Production.INFO: neon service started
[2025-04-12 05:54:02] Production.INFO: neon service started
[2025-04-12 05:54:02] Production.INFO: ==4107== Releasing lock...
[2025-04-12 05:54:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 05:54:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 04:54:02] Production.INFO: ==4111== Lock acquired, processing the job...
[2025-04-12 04:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 04:54:02] Production.INFO: ==4111== Releasing lock...
[2025-04-12 04:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 04:54:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 00:54:02] Production.INFO: ==4109== Lock acquired, processing the job...
[2025-04-12 00:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 00:54:02] Production.INFO: ==4109== Releasing lock...
[2025-04-12 00:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 00:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 00:54:03] Production.INFO: ==4114== Lock acquired, processing the job...
[2025-04-12 00:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 00:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 00:54:03] Production.INFO: ==4118== Lock acquired, processing the job...
[2025-04-12 00:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 00:54:03] Production.INFO: ==4120== Lock acquired, processing the job...
[2025-04-12 00:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 00:54:03] Production.INFO: Account Balance Start.
[2025-04-12 00:54:03] Production.INFO: CreateAllLog Start
[2025-04-12 00:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 00:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 00:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 00:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 00:54:03] Production.INFO: 117
[2025-04-12 00:54:03] Production.INFO: Date 2025-04-08
[2025-04-12 00:54:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:54:04] Production.INFO: ==4116== Lock acquired, processing the job...
[2025-04-12 00:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 00:54:04] Production.INFO: Date 2025-04-09
[2025-04-12 00:54:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:54:04] Production.INFO: Date 2025-04-10
[2025-04-12 00:54:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:54:04] Production.INFO: Date 2025-04-11
[2025-04-12 00:54:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:54:04] Production.INFO: Date 2025-04-12
[2025-04-12 00:54:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:54:04] Production.INFO: Total Charge 0
[2025-04-12 00:54:04] Production.INFO: CreateAllLog End
[2025-04-12 00:54:04] Production.INFO: ==4122== Lock acquired, processing the job...
[2025-04-12 00:54:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 00:54:04] Production.INFO: ==4124== Lock acquired, processing the job...
[2025-04-12 00:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 00:54:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 00:54:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 00:54:04] Production.INFO: count ==12
[2025-04-12 00:54:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 00:54:04] Production.INFO: count ==23
[2025-04-12 00:54:04] Production.INFO: ==4116== Releasing lock...
[2025-04-12 00:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 00:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 00:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888018') start
[2025-04-12 00:54:04] Production.INFO: Account Balance End.
[2025-04-12 00:54:04] Production.ERROR: CronJobId end 12
[2025-04-12 00:54:04] Production.INFO: ==4120== Releasing lock...
[2025-04-12 00:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 00:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 00:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888018') end
[2025-04-12 00:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 00:54:04] Production.INFO: 1
[2025-04-12 00:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 00:54:04] Production.INFO: ==4124== Releasing lock...
[2025-04-12 00:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 00:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 00:54:04] Production.ERROR: done
[2025-04-12 00:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 00:54:04] Production.ERROR: done
[2025-04-12 00:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 21:54:05
[end_date_ymd] => 2025-04-12 00:54:05
[RateCDR] => 1
)
[2025-04-12 00:54:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 21:54:05' and `end` < '2025-04-12 00:54:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 00:54:11] Production.ERROR: CronJobId end10
[2025-04-12 00:54:11] Production.INFO: ==4118== Releasing lock...
[2025-04-12 00:54:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 00:54:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 00:54:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 00:54:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 00:54:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 00:54:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 00:54:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 00:54:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 00:54:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 00:54:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 00:54:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 00:54:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 00:54:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 00:54:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 00:54:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 00:54:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 00:54:14] Production.INFO: call_cost start
[2025-04-12 00:54:14] Production.INFO: call_cost end
[2025-04-12 00:54:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 00:54:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 00:54:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 00:54:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 00:54:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 00:54:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 00:54:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 00:54:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 00:54:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 00:54:15] Production.INFO: ==4114== Releasing lock...
[2025-04-12 00:54:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 00:54:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 00:54:18] Production.INFO: count ==820
[2025-04-12 00:54:19] Production.ERROR: pbx CDR StartTime 2025-04-11 21:54:05 - End Time 2025-04-12 00:54:05
[2025-04-12 00:54:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 00:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888019', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888019', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888019', 'tblTempVendorCDR_20' ) start
[2025-04-12 00:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888019', 'tblTempVendorCDR_20' ) end
[2025-04-12 00:54:19] Production.INFO: ProcessCDR(1,14888019,1,1,2)
[2025-04-12 00:54:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888019,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:54:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888019,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:54:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888019,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:54:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888019,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:54:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888019', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:54:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888019', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:54:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 00:54:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 00:54:24] Production.INFO: ==4122== Releasing lock...
[2025-04-12 00:54:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 00:54:24] Production.INFO: 34.75 MB #Memory Used#
[2025-04-12 05:55:01] Production.INFO: ==4182== Lock acquired, processing the job...
[2025-04-12 05:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 05:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 05:55:01] Production.INFO: neon service started
[2025-04-12 05:55:01] Production.INFO: neon service started
[2025-04-12 05:55:01] Production.INFO: ==4182== Releasing lock...
[2025-04-12 05:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 05:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 04:55:01] Production.INFO: ==4186== Lock acquired, processing the job...
[2025-04-12 04:55:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 04:55:01] Production.INFO: ==4186== Releasing lock...
[2025-04-12 04:55:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 04:55:01] Production.INFO: 25 MB #Memory Used#
[2025-04-12 00:55:02] Production.INFO: ==4184== Lock acquired, processing the job...
[2025-04-12 00:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 00:55:02] Production.INFO: ==4184== Releasing lock...
[2025-04-12 00:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 00:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 00:55:03] Production.INFO: ==4192== Lock acquired, processing the job...
[2025-04-12 00:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 00:55:03] Production.INFO: ==4197== Lock acquired, processing the job...
[2025-04-12 00:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 00:55:03] Production.INFO: ==4188== Lock acquired, processing the job...
[2025-04-12 00:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 00:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 00:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 00:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 00:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 00:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 00:55:03] Production.INFO: ==4190== Lock acquired, processing the job...
[2025-04-12 00:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 00:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 00:55:03] Production.INFO: ==4195== Lock acquired, processing the job...
[2025-04-12 00:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 00:55:03] Production.INFO: ==4199== Lock acquired, processing the job...
[2025-04-12 00:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 00:55:03] Production.INFO: Account Balance Start.
[2025-04-12 00:55:03] Production.INFO: CreateAllLog Start
[2025-04-12 00:55:03] Production.INFO: 117
[2025-04-12 00:55:03] Production.INFO: Date 2025-04-08
[2025-04-12 00:55:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:55:03] Production.INFO: Date 2025-04-09
[2025-04-12 00:55:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:55:03] Production.INFO: Date 2025-04-10
[2025-04-12 00:55:03] Production.INFO: Reseller ==> 0
[2025-04-12 00:55:03] Production.ERROR: done
[2025-04-12 00:55:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 00:55:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 00:55:04] Production.INFO: Date 2025-04-11
[2025-04-12 00:55:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:55:04] Production.INFO: count ==12
[2025-04-12 00:55:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 00:55:04] Production.INFO: count ==23
[2025-04-12 00:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888022') start
[2025-04-12 00:55:04] Production.ERROR: done
[2025-04-12 00:55:04] Production.INFO: Date 2025-04-12
[2025-04-12 00:55:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888022') end
[2025-04-12 00:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 00:55:04] Production.INFO: 1
[2025-04-12 00:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 00:55:04] Production.INFO: ==4199== Releasing lock...
[2025-04-12 00:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 00:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 00:55:04] Production.INFO: Total Charge 0
[2025-04-12 00:55:04] Production.INFO: CreateAllLog End
[2025-04-12 00:55:04] Production.INFO: ==4190== Releasing lock...
[2025-04-12 00:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 00:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 00:55:04] Production.INFO: Account Balance End.
[2025-04-12 00:55:04] Production.ERROR: CronJobId end 12
[2025-04-12 00:55:04] Production.INFO: ==4195== Releasing lock...
[2025-04-12 00:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 00:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 00:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 21:55:05
[end_date_ymd] => 2025-04-12 00:55:05
[RateCDR] => 1
)
[2025-04-12 00:55:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 21:55:05' and `end` < '2025-04-12 00:55:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 00:55:12] Production.ERROR: CronJobId end10
[2025-04-12 00:55:12] Production.INFO: ==4192== Releasing lock...
[2025-04-12 00:55:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 00:55:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 00:55:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 00:55:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 00:55:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 00:55:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 00:55:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 00:55:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 00:55:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 00:55:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 00:55:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 00:55:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 00:55:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 00:55:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 00:55:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 00:55:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 00:55:15] Production.INFO: call_cost start
[2025-04-12 00:55:15] Production.INFO: call_cost end
[2025-04-12 00:55:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 00:55:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 00:55:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 00:55:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 00:55:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 00:55:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 00:55:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 00:55:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 00:55:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 00:55:16] Production.INFO: ==4188== Releasing lock...
[2025-04-12 00:55:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 00:55:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 00:55:18] Production.INFO: count ==819
[2025-04-12 00:55:18] Production.ERROR: pbx CDR StartTime 2025-04-11 21:55:05 - End Time 2025-04-12 00:55:05
[2025-04-12 00:55:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 00:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888024', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888024', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888024', 'tblTempVendorCDR_20' ) start
[2025-04-12 00:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888024', 'tblTempVendorCDR_20' ) end
[2025-04-12 00:55:18] Production.INFO: ProcessCDR(1,14888024,1,1,2)
[2025-04-12 00:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888024,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:55:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888024,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:55:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888024,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:55:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888024,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888024', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888024', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:55:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 00:55:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 00:55:22] Production.INFO: ==4197== Releasing lock...
[2025-04-12 00:55:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 00:55:22] Production.INFO: 34.75 MB #Memory Used#
[2025-04-12 05:56:01] Production.INFO: ==4261== Lock acquired, processing the job...
[2025-04-12 05:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 05:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 05:56:01] Production.INFO: neon service started
[2025-04-12 05:56:01] Production.INFO: neon service started
[2025-04-12 05:56:01] Production.INFO: ==4261== Releasing lock...
[2025-04-12 05:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 05:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 00:56:02] Production.INFO: ==4263== Lock acquired, processing the job...
[2025-04-12 00:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 00:56:02] Production.INFO: ==4263== Releasing lock...
[2025-04-12 00:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 00:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 04:56:02] Production.INFO: ==4265== Lock acquired, processing the job...
[2025-04-12 04:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 04:56:02] Production.INFO: ==4265== Releasing lock...
[2025-04-12 04:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 04:56:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 00:56:03] Production.INFO: ==4268== Lock acquired, processing the job...
[2025-04-12 00:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 00:56:03] Production.INFO: ==4270== Lock acquired, processing the job...
[2025-04-12 00:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 00:56:03] Production.INFO: ==4272== Lock acquired, processing the job...
[2025-04-12 00:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 00:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 00:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 00:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 00:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 00:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 00:56:03] Production.INFO: ==4274== Lock acquired, processing the job...
[2025-04-12 00:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 00:56:03] Production.INFO: ==4270== Releasing lock...
[2025-04-12 00:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 00:56:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 00:56:03] Production.INFO: ==4276== Lock acquired, processing the job...
[2025-04-12 00:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 00:56:03] Production.INFO: Account Balance Start.
[2025-04-12 00:56:03] Production.INFO: CreateAllLog Start
[2025-04-12 00:56:03] Production.INFO: 117
[2025-04-12 00:56:03] Production.INFO: Date 2025-04-08
[2025-04-12 00:56:04] Production.INFO: ==4278== Lock acquired, processing the job...
[2025-04-12 00:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 00:56:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:56:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 00:56:04] Production.INFO: Date 2025-04-09
[2025-04-12 00:56:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:56:04] Production.INFO: Date 2025-04-10
[2025-04-12 00:56:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:56:04] Production.INFO: Date 2025-04-11
[2025-04-12 00:56:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:56:04] Production.INFO: Date 2025-04-12
[2025-04-12 00:56:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:56:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 00:56:04] Production.INFO: count ==12
[2025-04-12 00:56:04] Production.INFO: Total Charge 0
[2025-04-12 00:56:04] Production.INFO: CreateAllLog End
[2025-04-12 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-12 00:56:04] Production.INFO: count ==23
[2025-04-12 00:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888028') start
[2025-04-12 00:56:04] Production.ERROR: done
[2025-04-12 00:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 00:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888028') end
[2025-04-12 00:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 00:56:04] Production.INFO: 1
[2025-04-12 00:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 00:56:04] Production.INFO: ==4278== Releasing lock...
[2025-04-12 00:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 00:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 00:56:04] Production.ERROR: done
[2025-04-12 00:56:04] Production.INFO: Account Balance End.
[2025-04-12 00:56:04] Production.ERROR: CronJobId end 12
[2025-04-12 00:56:04] Production.INFO: ==4274== Releasing lock...
[2025-04-12 00:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 00:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 00:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 21:56:05
[end_date_ymd] => 2025-04-12 00:56:05
[RateCDR] => 1
)
[2025-04-12 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-11 21:56:05' and `end` < '2025-04-12 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-12 00:56:10] Production.ERROR: CronJobId end10
[2025-04-12 00:56:11] Production.INFO: ==4272== Releasing lock...
[2025-04-12 00:56:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 00:56:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 00:56:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 00:56:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 00:56:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 00:56:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 00:56:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 00:56:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 00:56:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 00:56:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 00:56:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 00:56:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 00:56:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 00:56:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 00:56:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 00:56:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 00:56:14] Production.INFO: call_cost start
[2025-04-12 00:56:14] Production.INFO: call_cost end
[2025-04-12 00:56:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 00:56:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 00:56:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 00:56:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 00:56:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 00:56:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 00:56:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 00:56:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 00:56:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 00:56:15] Production.INFO: ==4268== Releasing lock...
[2025-04-12 00:56:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 00:56:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 00:56:18] Production.INFO: count ==817
[2025-04-12 00:56:19] Production.ERROR: pbx CDR StartTime 2025-04-11 21:56:05 - End Time 2025-04-12 00:56:05
[2025-04-12 00:56:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 00:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888029', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888029', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888029', 'tblTempVendorCDR_20' ) start
[2025-04-12 00:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888029', 'tblTempVendorCDR_20' ) end
[2025-04-12 00:56:19] Production.INFO: ProcessCDR(1,14888029,1,1,2)
[2025-04-12 00:56:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888029,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:56:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888029,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:56:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888029,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:56:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888029,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888029', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888029', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:56:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 00:56:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 00:56:22] Production.INFO: ==4276== Releasing lock...
[2025-04-12 00:56:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 00:56:22] Production.INFO: 34.5 MB #Memory Used#
[2025-04-12 05:57:02] Production.INFO: ==4335== Lock acquired, processing the job...
[2025-04-12 05:57:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 05:57:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 05:57:02] Production.INFO: neon service started
[2025-04-12 05:57:02] Production.INFO: neon service started
[2025-04-12 05:57:02] Production.INFO: ==4335== Releasing lock...
[2025-04-12 05:57:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 05:57:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 04:57:02] Production.INFO: ==4339== Lock acquired, processing the job...
[2025-04-12 04:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 04:57:02] Production.INFO: ==4339== Releasing lock...
[2025-04-12 04:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 04:57:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 00:57:02] Production.INFO: ==4337== Lock acquired, processing the job...
[2025-04-12 00:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 00:57:03] Production.INFO: ==4337== Releasing lock...
[2025-04-12 00:57:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 00:57:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 00:57:03] Production.INFO: ==4344== Lock acquired, processing the job...
[2025-04-12 00:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 00:57:04] Production.INFO: ==4350== Lock acquired, processing the job...
[2025-04-12 00:57:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 00:57:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 00:57:04] Production.INFO: ==4342== Lock acquired, processing the job...
[2025-04-12 00:57:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 00:57:04] Production.INFO: ==4346== Lock acquired, processing the job...
[2025-04-12 00:57:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 00:57:04] Production.INFO: ==4348== Lock acquired, processing the job...
[2025-04-12 00:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 00:57:04] Production.INFO: ==4352== Lock acquired, processing the job...
[2025-04-12 00:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 00:57:04] Production.INFO: Account Balance Start.
[2025-04-12 00:57:04] Production.INFO: CreateAllLog Start
[2025-04-12 00:57:04] Production.INFO: 117
[2025-04-12 00:57:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 00:57:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 00:57:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 00:57:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 00:57:04] Production.INFO: Date 2025-04-08
[2025-04-12 00:57:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:57:04] Production.INFO: ==4344== Releasing lock...
[2025-04-12 00:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 00:57:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 00:57:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 00:57:04] Production.INFO: Date 2025-04-09
[2025-04-12 00:57:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:57:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 00:57:04] Production.INFO: Date 2025-04-10
[2025-04-12 00:57:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:57:04] Production.INFO: Date 2025-04-11
[2025-04-12 00:57:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:57:04] Production.INFO: count ==12
[2025-04-12 00:57:04] Production.INFO: Date 2025-04-12
[2025-04-12 00:57:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:57:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 00:57:04] Production.INFO: count ==23
[2025-04-12 00:57:04] Production.ERROR: done
[2025-04-12 00:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 00:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888032') start
[2025-04-12 00:57:04] Production.INFO: Total Charge 0
[2025-04-12 00:57:04] Production.INFO: CreateAllLog End
[2025-04-12 00:57:04] Production.ERROR: done
[2025-04-12 00:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888032') end
[2025-04-12 00:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 00:57:04] Production.INFO: 1
[2025-04-12 00:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 00:57:04] Production.INFO: ==4352== Releasing lock...
[2025-04-12 00:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 00:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 00:57:04] Production.INFO: Account Balance End.
[2025-04-12 00:57:05] Production.ERROR: CronJobId end 12
[2025-04-12 00:57:05] Production.INFO: ==4348== Releasing lock...
[2025-04-12 00:57:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 00:57:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 00:57:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 21:57:06
[end_date_ymd] => 2025-04-12 00:57:06
[RateCDR] => 1
)
[2025-04-12 00: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-11 21:57:06' and `end` < '2025-04-12 00: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-12 00:57:11] Production.ERROR: CronJobId end10
[2025-04-12 00:57:11] Production.INFO: ==4346== Releasing lock...
[2025-04-12 00:57:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 00:57:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 00:57:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 00:57:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 00:57:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 00:57:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 00:57:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 00:57:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 00:57:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 00:57:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 00:57:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 00:57:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 00:57:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 00:57:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 00:57:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 00:57:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 00:57:15] Production.INFO: call_cost start
[2025-04-12 00:57:15] Production.INFO: call_cost end
[2025-04-12 00:57:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 00:57:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 00:57:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 00:57:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 00:57:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 00:57:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 00:57:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 00:57:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 00:57:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 00:57:16] Production.INFO: ==4342== Releasing lock...
[2025-04-12 00:57:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 00:57:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 00:57:18] Production.INFO: count ==817
[2025-04-12 00:57:19] Production.ERROR: pbx CDR StartTime 2025-04-11 21:57:06 - End Time 2025-04-12 00:57:06
[2025-04-12 00:57:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 00:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888034', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888034', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888034', 'tblTempVendorCDR_20' ) start
[2025-04-12 00:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888034', 'tblTempVendorCDR_20' ) end
[2025-04-12 00:57:19] Production.INFO: ProcessCDR(1,14888034,1,1,2)
[2025-04-12 00:57:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888034,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:57:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888034,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:57:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888034,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:57:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888034,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888034', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888034', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:57:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 00:57:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 00:57:22] Production.INFO: ==4350== Releasing lock...
[2025-04-12 00:57:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 00:57:22] Production.INFO: 34.5 MB #Memory Used#
[2025-04-12 05:58:01] Production.INFO: ==4407== Lock acquired, processing the job...
[2025-04-12 05:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 05:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 05:58:01] Production.INFO: neon service started
[2025-04-12 05:58:01] Production.INFO: neon service started
[2025-04-12 05:58:01] Production.INFO: ==4407== Releasing lock...
[2025-04-12 05:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 05:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 00:58:02] Production.INFO: ==4409== Lock acquired, processing the job...
[2025-04-12 00:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 00:58:02] Production.INFO: ==4409== Releasing lock...
[2025-04-12 00:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 00:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 04:58:02] Production.INFO: ==4411== Lock acquired, processing the job...
[2025-04-12 04:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 04:58:02] Production.INFO: ==4411== Releasing lock...
[2025-04-12 04:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 04:58:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 00:58:03] Production.INFO: ==4414== Lock acquired, processing the job...
[2025-04-12 00:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 00:58:03] Production.INFO: ==4422== Lock acquired, processing the job...
[2025-04-12 00:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 00:58:03] Production.INFO: ==4416== Lock acquired, processing the job...
[2025-04-12 00:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 00:58:03] Production.INFO: ==4424== Lock acquired, processing the job...
[2025-04-12 00:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 00:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 00:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 00:58:03] Production.INFO: ==4418== Lock acquired, processing the job...
[2025-04-12 00:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 00:58:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 00:58:03] Production.INFO: ==4420== Lock acquired, processing the job...
[2025-04-12 00:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 00:58:03] Production.INFO: count ==12
[2025-04-12 00:58:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 00:58:04] Production.INFO: count ==23
[2025-04-12 00:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888036') start
[2025-04-12 00:58:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 00:58:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 00:58:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 00:58:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 00:58:04] Production.INFO: Account Balance Start.
[2025-04-12 00:58:04] Production.INFO: CreateAllLog Start
[2025-04-12 00:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888036') end
[2025-04-12 00:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 00:58:04] Production.INFO: 1
[2025-04-12 00:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 00:58:04] Production.INFO: 117
[2025-04-12 00:58:04] Production.INFO: Date 2025-04-08
[2025-04-12 00:58:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:58:04] Production.INFO: Date 2025-04-09
[2025-04-12 00:58:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:58:04] Production.INFO: ==4424== Releasing lock...
[2025-04-12 00:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 00:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 00:58:04] Production.ERROR: done
[2025-04-12 00:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 00:58:04] Production.INFO: ==4416== Releasing lock...
[2025-04-12 00:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 00:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 00:58:04] Production.INFO: Date 2025-04-10
[2025-04-12 00:58:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:58:04] Production.INFO: Date 2025-04-11
[2025-04-12 00:58:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:58:04] Production.INFO: Date 2025-04-12
[2025-04-12 00:58:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:58:04] Production.INFO: Total Charge 0
[2025-04-12 00:58:04] Production.INFO: CreateAllLog End
[2025-04-12 00:58:04] Production.ERROR: done
[2025-04-12 00:58:04] Production.INFO: Account Balance End.
[2025-04-12 00:58:04] Production.ERROR: CronJobId end 12
[2025-04-12 00:58:04] Production.INFO: ==4420== Releasing lock...
[2025-04-12 00:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 00:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 00:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 21:58:05
[end_date_ymd] => 2025-04-12 00:58:05
[RateCDR] => 1
)
[2025-04-12 00:58:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 21:58:05' and `end` < '2025-04-12 00:58:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 00:58:13] Production.ERROR: CronJobId end10
[2025-04-12 00:58:13] Production.INFO: ==4418== Releasing lock...
[2025-04-12 00:58:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 00:58:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 00:58:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 00:58:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 00:58:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 00:58:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 00:58:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 00:58:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 00:58:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 00:58:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 00:58:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 00:58:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 00:58:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 00:58:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 00:58:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 00:58:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 00:58:15] Production.INFO: call_cost start
[2025-04-12 00:58:15] Production.INFO: call_cost end
[2025-04-12 00:58:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 00:58:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 00:58:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 00:58:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 00:58:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 00:58:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 00:58:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 00:58:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 00:58:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 00:58:16] Production.INFO: ==4414== Releasing lock...
[2025-04-12 00:58:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 00:58:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 00:58:17] Production.INFO: count ==815
[2025-04-12 00:58:18] Production.ERROR: pbx CDR StartTime 2025-04-11 21:58:05 - End Time 2025-04-12 00:58:05
[2025-04-12 00:58:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 00:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888039', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888039', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888039', 'tblTempVendorCDR_20' ) start
[2025-04-12 00:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888039', 'tblTempVendorCDR_20' ) end
[2025-04-12 00:58:18] Production.INFO: ProcessCDR(1,14888039,1,1,2)
[2025-04-12 00:58:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888039,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:58:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888039,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:58:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888039,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:58:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888039,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888039', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888039', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:58:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 00:58:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 00:58:21] Production.INFO: ==4422== Releasing lock...
[2025-04-12 00:58:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 00:58:21] Production.INFO: 34.5 MB #Memory Used#
[2025-04-12 05:59:02] Production.INFO: ==4482== Lock acquired, processing the job...
[2025-04-12 05:59:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 05:59:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 05:59:02] Production.INFO: neon service started
[2025-04-12 05:59:02] Production.INFO: neon service started
[2025-04-12 05:59:02] Production.INFO: ==4482== Releasing lock...
[2025-04-12 05:59:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 05:59:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 04:59:02] Production.INFO: ==4486== Lock acquired, processing the job...
[2025-04-12 04:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 04:59:02] Production.INFO: ==4486== Releasing lock...
[2025-04-12 04:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 04:59:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 00:59:02] Production.INFO: ==4484== Lock acquired, processing the job...
[2025-04-12 00:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 00:59:03] Production.INFO: ==4484== Releasing lock...
[2025-04-12 00:59:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 00:59:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 00:59:03] Production.INFO: ==4497== Lock acquired, processing the job...
[2025-04-12 00:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 00:59:04] Production.INFO: ==4489== Lock acquired, processing the job...
[2025-04-12 00:59:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 00:59:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 00:59:04] Production.INFO: ==4491== Lock acquired, processing the job...
[2025-04-12 00:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 00:59:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 00:59:04] Production.INFO: ==4493== Lock acquired, processing the job...
[2025-04-12 00:59:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 00:59:04] Production.INFO: ==4495== Lock acquired, processing the job...
[2025-04-12 00:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 00:59:04] Production.INFO: ==4499== Lock acquired, processing the job...
[2025-04-12 00:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 00:59:04] Production.INFO: Account Balance Start.
[2025-04-12 00:59:04] Production.INFO: CreateAllLog Start
[2025-04-12 00:59:04] Production.INFO: 117
[2025-04-12 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-12 00:59:04] Production.INFO: Date 2025-04-08
[2025-04-12 00:59:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:59:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 00:59:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 00:59:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 00:59:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 00:59:04] Production.INFO: count ==12
[2025-04-12 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-12 00:59:04] Production.INFO: count ==23
[2025-04-12 00:59:04] Production.INFO: Date 2025-04-09
[2025-04-12 00:59:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888042') start
[2025-04-12 00:59:04] Production.ERROR: done
[2025-04-12 00:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 00:59:04] Production.INFO: Date 2025-04-10
[2025-04-12 00:59:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:59:04] Production.INFO: Date 2025-04-11
[2025-04-12 00:59:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888042') end
[2025-04-12 00:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 00:59:04] Production.INFO: 1
[2025-04-12 00:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 00:59:04] Production.INFO: Date 2025-04-12
[2025-04-12 00:59:04] Production.INFO: Reseller ==> 0
[2025-04-12 00:59:04] Production.INFO: ==4491== Releasing lock...
[2025-04-12 00:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 00:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 00:59:04] Production.ERROR: done
[2025-04-12 00:59:04] Production.INFO: ==4499== Releasing lock...
[2025-04-12 00:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 00:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 00:59:04] Production.INFO: Total Charge 0
[2025-04-12 00:59:04] Production.INFO: CreateAllLog End
[2025-04-12 00:59:05] Production.INFO: Account Balance End.
[2025-04-12 00:59:05] Production.ERROR: CronJobId end 12
[2025-04-12 00:59:05] Production.INFO: ==4495== Releasing lock...
[2025-04-12 00:59:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 00:59:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 00:59:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 21:59:05
[end_date_ymd] => 2025-04-12 00:59:05
[RateCDR] => 1
)
[2025-04-12 00: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-11 21:59:05' and `end` < '2025-04-12 00:59:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 00:59:12] Production.ERROR: CronJobId end10
[2025-04-12 00:59:12] Production.INFO: ==4493== Releasing lock...
[2025-04-12 00:59:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 00:59:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 00:59:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 00:59:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 00:59:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 00:59:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 00:59:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 00:59:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 00:59:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 00:59:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 00:59:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 00:59:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 00:59:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 00:59:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 00:59:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 00:59:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 00:59:15] Production.INFO: call_cost start
[2025-04-12 00:59:15] Production.INFO: call_cost end
[2025-04-12 00:59:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 00:59:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 00:59:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 00:59:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 00:59:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 00:59:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 00:59:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 00:59:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 00:59:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 00:59:16] Production.INFO: ==4489== Releasing lock...
[2025-04-12 00:59:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 00:59:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 00:59:18] Production.INFO: count ==814
[2025-04-12 00:59:19] Production.ERROR: pbx CDR StartTime 2025-04-11 21:59:05 - End Time 2025-04-12 00:59:05
[2025-04-12 00:59:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 00:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888044', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888044', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888044', 'tblTempVendorCDR_20' ) start
[2025-04-12 00:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888044', 'tblTempVendorCDR_20' ) end
[2025-04-12 00:59:19] Production.INFO: ProcessCDR(1,14888044,1,1,2)
[2025-04-12 00:59:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888044,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:59:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888044,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 00:59:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888044,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:59:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888044,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 00:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888044', 'tblTempUsageDetail_20' ) start
[2025-04-12 00:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888044', 'tblTempUsageDetail_20' ) end
[2025-04-12 00:59:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 00:59:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 00:59:22] Production.INFO: ==4497== Releasing lock...
[2025-04-12 00:59:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 00:59:22] Production.INFO: 34.5 MB #Memory Used#
[2025-04-12 06:00:01] Production.INFO: ==4558== Lock acquired, processing the job...
[2025-04-12 06:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 06:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 06:00:01] Production.INFO: neon service started
[2025-04-12 06:00:01] Production.INFO: neon service started
[2025-04-12 06:00:01] Production.INFO: ==4558== Releasing lock...
[2025-04-12 06:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 06:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 01:00:02] Production.INFO: ==4560== Lock acquired, processing the job...
[2025-04-12 01:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 05:00:02] Production.INFO: ==4562== Lock acquired, processing the job...
[2025-04-12 05:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 05:00:02] Production.INFO: ==4562== Releasing lock...
[2025-04-12 05:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 05:00:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 01:00:02] Production.INFO: ==4560== Releasing lock...
[2025-04-12 01:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 01:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 01:00:03] Production.INFO: ==4565== Lock acquired, processing the job...
[2025-04-12 01:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 01:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 01:00:03] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 01:00:03] Production.INFO: ==4565== Releasing lock...
[2025-04-12 01:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 01:00:03] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 01:00:03] Production.INFO: ==4569== Lock acquired, processing the job...
[2025-04-12 01:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 01:00:04] Production.INFO: ==4567== Lock acquired, processing the job...
[2025-04-12 01:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 01:00:04] Production.INFO: ==4571== Lock acquired, processing the job...
[2025-04-12 01:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 01:00:04] Production.INFO: ==4578== Lock acquired, processing the job...
[2025-04-12 01:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 01:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 01:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 01:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 01:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 01:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 01:00:04] Production.INFO: ==4569== Releasing lock...
[2025-04-12 01:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 01:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 01:00:04] Production.INFO: ==4584== Lock acquired, processing the job...
[2025-04-12 01:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 01:00:04] Production.INFO: ==4582== Lock acquired, processing the job...
[2025-04-12 01:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 01:00:04] Production.INFO: Account Balance Start.
[2025-04-12 01:00:04] Production.INFO: CreateAllLog Start
[2025-04-12 01:00:04] Production.INFO: 117
[2025-04-12 01:00:04] Production.INFO: Date 2025-04-08
[2025-04-12 01:00:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 01:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 01:00:04] Production.INFO: ==4586== Lock acquired, processing the job...
[2025-04-12 01:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 01:00:04] Production.INFO: Date 2025-04-09
[2025-04-12 01:00:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:00:04] Production.INFO: Date 2025-04-10
[2025-04-12 01:00:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:00:04] Production.INFO: Date 2025-04-11
[2025-04-12 01:00:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:00:04] Production.ERROR: done
[2025-04-12 01:00:04] Production.INFO: Date 2025-04-12
[2025-04-12 01:00:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:00:04] Production.INFO: Total Charge 0
[2025-04-12 01:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 01:00:04] Production.INFO: CreateAllLog End
[2025-04-12 01:00:04] Production.INFO: count ==12
[2025-04-12 01:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 01:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14888049', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 01:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 01:00:04] Production.ERROR: done
[2025-04-12 01:00:04] Production.INFO: count ==23
[2025-04-12 01:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 01:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888048') start
[2025-04-12 01:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14888048') end
[2025-04-12 01:00:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 01:00:05] Production.INFO: 1
[2025-04-12 01:00:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 01:00:05] Production.ERROR: done
[2025-04-12 01:00:05] Production.INFO: ==4586== Releasing lock...
[2025-04-12 01:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 01:00:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 01:00:05] Production.INFO: Account Balance End.
[2025-04-12 01:00:05] Production.ERROR: CronJobId end 12
[2025-04-12 01:00:05] Production.INFO: ==4578== Releasing lock...
[2025-04-12 01:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 01:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 01:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 22:00:06
[end_date_ymd] => 2025-04-12 01:00:06
[RateCDR] => 1
)
[2025-04-12 01:00:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 22:00:06' and `end` < '2025-04-12 01:00:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 01:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14888049', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 01:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 01:00:09] Production.INFO: ProcessCDR(1,14888049,1,1,2)
[2025-04-12 01:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14888049,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14888049,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 01:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 01:00:09] Production.INFO: ==4584== Releasing lock...
[2025-04-12 01:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 01:00:09] Production.INFO: 26 MB #Memory Used#
[2025-04-12 01:00:14] Production.ERROR: CronJobId end10
[2025-04-12 01:00:14] Production.INFO: ==4571== Releasing lock...
[2025-04-12 01:00:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 01:00:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 01:00:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 01:00:16] Production.INFO: ============== Balance Warning START===========
[2025-04-12 01:00:16] Production.INFO: ============== Balance Warning END===========
[2025-04-12 01:00:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 01:00:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 01:00:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 01:00:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 01:00:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 01:00:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 01:00:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 01:00:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 01:00:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 01:00:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 01:00:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 01:00:17] Production.INFO: call_cost start
[2025-04-12 01:00:17] Production.INFO: call_cost end
[2025-04-12 01:00:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 01:00:18] Production.INFO: ============== Report Schedule START===========
[2025-04-12 01:00:18] Production.INFO: ============== Report Schedule END===========
[2025-04-12 01:00:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 01:00:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 01:00:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 01:00:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 01:00:18] Production.INFO: ============== Deal alert START===========
[2025-04-12 01:00:18] Production.INFO: ============== Deal alert END===========
[2025-04-12 01:00:18] Production.INFO: ==4567== Releasing lock...
[2025-04-12 01:00:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 01:00:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 01:00:18] Production.INFO: count ==821
[2025-04-12 01:00:19] Production.ERROR: pbx CDR StartTime 2025-04-11 22:00:06 - End Time 2025-04-12 01:00:06
[2025-04-12 01:00:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 01:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888050', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888050', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888050', 'tblTempVendorCDR_20' ) start
[2025-04-12 01:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888050', 'tblTempVendorCDR_20' ) end
[2025-04-12 01:00:19] Production.INFO: ProcessCDR(1,14888050,1,1,2)
[2025-04-12 01:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888050,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:00:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888050,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:00:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888050,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:00:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888050,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888050', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888050', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:00:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 01:00:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 01:00:22] Production.INFO: ==4582== Releasing lock...
[2025-04-12 01:00:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 01:00:22] Production.INFO: 34.5 MB #Memory Used#
[2025-04-12 06:01:02] Production.INFO: ==4650== Lock acquired, processing the job...
[2025-04-12 06:01:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 06:01:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 06:01:02] Production.INFO: neon service started
[2025-04-12 06:01:02] Production.INFO: neon service started
[2025-04-12 06:01:02] Production.INFO: ==4650== Releasing lock...
[2025-04-12 06:01:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 06:01:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 01:01:02] Production.INFO: ==4665== Lock acquired, processing the job...
[2025-04-12 01:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 05:01:02] Production.INFO: ==4667== Lock acquired, processing the job...
[2025-04-12 05:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 05:01:02] Production.INFO: ==4667== Releasing lock...
[2025-04-12 05:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 05:01:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 01:01:03] Production.INFO: ==4665== Releasing lock...
[2025-04-12 01:01:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 01:01:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 01:01:03] Production.INFO: ==4670== Lock acquired, processing the job...
[2025-04-12 01:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 01:01:03] Production.INFO: ==4672== Lock acquired, processing the job...
[2025-04-12 01:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 01:01:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 01:01:04] Production.INFO: ==4680== Lock acquired, processing the job...
[2025-04-12 01:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 01:01:04] Production.INFO: ==4672== Releasing lock...
[2025-04-12 01:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 01:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 01:01:04] Production.INFO: ==4674== Lock acquired, processing the job...
[2025-04-12 01:01:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 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-12 01:01:04] Production.INFO: ==4676== Lock acquired, processing the job...
[2025-04-12 01:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 01:01:04] Production.INFO: ==4678== Lock acquired, processing the job...
[2025-04-12 01:01:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 01:01:04] Production.INFO: count ==12
[2025-04-12 01:01:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 01:01:04] Production.INFO: count ==23
[2025-04-12 01:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888053') start
[2025-04-12 01:01:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 01:01:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 01:01:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 01:01:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 01:01:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 01:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888053') end
[2025-04-12 01:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 01:01:04] Production.INFO: 1
[2025-04-12 01:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 01:01:04] Production.INFO: Account Balance Start.
[2025-04-12 01:01:04] Production.INFO: CreateAllLog Start
[2025-04-12 01:01:04] Production.INFO: 117
[2025-04-12 01:01:04] Production.INFO: Date 2025-04-08
[2025-04-12 01:01:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:01:04] Production.INFO: Date 2025-04-09
[2025-04-12 01:01:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:01:04] Production.INFO: ==4680== Releasing lock...
[2025-04-12 01:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 01:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 01:01:04] Production.INFO: Date 2025-04-10
[2025-04-12 01:01:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:01:04] Production.INFO: Date 2025-04-11
[2025-04-12 01:01:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:01:04] Production.INFO: Date 2025-04-12
[2025-04-12 01:01:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:01:04] Production.INFO: Total Charge 0
[2025-04-12 01:01:04] Production.INFO: CreateAllLog End
[2025-04-12 01:01:04] Production.ERROR: done
[2025-04-12 01:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 01:01:05] Production.ERROR: done
[2025-04-12 01:01:05] Production.INFO: Account Balance End.
[2025-04-12 01:01:05] Production.ERROR: CronJobId end 12
[2025-04-12 01:01:05] Production.INFO: ==4676== Releasing lock...
[2025-04-12 01:01:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 01:01:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 01:01:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 22:01:06
[end_date_ymd] => 2025-04-12 01:01:06
[RateCDR] => 1
)
[2025-04-12 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-11 22:01:06' and `end` < '2025-04-12 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-12 01:01:12] Production.ERROR: CronJobId end10
[2025-04-12 01:01:12] Production.INFO: ==4674== Releasing lock...
[2025-04-12 01:01:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 01:01:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 01:01:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 01:01:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 01:01:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 01:01:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 01:01:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 01:01:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 01:01:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 01:01:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 01:01:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 01:01:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 01:01:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 01:01:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 01:01:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 01:01:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 01:01:14] Production.INFO: call_cost start
[2025-04-12 01:01:14] Production.INFO: call_cost end
[2025-04-12 01:01:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 01:01:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 01:01:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 01:01:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 01:01:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 01:01:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 01:01:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 01:01:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 01:01:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 01:01:15] Production.INFO: ==4670== Releasing lock...
[2025-04-12 01:01:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 01:01:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 01:01:18] Production.INFO: count ==833
[2025-04-12 01:01:19] Production.ERROR: pbx CDR StartTime 2025-04-11 22:01:06 - End Time 2025-04-12 01:01:06
[2025-04-12 01:01:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 01:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888055', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888055', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888055', 'tblTempVendorCDR_20' ) start
[2025-04-12 01:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888055', 'tblTempVendorCDR_20' ) end
[2025-04-12 01:01:19] Production.INFO: ProcessCDR(1,14888055,1,1,2)
[2025-04-12 01:01:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888055,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:01:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888055,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:01:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888055,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:01:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888055,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888055', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888055', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:01:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 01:01:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 01:01:22] Production.INFO: ==4678== Releasing lock...
[2025-04-12 01:01:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 01:01:22] Production.INFO: 35.25 MB #Memory Used#
[2025-04-12 06:02:01] Production.INFO: ==4739== Lock acquired, processing the job...
[2025-04-12 06:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 06:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 06:02:01] Production.INFO: neon service started
[2025-04-12 06:02:01] Production.INFO: neon service started
[2025-04-12 06:02:01] Production.INFO: ==4739== Releasing lock...
[2025-04-12 06:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 06:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 01:02:02] Production.INFO: ==4741== Lock acquired, processing the job...
[2025-04-12 01:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 05:02:02] Production.INFO: ==4743== Lock acquired, processing the job...
[2025-04-12 05:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 05:02:02] Production.INFO: ==4743== Releasing lock...
[2025-04-12 05:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 05:02:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 01:02:02] Production.INFO: ==4741== Releasing lock...
[2025-04-12 01:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 01:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 01:02:03] Production.INFO: ==4750== Lock acquired, processing the job...
[2025-04-12 01:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 01:02:03] Production.INFO: ==4752== Lock acquired, processing the job...
[2025-04-12 01:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 01:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 01:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 01:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 01:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 01:02:03] Production.INFO: Account Balance Start.
[2025-04-12 01:02:03] Production.INFO: CreateAllLog Start
[2025-04-12 01:02:03] Production.INFO: 117
[2025-04-12 01:02:03] Production.INFO: ==4754== Lock acquired, processing the job...
[2025-04-12 01:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 01:02:03] Production.INFO: Date 2025-04-08
[2025-04-12 01:02:03] Production.INFO: ==4746== Lock acquired, processing the job...
[2025-04-12 01:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 01:02:03] Production.INFO: Reseller ==> 0
[2025-04-12 01:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 01:02:03] Production.INFO: ==4748== Lock acquired, processing the job...
[2025-04-12 01:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 01:02:03] Production.INFO: Date 2025-04-09
[2025-04-12 01:02:03] Production.INFO: Reseller ==> 0
[2025-04-12 01:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 01:02:03] Production.INFO: Date 2025-04-10
[2025-04-12 01:02:03] Production.INFO: Reseller ==> 0
[2025-04-12 01:02:03] Production.INFO: ==4756== Lock acquired, processing the job...
[2025-04-12 01:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 01:02:03] Production.INFO: Date 2025-04-11
[2025-04-12 01:02:03] Production.INFO: Reseller ==> 0
[2025-04-12 01:02:03] Production.INFO: Date 2025-04-12
[2025-04-12 01:02:03] Production.INFO: Reseller ==> 0
[2025-04-12 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-12 01:02:03] Production.INFO: Total Charge 0
[2025-04-12 01:02:03] Production.ERROR: done
[2025-04-12 01:02:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 01:02:03] Production.INFO: count ==12
[2025-04-12 01:02:03] Production.INFO: CreateAllLog End
[2025-04-12 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-12 01:02:03] Production.INFO: count ==23
[2025-04-12 01:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14888059') start
[2025-04-12 01:02:03] Production.ERROR: done
[2025-04-12 01:02:03] Production.INFO: ==4748== Releasing lock...
[2025-04-12 01:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 01:02:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 01:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888059') end
[2025-04-12 01:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 01:02:04] Production.INFO: 1
[2025-04-12 01:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 01:02:04] Production.INFO: Account Balance End.
[2025-04-12 01:02:04] Production.ERROR: CronJobId end 12
[2025-04-12 01:02:04] Production.INFO: ==4752== Releasing lock...
[2025-04-12 01:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 01:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 01:02:04] Production.INFO: ==4756== Releasing lock...
[2025-04-12 01:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 01:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 01:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 22:02:05
[end_date_ymd] => 2025-04-12 01:02:05
[RateCDR] => 1
)
[2025-04-12 01:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 22:02:05' and `end` < '2025-04-12 01:02:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 01:02:11] Production.ERROR: CronJobId end10
[2025-04-12 01:02:11] Production.INFO: ==4750== Releasing lock...
[2025-04-12 01:02:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 01:02:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 01:02:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 01:02:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 01:02:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 01:02:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 01:02:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 01:02:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 01:02:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 01:02:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 01:02:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 01:02:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 01:02:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 01:02:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 01:02:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 01:02:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 01:02:14] Production.INFO: call_cost start
[2025-04-12 01:02:14] Production.INFO: call_cost end
[2025-04-12 01:02:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 01:02:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 01:02:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 01:02:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 01:02:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 01:02:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 01:02:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 01:02:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 01:02:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 01:02:15] Production.INFO: ==4746== Releasing lock...
[2025-04-12 01:02:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 01:02:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 01:02:17] Production.INFO: count ==832
[2025-04-12 01:02:18] Production.ERROR: pbx CDR StartTime 2025-04-11 22:02:05 - End Time 2025-04-12 01:02:05
[2025-04-12 01:02:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 01:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888060', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888060', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888060', 'tblTempVendorCDR_20' ) start
[2025-04-12 01:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888060', 'tblTempVendorCDR_20' ) end
[2025-04-12 01:02:18] Production.INFO: ProcessCDR(1,14888060,1,1,2)
[2025-04-12 01:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888060,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:02:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888060,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:02:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888060,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:02:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888060,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888060', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888060', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:02:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 01:02:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 01:02:21] Production.INFO: ==4754== Releasing lock...
[2025-04-12 01:02:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 01:02:21] Production.INFO: 34.75 MB #Memory Used#
[2025-04-12 06:03:02] Production.INFO: ==4816== Lock acquired, processing the job...
[2025-04-12 06:03:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 06:03:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 06:03:02] Production.INFO: neon service started
[2025-04-12 06:03:02] Production.INFO: neon service started
[2025-04-12 06:03:02] Production.INFO: ==4816== Releasing lock...
[2025-04-12 06:03:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 06:03:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 01:03:02] Production.INFO: ==4818== Lock acquired, processing the job...
[2025-04-12 01:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 01:03:02] Production.INFO: ==4818== Releasing lock...
[2025-04-12 01:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 01:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 05:03:03] Production.INFO: ==4820== Lock acquired, processing the job...
[2025-04-12 05:03:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 05:03:03] Production.INFO: ==4820== Releasing lock...
[2025-04-12 05:03:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 05:03:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 01:03:03] Production.INFO: ==4822== Lock acquired, processing the job...
[2025-04-12 01:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 01:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 01:03:03] Production.INFO: ==4827== Lock acquired, processing the job...
[2025-04-12 01:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 01:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 01:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 01:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 01:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 01:03:03] Production.INFO: ==4831== Lock acquired, processing the job...
[2025-04-12 01:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 01:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 01:03:04] Production.INFO: ==4824== Lock acquired, processing the job...
[2025-04-12 01:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 01:03:04] Production.INFO: ==4829== Lock acquired, processing the job...
[2025-04-12 01:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 01:03:04] Production.INFO: ==4833== Lock acquired, processing the job...
[2025-04-12 01:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 01:03:04] Production.ERROR: done
[2025-04-12 01:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 01:03:04] Production.INFO: Account Balance Start.
[2025-04-12 01:03:04] Production.INFO: CreateAllLog Start
[2025-04-12 01:03:04] Production.INFO: 117
[2025-04-12 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-12 01:03:04] Production.INFO: Date 2025-04-08
[2025-04-12 01:03:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:03:04] Production.INFO: count ==12
[2025-04-12 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-12 01:03:04] Production.ERROR: done
[2025-04-12 01:03:04] Production.INFO: count ==23
[2025-04-12 01:03:04] Production.INFO: Date 2025-04-09
[2025-04-12 01:03:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:03:04] Production.INFO: ==4824== Releasing lock...
[2025-04-12 01:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 01:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 01:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888063') start
[2025-04-12 01:03:04] Production.INFO: Date 2025-04-10
[2025-04-12 01:03:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:03:04] Production.INFO: Date 2025-04-11
[2025-04-12 01:03:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:03:04] Production.INFO: Date 2025-04-12
[2025-04-12 01:03:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888063') end
[2025-04-12 01:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 01:03:04] Production.INFO: 1
[2025-04-12 01:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 01:03:04] Production.INFO: Total Charge 0
[2025-04-12 01:03:04] Production.INFO: CreateAllLog End
[2025-04-12 01:03:04] Production.INFO: ==4833== Releasing lock...
[2025-04-12 01:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 01:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 01:03:04] Production.INFO: Account Balance End.
[2025-04-12 01:03:04] Production.ERROR: CronJobId end 12
[2025-04-12 01:03:05] Production.INFO: ==4829== Releasing lock...
[2025-04-12 01:03:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 01:03:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 01:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 22:03:05
[end_date_ymd] => 2025-04-12 01:03:05
[RateCDR] => 1
)
[2025-04-12 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-11 22:03:05' and `end` < '2025-04-12 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-12 01:03:12] Production.ERROR: CronJobId end10
[2025-04-12 01:03:12] Production.INFO: ==4827== Releasing lock...
[2025-04-12 01:03:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 01:03:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 01:03:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 01:03:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 01:03:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 01:03:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 01:03:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 01:03:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 01:03:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 01:03:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 01:03:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 01:03:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 01:03:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 01:03:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 01:03:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 01:03:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 01:03:14] Production.INFO: call_cost start
[2025-04-12 01:03:14] Production.INFO: call_cost end
[2025-04-12 01:03:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 01:03:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 01:03:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 01:03:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 01:03:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 01:03:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 01:03:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 01:03:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 01:03:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 01:03:15] Production.INFO: ==4822== Releasing lock...
[2025-04-12 01:03:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 01:03:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 01:03:18] Production.INFO: count ==830
[2025-04-12 01:03:18] Production.ERROR: pbx CDR StartTime 2025-04-11 22:03:05 - End Time 2025-04-12 01:03:05
[2025-04-12 01:03:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 01:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888065', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888065', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888065', 'tblTempVendorCDR_20' ) start
[2025-04-12 01:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888065', 'tblTempVendorCDR_20' ) end
[2025-04-12 01:03:18] Production.INFO: ProcessCDR(1,14888065,1,1,2)
[2025-04-12 01:03:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888065,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:03:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888065,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:03:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888065,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:03:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888065,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888065', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888065', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:03:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 01:03:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 01:03:22] Production.INFO: ==4831== Releasing lock...
[2025-04-12 01:03:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 01:03:22] Production.INFO: 34.5 MB #Memory Used#
[2025-04-12 06:04:01] Production.INFO: ==4894== Lock acquired, processing the job...
[2025-04-12 06:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 06:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 06:04:01] Production.INFO: neon service started
[2025-04-12 06:04:01] Production.INFO: neon service started
[2025-04-12 06:04:01] Production.INFO: ==4894== Releasing lock...
[2025-04-12 06:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 06:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 01:04:02] Production.INFO: ==4896== Lock acquired, processing the job...
[2025-04-12 01:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 05:04:02] Production.INFO: ==4898== Lock acquired, processing the job...
[2025-04-12 05:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 01:04:02] Production.INFO: ==4896== Releasing lock...
[2025-04-12 01:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 01:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 05:04:02] Production.INFO: ==4898== Releasing lock...
[2025-04-12 05:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 05:04:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 01:04:03] Production.INFO: ==4905== Lock acquired, processing the job...
[2025-04-12 01:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 01:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 01:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 01:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 01:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 01:04:03] Production.INFO: ==4911== Lock acquired, processing the job...
[2025-04-12 01:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 01:04:03] Production.INFO: ==4901== Lock acquired, processing the job...
[2025-04-12 01:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 01:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 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-12 01:04:03] Production.INFO: ==4903== Lock acquired, processing the job...
[2025-04-12 01:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 01:04:03] Production.INFO: count ==12
[2025-04-12 01:04:03] Production.INFO: ==4907== Lock acquired, processing the job...
[2025-04-12 01:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 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-12 01:04:03] Production.INFO: count ==23
[2025-04-12 01:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14888066') start
[2025-04-12 01:04:03] Production.INFO: ==4909== Lock acquired, processing the job...
[2025-04-12 01:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 01:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 01:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14888066') end
[2025-04-12 01:04:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 01:04:03] Production.INFO: 1
[2025-04-12 01:04:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 01:04:03] Production.INFO: Account Balance Start.
[2025-04-12 01:04:03] Production.INFO: CreateAllLog Start
[2025-04-12 01:04:03] Production.INFO: 117
[2025-04-12 01:04:04] Production.INFO: Date 2025-04-08
[2025-04-12 01:04:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:04:04] Production.INFO: Date 2025-04-09
[2025-04-12 01:04:04] Production.INFO: ==4911== Releasing lock...
[2025-04-12 01:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 01:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 01:04:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:04:04] Production.INFO: Date 2025-04-10
[2025-04-12 01:04:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:04:04] Production.INFO: Date 2025-04-11
[2025-04-12 01:04:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:04:04] Production.INFO: Date 2025-04-12
[2025-04-12 01:04:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:04:04] Production.INFO: Total Charge 0
[2025-04-12 01:04:04] Production.INFO: CreateAllLog End
[2025-04-12 01:04:04] Production.INFO: ==4903== Releasing lock...
[2025-04-12 01:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 01:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 01:04:04] Production.ERROR: done
[2025-04-12 01:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 01:04:04] Production.ERROR: done
[2025-04-12 01:04:04] Production.INFO: Account Balance End.
[2025-04-12 01:04:04] Production.ERROR: CronJobId end 12
[2025-04-12 01:04:04] Production.INFO: ==4907== Releasing lock...
[2025-04-12 01:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 01:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 01:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 22:04:05
[end_date_ymd] => 2025-04-12 01:04:05
[RateCDR] => 1
)
[2025-04-12 01:04:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 22:04:05' and `end` < '2025-04-12 01:04:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 01:04:12] Production.ERROR: CronJobId end10
[2025-04-12 01:04:12] Production.INFO: ==4905== Releasing lock...
[2025-04-12 01:04:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 01:04:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 01:04:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 01:04:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 01:04:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 01:04:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 01:04:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 01:04:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 01:04:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 01:04:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 01:04:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 01:04:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 01:04:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 01:04:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 01:04:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 01:04:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 01:04:15] Production.INFO: call_cost start
[2025-04-12 01:04:15] Production.INFO: call_cost end
[2025-04-12 01:04:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 01:04:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 01:04:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 01:04:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 01:04:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 01:04:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 01:04:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 01:04:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 01:04:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 01:04:15] Production.INFO: ==4901== Releasing lock...
[2025-04-12 01:04:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 01:04:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 01:04:18] Production.INFO: count ==830
[2025-04-12 01:04:18] Production.ERROR: pbx CDR StartTime 2025-04-11 22:04:05 - End Time 2025-04-12 01:04:05
[2025-04-12 01:04:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 01:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888070', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888070', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888070', 'tblTempVendorCDR_20' ) start
[2025-04-12 01:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888070', 'tblTempVendorCDR_20' ) end
[2025-04-12 01:04:18] Production.INFO: ProcessCDR(1,14888070,1,1,2)
[2025-04-12 01:04:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888070,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:04:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888070,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:04:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888070,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:04:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888070,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888070', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888070', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:04:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 01:04:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 01:04:21] Production.INFO: ==4909== Releasing lock...
[2025-04-12 01:04:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 01:04:21] Production.INFO: 34.5 MB #Memory Used#
[2025-04-12 06:05:02] Production.INFO: ==4967== Lock acquired, processing the job...
[2025-04-12 06:05:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 06:05:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 06:05:02] Production.INFO: neon service started
[2025-04-12 06:05:02] Production.INFO: neon service started
[2025-04-12 06:05:02] Production.INFO: ==4967== Releasing lock...
[2025-04-12 06:05:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 06:05:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 05:05:02] Production.INFO: ==4971== Lock acquired, processing the job...
[2025-04-12 05:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 05:05:02] Production.INFO: ==4971== Releasing lock...
[2025-04-12 05:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 05:05:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 01:05:02] Production.INFO: ==4969== Lock acquired, processing the job...
[2025-04-12 01:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 01:05:03] Production.INFO: ==4969== Releasing lock...
[2025-04-12 01:05:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 01:05:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 01:05:04] Production.INFO: ==4980== Lock acquired, processing the job...
[2025-04-12 01:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 01:05:04] Production.INFO: ==4974== Lock acquired, processing the job...
[2025-04-12 01:05:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 01:05:04] Production.INFO: ==4982== Lock acquired, processing the job...
[2025-04-12 01:05:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 01:05:04] Production.INFO: Account Balance Start.
[2025-04-12 01:05:04] Production.INFO: CreateAllLog Start
[2025-04-12 01:05:04] Production.INFO: 117
[2025-04-12 01:05:04] Production.INFO: ==4976== Lock acquired, processing the job...
[2025-04-12 01:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 01:05:04] Production.INFO: Date 2025-04-08
[2025-04-12 01:05:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:05:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 01:05:04] Production.INFO: Date 2025-04-09
[2025-04-12 01:05:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:05:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 01:05:04] Production.INFO: Date 2025-04-10
[2025-04-12 01:05:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:05:04] Production.INFO: Date 2025-04-11
[2025-04-12 01:05:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:05:04] Production.INFO: ==4978== Lock acquired, processing the job...
[2025-04-12 01:05:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 01:05:04] Production.INFO: ==4984== Lock acquired, processing the job...
[2025-04-12 01:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 01:05:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 01:05:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 01:05:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 01:05:04] Production.INFO: Date 2025-04-12
[2025-04-12 01:05:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 01:05:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:05:04] Production.INFO: Total Charge 0
[2025-04-12 01:05:04] Production.INFO: CreateAllLog End
[2025-04-12 01:05:04] Production.INFO: ==4976== Releasing lock...
[2025-04-12 01:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 01:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 01:05:04] Production.ERROR: done
[2025-04-12 01:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 01:05:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 01:05:04] Production.INFO: count ==12
[2025-04-12 01:05:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 01:05:04] Production.INFO: count ==23
[2025-04-12 01:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888074') start
[2025-04-12 01:05:04] Production.ERROR: done
[2025-04-12 01:05:04] Production.INFO: Account Balance End.
[2025-04-12 01:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888074') end
[2025-04-12 01:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 01:05:04] Production.INFO: 1
[2025-04-12 01:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 01:05:04] Production.ERROR: CronJobId end 12
[2025-04-12 01:05:04] Production.INFO: ==4980== Releasing lock...
[2025-04-12 01:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 01:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 01:05:04] Production.INFO: ==4984== Releasing lock...
[2025-04-12 01:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 01:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 01:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 22:05:05
[end_date_ymd] => 2025-04-12 01:05:05
[RateCDR] => 1
)
[2025-04-12 01:05:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 22:05:05' and `end` < '2025-04-12 01:05:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 01:05:13] Production.ERROR: CronJobId end10
[2025-04-12 01:05:13] Production.INFO: ==4978== Releasing lock...
[2025-04-12 01:05:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 01:05:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 01:05:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 01:05:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 01:05:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 01:05:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 01:05:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 01:05:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 01:05:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 01:05:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 01:05:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 01:05:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 01:05:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 01:05:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 01:05:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 01:05:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 01:05:15] Production.INFO: call_cost start
[2025-04-12 01:05:15] Production.INFO: call_cost end
[2025-04-12 01:05:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 01:05:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 01:05:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 01:05:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 01:05:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 01:05:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 01:05:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 01:05:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 01:05:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 01:05:16] Production.INFO: ==4974== Releasing lock...
[2025-04-12 01:05:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 01:05:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 01:05:18] Production.INFO: count ==830
[2025-04-12 01:05:18] Production.ERROR: pbx CDR StartTime 2025-04-11 22:05:05 - End Time 2025-04-12 01:05:05
[2025-04-12 01:05:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 01:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888075', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888075', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888075', 'tblTempVendorCDR_20' ) start
[2025-04-12 01:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888075', 'tblTempVendorCDR_20' ) end
[2025-04-12 01:05:18] Production.INFO: ProcessCDR(1,14888075,1,1,2)
[2025-04-12 01:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888075,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:05:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888075,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:05:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888075,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:05:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888075,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888075', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888075', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:05:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 01:05:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 01:05:22] Production.INFO: ==4982== Releasing lock...
[2025-04-12 01:05:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 01:05:22] Production.INFO: 34.5 MB #Memory Used#
[2025-04-12 06:06:01] Production.INFO: ==5040== Lock acquired, processing the job...
[2025-04-12 06:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 06:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 06:06:01] Production.INFO: neon service started
[2025-04-12 06:06:01] Production.INFO: neon service started
[2025-04-12 06:06:01] Production.INFO: ==5040== Releasing lock...
[2025-04-12 06:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 06:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 01:06:02] Production.INFO: ==5042== Lock acquired, processing the job...
[2025-04-12 01:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 05:06:02] Production.INFO: ==5044== Lock acquired, processing the job...
[2025-04-12 05:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 05:06:02] Production.INFO: ==5044== Releasing lock...
[2025-04-12 05:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 05:06:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 01:06:02] Production.INFO: ==5042== Releasing lock...
[2025-04-12 01:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 01:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 01:06:03] Production.INFO: ==5046== Lock acquired, processing the job...
[2025-04-12 01:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 01:06:03] Production.INFO: ==5051== Lock acquired, processing the job...
[2025-04-12 01:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 01:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 01:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 01:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 01:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 01:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 01:06:03] Production.INFO: ==5048== Lock acquired, processing the job...
[2025-04-12 01:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 01:06:03] Production.INFO: ==5057== Lock acquired, processing the job...
[2025-04-12 01:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 01:06:03] Production.INFO: ==5055== Lock acquired, processing the job...
[2025-04-12 01:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 01:06:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 01:06:03] Production.INFO: count ==12
[2025-04-12 01:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 01:06:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 01:06:03] Production.INFO: ==5053== Lock acquired, processing the job...
[2025-04-12 01:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 01:06:03] Production.INFO: count ==23
[2025-04-12 01:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14888078') start
[2025-04-12 01:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888078') end
[2025-04-12 01:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 01:06:04] Production.INFO: 1
[2025-04-12 01:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 01:06:04] Production.INFO: ==5048== Releasing lock...
[2025-04-12 01:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 01:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 01:06:04] Production.INFO: Account Balance Start.
[2025-04-12 01:06:04] Production.INFO: CreateAllLog Start
[2025-04-12 01:06:04] Production.INFO: 117
[2025-04-12 01:06:04] Production.INFO: ==5057== Releasing lock...
[2025-04-12 01:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 01:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 01:06:04] Production.INFO: Date 2025-04-08
[2025-04-12 01:06:04] Production.ERROR: done
[2025-04-12 01:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 01:06:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:06:04] Production.ERROR: done
[2025-04-12 01:06:04] Production.INFO: Date 2025-04-09
[2025-04-12 01:06:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:06:04] Production.INFO: Date 2025-04-10
[2025-04-12 01:06:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:06:04] Production.INFO: Date 2025-04-11
[2025-04-12 01:06:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:06:04] Production.INFO: Date 2025-04-12
[2025-04-12 01:06:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:06:04] Production.INFO: Total Charge 0
[2025-04-12 01:06:04] Production.INFO: CreateAllLog End
[2025-04-12 01:06:05] Production.INFO: Account Balance End.
[2025-04-12 01:06:05] Production.ERROR: CronJobId end 12
[2025-04-12 01:06:05] Production.INFO: ==5053== Releasing lock...
[2025-04-12 01:06:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 01:06:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 01:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 22:06:05
[end_date_ymd] => 2025-04-12 01:06:05
[RateCDR] => 1
)
[2025-04-12 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-11 22:06:05' and `end` < '2025-04-12 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-12 01:06:12] Production.ERROR: CronJobId end10
[2025-04-12 01:06:12] Production.INFO: ==5051== Releasing lock...
[2025-04-12 01:06:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 01:06:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 01:06:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 01:06:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 01:06:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 01:06:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 01:06:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 01:06:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 01:06:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 01:06:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 01:06:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 01:06:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 01:06:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 01:06:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 01:06:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 01:06:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 01:06:14] Production.INFO: call_cost start
[2025-04-12 01:06:14] Production.INFO: call_cost end
[2025-04-12 01:06:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 01:06:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 01:06:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 01:06:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 01:06:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 01:06:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 01:06:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 01:06:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 01:06:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 01:06:15] Production.INFO: ==5046== Releasing lock...
[2025-04-12 01:06:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 01:06:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 01:06:18] Production.INFO: count ==830
[2025-04-12 01:06:18] Production.ERROR: pbx CDR StartTime 2025-04-11 22:06:05 - End Time 2025-04-12 01:06:05
[2025-04-12 01:06:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 01:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888080', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888080', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888080', 'tblTempVendorCDR_20' ) start
[2025-04-12 01:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888080', 'tblTempVendorCDR_20' ) end
[2025-04-12 01:06:18] Production.INFO: ProcessCDR(1,14888080,1,1,2)
[2025-04-12 01:06:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888080,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:06:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888080,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:06:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888080,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:06:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888080,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888080', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888080', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:06:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 01:06:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 01:06:22] Production.INFO: ==5055== Releasing lock...
[2025-04-12 01:06:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 01:06:22] Production.INFO: 34.5 MB #Memory Used#
[2025-04-12 06:07:02] Production.INFO: ==5114== Lock acquired, processing the job...
[2025-04-12 06:07:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 06:07:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 06:07:02] Production.INFO: neon service started
[2025-04-12 06:07:02] Production.INFO: neon service started
[2025-04-12 06:07:02] Production.INFO: ==5114== Releasing lock...
[2025-04-12 06:07:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 06:07:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 01:07:02] Production.INFO: ==5116== Lock acquired, processing the job...
[2025-04-12 01:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 05:07:02] Production.INFO: ==5118== Lock acquired, processing the job...
[2025-04-12 05:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 05:07:02] Production.INFO: ==5118== Releasing lock...
[2025-04-12 05:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 05:07:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 01:07:03] Production.INFO: ==5116== Releasing lock...
[2025-04-12 01:07:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 01:07:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 01:07:03] Production.INFO: ==5121== Lock acquired, processing the job...
[2025-04-12 01:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 01:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 01:07:03] Production.INFO: ==5123== Lock acquired, processing the job...
[2025-04-12 01:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 01:07:04] Production.INFO: ==5125== Lock acquired, processing the job...
[2025-04-12 01:07:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 01:07:04] Production.INFO: ==5131== Lock acquired, processing the job...
[2025-04-12 01:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 01:07:04] Production.INFO: ==5127== Lock acquired, processing the job...
[2025-04-12 01:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 01:07:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 01:07:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 01:07:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 01:07:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 01:07:04] Production.INFO: ==5123== Releasing lock...
[2025-04-12 01:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 01:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 01:07:04] Production.INFO: ==5129== Lock acquired, processing the job...
[2025-04-12 01:07:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 01: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-12 01:07:04] Production.INFO: count ==12
[2025-04-12 01:07:04] Production.INFO: Account Balance Start.
[2025-04-12 01:07:04] Production.INFO: CreateAllLog Start
[2025-04-12 01:07:04] Production.INFO: 117
[2025-04-12 01: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-12 01:07:04] Production.INFO: count ==23
[2025-04-12 01:07:04] Production.INFO: Date 2025-04-08
[2025-04-12 01:07:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 01:07:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888083') start
[2025-04-12 01:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888083') end
[2025-04-12 01:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 01:07:04] Production.INFO: 1
[2025-04-12 01:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 01:07:04] Production.INFO: Date 2025-04-09
[2025-04-12 01:07:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:07:04] Production.INFO: Date 2025-04-10
[2025-04-12 01:07:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:07:04] Production.INFO: ==5131== Releasing lock...
[2025-04-12 01:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 01:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 01:07:04] Production.INFO: Date 2025-04-11
[2025-04-12 01:07:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:07:04] Production.ERROR: done
[2025-04-12 01:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 01:07:04] Production.INFO: Date 2025-04-12
[2025-04-12 01:07:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:07:04] Production.ERROR: done
[2025-04-12 01:07:05] Production.INFO: Total Charge 0
[2025-04-12 01:07:05] Production.INFO: CreateAllLog End
[2025-04-12 01:07:05] Production.INFO: Account Balance End.
[2025-04-12 01:07:05] Production.ERROR: CronJobId end 12
[2025-04-12 01:07:05] Production.INFO: ==5127== Releasing lock...
[2025-04-12 01:07:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 01:07:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 01:07:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 22:07:05
[end_date_ymd] => 2025-04-12 01:07:05
[RateCDR] => 1
)
[2025-04-12 01: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-11 22:07:05' and `end` < '2025-04-12 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-12 01:07:13] Production.ERROR: CronJobId end10
[2025-04-12 01:07:13] Production.INFO: ==5125== Releasing lock...
[2025-04-12 01:07:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 01:07:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 01:07:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 01:07:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 01:07:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 01:07:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 01:07:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 01:07:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 01:07:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 01:07:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 01:07:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 01:07:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 01:07:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 01:07:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 01:07:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 01:07:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 01:07:15] Production.INFO: call_cost start
[2025-04-12 01:07:15] Production.INFO: call_cost end
[2025-04-12 01:07:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 01:07:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 01:07:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 01:07:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 01:07:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 01:07:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 01:07:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 01:07:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 01:07:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 01:07:16] Production.INFO: ==5121== Releasing lock...
[2025-04-12 01:07:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 01:07:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 01:07:18] Production.INFO: count ==830
[2025-04-12 01:07:19] Production.ERROR: pbx CDR StartTime 2025-04-11 22:07:05 - End Time 2025-04-12 01:07:05
[2025-04-12 01:07:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 01:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888085', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888085', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888085', 'tblTempVendorCDR_20' ) start
[2025-04-12 01:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888085', 'tblTempVendorCDR_20' ) end
[2025-04-12 01:07:19] Production.INFO: ProcessCDR(1,14888085,1,1,2)
[2025-04-12 01:07:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888085,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:07:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888085,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:07:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888085,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:07:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888085,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888085', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888085', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:07:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 01:07:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 01:07:22] Production.INFO: ==5129== Releasing lock...
[2025-04-12 01:07:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 01:07:22] Production.INFO: 34.5 MB #Memory Used#
[2025-04-12 06:08:01] Production.INFO: ==5188== Lock acquired, processing the job...
[2025-04-12 06:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 06:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 06:08:01] Production.INFO: neon service started
[2025-04-12 06:08:01] Production.INFO: neon service started
[2025-04-12 06:08:01] Production.INFO: ==5188== Releasing lock...
[2025-04-12 06:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 06:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 01:08:02] Production.INFO: ==5190== Lock acquired, processing the job...
[2025-04-12 01:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 05:08:02] Production.INFO: ==5192== Lock acquired, processing the job...
[2025-04-12 05:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 05:08:02] Production.INFO: ==5192== Releasing lock...
[2025-04-12 05:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 05:08:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 01:08:02] Production.INFO: ==5190== Releasing lock...
[2025-04-12 01:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 01:08:02] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 01:08:03] Production.INFO: ==5199== Lock acquired, processing the job...
[2025-04-12 01:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 01:08:03] Production.INFO: ==5194== Lock acquired, processing the job...
[2025-04-12 01:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 01:08:03] Production.INFO: ==5205== Lock acquired, processing the job...
[2025-04-12 01:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 01:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 01:08:03] Production.INFO: ==5197== Lock acquired, processing the job...
[2025-04-12 01:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 01:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 01:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 01:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 01:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 01:08:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 01:08:03] Production.INFO: count ==12
[2025-04-12 01:08:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 01:08:03] Production.INFO: count ==23
[2025-04-12 01:08:03] Production.INFO: ==5201== Lock acquired, processing the job...
[2025-04-12 01:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 01:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14888086') start
[2025-04-12 01:08:03] Production.INFO: ==5203== Lock acquired, processing the job...
[2025-04-12 01:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 01:08:03] Production.INFO: Account Balance Start.
[2025-04-12 01:08:03] Production.INFO: CreateAllLog Start
[2025-04-12 01:08:03] Production.INFO: 117
[2025-04-12 01:08:03] Production.INFO: Date 2025-04-08
[2025-04-12 01:08:03] Production.INFO: Reseller ==> 0
[2025-04-12 01:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14888086') end
[2025-04-12 01:08:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 01:08:03] Production.INFO: 1
[2025-04-12 01:08:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 01:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 01:08:04] Production.INFO: ==5205== Releasing lock...
[2025-04-12 01:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 01:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 01:08:04] Production.INFO: ==5197== Releasing lock...
[2025-04-12 01:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 01:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 01:08:04] Production.INFO: Date 2025-04-09
[2025-04-12 01:08:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:08:04] Production.INFO: Date 2025-04-10
[2025-04-12 01:08:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:08:04] Production.INFO: Date 2025-04-11
[2025-04-12 01:08:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:08:04] Production.INFO: Date 2025-04-12
[2025-04-12 01:08:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:08:04] Production.INFO: Total Charge 0
[2025-04-12 01:08:04] Production.INFO: CreateAllLog End
[2025-04-12 01:08:04] Production.ERROR: done
[2025-04-12 01:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 01:08:04] Production.ERROR: done
[2025-04-12 01:08:04] Production.INFO: Account Balance End.
[2025-04-12 01:08:04] Production.ERROR: CronJobId end 12
[2025-04-12 01:08:04] Production.INFO: ==5201== Releasing lock...
[2025-04-12 01:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 01:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 01:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 22:08:05
[end_date_ymd] => 2025-04-12 01:08:05
[RateCDR] => 1
)
[2025-04-12 01:08:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 22:08:05' and `end` < '2025-04-12 01:08:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 01:08:13] Production.ERROR: CronJobId end10
[2025-04-12 01:08:13] Production.INFO: ==5199== Releasing lock...
[2025-04-12 01:08:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 01:08:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 01:08:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 01:08:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 01:08:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 01:08:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 01:08:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 01:08:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 01:08:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 01:08:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 01:08:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 01:08:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 01:08:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 01:08:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 01:08:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 01:08:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 01:08:15] Production.INFO: call_cost start
[2025-04-12 01:08:15] Production.INFO: call_cost end
[2025-04-12 01:08:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 01:08:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 01:08:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 01:08:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 01:08:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 01:08:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 01:08:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 01:08:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 01:08:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 01:08:16] Production.INFO: ==5194== Releasing lock...
[2025-04-12 01:08:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 01:08:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 01:08:18] Production.INFO: count ==831
[2025-04-12 01:08:18] Production.ERROR: pbx CDR StartTime 2025-04-11 22:08:05 - End Time 2025-04-12 01:08:05
[2025-04-12 01:08:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 01:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888090', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888090', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888090', 'tblTempVendorCDR_20' ) start
[2025-04-12 01:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888090', 'tblTempVendorCDR_20' ) end
[2025-04-12 01:08:18] Production.INFO: ProcessCDR(1,14888090,1,1,2)
[2025-04-12 01:08:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888090,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:08:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888090,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:08:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888090,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:08:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888090,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:08:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888090', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:08:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888090', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:08:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 01:08:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 01:08:24] Production.INFO: ==5203== Releasing lock...
[2025-04-12 01:08:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 01:08:24] Production.INFO: 34.5 MB #Memory Used#
[2025-04-12 06:09:02] Production.INFO: ==5304== Lock acquired, processing the job...
[2025-04-12 06:09:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 06:09:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 06:09:02] Production.INFO: neon service started
[2025-04-12 06:09:02] Production.INFO: neon service started
[2025-04-12 06:09:02] Production.INFO: ==5304== Releasing lock...
[2025-04-12 06:09:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 06:09:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 01:09:02] Production.INFO: ==5306== Lock acquired, processing the job...
[2025-04-12 01:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 01:09:02] Production.INFO: ==5306== Releasing lock...
[2025-04-12 01:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 01:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 05:09:03] Production.INFO: ==5308== Lock acquired, processing the job...
[2025-04-12 05:09:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 05:09:03] Production.INFO: ==5308== Releasing lock...
[2025-04-12 05:09:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 05:09:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 01:09:03] Production.INFO: ==5311== Lock acquired, processing the job...
[2025-04-12 01:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 01:09:03] Production.INFO: ==5315== Lock acquired, processing the job...
[2025-04-12 01:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 01:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 01:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 01:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 01:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 01:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 01:09:03] Production.INFO: ==5321== Lock acquired, processing the job...
[2025-04-12 01:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 01:09:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 01:09:04] Production.INFO: count ==12
[2025-04-12 01:09:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 01:09:04] Production.INFO: count ==23
[2025-04-12 01:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888092') start
[2025-04-12 01:09:04] Production.INFO: ==5319== Lock acquired, processing the job...
[2025-04-12 01:09:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 01:09:04] Production.INFO: ==5313== Lock acquired, processing the job...
[2025-04-12 01:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 01:09:04] Production.INFO: ==5317== Lock acquired, processing the job...
[2025-04-12 01:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 01:09:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 01:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888092') end
[2025-04-12 01:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 01:09:04] Production.INFO: 1
[2025-04-12 01:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 01:09:04] Production.INFO: Account Balance Start.
[2025-04-12 01:09:04] Production.INFO: CreateAllLog Start
[2025-04-12 01:09:04] Production.INFO: 117
[2025-04-12 01:09:04] Production.INFO: Date 2025-04-08
[2025-04-12 01:09:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:09:04] Production.INFO: ==5321== Releasing lock...
[2025-04-12 01:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 01:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 01:09:04] Production.INFO: Date 2025-04-09
[2025-04-12 01:09:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:09:04] Production.INFO: Date 2025-04-10
[2025-04-12 01:09:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:09:04] Production.ERROR: done
[2025-04-12 01:09:04] Production.INFO: Date 2025-04-11
[2025-04-12 01:09:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 01:09:04] Production.INFO: Date 2025-04-12
[2025-04-12 01:09:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:09:04] Production.INFO: Total Charge 0
[2025-04-12 01:09:04] Production.INFO: CreateAllLog End
[2025-04-12 01:09:04] Production.INFO: ==5313== Releasing lock...
[2025-04-12 01:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 01:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 01:09:04] Production.ERROR: done
[2025-04-12 01:09:05] Production.INFO: Account Balance End.
[2025-04-12 01:09:05] Production.ERROR: CronJobId end 12
[2025-04-12 01:09:05] Production.INFO: ==5317== Releasing lock...
[2025-04-12 01:09:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 01:09:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 01:09:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 22:09:06
[end_date_ymd] => 2025-04-12 01:09:06
[RateCDR] => 1
)
[2025-04-12 01: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-11 22:09:06' and `end` < '2025-04-12 01: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-12 01:09:12] Production.ERROR: CronJobId end10
[2025-04-12 01:09:12] Production.INFO: ==5315== Releasing lock...
[2025-04-12 01:09:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 01:09:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 01:09:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 01:09:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 01:09:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 01:09:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 01:09:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 01:09:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 01:09:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 01:09:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 01:09:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 01:09:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 01:09:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 01:09:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 01:09:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 01:09:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 01:09:14] Production.INFO: call_cost start
[2025-04-12 01:09:14] Production.INFO: call_cost end
[2025-04-12 01:09:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 01:09:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 01:09:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 01:09:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 01:09:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 01:09:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 01:09:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 01:09:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 01:09:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 01:09:15] Production.INFO: ==5311== Releasing lock...
[2025-04-12 01:09:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 01:09:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 01:09:19] Production.INFO: count ==830
[2025-04-12 01:09:19] Production.ERROR: pbx CDR StartTime 2025-04-11 22:09:06 - End Time 2025-04-12 01:09:06
[2025-04-12 01:09:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 01:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888095', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888095', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888095', 'tblTempVendorCDR_20' ) start
[2025-04-12 01:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888095', 'tblTempVendorCDR_20' ) end
[2025-04-12 01:09:19] Production.INFO: ProcessCDR(1,14888095,1,1,2)
[2025-04-12 01:09:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888095,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:09:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888095,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:09:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888095,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:09:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888095,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:09:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888095', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:09:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888095', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:09:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 01:09:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 01:09:23] Production.INFO: ==5319== Releasing lock...
[2025-04-12 01:09:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 01:09:23] Production.INFO: 34.75 MB #Memory Used#
[2025-04-12 06:10:01] Production.INFO: ==5375== Lock acquired, processing the job...
[2025-04-12 06:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 06:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 06:10:01] Production.INFO: neon service started
[2025-04-12 06:10:01] Production.INFO: neon service started
[2025-04-12 06:10:01] Production.INFO: ==5375== Releasing lock...
[2025-04-12 06:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 06:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 05:10:02] Production.INFO: ==5379== Lock acquired, processing the job...
[2025-04-12 05:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 05:10:02] Production.INFO: ==5379== Releasing lock...
[2025-04-12 05:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 05:10:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 01:10:02] Production.INFO: ==5377== Lock acquired, processing the job...
[2025-04-12 01:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 01:10:02] Production.INFO: ==5377== Releasing lock...
[2025-04-12 01:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 01:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 01:10:03] Production.INFO: ==5388== Lock acquired, processing the job...
[2025-04-12 01:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 01:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 01:10:04] Production.INFO: ==5392== Lock acquired, processing the job...
[2025-04-12 01:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 01:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 01:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 01:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 01:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 01:10:04] Production.INFO: ==5396== Lock acquired, processing the job...
[2025-04-12 01:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 01:10:04] Production.INFO: ==5382== Lock acquired, processing the job...
[2025-04-12 01:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 01:10:04] Production.INFO: ==5386== Lock acquired, processing the job...
[2025-04-12 01:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 01:10:04] Production.INFO: ==5384== Lock acquired, processing the job...
[2025-04-12 01:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 01:10:04] Production.INFO: ==5390== Lock acquired, processing the job...
[2025-04-12 01:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 01:10:04] Production.INFO: ==5394== Lock acquired, processing the job...
[2025-04-12 01:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 01:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 01:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 01:10:04] Production.ERROR: CronJob PID - 5384
[2025-04-12 01:10:04] Production.ERROR: CronJob Title - System Alerts
[2025-04-12 01:10:04] Production.ERROR: CronJob ID - 5
[2025-04-12 01:10:04] Production.ERROR: CronJob Last Run Time 2025-04-12 01:10:00
[2025-04-12 01:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 01:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 01:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 01:10:04] Production.ERROR: CronJob PID - 5386
[2025-04-12 01:10:04] Production.ERROR: CronJob Title - Account Block
[2025-04-12 01:10:04] Production.ERROR: CronJob ID - 7
[2025-04-12 01:10:04] Production.ERROR: CronJob Last Run Time 2025-04-12 01:10:00
[2025-04-12 01:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 01:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 01:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 01:10:04] Production.ERROR: CronJob PID - 5388
[2025-04-12 01:10:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-04-12 01:10:04] Production.ERROR: CronJob ID - 10
[2025-04-12 01:10:04] Production.ERROR: CronJob Last Run Time 2025-04-12 01:10:00
[2025-04-12 01:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 01:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 01:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 01:10:04] Production.ERROR: CronJob PID - 5390
[2025-04-12 01:10:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-04-12 01:10:04] Production.ERROR: CronJob ID - 12
[2025-04-12 01:10:04] Production.ERROR: CronJob Last Run Time 2025-04-12 01:10:00
[2025-04-12 01:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 01:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 01:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 01:10:04] Production.ERROR: CronJob PID - 5392
[2025-04-12 01:10:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-04-12 01:10:04] Production.ERROR: CronJob ID - 16
[2025-04-12 01:10:04] Production.ERROR: CronJob Last Run Time 2025-04-12 01:10:00
[2025-04-12 01:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 01:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 01:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 01:10:04] Production.ERROR: CronJob PID - 5396
[2025-04-12 01:10:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-04-12 01:10:04] Production.ERROR: CronJob ID - 19
[2025-04-12 01:10:04] Production.ERROR: CronJob Last Run Time 2025-04-12 01:10:00
[2025-04-12 01:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 01:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 01:10:04] Production.INFO: Account Balance Start.
[2025-04-12 01:10:04] Production.INFO: CreateAllLog Start
[2025-04-12 01:10:04] Production.INFO: 117
[2025-04-12 01:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 01:10:04] Production.INFO: Date 2025-04-08
[2025-04-12 01:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 01:10:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:10:04] Production.INFO: count ==12
[2025-04-12 01:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 01:10:04] Production.INFO: count ==23
[2025-04-12 01:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 01:10:04] Production.INFO: ==5382== Releasing lock...
[2025-04-12 01:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 01:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 01:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 01:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888096') start
[2025-04-12 01:10:04] Production.ERROR: done
[2025-04-12 01:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 01:10:04] Production.INFO: Date 2025-04-09
[2025-04-12 01:10:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:10:04] Production.INFO: Date 2025-04-10
[2025-04-12 01:10:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:10:04] Production.INFO: Date 2025-04-11
[2025-04-12 01:10:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:10:04] Production.INFO: ==5386== Releasing lock...
[2025-04-12 01:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 01:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 01:10:04] Production.ERROR: done
[2025-04-12 01:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888096') end
[2025-04-12 01:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 01:10:04] Production.INFO: 1
[2025-04-12 01:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 01:10:04] Production.INFO: Date 2025-04-12
[2025-04-12 01:10:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:10:04] Production.INFO: ==5396== Releasing lock...
[2025-04-12 01:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 01:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 01:10:04] Production.INFO: Total Charge 0
[2025-04-12 01:10:04] Production.INFO: CreateAllLog End
[2025-04-12 01:10:05] Production.ERROR: done
[2025-04-12 01:10:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 01:10:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14888101', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 01:10:05] Production.INFO: Account Balance End.
[2025-04-12 01:10:05] Production.ERROR: CronJobId end 12
[2025-04-12 01:10:05] Production.INFO: ==5390== Releasing lock...
[2025-04-12 01:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 01:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 01:10:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 22:10:05
[end_date_ymd] => 2025-04-12 01:10:05
[RateCDR] => 1
)
[2025-04-12 01:10:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 22:10:05' and `end` < '2025-04-12 01:10:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 01:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14888101', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 01:10:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 01:10:09] Production.INFO: ProcessCDR(1,14888101,1,1,2)
[2025-04-12 01:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14888101,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14888101,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 01:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 01:10:09] Production.INFO: ==5394== Releasing lock...
[2025-04-12 01:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 01:10:09] Production.INFO: 26 MB #Memory Used#
[2025-04-12 01:10:15] Production.ERROR: CronJobId end10
[2025-04-12 01:10:15] Production.INFO: ==5388== Releasing lock...
[2025-04-12 01:10:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 01:10:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 01:10:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 01:10:17] Production.INFO: ============== Balance Warning START===========
[2025-04-12 01:10:17] Production.INFO: ============== Balance Warning END===========
[2025-04-12 01:10:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 01:10:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 01:10:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 01:10:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 01:10:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 01:10:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 01:10:17] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 01:10:17] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 01:10:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 01:10:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 01:10:17] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 01:10:17] Production.INFO: call_cost start
[2025-04-12 01:10:17] Production.INFO: call_cost end
[2025-04-12 01:10:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 01:10:18] Production.INFO: ============== Report Schedule START===========
[2025-04-12 01:10:18] Production.INFO: ============== Report Schedule END===========
[2025-04-12 01:10:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 01:10:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 01:10:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 01:10:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 01:10:18] Production.INFO: ============== Deal alert START===========
[2025-04-12 01:10:18] Production.INFO: ============== Deal alert END===========
[2025-04-12 01:10:18] Production.INFO: ==5384== Releasing lock...
[2025-04-12 01:10:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 01:10:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 01:10:18] Production.INFO: count ==837
[2025-04-12 01:10:19] Production.ERROR: pbx CDR StartTime 2025-04-11 22:10:05 - End Time 2025-04-12 01:10:05
[2025-04-12 01:10:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 01:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888100', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888100', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888100', 'tblTempVendorCDR_20' ) start
[2025-04-12 01:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888100', 'tblTempVendorCDR_20' ) end
[2025-04-12 01:10:19] Production.INFO: ProcessCDR(1,14888100,1,1,2)
[2025-04-12 01:10:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888100,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:10:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888100,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:10:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888100,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:10:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888100,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:10:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888100', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:10:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888100', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:10:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 01:10:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 01:10:23] Production.INFO: ==5392== Releasing lock...
[2025-04-12 01:10:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 01:10:23] Production.INFO: 35 MB #Memory Used#
[2025-04-12 06:11:02] Production.INFO: ==5452== Lock acquired, processing the job...
[2025-04-12 06:11:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 06:11:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 06:11:02] Production.INFO: neon service started
[2025-04-12 06:11:02] Production.INFO: neon service started
[2025-04-12 06:11:02] Production.INFO: ==5452== Releasing lock...
[2025-04-12 06:11:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 06:11:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 05:11:02] Production.INFO: ==5456== Lock acquired, processing the job...
[2025-04-12 05:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 05:11:02] Production.INFO: ==5456== Releasing lock...
[2025-04-12 05:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 05:11:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 01:11:02] Production.INFO: ==5454== Lock acquired, processing the job...
[2025-04-12 01:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 01:11:03] Production.INFO: ==5454== Releasing lock...
[2025-04-12 01:11:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 01:11:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 01:11:03] Production.INFO: ==5465== Lock acquired, processing the job...
[2025-04-12 01:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 01:11:03] Production.INFO: ==5459== Lock acquired, processing the job...
[2025-04-12 01:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 01:11:03] Production.INFO: Account Balance Start.
[2025-04-12 01:11:03] Production.INFO: CreateAllLog Start
[2025-04-12 01:11:03] Production.INFO: 117
[2025-04-12 01:11:03] Production.INFO: Date 2025-04-08
[2025-04-12 01:11:03] Production.INFO: ==5469== Lock acquired, processing the job...
[2025-04-12 01:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 01:11:03] Production.INFO: Reseller ==> 0
[2025-04-12 01:11:04] Production.INFO: Date 2025-04-09
[2025-04-12 01:11:04] Production.INFO: ==5461== Lock acquired, processing the job...
[2025-04-12 01:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 01:11:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:11:04] Production.INFO: ==5463== Lock acquired, processing the job...
[2025-04-12 01:11:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 01:11:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 01:11:04] Production.INFO: Date 2025-04-10
[2025-04-12 01:11:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:11:04] Production.INFO: Date 2025-04-11
[2025-04-12 01:11:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:11:04] Production.INFO: ==5467== Lock acquired, processing the job...
[2025-04-12 01:11:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 01:11:04] Production.INFO: Date 2025-04-12
[2025-04-12 01:11:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:11:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 01:11:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 01:11:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 01:11:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 01:11:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 01:11:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 01:11:04] Production.INFO: Total Charge 0
[2025-04-12 01:11:04] Production.INFO: count ==12
[2025-04-12 01:11:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 01:11:04] Production.INFO: count ==23
[2025-04-12 01:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888104') start
[2025-04-12 01:11:04] Production.INFO: CreateAllLog End
[2025-04-12 01:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888104') end
[2025-04-12 01:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 01:11:04] Production.INFO: 1
[2025-04-12 01:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 01:11:04] Production.INFO: ==5469== Releasing lock...
[2025-04-12 01:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 01:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 01:11:04] Production.INFO: ==5461== Releasing lock...
[2025-04-12 01:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 01:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 01:11:04] Production.INFO: Account Balance End.
[2025-04-12 01:11:04] Production.ERROR: done
[2025-04-12 01:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 01:11:04] Production.ERROR: CronJobId end 12
[2025-04-12 01:11:04] Production.INFO: ==5465== Releasing lock...
[2025-04-12 01:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 01:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 01:11:04] Production.ERROR: done
[2025-04-12 01:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 22:11:05
[end_date_ymd] => 2025-04-12 01:11:05
[RateCDR] => 1
)
[2025-04-12 01:11:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 22:11:05' and `end` < '2025-04-12 01:11:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 01:11:13] Production.ERROR: CronJobId end10
[2025-04-12 01:11:13] Production.INFO: ==5463== Releasing lock...
[2025-04-12 01:11:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 01:11:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 01:11:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 01:11:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 01:11:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 01:11:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 01:11:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 01:11:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 01:11:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 01:11:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 01:11:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 01:11:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 01:11:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 01:11:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 01:11:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 01:11:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 01:11:15] Production.INFO: call_cost start
[2025-04-12 01:11:15] Production.INFO: call_cost end
[2025-04-12 01:11:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 01:11:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 01:11:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 01:11:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 01:11:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 01:11:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 01:11:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 01:11:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 01:11:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 01:11:16] Production.INFO: ==5459== Releasing lock...
[2025-04-12 01:11:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 01:11:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 01:11:18] Production.INFO: count ==850
[2025-04-12 01:11:18] Production.ERROR: pbx CDR StartTime 2025-04-11 22:11:05 - End Time 2025-04-12 01:11:05
[2025-04-12 01:11:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 01:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888106', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888106', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888106', 'tblTempVendorCDR_20' ) start
[2025-04-12 01:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888106', 'tblTempVendorCDR_20' ) end
[2025-04-12 01:11:19] Production.INFO: ProcessCDR(1,14888106,1,1,2)
[2025-04-12 01:11:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888106,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:11:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888106,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:11:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888106,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:11:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888106,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888106', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888106', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:11:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 01:11:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 01:11:22] Production.INFO: ==5467== Releasing lock...
[2025-04-12 01:11:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 01:11:22] Production.INFO: 34.75 MB #Memory Used#
[2025-04-12 06:12:01] Production.INFO: ==5521== Lock acquired, processing the job...
[2025-04-12 06:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 06:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 06:12:01] Production.INFO: neon service started
[2025-04-12 06:12:01] Production.INFO: neon service started
[2025-04-12 06:12:01] Production.INFO: ==5521== Releasing lock...
[2025-04-12 06:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 06:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 05:12:01] Production.INFO: ==5525== Lock acquired, processing the job...
[2025-04-12 05:12:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 05:12:02] Production.INFO: ==5525== Releasing lock...
[2025-04-12 05:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 05:12:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 01:12:02] Production.INFO: ==5523== Lock acquired, processing the job...
[2025-04-12 01:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 01:12:02] Production.INFO: ==5523== Releasing lock...
[2025-04-12 01:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 01:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 01:12:03] Production.INFO: ==5532== Lock acquired, processing the job...
[2025-04-12 01:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 01:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 01:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 01:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 01:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 01:12:03] Production.INFO: ==5534== Lock acquired, processing the job...
[2025-04-12 01:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 01:12:03] Production.INFO: ==5536== Lock acquired, processing the job...
[2025-04-12 01:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 01:12:03] Production.INFO: Account Balance Start.
[2025-04-12 01:12:03] Production.INFO: CreateAllLog Start
[2025-04-12 01:12:03] Production.INFO: 117
[2025-04-12 01:12:03] Production.INFO: Date 2025-04-08
[2025-04-12 01:12:03] Production.INFO: Reseller ==> 0
[2025-04-12 01:12:03] Production.INFO: Date 2025-04-09
[2025-04-12 01:12:03] Production.INFO: Reseller ==> 0
[2025-04-12 01:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 01:12:03] Production.INFO: Date 2025-04-10
[2025-04-12 01:12:03] Production.INFO: Reseller ==> 0
[2025-04-12 01:12:03] Production.INFO: Date 2025-04-11
[2025-04-12 01:12:03] Production.INFO: Reseller ==> 0
[2025-04-12 01:12:03] Production.INFO: Date 2025-04-12
[2025-04-12 01:12:03] Production.INFO: Reseller ==> 0
[2025-04-12 01:12:03] Production.INFO: ==5528== Lock acquired, processing the job...
[2025-04-12 01:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 01:12:03] Production.INFO: Total Charge 0
[2025-04-12 01:12:03] Production.INFO: CreateAllLog End
[2025-04-12 01:12:03] Production.INFO: ==5530== Lock acquired, processing the job...
[2025-04-12 01:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 01:12:03] Production.INFO: ==5538== Lock acquired, processing the job...
[2025-04-12 01:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 01:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 01:12:03] Production.ERROR: done
[2025-04-12 01:12:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 01:12:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 01:12:03] Production.INFO: Account Balance End.
[2025-04-12 01:12:03] Production.INFO: count ==12
[2025-04-12 01:12:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 01:12:03] Production.INFO: count ==23
[2025-04-12 01:12:03] Production.ERROR: CronJobId end 12
[2025-04-12 01:12:03] Production.INFO: ==5534== Releasing lock...
[2025-04-12 01:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 01:12:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 01:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14888110') start
[2025-04-12 01:12:03] Production.INFO: ==5530== Releasing lock...
[2025-04-12 01:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 01:12:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 01:12:04] Production.ERROR: done
[2025-04-12 01:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888110') end
[2025-04-12 01:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 01:12:04] Production.INFO: 1
[2025-04-12 01:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 01:12:04] Production.INFO: ==5538== Releasing lock...
[2025-04-12 01:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 01:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 01:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 22:12:05
[end_date_ymd] => 2025-04-12 01:12:05
[RateCDR] => 1
)
[2025-04-12 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-11 22:12:05' and `end` < '2025-04-12 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-12 01:12:11] Production.ERROR: CronJobId end10
[2025-04-12 01:12:11] Production.INFO: ==5532== Releasing lock...
[2025-04-12 01:12:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 01:12:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 01:12:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 01:12:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 01:12:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 01:12:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 01:12:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 01:12:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 01:12:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 01:12:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 01:12:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 01:12:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 01:12:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 01:12:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 01:12:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 01:12:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 01:12:15] Production.INFO: call_cost start
[2025-04-12 01:12:15] Production.INFO: call_cost end
[2025-04-12 01:12:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 01:12:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 01:12:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 01:12:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 01:12:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 01:12:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 01:12:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 01:12:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 01:12:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 01:12:16] Production.INFO: ==5528== Releasing lock...
[2025-04-12 01:12:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 01:12:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 01:12:17] Production.INFO: count ==850
[2025-04-12 01:12:18] Production.ERROR: pbx CDR StartTime 2025-04-11 22:12:05 - End Time 2025-04-12 01:12:05
[2025-04-12 01:12:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 01:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888111', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888111', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888111', 'tblTempVendorCDR_20' ) start
[2025-04-12 01:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888111', 'tblTempVendorCDR_20' ) end
[2025-04-12 01:12:18] Production.INFO: ProcessCDR(1,14888111,1,1,2)
[2025-04-12 01:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888111,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:12:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888111,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:12:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888111,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:12:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888111,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:12:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888111', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:12:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888111', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:12:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 01:12:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 01:12:22] Production.INFO: ==5536== Releasing lock...
[2025-04-12 01:12:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 01:12:22] Production.INFO: 34.75 MB #Memory Used#
[2025-04-12 06:13:01] Production.INFO: ==5593== Lock acquired, processing the job...
[2025-04-12 06:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 06:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 06:13:02] Production.INFO: neon service started
[2025-04-12 06:13:02] Production.INFO: neon service started
[2025-04-12 06:13:02] Production.INFO: ==5593== Releasing lock...
[2025-04-12 06:13:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 06:13:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 01:13:02] Production.INFO: ==5595== Lock acquired, processing the job...
[2025-04-12 01:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 01:13:02] Production.INFO: ==5595== Releasing lock...
[2025-04-12 01:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 01:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 05:13:02] Production.INFO: ==5597== Lock acquired, processing the job...
[2025-04-12 05:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 05:13:02] Production.INFO: ==5597== Releasing lock...
[2025-04-12 05:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 05:13:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 01:13:03] Production.INFO: ==5602== Lock acquired, processing the job...
[2025-04-12 01:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 01:13:03] Production.INFO: ==5600== Lock acquired, processing the job...
[2025-04-12 01:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 01:13:03] Production.INFO: ==5604== Lock acquired, processing the job...
[2025-04-12 01:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 01:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 01:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 01:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 01:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 01:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 01:13:03] Production.INFO: ==5606== Lock acquired, processing the job...
[2025-04-12 01:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 01:13:03] Production.INFO: ==5608== Lock acquired, processing the job...
[2025-04-12 01:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 01:13:03] Production.INFO: ==5610== Lock acquired, processing the job...
[2025-04-12 01:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 01:13:03] Production.INFO: Account Balance Start.
[2025-04-12 01:13:03] Production.INFO: CreateAllLog Start
[2025-04-12 01:13:03] Production.INFO: 117
[2025-04-12 01:13:03] Production.INFO: Date 2025-04-08
[2025-04-12 01:13:03] Production.INFO: Reseller ==> 0
[2025-04-12 01:13:03] Production.INFO: ==5602== Releasing lock...
[2025-04-12 01:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 01:13:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 01:13:03] Production.INFO: Date 2025-04-09
[2025-04-12 01:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 01:13:03] Production.INFO: Reseller ==> 0
[2025-04-12 01:13:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 01:13:03] Production.INFO: Date 2025-04-10
[2025-04-12 01:13:03] Production.INFO: Reseller ==> 0
[2025-04-12 01:13:03] Production.INFO: count ==12
[2025-04-12 01:13:04] Production.INFO: Date 2025-04-11
[2025-04-12 01:13:04] Production.INFO: Reseller ==> 0
[2025-04-12 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-12 01:13:04] Production.INFO: count ==23
[2025-04-12 01:13:04] Production.INFO: Date 2025-04-12
[2025-04-12 01:13:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888115') start
[2025-04-12 01:13:04] Production.INFO: Total Charge 0
[2025-04-12 01:13:04] Production.INFO: CreateAllLog End
[2025-04-12 01:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888115') end
[2025-04-12 01:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 01:13:04] Production.INFO: 1
[2025-04-12 01:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 01:13:04] Production.INFO: ==5610== Releasing lock...
[2025-04-12 01:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 01:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 01:13:04] Production.ERROR: done
[2025-04-12 01:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 01:13:04] Production.INFO: Account Balance End.
[2025-04-12 01:13:04] Production.ERROR: CronJobId end 12
[2025-04-12 01:13:04] Production.INFO: ==5606== Releasing lock...
[2025-04-12 01:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 01:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 01:13:04] Production.ERROR: done
[2025-04-12 01:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 22:13:05
[end_date_ymd] => 2025-04-12 01:13:05
[RateCDR] => 1
)
[2025-04-12 01:13:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 22:13:05' and `end` < '2025-04-12 01:13:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 01:13:12] Production.ERROR: CronJobId end10
[2025-04-12 01:13:12] Production.INFO: ==5604== Releasing lock...
[2025-04-12 01:13:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 01:13:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 01:13:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 01:13:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 01:13:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 01:13:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 01:13:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 01:13:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 01:13:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 01:13:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 01:13:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 01:13:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 01:13:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 01:13:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 01:13:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 01:13:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 01:13:13] Production.INFO: call_cost start
[2025-04-12 01:13:13] Production.INFO: call_cost end
[2025-04-12 01:13:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 01:13:14] Production.INFO: ============== Report Schedule START===========
[2025-04-12 01:13:14] Production.INFO: ============== Report Schedule END===========
[2025-04-12 01:13:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 01:13:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 01:13:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 01:13:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 01:13:14] Production.INFO: ============== Deal alert START===========
[2025-04-12 01:13:14] Production.INFO: ============== Deal alert END===========
[2025-04-12 01:13:14] Production.INFO: ==5600== Releasing lock...
[2025-04-12 01:13:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 01:13:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 01:13:18] Production.INFO: count ==849
[2025-04-12 01:13:18] Production.ERROR: pbx CDR StartTime 2025-04-11 22:13:05 - End Time 2025-04-12 01:13:05
[2025-04-12 01:13:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 01:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888116', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888116', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888116', 'tblTempVendorCDR_20' ) start
[2025-04-12 01:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888116', 'tblTempVendorCDR_20' ) end
[2025-04-12 01:13:18] Production.INFO: ProcessCDR(1,14888116,1,1,2)
[2025-04-12 01:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888116,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:13:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888116,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:13:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888116,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:13:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888116,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888116', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888116', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:13:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 01:13:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 01:13:22] Production.INFO: ==5608== Releasing lock...
[2025-04-12 01:13:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 01:13:22] Production.INFO: 35.25 MB #Memory Used#
[2025-04-12 06:14:01] Production.INFO: ==5663== Lock acquired, processing the job...
[2025-04-12 06:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 06:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 06:14:01] Production.INFO: neon service started
[2025-04-12 06:14:01] Production.INFO: neon service started
[2025-04-12 06:14:01] Production.INFO: ==5663== Releasing lock...
[2025-04-12 06:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 06:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 01:14:01] Production.INFO: ==5665== Lock acquired, processing the job...
[2025-04-12 01:14:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 05:14:02] Production.INFO: ==5667== Lock acquired, processing the job...
[2025-04-12 05:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 05:14:02] Production.INFO: ==5667== Releasing lock...
[2025-04-12 05:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 05:14:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 01:14:02] Production.INFO: ==5665== Releasing lock...
[2025-04-12 01:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 01:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 01:14:03] Production.INFO: ==5676== Lock acquired, processing the job...
[2025-04-12 01:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 01:14:03] Production.INFO: ==5672== Lock acquired, processing the job...
[2025-04-12 01:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 01:14:03] Production.INFO: ==5678== Lock acquired, processing the job...
[2025-04-12 01:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 01:14:03] Production.INFO: ==5670== Lock acquired, processing the job...
[2025-04-12 01:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 01:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 01:14:03] Production.INFO: Account Balance Start.
[2025-04-12 01:14:03] Production.INFO: CreateAllLog Start
[2025-04-12 01:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 01:14:03] Production.INFO: 117
[2025-04-12 01:14:03] Production.INFO: Date 2025-04-08
[2025-04-12 01:14:03] Production.INFO: ==5674== Lock acquired, processing the job...
[2025-04-12 01:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 01:14:03] Production.INFO: Reseller ==> 0
[2025-04-12 01:14:03] Production.INFO: ==5680== Lock acquired, processing the job...
[2025-04-12 01:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 01:14:03] Production.INFO: Date 2025-04-09
[2025-04-12 01:14:03] Production.INFO: Reseller ==> 0
[2025-04-12 01:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 01:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 01:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 01:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 01:14:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 01:14:03] Production.INFO: Date 2025-04-10
[2025-04-12 01:14:03] Production.INFO: Reseller ==> 0
[2025-04-12 01:14:03] Production.INFO: count ==12
[2025-04-12 01:14:03] Production.INFO: Date 2025-04-11
[2025-04-12 01:14:03] Production.INFO: Reseller ==> 0
[2025-04-12 01:14:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 01:14:03] Production.INFO: count ==23
[2025-04-12 01:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14888120') start
[2025-04-12 01:14:03] Production.INFO: Date 2025-04-12
[2025-04-12 01:14:03] Production.INFO: Reseller ==> 0
[2025-04-12 01:14:03] Production.INFO: Total Charge 0
[2025-04-12 01:14:03] Production.ERROR: done
[2025-04-12 01:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14888120') end
[2025-04-12 01:14:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 01:14:03] Production.INFO: 1
[2025-04-12 01:14:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 01:14:03] Production.INFO: ==5672== Releasing lock...
[2025-04-12 01:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 01:14:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 01:14:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 01:14:03] Production.INFO: CreateAllLog End
[2025-04-12 01:14:03] Production.INFO: ==5680== Releasing lock...
[2025-04-12 01:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 01:14:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 01:14:04] Production.ERROR: done
[2025-04-12 01:14:04] Production.INFO: Account Balance End.
[2025-04-12 01:14:04] Production.ERROR: CronJobId end 12
[2025-04-12 01:14:04] Production.INFO: ==5676== Releasing lock...
[2025-04-12 01:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 01:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 01:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 22:14:05
[end_date_ymd] => 2025-04-12 01:14:05
[RateCDR] => 1
)
[2025-04-12 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-11 22:14:05' and `end` < '2025-04-12 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-12 01:14:11] Production.ERROR: CronJobId end10
[2025-04-12 01:14:11] Production.INFO: ==5674== Releasing lock...
[2025-04-12 01:14:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 01:14:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 01:14:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 01:14:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 01:14:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 01:14:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 01:14:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 01:14:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 01:14:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 01:14:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 01:14:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 01:14:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 01:14:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 01:14:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 01:14:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 01:14:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 01:14:14] Production.INFO: call_cost start
[2025-04-12 01:14:14] Production.INFO: call_cost end
[2025-04-12 01:14:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 01:14:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 01:14:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 01:14:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 01:14:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 01:14:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 01:14:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 01:14:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 01:14:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 01:14:15] Production.INFO: ==5670== Releasing lock...
[2025-04-12 01:14:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 01:14:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 01:14:18] Production.INFO: count ==847
[2025-04-12 01:14:18] Production.ERROR: pbx CDR StartTime 2025-04-11 22:14:05 - End Time 2025-04-12 01:14:05
[2025-04-12 01:14:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 01:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888121', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888121', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888121', 'tblTempVendorCDR_20' ) start
[2025-04-12 01:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888121', 'tblTempVendorCDR_20' ) end
[2025-04-12 01:14:18] Production.INFO: ProcessCDR(1,14888121,1,1,2)
[2025-04-12 01:14:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888121,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:14:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888121,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:14:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888121,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:14:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888121,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888121', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888121', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:14:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 01:14:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 01:14:21] Production.INFO: ==5678== Releasing lock...
[2025-04-12 01:14:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 01:14:21] Production.INFO: 34.25 MB #Memory Used#
[2025-04-12 06:15:02] Production.INFO: ==5743== Lock acquired, processing the job...
[2025-04-12 06:15:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 06:15:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 06:15:02] Production.INFO: neon service started
[2025-04-12 06:15:02] Production.INFO: neon service started
[2025-04-12 06:15:02] Production.INFO: ==5743== Releasing lock...
[2025-04-12 06:15:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 06:15:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 01:15:02] Production.INFO: ==5745== Lock acquired, processing the job...
[2025-04-12 01:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 05:15:02] Production.INFO: ==5747== Lock acquired, processing the job...
[2025-04-12 05:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 01:15:02] Production.INFO: ==5745== Releasing lock...
[2025-04-12 01:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 01:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 05:15:02] Production.INFO: ==5747== Releasing lock...
[2025-04-12 05:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 05:15:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 01:15:03] Production.INFO: ==5750== Lock acquired, processing the job...
[2025-04-12 01:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 01:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 01:15:03] Production.INFO: ==5754== Lock acquired, processing the job...
[2025-04-12 01:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 01:15:03] Production.INFO: ==5756== Lock acquired, processing the job...
[2025-04-12 01:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 01:15:03] Production.INFO: ==5752== Lock acquired, processing the job...
[2025-04-12 01:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 01:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 01:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 01:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 01:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 01:15:03] Production.INFO: ==5758== Lock acquired, processing the job...
[2025-04-12 01:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 01:15:03] Production.INFO: Account Balance Start.
[2025-04-12 01:15:03] Production.INFO: CreateAllLog Start
[2025-04-12 01:15:03] Production.INFO: ==5760== Lock acquired, processing the job...
[2025-04-12 01:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 01:15:03] Production.INFO: 117
[2025-04-12 01:15:03] Production.INFO: Date 2025-04-08
[2025-04-12 01:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 01:15:03] Production.INFO: Reseller ==> 0
[2025-04-12 01:15:04] Production.INFO: Date 2025-04-09
[2025-04-12 01:15:04] Production.INFO: Reseller ==> 0
[2025-04-12 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-12 01:15:04] Production.INFO: count ==12
[2025-04-12 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-12 01:15:04] Production.INFO: Date 2025-04-10
[2025-04-12 01:15:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:15:04] Production.INFO: count ==23
[2025-04-12 01:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888125') start
[2025-04-12 01:15:04] Production.INFO: Date 2025-04-11
[2025-04-12 01:15:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:15:04] Production.INFO: Date 2025-04-12
[2025-04-12 01:15:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:15:04] Production.INFO: Total Charge 0
[2025-04-12 01:15:04] Production.INFO: CreateAllLog End
[2025-04-12 01:15:04] Production.INFO: ==5752== Releasing lock...
[2025-04-12 01:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 01:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 01:15:04] Production.ERROR: done
[2025-04-12 01:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888125') end
[2025-04-12 01:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 01:15:04] Production.INFO: 1
[2025-04-12 01:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 01:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 01:15:04] Production.INFO: ==5760== Releasing lock...
[2025-04-12 01:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 01:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 01:15:04] Production.INFO: Account Balance End.
[2025-04-12 01:15:04] Production.ERROR: done
[2025-04-12 01:15:04] Production.ERROR: CronJobId end 12
[2025-04-12 01:15:04] Production.INFO: ==5756== Releasing lock...
[2025-04-12 01:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 01:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 01:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 22:15:05
[end_date_ymd] => 2025-04-12 01:15:05
[RateCDR] => 1
)
[2025-04-12 01:15:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 22:15:05' and `end` < '2025-04-12 01:15:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 01:15:12] Production.ERROR: CronJobId end10
[2025-04-12 01:15:12] Production.INFO: ==5754== Releasing lock...
[2025-04-12 01:15:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 01:15:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 01:15:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 01:15:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 01:15:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 01:15:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 01:15:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 01:15:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 01:15:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 01:15:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 01:15:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 01:15:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 01:15:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 01:15:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 01:15:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 01:15:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 01:15:13] Production.INFO: call_cost start
[2025-04-12 01:15:13] Production.INFO: call_cost end
[2025-04-12 01:15:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 01:15:14] Production.INFO: ============== Report Schedule START===========
[2025-04-12 01:15:14] Production.INFO: ============== Report Schedule END===========
[2025-04-12 01:15:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 01:15:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 01:15:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 01:15:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 01:15:14] Production.INFO: ============== Deal alert START===========
[2025-04-12 01:15:14] Production.INFO: ============== Deal alert END===========
[2025-04-12 01:15:14] Production.INFO: ==5750== Releasing lock...
[2025-04-12 01:15:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 01:15:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 01:15:18] Production.INFO: count ==845
[2025-04-12 01:15:19] Production.ERROR: pbx CDR StartTime 2025-04-11 22:15:05 - End Time 2025-04-12 01:15:05
[2025-04-12 01:15:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 01:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888126', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888126', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888126', 'tblTempVendorCDR_20' ) start
[2025-04-12 01:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888126', 'tblTempVendorCDR_20' ) end
[2025-04-12 01:15:19] Production.INFO: ProcessCDR(1,14888126,1,1,2)
[2025-04-12 01:15:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888126,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:15:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888126,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:15:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888126,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:15:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888126,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888126', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888126', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:15:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 01:15:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 01:15:22] Production.INFO: ==5758== Releasing lock...
[2025-04-12 01:15:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 01:15:22] Production.INFO: 34.75 MB #Memory Used#
[2025-04-12 06:16:01] Production.INFO: ==5814== Lock acquired, processing the job...
[2025-04-12 06:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 06:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 06:16:01] Production.INFO: neon service started
[2025-04-12 06:16:01] Production.INFO: neon service started
[2025-04-12 06:16:01] Production.INFO: ==5814== Releasing lock...
[2025-04-12 06:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 06:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 01:16:01] Production.INFO: ==5816== Lock acquired, processing the job...
[2025-04-12 01:16:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 01:16:02] Production.INFO: ==5816== Releasing lock...
[2025-04-12 01:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 01:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 05:16:02] Production.INFO: ==5818== Lock acquired, processing the job...
[2025-04-12 05:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 05:16:02] Production.INFO: ==5818== Releasing lock...
[2025-04-12 05:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 05:16:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 01:16:03] Production.INFO: ==5820== Lock acquired, processing the job...
[2025-04-12 01:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 01:16:03] Production.INFO: ==5828== Lock acquired, processing the job...
[2025-04-12 01:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 01:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 01:16:03] Production.INFO: ==5830== Lock acquired, processing the job...
[2025-04-12 01:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 01:16:03] Production.INFO: ==5824== Lock acquired, processing the job...
[2025-04-12 01:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 01:16:03] Production.INFO: ==5822== Lock acquired, processing the job...
[2025-04-12 01:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 01:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 01:16:03] Production.INFO: ==5826== Lock acquired, processing the job...
[2025-04-12 01:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 01:16:03] Production.INFO: Account Balance Start.
[2025-04-12 01:16:03] Production.INFO: CreateAllLog Start
[2025-04-12 01:16:03] Production.INFO: 117
[2025-04-12 01:16:03] Production.INFO: Date 2025-04-08
[2025-04-12 01:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 01:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 01:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 01:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 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-12 01:16:03] Production.INFO: Reseller ==> 0
[2025-04-12 01:16:03] Production.INFO: count ==12
[2025-04-12 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-12 01:16:03] Production.INFO: count ==23
[2025-04-12 01:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14888129') start
[2025-04-12 01:16:03] Production.INFO: Date 2025-04-09
[2025-04-12 01:16:03] Production.INFO: Reseller ==> 0
[2025-04-12 01:16:03] Production.INFO: Date 2025-04-10
[2025-04-12 01:16:03] Production.INFO: Reseller ==> 0
[2025-04-12 01:16:03] Production.INFO: Date 2025-04-11
[2025-04-12 01:16:03] Production.INFO: Reseller ==> 0
[2025-04-12 01:16:03] Production.INFO: Date 2025-04-12
[2025-04-12 01:16:03] Production.INFO: Reseller ==> 0
[2025-04-12 01:16:03] Production.INFO: Total Charge 0
[2025-04-12 01:16:03] Production.ERROR: done
[2025-04-12 01:16:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 01:16:03] Production.INFO: CreateAllLog End
[2025-04-12 01:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14888129') end
[2025-04-12 01:16:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 01:16:03] Production.INFO: 1
[2025-04-12 01:16:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 01:16:03] Production.INFO: ==5822== Releasing lock...
[2025-04-12 01:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 01:16:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 01:16:03] Production.INFO: ==5830== Releasing lock...
[2025-04-12 01:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 01:16:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 01:16:03] Production.INFO: Account Balance End.
[2025-04-12 01:16:03] Production.ERROR: done
[2025-04-12 01:16:03] Production.ERROR: CronJobId end 12
[2025-04-12 01:16:03] Production.INFO: ==5826== Releasing lock...
[2025-04-12 01:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 01:16:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 01:16:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 22:16:04
[end_date_ymd] => 2025-04-12 01:16:04
[RateCDR] => 1
)
[2025-04-12 01: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-11 22:16:04' and `end` < '2025-04-12 01: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-12 01:16:11] Production.ERROR: CronJobId end10
[2025-04-12 01:16:11] Production.INFO: ==5824== Releasing lock...
[2025-04-12 01:16:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 01:16:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 01:16:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 01:16:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 01:16:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 01:16:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 01:16:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 01:16:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 01:16:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 01:16:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 01:16:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 01:16:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 01:16:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 01:16:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 01:16:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 01:16:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 01:16:14] Production.INFO: call_cost start
[2025-04-12 01:16:14] Production.INFO: call_cost end
[2025-04-12 01:16:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 01:16:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 01:16:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 01:16:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 01:16:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 01:16:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 01:16:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 01:16:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 01:16:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 01:16:15] Production.INFO: ==5820== Releasing lock...
[2025-04-12 01:16:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 01:16:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 01:16:17] Production.INFO: count ==843
[2025-04-12 01:16:18] Production.ERROR: pbx CDR StartTime 2025-04-11 22:16:04 - End Time 2025-04-12 01:16:04
[2025-04-12 01:16:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 01:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888131', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888131', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888131', 'tblTempVendorCDR_20' ) start
[2025-04-12 01:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888131', 'tblTempVendorCDR_20' ) end
[2025-04-12 01:16:18] Production.INFO: ProcessCDR(1,14888131,1,1,2)
[2025-04-12 01:16:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888131,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:16:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888131,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:16:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888131,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:16:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888131,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:16:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888131', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:16:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888131', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:16:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 01:16:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 01:16:23] Production.INFO: ==5828== Releasing lock...
[2025-04-12 01:16:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 01:16:23] Production.INFO: 34.75 MB #Memory Used#
[2025-04-12 06:17:01] Production.INFO: ==5886== Lock acquired, processing the job...
[2025-04-12 06:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 06:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 06:17:01] Production.INFO: neon service started
[2025-04-12 06:17:01] Production.INFO: neon service started
[2025-04-12 06:17:01] Production.INFO: ==5886== Releasing lock...
[2025-04-12 06:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 06:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 01:17:02] Production.INFO: ==5888== Lock acquired, processing the job...
[2025-04-12 01:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 05:17:02] Production.INFO: ==5890== Lock acquired, processing the job...
[2025-04-12 05:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 01:17:02] Production.INFO: ==5888== Releasing lock...
[2025-04-12 01:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 01:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 05:17:02] Production.INFO: ==5890== Releasing lock...
[2025-04-12 05:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 05:17:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 01:17:03] Production.INFO: ==5893== Lock acquired, processing the job...
[2025-04-12 01:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 01:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 01:17:03] Production.INFO: ==5895== Lock acquired, processing the job...
[2025-04-12 01:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 01:17:03] Production.INFO: ==5897== Lock acquired, processing the job...
[2025-04-12 01:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 01:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 01:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 01:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 01:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 01:17:03] Production.INFO: ==5899== Lock acquired, processing the job...
[2025-04-12 01:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 01:17:03] Production.INFO: ==5895== Releasing lock...
[2025-04-12 01:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 01:17:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 01:17:03] Production.INFO: ==5901== Lock acquired, processing the job...
[2025-04-12 01:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 01:17:03] Production.INFO: Account Balance Start.
[2025-04-12 01:17:03] Production.INFO: CreateAllLog Start
[2025-04-12 01:17:03] Production.INFO: 117
[2025-04-12 01:17:03] Production.INFO: Date 2025-04-08
[2025-04-12 01:17:03] Production.INFO: Reseller ==> 0
[2025-04-12 01:17:03] Production.INFO: ==5903== Lock acquired, processing the job...
[2025-04-12 01:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 01:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 01:17:03] Production.INFO: Date 2025-04-09
[2025-04-12 01:17:03] Production.INFO: Reseller ==> 0
[2025-04-12 01:17:03] Production.INFO: Date 2025-04-10
[2025-04-12 01:17:03] Production.INFO: Reseller ==> 0
[2025-04-12 01:17:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 01:17:03] Production.INFO: Date 2025-04-11
[2025-04-12 01:17:03] Production.INFO: Reseller ==> 0
[2025-04-12 01:17:03] Production.INFO: Date 2025-04-12
[2025-04-12 01:17:03] Production.INFO: Reseller ==> 0
[2025-04-12 01:17:04] Production.INFO: count ==12
[2025-04-12 01:17:04] Production.INFO: Total Charge 0
[2025-04-12 01:17:04] Production.INFO: CreateAllLog End
[2025-04-12 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-12 01:17:04] Production.INFO: count ==23
[2025-04-12 01:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888135') start
[2025-04-12 01:17:04] Production.ERROR: done
[2025-04-12 01:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 01:17:04] Production.INFO: Account Balance End.
[2025-04-12 01:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888135') end
[2025-04-12 01:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 01:17:04] Production.INFO: 1
[2025-04-12 01:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 01:17:04] Production.INFO: ==5903== Releasing lock...
[2025-04-12 01:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 01:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 01:17:04] Production.ERROR: CronJobId end 12
[2025-04-12 01:17:04] Production.INFO: ==5899== Releasing lock...
[2025-04-12 01:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 01:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 01:17:04] Production.ERROR: done
[2025-04-12 01:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 22:17:05
[end_date_ymd] => 2025-04-12 01:17:05
[RateCDR] => 1
)
[2025-04-12 01:17:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 22:17:05' and `end` < '2025-04-12 01:17:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 01:17:11] Production.ERROR: CronJobId end10
[2025-04-12 01:17:11] Production.INFO: ==5897== Releasing lock...
[2025-04-12 01:17:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 01:17:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 01:17:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 01:17:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 01:17:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 01:17:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 01:17:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 01:17:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 01:17:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 01:17:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 01:17:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 01:17:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 01:17:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 01:17:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 01:17:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 01:17:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 01:17:14] Production.INFO: call_cost start
[2025-04-12 01:17:14] Production.INFO: call_cost end
[2025-04-12 01:17:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 01:17:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 01:17:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 01:17:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 01:17:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 01:17:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 01:17:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 01:17:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 01:17:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 01:17:15] Production.INFO: ==5893== Releasing lock...
[2025-04-12 01:17:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 01:17:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 01:17:18] Production.INFO: count ==844
[2025-04-12 01:17:18] Production.ERROR: pbx CDR StartTime 2025-04-11 22:17:05 - End Time 2025-04-12 01:17:05
[2025-04-12 01:17:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 01:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888136', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888136', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888136', 'tblTempVendorCDR_20' ) start
[2025-04-12 01:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888136', 'tblTempVendorCDR_20' ) end
[2025-04-12 01:17:18] Production.INFO: ProcessCDR(1,14888136,1,1,2)
[2025-04-12 01:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888136,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:17:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888136,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:17:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888136,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:17:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888136,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:17:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888136', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:17:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888136', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:17:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 01:17:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 01:17:23] Production.INFO: ==5901== Releasing lock...
[2025-04-12 01:17:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 01:17:23] Production.INFO: 34.75 MB #Memory Used#
[2025-04-12 06:18:01] Production.INFO: ==5966== Lock acquired, processing the job...
[2025-04-12 06:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 06:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 06:18:01] Production.INFO: neon service started
[2025-04-12 06:18:01] Production.INFO: neon service started
[2025-04-12 06:18:01] Production.INFO: ==5966== Releasing lock...
[2025-04-12 06:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 06:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 01:18:02] Production.INFO: ==5969== Lock acquired, processing the job...
[2025-04-12 01:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 05:18:02] Production.INFO: ==5971== Lock acquired, processing the job...
[2025-04-12 05:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 05:18:02] Production.INFO: ==5971== Releasing lock...
[2025-04-12 05:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 05:18:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 01:18:02] Production.INFO: ==5969== Releasing lock...
[2025-04-12 01:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 01:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 01:18:03] Production.INFO: ==5975== Lock acquired, processing the job...
[2025-04-12 01:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 01:18:03] Production.INFO: ==5977== Lock acquired, processing the job...
[2025-04-12 01:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 01:18:03] Production.INFO: ==5979== Lock acquired, processing the job...
[2025-04-12 01:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 01:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 01:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 01:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 01:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 01:18:03] Production.INFO: ==5973== Lock acquired, processing the job...
[2025-04-12 01:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 01:18:03] Production.INFO: Account Balance Start.
[2025-04-12 01:18:03] Production.INFO: CreateAllLog Start
[2025-04-12 01:18:03] Production.INFO: 117
[2025-04-12 01:18:03] Production.INFO: Date 2025-04-08
[2025-04-12 01:18:03] Production.INFO: Reseller ==> 0
[2025-04-12 01:18:03] Production.INFO: Date 2025-04-09
[2025-04-12 01:18:03] Production.INFO: Reseller ==> 0
[2025-04-12 01:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 01:18:03] Production.INFO: Date 2025-04-10
[2025-04-12 01:18:03] Production.INFO: Reseller ==> 0
[2025-04-12 01:18:03] Production.INFO: ==5975== Releasing lock...
[2025-04-12 01:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 01:18:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 01:18:03] Production.INFO: ==5983== Lock acquired, processing the job...
[2025-04-12 01:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 01:18:03] Production.INFO: ==5981== Lock acquired, processing the job...
[2025-04-12 01:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 01:18:03] Production.INFO: Date 2025-04-11
[2025-04-12 01:18:03] Production.INFO: Reseller ==> 0
[2025-04-12 01:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 01:18:03] Production.INFO: Date 2025-04-12
[2025-04-12 01:18:03] Production.INFO: Reseller ==> 0
[2025-04-12 01:18:03] Production.INFO: Total Charge 0
[2025-04-12 01:18:03] Production.INFO: CreateAllLog End
[2025-04-12 01:18:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 01:18:04] Production.INFO: count ==12
[2025-04-12 01:18:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 01:18:04] Production.INFO: count ==23
[2025-04-12 01:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888140') start
[2025-04-12 01:18:04] Production.ERROR: done
[2025-04-12 01:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 01:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888140') end
[2025-04-12 01:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 01:18:04] Production.INFO: 1
[2025-04-12 01:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 01:18:04] Production.ERROR: done
[2025-04-12 01:18:04] Production.INFO: Account Balance End.
[2025-04-12 01:18:04] Production.INFO: ==5983== Releasing lock...
[2025-04-12 01:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 01:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 01:18:04] Production.ERROR: CronJobId end 12
[2025-04-12 01:18:04] Production.INFO: ==5979== Releasing lock...
[2025-04-12 01:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 01:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 01:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 22:18:05
[end_date_ymd] => 2025-04-12 01:18:05
[RateCDR] => 1
)
[2025-04-12 01:18:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 22:18:05' and `end` < '2025-04-12 01:18:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 01:18:11] Production.ERROR: CronJobId end10
[2025-04-12 01:18:11] Production.INFO: ==5977== Releasing lock...
[2025-04-12 01:18:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 01:18:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 01:18:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 01:18:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 01:18:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 01:18:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 01:18:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 01:18:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 01:18:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 01:18:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 01:18:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 01:18:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 01:18:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 01:18:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 01:18:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 01:18:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 01:18:14] Production.INFO: call_cost start
[2025-04-12 01:18:14] Production.INFO: call_cost end
[2025-04-12 01:18:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 01:18:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 01:18:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 01:18:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 01:18:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 01:18:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 01:18:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 01:18:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 01:18:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 01:18:15] Production.INFO: ==5973== Releasing lock...
[2025-04-12 01:18:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 01:18:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 01:18:18] Production.INFO: count ==845
[2025-04-12 01:18:18] Production.ERROR: pbx CDR StartTime 2025-04-11 22:18:05 - End Time 2025-04-12 01:18:05
[2025-04-12 01:18:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 01:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888141', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888141', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888141', 'tblTempVendorCDR_20' ) start
[2025-04-12 01:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888141', 'tblTempVendorCDR_20' ) end
[2025-04-12 01:18:18] Production.INFO: ProcessCDR(1,14888141,1,1,2)
[2025-04-12 01:18:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888141,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:18:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888141,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:18:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888141,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:18:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888141,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:18:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888141', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:18:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888141', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:18:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 01:18:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 01:18:23] Production.INFO: ==5981== Releasing lock...
[2025-04-12 01:18:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 01:18:23] Production.INFO: 34.75 MB #Memory Used#
[2025-04-12 06:19:01] Production.INFO: ==6039== Lock acquired, processing the job...
[2025-04-12 06:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 06:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 06:19:01] Production.INFO: neon service started
[2025-04-12 06:19:01] Production.INFO: neon service started
[2025-04-12 06:19:01] Production.INFO: ==6039== Releasing lock...
[2025-04-12 06:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 06:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 05:19:02] Production.INFO: ==6043== Lock acquired, processing the job...
[2025-04-12 05:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 05:19:02] Production.INFO: ==6043== Releasing lock...
[2025-04-12 05:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 05:19:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 01:19:02] Production.INFO: ==6041== Lock acquired, processing the job...
[2025-04-12 01:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 01:19:02] Production.INFO: ==6041== Releasing lock...
[2025-04-12 01:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 01:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 01:19:03] Production.INFO: ==6049== Lock acquired, processing the job...
[2025-04-12 01:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 01:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 01:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 01:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 01:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 01:19:03] Production.INFO: ==6058== Lock acquired, processing the job...
[2025-04-12 01:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 01:19:03] Production.INFO: ==6045== Lock acquired, processing the job...
[2025-04-12 01:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 01:19:03] Production.INFO: ==6047== Lock acquired, processing the job...
[2025-04-12 01:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 01:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 01:19:03] Production.INFO: ==6053== Lock acquired, processing the job...
[2025-04-12 01:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 01:19:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 01:19:03] Production.INFO: ==6056== Lock acquired, processing the job...
[2025-04-12 01:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 01:19:03] Production.INFO: count ==12
[2025-04-12 01:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 01:19:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 01:19:03] Production.INFO: count ==23
[2025-04-12 01:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14888142') start
[2025-04-12 01:19:03] Production.INFO: Account Balance Start.
[2025-04-12 01:19:03] Production.INFO: CreateAllLog Start
[2025-04-12 01:19:03] Production.INFO: 117
[2025-04-12 01:19:03] Production.INFO: Date 2025-04-08
[2025-04-12 01:19:03] Production.INFO: Reseller ==> 0
[2025-04-12 01:19:03] Production.INFO: Date 2025-04-09
[2025-04-12 01:19:03] Production.INFO: Reseller ==> 0
[2025-04-12 01:19:03] Production.INFO: Date 2025-04-10
[2025-04-12 01:19:03] Production.INFO: Reseller ==> 0
[2025-04-12 01:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888142') end
[2025-04-12 01:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 01:19:04] Production.INFO: 1
[2025-04-12 01:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 01:19:04] Production.INFO: ==6047== Releasing lock...
[2025-04-12 01:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 01:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 01:19:04] Production.INFO: Date 2025-04-11
[2025-04-12 01:19:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:19:04] Production.INFO: Date 2025-04-12
[2025-04-12 01:19:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:19:04] Production.INFO: ==6058== Releasing lock...
[2025-04-12 01:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 01:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 01:19:04] Production.INFO: Total Charge 0
[2025-04-12 01:19:04] Production.ERROR: done
[2025-04-12 01:19:04] Production.INFO: CreateAllLog End
[2025-04-12 01:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 01:19:04] Production.ERROR: done
[2025-04-12 01:19:04] Production.INFO: Account Balance End.
[2025-04-12 01:19:04] Production.ERROR: CronJobId end 12
[2025-04-12 01:19:04] Production.INFO: ==6053== Releasing lock...
[2025-04-12 01:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 01:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 01:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 22:19:05
[end_date_ymd] => 2025-04-12 01:19:05
[RateCDR] => 1
)
[2025-04-12 01:19:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 22:19:05' and `end` < '2025-04-12 01:19:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 01:19:12] Production.ERROR: CronJobId end10
[2025-04-12 01:19:12] Production.INFO: ==6049== Releasing lock...
[2025-04-12 01:19:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 01:19:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 01:19:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 01:19:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 01:19:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 01:19:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 01:19:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 01:19:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 01:19:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 01:19:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 01:19:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 01:19:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 01:19:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 01:19:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 01:19:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 01:19:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 01:19:14] Production.INFO: call_cost start
[2025-04-12 01:19:14] Production.INFO: call_cost end
[2025-04-12 01:19:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 01:19:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 01:19:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 01:19:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 01:19:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 01:19:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 01:19:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 01:19:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 01:19:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 01:19:15] Production.INFO: ==6045== Releasing lock...
[2025-04-12 01:19:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 01:19:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 01:19:18] Production.INFO: count ==845
[2025-04-12 01:19:18] Production.ERROR: pbx CDR StartTime 2025-04-11 22:19:05 - End Time 2025-04-12 01:19:05
[2025-04-12 01:19:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 01:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888146', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888146', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888146', 'tblTempVendorCDR_20' ) start
[2025-04-12 01:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888146', 'tblTempVendorCDR_20' ) end
[2025-04-12 01:19:18] Production.INFO: ProcessCDR(1,14888146,1,1,2)
[2025-04-12 01:19:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888146,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:19:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888146,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:19:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888146,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:19:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888146,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888146', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888146', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:19:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 01:19:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 01:19:22] Production.INFO: ==6056== Releasing lock...
[2025-04-12 01:19:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 01:19:22] Production.INFO: 34.75 MB #Memory Used#
[2025-04-12 06:20:02] Production.INFO: ==6115== Lock acquired, processing the job...
[2025-04-12 06:20:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 06:20:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 06:20:02] Production.INFO: neon service started
[2025-04-12 06:20:02] Production.INFO: neon service started
[2025-04-12 06:20:02] Production.INFO: ==6115== Releasing lock...
[2025-04-12 06:20:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 06:20:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 01:20:02] Production.INFO: ==6117== Lock acquired, processing the job...
[2025-04-12 01:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 05:20:02] Production.INFO: ==6119== Lock acquired, processing the job...
[2025-04-12 05:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 05:20:02] Production.INFO: ==6119== Releasing lock...
[2025-04-12 05:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 05:20:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 01:20:03] Production.INFO: ==6117== Releasing lock...
[2025-04-12 01:20:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 01:20:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 01:20:03] Production.INFO: ==6122== Lock acquired, processing the job...
[2025-04-12 01:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 01:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 01:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 01:20:03] Production.INFO: ==6122== Releasing lock...
[2025-04-12 01:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 01:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 01:20:03] Production.INFO: ==6124== Lock acquired, processing the job...
[2025-04-12 01:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 01:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 01:20:04] Production.INFO: ==6132== Lock acquired, processing the job...
[2025-04-12 01:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 01:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 01:20:04] Production.INFO: ==6134== Lock acquired, processing the job...
[2025-04-12 01:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 01:20:04] Production.INFO: ==6126== Lock acquired, processing the job...
[2025-04-12 01:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 01:20:04] Production.INFO: ==6130== Lock acquired, processing the job...
[2025-04-12 01:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 01:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 01:20:04] Production.INFO: ==6128== Lock acquired, processing the job...
[2025-04-12 01:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 01:20:04] Production.INFO: ==6136== Lock acquired, processing the job...
[2025-04-12 01:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 01:20:04] Production.ERROR: done
[2025-04-12 01:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 01:20:04] Production.INFO: Account Balance Start.
[2025-04-12 01:20:04] Production.INFO: CreateAllLog Start
[2025-04-12 01:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 01:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 01:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 01:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 01:20:04] Production.INFO: 117
[2025-04-12 01:20:04] Production.INFO: Date 2025-04-08
[2025-04-12 01:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 01:20:04] Production.INFO: count ==12
[2025-04-12 01:20:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:20:04] Production.ERROR: done
[2025-04-12 01:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 01:20:04] Production.INFO: count ==23
[2025-04-12 01:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888149') start
[2025-04-12 01:20:04] Production.ERROR: done
[2025-04-12 01:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 01:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14888152', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 01:20:04] Production.INFO: Date 2025-04-09
[2025-04-12 01:20:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:20:04] Production.INFO: Date 2025-04-10
[2025-04-12 01:20:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:20:04] Production.INFO: Date 2025-04-11
[2025-04-12 01:20:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14888149') end
[2025-04-12 01:20:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 01:20:05] Production.INFO: 1
[2025-04-12 01:20:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 01:20:05] Production.INFO: ==6136== Releasing lock...
[2025-04-12 01:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 01:20:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 01:20:05] Production.INFO: ==6126== Releasing lock...
[2025-04-12 01:20:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 01:20:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 01:20:05] Production.INFO: Date 2025-04-12
[2025-04-12 01:20:05] Production.INFO: Reseller ==> 0
[2025-04-12 01:20:05] Production.INFO: Total Charge 0
[2025-04-12 01:20:05] Production.INFO: CreateAllLog End
[2025-04-12 01:20:05] Production.INFO: Account Balance End.
[2025-04-12 01:20:05] Production.ERROR: CronJobId end 12
[2025-04-12 01:20:05] Production.INFO: ==6130== Releasing lock...
[2025-04-12 01:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 01:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 01:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 22:20:06
[end_date_ymd] => 2025-04-12 01:20:06
[RateCDR] => 1
)
[2025-04-12 01:20:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 22:20:06' and `end` < '2025-04-12 01:20:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 01:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14888152', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 01:20:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 01:20:09] Production.INFO: ProcessCDR(1,14888152,1,1,2)
[2025-04-12 01:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14888152,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14888152,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:20:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 01:20:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 01:20:09] Production.INFO: ==6134== Releasing lock...
[2025-04-12 01:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 01:20:09] Production.INFO: 26 MB #Memory Used#
[2025-04-12 01:20:13] Production.ERROR: CronJobId end10
[2025-04-12 01:20:13] Production.INFO: ==6128== Releasing lock...
[2025-04-12 01:20:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 01:20:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 01:20:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 01:20:16] Production.INFO: ============== Balance Warning START===========
[2025-04-12 01:20:16] Production.INFO: ============== Balance Warning END===========
[2025-04-12 01:20:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 01:20:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 01:20:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 01:20:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 01:20:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 01:20:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 01:20:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 01:20:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 01:20:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 01:20:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 01:20:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 01:20:16] Production.INFO: call_cost start
[2025-04-12 01:20:16] Production.INFO: call_cost end
[2025-04-12 01:20:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 01:20:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 01:20:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 01:20:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 01:20:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 01:20:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 01:20:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 01:20:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 01:20:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 01:20:17] Production.INFO: ==6124== Releasing lock...
[2025-04-12 01:20:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 01:20:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 01:20:19] Production.INFO: count ==853
[2025-04-12 01:20:19] Production.ERROR: pbx CDR StartTime 2025-04-11 22:20:06 - End Time 2025-04-12 01:20:06
[2025-04-12 01:20:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 01:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888151', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888151', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888151', 'tblTempVendorCDR_20' ) start
[2025-04-12 01:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888151', 'tblTempVendorCDR_20' ) end
[2025-04-12 01:20:19] Production.INFO: ProcessCDR(1,14888151,1,1,2)
[2025-04-12 01:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888151,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:20:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888151,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:20:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888151,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:20:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888151,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888151', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888151', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:20:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 01:20:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 01:20:23] Production.INFO: ==6132== Releasing lock...
[2025-04-12 01:20:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 01:20:23] Production.INFO: 34.5 MB #Memory Used#
[2025-04-12 06:21:01] Production.INFO: ==6189== Lock acquired, processing the job...
[2025-04-12 06:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 06:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 06:21:01] Production.INFO: neon service started
[2025-04-12 06:21:01] Production.INFO: neon service started
[2025-04-12 06:21:01] Production.INFO: ==6189== Releasing lock...
[2025-04-12 06:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 06:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 01:21:02] Production.INFO: ==6191== Lock acquired, processing the job...
[2025-04-12 01:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 05:21:02] Production.INFO: ==6193== Lock acquired, processing the job...
[2025-04-12 05:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 05:21:02] Production.INFO: ==6193== Releasing lock...
[2025-04-12 05:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 05:21:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 01:21:02] Production.INFO: ==6191== Releasing lock...
[2025-04-12 01:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 01:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 01:21:03] Production.INFO: ==6198== Lock acquired, processing the job...
[2025-04-12 01:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 01:21:03] Production.INFO: ==6202== Lock acquired, processing the job...
[2025-04-12 01:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 01:21:03] Production.INFO: ==6204== Lock acquired, processing the job...
[2025-04-12 01:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 01:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 01:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 01:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 01:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 01:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 01:21:03] Production.INFO: Account Balance Start.
[2025-04-12 01:21:03] Production.INFO: CreateAllLog Start
[2025-04-12 01:21:03] Production.INFO: 117
[2025-04-12 01:21:03] Production.INFO: Date 2025-04-08
[2025-04-12 01:21:03] Production.INFO: Reseller ==> 0
[2025-04-12 01:21:03] Production.INFO: ==6200== Lock acquired, processing the job...
[2025-04-12 01:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 01:21:03] Production.INFO: Date 2025-04-09
[2025-04-12 01:21:03] Production.INFO: Reseller ==> 0
[2025-04-12 01:21:03] Production.INFO: Date 2025-04-10
[2025-04-12 01:21:03] Production.INFO: Reseller ==> 0
[2025-04-12 01:21:03] Production.INFO: Date 2025-04-11
[2025-04-12 01:21:03] Production.INFO: Reseller ==> 0
[2025-04-12 01:21:03] Production.INFO: Date 2025-04-12
[2025-04-12 01:21:03] Production.INFO: Reseller ==> 0
[2025-04-12 01:21:03] Production.INFO: ==6206== Lock acquired, processing the job...
[2025-04-12 01:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 01:21:03] Production.INFO: Total Charge 0
[2025-04-12 01:21:03] Production.INFO: CreateAllLog End
[2025-04-12 01:21:03] Production.INFO: ==6208== Lock acquired, processing the job...
[2025-04-12 01:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 01:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 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-12 01:21:04] Production.INFO: count ==12
[2025-04-12 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-12 01:21:04] Production.INFO: count ==23
[2025-04-12 01:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888156') start
[2025-04-12 01:21:04] Production.INFO: ==6200== Releasing lock...
[2025-04-12 01:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 01:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 01:21:04] Production.INFO: Account Balance End.
[2025-04-12 01:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888156') end
[2025-04-12 01:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 01:21:04] Production.INFO: 1
[2025-04-12 01:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 01:21:04] Production.ERROR: CronJobId end 12
[2025-04-12 01:21:04] Production.INFO: ==6204== Releasing lock...
[2025-04-12 01:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 01:21:04] Production.INFO: ==6208== Releasing lock...
[2025-04-12 01:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 01:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 01:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 01:21:04] Production.ERROR: done
[2025-04-12 01:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 01:21:04] Production.ERROR: done
[2025-04-12 01:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 22:21:05
[end_date_ymd] => 2025-04-12 01:21:05
[RateCDR] => 1
)
[2025-04-12 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-11 22:21:05' and `end` < '2025-04-12 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-12 01:21:12] Production.ERROR: CronJobId end10
[2025-04-12 01:21:12] Production.INFO: ==6202== Releasing lock...
[2025-04-12 01:21:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 01:21:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 01:21:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 01:21:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 01:21:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 01:21:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 01:21:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 01:21:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 01:21:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 01:21:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 01:21:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 01:21:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 01:21:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 01:21:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 01:21:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 01:21:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 01:21:14] Production.INFO: call_cost start
[2025-04-12 01:21:14] Production.INFO: call_cost end
[2025-04-12 01:21:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 01:21:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 01:21:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 01:21:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 01:21:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 01:21:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 01:21:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 01:21:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 01:21:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 01:21:15] Production.INFO: ==6198== Releasing lock...
[2025-04-12 01:21:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 01:21:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 01:21:18] Production.INFO: count ==873
[2025-04-12 01:21:18] Production.ERROR: pbx CDR StartTime 2025-04-11 22:21:05 - End Time 2025-04-12 01:21:05
[2025-04-12 01:21:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 01:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888157', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888157', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888157', 'tblTempVendorCDR_20' ) start
[2025-04-12 01:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888157', 'tblTempVendorCDR_20' ) end
[2025-04-12 01:21:18] Production.INFO: ProcessCDR(1,14888157,1,1,2)
[2025-04-12 01:21:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888157,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:21:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888157,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:21:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888157,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:21:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888157,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:21:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888157', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:21:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888157', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:21:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 01:21:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 01:21:23] Production.INFO: ==6206== Releasing lock...
[2025-04-12 01:21:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 01:21:23] Production.INFO: 35.5 MB #Memory Used#
[2025-04-12 06:22:02] Production.INFO: ==6264== Lock acquired, processing the job...
[2025-04-12 06:22:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 06:22:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 06:22:02] Production.INFO: neon service started
[2025-04-12 06:22:02] Production.INFO: neon service started
[2025-04-12 06:22:02] Production.INFO: ==6264== Releasing lock...
[2025-04-12 06:22:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 06:22:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 01:22:02] Production.INFO: ==6266== Lock acquired, processing the job...
[2025-04-12 01:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 05:22:02] Production.INFO: ==6268== Lock acquired, processing the job...
[2025-04-12 05:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 05:22:02] Production.INFO: ==6268== Releasing lock...
[2025-04-12 05:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 05:22:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 01:22:02] Production.INFO: ==6266== Releasing lock...
[2025-04-12 01:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 01:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 01:22:03] Production.INFO: ==6273== Lock acquired, processing the job...
[2025-04-12 01:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 01:22:03] Production.INFO: ==6271== Lock acquired, processing the job...
[2025-04-12 01:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 01:22:03] Production.INFO: ==6281== Lock acquired, processing the job...
[2025-04-12 01:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 01:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 01:22:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 01:22:04] Production.INFO: count ==12
[2025-04-12 01:22:04] Production.INFO: ==6275== Lock acquired, processing the job...
[2025-04-12 01:22:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 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-12 01:22:04] Production.INFO: count ==23
[2025-04-12 01:22:04] Production.INFO: ==6277== Lock acquired, processing the job...
[2025-04-12 01:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 01:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888160') start
[2025-04-12 01:22:04] Production.INFO: ==6273== Releasing lock...
[2025-04-12 01:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 01:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 01:22:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 01:22:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 01:22:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 01:22:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 01:22:04] Production.INFO: ==6279== Lock acquired, processing the job...
[2025-04-12 01:22:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 01:22:04] Production.INFO: Account Balance Start.
[2025-04-12 01:22:04] Production.INFO: CreateAllLog Start
[2025-04-12 01:22:04] Production.INFO: 117
[2025-04-12 01:22:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 01:22:04] Production.INFO: Date 2025-04-08
[2025-04-12 01:22:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888160') end
[2025-04-12 01:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 01:22:04] Production.INFO: 1
[2025-04-12 01:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 01:22:04] Production.INFO: Date 2025-04-09
[2025-04-12 01:22:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:22:04] Production.INFO: Date 2025-04-10
[2025-04-12 01:22:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:22:04] Production.INFO: Date 2025-04-11
[2025-04-12 01:22:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:22:04] Production.INFO: ==6281== Releasing lock...
[2025-04-12 01:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 01:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 01:22:04] Production.INFO: Date 2025-04-12
[2025-04-12 01:22:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:22:04] Production.INFO: Total Charge 0
[2025-04-12 01:22:04] Production.INFO: CreateAllLog End
[2025-04-12 01:22:04] Production.ERROR: done
[2025-04-12 01:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 01:22:04] Production.INFO: Account Balance End.
[2025-04-12 01:22:04] Production.ERROR: CronJobId end 12
[2025-04-12 01:22:04] Production.INFO: ==6277== Releasing lock...
[2025-04-12 01:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 01:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 01:22:04] Production.ERROR: done
[2025-04-12 01:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 22:22:05
[end_date_ymd] => 2025-04-12 01:22:05
[RateCDR] => 1
)
[2025-04-12 01:22:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 22:22:05' and `end` < '2025-04-12 01:22:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 01:22:11] Production.ERROR: CronJobId end10
[2025-04-12 01:22:11] Production.INFO: ==6275== Releasing lock...
[2025-04-12 01:22:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 01:22:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 01:22:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 01:22:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 01:22:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 01:22:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 01:22:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 01:22:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 01:22:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 01:22:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 01:22:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 01:22:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 01:22:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 01:22:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 01:22:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 01:22:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 01:22:15] Production.INFO: call_cost start
[2025-04-12 01:22:15] Production.INFO: call_cost end
[2025-04-12 01:22:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 01:22:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 01:22:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 01:22:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 01:22:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 01:22:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 01:22:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 01:22:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 01:22:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 01:22:16] Production.INFO: ==6271== Releasing lock...
[2025-04-12 01:22:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 01:22:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 01:22:18] Production.INFO: count ==873
[2025-04-12 01:22:19] Production.ERROR: pbx CDR StartTime 2025-04-11 22:22:05 - End Time 2025-04-12 01:22:05
[2025-04-12 01:22:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 01:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888162', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888162', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888162', 'tblTempVendorCDR_20' ) start
[2025-04-12 01:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888162', 'tblTempVendorCDR_20' ) end
[2025-04-12 01:22:19] Production.INFO: ProcessCDR(1,14888162,1,1,2)
[2025-04-12 01:22:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888162,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:22:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888162,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:22:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888162,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:22:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888162,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888162', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888162', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:22:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 01:22:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 01:22:22] Production.INFO: ==6279== Releasing lock...
[2025-04-12 01:22:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 01:22:22] Production.INFO: 35.5 MB #Memory Used#
[2025-04-12 06:23:01] Production.INFO: ==6334== Lock acquired, processing the job...
[2025-04-12 06:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 06:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 06:23:01] Production.INFO: neon service started
[2025-04-12 06:23:01] Production.INFO: neon service started
[2025-04-12 06:23:01] Production.INFO: ==6334== Releasing lock...
[2025-04-12 06:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 06:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 01:23:01] Production.INFO: ==6336== Lock acquired, processing the job...
[2025-04-12 01:23:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 01:23:02] Production.INFO: ==6336== Releasing lock...
[2025-04-12 01:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 01:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 05:23:02] Production.INFO: ==6338== Lock acquired, processing the job...
[2025-04-12 05:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 05:23:02] Production.INFO: ==6338== Releasing lock...
[2025-04-12 05:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 05:23:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 01:23:02] Production.INFO: ==6341== Lock acquired, processing the job...
[2025-04-12 01:23:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 01:23:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 01:23:03] Production.INFO: ==6345== Lock acquired, processing the job...
[2025-04-12 01:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 01:23:03] Production.INFO: ==6347== Lock acquired, processing the job...
[2025-04-12 01:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 01:23:03] Production.INFO: ==6343== Lock acquired, processing the job...
[2025-04-12 01:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 01:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 01:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 01:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 01:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 01:23:03] Production.INFO: Account Balance Start.
[2025-04-12 01:23:03] Production.INFO: CreateAllLog Start
[2025-04-12 01:23:03] Production.INFO: 117
[2025-04-12 01:23:03] Production.INFO: Date 2025-04-08
[2025-04-12 01:23:03] Production.INFO: Reseller ==> 0
[2025-04-12 01:23:03] Production.INFO: Date 2025-04-09
[2025-04-12 01:23:03] Production.INFO: Reseller ==> 0
[2025-04-12 01:23:03] Production.INFO: Date 2025-04-10
[2025-04-12 01:23:03] Production.INFO: Reseller ==> 0
[2025-04-12 01:23:03] Production.INFO: Date 2025-04-11
[2025-04-12 01:23:03] Production.INFO: ==6349== Lock acquired, processing the job...
[2025-04-12 01:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 01:23:03] Production.INFO: Reseller ==> 0
[2025-04-12 01:23:03] Production.INFO: Date 2025-04-12
[2025-04-12 01:23:03] Production.INFO: Reseller ==> 0
[2025-04-12 01:23:03] Production.INFO: Total Charge 0
[2025-04-12 01:23:03] Production.INFO: CreateAllLog End
[2025-04-12 01:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 01:23:03] Production.INFO: ==6351== Lock acquired, processing the job...
[2025-04-12 01:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 01:23:03] Production.INFO: ==6343== Releasing lock...
[2025-04-12 01:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 01:23:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 01:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 01:23:03] Production.INFO: Account Balance End.
[2025-04-12 01:23:03] Production.INFO: count ==12
[2025-04-12 01:23:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 01:23:03] Production.ERROR: CronJobId end 12
[2025-04-12 01:23:03] Production.INFO: ==6347== Releasing lock...
[2025-04-12 01:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 01:23:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 01:23:03] Production.INFO: count ==23
[2025-04-12 01:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14888166') start
[2025-04-12 01:23:03] Production.ERROR: done
[2025-04-12 01:23:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 01:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888166') end
[2025-04-12 01:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 01:23:04] Production.INFO: 1
[2025-04-12 01:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 01:23:04] Production.INFO: ==6351== Releasing lock...
[2025-04-12 01:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 01:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 01:23:04] Production.ERROR: done
[2025-04-12 01:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 22:23:05
[end_date_ymd] => 2025-04-12 01:23:05
[RateCDR] => 1
)
[2025-04-12 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-11 22:23:05' and `end` < '2025-04-12 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-12 01:23:11] Production.ERROR: CronJobId end10
[2025-04-12 01:23:11] Production.INFO: ==6345== Releasing lock...
[2025-04-12 01:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 01:23:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 01:23:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 01:23:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 01:23:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 01:23:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 01:23:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 01:23:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 01:23:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 01:23:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 01:23:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 01:23:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 01:23:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 01:23:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 01:23:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 01:23:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 01:23:13] Production.INFO: call_cost start
[2025-04-12 01:23:13] Production.INFO: call_cost end
[2025-04-12 01:23:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 01:23:14] Production.INFO: ============== Report Schedule START===========
[2025-04-12 01:23:14] Production.INFO: ============== Report Schedule END===========
[2025-04-12 01:23:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 01:23:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 01:23:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 01:23:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 01:23:14] Production.INFO: ============== Deal alert START===========
[2025-04-12 01:23:14] Production.INFO: ============== Deal alert END===========
[2025-04-12 01:23:14] Production.INFO: ==6341== Releasing lock...
[2025-04-12 01:23:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 01:23:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 01:23:18] Production.INFO: count ==873
[2025-04-12 01:23:18] Production.ERROR: pbx CDR StartTime 2025-04-11 22:23:05 - End Time 2025-04-12 01:23:05
[2025-04-12 01:23:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 01:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888167', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888167', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888167', 'tblTempVendorCDR_20' ) start
[2025-04-12 01:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888167', 'tblTempVendorCDR_20' ) end
[2025-04-12 01:23:18] Production.INFO: ProcessCDR(1,14888167,1,1,2)
[2025-04-12 01:23:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888167,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:23:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888167,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:23:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888167,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:23:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888167,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888167', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888167', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:23:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 01:23:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 01:23:21] Production.INFO: ==6349== Releasing lock...
[2025-04-12 01:23:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 01:23:21] Production.INFO: 35.5 MB #Memory Used#
[2025-04-12 06:24:01] Production.INFO: ==6449== Lock acquired, processing the job...
[2025-04-12 06:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 06:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 06:24:01] Production.INFO: neon service started
[2025-04-12 06:24:01] Production.INFO: neon service started
[2025-04-12 06:24:01] Production.INFO: ==6449== Releasing lock...
[2025-04-12 06:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 06:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 05:24:02] Production.INFO: ==6453== Lock acquired, processing the job...
[2025-04-12 05:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 05:24:02] Production.INFO: ==6453== Releasing lock...
[2025-04-12 05:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 05:24:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 01:24:02] Production.INFO: ==6451== Lock acquired, processing the job...
[2025-04-12 01:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 01:24:02] Production.INFO: ==6451== Releasing lock...
[2025-04-12 01:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 01:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 01:24:03] Production.INFO: ==6462== Lock acquired, processing the job...
[2025-04-12 01:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 01:24:03] Production.INFO: ==6456== Lock acquired, processing the job...
[2025-04-12 01:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 01:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 01:24:03] Production.INFO: ==6458== Lock acquired, processing the job...
[2025-04-12 01:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 01:24:04] Production.INFO: Account Balance Start.
[2025-04-12 01:24:04] Production.INFO: CreateAllLog Start
[2025-04-12 01:24:04] Production.INFO: 117
[2025-04-12 01:24:04] Production.INFO: Date 2025-04-08
[2025-04-12 01:24:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:24:04] Production.INFO: ==6460== Lock acquired, processing the job...
[2025-04-12 01:24:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 01:24:04] Production.INFO: Date 2025-04-09
[2025-04-12 01:24:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:24:04] Production.INFO: Date 2025-04-10
[2025-04-12 01:24:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 01:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 01:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 01:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 01:24:04] Production.INFO: Date 2025-04-11
[2025-04-12 01:24:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:24:04] Production.INFO: ==6464== Lock acquired, processing the job...
[2025-04-12 01:24:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 01:24:04] Production.INFO: Date 2025-04-12
[2025-04-12 01:24:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:24:04] Production.INFO: ==6466== Lock acquired, processing the job...
[2025-04-12 01:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 01:24:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 01:24:04] Production.INFO: Total Charge 0
[2025-04-12 01:24:04] Production.INFO: CreateAllLog End
[2025-04-12 01:24:04] Production.INFO: ==6458== Releasing lock...
[2025-04-12 01:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 01:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 01:24:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 01:24:04] Production.INFO: count ==12
[2025-04-12 01:24:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 01:24:04] Production.INFO: count ==23
[2025-04-12 01:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888171') start
[2025-04-12 01:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888171') end
[2025-04-12 01:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 01:24:04] Production.INFO: 1
[2025-04-12 01:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 01:24:04] Production.INFO: Account Balance End.
[2025-04-12 01:24:04] Production.INFO: ==6466== Releasing lock...
[2025-04-12 01:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 01:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 01:24:04] Production.ERROR: CronJobId end 12
[2025-04-12 01:24:04] Production.INFO: ==6462== Releasing lock...
[2025-04-12 01:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 01:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 01:24:04] Production.ERROR: done
[2025-04-12 01:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 01:24:05] Production.ERROR: done
[2025-04-12 01:24:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 22:24:06
[end_date_ymd] => 2025-04-12 01:24:06
[RateCDR] => 1
)
[2025-04-12 01:24:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 22:24:06' and `end` < '2025-04-12 01:24:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 01:24:12] Production.ERROR: CronJobId end10
[2025-04-12 01:24:12] Production.INFO: ==6460== Releasing lock...
[2025-04-12 01:24:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 01:24:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 01:24:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 01:24:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 01:24:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 01:24:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 01:24:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 01:24:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 01:24:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 01:24:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 01:24:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 01:24:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 01:24:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 01:24:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 01:24:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 01:24:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 01:24:14] Production.INFO: call_cost start
[2025-04-12 01:24:14] Production.INFO: call_cost end
[2025-04-12 01:24:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 01:24:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 01:24:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 01:24:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 01:24:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 01:24:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 01:24:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 01:24:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 01:24:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 01:24:15] Production.INFO: ==6456== Releasing lock...
[2025-04-12 01:24:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 01:24:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 01:24:19] Production.INFO: count ==873
[2025-04-12 01:24:19] Production.ERROR: pbx CDR StartTime 2025-04-11 22:24:06 - End Time 2025-04-12 01:24:06
[2025-04-12 01:24:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 01:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888172', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888172', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888172', 'tblTempVendorCDR_20' ) start
[2025-04-12 01:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888172', 'tblTempVendorCDR_20' ) end
[2025-04-12 01:24:19] Production.INFO: ProcessCDR(1,14888172,1,1,2)
[2025-04-12 01:24:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888172,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:24:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888172,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:24:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888172,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:24:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888172,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888172', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888172', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:24:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 01:24:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 01:24:22] Production.INFO: ==6464== Releasing lock...
[2025-04-12 01:24:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 01:24:22] Production.INFO: 35.5 MB #Memory Used#
[2025-04-12 06:25:01] Production.INFO: ==6521== Lock acquired, processing the job...
[2025-04-12 06:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 06:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 06:25:01] Production.INFO: neon service started
[2025-04-12 06:25:01] Production.INFO: neon service started
[2025-04-12 06:25:01] Production.INFO: ==6521== Releasing lock...
[2025-04-12 06:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 06:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 01:25:01] Production.INFO: ==6523== Lock acquired, processing the job...
[2025-04-12 01:25:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 05:25:01] Production.INFO: ==6525== Lock acquired, processing the job...
[2025-04-12 05:25:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 05:25:01] Production.INFO: ==6525== Releasing lock...
[2025-04-12 05:25:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 05:25:01] Production.INFO: 25 MB #Memory Used#
[2025-04-12 01:25:02] Production.INFO: ==6523== Releasing lock...
[2025-04-12 01:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 01:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 01:25:03] Production.INFO: ==6527== Lock acquired, processing the job...
[2025-04-12 01:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 01:25:03] Production.INFO: ==6533== Lock acquired, processing the job...
[2025-04-12 01:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 01:25:03] Production.INFO: ==6531== Lock acquired, processing the job...
[2025-04-12 01:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 01:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 01:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 01:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 01:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 01:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 01:25:03] Production.INFO: Account Balance Start.
[2025-04-12 01:25:03] Production.INFO: CreateAllLog Start
[2025-04-12 01:25:03] Production.INFO: 117
[2025-04-12 01:25:03] Production.INFO: Date 2025-04-08
[2025-04-12 01:25:03] Production.INFO: ==6529== Lock acquired, processing the job...
[2025-04-12 01:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 01:25:03] Production.INFO: Reseller ==> 0
[2025-04-12 01:25:03] Production.INFO: Date 2025-04-09
[2025-04-12 01:25:03] Production.INFO: Reseller ==> 0
[2025-04-12 01:25:03] Production.INFO: Date 2025-04-10
[2025-04-12 01:25:03] Production.INFO: Reseller ==> 0
[2025-04-12 01:25:03] Production.INFO: Date 2025-04-11
[2025-04-12 01:25:03] Production.INFO: Reseller ==> 0
[2025-04-12 01:25:03] Production.INFO: Date 2025-04-12
[2025-04-12 01:25:03] Production.INFO: Reseller ==> 0
[2025-04-12 01:25:03] Production.INFO: ==6535== Lock acquired, processing the job...
[2025-04-12 01:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 01:25:03] Production.INFO: Total Charge 0
[2025-04-12 01:25:03] Production.INFO: ==6537== Lock acquired, processing the job...
[2025-04-12 01:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 01:25:03] Production.INFO: CreateAllLog End
[2025-04-12 01:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 01:25:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 01:25:03] Production.INFO: count ==12
[2025-04-12 01:25:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 01:25:03] Production.INFO: count ==23
[2025-04-12 01:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14888176') start
[2025-04-12 01:25:03] Production.INFO: ==6529== Releasing lock...
[2025-04-12 01:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 01:25:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 01:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14888176') end
[2025-04-12 01:25:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 01:25:03] Production.INFO: 1
[2025-04-12 01:25:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 01:25:04] Production.INFO: ==6537== Releasing lock...
[2025-04-12 01:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 01:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 01:25:04] Production.ERROR: done
[2025-04-12 01:25:04] Production.INFO: Account Balance End.
[2025-04-12 01:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 01:25:04] Production.ERROR: CronJobId end 12
[2025-04-12 01:25:04] Production.INFO: ==6533== Releasing lock...
[2025-04-12 01:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 01:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 01:25:04] Production.ERROR: done
[2025-04-12 01:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 22:25:05
[end_date_ymd] => 2025-04-12 01:25:05
[RateCDR] => 1
)
[2025-04-12 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-11 22:25:05' and `end` < '2025-04-12 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-12 01:25:11] Production.ERROR: CronJobId end10
[2025-04-12 01:25:11] Production.INFO: ==6531== Releasing lock...
[2025-04-12 01:25:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 01:25:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 01:25:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 01:25:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 01:25:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 01:25:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 01:25:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 01:25:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 01:25:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 01:25:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 01:25:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 01:25:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 01:25:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 01:25:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 01:25:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 01:25:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 01:25:14] Production.INFO: call_cost start
[2025-04-12 01:25:14] Production.INFO: call_cost end
[2025-04-12 01:25:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 01:25:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 01:25:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 01:25:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 01:25:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 01:25:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 01:25:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 01:25:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 01:25:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 01:25:15] Production.INFO: ==6527== Releasing lock...
[2025-04-12 01:25:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 01:25:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 01:25:18] Production.INFO: count ==873
[2025-04-12 01:25:18] Production.ERROR: pbx CDR StartTime 2025-04-11 22:25:05 - End Time 2025-04-12 01:25:05
[2025-04-12 01:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 01:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888177', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888177', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888177', 'tblTempVendorCDR_20' ) start
[2025-04-12 01:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888177', 'tblTempVendorCDR_20' ) end
[2025-04-12 01:25:18] Production.INFO: ProcessCDR(1,14888177,1,1,2)
[2025-04-12 01:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888177,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:25:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888177,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:25:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888177,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:25:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888177,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888177', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888177', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:25:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 01:25:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 01:25:21] Production.INFO: ==6535== Releasing lock...
[2025-04-12 01:25:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 01:25:21] Production.INFO: 35.5 MB #Memory Used#
[2025-04-12 06:26:01] Production.INFO: ==6594== Lock acquired, processing the job...
[2025-04-12 06:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 06:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 06:26:01] Production.INFO: neon service started
[2025-04-12 06:26:01] Production.INFO: neon service started
[2025-04-12 06:26:01] Production.INFO: ==6594== Releasing lock...
[2025-04-12 06:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 06:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 01:26:02] Production.INFO: ==6596== Lock acquired, processing the job...
[2025-04-12 01:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 05:26:02] Production.INFO: ==6598== Lock acquired, processing the job...
[2025-04-12 05:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 01:26:02] Production.INFO: ==6596== Releasing lock...
[2025-04-12 01:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 01:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 05:26:02] Production.INFO: ==6598== Releasing lock...
[2025-04-12 05:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 05:26:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 01:26:03] Production.INFO: ==6607== Lock acquired, processing the job...
[2025-04-12 01:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 01:26:03] Production.INFO: ==6609== Lock acquired, processing the job...
[2025-04-12 01:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 01:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 01:26:03] Production.INFO: ==6601== Lock acquired, processing the job...
[2025-04-12 01:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 01:26:03] Production.INFO: Account Balance Start.
[2025-04-12 01:26:03] Production.INFO: CreateAllLog Start
[2025-04-12 01:26:03] Production.INFO: 117
[2025-04-12 01:26:03] Production.INFO: Date 2025-04-08
[2025-04-12 01:26:03] Production.INFO: ==6603== Lock acquired, processing the job...
[2025-04-12 01:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 01:26:03] Production.INFO: Reseller ==> 0
[2025-04-12 01:26:03] Production.INFO: Date 2025-04-09
[2025-04-12 01:26:03] Production.INFO: ==6605== Lock acquired, processing the job...
[2025-04-12 01:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 01:26:03] Production.INFO: Reseller ==> 0
[2025-04-12 01:26:03] Production.INFO: Date 2025-04-10
[2025-04-12 01:26:03] Production.INFO: Reseller ==> 0
[2025-04-12 01:26:03] Production.INFO: Date 2025-04-11
[2025-04-12 01:26:03] Production.INFO: Reseller ==> 0
[2025-04-12 01:26:03] Production.INFO: ==6611== Lock acquired, processing the job...
[2025-04-12 01:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 01:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 01:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 01:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 01:26:03] Production.INFO: Date 2025-04-12
[2025-04-12 01:26:03] Production.INFO: Reseller ==> 0
[2025-04-12 01:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 01:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 01:26:04] Production.ERROR: done
[2025-04-12 01:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 01:26:04] Production.INFO: Total Charge 0
[2025-04-12 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-12 01:26:04] Production.INFO: CreateAllLog End
[2025-04-12 01:26:04] Production.INFO: count ==12
[2025-04-12 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-12 01:26:04] Production.INFO: count ==23
[2025-04-12 01:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888181') start
[2025-04-12 01:26:04] Production.INFO: ==6603== Releasing lock...
[2025-04-12 01:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 01:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 01:26:04] Production.ERROR: done
[2025-04-12 01:26:04] Production.INFO: Account Balance End.
[2025-04-12 01:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888181') end
[2025-04-12 01:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 01:26:04] Production.INFO: 1
[2025-04-12 01:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 01:26:04] Production.ERROR: CronJobId end 12
[2025-04-12 01:26:04] Production.INFO: ==6607== Releasing lock...
[2025-04-12 01:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 01:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 01:26:04] Production.INFO: ==6611== Releasing lock...
[2025-04-12 01:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 01:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 01:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 22:26:05
[end_date_ymd] => 2025-04-12 01:26:05
[RateCDR] => 1
)
[2025-04-12 01:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 22:26:05' and `end` < '2025-04-12 01:26:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 01:26:11] Production.ERROR: CronJobId end10
[2025-04-12 01:26:11] Production.INFO: ==6605== Releasing lock...
[2025-04-12 01:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 01:26:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 01:26:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 01:26:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 01:26:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 01:26:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 01:26:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 01:26:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 01:26:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 01:26:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 01:26:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 01:26:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 01:26:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 01:26:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 01:26:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 01:26:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 01:26:14] Production.INFO: call_cost start
[2025-04-12 01:26:14] Production.INFO: call_cost end
[2025-04-12 01:26:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 01:26:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 01:26:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 01:26:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 01:26:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 01:26:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 01:26:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 01:26:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 01:26:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 01:26:15] Production.INFO: ==6601== Releasing lock...
[2025-04-12 01:26:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 01:26:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 01:26:18] Production.INFO: count ==873
[2025-04-12 01:26:18] Production.ERROR: pbx CDR StartTime 2025-04-11 22:26:05 - End Time 2025-04-12 01:26:05
[2025-04-12 01:26:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 01:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888182', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888182', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888182', 'tblTempVendorCDR_20' ) start
[2025-04-12 01:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888182', 'tblTempVendorCDR_20' ) end
[2025-04-12 01:26:18] Production.INFO: ProcessCDR(1,14888182,1,1,2)
[2025-04-12 01:26:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888182,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:26:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888182,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:26:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888182,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:26:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888182,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888182', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888182', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:26:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 01:26:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 01:26:22] Production.INFO: ==6609== Releasing lock...
[2025-04-12 01:26:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 01:26:22] Production.INFO: 35.5 MB #Memory Used#
[2025-04-12 06:27:02] Production.INFO: ==6664== Lock acquired, processing the job...
[2025-04-12 06:27:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 06:27:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 06:27:02] Production.INFO: neon service started
[2025-04-12 06:27:02] Production.INFO: neon service started
[2025-04-12 06:27:02] Production.INFO: ==6664== Releasing lock...
[2025-04-12 06:27:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 06:27:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 01:27:02] Production.INFO: ==6667== Lock acquired, processing the job...
[2025-04-12 01:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 01:27:03] Production.INFO: ==6667== Releasing lock...
[2025-04-12 01:27:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 01:27:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 05:27:03] Production.INFO: ==6669== Lock acquired, processing the job...
[2025-04-12 05:27:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 05:27:03] Production.INFO: ==6669== Releasing lock...
[2025-04-12 05:27:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 05:27:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 01:27:03] Production.INFO: ==6671== Lock acquired, processing the job...
[2025-04-12 01:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 01:27:04] Production.INFO: ==6675== Lock acquired, processing the job...
[2025-04-12 01:27:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 01:27:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 01:27:04] Production.INFO: ==6673== Lock acquired, processing the job...
[2025-04-12 01:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 01:27:04] Production.INFO: ==6677== Lock acquired, processing the job...
[2025-04-12 01:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 01:27:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 01:27:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 01:27:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 01:27:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 01:27:04] Production.INFO: Account Balance Start.
[2025-04-12 01:27:04] Production.INFO: CreateAllLog Start
[2025-04-12 01:27:04] Production.INFO: ==6679== Lock acquired, processing the job...
[2025-04-12 01:27:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 01:27:04] Production.INFO: 117
[2025-04-12 01:27:04] Production.INFO: Date 2025-04-08
[2025-04-12 01:27:04] Production.INFO: ==6681== Lock acquired, processing the job...
[2025-04-12 01:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 01:27:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:27:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 01:27:04] Production.INFO: Date 2025-04-09
[2025-04-12 01:27:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:27:04] Production.INFO: Date 2025-04-10
[2025-04-12 01:27:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:27:04] Production.INFO: Date 2025-04-11
[2025-04-12 01:27:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:27:04] Production.INFO: ==6673== Releasing lock...
[2025-04-12 01:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 01:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 01:27:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 01:27:04] Production.INFO: Date 2025-04-12
[2025-04-12 01:27:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:27:04] Production.INFO: count ==12
[2025-04-12 01:27:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 01:27:04] Production.INFO: count ==23
[2025-04-12 01:27:04] Production.INFO: Total Charge 0
[2025-04-12 01:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888186') start
[2025-04-12 01:27:04] Production.ERROR: done
[2025-04-12 01:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 01:27:04] Production.INFO: CreateAllLog End
[2025-04-12 01:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888186') end
[2025-04-12 01:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 01:27:04] Production.INFO: 1
[2025-04-12 01:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 01:27:04] Production.ERROR: done
[2025-04-12 01:27:04] Production.INFO: ==6681== Releasing lock...
[2025-04-12 01:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 01:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 01:27:05] Production.INFO: Account Balance End.
[2025-04-12 01:27:05] Production.ERROR: CronJobId end 12
[2025-04-12 01:27:05] Production.INFO: ==6677== Releasing lock...
[2025-04-12 01:27:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 01:27:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 01:27:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 22:27:06
[end_date_ymd] => 2025-04-12 01:27:06
[RateCDR] => 1
)
[2025-04-12 01: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-11 22:27:06' and `end` < '2025-04-12 01: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-12 01:27:12] Production.ERROR: CronJobId end10
[2025-04-12 01:27:12] Production.INFO: ==6675== Releasing lock...
[2025-04-12 01:27:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 01:27:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 01:27:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 01:27:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 01:27:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 01:27:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 01:27:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 01:27:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 01:27:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 01:27:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 01:27:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 01:27:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 01:27:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 01:27:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 01:27:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 01:27:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 01:27:15] Production.INFO: call_cost start
[2025-04-12 01:27:15] Production.INFO: call_cost end
[2025-04-12 01:27:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 01:27:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 01:27:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 01:27:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 01:27:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 01:27:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 01:27:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 01:27:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 01:27:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 01:27:16] Production.INFO: ==6671== Releasing lock...
[2025-04-12 01:27:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 01:27:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 01:27:18] Production.INFO: count ==873
[2025-04-12 01:27:19] Production.ERROR: pbx CDR StartTime 2025-04-11 22:27:06 - End Time 2025-04-12 01:27:06
[2025-04-12 01:27:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 01:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888187', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888187', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888187', 'tblTempVendorCDR_20' ) start
[2025-04-12 01:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888187', 'tblTempVendorCDR_20' ) end
[2025-04-12 01:27:19] Production.INFO: ProcessCDR(1,14888187,1,1,2)
[2025-04-12 01:27:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888187,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:27:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888187,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:27:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888187,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:27:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888187,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888187', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888187', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:27:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 01:27:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 01:27:22] Production.INFO: ==6679== Releasing lock...
[2025-04-12 01:27:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 01:27:22] Production.INFO: 35.5 MB #Memory Used#
[2025-04-12 06:28:01] Production.INFO: ==6736== Lock acquired, processing the job...
[2025-04-12 06:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 06:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 06:28:01] Production.INFO: neon service started
[2025-04-12 06:28:01] Production.INFO: neon service started
[2025-04-12 06:28:01] Production.INFO: ==6736== Releasing lock...
[2025-04-12 06:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 06:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 01:28:02] Production.INFO: ==6738== Lock acquired, processing the job...
[2025-04-12 01:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 01:28:02] Production.INFO: ==6738== Releasing lock...
[2025-04-12 01:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 01:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 05:28:02] Production.INFO: ==6740== Lock acquired, processing the job...
[2025-04-12 05:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 05:28:02] Production.INFO: ==6740== Releasing lock...
[2025-04-12 05:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 05:28:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 01:28:03] Production.INFO: ==6744== Lock acquired, processing the job...
[2025-04-12 01:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 01:28:03] Production.INFO: ==6753== Lock acquired, processing the job...
[2025-04-12 01:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 01:28:03] Production.INFO: ==6742== Lock acquired, processing the job...
[2025-04-12 01:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 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-12 01:28:03] Production.INFO: ==6744== Releasing lock...
[2025-04-12 01:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 01:28:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 01:28:03] Production.INFO: ==6746== Lock acquired, processing the job...
[2025-04-12 01:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 01:28:03] Production.INFO: ==6748== Lock acquired, processing the job...
[2025-04-12 01:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 01:28:03] Production.INFO: count ==12
[2025-04-12 01:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 01:28:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 01:28:03] Production.INFO: ==6751== Lock acquired, processing the job...
[2025-04-12 01:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 01:28:03] Production.INFO: count ==23
[2025-04-12 01:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888189') start
[2025-04-12 01:28:04] Production.INFO: Account Balance Start.
[2025-04-12 01:28:04] Production.INFO: CreateAllLog Start
[2025-04-12 01:28:04] Production.INFO: 117
[2025-04-12 01:28:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 01:28:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 01:28:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 01:28:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 01:28:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 01:28:04] Production.INFO: Date 2025-04-08
[2025-04-12 01:28:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:28:04] Production.INFO: Date 2025-04-09
[2025-04-12 01:28:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888189') end
[2025-04-12 01:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 01:28:04] Production.INFO: 1
[2025-04-12 01:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 01:28:04] Production.INFO: ==6753== Releasing lock...
[2025-04-12 01:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 01:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 01:28:04] Production.INFO: Date 2025-04-10
[2025-04-12 01:28:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:28:04] Production.INFO: Date 2025-04-11
[2025-04-12 01:28:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:28:04] Production.INFO: Date 2025-04-12
[2025-04-12 01:28:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:28:04] Production.INFO: Total Charge 0
[2025-04-12 01:28:04] Production.INFO: CreateAllLog End
[2025-04-12 01:28:04] Production.ERROR: done
[2025-04-12 01:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 01:28:04] Production.INFO: Account Balance End.
[2025-04-12 01:28:04] Production.ERROR: done
[2025-04-12 01:28:04] Production.ERROR: CronJobId end 12
[2025-04-12 01:28:04] Production.INFO: ==6748== Releasing lock...
[2025-04-12 01:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 01:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 01:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 22:28:05
[end_date_ymd] => 2025-04-12 01:28:05
[RateCDR] => 1
)
[2025-04-12 01:28:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 22:28:05' and `end` < '2025-04-12 01:28:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 01:28:11] Production.ERROR: CronJobId end10
[2025-04-12 01:28:11] Production.INFO: ==6746== Releasing lock...
[2025-04-12 01:28:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 01:28:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 01:28:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 01:28:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 01:28:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 01:28:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 01:28:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 01:28:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 01:28:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 01:28:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 01:28:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 01:28:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 01:28:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 01:28:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 01:28:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 01:28:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 01:28:14] Production.INFO: call_cost start
[2025-04-12 01:28:14] Production.INFO: call_cost end
[2025-04-12 01:28:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 01:28:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 01:28:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 01:28:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 01:28:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 01:28:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 01:28:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 01:28:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 01:28:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 01:28:15] Production.INFO: ==6742== Releasing lock...
[2025-04-12 01:28:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 01:28:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 01:28:18] Production.INFO: count ==874
[2025-04-12 01:28:18] Production.ERROR: pbx CDR StartTime 2025-04-11 22:28:05 - End Time 2025-04-12 01:28:05
[2025-04-12 01:28:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 01:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888192', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888192', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888192', 'tblTempVendorCDR_20' ) start
[2025-04-12 01:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888192', 'tblTempVendorCDR_20' ) end
[2025-04-12 01:28:18] Production.INFO: ProcessCDR(1,14888192,1,1,2)
[2025-04-12 01:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888192,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:28:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888192,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:28:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888192,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:28:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888192,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:28:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888192', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:28:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888192', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:28:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 01:28:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 01:28:24] Production.INFO: ==6751== Releasing lock...
[2025-04-12 01:28:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 01:28:24] Production.INFO: 35 MB #Memory Used#
[2025-04-12 06:29:02] Production.INFO: ==6811== Lock acquired, processing the job...
[2025-04-12 06:29:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 06:29:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 06:29:02] Production.INFO: neon service started
[2025-04-12 06:29:02] Production.INFO: neon service started
[2025-04-12 06:29:02] Production.INFO: ==6811== Releasing lock...
[2025-04-12 06:29:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 06:29:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 01:29:02] Production.INFO: ==6813== Lock acquired, processing the job...
[2025-04-12 01:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 01:29:02] Production.INFO: ==6813== Releasing lock...
[2025-04-12 01:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 01:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 05:29:03] Production.INFO: ==6815== Lock acquired, processing the job...
[2025-04-12 05:29:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 05:29:03] Production.INFO: ==6815== Releasing lock...
[2025-04-12 05:29:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 05:29:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 01:29:03] Production.INFO: ==6820== Lock acquired, processing the job...
[2025-04-12 01:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 01:29:04] Production.INFO: ==6824== Lock acquired, processing the job...
[2025-04-12 01:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 01:29:04] Production.INFO: ==6818== Lock acquired, processing the job...
[2025-04-12 01:29:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 01:29:04] Production.INFO: ==6822== Lock acquired, processing the job...
[2025-04-12 01:29:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 01:29:04] Production.INFO: ==6826== Lock acquired, processing the job...
[2025-04-12 01:29:04] Production.INFO: Account Balance Start.
[2025-04-12 01:29:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 01:29:04] Production.INFO: CreateAllLog Start
[2025-04-12 01:29:04] Production.INFO: 117
[2025-04-12 01:29:04] Production.INFO: Date 2025-04-08
[2025-04-12 01:29:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:29:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 01:29:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 01:29:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 01:29:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 01:29:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 01:29:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 01:29:04] Production.INFO: Date 2025-04-09
[2025-04-12 01:29:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:29:04] Production.INFO: Date 2025-04-10
[2025-04-12 01:29:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:29:04] Production.INFO: ==6828== Lock acquired, processing the job...
[2025-04-12 01:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 01:29:04] Production.INFO: Date 2025-04-11
[2025-04-12 01:29:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:29:04] Production.INFO: Date 2025-04-12
[2025-04-12 01:29:04] Production.INFO: ==6820== Releasing lock...
[2025-04-12 01:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 01:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 01:29:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:29:04] Production.INFO: Total Charge 0
[2025-04-12 01:29:04] Production.INFO: CreateAllLog End
[2025-04-12 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-12 01:29:04] Production.INFO: count ==12
[2025-04-12 01:29:04] Production.ERROR: done
[2025-04-12 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-12 01:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 01:29:04] Production.INFO: count ==23
[2025-04-12 01:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888196') start
[2025-04-12 01:29:04] Production.ERROR: done
[2025-04-12 01:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888196') end
[2025-04-12 01:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 01:29:04] Production.INFO: 1
[2025-04-12 01:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 01:29:04] Production.INFO: ==6828== Releasing lock...
[2025-04-12 01:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 01:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 01:29:04] Production.INFO: Account Balance End.
[2025-04-12 01:29:04] Production.ERROR: CronJobId end 12
[2025-04-12 01:29:04] Production.INFO: ==6824== Releasing lock...
[2025-04-12 01:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 01:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 01:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 22:29:05
[end_date_ymd] => 2025-04-12 01:29:05
[RateCDR] => 1
)
[2025-04-12 01:29:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 22:29:05' and `end` < '2025-04-12 01:29:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 01:29:11] Production.ERROR: CronJobId end10
[2025-04-12 01:29:11] Production.INFO: ==6822== Releasing lock...
[2025-04-12 01:29:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 01:29:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 01:29:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 01:29:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 01:29:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 01:29:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 01:29:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 01:29:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 01:29:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 01:29:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 01:29:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 01:29:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 01:29:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 01:29:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 01:29:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 01:29:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 01:29:15] Production.INFO: call_cost start
[2025-04-12 01:29:15] Production.INFO: call_cost end
[2025-04-12 01:29:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 01:29:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 01:29:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 01:29:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 01:29:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 01:29:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 01:29:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 01:29:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 01:29:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 01:29:16] Production.INFO: ==6818== Releasing lock...
[2025-04-12 01:29:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 01:29:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 01:29:18] Production.INFO: count ==874
[2025-04-12 01:29:19] Production.ERROR: pbx CDR StartTime 2025-04-11 22:29:05 - End Time 2025-04-12 01:29:05
[2025-04-12 01:29:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 01:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888197', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888197', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888197', 'tblTempVendorCDR_20' ) start
[2025-04-12 01:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888197', 'tblTempVendorCDR_20' ) end
[2025-04-12 01:29:19] Production.INFO: ProcessCDR(1,14888197,1,1,2)
[2025-04-12 01:29:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888197,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:29:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888197,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:29:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888197,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:29:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888197,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888197', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888197', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:29:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 01:29:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 01:29:22] Production.INFO: ==6826== Releasing lock...
[2025-04-12 01:29:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 01:29:22] Production.INFO: 35 MB #Memory Used#
[2025-04-12 06:30:01] Production.INFO: ==6882== Lock acquired, processing the job...
[2025-04-12 06:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 06:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 06:30:01] Production.INFO: neon service started
[2025-04-12 06:30:01] Production.INFO: neon service started
[2025-04-12 06:30:01] Production.INFO: ==6882== Releasing lock...
[2025-04-12 06:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 06:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 01:30:02] Production.INFO: ==6884== Lock acquired, processing the job...
[2025-04-12 01:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 05:30:02] Production.INFO: ==6886== Lock acquired, processing the job...
[2025-04-12 05:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 05:30:02] Production.INFO: ==6886== Releasing lock...
[2025-04-12 05:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 05:30:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 01:30:03] Production.INFO: ==6884== Releasing lock...
[2025-04-12 01:30:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 01:30:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 01:30:04] Production.INFO: ==6897== Lock acquired, processing the job...
[2025-04-12 01:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 01:30:04] Production.INFO: ==6889== Lock acquired, processing the job...
[2025-04-12 01:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 01:30:04] Production.INFO: ==6903== Lock acquired, processing the job...
[2025-04-12 01:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 01:30:04] Production.INFO: ==6901== Lock acquired, processing the job...
[2025-04-12 01:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 01:30:04] Production.INFO: Account Balance Start.
[2025-04-12 01:30:04] Production.INFO: CreateAllLog Start
[2025-04-12 01:30:04] Production.INFO: 117
[2025-04-12 01:30:04] Production.INFO: Date 2025-04-08
[2025-04-12 01:30:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:30:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 01:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 01:30:04] Production.ERROR: CronJob PID - 6897
[2025-04-12 01:30:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-04-12 01:30:04] Production.ERROR: CronJob ID - 12
[2025-04-12 01:30:04] Production.ERROR: CronJob Last Run Time 2025-04-12 01:30:00
[2025-04-12 01:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 01:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 01:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 01:30:04] Production.ERROR: CronJob PID - 6901
[2025-04-12 01:30:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-04-12 01:30:04] Production.ERROR: CronJob ID - 17
[2025-04-12 01:30:04] Production.ERROR: CronJob Last Run Time 2025-04-12 01:30:00
[2025-04-12 01:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 01:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 01:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 01:30:04] Production.ERROR: CronJob PID - 6903
[2025-04-12 01:30:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-04-12 01:30:04] Production.ERROR: CronJob ID - 19
[2025-04-12 01:30:04] Production.ERROR: CronJob Last Run Time 2025-04-12 01:30:00
[2025-04-12 01:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 01:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 01:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 01:30:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 01:30:04] Production.INFO: ==6889== Releasing lock...
[2025-04-12 01:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 01:30:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 01:30:04] Production.INFO: ==6891== Lock acquired, processing the job...
[2025-04-12 01:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 01:30:04] Production.INFO: Date 2025-04-09
[2025-04-12 01:30:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 01:30:04] Production.INFO: ==6893== Lock acquired, processing the job...
[2025-04-12 01:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 01:30:04] Production.INFO: count ==12
[2025-04-12 01:30:04] Production.INFO: ==6895== Lock acquired, processing the job...
[2025-04-12 01:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 01:30:04] Production.INFO: Date 2025-04-10
[2025-04-12 01:30:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 01:30:04] Production.INFO: count ==23
[2025-04-12 01:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888199') start
[2025-04-12 01:30:04] Production.INFO: Date 2025-04-11
[2025-04-12 01:30:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:30:04] Production.INFO: ==6899== Lock acquired, processing the job...
[2025-04-12 01:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 01:30:04] Production.INFO: Date 2025-04-12
[2025-04-12 01:30:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:30:04] Production.INFO: Total Charge 0
[2025-04-12 01:30:04] Production.INFO: CreateAllLog End
[2025-04-12 01:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 01:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888199') end
[2025-04-12 01:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 01:30:04] Production.INFO: 1
[2025-04-12 01:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 01:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 01:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 01:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 01:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 01:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 01:30:04] Production.ERROR: done
[2025-04-12 01:30:04] Production.INFO: ==6903== Releasing lock...
[2025-04-12 01:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 01:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 01:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 01:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14888202', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 01:30:05] Production.INFO: Account Balance End.
[2025-04-12 01:30:05] Production.ERROR: CronJobId end 12
[2025-04-12 01:30:05] Production.INFO: ==6897== Releasing lock...
[2025-04-12 01:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 01:30:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 01:30:05] Production.ERROR: done
[2025-04-12 01:30:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 01:30:05] Production.INFO: ==6893== Releasing lock...
[2025-04-12 01:30:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 01:30:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 01:30:05] Production.ERROR: done
[2025-04-12 01:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 22:30:06
[end_date_ymd] => 2025-04-12 01:30:06
[RateCDR] => 1
)
[2025-04-12 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-11 22:30:06' and `end` < '2025-04-12 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-12 01:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14888202', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 01:30:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 01:30:09] Production.INFO: ProcessCDR(1,14888202,1,1,2)
[2025-04-12 01:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14888202,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14888202,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 01:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 01:30:09] Production.INFO: ==6901== Releasing lock...
[2025-04-12 01:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 01:30:09] Production.INFO: 26 MB #Memory Used#
[2025-04-12 01:30:14] Production.ERROR: CronJobId end10
[2025-04-12 01:30:14] Production.INFO: ==6895== Releasing lock...
[2025-04-12 01:30:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 01:30:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 01:30:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 01:30:17] Production.INFO: ============== Balance Warning START===========
[2025-04-12 01:30:17] Production.INFO: ============== Balance Warning END===========
[2025-04-12 01:30:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 01:30:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 01:30:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 01:30:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 01:30:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 01:30:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 01:30:17] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 01:30:17] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 01:30:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 01:30:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 01:30:17] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 01:30:17] Production.INFO: call_cost start
[2025-04-12 01:30:17] Production.INFO: call_cost end
[2025-04-12 01:30:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 01:30:18] Production.INFO: ============== Report Schedule START===========
[2025-04-12 01:30:18] Production.INFO: ============== Report Schedule END===========
[2025-04-12 01:30:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 01:30:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 01:30:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 01:30:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 01:30:18] Production.INFO: ============== Deal alert START===========
[2025-04-12 01:30:18] Production.INFO: ============== Deal alert END===========
[2025-04-12 01:30:18] Production.INFO: ==6891== Releasing lock...
[2025-04-12 01:30:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 01:30:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 01:30:19] Production.INFO: count ==883
[2025-04-12 01:30:19] Production.ERROR: pbx CDR StartTime 2025-04-11 22:30:06 - End Time 2025-04-12 01:30:06
[2025-04-12 01:30:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 01:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888203', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888203', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888203', 'tblTempVendorCDR_20' ) start
[2025-04-12 01:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888203', 'tblTempVendorCDR_20' ) end
[2025-04-12 01:30:19] Production.INFO: ProcessCDR(1,14888203,1,1,2)
[2025-04-12 01:30:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888203,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:30:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888203,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:30:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888203,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:30:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888203,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:30:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888203', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:30:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888203', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:30:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 01:30:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 01:30:24] Production.INFO: ==6899== Releasing lock...
[2025-04-12 01:30:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 01:30:24] Production.INFO: 34.75 MB #Memory Used#
[2025-04-12 06:31:02] Production.INFO: ==6961== Lock acquired, processing the job...
[2025-04-12 06:31:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 06:31:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 06:31:02] Production.INFO: neon service started
[2025-04-12 06:31:02] Production.INFO: neon service started
[2025-04-12 06:31:02] Production.INFO: ==6961== Releasing lock...
[2025-04-12 06:31:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 06:31:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 01:31:02] Production.INFO: ==6963== Lock acquired, processing the job...
[2025-04-12 01:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 01:31:03] Production.INFO: ==6963== Releasing lock...
[2025-04-12 01:31:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 01:31:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 05:31:03] Production.INFO: ==6965== Lock acquired, processing the job...
[2025-04-12 05:31:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 05:31:03] Production.INFO: ==6965== Releasing lock...
[2025-04-12 05:31:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 05:31:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 01:31:03] Production.INFO: ==6967== Lock acquired, processing the job...
[2025-04-12 01:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 01:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 01:31:03] Production.INFO: ==6969== Lock acquired, processing the job...
[2025-04-12 01:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 01:31:03] Production.INFO: ==6971== Lock acquired, processing the job...
[2025-04-12 01:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 01:31:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 01:31:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 01:31:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 01:31:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 01:31:04] Production.INFO: ==6975== Lock acquired, processing the job...
[2025-04-12 01:31:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 01:31:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 01:31:04] Production.INFO: ==6973== Lock acquired, processing the job...
[2025-04-12 01:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 01:31:04] Production.INFO: ==6977== Lock acquired, processing the job...
[2025-04-12 01:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 01:31:04] Production.INFO: ==6969== Releasing lock...
[2025-04-12 01:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 01:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 01:31:04] Production.INFO: Account Balance Start.
[2025-04-12 01:31:04] Production.INFO: CreateAllLog Start
[2025-04-12 01:31:04] Production.INFO: 117
[2025-04-12 01:31:04] Production.INFO: Date 2025-04-08
[2025-04-12 01:31:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 01:31:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:31:04] Production.INFO: Date 2025-04-09
[2025-04-12 01:31:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:31:04] Production.INFO: Date 2025-04-10
[2025-04-12 01:31:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:31:04] Production.INFO: count ==12
[2025-04-12 01:31:04] Production.ERROR: done
[2025-04-12 01:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 01:31:04] Production.INFO: Date 2025-04-11
[2025-04-12 01:31:04] Production.INFO: Reseller ==> 0
[2025-04-12 01: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-12 01:31:04] Production.INFO: Date 2025-04-12
[2025-04-12 01:31:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:31:04] Production.INFO: count ==23
[2025-04-12 01:31:04] Production.INFO: Total Charge 0
[2025-04-12 01:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888206') start
[2025-04-12 01:31:04] Production.INFO: CreateAllLog End
[2025-04-12 01:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888206') end
[2025-04-12 01:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 01:31:04] Production.INFO: 1
[2025-04-12 01:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 01:31:04] Production.ERROR: done
[2025-04-12 01:31:04] Production.INFO: ==6977== Releasing lock...
[2025-04-12 01:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 01:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 01:31:04] Production.INFO: Account Balance End.
[2025-04-12 01:31:04] Production.ERROR: CronJobId end 12
[2025-04-12 01:31:04] Production.INFO: ==6973== Releasing lock...
[2025-04-12 01:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 01:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 01:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 22:31:05
[end_date_ymd] => 2025-04-12 01:31:05
[RateCDR] => 1
)
[2025-04-12 01:31:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 22:31:05' and `end` < '2025-04-12 01:31:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 01:31:12] Production.ERROR: CronJobId end10
[2025-04-12 01:31:12] Production.INFO: ==6971== Releasing lock...
[2025-04-12 01:31:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 01:31:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 01:31:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 01:31:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 01:31:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 01:31:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 01:31:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 01:31:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 01:31:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 01:31:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 01:31:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 01:31:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 01:31:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 01:31:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 01:31:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 01:31:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 01:31:14] Production.INFO: call_cost start
[2025-04-12 01:31:14] Production.INFO: call_cost end
[2025-04-12 01:31:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 01:31:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 01:31:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 01:31:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 01:31:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 01:31:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 01:31:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 01:31:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 01:31:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 01:31:15] Production.INFO: ==6967== Releasing lock...
[2025-04-12 01:31:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 01:31:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 01:31:18] Production.INFO: count ==883
[2025-04-12 01:31:19] Production.ERROR: pbx CDR StartTime 2025-04-11 22:31:05 - End Time 2025-04-12 01:31:05
[2025-04-12 01:31:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 01:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888208', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888208', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888208', 'tblTempVendorCDR_20' ) start
[2025-04-12 01:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888208', 'tblTempVendorCDR_20' ) end
[2025-04-12 01:31:19] Production.INFO: ProcessCDR(1,14888208,1,1,2)
[2025-04-12 01:31:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888208,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:31:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888208,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:31:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888208,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:31:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888208,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888208', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888208', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:31:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 01:31:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 01:31:22] Production.INFO: ==6975== Releasing lock...
[2025-04-12 01:31:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 01:31:22] Production.INFO: 34.75 MB #Memory Used#
[2025-04-12 06:32:01] Production.INFO: ==7030== Lock acquired, processing the job...
[2025-04-12 06:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 06:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 06:32:01] Production.INFO: neon service started
[2025-04-12 06:32:01] Production.INFO: neon service started
[2025-04-12 06:32:01] Production.INFO: ==7030== Releasing lock...
[2025-04-12 06:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 06:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 01:32:02] Production.INFO: ==7032== Lock acquired, processing the job...
[2025-04-12 01:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 05:32:02] Production.INFO: ==7035== Lock acquired, processing the job...
[2025-04-12 05:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 05:32:02] Production.INFO: ==7035== Releasing lock...
[2025-04-12 05:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 05:32:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 01:32:02] Production.INFO: ==7032== Releasing lock...
[2025-04-12 01:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 01:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 01:32:03] Production.INFO: ==7037== Lock acquired, processing the job...
[2025-04-12 01:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 01:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 01:32:03] Production.INFO: ==7041== Lock acquired, processing the job...
[2025-04-12 01:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 01:32:03] Production.INFO: ==7045== Lock acquired, processing the job...
[2025-04-12 01:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 01:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 01:32:03] Production.INFO: ==7039== Lock acquired, processing the job...
[2025-04-12 01:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 01:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 01:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 01:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 01:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 01:32:03] Production.INFO: ==7043== Lock acquired, processing the job...
[2025-04-12 01:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 01:32:04] Production.INFO: ==7047== Lock acquired, processing the job...
[2025-04-12 01:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 01:32:04] Production.INFO: Account Balance Start.
[2025-04-12 01:32:04] Production.INFO: CreateAllLog Start
[2025-04-12 01:32:04] Production.INFO: 117
[2025-04-12 01:32:04] Production.INFO: Date 2025-04-08
[2025-04-12 01:32:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:32:04] Production.INFO: Date 2025-04-09
[2025-04-12 01:32:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:32:04] Production.INFO: Date 2025-04-10
[2025-04-12 01:32:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:32:04] Production.ERROR: done
[2025-04-12 01:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 01:32:04] Production.INFO: Date 2025-04-11
[2025-04-12 01:32:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:32:04] Production.INFO: ==7039== Releasing lock...
[2025-04-12 01:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 01:32:04] Production.INFO: Date 2025-04-12
[2025-04-12 01:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 01:32:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:32:04] Production.INFO: Total Charge 0
[2025-04-12 01:32:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 01:32:04] Production.INFO: CreateAllLog End
[2025-04-12 01:32:04] Production.INFO: count ==12
[2025-04-12 01:32:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 01:32:04] Production.INFO: count ==23
[2025-04-12 01:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888212') start
[2025-04-12 01:32:04] Production.ERROR: done
[2025-04-12 01:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888212') end
[2025-04-12 01:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 01:32:04] Production.INFO: 1
[2025-04-12 01:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 01:32:04] Production.INFO: Account Balance End.
[2025-04-12 01:32:04] Production.ERROR: CronJobId end 12
[2025-04-12 01:32:04] Production.INFO: ==7043== Releasing lock...
[2025-04-12 01:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 01:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 01:32:04] Production.INFO: ==7047== Releasing lock...
[2025-04-12 01:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 01:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 01:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 22:32:05
[end_date_ymd] => 2025-04-12 01:32:05
[RateCDR] => 1
)
[2025-04-12 01:32:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 22:32:05' and `end` < '2025-04-12 01:32:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 01:32:12] Production.ERROR: CronJobId end10
[2025-04-12 01:32:12] Production.INFO: ==7041== Releasing lock...
[2025-04-12 01:32:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 01:32:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 01:32:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 01:32:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 01:32:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 01:32:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 01:32:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 01:32:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 01:32:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 01:32:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 01:32:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 01:32:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 01:32:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 01:32:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 01:32:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 01:32:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 01:32:14] Production.INFO: call_cost start
[2025-04-12 01:32:14] Production.INFO: call_cost end
[2025-04-12 01:32:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 01:32:14] Production.INFO: ============== Report Schedule START===========
[2025-04-12 01:32:14] Production.INFO: ============== Report Schedule END===========
[2025-04-12 01:32:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 01:32:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 01:32:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 01:32:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 01:32:14] Production.INFO: ============== Deal alert START===========
[2025-04-12 01:32:14] Production.INFO: ============== Deal alert END===========
[2025-04-12 01:32:14] Production.INFO: ==7037== Releasing lock...
[2025-04-12 01:32:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 01:32:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 01:32:18] Production.INFO: count ==881
[2025-04-12 01:32:18] Production.ERROR: pbx CDR StartTime 2025-04-11 22:32:05 - End Time 2025-04-12 01:32:05
[2025-04-12 01:32:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 01:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888213', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888213', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888213', 'tblTempVendorCDR_20' ) start
[2025-04-12 01:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888213', 'tblTempVendorCDR_20' ) end
[2025-04-12 01:32:18] Production.INFO: ProcessCDR(1,14888213,1,1,2)
[2025-04-12 01:32:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888213,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:32:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888213,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:32:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888213,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:32:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888213,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888213', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888213', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:32:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 01:32:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 01:32:22] Production.INFO: ==7045== Releasing lock...
[2025-04-12 01:32:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 01:32:22] Production.INFO: 35.5 MB #Memory Used#
[2025-04-12 06:33:02] Production.INFO: ==7100== Lock acquired, processing the job...
[2025-04-12 06:33:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 06:33:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 06:33:02] Production.INFO: neon service started
[2025-04-12 06:33:02] Production.INFO: neon service started
[2025-04-12 06:33:02] Production.INFO: ==7100== Releasing lock...
[2025-04-12 06:33:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 06:33:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 05:33:02] Production.INFO: ==7105== Lock acquired, processing the job...
[2025-04-12 05:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 05:33:02] Production.INFO: ==7105== Releasing lock...
[2025-04-12 05:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 05:33:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 01:33:02] Production.INFO: ==7103== Lock acquired, processing the job...
[2025-04-12 01:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 01:33:03] Production.INFO: ==7103== Releasing lock...
[2025-04-12 01:33:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 01:33:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 01:33:03] Production.INFO: ==7109== Lock acquired, processing the job...
[2025-04-12 01:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 01:33:04] Production.INFO: ==7111== Lock acquired, processing the job...
[2025-04-12 01:33:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 01:33:04] Production.INFO: ==7115== Lock acquired, processing the job...
[2025-04-12 01:33:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 01:33:04] Production.INFO: ==7107== Lock acquired, processing the job...
[2025-04-12 01:33:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 01:33:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 01:33:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 01:33:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 01:33:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 01:33:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 01:33:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 01:33:04] Production.INFO: ==7113== Lock acquired, processing the job...
[2025-04-12 01:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 01:33:04] Production.INFO: ==7117== Lock acquired, processing the job...
[2025-04-12 01:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 01:33:04] Production.INFO: Account Balance Start.
[2025-04-12 01:33:04] Production.INFO: CreateAllLog Start
[2025-04-12 01:33:04] Production.INFO: 117
[2025-04-12 01:33:04] Production.INFO: ==7109== Releasing lock...
[2025-04-12 01:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 01:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 01:33:04] Production.INFO: Date 2025-04-08
[2025-04-12 01:33:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 01:33:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:33:04] Production.INFO: count ==12
[2025-04-12 01:33:04] Production.ERROR: done
[2025-04-12 01:33:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 01:33:04] Production.INFO: count ==23
[2025-04-12 01:33:04] Production.INFO: Date 2025-04-09
[2025-04-12 01:33:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888216') start
[2025-04-12 01:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 01:33:04] Production.INFO: Date 2025-04-10
[2025-04-12 01:33:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:33:04] Production.INFO: Date 2025-04-11
[2025-04-12 01:33:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888216') end
[2025-04-12 01:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 01:33:04] Production.INFO: 1
[2025-04-12 01:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 01:33:04] Production.ERROR: done
[2025-04-12 01:33:04] Production.INFO: ==7117== Releasing lock...
[2025-04-12 01:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 01:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 01:33:04] Production.INFO: Date 2025-04-12
[2025-04-12 01:33:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:33:04] Production.INFO: Total Charge 0
[2025-04-12 01:33:04] Production.INFO: CreateAllLog End
[2025-04-12 01:33:04] Production.INFO: Account Balance End.
[2025-04-12 01:33:04] Production.ERROR: CronJobId end 12
[2025-04-12 01:33:04] Production.INFO: ==7113== Releasing lock...
[2025-04-12 01:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 01:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 01:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 22:33:05
[end_date_ymd] => 2025-04-12 01:33:05
[RateCDR] => 1
)
[2025-04-12 01:33:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 22:33:05' and `end` < '2025-04-12 01:33:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 01:33:12] Production.ERROR: CronJobId end10
[2025-04-12 01:33:12] Production.INFO: ==7111== Releasing lock...
[2025-04-12 01:33:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 01:33:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 01:33:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 01:33:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 01:33:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 01:33:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 01:33:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 01:33:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 01:33:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 01:33:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 01:33:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 01:33:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 01:33:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 01:33:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 01:33:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 01:33:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 01:33:14] Production.INFO: call_cost start
[2025-04-12 01:33:14] Production.INFO: call_cost end
[2025-04-12 01:33:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 01:33:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 01:33:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 01:33:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 01:33:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 01:33:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 01:33:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 01:33:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 01:33:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 01:33:15] Production.INFO: ==7107== Releasing lock...
[2025-04-12 01:33:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 01:33:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 01:33:18] Production.INFO: count ==881
[2025-04-12 01:33:18] Production.ERROR: pbx CDR StartTime 2025-04-11 22:33:05 - End Time 2025-04-12 01:33:05
[2025-04-12 01:33:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 01:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888218', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888218', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888218', 'tblTempVendorCDR_20' ) start
[2025-04-12 01:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888218', 'tblTempVendorCDR_20' ) end
[2025-04-12 01:33:18] Production.INFO: ProcessCDR(1,14888218,1,1,2)
[2025-04-12 01:33:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888218,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:33:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888218,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:33:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888218,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:33:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888218,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888218', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888218', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:33:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 01:33:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 01:33:22] Production.INFO: ==7115== Releasing lock...
[2025-04-12 01:33:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 01:33:22] Production.INFO: 35.5 MB #Memory Used#
[2025-04-12 06:34:01] Production.INFO: ==7174== Lock acquired, processing the job...
[2025-04-12 06:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 06:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 06:34:01] Production.INFO: neon service started
[2025-04-12 06:34:01] Production.INFO: neon service started
[2025-04-12 06:34:01] Production.INFO: ==7174== Releasing lock...
[2025-04-12 06:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 06:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 05:34:02] Production.INFO: ==7178== Lock acquired, processing the job...
[2025-04-12 05:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 05:34:02] Production.INFO: ==7178== Releasing lock...
[2025-04-12 05:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 05:34:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 01:34:02] Production.INFO: ==7176== Lock acquired, processing the job...
[2025-04-12 01:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 01:34:02] Production.INFO: ==7176== Releasing lock...
[2025-04-12 01:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 01:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 01:34:03] Production.INFO: ==7189== Lock acquired, processing the job...
[2025-04-12 01:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 01:34:03] Production.INFO: ==7187== Lock acquired, processing the job...
[2025-04-12 01:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 01:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 01:34:03] Production.INFO: Account Balance Start.
[2025-04-12 01:34:03] Production.INFO: CreateAllLog Start
[2025-04-12 01:34:03] Production.INFO: 117
[2025-04-12 01:34:03] Production.INFO: ==7183== Lock acquired, processing the job...
[2025-04-12 01:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 01:34:03] Production.INFO: Date 2025-04-08
[2025-04-12 01:34:03] Production.INFO: ==7181== Lock acquired, processing the job...
[2025-04-12 01:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 01:34:03] Production.INFO: Reseller ==> 0
[2025-04-12 01:34:03] Production.INFO: ==7185== Lock acquired, processing the job...
[2025-04-12 01:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 01:34:03] Production.INFO: Date 2025-04-09
[2025-04-12 01:34:03] Production.INFO: Reseller ==> 0
[2025-04-12 01:34:03] Production.INFO: ==7191== Lock acquired, processing the job...
[2025-04-12 01:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 01:34:03] Production.ERROR: done
[2025-04-12 01:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 01:34:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 01:34:03] Production.INFO: Date 2025-04-10
[2025-04-12 01:34:03] Production.INFO: Reseller ==> 0
[2025-04-12 01:34:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 01:34:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 01:34:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 01:34:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 01:34:04] Production.INFO: Date 2025-04-11
[2025-04-12 01:34:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:34:04] Production.INFO: Date 2025-04-12
[2025-04-12 01:34:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:34:04] Production.INFO: Total Charge 0
[2025-04-12 01:34:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 01:34:04] Production.INFO: CreateAllLog End
[2025-04-12 01:34:04] Production.INFO: count ==12
[2025-04-12 01:34:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 01:34:04] Production.INFO: count ==23
[2025-04-12 01:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888222') start
[2025-04-12 01:34:04] Production.ERROR: done
[2025-04-12 01:34:04] Production.INFO: ==7183== Releasing lock...
[2025-04-12 01:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 01:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 01:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888222') end
[2025-04-12 01:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 01:34:04] Production.INFO: 1
[2025-04-12 01:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 01:34:04] Production.INFO: ==7191== Releasing lock...
[2025-04-12 01:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 01:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 01:34:04] Production.INFO: Account Balance End.
[2025-04-12 01:34:04] Production.ERROR: CronJobId end 12
[2025-04-12 01:34:04] Production.INFO: ==7187== Releasing lock...
[2025-04-12 01:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 01:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 01:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 22:34:05
[end_date_ymd] => 2025-04-12 01:34:05
[RateCDR] => 1
)
[2025-04-12 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-11 22:34:05' and `end` < '2025-04-12 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-12 01:34:12] Production.ERROR: CronJobId end10
[2025-04-12 01:34:12] Production.INFO: ==7185== Releasing lock...
[2025-04-12 01:34:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 01:34:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 01:34:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 01:34:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 01:34:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 01:34:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 01:34:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 01:34:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 01:34:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 01:34:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 01:34:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 01:34:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 01:34:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 01:34:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 01:34:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 01:34:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 01:34:15] Production.INFO: call_cost start
[2025-04-12 01:34:15] Production.INFO: call_cost end
[2025-04-12 01:34:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 01:34:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 01:34:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 01:34:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 01:34:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 01:34:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 01:34:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 01:34:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 01:34:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 01:34:16] Production.INFO: ==7181== Releasing lock...
[2025-04-12 01:34:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 01:34:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 01:34:18] Production.INFO: count ==881
[2025-04-12 01:34:18] Production.ERROR: pbx CDR StartTime 2025-04-11 22:34:05 - End Time 2025-04-12 01:34:05
[2025-04-12 01:34:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 01:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888223', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888223', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888223', 'tblTempVendorCDR_20' ) start
[2025-04-12 01:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888223', 'tblTempVendorCDR_20' ) end
[2025-04-12 01:34:18] Production.INFO: ProcessCDR(1,14888223,1,1,2)
[2025-04-12 01:34:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888223,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:34:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888223,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:34:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888223,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:34:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888223,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888223', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888223', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:34:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 01:34:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 01:34:22] Production.INFO: ==7189== Releasing lock...
[2025-04-12 01:34:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 01:34:22] Production.INFO: 35.5 MB #Memory Used#
[2025-04-12 06:35:02] Production.INFO: ==7245== Lock acquired, processing the job...
[2025-04-12 06:35:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 06:35:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 06:35:02] Production.INFO: neon service started
[2025-04-12 06:35:02] Production.INFO: neon service started
[2025-04-12 06:35:02] Production.INFO: ==7245== Releasing lock...
[2025-04-12 06:35:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 06:35:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 01:35:02] Production.INFO: ==7247== Lock acquired, processing the job...
[2025-04-12 01:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 01:35:02] Production.INFO: ==7247== Releasing lock...
[2025-04-12 01:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 01:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 05:35:03] Production.INFO: ==7249== Lock acquired, processing the job...
[2025-04-12 05:35:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 05:35:03] Production.INFO: ==7249== Releasing lock...
[2025-04-12 05:35:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 05:35:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 01:35:03] Production.INFO: ==7253== Lock acquired, processing the job...
[2025-04-12 01:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 01:35:03] Production.INFO: ==7257== Lock acquired, processing the job...
[2025-04-12 01:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 01:35:03] Production.INFO: ==7251== Lock acquired, processing the job...
[2025-04-12 01:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 01:35:04] Production.INFO: ==7255== Lock acquired, processing the job...
[2025-04-12 01:35:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 01:35:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 01:35:04] Production.INFO: Account Balance Start.
[2025-04-12 01:35:04] Production.INFO: CreateAllLog Start
[2025-04-12 01:35:04] Production.INFO: 117
[2025-04-12 01:35:04] Production.INFO: Date 2025-04-08
[2025-04-12 01:35:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:35:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 01:35:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 01:35:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 01:35:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 01:35:04] Production.INFO: Date 2025-04-09
[2025-04-12 01:35:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:35:04] Production.INFO: ==7259== Lock acquired, processing the job...
[2025-04-12 01:35:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 01:35:04] Production.INFO: ==7261== Lock acquired, processing the job...
[2025-04-12 01:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 01:35:04] Production.INFO: Date 2025-04-10
[2025-04-12 01:35:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:35:04] Production.INFO: Date 2025-04-11
[2025-04-12 01:35:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:35:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 01:35:04] Production.INFO: Date 2025-04-12
[2025-04-12 01:35:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:35:04] Production.INFO: Total Charge 0
[2025-04-12 01:35:04] Production.INFO: CreateAllLog End
[2025-04-12 01:35:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 01:35:04] Production.INFO: count ==12
[2025-04-12 01:35:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 01:35:04] Production.INFO: count ==23
[2025-04-12 01:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888227') start
[2025-04-12 01:35:04] Production.INFO: ==7253== Releasing lock...
[2025-04-12 01:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 01:35:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 01:35:04] Production.ERROR: done
[2025-04-12 01:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 01:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888227') end
[2025-04-12 01:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 01:35:04] Production.INFO: 1
[2025-04-12 01:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 01:35:04] Production.INFO: Account Balance End.
[2025-04-12 01:35:04] Production.ERROR: CronJobId end 12
[2025-04-12 01:35:04] Production.INFO: ==7257== Releasing lock...
[2025-04-12 01:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 01:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 01:35:04] Production.ERROR: done
[2025-04-12 01:35:04] Production.INFO: ==7261== Releasing lock...
[2025-04-12 01:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 01:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 01:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 22:35:05
[end_date_ymd] => 2025-04-12 01:35:05
[RateCDR] => 1
)
[2025-04-12 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-11 22:35:05' and `end` < '2025-04-12 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-12 01:35:12] Production.ERROR: CronJobId end10
[2025-04-12 01:35:12] Production.INFO: ==7255== Releasing lock...
[2025-04-12 01:35:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 01:35:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 01:35:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 01:35:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 01:35:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 01:35:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 01:35:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 01:35:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 01:35:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 01:35:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 01:35:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 01:35:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 01:35:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 01:35:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 01:35:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 01:35:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 01:35:15] Production.INFO: call_cost start
[2025-04-12 01:35:15] Production.INFO: call_cost end
[2025-04-12 01:35:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 01:35:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 01:35:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 01:35:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 01:35:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 01:35:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 01:35:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 01:35:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 01:35:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 01:35:16] Production.INFO: ==7251== Releasing lock...
[2025-04-12 01:35:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 01:35:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 01:35:18] Production.INFO: count ==880
[2025-04-12 01:35:19] Production.ERROR: pbx CDR StartTime 2025-04-11 22:35:05 - End Time 2025-04-12 01:35:05
[2025-04-12 01:35:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 01:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888228', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888228', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888228', 'tblTempVendorCDR_20' ) start
[2025-04-12 01:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888228', 'tblTempVendorCDR_20' ) end
[2025-04-12 01:35:19] Production.INFO: ProcessCDR(1,14888228,1,1,2)
[2025-04-12 01:35:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888228,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:35:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888228,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:35:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888228,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:35:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888228,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:35:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888228', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:35:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888228', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:35:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 01:35:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 01:35:22] Production.INFO: ==7259== Releasing lock...
[2025-04-12 01:35:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 01:35:22] Production.INFO: 35 MB #Memory Used#
[2025-04-12 06:36:01] Production.INFO: ==7316== Lock acquired, processing the job...
[2025-04-12 06:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 06:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 06:36:01] Production.INFO: neon service started
[2025-04-12 06:36:01] Production.INFO: neon service started
[2025-04-12 06:36:01] Production.INFO: ==7316== Releasing lock...
[2025-04-12 06:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 06:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 01:36:02] Production.INFO: ==7318== Lock acquired, processing the job...
[2025-04-12 01:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 05:36:02] Production.INFO: ==7320== Lock acquired, processing the job...
[2025-04-12 05:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 05:36:02] Production.INFO: ==7320== Releasing lock...
[2025-04-12 05:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 05:36:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 01:36:02] Production.INFO: ==7318== Releasing lock...
[2025-04-12 01:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 01:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 01:36:03] Production.INFO: ==7325== Lock acquired, processing the job...
[2025-04-12 01:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 01:36:03] Production.INFO: ==7323== Lock acquired, processing the job...
[2025-04-12 01:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 01:36:03] Production.INFO: ==7329== Lock acquired, processing the job...
[2025-04-12 01:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 01:36:03] Production.INFO: ==7327== Lock acquired, processing the job...
[2025-04-12 01:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 01:36:03] Production.INFO: ==7331== Lock acquired, processing the job...
[2025-04-12 01:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 01:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 01:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 01:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 01:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 01:36:03] Production.INFO: Account Balance Start.
[2025-04-12 01:36:03] Production.INFO: CreateAllLog Start
[2025-04-12 01:36:03] Production.INFO: 117
[2025-04-12 01:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 01:36:03] Production.INFO: Date 2025-04-08
[2025-04-12 01:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 01:36:04] Production.INFO: ==7333== Lock acquired, processing the job...
[2025-04-12 01:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 01:36:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:36:04] Production.INFO: ==7325== Releasing lock...
[2025-04-12 01:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 01:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 01:36:04] Production.INFO: Date 2025-04-09
[2025-04-12 01:36:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:36:04] Production.INFO: Date 2025-04-10
[2025-04-12 01:36:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:36:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 01:36:04] Production.INFO: count ==12
[2025-04-12 01:36:04] Production.INFO: Date 2025-04-11
[2025-04-12 01:36:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:36:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 01:36:04] Production.INFO: count ==23
[2025-04-12 01:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888232') start
[2025-04-12 01:36:04] Production.INFO: Date 2025-04-12
[2025-04-12 01:36:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:36:04] Production.ERROR: done
[2025-04-12 01:36:04] Production.INFO: Total Charge 0
[2025-04-12 01:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 01:36:04] Production.INFO: CreateAllLog End
[2025-04-12 01:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888232') end
[2025-04-12 01:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 01:36:04] Production.INFO: 1
[2025-04-12 01:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 01:36:04] Production.INFO: ==7333== Releasing lock...
[2025-04-12 01:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 01:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 01:36:04] Production.ERROR: done
[2025-04-12 01:36:04] Production.INFO: Account Balance End.
[2025-04-12 01:36:04] Production.ERROR: CronJobId end 12
[2025-04-12 01:36:04] Production.INFO: ==7329== Releasing lock...
[2025-04-12 01:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 01:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 01:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 22:36:05
[end_date_ymd] => 2025-04-12 01:36:05
[RateCDR] => 1
)
[2025-04-12 01:36:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 22:36:05' and `end` < '2025-04-12 01:36:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 01:36:12] Production.ERROR: CronJobId end10
[2025-04-12 01:36:12] Production.INFO: ==7327== Releasing lock...
[2025-04-12 01:36:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 01:36:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 01:36:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 01:36:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 01:36:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 01:36:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 01:36:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 01:36:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 01:36:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 01:36:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 01:36:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 01:36:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 01:36:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 01:36:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 01:36:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 01:36:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 01:36:14] Production.INFO: call_cost start
[2025-04-12 01:36:14] Production.INFO: call_cost end
[2025-04-12 01:36:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 01:36:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 01:36:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 01:36:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 01:36:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 01:36:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 01:36:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 01:36:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 01:36:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 01:36:15] Production.INFO: ==7323== Releasing lock...
[2025-04-12 01:36:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 01:36:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 01:36:18] Production.INFO: count ==880
[2025-04-12 01:36:18] Production.ERROR: pbx CDR StartTime 2025-04-11 22:36:05 - End Time 2025-04-12 01:36:05
[2025-04-12 01:36:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 01:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888233', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888233', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888233', 'tblTempVendorCDR_20' ) start
[2025-04-12 01:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888233', 'tblTempVendorCDR_20' ) end
[2025-04-12 01:36:19] Production.INFO: ProcessCDR(1,14888233,1,1,2)
[2025-04-12 01:36:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888233,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:36:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888233,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:36:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888233,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:36:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888233,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:36:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888233', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:36:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888233', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:36:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 01:36:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 01:36:23] Production.INFO: ==7331== Releasing lock...
[2025-04-12 01:36:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 01:36:23] Production.INFO: 35 MB #Memory Used#
[2025-04-12 06:37:02] Production.INFO: ==7387== Lock acquired, processing the job...
[2025-04-12 06:37:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 06:37:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 06:37:02] Production.INFO: neon service started
[2025-04-12 06:37:02] Production.INFO: neon service started
[2025-04-12 06:37:02] Production.INFO: ==7387== Releasing lock...
[2025-04-12 06:37:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 06:37:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 01:37:02] Production.INFO: ==7389== Lock acquired, processing the job...
[2025-04-12 01:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 01:37:02] Production.INFO: ==7389== Releasing lock...
[2025-04-12 01:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 01:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 05:37:03] Production.INFO: ==7391== Lock acquired, processing the job...
[2025-04-12 05:37:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 05:37:03] Production.INFO: ==7391== Releasing lock...
[2025-04-12 05:37:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 05:37:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 01:37:03] Production.INFO: ==7393== Lock acquired, processing the job...
[2025-04-12 01:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 01:37:03] Production.INFO: ==7395== Lock acquired, processing the job...
[2025-04-12 01:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 01:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 01:37:03] Production.INFO: ==7399== Lock acquired, processing the job...
[2025-04-12 01:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 01:37:03] Production.INFO: ==7395== Releasing lock...
[2025-04-12 01:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 01:37:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 01:37:04] Production.INFO: Account Balance Start.
[2025-04-12 01:37:04] Production.INFO: CreateAllLog Start
[2025-04-12 01:37:04] Production.INFO: 117
[2025-04-12 01:37:04] Production.INFO: Date 2025-04-08
[2025-04-12 01:37:04] Production.INFO: ==7397== Lock acquired, processing the job...
[2025-04-12 01:37:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 01:37:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:37:04] Production.INFO: Date 2025-04-09
[2025-04-12 01:37:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:37:04] Production.INFO: Date 2025-04-10
[2025-04-12 01:37:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:37:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 01:37:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 01:37:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 01:37:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 01:37:04] Production.INFO: Date 2025-04-11
[2025-04-12 01:37:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:37:04] Production.INFO: ==7401== Lock acquired, processing the job...
[2025-04-12 01:37:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 01:37:04] Production.INFO: ==7403== Lock acquired, processing the job...
[2025-04-12 01:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 01:37:04] Production.INFO: Date 2025-04-12
[2025-04-12 01:37:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:37:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 01:37:04] Production.INFO: Total Charge 0
[2025-04-12 01:37:04] Production.INFO: CreateAllLog End
[2025-04-12 01:37:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 01:37:04] Production.INFO: count ==12
[2025-04-12 01:37:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 01:37:04] Production.INFO: count ==23
[2025-04-12 01:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888237') start
[2025-04-12 01:37:04] Production.ERROR: done
[2025-04-12 01:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 01:37:04] Production.INFO: Account Balance End.
[2025-04-12 01:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888237') end
[2025-04-12 01:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 01:37:04] Production.INFO: 1
[2025-04-12 01:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 01:37:04] Production.ERROR: CronJobId end 12
[2025-04-12 01:37:04] Production.INFO: ==7399== Releasing lock...
[2025-04-12 01:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 01:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 01:37:05] Production.INFO: ==7403== Releasing lock...
[2025-04-12 01:37:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 01:37:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 01:37:05] Production.ERROR: done
[2025-04-12 01:37:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 22:37:06
[end_date_ymd] => 2025-04-12 01:37:06
[RateCDR] => 1
)
[2025-04-12 01:37:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 22:37:06' and `end` < '2025-04-12 01:37:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 01:37:11] Production.ERROR: CronJobId end10
[2025-04-12 01:37:11] Production.INFO: ==7397== Releasing lock...
[2025-04-12 01:37:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 01:37:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 01:37:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 01:37:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 01:37:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 01:37:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 01:37:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 01:37:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 01:37:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 01:37:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 01:37:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 01:37:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 01:37:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 01:37:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 01:37:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 01:37:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 01:37:14] Production.INFO: call_cost start
[2025-04-12 01:37:14] Production.INFO: call_cost end
[2025-04-12 01:37:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 01:37:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 01:37:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 01:37:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 01:37:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 01:37:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 01:37:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 01:37:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 01:37:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 01:37:15] Production.INFO: ==7393== Releasing lock...
[2025-04-12 01:37:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 01:37:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 01:37:18] Production.INFO: count ==879
[2025-04-12 01:37:19] Production.ERROR: pbx CDR StartTime 2025-04-11 22:37:06 - End Time 2025-04-12 01:37:06
[2025-04-12 01:37:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 01:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888238', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888238', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888238', 'tblTempVendorCDR_20' ) start
[2025-04-12 01:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888238', 'tblTempVendorCDR_20' ) end
[2025-04-12 01:37:19] Production.INFO: ProcessCDR(1,14888238,1,1,2)
[2025-04-12 01:37:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888238,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:37:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888238,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:37:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888238,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:37:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888238,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:37:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888238', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:37:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888238', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:37:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 01:37:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 01:37:24] Production.INFO: ==7401== Releasing lock...
[2025-04-12 01:37:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 01:37:24] Production.INFO: 34.75 MB #Memory Used#
[2025-04-12 06:38:01] Production.INFO: ==7457== Lock acquired, processing the job...
[2025-04-12 06:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 06:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 06:38:01] Production.INFO: neon service started
[2025-04-12 06:38:01] Production.INFO: neon service started
[2025-04-12 06:38:01] Production.INFO: ==7457== Releasing lock...
[2025-04-12 06:38:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 06:38:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 05:38:02] Production.INFO: ==7461== Lock acquired, processing the job...
[2025-04-12 05:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 05:38:02] Production.INFO: ==7461== Releasing lock...
[2025-04-12 05:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 05:38:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 01:38:02] Production.INFO: ==7459== Lock acquired, processing the job...
[2025-04-12 01:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 01:38:02] Production.INFO: ==7459== Releasing lock...
[2025-04-12 01:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 01:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 01:38:03] Production.INFO: ==7463== Lock acquired, processing the job...
[2025-04-12 01:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 01:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 01:38:03] Production.INFO: ==7468== Lock acquired, processing the job...
[2025-04-12 01:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 01:38:03] Production.INFO: ==7472== Lock acquired, processing the job...
[2025-04-12 01:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 01:38:03] Production.INFO: ==7465== Lock acquired, processing the job...
[2025-04-12 01:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 01:38:03] Production.INFO: ==7474== Lock acquired, processing the job...
[2025-04-12 01:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 01:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 01:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 01:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 01:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 01:38:03] Production.INFO: ==7470== Lock acquired, processing the job...
[2025-04-12 01:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 01:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 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-12 01:38:04] Production.INFO: count ==12
[2025-04-12 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-12 01:38:04] Production.INFO: count ==23
[2025-04-12 01:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888240') start
[2025-04-12 01:38:04] Production.INFO: Account Balance Start.
[2025-04-12 01:38:04] Production.INFO: CreateAllLog Start
[2025-04-12 01:38:04] Production.INFO: 117
[2025-04-12 01:38:04] Production.INFO: Date 2025-04-08
[2025-04-12 01:38:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888240') end
[2025-04-12 01:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 01:38:04] Production.INFO: 1
[2025-04-12 01:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 01:38:04] Production.ERROR: done
[2025-04-12 01:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 01:38:04] Production.INFO: ==7474== Releasing lock...
[2025-04-12 01:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 01:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 01:38:04] Production.INFO: ==7465== Releasing lock...
[2025-04-12 01:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 01:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 01:38:04] Production.INFO: Date 2025-04-09
[2025-04-12 01:38:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:38:04] Production.INFO: Date 2025-04-10
[2025-04-12 01:38:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:38:04] Production.INFO: Date 2025-04-11
[2025-04-12 01:38:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:38:04] Production.INFO: Date 2025-04-12
[2025-04-12 01:38:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:38:04] Production.ERROR: done
[2025-04-12 01:38:04] Production.INFO: Total Charge 0
[2025-04-12 01:38:04] Production.INFO: CreateAllLog End
[2025-04-12 01:38:04] Production.INFO: Account Balance End.
[2025-04-12 01:38:04] Production.ERROR: CronJobId end 12
[2025-04-12 01:38:04] Production.INFO: ==7470== Releasing lock...
[2025-04-12 01:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 01:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 01:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 22:38:05
[end_date_ymd] => 2025-04-12 01:38:05
[RateCDR] => 1
)
[2025-04-12 01:38:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 22:38:05' and `end` < '2025-04-12 01:38:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 01:38:12] Production.ERROR: CronJobId end10
[2025-04-12 01:38:12] Production.INFO: ==7468== Releasing lock...
[2025-04-12 01:38:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 01:38:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 01:38:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 01:38:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 01:38:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 01:38:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 01:38:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 01:38:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 01:38:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 01:38:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 01:38:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 01:38:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 01:38:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 01:38:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 01:38:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 01:38:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 01:38:13] Production.INFO: call_cost start
[2025-04-12 01:38:13] Production.INFO: call_cost end
[2025-04-12 01:38:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 01:38:14] Production.INFO: ============== Report Schedule START===========
[2025-04-12 01:38:14] Production.INFO: ============== Report Schedule END===========
[2025-04-12 01:38:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 01:38:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 01:38:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 01:38:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 01:38:14] Production.INFO: ============== Deal alert START===========
[2025-04-12 01:38:14] Production.INFO: ============== Deal alert END===========
[2025-04-12 01:38:14] Production.INFO: ==7463== Releasing lock...
[2025-04-12 01:38:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 01:38:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 01:38:18] Production.INFO: count ==879
[2025-04-12 01:38:18] Production.ERROR: pbx CDR StartTime 2025-04-11 22:38:05 - End Time 2025-04-12 01:38:05
[2025-04-12 01:38:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 01:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888243', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888243', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888243', 'tblTempVendorCDR_20' ) start
[2025-04-12 01:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888243', 'tblTempVendorCDR_20' ) end
[2025-04-12 01:38:18] Production.INFO: ProcessCDR(1,14888243,1,1,2)
[2025-04-12 01:38:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888243,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:38:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888243,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:38:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888243,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:38:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888243,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888243', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888243', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:38:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 01:38:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 01:38:21] Production.INFO: ==7472== Releasing lock...
[2025-04-12 01:38:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 01:38:21] Production.INFO: 34.75 MB #Memory Used#
[2025-04-12 06:39:02] Production.INFO: ==7569== Lock acquired, processing the job...
[2025-04-12 06:39:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 06:39:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 06:39:02] Production.INFO: neon service started
[2025-04-12 06:39:02] Production.INFO: neon service started
[2025-04-12 06:39:02] Production.INFO: ==7569== Releasing lock...
[2025-04-12 06:39:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 06:39:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 01:39:02] Production.INFO: ==7571== Lock acquired, processing the job...
[2025-04-12 01:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 05:39:02] Production.INFO: ==7573== Lock acquired, processing the job...
[2025-04-12 05:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 01:39:03] Production.INFO: ==7571== Releasing lock...
[2025-04-12 01:39:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 01:39:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 05:39:03] Production.INFO: ==7573== Releasing lock...
[2025-04-12 05:39:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 05:39:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 01:39:03] Production.INFO: ==7582== Lock acquired, processing the job...
[2025-04-12 01:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 01:39:03] Production.INFO: ==7584== Lock acquired, processing the job...
[2025-04-12 01:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 01:39:04] Production.INFO: Account Balance Start.
[2025-04-12 01:39:04] Production.INFO: CreateAllLog Start
[2025-04-12 01:39:04] Production.INFO: 117
[2025-04-12 01:39:04] Production.INFO: Date 2025-04-08
[2025-04-12 01:39:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:39:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 01:39:04] Production.INFO: Date 2025-04-09
[2025-04-12 01:39:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:39:04] Production.INFO: Date 2025-04-10
[2025-04-12 01:39:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:39:04] Production.INFO: ==7576== Lock acquired, processing the job...
[2025-04-12 01:39:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 01:39:04] Production.INFO: Date 2025-04-11
[2025-04-12 01:39:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:39:04] Production.INFO: ==7578== Lock acquired, processing the job...
[2025-04-12 01:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 01:39:04] Production.INFO: ==7580== Lock acquired, processing the job...
[2025-04-12 01:39:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 01:39:04] Production.INFO: Date 2025-04-12
[2025-04-12 01:39:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:39:04] Production.INFO: ==7586== Lock acquired, processing the job...
[2025-04-12 01:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 01:39:04] Production.INFO: Total Charge 0
[2025-04-12 01:39:04] Production.INFO: CreateAllLog End
[2025-04-12 01:39:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 01:39:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 01:39:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 01:39:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 01:39:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 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-12 01:39:04] Production.INFO: count ==12
[2025-04-12 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-12 01:39:04] Production.INFO: count ==23
[2025-04-12 01:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888246') start
[2025-04-12 01:39:04] Production.ERROR: done
[2025-04-12 01:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 01:39:04] Production.INFO: Account Balance End.
[2025-04-12 01:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888246') end
[2025-04-12 01:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 01:39:04] Production.INFO: 1
[2025-04-12 01:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 01:39:04] Production.ERROR: CronJobId end 12
[2025-04-12 01:39:04] Production.INFO: ==7582== Releasing lock...
[2025-04-12 01:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 01:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 01:39:04] Production.INFO: ==7586== Releasing lock...
[2025-04-12 01:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 01:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 01:39:04] Production.INFO: ==7578== Releasing lock...
[2025-04-12 01:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 01:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 01:39:04] Production.ERROR: done
[2025-04-12 01:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 22:39:05
[end_date_ymd] => 2025-04-12 01:39:05
[RateCDR] => 1
)
[2025-04-12 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-11 22:39:05' and `end` < '2025-04-12 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-12 01:39:12] Production.ERROR: CronJobId end10
[2025-04-12 01:39:12] Production.INFO: ==7580== Releasing lock...
[2025-04-12 01:39:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 01:39:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 01:39:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 01:39:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 01:39:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 01:39:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 01:39:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 01:39:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 01:39:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 01:39:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 01:39:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 01:39:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 01:39:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 01:39:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 01:39:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 01:39:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 01:39:15] Production.INFO: call_cost start
[2025-04-12 01:39:15] Production.INFO: call_cost end
[2025-04-12 01:39:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 01:39:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 01:39:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 01:39:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 01:39:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 01:39:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 01:39:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 01:39:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 01:39:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 01:39:16] Production.INFO: ==7576== Releasing lock...
[2025-04-12 01:39:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 01:39:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 01:39:18] Production.INFO: count ==879
[2025-04-12 01:39:18] Production.ERROR: pbx CDR StartTime 2025-04-11 22:39:05 - End Time 2025-04-12 01:39:05
[2025-04-12 01:39:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 01:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888248', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888248', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888248', 'tblTempVendorCDR_20' ) start
[2025-04-12 01:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888248', 'tblTempVendorCDR_20' ) end
[2025-04-12 01:39:18] Production.INFO: ProcessCDR(1,14888248,1,1,2)
[2025-04-12 01:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888248,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:39:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888248,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:39:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888248,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:39:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888248,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888248', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888248', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:39:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 01:39:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 01:39:22] Production.INFO: ==7584== Releasing lock...
[2025-04-12 01:39:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 01:39:22] Production.INFO: 34.75 MB #Memory Used#
[2025-04-12 06:40:01] Production.INFO: ==7640== Lock acquired, processing the job...
[2025-04-12 06:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 06:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 06:40:01] Production.INFO: neon service started
[2025-04-12 06:40:01] Production.INFO: neon service started
[2025-04-12 06:40:01] Production.INFO: ==7640== Releasing lock...
[2025-04-12 06:40:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 06:40:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 01:40:02] Production.INFO: ==7642== Lock acquired, processing the job...
[2025-04-12 01:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 05:40:02] Production.INFO: ==7644== Lock acquired, processing the job...
[2025-04-12 05:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 05:40:02] Production.INFO: ==7644== Releasing lock...
[2025-04-12 05:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 05:40:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 01:40:02] Production.INFO: ==7642== Releasing lock...
[2025-04-12 01:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 01:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 01:40:03] Production.INFO: ==7653== Lock acquired, processing the job...
[2025-04-12 01:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 01:40:03] Production.INFO: ==7657== Lock acquired, processing the job...
[2025-04-12 01:40:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 01:40:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 01:40:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 01:40:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 01:40:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 01:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 01:40:04] Production.INFO: ==7661== Lock acquired, processing the job...
[2025-04-12 01:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 01:40:04] Production.INFO: ==7647== Lock acquired, processing the job...
[2025-04-12 01:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 01:40:04] Production.INFO: ==7649== Lock acquired, processing the job...
[2025-04-12 01:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 01:40:04] Production.INFO: ==7651== Lock acquired, processing the job...
[2025-04-12 01:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 01:40:04] Production.INFO: ==7655== Lock acquired, processing the job...
[2025-04-12 01:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 01:40:04] Production.INFO: ==7659== Lock acquired, processing the job...
[2025-04-12 01:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 01:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 01:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 01:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 01:40:04] Production.ERROR: CronJob PID - 7649
[2025-04-12 01:40:04] Production.ERROR: CronJob Title - System Alerts
[2025-04-12 01:40:04] Production.ERROR: CronJob ID - 5
[2025-04-12 01:40:04] Production.ERROR: CronJob Last Run Time 2025-04-12 01:40:00
[2025-04-12 01:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 01:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 01:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 01:40:04] Production.ERROR: CronJob PID - 7651
[2025-04-12 01:40:04] Production.ERROR: CronJob Title - Account Block
[2025-04-12 01:40:04] Production.ERROR: CronJob ID - 7
[2025-04-12 01:40:04] Production.ERROR: CronJob Last Run Time 2025-04-12 01:40:00
[2025-04-12 01:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 01:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 01:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 01:40:04] Production.ERROR: CronJob PID - 7653
[2025-04-12 01:40:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-04-12 01:40:04] Production.ERROR: CronJob ID - 10
[2025-04-12 01:40:04] Production.ERROR: CronJob Last Run Time 2025-04-12 01:40:00
[2025-04-12 01:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 01:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 01:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 01:40:04] Production.ERROR: CronJob PID - 7655
[2025-04-12 01:40:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-04-12 01:40:04] Production.ERROR: CronJob ID - 12
[2025-04-12 01:40:04] Production.ERROR: CronJob Last Run Time 2025-04-12 01:40:00
[2025-04-12 01:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 01:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 01:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 01:40:04] Production.ERROR: CronJob PID - 7657
[2025-04-12 01:40:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-04-12 01:40:04] Production.ERROR: CronJob ID - 16
[2025-04-12 01:40:04] Production.ERROR: CronJob Last Run Time 2025-04-12 01:40:00
[2025-04-12 01:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 01:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 01:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 01:40:04] Production.ERROR: CronJob PID - 7661
[2025-04-12 01:40:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-04-12 01:40:04] Production.ERROR: CronJob ID - 19
[2025-04-12 01:40:04] Production.ERROR: CronJob Last Run Time 2025-04-12 01:40:00
[2025-04-12 01:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 01:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 01:40:04] Production.INFO: count ==12
[2025-04-12 01:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 01:40:04] Production.INFO: count ==23
[2025-04-12 01:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 01:40:04] Production.INFO: ==7647== Releasing lock...
[2025-04-12 01:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 01:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 01:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 01:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888249') start
[2025-04-12 01:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 01:40:04] Production.ERROR: done
[2025-04-12 01:40:04] Production.INFO: Account Balance Start.
[2025-04-12 01:40:04] Production.INFO: CreateAllLog Start
[2025-04-12 01:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 01:40:04] Production.INFO: 117
[2025-04-12 01:40:04] Production.INFO: Date 2025-04-08
[2025-04-12 01:40:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888249') end
[2025-04-12 01:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 01:40:04] Production.INFO: 1
[2025-04-12 01:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 01:40:04] Production.INFO: Date 2025-04-09
[2025-04-12 01:40:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:40:04] Production.INFO: ==7661== Releasing lock...
[2025-04-12 01:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 01:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 01:40:04] Production.INFO: ==7651== Releasing lock...
[2025-04-12 01:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 01:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 01:40:04] Production.INFO: Date 2025-04-10
[2025-04-12 01:40:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:40:04] Production.ERROR: done
[2025-04-12 01:40:04] Production.INFO: Date 2025-04-11
[2025-04-12 01:40:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:40:04] Production.INFO: Date 2025-04-12
[2025-04-12 01:40:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:40:05] Production.INFO: Total Charge 0
[2025-04-12 01:40:05] Production.INFO: CreateAllLog End
[2025-04-12 01:40:05] Production.ERROR: done
[2025-04-12 01:40:05] Production.INFO: Account Balance End.
[2025-04-12 01:40:05] Production.ERROR: CronJobId end 12
[2025-04-12 01:40:05] Production.INFO: ==7655== Releasing lock...
[2025-04-12 01:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 01:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 01:40:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 01:40:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14888254', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 01:40:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 22:40:05
[end_date_ymd] => 2025-04-12 01:40:05
[RateCDR] => 1
)
[2025-04-12 01:40:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 22:40:05' and `end` < '2025-04-12 01:40:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 01:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14888254', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 01:40:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 01:40:09] Production.INFO: ProcessCDR(1,14888254,1,1,2)
[2025-04-12 01:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14888254,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14888254,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 01:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 01:40:09] Production.INFO: ==7659== Releasing lock...
[2025-04-12 01:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 01:40:09] Production.INFO: 26 MB #Memory Used#
[2025-04-12 01:40:14] Production.ERROR: CronJobId end10
[2025-04-12 01:40:14] Production.INFO: ==7653== Releasing lock...
[2025-04-12 01:40:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 01:40:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 01:40:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 01:40:16] Production.INFO: ============== Balance Warning START===========
[2025-04-12 01:40:16] Production.INFO: ============== Balance Warning END===========
[2025-04-12 01:40:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 01:40:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 01:40:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 01:40:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 01:40:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 01:40:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 01:40:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 01:40:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 01:40:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 01:40:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 01:40:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 01:40:16] Production.INFO: call_cost start
[2025-04-12 01:40:16] Production.INFO: call_cost end
[2025-04-12 01:40:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 01:40:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 01:40:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 01:40:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 01:40:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 01:40:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 01:40:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 01:40:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 01:40:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 01:40:17] Production.INFO: ==7649== Releasing lock...
[2025-04-12 01:40:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 01:40:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 01:40:18] Production.INFO: count ==885
[2025-04-12 01:40:19] Production.ERROR: pbx CDR StartTime 2025-04-11 22:40:05 - End Time 2025-04-12 01:40:05
[2025-04-12 01:40:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 01:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888253', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888253', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888253', 'tblTempVendorCDR_20' ) start
[2025-04-12 01:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888253', 'tblTempVendorCDR_20' ) end
[2025-04-12 01:40:19] Production.INFO: ProcessCDR(1,14888253,1,1,2)
[2025-04-12 01:40:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888253,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:40:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888253,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:40:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888253,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:40:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888253,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888253', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888253', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:40:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 01:40:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 01:40:22] Production.INFO: ==7657== Releasing lock...
[2025-04-12 01:40:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 01:40:22] Production.INFO: 34.75 MB #Memory Used#
[2025-04-12 06:41:02] Production.INFO: ==7718== Lock acquired, processing the job...
[2025-04-12 06:41:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 06:41:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 06:41:02] Production.INFO: neon service started
[2025-04-12 06:41:02] Production.INFO: neon service started
[2025-04-12 06:41:02] Production.INFO: ==7718== Releasing lock...
[2025-04-12 06:41:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 06:41:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 05:41:02] Production.INFO: ==7722== Lock acquired, processing the job...
[2025-04-12 05:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 05:41:02] Production.INFO: ==7722== Releasing lock...
[2025-04-12 05:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 05:41:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 01:41:02] Production.INFO: ==7720== Lock acquired, processing the job...
[2025-04-12 01:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 01:41:03] Production.INFO: ==7720== Releasing lock...
[2025-04-12 01:41:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 01:41:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 01:41:03] Production.INFO: ==7725== Lock acquired, processing the job...
[2025-04-12 01:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 01:41:03] Production.INFO: ==7727== Lock acquired, processing the job...
[2025-04-12 01:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 01:41:03] Production.INFO: ==7733== Lock acquired, processing the job...
[2025-04-12 01:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 01:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 01:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 01:41:04] Production.INFO: ==7727== Releasing lock...
[2025-04-12 01:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 01:41:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 01:41:04] Production.INFO: ==7729== Lock acquired, processing the job...
[2025-04-12 01:41:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 01:41:04] Production.INFO: ==7731== Lock acquired, processing the job...
[2025-04-12 01:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 01:41:04] Production.INFO: ==7735== Lock acquired, processing the job...
[2025-04-12 01:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 01:41:04] Production.ERROR: done
[2025-04-12 01:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 01:41:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 01:41:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 01:41:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 01:41:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 01:41:04] Production.INFO: Account Balance Start.
[2025-04-12 01:41:04] Production.INFO: CreateAllLog Start
[2025-04-12 01:41:04] Production.INFO: 117
[2025-04-12 01:41:04] Production.INFO: Date 2025-04-08
[2025-04-12 01:41:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:41:04] Production.ERROR: done
[2025-04-12 01:41:04] Production.INFO: Date 2025-04-09
[2025-04-12 01:41:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:41:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 01:41:04] Production.INFO: count ==12
[2025-04-12 01:41:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 01:41:04] Production.INFO: count ==23
[2025-04-12 01:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888258') start
[2025-04-12 01:41:04] Production.INFO: Date 2025-04-10
[2025-04-12 01:41:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:41:04] Production.INFO: Date 2025-04-11
[2025-04-12 01:41:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:41:04] Production.INFO: Date 2025-04-12
[2025-04-12 01:41:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888258') end
[2025-04-12 01:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 01:41:04] Production.INFO: 1
[2025-04-12 01:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 01:41:04] Production.INFO: Total Charge 0
[2025-04-12 01:41:04] Production.INFO: ==7735== Releasing lock...
[2025-04-12 01:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 01:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 01:41:04] Production.INFO: CreateAllLog End
[2025-04-12 01:41:04] Production.INFO: Account Balance End.
[2025-04-12 01:41:04] Production.ERROR: CronJobId end 12
[2025-04-12 01:41:04] Production.INFO: ==7731== Releasing lock...
[2025-04-12 01:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 01:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 01:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 22:41:05
[end_date_ymd] => 2025-04-12 01:41:05
[RateCDR] => 1
)
[2025-04-12 01:41:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 22:41:05' and `end` < '2025-04-12 01:41:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 01:41:11] Production.ERROR: CronJobId end10
[2025-04-12 01:41:11] Production.INFO: ==7729== Releasing lock...
[2025-04-12 01:41:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 01:41:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 01:41:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 01:41:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 01:41:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 01:41:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 01:41:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 01:41:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 01:41:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 01:41:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 01:41:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 01:41:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 01:41:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 01:41:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 01:41:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 01:41:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 01:41:14] Production.INFO: call_cost start
[2025-04-12 01:41:14] Production.INFO: call_cost end
[2025-04-12 01:41:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 01:41:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 01:41:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 01:41:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 01:41:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 01:41:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 01:41:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 01:41:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 01:41:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 01:41:15] Production.INFO: ==7725== Releasing lock...
[2025-04-12 01:41:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 01:41:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 01:41:18] Production.INFO: count ==884
[2025-04-12 01:41:18] Production.ERROR: pbx CDR StartTime 2025-04-11 22:41:05 - End Time 2025-04-12 01:41:05
[2025-04-12 01:41:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 01:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888259', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888259', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888259', 'tblTempVendorCDR_20' ) start
[2025-04-12 01:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888259', 'tblTempVendorCDR_20' ) end
[2025-04-12 01:41:18] Production.INFO: ProcessCDR(1,14888259,1,1,2)
[2025-04-12 01:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888259,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:41:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888259,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:41:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888259,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:41:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888259,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888259', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888259', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:41:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 01:41:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 01:41:22] Production.INFO: ==7733== Releasing lock...
[2025-04-12 01:41:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 01:41:22] Production.INFO: 34.75 MB #Memory Used#
[2025-04-12 06:42:01] Production.INFO: ==7793== Lock acquired, processing the job...
[2025-04-12 06:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 06:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 06:42:01] Production.INFO: neon service started
[2025-04-12 06:42:01] Production.INFO: neon service started
[2025-04-12 06:42:01] Production.INFO: ==7793== Releasing lock...
[2025-04-12 06:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 06:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 01:42:02] Production.INFO: ==7795== Lock acquired, processing the job...
[2025-04-12 01:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 05:42:02] Production.INFO: ==7797== Lock acquired, processing the job...
[2025-04-12 05:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 05:42:02] Production.INFO: ==7797== Releasing lock...
[2025-04-12 05:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 05:42:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 01:42:02] Production.INFO: ==7795== Releasing lock...
[2025-04-12 01:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 01:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 01:42:03] Production.INFO: ==7802== Lock acquired, processing the job...
[2025-04-12 01:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 01:42:03] Production.INFO: ==7810== Lock acquired, processing the job...
[2025-04-12 01:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 01:42:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 01:42:03] Production.INFO: count ==12
[2025-04-12 01:42:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 01:42:03] Production.INFO: count ==23
[2025-04-12 01:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14888261') start
[2025-04-12 01:42:03] Production.INFO: ==7800== Lock acquired, processing the job...
[2025-04-12 01:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 01:42:03] Production.INFO: ==7804== Lock acquired, processing the job...
[2025-04-12 01:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 01:42:03] Production.INFO: ==7802== Releasing lock...
[2025-04-12 01:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 01:42:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 01:42:04] Production.INFO: ==7808== Lock acquired, processing the job...
[2025-04-12 01:42:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 01:42:04] Production.INFO: ==7806== Lock acquired, processing the job...
[2025-04-12 01:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 01:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888261') end
[2025-04-12 01:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 01:42:04] Production.INFO: 1
[2025-04-12 01:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 01:42:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 01:42:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 01:42:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 01:42:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 01:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 01:42:04] Production.INFO: ==7810== Releasing lock...
[2025-04-12 01:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 01:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 01:42:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 01:42:04] Production.INFO: Account Balance Start.
[2025-04-12 01:42:04] Production.INFO: CreateAllLog Start
[2025-04-12 01:42:04] Production.INFO: 117
[2025-04-12 01:42:04] Production.INFO: Date 2025-04-08
[2025-04-12 01:42:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:42:04] Production.INFO: Date 2025-04-09
[2025-04-12 01:42:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:42:04] Production.INFO: Date 2025-04-10
[2025-04-12 01:42:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:42:04] Production.INFO: Date 2025-04-11
[2025-04-12 01:42:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:42:04] Production.INFO: Date 2025-04-12
[2025-04-12 01:42:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:42:04] Production.ERROR: done
[2025-04-12 01:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 01:42:04] Production.INFO: Total Charge 0
[2025-04-12 01:42:04] Production.INFO: CreateAllLog End
[2025-04-12 01:42:04] Production.ERROR: done
[2025-04-12 01:42:04] Production.INFO: Account Balance End.
[2025-04-12 01:42:04] Production.ERROR: CronJobId end 12
[2025-04-12 01:42:04] Production.INFO: ==7806== Releasing lock...
[2025-04-12 01:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 01:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 01:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 22:42:05
[end_date_ymd] => 2025-04-12 01:42:05
[RateCDR] => 1
)
[2025-04-12 01:42:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 22:42:05' and `end` < '2025-04-12 01:42:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 01:42:12] Production.ERROR: CronJobId end10
[2025-04-12 01:42:12] Production.INFO: ==7804== Releasing lock...
[2025-04-12 01:42:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 01:42:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 01:42:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 01:42:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 01:42:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 01:42:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 01:42:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 01:42:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 01:42:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 01:42:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 01:42:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 01:42:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 01:42:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 01:42:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 01:42:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 01:42:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 01:42:14] Production.INFO: call_cost start
[2025-04-12 01:42:14] Production.INFO: call_cost end
[2025-04-12 01:42:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 01:42:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 01:42:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 01:42:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 01:42:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 01:42:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 01:42:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 01:42:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 01:42:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 01:42:15] Production.INFO: ==7800== Releasing lock...
[2025-04-12 01:42:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 01:42:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 01:42:18] Production.INFO: count ==886
[2025-04-12 01:42:19] Production.ERROR: pbx CDR StartTime 2025-04-11 22:42:05 - End Time 2025-04-12 01:42:05
[2025-04-12 01:42:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 01:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888264', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888264', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888264', 'tblTempVendorCDR_20' ) start
[2025-04-12 01:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888264', 'tblTempVendorCDR_20' ) end
[2025-04-12 01:42:19] Production.INFO: ProcessCDR(1,14888264,1,1,2)
[2025-04-12 01:42:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888264,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:42:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888264,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:42:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888264,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:42:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888264,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888264', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888264', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:42:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 01:42:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 01:42:22] Production.INFO: ==7808== Releasing lock...
[2025-04-12 01:42:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 01:42:22] Production.INFO: 35.25 MB #Memory Used#
[2025-04-12 06:43:02] Production.INFO: ==7866== Lock acquired, processing the job...
[2025-04-12 06:43:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 06:43:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 06:43:02] Production.INFO: neon service started
[2025-04-12 06:43:02] Production.INFO: neon service started
[2025-04-12 06:43:02] Production.INFO: ==7866== Releasing lock...
[2025-04-12 06:43:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 06:43:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 05:43:02] Production.INFO: ==7870== Lock acquired, processing the job...
[2025-04-12 05:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 05:43:02] Production.INFO: ==7870== Releasing lock...
[2025-04-12 05:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 05:43:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 01:43:02] Production.INFO: ==7868== Lock acquired, processing the job...
[2025-04-12 01:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 01:43:03] Production.INFO: ==7868== Releasing lock...
[2025-04-12 01:43:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 01:43:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 01:43:04] Production.INFO: ==7873== Lock acquired, processing the job...
[2025-04-12 01:43:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 01:43:04] Production.INFO: ==7875== Lock acquired, processing the job...
[2025-04-12 01:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 01:43:04] Production.INFO: ==7877== Lock acquired, processing the job...
[2025-04-12 01:43:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 01:43:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 01:43:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 01:43:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 01:43:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 01:43:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 01:43:04] Production.INFO: ==7875== Releasing lock...
[2025-04-12 01:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 01:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 01:43:04] Production.INFO: ==7879== Lock acquired, processing the job...
[2025-04-12 01:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 01:43:04] Production.INFO: ==7881== Lock acquired, processing the job...
[2025-04-12 01:43:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 01:43:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 01:43:04] Production.INFO: ==7883== Lock acquired, processing the job...
[2025-04-12 01:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 01:43:04] Production.INFO: Account Balance Start.
[2025-04-12 01:43:04] Production.INFO: CreateAllLog Start
[2025-04-12 01:43:04] Production.INFO: 117
[2025-04-12 01:43:04] Production.INFO: Date 2025-04-08
[2025-04-12 01:43:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:43:04] Production.INFO: Date 2025-04-09
[2025-04-12 01:43:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:43:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 01:43:04] Production.INFO: Date 2025-04-10
[2025-04-12 01:43:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:43:04] Production.INFO: count ==12
[2025-04-12 01:43: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-12 01:43:05] Production.INFO: count ==23
[2025-04-12 01:43:05] Production.ERROR: done
[2025-04-12 01:43:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 01:43:05] Production.ERROR: PBX CALL prc_importPBXExtension('14888268') start
[2025-04-12 01:43:05] Production.INFO: Date 2025-04-11
[2025-04-12 01:43:05] Production.INFO: Reseller ==> 0
[2025-04-12 01:43:05] Production.INFO: Date 2025-04-12
[2025-04-12 01:43:05] Production.INFO: Reseller ==> 0
[2025-04-12 01:43:05] Production.ERROR: PBX CALL prc_importPBXExtension('14888268') end
[2025-04-12 01:43:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 01:43:05] Production.INFO: 1
[2025-04-12 01:43:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 01:43:05] Production.ERROR: done
[2025-04-12 01:43:05] Production.INFO: ==7883== Releasing lock...
[2025-04-12 01:43:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 01:43:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 01:43:05] Production.INFO: Total Charge 0
[2025-04-12 01:43:05] Production.INFO: CreateAllLog End
[2025-04-12 01:43:05] Production.INFO: Account Balance End.
[2025-04-12 01:43:05] Production.ERROR: CronJobId end 12
[2025-04-12 01:43:05] Production.INFO: ==7879== Releasing lock...
[2025-04-12 01:43:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 01:43:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 01:43:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 22:43:06
[end_date_ymd] => 2025-04-12 01:43:06
[RateCDR] => 1
)
[2025-04-12 01:43:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 22:43:06' and `end` < '2025-04-12 01:43:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 01:43:13] Production.ERROR: CronJobId end10
[2025-04-12 01:43:13] Production.INFO: ==7877== Releasing lock...
[2025-04-12 01:43:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 01:43:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 01:43:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 01:43:16] Production.INFO: ============== Balance Warning START===========
[2025-04-12 01:43:16] Production.INFO: ============== Balance Warning END===========
[2025-04-12 01:43:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 01:43:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 01:43:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 01:43:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 01:43:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 01:43:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 01:43:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 01:43:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 01:43:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 01:43:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 01:43:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 01:43:17] Production.INFO: call_cost start
[2025-04-12 01:43:17] Production.INFO: call_cost end
[2025-04-12 01:43:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 01:43:18] Production.INFO: ============== Report Schedule START===========
[2025-04-12 01:43:18] Production.INFO: ============== Report Schedule END===========
[2025-04-12 01:43:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 01:43:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 01:43:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 01:43:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 01:43:18] Production.INFO: ============== Deal alert START===========
[2025-04-12 01:43:18] Production.INFO: ============== Deal alert END===========
[2025-04-12 01:43:18] Production.INFO: ==7873== Releasing lock...
[2025-04-12 01:43:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 01:43:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 01:43:19] Production.INFO: count ==882
[2025-04-12 01:43:19] Production.ERROR: pbx CDR StartTime 2025-04-11 22:43:06 - End Time 2025-04-12 01:43:06
[2025-04-12 01:43:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 01:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888269', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888269', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888269', 'tblTempVendorCDR_20' ) start
[2025-04-12 01:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888269', 'tblTempVendorCDR_20' ) end
[2025-04-12 01:43:19] Production.INFO: ProcessCDR(1,14888269,1,1,2)
[2025-04-12 01:43:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888269,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:43:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888269,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:43:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888269,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:43:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888269,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:43:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888269', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:43:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888269', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:43:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 01:43:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 01:43:23] Production.INFO: ==7881== Releasing lock...
[2025-04-12 01:43:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 01:43:23] Production.INFO: 35.25 MB #Memory Used#
[2025-04-12 06:44:01] Production.INFO: ==7943== Lock acquired, processing the job...
[2025-04-12 06:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 06:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 06:44:01] Production.INFO: neon service started
[2025-04-12 06:44:01] Production.INFO: neon service started
[2025-04-12 06:44:01] Production.INFO: ==7943== Releasing lock...
[2025-04-12 06:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 06:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 01:44:02] Production.INFO: ==7945== Lock acquired, processing the job...
[2025-04-12 01:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 01:44:02] Production.INFO: ==7945== Releasing lock...
[2025-04-12 01:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 01:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 05:44:02] Production.INFO: ==7947== Lock acquired, processing the job...
[2025-04-12 05:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 05:44:02] Production.INFO: ==7947== Releasing lock...
[2025-04-12 05:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 05:44:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 01:44:03] Production.INFO: ==7957== Lock acquired, processing the job...
[2025-04-12 01:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 01:44:03] Production.INFO: ==7955== Lock acquired, processing the job...
[2025-04-12 01:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 01:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 01:44:03] Production.INFO: Account Balance Start.
[2025-04-12 01:44:03] Production.INFO: CreateAllLog Start
[2025-04-12 01:44:03] Production.INFO: 117
[2025-04-12 01:44:03] Production.INFO: Date 2025-04-08
[2025-04-12 01:44:03] Production.INFO: ==7951== Lock acquired, processing the job...
[2025-04-12 01:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 01:44:03] Production.INFO: ==7949== Lock acquired, processing the job...
[2025-04-12 01:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 01:44:03] Production.INFO: Reseller ==> 0
[2025-04-12 01:44:03] Production.INFO: ==7953== Lock acquired, processing the job...
[2025-04-12 01:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 01:44:03] Production.INFO: Date 2025-04-09
[2025-04-12 01:44:03] Production.INFO: Reseller ==> 0
[2025-04-12 01:44:03] Production.INFO: Date 2025-04-10
[2025-04-12 01:44:03] Production.INFO: Reseller ==> 0
[2025-04-12 01:44:03] Production.INFO: ==7959== Lock acquired, processing the job...
[2025-04-12 01:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 01:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 01:44:03] Production.INFO: Date 2025-04-11
[2025-04-12 01:44:03] Production.INFO: Reseller ==> 0
[2025-04-12 01:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 01:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 01:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 01:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 01:44:03] Production.INFO: Date 2025-04-12
[2025-04-12 01:44:03] Production.INFO: Reseller ==> 0
[2025-04-12 01:44:03] Production.INFO: Total Charge 0
[2025-04-12 01:44:03] Production.INFO: CreateAllLog End
[2025-04-12 01:44:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 01:44:03] Production.ERROR: done
[2025-04-12 01:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 01:44:04] Production.INFO: count ==12
[2025-04-12 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-12 01:44:04] Production.INFO: count ==23
[2025-04-12 01:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888273') start
[2025-04-12 01:44:04] Production.ERROR: done
[2025-04-12 01:44:04] Production.INFO: ==7951== Releasing lock...
[2025-04-12 01:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 01:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 01:44:04] Production.INFO: Account Balance End.
[2025-04-12 01:44:04] Production.ERROR: CronJobId end 12
[2025-04-12 01:44:04] Production.INFO: ==7955== Releasing lock...
[2025-04-12 01:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 01:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 01:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888273') end
[2025-04-12 01:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 01:44:04] Production.INFO: 1
[2025-04-12 01:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 01:44:04] Production.INFO: ==7959== Releasing lock...
[2025-04-12 01:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 01:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 01:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 22:44:05
[end_date_ymd] => 2025-04-12 01:44:05
[RateCDR] => 1
)
[2025-04-12 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-11 22:44:05' and `end` < '2025-04-12 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-12 01:44:11] Production.ERROR: CronJobId end10
[2025-04-12 01:44:11] Production.INFO: ==7953== Releasing lock...
[2025-04-12 01:44:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 01:44:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 01:44:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 01:44:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 01:44:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 01:44:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 01:44:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 01:44:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 01:44:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 01:44:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 01:44:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 01:44:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 01:44:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 01:44:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 01:44:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 01:44:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 01:44:14] Production.INFO: call_cost start
[2025-04-12 01:44:14] Production.INFO: call_cost end
[2025-04-12 01:44:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 01:44:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 01:44:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 01:44:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 01:44:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 01:44:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 01:44:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 01:44:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 01:44:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 01:44:15] Production.INFO: ==7949== Releasing lock...
[2025-04-12 01:44:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 01:44:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 01:44:18] Production.INFO: count ==883
[2025-04-12 01:44:18] Production.ERROR: pbx CDR StartTime 2025-04-11 22:44:05 - End Time 2025-04-12 01:44:05
[2025-04-12 01:44:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 01:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888274', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888274', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888274', 'tblTempVendorCDR_20' ) start
[2025-04-12 01:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888274', 'tblTempVendorCDR_20' ) end
[2025-04-12 01:44:18] Production.INFO: ProcessCDR(1,14888274,1,1,2)
[2025-04-12 01:44:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888274,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:44:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888274,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:44:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888274,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:44:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888274,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888274', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888274', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:44:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 01:44:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 01:44:21] Production.INFO: ==7957== Releasing lock...
[2025-04-12 01:44:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 01:44:21] Production.INFO: 35 MB #Memory Used#
[2025-04-12 06:45:02] Production.INFO: ==8014== Lock acquired, processing the job...
[2025-04-12 06:45:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 06:45:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 06:45:02] Production.INFO: neon service started
[2025-04-12 06:45:02] Production.INFO: neon service started
[2025-04-12 06:45:02] Production.INFO: ==8014== Releasing lock...
[2025-04-12 06:45:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 06:45:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 01:45:02] Production.INFO: ==8016== Lock acquired, processing the job...
[2025-04-12 01:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 01:45:02] Production.INFO: ==8016== Releasing lock...
[2025-04-12 01:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 01:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 05:45:02] Production.INFO: ==8018== Lock acquired, processing the job...
[2025-04-12 05:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 05:45:03] Production.INFO: ==8018== Releasing lock...
[2025-04-12 05:45:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 05:45:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 01:45:03] Production.INFO: ==8022== Lock acquired, processing the job...
[2025-04-12 01:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 01:45:03] Production.INFO: ==8020== Lock acquired, processing the job...
[2025-04-12 01:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 01:45:03] Production.INFO: ==8024== Lock acquired, processing the job...
[2025-04-12 01:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 01:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 01:45:03] Production.INFO: ==8022== Releasing lock...
[2025-04-12 01:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 01:45:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 01:45:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 01:45:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 01:45:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 01:45:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 01:45:04] Production.INFO: ==8026== Lock acquired, processing the job...
[2025-04-12 01:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 01:45:04] Production.INFO: ==8028== Lock acquired, processing the job...
[2025-04-12 01:45:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 01:45:04] Production.INFO: ==8030== Lock acquired, processing the job...
[2025-04-12 01:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 01:45:04] Production.INFO: Account Balance Start.
[2025-04-12 01:45:04] Production.INFO: CreateAllLog Start
[2025-04-12 01:45:04] Production.INFO: 117
[2025-04-12 01:45:04] Production.INFO: Date 2025-04-08
[2025-04-12 01:45:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:45:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 01:45:04] Production.INFO: Date 2025-04-09
[2025-04-12 01:45:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:45:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 01:45:04] Production.INFO: count ==12
[2025-04-12 01:45:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 01:45:04] Production.INFO: count ==23
[2025-04-12 01:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888278') start
[2025-04-12 01:45:04] Production.INFO: Date 2025-04-10
[2025-04-12 01:45:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888278') end
[2025-04-12 01:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 01:45:04] Production.INFO: 1
[2025-04-12 01:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 01:45:04] Production.INFO: ==8030== Releasing lock...
[2025-04-12 01:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 01:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 01:45:04] Production.ERROR: done
[2025-04-12 01:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 01:45:04] Production.INFO: Date 2025-04-11
[2025-04-12 01:45:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:45:04] Production.INFO: Date 2025-04-12
[2025-04-12 01:45:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:45:04] Production.INFO: Total Charge 0
[2025-04-12 01:45:04] Production.INFO: CreateAllLog End
[2025-04-12 01:45:04] Production.ERROR: done
[2025-04-12 01:45:05] Production.INFO: Account Balance End.
[2025-04-12 01:45:05] Production.ERROR: CronJobId end 12
[2025-04-12 01:45:05] Production.INFO: ==8026== Releasing lock...
[2025-04-12 01:45:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 01:45:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 01:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 22:45:05
[end_date_ymd] => 2025-04-12 01:45:05
[RateCDR] => 1
)
[2025-04-12 01:45:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 22:45:05' and `end` < '2025-04-12 01:45:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 01:45:11] Production.ERROR: CronJobId end10
[2025-04-12 01:45:11] Production.INFO: ==8024== Releasing lock...
[2025-04-12 01:45:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 01:45:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 01:45:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 01:45:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 01:45:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 01:45:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 01:45:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 01:45:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 01:45:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 01:45:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 01:45:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 01:45:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 01:45:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 01:45:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 01:45:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 01:45:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 01:45:14] Production.INFO: call_cost start
[2025-04-12 01:45:14] Production.INFO: call_cost end
[2025-04-12 01:45:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 01:45:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 01:45:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 01:45:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 01:45:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 01:45:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 01:45:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 01:45:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 01:45:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 01:45:15] Production.INFO: ==8020== Releasing lock...
[2025-04-12 01:45:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 01:45:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 01:45:18] Production.INFO: count ==882
[2025-04-12 01:45:18] Production.ERROR: pbx CDR StartTime 2025-04-11 22:45:05 - End Time 2025-04-12 01:45:05
[2025-04-12 01:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 01:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888279', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888279', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888279', 'tblTempVendorCDR_20' ) start
[2025-04-12 01:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888279', 'tblTempVendorCDR_20' ) end
[2025-04-12 01:45:18] Production.INFO: ProcessCDR(1,14888279,1,1,2)
[2025-04-12 01:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888279,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:45:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888279,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:45:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888279,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:45:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888279,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:45:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888279', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:45:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888279', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:45:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 01:45:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 01:45:22] Production.INFO: ==8028== Releasing lock...
[2025-04-12 01:45:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 01:45:22] Production.INFO: 35.5 MB #Memory Used#
[2025-04-12 06:46:01] Production.INFO: ==8085== Lock acquired, processing the job...
[2025-04-12 06:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 06:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 06:46:01] Production.INFO: neon service started
[2025-04-12 06:46:01] Production.INFO: neon service started
[2025-04-12 06:46:01] Production.INFO: ==8085== Releasing lock...
[2025-04-12 06:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 06:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 05:46:01] Production.INFO: ==8089== Lock acquired, processing the job...
[2025-04-12 05:46:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 05:46:02] Production.INFO: ==8089== Releasing lock...
[2025-04-12 05:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 05:46:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 01:46:02] Production.INFO: ==8087== Lock acquired, processing the job...
[2025-04-12 01:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 01:46:02] Production.INFO: ==8087== Releasing lock...
[2025-04-12 01:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 01:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 01:46:03] Production.INFO: ==8098== Lock acquired, processing the job...
[2025-04-12 01:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 01:46:03] Production.INFO: Account Balance Start.
[2025-04-12 01:46:03] Production.INFO: CreateAllLog Start
[2025-04-12 01:46:03] Production.INFO: 117
[2025-04-12 01:46:03] Production.INFO: Date 2025-04-08
[2025-04-12 01:46:03] Production.INFO: Reseller ==> 0
[2025-04-12 01:46:03] Production.INFO: Date 2025-04-09
[2025-04-12 01:46:03] Production.INFO: Reseller ==> 0
[2025-04-12 01:46:03] Production.INFO: Date 2025-04-10
[2025-04-12 01:46:03] Production.INFO: Reseller ==> 0
[2025-04-12 01:46:03] Production.INFO: Date 2025-04-11
[2025-04-12 01:46:03] Production.INFO: Reseller ==> 0
[2025-04-12 01:46:03] Production.INFO: Date 2025-04-12
[2025-04-12 01:46:03] Production.INFO: Reseller ==> 0
[2025-04-12 01:46:03] Production.INFO: Total Charge 0
[2025-04-12 01:46:03] Production.INFO: CreateAllLog End
[2025-04-12 01:46:03] Production.INFO: Account Balance End.
[2025-04-12 01:46:03] Production.ERROR: CronJobId end 12
[2025-04-12 01:46:03] Production.INFO: ==8098== Releasing lock...
[2025-04-12 01:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 01:46:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 01:46:03] Production.INFO: ==8092== Lock acquired, processing the job...
[2025-04-12 01:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 01:46:03] Production.INFO: ==8094== Lock acquired, processing the job...
[2025-04-12 01:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 01:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 01:46:03] Production.INFO: ==8096== Lock acquired, processing the job...
[2025-04-12 01:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 01:46:03] Production.INFO: ==8102== Lock acquired, processing the job...
[2025-04-12 01:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 01:46:03] Production.INFO: ==8100== Lock acquired, processing the job...
[2025-04-12 01:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 01:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 01:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 01:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 01:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 01:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 01:46:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 01:46:04] Production.INFO: count ==12
[2025-04-12 01:46:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 01:46:04] Production.INFO: count ==23
[2025-04-12 01:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888283') start
[2025-04-12 01:46:04] Production.INFO: ==8094== Releasing lock...
[2025-04-12 01:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 01:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 01:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888283') end
[2025-04-12 01:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 01:46:04] Production.INFO: 1
[2025-04-12 01:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 01:46:04] Production.INFO: ==8102== Releasing lock...
[2025-04-12 01:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 01:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 01:46:04] Production.ERROR: done
[2025-04-12 01:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 01:46:04] Production.ERROR: done
[2025-04-12 01:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 22:46:05
[end_date_ymd] => 2025-04-12 01:46:05
[RateCDR] => 1
)
[2025-04-12 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-11 22:46:05' and `end` < '2025-04-12 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-12 01:46:12] Production.ERROR: CronJobId end10
[2025-04-12 01:46:12] Production.INFO: ==8096== Releasing lock...
[2025-04-12 01:46:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 01:46:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 01:46:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 01:46:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 01:46:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 01:46:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 01:46:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 01:46:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 01:46:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 01:46:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 01:46:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 01:46:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 01:46:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 01:46:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 01:46:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 01:46:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 01:46:13] Production.INFO: call_cost start
[2025-04-12 01:46:13] Production.INFO: call_cost end
[2025-04-12 01:46:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 01:46:14] Production.INFO: ============== Report Schedule START===========
[2025-04-12 01:46:14] Production.INFO: ============== Report Schedule END===========
[2025-04-12 01:46:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 01:46:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 01:46:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 01:46:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 01:46:14] Production.INFO: ============== Deal alert START===========
[2025-04-12 01:46:14] Production.INFO: ============== Deal alert END===========
[2025-04-12 01:46:14] Production.INFO: ==8092== Releasing lock...
[2025-04-12 01:46:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 01:46:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 01:46:18] Production.INFO: count ==883
[2025-04-12 01:46:18] Production.ERROR: pbx CDR StartTime 2025-04-11 22:46:05 - End Time 2025-04-12 01:46:05
[2025-04-12 01:46:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 01:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888284', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888284', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888284', 'tblTempVendorCDR_20' ) start
[2025-04-12 01:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888284', 'tblTempVendorCDR_20' ) end
[2025-04-12 01:46:18] Production.INFO: ProcessCDR(1,14888284,1,1,2)
[2025-04-12 01:46:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888284,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:46:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888284,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:46:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888284,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:46:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888284,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888284', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888284', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:46:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 01:46:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 01:46:22] Production.INFO: ==8100== Releasing lock...
[2025-04-12 01:46:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 01:46:22] Production.INFO: 34.75 MB #Memory Used#
[2025-04-12 06:47:02] Production.INFO: ==8158== Lock acquired, processing the job...
[2025-04-12 06:47:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 06:47:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 06:47:02] Production.INFO: neon service started
[2025-04-12 06:47:02] Production.INFO: neon service started
[2025-04-12 06:47:02] Production.INFO: ==8158== Releasing lock...
[2025-04-12 06:47:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 06:47:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 01:47:02] Production.INFO: ==8160== Lock acquired, processing the job...
[2025-04-12 01:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 05:47:02] Production.INFO: ==8162== Lock acquired, processing the job...
[2025-04-12 05:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 05:47:02] Production.INFO: ==8162== Releasing lock...
[2025-04-12 05:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 05:47:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 01:47:02] Production.INFO: ==8160== Releasing lock...
[2025-04-12 01:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 01:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 01:47:03] Production.INFO: ==8166== Lock acquired, processing the job...
[2025-04-12 01:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 01:47:03] Production.INFO: ==8173== Lock acquired, processing the job...
[2025-04-12 01:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 01:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 01:47:03] Production.INFO: ==8166== Releasing lock...
[2025-04-12 01:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 01:47:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 01:47:04] Production.INFO: ==8164== Lock acquired, processing the job...
[2025-04-12 01:47:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 01:47:04] Production.ERROR: done
[2025-04-12 01:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 01:47:04] Production.INFO: ==8168== Lock acquired, processing the job...
[2025-04-12 01:47:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 01:47:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 01:47:04] Production.INFO: ==8171== Lock acquired, processing the job...
[2025-04-12 01:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 01:47:04] Production.INFO: ==8175== Lock acquired, processing the job...
[2025-04-12 01:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 01:47:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 01:47:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 01:47:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 01:47:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 01:47:04] Production.INFO: Account Balance Start.
[2025-04-12 01:47:04] Production.INFO: CreateAllLog Start
[2025-04-12 01:47:04] Production.INFO: 117
[2025-04-12 01:47:04] Production.ERROR: done
[2025-04-12 01:47:04] Production.INFO: Date 2025-04-08
[2025-04-12 01:47:04] Production.INFO: Reseller ==> 0
[2025-04-12 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-12 01:47:04] Production.INFO: Date 2025-04-09
[2025-04-12 01:47:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:47:04] Production.INFO: count ==12
[2025-04-12 01:47:04] Production.INFO: Date 2025-04-10
[2025-04-12 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-12 01:47:04] Production.INFO: count ==23
[2025-04-12 01:47:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:47:04] Production.INFO: Date 2025-04-11
[2025-04-12 01:47:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888288') start
[2025-04-12 01:47:04] Production.INFO: Date 2025-04-12
[2025-04-12 01:47:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:47:04] Production.INFO: Total Charge 0
[2025-04-12 01:47:04] Production.INFO: CreateAllLog End
[2025-04-12 01:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888288') end
[2025-04-12 01:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 01:47:04] Production.INFO: 1
[2025-04-12 01:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 01:47:04] Production.INFO: ==8175== Releasing lock...
[2025-04-12 01:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 01:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 01:47:04] Production.INFO: Account Balance End.
[2025-04-12 01:47:04] Production.ERROR: CronJobId end 12
[2025-04-12 01:47:04] Production.INFO: ==8171== Releasing lock...
[2025-04-12 01:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 01:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 01:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 22:47:05
[end_date_ymd] => 2025-04-12 01:47:05
[RateCDR] => 1
)
[2025-04-12 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-11 22:47:05' and `end` < '2025-04-12 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-12 01:47:12] Production.ERROR: CronJobId end10
[2025-04-12 01:47:12] Production.INFO: ==8168== Releasing lock...
[2025-04-12 01:47:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 01:47:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 01:47:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 01:47:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 01:47:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 01:47:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 01:47:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 01:47:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 01:47:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 01:47:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 01:47:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 01:47:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 01:47:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 01:47:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 01:47:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 01:47:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 01:47:14] Production.INFO: call_cost start
[2025-04-12 01:47:14] Production.INFO: call_cost end
[2025-04-12 01:47:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 01:47:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 01:47:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 01:47:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 01:47:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 01:47:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 01:47:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 01:47:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 01:47:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 01:47:15] Production.INFO: ==8164== Releasing lock...
[2025-04-12 01:47:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 01:47:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 01:47:18] Production.INFO: count ==883
[2025-04-12 01:47:18] Production.ERROR: pbx CDR StartTime 2025-04-11 22:47:05 - End Time 2025-04-12 01:47:05
[2025-04-12 01:47:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 01:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888289', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888289', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888289', 'tblTempVendorCDR_20' ) start
[2025-04-12 01:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888289', 'tblTempVendorCDR_20' ) end
[2025-04-12 01:47:18] Production.INFO: ProcessCDR(1,14888289,1,1,2)
[2025-04-12 01:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888289,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:47:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888289,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:47:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888289,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:47:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888289,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888289', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888289', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:47:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 01:47:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 01:47:22] Production.INFO: ==8173== Releasing lock...
[2025-04-12 01:47:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 01:47:22] Production.INFO: 34.75 MB #Memory Used#
[2025-04-12 06:48:01] Production.INFO: ==8228== Lock acquired, processing the job...
[2025-04-12 06:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 06:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 06:48:01] Production.INFO: neon service started
[2025-04-12 06:48:01] Production.INFO: neon service started
[2025-04-12 06:48:01] Production.INFO: ==8228== Releasing lock...
[2025-04-12 06:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 06:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 01:48:01] Production.INFO: ==8231== Lock acquired, processing the job...
[2025-04-12 01:48:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 01:48:02] Production.INFO: ==8231== Releasing lock...
[2025-04-12 01:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 01:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 05:48:02] Production.INFO: ==8233== Lock acquired, processing the job...
[2025-04-12 05:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 05:48:02] Production.INFO: ==8233== Releasing lock...
[2025-04-12 05:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 05:48:02] Production.INFO: 26 MB #Memory Used#
[2025-04-12 01:48:03] Production.INFO: ==8243== Lock acquired, processing the job...
[2025-04-12 01:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 01:48:03] Production.INFO: ==8241== Lock acquired, processing the job...
[2025-04-12 01:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 01:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 01:48:03] Production.INFO: ==8235== Lock acquired, processing the job...
[2025-04-12 01:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 01:48:03] Production.INFO: ==8237== Lock acquired, processing the job...
[2025-04-12 01:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 01:48:03] Production.INFO: ==8239== Lock acquired, processing the job...
[2025-04-12 01:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 01:48:03] Production.INFO: ==8245== Lock acquired, processing the job...
[2025-04-12 01:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 01:48:03] Production.INFO: Account Balance Start.
[2025-04-12 01:48:03] Production.INFO: CreateAllLog Start
[2025-04-12 01:48:03] Production.INFO: 117
[2025-04-12 01:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 01:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 01:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 01:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 01:48:03] Production.INFO: Date 2025-04-08
[2025-04-12 01:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 01:48:03] Production.INFO: Reseller ==> 0
[2025-04-12 01:48:03] Production.INFO: Date 2025-04-09
[2025-04-12 01:48:03] Production.INFO: Reseller ==> 0
[2025-04-12 01:48:03] Production.INFO: Date 2025-04-10
[2025-04-12 01:48:03] Production.INFO: Reseller ==> 0
[2025-04-12 01:48:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 01:48:03] Production.INFO: Date 2025-04-11
[2025-04-12 01:48:03] Production.INFO: Reseller ==> 0
[2025-04-12 01:48:03] Production.INFO: count ==12
[2025-04-12 01:48:03] Production.ERROR: done
[2025-04-12 01:48:03] Production.INFO: Date 2025-04-12
[2025-04-12 01:48:03] Production.INFO: Reseller ==> 0
[2025-04-12 01:48:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 01:48:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 01:48:03] Production.INFO: Total Charge 0
[2025-04-12 01:48:03] Production.INFO: count ==23
[2025-04-12 01:48:04] Production.INFO: CreateAllLog End
[2025-04-12 01:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888293') start
[2025-04-12 01:48:04] Production.INFO: ==8237== Releasing lock...
[2025-04-12 01:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 01:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 01:48:04] Production.ERROR: done
[2025-04-12 01:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888293') end
[2025-04-12 01:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 01:48:04] Production.INFO: 1
[2025-04-12 01:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 01:48:04] Production.INFO: Account Balance End.
[2025-04-12 01:48:04] Production.INFO: ==8245== Releasing lock...
[2025-04-12 01:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 01:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 01:48:04] Production.ERROR: CronJobId end 12
[2025-04-12 01:48:04] Production.INFO: ==8241== Releasing lock...
[2025-04-12 01:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 01:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 01:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 22:48:05
[end_date_ymd] => 2025-04-12 01:48:05
[RateCDR] => 1
)
[2025-04-12 01:48:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 22:48:05' and `end` < '2025-04-12 01:48:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 01:48:11] Production.ERROR: CronJobId end10
[2025-04-12 01:48:11] Production.INFO: ==8239== Releasing lock...
[2025-04-12 01:48:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 01:48:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 01:48:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 01:48:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 01:48:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 01:48:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 01:48:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 01:48:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 01:48:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 01:48:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 01:48:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 01:48:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 01:48:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 01:48:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 01:48:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 01:48:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 01:48:14] Production.INFO: call_cost start
[2025-04-12 01:48:14] Production.INFO: call_cost end
[2025-04-12 01:48:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 01:48:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 01:48:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 01:48:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 01:48:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 01:48:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 01:48:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 01:48:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 01:48:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 01:48:15] Production.INFO: ==8235== Releasing lock...
[2025-04-12 01:48:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 01:48:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 01:48:18] Production.INFO: count ==882
[2025-04-12 01:48:18] Production.ERROR: pbx CDR StartTime 2025-04-11 22:48:05 - End Time 2025-04-12 01:48:05
[2025-04-12 01:48:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 01:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888294', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888294', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888294', 'tblTempVendorCDR_20' ) start
[2025-04-12 01:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888294', 'tblTempVendorCDR_20' ) end
[2025-04-12 01:48:18] Production.INFO: ProcessCDR(1,14888294,1,1,2)
[2025-04-12 01:48:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888294,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:48:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888294,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:48:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888294,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:48:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888294,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888294', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888294', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:48:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 01:48:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 01:48:21] Production.INFO: ==8243== Releasing lock...
[2025-04-12 01:48:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 01:48:21] Production.INFO: 35 MB #Memory Used#
[2025-04-12 06:49:02] Production.INFO: ==8301== Lock acquired, processing the job...
[2025-04-12 06:49:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 06:49:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 06:49:02] Production.INFO: neon service started
[2025-04-12 06:49:02] Production.INFO: neon service started
[2025-04-12 06:49:02] Production.INFO: ==8301== Releasing lock...
[2025-04-12 06:49:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 06:49:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 01:49:02] Production.INFO: ==8303== Lock acquired, processing the job...
[2025-04-12 01:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 05:49:02] Production.INFO: ==8305== Lock acquired, processing the job...
[2025-04-12 05:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 05:49:02] Production.INFO: ==8305== Releasing lock...
[2025-04-12 05:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 05:49:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 01:49:02] Production.INFO: ==8303== Releasing lock...
[2025-04-12 01:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 01:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 01:49:03] Production.INFO: ==8310== Lock acquired, processing the job...
[2025-04-12 01:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 01:49:03] Production.INFO: ==8316== Lock acquired, processing the job...
[2025-04-12 01:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 01:49:03] Production.INFO: ==8318== Lock acquired, processing the job...
[2025-04-12 01:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 01:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 01:49:03] Production.INFO: ==8308== Lock acquired, processing the job...
[2025-04-12 01:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 01: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-12 01:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 01:49:03] Production.INFO: count ==12
[2025-04-12 01:49:03] Production.INFO: ==8312== Lock acquired, processing the job...
[2025-04-12 01:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 01:49:03] Production.INFO: ==8314== Lock acquired, processing the job...
[2025-04-12 01:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 01: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-12 01:49:03] Production.INFO: ==8310== Releasing lock...
[2025-04-12 01:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 01:49:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 01:49:03] Production.INFO: count ==23
[2025-04-12 01:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14888296') start
[2025-04-12 01:49:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 01:49:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 01:49:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 01:49:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 01:49:04] Production.INFO: Account Balance Start.
[2025-04-12 01:49:04] Production.INFO: CreateAllLog Start
[2025-04-12 01:49:04] Production.INFO: 117
[2025-04-12 01:49:04] Production.INFO: Date 2025-04-08
[2025-04-12 01:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888296') end
[2025-04-12 01:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 01:49:04] Production.INFO: 1
[2025-04-12 01:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 01:49:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:49:04] Production.INFO: Date 2025-04-09
[2025-04-12 01:49:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:49:04] Production.INFO: ==8318== Releasing lock...
[2025-04-12 01:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 01:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 01:49:04] Production.ERROR: done
[2025-04-12 01:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 01:49:04] Production.INFO: Date 2025-04-10
[2025-04-12 01:49:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:49:04] Production.INFO: Date 2025-04-11
[2025-04-12 01:49:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:49:04] Production.INFO: Date 2025-04-12
[2025-04-12 01:49:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:49:04] Production.INFO: Total Charge 0
[2025-04-12 01:49:04] Production.INFO: CreateAllLog End
[2025-04-12 01:49:04] Production.ERROR: done
[2025-04-12 01:49:04] Production.INFO: Account Balance End.
[2025-04-12 01:49:04] Production.ERROR: CronJobId end 12
[2025-04-12 01:49:04] Production.INFO: ==8314== Releasing lock...
[2025-04-12 01:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 01:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 01:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 22:49:05
[end_date_ymd] => 2025-04-12 01:49:05
[RateCDR] => 1
)
[2025-04-12 01:49:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 22:49:05' and `end` < '2025-04-12 01:49:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 01:49:12] Production.ERROR: CronJobId end10
[2025-04-12 01:49:12] Production.INFO: ==8312== Releasing lock...
[2025-04-12 01:49:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 01:49:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 01:49:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 01:49:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 01:49:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 01:49:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 01:49:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 01:49:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 01:49:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 01:49:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 01:49:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 01:49:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 01:49:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 01:49:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 01:49:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 01:49:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 01:49:14] Production.INFO: call_cost start
[2025-04-12 01:49:14] Production.INFO: call_cost end
[2025-04-12 01:49:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 01:49:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 01:49:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 01:49:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 01:49:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 01:49:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 01:49:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 01:49:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 01:49:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 01:49:15] Production.INFO: ==8308== Releasing lock...
[2025-04-12 01:49:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 01:49:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 01:49:18] Production.INFO: count ==882
[2025-04-12 01:49:18] Production.ERROR: pbx CDR StartTime 2025-04-11 22:49:05 - End Time 2025-04-12 01:49:05
[2025-04-12 01:49:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 01:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888299', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888299', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888299', 'tblTempVendorCDR_20' ) start
[2025-04-12 01:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888299', 'tblTempVendorCDR_20' ) end
[2025-04-12 01:49:18] Production.INFO: ProcessCDR(1,14888299,1,1,2)
[2025-04-12 01:49:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888299,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:49:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888299,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:49:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888299,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:49:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888299,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888299', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888299', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:49:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 01:49:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 01:49:22] Production.INFO: ==8316== Releasing lock...
[2025-04-12 01:49:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 01:49:22] Production.INFO: 35 MB #Memory Used#
[2025-04-12 06:50:01] Production.INFO: ==8371== Lock acquired, processing the job...
[2025-04-12 06:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 06:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 06:50:01] Production.INFO: neon service started
[2025-04-12 06:50:01] Production.INFO: neon service started
[2025-04-12 06:50:01] Production.INFO: ==8371== Releasing lock...
[2025-04-12 06:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 06:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 01:50:01] Production.INFO: ==8373== Lock acquired, processing the job...
[2025-04-12 01:50:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 01:50:02] Production.INFO: ==8373== Releasing lock...
[2025-04-12 01:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 01:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 05:50:02] Production.INFO: ==8375== Lock acquired, processing the job...
[2025-04-12 05:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 05:50:02] Production.INFO: ==8375== Releasing lock...
[2025-04-12 05:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 05:50:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 01:50:03] Production.INFO: ==8378== Lock acquired, processing the job...
[2025-04-12 01:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 01:50:03] Production.INFO: ==8380== Lock acquired, processing the job...
[2025-04-12 01:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 01:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 01:50:03] Production.INFO: ==8382== Lock acquired, processing the job...
[2025-04-12 01:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 01:50:03] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 01:50:03] Production.INFO: ==8378== Releasing lock...
[2025-04-12 01:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 01:50:03] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 01:50:03] Production.INFO: ==8384== Lock acquired, processing the job...
[2025-04-12 01:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 01:50:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 01:50:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 01:50:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 01:50:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 01:50:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 01:50:03] Production.INFO: ==8386== Lock acquired, processing the job...
[2025-04-12 01:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 01:50:03] Production.INFO: ==8388== Lock acquired, processing the job...
[2025-04-12 01:50:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 01:50:03] Production.INFO: ==8390== Lock acquired, processing the job...
[2025-04-12 01:50:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 01:50:03] Production.INFO: Account Balance Start.
[2025-04-12 01:50:03] Production.INFO: CreateAllLog Start
[2025-04-12 01:50:03] Production.INFO: 117
[2025-04-12 01:50:03] Production.INFO: Date 2025-04-08
[2025-04-12 01:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 01:50:03] Production.INFO: ==8382== Releasing lock...
[2025-04-12 01:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 01:50:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 01:50:03] Production.INFO: Reseller ==> 0
[2025-04-12 01:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 01:50:03] Production.INFO: Date 2025-04-09
[2025-04-12 01:50:03] Production.INFO: Reseller ==> 0
[2025-04-12 01:50:03] Production.INFO: ==8392== Lock acquired, processing the job...
[2025-04-12 01:50:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 01:50:03] Production.INFO: Date 2025-04-10
[2025-04-12 01:50:03] Production.INFO: Reseller ==> 0
[2025-04-12 01:50:03] Production.INFO: Date 2025-04-11
[2025-04-12 01:50:03] Production.INFO: Reseller ==> 0
[2025-04-12 01:50:03] Production.INFO: Date 2025-04-12
[2025-04-12 01:50:03] Production.INFO: Reseller ==> 0
[2025-04-12 01:50:04] Production.INFO: Total Charge 0
[2025-04-12 01:50:04] Production.INFO: CreateAllLog End
[2025-04-12 01:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 01:50:04] Production.INFO: count ==12
[2025-04-12 01:50:04] Production.ERROR: done
[2025-04-12 01:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 01:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 01:50:04] Production.INFO: count ==23
[2025-04-12 01:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888303') start
[2025-04-12 01:50:04] Production.ERROR: done
[2025-04-12 01:50:04] Production.INFO: Account Balance End.
[2025-04-12 01:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 01:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14888304', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 01:50:04] Production.ERROR: CronJobId end 12
[2025-04-12 01:50:04] Production.INFO: ==8386== Releasing lock...
[2025-04-12 01:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 01:50:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 01:50:04] Production.ERROR: done
[2025-04-12 01:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888303') end
[2025-04-12 01:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 01:50:04] Production.INFO: 1
[2025-04-12 01:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 01:50:04] Production.INFO: ==8392== Releasing lock...
[2025-04-12 01:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 01:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 01:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 22:50:06
[end_date_ymd] => 2025-04-12 01:50:06
[RateCDR] => 1
)
[2025-04-12 01:50:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 22:50:06' and `end` < '2025-04-12 01:50:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 01:50:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14888304', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 01:50:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 01:50:08] Production.INFO: ProcessCDR(1,14888304,1,1,2)
[2025-04-12 01:50:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14888304,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:50:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14888304,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:50:08] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 01:50:08] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 01:50:09] Production.INFO: ==8390== Releasing lock...
[2025-04-12 01:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 01:50:09] Production.INFO: 26 MB #Memory Used#
[2025-04-12 01:50:14] Production.ERROR: CronJobId end10
[2025-04-12 01:50:14] Production.INFO: ==8384== Releasing lock...
[2025-04-12 01:50:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 01:50:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 01:50:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 01:50:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 01:50:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 01:50:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 01:50:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 01:50:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 01:50:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 01:50:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 01:50:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 01:50:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 01:50:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 01:50:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 01:50:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 01:50:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 01:50:16] Production.INFO: call_cost start
[2025-04-12 01:50:16] Production.INFO: call_cost end
[2025-04-12 01:50:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 01:50:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 01:50:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 01:50:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 01:50:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 01:50:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 01:50:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 01:50:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 01:50:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 01:50:17] Production.INFO: ==8380== Releasing lock...
[2025-04-12 01:50:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 01:50:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 01:50:18] Production.INFO: count ==893
[2025-04-12 01:50:19] Production.ERROR: pbx CDR StartTime 2025-04-11 22:50:06 - End Time 2025-04-12 01:50:06
[2025-04-12 01:50:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 01:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888305', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888305', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888305', 'tblTempVendorCDR_20' ) start
[2025-04-12 01:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888305', 'tblTempVendorCDR_20' ) end
[2025-04-12 01:50:19] Production.INFO: ProcessCDR(1,14888305,1,1,2)
[2025-04-12 01:50:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888305,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:50:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888305,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:50:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888305,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:50:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888305,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:50:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888305', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:50:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888305', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:50:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 01:50:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 01:50:24] Production.INFO: ==8388== Releasing lock...
[2025-04-12 01:50:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 01:50:24] Production.INFO: 35.25 MB #Memory Used#
[2025-04-12 06:51:01] Production.INFO: ==8447== Lock acquired, processing the job...
[2025-04-12 06:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 06:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 06:51:01] Production.INFO: neon service started
[2025-04-12 06:51:01] Production.INFO: neon service started
[2025-04-12 06:51:01] Production.INFO: ==8447== Releasing lock...
[2025-04-12 06:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 06:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 05:51:02] Production.INFO: ==8451== Lock acquired, processing the job...
[2025-04-12 05:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 05:51:02] Production.INFO: ==8451== Releasing lock...
[2025-04-12 05:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 05:51:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 01:51:02] Production.INFO: ==8449== Lock acquired, processing the job...
[2025-04-12 01:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 01:51:02] Production.INFO: ==8449== Releasing lock...
[2025-04-12 01:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 01:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 01:51:03] Production.INFO: ==8454== Lock acquired, processing the job...
[2025-04-12 01:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 01:51:03] Production.INFO: ==8458== Lock acquired, processing the job...
[2025-04-12 01:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 01:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 01:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 01:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 01:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 01:51:03] Production.INFO: ==8462== Lock acquired, processing the job...
[2025-04-12 01:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 01:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 01:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 01:51:03] Production.INFO: ==8456== Lock acquired, processing the job...
[2025-04-12 01:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 01:51:03] Production.INFO: ==8464== Lock acquired, processing the job...
[2025-04-12 01:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 01:51:03] Production.INFO: ==8460== Lock acquired, processing the job...
[2025-04-12 01:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 01:51:03] Production.ERROR: done
[2025-04-12 01:51:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 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-12 01:51:04] Production.INFO: Account Balance Start.
[2025-04-12 01:51:04] Production.INFO: CreateAllLog Start
[2025-04-12 01:51:04] Production.INFO: 117
[2025-04-12 01:51:04] Production.INFO: count ==12
[2025-04-12 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-12 01:51:04] Production.INFO: count ==23
[2025-04-12 01:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888308') start
[2025-04-12 01:51:04] Production.INFO: Date 2025-04-08
[2025-04-12 01:51:04] Production.ERROR: done
[2025-04-12 01:51:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:51:04] Production.INFO: ==8456== Releasing lock...
[2025-04-12 01:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 01:51:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 01:51:04] Production.INFO: Date 2025-04-09
[2025-04-12 01:51:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:51:04] Production.INFO: Date 2025-04-10
[2025-04-12 01:51:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888308') end
[2025-04-12 01:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 01:51:04] Production.INFO: 1
[2025-04-12 01:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 01:51:04] Production.INFO: ==8464== Releasing lock...
[2025-04-12 01:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 01:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 01:51:04] Production.INFO: Date 2025-04-11
[2025-04-12 01:51:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:51:04] Production.INFO: Date 2025-04-12
[2025-04-12 01:51:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:51:04] Production.INFO: Total Charge 0
[2025-04-12 01:51:04] Production.INFO: CreateAllLog End
[2025-04-12 01:51:04] Production.INFO: Account Balance End.
[2025-04-12 01:51:04] Production.ERROR: CronJobId end 12
[2025-04-12 01:51:04] Production.INFO: ==8460== Releasing lock...
[2025-04-12 01:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 01:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 01:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 22:51:05
[end_date_ymd] => 2025-04-12 01:51:05
[RateCDR] => 1
)
[2025-04-12 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-11 22:51:05' and `end` < '2025-04-12 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-12 01:51:11] Production.ERROR: CronJobId end10
[2025-04-12 01:51:11] Production.INFO: ==8458== Releasing lock...
[2025-04-12 01:51:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 01:51:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 01:51:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 01:51:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 01:51:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 01:51:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 01:51:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 01:51:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 01:51:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 01:51:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 01:51:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 01:51:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 01:51:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 01:51:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 01:51:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 01:51:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 01:51:15] Production.INFO: call_cost start
[2025-04-12 01:51:15] Production.INFO: call_cost end
[2025-04-12 01:51:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 01:51:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 01:51:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 01:51:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 01:51:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 01:51:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 01:51:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 01:51:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 01:51:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 01:51:16] Production.INFO: ==8454== Releasing lock...
[2025-04-12 01:51:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 01:51:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 01:51:18] Production.INFO: count ==898
[2025-04-12 01:51:18] Production.ERROR: pbx CDR StartTime 2025-04-11 22:51:05 - End Time 2025-04-12 01:51:05
[2025-04-12 01:51:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 01:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888310', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888310', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888310', 'tblTempVendorCDR_20' ) start
[2025-04-12 01:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888310', 'tblTempVendorCDR_20' ) end
[2025-04-12 01:51:18] Production.INFO: ProcessCDR(1,14888310,1,1,2)
[2025-04-12 01:51:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888310,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:51:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888310,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:51:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888310,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:51:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888310,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:51:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888310', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:51:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888310', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:51:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 01:51:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 01:51:24] Production.INFO: ==8462== Releasing lock...
[2025-04-12 01:51:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 01:51:24] Production.INFO: 35.5 MB #Memory Used#
[2025-04-12 06:52:02] Production.INFO: ==8519== Lock acquired, processing the job...
[2025-04-12 06:52:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 06:52:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 06:52:02] Production.INFO: neon service started
[2025-04-12 06:52:02] Production.INFO: neon service started
[2025-04-12 06:52:02] Production.INFO: ==8519== Releasing lock...
[2025-04-12 06:52:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 06:52:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 05:52:02] Production.INFO: ==8523== Lock acquired, processing the job...
[2025-04-12 05:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 05:52:02] Production.INFO: ==8523== Releasing lock...
[2025-04-12 05:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 05:52:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 01:52:02] Production.INFO: ==8521== Lock acquired, processing the job...
[2025-04-12 01:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 01:52:03] Production.INFO: ==8521== Releasing lock...
[2025-04-12 01:52:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 01:52:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 01:52:04] Production.INFO: ==8532== Lock acquired, processing the job...
[2025-04-12 01:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 01:52:04] Production.INFO: ==8534== Lock acquired, processing the job...
[2025-04-12 01:52:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 01:52:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 01:52:04] Production.INFO: Account Balance Start.
[2025-04-12 01:52:04] Production.INFO: CreateAllLog Start
[2025-04-12 01:52:04] Production.INFO: 117
[2025-04-12 01:52:04] Production.INFO: ==8526== Lock acquired, processing the job...
[2025-04-12 01:52:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 01:52:04] Production.INFO: Date 2025-04-08
[2025-04-12 01:52:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:52:04] Production.INFO: ==8528== Lock acquired, processing the job...
[2025-04-12 01:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 01:52:04] Production.INFO: ==8530== Lock acquired, processing the job...
[2025-04-12 01:52:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 01:52:04] Production.INFO: ==8536== Lock acquired, processing the job...
[2025-04-12 01:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 01:52:04] Production.INFO: Date 2025-04-09
[2025-04-12 01:52:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:52:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 01:52:04] Production.INFO: Date 2025-04-10
[2025-04-12 01:52:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:52:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 01:52:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 01:52:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 01:52:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 01:52:04] Production.INFO: Date 2025-04-11
[2025-04-12 01:52:04] Production.ERROR: done
[2025-04-12 01:52:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 01:52:05] Production.INFO: ==8528== Releasing lock...
[2025-04-12 01:52:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 01:52:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 01:52:05] Production.INFO: Date 2025-04-12
[2025-04-12 01:52:05] Production.INFO: Reseller ==> 0
[2025-04-12 01:52:05] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 01:52:05] Production.INFO: Total Charge 0
[2025-04-12 01:52:05] Production.INFO: CreateAllLog End
[2025-04-12 01:52:05] Production.INFO: count ==12
[2025-04-12 01:52:05] Production.ERROR: done
[2025-04-12 01:52:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 01:52:05] Production.INFO: count ==23
[2025-04-12 01:52:05] Production.ERROR: PBX CALL prc_importPBXExtension('14888314') start
[2025-04-12 01:52:05] Production.ERROR: PBX CALL prc_importPBXExtension('14888314') end
[2025-04-12 01:52:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 01:52:05] Production.INFO: 1
[2025-04-12 01:52:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 01:52:05] Production.INFO: Account Balance End.
[2025-04-12 01:52:05] Production.ERROR: CronJobId end 12
[2025-04-12 01:52:05] Production.INFO: ==8532== Releasing lock...
[2025-04-12 01:52:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 01:52:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 01:52:05] Production.INFO: ==8536== Releasing lock...
[2025-04-12 01:52:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 01:52:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 01:52:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 22:52:06
[end_date_ymd] => 2025-04-12 01:52:06
[RateCDR] => 1
)
[2025-04-12 01: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-11 22:52:06' and `end` < '2025-04-12 01: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-12 01:52:13] Production.ERROR: CronJobId end10
[2025-04-12 01:52:13] Production.INFO: ==8530== Releasing lock...
[2025-04-12 01:52:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 01:52:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 01:52:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 01:52:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 01:52:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 01:52:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 01:52:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 01:52:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 01:52:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 01:52:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 01:52:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 01:52:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 01:52:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 01:52:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 01:52:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 01:52:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 01:52:15] Production.INFO: call_cost start
[2025-04-12 01:52:15] Production.INFO: call_cost end
[2025-04-12 01:52:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 01:52:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 01:52:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 01:52:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 01:52:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 01:52:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 01:52:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 01:52:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 01:52:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 01:52:16] Production.INFO: ==8526== Releasing lock...
[2025-04-12 01:52:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 01:52:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 01:52:19] Production.INFO: count ==898
[2025-04-12 01:52:19] Production.ERROR: pbx CDR StartTime 2025-04-11 22:52:06 - End Time 2025-04-12 01:52:06
[2025-04-12 01:52:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 01:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888315', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888315', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888315', 'tblTempVendorCDR_20' ) start
[2025-04-12 01:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888315', 'tblTempVendorCDR_20' ) end
[2025-04-12 01:52:19] Production.INFO: ProcessCDR(1,14888315,1,1,2)
[2025-04-12 01:52:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888315,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:52:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888315,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:52:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888315,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:52:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888315,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:52:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888315', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:52:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888315', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:52:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 01:52:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 01:52:23] Production.INFO: ==8534== Releasing lock...
[2025-04-12 01:52:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 01:52:23] Production.INFO: 35.5 MB #Memory Used#
[2025-04-12 06:53:01] Production.INFO: ==8591== Lock acquired, processing the job...
[2025-04-12 06:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 06:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 06:53:01] Production.INFO: neon service started
[2025-04-12 06:53:01] Production.INFO: neon service started
[2025-04-12 06:53:01] Production.INFO: ==8591== Releasing lock...
[2025-04-12 06:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 06:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 01:53:02] Production.INFO: ==8593== Lock acquired, processing the job...
[2025-04-12 01:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 01:53:02] Production.INFO: ==8593== Releasing lock...
[2025-04-12 01:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 01:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 05:53:02] Production.INFO: ==8595== Lock acquired, processing the job...
[2025-04-12 05:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 05:53:02] Production.INFO: ==8595== Releasing lock...
[2025-04-12 05:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 05:53:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 01:53:03] Production.INFO: ==8606== Lock acquired, processing the job...
[2025-04-12 01:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 01:53:03] Production.INFO: ==8608== Lock acquired, processing the job...
[2025-04-12 01:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 01:53:03] Production.INFO: ==8597== Lock acquired, processing the job...
[2025-04-12 01:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 01:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 01:53:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 01:53:03] Production.INFO: ==8599== Lock acquired, processing the job...
[2025-04-12 01:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 01:53:03] Production.INFO: count ==12
[2025-04-12 01:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 01:53:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 01:53:03] Production.INFO: ==8601== Lock acquired, processing the job...
[2025-04-12 01:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 01:53:03] Production.INFO: count ==23
[2025-04-12 01:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14888316') start
[2025-04-12 01:53:03] Production.INFO: ==8604== Lock acquired, processing the job...
[2025-04-12 01:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 01:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 01:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 01:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 01:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 01:53:03] Production.ERROR: done
[2025-04-12 01:53:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 01:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14888316') end
[2025-04-12 01:53:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 01:53:03] Production.INFO: 1
[2025-04-12 01:53:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 01:53:04] Production.INFO: Account Balance Start.
[2025-04-12 01:53:04] Production.INFO: CreateAllLog Start
[2025-04-12 01:53:04] Production.INFO: 117
[2025-04-12 01:53:04] Production.INFO: Date 2025-04-08
[2025-04-12 01:53:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:53:04] Production.INFO: Date 2025-04-09
[2025-04-12 01:53:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:53:04] Production.INFO: Date 2025-04-10
[2025-04-12 01:53:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:53:04] Production.INFO: Date 2025-04-11
[2025-04-12 01:53:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:53:04] Production.INFO: Date 2025-04-12
[2025-04-12 01:53:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:53:04] Production.INFO: ==8608== Releasing lock...
[2025-04-12 01:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 01:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 01:53:04] Production.ERROR: done
[2025-04-12 01:53:04] Production.INFO: Total Charge 0
[2025-04-12 01:53:04] Production.INFO: CreateAllLog End
[2025-04-12 01:53:04] Production.INFO: ==8599== Releasing lock...
[2025-04-12 01:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 01:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 01:53:04] Production.INFO: Account Balance End.
[2025-04-12 01:53:04] Production.ERROR: CronJobId end 12
[2025-04-12 01:53:04] Production.INFO: ==8604== Releasing lock...
[2025-04-12 01:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 01:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 01:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 22:53:05
[end_date_ymd] => 2025-04-12 01:53:05
[RateCDR] => 1
)
[2025-04-12 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-11 22:53:05' and `end` < '2025-04-12 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-12 01:53:11] Production.ERROR: CronJobId end10
[2025-04-12 01:53:11] Production.INFO: ==8601== Releasing lock...
[2025-04-12 01:53:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 01:53:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 01:53:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 01:53:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 01:53:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 01:53:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 01:53:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 01:53:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 01:53:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 01:53:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 01:53:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 01:53:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 01:53:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 01:53:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 01:53:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 01:53:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 01:53:14] Production.INFO: call_cost start
[2025-04-12 01:53:14] Production.INFO: call_cost end
[2025-04-12 01:53:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 01:53:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 01:53:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 01:53:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 01:53:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 01:53:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 01:53:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 01:53:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 01:53:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 01:53:15] Production.INFO: ==8597== Releasing lock...
[2025-04-12 01:53:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 01:53:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 01:53:18] Production.INFO: count ==898
[2025-04-12 01:53:18] Production.ERROR: pbx CDR StartTime 2025-04-11 22:53:05 - End Time 2025-04-12 01:53:05
[2025-04-12 01:53:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 01:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888320', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888320', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888320', 'tblTempVendorCDR_20' ) start
[2025-04-12 01:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888320', 'tblTempVendorCDR_20' ) end
[2025-04-12 01:53:18] Production.INFO: ProcessCDR(1,14888320,1,1,2)
[2025-04-12 01:53:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888320,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:53:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888320,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:53:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888320,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:53:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888320,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:53:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888320', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:53:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888320', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:53:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 01:53:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 01:53:24] Production.INFO: ==8606== Releasing lock...
[2025-04-12 01:53:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 01:53:24] Production.INFO: 35.5 MB #Memory Used#
[2025-04-12 06:54:01] Production.INFO: ==8665== Lock acquired, processing the job...
[2025-04-12 06:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 06:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 06:54:01] Production.INFO: neon service started
[2025-04-12 06:54:01] Production.INFO: neon service started
[2025-04-12 06:54:01] Production.INFO: ==8665== Releasing lock...
[2025-04-12 06:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 06:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 01:54:02] Production.INFO: ==8667== Lock acquired, processing the job...
[2025-04-12 01:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 05:54:02] Production.INFO: ==8669== Lock acquired, processing the job...
[2025-04-12 05:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 05:54:02] Production.INFO: ==8669== Releasing lock...
[2025-04-12 05:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 05:54:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 01:54:02] Production.INFO: ==8667== Releasing lock...
[2025-04-12 01:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 01:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 01:54:03] Production.INFO: ==8674== Lock acquired, processing the job...
[2025-04-12 01:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 01:54:03] Production.INFO: ==8676== Lock acquired, processing the job...
[2025-04-12 01:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 01:54:03] Production.INFO: ==8672== Lock acquired, processing the job...
[2025-04-12 01:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 01:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 01:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 01:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 01:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 01:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 01:54:03] Production.INFO: ==8678== Lock acquired, processing the job...
[2025-04-12 01:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 01:54:04] Production.INFO: ==8680== Lock acquired, processing the job...
[2025-04-12 01:54:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 01:54:04] Production.INFO: ==8682== Lock acquired, processing the job...
[2025-04-12 01:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 01:54:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 01:54:04] Production.INFO: Account Balance Start.
[2025-04-12 01:54:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 01:54:04] Production.INFO: CreateAllLog Start
[2025-04-12 01:54:04] Production.INFO: 117
[2025-04-12 01:54:04] Production.INFO: Date 2025-04-08
[2025-04-12 01:54:04] Production.INFO: count ==12
[2025-04-12 01:54:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:54:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 01:54:04] Production.INFO: count ==23
[2025-04-12 01:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888324') start
[2025-04-12 01:54:04] Production.INFO: Date 2025-04-09
[2025-04-12 01:54:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:54:04] Production.INFO: Date 2025-04-10
[2025-04-12 01:54:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:54:04] Production.INFO: ==8674== Releasing lock...
[2025-04-12 01:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 01:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 01:54:04] Production.INFO: Date 2025-04-11
[2025-04-12 01:54:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:54:04] Production.ERROR: done
[2025-04-12 01:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 01:54:04] Production.INFO: Date 2025-04-12
[2025-04-12 01:54:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888324') end
[2025-04-12 01:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 01:54:04] Production.INFO: 1
[2025-04-12 01:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 01:54:04] Production.INFO: Total Charge 0
[2025-04-12 01:54:04] Production.INFO: CreateAllLog End
[2025-04-12 01:54:04] Production.INFO: ==8682== Releasing lock...
[2025-04-12 01:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 01:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 01:54:04] Production.ERROR: done
[2025-04-12 01:54:04] Production.INFO: Account Balance End.
[2025-04-12 01:54:04] Production.ERROR: CronJobId end 12
[2025-04-12 01:54:04] Production.INFO: ==8678== Releasing lock...
[2025-04-12 01:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 01:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 01:54:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 22:54:06
[end_date_ymd] => 2025-04-12 01:54:06
[RateCDR] => 1
)
[2025-04-12 01: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-11 22:54:06' and `end` < '2025-04-12 01: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-12 01:54:12] Production.ERROR: CronJobId end10
[2025-04-12 01:54:12] Production.INFO: ==8676== Releasing lock...
[2025-04-12 01:54:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 01:54:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 01:54:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 01:54:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 01:54:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 01:54:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 01:54:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 01:54:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 01:54:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 01:54:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 01:54:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 01:54:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 01:54:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 01:54:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 01:54:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 01:54:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 01:54:15] Production.INFO: call_cost start
[2025-04-12 01:54:15] Production.INFO: call_cost end
[2025-04-12 01:54:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 01:54:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 01:54:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 01:54:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 01:54:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 01:54:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 01:54:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 01:54:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 01:54:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 01:54:16] Production.INFO: ==8672== Releasing lock...
[2025-04-12 01:54:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 01:54:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 01:54:19] Production.INFO: count ==897
[2025-04-12 01:54:19] Production.ERROR: pbx CDR StartTime 2025-04-11 22:54:06 - End Time 2025-04-12 01:54:06
[2025-04-12 01:54:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 01:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888325', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888325', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888325', 'tblTempVendorCDR_20' ) start
[2025-04-12 01:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888325', 'tblTempVendorCDR_20' ) end
[2025-04-12 01:54:19] Production.INFO: ProcessCDR(1,14888325,1,1,2)
[2025-04-12 01:54:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888325,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:54:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888325,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:54:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888325,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:54:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888325,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888325', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888325', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:54:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 01:54:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 01:54:22] Production.INFO: ==8680== Releasing lock...
[2025-04-12 01:54:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 01:54:22] Production.INFO: 35.5 MB #Memory Used#
[2025-04-12 06:55:01] Production.INFO: ==8778== Lock acquired, processing the job...
[2025-04-12 06:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 06:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 06:55:01] Production.INFO: neon service started
[2025-04-12 06:55:01] Production.INFO: neon service started
[2025-04-12 06:55:01] Production.INFO: ==8778== Releasing lock...
[2025-04-12 06:55:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 06:55:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 01:55:02] Production.INFO: ==8780== Lock acquired, processing the job...
[2025-04-12 01:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 05:55:02] Production.INFO: ==8782== Lock acquired, processing the job...
[2025-04-12 05:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 05:55:02] Production.INFO: ==8782== Releasing lock...
[2025-04-12 05:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 05:55:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 01:55:03] Production.INFO: ==8780== Releasing lock...
[2025-04-12 01:55:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 01:55:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 01:55:03] Production.INFO: ==8785== Lock acquired, processing the job...
[2025-04-12 01:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 01:55:04] Production.INFO: ==8793== Lock acquired, processing the job...
[2025-04-12 01:55:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 01:55:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 01:55:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 01:55:04] Production.INFO: ==8787== Lock acquired, processing the job...
[2025-04-12 01:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 01:55:04] Production.INFO: ==8789== Lock acquired, processing the job...
[2025-04-12 01:55:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 01:55:04] Production.INFO: ==8791== Lock acquired, processing the job...
[2025-04-12 01:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 01:55:04] Production.INFO: ==8795== Lock acquired, processing the job...
[2025-04-12 01:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 01:55:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 01:55:04] Production.INFO: count ==12
[2025-04-12 01:55:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 01:55:04] Production.INFO: count ==23
[2025-04-12 01:55:04] Production.ERROR: done
[2025-04-12 01:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 01:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888328') start
[2025-04-12 01:55:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 01:55:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 01:55:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 01:55:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 01:55:04] Production.INFO: Account Balance Start.
[2025-04-12 01:55:04] Production.INFO: CreateAllLog Start
[2025-04-12 01:55:04] Production.INFO: 117
[2025-04-12 01:55:04] Production.INFO: Date 2025-04-08
[2025-04-12 01:55:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:55:04] Production.INFO: ==8787== Releasing lock...
[2025-04-12 01:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 01:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 01:55:04] Production.ERROR: done
[2025-04-12 01:55:04] Production.INFO: Date 2025-04-09
[2025-04-12 01:55:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888328') end
[2025-04-12 01:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 01:55:04] Production.INFO: 1
[2025-04-12 01:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 01:55:04] Production.INFO: ==8795== Releasing lock...
[2025-04-12 01:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 01:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 01:55:04] Production.INFO: Date 2025-04-10
[2025-04-12 01:55:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:55:04] Production.INFO: Date 2025-04-11
[2025-04-12 01:55:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:55:04] Production.INFO: Date 2025-04-12
[2025-04-12 01:55:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:55:04] Production.INFO: Total Charge 0
[2025-04-12 01:55:04] Production.INFO: CreateAllLog End
[2025-04-12 01:55:05] Production.INFO: Account Balance End.
[2025-04-12 01:55:05] Production.ERROR: CronJobId end 12
[2025-04-12 01:55:05] Production.INFO: ==8791== Releasing lock...
[2025-04-12 01:55:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 01:55:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 01:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 22:55:05
[end_date_ymd] => 2025-04-12 01:55:05
[RateCDR] => 1
)
[2025-04-12 01:55:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 22:55:05' and `end` < '2025-04-12 01:55:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 01:55:12] Production.ERROR: CronJobId end10
[2025-04-12 01:55:12] Production.INFO: ==8789== Releasing lock...
[2025-04-12 01:55:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 01:55:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 01:55:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 01:55:16] Production.INFO: ============== Balance Warning START===========
[2025-04-12 01:55:16] Production.INFO: ============== Balance Warning END===========
[2025-04-12 01:55:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 01:55:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 01:55:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 01:55:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 01:55:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 01:55:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 01:55:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 01:55:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 01:55:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 01:55:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 01:55:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 01:55:16] Production.INFO: call_cost start
[2025-04-12 01:55:16] Production.INFO: call_cost end
[2025-04-12 01:55:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 01:55:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 01:55:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 01:55:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 01:55:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 01:55:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 01:55:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 01:55:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 01:55:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 01:55:17] Production.INFO: ==8785== Releasing lock...
[2025-04-12 01:55:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 01:55:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 01:55:18] Production.INFO: count ==897
[2025-04-12 01:55:19] Production.ERROR: pbx CDR StartTime 2025-04-11 22:55:05 - End Time 2025-04-12 01:55:05
[2025-04-12 01:55:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 01:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888330', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888330', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888330', 'tblTempVendorCDR_20' ) start
[2025-04-12 01:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888330', 'tblTempVendorCDR_20' ) end
[2025-04-12 01:55:19] Production.INFO: ProcessCDR(1,14888330,1,1,2)
[2025-04-12 01:55:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888330,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:55:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888330,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:55:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888330,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:55:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888330,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888330', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888330', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:55:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 01:55:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 01:55:22] Production.INFO: ==8793== Releasing lock...
[2025-04-12 01:55:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 01:55:22] Production.INFO: 35.5 MB #Memory Used#
[2025-04-12 06:56:01] Production.INFO: ==8853== Lock acquired, processing the job...
[2025-04-12 06:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 06:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 06:56:01] Production.INFO: neon service started
[2025-04-12 06:56:01] Production.INFO: neon service started
[2025-04-12 06:56:01] Production.INFO: ==8853== Releasing lock...
[2025-04-12 06:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 06:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 05:56:01] Production.INFO: ==8857== Lock acquired, processing the job...
[2025-04-12 05:56:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 05:56:01] Production.INFO: ==8857== Releasing lock...
[2025-04-12 05:56:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 05:56:01] Production.INFO: 25 MB #Memory Used#
[2025-04-12 01:56:02] Production.INFO: ==8855== Lock acquired, processing the job...
[2025-04-12 01:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 01:56:02] Production.INFO: ==8855== Releasing lock...
[2025-04-12 01:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 01:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 01:56:03] Production.INFO: ==8866== Lock acquired, processing the job...
[2025-04-12 01:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 01:56:03] Production.INFO: ==8860== Lock acquired, processing the job...
[2025-04-12 01:56:03] Production.INFO: ==8862== Lock acquired, processing the job...
[2025-04-12 01:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 01:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 01:56:03] Production.INFO: ==8864== Lock acquired, processing the job...
[2025-04-12 01:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 01:56:03] Production.INFO: Account Balance Start.
[2025-04-12 01:56:03] Production.INFO: CreateAllLog Start
[2025-04-12 01:56:03] Production.INFO: 117
[2025-04-12 01:56:03] Production.INFO: ==8871== Lock acquired, processing the job...
[2025-04-12 01:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 01:56:03] Production.INFO: ==8869== Lock acquired, processing the job...
[2025-04-12 01:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 01:56:03] Production.INFO: Date 2025-04-08
[2025-04-12 01:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 01:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 01:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 01:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 01:56:03] Production.INFO: Reseller ==> 0
[2025-04-12 01:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 01:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 01:56:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 01:56:03] Production.INFO: Date 2025-04-09
[2025-04-12 01:56:03] Production.INFO: Reseller ==> 0
[2025-04-12 01:56:03] Production.INFO: count ==12
[2025-04-12 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-12 01:56:03] Production.INFO: count ==23
[2025-04-12 01:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14888334') start
[2025-04-12 01:56:03] Production.INFO: Date 2025-04-10
[2025-04-12 01:56:03] Production.INFO: ==8862== Releasing lock...
[2025-04-12 01:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 01:56:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 01:56:03] Production.INFO: Reseller ==> 0
[2025-04-12 01:56:03] Production.INFO: Date 2025-04-11
[2025-04-12 01:56:03] Production.INFO: Reseller ==> 0
[2025-04-12 01:56:03] Production.INFO: Date 2025-04-12
[2025-04-12 01:56:03] Production.INFO: Reseller ==> 0
[2025-04-12 01:56:03] Production.INFO: Total Charge 0
[2025-04-12 01:56:04] Production.INFO: CreateAllLog End
[2025-04-12 01:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888334') end
[2025-04-12 01:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 01:56:04] Production.INFO: 1
[2025-04-12 01:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 01:56:04] Production.ERROR: done
[2025-04-12 01:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 01:56:04] Production.INFO: ==8871== Releasing lock...
[2025-04-12 01:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 01:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 01:56:04] Production.INFO: Account Balance End.
[2025-04-12 01:56:04] Production.ERROR: done
[2025-04-12 01:56:04] Production.ERROR: CronJobId end 12
[2025-04-12 01:56:04] Production.INFO: ==8866== Releasing lock...
[2025-04-12 01:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 01:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 01:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 22:56:05
[end_date_ymd] => 2025-04-12 01:56:05
[RateCDR] => 1
)
[2025-04-12 01:56:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 22:56:05' and `end` < '2025-04-12 01:56:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 01:56:12] Production.ERROR: CronJobId end10
[2025-04-12 01:56:12] Production.INFO: ==8864== Releasing lock...
[2025-04-12 01:56:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 01:56:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 01:56:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 01:56:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 01:56:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 01:56:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 01:56:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 01:56:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 01:56:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 01:56:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 01:56:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 01:56:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 01:56:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 01:56:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 01:56:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 01:56:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 01:56:15] Production.INFO: call_cost start
[2025-04-12 01:56:15] Production.INFO: call_cost end
[2025-04-12 01:56:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 01:56:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 01:56:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 01:56:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 01:56:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 01:56:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 01:56:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 01:56:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 01:56:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 01:56:16] Production.INFO: ==8860== Releasing lock...
[2025-04-12 01:56:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 01:56:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 01:56:18] Production.INFO: count ==897
[2025-04-12 01:56:18] Production.ERROR: pbx CDR StartTime 2025-04-11 22:56:05 - End Time 2025-04-12 01:56:05
[2025-04-12 01:56:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 01:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888335', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888335', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888335', 'tblTempVendorCDR_20' ) start
[2025-04-12 01:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888335', 'tblTempVendorCDR_20' ) end
[2025-04-12 01:56:18] Production.INFO: ProcessCDR(1,14888335,1,1,2)
[2025-04-12 01:56:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888335,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:56:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888335,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:56:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888335,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:56:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888335,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888335', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888335', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:56:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 01:56:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 01:56:22] Production.INFO: ==8869== Releasing lock...
[2025-04-12 01:56:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 01:56:22] Production.INFO: 35.5 MB #Memory Used#
[2025-04-12 06:57:02] Production.INFO: ==8926== Lock acquired, processing the job...
[2025-04-12 06:57:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 06:57:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 06:57:02] Production.INFO: neon service started
[2025-04-12 06:57:02] Production.INFO: neon service started
[2025-04-12 06:57:02] Production.INFO: ==8926== Releasing lock...
[2025-04-12 06:57:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 06:57:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 01:57:02] Production.INFO: ==8929== Lock acquired, processing the job...
[2025-04-12 01:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 05:57:02] Production.INFO: ==8931== Lock acquired, processing the job...
[2025-04-12 05:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 05:57:02] Production.INFO: ==8931== Releasing lock...
[2025-04-12 05:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 05:57:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 01:57:02] Production.INFO: ==8929== Releasing lock...
[2025-04-12 01:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 01:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 01:57:03] Production.INFO: ==8933== Lock acquired, processing the job...
[2025-04-12 01:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 01:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 01:57:03] Production.INFO: ==8937== Lock acquired, processing the job...
[2025-04-12 01:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 01:57:03] Production.INFO: ==8939== Lock acquired, processing the job...
[2025-04-12 01:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 01:57:03] Production.INFO: Account Balance Start.
[2025-04-12 01:57:03] Production.INFO: CreateAllLog Start
[2025-04-12 01:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 01:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 01:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 01:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 01:57:04] Production.INFO: ==8935== Lock acquired, processing the job...
[2025-04-12 01:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 01:57:04] Production.INFO: 117
[2025-04-12 01:57:04] Production.INFO: Date 2025-04-08
[2025-04-12 01:57:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:57:04] Production.INFO: Date 2025-04-09
[2025-04-12 01:57:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:57:04] Production.INFO: Date 2025-04-10
[2025-04-12 01:57:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:57:04] Production.INFO: Date 2025-04-11
[2025-04-12 01:57:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:57:04] Production.INFO: ==8941== Lock acquired, processing the job...
[2025-04-12 01:57:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 01:57:04] Production.INFO: ==8943== Lock acquired, processing the job...
[2025-04-12 01:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 01:57:04] Production.INFO: Date 2025-04-12
[2025-04-12 01:57:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:57:04] Production.INFO: Total Charge 0
[2025-04-12 01:57:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 01:57:04] Production.INFO: CreateAllLog End
[2025-04-12 01:57:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 01:57:04] Production.INFO: count ==12
[2025-04-12 01:57:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 01:57:04] Production.INFO: count ==23
[2025-04-12 01:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888339') start
[2025-04-12 01:57:04] Production.INFO: ==8935== Releasing lock...
[2025-04-12 01:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 01:57:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 01:57:04] Production.ERROR: done
[2025-04-12 01:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 01:57:04] Production.INFO: Account Balance End.
[2025-04-12 01:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888339') end
[2025-04-12 01:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 01:57:04] Production.INFO: 1
[2025-04-12 01:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 01:57:04] Production.INFO: ==8943== Releasing lock...
[2025-04-12 01:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 01:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 01:57:04] Production.ERROR: CronJobId end 12
[2025-04-12 01:57:04] Production.INFO: ==8939== Releasing lock...
[2025-04-12 01:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 01:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 01:57:04] Production.ERROR: done
[2025-04-12 01:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 22:57:05
[end_date_ymd] => 2025-04-12 01:57:05
[RateCDR] => 1
)
[2025-04-12 01:57:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 22:57:05' and `end` < '2025-04-12 01:57:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 01:57:13] Production.ERROR: CronJobId end10
[2025-04-12 01:57:13] Production.INFO: ==8937== Releasing lock...
[2025-04-12 01:57:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 01:57:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 01:57:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 01:57:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 01:57:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 01:57:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 01:57:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 01:57:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 01:57:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 01:57:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 01:57:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 01:57:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 01:57:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 01:57:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 01:57:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 01:57:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 01:57:15] Production.INFO: call_cost start
[2025-04-12 01:57:15] Production.INFO: call_cost end
[2025-04-12 01:57:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 01:57:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 01:57:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 01:57:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 01:57:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 01:57:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 01:57:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 01:57:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 01:57:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 01:57:16] Production.INFO: ==8933== Releasing lock...
[2025-04-12 01:57:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 01:57:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 01:57:18] Production.INFO: count ==899
[2025-04-12 01:57:18] Production.ERROR: pbx CDR StartTime 2025-04-11 22:57:05 - End Time 2025-04-12 01:57:05
[2025-04-12 01:57:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 01:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888340', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888340', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888340', 'tblTempVendorCDR_20' ) start
[2025-04-12 01:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888340', 'tblTempVendorCDR_20' ) end
[2025-04-12 01:57:18] Production.INFO: ProcessCDR(1,14888340,1,1,2)
[2025-04-12 01:57:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888340,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:57:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888340,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:57:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888340,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:57:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888340,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888340', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888340', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:57:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 01:57:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 01:57:21] Production.INFO: ==8941== Releasing lock...
[2025-04-12 01:57:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 01:57:21] Production.INFO: 35 MB #Memory Used#
[2025-04-12 06:58:01] Production.INFO: ==8996== Lock acquired, processing the job...
[2025-04-12 06:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 06:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 06:58:01] Production.INFO: neon service started
[2025-04-12 06:58:01] Production.INFO: neon service started
[2025-04-12 06:58:01] Production.INFO: ==8996== Releasing lock...
[2025-04-12 06:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 06:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 01:58:02] Production.INFO: ==8998== Lock acquired, processing the job...
[2025-04-12 01:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 05:58:02] Production.INFO: ==9000== Lock acquired, processing the job...
[2025-04-12 05:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 05:58:02] Production.INFO: ==9000== Releasing lock...
[2025-04-12 05:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 05:58:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 01:58:02] Production.INFO: ==8998== Releasing lock...
[2025-04-12 01:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 01:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 01:58:03] Production.INFO: ==9003== Lock acquired, processing the job...
[2025-04-12 01:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 01:58:03] Production.INFO: ==9005== Lock acquired, processing the job...
[2025-04-12 01:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 01:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 01:58:03] Production.INFO: ==9011== Lock acquired, processing the job...
[2025-04-12 01:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 01:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 01:58:03] Production.INFO: ==9005== Releasing lock...
[2025-04-12 01:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 01:58:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 01:58:03] Production.INFO: ==9007== Lock acquired, processing the job...
[2025-04-12 01:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 01:58:03] Production.INFO: ==9009== Lock acquired, processing the job...
[2025-04-12 01:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 01:58:03] Production.INFO: ==9013== Lock acquired, processing the job...
[2025-04-12 01:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 01:58:03] Production.ERROR: done
[2025-04-12 01:58:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 01:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 01:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 01:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 01:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 01:58:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 01:58:04] Production.INFO: Account Balance Start.
[2025-04-12 01:58:04] Production.INFO: CreateAllLog Start
[2025-04-12 01:58:04] Production.INFO: 117
[2025-04-12 01:58:04] Production.INFO: Date 2025-04-08
[2025-04-12 01:58:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:58:04] Production.INFO: count ==12
[2025-04-12 01: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-12 01:58:04] Production.INFO: count ==23
[2025-04-12 01:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888343') start
[2025-04-12 01:58:04] Production.INFO: Date 2025-04-09
[2025-04-12 01:58:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888343') end
[2025-04-12 01:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 01:58:04] Production.INFO: 1
[2025-04-12 01:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 01:58:04] Production.ERROR: done
[2025-04-12 01:58:04] Production.INFO: Date 2025-04-10
[2025-04-12 01:58:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:58:04] Production.INFO: ==9013== Releasing lock...
[2025-04-12 01:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 01:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 01:58:04] Production.INFO: Date 2025-04-11
[2025-04-12 01:58:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:58:04] Production.INFO: Date 2025-04-12
[2025-04-12 01:58:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:58:04] Production.INFO: Total Charge 0
[2025-04-12 01:58:04] Production.INFO: CreateAllLog End
[2025-04-12 01:58:04] Production.INFO: Account Balance End.
[2025-04-12 01:58:04] Production.ERROR: CronJobId end 12
[2025-04-12 01:58:04] Production.INFO: ==9009== Releasing lock...
[2025-04-12 01:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 01:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 01:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 22:58:05
[end_date_ymd] => 2025-04-12 01:58:05
[RateCDR] => 1
)
[2025-04-12 01:58:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 22:58:05' and `end` < '2025-04-12 01:58:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 01:58:12] Production.ERROR: CronJobId end10
[2025-04-12 01:58:12] Production.INFO: ==9007== Releasing lock...
[2025-04-12 01:58:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 01:58:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 01:58:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 01:58:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 01:58:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 01:58:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 01:58:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 01:58:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 01:58:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 01:58:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 01:58:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 01:58:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 01:58:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 01:58:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 01:58:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 01:58:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 01:58:14] Production.INFO: call_cost start
[2025-04-12 01:58:14] Production.INFO: call_cost end
[2025-04-12 01:58:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 01:58:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 01:58:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 01:58:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 01:58:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 01:58:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 01:58:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 01:58:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 01:58:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 01:58:15] Production.INFO: ==9003== Releasing lock...
[2025-04-12 01:58:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 01:58:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 01:58:18] Production.INFO: count ==899
[2025-04-12 01:58:18] Production.ERROR: pbx CDR StartTime 2025-04-11 22:58:05 - End Time 2025-04-12 01:58:05
[2025-04-12 01:58:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 01:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888345', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888345', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888345', 'tblTempVendorCDR_20' ) start
[2025-04-12 01:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888345', 'tblTempVendorCDR_20' ) end
[2025-04-12 01:58:18] Production.INFO: ProcessCDR(1,14888345,1,1,2)
[2025-04-12 01:58:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888345,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:58:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888345,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:58:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888345,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:58:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888345,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888345', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888345', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:58:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 01:58:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 01:58:22] Production.INFO: ==9011== Releasing lock...
[2025-04-12 01:58:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 01:58:22] Production.INFO: 35 MB #Memory Used#
[2025-04-12 06:59:01] Production.INFO: ==9071== Lock acquired, processing the job...
[2025-04-12 06:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 06:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 06:59:01] Production.INFO: neon service started
[2025-04-12 06:59:01] Production.INFO: neon service started
[2025-04-12 06:59:01] Production.INFO: ==9071== Releasing lock...
[2025-04-12 06:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 06:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 05:59:02] Production.INFO: ==9075== Lock acquired, processing the job...
[2025-04-12 05:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 05:59:02] Production.INFO: ==9075== Releasing lock...
[2025-04-12 05:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 05:59:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 01:59:02] Production.INFO: ==9073== Lock acquired, processing the job...
[2025-04-12 01:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 01:59:02] Production.INFO: ==9073== Releasing lock...
[2025-04-12 01:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 01:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 01:59:03] Production.INFO: ==9078== Lock acquired, processing the job...
[2025-04-12 01:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 01:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 01:59:03] Production.INFO: ==9082== Lock acquired, processing the job...
[2025-04-12 01:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 01:59:03] Production.INFO: ==9086== Lock acquired, processing the job...
[2025-04-12 01:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 01:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 01:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 01:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 01:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 01:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 01:59:03] Production.INFO: ==9080== Lock acquired, processing the job...
[2025-04-12 01:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 01:59:03] Production.INFO: ==9084== Lock acquired, processing the job...
[2025-04-12 01:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 01:59:04] Production.INFO: ==9088== Lock acquired, processing the job...
[2025-04-12 01:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 01:59:04] Production.INFO: Account Balance Start.
[2025-04-12 01:59:04] Production.INFO: CreateAllLog Start
[2025-04-12 01:59:04] Production.INFO: 117
[2025-04-12 01:59:04] Production.INFO: Date 2025-04-08
[2025-04-12 01:59:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:59:04] Production.ERROR: done
[2025-04-12 01:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 01:59:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 01:59:04] Production.INFO: Date 2025-04-09
[2025-04-12 01:59:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:59:04] Production.INFO: count ==12
[2025-04-12 01:59:04] Production.INFO: ==9080== Releasing lock...
[2025-04-12 01:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 01:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 01:59:04] Production.INFO: Date 2025-04-10
[2025-04-12 01:59:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:59:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 01:59:04] Production.INFO: count ==23
[2025-04-12 01:59:04] Production.INFO: Date 2025-04-11
[2025-04-12 01:59:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:59:04] Production.INFO: Date 2025-04-12
[2025-04-12 01:59:04] Production.INFO: Reseller ==> 0
[2025-04-12 01:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888349') start
[2025-04-12 01:59:04] Production.INFO: Total Charge 0
[2025-04-12 01:59:04] Production.INFO: CreateAllLog End
[2025-04-12 01:59:04] Production.ERROR: done
[2025-04-12 01:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888349') end
[2025-04-12 01:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 01:59:04] Production.INFO: 1
[2025-04-12 01:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 01:59:04] Production.INFO: ==9088== Releasing lock...
[2025-04-12 01:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 01:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 01:59:04] Production.INFO: Account Balance End.
[2025-04-12 01:59:04] Production.ERROR: CronJobId end 12
[2025-04-12 01:59:04] Production.INFO: ==9084== Releasing lock...
[2025-04-12 01:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 01:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 01:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 22:59:05
[end_date_ymd] => 2025-04-12 01:59:05
[RateCDR] => 1
)
[2025-04-12 01:59:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 22:59:05' and `end` < '2025-04-12 01:59:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 01:59:11] Production.ERROR: CronJobId end10
[2025-04-12 01:59:11] Production.INFO: ==9082== Releasing lock...
[2025-04-12 01:59:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 01:59:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 01:59:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 01:59:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 01:59:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 01:59:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 01:59:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 01:59:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 01:59:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 01:59:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 01:59:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 01:59:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 01:59:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 01:59:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 01:59:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 01:59:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 01:59:14] Production.INFO: call_cost start
[2025-04-12 01:59:14] Production.INFO: call_cost end
[2025-04-12 01:59:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 01:59:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 01:59:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 01:59:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 01:59:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 01:59:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 01:59:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 01:59:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 01:59:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 01:59:15] Production.INFO: ==9078== Releasing lock...
[2025-04-12 01:59:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 01:59:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 01:59:18] Production.INFO: count ==899
[2025-04-12 01:59:18] Production.ERROR: pbx CDR StartTime 2025-04-11 22:59:05 - End Time 2025-04-12 01:59:05
[2025-04-12 01:59:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 01:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888350', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888350', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888350', 'tblTempVendorCDR_20' ) start
[2025-04-12 01:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888350', 'tblTempVendorCDR_20' ) end
[2025-04-12 01:59:18] Production.INFO: ProcessCDR(1,14888350,1,1,2)
[2025-04-12 01:59:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888350,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:59:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888350,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 01:59:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888350,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:59:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888350,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 01:59:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888350', 'tblTempUsageDetail_20' ) start
[2025-04-12 01:59:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888350', 'tblTempUsageDetail_20' ) end
[2025-04-12 01:59:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 01:59:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 01:59:24] Production.INFO: ==9086== Releasing lock...
[2025-04-12 01:59:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 01:59:24] Production.INFO: 35.25 MB #Memory Used#
[2025-04-12 07:00:02] Production.INFO: ==9141== Lock acquired, processing the job...
[2025-04-12 07:00:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 07:00:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 07:00:02] Production.INFO: neon service started
[2025-04-12 07:00:02] Production.INFO: neon service started
[2025-04-12 07:00:02] Production.INFO: ==9141== Releasing lock...
[2025-04-12 07:00:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 07:00:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 02:00:03] Production.INFO: ==9143== Lock acquired, processing the job...
[2025-04-12 02:00:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 06:00:03] Production.INFO: ==9145== Lock acquired, processing the job...
[2025-04-12 06:00:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 06:00:03] Production.INFO: ==9145== Releasing lock...
[2025-04-12 06:00:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 06:00:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 02:00:03] Production.INFO: ==9143== Releasing lock...
[2025-04-12 02:00:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 02:00:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 02:00:04] Production.INFO: ==9152== Lock acquired, processing the job...
[2025-04-12 02:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 02:00:04] Production.INFO: ==9148== Lock acquired, processing the job...
[2025-04-12 02:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 02:00:04] Production.INFO: ==9156== Lock acquired, processing the job...
[2025-04-12 02:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 02:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 02:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 02:00:04] Production.ERROR: CronJob PID - 9152
[2025-04-12 02:00:04] Production.ERROR: CronJob Title - Account Block
[2025-04-12 02:00:04] Production.ERROR: CronJob ID - 7
[2025-04-12 02:00:04] Production.ERROR: CronJob Last Run Time 2025-04-12 02:00:00
[2025-04-12 02:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 02:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 02:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 02:00:04] Production.ERROR: CronJob PID - 9156
[2025-04-12 02:00:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-04-12 02:00:04] Production.ERROR: CronJob ID - 12
[2025-04-12 02:00:04] Production.ERROR: CronJob Last Run Time 2025-04-12 02:00:00
[2025-04-12 02:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 02:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 02:00:04] Production.INFO: ==9150== Lock acquired, processing the job...
[2025-04-12 02:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 02:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 02:00:04] Production.INFO: ==9148== Releasing lock...
[2025-04-12 02:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 02:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 02:00:04] Production.INFO: Account Balance Start.
[2025-04-12 02:00:04] Production.INFO: CreateAllLog Start
[2025-04-12 02:00:04] Production.INFO: 117
[2025-04-12 02:00:04] Production.INFO: Date 2025-04-08
[2025-04-12 02:00:04] Production.INFO: ==9160== Lock acquired, processing the job...
[2025-04-12 02:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 02:00:04] Production.INFO: ==9152== Releasing lock...
[2025-04-12 02:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 02:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 02:00:04] Production.INFO: ==9154== Lock acquired, processing the job...
[2025-04-12 02:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 02:00:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 02:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 02:00:04] Production.INFO: Date 2025-04-09
[2025-04-12 02:00:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 02:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 02:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 02:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 02:00:04] Production.INFO: ==9158== Lock acquired, processing the job...
[2025-04-12 02:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 02:00:04] Production.INFO: Date 2025-04-10
[2025-04-12 02:00:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:00:05] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 02:00:05] Production.INFO: Date 2025-04-11
[2025-04-12 02:00:05] Production.INFO: Reseller ==> 0
[2025-04-12 02:00:05] Production.INFO: ==9162== Lock acquired, processing the job...
[2025-04-12 02:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 02:00:05] Production.INFO: Date 2025-04-12
[2025-04-12 02:00:05] Production.INFO: Reseller ==> 0
[2025-04-12 02:00:05] Production.INFO: Total Charge 0
[2025-04-12 02:00:05] Production.ERROR: done
[2025-04-12 02:00:05] Production.INFO: CreateAllLog End
[2025-04-12 02:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 02:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14888355', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 02:00:05] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 02:00:05] Production.INFO: count ==12
[2025-04-12 02: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-12 02:00:05] Production.INFO: count ==23
[2025-04-12 02:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14888354') start
[2025-04-12 02:00:05] Production.ERROR: done
[2025-04-12 02:00:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 02:00:05] Production.INFO: Account Balance End.
[2025-04-12 02:00:05] Production.ERROR: done
[2025-04-12 02:00:05] Production.ERROR: CronJobId end 12
[2025-04-12 02:00:05] Production.INFO: ==9156== Releasing lock...
[2025-04-12 02:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 02:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 02:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14888354') end
[2025-04-12 02:00:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 02:00:05] Production.INFO: 1
[2025-04-12 02:00:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 02:00:05] Production.INFO: ==9162== Releasing lock...
[2025-04-12 02:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 02:00:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 02:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 23:00:06
[end_date_ymd] => 2025-04-12 02:00:06
[RateCDR] => 1
)
[2025-04-12 02:00:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 23:00:06' and `end` < '2025-04-12 02:00:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 02:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14888355', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 02:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 02:00:09] Production.INFO: ProcessCDR(1,14888355,1,1,2)
[2025-04-12 02:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14888355,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14888355,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 02:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 02:00:10] Production.INFO: ==9160== Releasing lock...
[2025-04-12 02:00:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 02:00:10] Production.INFO: 26 MB #Memory Used#
[2025-04-12 02:00:14] Production.ERROR: CronJobId end10
[2025-04-12 02:00:14] Production.INFO: ==9154== Releasing lock...
[2025-04-12 02:00:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 02:00:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 02:00:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 02:00:17] Production.INFO: ============== Balance Warning START===========
[2025-04-12 02:00:17] Production.INFO: ============== Balance Warning END===========
[2025-04-12 02:00:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 02:00:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 02:00:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 02:00:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 02:00:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 02:00:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 02:00:17] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 02:00:17] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 02:00:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 02:00:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 02:00:17] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 02:00:17] Production.INFO: call_cost start
[2025-04-12 02:00:17] Production.INFO: call_cost end
[2025-04-12 02:00:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 02:00:18] Production.INFO: ============== Report Schedule START===========
[2025-04-12 02:00:18] Production.INFO: ============== Report Schedule END===========
[2025-04-12 02:00:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 02:00:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 02:00:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 02:00:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 02:00:18] Production.INFO: ============== Deal alert START===========
[2025-04-12 02:00:18] Production.INFO: ============== Deal alert END===========
[2025-04-12 02:00:18] Production.INFO: ==9150== Releasing lock...
[2025-04-12 02:00:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 02:00:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 02:00:19] Production.INFO: count ==903
[2025-04-12 02:00:19] Production.ERROR: pbx CDR StartTime 2025-04-11 23:00:06 - End Time 2025-04-12 02:00:06
[2025-04-12 02:00:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 02:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888356', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888356', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888356', 'tblTempVendorCDR_20' ) start
[2025-04-12 02:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888356', 'tblTempVendorCDR_20' ) end
[2025-04-12 02:00:20] Production.INFO: ProcessCDR(1,14888356,1,1,2)
[2025-04-12 02:00:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888356,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:00:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888356,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:00:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888356,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:00:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888356,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:00:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888356', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:00:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888356', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:00:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 02:00:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 02:00:25] Production.INFO: ==9158== Releasing lock...
[2025-04-12 02:00:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 02:00:25] Production.INFO: 35 MB #Memory Used#
[2025-04-12 07:01:01] Production.INFO: ==9219== Lock acquired, processing the job...
[2025-04-12 07:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 07:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 07:01:01] Production.INFO: neon service started
[2025-04-12 07:01:01] Production.INFO: neon service started
[2025-04-12 07:01:01] Production.INFO: ==9219== Releasing lock...
[2025-04-12 07:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 07:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 06:01:02] Production.INFO: ==9236== Lock acquired, processing the job...
[2025-04-12 06:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 06:01:02] Production.INFO: ==9236== Releasing lock...
[2025-04-12 06:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 06:01:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 02:01:02] Production.INFO: ==9234== Lock acquired, processing the job...
[2025-04-12 02:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 02:01:02] Production.INFO: ==9234== Releasing lock...
[2025-04-12 02:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 02:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 02:01:03] Production.INFO: ==9239== Lock acquired, processing the job...
[2025-04-12 02:01:03] Production.INFO: servercleanup-command-servercleanup-companyid-1-cronjobid-4 #Starts#
[2025-04-12 02:01:03] Production.INFO: ==9241== Lock acquired, processing the job...
[2025-04-12 02:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 02:01:03] Production.INFO: ==9243== Lock acquired, processing the job...
[2025-04-12 02:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 02:01:03] Production.INFO: ==9247== Lock acquired, processing the job...
[2025-04-12 02:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 02:01:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 02:01:04] Production.INFO: Account Balance Start.
[2025-04-12 02:01:04] Production.INFO: CreateAllLog Start
[2025-04-12 02:01:04] Production.INFO: 117
[2025-04-12 02:01:04] Production.INFO: Date 2025-04-08
[2025-04-12 02:01:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:01:04] Production.INFO: Date 2025-04-09
[2025-04-12 02:01:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:01:04] Production.INFO: ==9245== Lock acquired, processing the job...
[2025-04-12 02:01:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 02:01:04] Production.INFO: Date 2025-04-10
[2025-04-12 02:01:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:01:04] Production.INFO: ==9243== Releasing lock...
[2025-04-12 02:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 02:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 02:01:04] Production.INFO: Date 2025-04-11
[2025-04-12 02:01:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:01:04] Production.INFO: Date 2025-04-12
[2025-04-12 02:01:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:01:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 02:01:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 02:01:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 02:01:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 02:01:04] Production.INFO: Total Charge 0
[2025-04-12 02:01:04] Production.INFO: ==9249== Lock acquired, processing the job...
[2025-04-12 02:01:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 02:01:04] Production.INFO: CreateAllLog End
[2025-04-12 02:01:04] Production.INFO: ==9251== Lock acquired, processing the job...
[2025-04-12 02:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 02:01:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 02:01:04] Production.INFO: Account Balance End.
[2025-04-12 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-12 02:01:04] Production.INFO: count ==12
[2025-04-12 02:01:04] Production.ERROR: CronJobId end 12
[2025-04-12 02:01:04] Production.INFO: ==9247== Releasing lock...
[2025-04-12 02:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 02:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 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-12 02:01:04] Production.INFO: count ==23
[2025-04-12 02:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888360') start
[2025-04-12 02:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888360') end
[2025-04-12 02:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 02:01:04] Production.INFO: 1
[2025-04-12 02:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 02:01:04] Production.INFO: ==9251== Releasing lock...
[2025-04-12 02:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 02:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 02:01:04] Production.ERROR: done
[2025-04-12 02:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 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-12 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-12 02:01:04] Production.INFO: Delete Storage Log Start
[2025-04-12 02:01:04] Production.INFO: Front End Delete Storage Log Start
[2025-04-12 02:01:05] Production.ERROR: done
[2025-04-12 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-12 02:01:05] Production.INFO: Front End Delete Storage Log End
[2025-04-12 02:01:05] Production.INFO: Back End(Service) Delete Storage Log Start
[2025-04-12 02:01:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 23:01:06
[end_date_ymd] => 2025-04-12 02:01:06
[RateCDR] => 1
)
[2025-04-12 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-11 23:01:06' and `end` < '2025-04-12 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-12 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-12 02:01:06] Production.INFO: Back End(Service) Delete Storage Log End
[2025-04-12 02:01:06] Production.INFO: Delete Storage Log End
[2025-04-12 02:01:06] Production.INFO: Delete Temp Files Start
[2025-04-12 02:01:07] Production.INFO: find /var/www/tmp* -maxdepth 1 -mtime +3 -type f -exec rm {} \;
[2025-04-12 02:01:07] Production.INFO: Delete Temp Files End
[2025-04-12 02:01:07] Production.INFO: Delete CDR File Start
[2025-04-12 02:01:07] Production.INFO: Delete CDR File End
[2025-04-12 02:01:08] Production.INFO: Disk FileSystem - df -Ph | awk '{printf "%-35s%-10s%-10s%-10s%-10s%s\n",$1,$2,$3,$4,$5,$6}'
[2025-04-12 02:01:08] Production.INFO: output
Filesystem Size Used Avail Use% Mounted
devtmpfs 15G 4.0K 15G 1% /dev
tmpfs 15G 0 15G 0% /dev/shm
tmpfs 15G 1.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-12 02:01:08] Production.ERROR: CronJobId end 4
[2025-04-12 02:01:08] Production.INFO: ==9239== Releasing lock...
[2025-04-12 02:01:08] Production.INFO: servercleanup-command-servercleanup-companyid-1-cronjobid-4 #Stops#
[2025-04-12 02:01:08] Production.INFO: 29.5 MB #Memory Used#
[2025-04-12 02:01:15] Production.ERROR: CronJobId end10
[2025-04-12 02:01:15] Production.INFO: ==9245== Releasing lock...
[2025-04-12 02:01:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 02:01:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 02:01:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 02:01:16] Production.INFO: ============== Balance Warning START===========
[2025-04-12 02:01:16] Production.INFO: ============== Balance Warning END===========
[2025-04-12 02:01:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 02:01:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 02:01:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 02:01:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 02:01:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 02:01:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 02:01:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 02:01:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 02:01:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 02:01:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 02:01:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 02:01:16] Production.INFO: call_cost start
[2025-04-12 02:01:16] Production.INFO: call_cost end
[2025-04-12 02:01:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 02:01:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 02:01:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 02:01:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 02:01:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 02:01:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 02:01:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 02:01:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 02:01:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 02:01:17] Production.INFO: ==9241== Releasing lock...
[2025-04-12 02:01:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 02:01:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 02:01:19] Production.INFO: count ==903
[2025-04-12 02:01:19] Production.ERROR: pbx CDR StartTime 2025-04-11 23:01:06 - End Time 2025-04-12 02:01:06
[2025-04-12 02:01:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 02:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888361', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888361', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888361', 'tblTempVendorCDR_20' ) start
[2025-04-12 02:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888361', 'tblTempVendorCDR_20' ) end
[2025-04-12 02:01:19] Production.INFO: ProcessCDR(1,14888361,1,1,2)
[2025-04-12 02:01:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888361,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:01:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888361,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:01:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888361,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:01:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888361,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:01:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888361', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:01:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888361', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:01:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 02:01:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 02:01:23] Production.INFO: ==9249== Releasing lock...
[2025-04-12 02:01:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 02:01:23] Production.INFO: 35 MB #Memory Used#
[2025-04-12 07:02:02] Production.INFO: ==9412== Lock acquired, processing the job...
[2025-04-12 07:02:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 07:02:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 07:02:02] Production.INFO: neon service started
[2025-04-12 07:02:02] Production.INFO: neon service started
[2025-04-12 07:02:02] Production.INFO: ==9412== Releasing lock...
[2025-04-12 07:02:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 07:02:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 06:02:02] Production.INFO: ==9416== Lock acquired, processing the job...
[2025-04-12 06:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 06:02:03] Production.INFO: ==9416== Releasing lock...
[2025-04-12 06:02:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 06:02:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 02:02:03] Production.INFO: ==9414== Lock acquired, processing the job...
[2025-04-12 02:02:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 02:02:03] Production.INFO: ==9414== Releasing lock...
[2025-04-12 02:02:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 02:02:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 02:02:04] Production.INFO: ==9421== Lock acquired, processing the job...
[2025-04-12 02:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 02:02:04] Production.INFO: ==9419== Lock acquired, processing the job...
[2025-04-12 02:02:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 02:02:04] Production.INFO: ==9425== Lock acquired, processing the job...
[2025-04-12 02:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 02:02:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 02:02:04] Production.INFO: Account Balance Start.
[2025-04-12 02:02:04] Production.INFO: CreateAllLog Start
[2025-04-12 02:02:04] Production.INFO: ==9423== Lock acquired, processing the job...
[2025-04-12 02:02:04] Production.INFO: 117
[2025-04-12 02:02:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 02:02:04] Production.INFO: Date 2025-04-08
[2025-04-12 02:02:04] Production.INFO: ==9427== Lock acquired, processing the job...
[2025-04-12 02:02:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 02:02:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:02:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 02:02:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 02:02:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 02:02:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 02:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 02:02:04] Production.INFO: Date 2025-04-09
[2025-04-12 02:02:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:02:04] Production.INFO: ==9429== Lock acquired, processing the job...
[2025-04-12 02:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 02:02:04] Production.INFO: ==9421== Releasing lock...
[2025-04-12 02:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 02:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 02:02:04] Production.INFO: Date 2025-04-10
[2025-04-12 02:02:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:02:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 02:02:04] Production.INFO: Date 2025-04-11
[2025-04-12 02:02:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:02:04] Production.INFO: count ==12
[2025-04-12 02:02:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 02:02:04] Production.INFO: count ==23
[2025-04-12 02:02:04] Production.ERROR: done
[2025-04-12 02:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 02:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888365') start
[2025-04-12 02:02:04] Production.INFO: Date 2025-04-12
[2025-04-12 02:02:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:02:04] Production.INFO: Total Charge 0
[2025-04-12 02:02:05] Production.ERROR: PBX CALL prc_importPBXExtension('14888365') end
[2025-04-12 02:02:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 02:02:05] Production.INFO: 1
[2025-04-12 02:02:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 02:02:05] Production.INFO: CreateAllLog End
[2025-04-12 02:02:05] Production.INFO: ==9429== Releasing lock...
[2025-04-12 02:02:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 02:02:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 02:02:05] Production.ERROR: done
[2025-04-12 02:02:05] Production.INFO: Account Balance End.
[2025-04-12 02:02:05] Production.ERROR: CronJobId end 12
[2025-04-12 02:02:05] Production.INFO: ==9425== Releasing lock...
[2025-04-12 02:02:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 02:02:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 02:02:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 23:02:06
[end_date_ymd] => 2025-04-12 02:02:06
[RateCDR] => 1
)
[2025-04-12 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-11 23:02:06' and `end` < '2025-04-12 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-12 02:02:13] Production.ERROR: CronJobId end10
[2025-04-12 02:02:13] Production.INFO: ==9423== Releasing lock...
[2025-04-12 02:02:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 02:02:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 02:02:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 02:02:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 02:02:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 02:02:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 02:02:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 02:02:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 02:02:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 02:02:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 02:02:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 02:02:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 02:02:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 02:02:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 02:02:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 02:02:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 02:02:15] Production.INFO: call_cost start
[2025-04-12 02:02:16] Production.INFO: call_cost end
[2025-04-12 02:02:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 02:02:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 02:02:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 02:02:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 02:02:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 02:02:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 02:02:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 02:02:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 02:02:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 02:02:17] Production.INFO: ==9419== Releasing lock...
[2025-04-12 02:02:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 02:02:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 02:02:18] Production.INFO: count ==903
[2025-04-12 02:02:19] Production.ERROR: pbx CDR StartTime 2025-04-11 23:02:06 - End Time 2025-04-12 02:02:06
[2025-04-12 02:02:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 02:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888366', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888366', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888366', 'tblTempVendorCDR_20' ) start
[2025-04-12 02:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888366', 'tblTempVendorCDR_20' ) end
[2025-04-12 02:02:19] Production.INFO: ProcessCDR(1,14888366,1,1,2)
[2025-04-12 02:02:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888366,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:02:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888366,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:02:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888366,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:02:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888366,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888366', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888366', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:02:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 02:02:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 02:02:23] Production.INFO: ==9427== Releasing lock...
[2025-04-12 02:02:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 02:02:23] Production.INFO: 35 MB #Memory Used#
[2025-04-12 07:03:01] Production.INFO: ==9483== Lock acquired, processing the job...
[2025-04-12 07:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 07:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 07:03:01] Production.INFO: neon service started
[2025-04-12 07:03:01] Production.INFO: neon service started
[2025-04-12 07:03:01] Production.INFO: ==9483== Releasing lock...
[2025-04-12 07:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 07:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 02:03:02] Production.INFO: ==9485== Lock acquired, processing the job...
[2025-04-12 02:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 02:03:02] Production.INFO: ==9485== Releasing lock...
[2025-04-12 02:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 02:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 06:03:02] Production.INFO: ==9488== Lock acquired, processing the job...
[2025-04-12 06:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 06:03:02] Production.INFO: ==9488== Releasing lock...
[2025-04-12 06:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 06:03:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 02:03:03] Production.INFO: ==9500== Lock acquired, processing the job...
[2025-04-12 02:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 02:03:03] Production.INFO: ==9498== Lock acquired, processing the job...
[2025-04-12 02:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 02:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 02:03:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 02:03:03] Production.INFO: ==9490== Lock acquired, processing the job...
[2025-04-12 02:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 02:03:03] Production.INFO: ==9492== Lock acquired, processing the job...
[2025-04-12 02:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 02:03:03] Production.INFO: ==9496== Lock acquired, processing the job...
[2025-04-12 02:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 02:03:03] Production.INFO: count ==12
[2025-04-12 02:03:03] Production.INFO: ==9494== Lock acquired, processing the job...
[2025-04-12 02:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 02:03:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 02:03:03] Production.INFO: count ==23
[2025-04-12 02:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14888367') start
[2025-04-12 02:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 02:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 02:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 02:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 02:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 02:03:03] Production.INFO: Account Balance Start.
[2025-04-12 02:03:03] Production.INFO: CreateAllLog Start
[2025-04-12 02:03:03] Production.INFO: 117
[2025-04-12 02:03:03] Production.INFO: Date 2025-04-08
[2025-04-12 02:03:03] Production.INFO: Reseller ==> 0
[2025-04-12 02:03:03] Production.INFO: Date 2025-04-09
[2025-04-12 02:03:03] Production.INFO: Reseller ==> 0
[2025-04-12 02:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14888367') end
[2025-04-12 02:03:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 02:03:03] Production.INFO: 1
[2025-04-12 02:03:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 02:03:03] Production.INFO: Date 2025-04-10
[2025-04-12 02:03:03] Production.INFO: Reseller ==> 0
[2025-04-12 02:03:03] Production.INFO: Date 2025-04-11
[2025-04-12 02:03:03] Production.INFO: Reseller ==> 0
[2025-04-12 02:03:03] Production.INFO: ==9500== Releasing lock...
[2025-04-12 02:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 02:03:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 02:03:03] Production.INFO: Date 2025-04-12
[2025-04-12 02:03:03] Production.INFO: Reseller ==> 0
[2025-04-12 02:03:03] Production.ERROR: done
[2025-04-12 02:03:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 02:03:03] Production.INFO: ==9492== Releasing lock...
[2025-04-12 02:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 02:03:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 02:03:04] Production.INFO: Total Charge 0
[2025-04-12 02:03:04] Production.INFO: CreateAllLog End
[2025-04-12 02:03:04] Production.ERROR: done
[2025-04-12 02:03:04] Production.INFO: Account Balance End.
[2025-04-12 02:03:04] Production.ERROR: CronJobId end 12
[2025-04-12 02:03:04] Production.INFO: ==9496== Releasing lock...
[2025-04-12 02:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 02:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 02:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 23:03:05
[end_date_ymd] => 2025-04-12 02:03:05
[RateCDR] => 1
)
[2025-04-12 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-11 23:03:05' and `end` < '2025-04-12 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-12 02:03:12] Production.ERROR: CronJobId end10
[2025-04-12 02:03:12] Production.INFO: ==9494== Releasing lock...
[2025-04-12 02:03:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 02:03:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 02:03:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 02:03:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 02:03:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 02:03:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 02:03:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 02:03:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 02:03:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 02:03:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 02:03:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 02:03:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 02:03:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 02:03:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 02:03:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 02:03:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 02:03:14] Production.INFO: call_cost start
[2025-04-12 02:03:14] Production.INFO: call_cost end
[2025-04-12 02:03:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 02:03:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 02:03:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 02:03:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 02:03:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 02:03:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 02:03:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 02:03:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 02:03:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 02:03:15] Production.INFO: ==9490== Releasing lock...
[2025-04-12 02:03:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 02:03:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 02:03:18] Production.INFO: count ==904
[2025-04-12 02:03:18] Production.ERROR: pbx CDR StartTime 2025-04-11 23:03:05 - End Time 2025-04-12 02:03:05
[2025-04-12 02:03:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 02:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888371', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888371', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888371', 'tblTempVendorCDR_20' ) start
[2025-04-12 02:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888371', 'tblTempVendorCDR_20' ) end
[2025-04-12 02:03:18] Production.INFO: ProcessCDR(1,14888371,1,1,2)
[2025-04-12 02:03:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888371,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:03:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888371,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:03:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888371,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:03:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888371,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:03:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888371', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:03:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888371', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:03:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 02:03:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 02:03:23] Production.INFO: ==9498== Releasing lock...
[2025-04-12 02:03:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 02:03:23] Production.INFO: 35.5 MB #Memory Used#
[2025-04-12 07:04:02] Production.INFO: ==9554== Lock acquired, processing the job...
[2025-04-12 07:04:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 07:04:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 07:04:02] Production.INFO: neon service started
[2025-04-12 07:04:02] Production.INFO: neon service started
[2025-04-12 07:04:02] Production.INFO: ==9554== Releasing lock...
[2025-04-12 07:04:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 07:04:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 06:04:02] Production.INFO: ==9558== Lock acquired, processing the job...
[2025-04-12 06:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 06:04:02] Production.INFO: ==9558== Releasing lock...
[2025-04-12 06:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 06:04:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 02:04:02] Production.INFO: ==9556== Lock acquired, processing the job...
[2025-04-12 02:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 02:04:03] Production.INFO: ==9556== Releasing lock...
[2025-04-12 02:04:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 02:04:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 02:04:03] Production.INFO: ==9560== Lock acquired, processing the job...
[2025-04-12 02:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 02:04:03] Production.INFO: ==9562== Lock acquired, processing the job...
[2025-04-12 02:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 02:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 02:04:03] Production.INFO: ==9568== Lock acquired, processing the job...
[2025-04-12 02:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 02:04:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 02:04:04] Production.INFO: ==9564== Lock acquired, processing the job...
[2025-04-12 02:04:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 02:04:04] Production.INFO: ==9562== Releasing lock...
[2025-04-12 02:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 02:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 02:04:04] Production.INFO: ==9566== Lock acquired, processing the job...
[2025-04-12 02:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 02:04:04] Production.INFO: ==9571== Lock acquired, processing the job...
[2025-04-12 02:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 02:04:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 02:04:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 02:04:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 02:04:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 02:04:04] Production.ERROR: done
[2025-04-12 02:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 02:04:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 02:04:04] Production.INFO: Account Balance Start.
[2025-04-12 02:04:04] Production.INFO: CreateAllLog Start
[2025-04-12 02:04:04] Production.INFO: 117
[2025-04-12 02:04:04] Production.INFO: Date 2025-04-08
[2025-04-12 02:04:04] Production.INFO: count ==12
[2025-04-12 02:04:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:04:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 02:04:04] Production.INFO: count ==23
[2025-04-12 02:04:04] Production.INFO: Date 2025-04-09
[2025-04-12 02:04:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888374') start
[2025-04-12 02:04:04] Production.INFO: Date 2025-04-10
[2025-04-12 02:04:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:04:04] Production.ERROR: done
[2025-04-12 02:04:04] Production.INFO: Date 2025-04-11
[2025-04-12 02:04:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:04:04] Production.INFO: Date 2025-04-12
[2025-04-12 02:04:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888374') end
[2025-04-12 02:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 02:04:04] Production.INFO: 1
[2025-04-12 02:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 02:04:04] Production.INFO: ==9571== Releasing lock...
[2025-04-12 02:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 02:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 02:04:04] Production.INFO: Total Charge 0
[2025-04-12 02:04:04] Production.INFO: CreateAllLog End
[2025-04-12 02:04:04] Production.INFO: Account Balance End.
[2025-04-12 02:04:04] Production.ERROR: CronJobId end 12
[2025-04-12 02:04:04] Production.INFO: ==9566== Releasing lock...
[2025-04-12 02:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 02:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 02:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 23:04:05
[end_date_ymd] => 2025-04-12 02:04:05
[RateCDR] => 1
)
[2025-04-12 02:04:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 23:04:05' and `end` < '2025-04-12 02:04:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 02:04:11] Production.ERROR: CronJobId end10
[2025-04-12 02:04:11] Production.INFO: ==9564== Releasing lock...
[2025-04-12 02:04:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 02:04:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 02:04:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 02:04:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 02:04:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 02:04:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 02:04:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 02:04:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 02:04:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 02:04:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 02:04:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 02:04:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 02:04:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 02:04:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 02:04:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 02:04:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 02:04:14] Production.INFO: call_cost start
[2025-04-12 02:04:14] Production.INFO: call_cost end
[2025-04-12 02:04:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 02:04:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 02:04:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 02:04:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 02:04:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 02:04:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 02:04:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 02:04:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 02:04:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 02:04:15] Production.INFO: ==9560== Releasing lock...
[2025-04-12 02:04:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 02:04:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 02:04:18] Production.INFO: count ==905
[2025-04-12 02:04:18] Production.ERROR: pbx CDR StartTime 2025-04-11 23:04:05 - End Time 2025-04-12 02:04:05
[2025-04-12 02:04:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 02:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888376', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888376', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888376', 'tblTempVendorCDR_20' ) start
[2025-04-12 02:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888376', 'tblTempVendorCDR_20' ) end
[2025-04-12 02:04:18] Production.INFO: ProcessCDR(1,14888376,1,1,2)
[2025-04-12 02:04:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888376,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:04:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888376,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:04:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888376,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:04:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888376,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:04:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888376', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:04:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888376', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:04:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 02:04:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 02:04:23] Production.INFO: ==9568== Releasing lock...
[2025-04-12 02:04:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 02:04:23] Production.INFO: 35.25 MB #Memory Used#
[2025-04-12 07:05:01] Production.INFO: ==9627== Lock acquired, processing the job...
[2025-04-12 07:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 07:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 07:05:01] Production.INFO: neon service started
[2025-04-12 07:05:01] Production.INFO: neon service started
[2025-04-12 07:05:01] Production.INFO: ==9627== Releasing lock...
[2025-04-12 07:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 07:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 02:05:02] Production.INFO: ==9629== Lock acquired, processing the job...
[2025-04-12 02:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 02:05:02] Production.INFO: ==9629== Releasing lock...
[2025-04-12 02:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 02:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 06:05:02] Production.INFO: ==9631== Lock acquired, processing the job...
[2025-04-12 06:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 06:05:02] Production.INFO: ==9631== Releasing lock...
[2025-04-12 06:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 06:05:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 02:05:03] Production.INFO: ==9633== Lock acquired, processing the job...
[2025-04-12 02:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 02:05:03] Production.INFO: ==9644== Lock acquired, processing the job...
[2025-04-12 02:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 02:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 02:05:03] Production.INFO: ==9637== Lock acquired, processing the job...
[2025-04-12 02:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 02:05:03] Production.INFO: ==9635== Lock acquired, processing the job...
[2025-04-12 02:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 02:05:03] Production.INFO: ==9639== Lock acquired, processing the job...
[2025-04-12 02:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 02:05:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 02:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 02:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 02:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 02:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 02:05:03] Production.INFO: ==9641== Lock acquired, processing the job...
[2025-04-12 02:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 02:05:03] Production.INFO: Account Balance Start.
[2025-04-12 02:05:03] Production.INFO: CreateAllLog Start
[2025-04-12 02:05:03] Production.INFO: count ==12
[2025-04-12 02:05:03] Production.INFO: 117
[2025-04-12 02:05:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 02:05:03] Production.INFO: count ==23
[2025-04-12 02:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14888378') start
[2025-04-12 02:05:03] Production.INFO: Date 2025-04-08
[2025-04-12 02:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 02:05:03] Production.INFO: Reseller ==> 0
[2025-04-12 02:05:03] Production.INFO: Date 2025-04-09
[2025-04-12 02:05:03] Production.INFO: Reseller ==> 0
[2025-04-12 02:05:03] Production.INFO: Date 2025-04-10
[2025-04-12 02:05:03] Production.INFO: Reseller ==> 0
[2025-04-12 02:05:03] Production.INFO: Date 2025-04-11
[2025-04-12 02:05:03] Production.INFO: Reseller ==> 0
[2025-04-12 02:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14888378') end
[2025-04-12 02:05:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 02:05:03] Production.INFO: 1
[2025-04-12 02:05:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 02:05:03] Production.INFO: Date 2025-04-12
[2025-04-12 02:05:03] Production.INFO: Reseller ==> 0
[2025-04-12 02:05:03] Production.INFO: Total Charge 0
[2025-04-12 02:05:03] Production.INFO: CreateAllLog End
[2025-04-12 02:05:03] Production.INFO: ==9644== Releasing lock...
[2025-04-12 02:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 02:05:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 02:05:03] Production.INFO: ==9635== Releasing lock...
[2025-04-12 02:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 02:05:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 02:05:03] Production.ERROR: done
[2025-04-12 02:05:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 02:05:04] Production.INFO: Account Balance End.
[2025-04-12 02:05:04] Production.ERROR: done
[2025-04-12 02:05:04] Production.ERROR: CronJobId end 12
[2025-04-12 02:05:04] Production.INFO: ==9639== Releasing lock...
[2025-04-12 02:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 02:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 02:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 23:05:05
[end_date_ymd] => 2025-04-12 02:05:05
[RateCDR] => 1
)
[2025-04-12 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-11 23:05:05' and `end` < '2025-04-12 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-12 02:05:12] Production.ERROR: CronJobId end10
[2025-04-12 02:05:12] Production.INFO: ==9637== Releasing lock...
[2025-04-12 02:05:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 02:05:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 02:05:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 02:05:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 02:05:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 02:05:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 02:05:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 02:05:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 02:05:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 02:05:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 02:05:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 02:05:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 02:05:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 02:05:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 02:05:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 02:05:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 02:05:14] Production.INFO: call_cost start
[2025-04-12 02:05:14] Production.INFO: call_cost end
[2025-04-12 02:05:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 02:05:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 02:05:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 02:05:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 02:05:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 02:05:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 02:05:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 02:05:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 02:05:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 02:05:15] Production.INFO: ==9633== Releasing lock...
[2025-04-12 02:05:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 02:05:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 02:05:18] Production.INFO: count ==905
[2025-04-12 02:05:18] Production.ERROR: pbx CDR StartTime 2025-04-11 23:05:05 - End Time 2025-04-12 02:05:05
[2025-04-12 02:05:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 02:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888381', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888381', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888381', 'tblTempVendorCDR_20' ) start
[2025-04-12 02:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888381', 'tblTempVendorCDR_20' ) end
[2025-04-12 02:05:18] Production.INFO: ProcessCDR(1,14888381,1,1,2)
[2025-04-12 02:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888381,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:05:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888381,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:05:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888381,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:05:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888381,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888381', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888381', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:05:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 02:05:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 02:05:22] Production.INFO: ==9641== Releasing lock...
[2025-04-12 02:05:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 02:05:22] Production.INFO: 35.25 MB #Memory Used#
[2025-04-12 07:06:02] Production.INFO: ==9698== Lock acquired, processing the job...
[2025-04-12 07:06:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 07:06:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 07:06:02] Production.INFO: neon service started
[2025-04-12 07:06:02] Production.INFO: neon service started
[2025-04-12 07:06:02] Production.INFO: ==9698== Releasing lock...
[2025-04-12 07:06:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 07:06:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 02:06:02] Production.INFO: ==9701== Lock acquired, processing the job...
[2025-04-12 02:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 02:06:02] Production.INFO: ==9701== Releasing lock...
[2025-04-12 02:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 02:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 06:06:02] Production.INFO: ==9703== Lock acquired, processing the job...
[2025-04-12 06:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 06:06:02] Production.INFO: ==9703== Releasing lock...
[2025-04-12 06:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 06:06:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 02:06:03] Production.INFO: ==9705== Lock acquired, processing the job...
[2025-04-12 02:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 02:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 02:06:03] Production.INFO: ==9707== Lock acquired, processing the job...
[2025-04-12 02:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 02:06:03] Production.INFO: ==9711== Lock acquired, processing the job...
[2025-04-12 02:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 02:06:03] Production.INFO: Account Balance Start.
[2025-04-12 02:06:03] Production.INFO: CreateAllLog Start
[2025-04-12 02:06:03] Production.INFO: 117
[2025-04-12 02:06:03] Production.INFO: Date 2025-04-08
[2025-04-12 02:06:03] Production.INFO: Reseller ==> 0
[2025-04-12 02:06:03] Production.INFO: Date 2025-04-09
[2025-04-12 02:06:03] Production.INFO: Reseller ==> 0
[2025-04-12 02:06:03] Production.INFO: ==9709== Lock acquired, processing the job...
[2025-04-12 02:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 02:06:03] Production.INFO: ==9707== Releasing lock...
[2025-04-12 02:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 02:06:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 02:06:03] Production.INFO: Date 2025-04-10
[2025-04-12 02:06:03] Production.INFO: Reseller ==> 0
[2025-04-12 02:06:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 02:06:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 02:06:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 02:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 02:06:04] Production.INFO: ==9713== Lock acquired, processing the job...
[2025-04-12 02:06:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 02:06:04] Production.INFO: Date 2025-04-11
[2025-04-12 02:06:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:06:04] Production.INFO: ==9715== Lock acquired, processing the job...
[2025-04-12 02:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 02:06:04] Production.INFO: Date 2025-04-12
[2025-04-12 02:06:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 02:06:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:06:04] Production.INFO: Total Charge 0
[2025-04-12 02:06:04] Production.INFO: CreateAllLog End
[2025-04-12 02:06:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 02:06:04] Production.INFO: count ==12
[2025-04-12 02:06:04] Production.ERROR: done
[2025-04-12 02:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 02:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 02:06:04] Production.INFO: count ==23
[2025-04-12 02:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888385') start
[2025-04-12 02:06:04] Production.ERROR: done
[2025-04-12 02:06:04] Production.INFO: Account Balance End.
[2025-04-12 02:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888385') end
[2025-04-12 02:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 02:06:04] Production.INFO: 1
[2025-04-12 02:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 02:06:04] Production.ERROR: CronJobId end 12
[2025-04-12 02:06:04] Production.INFO: ==9711== Releasing lock...
[2025-04-12 02:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 02:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 02:06:04] Production.INFO: ==9715== Releasing lock...
[2025-04-12 02:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 02:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 02:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 23:06:05
[end_date_ymd] => 2025-04-12 02:06:05
[RateCDR] => 1
)
[2025-04-12 02:06:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 23:06:05' and `end` < '2025-04-12 02:06:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 02:06:12] Production.ERROR: CronJobId end10
[2025-04-12 02:06:12] Production.INFO: ==9709== Releasing lock...
[2025-04-12 02:06:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 02:06:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 02:06:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 02:06:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 02:06:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 02:06:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 02:06:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 02:06:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 02:06:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 02:06:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 02:06:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 02:06:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 02:06:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 02:06:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 02:06:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 02:06:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 02:06:15] Production.INFO: call_cost start
[2025-04-12 02:06:15] Production.INFO: call_cost end
[2025-04-12 02:06:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 02:06:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 02:06:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 02:06:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 02:06:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 02:06:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 02:06:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 02:06:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 02:06:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 02:06:16] Production.INFO: ==9705== Releasing lock...
[2025-04-12 02:06:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 02:06:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 02:06:18] Production.INFO: count ==853
[2025-04-12 02:06:18] Production.ERROR: pbx CDR StartTime 2025-04-11 23:06:05 - End Time 2025-04-12 02:06:05
[2025-04-12 02:06:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 02:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888386', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888386', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888386', 'tblTempVendorCDR_20' ) start
[2025-04-12 02:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888386', 'tblTempVendorCDR_20' ) end
[2025-04-12 02:06:18] Production.INFO: ProcessCDR(1,14888386,1,1,2)
[2025-04-12 02:06:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888386,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:06:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888386,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:06:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888386,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:06:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888386,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888386', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888386', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:06:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 02:06:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 02:06:22] Production.INFO: ==9713== Releasing lock...
[2025-04-12 02:06:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 02:06:22] Production.INFO: 35.25 MB #Memory Used#
[2025-04-12 07:07:01] Production.INFO: ==9770== Lock acquired, processing the job...
[2025-04-12 07:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 07:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 07:07:01] Production.INFO: neon service started
[2025-04-12 07:07:01] Production.INFO: neon service started
[2025-04-12 07:07:01] Production.INFO: ==9770== Releasing lock...
[2025-04-12 07:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 07:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 06:07:02] Production.INFO: ==9776== Lock acquired, processing the job...
[2025-04-12 06:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 06:07:02] Production.INFO: ==9776== Releasing lock...
[2025-04-12 06:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 06:07:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 02:07:02] Production.INFO: ==9774== Lock acquired, processing the job...
[2025-04-12 02:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 02:07:02] Production.INFO: ==9774== Releasing lock...
[2025-04-12 02:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 02:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 02:07:03] Production.INFO: ==9781== Lock acquired, processing the job...
[2025-04-12 02:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 02:07:03] Production.INFO: ==9789== Lock acquired, processing the job...
[2025-04-12 02:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 02:07:03] Production.INFO: ==9779== Lock acquired, processing the job...
[2025-04-12 02:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 02:07:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 02:07:03] Production.INFO: ==9783== Lock acquired, processing the job...
[2025-04-12 02:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 02:07:03] Production.INFO: ==9787== Lock acquired, processing the job...
[2025-04-12 02:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 02:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 02:07:03] Production.INFO: ==9785== Lock acquired, processing the job...
[2025-04-12 02:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 02:07:03] Production.INFO: count ==12
[2025-04-12 02:07:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 02:07:03] Production.INFO: count ==23
[2025-04-12 02:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 02:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888388') start
[2025-04-12 02:07:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 02:07:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 02:07:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 02:07:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 02:07:04] Production.INFO: Account Balance Start.
[2025-04-12 02:07:04] Production.INFO: CreateAllLog Start
[2025-04-12 02:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888388') end
[2025-04-12 02:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 02:07:04] Production.INFO: 1
[2025-04-12 02:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 02:07:04] Production.INFO: 117
[2025-04-12 02:07:04] Production.INFO: Date 2025-04-08
[2025-04-12 02:07:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:07:04] Production.INFO: ==9781== Releasing lock...
[2025-04-12 02:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 02:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 02:07:04] Production.INFO: ==9789== Releasing lock...
[2025-04-12 02:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 02:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 02:07:04] Production.INFO: Date 2025-04-09
[2025-04-12 02:07:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:07:04] Production.INFO: Date 2025-04-10
[2025-04-12 02:07:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:07:04] Production.INFO: Date 2025-04-11
[2025-04-12 02:07:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:07:04] Production.INFO: Date 2025-04-12
[2025-04-12 02:07:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:07:04] Production.INFO: Total Charge 0
[2025-04-12 02:07:04] Production.INFO: CreateAllLog End
[2025-04-12 02:07:04] Production.ERROR: done
[2025-04-12 02:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 02:07:04] Production.ERROR: done
[2025-04-12 02:07:04] Production.INFO: Account Balance End.
[2025-04-12 02:07:04] Production.ERROR: CronJobId end 12
[2025-04-12 02:07:04] Production.INFO: ==9785== Releasing lock...
[2025-04-12 02:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 02:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 02:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 23:07:05
[end_date_ymd] => 2025-04-12 02:07:05
[RateCDR] => 1
)
[2025-04-12 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-11 23:07:05' and `end` < '2025-04-12 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-12 02:07:12] Production.ERROR: CronJobId end10
[2025-04-12 02:07:12] Production.INFO: ==9783== Releasing lock...
[2025-04-12 02:07:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 02:07:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 02:07:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 02:07:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 02:07:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 02:07:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 02:07:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 02:07:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 02:07:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 02:07:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 02:07:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 02:07:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 02:07:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 02:07:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 02:07:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 02:07:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 02:07:15] Production.INFO: call_cost start
[2025-04-12 02:07:15] Production.INFO: call_cost end
[2025-04-12 02:07:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 02:07:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 02:07:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 02:07:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 02:07:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 02:07:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 02:07:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 02:07:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 02:07:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 02:07:16] Production.INFO: ==9779== Releasing lock...
[2025-04-12 02:07:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 02:07:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 02:07:18] Production.INFO: count ==795
[2025-04-12 02:07:18] Production.ERROR: pbx CDR StartTime 2025-04-11 23:07:05 - End Time 2025-04-12 02:07:05
[2025-04-12 02:07:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 02:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888391', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888391', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888391', 'tblTempVendorCDR_20' ) start
[2025-04-12 02:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888391', 'tblTempVendorCDR_20' ) end
[2025-04-12 02:07:18] Production.INFO: ProcessCDR(1,14888391,1,1,2)
[2025-04-12 02:07:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888391,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:07:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888391,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:07:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888391,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:07:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888391,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888391', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888391', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:07:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 02:07:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 02:07:22] Production.INFO: ==9787== Releasing lock...
[2025-04-12 02:07:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 02:07:22] Production.INFO: 34.75 MB #Memory Used#
[2025-04-12 07:08:02] Production.INFO: ==9845== Lock acquired, processing the job...
[2025-04-12 07:08:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 07:08:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 07:08:02] Production.INFO: neon service started
[2025-04-12 07:08:02] Production.INFO: neon service started
[2025-04-12 07:08:02] Production.INFO: ==9845== Releasing lock...
[2025-04-12 07:08:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 07:08:02] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 02:08:02] Production.INFO: ==9847== Lock acquired, processing the job...
[2025-04-12 02:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 02:08:02] Production.INFO: ==9847== Releasing lock...
[2025-04-12 02:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 02:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 06:08:03] Production.INFO: ==9849== Lock acquired, processing the job...
[2025-04-12 06:08:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 06:08:03] Production.INFO: ==9849== Releasing lock...
[2025-04-12 06:08:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 06:08:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 02:08:03] Production.INFO: ==9853== Lock acquired, processing the job...
[2025-04-12 02:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 02:08:03] Production.INFO: ==9860== Lock acquired, processing the job...
[2025-04-12 02:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 02:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 02:08:03] Production.INFO: ==9851== Lock acquired, processing the job...
[2025-04-12 02:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 02:08:04] Production.INFO: ==9858== Lock acquired, processing the job...
[2025-04-12 02:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 02:08:04] Production.INFO: ==9862== Lock acquired, processing the job...
[2025-04-12 02:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 02:08:04] Production.INFO: ==9855== Lock acquired, processing the job...
[2025-04-12 02:08:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 02:08:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 02:08:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 02:08:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 02:08:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 02:08:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 02:08:04] Production.INFO: Account Balance Start.
[2025-04-12 02:08:04] Production.INFO: CreateAllLog Start
[2025-04-12 02:08:04] Production.INFO: 117
[2025-04-12 02:08:04] Production.INFO: Date 2025-04-08
[2025-04-12 02:08:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:08:04] Production.INFO: Date 2025-04-09
[2025-04-12 02:08:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:08:04] Production.INFO: Date 2025-04-10
[2025-04-12 02:08:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:08:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 02:08:04] Production.INFO: Date 2025-04-11
[2025-04-12 02:08:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:08:04] Production.INFO: Date 2025-04-12
[2025-04-12 02:08:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:08:04] Production.INFO: count ==12
[2025-04-12 02:08:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 02:08:04] Production.INFO: count ==23
[2025-04-12 02:08:04] Production.INFO: Total Charge 0
[2025-04-12 02:08:04] Production.INFO: ==9853== Releasing lock...
[2025-04-12 02:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 02:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 02:08:04] Production.ERROR: done
[2025-04-12 02:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888393') start
[2025-04-12 02:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 02:08:04] Production.INFO: CreateAllLog End
[2025-04-12 02:08:04] Production.ERROR: done
[2025-04-12 02:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888393') end
[2025-04-12 02:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 02:08:04] Production.INFO: 1
[2025-04-12 02:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 02:08:04] Production.INFO: ==9862== Releasing lock...
[2025-04-12 02:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 02:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 02:08:04] Production.INFO: Account Balance End.
[2025-04-12 02:08:04] Production.ERROR: CronJobId end 12
[2025-04-12 02:08:04] Production.INFO: ==9858== Releasing lock...
[2025-04-12 02:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 02:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 02:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 23:08:05
[end_date_ymd] => 2025-04-12 02:08:05
[RateCDR] => 1
)
[2025-04-12 02:08:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 23:08:05' and `end` < '2025-04-12 02:08:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 02:08:13] Production.ERROR: CronJobId end10
[2025-04-12 02:08:13] Production.INFO: ==9855== Releasing lock...
[2025-04-12 02:08:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 02:08:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 02:08:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 02:08:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 02:08:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 02:08:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 02:08:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 02:08:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 02:08:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 02:08:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 02:08:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 02:08:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 02:08:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 02:08:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 02:08:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 02:08:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 02:08:15] Production.INFO: call_cost start
[2025-04-12 02:08:15] Production.INFO: call_cost end
[2025-04-12 02:08:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 02:08:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 02:08:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 02:08:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 02:08:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 02:08:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 02:08:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 02:08:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 02:08:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 02:08:16] Production.INFO: ==9851== Releasing lock...
[2025-04-12 02:08:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 02:08:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 02:08:18] Production.INFO: count ==749
[2025-04-12 02:08:18] Production.ERROR: pbx CDR StartTime 2025-04-11 23:08:05 - End Time 2025-04-12 02:08:05
[2025-04-12 02:08:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 02:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888396', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888396', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888396', 'tblTempVendorCDR_20' ) start
[2025-04-12 02:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888396', 'tblTempVendorCDR_20' ) end
[2025-04-12 02:08:18] Production.INFO: ProcessCDR(1,14888396,1,1,2)
[2025-04-12 02:08:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888396,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:08:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888396,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:08:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888396,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:08:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888396,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888396', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888396', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:08:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 02:08:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 02:08:22] Production.INFO: ==9860== Releasing lock...
[2025-04-12 02:08:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 02:08:22] Production.INFO: 33.75 MB #Memory Used#
[2025-04-12 07:09:01] Production.INFO: ==9920== Lock acquired, processing the job...
[2025-04-12 07:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 07:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 07:09:01] Production.INFO: neon service started
[2025-04-12 07:09:01] Production.INFO: neon service started
[2025-04-12 07:09:01] Production.INFO: ==9920== Releasing lock...
[2025-04-12 07:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 07:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 02:09:02] Production.INFO: ==9922== Lock acquired, processing the job...
[2025-04-12 02:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 06:09:02] Production.INFO: ==9924== Lock acquired, processing the job...
[2025-04-12 06:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 06:09:02] Production.INFO: ==9924== Releasing lock...
[2025-04-12 06:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 06:09:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 02:09:02] Production.INFO: ==9922== Releasing lock...
[2025-04-12 02:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 02:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 02:09:03] Production.INFO: ==9929== Lock acquired, processing the job...
[2025-04-12 02:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 02:09:03] Production.INFO: ==9931== Lock acquired, processing the job...
[2025-04-12 02:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 02:09:03] Production.INFO: ==9933== Lock acquired, processing the job...
[2025-04-12 02:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 02:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 02:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 02:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 02:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 02:09:03] Production.INFO: Account Balance Start.
[2025-04-12 02:09:03] Production.INFO: CreateAllLog Start
[2025-04-12 02:09:03] Production.INFO: 117
[2025-04-12 02:09:03] Production.INFO: ==9929== Releasing lock...
[2025-04-12 02:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 02:09:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 02:09:03] Production.INFO: Date 2025-04-08
[2025-04-12 02:09:03] Production.INFO: Reseller ==> 0
[2025-04-12 02:09:03] Production.INFO: Date 2025-04-09
[2025-04-12 02:09:03] Production.INFO: Reseller ==> 0
[2025-04-12 02:09:03] Production.INFO: Date 2025-04-10
[2025-04-12 02:09:03] Production.INFO: Reseller ==> 0
[2025-04-12 02:09:03] Production.INFO: Date 2025-04-11
[2025-04-12 02:09:03] Production.INFO: Reseller ==> 0
[2025-04-12 02:09:03] Production.INFO: Date 2025-04-12
[2025-04-12 02:09:03] Production.INFO: Reseller ==> 0
[2025-04-12 02:09:03] Production.INFO: Total Charge 0
[2025-04-12 02:09:03] Production.INFO: CreateAllLog End
[2025-04-12 02:09:03] Production.INFO: ==9927== Lock acquired, processing the job...
[2025-04-12 02:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 02:09:03] Production.INFO: Account Balance End.
[2025-04-12 02:09:03] Production.ERROR: CronJobId end 12
[2025-04-12 02:09:03] Production.INFO: ==9933== Releasing lock...
[2025-04-12 02:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 02:09:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 02:09:03] Production.INFO: ==9935== Lock acquired, processing the job...
[2025-04-12 02:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 02:09:03] Production.INFO: ==9937== Lock acquired, processing the job...
[2025-04-12 02:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 02:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 02:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 02:09:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 02:09:04] Production.INFO: count ==12
[2025-04-12 02:09:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 02:09:04] Production.INFO: count ==23
[2025-04-12 02:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888400') start
[2025-04-12 02:09:04] Production.ERROR: done
[2025-04-12 02:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 02:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888400') end
[2025-04-12 02:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 02:09:04] Production.INFO: 1
[2025-04-12 02:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 02:09:04] Production.INFO: ==9937== Releasing lock...
[2025-04-12 02:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 02:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 02:09:04] Production.ERROR: done
[2025-04-12 02:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 23:09:05
[end_date_ymd] => 2025-04-12 02:09:05
[RateCDR] => 1
)
[2025-04-12 02:09:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 23:09:05' and `end` < '2025-04-12 02:09:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 02:09:11] Production.ERROR: CronJobId end10
[2025-04-12 02:09:11] Production.INFO: ==9931== Releasing lock...
[2025-04-12 02:09:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 02:09:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 02:09:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 02:09:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 02:09:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 02:09:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 02:09:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 02:09:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 02:09:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 02:09:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 02:09:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 02:09:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 02:09:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 02:09:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 02:09:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 02:09:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 02:09:14] Production.INFO: call_cost start
[2025-04-12 02:09:14] Production.INFO: call_cost end
[2025-04-12 02:09:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 02:09:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 02:09:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 02:09:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 02:09:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 02:09:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 02:09:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 02:09:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 02:09:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 02:09:15] Production.INFO: ==9927== Releasing lock...
[2025-04-12 02:09:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 02:09:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 02:09:18] Production.INFO: count ==686
[2025-04-12 02:09:18] Production.ERROR: pbx CDR StartTime 2025-04-11 23:09:05 - End Time 2025-04-12 02:09:05
[2025-04-12 02:09:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 02:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888401', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888401', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888401', 'tblTempVendorCDR_20' ) start
[2025-04-12 02:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888401', 'tblTempVendorCDR_20' ) end
[2025-04-12 02:09:18] Production.INFO: ProcessCDR(1,14888401,1,1,2)
[2025-04-12 02:09:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888401,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:09:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888401,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:09:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888401,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:09:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888401,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888401', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888401', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:09:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 02:09:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 02:09:22] Production.INFO: ==9935== Releasing lock...
[2025-04-12 02:09:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 02:09:22] Production.INFO: 33.5 MB #Memory Used#
[2025-04-12 07:10:02] Production.INFO: ==10033== Lock acquired, processing the job...
[2025-04-12 07:10:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 07:10:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 07:10:02] Production.INFO: neon service started
[2025-04-12 07:10:02] Production.INFO: neon service started
[2025-04-12 07:10:02] Production.INFO: ==10033== Releasing lock...
[2025-04-12 07:10:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 07:10:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 02:10:02] Production.INFO: ==10036== Lock acquired, processing the job...
[2025-04-12 02:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 02:10:02] Production.INFO: ==10036== Releasing lock...
[2025-04-12 02:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 02:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 06:10:02] Production.INFO: ==10038== Lock acquired, processing the job...
[2025-04-12 06:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 06:10:03] Production.INFO: ==10038== Releasing lock...
[2025-04-12 06:10:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 06:10:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 02:10:03] Production.INFO: ==10040== Lock acquired, processing the job...
[2025-04-12 02:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 02:10:03] Production.INFO: ==10042== Lock acquired, processing the job...
[2025-04-12 02:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 02:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 02:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 02:10:03] Production.ERROR: CronJob PID - 10042
[2025-04-12 02:10:03] Production.ERROR: CronJob Title - System Alerts
[2025-04-12 02:10:03] Production.ERROR: CronJob ID - 5
[2025-04-12 02:10:03] Production.ERROR: CronJob Last Run Time 2025-04-12 02:10:00
[2025-04-12 02:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 02:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 02:10:03] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 02:10:03] Production.INFO: ==10040== Releasing lock...
[2025-04-12 02:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 02:10:03] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 02:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 02:10:04] Production.INFO: ==10046== Lock acquired, processing the job...
[2025-04-12 02:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 02:10:04] Production.INFO: ==10044== Lock acquired, processing the job...
[2025-04-12 02:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 02:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 02:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 02:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 02:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 02:10:04] Production.INFO: ==10050== Lock acquired, processing the job...
[2025-04-12 02:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 02:10:04] Production.INFO: ==10052== Lock acquired, processing the job...
[2025-04-12 02:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 02:10:04] Production.INFO: ==10048== Lock acquired, processing the job...
[2025-04-12 02:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 02:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 02:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 02:10:04] Production.INFO: Account Balance Start.
[2025-04-12 02:10:04] Production.INFO: CreateAllLog Start
[2025-04-12 02:10:04] Production.INFO: 117
[2025-04-12 02:10:04] Production.INFO: Date 2025-04-08
[2025-04-12 02:10:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:10:04] Production.INFO: ==10054== Lock acquired, processing the job...
[2025-04-12 02:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 02:10:04] Production.INFO: ==10044== Releasing lock...
[2025-04-12 02:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 02:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 02:10:04] Production.INFO: Date 2025-04-09
[2025-04-12 02:10:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:10:04] Production.INFO: Date 2025-04-10
[2025-04-12 02:10:04] Production.INFO: Reseller ==> 0
[2025-04-12 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-12 02:10:04] Production.INFO: count ==12
[2025-04-12 02:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 02:10:04] Production.INFO: count ==23
[2025-04-12 02:10:04] Production.INFO: Date 2025-04-11
[2025-04-12 02:10:04] Production.ERROR: done
[2025-04-12 02:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 02:10:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888405') start
[2025-04-12 02:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888405') end
[2025-04-12 02:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 02:10:04] Production.INFO: 1
[2025-04-12 02:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 02:10:04] Production.ERROR: done
[2025-04-12 02:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 02:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14888406', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 02:10:04] Production.INFO: Date 2025-04-12
[2025-04-12 02:10:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:10:04] Production.INFO: Total Charge 0
[2025-04-12 02:10:04] Production.INFO: CreateAllLog End
[2025-04-12 02:10:04] Production.INFO: ==10054== Releasing lock...
[2025-04-12 02:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 02:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 02:10:05] Production.ERROR: done
[2025-04-12 02:10:05] Production.INFO: Account Balance End.
[2025-04-12 02:10:05] Production.ERROR: CronJobId end 12
[2025-04-12 02:10:05] Production.INFO: ==10048== Releasing lock...
[2025-04-12 02:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 02:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 02:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 23:10:06
[end_date_ymd] => 2025-04-12 02:10:06
[RateCDR] => 1
)
[2025-04-12 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-11 23:10:06' and `end` < '2025-04-12 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-12 02:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14888406', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 02:10:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 02:10:09] Production.INFO: ProcessCDR(1,14888406,1,1,2)
[2025-04-12 02:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14888406,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14888406,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 02:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 02:10:09] Production.INFO: ==10052== Releasing lock...
[2025-04-12 02:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 02:10:09] Production.INFO: 26 MB #Memory Used#
[2025-04-12 02:10:13] Production.ERROR: CronJobId end10
[2025-04-12 02:10:13] Production.INFO: ==10046== Releasing lock...
[2025-04-12 02:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 02:10:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 02:10:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 02:10:16] Production.INFO: ============== Balance Warning START===========
[2025-04-12 02:10:16] Production.INFO: ============== Balance Warning END===========
[2025-04-12 02:10:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 02:10:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 02:10:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 02:10:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 02:10:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 02:10:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 02:10:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 02:10:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 02:10:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 02:10:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 02:10:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 02:10:16] Production.INFO: call_cost start
[2025-04-12 02:10:16] Production.INFO: call_cost end
[2025-04-12 02:10:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 02:10:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 02:10:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 02:10:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 02:10:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 02:10:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 02:10:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 02:10:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 02:10:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 02:10:17] Production.INFO: ==10042== Releasing lock...
[2025-04-12 02:10:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 02:10:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 02:10:19] Production.INFO: count ==634
[2025-04-12 02:10:19] Production.ERROR: pbx CDR StartTime 2025-04-11 23:10:06 - End Time 2025-04-12 02:10:06
[2025-04-12 02:10:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 02:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888407', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888407', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888407', 'tblTempVendorCDR_20' ) start
[2025-04-12 02:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888407', 'tblTempVendorCDR_20' ) end
[2025-04-12 02:10:19] Production.INFO: ProcessCDR(1,14888407,1,1,2)
[2025-04-12 02:10:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888407,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:10:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888407,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:10:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888407,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:10:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888407,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:10:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888407', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:10:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888407', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:10:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 02:10:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 02:10:23] Production.INFO: ==10050== Releasing lock...
[2025-04-12 02:10:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 02:10:23] Production.INFO: 33.75 MB #Memory Used#
[2025-04-12 07:11:01] Production.INFO: ==10111== Lock acquired, processing the job...
[2025-04-12 07:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 07:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 07:11:01] Production.INFO: neon service started
[2025-04-12 07:11:01] Production.INFO: neon service started
[2025-04-12 07:11:01] Production.INFO: ==10111== Releasing lock...
[2025-04-12 07:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 07:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 02:11:01] Production.INFO: ==10113== Lock acquired, processing the job...
[2025-04-12 02:11:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 02:11:02] Production.INFO: ==10113== Releasing lock...
[2025-04-12 02:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 02:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 06:11:02] Production.INFO: ==10115== Lock acquired, processing the job...
[2025-04-12 06:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 06:11:02] Production.INFO: ==10115== Releasing lock...
[2025-04-12 06:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 06:11:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 02:11:03] Production.INFO: ==10117== Lock acquired, processing the job...
[2025-04-12 02:11:03] Production.INFO: ==10119== Lock acquired, processing the job...
[2025-04-12 02:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 02:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 02:11:03] Production.INFO: ==10127== Lock acquired, processing the job...
[2025-04-12 02:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 02:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 02:11:03] Production.INFO: ==10121== Lock acquired, processing the job...
[2025-04-12 02:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 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-12 02:11:03] Production.INFO: count ==12
[2025-04-12 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-12 02:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 02:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 02:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 02:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 02:11:03] Production.INFO: count ==23
[2025-04-12 02:11:03] Production.INFO: ==10123== Lock acquired, processing the job...
[2025-04-12 02:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 02:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14888409') start
[2025-04-12 02:11:03] Production.INFO: ==10125== Lock acquired, processing the job...
[2025-04-12 02:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 02:11:03] Production.INFO: Account Balance Start.
[2025-04-12 02:11:03] Production.INFO: CreateAllLog Start
[2025-04-12 02:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 02:11:03] Production.INFO: 117
[2025-04-12 02:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14888409') end
[2025-04-12 02:11:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 02:11:03] Production.INFO: 1
[2025-04-12 02:11:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 02:11:03] Production.INFO: Date 2025-04-08
[2025-04-12 02:11:03] Production.INFO: Reseller ==> 0
[2025-04-12 02:11:03] Production.INFO: ==10127== Releasing lock...
[2025-04-12 02:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 02:11:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 02:11:03] Production.INFO: Date 2025-04-09
[2025-04-12 02:11:03] Production.INFO: Reseller ==> 0
[2025-04-12 02:11:03] Production.INFO: Date 2025-04-10
[2025-04-12 02:11:03] Production.INFO: Reseller ==> 0
[2025-04-12 02:11:03] Production.INFO: Date 2025-04-11
[2025-04-12 02:11:03] Production.INFO: Reseller ==> 0
[2025-04-12 02:11:03] Production.INFO: Date 2025-04-12
[2025-04-12 02:11:03] Production.INFO: Reseller ==> 0
[2025-04-12 02:11:03] Production.INFO: Total Charge 0
[2025-04-12 02:11:03] Production.INFO: CreateAllLog End
[2025-04-12 02:11:03] Production.INFO: ==10119== Releasing lock...
[2025-04-12 02:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 02:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 02:11:03] Production.INFO: Account Balance End.
[2025-04-12 02:11:03] Production.ERROR: CronJobId end 12
[2025-04-12 02:11:03] Production.INFO: ==10123== Releasing lock...
[2025-04-12 02:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 02:11:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 02:11:04] Production.ERROR: done
[2025-04-12 02:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 02:11:04] Production.ERROR: done
[2025-04-12 02:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 23:11:05
[end_date_ymd] => 2025-04-12 02:11:05
[RateCDR] => 1
)
[2025-04-12 02:11:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 23:11:05' and `end` < '2025-04-12 02:11:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 02:11:12] Production.ERROR: CronJobId end10
[2025-04-12 02:11:12] Production.INFO: ==10121== Releasing lock...
[2025-04-12 02:11:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 02:11:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 02:11:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 02:11:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 02:11:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 02:11:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 02:11:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 02:11:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 02:11:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 02:11:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 02:11:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 02:11:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 02:11:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 02:11:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 02:11:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 02:11:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 02:11:14] Production.INFO: call_cost start
[2025-04-12 02:11:14] Production.INFO: call_cost end
[2025-04-12 02:11:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 02:11:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 02:11:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 02:11:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 02:11:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 02:11:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 02:11:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 02:11:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 02:11:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 02:11:15] Production.INFO: ==10117== Releasing lock...
[2025-04-12 02:11:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 02:11:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 02:11:18] Production.INFO: count ==584
[2025-04-12 02:11:18] Production.ERROR: pbx CDR StartTime 2025-04-11 23:11:05 - End Time 2025-04-12 02:11:05
[2025-04-12 02:11:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 02:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888412', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888412', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888412', 'tblTempVendorCDR_20' ) start
[2025-04-12 02:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888412', 'tblTempVendorCDR_20' ) end
[2025-04-12 02:11:18] Production.INFO: ProcessCDR(1,14888412,1,1,2)
[2025-04-12 02:11:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888412,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:11:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888412,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:11:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888412,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:11:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888412,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888412', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888412', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:11:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 02:11:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 02:11:21] Production.INFO: ==10125== Releasing lock...
[2025-04-12 02:11:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 02:11:21] Production.INFO: 33 MB #Memory Used#
[2025-04-12 07:12:02] Production.INFO: ==10188== Lock acquired, processing the job...
[2025-04-12 07:12:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 07:12:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 07:12:02] Production.INFO: neon service started
[2025-04-12 07:12:02] Production.INFO: neon service started
[2025-04-12 07:12:02] Production.INFO: ==10188== Releasing lock...
[2025-04-12 07:12:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 07:12:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 02:12:02] Production.INFO: ==10190== Lock acquired, processing the job...
[2025-04-12 02:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 02:12:02] Production.INFO: ==10190== Releasing lock...
[2025-04-12 02:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 02:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 06:12:03] Production.INFO: ==10192== Lock acquired, processing the job...
[2025-04-12 06:12:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 06:12:03] Production.INFO: ==10192== Releasing lock...
[2025-04-12 06:12:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 06:12:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 02:12:03] Production.INFO: ==10196== Lock acquired, processing the job...
[2025-04-12 02:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 02:12:03] Production.INFO: ==10198== Lock acquired, processing the job...
[2025-04-12 02:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 02:12:03] Production.INFO: ==10202== Lock acquired, processing the job...
[2025-04-12 02:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 02:12:03] Production.INFO: ==10194== Lock acquired, processing the job...
[2025-04-12 02:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 02:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 02:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 02:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 02:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 02:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 02:12:03] Production.INFO: ==10200== Lock acquired, processing the job...
[2025-04-12 02:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 02:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 02:12:03] Production.INFO: Account Balance Start.
[2025-04-12 02:12:03] Production.INFO: CreateAllLog Start
[2025-04-12 02:12:03] Production.INFO: 117
[2025-04-12 02:12:04] Production.INFO: Date 2025-04-08
[2025-04-12 02:12:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:12:04] Production.INFO: ==10196== Releasing lock...
[2025-04-12 02:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 02:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 02:12:04] Production.INFO: ==10204== Lock acquired, processing the job...
[2025-04-12 02:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 02:12:04] Production.INFO: Date 2025-04-09
[2025-04-12 02:12:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:12:04] Production.INFO: Date 2025-04-10
[2025-04-12 02:12:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:12:04] Production.INFO: Date 2025-04-11
[2025-04-12 02:12:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:12:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 02:12:04] Production.INFO: count ==12
[2025-04-12 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-12 02:12:04] Production.INFO: count ==23
[2025-04-12 02:12:04] Production.ERROR: done
[2025-04-12 02:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888416') start
[2025-04-12 02:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 02:12:04] Production.INFO: Date 2025-04-12
[2025-04-12 02:12:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:12:04] Production.INFO: Total Charge 0
[2025-04-12 02:12:04] Production.INFO: CreateAllLog End
[2025-04-12 02:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888416') end
[2025-04-12 02:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 02:12:04] Production.INFO: 1
[2025-04-12 02:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 02:12:04] Production.INFO: ==10204== Releasing lock...
[2025-04-12 02:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 02:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 02:12:04] Production.ERROR: done
[2025-04-12 02:12:04] Production.INFO: Account Balance End.
[2025-04-12 02:12:04] Production.ERROR: CronJobId end 12
[2025-04-12 02:12:04] Production.INFO: ==10200== Releasing lock...
[2025-04-12 02:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 02:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 02:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 23:12:05
[end_date_ymd] => 2025-04-12 02:12:05
[RateCDR] => 1
)
[2025-04-12 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-11 23:12:05' and `end` < '2025-04-12 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-12 02:12:11] Production.ERROR: CronJobId end10
[2025-04-12 02:12:11] Production.INFO: ==10198== Releasing lock...
[2025-04-12 02:12:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 02:12:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 02:12:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 02:12:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 02:12:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 02:12:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 02:12:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 02:12:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 02:12:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 02:12:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 02:12:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 02:12:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 02:12:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 02:12:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 02:12:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 02:12:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 02:12:15] Production.INFO: call_cost start
[2025-04-12 02:12:15] Production.INFO: call_cost end
[2025-04-12 02:12:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 02:12:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 02:12:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 02:12:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 02:12:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 02:12:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 02:12:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 02:12:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 02:12:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 02:12:16] Production.INFO: ==10194== Releasing lock...
[2025-04-12 02:12:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 02:12:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 02:12:18] Production.INFO: count ==525
[2025-04-12 02:12:18] Production.ERROR: pbx CDR StartTime 2025-04-11 23:12:05 - End Time 2025-04-12 02:12:05
[2025-04-12 02:12:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 02:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888417', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888417', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888417', 'tblTempVendorCDR_20' ) start
[2025-04-12 02:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888417', 'tblTempVendorCDR_20' ) end
[2025-04-12 02:12:18] Production.INFO: ProcessCDR(1,14888417,1,1,2)
[2025-04-12 02:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888417,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:12:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888417,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:12:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888417,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:12:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888417,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888417', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888417', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:12:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 02:12:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 02:12:22] Production.INFO: ==10202== Releasing lock...
[2025-04-12 02:12:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 02:12:22] Production.INFO: 32.75 MB #Memory Used#
[2025-04-12 07:13:01] Production.INFO: ==10259== Lock acquired, processing the job...
[2025-04-12 07:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 07:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 07:13:01] Production.INFO: neon service started
[2025-04-12 07:13:01] Production.INFO: neon service started
[2025-04-12 07:13:01] Production.INFO: ==10259== Releasing lock...
[2025-04-12 07:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 07:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 02:13:02] Production.INFO: ==10262== Lock acquired, processing the job...
[2025-04-12 02:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 02:13:02] Production.INFO: ==10262== Releasing lock...
[2025-04-12 02:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 02:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 06:13:02] Production.INFO: ==10264== Lock acquired, processing the job...
[2025-04-12 06:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 06:13:02] Production.INFO: ==10264== Releasing lock...
[2025-04-12 06:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 06:13:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 02:13:03] Production.INFO: ==10266== Lock acquired, processing the job...
[2025-04-12 02:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 02:13:03] Production.INFO: ==10268== Lock acquired, processing the job...
[2025-04-12 02:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 02:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 02:13:03] Production.INFO: ==10276== Lock acquired, processing the job...
[2025-04-12 02:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 02:13:03] Production.INFO: ==10270== Lock acquired, processing the job...
[2025-04-12 02:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 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-12 02:13:03] Production.INFO: ==10268== Releasing lock...
[2025-04-12 02:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 02:13:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 02:13:03] Production.INFO: ==10272== Lock acquired, processing the job...
[2025-04-12 02:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 02:13:03] Production.INFO: count ==12
[2025-04-12 02:13:03] Production.INFO: ==10274== Lock acquired, processing the job...
[2025-04-12 02:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 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-12 02:13:03] Production.INFO: count ==23
[2025-04-12 02:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14888420') start
[2025-04-12 02:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 02:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 02:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 02:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 02:13:03] Production.INFO: Account Balance Start.
[2025-04-12 02:13:03] Production.INFO: CreateAllLog Start
[2025-04-12 02:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 02:13:03] Production.INFO: 117
[2025-04-12 02:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888420') end
[2025-04-12 02:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 02:13:04] Production.INFO: 1
[2025-04-12 02:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 02:13:04] Production.INFO: Date 2025-04-08
[2025-04-12 02:13:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:13:04] Production.INFO: ==10276== Releasing lock...
[2025-04-12 02:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 02:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 02:13:04] Production.INFO: Date 2025-04-09
[2025-04-12 02:13:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:13:04] Production.INFO: Date 2025-04-10
[2025-04-12 02:13:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:13:04] Production.INFO: Date 2025-04-11
[2025-04-12 02:13:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:13:04] Production.INFO: Date 2025-04-12
[2025-04-12 02:13:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:13:04] Production.ERROR: done
[2025-04-12 02:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 02:13:04] Production.INFO: Total Charge 0
[2025-04-12 02:13:04] Production.INFO: CreateAllLog End
[2025-04-12 02:13:04] Production.ERROR: done
[2025-04-12 02:13:04] Production.INFO: Account Balance End.
[2025-04-12 02:13:04] Production.ERROR: CronJobId end 12
[2025-04-12 02:13:04] Production.INFO: ==10272== Releasing lock...
[2025-04-12 02:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 02:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 02:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 23:13:05
[end_date_ymd] => 2025-04-12 02:13:05
[RateCDR] => 1
)
[2025-04-12 02:13:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 23:13:05' and `end` < '2025-04-12 02:13:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 02:13:12] Production.ERROR: CronJobId end10
[2025-04-12 02:13:12] Production.INFO: ==10270== Releasing lock...
[2025-04-12 02:13:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 02:13:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 02:13:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 02:13:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 02:13:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 02:13:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 02:13:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 02:13:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 02:13:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 02:13:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 02:13:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 02:13:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 02:13:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 02:13:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 02:13:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 02:13:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 02:13:14] Production.INFO: call_cost start
[2025-04-12 02:13:14] Production.INFO: call_cost end
[2025-04-12 02:13:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 02:13:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 02:13:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 02:13:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 02:13:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 02:13:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 02:13:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 02:13:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 02:13:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 02:13:15] Production.INFO: ==10266== Releasing lock...
[2025-04-12 02:13:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 02:13:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 02:13:18] Production.INFO: count ==458
[2025-04-12 02:13:18] Production.ERROR: pbx CDR StartTime 2025-04-11 23:13:05 - End Time 2025-04-12 02:13:05
[2025-04-12 02:13:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 02:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888422', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888422', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888422', 'tblTempVendorCDR_20' ) start
[2025-04-12 02:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888422', 'tblTempVendorCDR_20' ) end
[2025-04-12 02:13:18] Production.INFO: ProcessCDR(1,14888422,1,1,2)
[2025-04-12 02:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888422,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:13:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888422,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:13:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888422,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:13:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888422,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888422', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888422', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:13:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 02:13:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 02:13:22] Production.INFO: ==10274== Releasing lock...
[2025-04-12 02:13:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 02:13:22] Production.INFO: 31.5 MB #Memory Used#
[2025-04-12 07:14:02] Production.INFO: ==10330== Lock acquired, processing the job...
[2025-04-12 07:14:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 07:14:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 07:14:02] Production.INFO: neon service started
[2025-04-12 07:14:02] Production.INFO: neon service started
[2025-04-12 07:14:02] Production.INFO: ==10330== Releasing lock...
[2025-04-12 07:14:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 07:14:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 02:14:02] Production.INFO: ==10332== Lock acquired, processing the job...
[2025-04-12 02:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 06:14:02] Production.INFO: ==10334== Lock acquired, processing the job...
[2025-04-12 06:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 06:14:02] Production.INFO: ==10334== Releasing lock...
[2025-04-12 06:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 06:14:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 02:14:03] Production.INFO: ==10332== Releasing lock...
[2025-04-12 02:14:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 02:14:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 02:14:03] Production.INFO: ==10340== Lock acquired, processing the job...
[2025-04-12 02:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 02:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 02:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 02:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 02:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 02:14:03] Production.INFO: ==10347== Lock acquired, processing the job...
[2025-04-12 02:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 02:14:03] Production.INFO: ==10336== Lock acquired, processing the job...
[2025-04-12 02:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 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-12 02:14:04] Production.INFO: ==10338== Lock acquired, processing the job...
[2025-04-12 02:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 02:14:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 02:14:04] Production.INFO: count ==12
[2025-04-12 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-12 02:14:04] Production.INFO: count ==23
[2025-04-12 02:14:04] Production.INFO: ==10342== Lock acquired, processing the job...
[2025-04-12 02:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 02:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888423') start
[2025-04-12 02:14:04] Production.INFO: ==10344== Lock acquired, processing the job...
[2025-04-12 02:14:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 02:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888423') end
[2025-04-12 02:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 02:14:04] Production.INFO: 1
[2025-04-12 02:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 02:14:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 02:14:04] Production.INFO: ==10347== Releasing lock...
[2025-04-12 02:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 02:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 02:14:04] Production.INFO: Account Balance Start.
[2025-04-12 02:14:04] Production.INFO: CreateAllLog Start
[2025-04-12 02:14:04] Production.INFO: 117
[2025-04-12 02:14:04] Production.INFO: Date 2025-04-08
[2025-04-12 02:14:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:14:04] Production.INFO: Date 2025-04-09
[2025-04-12 02:14:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:14:04] Production.INFO: Date 2025-04-10
[2025-04-12 02:14:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:14:04] Production.INFO: Date 2025-04-11
[2025-04-12 02:14:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:14:04] Production.INFO: ==10338== Releasing lock...
[2025-04-12 02:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 02:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 02:14:04] Production.INFO: Date 2025-04-12
[2025-04-12 02:14:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:14:04] Production.INFO: Total Charge 0
[2025-04-12 02:14:04] Production.INFO: CreateAllLog End
[2025-04-12 02:14:04] Production.ERROR: done
[2025-04-12 02:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 02:14:05] Production.ERROR: done
[2025-04-12 02:14:05] Production.INFO: Account Balance End.
[2025-04-12 02:14:05] Production.ERROR: CronJobId end 12
[2025-04-12 02:14:05] Production.INFO: ==10342== Releasing lock...
[2025-04-12 02:14:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 02:14:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 02:14:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 23:14:06
[end_date_ymd] => 2025-04-12 02:14:06
[RateCDR] => 1
)
[2025-04-12 02: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-11 23:14:06' and `end` < '2025-04-12 02: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-12 02:14:11] Production.ERROR: CronJobId end10
[2025-04-12 02:14:11] Production.INFO: ==10340== Releasing lock...
[2025-04-12 02:14:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 02:14:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 02:14:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 02:14:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 02:14:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 02:14:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 02:14:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 02:14:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 02:14:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 02:14:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 02:14:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 02:14:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 02:14:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 02:14:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 02:14:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 02:14:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 02:14:14] Production.INFO: call_cost start
[2025-04-12 02:14:14] Production.INFO: call_cost end
[2025-04-12 02:14:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 02:14:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 02:14:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 02:14:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 02:14:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 02:14:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 02:14:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 02:14:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 02:14:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 02:14:15] Production.INFO: ==10336== Releasing lock...
[2025-04-12 02:14:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 02:14:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 02:14:18] Production.INFO: count ==392
[2025-04-12 02:14:19] Production.ERROR: pbx CDR StartTime 2025-04-11 23:14:06 - End Time 2025-04-12 02:14:06
[2025-04-12 02:14:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 02:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888427', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888427', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888427', 'tblTempVendorCDR_20' ) start
[2025-04-12 02:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888427', 'tblTempVendorCDR_20' ) end
[2025-04-12 02:14:19] Production.INFO: ProcessCDR(1,14888427,1,1,2)
[2025-04-12 02:14:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888427,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:14:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888427,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:14:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888427,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:14:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888427,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888427', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888427', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:14:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 02:14:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 02:14:22] Production.INFO: ==10344== Releasing lock...
[2025-04-12 02:14:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 02:14:22] Production.INFO: 30.75 MB #Memory Used#
[2025-04-12 07:15:01] Production.INFO: ==10400== Lock acquired, processing the job...
[2025-04-12 07:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 07:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 07:15:01] Production.INFO: neon service started
[2025-04-12 07:15:01] Production.INFO: neon service started
[2025-04-12 07:15:01] Production.INFO: ==10400== Releasing lock...
[2025-04-12 07:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 07:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 02:15:02] Production.INFO: ==10402== Lock acquired, processing the job...
[2025-04-12 02:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 02:15:02] Production.INFO: ==10402== Releasing lock...
[2025-04-12 02:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 02:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 06:15:02] Production.INFO: ==10404== Lock acquired, processing the job...
[2025-04-12 06:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 06:15:02] Production.INFO: ==10404== Releasing lock...
[2025-04-12 06:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 06:15:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 02:15:03] Production.INFO: ==10407== Lock acquired, processing the job...
[2025-04-12 02:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 02:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 02:15:03] Production.INFO: ==10409== Lock acquired, processing the job...
[2025-04-12 02:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 02:15:03] Production.INFO: ==10411== Lock acquired, processing the job...
[2025-04-12 02:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 02:15:03] Production.INFO: ==10417== Lock acquired, processing the job...
[2025-04-12 02:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 02:15:03] Production.INFO: ==10413== Lock acquired, processing the job...
[2025-04-12 02:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 02:15:03] Production.INFO: ==10415== Lock acquired, processing the job...
[2025-04-12 02:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 02:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 02:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 02:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 02:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 02:15:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 02:15:03] Production.INFO: Account Balance Start.
[2025-04-12 02:15:03] Production.INFO: CreateAllLog Start
[2025-04-12 02:15:03] Production.INFO: 117
[2025-04-12 02:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 02:15:03] Production.INFO: count ==12
[2025-04-12 02:15:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 02:15:03] Production.INFO: count ==23
[2025-04-12 02:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14888429') start
[2025-04-12 02:15:03] Production.INFO: Date 2025-04-08
[2025-04-12 02:15:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:15:04] Production.INFO: Date 2025-04-09
[2025-04-12 02:15:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888429') end
[2025-04-12 02:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 02:15:04] Production.INFO: 1
[2025-04-12 02:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 02:15:04] Production.INFO: Date 2025-04-10
[2025-04-12 02:15:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:15:04] Production.INFO: Date 2025-04-11
[2025-04-12 02:15:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:15:04] Production.INFO: Date 2025-04-12
[2025-04-12 02:15:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:15:04] Production.INFO: ==10417== Releasing lock...
[2025-04-12 02:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 02:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 02:15:04] Production.INFO: Total Charge 0
[2025-04-12 02:15:04] Production.INFO: CreateAllLog End
[2025-04-12 02:15:04] Production.INFO: ==10409== Releasing lock...
[2025-04-12 02:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 02:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 02:15:04] Production.ERROR: done
[2025-04-12 02:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 02:15:04] Production.ERROR: done
[2025-04-12 02:15:04] Production.INFO: Account Balance End.
[2025-04-12 02:15:04] Production.ERROR: CronJobId end 12
[2025-04-12 02:15:04] Production.INFO: ==10413== Releasing lock...
[2025-04-12 02:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 02:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 02:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 23:15:05
[end_date_ymd] => 2025-04-12 02:15:05
[RateCDR] => 1
)
[2025-04-12 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-11 23:15:05' and `end` < '2025-04-12 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-12 02:15:12] Production.ERROR: CronJobId end10
[2025-04-12 02:15:12] Production.INFO: ==10411== Releasing lock...
[2025-04-12 02:15:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 02:15:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 02:15:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 02:15:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 02:15:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 02:15:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 02:15:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 02:15:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 02:15:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 02:15:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 02:15:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 02:15:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 02:15:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 02:15:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 02:15:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 02:15:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 02:15:14] Production.INFO: call_cost start
[2025-04-12 02:15:14] Production.INFO: call_cost end
[2025-04-12 02:15:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 02:15:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 02:15:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 02:15:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 02:15:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 02:15:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 02:15:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 02:15:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 02:15:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 02:15:15] Production.INFO: ==10407== Releasing lock...
[2025-04-12 02:15:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 02:15:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 02:15:18] Production.INFO: count ==355
[2025-04-12 02:15:18] Production.ERROR: pbx CDR StartTime 2025-04-11 23:15:05 - End Time 2025-04-12 02:15:05
[2025-04-12 02:15:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 02:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888432', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888432', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888432', 'tblTempVendorCDR_20' ) start
[2025-04-12 02:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888432', 'tblTempVendorCDR_20' ) end
[2025-04-12 02:15:18] Production.INFO: ProcessCDR(1,14888432,1,1,2)
[2025-04-12 02:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888432,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:15:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888432,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:15:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888432,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:15:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888432,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:15:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888432', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:15:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888432', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:15:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 02:15:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 02:15:23] Production.INFO: ==10415== Releasing lock...
[2025-04-12 02:15:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 02:15:23] Production.INFO: 30.25 MB #Memory Used#
[2025-04-12 07:16:02] Production.INFO: ==10471== Lock acquired, processing the job...
[2025-04-12 07:16:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 07:16:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 07:16:02] Production.INFO: neon service started
[2025-04-12 07:16:02] Production.INFO: neon service started
[2025-04-12 07:16:02] Production.INFO: ==10471== Releasing lock...
[2025-04-12 07:16:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 07:16:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 02:16:02] Production.INFO: ==10473== Lock acquired, processing the job...
[2025-04-12 02:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 06:16:02] Production.INFO: ==10475== Lock acquired, processing the job...
[2025-04-12 06:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 06:16:02] Production.INFO: ==10475== Releasing lock...
[2025-04-12 06:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 06:16:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 02:16:02] Production.INFO: ==10473== Releasing lock...
[2025-04-12 02:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 02:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 02:16:03] Production.INFO: ==10479== Lock acquired, processing the job...
[2025-04-12 02:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 02:16:03] Production.INFO: ==10481== Lock acquired, processing the job...
[2025-04-12 02:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 02:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 02:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 02:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 02:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 02:16:03] Production.INFO: ==10485== Lock acquired, processing the job...
[2025-04-12 02:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 02:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 02:16:03] Production.INFO: ==10477== Lock acquired, processing the job...
[2025-04-12 02:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 02:16:04] Production.INFO: ==10483== Lock acquired, processing the job...
[2025-04-12 02:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 02:16:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 02:16:04] Production.INFO: ==10479== Releasing lock...
[2025-04-12 02:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 02:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 02:16:04] Production.INFO: ==10487== Lock acquired, processing the job...
[2025-04-12 02:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 02:16:04] Production.INFO: Account Balance Start.
[2025-04-12 02:16:04] Production.INFO: CreateAllLog Start
[2025-04-12 02:16:04] Production.INFO: 117
[2025-04-12 02:16:04] Production.INFO: Date 2025-04-08
[2025-04-12 02:16:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:16:04] Production.INFO: Date 2025-04-09
[2025-04-12 02:16:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:16:04] Production.ERROR: done
[2025-04-12 02:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 02:16:04] Production.INFO: Date 2025-04-10
[2025-04-12 02:16:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:16:04] Production.INFO: Date 2025-04-11
[2025-04-12 02:16:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:16:04] Production.INFO: Date 2025-04-12
[2025-04-12 02:16:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:16:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 02:16:04] Production.INFO: Total Charge 0
[2025-04-12 02:16:04] Production.INFO: count ==12
[2025-04-12 02:16:04] Production.INFO: CreateAllLog End
[2025-04-12 02:16:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 02:16:04] Production.INFO: count ==23
[2025-04-12 02:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888436') start
[2025-04-12 02:16:04] Production.ERROR: done
[2025-04-12 02:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888436') end
[2025-04-12 02:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 02:16:04] Production.INFO: 1
[2025-04-12 02:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 02:16:04] Production.INFO: ==10487== Releasing lock...
[2025-04-12 02:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 02:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 02:16:04] Production.INFO: Account Balance End.
[2025-04-12 02:16:04] Production.ERROR: CronJobId end 12
[2025-04-12 02:16:04] Production.INFO: ==10483== Releasing lock...
[2025-04-12 02:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 02:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 02:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 23:16:05
[end_date_ymd] => 2025-04-12 02:16:05
[RateCDR] => 1
)
[2025-04-12 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-11 23:16:05' and `end` < '2025-04-12 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-12 02:16:12] Production.ERROR: CronJobId end10
[2025-04-12 02:16:12] Production.INFO: ==10481== Releasing lock...
[2025-04-12 02:16:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 02:16:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 02:16:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 02:16:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 02:16:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 02:16:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 02:16:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 02:16:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 02:16:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 02:16:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 02:16:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 02:16:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 02:16:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 02:16:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 02:16:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 02:16:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 02:16:16] Production.INFO: call_cost start
[2025-04-12 02:16:16] Production.INFO: call_cost end
[2025-04-12 02:16:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 02:16:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 02:16:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 02:16:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 02:16:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 02:16:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 02:16:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 02:16:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 02:16:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 02:16:17] Production.INFO: ==10477== Releasing lock...
[2025-04-12 02:16:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 02:16:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 02:16:18] Production.INFO: count ==311
[2025-04-12 02:16:18] Production.ERROR: pbx CDR StartTime 2025-04-11 23:16:05 - End Time 2025-04-12 02:16:05
[2025-04-12 02:16:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 02:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888437', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888437', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888437', 'tblTempVendorCDR_20' ) start
[2025-04-12 02:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888437', 'tblTempVendorCDR_20' ) end
[2025-04-12 02:16:18] Production.INFO: ProcessCDR(1,14888437,1,1,2)
[2025-04-12 02:16:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888437,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:16:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888437,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:16:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888437,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:16:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888437,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888437', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888437', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:16:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 02:16:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 02:16:21] Production.INFO: ==10485== Releasing lock...
[2025-04-12 02:16:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 02:16:21] Production.INFO: 29.75 MB #Memory Used#
[2025-04-12 07:17:01] Production.INFO: ==10546== Lock acquired, processing the job...
[2025-04-12 07:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 07:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 07:17:01] Production.INFO: neon service started
[2025-04-12 07:17:01] Production.INFO: neon service started
[2025-04-12 07:17:01] Production.INFO: ==10546== Releasing lock...
[2025-04-12 07:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 07:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 06:17:02] Production.INFO: ==10550== Lock acquired, processing the job...
[2025-04-12 06:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 06:17:02] Production.INFO: ==10550== Releasing lock...
[2025-04-12 06:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 06:17:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 02:17:02] Production.INFO: ==10548== Lock acquired, processing the job...
[2025-04-12 02:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 02:17:02] Production.INFO: ==10548== Releasing lock...
[2025-04-12 02:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 02:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 02:17:03] Production.INFO: ==10553== Lock acquired, processing the job...
[2025-04-12 02:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 02:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 02:17:03] Production.INFO: ==10555== Lock acquired, processing the job...
[2025-04-12 02:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 02:17:03] Production.INFO: ==10559== Lock acquired, processing the job...
[2025-04-12 02:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 02:17:03] Production.INFO: ==10557== Lock acquired, processing the job...
[2025-04-12 02:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 02:17:03] Production.INFO: Account Balance Start.
[2025-04-12 02:17:03] Production.INFO: CreateAllLog Start
[2025-04-12 02:17:03] Production.INFO: 117
[2025-04-12 02:17:03] Production.INFO: Date 2025-04-08
[2025-04-12 02:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 02:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 02:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 02:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 02:17:03] Production.INFO: Reseller ==> 0
[2025-04-12 02:17:03] Production.INFO: Date 2025-04-09
[2025-04-12 02:17:03] Production.INFO: Reseller ==> 0
[2025-04-12 02:17:03] Production.INFO: ==10563== Lock acquired, processing the job...
[2025-04-12 02:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 02:17:03] Production.INFO: ==10561== Lock acquired, processing the job...
[2025-04-12 02:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 02:17:03] Production.INFO: Date 2025-04-10
[2025-04-12 02:17:03] Production.INFO: Reseller ==> 0
[2025-04-12 02:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 02:17:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 02:17:03] Production.INFO: Date 2025-04-11
[2025-04-12 02:17:03] Production.INFO: Reseller ==> 0
[2025-04-12 02:17:03] Production.INFO: count ==12
[2025-04-12 02:17:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 02:17:03] Production.INFO: count ==23
[2025-04-12 02:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14888441') start
[2025-04-12 02:17:03] Production.INFO: ==10555== Releasing lock...
[2025-04-12 02:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 02:17:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 02:17:03] Production.INFO: Date 2025-04-12
[2025-04-12 02:17:03] Production.INFO: Reseller ==> 0
[2025-04-12 02:17:04] Production.INFO: Total Charge 0
[2025-04-12 02:17:04] Production.INFO: CreateAllLog End
[2025-04-12 02:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888441') end
[2025-04-12 02:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 02:17:04] Production.INFO: 1
[2025-04-12 02:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 02:17:04] Production.INFO: ==10563== Releasing lock...
[2025-04-12 02:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 02:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 02:17:04] Production.ERROR: done
[2025-04-12 02:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 02:17:04] Production.INFO: Account Balance End.
[2025-04-12 02:17:04] Production.ERROR: done
[2025-04-12 02:17:04] Production.ERROR: CronJobId end 12
[2025-04-12 02:17:04] Production.INFO: ==10559== Releasing lock...
[2025-04-12 02:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 02:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 02:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 23:17:05
[end_date_ymd] => 2025-04-12 02:17:05
[RateCDR] => 1
)
[2025-04-12 02:17:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 23:17:05' and `end` < '2025-04-12 02:17:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 02:17:13] Production.ERROR: CronJobId end10
[2025-04-12 02:17:13] Production.INFO: ==10557== Releasing lock...
[2025-04-12 02:17:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 02:17:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 02:17:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 02:17:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 02:17:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 02:17:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 02:17:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 02:17:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 02:17:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 02:17:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 02:17:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 02:17:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 02:17:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 02:17:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 02:17:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 02:17:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 02:17:15] Production.INFO: call_cost start
[2025-04-12 02:17:15] Production.INFO: call_cost end
[2025-04-12 02:17:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 02:17:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 02:17:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 02:17:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 02:17:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 02:17:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 02:17:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 02:17:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 02:17:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 02:17:16] Production.INFO: ==10553== Releasing lock...
[2025-04-12 02:17:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 02:17:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 02:17:18] Production.INFO: count ==312
[2025-04-12 02:17:18] Production.ERROR: pbx CDR StartTime 2025-04-11 23:17:05 - End Time 2025-04-12 02:17:05
[2025-04-12 02:17:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 02:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888442', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888442', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888442', 'tblTempVendorCDR_20' ) start
[2025-04-12 02:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888442', 'tblTempVendorCDR_20' ) end
[2025-04-12 02:17:18] Production.INFO: ProcessCDR(1,14888442,1,1,2)
[2025-04-12 02:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888442,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:17:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888442,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:17:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888442,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:17:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888442,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:17:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888442', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:17:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888442', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:17:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 02:17:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 02:17:23] Production.INFO: ==10561== Releasing lock...
[2025-04-12 02:17:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 02:17:23] Production.INFO: 29.75 MB #Memory Used#
[2025-04-12 07:18:02] Production.INFO: ==10621== Lock acquired, processing the job...
[2025-04-12 07:18:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 07:18:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 07:18:02] Production.INFO: neon service started
[2025-04-12 07:18:02] Production.INFO: neon service started
[2025-04-12 07:18:02] Production.INFO: ==10621== Releasing lock...
[2025-04-12 07:18:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 07:18:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 02:18:02] Production.INFO: ==10623== Lock acquired, processing the job...
[2025-04-12 02:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 02:18:02] Production.INFO: ==10623== Releasing lock...
[2025-04-12 02:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 02:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 06:18:03] Production.INFO: ==10625== Lock acquired, processing the job...
[2025-04-12 06:18:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 06:18:03] Production.INFO: ==10625== Releasing lock...
[2025-04-12 06:18:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 06:18:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 02:18:03] Production.INFO: ==10628== Lock acquired, processing the job...
[2025-04-12 02:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 02:18:03] Production.INFO: ==10630== Lock acquired, processing the job...
[2025-04-12 02:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 02:18:03] Production.INFO: ==10634== Lock acquired, processing the job...
[2025-04-12 02:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 02:18:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 02:18:04] Production.INFO: Account Balance Start.
[2025-04-12 02:18:04] Production.INFO: CreateAllLog Start
[2025-04-12 02:18:04] Production.INFO: 117
[2025-04-12 02:18:04] Production.INFO: Date 2025-04-08
[2025-04-12 02:18:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:18:04] Production.INFO: Date 2025-04-09
[2025-04-12 02:18:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:18:04] Production.INFO: Date 2025-04-10
[2025-04-12 02:18:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:18:04] Production.INFO: ==10636== Lock acquired, processing the job...
[2025-04-12 02:18:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 02:18:04] Production.INFO: ==10632== Lock acquired, processing the job...
[2025-04-12 02:18:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 02:18:04] Production.INFO: Date 2025-04-11
[2025-04-12 02:18:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:18:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 02:18:04] Production.INFO: Date 2025-04-12
[2025-04-12 02:18:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:18:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 02:18:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 02:18:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 02:18:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 02:18:04] Production.INFO: Total Charge 0
[2025-04-12 02:18:04] Production.INFO: ==10638== Lock acquired, processing the job...
[2025-04-12 02:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 02:18:04] Production.INFO: CreateAllLog End
[2025-04-12 02:18:04] Production.INFO: ==10630== Releasing lock...
[2025-04-12 02:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 02:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 02:18:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 02:18:04] Production.INFO: count ==12
[2025-04-12 02:18:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 02:18:04] Production.INFO: count ==23
[2025-04-12 02:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888446') start
[2025-04-12 02:18:04] Production.ERROR: done
[2025-04-12 02:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 02:18:04] Production.INFO: Account Balance End.
[2025-04-12 02:18:04] Production.ERROR: CronJobId end 12
[2025-04-12 02:18:04] Production.INFO: ==10634== Releasing lock...
[2025-04-12 02:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 02:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 02:18:05] Production.ERROR: done
[2025-04-12 02:18:05] Production.ERROR: PBX CALL prc_importPBXExtension('14888446') end
[2025-04-12 02:18:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 02:18:05] Production.INFO: 1
[2025-04-12 02:18:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 02:18:05] Production.INFO: ==10638== Releasing lock...
[2025-04-12 02:18:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 02:18:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 02:18:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 23:18:06
[end_date_ymd] => 2025-04-12 02:18:06
[RateCDR] => 1
)
[2025-04-12 02: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-11 23:18:06' and `end` < '2025-04-12 02: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-12 02:18:12] Production.ERROR: CronJobId end10
[2025-04-12 02:18:12] Production.INFO: ==10632== Releasing lock...
[2025-04-12 02:18:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 02:18:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 02:18:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 02:18:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 02:18:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 02:18:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 02:18:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 02:18:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 02:18:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 02:18:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 02:18:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 02:18:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 02:18:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 02:18:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 02:18:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 02:18:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 02:18:14] Production.INFO: call_cost start
[2025-04-12 02:18:14] Production.INFO: call_cost end
[2025-04-12 02:18:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 02:18:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 02:18:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 02:18:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 02:18:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 02:18:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 02:18:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 02:18:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 02:18:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 02:18:15] Production.INFO: ==10628== Releasing lock...
[2025-04-12 02:18:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 02:18:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 02:18:18] Production.INFO: count ==312
[2025-04-12 02:18:18] Production.ERROR: pbx CDR StartTime 2025-04-11 23:18:06 - End Time 2025-04-12 02:18:06
[2025-04-12 02:18:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 02:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888447', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888447', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888447', 'tblTempVendorCDR_20' ) start
[2025-04-12 02:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888447', 'tblTempVendorCDR_20' ) end
[2025-04-12 02:18:18] Production.INFO: ProcessCDR(1,14888447,1,1,2)
[2025-04-12 02:18:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888447,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:18:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888447,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:18:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888447,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:18:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888447,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888447', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888447', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:18:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 02:18:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 02:18:22] Production.INFO: ==10636== Releasing lock...
[2025-04-12 02:18:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 02:18:22] Production.INFO: 29.75 MB #Memory Used#
[2025-04-12 07:19:01] Production.INFO: ==10693== Lock acquired, processing the job...
[2025-04-12 07:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 07:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 07:19:01] Production.INFO: neon service started
[2025-04-12 07:19:01] Production.INFO: neon service started
[2025-04-12 07:19:01] Production.INFO: ==10693== Releasing lock...
[2025-04-12 07:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 07:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 02:19:02] Production.INFO: ==10695== Lock acquired, processing the job...
[2025-04-12 02:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 06:19:02] Production.INFO: ==10697== Lock acquired, processing the job...
[2025-04-12 06:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 06:19:02] Production.INFO: ==10697== Releasing lock...
[2025-04-12 06:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 06:19:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 02:19:02] Production.INFO: ==10695== Releasing lock...
[2025-04-12 02:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 02:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 02:19:03] Production.INFO: ==10700== Lock acquired, processing the job...
[2025-04-12 02:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 02:19:03] Production.INFO: ==10702== Lock acquired, processing the job...
[2025-04-12 02:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 02:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 02:19:03] Production.INFO: ==10708== Lock acquired, processing the job...
[2025-04-12 02:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 02:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 02:19:03] Production.INFO: ==10702== Releasing lock...
[2025-04-12 02:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 02:19:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 02:19:03] Production.INFO: ==10704== Lock acquired, processing the job...
[2025-04-12 02:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 02:19:03] Production.INFO: ==10706== Lock acquired, processing the job...
[2025-04-12 02:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 02:19:03] Production.INFO: ==10710== Lock acquired, processing the job...
[2025-04-12 02:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 02:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 02:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 02:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 02:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 02:19:03] Production.ERROR: done
[2025-04-12 02:19:03] Production.INFO: Account Balance Start.
[2025-04-12 02:19:03] Production.INFO: CreateAllLog Start
[2025-04-12 02:19:03] Production.INFO: 117
[2025-04-12 02:19:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 02:19:03] Production.INFO: Date 2025-04-08
[2025-04-12 02:19:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 02:19:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:19:04] Production.INFO: count ==12
[2025-04-12 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-12 02:19:04] Production.INFO: count ==23
[2025-04-12 02:19:04] Production.INFO: Date 2025-04-09
[2025-04-12 02:19:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:19:04] Production.INFO: Date 2025-04-10
[2025-04-12 02:19:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888451') start
[2025-04-12 02:19:04] Production.INFO: Date 2025-04-11
[2025-04-12 02:19:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:19:04] Production.INFO: Date 2025-04-12
[2025-04-12 02:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888451') end
[2025-04-12 02:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 02:19:04] Production.INFO: 1
[2025-04-12 02:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 02:19:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:19:04] Production.ERROR: done
[2025-04-12 02:19:04] Production.INFO: ==10710== Releasing lock...
[2025-04-12 02:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 02:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 02:19:04] Production.INFO: Total Charge 0
[2025-04-12 02:19:04] Production.INFO: CreateAllLog End
[2025-04-12 02:19:04] Production.INFO: Account Balance End.
[2025-04-12 02:19:04] Production.ERROR: CronJobId end 12
[2025-04-12 02:19:04] Production.INFO: ==10706== Releasing lock...
[2025-04-12 02:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 02:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 02:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 23:19:05
[end_date_ymd] => 2025-04-12 02:19:05
[RateCDR] => 1
)
[2025-04-12 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-11 23:19:05' and `end` < '2025-04-12 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-12 02:19:12] Production.ERROR: CronJobId end10
[2025-04-12 02:19:12] Production.INFO: ==10704== Releasing lock...
[2025-04-12 02:19:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 02:19:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 02:19:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 02:19:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 02:19:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 02:19:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 02:19:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 02:19:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 02:19:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 02:19:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 02:19:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 02:19:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 02:19:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 02:19:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 02:19:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 02:19:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 02:19:14] Production.INFO: call_cost start
[2025-04-12 02:19:14] Production.INFO: call_cost end
[2025-04-12 02:19:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 02:19:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 02:19:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 02:19:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 02:19:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 02:19:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 02:19:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 02:19:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 02:19:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 02:19:15] Production.INFO: ==10700== Releasing lock...
[2025-04-12 02:19:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 02:19:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 02:19:18] Production.INFO: count ==313
[2025-04-12 02:19:18] Production.ERROR: pbx CDR StartTime 2025-04-11 23:19:05 - End Time 2025-04-12 02:19:05
[2025-04-12 02:19:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 02:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888452', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888452', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888452', 'tblTempVendorCDR_20' ) start
[2025-04-12 02:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888452', 'tblTempVendorCDR_20' ) end
[2025-04-12 02:19:18] Production.INFO: ProcessCDR(1,14888452,1,1,2)
[2025-04-12 02:19:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888452,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:19:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888452,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:19:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888452,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:19:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888452,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:19:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888452', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:19:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888452', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:19:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 02:19:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 02:19:23] Production.INFO: ==10708== Releasing lock...
[2025-04-12 02:19:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 02:19:23] Production.INFO: 29.75 MB #Memory Used#
[2025-04-12 07:20:02] Production.INFO: ==10765== Lock acquired, processing the job...
[2025-04-12 07:20:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 07:20:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 07:20:02] Production.INFO: neon service started
[2025-04-12 07:20:02] Production.INFO: neon service started
[2025-04-12 07:20:02] Production.INFO: ==10765== Releasing lock...
[2025-04-12 07:20:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 07:20:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 02:20:02] Production.INFO: ==10767== Lock acquired, processing the job...
[2025-04-12 02:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 06:20:02] Production.INFO: ==10769== Lock acquired, processing the job...
[2025-04-12 06:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 06:20:02] Production.INFO: ==10769== Releasing lock...
[2025-04-12 06:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 06:20:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 02:20:03] Production.INFO: ==10767== Releasing lock...
[2025-04-12 02:20:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 02:20:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 02:20:04] Production.INFO: ==10778== Lock acquired, processing the job...
[2025-04-12 02:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 02:20:04] Production.INFO: ==10786== Lock acquired, processing the job...
[2025-04-12 02:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 02:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 02:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 02:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 02:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 02:20:04] Production.INFO: ==10784== Lock acquired, processing the job...
[2025-04-12 02:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 02:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 02:20:04] Production.INFO: ==10772== Lock acquired, processing the job...
[2025-04-12 02:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 02:20:04] Production.INFO: ==10774== Lock acquired, processing the job...
[2025-04-12 02:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 02:20:04] Production.INFO: ==10780== Lock acquired, processing the job...
[2025-04-12 02:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 02:20:04] Production.INFO: ==10776== Lock acquired, processing the job...
[2025-04-12 02:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 02:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 02:20:04] Production.INFO: ==10782== Lock acquired, processing the job...
[2025-04-12 02:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 02:20:04] Production.INFO: count ==12
[2025-04-12 02:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 02:20:04] Production.INFO: count ==23
[2025-04-12 02:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 02:20:04] Production.INFO: Account Balance Start.
[2025-04-12 02:20:04] Production.INFO: CreateAllLog Start
[2025-04-12 02:20:04] Production.INFO: 117
[2025-04-12 02:20:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 02:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888453') start
[2025-04-12 02:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 02:20:04] Production.ERROR: CronJob PID - 10774
[2025-04-12 02:20:04] Production.ERROR: CronJob Title - System Alerts
[2025-04-12 02:20:04] Production.ERROR: CronJob ID - 5
[2025-04-12 02:20:04] Production.ERROR: CronJob Last Run Time 2025-04-12 02:20:00
[2025-04-12 02:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 02:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 02:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 02:20:04] Production.ERROR: CronJob PID - 10776
[2025-04-12 02:20:04] Production.ERROR: CronJob Title - Account Block
[2025-04-12 02:20:04] Production.ERROR: CronJob ID - 7
[2025-04-12 02:20:04] Production.ERROR: CronJob Last Run Time 2025-04-12 02:20:00
[2025-04-12 02:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 02:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 02:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 02:20:04] Production.ERROR: CronJob PID - 10778
[2025-04-12 02:20:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-04-12 02:20:04] Production.ERROR: CronJob ID - 10
[2025-04-12 02:20:04] Production.ERROR: CronJob Last Run Time 2025-04-12 02:20:00
[2025-04-12 02:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 02:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 02:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 02:20:04] Production.ERROR: CronJob PID - 10780
[2025-04-12 02:20:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-04-12 02:20:04] Production.ERROR: CronJob ID - 12
[2025-04-12 02:20:04] Production.ERROR: CronJob Last Run Time 2025-04-12 02:20:00
[2025-04-12 02:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 02:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 02:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 02:20:04] Production.ERROR: CronJob PID - 10782
[2025-04-12 02:20:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-04-12 02:20:04] Production.ERROR: CronJob ID - 16
[2025-04-12 02:20:04] Production.ERROR: CronJob Last Run Time 2025-04-12 02:20:00
[2025-04-12 02:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 02:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 02:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 02:20:04] Production.ERROR: CronJob PID - 10784
[2025-04-12 02:20:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-04-12 02:20:04] Production.ERROR: CronJob ID - 17
[2025-04-12 02:20:04] Production.ERROR: CronJob Last Run Time 2025-04-12 02:20:00
[2025-04-12 02:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 02:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 02:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 02:20:04] Production.ERROR: CronJob PID - 10786
[2025-04-12 02:20:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-04-12 02:20:04] Production.ERROR: CronJob ID - 19
[2025-04-12 02:20:04] Production.ERROR: CronJob Last Run Time 2025-04-12 02:20:00
[2025-04-12 02:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 02:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 02:20:04] Production.INFO: Date 2025-04-08
[2025-04-12 02:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 02:20:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:20:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 02:20:04] Production.INFO: ==10772== Releasing lock...
[2025-04-12 02:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 02:20:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 02:20:05] Production.INFO: Date 2025-04-09
[2025-04-12 02:20:05] Production.INFO: Reseller ==> 0
[2025-04-12 02:20:05] Production.ERROR: done
[2025-04-12 02:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14888453') end
[2025-04-12 02:20:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 02:20:05] Production.INFO: 1
[2025-04-12 02:20:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 02:20:05] Production.INFO: Date 2025-04-10
[2025-04-12 02:20:05] Production.INFO: Reseller ==> 0
[2025-04-12 02:20:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 02:20:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14888457', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 02:20:05] Production.INFO: Date 2025-04-11
[2025-04-12 02:20:05] Production.INFO: Reseller ==> 0
[2025-04-12 02:20:05] Production.INFO: Date 2025-04-12
[2025-04-12 02:20:05] Production.INFO: Reseller ==> 0
[2025-04-12 02:20:05] Production.INFO: Total Charge 0
[2025-04-12 02:20:05] Production.INFO: CreateAllLog End
[2025-04-12 02:20:05] Production.INFO: ==10786== Releasing lock...
[2025-04-12 02:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 02:20:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 02:20:05] Production.INFO: ==10776== Releasing lock...
[2025-04-12 02:20:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 02:20:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 02:20:05] Production.ERROR: done
[2025-04-12 02:20:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 02:20:05] Production.ERROR: done
[2025-04-12 02:20:05] Production.INFO: Account Balance End.
[2025-04-12 02:20:05] Production.ERROR: CronJobId end 12
[2025-04-12 02:20:05] Production.INFO: ==10780== Releasing lock...
[2025-04-12 02:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 02:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 02:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 23:20:06
[end_date_ymd] => 2025-04-12 02:20:06
[RateCDR] => 1
)
[2025-04-12 02:20:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 23:20:06' and `end` < '2025-04-12 02:20:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 02:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14888457', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 02:20:10] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 02:20:10] Production.INFO: ProcessCDR(1,14888457,1,1,2)
[2025-04-12 02:20:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14888457,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:20:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14888457,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:20:10] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 02:20:10] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 02:20:10] Production.INFO: ==10784== Releasing lock...
[2025-04-12 02:20:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 02:20:10] Production.INFO: 26 MB #Memory Used#
[2025-04-12 02:20:15] Production.ERROR: CronJobId end10
[2025-04-12 02:20:15] Production.INFO: ==10778== Releasing lock...
[2025-04-12 02:20:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 02:20:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 02:20:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 02:20:17] Production.INFO: ============== Balance Warning START===========
[2025-04-12 02:20:17] Production.INFO: ============== Balance Warning END===========
[2025-04-12 02:20:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 02:20:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 02:20:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 02:20:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 02:20:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 02:20:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 02:20:17] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 02:20:17] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 02:20:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 02:20:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 02:20:17] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 02:20:18] Production.INFO: call_cost start
[2025-04-12 02:20:18] Production.INFO: call_cost end
[2025-04-12 02:20:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 02:20:18] Production.INFO: ============== Report Schedule START===========
[2025-04-12 02:20:18] Production.INFO: ============== Report Schedule END===========
[2025-04-12 02:20:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 02:20:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 02:20:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 02:20:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 02:20:18] Production.INFO: ============== Deal alert START===========
[2025-04-12 02:20:19] Production.INFO: ============== Deal alert END===========
[2025-04-12 02:20:19] Production.INFO: ==10774== Releasing lock...
[2025-04-12 02:20:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 02:20:19] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 02:20:19] Production.INFO: count ==323
[2025-04-12 02:20:19] Production.ERROR: pbx CDR StartTime 2025-04-11 23:20:06 - End Time 2025-04-12 02:20:06
[2025-04-12 02:20:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 02:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888458', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888458', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888458', 'tblTempVendorCDR_20' ) start
[2025-04-12 02:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888458', 'tblTempVendorCDR_20' ) end
[2025-04-12 02:20:19] Production.INFO: ProcessCDR(1,14888458,1,1,2)
[2025-04-12 02:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888458,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:20:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888458,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:20:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888458,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:20:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888458,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888458', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888458', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:20:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 02:20:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 02:20:23] Production.INFO: ==10782== Releasing lock...
[2025-04-12 02:20:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 02:20:23] Production.INFO: 30 MB #Memory Used#
[2025-04-12 07:21:01] Production.INFO: ==10839== Lock acquired, processing the job...
[2025-04-12 07:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 07:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 07:21:01] Production.INFO: neon service started
[2025-04-12 07:21:01] Production.INFO: neon service started
[2025-04-12 07:21:01] Production.INFO: ==10839== Releasing lock...
[2025-04-12 07:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 07:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 02:21:02] Production.INFO: ==10841== Lock acquired, processing the job...
[2025-04-12 02:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 06:21:02] Production.INFO: ==10843== Lock acquired, processing the job...
[2025-04-12 06:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 06:21:02] Production.INFO: ==10843== Releasing lock...
[2025-04-12 06:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 06:21:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 02:21:02] Production.INFO: ==10841== Releasing lock...
[2025-04-12 02:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 02:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 02:21:03] Production.INFO: ==10845== Lock acquired, processing the job...
[2025-04-12 02:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 02:21:03] Production.INFO: ==10849== Lock acquired, processing the job...
[2025-04-12 02:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 02:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 02:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 02:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 02:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 02:21:03] Production.INFO: ==10854== Lock acquired, processing the job...
[2025-04-12 02:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 02:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 02:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 02:21:03] Production.INFO: ==10847== Lock acquired, processing the job...
[2025-04-12 02:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 02:21:03] Production.INFO: ==10851== Lock acquired, processing the job...
[2025-04-12 02:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 02:21:03] Production.INFO: ==10856== Lock acquired, processing the job...
[2025-04-12 02:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 02:21:03] Production.ERROR: done
[2025-04-12 02:21:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 02:21:03] Production.INFO: Account Balance Start.
[2025-04-12 02:21:03] Production.INFO: CreateAllLog Start
[2025-04-12 02:21:03] Production.INFO: 117
[2025-04-12 02:21:03] Production.INFO: Date 2025-04-08
[2025-04-12 02:21:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 02:21:03] Production.INFO: Reseller ==> 0
[2025-04-12 02:21:03] Production.INFO: count ==12
[2025-04-12 02:21:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 02:21:03] Production.INFO: count ==23
[2025-04-12 02:21:03] Production.INFO: Date 2025-04-09
[2025-04-12 02:21:03] Production.INFO: Reseller ==> 0
[2025-04-12 02:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14888462') start
[2025-04-12 02:21:03] Production.INFO: Date 2025-04-10
[2025-04-12 02:21:03] Production.INFO: Reseller ==> 0
[2025-04-12 02:21:03] Production.INFO: ==10847== Releasing lock...
[2025-04-12 02:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 02:21:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 02:21:03] Production.ERROR: done
[2025-04-12 02:21:03] Production.INFO: Date 2025-04-11
[2025-04-12 02:21:03] Production.INFO: Reseller ==> 0
[2025-04-12 02:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14888462') end
[2025-04-12 02:21:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 02:21:03] Production.INFO: 1
[2025-04-12 02:21:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 02:21:04] Production.INFO: Date 2025-04-12
[2025-04-12 02:21:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:21:04] Production.INFO: ==10856== Releasing lock...
[2025-04-12 02:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 02:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 02:21:04] Production.INFO: Total Charge 0
[2025-04-12 02:21:04] Production.INFO: CreateAllLog End
[2025-04-12 02:21:04] Production.INFO: Account Balance End.
[2025-04-12 02:21:04] Production.ERROR: CronJobId end 12
[2025-04-12 02:21:04] Production.INFO: ==10851== Releasing lock...
[2025-04-12 02:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 02:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 02:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 23:21:05
[end_date_ymd] => 2025-04-12 02:21:05
[RateCDR] => 1
)
[2025-04-12 02:21:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 23:21:05' and `end` < '2025-04-12 02:21:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 02:21:12] Production.ERROR: CronJobId end10
[2025-04-12 02:21:12] Production.INFO: ==10849== Releasing lock...
[2025-04-12 02:21:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 02:21:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 02:21:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 02:21:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 02:21:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 02:21:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 02:21:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 02:21:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 02:21:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 02:21:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 02:21:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 02:21:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 02:21:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 02:21:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 02:21:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 02:21:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 02:21:14] Production.INFO: call_cost start
[2025-04-12 02:21:14] Production.INFO: call_cost end
[2025-04-12 02:21:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 02:21:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 02:21:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 02:21:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 02:21:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 02:21:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 02:21:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 02:21:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 02:21:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 02:21:15] Production.INFO: ==10845== Releasing lock...
[2025-04-12 02:21:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 02:21:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 02:21:17] Production.INFO: count ==333
[2025-04-12 02:21:17] Production.ERROR: pbx CDR StartTime 2025-04-11 23:21:05 - End Time 2025-04-12 02:21:05
[2025-04-12 02:21:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 02:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888463', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888463', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888463', 'tblTempVendorCDR_20' ) start
[2025-04-12 02:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888463', 'tblTempVendorCDR_20' ) end
[2025-04-12 02:21:17] Production.INFO: ProcessCDR(1,14888463,1,1,2)
[2025-04-12 02:21:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888463,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:21:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888463,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:21:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888463,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:21:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888463,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888463', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888463', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:21:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 02:21:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 02:21:21] Production.INFO: ==10854== Releasing lock...
[2025-04-12 02:21:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 02:21:21] Production.INFO: 30 MB #Memory Used#
[2025-04-12 07:22:02] Production.INFO: ==10909== Lock acquired, processing the job...
[2025-04-12 07:22:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 07:22:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 07:22:02] Production.INFO: neon service started
[2025-04-12 07:22:02] Production.INFO: neon service started
[2025-04-12 07:22:02] Production.INFO: ==10909== Releasing lock...
[2025-04-12 07:22:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 07:22:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 02:22:02] Production.INFO: ==10911== Lock acquired, processing the job...
[2025-04-12 02:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 02:22:02] Production.INFO: ==10911== Releasing lock...
[2025-04-12 02:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 02:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 06:22:02] Production.INFO: ==10913== Lock acquired, processing the job...
[2025-04-12 06:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 06:22:03] Production.INFO: ==10913== Releasing lock...
[2025-04-12 06:22:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 06:22:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 02:22:03] Production.INFO: ==10916== Lock acquired, processing the job...
[2025-04-12 02:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 02:22:03] Production.INFO: ==10918== Lock acquired, processing the job...
[2025-04-12 02:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 02:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 02:22:03] Production.INFO: ==10922== Lock acquired, processing the job...
[2025-04-12 02:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 02:22:03] Production.INFO: ==10920== Lock acquired, processing the job...
[2025-04-12 02:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 02:22:04] Production.INFO: ==10924== Lock acquired, processing the job...
[2025-04-12 02:22:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 02:22:04] Production.INFO: Account Balance Start.
[2025-04-12 02:22:04] Production.INFO: CreateAllLog Start
[2025-04-12 02:22:04] Production.INFO: 117
[2025-04-12 02:22:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 02:22:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 02:22:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 02:22:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 02:22:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 02:22:04] Production.INFO: Date 2025-04-08
[2025-04-12 02:22:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:22:04] Production.INFO: ==10926== Lock acquired, processing the job...
[2025-04-12 02:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 02:22:04] Production.INFO: Date 2025-04-09
[2025-04-12 02:22:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:22:04] Production.INFO: Date 2025-04-10
[2025-04-12 02:22:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:22:04] Production.INFO: Date 2025-04-11
[2025-04-12 02:22:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:22:04] Production.INFO: Date 2025-04-12
[2025-04-12 02:22:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:22:04] Production.INFO: Total Charge 0
[2025-04-12 02:22:04] Production.INFO: CreateAllLog End
[2025-04-12 02:22:04] Production.INFO: ==10918== Releasing lock...
[2025-04-12 02:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 02:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 02:22:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 02:22:04] Production.INFO: count ==12
[2025-04-12 02:22:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 02:22:04] Production.INFO: count ==23
[2025-04-12 02:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888467') start
[2025-04-12 02:22:04] Production.ERROR: done
[2025-04-12 02:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 02:22:04] Production.INFO: Account Balance End.
[2025-04-12 02:22:04] Production.ERROR: CronJobId end 12
[2025-04-12 02:22:04] Production.INFO: ==10922== Releasing lock...
[2025-04-12 02:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 02:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 02:22:04] Production.ERROR: done
[2025-04-12 02:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888467') end
[2025-04-12 02:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 02:22:04] Production.INFO: 1
[2025-04-12 02:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 02:22:04] Production.INFO: ==10926== Releasing lock...
[2025-04-12 02:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 02:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 02:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 23:22:05
[end_date_ymd] => 2025-04-12 02:22:05
[RateCDR] => 1
)
[2025-04-12 02:22:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 23:22:05' and `end` < '2025-04-12 02:22:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 02:22:12] Production.ERROR: CronJobId end10
[2025-04-12 02:22:12] Production.INFO: ==10920== Releasing lock...
[2025-04-12 02:22:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 02:22:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 02:22:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 02:22:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 02:22:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 02:22:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 02:22:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 02:22:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 02:22:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 02:22:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 02:22:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 02:22:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 02:22:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 02:22:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 02:22:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 02:22:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 02:22:15] Production.INFO: call_cost start
[2025-04-12 02:22:15] Production.INFO: call_cost end
[2025-04-12 02:22:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 02:22:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 02:22:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 02:22:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 02:22:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 02:22:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 02:22:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 02:22:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 02:22:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 02:22:16] Production.INFO: ==10916== Releasing lock...
[2025-04-12 02:22:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 02:22:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 02:22:18] Production.INFO: count ==333
[2025-04-12 02:22:18] Production.ERROR: pbx CDR StartTime 2025-04-11 23:22:05 - End Time 2025-04-12 02:22:05
[2025-04-12 02:22:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 02:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888468', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888468', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888468', 'tblTempVendorCDR_20' ) start
[2025-04-12 02:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888468', 'tblTempVendorCDR_20' ) end
[2025-04-12 02:22:18] Production.INFO: ProcessCDR(1,14888468,1,1,2)
[2025-04-12 02:22:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888468,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:22:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888468,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:22:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888468,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:22:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888468,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888468', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888468', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:22:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 02:22:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 02:22:21] Production.INFO: ==10924== Releasing lock...
[2025-04-12 02:22:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 02:22:21] Production.INFO: 30 MB #Memory Used#
[2025-04-12 07:23:01] Production.INFO: ==10989== Lock acquired, processing the job...
[2025-04-12 07:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 07:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 07:23:01] Production.INFO: neon service started
[2025-04-12 07:23:01] Production.INFO: neon service started
[2025-04-12 07:23:01] Production.INFO: ==10989== Releasing lock...
[2025-04-12 07:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 07:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 06:23:01] Production.INFO: ==10993== Lock acquired, processing the job...
[2025-04-12 06:23:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 06:23:01] Production.INFO: ==10993== Releasing lock...
[2025-04-12 06:23:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 06:23:01] Production.INFO: 25 MB #Memory Used#
[2025-04-12 02:23:02] Production.INFO: ==10991== Lock acquired, processing the job...
[2025-04-12 02:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 02:23:02] Production.INFO: ==10991== Releasing lock...
[2025-04-12 02:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 02:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 02:23:03] Production.INFO: ==10998== Lock acquired, processing the job...
[2025-04-12 02:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 02:23:03] Production.INFO: ==11006== Lock acquired, processing the job...
[2025-04-12 02:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 02:23:03] Production.INFO: ==11004== Lock acquired, processing the job...
[2025-04-12 02:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 02:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 02:23:03] Production.INFO: ==10998== Releasing lock...
[2025-04-12 02:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 02:23:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 02:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 02:23:03] Production.INFO: count ==12
[2025-04-12 02:23:03] Production.INFO: ==10996== Lock acquired, processing the job...
[2025-04-12 02:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 02:23:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 02:23:03] Production.INFO: count ==23
[2025-04-12 02:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14888470') start
[2025-04-12 02:23:03] Production.INFO: ==11000== Lock acquired, processing the job...
[2025-04-12 02:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 02:23:03] Production.INFO: ==11002== Lock acquired, processing the job...
[2025-04-12 02:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 02:23:03] Production.ERROR: done
[2025-04-12 02:23:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 02:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14888470') end
[2025-04-12 02:23:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 02:23:03] Production.INFO: 1
[2025-04-12 02:23:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 02:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 02:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 02:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 02:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 02:23:03] Production.INFO: Account Balance Start.
[2025-04-12 02:23:03] Production.INFO: CreateAllLog Start
[2025-04-12 02:23:03] Production.INFO: 117
[2025-04-12 02:23:03] Production.INFO: Date 2025-04-08
[2025-04-12 02:23:03] Production.INFO: Reseller ==> 0
[2025-04-12 02:23:03] Production.INFO: ==11006== Releasing lock...
[2025-04-12 02:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 02:23:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 02:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 02:23:03] Production.ERROR: done
[2025-04-12 02:23:03] Production.INFO: Date 2025-04-09
[2025-04-12 02:23:03] Production.INFO: Reseller ==> 0
[2025-04-12 02:23:03] Production.INFO: Date 2025-04-10
[2025-04-12 02:23:03] Production.INFO: Reseller ==> 0
[2025-04-12 02:23:03] Production.INFO: Date 2025-04-11
[2025-04-12 02:23:03] Production.INFO: Reseller ==> 0
[2025-04-12 02:23:03] Production.INFO: Date 2025-04-12
[2025-04-12 02:23:03] Production.INFO: Reseller ==> 0
[2025-04-12 02:23:04] Production.INFO: Total Charge 0
[2025-04-12 02:23:04] Production.INFO: CreateAllLog End
[2025-04-12 02:23:04] Production.INFO: Account Balance End.
[2025-04-12 02:23:04] Production.ERROR: CronJobId end 12
[2025-04-12 02:23:04] Production.INFO: ==11002== Releasing lock...
[2025-04-12 02:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 02:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 02:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 23:23:05
[end_date_ymd] => 2025-04-12 02:23:05
[RateCDR] => 1
)
[2025-04-12 02:23:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 23:23:05' and `end` < '2025-04-12 02:23:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 02:23:11] Production.ERROR: CronJobId end10
[2025-04-12 02:23:11] Production.INFO: ==11000== Releasing lock...
[2025-04-12 02:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 02:23:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 02:23:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 02:23:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 02:23:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 02:23:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 02:23:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 02:23:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 02:23:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 02:23:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 02:23:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 02:23:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 02:23:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 02:23:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 02:23:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 02:23:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 02:23:14] Production.INFO: call_cost start
[2025-04-12 02:23:14] Production.INFO: call_cost end
[2025-04-12 02:23:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 02:23:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 02:23:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 02:23:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 02:23:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 02:23:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 02:23:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 02:23:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 02:23:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 02:23:15] Production.INFO: ==10996== Releasing lock...
[2025-04-12 02:23:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 02:23:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 02:23:17] Production.INFO: count ==334
[2025-04-12 02:23:17] Production.ERROR: pbx CDR StartTime 2025-04-11 23:23:05 - End Time 2025-04-12 02:23:05
[2025-04-12 02:23:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 02:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888473', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888473', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888473', 'tblTempVendorCDR_20' ) start
[2025-04-12 02:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888473', 'tblTempVendorCDR_20' ) end
[2025-04-12 02:23:17] Production.INFO: ProcessCDR(1,14888473,1,1,2)
[2025-04-12 02:23:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888473,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:23:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888473,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:23:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888473,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:23:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888473,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888473', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888473', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:23:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 02:23:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 02:23:21] Production.INFO: ==11004== Releasing lock...
[2025-04-12 02:23:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 02:23:21] Production.INFO: 30 MB #Memory Used#
[2025-04-12 07:24:02] Production.INFO: ==11065== Lock acquired, processing the job...
[2025-04-12 07:24:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 07:24:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 07:24:02] Production.INFO: neon service started
[2025-04-12 07:24:02] Production.INFO: neon service started
[2025-04-12 07:24:02] Production.INFO: ==11065== Releasing lock...
[2025-04-12 07:24:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 07:24:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 02:24:02] Production.INFO: ==11067== Lock acquired, processing the job...
[2025-04-12 02:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 06:24:02] Production.INFO: ==11069== Lock acquired, processing the job...
[2025-04-12 06:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 06:24:02] Production.INFO: ==11069== Releasing lock...
[2025-04-12 06:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 06:24:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 02:24:03] Production.INFO: ==11067== Releasing lock...
[2025-04-12 02:24:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 02:24:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 02:24:04] Production.INFO: ==11072== Lock acquired, processing the job...
[2025-04-12 02:24:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 02:24:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 02:24:04] Production.INFO: ==11078== Lock acquired, processing the job...
[2025-04-12 02:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 02:24:04] Production.INFO: ==11080== Lock acquired, processing the job...
[2025-04-12 02:24:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 02:24:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 02:24:04] Production.INFO: Account Balance Start.
[2025-04-12 02:24:04] Production.INFO: CreateAllLog Start
[2025-04-12 02:24:04] Production.INFO: 117
[2025-04-12 02:24:04] Production.INFO: Date 2025-04-08
[2025-04-12 02:24:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:24:04] Production.INFO: ==11076== Lock acquired, processing the job...
[2025-04-12 02:24:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 02:24:04] Production.INFO: Date 2025-04-09
[2025-04-12 02:24:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:24:04] Production.INFO: ==11074== Lock acquired, processing the job...
[2025-04-12 02:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 02:24:04] Production.INFO: Date 2025-04-10
[2025-04-12 02:24:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:24:04] Production.INFO: Date 2025-04-11
[2025-04-12 02:24:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:24:04] Production.INFO: Date 2025-04-12
[2025-04-12 02:24:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:24:04] Production.INFO: ==11082== Lock acquired, processing the job...
[2025-04-12 02:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 02:24:04] Production.INFO: Total Charge 0
[2025-04-12 02:24:04] Production.INFO: CreateAllLog End
[2025-04-12 02:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 02:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 02:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 02:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 02:24:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 02:24:04] Production.ERROR: done
[2025-04-12 02:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 02:24:04] Production.INFO: count ==12
[2025-04-12 02:24:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 02:24:04] Production.INFO: count ==23
[2025-04-12 02:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888476') start
[2025-04-12 02:24:04] Production.ERROR: done
[2025-04-12 02:24:04] Production.INFO: Account Balance End.
[2025-04-12 02:24:04] Production.INFO: ==11074== Releasing lock...
[2025-04-12 02:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 02:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 02:24:04] Production.ERROR: CronJobId end 12
[2025-04-12 02:24:04] Production.INFO: ==11078== Releasing lock...
[2025-04-12 02:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 02:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 02:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888476') end
[2025-04-12 02:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 02:24:04] Production.INFO: 1
[2025-04-12 02:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 02:24:05] Production.INFO: ==11082== Releasing lock...
[2025-04-12 02:24:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 02:24:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 02:24:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 23:24:05
[end_date_ymd] => 2025-04-12 02:24:05
[RateCDR] => 1
)
[2025-04-12 02: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-11 23:24:05' and `end` < '2025-04-12 02:24:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 02:24:12] Production.ERROR: CronJobId end10
[2025-04-12 02:24:12] Production.INFO: ==11076== Releasing lock...
[2025-04-12 02:24:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 02:24:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 02:24:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 02:24:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 02:24:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 02:24:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 02:24:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 02:24:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 02:24:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 02:24:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 02:24:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 02:24:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 02:24:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 02:24:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 02:24:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 02:24:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 02:24:15] Production.INFO: call_cost start
[2025-04-12 02:24:15] Production.INFO: call_cost end
[2025-04-12 02:24:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 02:24:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 02:24:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 02:24:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 02:24:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 02:24:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 02:24:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 02:24:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 02:24:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 02:24:16] Production.INFO: ==11072== Releasing lock...
[2025-04-12 02:24:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 02:24:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 02:24:19] Production.INFO: count ==335
[2025-04-12 02:24:19] Production.ERROR: pbx CDR StartTime 2025-04-11 23:24:05 - End Time 2025-04-12 02:24:05
[2025-04-12 02:24:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 02:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888478', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888478', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888478', 'tblTempVendorCDR_20' ) start
[2025-04-12 02:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888478', 'tblTempVendorCDR_20' ) end
[2025-04-12 02:24:19] Production.INFO: ProcessCDR(1,14888478,1,1,2)
[2025-04-12 02:24:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888478,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:24:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888478,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:24:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888478,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:24:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888478,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:24:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888478', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:24:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888478', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:24:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 02:24:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 02:24:24] Production.INFO: ==11080== Releasing lock...
[2025-04-12 02:24:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 02:24:24] Production.INFO: 30 MB #Memory Used#
[2025-04-12 07:25:01] Production.INFO: ==11138== Lock acquired, processing the job...
[2025-04-12 07:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 07:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 07:25:01] Production.INFO: neon service started
[2025-04-12 07:25:01] Production.INFO: neon service started
[2025-04-12 07:25:01] Production.INFO: ==11138== Releasing lock...
[2025-04-12 07:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 07:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 02:25:02] Production.INFO: ==11140== Lock acquired, processing the job...
[2025-04-12 02:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 06:25:02] Production.INFO: ==11142== Lock acquired, processing the job...
[2025-04-12 06:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 06:25:02] Production.INFO: ==11142== Releasing lock...
[2025-04-12 06:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 06:25:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 02:25:02] Production.INFO: ==11140== Releasing lock...
[2025-04-12 02:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 02:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 02:25:03] Production.INFO: ==11145== Lock acquired, processing the job...
[2025-04-12 02:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 02:25:03] Production.INFO: ==11149== Lock acquired, processing the job...
[2025-04-12 02:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 02:25:03] Production.INFO: ==11153== Lock acquired, processing the job...
[2025-04-12 02:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 02:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 02:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 02:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 02:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 02:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 02:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 02:25:03] Production.INFO: ==11147== Lock acquired, processing the job...
[2025-04-12 02:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 02:25:03] Production.INFO: ==11151== Lock acquired, processing the job...
[2025-04-12 02:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 02:25:03] Production.INFO: ==11155== Lock acquired, processing the job...
[2025-04-12 02:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 02:25:03] Production.INFO: Account Balance Start.
[2025-04-12 02:25:03] Production.INFO: CreateAllLog Start
[2025-04-12 02:25:03] Production.INFO: 117
[2025-04-12 02:25:03] Production.INFO: Date 2025-04-08
[2025-04-12 02:25:03] Production.INFO: Reseller ==> 0
[2025-04-12 02:25:04] Production.INFO: Date 2025-04-09
[2025-04-12 02:25:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:25:04] Production.INFO: Date 2025-04-10
[2025-04-12 02:25:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:25:04] Production.INFO: Date 2025-04-11
[2025-04-12 02:25:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:25:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 02:25:04] Production.ERROR: done
[2025-04-12 02:25:04] Production.INFO: count ==12
[2025-04-12 02:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 02:25:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 02:25:04] Production.INFO: Date 2025-04-12
[2025-04-12 02:25:04] Production.INFO: count ==23
[2025-04-12 02:25:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888482') start
[2025-04-12 02:25:04] Production.INFO: Total Charge 0
[2025-04-12 02:25:04] Production.INFO: CreateAllLog End
[2025-04-12 02:25:04] Production.ERROR: done
[2025-04-12 02:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888482') end
[2025-04-12 02:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 02:25:04] Production.INFO: 1
[2025-04-12 02:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 02:25:04] Production.INFO: ==11147== Releasing lock...
[2025-04-12 02:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 02:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 02:25:04] Production.INFO: ==11155== Releasing lock...
[2025-04-12 02:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 02:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 02:25:04] Production.INFO: Account Balance End.
[2025-04-12 02:25:04] Production.ERROR: CronJobId end 12
[2025-04-12 02:25:04] Production.INFO: ==11151== Releasing lock...
[2025-04-12 02:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 02:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 02:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 23:25:05
[end_date_ymd] => 2025-04-12 02:25:05
[RateCDR] => 1
)
[2025-04-12 02:25:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 23:25:05' and `end` < '2025-04-12 02:25:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 02:25:13] Production.ERROR: CronJobId end10
[2025-04-12 02:25:13] Production.INFO: ==11149== Releasing lock...
[2025-04-12 02:25:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 02:25:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 02:25:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 02:25:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 02:25:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 02:25:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 02:25:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 02:25:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 02:25:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 02:25:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 02:25:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 02:25:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 02:25:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 02:25:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 02:25:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 02:25:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 02:25:14] Production.INFO: call_cost start
[2025-04-12 02:25:14] Production.INFO: call_cost end
[2025-04-12 02:25:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 02:25:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 02:25:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 02:25:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 02:25:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 02:25:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 02:25:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 02:25:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 02:25:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 02:25:15] Production.INFO: ==11145== Releasing lock...
[2025-04-12 02:25:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 02:25:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 02:25:18] Production.INFO: count ==335
[2025-04-12 02:25:18] Production.ERROR: pbx CDR StartTime 2025-04-11 23:25:05 - End Time 2025-04-12 02:25:05
[2025-04-12 02:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 02:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888483', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888483', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888483', 'tblTempVendorCDR_20' ) start
[2025-04-12 02:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888483', 'tblTempVendorCDR_20' ) end
[2025-04-12 02:25:18] Production.INFO: ProcessCDR(1,14888483,1,1,2)
[2025-04-12 02:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888483,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:25:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888483,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:25:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888483,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:25:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888483,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888483', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888483', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:25:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 02:25:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 02:25:21] Production.INFO: ==11153== Releasing lock...
[2025-04-12 02:25:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 02:25:21] Production.INFO: 30 MB #Memory Used#
[2025-04-12 07:26:02] Production.INFO: ==11247== Lock acquired, processing the job...
[2025-04-12 07:26:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 07:26:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 07:26:02] Production.INFO: neon service started
[2025-04-12 07:26:02] Production.INFO: neon service started
[2025-04-12 07:26:02] Production.INFO: ==11247== Releasing lock...
[2025-04-12 07:26:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 07:26:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 06:26:02] Production.INFO: ==11251== Lock acquired, processing the job...
[2025-04-12 06:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 06:26:02] Production.INFO: ==11251== Releasing lock...
[2025-04-12 06:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 06:26:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 02:26:02] Production.INFO: ==11249== Lock acquired, processing the job...
[2025-04-12 02:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 02:26:03] Production.INFO: ==11249== Releasing lock...
[2025-04-12 02:26:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 02:26:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 02:26:03] Production.INFO: ==11254== Lock acquired, processing the job...
[2025-04-12 02:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 02:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 02:26:03] Production.INFO: ==11258== Lock acquired, processing the job...
[2025-04-12 02:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 02:26:03] Production.INFO: ==11260== Lock acquired, processing the job...
[2025-04-12 02:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 02:26:04] Production.INFO: Account Balance Start.
[2025-04-12 02:26:04] Production.INFO: CreateAllLog Start
[2025-04-12 02:26:04] Production.INFO: 117
[2025-04-12 02:26:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 02:26:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 02:26:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 02:26:04] Production.INFO: Date 2025-04-08
[2025-04-12 02:26:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 02:26:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:26:04] Production.INFO: Date 2025-04-09
[2025-04-12 02:26:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:26:04] Production.INFO: Date 2025-04-10
[2025-04-12 02:26:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:26:04] Production.INFO: Date 2025-04-11
[2025-04-12 02:26:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:26:04] Production.INFO: ==11256== Lock acquired, processing the job...
[2025-04-12 02:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 02:26:04] Production.INFO: Date 2025-04-12
[2025-04-12 02:26:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:26:04] Production.INFO: Total Charge 0
[2025-04-12 02:26:04] Production.INFO: CreateAllLog End
[2025-04-12 02:26:04] Production.INFO: ==11264== Lock acquired, processing the job...
[2025-04-12 02:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 02:26:04] Production.INFO: ==11262== Lock acquired, processing the job...
[2025-04-12 02:26:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 02:26:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 02:26:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 02:26:04] Production.INFO: Account Balance End.
[2025-04-12 02:26:04] Production.INFO: count ==12
[2025-04-12 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-12 02:26:04] Production.INFO: count ==23
[2025-04-12 02:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888487') start
[2025-04-12 02:26:04] Production.ERROR: CronJobId end 12
[2025-04-12 02:26:04] Production.INFO: ==11260== Releasing lock...
[2025-04-12 02:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 02:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 02:26:04] Production.INFO: ==11256== Releasing lock...
[2025-04-12 02:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 02:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 02:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888487') end
[2025-04-12 02:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 02:26:04] Production.INFO: 1
[2025-04-12 02:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 02:26:04] Production.INFO: ==11264== Releasing lock...
[2025-04-12 02:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 02:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 02:26:05] Production.ERROR: done
[2025-04-12 02:26:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 02:26:05] Production.ERROR: done
[2025-04-12 02:26:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 23:26:06
[end_date_ymd] => 2025-04-12 02:26:06
[RateCDR] => 1
)
[2025-04-12 02: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-11 23:26:06' and `end` < '2025-04-12 02: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-12 02:26:12] Production.ERROR: CronJobId end10
[2025-04-12 02:26:12] Production.INFO: ==11258== Releasing lock...
[2025-04-12 02:26:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 02:26:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 02:26:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 02:26:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 02:26:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 02:26:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 02:26:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 02:26:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 02:26:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 02:26:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 02:26:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 02:26:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 02:26:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 02:26:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 02:26:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 02:26:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 02:26:14] Production.INFO: call_cost start
[2025-04-12 02:26:14] Production.INFO: call_cost end
[2025-04-12 02:26:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 02:26:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 02:26:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 02:26:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 02:26:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 02:26:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 02:26:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 02:26:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 02:26:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 02:26:15] Production.INFO: ==11254== Releasing lock...
[2025-04-12 02:26:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 02:26:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 02:26:19] Production.INFO: count ==335
[2025-04-12 02:26:19] Production.ERROR: pbx CDR StartTime 2025-04-11 23:26:06 - End Time 2025-04-12 02:26:06
[2025-04-12 02:26:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 02:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888488', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888488', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888488', 'tblTempVendorCDR_20' ) start
[2025-04-12 02:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888488', 'tblTempVendorCDR_20' ) end
[2025-04-12 02:26:19] Production.INFO: ProcessCDR(1,14888488,1,1,2)
[2025-04-12 02:26:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888488,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:26:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888488,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:26:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888488,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:26:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888488,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888488', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888488', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:26:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 02:26:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 02:26:22] Production.INFO: ==11262== Releasing lock...
[2025-04-12 02:26:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 02:26:22] Production.INFO: 30 MB #Memory Used#
[2025-04-12 07:27:01] Production.INFO: ==11317== Lock acquired, processing the job...
[2025-04-12 07:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 07:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 07:27:01] Production.INFO: neon service started
[2025-04-12 07:27:01] Production.INFO: neon service started
[2025-04-12 07:27:01] Production.INFO: ==11317== Releasing lock...
[2025-04-12 07:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 07:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 02:27:01] Production.INFO: ==11319== Lock acquired, processing the job...
[2025-04-12 02:27:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 02:27:02] Production.INFO: ==11319== Releasing lock...
[2025-04-12 02:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 02:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 06:27:02] Production.INFO: ==11321== Lock acquired, processing the job...
[2025-04-12 06:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 06:27:02] Production.INFO: ==11321== Releasing lock...
[2025-04-12 06:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 06:27:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 02:27:03] Production.INFO: ==11324== Lock acquired, processing the job...
[2025-04-12 02:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 02:27:03] Production.INFO: ==11326== Lock acquired, processing the job...
[2025-04-12 02:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 02:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 02:27:03] Production.INFO: ==11330== Lock acquired, processing the job...
[2025-04-12 02:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 02:27:03] Production.INFO: ==11328== Lock acquired, processing the job...
[2025-04-12 02:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 02:27:03] Production.INFO: Account Balance Start.
[2025-04-12 02:27:03] Production.INFO: CreateAllLog Start
[2025-04-12 02:27:03] Production.INFO: 117
[2025-04-12 02:27:03] Production.INFO: ==11332== Lock acquired, processing the job...
[2025-04-12 02:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 02:27:03] Production.INFO: Date 2025-04-08
[2025-04-12 02:27:03] Production.INFO: Reseller ==> 0
[2025-04-12 02:27:03] Production.INFO: ==11334== Lock acquired, processing the job...
[2025-04-12 02:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 02:27:03] Production.INFO: ==11326== Releasing lock...
[2025-04-12 02:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 02:27:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 02:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 02:27:03] Production.INFO: Date 2025-04-09
[2025-04-12 02:27:03] Production.INFO: Reseller ==> 0
[2025-04-12 02:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 02:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 02:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 02:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 02:27:03] Production.INFO: Date 2025-04-10
[2025-04-12 02:27:03] Production.INFO: Reseller ==> 0
[2025-04-12 02:27:03] Production.INFO: Date 2025-04-11
[2025-04-12 02:27:03] Production.INFO: Reseller ==> 0
[2025-04-12 02:27:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 02:27:03] Production.INFO: count ==12
[2025-04-12 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-12 02:27:03] Production.INFO: count ==23
[2025-04-12 02:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14888492') start
[2025-04-12 02:27:03] Production.INFO: Date 2025-04-12
[2025-04-12 02:27:03] Production.INFO: Reseller ==> 0
[2025-04-12 02:27:03] Production.INFO: Total Charge 0
[2025-04-12 02:27:03] Production.INFO: CreateAllLog End
[2025-04-12 02:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14888492') end
[2025-04-12 02:27:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 02:27:03] Production.INFO: 1
[2025-04-12 02:27:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 02:27:04] Production.INFO: ==11334== Releasing lock...
[2025-04-12 02:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 02:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 02:27:04] Production.ERROR: done
[2025-04-12 02:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 02:27:04] Production.ERROR: done
[2025-04-12 02:27:04] Production.INFO: Account Balance End.
[2025-04-12 02:27:04] Production.ERROR: CronJobId end 12
[2025-04-12 02:27:04] Production.INFO: ==11330== Releasing lock...
[2025-04-12 02:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 02:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 02:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 23:27:05
[end_date_ymd] => 2025-04-12 02:27:05
[RateCDR] => 1
)
[2025-04-12 02:27:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 23:27:05' and `end` < '2025-04-12 02:27:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 02:27:11] Production.ERROR: CronJobId end10
[2025-04-12 02:27:11] Production.INFO: ==11328== Releasing lock...
[2025-04-12 02:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 02:27:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 02:27:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 02:27:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 02:27:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 02:27:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 02:27:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 02:27:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 02:27:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 02:27:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 02:27:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 02:27:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 02:27:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 02:27:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 02:27:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 02:27:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 02:27:14] Production.INFO: call_cost start
[2025-04-12 02:27:14] Production.INFO: call_cost end
[2025-04-12 02:27:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 02:27:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 02:27:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 02:27:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 02:27:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 02:27:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 02:27:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 02:27:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 02:27:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 02:27:15] Production.INFO: ==11324== Releasing lock...
[2025-04-12 02:27:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 02:27:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 02:27:18] Production.INFO: count ==337
[2025-04-12 02:27:18] Production.ERROR: pbx CDR StartTime 2025-04-11 23:27:05 - End Time 2025-04-12 02:27:05
[2025-04-12 02:27:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 02:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888493', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888493', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888493', 'tblTempVendorCDR_20' ) start
[2025-04-12 02:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888493', 'tblTempVendorCDR_20' ) end
[2025-04-12 02:27:18] Production.INFO: ProcessCDR(1,14888493,1,1,2)
[2025-04-12 02:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888493,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:27:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888493,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:27:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888493,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:27:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888493,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888493', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888493', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:27:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 02:27:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 02:27:22] Production.INFO: ==11332== Releasing lock...
[2025-04-12 02:27:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 02:27:22] Production.INFO: 30 MB #Memory Used#
[2025-04-12 07:28:02] Production.INFO: ==11390== Lock acquired, processing the job...
[2025-04-12 07:28:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 07:28:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 07:28:02] Production.INFO: neon service started
[2025-04-12 07:28:02] Production.INFO: neon service started
[2025-04-12 07:28:02] Production.INFO: ==11390== Releasing lock...
[2025-04-12 07:28:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 07:28:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 02:28:02] Production.INFO: ==11392== Lock acquired, processing the job...
[2025-04-12 02:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 06:28:02] Production.INFO: ==11394== Lock acquired, processing the job...
[2025-04-12 06:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 06:28:02] Production.INFO: ==11394== Releasing lock...
[2025-04-12 06:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 06:28:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 02:28:02] Production.INFO: ==11392== Releasing lock...
[2025-04-12 02:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 02:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 02:28:03] Production.INFO: ==11397== Lock acquired, processing the job...
[2025-04-12 02:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 02:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 02:28:03] Production.INFO: ==11399== Lock acquired, processing the job...
[2025-04-12 02:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 02:28:03] Production.INFO: ==11403== Lock acquired, processing the job...
[2025-04-12 02:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 02:28:03] Production.INFO: Account Balance Start.
[2025-04-12 02:28:03] Production.INFO: CreateAllLog Start
[2025-04-12 02:28:03] Production.INFO: 117
[2025-04-12 02:28:03] Production.INFO: Date 2025-04-08
[2025-04-12 02:28:03] Production.INFO: Reseller ==> 0
[2025-04-12 02:28:03] Production.INFO: Date 2025-04-09
[2025-04-12 02:28:03] Production.INFO: Reseller ==> 0
[2025-04-12 02:28:03] Production.INFO: Date 2025-04-10
[2025-04-12 02:28:03] Production.INFO: Reseller ==> 0
[2025-04-12 02:28:03] Production.INFO: ==11399== Releasing lock...
[2025-04-12 02:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 02:28:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 02:28:03] Production.INFO: Date 2025-04-11
[2025-04-12 02:28:03] Production.INFO: Reseller ==> 0
[2025-04-12 02:28:04] Production.INFO: Date 2025-04-12
[2025-04-12 02:28:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:28:04] Production.INFO: Total Charge 0
[2025-04-12 02:28:04] Production.INFO: CreateAllLog End
[2025-04-12 02:28:04] Production.INFO: Account Balance End.
[2025-04-12 02:28:04] Production.ERROR: CronJobId end 12
[2025-04-12 02:28:04] Production.INFO: ==11403== Releasing lock...
[2025-04-12 02:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 02:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 02:28:04] Production.INFO: ==11401== Lock acquired, processing the job...
[2025-04-12 02:28:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 02:28:04] Production.INFO: ==11405== Lock acquired, processing the job...
[2025-04-12 02:28:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 02:28:04] Production.INFO: ==11407== Lock acquired, processing the job...
[2025-04-12 02:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 02:28:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 02:28:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 02:28:04] Production.INFO: count ==12
[2025-04-12 02:28:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 02:28:04] Production.INFO: count ==23
[2025-04-12 02:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888497') start
[2025-04-12 02:28:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 02:28:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 02:28:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 02:28:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 02:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888497') end
[2025-04-12 02:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 02:28:04] Production.INFO: 1
[2025-04-12 02:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 02:28:04] Production.INFO: ==11407== Releasing lock...
[2025-04-12 02:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 02:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 02:28:04] Production.ERROR: done
[2025-04-12 02:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 02:28:05] Production.ERROR: done
[2025-04-12 02:28:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 23:28:06
[end_date_ymd] => 2025-04-12 02:28:06
[RateCDR] => 1
)
[2025-04-12 02: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-11 23:28:06' and `end` < '2025-04-12 02: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-12 02:28:12] Production.ERROR: CronJobId end10
[2025-04-12 02:28:12] Production.INFO: ==11401== Releasing lock...
[2025-04-12 02:28:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 02:28:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 02:28:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 02:28:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 02:28:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 02:28:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 02:28:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 02:28:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 02:28:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 02:28:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 02:28:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 02:28:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 02:28:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 02:28:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 02:28:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 02:28:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 02:28:15] Production.INFO: call_cost start
[2025-04-12 02:28:15] Production.INFO: call_cost end
[2025-04-12 02:28:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 02:28:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 02:28:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 02:28:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 02:28:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 02:28:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 02:28:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 02:28:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 02:28:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 02:28:16] Production.INFO: ==11397== Releasing lock...
[2025-04-12 02:28:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 02:28:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 02:28:18] Production.INFO: count ==337
[2025-04-12 02:28:18] Production.ERROR: pbx CDR StartTime 2025-04-11 23:28:06 - End Time 2025-04-12 02:28:06
[2025-04-12 02:28:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 02:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888498', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888498', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888498', 'tblTempVendorCDR_20' ) start
[2025-04-12 02:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888498', 'tblTempVendorCDR_20' ) end
[2025-04-12 02:28:18] Production.INFO: ProcessCDR(1,14888498,1,1,2)
[2025-04-12 02:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888498,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:28:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888498,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:28:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888498,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:28:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888498,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:28:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888498', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:28:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888498', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:28:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 02:28:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 02:28:24] Production.INFO: ==11405== Releasing lock...
[2025-04-12 02:28:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 02:28:24] Production.INFO: 30 MB #Memory Used#
[2025-04-12 07:29:01] Production.INFO: ==11465== Lock acquired, processing the job...
[2025-04-12 07:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 07:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 07:29:01] Production.INFO: neon service started
[2025-04-12 07:29:01] Production.INFO: neon service started
[2025-04-12 07:29:01] Production.INFO: ==11465== Releasing lock...
[2025-04-12 07:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 07:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 06:29:01] Production.INFO: ==11469== Lock acquired, processing the job...
[2025-04-12 06:29:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 06:29:01] Production.INFO: ==11469== Releasing lock...
[2025-04-12 06:29:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 06:29:01] Production.INFO: 25 MB #Memory Used#
[2025-04-12 02:29:02] Production.INFO: ==11467== Lock acquired, processing the job...
[2025-04-12 02:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 02:29:02] Production.INFO: ==11467== Releasing lock...
[2025-04-12 02:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 02:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 02:29:03] Production.INFO: ==11473== Lock acquired, processing the job...
[2025-04-12 02:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 02:29:03] Production.INFO: ==11471== Lock acquired, processing the job...
[2025-04-12 02:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 02:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 02:29:03] Production.INFO: ==11480== Lock acquired, processing the job...
[2025-04-12 02:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 02:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 02:29:03] Production.INFO: ==11475== Lock acquired, processing the job...
[2025-04-12 02:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 02:29:03] Production.INFO: ==11477== Lock acquired, processing the job...
[2025-04-12 02:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 02:29:03] Production.INFO: ==11482== Lock acquired, processing the job...
[2025-04-12 02:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 02:29:03] Production.INFO: ==11473== Releasing lock...
[2025-04-12 02:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 02:29:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 02:29:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 02:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 02:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 02:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 02:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 02:29:03] Production.INFO: Account Balance Start.
[2025-04-12 02:29:03] Production.INFO: CreateAllLog Start
[2025-04-12 02:29:03] Production.INFO: 117
[2025-04-12 02:29:03] Production.INFO: count ==12
[2025-04-12 02:29:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 02:29:03] Production.INFO: count ==23
[2025-04-12 02:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14888502') start
[2025-04-12 02:29:03] Production.INFO: Date 2025-04-08
[2025-04-12 02:29:03] Production.INFO: Reseller ==> 0
[2025-04-12 02:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14888502') end
[2025-04-12 02:29:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 02:29:03] Production.INFO: 1
[2025-04-12 02:29:03] Production.ERROR: done
[2025-04-12 02:29:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 02:29:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 02:29:03] Production.INFO: Date 2025-04-09
[2025-04-12 02:29:03] Production.INFO: Reseller ==> 0
[2025-04-12 02:29:03] Production.INFO: Date 2025-04-10
[2025-04-12 02:29:03] Production.INFO: Reseller ==> 0
[2025-04-12 02:29:03] Production.INFO: ==11482== Releasing lock...
[2025-04-12 02:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 02:29:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 02:29:03] Production.ERROR: done
[2025-04-12 02:29:04] Production.INFO: Date 2025-04-11
[2025-04-12 02:29:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:29:04] Production.INFO: Date 2025-04-12
[2025-04-12 02:29:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:29:04] Production.INFO: Total Charge 0
[2025-04-12 02:29:04] Production.INFO: CreateAllLog End
[2025-04-12 02:29:04] Production.INFO: Account Balance End.
[2025-04-12 02:29:04] Production.ERROR: CronJobId end 12
[2025-04-12 02:29:04] Production.INFO: ==11477== Releasing lock...
[2025-04-12 02:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 02:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 02:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 23:29:05
[end_date_ymd] => 2025-04-12 02:29:05
[RateCDR] => 1
)
[2025-04-12 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-11 23:29:05' and `end` < '2025-04-12 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-12 02:29:12] Production.ERROR: CronJobId end10
[2025-04-12 02:29:12] Production.INFO: ==11475== Releasing lock...
[2025-04-12 02:29:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 02:29:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 02:29:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 02:29:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 02:29:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 02:29:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 02:29:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 02:29:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 02:29:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 02:29:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 02:29:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 02:29:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 02:29:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 02:29:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 02:29:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 02:29:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 02:29:14] Production.INFO: call_cost start
[2025-04-12 02:29:14] Production.INFO: call_cost end
[2025-04-12 02:29:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 02:29:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 02:29:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 02:29:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 02:29:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 02:29:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 02:29:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 02:29:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 02:29:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 02:29:15] Production.INFO: ==11471== Releasing lock...
[2025-04-12 02:29:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 02:29:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 02:29:17] Production.INFO: count ==335
[2025-04-12 02:29:18] Production.ERROR: pbx CDR StartTime 2025-04-11 23:29:05 - End Time 2025-04-12 02:29:05
[2025-04-12 02:29:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 02:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888503', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888503', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888503', 'tblTempVendorCDR_20' ) start
[2025-04-12 02:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888503', 'tblTempVendorCDR_20' ) end
[2025-04-12 02:29:18] Production.INFO: ProcessCDR(1,14888503,1,1,2)
[2025-04-12 02:29:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888503,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:29:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888503,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:29:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888503,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:29:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888503,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888503', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888503', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:29:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 02:29:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 02:29:21] Production.INFO: ==11480== Releasing lock...
[2025-04-12 02:29:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 02:29:21] Production.INFO: 30 MB #Memory Used#
[2025-04-12 07:30:01] Production.INFO: ==11538== Lock acquired, processing the job...
[2025-04-12 07:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 07:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 07:30:01] Production.INFO: neon service started
[2025-04-12 07:30:01] Production.INFO: neon service started
[2025-04-12 07:30:01] Production.INFO: ==11538== Releasing lock...
[2025-04-12 07:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 07:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 06:30:02] Production.INFO: ==11542== Lock acquired, processing the job...
[2025-04-12 06:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 06:30:02] Production.INFO: ==11542== Releasing lock...
[2025-04-12 06:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 06:30:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 02:30:02] Production.INFO: ==11540== Lock acquired, processing the job...
[2025-04-12 02:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 02:30:03] Production.INFO: ==11540== Releasing lock...
[2025-04-12 02:30:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 02:30:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 02:30:03] Production.INFO: ==11547== Lock acquired, processing the job...
[2025-04-12 02:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 02:30:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 02:30:04] Production.INFO: ==11549== Lock acquired, processing the job...
[2025-04-12 02:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 02:30:04] Production.INFO: ==11551== Lock acquired, processing the job...
[2025-04-12 02:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 02:30:04] Production.INFO: ==11545== Lock acquired, processing the job...
[2025-04-12 02:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 02:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 02:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 02:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 02:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 02:30:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 02:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 02:30:04] Production.ERROR: CronJob PID - 11547
[2025-04-12 02:30:04] Production.ERROR: CronJob Title - System Alerts
[2025-04-12 02:30:04] Production.ERROR: CronJob ID - 5
[2025-04-12 02:30:04] Production.ERROR: CronJob Last Run Time 2025-04-12 02:30:00
[2025-04-12 02:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 02:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 02:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 02:30:04] Production.ERROR: CronJob PID - 11549
[2025-04-12 02:30:04] Production.ERROR: CronJob Title - Account Block
[2025-04-12 02:30:04] Production.ERROR: CronJob ID - 7
[2025-04-12 02:30:04] Production.ERROR: CronJob Last Run Time 2025-04-12 02:30:00
[2025-04-12 02:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 02:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 02:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 02:30:04] Production.ERROR: CronJob PID - 11551
[2025-04-12 02:30:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-04-12 02:30:04] Production.ERROR: CronJob ID - 10
[2025-04-12 02:30:04] Production.ERROR: CronJob Last Run Time 2025-04-12 02:30:00
[2025-04-12 02:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 02:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 02:30:04] Production.INFO: ==11557== Lock acquired, processing the job...
[2025-04-12 02:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 02:30:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 02:30:04] Production.INFO: ==11545== Releasing lock...
[2025-04-12 02:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 02:30:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 02:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 02:30:04] Production.INFO: ==11553== Lock acquired, processing the job...
[2025-04-12 02:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 02:30:04] Production.INFO: ==11555== Lock acquired, processing the job...
[2025-04-12 02:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 02:30:04] Production.INFO: Account Balance Start.
[2025-04-12 02:30:04] Production.INFO: CreateAllLog Start
[2025-04-12 02:30:04] Production.INFO: 117
[2025-04-12 02:30:04] Production.INFO: ==11559== Lock acquired, processing the job...
[2025-04-12 02:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 02:30:04] Production.INFO: ==11549== Releasing lock...
[2025-04-12 02:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 02:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 02:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 02:30:04] Production.INFO: Date 2025-04-08
[2025-04-12 02:30:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 02:30:04] Production.ERROR: done
[2025-04-12 02:30:04] Production.INFO: count ==12
[2025-04-12 02:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 02:30:04] Production.INFO: Date 2025-04-09
[2025-04-12 02:30:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:30:04] Production.INFO: count ==23
[2025-04-12 02:30:05] Production.INFO: Date 2025-04-10
[2025-04-12 02:30:05] Production.INFO: Reseller ==> 0
[2025-04-12 02:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14888507') start
[2025-04-12 02:30:05] Production.INFO: Date 2025-04-11
[2025-04-12 02:30:05] Production.INFO: Reseller ==> 0
[2025-04-12 02:30:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 02:30:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14888508', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 02:30:05] Production.INFO: Date 2025-04-12
[2025-04-12 02:30:05] Production.INFO: Reseller ==> 0
[2025-04-12 02:30:05] Production.INFO: Total Charge 0
[2025-04-12 02:30:05] Production.INFO: CreateAllLog End
[2025-04-12 02:30:05] Production.ERROR: done
[2025-04-12 02:30:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 02:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14888507') end
[2025-04-12 02:30:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 02:30:05] Production.INFO: 1
[2025-04-12 02:30:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 02:30:05] Production.INFO: Account Balance End.
[2025-04-12 02:30:05] Production.INFO: ==11559== Releasing lock...
[2025-04-12 02:30:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 02:30:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 02:30:05] Production.ERROR: CronJobId end 12
[2025-04-12 02:30:05] Production.INFO: ==11553== Releasing lock...
[2025-04-12 02:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 02:30:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 02:30:05] Production.ERROR: done
[2025-04-12 02:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 23:30:06
[end_date_ymd] => 2025-04-12 02:30:06
[RateCDR] => 1
)
[2025-04-12 02:30:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 23:30:06' and `end` < '2025-04-12 02:30:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 02:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14888508', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 02:30:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 02:30:09] Production.INFO: ProcessCDR(1,14888508,1,1,2)
[2025-04-12 02:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14888508,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14888508,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 02:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 02:30:09] Production.INFO: ==11557== Releasing lock...
[2025-04-12 02:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 02:30:09] Production.INFO: 26 MB #Memory Used#
[2025-04-12 02:30:15] Production.ERROR: CronJobId end10
[2025-04-12 02:30:15] Production.INFO: ==11551== Releasing lock...
[2025-04-12 02:30:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 02:30:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 02:30:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 02:30:16] Production.INFO: ============== Balance Warning START===========
[2025-04-12 02:30:16] Production.INFO: ============== Balance Warning END===========
[2025-04-12 02:30:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 02:30:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 02:30:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 02:30:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 02:30:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 02:30:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 02:30:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 02:30:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 02:30:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 02:30:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 02:30:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 02:30:17] Production.INFO: call_cost start
[2025-04-12 02:30:17] Production.INFO: call_cost end
[2025-04-12 02:30:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 02:30:18] Production.INFO: ============== Report Schedule START===========
[2025-04-12 02:30:18] Production.INFO: ============== Report Schedule END===========
[2025-04-12 02:30:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 02:30:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 02:30:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 02:30:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 02:30:18] Production.INFO: ============== Deal alert START===========
[2025-04-12 02:30:18] Production.INFO: ============== Deal alert END===========
[2025-04-12 02:30:18] Production.INFO: ==11547== Releasing lock...
[2025-04-12 02:30:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 02:30:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 02:30:19] Production.INFO: count ==346
[2025-04-12 02:30:19] Production.ERROR: pbx CDR StartTime 2025-04-11 23:30:06 - End Time 2025-04-12 02:30:06
[2025-04-12 02:30:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 02:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888509', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888509', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888509', 'tblTempVendorCDR_20' ) start
[2025-04-12 02:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888509', 'tblTempVendorCDR_20' ) end
[2025-04-12 02:30:19] Production.INFO: ProcessCDR(1,14888509,1,1,2)
[2025-04-12 02:30:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888509,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:30:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888509,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:30:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888509,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:30:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888509,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:30:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888509', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:30:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888509', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:30:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 02:30:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 02:30:25] Production.INFO: ==11555== Releasing lock...
[2025-04-12 02:30:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 02:30:25] Production.INFO: 30 MB #Memory Used#
[2025-04-12 07:31:01] Production.INFO: ==11614== Lock acquired, processing the job...
[2025-04-12 07:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 07:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 07:31:01] Production.INFO: neon service started
[2025-04-12 07:31:01] Production.INFO: neon service started
[2025-04-12 07:31:01] Production.INFO: ==11614== Releasing lock...
[2025-04-12 07:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 07:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 02:31:01] Production.INFO: ==11616== Lock acquired, processing the job...
[2025-04-12 02:31:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 06:31:01] Production.INFO: ==11618== Lock acquired, processing the job...
[2025-04-12 06:31:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 06:31:02] Production.INFO: ==11618== Releasing lock...
[2025-04-12 06:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 06:31:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 02:31:02] Production.INFO: ==11616== Releasing lock...
[2025-04-12 02:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 02:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 02:31:02] Production.INFO: ==11620== Lock acquired, processing the job...
[2025-04-12 02:31:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 02:31:02] Production.INFO: ==11622== Lock acquired, processing the job...
[2025-04-12 02:31:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 02:31:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 02:31:02] Production.INFO: ==11626== Lock acquired, processing the job...
[2025-04-12 02:31:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 02:31:03] Production.INFO: Account Balance Start.
[2025-04-12 02:31:03] Production.INFO: CreateAllLog Start
[2025-04-12 02:31:03] Production.INFO: 117
[2025-04-12 02:31:03] Production.INFO: Date 2025-04-08
[2025-04-12 02:31:03] Production.INFO: Reseller ==> 0
[2025-04-12 02:31:03] Production.INFO: Date 2025-04-09
[2025-04-12 02:31:03] Production.INFO: Reseller ==> 0
[2025-04-12 02:31:03] Production.INFO: Date 2025-04-10
[2025-04-12 02:31:03] Production.INFO: Reseller ==> 0
[2025-04-12 02:31:03] Production.INFO: Date 2025-04-11
[2025-04-12 02:31:03] Production.INFO: Reseller ==> 0
[2025-04-12 02:31:03] Production.INFO: Date 2025-04-12
[2025-04-12 02:31:03] Production.INFO: Reseller ==> 0
[2025-04-12 02:31:03] Production.INFO: ==11624== Lock acquired, processing the job...
[2025-04-12 02:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 02:31:03] Production.INFO: ==11622== Releasing lock...
[2025-04-12 02:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 02:31:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 02:31:03] Production.INFO: Total Charge 0
[2025-04-12 02:31:03] Production.INFO: CreateAllLog End
[2025-04-12 02:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 02:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 02:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 02:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 02:31:03] Production.INFO: ==11628== Lock acquired, processing the job...
[2025-04-12 02:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 02:31:03] Production.INFO: ==11631== Lock acquired, processing the job...
[2025-04-12 02:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 02:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 02:31:03] Production.INFO: Account Balance End.
[2025-04-12 02:31:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 02:31:03] Production.INFO: count ==12
[2025-04-12 02:31:03] Production.ERROR: CronJobId end 12
[2025-04-12 02:31:03] Production.INFO: ==11626== Releasing lock...
[2025-04-12 02:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 02:31:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 02:31:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 02:31:03] Production.INFO: count ==23
[2025-04-12 02:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14888513') start
[2025-04-12 02:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14888513') end
[2025-04-12 02:31:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 02:31:03] Production.INFO: 1
[2025-04-12 02:31:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 02:31:03] Production.ERROR: done
[2025-04-12 02:31:03] Production.INFO: ==11631== Releasing lock...
[2025-04-12 02:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 02:31:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 02:31:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 02:31:04] Production.ERROR: done
[2025-04-12 02:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 23:31:05
[end_date_ymd] => 2025-04-12 02:31:05
[RateCDR] => 1
)
[2025-04-12 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-11 23:31:05' and `end` < '2025-04-12 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-12 02:31:11] Production.ERROR: CronJobId end10
[2025-04-12 02:31:11] Production.INFO: ==11624== Releasing lock...
[2025-04-12 02:31:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 02:31:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 02:31:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 02:31:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 02:31:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 02:31:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 02:31:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 02:31:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 02:31:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 02:31:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 02:31:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 02:31:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 02:31:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 02:31:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 02:31:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 02:31:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 02:31:14] Production.INFO: call_cost start
[2025-04-12 02:31:14] Production.INFO: call_cost end
[2025-04-12 02:31:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 02:31:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 02:31:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 02:31:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 02:31:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 02:31:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 02:31:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 02:31:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 02:31:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 02:31:15] Production.INFO: ==11620== Releasing lock...
[2025-04-12 02:31:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 02:31:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 02:31:17] Production.INFO: count ==345
[2025-04-12 02:31:17] Production.ERROR: pbx CDR StartTime 2025-04-11 23:31:05 - End Time 2025-04-12 02:31:05
[2025-04-12 02:31:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 02:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888514', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888514', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888514', 'tblTempVendorCDR_20' ) start
[2025-04-12 02:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888514', 'tblTempVendorCDR_20' ) end
[2025-04-12 02:31:18] Production.INFO: ProcessCDR(1,14888514,1,1,2)
[2025-04-12 02:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888514,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:31:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888514,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:31:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888514,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:31:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888514,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888514', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888514', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:31:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 02:31:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 02:31:21] Production.INFO: ==11628== Releasing lock...
[2025-04-12 02:31:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 02:31:21] Production.INFO: 30 MB #Memory Used#
[2025-04-12 07:32:01] Production.INFO: ==11686== Lock acquired, processing the job...
[2025-04-12 07:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 07:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 07:32:01] Production.INFO: neon service started
[2025-04-12 07:32:01] Production.INFO: neon service started
[2025-04-12 07:32:01] Production.INFO: ==11686== Releasing lock...
[2025-04-12 07:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 07:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 02:32:02] Production.INFO: ==11688== Lock acquired, processing the job...
[2025-04-12 02:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 06:32:02] Production.INFO: ==11690== Lock acquired, processing the job...
[2025-04-12 06:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 06:32:02] Production.INFO: ==11690== Releasing lock...
[2025-04-12 06:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 06:32:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 02:32:02] Production.INFO: ==11688== Releasing lock...
[2025-04-12 02:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 02:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 02:32:03] Production.INFO: ==11699== Lock acquired, processing the job...
[2025-04-12 02:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 02:32:03] Production.INFO: ==11701== Lock acquired, processing the job...
[2025-04-12 02:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 02:32:03] Production.INFO: Account Balance Start.
[2025-04-12 02:32:03] Production.INFO: CreateAllLog Start
[2025-04-12 02:32:03] Production.INFO: 117
[2025-04-12 02:32:03] Production.INFO: Date 2025-04-08
[2025-04-12 02:32:03] Production.INFO: Reseller ==> 0
[2025-04-12 02:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 02:32:03] Production.INFO: Date 2025-04-09
[2025-04-12 02:32:03] Production.INFO: Reseller ==> 0
[2025-04-12 02:32:03] Production.INFO: Date 2025-04-10
[2025-04-12 02:32:03] Production.INFO: Reseller ==> 0
[2025-04-12 02:32:03] Production.INFO: Date 2025-04-11
[2025-04-12 02:32:03] Production.INFO: Reseller ==> 0
[2025-04-12 02:32:03] Production.INFO: Date 2025-04-12
[2025-04-12 02:32:03] Production.INFO: Reseller ==> 0
[2025-04-12 02:32:03] Production.INFO: Total Charge 0
[2025-04-12 02:32:03] Production.INFO: CreateAllLog End
[2025-04-12 02:32:04] Production.INFO: Account Balance End.
[2025-04-12 02:32:04] Production.INFO: ==11693== Lock acquired, processing the job...
[2025-04-12 02:32:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 02:32:04] Production.ERROR: done
[2025-04-12 02:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 02:32:04] Production.ERROR: CronJobId end 12
[2025-04-12 02:32:04] Production.INFO: ==11699== Releasing lock...
[2025-04-12 02:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 02:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 02:32:04] Production.INFO: ==11695== Lock acquired, processing the job...
[2025-04-12 02:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 02:32:04] Production.INFO: ==11697== Lock acquired, processing the job...
[2025-04-12 02:32:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 02:32:04] Production.INFO: ==11703== Lock acquired, processing the job...
[2025-04-12 02:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 02:32:04] Production.ERROR: done
[2025-04-12 02:32:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 02:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 02:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 02:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 02:32:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 02:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 02:32:04] Production.INFO: count ==12
[2025-04-12 02:32:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 02:32:04] Production.INFO: count ==23
[2025-04-12 02:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888516') start
[2025-04-12 02:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888516') end
[2025-04-12 02:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 02:32:04] Production.INFO: 1
[2025-04-12 02:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 02:32:04] Production.INFO: ==11703== Releasing lock...
[2025-04-12 02:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 02:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 02:32:04] Production.INFO: ==11695== Releasing lock...
[2025-04-12 02:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 02:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 02:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 23:32:05
[end_date_ymd] => 2025-04-12 02:32:05
[RateCDR] => 1
)
[2025-04-12 02:32:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 23:32:05' and `end` < '2025-04-12 02:32:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 02:32:13] Production.ERROR: CronJobId end10
[2025-04-12 02:32:13] Production.INFO: ==11697== Releasing lock...
[2025-04-12 02:32:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 02:32:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 02:32:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 02:32:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 02:32:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 02:32:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 02:32:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 02:32:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 02:32:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 02:32:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 02:32:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 02:32:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 02:32:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 02:32:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 02:32:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 02:32:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 02:32:15] Production.INFO: call_cost start
[2025-04-12 02:32:15] Production.INFO: call_cost end
[2025-04-12 02:32:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 02:32:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 02:32:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 02:32:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 02:32:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 02:32:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 02:32:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 02:32:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 02:32:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 02:32:16] Production.INFO: ==11693== Releasing lock...
[2025-04-12 02:32:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 02:32:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 02:32:17] Production.INFO: count ==343
[2025-04-12 02:32:17] Production.ERROR: pbx CDR StartTime 2025-04-11 23:32:05 - End Time 2025-04-12 02:32:05
[2025-04-12 02:32:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 02:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888519', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888519', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888519', 'tblTempVendorCDR_20' ) start
[2025-04-12 02:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888519', 'tblTempVendorCDR_20' ) end
[2025-04-12 02:32:17] Production.INFO: ProcessCDR(1,14888519,1,1,2)
[2025-04-12 02:32:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888519,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:32:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888519,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:32:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888519,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:32:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888519,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888519', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888519', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:32:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 02:32:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 02:32:21] Production.INFO: ==11701== Releasing lock...
[2025-04-12 02:32:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 02:32:21] Production.INFO: 30 MB #Memory Used#
[2025-04-12 07:33:01] Production.INFO: ==11757== Lock acquired, processing the job...
[2025-04-12 07:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 07:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 07:33:01] Production.INFO: neon service started
[2025-04-12 07:33:01] Production.INFO: neon service started
[2025-04-12 07:33:01] Production.INFO: ==11757== Releasing lock...
[2025-04-12 07:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 07:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 06:33:01] Production.INFO: ==11761== Lock acquired, processing the job...
[2025-04-12 06:33:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 06:33:01] Production.INFO: ==11761== Releasing lock...
[2025-04-12 06:33:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 06:33:01] Production.INFO: 25 MB #Memory Used#
[2025-04-12 02:33:01] Production.INFO: ==11759== Lock acquired, processing the job...
[2025-04-12 02:33:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 02:33:02] Production.INFO: ==11759== Releasing lock...
[2025-04-12 02:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 02:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 02:33:03] Production.INFO: ==11766== Lock acquired, processing the job...
[2025-04-12 02:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 02:33:03] Production.INFO: ==11768== Lock acquired, processing the job...
[2025-04-12 02:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 02:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 02:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 02:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 02:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 02:33:03] Production.INFO: ==11764== Lock acquired, processing the job...
[2025-04-12 02:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 02:33:03] Production.INFO: ==11766== Releasing lock...
[2025-04-12 02:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 02:33:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 02:33:03] Production.INFO: ==11772== Lock acquired, processing the job...
[2025-04-12 02:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 02:33:03] Production.INFO: ==11770== Lock acquired, processing the job...
[2025-04-12 02:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 02:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 02:33:03] Production.INFO: ==11774== Lock acquired, processing the job...
[2025-04-12 02:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 02:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 02:33:03] Production.INFO: Account Balance Start.
[2025-04-12 02:33:03] Production.INFO: CreateAllLog Start
[2025-04-12 02:33:03] Production.INFO: 117
[2025-04-12 02:33:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 02:33:03] Production.INFO: Date 2025-04-08
[2025-04-12 02:33:03] Production.INFO: Reseller ==> 0
[2025-04-12 02:33:03] Production.INFO: count ==12
[2025-04-12 02:33:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 02:33:03] Production.INFO: count ==23
[2025-04-12 02:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14888523') start
[2025-04-12 02:33:03] Production.INFO: Date 2025-04-09
[2025-04-12 02:33:03] Production.INFO: Reseller ==> 0
[2025-04-12 02:33:03] Production.INFO: Date 2025-04-10
[2025-04-12 02:33:03] Production.INFO: Reseller ==> 0
[2025-04-12 02:33:03] Production.INFO: Date 2025-04-11
[2025-04-12 02:33:03] Production.INFO: Reseller ==> 0
[2025-04-12 02:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14888523') end
[2025-04-12 02:33:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 02:33:03] Production.INFO: 1
[2025-04-12 02:33:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 02:33:03] Production.INFO: Date 2025-04-12
[2025-04-12 02:33:03] Production.INFO: Reseller ==> 0
[2025-04-12 02:33:03] Production.INFO: Total Charge 0
[2025-04-12 02:33:04] Production.INFO: ==11774== Releasing lock...
[2025-04-12 02:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 02:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 02:33:04] Production.INFO: CreateAllLog End
[2025-04-12 02:33:04] Production.ERROR: done
[2025-04-12 02:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 02:33:04] Production.ERROR: done
[2025-04-12 02:33:04] Production.INFO: Account Balance End.
[2025-04-12 02:33:04] Production.ERROR: CronJobId end 12
[2025-04-12 02:33:04] Production.INFO: ==11770== Releasing lock...
[2025-04-12 02:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 02:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 02:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 23:33:05
[end_date_ymd] => 2025-04-12 02:33:05
[RateCDR] => 1
)
[2025-04-12 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-11 23:33:05' and `end` < '2025-04-12 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-12 02:33:12] Production.ERROR: CronJobId end10
[2025-04-12 02:33:12] Production.INFO: ==11768== Releasing lock...
[2025-04-12 02:33:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 02:33:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 02:33:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 02:33:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 02:33:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 02:33:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 02:33:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 02:33:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 02:33:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 02:33:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 02:33:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 02:33:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 02:33:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 02:33:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 02:33:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 02:33:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 02:33:15] Production.INFO: call_cost start
[2025-04-12 02:33:15] Production.INFO: call_cost end
[2025-04-12 02:33:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 02:33:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 02:33:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 02:33:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 02:33:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 02:33:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 02:33:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 02:33:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 02:33:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 02:33:16] Production.INFO: ==11764== Releasing lock...
[2025-04-12 02:33:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 02:33:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 02:33:18] Production.INFO: count ==341
[2025-04-12 02:33:18] Production.ERROR: pbx CDR StartTime 2025-04-11 23:33:05 - End Time 2025-04-12 02:33:05
[2025-04-12 02:33:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 02:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888524', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888524', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888524', 'tblTempVendorCDR_20' ) start
[2025-04-12 02:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888524', 'tblTempVendorCDR_20' ) end
[2025-04-12 02:33:18] Production.INFO: ProcessCDR(1,14888524,1,1,2)
[2025-04-12 02:33:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888524,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:33:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888524,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:33:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888524,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:33:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888524,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888524', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888524', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:33:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 02:33:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 02:33:21] Production.INFO: ==11772== Releasing lock...
[2025-04-12 02:33:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 02:33:21] Production.INFO: 30 MB #Memory Used#
[2025-04-12 07:34:01] Production.INFO: ==11831== Lock acquired, processing the job...
[2025-04-12 07:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 07:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 07:34:01] Production.INFO: neon service started
[2025-04-12 07:34:01] Production.INFO: neon service started
[2025-04-12 07:34:01] Production.INFO: ==11831== Releasing lock...
[2025-04-12 07:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 07:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 06:34:02] Production.INFO: ==11836== Lock acquired, processing the job...
[2025-04-12 06:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 06:34:02] Production.INFO: ==11836== Releasing lock...
[2025-04-12 06:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 06:34:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 02:34:02] Production.INFO: ==11834== Lock acquired, processing the job...
[2025-04-12 02:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 02:34:02] Production.INFO: ==11834== Releasing lock...
[2025-04-12 02:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 02:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 02:34:03] Production.INFO: ==11846== Lock acquired, processing the job...
[2025-04-12 02:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 02:34:03] Production.INFO: ==11848== Lock acquired, processing the job...
[2025-04-12 02:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 02:34:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 02:34:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 02:34:04] Production.INFO: ==11838== Lock acquired, processing the job...
[2025-04-12 02:34:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 02:34:04] Production.INFO: count ==12
[2025-04-12 02:34:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 02:34:04] Production.INFO: count ==23
[2025-04-12 02:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888525') start
[2025-04-12 02:34:04] Production.INFO: ==11840== Lock acquired, processing the job...
[2025-04-12 02:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 02:34:04] Production.INFO: ==11842== Lock acquired, processing the job...
[2025-04-12 02:34:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 02:34:04] Production.INFO: ==11844== Lock acquired, processing the job...
[2025-04-12 02:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 02:34:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 02:34:04] Production.ERROR: done
[2025-04-12 02:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 02:34:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 02:34:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 02:34:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 02:34:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 02:34:04] Production.INFO: Account Balance Start.
[2025-04-12 02:34:04] Production.INFO: CreateAllLog Start
[2025-04-12 02:34:04] Production.INFO: 117
[2025-04-12 02:34:04] Production.ERROR: done
[2025-04-12 02:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888525') end
[2025-04-12 02:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 02:34:04] Production.INFO: 1
[2025-04-12 02:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 02:34:04] Production.INFO: Date 2025-04-08
[2025-04-12 02:34:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:34:04] Production.INFO: Date 2025-04-09
[2025-04-12 02:34:04] Production.INFO: ==11848== Releasing lock...
[2025-04-12 02:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 02:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 02:34:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:34:04] Production.INFO: Date 2025-04-10
[2025-04-12 02:34:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:34:04] Production.INFO: ==11840== Releasing lock...
[2025-04-12 02:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 02:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 02:34:04] Production.INFO: Date 2025-04-11
[2025-04-12 02:34:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:34:04] Production.INFO: Date 2025-04-12
[2025-04-12 02:34:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:34:04] Production.INFO: Total Charge 0
[2025-04-12 02:34:04] Production.INFO: CreateAllLog End
[2025-04-12 02:34:05] Production.INFO: Account Balance End.
[2025-04-12 02:34:05] Production.ERROR: CronJobId end 12
[2025-04-12 02:34:05] Production.INFO: ==11844== Releasing lock...
[2025-04-12 02:34:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 02:34:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 02:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 23:34:05
[end_date_ymd] => 2025-04-12 02:34:05
[RateCDR] => 1
)
[2025-04-12 02:34:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 23:34:05' and `end` < '2025-04-12 02:34:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 02:34:14] Production.ERROR: CronJobId end10
[2025-04-12 02:34:14] Production.INFO: ==11842== Releasing lock...
[2025-04-12 02:34:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 02:34:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 02:34:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 02:34:17] Production.INFO: ============== Balance Warning START===========
[2025-04-12 02:34:17] Production.INFO: ============== Balance Warning END===========
[2025-04-12 02:34:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 02:34:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 02:34:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 02:34:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 02:34:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 02:34:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 02:34:17] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 02:34:17] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 02:34:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 02:34:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 02:34:17] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 02:34:17] Production.INFO: call_cost start
[2025-04-12 02:34:17] Production.INFO: call_cost end
[2025-04-12 02:34:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 02:34:18] Production.INFO: ============== Report Schedule START===========
[2025-04-12 02:34:18] Production.INFO: ============== Report Schedule END===========
[2025-04-12 02:34:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 02:34:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 02:34:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 02:34:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 02:34:18] Production.INFO: ============== Deal alert START===========
[2025-04-12 02:34:18] Production.INFO: ============== Deal alert END===========
[2025-04-12 02:34:18] Production.INFO: ==11838== Releasing lock...
[2025-04-12 02:34:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 02:34:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 02:34:18] Production.INFO: count ==339
[2025-04-12 02:34:18] Production.ERROR: pbx CDR StartTime 2025-04-11 23:34:05 - End Time 2025-04-12 02:34:05
[2025-04-12 02:34:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 02:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888529', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888529', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888529', 'tblTempVendorCDR_20' ) start
[2025-04-12 02:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888529', 'tblTempVendorCDR_20' ) end
[2025-04-12 02:34:18] Production.INFO: ProcessCDR(1,14888529,1,1,2)
[2025-04-12 02:34:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888529,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:34:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888529,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:34:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888529,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:34:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888529,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888529', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888529', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:34:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 02:34:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 02:34:22] Production.INFO: ==11846== Releasing lock...
[2025-04-12 02:34:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 02:34:22] Production.INFO: 30 MB #Memory Used#
[2025-04-12 07:35:02] Production.INFO: ==11904== Lock acquired, processing the job...
[2025-04-12 07:35:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 07:35:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 07:35:02] Production.INFO: neon service started
[2025-04-12 07:35:02] Production.INFO: neon service started
[2025-04-12 07:35:02] Production.INFO: ==11904== Releasing lock...
[2025-04-12 07:35:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 07:35:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 02:35:02] Production.INFO: ==11906== Lock acquired, processing the job...
[2025-04-12 02:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 02:35:03] Production.INFO: ==11906== Releasing lock...
[2025-04-12 02:35:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 02:35:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 06:35:03] Production.INFO: ==11908== Lock acquired, processing the job...
[2025-04-12 06:35:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 06:35:03] Production.INFO: ==11908== Releasing lock...
[2025-04-12 06:35:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 06:35:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 02:35:04] Production.INFO: ==11917== Lock acquired, processing the job...
[2025-04-12 02:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 02:35:04] Production.INFO: ==11910== Lock acquired, processing the job...
[2025-04-12 02:35:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 02:35:04] Production.INFO: Account Balance Start.
[2025-04-12 02:35:04] Production.INFO: CreateAllLog Start
[2025-04-12 02:35:04] Production.INFO: 117
[2025-04-12 02:35:04] Production.INFO: Date 2025-04-08
[2025-04-12 02:35:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:35:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 02:35:04] Production.INFO: ==11912== Lock acquired, processing the job...
[2025-04-12 02:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 02:35:04] Production.INFO: Date 2025-04-09
[2025-04-12 02:35:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:35:04] Production.INFO: Date 2025-04-10
[2025-04-12 02:35:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:35:04] Production.INFO: Date 2025-04-11
[2025-04-12 02:35:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:35:04] Production.INFO: ==11914== Lock acquired, processing the job...
[2025-04-12 02:35:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 02:35:04] Production.INFO: Date 2025-04-12
[2025-04-12 02:35:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:35:04] Production.INFO: Total Charge 0
[2025-04-12 02:35:04] Production.INFO: CreateAllLog End
[2025-04-12 02:35:04] Production.INFO: ==11920== Lock acquired, processing the job...
[2025-04-12 02:35:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 02:35:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 02:35:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 02:35:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 02:35:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 02:35:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 02:35:04] Production.INFO: ==11923== Lock acquired, processing the job...
[2025-04-12 02:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 02:35:04] Production.INFO: Account Balance End.
[2025-04-12 02:35:04] Production.ERROR: CronJobId end 12
[2025-04-12 02:35:04] Production.INFO: ==11917== Releasing lock...
[2025-04-12 02:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 02:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 02:35:04] Production.INFO: ==11912== Releasing lock...
[2025-04-12 02:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 02:35:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 02:35:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 02:35:04] Production.INFO: count ==12
[2025-04-12 02:35:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 02:35:04] Production.INFO: count ==23
[2025-04-12 02:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888533') start
[2025-04-12 02:35:05] Production.ERROR: done
[2025-04-12 02:35:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 02:35:05] Production.ERROR: PBX CALL prc_importPBXExtension('14888533') end
[2025-04-12 02:35:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 02:35:05] Production.INFO: 1
[2025-04-12 02:35:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 02:35:05] Production.INFO: ==11923== Releasing lock...
[2025-04-12 02:35:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 02:35:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 02:35:05] Production.ERROR: done
[2025-04-12 02:35:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 23:35:06
[end_date_ymd] => 2025-04-12 02:35:06
[RateCDR] => 1
)
[2025-04-12 02:35:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 23:35:06' and `end` < '2025-04-12 02:35:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 02:35:14] Production.ERROR: CronJobId end10
[2025-04-12 02:35:14] Production.INFO: ==11914== Releasing lock...
[2025-04-12 02:35:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 02:35:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 02:35:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 02:35:17] Production.INFO: ============== Balance Warning START===========
[2025-04-12 02:35:17] Production.INFO: ============== Balance Warning END===========
[2025-04-12 02:35:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 02:35:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 02:35:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 02:35:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 02:35:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 02:35:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 02:35:17] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 02:35:17] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 02:35:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 02:35:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 02:35:17] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 02:35:17] Production.INFO: call_cost start
[2025-04-12 02:35:17] Production.INFO: call_cost end
[2025-04-12 02:35:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 02:35:18] Production.INFO: ============== Report Schedule START===========
[2025-04-12 02:35:18] Production.INFO: ============== Report Schedule END===========
[2025-04-12 02:35:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 02:35:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 02:35:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 02:35:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 02:35:18] Production.INFO: ============== Deal alert START===========
[2025-04-12 02:35:18] Production.INFO: ============== Deal alert END===========
[2025-04-12 02:35:18] Production.INFO: ==11910== Releasing lock...
[2025-04-12 02:35:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 02:35:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 02:35:19] Production.INFO: count ==338
[2025-04-12 02:35:19] Production.ERROR: pbx CDR StartTime 2025-04-11 23:35:06 - End Time 2025-04-12 02:35:06
[2025-04-12 02:35:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 02:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888534', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888534', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888534', 'tblTempVendorCDR_20' ) start
[2025-04-12 02:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888534', 'tblTempVendorCDR_20' ) end
[2025-04-12 02:35:19] Production.INFO: ProcessCDR(1,14888534,1,1,2)
[2025-04-12 02:35:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888534,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:35:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888534,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:35:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888534,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:35:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888534,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:35:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888534', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:35:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888534', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:35:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 02:35:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 02:35:23] Production.INFO: ==11920== Releasing lock...
[2025-04-12 02:35:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 02:35:23] Production.INFO: 30 MB #Memory Used#
[2025-04-12 07:36:01] Production.INFO: ==11974== Lock acquired, processing the job...
[2025-04-12 07:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 07:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 07:36:01] Production.INFO: neon service started
[2025-04-12 07:36:01] Production.INFO: neon service started
[2025-04-12 07:36:01] Production.INFO: ==11974== Releasing lock...
[2025-04-12 07:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 07:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 02:36:02] Production.INFO: ==11977== Lock acquired, processing the job...
[2025-04-12 02:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 02:36:02] Production.INFO: ==11977== Releasing lock...
[2025-04-12 02:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 02:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 06:36:02] Production.INFO: ==11979== Lock acquired, processing the job...
[2025-04-12 06:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 06:36:02] Production.INFO: ==11979== Releasing lock...
[2025-04-12 06:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 06:36:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 02:36:03] Production.INFO: ==11983== Lock acquired, processing the job...
[2025-04-12 02:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 02:36:03] Production.INFO: ==11981== Lock acquired, processing the job...
[2025-04-12 02:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 02:36:03] Production.INFO: ==11987== Lock acquired, processing the job...
[2025-04-12 02:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 02:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 02:36:03] Production.INFO: Account Balance Start.
[2025-04-12 02:36:03] Production.INFO: CreateAllLog Start
[2025-04-12 02:36:03] Production.INFO: 117
[2025-04-12 02:36:03] Production.INFO: Date 2025-04-08
[2025-04-12 02:36:03] Production.INFO: Reseller ==> 0
[2025-04-12 02:36:03] Production.INFO: ==11985== Lock acquired, processing the job...
[2025-04-12 02:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 02:36:03] Production.INFO: Date 2025-04-09
[2025-04-12 02:36:03] Production.INFO: Reseller ==> 0
[2025-04-12 02:36:03] Production.INFO: Date 2025-04-10
[2025-04-12 02:36:03] Production.INFO: Reseller ==> 0
[2025-04-12 02:36:04] Production.INFO: Date 2025-04-11
[2025-04-12 02:36:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:36:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 02:36:04] Production.INFO: ==11989== Lock acquired, processing the job...
[2025-04-12 02:36:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 02:36:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 02:36:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 02:36:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 02:36:04] Production.INFO: ==11983== Releasing lock...
[2025-04-12 02:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 02:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 02:36:04] Production.INFO: Date 2025-04-12
[2025-04-12 02:36:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:36:04] Production.INFO: Total Charge 0
[2025-04-12 02:36:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 02:36:04] Production.INFO: CreateAllLog End
[2025-04-12 02:36:04] Production.INFO: ==11991== Lock acquired, processing the job...
[2025-04-12 02:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 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-12 02:36:04] Production.INFO: count ==12
[2025-04-12 02:36:04] Production.ERROR: done
[2025-04-12 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-12 02:36:04] Production.INFO: count ==23
[2025-04-12 02:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 02:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888538') start
[2025-04-12 02:36:04] Production.INFO: Account Balance End.
[2025-04-12 02:36:04] Production.ERROR: CronJobId end 12
[2025-04-12 02:36:04] Production.INFO: ==11987== Releasing lock...
[2025-04-12 02:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 02:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 02:36:04] Production.ERROR: done
[2025-04-12 02:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888538') end
[2025-04-12 02:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 02:36:04] Production.INFO: 1
[2025-04-12 02:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 02:36:05] Production.INFO: ==11991== Releasing lock...
[2025-04-12 02:36:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 02:36:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 02:36:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 23:36:06
[end_date_ymd] => 2025-04-12 02:36:06
[RateCDR] => 1
)
[2025-04-12 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-11 23:36:06' and `end` < '2025-04-12 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-12 02:36:14] Production.ERROR: CronJobId end10
[2025-04-12 02:36:14] Production.INFO: ==11985== Releasing lock...
[2025-04-12 02:36:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 02:36:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 02:36:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 02:36:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 02:36:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 02:36:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 02:36:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 02:36:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 02:36:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 02:36:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 02:36:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 02:36:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 02:36:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 02:36:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 02:36:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 02:36:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 02:36:16] Production.INFO: call_cost start
[2025-04-12 02:36:16] Production.INFO: call_cost end
[2025-04-12 02:36:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 02:36:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 02:36:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 02:36:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 02:36:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 02:36:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 02:36:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 02:36:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 02:36:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 02:36:17] Production.INFO: ==11981== Releasing lock...
[2025-04-12 02:36:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 02:36:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 02:36:19] Production.INFO: count ==339
[2025-04-12 02:36:19] Production.ERROR: pbx CDR StartTime 2025-04-11 23:36:06 - End Time 2025-04-12 02:36:06
[2025-04-12 02:36:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 02:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888539', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888539', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888539', 'tblTempVendorCDR_20' ) start
[2025-04-12 02:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888539', 'tblTempVendorCDR_20' ) end
[2025-04-12 02:36:19] Production.INFO: ProcessCDR(1,14888539,1,1,2)
[2025-04-12 02:36:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888539,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:36:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888539,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:36:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888539,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:36:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888539,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:36:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888539', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:36:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888539', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:36:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 02:36:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 02:36:24] Production.INFO: ==11989== Releasing lock...
[2025-04-12 02:36:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 02:36:24] Production.INFO: 30 MB #Memory Used#
[2025-04-12 07:37:02] Production.INFO: ==12054== Lock acquired, processing the job...
[2025-04-12 07:37:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 07:37:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 07:37:02] Production.INFO: neon service started
[2025-04-12 07:37:02] Production.INFO: neon service started
[2025-04-12 07:37:02] Production.INFO: ==12054== Releasing lock...
[2025-04-12 07:37:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 07:37:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 02:37:02] Production.INFO: ==12057== Lock acquired, processing the job...
[2025-04-12 02:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 06:37:03] Production.INFO: ==12059== Lock acquired, processing the job...
[2025-04-12 06:37:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 06:37:03] Production.INFO: ==12059== Releasing lock...
[2025-04-12 06:37:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 06:37:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 02:37:03] Production.INFO: ==12057== Releasing lock...
[2025-04-12 02:37:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 02:37:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 02:37:04] Production.INFO: ==12067== Lock acquired, processing the job...
[2025-04-12 02:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 02:37:04] Production.INFO: ==12065== Lock acquired, processing the job...
[2025-04-12 02:37:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 02:37:04] Production.INFO: ==12061== Lock acquired, processing the job...
[2025-04-12 02:37:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 02:37:04] Production.INFO: Account Balance Start.
[2025-04-12 02:37:04] Production.INFO: CreateAllLog Start
[2025-04-12 02:37:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 02:37:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 02:37:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 02:37:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 02:37:04] Production.INFO: 117
[2025-04-12 02:37:04] Production.INFO: Date 2025-04-08
[2025-04-12 02:37:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:37:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 02:37:04] Production.INFO: Date 2025-04-09
[2025-04-12 02:37:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:37:04] Production.INFO: ==12063== Lock acquired, processing the job...
[2025-04-12 02:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 02:37:04] Production.INFO: Date 2025-04-10
[2025-04-12 02:37:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:37:04] Production.INFO: Date 2025-04-11
[2025-04-12 02:37:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:37:04] Production.INFO: Date 2025-04-12
[2025-04-12 02:37:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:37:04] Production.INFO: ==12069== Lock acquired, processing the job...
[2025-04-12 02:37:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 02:37:04] Production.INFO: ==12071== Lock acquired, processing the job...
[2025-04-12 02:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 02:37:04] Production.INFO: Total Charge 0
[2025-04-12 02:37:04] Production.INFO: CreateAllLog End
[2025-04-12 02:37:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 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-12 02:37:05] Production.INFO: count ==12
[2025-04-12 02:37: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-12 02:37:05] Production.INFO: count ==23
[2025-04-12 02:37:05] Production.ERROR: PBX CALL prc_importPBXExtension('14888543') start
[2025-04-12 02:37:05] Production.INFO: ==12063== Releasing lock...
[2025-04-12 02:37:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 02:37:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 02:37:05] Production.INFO: Account Balance End.
[2025-04-12 02:37:05] Production.ERROR: PBX CALL prc_importPBXExtension('14888543') end
[2025-04-12 02:37:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 02:37:05] Production.INFO: 1
[2025-04-12 02:37:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 02:37:05] Production.INFO: ==12071== Releasing lock...
[2025-04-12 02:37:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 02:37:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 02:37:05] Production.ERROR: CronJobId end 12
[2025-04-12 02:37:05] Production.INFO: ==12067== Releasing lock...
[2025-04-12 02:37:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 02:37:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 02:37:05] Production.ERROR: done
[2025-04-12 02:37:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 02:37:05] Production.ERROR: done
[2025-04-12 02:37:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 23:37:06
[end_date_ymd] => 2025-04-12 02:37:06
[RateCDR] => 1
)
[2025-04-12 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-11 23:37:06' and `end` < '2025-04-12 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-12 02:37:13] Production.ERROR: CronJobId end10
[2025-04-12 02:37:13] Production.INFO: ==12065== Releasing lock...
[2025-04-12 02:37:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 02:37:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 02:37:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 02:37:16] Production.INFO: ============== Balance Warning START===========
[2025-04-12 02:37:16] Production.INFO: ============== Balance Warning END===========
[2025-04-12 02:37:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 02:37:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 02:37:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 02:37:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 02:37:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 02:37:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 02:37:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 02:37:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 02:37:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 02:37:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 02:37:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 02:37:16] Production.INFO: call_cost start
[2025-04-12 02:37:16] Production.INFO: call_cost end
[2025-04-12 02:37:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 02:37:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 02:37:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 02:37:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 02:37:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 02:37:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 02:37:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 02:37:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 02:37:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 02:37:17] Production.INFO: ==12061== Releasing lock...
[2025-04-12 02:37:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 02:37:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 02:37:19] Production.INFO: count ==339
[2025-04-12 02:37:19] Production.ERROR: pbx CDR StartTime 2025-04-11 23:37:06 - End Time 2025-04-12 02:37:06
[2025-04-12 02:37:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 02:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888544', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888544', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888544', 'tblTempVendorCDR_20' ) start
[2025-04-12 02:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888544', 'tblTempVendorCDR_20' ) end
[2025-04-12 02:37:19] Production.INFO: ProcessCDR(1,14888544,1,1,2)
[2025-04-12 02:37:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888544,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:37:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888544,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:37:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888544,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:37:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888544,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:37:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888544', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:37:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888544', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:37:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 02:37:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 02:37:23] Production.INFO: ==12069== Releasing lock...
[2025-04-12 02:37:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 02:37:23] Production.INFO: 30 MB #Memory Used#
[2025-04-12 07:38:01] Production.INFO: ==12126== Lock acquired, processing the job...
[2025-04-12 07:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 07:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 07:38:01] Production.INFO: neon service started
[2025-04-12 07:38:02] Production.INFO: neon service started
[2025-04-12 07:38:02] Production.INFO: ==12126== Releasing lock...
[2025-04-12 07:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 07:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 02:38:02] Production.INFO: ==12128== Lock acquired, processing the job...
[2025-04-12 02:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 02:38:02] Production.INFO: ==12128== Releasing lock...
[2025-04-12 02:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 02:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 06:38:02] Production.INFO: ==12130== Lock acquired, processing the job...
[2025-04-12 06:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 06:38:03] Production.INFO: ==12130== Releasing lock...
[2025-04-12 06:38:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 06:38:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 02:38:03] Production.INFO: ==12133== Lock acquired, processing the job...
[2025-04-12 02:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 02:38:03] Production.INFO: ==12143== Lock acquired, processing the job...
[2025-04-12 02:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 02:38:03] Production.INFO: ==12139== Lock acquired, processing the job...
[2025-04-12 02:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 02:38:04] Production.INFO: ==12135== Lock acquired, processing the job...
[2025-04-12 02:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 02:38:04] Production.INFO: ==12141== Lock acquired, processing the job...
[2025-04-12 02:38:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 02:38:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 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-12 02:38:04] Production.INFO: Account Balance Start.
[2025-04-12 02:38:04] Production.INFO: CreateAllLog Start
[2025-04-12 02:38:04] Production.INFO: 117
[2025-04-12 02:38:04] Production.INFO: Date 2025-04-08
[2025-04-12 02:38:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:38:04] Production.INFO: count ==12
[2025-04-12 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-12 02:38:04] Production.INFO: count ==23
[2025-04-12 02:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888546') start
[2025-04-12 02:38:04] Production.INFO: Date 2025-04-09
[2025-04-12 02:38:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:38:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 02:38:04] Production.INFO: ==12137== Lock acquired, processing the job...
[2025-04-12 02:38:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 02:38:04] Production.INFO: Date 2025-04-10
[2025-04-12 02:38:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888546') end
[2025-04-12 02:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 02:38:04] Production.INFO: 1
[2025-04-12 02:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 02:38:04] Production.INFO: ==12143== Releasing lock...
[2025-04-12 02:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 02:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 02:38:04] Production.INFO: Date 2025-04-11
[2025-04-12 02:38:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 02:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 02:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 02:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 02:38:04] Production.INFO: Date 2025-04-12
[2025-04-12 02:38:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:38:04] Production.INFO: ==12135== Releasing lock...
[2025-04-12 02:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 02:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 02:38:04] Production.INFO: Total Charge 0
[2025-04-12 02:38:04] Production.ERROR: done
[2025-04-12 02:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 02:38:04] Production.INFO: CreateAllLog End
[2025-04-12 02:38:04] Production.ERROR: done
[2025-04-12 02:38:04] Production.INFO: Account Balance End.
[2025-04-12 02:38:04] Production.ERROR: CronJobId end 12
[2025-04-12 02:38:04] Production.INFO: ==12139== Releasing lock...
[2025-04-12 02:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 02:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 02:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 23:38:05
[end_date_ymd] => 2025-04-12 02:38:05
[RateCDR] => 1
)
[2025-04-12 02:38:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 23:38:05' and `end` < '2025-04-12 02:38:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 02:38:13] Production.ERROR: CronJobId end10
[2025-04-12 02:38:13] Production.INFO: ==12137== Releasing lock...
[2025-04-12 02:38:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 02:38:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 02:38:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 02:38:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 02:38:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 02:38:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 02:38:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 02:38:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 02:38:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 02:38:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 02:38:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 02:38:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 02:38:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 02:38:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 02:38:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 02:38:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 02:38:16] Production.INFO: call_cost start
[2025-04-12 02:38:16] Production.INFO: call_cost end
[2025-04-12 02:38:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 02:38:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 02:38:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 02:38:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 02:38:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 02:38:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 02:38:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 02:38:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 02:38:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 02:38:17] Production.INFO: ==12133== Releasing lock...
[2025-04-12 02:38:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 02:38:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 02:38:18] Production.INFO: count ==336
[2025-04-12 02:38:18] Production.ERROR: pbx CDR StartTime 2025-04-11 23:38:05 - End Time 2025-04-12 02:38:05
[2025-04-12 02:38:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 02:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888549', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888549', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888549', 'tblTempVendorCDR_20' ) start
[2025-04-12 02:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888549', 'tblTempVendorCDR_20' ) end
[2025-04-12 02:38:18] Production.INFO: ProcessCDR(1,14888549,1,1,2)
[2025-04-12 02:38:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888549,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:38:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888549,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:38:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888549,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:38:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888549,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888549', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888549', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:38:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 02:38:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 02:38:22] Production.INFO: ==12141== Releasing lock...
[2025-04-12 02:38:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 02:38:22] Production.INFO: 30 MB #Memory Used#
[2025-04-12 07:39:01] Production.INFO: ==12200== Lock acquired, processing the job...
[2025-04-12 07:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 07:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 07:39:01] Production.INFO: neon service started
[2025-04-12 07:39:01] Production.INFO: neon service started
[2025-04-12 07:39:01] Production.INFO: ==12200== Releasing lock...
[2025-04-12 07:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 07:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 02:39:01] Production.INFO: ==12202== Lock acquired, processing the job...
[2025-04-12 02:39:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 02:39:02] Production.INFO: ==12202== Releasing lock...
[2025-04-12 02:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 02:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 06:39:02] Production.INFO: ==12204== Lock acquired, processing the job...
[2025-04-12 06:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 06:39:02] Production.INFO: ==12204== Releasing lock...
[2025-04-12 06:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 06:39:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 02:39:03] Production.INFO: ==12206== Lock acquired, processing the job...
[2025-04-12 02:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 02:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 02:39:03] Production.INFO: ==12208== Lock acquired, processing the job...
[2025-04-12 02:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 02:39:03] Production.INFO: ==12212== Lock acquired, processing the job...
[2025-04-12 02:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 02:39:03] Production.INFO: Account Balance Start.
[2025-04-12 02:39:03] Production.INFO: CreateAllLog Start
[2025-04-12 02:39:03] Production.INFO: 117
[2025-04-12 02:39:03] Production.INFO: Date 2025-04-08
[2025-04-12 02:39:03] Production.INFO: Reseller ==> 0
[2025-04-12 02:39:03] Production.INFO: Date 2025-04-09
[2025-04-12 02:39:03] Production.INFO: Reseller ==> 0
[2025-04-12 02:39:03] Production.INFO: ==12210== Lock acquired, processing the job...
[2025-04-12 02:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 02:39:03] Production.INFO: Date 2025-04-10
[2025-04-12 02:39:03] Production.INFO: Reseller ==> 0
[2025-04-12 02:39:03] Production.INFO: Date 2025-04-11
[2025-04-12 02:39:03] Production.INFO: Reseller ==> 0
[2025-04-12 02:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 02:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 02:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 02:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 02:39:03] Production.INFO: Date 2025-04-12
[2025-04-12 02:39:03] Production.INFO: Reseller ==> 0
[2025-04-12 02:39:03] Production.INFO: ==12217== Lock acquired, processing the job...
[2025-04-12 02:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 02:39:03] Production.INFO: ==12214== Lock acquired, processing the job...
[2025-04-12 02:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 02:39:03] Production.INFO: Total Charge 0
[2025-04-12 02:39:03] Production.INFO: ==12208== Releasing lock...
[2025-04-12 02:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 02:39:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 02:39:03] Production.INFO: CreateAllLog End
[2025-04-12 02:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 02:39:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 02:39:03] Production.INFO: count ==12
[2025-04-12 02:39:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 02:39:04] Production.INFO: count ==23
[2025-04-12 02:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888553') start
[2025-04-12 02:39:04] Production.INFO: Account Balance End.
[2025-04-12 02:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888553') end
[2025-04-12 02:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 02:39:04] Production.INFO: 1
[2025-04-12 02:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 02:39:04] Production.ERROR: CronJobId end 12
[2025-04-12 02:39:04] Production.INFO: ==12212== Releasing lock...
[2025-04-12 02:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 02:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 02:39:04] Production.INFO: ==12217== Releasing lock...
[2025-04-12 02:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 02:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 02:39:04] Production.ERROR: done
[2025-04-12 02:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 02:39:04] Production.ERROR: done
[2025-04-12 02:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 23:39:05
[end_date_ymd] => 2025-04-12 02:39:05
[RateCDR] => 1
)
[2025-04-12 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-11 23:39:05' and `end` < '2025-04-12 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-12 02:39:12] Production.ERROR: CronJobId end10
[2025-04-12 02:39:12] Production.INFO: ==12210== Releasing lock...
[2025-04-12 02:39:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 02:39:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 02:39:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 02:39:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 02:39:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 02:39:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 02:39:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 02:39:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 02:39:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 02:39:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 02:39:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 02:39:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 02:39:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 02:39:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 02:39:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 02:39:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 02:39:16] Production.INFO: call_cost start
[2025-04-12 02:39:16] Production.INFO: call_cost end
[2025-04-12 02:39:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 02:39:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 02:39:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 02:39:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 02:39:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 02:39:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 02:39:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 02:39:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 02:39:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 02:39:17] Production.INFO: ==12206== Releasing lock...
[2025-04-12 02:39:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 02:39:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 02:39:18] Production.INFO: count ==334
[2025-04-12 02:39:19] Production.ERROR: pbx CDR StartTime 2025-04-11 23:39:05 - End Time 2025-04-12 02:39:05
[2025-04-12 02:39:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 02:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888554', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888554', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888554', 'tblTempVendorCDR_20' ) start
[2025-04-12 02:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888554', 'tblTempVendorCDR_20' ) end
[2025-04-12 02:39:19] Production.INFO: ProcessCDR(1,14888554,1,1,2)
[2025-04-12 02:39:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888554,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:39:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888554,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:39:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888554,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:39:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888554,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888554', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888554', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:39:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 02:39:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 02:39:22] Production.INFO: ==12214== Releasing lock...
[2025-04-12 02:39:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 02:39:22] Production.INFO: 30 MB #Memory Used#
[2025-04-12 07:40:02] Production.INFO: ==12272== Lock acquired, processing the job...
[2025-04-12 07:40:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 07:40:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 07:40:02] Production.INFO: neon service started
[2025-04-12 07:40:02] Production.INFO: neon service started
[2025-04-12 07:40:02] Production.INFO: ==12272== Releasing lock...
[2025-04-12 07:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 07:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 06:40:02] Production.INFO: ==12277== Lock acquired, processing the job...
[2025-04-12 06:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 06:40:02] Production.INFO: ==12277== Releasing lock...
[2025-04-12 06:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 06:40:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 02:40:02] Production.INFO: ==12275== Lock acquired, processing the job...
[2025-04-12 02:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 02:40:03] Production.INFO: ==12275== Releasing lock...
[2025-04-12 02:40:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 02:40:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 02:40:04] Production.INFO: ==12287== Lock acquired, processing the job...
[2025-04-12 02:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 02:40:04] Production.INFO: ==12279== Lock acquired, processing the job...
[2025-04-12 02:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 02:40:04] Production.INFO: ==12289== Lock acquired, processing the job...
[2025-04-12 02:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 02:40:04] Production.INFO: Account Balance Start.
[2025-04-12 02:40:04] Production.INFO: CreateAllLog Start
[2025-04-12 02:40:04] Production.INFO: 117
[2025-04-12 02:40:04] Production.INFO: ==12293== Lock acquired, processing the job...
[2025-04-12 02:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 02:40:04] Production.INFO: Date 2025-04-08
[2025-04-12 02:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 02:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 02:40:04] Production.ERROR: CronJob PID - 12287
[2025-04-12 02:40:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-04-12 02:40:04] Production.ERROR: CronJob ID - 12
[2025-04-12 02:40:04] Production.ERROR: CronJob Last Run Time 2025-04-12 02:40:00
[2025-04-12 02:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 02:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 02:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 02:40:04] Production.ERROR: CronJob PID - 12289
[2025-04-12 02:40:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-04-12 02:40:04] Production.ERROR: CronJob ID - 16
[2025-04-12 02:40:04] Production.ERROR: CronJob Last Run Time 2025-04-12 02:40:00
[2025-04-12 02:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 02:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 02:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 02:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 02:40:04] Production.INFO: ==12279== Releasing lock...
[2025-04-12 02:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 02:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 02:40:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:40:04] Production.INFO: ==12281== Lock acquired, processing the job...
[2025-04-12 02:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 02:40:04] Production.INFO: Date 2025-04-09
[2025-04-12 02:40:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 02:40:04] Production.INFO: ==12283== Lock acquired, processing the job...
[2025-04-12 02:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 02:40:04] Production.INFO: Date 2025-04-10
[2025-04-12 02:40:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:40:04] Production.INFO: count ==12
[2025-04-12 02:40:04] Production.INFO: ==12285== Lock acquired, processing the job...
[2025-04-12 02:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 02:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 02:40:04] Production.INFO: Date 2025-04-11
[2025-04-12 02:40:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:40:04] Production.INFO: count ==23
[2025-04-12 02:40:04] Production.INFO: Date 2025-04-12
[2025-04-12 02:40:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888556') start
[2025-04-12 02:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 02:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 02:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 02:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 02:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 02:40:04] Production.INFO: ==12291== Lock acquired, processing the job...
[2025-04-12 02:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 02:40:04] Production.INFO: Total Charge 0
[2025-04-12 02:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888556') end
[2025-04-12 02:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 02:40:04] Production.INFO: 1
[2025-04-12 02:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 02:40:04] Production.INFO: CreateAllLog End
[2025-04-12 02:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 02:40:05] Production.ERROR: done
[2025-04-12 02:40:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 02:40:05] Production.INFO: ==12293== Releasing lock...
[2025-04-12 02:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 02:40:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 02:40:05] Production.INFO: ==12283== Releasing lock...
[2025-04-12 02:40:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 02:40:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 02:40:05] Production.ERROR: done
[2025-04-12 02:40:05] Production.ERROR: done
[2025-04-12 02:40:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 02:40:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14888559', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 02:40:05] Production.INFO: Account Balance End.
[2025-04-12 02:40:05] Production.ERROR: CronJobId end 12
[2025-04-12 02:40:05] Production.INFO: ==12287== Releasing lock...
[2025-04-12 02:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 02:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 02:40:07] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 23:40:07
[end_date_ymd] => 2025-04-12 02:40:07
[RateCDR] => 1
)
[2025-04-12 02: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-11 23:40:07' and `end` < '2025-04-12 02: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-12 02:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14888559', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 02:40:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 02:40:09] Production.INFO: ProcessCDR(1,14888559,1,1,2)
[2025-04-12 02:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14888559,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14888559,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 02:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 02:40:09] Production.INFO: ==12291== Releasing lock...
[2025-04-12 02:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 02:40:09] Production.INFO: 26 MB #Memory Used#
[2025-04-12 02:40:16] Production.ERROR: CronJobId end10
[2025-04-12 02:40:16] Production.INFO: ==12285== Releasing lock...
[2025-04-12 02:40:16] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 02:40:16] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 02:40:18] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 02:40:18] Production.INFO: ============== Balance Warning START===========
[2025-04-12 02:40:18] Production.INFO: ============== Balance Warning END===========
[2025-04-12 02:40:18] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 02:40:18] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 02:40:18] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 02:40:18] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 02:40:18] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 02:40:18] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 02:40:18] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 02:40:18] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 02:40:18] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 02:40:18] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 02:40:18] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 02:40:19] Production.INFO: call_cost start
[2025-04-12 02:40:19] Production.INFO: call_cost end
[2025-04-12 02:40:19] Production.INFO: count ==343
[2025-04-12 02:40:19] Production.ERROR: pbx CDR StartTime 2025-04-11 23:40:07 - End Time 2025-04-12 02:40:07
[2025-04-12 02:40:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 02:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888560', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888560', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888560', 'tblTempVendorCDR_20' ) start
[2025-04-12 02:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888560', 'tblTempVendorCDR_20' ) end
[2025-04-12 02:40:20] Production.INFO: ProcessCDR(1,14888560,1,1,2)
[2025-04-12 02:40:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888560,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:40:20] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 02:40:20] Production.INFO: ============== Report Schedule START===========
[2025-04-12 02:40:20] Production.INFO: ============== Report Schedule END===========
[2025-04-12 02:40:20] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 02:40:20] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 02:40:20] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 02:40:20] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 02:40:20] Production.INFO: ============== Deal alert START===========
[2025-04-12 02:40:20] Production.INFO: ============== Deal alert END===========
[2025-04-12 02:40:20] Production.INFO: ==12281== Releasing lock...
[2025-04-12 02:40:20] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 02:40:20] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 02:40:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888560,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:40:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888560,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:40:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888560,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888560', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888560', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:40:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 02:40:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 02:40:23] Production.INFO: ==12289== Releasing lock...
[2025-04-12 02:40:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 02:40:23] Production.INFO: 30 MB #Memory Used#
[2025-04-12 07:41:01] Production.INFO: ==12390== Lock acquired, processing the job...
[2025-04-12 07:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 07:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 07:41:01] Production.INFO: neon service started
[2025-04-12 07:41:01] Production.INFO: neon service started
[2025-04-12 07:41:01] Production.INFO: ==12390== Releasing lock...
[2025-04-12 07:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 07:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 02:41:01] Production.INFO: ==12392== Lock acquired, processing the job...
[2025-04-12 02:41:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 02:41:02] Production.INFO: ==12392== Releasing lock...
[2025-04-12 02:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 02:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 06:41:02] Production.INFO: ==12394== Lock acquired, processing the job...
[2025-04-12 06:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 06:41:02] Production.INFO: ==12394== Releasing lock...
[2025-04-12 06:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 06:41:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 02:41:03] Production.INFO: ==12396== Lock acquired, processing the job...
[2025-04-12 02:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 02:41:03] Production.INFO: ==12398== Lock acquired, processing the job...
[2025-04-12 02:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 02:41:03] Production.INFO: ==12404== Lock acquired, processing the job...
[2025-04-12 02:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 02:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 02:41:03] Production.INFO: ==12402== Lock acquired, processing the job...
[2025-04-12 02:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 02:41:03] Production.INFO: ==12400== Lock acquired, processing the job...
[2025-04-12 02:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 02:41:03] Production.INFO: ==12407== Lock acquired, processing the job...
[2025-04-12 02:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 02:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 02:41:03] Production.INFO: Account Balance Start.
[2025-04-12 02:41:03] Production.INFO: CreateAllLog Start
[2025-04-12 02:41:03] Production.INFO: 117
[2025-04-12 02:41:03] Production.INFO: Date 2025-04-08
[2025-04-12 02:41:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 02:41:03] Production.INFO: count ==12
[2025-04-12 02:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 02: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-12 02:41:03] Production.INFO: count ==23
[2025-04-12 02:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 02:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 02:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 02:41:03] Production.INFO: Reseller ==> 0
[2025-04-12 02:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14888564') start
[2025-04-12 02:41:03] Production.INFO: Date 2025-04-09
[2025-04-12 02:41:03] Production.INFO: Reseller ==> 0
[2025-04-12 02:41:03] Production.INFO: Date 2025-04-10
[2025-04-12 02:41:03] Production.INFO: Reseller ==> 0
[2025-04-12 02:41:03] Production.INFO: ==12398== Releasing lock...
[2025-04-12 02:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 02:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 02:41:03] Production.INFO: Date 2025-04-11
[2025-04-12 02:41:03] Production.INFO: Reseller ==> 0
[2025-04-12 02:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888564') end
[2025-04-12 02:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 02:41:04] Production.INFO: 1
[2025-04-12 02:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 02:41:04] Production.INFO: Date 2025-04-12
[2025-04-12 02:41:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:41:04] Production.INFO: Total Charge 0
[2025-04-12 02:41:04] Production.INFO: CreateAllLog End
[2025-04-12 02:41:04] Production.ERROR: done
[2025-04-12 02:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 02:41:04] Production.INFO: ==12407== Releasing lock...
[2025-04-12 02:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 02:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 02:41:04] Production.ERROR: done
[2025-04-12 02:41:04] Production.INFO: Account Balance End.
[2025-04-12 02:41:04] Production.ERROR: CronJobId end 12
[2025-04-12 02:41:04] Production.INFO: ==12402== Releasing lock...
[2025-04-12 02:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 02:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 02:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 23:41:05
[end_date_ymd] => 2025-04-12 02:41:05
[RateCDR] => 1
)
[2025-04-12 02:41:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 23:41:05' and `end` < '2025-04-12 02:41:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 02:41:15] Production.ERROR: CronJobId end10
[2025-04-12 02:41:15] Production.INFO: ==12400== Releasing lock...
[2025-04-12 02:41:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 02:41:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 02:41:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 02:41:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 02:41:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 02:41:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 02:41:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 02:41:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 02:41:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 02:41:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 02:41:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 02:41:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 02:41:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 02:41:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 02:41:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 02:41:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 02:41:16] Production.INFO: call_cost start
[2025-04-12 02:41:16] Production.INFO: call_cost end
[2025-04-12 02:41:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 02:41:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 02:41:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 02:41:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 02:41:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 02:41:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 02:41:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 02:41:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 02:41:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 02:41:17] Production.INFO: ==12396== Releasing lock...
[2025-04-12 02:41:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 02:41:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 02:41:18] Production.INFO: count ==355
[2025-04-12 02:41:18] Production.ERROR: pbx CDR StartTime 2025-04-11 23:41:05 - End Time 2025-04-12 02:41:05
[2025-04-12 02:41:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 02:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888565', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888565', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888565', 'tblTempVendorCDR_20' ) start
[2025-04-12 02:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888565', 'tblTempVendorCDR_20' ) end
[2025-04-12 02:41:18] Production.INFO: ProcessCDR(1,14888565,1,1,2)
[2025-04-12 02:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888565,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:41:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888565,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:41:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888565,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:41:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888565,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888565', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888565', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:41:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 02:41:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 02:41:22] Production.INFO: ==12404== Releasing lock...
[2025-04-12 02:41:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 02:41:22] Production.INFO: 30.25 MB #Memory Used#
[2025-04-12 07:42:02] Production.INFO: ==12464== Lock acquired, processing the job...
[2025-04-12 07:42:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 07:42:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 07:42:02] Production.INFO: neon service started
[2025-04-12 07:42:02] Production.INFO: neon service started
[2025-04-12 07:42:02] Production.INFO: ==12464== Releasing lock...
[2025-04-12 07:42:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 07:42:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 06:42:02] Production.INFO: ==12468== Lock acquired, processing the job...
[2025-04-12 06:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 06:42:02] Production.INFO: ==12468== Releasing lock...
[2025-04-12 06:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 06:42:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 02:42:02] Production.INFO: ==12466== Lock acquired, processing the job...
[2025-04-12 02:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 02:42:02] Production.INFO: ==12466== Releasing lock...
[2025-04-12 02:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 02:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 02:42:03] Production.INFO: ==12475== Lock acquired, processing the job...
[2025-04-12 02:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 02:42:04] Production.INFO: ==12477== Lock acquired, processing the job...
[2025-04-12 02:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 02:42:04] Production.INFO: ==12470== Lock acquired, processing the job...
[2025-04-12 02:42:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 02:42:04] Production.INFO: ==12472== Lock acquired, processing the job...
[2025-04-12 02:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 02:42:04] Production.INFO: Account Balance Start.
[2025-04-12 02:42:04] Production.INFO: CreateAllLog Start
[2025-04-12 02:42:04] Production.INFO: 117
[2025-04-12 02:42:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 02:42:04] Production.INFO: Date 2025-04-08
[2025-04-12 02:42:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 02:42:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 02:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 02:42:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:42:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 02:42:04] Production.INFO: Date 2025-04-09
[2025-04-12 02:42:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:42:04] Production.INFO: Date 2025-04-10
[2025-04-12 02:42:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:42:04] Production.INFO: Date 2025-04-11
[2025-04-12 02:42:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:42:04] Production.INFO: ==12479== Lock acquired, processing the job...
[2025-04-12 02:42:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 02:42:04] Production.INFO: Date 2025-04-12
[2025-04-12 02:42:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:42:04] Production.INFO: Total Charge 0
[2025-04-12 02:42:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 02:42:04] Production.INFO: ==12481== Lock acquired, processing the job...
[2025-04-12 02:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 02:42:04] Production.INFO: CreateAllLog End
[2025-04-12 02:42:04] Production.INFO: ==12472== Releasing lock...
[2025-04-12 02:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 02:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 02:42:04] Production.INFO: Account Balance End.
[2025-04-12 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-12 02:42:04] Production.ERROR: done
[2025-04-12 02:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 02:42:04] Production.INFO: count ==12
[2025-04-12 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-12 02:42:04] Production.INFO: count ==23
[2025-04-12 02:42:04] Production.ERROR: CronJobId end 12
[2025-04-12 02:42:04] Production.INFO: ==12477== Releasing lock...
[2025-04-12 02:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 02:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 02:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888569') start
[2025-04-12 02:42:05] Production.ERROR: done
[2025-04-12 02:42:05] Production.ERROR: PBX CALL prc_importPBXExtension('14888569') end
[2025-04-12 02:42:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 02:42:05] Production.INFO: 1
[2025-04-12 02:42:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 02:42:05] Production.INFO: ==12481== Releasing lock...
[2025-04-12 02:42:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 02:42:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 02:42:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 23:42:06
[end_date_ymd] => 2025-04-12 02:42:06
[RateCDR] => 1
)
[2025-04-12 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-11 23:42:06' and `end` < '2025-04-12 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-12 02:42:14] Production.ERROR: CronJobId end10
[2025-04-12 02:42:14] Production.INFO: ==12475== Releasing lock...
[2025-04-12 02:42:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 02:42:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 02:42:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 02:42:16] Production.INFO: ============== Balance Warning START===========
[2025-04-12 02:42:16] Production.INFO: ============== Balance Warning END===========
[2025-04-12 02:42:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 02:42:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 02:42:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 02:42:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 02:42:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 02:42:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 02:42:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 02:42:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 02:42:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 02:42:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 02:42:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 02:42:17] Production.INFO: call_cost start
[2025-04-12 02:42:17] Production.INFO: call_cost end
[2025-04-12 02:42:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 02:42:18] Production.INFO: ============== Report Schedule START===========
[2025-04-12 02:42:18] Production.INFO: ============== Report Schedule END===========
[2025-04-12 02:42:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 02:42:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 02:42:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 02:42:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 02:42:18] Production.INFO: ============== Deal alert START===========
[2025-04-12 02:42:18] Production.INFO: ============== Deal alert END===========
[2025-04-12 02:42:18] Production.INFO: ==12470== Releasing lock...
[2025-04-12 02:42:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 02:42:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 02:42:19] Production.INFO: count ==355
[2025-04-12 02:42:19] Production.ERROR: pbx CDR StartTime 2025-04-11 23:42:06 - End Time 2025-04-12 02:42:06
[2025-04-12 02:42:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 02:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888570', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888570', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888570', 'tblTempVendorCDR_20' ) start
[2025-04-12 02:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888570', 'tblTempVendorCDR_20' ) end
[2025-04-12 02:42:19] Production.INFO: ProcessCDR(1,14888570,1,1,2)
[2025-04-12 02:42:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888570,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:42:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888570,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:42:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888570,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:42:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888570,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:42:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888570', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:42:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888570', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:42:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 02:42:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 02:42:23] Production.INFO: ==12479== Releasing lock...
[2025-04-12 02:42:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 02:42:23] Production.INFO: 30.25 MB #Memory Used#
[2025-04-12 07:43:01] Production.INFO: ==12540== Lock acquired, processing the job...
[2025-04-12 07:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 07:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 07:43:01] Production.INFO: neon service started
[2025-04-12 07:43:01] Production.INFO: neon service started
[2025-04-12 07:43:01] Production.INFO: ==12540== Releasing lock...
[2025-04-12 07:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 07:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 02:43:01] Production.INFO: ==12542== Lock acquired, processing the job...
[2025-04-12 02:43:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 06:43:02] Production.INFO: ==12544== Lock acquired, processing the job...
[2025-04-12 06:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 02:43:02] Production.INFO: ==12542== Releasing lock...
[2025-04-12 02:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 02:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 06:43:02] Production.INFO: ==12544== Releasing lock...
[2025-04-12 06:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 06:43:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 02:43:03] Production.INFO: ==12546== Lock acquired, processing the job...
[2025-04-12 02:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 02:43:03] Production.INFO: ==12551== Lock acquired, processing the job...
[2025-04-12 02:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 02:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 02:43:03] Production.INFO: ==12548== Lock acquired, processing the job...
[2025-04-12 02:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 02:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 02:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 02:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 02:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 02:43:03] Production.INFO: ==12553== Lock acquired, processing the job...
[2025-04-12 02:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 02:43:03] Production.INFO: ==12555== Lock acquired, processing the job...
[2025-04-12 02:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 02:43:03] Production.INFO: ==12557== Lock acquired, processing the job...
[2025-04-12 02:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 02:43:03] Production.INFO: ==12548== Releasing lock...
[2025-04-12 02:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 02:43:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 02:43:03] Production.INFO: Account Balance Start.
[2025-04-12 02:43:03] Production.INFO: CreateAllLog Start
[2025-04-12 02:43:03] Production.INFO: 117
[2025-04-12 02:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 02:43:03] Production.INFO: Date 2025-04-08
[2025-04-12 02:43:03] Production.INFO: Reseller ==> 0
[2025-04-12 02:43:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 02:43:04] Production.INFO: count ==12
[2025-04-12 02:43:04] Production.INFO: Date 2025-04-09
[2025-04-12 02:43:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:43:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 02:43:04] Production.INFO: count ==23
[2025-04-12 02:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888574') start
[2025-04-12 02:43:04] Production.INFO: Date 2025-04-10
[2025-04-12 02:43:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:43:04] Production.INFO: Date 2025-04-11
[2025-04-12 02:43:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:43:04] Production.INFO: Date 2025-04-12
[2025-04-12 02:43:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:43:04] Production.INFO: Total Charge 0
[2025-04-12 02:43:04] Production.INFO: CreateAllLog End
[2025-04-12 02:43:04] Production.ERROR: done
[2025-04-12 02:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 02:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888574') end
[2025-04-12 02:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 02:43:04] Production.INFO: 1
[2025-04-12 02:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 02:43:04] Production.INFO: Account Balance End.
[2025-04-12 02:43:04] Production.ERROR: CronJobId end 12
[2025-04-12 02:43:04] Production.INFO: ==12553== Releasing lock...
[2025-04-12 02:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 02:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 02:43:04] Production.INFO: ==12557== Releasing lock...
[2025-04-12 02:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 02:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 02:43:04] Production.ERROR: done
[2025-04-12 02:43:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 23:43:06
[end_date_ymd] => 2025-04-12 02:43:06
[RateCDR] => 1
)
[2025-04-12 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-11 23:43:06' and `end` < '2025-04-12 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-12 02:43:13] Production.ERROR: CronJobId end10
[2025-04-12 02:43:13] Production.INFO: ==12551== Releasing lock...
[2025-04-12 02:43:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 02:43:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 02:43:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 02:43:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 02:43:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 02:43:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 02:43:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 02:43:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 02:43:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 02:43:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 02:43:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 02:43:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 02:43:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 02:43:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 02:43:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 02:43:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 02:43:16] Production.INFO: call_cost start
[2025-04-12 02:43:16] Production.INFO: call_cost end
[2025-04-12 02:43:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 02:43:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 02:43:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 02:43:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 02:43:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 02:43:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 02:43:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 02:43:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 02:43:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 02:43:17] Production.INFO: ==12546== Releasing lock...
[2025-04-12 02:43:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 02:43:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 02:43:18] Production.INFO: count ==355
[2025-04-12 02:43:18] Production.ERROR: pbx CDR StartTime 2025-04-11 23:43:06 - End Time 2025-04-12 02:43:06
[2025-04-12 02:43:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 02:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888575', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888575', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888575', 'tblTempVendorCDR_20' ) start
[2025-04-12 02:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888575', 'tblTempVendorCDR_20' ) end
[2025-04-12 02:43:18] Production.INFO: ProcessCDR(1,14888575,1,1,2)
[2025-04-12 02:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888575,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:43:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888575,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:43:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888575,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:43:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888575,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888575', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888575', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:43:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 02:43:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 02:43:22] Production.INFO: ==12555== Releasing lock...
[2025-04-12 02:43:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 02:43:22] Production.INFO: 30.25 MB #Memory Used#
[2025-04-12 07:44:02] Production.INFO: ==12612== Lock acquired, processing the job...
[2025-04-12 07:44:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 07:44:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 07:44:02] Production.INFO: neon service started
[2025-04-12 07:44:02] Production.INFO: neon service started
[2025-04-12 07:44:02] Production.INFO: ==12612== Releasing lock...
[2025-04-12 07:44:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 07:44:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 02:44:02] Production.INFO: ==12614== Lock acquired, processing the job...
[2025-04-12 02:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 02:44:02] Production.INFO: ==12614== Releasing lock...
[2025-04-12 02:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 02:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 06:44:03] Production.INFO: ==12616== Lock acquired, processing the job...
[2025-04-12 06:44:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 06:44:03] Production.INFO: ==12616== Releasing lock...
[2025-04-12 06:44:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 06:44:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 02:44:04] Production.INFO: ==12629== Lock acquired, processing the job...
[2025-04-12 02:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 02:44:04] Production.INFO: ==12623== Lock acquired, processing the job...
[2025-04-12 02:44:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 02:44:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 02:44:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 02:44:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 02:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 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-12 02:44:04] Production.INFO: count ==12
[2025-04-12 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-12 02:44:04] Production.INFO: ==12618== Lock acquired, processing the job...
[2025-04-12 02:44:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 02:44:04] Production.INFO: count ==23
[2025-04-12 02:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888576') start
[2025-04-12 02:44:04] Production.INFO: ==12627== Lock acquired, processing the job...
[2025-04-12 02:44:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 02:44:04] Production.INFO: ==12625== Lock acquired, processing the job...
[2025-04-12 02:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 02:44:04] Production.INFO: ==12620== Lock acquired, processing the job...
[2025-04-12 02:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 02:44:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 02:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888576') end
[2025-04-12 02:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 02:44:04] Production.INFO: 1
[2025-04-12 02:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 02:44:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 02:44:04] Production.INFO: Account Balance Start.
[2025-04-12 02:44:04] Production.INFO: CreateAllLog Start
[2025-04-12 02:44:04] Production.INFO: 117
[2025-04-12 02:44:04] Production.INFO: Date 2025-04-08
[2025-04-12 02:44:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:44:04] Production.INFO: Date 2025-04-09
[2025-04-12 02:44:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:44:04] Production.INFO: Date 2025-04-10
[2025-04-12 02:44:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:44:04] Production.INFO: Date 2025-04-11
[2025-04-12 02:44:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:44:04] Production.INFO: ==12629== Releasing lock...
[2025-04-12 02:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 02:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 02:44:04] Production.INFO: Date 2025-04-12
[2025-04-12 02:44:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:44:04] Production.INFO: ==12620== Releasing lock...
[2025-04-12 02:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 02:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 02:44:04] Production.ERROR: done
[2025-04-12 02:44:04] Production.INFO: Total Charge 0
[2025-04-12 02:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 02:44:04] Production.INFO: CreateAllLog End
[2025-04-12 02:44:05] Production.ERROR: done
[2025-04-12 02:44:05] Production.INFO: Account Balance End.
[2025-04-12 02:44:05] Production.ERROR: CronJobId end 12
[2025-04-12 02:44:05] Production.INFO: ==12625== Releasing lock...
[2025-04-12 02:44:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 02:44:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 02:44:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 23:44:06
[end_date_ymd] => 2025-04-12 02:44:06
[RateCDR] => 1
)
[2025-04-12 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-11 23:44:06' and `end` < '2025-04-12 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-12 02:44:13] Production.ERROR: CronJobId end10
[2025-04-12 02:44:13] Production.INFO: ==12623== Releasing lock...
[2025-04-12 02:44:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 02:44:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 02:44:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 02:44:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 02:44:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 02:44:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 02:44:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 02:44:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 02:44:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 02:44:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 02:44:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 02:44:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 02:44:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 02:44:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 02:44:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 02:44:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 02:44:16] Production.INFO: call_cost start
[2025-04-12 02:44:16] Production.INFO: call_cost end
[2025-04-12 02:44:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 02:44:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 02:44:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 02:44:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 02:44:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 02:44:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 02:44:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 02:44:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 02:44:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 02:44:17] Production.INFO: ==12618== Releasing lock...
[2025-04-12 02:44:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 02:44:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 02:44:19] Production.INFO: count ==355
[2025-04-12 02:44:19] Production.ERROR: pbx CDR StartTime 2025-04-11 23:44:06 - End Time 2025-04-12 02:44:06
[2025-04-12 02:44:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 02:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888580', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888580', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888580', 'tblTempVendorCDR_20' ) start
[2025-04-12 02:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888580', 'tblTempVendorCDR_20' ) end
[2025-04-12 02:44:19] Production.INFO: ProcessCDR(1,14888580,1,1,2)
[2025-04-12 02:44:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888580,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:44:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888580,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:44:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888580,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:44:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888580,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:44:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888580', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:44:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888580', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:44:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 02:44:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 02:44:23] Production.INFO: ==12627== Releasing lock...
[2025-04-12 02:44:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 02:44:23] Production.INFO: 30.25 MB #Memory Used#
[2025-04-12 07:45:01] Production.INFO: ==12687== Lock acquired, processing the job...
[2025-04-12 07:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 07:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 07:45:01] Production.INFO: neon service started
[2025-04-12 07:45:01] Production.INFO: neon service started
[2025-04-12 07:45:01] Production.INFO: ==12687== Releasing lock...
[2025-04-12 07:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 07:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 06:45:01] Production.INFO: ==12691== Lock acquired, processing the job...
[2025-04-12 06:45:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 06:45:01] Production.INFO: ==12691== Releasing lock...
[2025-04-12 06:45:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 06:45:01] Production.INFO: 25 MB #Memory Used#
[2025-04-12 02:45:02] Production.INFO: ==12689== Lock acquired, processing the job...
[2025-04-12 02:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 02:45:02] Production.INFO: ==12689== Releasing lock...
[2025-04-12 02:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 02:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 02:45:03] Production.INFO: ==12694== Lock acquired, processing the job...
[2025-04-12 02:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 02:45:03] Production.INFO: ==12700== Lock acquired, processing the job...
[2025-04-12 02:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 02:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 02:45:03] Production.INFO: ==12696== Lock acquired, processing the job...
[2025-04-12 02:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 02:45:03] Production.INFO: Account Balance Start.
[2025-04-12 02:45:03] Production.INFO: CreateAllLog Start
[2025-04-12 02:45:03] Production.INFO: 117
[2025-04-12 02:45:03] Production.INFO: Date 2025-04-08
[2025-04-12 02:45:03] Production.INFO: Reseller ==> 0
[2025-04-12 02:45:03] Production.INFO: Date 2025-04-09
[2025-04-12 02:45:03] Production.INFO: Reseller ==> 0
[2025-04-12 02:45:03] Production.INFO: Date 2025-04-10
[2025-04-12 02:45:03] Production.INFO: Reseller ==> 0
[2025-04-12 02:45:03] Production.INFO: Date 2025-04-11
[2025-04-12 02:45:03] Production.INFO: Reseller ==> 0
[2025-04-12 02:45:03] Production.INFO: Date 2025-04-12
[2025-04-12 02:45:03] Production.INFO: Reseller ==> 0
[2025-04-12 02:45:03] Production.INFO: Total Charge 0
[2025-04-12 02:45:03] Production.INFO: ==12698== Lock acquired, processing the job...
[2025-04-12 02:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 02:45:03] Production.INFO: ==12702== Lock acquired, processing the job...
[2025-04-12 02:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 02:45:03] Production.INFO: CreateAllLog End
[2025-04-12 02:45:03] Production.INFO: ==12704== Lock acquired, processing the job...
[2025-04-12 02:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 02:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 02:45:03] Production.INFO: Account Balance End.
[2025-04-12 02:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 02:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 02:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 02:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 02:45:04] Production.ERROR: CronJobId end 12
[2025-04-12 02:45:04] Production.INFO: ==12700== Releasing lock...
[2025-04-12 02:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 02:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 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-12 02:45:04] Production.INFO: count ==12
[2025-04-12 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-12 02:45:04] Production.INFO: ==12696== Releasing lock...
[2025-04-12 02:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 02:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 02:45:04] Production.INFO: count ==23
[2025-04-12 02:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888584') start
[2025-04-12 02:45:04] Production.ERROR: done
[2025-04-12 02:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 02:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888584') end
[2025-04-12 02:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 02:45:04] Production.INFO: 1
[2025-04-12 02:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 02:45:04] Production.INFO: ==12704== Releasing lock...
[2025-04-12 02:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 02:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 02:45:04] Production.ERROR: done
[2025-04-12 02:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 23:45:05
[end_date_ymd] => 2025-04-12 02:45:05
[RateCDR] => 1
)
[2025-04-12 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-11 23:45:05' and `end` < '2025-04-12 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-12 02:45:13] Production.ERROR: CronJobId end10
[2025-04-12 02:45:13] Production.INFO: ==12698== Releasing lock...
[2025-04-12 02:45:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 02:45:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 02:45:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 02:45:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 02:45:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 02:45:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 02:45:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 02:45:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 02:45:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 02:45:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 02:45:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 02:45:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 02:45:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 02:45:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 02:45:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 02:45:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 02:45:15] Production.INFO: call_cost start
[2025-04-12 02:45:15] Production.INFO: call_cost end
[2025-04-12 02:45:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 02:45:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 02:45:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 02:45:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 02:45:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 02:45:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 02:45:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 02:45:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 02:45:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 02:45:17] Production.INFO: ==12694== Releasing lock...
[2025-04-12 02:45:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 02:45:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 02:45:18] Production.INFO: count ==354
[2025-04-12 02:45:18] Production.ERROR: pbx CDR StartTime 2025-04-11 23:45:05 - End Time 2025-04-12 02:45:05
[2025-04-12 02:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 02:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888585', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888585', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888585', 'tblTempVendorCDR_20' ) start
[2025-04-12 02:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888585', 'tblTempVendorCDR_20' ) end
[2025-04-12 02:45:18] Production.INFO: ProcessCDR(1,14888585,1,1,2)
[2025-04-12 02:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888585,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:45:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888585,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:45:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888585,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:45:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888585,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:45:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888585', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:45:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888585', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:45:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 02:45:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 02:45:22] Production.INFO: ==12702== Releasing lock...
[2025-04-12 02:45:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 02:45:22] Production.INFO: 30.25 MB #Memory Used#
[2025-04-12 07:46:02] Production.INFO: ==12758== Lock acquired, processing the job...
[2025-04-12 07:46:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 07:46:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 07:46:02] Production.INFO: neon service started
[2025-04-12 07:46:02] Production.INFO: neon service started
[2025-04-12 07:46:02] Production.INFO: ==12758== Releasing lock...
[2025-04-12 07:46:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 07:46:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 06:46:02] Production.INFO: ==12762== Lock acquired, processing the job...
[2025-04-12 06:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 06:46:02] Production.INFO: ==12762== Releasing lock...
[2025-04-12 06:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 06:46:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 02:46:02] Production.INFO: ==12760== Lock acquired, processing the job...
[2025-04-12 02:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 02:46:03] Production.INFO: ==12760== Releasing lock...
[2025-04-12 02:46:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 02:46:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 02:46:04] Production.INFO: ==12769== Lock acquired, processing the job...
[2025-04-12 02:46:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 02:46:04] Production.INFO: ==12773== Lock acquired, processing the job...
[2025-04-12 02:46:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 02:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 02:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 02:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 02:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 02:46:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 02:46:04] Production.INFO: ==12765== Lock acquired, processing the job...
[2025-04-12 02:46:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 02:46:04] Production.INFO: ==12767== Lock acquired, processing the job...
[2025-04-12 02:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 02:46:04] Production.INFO: ==12775== Lock acquired, processing the job...
[2025-04-12 02:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 02:46:04] Production.INFO: ==12771== Lock acquired, processing the job...
[2025-04-12 02:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 02:46:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 02:46:04] Production.INFO: Account Balance Start.
[2025-04-12 02:46:04] Production.INFO: CreateAllLog Start
[2025-04-12 02:46:04] Production.INFO: 117
[2025-04-12 02:46:04] Production.INFO: Date 2025-04-08
[2025-04-12 02:46:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:46:04] Production.ERROR: done
[2025-04-12 02:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 02:46:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 02:46:04] Production.INFO: ==12767== Releasing lock...
[2025-04-12 02:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 02:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 02:46:04] Production.INFO: count ==12
[2025-04-12 02:46:04] Production.INFO: Date 2025-04-09
[2025-04-12 02:46:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:46:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 02:46:04] Production.INFO: count ==23
[2025-04-12 02:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888589') start
[2025-04-12 02:46:04] Production.INFO: Date 2025-04-10
[2025-04-12 02:46:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:46:04] Production.INFO: Date 2025-04-11
[2025-04-12 02:46:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:46:04] Production.INFO: Date 2025-04-12
[2025-04-12 02:46:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:46:04] Production.ERROR: done
[2025-04-12 02:46:04] Production.INFO: Total Charge 0
[2025-04-12 02:46:04] Production.INFO: CreateAllLog End
[2025-04-12 02:46:05] Production.ERROR: PBX CALL prc_importPBXExtension('14888589') end
[2025-04-12 02:46:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 02:46:05] Production.INFO: 1
[2025-04-12 02:46:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 02:46:05] Production.INFO: Account Balance End.
[2025-04-12 02:46:05] Production.INFO: ==12775== Releasing lock...
[2025-04-12 02:46:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 02:46:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 02:46:05] Production.ERROR: CronJobId end 12
[2025-04-12 02:46:05] Production.INFO: ==12771== Releasing lock...
[2025-04-12 02:46:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 02:46:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 02:46:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 23:46:06
[end_date_ymd] => 2025-04-12 02:46:06
[RateCDR] => 1
)
[2025-04-12 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-11 23:46:06' and `end` < '2025-04-12 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-12 02:46:14] Production.ERROR: CronJobId end10
[2025-04-12 02:46:14] Production.INFO: ==12769== Releasing lock...
[2025-04-12 02:46:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 02:46:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 02:46:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 02:46:16] Production.INFO: ============== Balance Warning START===========
[2025-04-12 02:46:16] Production.INFO: ============== Balance Warning END===========
[2025-04-12 02:46:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 02:46:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 02:46:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 02:46:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 02:46:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 02:46:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 02:46:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 02:46:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 02:46:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 02:46:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 02:46:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 02:46:17] Production.INFO: call_cost start
[2025-04-12 02:46:17] Production.INFO: call_cost end
[2025-04-12 02:46:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 02:46:18] Production.INFO: ============== Report Schedule START===========
[2025-04-12 02:46:18] Production.INFO: ============== Report Schedule END===========
[2025-04-12 02:46:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 02:46:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 02:46:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 02:46:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 02:46:18] Production.INFO: ============== Deal alert START===========
[2025-04-12 02:46:18] Production.INFO: ============== Deal alert END===========
[2025-04-12 02:46:18] Production.INFO: ==12765== Releasing lock...
[2025-04-12 02:46:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 02:46:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 02:46:18] Production.INFO: count ==353
[2025-04-12 02:46:18] Production.ERROR: pbx CDR StartTime 2025-04-11 23:46:06 - End Time 2025-04-12 02:46:06
[2025-04-12 02:46:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 02:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888590', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888590', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888590', 'tblTempVendorCDR_20' ) start
[2025-04-12 02:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888590', 'tblTempVendorCDR_20' ) end
[2025-04-12 02:46:18] Production.INFO: ProcessCDR(1,14888590,1,1,2)
[2025-04-12 02:46:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888590,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:46:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888590,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:46:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888590,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:46:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888590,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888590', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888590', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:46:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 02:46:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 02:46:22] Production.INFO: ==12773== Releasing lock...
[2025-04-12 02:46:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 02:46:22] Production.INFO: 30.25 MB #Memory Used#
[2025-04-12 07:47:01] Production.INFO: ==12828== Lock acquired, processing the job...
[2025-04-12 07:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 07:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 07:47:01] Production.INFO: neon service started
[2025-04-12 07:47:01] Production.INFO: neon service started
[2025-04-12 07:47:01] Production.INFO: ==12828== Releasing lock...
[2025-04-12 07:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 07:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 06:47:02] Production.INFO: ==12832== Lock acquired, processing the job...
[2025-04-12 06:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 06:47:02] Production.INFO: ==12832== Releasing lock...
[2025-04-12 06:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 06:47:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 02:47:02] Production.INFO: ==12830== Lock acquired, processing the job...
[2025-04-12 02:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 02:47:02] Production.INFO: ==12830== Releasing lock...
[2025-04-12 02:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 02:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 02:47:03] Production.INFO: ==12839== Lock acquired, processing the job...
[2025-04-12 02:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 02:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 02:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 02:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 02:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 02:47:03] Production.INFO: ==12845== Lock acquired, processing the job...
[2025-04-12 02:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 02: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-12 02:47:03] Production.INFO: count ==12
[2025-04-12 02: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-12 02:47:03] Production.INFO: count ==23
[2025-04-12 02:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14888591') start
[2025-04-12 02:47:03] Production.INFO: ==12835== Lock acquired, processing the job...
[2025-04-12 02:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 02:47:03] Production.INFO: ==12841== Lock acquired, processing the job...
[2025-04-12 02:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 02:47:03] Production.INFO: ==12843== Lock acquired, processing the job...
[2025-04-12 02:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 02:47:03] Production.INFO: ==12837== Lock acquired, processing the job...
[2025-04-12 02:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 02:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 02:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 02:47:04] Production.INFO: Account Balance Start.
[2025-04-12 02:47:04] Production.INFO: CreateAllLog Start
[2025-04-12 02:47:04] Production.INFO: 117
[2025-04-12 02:47:04] Production.INFO: Date 2025-04-08
[2025-04-12 02:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888591') end
[2025-04-12 02:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 02:47:04] Production.INFO: 1
[2025-04-12 02:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 02:47:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:47:04] Production.INFO: Date 2025-04-09
[2025-04-12 02:47:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:47:04] Production.INFO: Date 2025-04-10
[2025-04-12 02:47:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:47:04] Production.INFO: ==12845== Releasing lock...
[2025-04-12 02:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 02:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 02:47:04] Production.INFO: Date 2025-04-11
[2025-04-12 02:47:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:47:04] Production.INFO: Date 2025-04-12
[2025-04-12 02:47:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:47:04] Production.INFO: Total Charge 0
[2025-04-12 02:47:04] Production.INFO: CreateAllLog End
[2025-04-12 02:47:04] Production.ERROR: done
[2025-04-12 02:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 02:47:04] Production.INFO: ==12837== Releasing lock...
[2025-04-12 02:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 02:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 02:47:04] Production.ERROR: done
[2025-04-12 02:47:04] Production.INFO: Account Balance End.
[2025-04-12 02:47:04] Production.ERROR: CronJobId end 12
[2025-04-12 02:47:04] Production.INFO: ==12841== Releasing lock...
[2025-04-12 02:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 02:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 02:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 23:47:05
[end_date_ymd] => 2025-04-12 02:47:05
[RateCDR] => 1
)
[2025-04-12 02:47:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 23:47:05' and `end` < '2025-04-12 02:47:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 02:47:14] Production.ERROR: CronJobId end10
[2025-04-12 02:47:14] Production.INFO: ==12839== Releasing lock...
[2025-04-12 02:47:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 02:47:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 02:47:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 02:47:16] Production.INFO: ============== Balance Warning START===========
[2025-04-12 02:47:16] Production.INFO: ============== Balance Warning END===========
[2025-04-12 02:47:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 02:47:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 02:47:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 02:47:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 02:47:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 02:47:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 02:47:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 02:47:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 02:47:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 02:47:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 02:47:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 02:47:16] Production.INFO: call_cost start
[2025-04-12 02:47:16] Production.INFO: call_cost end
[2025-04-12 02:47:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 02:47:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 02:47:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 02:47:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 02:47:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 02:47:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 02:47:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 02:47:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 02:47:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 02:47:18] Production.INFO: ==12835== Releasing lock...
[2025-04-12 02:47:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 02:47:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 02:47:18] Production.INFO: count ==353
[2025-04-12 02:47:18] Production.ERROR: pbx CDR StartTime 2025-04-11 23:47:05 - End Time 2025-04-12 02:47:05
[2025-04-12 02:47:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 02:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888595', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888595', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888595', 'tblTempVendorCDR_20' ) start
[2025-04-12 02:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888595', 'tblTempVendorCDR_20' ) end
[2025-04-12 02:47:18] Production.INFO: ProcessCDR(1,14888595,1,1,2)
[2025-04-12 02:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888595,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:47:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888595,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:47:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888595,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:47:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888595,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888595', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888595', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:47:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 02:47:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 02:47:22] Production.INFO: ==12843== Releasing lock...
[2025-04-12 02:47:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 02:47:22] Production.INFO: 30.25 MB #Memory Used#
[2025-04-12 07:48:02] Production.INFO: ==12904== Lock acquired, processing the job...
[2025-04-12 07:48:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 07:48:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 07:48:02] Production.INFO: neon service started
[2025-04-12 07:48:02] Production.INFO: neon service started
[2025-04-12 07:48:02] Production.INFO: ==12904== Releasing lock...
[2025-04-12 07:48:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 07:48:02] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 02:48:02] Production.INFO: ==12906== Lock acquired, processing the job...
[2025-04-12 02:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 06:48:02] Production.INFO: ==12908== Lock acquired, processing the job...
[2025-04-12 06:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 06:48:03] Production.INFO: ==12908== Releasing lock...
[2025-04-12 06:48:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 06:48:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 02:48:03] Production.INFO: ==12906== Releasing lock...
[2025-04-12 02:48:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 02:48:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 02:48:04] Production.INFO: ==12920== Lock acquired, processing the job...
[2025-04-12 02:48:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 02:48:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 02:48:04] Production.INFO: ==12922== Lock acquired, processing the job...
[2025-04-12 02:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 02:48:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 02:48:04] Production.INFO: ==12911== Lock acquired, processing the job...
[2025-04-12 02:48:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 02:48:04] Production.INFO: count ==12
[2025-04-12 02:48:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 02:48:04] Production.INFO: count ==23
[2025-04-12 02:48:04] Production.INFO: ==12913== Lock acquired, processing the job...
[2025-04-12 02:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 02:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888596') start
[2025-04-12 02:48:04] Production.INFO: ==12915== Lock acquired, processing the job...
[2025-04-12 02:48:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 02:48:04] Production.INFO: ==12917== Lock acquired, processing the job...
[2025-04-12 02:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 02:48:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 02:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888596') end
[2025-04-12 02:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 02:48:04] Production.INFO: 1
[2025-04-12 02:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 02:48:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 02:48:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 02:48:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 02:48:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 02:48:04] Production.INFO: ==12922== Releasing lock...
[2025-04-12 02:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 02:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 02:48:05] Production.ERROR: done
[2025-04-12 02:48:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 02:48:05] Production.INFO: Account Balance Start.
[2025-04-12 02:48:05] Production.INFO: CreateAllLog Start
[2025-04-12 02:48:05] Production.INFO: 117
[2025-04-12 02:48:05] Production.INFO: Date 2025-04-08
[2025-04-12 02:48:05] Production.INFO: Reseller ==> 0
[2025-04-12 02:48:05] Production.INFO: Date 2025-04-09
[2025-04-12 02:48:05] Production.INFO: Reseller ==> 0
[2025-04-12 02:48:05] Production.INFO: Date 2025-04-10
[2025-04-12 02:48:05] Production.INFO: Reseller ==> 0
[2025-04-12 02:48:05] Production.ERROR: done
[2025-04-12 02:48:05] Production.INFO: Date 2025-04-11
[2025-04-12 02:48:05] Production.INFO: ==12913== Releasing lock...
[2025-04-12 02:48:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 02:48:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 02:48:05] Production.INFO: Reseller ==> 0
[2025-04-12 02:48:05] Production.INFO: Date 2025-04-12
[2025-04-12 02:48:05] Production.INFO: Reseller ==> 0
[2025-04-12 02:48:05] Production.INFO: Total Charge 0
[2025-04-12 02:48:05] Production.INFO: CreateAllLog End
[2025-04-12 02:48:05] Production.INFO: Account Balance End.
[2025-04-12 02:48:05] Production.ERROR: CronJobId end 12
[2025-04-12 02:48:05] Production.INFO: ==12917== Releasing lock...
[2025-04-12 02:48:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 02:48:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 02:48:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 23:48:06
[end_date_ymd] => 2025-04-12 02:48:06
[RateCDR] => 1
)
[2025-04-12 02:48:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 23:48:06' and `end` < '2025-04-12 02:48:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 02:48:14] Production.ERROR: CronJobId end10
[2025-04-12 02:48:14] Production.INFO: ==12915== Releasing lock...
[2025-04-12 02:48:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 02:48:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 02:48:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 02:48:16] Production.INFO: ============== Balance Warning START===========
[2025-04-12 02:48:16] Production.INFO: ============== Balance Warning END===========
[2025-04-12 02:48:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 02:48:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 02:48:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 02:48:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 02:48:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 02:48:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 02:48:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 02:48:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 02:48:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 02:48:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 02:48:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 02:48:17] Production.INFO: call_cost start
[2025-04-12 02:48:17] Production.INFO: call_cost end
[2025-04-12 02:48:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 02:48:18] Production.INFO: ============== Report Schedule START===========
[2025-04-12 02:48:18] Production.INFO: ============== Report Schedule END===========
[2025-04-12 02:48:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 02:48:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 02:48:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 02:48:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 02:48:18] Production.INFO: ============== Deal alert START===========
[2025-04-12 02:48:18] Production.INFO: ============== Deal alert END===========
[2025-04-12 02:48:18] Production.INFO: ==12911== Releasing lock...
[2025-04-12 02:48:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 02:48:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 02:48:19] Production.INFO: count ==353
[2025-04-12 02:48:19] Production.ERROR: pbx CDR StartTime 2025-04-11 23:48:06 - End Time 2025-04-12 02:48:06
[2025-04-12 02:48:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 02:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888600', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888600', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888600', 'tblTempVendorCDR_20' ) start
[2025-04-12 02:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888600', 'tblTempVendorCDR_20' ) end
[2025-04-12 02:48:19] Production.INFO: ProcessCDR(1,14888600,1,1,2)
[2025-04-12 02:48:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888600,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:48:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888600,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:48:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888600,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:48:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888600,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:48:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888600', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:48:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888600', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:48:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 02:48:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 02:48:23] Production.INFO: ==12920== Releasing lock...
[2025-04-12 02:48:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 02:48:23] Production.INFO: 30.25 MB #Memory Used#
[2025-04-12 07:49:01] Production.INFO: ==12974== Lock acquired, processing the job...
[2025-04-12 07:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 07:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 07:49:01] Production.INFO: neon service started
[2025-04-12 07:49:01] Production.INFO: neon service started
[2025-04-12 07:49:01] Production.INFO: ==12974== Releasing lock...
[2025-04-12 07:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 07:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 02:49:02] Production.INFO: ==12976== Lock acquired, processing the job...
[2025-04-12 02:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 06:49:02] Production.INFO: ==12978== Lock acquired, processing the job...
[2025-04-12 06:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 02:49:02] Production.INFO: ==12976== Releasing lock...
[2025-04-12 02:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 02:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 06:49:02] Production.INFO: ==12978== Releasing lock...
[2025-04-12 06:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 06:49:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 02:49:03] Production.INFO: ==12983== Lock acquired, processing the job...
[2025-04-12 02:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 02:49:03] Production.INFO: ==12985== Lock acquired, processing the job...
[2025-04-12 02:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 02:49:03] Production.INFO: ==12981== Lock acquired, processing the job...
[2025-04-12 02:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 02:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 02:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 02:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 02:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 02:49:03] Production.INFO: ==12991== Lock acquired, processing the job...
[2025-04-12 02:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 02:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 02:49:03] Production.INFO: ==12987== Lock acquired, processing the job...
[2025-04-12 02:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 02:49:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 02:49:03] Production.INFO: count ==12
[2025-04-12 02:49:03] Production.INFO: ==12989== Lock acquired, processing the job...
[2025-04-12 02:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 02:49:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 02:49:03] Production.INFO: count ==23
[2025-04-12 02:49:03] Production.INFO: ==12983== Releasing lock...
[2025-04-12 02:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 02:49:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 02:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14888603') start
[2025-04-12 02:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 02:49:04] Production.INFO: Account Balance Start.
[2025-04-12 02:49:04] Production.INFO: CreateAllLog Start
[2025-04-12 02:49:04] Production.INFO: 117
[2025-04-12 02:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888603') end
[2025-04-12 02:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 02:49:04] Production.INFO: 1
[2025-04-12 02:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 02:49:04] Production.INFO: Date 2025-04-08
[2025-04-12 02:49:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:49:04] Production.INFO: ==12991== Releasing lock...
[2025-04-12 02:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 02:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 02:49:04] Production.INFO: Date 2025-04-09
[2025-04-12 02:49:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:49:04] Production.INFO: Date 2025-04-10
[2025-04-12 02:49:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:49:04] Production.INFO: Date 2025-04-11
[2025-04-12 02:49:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:49:04] Production.ERROR: done
[2025-04-12 02:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 02:49:04] Production.INFO: Date 2025-04-12
[2025-04-12 02:49:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:49:04] Production.INFO: Total Charge 0
[2025-04-12 02:49:04] Production.INFO: CreateAllLog End
[2025-04-12 02:49:04] Production.ERROR: done
[2025-04-12 02:49:04] Production.INFO: Account Balance End.
[2025-04-12 02:49:04] Production.ERROR: CronJobId end 12
[2025-04-12 02:49:04] Production.INFO: ==12987== Releasing lock...
[2025-04-12 02:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 02:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 02:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 23:49:05
[end_date_ymd] => 2025-04-12 02:49:05
[RateCDR] => 1
)
[2025-04-12 02:49:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 23:49:05' and `end` < '2025-04-12 02:49:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 02:49:13] Production.ERROR: CronJobId end10
[2025-04-12 02:49:13] Production.INFO: ==12985== Releasing lock...
[2025-04-12 02:49:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 02:49:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 02:49:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 02:49:16] Production.INFO: ============== Balance Warning START===========
[2025-04-12 02:49:16] Production.INFO: ============== Balance Warning END===========
[2025-04-12 02:49:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 02:49:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 02:49:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 02:49:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 02:49:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 02:49:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 02:49:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 02:49:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 02:49:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 02:49:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 02:49:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 02:49:17] Production.INFO: call_cost start
[2025-04-12 02:49:17] Production.INFO: call_cost end
[2025-04-12 02:49:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 02:49:18] Production.INFO: ============== Report Schedule START===========
[2025-04-12 02:49:18] Production.INFO: ============== Report Schedule END===========
[2025-04-12 02:49:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 02:49:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 02:49:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 02:49:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 02:49:18] Production.INFO: ============== Deal alert START===========
[2025-04-12 02:49:18] Production.INFO: ============== Deal alert END===========
[2025-04-12 02:49:18] Production.INFO: ==12981== Releasing lock...
[2025-04-12 02:49:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 02:49:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 02:49:18] Production.INFO: count ==353
[2025-04-12 02:49:18] Production.ERROR: pbx CDR StartTime 2025-04-11 23:49:05 - End Time 2025-04-12 02:49:05
[2025-04-12 02:49:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 02:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888605', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888605', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888605', 'tblTempVendorCDR_20' ) start
[2025-04-12 02:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888605', 'tblTempVendorCDR_20' ) end
[2025-04-12 02:49:18] Production.INFO: ProcessCDR(1,14888605,1,1,2)
[2025-04-12 02:49:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888605,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:49:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888605,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:49:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888605,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:49:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888605,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888605', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888605', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:49:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 02:49:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 02:49:22] Production.INFO: ==12989== Releasing lock...
[2025-04-12 02:49:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 02:49:22] Production.INFO: 30.25 MB #Memory Used#
[2025-04-12 07:50:02] Production.INFO: ==13052== Lock acquired, processing the job...
[2025-04-12 07:50:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 07:50:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 07:50:02] Production.INFO: neon service started
[2025-04-12 07:50:02] Production.INFO: neon service started
[2025-04-12 07:50:02] Production.INFO: ==13052== Releasing lock...
[2025-04-12 07:50:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 07:50:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 02:50:02] Production.INFO: ==13054== Lock acquired, processing the job...
[2025-04-12 02:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 06:50:03] Production.INFO: ==13057== Lock acquired, processing the job...
[2025-04-12 06:50:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 02:50:03] Production.INFO: ==13054== Releasing lock...
[2025-04-12 02:50:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 02:50:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 06:50:03] Production.INFO: ==13057== Releasing lock...
[2025-04-12 06:50:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 06:50:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 02:50:04] Production.INFO: ==13065== Lock acquired, processing the job...
[2025-04-12 02:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 02:50:04] Production.INFO: ==13069== Lock acquired, processing the job...
[2025-04-12 02:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 02:50:04] Production.INFO: ==13061== Lock acquired, processing the job...
[2025-04-12 02:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 02:50:04] Production.INFO: ==13071== Lock acquired, processing the job...
[2025-04-12 02:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 02:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 02:50:04] Production.INFO: ==13059== Lock acquired, processing the job...
[2025-04-12 02:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 02:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 02:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 02:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 02:50:04] Production.INFO: ==13063== Lock acquired, processing the job...
[2025-04-12 02:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 02:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 02:50:04] Production.INFO: ==13067== Lock acquired, processing the job...
[2025-04-12 02:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 02:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 02:50:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 02:50:04] Production.INFO: ==13073== Lock acquired, processing the job...
[2025-04-12 02:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 02:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 02:50:04] Production.ERROR: CronJob PID - 13061
[2025-04-12 02:50:04] Production.ERROR: CronJob Title - System Alerts
[2025-04-12 02:50:04] Production.ERROR: CronJob ID - 5
[2025-04-12 02:50:04] Production.ERROR: CronJob Last Run Time 2025-04-12 02:50:00
[2025-04-12 02:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 02:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 02:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 02:50:04] Production.ERROR: CronJob PID - 13063
[2025-04-12 02:50:04] Production.ERROR: CronJob Title - Account Block
[2025-04-12 02:50:04] Production.ERROR: CronJob ID - 7
[2025-04-12 02:50:04] Production.ERROR: CronJob Last Run Time 2025-04-12 02:50:00
[2025-04-12 02:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 02:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 02:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 02:50:04] Production.ERROR: CronJob PID - 13065
[2025-04-12 02:50:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-04-12 02:50:04] Production.ERROR: CronJob ID - 10
[2025-04-12 02:50:04] Production.ERROR: CronJob Last Run Time 2025-04-12 02:50:00
[2025-04-12 02:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 02:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 02:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 02:50:04] Production.ERROR: CronJob PID - 13067
[2025-04-12 02:50:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-04-12 02:50:04] Production.ERROR: CronJob ID - 12
[2025-04-12 02:50:04] Production.ERROR: CronJob Last Run Time 2025-04-12 02:50:00
[2025-04-12 02:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 02:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 02:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 02:50:04] Production.ERROR: CronJob PID - 13069
[2025-04-12 02:50:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-04-12 02:50:04] Production.ERROR: CronJob ID - 16
[2025-04-12 02:50:04] Production.ERROR: CronJob Last Run Time 2025-04-12 02:50:00
[2025-04-12 02:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 02:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 02:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 02:50:04] Production.ERROR: CronJob PID - 13071
[2025-04-12 02:50:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-04-12 02:50:04] Production.ERROR: CronJob ID - 17
[2025-04-12 02:50:04] Production.ERROR: CronJob Last Run Time 2025-04-12 02:50:00
[2025-04-12 02:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 02:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 02:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 02:50:04] Production.INFO: Account Balance Start.
[2025-04-12 02:50:04] Production.INFO: CreateAllLog Start
[2025-04-12 02:50:04] Production.INFO: 117
[2025-04-12 02:50:04] Production.INFO: Date 2025-04-08
[2025-04-12 02:50:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:50:04] Production.INFO: Date 2025-04-09
[2025-04-12 02:50:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:50:04] Production.INFO: Date 2025-04-10
[2025-04-12 02:50:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:50:05] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 02:50:05] Production.INFO: ==13059== Releasing lock...
[2025-04-12 02:50:05] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 02:50:05] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 02:50:05] Production.ERROR: done
[2025-04-12 02:50:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 02:50:05] Production.INFO: Date 2025-04-11
[2025-04-12 02:50:05] Production.INFO: Reseller ==> 0
[2025-04-12 02:50:05] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 02:50:05] Production.INFO: Date 2025-04-12
[2025-04-12 02:50:05] Production.INFO: Reseller ==> 0
[2025-04-12 02:50:05] Production.INFO: Total Charge 0
[2025-04-12 02:50:05] Production.INFO: CreateAllLog End
[2025-04-12 02:50:05] Production.INFO: count ==12
[2025-04-12 02:50:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 02:50:05] Production.INFO: count ==23
[2025-04-12 02:50:05] Production.INFO: ==13063== Releasing lock...
[2025-04-12 02:50:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 02:50:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 02:50:05] Production.ERROR: PBX CALL prc_importPBXExtension('14888609') start
[2025-04-12 02:50:05] Production.ERROR: done
[2025-04-12 02:50:05] Production.ERROR: done
[2025-04-12 02:50:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 02:50:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14888610', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 02:50:05] Production.ERROR: PBX CALL prc_importPBXExtension('14888609') end
[2025-04-12 02:50:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 02:50:05] Production.INFO: 1
[2025-04-12 02:50:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 02:50:05] Production.INFO: Account Balance End.
[2025-04-12 02:50:05] Production.INFO: ==13073== Releasing lock...
[2025-04-12 02:50:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 02:50:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 02:50:05] Production.ERROR: CronJobId end 12
[2025-04-12 02:50:05] Production.INFO: ==13067== Releasing lock...
[2025-04-12 02:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 02:50:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 02:50:07] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 23:50:07
[end_date_ymd] => 2025-04-12 02:50:07
[RateCDR] => 1
)
[2025-04-12 02:50:07] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 23:50:07' and `end` < '2025-04-12 02:50:07'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 02:50:11] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14888610', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 02:50:11] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 02:50:11] Production.INFO: ProcessCDR(1,14888610,1,1,2)
[2025-04-12 02:50:11] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14888610,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:50:11] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14888610,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:50:11] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 02:50:11] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 02:50:11] Production.INFO: ==13071== Releasing lock...
[2025-04-12 02:50:11] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 02:50:11] Production.INFO: 26 MB #Memory Used#
[2025-04-12 02:50:15] Production.ERROR: CronJobId end10
[2025-04-12 02:50:15] Production.INFO: ==13065== Releasing lock...
[2025-04-12 02:50:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 02:50:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 02:50:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 02:50:17] Production.INFO: ============== Balance Warning START===========
[2025-04-12 02:50:17] Production.INFO: ============== Balance Warning END===========
[2025-04-12 02:50:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 02:50:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 02:50:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 02:50:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 02:50:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 02:50:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 02:50:17] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 02:50:17] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 02:50:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 02:50:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 02:50:17] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 02:50:18] Production.INFO: call_cost start
[2025-04-12 02:50:18] Production.INFO: call_cost end
[2025-04-12 02:50:19] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 02:50:19] Production.INFO: ============== Report Schedule START===========
[2025-04-12 02:50:19] Production.INFO: ============== Report Schedule END===========
[2025-04-12 02:50:19] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 02:50:19] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 02:50:19] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 02:50:19] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 02:50:19] Production.INFO: ============== Deal alert START===========
[2025-04-12 02:50:19] Production.INFO: ============== Deal alert END===========
[2025-04-12 02:50:19] Production.INFO: ==13061== Releasing lock...
[2025-04-12 02:50:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 02:50:19] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 02:50:19] Production.INFO: count ==360
[2025-04-12 02:50:20] Production.ERROR: pbx CDR StartTime 2025-04-11 23:50:07 - End Time 2025-04-12 02:50:07
[2025-04-12 02:50:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 02:50:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888611', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:50:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888611', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:50:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888611', 'tblTempVendorCDR_20' ) start
[2025-04-12 02:50:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888611', 'tblTempVendorCDR_20' ) end
[2025-04-12 02:50:20] Production.INFO: ProcessCDR(1,14888611,1,1,2)
[2025-04-12 02:50:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888611,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:50:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888611,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:50:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888611,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:50:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888611,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:50:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888611', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:50:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888611', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:50:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 02:50:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 02:50:23] Production.INFO: ==13069== Releasing lock...
[2025-04-12 02:50:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 02:50:23] Production.INFO: 30.25 MB #Memory Used#
[2025-04-12 07:51:01] Production.INFO: ==13127== Lock acquired, processing the job...
[2025-04-12 07:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 07:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 07:51:01] Production.INFO: neon service started
[2025-04-12 07:51:01] Production.INFO: neon service started
[2025-04-12 07:51:01] Production.INFO: ==13127== Releasing lock...
[2025-04-12 07:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 07:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 02:51:02] Production.INFO: ==13129== Lock acquired, processing the job...
[2025-04-12 02:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 06:51:02] Production.INFO: ==13131== Lock acquired, processing the job...
[2025-04-12 06:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 02:51:02] Production.INFO: ==13129== Releasing lock...
[2025-04-12 02:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 02:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 06:51:02] Production.INFO: ==13131== Releasing lock...
[2025-04-12 06:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 06:51:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 02:51:03] Production.INFO: ==13138== Lock acquired, processing the job...
[2025-04-12 02:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 02:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 02:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 02:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 02:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 02:51:03] Production.INFO: ==13134== Lock acquired, processing the job...
[2025-04-12 02:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 02:51:03] Production.INFO: ==13144== Lock acquired, processing the job...
[2025-04-12 02:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 02:51:03] Production.INFO: ==13136== Lock acquired, processing the job...
[2025-04-12 02:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 02:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 02:51:03] Production.INFO: ==13140== Lock acquired, processing the job...
[2025-04-12 02:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 02:51:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 02:51:03] Production.INFO: count ==12
[2025-04-12 02:51:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 02:51:03] Production.INFO: count ==23
[2025-04-12 02:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14888613') start
[2025-04-12 02:51:03] Production.INFO: ==13142== Lock acquired, processing the job...
[2025-04-12 02:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 02:51:04] Production.INFO: Account Balance Start.
[2025-04-12 02:51:04] Production.INFO: CreateAllLog Start
[2025-04-12 02:51:04] Production.INFO: 117
[2025-04-12 02:51:04] Production.INFO: Date 2025-04-08
[2025-04-12 02:51:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:51:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 02:51:04] Production.INFO: Date 2025-04-09
[2025-04-12 02:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888613') end
[2025-04-12 02:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 02:51:04] Production.INFO: 1
[2025-04-12 02:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 02:51:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:51:04] Production.INFO: Date 2025-04-10
[2025-04-12 02:51:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:51:04] Production.INFO: Date 2025-04-11
[2025-04-12 02:51:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:51:04] Production.INFO: Date 2025-04-12
[2025-04-12 02:51:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:51:04] Production.INFO: ==13144== Releasing lock...
[2025-04-12 02:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 02:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 02:51:04] Production.INFO: Total Charge 0
[2025-04-12 02:51:04] Production.INFO: ==13136== Releasing lock...
[2025-04-12 02:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 02:51:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 02:51:04] Production.INFO: CreateAllLog End
[2025-04-12 02:51:04] Production.ERROR: done
[2025-04-12 02:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 02:51:04] Production.INFO: Account Balance End.
[2025-04-12 02:51:04] Production.ERROR: done
[2025-04-12 02:51:04] Production.ERROR: CronJobId end 12
[2025-04-12 02:51:04] Production.INFO: ==13140== Releasing lock...
[2025-04-12 02:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 02:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 02:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 23:51:05
[end_date_ymd] => 2025-04-12 02:51:05
[RateCDR] => 1
)
[2025-04-12 02:51:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 23:51:05' and `end` < '2025-04-12 02:51:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 02:51:12] Production.ERROR: CronJobId end10
[2025-04-12 02:51:12] Production.INFO: ==13138== Releasing lock...
[2025-04-12 02:51:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 02:51:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 02:51:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 02:51:16] Production.INFO: ============== Balance Warning START===========
[2025-04-12 02:51:16] Production.INFO: ============== Balance Warning END===========
[2025-04-12 02:51:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 02:51:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 02:51:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 02:51:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 02:51:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 02:51:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 02:51:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 02:51:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 02:51:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 02:51:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 02:51:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 02:51:16] Production.INFO: call_cost start
[2025-04-12 02:51:16] Production.INFO: call_cost end
[2025-04-12 02:51:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 02:51:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 02:51:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 02:51:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 02:51:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 02:51:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 02:51:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 02:51:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 02:51:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 02:51:17] Production.INFO: ==13134== Releasing lock...
[2025-04-12 02:51:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 02:51:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 02:51:18] Production.INFO: count ==360
[2025-04-12 02:51:18] Production.ERROR: pbx CDR StartTime 2025-04-11 23:51:05 - End Time 2025-04-12 02:51:05
[2025-04-12 02:51:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 02:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888616', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888616', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888616', 'tblTempVendorCDR_20' ) start
[2025-04-12 02:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888616', 'tblTempVendorCDR_20' ) end
[2025-04-12 02:51:18] Production.INFO: ProcessCDR(1,14888616,1,1,2)
[2025-04-12 02:51:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888616,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:51:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888616,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:51:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888616,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:51:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888616,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888616', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888616', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:51:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 02:51:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 02:51:22] Production.INFO: ==13142== Releasing lock...
[2025-04-12 02:51:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 02:51:22] Production.INFO: 30.25 MB #Memory Used#
[2025-04-12 07:52:02] Production.INFO: ==13199== Lock acquired, processing the job...
[2025-04-12 07:52:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 07:52:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 07:52:02] Production.INFO: neon service started
[2025-04-12 07:52:02] Production.INFO: neon service started
[2025-04-12 07:52:02] Production.INFO: ==13199== Releasing lock...
[2025-04-12 07:52:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 07:52:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 02:52:02] Production.INFO: ==13201== Lock acquired, processing the job...
[2025-04-12 02:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 02:52:03] Production.INFO: ==13201== Releasing lock...
[2025-04-12 02:52:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 02:52:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 06:52:03] Production.INFO: ==13203== Lock acquired, processing the job...
[2025-04-12 06:52:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 06:52:03] Production.INFO: ==13203== Releasing lock...
[2025-04-12 06:52:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 06:52:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 02:52:04] Production.INFO: ==13210== Lock acquired, processing the job...
[2025-04-12 02:52:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 02:52:04] Production.INFO: ==13206== Lock acquired, processing the job...
[2025-04-12 02:52:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 02:52:04] Production.INFO: ==13214== Lock acquired, processing the job...
[2025-04-12 02:52:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 02:52:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 02:52:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 02:52:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 02:52:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 02:52:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 02:52:04] Production.INFO: ==13208== Lock acquired, processing the job...
[2025-04-12 02:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 02:52:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 02:52:04] Production.INFO: ==13212== Lock acquired, processing the job...
[2025-04-12 02:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 02:52:04] Production.INFO: ==13216== Lock acquired, processing the job...
[2025-04-12 02:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 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-12 02:52:04] Production.INFO: Account Balance Start.
[2025-04-12 02:52:04] Production.INFO: CreateAllLog Start
[2025-04-12 02:52:04] Production.INFO: 117
[2025-04-12 02:52:04] Production.INFO: Date 2025-04-08
[2025-04-12 02:52:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:52:04] Production.INFO: count ==12
[2025-04-12 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-12 02:52:04] Production.INFO: count ==23
[2025-04-12 02:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888618') start
[2025-04-12 02:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888618') end
[2025-04-12 02:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 02:52:04] Production.INFO: 1
[2025-04-12 02:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 02:52:04] Production.ERROR: done
[2025-04-12 02:52:04] Production.INFO: Date 2025-04-09
[2025-04-12 02:52:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 02:52:04] Production.INFO: Date 2025-04-10
[2025-04-12 02:52:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:52:04] Production.INFO: Date 2025-04-11
[2025-04-12 02:52:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:52:05] Production.INFO: Date 2025-04-12
[2025-04-12 02:52:05] Production.INFO: Reseller ==> 0
[2025-04-12 02:52:05] Production.INFO: ==13216== Releasing lock...
[2025-04-12 02:52:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 02:52:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 02:52:05] Production.ERROR: done
[2025-04-12 02:52:05] Production.INFO: Total Charge 0
[2025-04-12 02:52:05] Production.INFO: CreateAllLog End
[2025-04-12 02:52:05] Production.INFO: ==13208== Releasing lock...
[2025-04-12 02:52:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 02:52:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 02:52:05] Production.INFO: Account Balance End.
[2025-04-12 02:52:05] Production.ERROR: CronJobId end 12
[2025-04-12 02:52:05] Production.INFO: ==13212== Releasing lock...
[2025-04-12 02:52:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 02:52:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 02:52:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 23:52:06
[end_date_ymd] => 2025-04-12 02:52:06
[RateCDR] => 1
)
[2025-04-12 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-11 23:52:06' and `end` < '2025-04-12 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-12 02:52:13] Production.ERROR: CronJobId end10
[2025-04-12 02:52:13] Production.INFO: ==13210== Releasing lock...
[2025-04-12 02:52:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 02:52:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 02:52:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 02:52:17] Production.INFO: ============== Balance Warning START===========
[2025-04-12 02:52:17] Production.INFO: ============== Balance Warning END===========
[2025-04-12 02:52:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 02:52:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 02:52:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 02:52:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 02:52:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 02:52:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 02:52:17] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 02:52:17] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 02:52:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 02:52:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 02:52:17] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 02:52:17] Production.INFO: call_cost start
[2025-04-12 02:52:17] Production.INFO: call_cost end
[2025-04-12 02:52:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 02:52:18] Production.INFO: ============== Report Schedule START===========
[2025-04-12 02:52:18] Production.INFO: ============== Report Schedule END===========
[2025-04-12 02:52:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 02:52:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 02:52:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 02:52:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 02:52:18] Production.INFO: ============== Deal alert START===========
[2025-04-12 02:52:18] Production.INFO: ============== Deal alert END===========
[2025-04-12 02:52:18] Production.INFO: ==13206== Releasing lock...
[2025-04-12 02:52:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 02:52:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 02:52:19] Production.INFO: count ==360
[2025-04-12 02:52:19] Production.ERROR: pbx CDR StartTime 2025-04-11 23:52:06 - End Time 2025-04-12 02:52:06
[2025-04-12 02:52:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 02:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888621', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888621', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888621', 'tblTempVendorCDR_20' ) start
[2025-04-12 02:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888621', 'tblTempVendorCDR_20' ) end
[2025-04-12 02:52:19] Production.INFO: ProcessCDR(1,14888621,1,1,2)
[2025-04-12 02:52:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888621,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:52:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888621,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:52:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888621,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:52:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888621,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:52:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888621', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:52:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888621', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:52:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 02:52:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 02:52:23] Production.INFO: ==13214== Releasing lock...
[2025-04-12 02:52:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 02:52:23] Production.INFO: 30.25 MB #Memory Used#
[2025-04-12 07:53:01] Production.INFO: ==13271== Lock acquired, processing the job...
[2025-04-12 07:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 07:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 07:53:01] Production.INFO: neon service started
[2025-04-12 07:53:01] Production.INFO: neon service started
[2025-04-12 07:53:01] Production.INFO: ==13271== Releasing lock...
[2025-04-12 07:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 07:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 02:53:02] Production.INFO: ==13273== Lock acquired, processing the job...
[2025-04-12 02:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 02:53:02] Production.INFO: ==13273== Releasing lock...
[2025-04-12 02:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 02:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 06:53:02] Production.INFO: ==13275== Lock acquired, processing the job...
[2025-04-12 06:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 06:53:02] Production.INFO: ==13275== Releasing lock...
[2025-04-12 06:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 06:53:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 02:53:03] Production.INFO: ==13278== Lock acquired, processing the job...
[2025-04-12 02:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 02:53:03] Production.INFO: ==13280== Lock acquired, processing the job...
[2025-04-12 02:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 02:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 02:53:03] Production.INFO: ==13284== Lock acquired, processing the job...
[2025-04-12 02:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 02:53:03] Production.INFO: ==13282== Lock acquired, processing the job...
[2025-04-12 02:53:03] Production.INFO: Account Balance Start.
[2025-04-12 02:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 02:53:03] Production.INFO: CreateAllLog Start
[2025-04-12 02:53:03] Production.INFO: 117
[2025-04-12 02:53:03] Production.INFO: Date 2025-04-08
[2025-04-12 02:53:03] Production.INFO: Reseller ==> 0
[2025-04-12 02:53:04] Production.INFO: Date 2025-04-09
[2025-04-12 02:53:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:53:04] Production.INFO: ==13286== Lock acquired, processing the job...
[2025-04-12 02:53:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 02:53:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 02:53:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 02:53:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 02:53:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 02:53:04] Production.INFO: Date 2025-04-10
[2025-04-12 02:53:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:53:04] Production.INFO: ==13280== Releasing lock...
[2025-04-12 02:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 02:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 02:53:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 02:53:04] Production.INFO: ==13288== Lock acquired, processing the job...
[2025-04-12 02:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 02:53:04] Production.INFO: Date 2025-04-11
[2025-04-12 02:53:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:53:04] Production.INFO: Date 2025-04-12
[2025-04-12 02:53:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:53:04] Production.INFO: Total Charge 0
[2025-04-12 02:53:04] Production.INFO: CreateAllLog End
[2025-04-12 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-12 02:53:04] Production.INFO: count ==12
[2025-04-12 02:53:04] Production.ERROR: done
[2025-04-12 02:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 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-12 02:53:04] Production.INFO: count ==23
[2025-04-12 02:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888625') start
[2025-04-12 02:53:04] Production.INFO: Account Balance End.
[2025-04-12 02:53:04] Production.ERROR: done
[2025-04-12 02:53:04] Production.ERROR: CronJobId end 12
[2025-04-12 02:53:04] Production.INFO: ==13284== Releasing lock...
[2025-04-12 02:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 02:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 02:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888625') end
[2025-04-12 02:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 02:53:04] Production.INFO: 1
[2025-04-12 02:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 02:53:04] Production.INFO: ==13288== Releasing lock...
[2025-04-12 02:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 02:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 02:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 23:53:05
[end_date_ymd] => 2025-04-12 02:53:05
[RateCDR] => 1
)
[2025-04-12 02:53:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 23:53:05' and `end` < '2025-04-12 02:53:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 02:53:13] Production.ERROR: CronJobId end10
[2025-04-12 02:53:13] Production.INFO: ==13282== Releasing lock...
[2025-04-12 02:53:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 02:53:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 02:53:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 02:53:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 02:53:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 02:53:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 02:53:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 02:53:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 02:53:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 02:53:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 02:53:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 02:53:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 02:53:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 02:53:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 02:53:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 02:53:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 02:53:16] Production.INFO: call_cost start
[2025-04-12 02:53:16] Production.INFO: call_cost end
[2025-04-12 02:53:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 02:53:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 02:53:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 02:53:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 02:53:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 02:53:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 02:53:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 02:53:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 02:53:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 02:53:17] Production.INFO: ==13278== Releasing lock...
[2025-04-12 02:53:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 02:53:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 02:53:18] Production.INFO: count ==360
[2025-04-12 02:53:18] Production.ERROR: pbx CDR StartTime 2025-04-11 23:53:05 - End Time 2025-04-12 02:53:05
[2025-04-12 02:53:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 02:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888626', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888626', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888626', 'tblTempVendorCDR_20' ) start
[2025-04-12 02:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888626', 'tblTempVendorCDR_20' ) end
[2025-04-12 02:53:18] Production.INFO: ProcessCDR(1,14888626,1,1,2)
[2025-04-12 02:53:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888626,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:53:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888626,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:53:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888626,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:53:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888626,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888626', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888626', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:53:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 02:53:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 02:53:22] Production.INFO: ==13286== Releasing lock...
[2025-04-12 02:53:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 02:53:22] Production.INFO: 30.25 MB #Memory Used#
[2025-04-12 07:54:02] Production.INFO: ==13343== Lock acquired, processing the job...
[2025-04-12 07:54:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 07:54:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 07:54:02] Production.INFO: neon service started
[2025-04-12 07:54:02] Production.INFO: neon service started
[2025-04-12 07:54:02] Production.INFO: ==13343== Releasing lock...
[2025-04-12 07:54:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 07:54:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 02:54:03] Production.INFO: ==13345== Lock acquired, processing the job...
[2025-04-12 02:54:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 06:54:03] Production.INFO: ==13347== Lock acquired, processing the job...
[2025-04-12 06:54:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 06:54:03] Production.INFO: ==13347== Releasing lock...
[2025-04-12 06:54:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 06:54:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 02:54:03] Production.INFO: ==13345== Releasing lock...
[2025-04-12 02:54:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 02:54:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 02:54:04] Production.INFO: ==13350== Lock acquired, processing the job...
[2025-04-12 02:54:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 02:54:04] Production.INFO: ==13352== Lock acquired, processing the job...
[2025-04-12 02:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 02:54:04] Production.INFO: ==13354== Lock acquired, processing the job...
[2025-04-12 02:54:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 02:54:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 02:54:04] Production.INFO: ==13360== Lock acquired, processing the job...
[2025-04-12 02:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 02:54:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 02:54:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 02:54:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 02:54:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 02:54:04] Production.INFO: ==13358== Lock acquired, processing the job...
[2025-04-12 02:54:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 02:54:04] Production.INFO: ==13356== Lock acquired, processing the job...
[2025-04-12 02:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 02:54:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 02:54:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 02:54:04] Production.INFO: count ==12
[2025-04-12 02:54: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-12 02:54:05] Production.INFO: count ==23
[2025-04-12 02:54:05] Production.ERROR: PBX CALL prc_importPBXExtension('14888629') start
[2025-04-12 02:54:05] Production.INFO: ==13352== Releasing lock...
[2025-04-12 02:54:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 02:54:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 02:54:05] Production.INFO: Account Balance Start.
[2025-04-12 02:54:05] Production.INFO: CreateAllLog Start
[2025-04-12 02:54:05] Production.INFO: 117
[2025-04-12 02:54:05] Production.INFO: Date 2025-04-08
[2025-04-12 02:54:05] Production.INFO: Reseller ==> 0
[2025-04-12 02:54:05] Production.INFO: Date 2025-04-09
[2025-04-12 02:54:05] Production.INFO: Reseller ==> 0
[2025-04-12 02:54:05] Production.ERROR: PBX CALL prc_importPBXExtension('14888629') end
[2025-04-12 02:54:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 02:54:05] Production.INFO: 1
[2025-04-12 02:54:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 02:54:05] Production.INFO: Date 2025-04-10
[2025-04-12 02:54:05] Production.INFO: Reseller ==> 0
[2025-04-12 02:54:05] Production.INFO: Date 2025-04-11
[2025-04-12 02:54:05] Production.INFO: Reseller ==> 0
[2025-04-12 02:54:05] Production.INFO: ==13360== Releasing lock...
[2025-04-12 02:54:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 02:54:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 02:54:05] Production.INFO: Date 2025-04-12
[2025-04-12 02:54:05] Production.INFO: Reseller ==> 0
[2025-04-12 02:54:05] Production.ERROR: done
[2025-04-12 02:54:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 02:54:05] Production.INFO: Total Charge 0
[2025-04-12 02:54:05] Production.INFO: CreateAllLog End
[2025-04-12 02:54:05] Production.ERROR: done
[2025-04-12 02:54:05] Production.INFO: Account Balance End.
[2025-04-12 02:54:05] Production.ERROR: CronJobId end 12
[2025-04-12 02:54:05] Production.INFO: ==13356== Releasing lock...
[2025-04-12 02:54:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 02:54:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 02:54:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 23:54:06
[end_date_ymd] => 2025-04-12 02:54:06
[RateCDR] => 1
)
[2025-04-12 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-11 23:54:06' and `end` < '2025-04-12 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-12 02:54:14] Production.ERROR: CronJobId end10
[2025-04-12 02:54:14] Production.INFO: ==13354== Releasing lock...
[2025-04-12 02:54:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 02:54:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 02:54:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 02:54:16] Production.INFO: ============== Balance Warning START===========
[2025-04-12 02:54:16] Production.INFO: ============== Balance Warning END===========
[2025-04-12 02:54:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 02:54:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 02:54:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 02:54:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 02:54:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 02:54:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 02:54:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 02:54:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 02:54:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 02:54:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 02:54:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 02:54:17] Production.INFO: call_cost start
[2025-04-12 02:54:17] Production.INFO: call_cost end
[2025-04-12 02:54:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 02:54:18] Production.INFO: ============== Report Schedule START===========
[2025-04-12 02:54:18] Production.INFO: ============== Report Schedule END===========
[2025-04-12 02:54:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 02:54:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 02:54:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 02:54:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 02:54:18] Production.INFO: ============== Deal alert START===========
[2025-04-12 02:54:18] Production.INFO: ============== Deal alert END===========
[2025-04-12 02:54:18] Production.INFO: ==13350== Releasing lock...
[2025-04-12 02:54:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 02:54:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 02:54:19] Production.INFO: count ==361
[2025-04-12 02:54:19] Production.ERROR: pbx CDR StartTime 2025-04-11 23:54:06 - End Time 2025-04-12 02:54:06
[2025-04-12 02:54:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 02:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888631', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888631', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888631', 'tblTempVendorCDR_20' ) start
[2025-04-12 02:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888631', 'tblTempVendorCDR_20' ) end
[2025-04-12 02:54:19] Production.INFO: ProcessCDR(1,14888631,1,1,2)
[2025-04-12 02:54:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888631,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:54:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888631,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:54:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888631,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:54:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888631,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:54:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888631', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:54:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888631', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:54:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 02:54:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 02:54:23] Production.INFO: ==13358== Releasing lock...
[2025-04-12 02:54:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 02:54:23] Production.INFO: 30.25 MB #Memory Used#
[2025-04-12 07:55:01] Production.INFO: ==13415== Lock acquired, processing the job...
[2025-04-12 07:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 07:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 07:55:01] Production.INFO: neon service started
[2025-04-12 07:55:01] Production.INFO: neon service started
[2025-04-12 07:55:01] Production.INFO: ==13415== Releasing lock...
[2025-04-12 07:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 07:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 02:55:02] Production.INFO: ==13417== Lock acquired, processing the job...
[2025-04-12 02:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 06:55:02] Production.INFO: ==13419== Lock acquired, processing the job...
[2025-04-12 06:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 06:55:02] Production.INFO: ==13419== Releasing lock...
[2025-04-12 06:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 06:55:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 02:55:03] Production.INFO: ==13417== Releasing lock...
[2025-04-12 02:55:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 02:55:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 02:55:03] Production.INFO: ==13422== Lock acquired, processing the job...
[2025-04-12 02:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 02:55:04] Production.INFO: ==13432== Lock acquired, processing the job...
[2025-04-12 02:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 02:55:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 02:55:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 02:55:04] Production.INFO: ==13424== Lock acquired, processing the job...
[2025-04-12 02:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 02:55:04] Production.INFO: ==13426== Lock acquired, processing the job...
[2025-04-12 02:55:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 02:55:04] Production.INFO: count ==12
[2025-04-12 02:55:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 02:55:04] Production.INFO: count ==23
[2025-04-12 02:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888633') start
[2025-04-12 02:55:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 02:55:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 02:55:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 02:55:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 02:55:04] Production.INFO: ==13428== Lock acquired, processing the job...
[2025-04-12 02:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 02:55:04] Production.INFO: ==13430== Lock acquired, processing the job...
[2025-04-12 02:55:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 02:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888633') end
[2025-04-12 02:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 02:55:04] Production.INFO: 1
[2025-04-12 02:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 02:55:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 02:55:04] Production.INFO: ==13432== Releasing lock...
[2025-04-12 02:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 02:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 02:55:04] Production.INFO: ==13424== Releasing lock...
[2025-04-12 02:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 02:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 02:55:04] Production.INFO: Account Balance Start.
[2025-04-12 02:55:04] Production.INFO: CreateAllLog Start
[2025-04-12 02:55:04] Production.INFO: 117
[2025-04-12 02:55:04] Production.INFO: Date 2025-04-08
[2025-04-12 02:55:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:55:04] Production.INFO: Date 2025-04-09
[2025-04-12 02:55:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:55:04] Production.INFO: Date 2025-04-10
[2025-04-12 02:55:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:55:04] Production.INFO: Date 2025-04-11
[2025-04-12 02:55:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:55:04] Production.INFO: Date 2025-04-12
[2025-04-12 02:55:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:55:04] Production.INFO: Total Charge 0
[2025-04-12 02:55:04] Production.INFO: CreateAllLog End
[2025-04-12 02:55:05] Production.ERROR: done
[2025-04-12 02:55:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 02:55:05] Production.ERROR: done
[2025-04-12 02:55:05] Production.INFO: Account Balance End.
[2025-04-12 02:55:05] Production.ERROR: CronJobId end 12
[2025-04-12 02:55:05] Production.INFO: ==13428== Releasing lock...
[2025-04-12 02:55:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 02:55:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 02:55:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 23:55:06
[end_date_ymd] => 2025-04-12 02:55:06
[RateCDR] => 1
)
[2025-04-12 02:55:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 23:55:06' and `end` < '2025-04-12 02:55:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 02:55:13] Production.ERROR: CronJobId end10
[2025-04-12 02:55:13] Production.INFO: ==13426== Releasing lock...
[2025-04-12 02:55:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 02:55:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 02:55:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 02:55:16] Production.INFO: ============== Balance Warning START===========
[2025-04-12 02:55:16] Production.INFO: ============== Balance Warning END===========
[2025-04-12 02:55:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 02:55:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 02:55:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 02:55:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 02:55:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 02:55:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 02:55:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 02:55:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 02:55:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 02:55:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 02:55:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 02:55:16] Production.INFO: call_cost start
[2025-04-12 02:55:16] Production.INFO: call_cost end
[2025-04-12 02:55:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 02:55:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 02:55:18] Production.INFO: ============== Report Schedule END===========
[2025-04-12 02:55:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 02:55:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 02:55:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 02:55:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 02:55:18] Production.INFO: ============== Deal alert START===========
[2025-04-12 02:55:18] Production.INFO: ============== Deal alert END===========
[2025-04-12 02:55:18] Production.INFO: ==13422== Releasing lock...
[2025-04-12 02:55:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 02:55:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 02:55:19] Production.INFO: count ==361
[2025-04-12 02:55:19] Production.ERROR: pbx CDR StartTime 2025-04-11 23:55:06 - End Time 2025-04-12 02:55:06
[2025-04-12 02:55:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 02:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888636', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888636', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888636', 'tblTempVendorCDR_20' ) start
[2025-04-12 02:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888636', 'tblTempVendorCDR_20' ) end
[2025-04-12 02:55:19] Production.INFO: ProcessCDR(1,14888636,1,1,2)
[2025-04-12 02:55:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888636,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:55:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888636,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:55:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888636,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:55:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888636,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:55:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888636', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:55:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888636', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:55:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 02:55:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 02:55:23] Production.INFO: ==13430== Releasing lock...
[2025-04-12 02:55:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 02:55:23] Production.INFO: 30.25 MB #Memory Used#
[2025-04-12 07:56:01] Production.INFO: ==13491== Lock acquired, processing the job...
[2025-04-12 07:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 07:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 07:56:01] Production.INFO: neon service started
[2025-04-12 07:56:01] Production.INFO: neon service started
[2025-04-12 07:56:01] Production.INFO: ==13491== Releasing lock...
[2025-04-12 07:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 07:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 02:56:01] Production.INFO: ==13493== Lock acquired, processing the job...
[2025-04-12 02:56:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 02:56:02] Production.INFO: ==13493== Releasing lock...
[2025-04-12 02:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 02:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 06:56:02] Production.INFO: ==13495== Lock acquired, processing the job...
[2025-04-12 06:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 06:56:02] Production.INFO: ==13495== Releasing lock...
[2025-04-12 06:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 06:56:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 02:56:03] Production.INFO: ==13500== Lock acquired, processing the job...
[2025-04-12 02:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 02:56:03] Production.INFO: ==13508== Lock acquired, processing the job...
[2025-04-12 02:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 02:56:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 02:56:03] Production.INFO: count ==12
[2025-04-12 02:56:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 02:56:03] Production.INFO: count ==23
[2025-04-12 02:56:03] Production.INFO: ==13498== Lock acquired, processing the job...
[2025-04-12 02:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 02:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14888638') start
[2025-04-12 02:56:03] Production.INFO: ==13500== Releasing lock...
[2025-04-12 02:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 02:56:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 02:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14888638') end
[2025-04-12 02:56:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 02:56:03] Production.INFO: 1
[2025-04-12 02:56:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 02:56:03] Production.INFO: ==13502== Lock acquired, processing the job...
[2025-04-12 02:56:03] Production.INFO: ==13504== Lock acquired, processing the job...
[2025-04-12 02:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 02:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 02:56:03] Production.INFO: ==13506== Lock acquired, processing the job...
[2025-04-12 02:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 02:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 02:56:03] Production.INFO: Account Balance Start.
[2025-04-12 02:56:03] Production.INFO: CreateAllLog Start
[2025-04-12 02:56:03] Production.INFO: 117
[2025-04-12 02:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 02:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 02:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 02:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 02:56:03] Production.INFO: Date 2025-04-08
[2025-04-12 02:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 02:56:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:56:04] Production.INFO: ==13508== Releasing lock...
[2025-04-12 02:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 02:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 02:56:04] Production.INFO: Date 2025-04-09
[2025-04-12 02:56:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:56:04] Production.INFO: Date 2025-04-10
[2025-04-12 02:56:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:56:04] Production.INFO: Date 2025-04-11
[2025-04-12 02:56:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:56:04] Production.INFO: Date 2025-04-12
[2025-04-12 02:56:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:56:04] Production.INFO: Total Charge 0
[2025-04-12 02:56:04] Production.INFO: CreateAllLog End
[2025-04-12 02:56:04] Production.ERROR: done
[2025-04-12 02:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 02:56:04] Production.INFO: Account Balance End.
[2025-04-12 02:56:04] Production.ERROR: done
[2025-04-12 02:56:04] Production.ERROR: CronJobId end 12
[2025-04-12 02:56:04] Production.INFO: ==13504== Releasing lock...
[2025-04-12 02:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 02:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 02:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 23:56:05
[end_date_ymd] => 2025-04-12 02:56:05
[RateCDR] => 1
)
[2025-04-12 02:56:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 23:56:05' and `end` < '2025-04-12 02:56:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 02:56:12] Production.ERROR: CronJobId end10
[2025-04-12 02:56:12] Production.INFO: ==13502== Releasing lock...
[2025-04-12 02:56:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 02:56:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 02:56:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 02:56:16] Production.INFO: ============== Balance Warning START===========
[2025-04-12 02:56:16] Production.INFO: ============== Balance Warning END===========
[2025-04-12 02:56:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 02:56:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 02:56:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 02:56:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 02:56:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 02:56:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 02:56:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 02:56:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 02:56:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 02:56:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 02:56:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 02:56:16] Production.INFO: call_cost start
[2025-04-12 02:56:16] Production.INFO: call_cost end
[2025-04-12 02:56:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 02:56:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 02:56:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 02:56:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 02:56:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 02:56:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 02:56:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 02:56:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 02:56:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 02:56:17] Production.INFO: ==13498== Releasing lock...
[2025-04-12 02:56:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 02:56:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 02:56:18] Production.INFO: count ==357
[2025-04-12 02:56:18] Production.ERROR: pbx CDR StartTime 2025-04-11 23:56:05 - End Time 2025-04-12 02:56:05
[2025-04-12 02:56:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 02:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888641', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888641', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888641', 'tblTempVendorCDR_20' ) start
[2025-04-12 02:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888641', 'tblTempVendorCDR_20' ) end
[2025-04-12 02:56:18] Production.INFO: ProcessCDR(1,14888641,1,1,2)
[2025-04-12 02:56:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888641,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:56:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888641,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:56:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888641,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:56:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888641,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888641', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888641', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:56:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 02:56:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 02:56:22] Production.INFO: ==13506== Releasing lock...
[2025-04-12 02:56:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 02:56:22] Production.INFO: 30.25 MB #Memory Used#
[2025-04-12 07:57:01] Production.INFO: ==13601== Lock acquired, processing the job...
[2025-04-12 07:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 07:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 07:57:01] Production.INFO: neon service started
[2025-04-12 07:57:01] Production.INFO: neon service started
[2025-04-12 07:57:01] Production.INFO: ==13601== Releasing lock...
[2025-04-12 07:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 07:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 06:57:02] Production.INFO: ==13605== Lock acquired, processing the job...
[2025-04-12 06:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 06:57:02] Production.INFO: ==13605== Releasing lock...
[2025-04-12 06:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 06:57:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 02:57:02] Production.INFO: ==13603== Lock acquired, processing the job...
[2025-04-12 02:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 02:57:02] Production.INFO: ==13603== Releasing lock...
[2025-04-12 02:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 02:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 02:57:03] Production.INFO: ==13608== Lock acquired, processing the job...
[2025-04-12 02:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 02:57:03] Production.INFO: ==13614== Lock acquired, processing the job...
[2025-04-12 02:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 02:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 02:57:03] Production.INFO: ==13618== Lock acquired, processing the job...
[2025-04-12 02:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 02:57:03] Production.INFO: Account Balance Start.
[2025-04-12 02:57:03] Production.INFO: CreateAllLog Start
[2025-04-12 02:57:03] Production.INFO: 117
[2025-04-12 02:57:03] Production.INFO: Date 2025-04-08
[2025-04-12 02:57:03] Production.INFO: Reseller ==> 0
[2025-04-12 02:57:03] Production.INFO: Date 2025-04-09
[2025-04-12 02:57:03] Production.INFO: Reseller ==> 0
[2025-04-12 02:57:04] Production.INFO: Date 2025-04-10
[2025-04-12 02:57:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:57:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 02:57:04] Production.INFO: Date 2025-04-11
[2025-04-12 02:57:04] Production.INFO: count ==12
[2025-04-12 02:57:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 02:57:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:57:04] Production.INFO: count ==23
[2025-04-12 02:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888644') start
[2025-04-12 02:57:04] Production.INFO: Date 2025-04-12
[2025-04-12 02:57:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:57:04] Production.INFO: Total Charge 0
[2025-04-12 02:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888644') end
[2025-04-12 02:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 02:57:04] Production.INFO: 1
[2025-04-12 02:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 02:57:04] Production.INFO: CreateAllLog End
[2025-04-12 02:57:04] Production.INFO: ==13610== Lock acquired, processing the job...
[2025-04-12 02:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 02:57:04] Production.INFO: ==13618== Releasing lock...
[2025-04-12 02:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 02:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 02:57:04] Production.INFO: ==13612== Lock acquired, processing the job...
[2025-04-12 02:57:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 02:57:04] Production.INFO: ==13616== Lock acquired, processing the job...
[2025-04-12 02:57:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 02:57:04] Production.INFO: Account Balance End.
[2025-04-12 02:57:04] Production.ERROR: CronJobId end 12
[2025-04-12 02:57:04] Production.INFO: ==13614== Releasing lock...
[2025-04-12 02:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 02:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 02:57:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 02:57:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 02:57:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 02:57:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 02:57:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 02:57:04] Production.INFO: ==13610== Releasing lock...
[2025-04-12 02:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 02:57:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 02:57:04] Production.ERROR: done
[2025-04-12 02:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 02:57:04] Production.ERROR: done
[2025-04-12 02:57:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 23:57:06
[end_date_ymd] => 2025-04-12 02:57:06
[RateCDR] => 1
)
[2025-04-12 02:57:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 23:57:06' and `end` < '2025-04-12 02:57:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 02:57:13] Production.ERROR: CronJobId end10
[2025-04-12 02:57:13] Production.INFO: ==13612== Releasing lock...
[2025-04-12 02:57:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 02:57:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 02:57:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 02:57:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 02:57:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 02:57:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 02:57:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 02:57:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 02:57:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 02:57:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 02:57:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 02:57:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 02:57:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 02:57:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 02:57:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 02:57:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 02:57:16] Production.INFO: call_cost start
[2025-04-12 02:57:16] Production.INFO: call_cost end
[2025-04-12 02:57:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 02:57:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 02:57:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 02:57:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 02:57:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 02:57:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 02:57:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 02:57:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 02:57:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 02:57:17] Production.INFO: ==13608== Releasing lock...
[2025-04-12 02:57:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 02:57:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 02:57:19] Production.INFO: count ==355
[2025-04-12 02:57:19] Production.ERROR: pbx CDR StartTime 2025-04-11 23:57:06 - End Time 2025-04-12 02:57:06
[2025-04-12 02:57:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 02:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888646', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888646', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888646', 'tblTempVendorCDR_20' ) start
[2025-04-12 02:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888646', 'tblTempVendorCDR_20' ) end
[2025-04-12 02:57:19] Production.INFO: ProcessCDR(1,14888646,1,1,2)
[2025-04-12 02:57:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888646,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:57:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888646,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:57:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888646,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:57:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888646,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888646', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888646', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:57:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 02:57:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 02:57:22] Production.INFO: ==13616== Releasing lock...
[2025-04-12 02:57:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 02:57:22] Production.INFO: 30.25 MB #Memory Used#
[2025-04-12 07:58:01] Production.INFO: ==13676== Lock acquired, processing the job...
[2025-04-12 07:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 07:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 07:58:01] Production.INFO: neon service started
[2025-04-12 07:58:01] Production.INFO: neon service started
[2025-04-12 07:58:01] Production.INFO: ==13676== Releasing lock...
[2025-04-12 07:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 07:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 02:58:01] Production.INFO: ==13678== Lock acquired, processing the job...
[2025-04-12 02:58:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 06:58:02] Production.INFO: ==13680== Lock acquired, processing the job...
[2025-04-12 02:58:02] Production.INFO: ==13678== Releasing lock...
[2025-04-12 02:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 06:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 02:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 06:58:02] Production.INFO: ==13680== Releasing lock...
[2025-04-12 06:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 06:58:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 02:58:03] Production.INFO: ==13691== Lock acquired, processing the job...
[2025-04-12 02:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 02:58:03] Production.INFO: ==13693== Lock acquired, processing the job...
[2025-04-12 02:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 02:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 02:58:03] Production.INFO: ==13683== Lock acquired, processing the job...
[2025-04-12 02:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 02:58:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 02:58:03] Production.INFO: ==13685== Lock acquired, processing the job...
[2025-04-12 02:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 02:58:03] Production.INFO: count ==12
[2025-04-12 02:58:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 02:58:03] Production.INFO: count ==23
[2025-04-12 02:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14888647') start
[2025-04-12 02:58:03] Production.INFO: ==13687== Lock acquired, processing the job...
[2025-04-12 02:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 02:58:03] Production.INFO: ==13689== Lock acquired, processing the job...
[2025-04-12 02:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 02:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 02:58:03] Production.ERROR: done
[2025-04-12 02:58:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 02:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14888647') end
[2025-04-12 02:58:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 02:58:03] Production.INFO: 1
[2025-04-12 02:58:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 02:58:03] Production.INFO: Account Balance Start.
[2025-04-12 02:58:03] Production.INFO: CreateAllLog Start
[2025-04-12 02:58:03] Production.INFO: 117
[2025-04-12 02:58:03] Production.INFO: Date 2025-04-08
[2025-04-12 02:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 02:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 02:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 02:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 02:58:03] Production.INFO: Reseller ==> 0
[2025-04-12 02:58:03] Production.INFO: ==13693== Releasing lock...
[2025-04-12 02:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 02:58:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 02:58:03] Production.INFO: Date 2025-04-09
[2025-04-12 02:58:03] Production.INFO: Reseller ==> 0
[2025-04-12 02:58:03] Production.INFO: Date 2025-04-10
[2025-04-12 02:58:03] Production.INFO: Reseller ==> 0
[2025-04-12 02:58:04] Production.ERROR: done
[2025-04-12 02:58:04] Production.INFO: Date 2025-04-11
[2025-04-12 02:58:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:58:04] Production.INFO: ==13685== Releasing lock...
[2025-04-12 02:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 02:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 02:58:04] Production.INFO: Date 2025-04-12
[2025-04-12 02:58:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:58:04] Production.INFO: Total Charge 0
[2025-04-12 02:58:04] Production.INFO: CreateAllLog End
[2025-04-12 02:58:04] Production.INFO: Account Balance End.
[2025-04-12 02:58:04] Production.ERROR: CronJobId end 12
[2025-04-12 02:58:04] Production.INFO: ==13689== Releasing lock...
[2025-04-12 02:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 02:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 02:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 23:58:05
[end_date_ymd] => 2025-04-12 02:58:05
[RateCDR] => 1
)
[2025-04-12 02:58:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 23:58:05' and `end` < '2025-04-12 02:58:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 02:58:14] Production.ERROR: CronJobId end10
[2025-04-12 02:58:14] Production.INFO: ==13687== Releasing lock...
[2025-04-12 02:58:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 02:58:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 02:58:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 02:58:16] Production.INFO: ============== Balance Warning START===========
[2025-04-12 02:58:16] Production.INFO: ============== Balance Warning END===========
[2025-04-12 02:58:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 02:58:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 02:58:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 02:58:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 02:58:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 02:58:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 02:58:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 02:58:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 02:58:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 02:58:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 02:58:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 02:58:17] Production.INFO: call_cost start
[2025-04-12 02:58:17] Production.INFO: call_cost end
[2025-04-12 02:58:18] Production.INFO: count ==361
[2025-04-12 02:58:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 02:58:18] Production.INFO: ============== Report Schedule START===========
[2025-04-12 02:58:18] Production.INFO: ============== Report Schedule END===========
[2025-04-12 02:58:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 02:58:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 02:58:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 02:58:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 02:58:18] Production.INFO: ============== Deal alert START===========
[2025-04-12 02:58:18] Production.INFO: ============== Deal alert END===========
[2025-04-12 02:58:18] Production.INFO: ==13683== Releasing lock...
[2025-04-12 02:58:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 02:58:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 02:58:18] Production.ERROR: pbx CDR StartTime 2025-04-11 23:58:05 - End Time 2025-04-12 02:58:05
[2025-04-12 02:58:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 02:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888651', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888651', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888651', 'tblTempVendorCDR_20' ) start
[2025-04-12 02:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888651', 'tblTempVendorCDR_20' ) end
[2025-04-12 02:58:18] Production.INFO: ProcessCDR(1,14888651,1,1,2)
[2025-04-12 02:58:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888651,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:58:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888651,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:58:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888651,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:58:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888651,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888651', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888651', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:58:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 02:58:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 02:58:22] Production.INFO: ==13691== Releasing lock...
[2025-04-12 02:58:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 02:58:22] Production.INFO: 30.25 MB #Memory Used#
[2025-04-12 07:59:01] Production.INFO: ==13747== Lock acquired, processing the job...
[2025-04-12 07:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 07:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 07:59:02] Production.INFO: neon service started
[2025-04-12 07:59:02] Production.INFO: neon service started
[2025-04-12 07:59:02] Production.INFO: ==13747== Releasing lock...
[2025-04-12 07:59:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 07:59:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 02:59:02] Production.INFO: ==13749== Lock acquired, processing the job...
[2025-04-12 02:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 02:59:02] Production.INFO: ==13749== Releasing lock...
[2025-04-12 02:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 02:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 06:59:02] Production.INFO: ==13751== Lock acquired, processing the job...
[2025-04-12 06:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 06:59:02] Production.INFO: ==13751== Releasing lock...
[2025-04-12 06:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 06:59:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 02:59:03] Production.INFO: ==13756== Lock acquired, processing the job...
[2025-04-12 02:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 02:59:03] Production.INFO: ==13762== Lock acquired, processing the job...
[2025-04-12 02:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 02:59:03] Production.INFO: ==13754== Lock acquired, processing the job...
[2025-04-12 02:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 02:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 02:59:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 02:59:04] Production.INFO: ==13758== Lock acquired, processing the job...
[2025-04-12 02:59:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 02:59:04] Production.INFO: ==13756== Releasing lock...
[2025-04-12 02:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 02:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 02:59:04] Production.INFO: ==13760== Lock acquired, processing the job...
[2025-04-12 02:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 02:59:04] Production.INFO: ==13764== Lock acquired, processing the job...
[2025-04-12 02:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 02:59:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 02:59:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 02:59:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 02:59:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 02:59:04] Production.ERROR: done
[2025-04-12 02:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 02:59:04] Production.INFO: Account Balance Start.
[2025-04-12 02:59:04] Production.INFO: CreateAllLog Start
[2025-04-12 02:59:04] Production.INFO: 117
[2025-04-12 02:59:04] Production.INFO: Date 2025-04-08
[2025-04-12 02:59:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:59:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 02:59:04] Production.INFO: count ==12
[2025-04-12 02:59:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 02:59:04] Production.INFO: count ==23
[2025-04-12 02:59:04] Production.ERROR: done
[2025-04-12 02:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888655') start
[2025-04-12 02:59:04] Production.INFO: Date 2025-04-09
[2025-04-12 02:59:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:59:04] Production.INFO: Date 2025-04-10
[2025-04-12 02:59:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:59:04] Production.INFO: Date 2025-04-11
[2025-04-12 02:59:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888655') end
[2025-04-12 02:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 02:59:04] Production.INFO: 1
[2025-04-12 02:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 02:59:04] Production.INFO: Date 2025-04-12
[2025-04-12 02:59:04] Production.INFO: Reseller ==> 0
[2025-04-12 02:59:04] Production.INFO: ==13764== Releasing lock...
[2025-04-12 02:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 02:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 02:59:04] Production.INFO: Total Charge 0
[2025-04-12 02:59:04] Production.INFO: CreateAllLog End
[2025-04-12 02:59:04] Production.INFO: Account Balance End.
[2025-04-12 02:59:04] Production.ERROR: CronJobId end 12
[2025-04-12 02:59:04] Production.INFO: ==13760== Releasing lock...
[2025-04-12 02:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 02:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 02:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-11 23:59:05
[end_date_ymd] => 2025-04-12 02:59:05
[RateCDR] => 1
)
[2025-04-12 02:59:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-11 23:59:05' and `end` < '2025-04-12 02:59:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 02:59:13] Production.ERROR: CronJobId end10
[2025-04-12 02:59:13] Production.INFO: ==13758== Releasing lock...
[2025-04-12 02:59:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 02:59:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 02:59:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 02:59:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 02:59:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 02:59:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 02:59:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 02:59:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 02:59:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 02:59:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 02:59:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 02:59:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 02:59:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 02:59:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 02:59:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 02:59:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 02:59:16] Production.INFO: call_cost start
[2025-04-12 02:59:16] Production.INFO: call_cost end
[2025-04-12 02:59:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 02:59:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 02:59:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 02:59:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 02:59:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 02:59:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 02:59:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 02:59:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 02:59:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 02:59:17] Production.INFO: ==13754== Releasing lock...
[2025-04-12 02:59:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 02:59:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 02:59:18] Production.INFO: count ==361
[2025-04-12 02:59:18] Production.ERROR: pbx CDR StartTime 2025-04-11 23:59:05 - End Time 2025-04-12 02:59:05
[2025-04-12 02:59:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 02:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888656', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888656', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888656', 'tblTempVendorCDR_20' ) start
[2025-04-12 02:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888656', 'tblTempVendorCDR_20' ) end
[2025-04-12 02:59:18] Production.INFO: ProcessCDR(1,14888656,1,1,2)
[2025-04-12 02:59:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888656,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:59:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888656,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 02:59:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888656,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:59:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888656,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 02:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888656', 'tblTempUsageDetail_20' ) start
[2025-04-12 02:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888656', 'tblTempUsageDetail_20' ) end
[2025-04-12 02:59:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 02:59:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 02:59:22] Production.INFO: ==13762== Releasing lock...
[2025-04-12 02:59:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 02:59:22] Production.INFO: 30.25 MB #Memory Used#
[2025-04-12 08:00:01] Production.INFO: ==13819== Lock acquired, processing the job...
[2025-04-12 08:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 08:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 08:00:01] Production.INFO: neon service started
[2025-04-12 08:00:01] Production.INFO: neon service started
[2025-04-12 08:00:01] Production.INFO: ==13819== Releasing lock...
[2025-04-12 08:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 08:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 03:00:02] Production.INFO: ==13821== Lock acquired, processing the job...
[2025-04-12 03:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 07:00:02] Production.INFO: ==13823== Lock acquired, processing the job...
[2025-04-12 07:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 07:00:02] Production.INFO: ==13823== Releasing lock...
[2025-04-12 07:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 07:00:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 03:00:02] Production.INFO: ==13821== Releasing lock...
[2025-04-12 03:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 03:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 03:00:03] Production.INFO: ==13825== Lock acquired, processing the job...
[2025-04-12 03:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 03:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 03:00:03] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 03:00:03] Production.INFO: ==13825== Releasing lock...
[2025-04-12 03:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 03:00:03] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 03:00:03] Production.INFO: ==13830== Lock acquired, processing the job...
[2025-04-12 03:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 03:00:03] Production.INFO: ==13832== Lock acquired, processing the job...
[2025-04-12 03:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 03:00:03] Production.INFO: ==13836== Lock acquired, processing the job...
[2025-04-12 03:00:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 03:00:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 03:00:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 03:00:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 03:00:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 03:00:03] Production.INFO: ==13827== Lock acquired, processing the job...
[2025-04-12 03:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 03:00:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 03:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 03:00:04] Production.INFO: ==13834== Lock acquired, processing the job...
[2025-04-12 03:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 03:00:04] Production.INFO: ==13830== Releasing lock...
[2025-04-12 03:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 03:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 03:00:04] Production.INFO: ==13838== Lock acquired, processing the job...
[2025-04-12 03:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 03:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 03:00:04] Production.INFO: ==13840== Lock acquired, processing the job...
[2025-04-12 03:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 03:00:04] Production.INFO: Account Balance Start.
[2025-04-12 03:00:04] Production.INFO: CreateAllLog Start
[2025-04-12 03:00:04] Production.INFO: 117
[2025-04-12 03:00:04] Production.INFO: Date 2025-04-08
[2025-04-12 03:00:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:00:04] Production.ERROR: done
[2025-04-12 03:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 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-12 03:00:04] Production.INFO: count ==12
[2025-04-12 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-12 03:00:04] Production.INFO: count ==23
[2025-04-12 03:00:04] Production.INFO: Date 2025-04-09
[2025-04-12 03:00:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888660') start
[2025-04-12 03:00:04] Production.ERROR: done
[2025-04-12 03:00:04] Production.ERROR: done
[2025-04-12 03:00:04] Production.INFO: Date 2025-04-10
[2025-04-12 03:00:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:00:04] Production.INFO: Date 2025-04-11
[2025-04-12 03:00:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:00:04] Production.INFO: Date 2025-04-12
[2025-04-12 03:00:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888660') end
[2025-04-12 03:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 03:00:04] Production.INFO: 1
[2025-04-12 03:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 03:00:04] Production.INFO: Total Charge 0
[2025-04-12 03:00:04] Production.INFO: ==13840== Releasing lock...
[2025-04-12 03:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 03:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 03:00:04] Production.INFO: CreateAllLog End
[2025-04-12 03:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 03:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14888662', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 03:00:04] Production.INFO: Account Balance End.
[2025-04-12 03:00:04] Production.ERROR: CronJobId end 12
[2025-04-12 03:00:04] Production.INFO: ==13834== Releasing lock...
[2025-04-12 03:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 03:00:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 03:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 00:00:06
[end_date_ymd] => 2025-04-12 03:00:06
[RateCDR] => 1
)
[2025-04-12 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-12 00:00:06' and `end` < '2025-04-12 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-12 03:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14888662', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 03:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 03:00:09] Production.INFO: ProcessCDR(1,14888662,1,1,2)
[2025-04-12 03:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14888662,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14888662,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 03:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 03:00:09] Production.INFO: ==13838== Releasing lock...
[2025-04-12 03:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 03:00:09] Production.INFO: 26 MB #Memory Used#
[2025-04-12 03:00:13] Production.ERROR: CronJobId end10
[2025-04-12 03:00:13] Production.INFO: ==13832== Releasing lock...
[2025-04-12 03:00:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 03:00:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 03:00:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 03:00:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 03:00:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 03:00:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 03:00:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 03:00:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 03:00:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 03:00:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 03:00:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 03:00:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 03:00:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 03:00:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 03:00:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 03:00:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 03:00:16] Production.INFO: call_cost start
[2025-04-12 03:00:16] Production.INFO: call_cost end
[2025-04-12 03:00:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 03:00:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 03:00:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 03:00:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 03:00:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 03:00:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 03:00:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 03:00:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 03:00:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 03:00:17] Production.INFO: ==13827== Releasing lock...
[2025-04-12 03:00:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 03:00:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 03:00:18] Production.INFO: count ==371
[2025-04-12 03:00:18] Production.ERROR: pbx CDR StartTime 2025-04-12 00:00:06 - End Time 2025-04-12 03:00:06
[2025-04-12 03:00:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 03:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888661', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888661', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888661', 'tblTempVendorCDR_20' ) start
[2025-04-12 03:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888661', 'tblTempVendorCDR_20' ) end
[2025-04-12 03:00:18] Production.INFO: ProcessCDR(1,14888661,1,1,2)
[2025-04-12 03:00:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888661,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:00:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888661,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:00:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888661,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:00:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888661,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888661', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888661', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:00:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 03:00:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 03:00:22] Production.INFO: ==13836== Releasing lock...
[2025-04-12 03:00:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 03:00:22] Production.INFO: 30.25 MB #Memory Used#
[2025-04-12 08:01:02] Production.INFO: ==13902== Lock acquired, processing the job...
[2025-04-12 08:01:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 08:01:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 08:01:02] Production.INFO: neon service started
[2025-04-12 08:01:02] Production.INFO: neon service started
[2025-04-12 08:01:02] Production.INFO: ==13902== Releasing lock...
[2025-04-12 08:01:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 08:01:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 07:01:02] Production.INFO: ==13911== Lock acquired, processing the job...
[2025-04-12 07:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 07:01:02] Production.INFO: ==13911== Releasing lock...
[2025-04-12 07:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 07:01:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 03:01:02] Production.INFO: ==13909== Lock acquired, processing the job...
[2025-04-12 03:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 03:01:02] Production.INFO: ==13909== Releasing lock...
[2025-04-12 03:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 03:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 03:01:03] Production.INFO: ==13913== Lock acquired, processing the job...
[2025-04-12 03:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 03:01:03] Production.INFO: ==13915== Lock acquired, processing the job...
[2025-04-12 03:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 03:01:04] Production.INFO: ==13921== Lock acquired, processing the job...
[2025-04-12 03:01:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 03:01:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 03:01:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 03:01:04] Production.INFO: ==13919== Lock acquired, processing the job...
[2025-04-12 03:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 03:01:04] Production.INFO: ==13917== Lock acquired, processing the job...
[2025-04-12 03:01:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 03:01:04] Production.INFO: ==13923== Lock acquired, processing the job...
[2025-04-12 03:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 03:01:04] Production.INFO: ==13915== Releasing lock...
[2025-04-12 03:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 03:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 03:01:04] Production.ERROR: done
[2025-04-12 03:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 03:01:04] Production.INFO: Account Balance Start.
[2025-04-12 03:01:04] Production.INFO: CreateAllLog Start
[2025-04-12 03:01:04] Production.INFO: 117
[2025-04-12 03:01:04] Production.ERROR: done
[2025-04-12 03:01:04] Production.INFO: Date 2025-04-08
[2025-04-12 03:01:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 03:01:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 03:01:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 03:01:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 03:01:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 03:01:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:01:04] Production.INFO: count ==12
[2025-04-12 03:01:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 03:01:04] Production.INFO: count ==23
[2025-04-12 03:01:04] Production.INFO: Date 2025-04-09
[2025-04-12 03:01:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888666') start
[2025-04-12 03:01:04] Production.INFO: Date 2025-04-10
[2025-04-12 03:01:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:01:04] Production.INFO: Date 2025-04-11
[2025-04-12 03:01:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:01:04] Production.INFO: Date 2025-04-12
[2025-04-12 03:01:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888666') end
[2025-04-12 03:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 03:01:04] Production.INFO: 1
[2025-04-12 03:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 03:01:04] Production.INFO: Total Charge 0
[2025-04-12 03:01:04] Production.INFO: CreateAllLog End
[2025-04-12 03:01:04] Production.INFO: ==13923== Releasing lock...
[2025-04-12 03:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 03:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 03:01:05] Production.INFO: Account Balance End.
[2025-04-12 03:01:05] Production.ERROR: CronJobId end 12
[2025-04-12 03:01:05] Production.INFO: ==13919== Releasing lock...
[2025-04-12 03:01:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 03:01:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 03:01:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 00:01:06
[end_date_ymd] => 2025-04-12 03:01:06
[RateCDR] => 1
)
[2025-04-12 03:01:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 00:01:06' and `end` < '2025-04-12 03:01:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 03:01:14] Production.ERROR: CronJobId end10
[2025-04-12 03:01:14] Production.INFO: ==13917== Releasing lock...
[2025-04-12 03:01:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 03:01:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 03:01:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 03:01:16] Production.INFO: ============== Balance Warning START===========
[2025-04-12 03:01:16] Production.INFO: ============== Balance Warning END===========
[2025-04-12 03:01:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 03:01:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 03:01:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 03:01:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 03:01:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 03:01:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 03:01:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 03:01:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 03:01:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 03:01:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 03:01:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 03:01:17] Production.INFO: call_cost start
[2025-04-12 03:01:17] Production.INFO: call_cost end
[2025-04-12 03:01:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 03:01:18] Production.INFO: ============== Report Schedule START===========
[2025-04-12 03:01:18] Production.INFO: ============== Report Schedule END===========
[2025-04-12 03:01:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 03:01:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 03:01:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 03:01:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 03:01:18] Production.INFO: ============== Deal alert START===========
[2025-04-12 03:01:18] Production.INFO: ============== Deal alert END===========
[2025-04-12 03:01:18] Production.INFO: ==13913== Releasing lock...
[2025-04-12 03:01:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 03:01:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 03:01:18] Production.INFO: count ==371
[2025-04-12 03:01:18] Production.ERROR: pbx CDR StartTime 2025-04-12 00:01:06 - End Time 2025-04-12 03:01:06
[2025-04-12 03:01:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 03:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888667', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888667', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888667', 'tblTempVendorCDR_20' ) start
[2025-04-12 03:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888667', 'tblTempVendorCDR_20' ) end
[2025-04-12 03:01:18] Production.INFO: ProcessCDR(1,14888667,1,1,2)
[2025-04-12 03:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888667,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:01:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888667,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:01:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888667,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:01:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888667,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888667', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888667', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:01:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 03:01:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 03:01:22] Production.INFO: ==13921== Releasing lock...
[2025-04-12 03:01:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 03:01:22] Production.INFO: 30.25 MB #Memory Used#
[2025-04-12 08:02:01] Production.INFO: ==14055== Lock acquired, processing the job...
[2025-04-12 08:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 08:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 08:02:01] Production.INFO: neon service started
[2025-04-12 08:02:01] Production.INFO: neon service started
[2025-04-12 08:02:01] Production.INFO: ==14055== Releasing lock...
[2025-04-12 08:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 08:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 07:02:02] Production.INFO: ==14060== Lock acquired, processing the job...
[2025-04-12 07:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 07:02:02] Production.INFO: ==14060== Releasing lock...
[2025-04-12 07:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 07:02:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 03:02:02] Production.INFO: ==14058== Lock acquired, processing the job...
[2025-04-12 03:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 03:02:02] Production.INFO: ==14058== Releasing lock...
[2025-04-12 03:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 03:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 03:02:03] Production.INFO: ==14062== Lock acquired, processing the job...
[2025-04-12 03:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 03:02:03] Production.INFO: ==14066== Lock acquired, processing the job...
[2025-04-12 03:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 03:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 03:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 03:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 03:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 03:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 03:02:03] Production.INFO: ==14070== Lock acquired, processing the job...
[2025-04-12 03:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 03:02:03] Production.INFO: ==14064== Lock acquired, processing the job...
[2025-04-12 03:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 03:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 03:02:03] Production.INFO: ==14068== Lock acquired, processing the job...
[2025-04-12 03:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 03:02:03] Production.INFO: ==14072== Lock acquired, processing the job...
[2025-04-12 03:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 03:02:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 03:02:03] Production.INFO: Account Balance Start.
[2025-04-12 03:02:03] Production.INFO: CreateAllLog Start
[2025-04-12 03:02:03] Production.INFO: 117
[2025-04-12 03:02:04] Production.INFO: Date 2025-04-08
[2025-04-12 03:02:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:02:04] Production.INFO: Date 2025-04-09
[2025-04-12 03:02:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:02:04] Production.INFO: Date 2025-04-10
[2025-04-12 03:02:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:02:04] Production.INFO: count ==12
[2025-04-12 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-12 03:02:04] Production.INFO: count ==23
[2025-04-12 03:02:04] Production.ERROR: done
[2025-04-12 03:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 03:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888670') start
[2025-04-12 03:02:04] Production.INFO: ==14064== Releasing lock...
[2025-04-12 03:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 03:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 03:02:04] Production.INFO: Date 2025-04-11
[2025-04-12 03:02:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:02:04] Production.INFO: Date 2025-04-12
[2025-04-12 03:02:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:02:04] Production.INFO: Total Charge 0
[2025-04-12 03:02:04] Production.INFO: CreateAllLog End
[2025-04-12 03:02:04] Production.ERROR: done
[2025-04-12 03:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888670') end
[2025-04-12 03:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 03:02:04] Production.INFO: 1
[2025-04-12 03:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 03:02:04] Production.INFO: ==14072== Releasing lock...
[2025-04-12 03:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 03:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 03:02:04] Production.INFO: Account Balance End.
[2025-04-12 03:02:04] Production.ERROR: CronJobId end 12
[2025-04-12 03:02:04] Production.INFO: ==14068== Releasing lock...
[2025-04-12 03:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 03:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 03:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 00:02:05
[end_date_ymd] => 2025-04-12 03:02:05
[RateCDR] => 1
)
[2025-04-12 03:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 00:02:05' and `end` < '2025-04-12 03:02:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 03:02:11] Production.ERROR: CronJobId end10
[2025-04-12 03:02:11] Production.INFO: ==14066== Releasing lock...
[2025-04-12 03:02:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 03:02:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 03:02:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 03:02:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 03:02:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 03:02:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 03:02:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 03:02:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 03:02:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 03:02:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 03:02:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 03:02:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 03:02:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 03:02:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 03:02:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 03:02:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 03:02:14] Production.INFO: call_cost start
[2025-04-12 03:02:14] Production.INFO: call_cost end
[2025-04-12 03:02:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 03:02:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 03:02:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 03:02:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 03:02:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 03:02:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 03:02:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 03:02:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 03:02:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 03:02:15] Production.INFO: ==14062== Releasing lock...
[2025-04-12 03:02:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 03:02:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 03:02:18] Production.INFO: count ==370
[2025-04-12 03:02:18] Production.ERROR: pbx CDR StartTime 2025-04-12 00:02:05 - End Time 2025-04-12 03:02:05
[2025-04-12 03:02:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 03:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888672', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888672', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888672', 'tblTempVendorCDR_20' ) start
[2025-04-12 03:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888672', 'tblTempVendorCDR_20' ) end
[2025-04-12 03:02:18] Production.INFO: ProcessCDR(1,14888672,1,1,2)
[2025-04-12 03:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888672,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:02:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888672,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:02:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888672,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:02:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888672,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:02:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888672', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:02:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888672', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:02:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 03:02:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 03:02:23] Production.INFO: ==14070== Releasing lock...
[2025-04-12 03:02:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 03:02:23] Production.INFO: 30.25 MB #Memory Used#
[2025-04-12 08:03:02] Production.INFO: ==14126== Lock acquired, processing the job...
[2025-04-12 08:03:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 08:03:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 08:03:02] Production.INFO: neon service started
[2025-04-12 08:03:02] Production.INFO: neon service started
[2025-04-12 08:03:02] Production.INFO: ==14126== Releasing lock...
[2025-04-12 08:03:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 08:03:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 03:03:02] Production.INFO: ==14128== Lock acquired, processing the job...
[2025-04-12 03:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 03:03:02] Production.INFO: ==14128== Releasing lock...
[2025-04-12 03:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 03:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 07:03:02] Production.INFO: ==14130== Lock acquired, processing the job...
[2025-04-12 07:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 07:03:02] Production.INFO: ==14130== Releasing lock...
[2025-04-12 07:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 07:03:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 03:03:03] Production.INFO: ==14133== Lock acquired, processing the job...
[2025-04-12 03:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 03:03:03] Production.INFO: ==14141== Lock acquired, processing the job...
[2025-04-12 03:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 03:03:03] Production.INFO: ==14143== Lock acquired, processing the job...
[2025-04-12 03:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 03:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 03:03:03] Production.INFO: ==14135== Lock acquired, processing the job...
[2025-04-12 03:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 03:03:03] Production.INFO: ==14137== Lock acquired, processing the job...
[2025-04-12 03:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 03:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 03:03:03] Production.INFO: ==14139== Lock acquired, processing the job...
[2025-04-12 03:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 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-12 03:03:03] Production.INFO: Account Balance Start.
[2025-04-12 03:03:03] Production.INFO: CreateAllLog Start
[2025-04-12 03:03:03] Production.INFO: 117
[2025-04-12 03:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 03:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 03:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 03:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 03:03:03] Production.INFO: Date 2025-04-08
[2025-04-12 03:03:03] Production.INFO: count ==12
[2025-04-12 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-12 03:03:03] Production.INFO: count ==23
[2025-04-12 03:03:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888673') start
[2025-04-12 03:03:04] Production.INFO: Date 2025-04-09
[2025-04-12 03:03:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:03:04] Production.INFO: Date 2025-04-10
[2025-04-12 03:03:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:03:04] Production.INFO: Date 2025-04-11
[2025-04-12 03:03:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888673') end
[2025-04-12 03:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 03:03:04] Production.INFO: 1
[2025-04-12 03:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 03:03:04] Production.INFO: Date 2025-04-12
[2025-04-12 03:03:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:03:04] Production.INFO: Total Charge 0
[2025-04-12 03:03:04] Production.INFO: CreateAllLog End
[2025-04-12 03:03:04] Production.INFO: ==14143== Releasing lock...
[2025-04-12 03:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 03:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 03:03:04] Production.ERROR: done
[2025-04-12 03:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 03:03:04] Production.INFO: ==14135== Releasing lock...
[2025-04-12 03:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 03:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 03:03:04] Production.ERROR: done
[2025-04-12 03:03:04] Production.INFO: Account Balance End.
[2025-04-12 03:03:04] Production.ERROR: CronJobId end 12
[2025-04-12 03:03:04] Production.INFO: ==14139== Releasing lock...
[2025-04-12 03:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 03:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 03:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 00:03:05
[end_date_ymd] => 2025-04-12 03:03:05
[RateCDR] => 1
)
[2025-04-12 03:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 00:03:05' and `end` < '2025-04-12 03:03:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 03:03:12] Production.ERROR: CronJobId end10
[2025-04-12 03:03:12] Production.INFO: ==14137== Releasing lock...
[2025-04-12 03:03:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 03:03:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 03:03:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 03:03:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 03:03:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 03:03:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 03:03:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 03:03:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 03:03:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 03:03:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 03:03:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 03:03:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 03:03:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 03:03:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 03:03:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 03:03:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 03:03:15] Production.INFO: call_cost start
[2025-04-12 03:03:15] Production.INFO: call_cost end
[2025-04-12 03:03:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 03:03:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 03:03:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 03:03:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 03:03:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 03:03:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 03:03:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 03:03:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 03:03:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 03:03:16] Production.INFO: ==14133== Releasing lock...
[2025-04-12 03:03:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 03:03:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 03:03:18] Production.INFO: count ==370
[2025-04-12 03:03:18] Production.ERROR: pbx CDR StartTime 2025-04-12 00:03:05 - End Time 2025-04-12 03:03:05
[2025-04-12 03:03:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 03:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888677', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888677', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888677', 'tblTempVendorCDR_20' ) start
[2025-04-12 03:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888677', 'tblTempVendorCDR_20' ) end
[2025-04-12 03:03:18] Production.INFO: ProcessCDR(1,14888677,1,1,2)
[2025-04-12 03:03:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888677,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:03:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888677,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:03:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888677,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:03:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888677,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888677', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888677', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:03:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 03:03:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 03:03:21] Production.INFO: ==14141== Releasing lock...
[2025-04-12 03:03:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 03:03:21] Production.INFO: 30.25 MB #Memory Used#
[2025-04-12 08:04:01] Production.INFO: ==14199== Lock acquired, processing the job...
[2025-04-12 08:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 08:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 08:04:01] Production.INFO: neon service started
[2025-04-12 08:04:01] Production.INFO: neon service started
[2025-04-12 08:04:01] Production.INFO: ==14199== Releasing lock...
[2025-04-12 08:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 08:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 03:04:02] Production.INFO: ==14201== Lock acquired, processing the job...
[2025-04-12 03:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 07:04:02] Production.INFO: ==14203== Lock acquired, processing the job...
[2025-04-12 07:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 07:04:02] Production.INFO: ==14203== Releasing lock...
[2025-04-12 07:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 07:04:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 03:04:02] Production.INFO: ==14201== Releasing lock...
[2025-04-12 03:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 03:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 03:04:03] Production.INFO: ==14210== Lock acquired, processing the job...
[2025-04-12 03:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 03:04:03] Production.INFO: ==14206== Lock acquired, processing the job...
[2025-04-12 03:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 03:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 03:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 03:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 03:04:03] Production.INFO: ==14208== Lock acquired, processing the job...
[2025-04-12 03:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 03:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 03:04:03] Production.INFO: ==14216== Lock acquired, processing the job...
[2025-04-12 03:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 03:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 03:04:03] Production.INFO: ==14212== Lock acquired, processing the job...
[2025-04-12 03:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 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-12 03:04:04] Production.INFO: count ==12
[2025-04-12 03:04:04] Production.INFO: ==14214== Lock acquired, processing the job...
[2025-04-12 03:04:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 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-12 03:04:04] Production.INFO: count ==23
[2025-04-12 03:04:04] Production.INFO: Account Balance Start.
[2025-04-12 03:04:04] Production.INFO: CreateAllLog Start
[2025-04-12 03:04:04] Production.INFO: 117
[2025-04-12 03:04:04] Production.INFO: Date 2025-04-08
[2025-04-12 03:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888679') start
[2025-04-12 03:04:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:04:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 03:04:04] Production.INFO: Date 2025-04-09
[2025-04-12 03:04:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:04:04] Production.INFO: Date 2025-04-10
[2025-04-12 03:04:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:04:04] Production.INFO: Date 2025-04-11
[2025-04-12 03:04:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:04:04] Production.INFO: Date 2025-04-12
[2025-04-12 03:04:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888679') end
[2025-04-12 03:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 03:04:04] Production.INFO: 1
[2025-04-12 03:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 03:04:04] Production.INFO: Total Charge 0
[2025-04-12 03:04:04] Production.INFO: CreateAllLog End
[2025-04-12 03:04:04] Production.INFO: ==14216== Releasing lock...
[2025-04-12 03:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 03:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 03:04:04] Production.ERROR: done
[2025-04-12 03:04:04] Production.INFO: ==14208== Releasing lock...
[2025-04-12 03:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 03:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 03:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 03:04:04] Production.INFO: Account Balance End.
[2025-04-12 03:04:04] Production.ERROR: done
[2025-04-12 03:04:04] Production.ERROR: CronJobId end 12
[2025-04-12 03:04:04] Production.INFO: ==14212== Releasing lock...
[2025-04-12 03:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 03:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 03:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 00:04:05
[end_date_ymd] => 2025-04-12 03:04:05
[RateCDR] => 1
)
[2025-04-12 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-12 00:04:05' and `end` < '2025-04-12 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-12 03:04:11] Production.ERROR: CronJobId end10
[2025-04-12 03:04:11] Production.INFO: ==14210== Releasing lock...
[2025-04-12 03:04:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 03:04:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 03:04:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 03:04:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 03:04:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 03:04:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 03:04:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 03:04:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 03:04:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 03:04:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 03:04:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 03:04:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 03:04:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 03:04:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 03:04:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 03:04:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 03:04:14] Production.INFO: call_cost start
[2025-04-12 03:04:14] Production.INFO: call_cost end
[2025-04-12 03:04:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 03:04:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 03:04:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 03:04:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 03:04:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 03:04:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 03:04:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 03:04:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 03:04:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 03:04:15] Production.INFO: ==14206== Releasing lock...
[2025-04-12 03:04:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 03:04:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 03:04:18] Production.INFO: count ==370
[2025-04-12 03:04:18] Production.ERROR: pbx CDR StartTime 2025-04-12 00:04:05 - End Time 2025-04-12 03:04:05
[2025-04-12 03:04:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 03:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888682', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888682', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888682', 'tblTempVendorCDR_20' ) start
[2025-04-12 03:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888682', 'tblTempVendorCDR_20' ) end
[2025-04-12 03:04:18] Production.INFO: ProcessCDR(1,14888682,1,1,2)
[2025-04-12 03:04:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888682,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:04:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888682,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:04:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888682,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:04:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888682,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888682', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888682', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:04:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 03:04:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 03:04:22] Production.INFO: ==14214== Releasing lock...
[2025-04-12 03:04:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 03:04:22] Production.INFO: 30.25 MB #Memory Used#
[2025-04-12 08:05:02] Production.INFO: ==14269== Lock acquired, processing the job...
[2025-04-12 08:05:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 08:05:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 08:05:02] Production.INFO: neon service started
[2025-04-12 08:05:02] Production.INFO: neon service started
[2025-04-12 08:05:02] Production.INFO: ==14269== Releasing lock...
[2025-04-12 08:05:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 08:05:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 03:05:02] Production.INFO: ==14271== Lock acquired, processing the job...
[2025-04-12 03:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 03:05:02] Production.INFO: ==14271== Releasing lock...
[2025-04-12 03:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 03:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 07:05:02] Production.INFO: ==14273== Lock acquired, processing the job...
[2025-04-12 07:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 07:05:03] Production.INFO: ==14273== Releasing lock...
[2025-04-12 07:05:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 07:05:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 03:05:03] Production.INFO: ==14280== Lock acquired, processing the job...
[2025-04-12 03:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 03:05:03] Production.INFO: ==14286== Lock acquired, processing the job...
[2025-04-12 03:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 03:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 03:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 03:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 03:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 03:05:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 03:05:03] Production.INFO: ==14276== Lock acquired, processing the job...
[2025-04-12 03:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 03:05:03] Production.INFO: ==14278== Lock acquired, processing the job...
[2025-04-12 03:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 03:05:03] Production.INFO: count ==12
[2025-04-12 03:05:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 03:05:03] Production.INFO: count ==23
[2025-04-12 03:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14888683') start
[2025-04-12 03:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 03:05:03] Production.INFO: ==14282== Lock acquired, processing the job...
[2025-04-12 03:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 03:05:04] Production.INFO: ==14284== Lock acquired, processing the job...
[2025-04-12 03:05:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 03:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888683') end
[2025-04-12 03:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 03:05:04] Production.INFO: 1
[2025-04-12 03:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 03:05:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 03:05:04] Production.INFO: Account Balance Start.
[2025-04-12 03:05:04] Production.INFO: CreateAllLog Start
[2025-04-12 03:05:04] Production.INFO: 117
[2025-04-12 03:05:04] Production.INFO: ==14286== Releasing lock...
[2025-04-12 03:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 03:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 03:05:04] Production.INFO: Date 2025-04-08
[2025-04-12 03:05:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:05:04] Production.INFO: Date 2025-04-09
[2025-04-12 03:05:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:05:04] Production.INFO: Date 2025-04-10
[2025-04-12 03:05:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:05:04] Production.INFO: ==14278== Releasing lock...
[2025-04-12 03:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 03:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 03:05:04] Production.INFO: Date 2025-04-11
[2025-04-12 03:05:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:05:04] Production.INFO: Date 2025-04-12
[2025-04-12 03:05:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:05:04] Production.INFO: Total Charge 0
[2025-04-12 03:05:04] Production.INFO: CreateAllLog End
[2025-04-12 03:05:04] Production.ERROR: done
[2025-04-12 03:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 03:05:04] Production.INFO: Account Balance End.
[2025-04-12 03:05:04] Production.ERROR: CronJobId end 12
[2025-04-12 03:05:04] Production.INFO: ==14282== Releasing lock...
[2025-04-12 03:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 03:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 03:05:04] Production.ERROR: done
[2025-04-12 03:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 00:05:05
[end_date_ymd] => 2025-04-12 03:05:05
[RateCDR] => 1
)
[2025-04-12 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-12 00:05:05' and `end` < '2025-04-12 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-12 03:05:11] Production.ERROR: CronJobId end10
[2025-04-12 03:05:11] Production.INFO: ==14280== Releasing lock...
[2025-04-12 03:05:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 03:05:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 03:05:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 03:05:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 03:05:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 03:05:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 03:05:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 03:05:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 03:05:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 03:05:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 03:05:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 03:05:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 03:05:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 03:05:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 03:05:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 03:05:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 03:05:14] Production.INFO: call_cost start
[2025-04-12 03:05:14] Production.INFO: call_cost end
[2025-04-12 03:05:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 03:05:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 03:05:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 03:05:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 03:05:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 03:05:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 03:05:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 03:05:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 03:05:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 03:05:15] Production.INFO: ==14276== Releasing lock...
[2025-04-12 03:05:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 03:05:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 03:05:18] Production.INFO: count ==371
[2025-04-12 03:05:18] Production.ERROR: pbx CDR StartTime 2025-04-12 00:05:05 - End Time 2025-04-12 03:05:05
[2025-04-12 03:05:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 03:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888687', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888687', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888687', 'tblTempVendorCDR_20' ) start
[2025-04-12 03:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888687', 'tblTempVendorCDR_20' ) end
[2025-04-12 03:05:18] Production.INFO: ProcessCDR(1,14888687,1,1,2)
[2025-04-12 03:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888687,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:05:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888687,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:05:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888687,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:05:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888687,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:05:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888687', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:05:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888687', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:05:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 03:05:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 03:05:24] Production.INFO: ==14284== Releasing lock...
[2025-04-12 03:05:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 03:05:24] Production.INFO: 30.25 MB #Memory Used#
[2025-04-12 08:06:01] Production.INFO: ==14419== Lock acquired, processing the job...
[2025-04-12 08:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 08:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 08:06:01] Production.INFO: neon service started
[2025-04-12 08:06:01] Production.INFO: neon service started
[2025-04-12 08:06:01] Production.INFO: ==14419== Releasing lock...
[2025-04-12 08:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 08:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 03:06:01] Production.INFO: ==14421== Lock acquired, processing the job...
[2025-04-12 03:06:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 03:06:02] Production.INFO: ==14421== Releasing lock...
[2025-04-12 03:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 03:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 07:06:02] Production.INFO: ==14423== Lock acquired, processing the job...
[2025-04-12 07:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 07:06:02] Production.INFO: ==14423== Releasing lock...
[2025-04-12 07:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 07:06:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 03:06:03] Production.INFO: ==14428== Lock acquired, processing the job...
[2025-04-12 03:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 03:06:03] Production.INFO: ==14426== Lock acquired, processing the job...
[2025-04-12 03:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 03:06:03] Production.INFO: ==14436== Lock acquired, processing the job...
[2025-04-12 03:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 03:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 03: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-12 03:06:03] Production.INFO: ==14430== Lock acquired, processing the job...
[2025-04-12 03:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 03:06:03] Production.INFO: count ==12
[2025-04-12 03:06:03] Production.INFO: ==14434== Lock acquired, processing the job...
[2025-04-12 03:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 03: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-12 03:06:03] Production.INFO: count ==23
[2025-04-12 03:06:03] Production.INFO: ==14432== Lock acquired, processing the job...
[2025-04-12 03:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 03:06:03] Production.INFO: ==14428== Releasing lock...
[2025-04-12 03:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 03:06:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 03:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14888690') start
[2025-04-12 03:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 03:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 03:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 03:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 03:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 03:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14888690') end
[2025-04-12 03:06:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 03:06:03] Production.INFO: 1
[2025-04-12 03:06:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 03:06:03] Production.INFO: Account Balance Start.
[2025-04-12 03:06:03] Production.INFO: CreateAllLog Start
[2025-04-12 03:06:03] Production.INFO: 117
[2025-04-12 03:06:03] Production.INFO: Date 2025-04-08
[2025-04-12 03:06:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:06:03] Production.INFO: Date 2025-04-09
[2025-04-12 03:06:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:06:03] Production.INFO: ==14436== Releasing lock...
[2025-04-12 03:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 03:06:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 03:06:03] Production.INFO: Date 2025-04-10
[2025-04-12 03:06:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:06:03] Production.INFO: Date 2025-04-11
[2025-04-12 03:06:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:06:03] Production.INFO: Date 2025-04-12
[2025-04-12 03:06:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:06:03] Production.INFO: Total Charge 0
[2025-04-12 03:06:03] Production.INFO: CreateAllLog End
[2025-04-12 03:06:04] Production.ERROR: done
[2025-04-12 03:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 03:06:04] Production.ERROR: done
[2025-04-12 03:06:04] Production.INFO: Account Balance End.
[2025-04-12 03:06:04] Production.ERROR: CronJobId end 12
[2025-04-12 03:06:04] Production.INFO: ==14432== Releasing lock...
[2025-04-12 03:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 03:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 03:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 00:06:05
[end_date_ymd] => 2025-04-12 03:06:05
[RateCDR] => 1
)
[2025-04-12 03:06:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 00:06:05' and `end` < '2025-04-12 03:06:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 03:06:11] Production.ERROR: CronJobId end10
[2025-04-12 03:06:11] Production.INFO: ==14430== Releasing lock...
[2025-04-12 03:06:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 03:06:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 03:06:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 03:06:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 03:06:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 03:06:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 03:06:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 03:06:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 03:06:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 03:06:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 03:06:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 03:06:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 03:06:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 03:06:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 03:06:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 03:06:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 03:06:14] Production.INFO: call_cost start
[2025-04-12 03:06:14] Production.INFO: call_cost end
[2025-04-12 03:06:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 03:06:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 03:06:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 03:06:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 03:06:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 03:06:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 03:06:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 03:06:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 03:06:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 03:06:15] Production.INFO: ==14426== Releasing lock...
[2025-04-12 03:06:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 03:06:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 03:06:18] Production.INFO: count ==373
[2025-04-12 03:06:18] Production.ERROR: pbx CDR StartTime 2025-04-12 00:06:05 - End Time 2025-04-12 03:06:05
[2025-04-12 03:06:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 03:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888692', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888692', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888692', 'tblTempVendorCDR_20' ) start
[2025-04-12 03:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888692', 'tblTempVendorCDR_20' ) end
[2025-04-12 03:06:18] Production.INFO: ProcessCDR(1,14888692,1,1,2)
[2025-04-12 03:06:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888692,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:06:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888692,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:06:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888692,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:06:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888692,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:06:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888692', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:06:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888692', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:06:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 03:06:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 03:06:23] Production.INFO: ==14434== Releasing lock...
[2025-04-12 03:06:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 03:06:23] Production.INFO: 30.25 MB #Memory Used#
[2025-04-12 08:07:02] Production.INFO: ==14488== Lock acquired, processing the job...
[2025-04-12 08:07:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 08:07:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 08:07:02] Production.INFO: neon service started
[2025-04-12 08:07:02] Production.INFO: neon service started
[2025-04-12 08:07:02] Production.INFO: ==14488== Releasing lock...
[2025-04-12 08:07:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 08:07:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 03:07:02] Production.INFO: ==14491== Lock acquired, processing the job...
[2025-04-12 03:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 07:07:02] Production.INFO: ==14493== Lock acquired, processing the job...
[2025-04-12 07:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 03:07:02] Production.INFO: ==14491== Releasing lock...
[2025-04-12 03:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 03:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 07:07:02] Production.INFO: ==14493== Releasing lock...
[2025-04-12 07:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 07:07:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 03:07:03] Production.INFO: ==14495== Lock acquired, processing the job...
[2025-04-12 03:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 03:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 03:07:03] Production.INFO: ==14497== Lock acquired, processing the job...
[2025-04-12 03:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 03:07:03] Production.INFO: ==14499== Lock acquired, processing the job...
[2025-04-12 03:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 03:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 03:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 03:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 03:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 03:07:03] Production.INFO: ==14501== Lock acquired, processing the job...
[2025-04-12 03:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 03:07:03] Production.INFO: ==14503== Lock acquired, processing the job...
[2025-04-12 03:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 03:07:03] Production.INFO: ==14505== Lock acquired, processing the job...
[2025-04-12 03:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 03:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 03:07:04] Production.INFO: Account Balance Start.
[2025-04-12 03:07:04] Production.INFO: CreateAllLog Start
[2025-04-12 03:07:04] Production.INFO: 117
[2025-04-12 03:07:04] Production.INFO: Date 2025-04-08
[2025-04-12 03:07:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 03:07:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:07:04] Production.INFO: count ==12
[2025-04-12 03:07:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 03:07:04] Production.INFO: count ==23
[2025-04-12 03:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888696') start
[2025-04-12 03:07:04] Production.INFO: ==14497== Releasing lock...
[2025-04-12 03:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 03:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 03:07:04] Production.INFO: Date 2025-04-09
[2025-04-12 03:07:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:07:04] Production.INFO: Date 2025-04-10
[2025-04-12 03:07:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888696') end
[2025-04-12 03:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 03:07:04] Production.INFO: 1
[2025-04-12 03:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 03:07:04] Production.ERROR: done
[2025-04-12 03:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 03:07:04] Production.INFO: Date 2025-04-11
[2025-04-12 03:07:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:07:04] Production.INFO: ==14505== Releasing lock...
[2025-04-12 03:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 03:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 03:07:04] Production.ERROR: done
[2025-04-12 03:07:04] Production.INFO: Date 2025-04-12
[2025-04-12 03:07:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:07:04] Production.INFO: Total Charge 0
[2025-04-12 03:07:04] Production.INFO: CreateAllLog End
[2025-04-12 03:07:05] Production.INFO: Account Balance End.
[2025-04-12 03:07:05] Production.ERROR: CronJobId end 12
[2025-04-12 03:07:05] Production.INFO: ==14501== Releasing lock...
[2025-04-12 03:07:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 03:07:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 03:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 00:07:05
[end_date_ymd] => 2025-04-12 03:07:05
[RateCDR] => 1
)
[2025-04-12 03:07:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 00:07:05' and `end` < '2025-04-12 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-12 03:07:11] Production.ERROR: CronJobId end10
[2025-04-12 03:07:11] Production.INFO: ==14499== Releasing lock...
[2025-04-12 03:07:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 03:07:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 03:07:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 03:07:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 03:07:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 03:07:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 03:07:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 03:07:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 03:07:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 03:07:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 03:07:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 03:07:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 03:07:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 03:07:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 03:07:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 03:07:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 03:07:14] Production.INFO: call_cost start
[2025-04-12 03:07:14] Production.INFO: call_cost end
[2025-04-12 03:07:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 03:07:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 03:07:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 03:07:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 03:07:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 03:07:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 03:07:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 03:07:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 03:07:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 03:07:15] Production.INFO: ==14495== Releasing lock...
[2025-04-12 03:07:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 03:07:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 03:07:18] Production.INFO: count ==373
[2025-04-12 03:07:18] Production.ERROR: pbx CDR StartTime 2025-04-12 00:07:05 - End Time 2025-04-12 03:07:05
[2025-04-12 03:07:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 03:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888697', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888697', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888697', 'tblTempVendorCDR_20' ) start
[2025-04-12 03:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888697', 'tblTempVendorCDR_20' ) end
[2025-04-12 03:07:18] Production.INFO: ProcessCDR(1,14888697,1,1,2)
[2025-04-12 03:07:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888697,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:07:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888697,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:07:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888697,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:07:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888697,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888697', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888697', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:07:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 03:07:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 03:07:21] Production.INFO: ==14503== Releasing lock...
[2025-04-12 03:07:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 03:07:21] Production.INFO: 30.25 MB #Memory Used#
[2025-04-12 08:08:01] Production.INFO: ==14562== Lock acquired, processing the job...
[2025-04-12 08:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 08:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 08:08:01] Production.INFO: neon service started
[2025-04-12 08:08:01] Production.INFO: neon service started
[2025-04-12 08:08:01] Production.INFO: ==14562== Releasing lock...
[2025-04-12 08:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 08:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 07:08:02] Production.INFO: ==14567== Lock acquired, processing the job...
[2025-04-12 07:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 03:08:02] Production.INFO: ==14565== Lock acquired, processing the job...
[2025-04-12 03:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 07:08:02] Production.INFO: ==14567== Releasing lock...
[2025-04-12 07:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 07:08:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 03:08:02] Production.INFO: ==14565== Releasing lock...
[2025-04-12 03:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 03:08:02] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 03:08:03] Production.INFO: ==14569== Lock acquired, processing the job...
[2025-04-12 03:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 03:08:03] Production.INFO: ==14575== Lock acquired, processing the job...
[2025-04-12 03:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 03:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 03:08:03] Production.INFO: Account Balance Start.
[2025-04-12 03:08:03] Production.INFO: CreateAllLog Start
[2025-04-12 03:08:03] Production.INFO: 117
[2025-04-12 03:08:03] Production.INFO: Date 2025-04-08
[2025-04-12 03:08:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:08:03] Production.INFO: Date 2025-04-09
[2025-04-12 03:08:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:08:03] Production.INFO: Date 2025-04-10
[2025-04-12 03:08:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:08:03] Production.INFO: Date 2025-04-11
[2025-04-12 03:08:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:08:03] Production.INFO: ==14571== Lock acquired, processing the job...
[2025-04-12 03:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 03:08:03] Production.INFO: Date 2025-04-12
[2025-04-12 03:08:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:08:03] Production.INFO: ==14573== Lock acquired, processing the job...
[2025-04-12 03:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 03:08:03] Production.INFO: Total Charge 0
[2025-04-12 03:08:03] Production.INFO: CreateAllLog End
[2025-04-12 03:08:03] Production.INFO: ==14577== Lock acquired, processing the job...
[2025-04-12 03:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 03:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 03:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 03:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 03:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 03:08:03] Production.INFO: ==14580== Lock acquired, processing the job...
[2025-04-12 03:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 03:08:04] Production.INFO: Account Balance End.
[2025-04-12 03:08:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 03:08:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 03:08:04] Production.INFO: count ==12
[2025-04-12 03:08:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 03:08:04] Production.INFO: count ==23
[2025-04-12 03:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888701') start
[2025-04-12 03:08:04] Production.ERROR: CronJobId end 12
[2025-04-12 03:08:04] Production.INFO: ==14575== Releasing lock...
[2025-04-12 03:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 03:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 03:08:04] Production.INFO: ==14571== Releasing lock...
[2025-04-12 03:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 03:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 03:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888701') end
[2025-04-12 03:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 03:08:04] Production.INFO: 1
[2025-04-12 03:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 03:08:04] Production.INFO: ==14580== Releasing lock...
[2025-04-12 03:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 03:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 03:08:04] Production.ERROR: done
[2025-04-12 03:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 03:08:04] Production.ERROR: done
[2025-04-12 03:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 00:08:05
[end_date_ymd] => 2025-04-12 03:08:05
[RateCDR] => 1
)
[2025-04-12 03:08:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 00:08:05' and `end` < '2025-04-12 03:08:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 03:08:11] Production.ERROR: CronJobId end10
[2025-04-12 03:08:11] Production.INFO: ==14573== Releasing lock...
[2025-04-12 03:08:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 03:08:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 03:08:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 03:08:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 03:08:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 03:08:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 03:08:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 03:08:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 03:08:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 03:08:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 03:08:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 03:08:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 03:08:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 03:08:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 03:08:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 03:08:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 03:08:15] Production.INFO: call_cost start
[2025-04-12 03:08:15] Production.INFO: call_cost end
[2025-04-12 03:08:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 03:08:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 03:08:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 03:08:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 03:08:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 03:08:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 03:08:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 03:08:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 03:08:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 03:08:16] Production.INFO: ==14569== Releasing lock...
[2025-04-12 03:08:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 03:08:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 03:08:18] Production.INFO: count ==373
[2025-04-12 03:08:18] Production.ERROR: pbx CDR StartTime 2025-04-12 00:08:05 - End Time 2025-04-12 03:08:05
[2025-04-12 03:08:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 03:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888702', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888702', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888702', 'tblTempVendorCDR_20' ) start
[2025-04-12 03:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888702', 'tblTempVendorCDR_20' ) end
[2025-04-12 03:08:18] Production.INFO: ProcessCDR(1,14888702,1,1,2)
[2025-04-12 03:08:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888702,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:08:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888702,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:08:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888702,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:08:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888702,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888702', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888702', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:08:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 03:08:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 03:08:22] Production.INFO: ==14577== Releasing lock...
[2025-04-12 03:08:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 03:08:22] Production.INFO: 30.25 MB #Memory Used#
[2025-04-12 08:09:02] Production.INFO: ==14709== Lock acquired, processing the job...
[2025-04-12 08:09:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 08:09:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 08:09:02] Production.INFO: neon service started
[2025-04-12 08:09:02] Production.INFO: neon service started
[2025-04-12 08:09:02] Production.INFO: ==14709== Releasing lock...
[2025-04-12 08:09:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 08:09:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 07:09:02] Production.INFO: ==14730== Lock acquired, processing the job...
[2025-04-12 07:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 07:09:02] Production.INFO: ==14730== Releasing lock...
[2025-04-12 07:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 07:09:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 03:09:02] Production.INFO: ==14726== Lock acquired, processing the job...
[2025-04-12 03:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 03:09:02] Production.INFO: ==14726== Releasing lock...
[2025-04-12 03:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 03:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 03:09:03] Production.INFO: ==14741== Lock acquired, processing the job...
[2025-04-12 03:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 03:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 03:09:03] Production.INFO: ==14743== Lock acquired, processing the job...
[2025-04-12 03:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 03:09:03] Production.INFO: ==14733== Lock acquired, processing the job...
[2025-04-12 03:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 03:09:04] Production.INFO: ==14737== Lock acquired, processing the job...
[2025-04-12 03:09:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 03:09:04] Production.INFO: ==14739== Lock acquired, processing the job...
[2025-04-12 03:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 03:09:04] Production.INFO: ==14735== Lock acquired, processing the job...
[2025-04-12 03:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 03:09:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 03:09:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 03:09:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 03:09:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 03:09:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 03:09:04] Production.ERROR: done
[2025-04-12 03:09:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 03:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 03:09:04] Production.INFO: count ==12
[2025-04-12 03:09:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 03:09:04] Production.INFO: count ==23
[2025-04-12 03:09:04] Production.INFO: Account Balance Start.
[2025-04-12 03:09:04] Production.INFO: CreateAllLog Start
[2025-04-12 03:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888703') start
[2025-04-12 03:09:04] Production.INFO: 117
[2025-04-12 03:09:04] Production.ERROR: done
[2025-04-12 03:09:04] Production.INFO: Date 2025-04-08
[2025-04-12 03:09:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888703') end
[2025-04-12 03:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 03:09:04] Production.INFO: 1
[2025-04-12 03:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 03:09:04] Production.INFO: ==14743== Releasing lock...
[2025-04-12 03:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 03:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 03:09:04] Production.INFO: Date 2025-04-09
[2025-04-12 03:09:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:09:04] Production.INFO: ==14735== Releasing lock...
[2025-04-12 03:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 03:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 03:09:04] Production.INFO: Date 2025-04-10
[2025-04-12 03:09:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:09:04] Production.INFO: Date 2025-04-11
[2025-04-12 03:09:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:09:04] Production.INFO: Date 2025-04-12
[2025-04-12 03:09:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:09:04] Production.INFO: Total Charge 0
[2025-04-12 03:09:04] Production.INFO: CreateAllLog End
[2025-04-12 03:09:04] Production.INFO: Account Balance End.
[2025-04-12 03:09:04] Production.ERROR: CronJobId end 12
[2025-04-12 03:09:04] Production.INFO: ==14739== Releasing lock...
[2025-04-12 03:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 03:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 03:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 00:09:05
[end_date_ymd] => 2025-04-12 03:09:05
[RateCDR] => 1
)
[2025-04-12 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-12 00:09:05' and `end` < '2025-04-12 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-12 03:09:14] Production.ERROR: CronJobId end10
[2025-04-12 03:09:14] Production.INFO: ==14737== Releasing lock...
[2025-04-12 03:09:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 03:09:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 03:09:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 03:09:16] Production.INFO: ============== Balance Warning START===========
[2025-04-12 03:09:16] Production.INFO: ============== Balance Warning END===========
[2025-04-12 03:09:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 03:09:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 03:09:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 03:09:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 03:09:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 03:09:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 03:09:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 03:09:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 03:09:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 03:09:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 03:09:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 03:09:16] Production.INFO: call_cost start
[2025-04-12 03:09:16] Production.INFO: call_cost end
[2025-04-12 03:09:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 03:09:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 03:09:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 03:09:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 03:09:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 03:09:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 03:09:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 03:09:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 03:09:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 03:09:17] Production.INFO: ==14733== Releasing lock...
[2025-04-12 03:09:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 03:09:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 03:09:18] Production.INFO: count ==373
[2025-04-12 03:09:18] Production.ERROR: pbx CDR StartTime 2025-04-12 00:09:05 - End Time 2025-04-12 03:09:05
[2025-04-12 03:09:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 03:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888707', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888707', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888707', 'tblTempVendorCDR_20' ) start
[2025-04-12 03:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888707', 'tblTempVendorCDR_20' ) end
[2025-04-12 03:09:18] Production.INFO: ProcessCDR(1,14888707,1,1,2)
[2025-04-12 03:09:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888707,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:09:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888707,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:09:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888707,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:09:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888707,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888707', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888707', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:09:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 03:09:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 03:09:21] Production.INFO: ==14741== Releasing lock...
[2025-04-12 03:09:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 03:09:21] Production.INFO: 30.25 MB #Memory Used#
[2025-04-12 08:10:01] Production.INFO: ==14817== Lock acquired, processing the job...
[2025-04-12 08:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 08:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 08:10:01] Production.INFO: neon service started
[2025-04-12 08:10:01] Production.INFO: neon service started
[2025-04-12 08:10:01] Production.INFO: ==14817== Releasing lock...
[2025-04-12 08:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 08:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 03:10:02] Production.INFO: ==14819== Lock acquired, processing the job...
[2025-04-12 03:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 07:10:02] Production.INFO: ==14821== Lock acquired, processing the job...
[2025-04-12 07:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 07:10:02] Production.INFO: ==14821== Releasing lock...
[2025-04-12 07:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 07:10:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 03:10:02] Production.INFO: ==14819== Releasing lock...
[2025-04-12 03:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 03:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 03:10:03] Production.INFO: ==14823== Lock acquired, processing the job...
[2025-04-12 03:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 03:10:03] Production.INFO: ==14830== Lock acquired, processing the job...
[2025-04-12 03:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 03:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 03:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 03:10:03] Production.ERROR: CronJob PID - 14830
[2025-04-12 03:10:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-04-12 03:10:03] Production.ERROR: CronJob ID - 10
[2025-04-12 03:10:03] Production.ERROR: CronJob Last Run Time 2025-04-12 03:10:00
[2025-04-12 03:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 03:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 03:10:03] Production.INFO: ==14834== Lock acquired, processing the job...
[2025-04-12 03:10:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 03:10:03] Production.INFO: ==14825== Lock acquired, processing the job...
[2025-04-12 03:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 03:10:03] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 03:10:03] Production.INFO: ==14823== Releasing lock...
[2025-04-12 03:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 03:10:03] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 03:10:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 03:10:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 03:10:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 03:10:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 03:10:03] Production.INFO: ==14838== Lock acquired, processing the job...
[2025-04-12 03:10:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 03:10:03] Production.INFO: ==14828== Lock acquired, processing the job...
[2025-04-12 03:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 03:10:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 03:10:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 03:10:03] Production.INFO: ==14832== Lock acquired, processing the job...
[2025-04-12 03:10:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 03:10:04] Production.INFO: Account Balance Start.
[2025-04-12 03:10:04] Production.INFO: CreateAllLog Start
[2025-04-12 03:10:04] Production.INFO: ==14836== Lock acquired, processing the job...
[2025-04-12 03:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 03:10:04] Production.INFO: 117
[2025-04-12 03:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 03:10:04] Production.INFO: Date 2025-04-08
[2025-04-12 03:10:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:10:04] Production.INFO: count ==12
[2025-04-12 03:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 03:10:04] Production.INFO: count ==23
[2025-04-12 03:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 03:10:04] Production.ERROR: done
[2025-04-12 03:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 03:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888709') start
[2025-04-12 03:10:04] Production.INFO: Date 2025-04-09
[2025-04-12 03:10:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:10:04] Production.ERROR: done
[2025-04-12 03:10:04] Production.INFO: ==14828== Releasing lock...
[2025-04-12 03:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 03:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 03:10:04] Production.INFO: Date 2025-04-10
[2025-04-12 03:10:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888709') end
[2025-04-12 03:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 03:10:04] Production.INFO: 1
[2025-04-12 03:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 03:10:04] Production.INFO: Date 2025-04-11
[2025-04-12 03:10:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:10:04] Production.INFO: Date 2025-04-12
[2025-04-12 03:10:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:10:04] Production.INFO: Total Charge 0
[2025-04-12 03:10:04] Production.INFO: CreateAllLog End
[2025-04-12 03:10:04] Production.INFO: ==14838== Releasing lock...
[2025-04-12 03:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 03:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 03:10:04] Production.ERROR: done
[2025-04-12 03:10:04] Production.INFO: Account Balance End.
[2025-04-12 03:10:04] Production.ERROR: CronJobId end 12
[2025-04-12 03:10:04] Production.INFO: ==14832== Releasing lock...
[2025-04-12 03:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 03:10:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 03:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 03:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14888713', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 03:10:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 00:10:05
[end_date_ymd] => 2025-04-12 03:10:05
[RateCDR] => 1
)
[2025-04-12 03:10:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 00:10:05' and `end` < '2025-04-12 03:10:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 03:10:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14888713', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 03:10:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 03:10:08] Production.INFO: ProcessCDR(1,14888713,1,1,2)
[2025-04-12 03:10:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14888713,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:10:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14888713,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:10:08] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 03:10:08] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 03:10:08] Production.INFO: ==14836== Releasing lock...
[2025-04-12 03:10:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 03:10:08] Production.INFO: 26 MB #Memory Used#
[2025-04-12 03:10:13] Production.ERROR: CronJobId end10
[2025-04-12 03:10:13] Production.INFO: ==14830== Releasing lock...
[2025-04-12 03:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 03:10:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 03:10:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 03:10:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 03:10:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 03:10:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 03:10:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 03:10:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 03:10:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 03:10:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 03:10:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 03:10:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 03:10:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 03:10:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 03:10:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 03:10:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 03:10:16] Production.INFO: call_cost start
[2025-04-12 03:10:16] Production.INFO: call_cost end
[2025-04-12 03:10:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 03:10:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 03:10:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 03:10:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 03:10:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 03:10:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 03:10:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 03:10:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 03:10:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 03:10:17] Production.INFO: ==14825== Releasing lock...
[2025-04-12 03:10:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 03:10:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 03:10:18] Production.INFO: count ==365
[2025-04-12 03:10:18] Production.ERROR: pbx CDR StartTime 2025-04-12 00:10:05 - End Time 2025-04-12 03:10:05
[2025-04-12 03:10:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 03:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888712', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888712', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888712', 'tblTempVendorCDR_20' ) start
[2025-04-12 03:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888712', 'tblTempVendorCDR_20' ) end
[2025-04-12 03:10:18] Production.INFO: ProcessCDR(1,14888712,1,1,2)
[2025-04-12 03:10:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888712,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:10:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888712,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:10:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888712,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:10:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888712,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888712', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888712', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:10:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 03:10:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 03:10:22] Production.INFO: ==14834== Releasing lock...
[2025-04-12 03:10:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 03:10:22] Production.INFO: 30.25 MB #Memory Used#
[2025-04-12 08:11:02] Production.INFO: ==14897== Lock acquired, processing the job...
[2025-04-12 08:11:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 08:11:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 08:11:02] Production.INFO: neon service started
[2025-04-12 08:11:02] Production.INFO: neon service started
[2025-04-12 08:11:02] Production.INFO: ==14897== Releasing lock...
[2025-04-12 08:11:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 08:11:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 03:11:02] Production.INFO: ==14899== Lock acquired, processing the job...
[2025-04-12 03:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 03:11:02] Production.INFO: ==14899== Releasing lock...
[2025-04-12 03:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 03:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 07:11:02] Production.INFO: ==14901== Lock acquired, processing the job...
[2025-04-12 07:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 07:11:02] Production.INFO: ==14901== Releasing lock...
[2025-04-12 07:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 07:11:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 03:11:03] Production.INFO: ==14909== Lock acquired, processing the job...
[2025-04-12 03:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 03:11:03] Production.INFO: ==14913== Lock acquired, processing the job...
[2025-04-12 03:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 03:11:03] Production.INFO: Account Balance Start.
[2025-04-12 03:11:03] Production.INFO: CreateAllLog Start
[2025-04-12 03:11:03] Production.INFO: 117
[2025-04-12 03:11:03] Production.INFO: Date 2025-04-08
[2025-04-12 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-12 03:11:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:11:03] Production.INFO: Date 2025-04-09
[2025-04-12 03:11:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:11:03] Production.INFO: count ==12
[2025-04-12 03:11:03] Production.INFO: ==14903== Lock acquired, processing the job...
[2025-04-12 03:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 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-12 03:11:03] Production.INFO: count ==23
[2025-04-12 03:11:03] Production.INFO: ==14905== Lock acquired, processing the job...
[2025-04-12 03:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 03:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14888715') start
[2025-04-12 03:11:04] Production.INFO: ==14907== Lock acquired, processing the job...
[2025-04-12 03:11:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 03:11:04] Production.INFO: Date 2025-04-10
[2025-04-12 03:11:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:11:04] Production.INFO: ==14911== Lock acquired, processing the job...
[2025-04-12 03:11:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 03:11:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 03:11:04] Production.INFO: Date 2025-04-11
[2025-04-12 03:11:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:11:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 03:11:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 03:11:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 03:11:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 03:11:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 03:11:04] Production.INFO: Date 2025-04-12
[2025-04-12 03:11:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888715') end
[2025-04-12 03:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 03:11:04] Production.INFO: 1
[2025-04-12 03:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 03:11:04] Production.INFO: Total Charge 0
[2025-04-12 03:11:04] Production.INFO: CreateAllLog End
[2025-04-12 03:11:04] Production.INFO: ==14913== Releasing lock...
[2025-04-12 03:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 03:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 03:11:04] Production.INFO: ==14905== Releasing lock...
[2025-04-12 03:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 03:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 03:11:04] Production.ERROR: done
[2025-04-12 03:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 03:11:04] Production.INFO: Account Balance End.
[2025-04-12 03:11:04] Production.ERROR: CronJobId end 12
[2025-04-12 03:11:04] Production.INFO: ==14909== Releasing lock...
[2025-04-12 03:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 03:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 03:11:04] Production.ERROR: done
[2025-04-12 03:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 00:11:05
[end_date_ymd] => 2025-04-12 03:11:05
[RateCDR] => 1
)
[2025-04-12 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-12 00:11:05' and `end` < '2025-04-12 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-12 03:11:12] Production.ERROR: CronJobId end10
[2025-04-12 03:11:12] Production.INFO: ==14907== Releasing lock...
[2025-04-12 03:11:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 03:11:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 03:11:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 03:11:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 03:11:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 03:11:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 03:11:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 03:11:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 03:11:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 03:11:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 03:11:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 03:11:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 03:11:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 03:11:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 03:11:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 03:11:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 03:11:15] Production.INFO: call_cost start
[2025-04-12 03:11:15] Production.INFO: call_cost end
[2025-04-12 03:11:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 03:11:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 03:11:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 03:11:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 03:11:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 03:11:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 03:11:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 03:11:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 03:11:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 03:11:16] Production.INFO: ==14903== Releasing lock...
[2025-04-12 03:11:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 03:11:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 03:11:18] Production.INFO: count ==345
[2025-04-12 03:11:18] Production.ERROR: pbx CDR StartTime 2025-04-12 00:11:05 - End Time 2025-04-12 03:11:05
[2025-04-12 03:11:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 03:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888718', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888718', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888718', 'tblTempVendorCDR_20' ) start
[2025-04-12 03:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888718', 'tblTempVendorCDR_20' ) end
[2025-04-12 03:11:18] Production.INFO: ProcessCDR(1,14888718,1,1,2)
[2025-04-12 03:11:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888718,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:11:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888718,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:11:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888718,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:11:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888718,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888718', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888718', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:11:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 03:11:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 03:11:22] Production.INFO: ==14911== Releasing lock...
[2025-04-12 03:11:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 03:11:22] Production.INFO: 30 MB #Memory Used#
[2025-04-12 08:12:01] Production.INFO: ==15005== Lock acquired, processing the job...
[2025-04-12 08:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 08:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 08:12:01] Production.INFO: neon service started
[2025-04-12 08:12:01] Production.INFO: neon service started
[2025-04-12 08:12:01] Production.INFO: ==15005== Releasing lock...
[2025-04-12 08:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 08:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 03:12:01] Production.INFO: ==15007== Lock acquired, processing the job...
[2025-04-12 03:12:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 03:12:02] Production.INFO: ==15007== Releasing lock...
[2025-04-12 03:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 03:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 07:12:02] Production.INFO: ==15009== Lock acquired, processing the job...
[2025-04-12 07:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 07:12:02] Production.INFO: ==15009== Releasing lock...
[2025-04-12 07:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 07:12:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 03:12:03] Production.INFO: ==15018== Lock acquired, processing the job...
[2025-04-12 03:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 03:12:03] Production.INFO: ==15022== Lock acquired, processing the job...
[2025-04-12 03:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 03:12:03] Production.INFO: Account Balance Start.
[2025-04-12 03:12:03] Production.INFO: CreateAllLog Start
[2025-04-12 03:12:03] Production.INFO: 117
[2025-04-12 03:12:03] Production.INFO: ==15014== Lock acquired, processing the job...
[2025-04-12 03:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 03:12:03] Production.INFO: Date 2025-04-08
[2025-04-12 03:12:03] Production.INFO: ==15012== Lock acquired, processing the job...
[2025-04-12 03:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 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-12 03:12:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:12:03] Production.INFO: ==15016== Lock acquired, processing the job...
[2025-04-12 03:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 03:12:03] Production.INFO: count ==12
[2025-04-12 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-12 03:12:03] Production.INFO: count ==23
[2025-04-12 03:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14888720') start
[2025-04-12 03:12:03] Production.INFO: ==15020== Lock acquired, processing the job...
[2025-04-12 03:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 03:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 03:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 03:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 03:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 03:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 03:12:03] Production.INFO: Date 2025-04-09
[2025-04-12 03:12:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 03:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14888720') end
[2025-04-12 03:12:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 03:12:03] Production.INFO: 1
[2025-04-12 03:12:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 03:12:03] Production.INFO: Date 2025-04-10
[2025-04-12 03:12:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:12:03] Production.INFO: Date 2025-04-11
[2025-04-12 03:12:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:12:03] Production.INFO: ==15022== Releasing lock...
[2025-04-12 03:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 03:12:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 03:12:03] Production.INFO: Date 2025-04-12
[2025-04-12 03:12:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:12:04] Production.INFO: Total Charge 0
[2025-04-12 03:12:04] Production.INFO: CreateAllLog End
[2025-04-12 03:12:04] Production.ERROR: done
[2025-04-12 03:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 03:12:04] Production.INFO: ==15014== Releasing lock...
[2025-04-12 03:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 03:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 03:12:04] Production.INFO: Account Balance End.
[2025-04-12 03:12:04] Production.ERROR: done
[2025-04-12 03:12:04] Production.ERROR: CronJobId end 12
[2025-04-12 03:12:04] Production.INFO: ==15018== Releasing lock...
[2025-04-12 03:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 03:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 03:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 00:12:05
[end_date_ymd] => 2025-04-12 03:12:05
[RateCDR] => 1
)
[2025-04-12 03:12:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 00:12:05' and `end` < '2025-04-12 03:12:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 03:12:11] Production.ERROR: CronJobId end10
[2025-04-12 03:12:11] Production.INFO: ==15016== Releasing lock...
[2025-04-12 03:12:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 03:12:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 03:12:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 03:12:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 03:12:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 03:12:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 03:12:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 03:12:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 03:12:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 03:12:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 03:12:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 03:12:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 03:12:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 03:12:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 03:12:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 03:12:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 03:12:14] Production.INFO: call_cost start
[2025-04-12 03:12:14] Production.INFO: call_cost end
[2025-04-12 03:12:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 03:12:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 03:12:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 03:12:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 03:12:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 03:12:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 03:12:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 03:12:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 03:12:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 03:12:15] Production.INFO: ==15012== Releasing lock...
[2025-04-12 03:12:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 03:12:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 03:12:18] Production.INFO: count ==345
[2025-04-12 03:12:18] Production.ERROR: pbx CDR StartTime 2025-04-12 00:12:05 - End Time 2025-04-12 03:12:05
[2025-04-12 03:12:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 03:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888723', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888723', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888723', 'tblTempVendorCDR_20' ) start
[2025-04-12 03:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888723', 'tblTempVendorCDR_20' ) end
[2025-04-12 03:12:18] Production.INFO: ProcessCDR(1,14888723,1,1,2)
[2025-04-12 03:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888723,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:12:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888723,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:12:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888723,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:12:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888723,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888723', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888723', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:12:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 03:12:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 03:12:21] Production.INFO: ==15020== Releasing lock...
[2025-04-12 03:12:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 03:12:21] Production.INFO: 30 MB #Memory Used#
[2025-04-12 08:13:01] Production.INFO: ==15156== Lock acquired, processing the job...
[2025-04-12 08:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 08:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 08:13:01] Production.INFO: neon service started
[2025-04-12 08:13:02] Production.INFO: neon service started
[2025-04-12 08:13:02] Production.INFO: ==15156== Releasing lock...
[2025-04-12 08:13:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 08:13:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 03:13:02] Production.INFO: ==15158== Lock acquired, processing the job...
[2025-04-12 03:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 03:13:02] Production.INFO: ==15158== Releasing lock...
[2025-04-12 03:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 03:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 07:13:02] Production.INFO: ==15160== Lock acquired, processing the job...
[2025-04-12 07:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 07:13:02] Production.INFO: ==15160== Releasing lock...
[2025-04-12 07:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 07:13:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 03:13:03] Production.INFO: ==15162== Lock acquired, processing the job...
[2025-04-12 03:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 03:13:03] Production.INFO: ==15164== Lock acquired, processing the job...
[2025-04-12 03:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 03:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 03:13:03] Production.INFO: ==15168== Lock acquired, processing the job...
[2025-04-12 03:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 03:13:03] Production.INFO: ==15166== Lock acquired, processing the job...
[2025-04-12 03:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 03:13:03] Production.INFO: Account Balance Start.
[2025-04-12 03:13:03] Production.INFO: CreateAllLog Start
[2025-04-12 03:13:03] Production.INFO: ==15170== Lock acquired, processing the job...
[2025-04-12 03:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 03:13:03] Production.INFO: 117
[2025-04-12 03:13:03] Production.INFO: Date 2025-04-08
[2025-04-12 03:13:03] Production.INFO: ==15172== Lock acquired, processing the job...
[2025-04-12 03:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 03:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 03:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 03:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 03:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 03:13:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:13:03] Production.INFO: ==15164== Releasing lock...
[2025-04-12 03:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 03:13:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 03:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 03:13:03] Production.INFO: Date 2025-04-09
[2025-04-12 03:13:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:13:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 03:13:04] Production.INFO: Date 2025-04-10
[2025-04-12 03:13:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:13:04] Production.INFO: count ==12
[2025-04-12 03:13:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 03:13:04] Production.INFO: count ==23
[2025-04-12 03:13:04] Production.INFO: Date 2025-04-11
[2025-04-12 03:13:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:13:04] Production.INFO: Date 2025-04-12
[2025-04-12 03:13:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888727') start
[2025-04-12 03:13:04] Production.INFO: Total Charge 0
[2025-04-12 03:13:04] Production.INFO: CreateAllLog End
[2025-04-12 03:13:04] Production.ERROR: done
[2025-04-12 03:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 03:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888727') end
[2025-04-12 03:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 03:13:04] Production.INFO: 1
[2025-04-12 03:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 03:13:04] Production.INFO: ==15172== Releasing lock...
[2025-04-12 03:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 03:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 03:13:04] Production.INFO: Account Balance End.
[2025-04-12 03:13:04] Production.ERROR: done
[2025-04-12 03:13:04] Production.ERROR: CronJobId end 12
[2025-04-12 03:13:04] Production.INFO: ==15168== Releasing lock...
[2025-04-12 03:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 03:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 03:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 00:13:05
[end_date_ymd] => 2025-04-12 03:13:05
[RateCDR] => 1
)
[2025-04-12 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-12 00:13:05' and `end` < '2025-04-12 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-12 03:13:12] Production.ERROR: CronJobId end10
[2025-04-12 03:13:12] Production.INFO: ==15166== Releasing lock...
[2025-04-12 03:13:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 03:13:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 03:13:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 03:13:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 03:13:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 03:13:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 03:13:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 03:13:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 03:13:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 03:13:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 03:13:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 03:13:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 03:13:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 03:13:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 03:13:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 03:13:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 03:13:14] Production.INFO: call_cost start
[2025-04-12 03:13:14] Production.INFO: call_cost end
[2025-04-12 03:13:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 03:13:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 03:13:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 03:13:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 03:13:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 03:13:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 03:13:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 03:13:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 03:13:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 03:13:15] Production.INFO: ==15162== Releasing lock...
[2025-04-12 03:13:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 03:13:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 03:13:18] Production.INFO: count ==345
[2025-04-12 03:13:18] Production.ERROR: pbx CDR StartTime 2025-04-12 00:13:05 - End Time 2025-04-12 03:13:05
[2025-04-12 03:13:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 03:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888728', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888728', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888728', 'tblTempVendorCDR_20' ) start
[2025-04-12 03:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888728', 'tblTempVendorCDR_20' ) end
[2025-04-12 03:13:18] Production.INFO: ProcessCDR(1,14888728,1,1,2)
[2025-04-12 03:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888728,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:13:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888728,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:13:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888728,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:13:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888728,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888728', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888728', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:13:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 03:13:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 03:13:22] Production.INFO: ==15170== Releasing lock...
[2025-04-12 03:13:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 03:13:22] Production.INFO: 30 MB #Memory Used#
[2025-04-12 08:14:01] Production.INFO: ==15226== Lock acquired, processing the job...
[2025-04-12 08:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 08:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 08:14:01] Production.INFO: neon service started
[2025-04-12 08:14:01] Production.INFO: neon service started
[2025-04-12 08:14:01] Production.INFO: ==15226== Releasing lock...
[2025-04-12 08:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 08:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 03:14:01] Production.INFO: ==15228== Lock acquired, processing the job...
[2025-04-12 03:14:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 03:14:02] Production.INFO: ==15228== Releasing lock...
[2025-04-12 03:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 03:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 07:14:02] Production.INFO: ==15230== Lock acquired, processing the job...
[2025-04-12 07:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 07:14:02] Production.INFO: ==15230== Releasing lock...
[2025-04-12 07:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 07:14:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 03:14:03] Production.INFO: ==15232== Lock acquired, processing the job...
[2025-04-12 03:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 03:14:03] Production.INFO: ==15236== Lock acquired, processing the job...
[2025-04-12 03:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 03:14:03] Production.INFO: ==15238== Lock acquired, processing the job...
[2025-04-12 03:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 03:14:03] Production.INFO: ==15234== Lock acquired, processing the job...
[2025-04-12 03:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 03:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 03:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 03:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 03:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 03:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 03:14:03] Production.INFO: Account Balance Start.
[2025-04-12 03:14:03] Production.INFO: CreateAllLog Start
[2025-04-12 03:14:03] Production.INFO: ==15240== Lock acquired, processing the job...
[2025-04-12 03:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 03:14:03] Production.INFO: 117
[2025-04-12 03:14:03] Production.INFO: Date 2025-04-08
[2025-04-12 03:14:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 03:14:03] Production.INFO: ==15242== Lock acquired, processing the job...
[2025-04-12 03:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 03:14:03] Production.INFO: Date 2025-04-09
[2025-04-12 03:14:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:14:03] Production.INFO: ==15234== Releasing lock...
[2025-04-12 03:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 03:14:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 03:14:03] Production.INFO: Date 2025-04-10
[2025-04-12 03:14:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:14:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 03:14:03] Production.ERROR: done
[2025-04-12 03:14:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 03:14:03] Production.INFO: count ==12
[2025-04-12 03:14:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 03:14:03] Production.INFO: Date 2025-04-11
[2025-04-12 03:14:03] Production.INFO: count ==23
[2025-04-12 03:14:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:14:04] Production.INFO: Date 2025-04-12
[2025-04-12 03:14:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888732') start
[2025-04-12 03:14:04] Production.ERROR: done
[2025-04-12 03:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888732') end
[2025-04-12 03:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 03:14:04] Production.INFO: 1
[2025-04-12 03:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 03:14:04] Production.INFO: Total Charge 0
[2025-04-12 03:14:04] Production.INFO: CreateAllLog End
[2025-04-12 03:14:04] Production.INFO: ==15242== Releasing lock...
[2025-04-12 03:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 03:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 03:14:04] Production.INFO: Account Balance End.
[2025-04-12 03:14:04] Production.ERROR: CronJobId end 12
[2025-04-12 03:14:04] Production.INFO: ==15238== Releasing lock...
[2025-04-12 03:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 03:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 03:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 00:14:05
[end_date_ymd] => 2025-04-12 03:14:05
[RateCDR] => 1
)
[2025-04-12 03:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 00:14:05' and `end` < '2025-04-12 03:14:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 03:14:11] Production.ERROR: CronJobId end10
[2025-04-12 03:14:11] Production.INFO: ==15236== Releasing lock...
[2025-04-12 03:14:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 03:14:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 03:14:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 03:14:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 03:14:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 03:14:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 03:14:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 03:14:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 03:14:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 03:14:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 03:14:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 03:14:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 03:14:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 03:14:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 03:14:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 03:14:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 03:14:14] Production.INFO: call_cost start
[2025-04-12 03:14:14] Production.INFO: call_cost end
[2025-04-12 03:14:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 03:14:14] Production.INFO: ============== Report Schedule START===========
[2025-04-12 03:14:14] Production.INFO: ============== Report Schedule END===========
[2025-04-12 03:14:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 03:14:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 03:14:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 03:14:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 03:14:14] Production.INFO: ============== Deal alert START===========
[2025-04-12 03:14:14] Production.INFO: ============== Deal alert END===========
[2025-04-12 03:14:14] Production.INFO: ==15232== Releasing lock...
[2025-04-12 03:14:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 03:14:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 03:14:18] Production.INFO: count ==344
[2025-04-12 03:14:18] Production.ERROR: pbx CDR StartTime 2025-04-12 00:14:05 - End Time 2025-04-12 03:14:05
[2025-04-12 03:14:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 03:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888733', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888733', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888733', 'tblTempVendorCDR_20' ) start
[2025-04-12 03:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888733', 'tblTempVendorCDR_20' ) end
[2025-04-12 03:14:18] Production.INFO: ProcessCDR(1,14888733,1,1,2)
[2025-04-12 03:14:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888733,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:14:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888733,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:14:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888733,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:14:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888733,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888733', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888733', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:14:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 03:14:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 03:14:21] Production.INFO: ==15240== Releasing lock...
[2025-04-12 03:14:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 03:14:21] Production.INFO: 30 MB #Memory Used#
[2025-04-12 08:15:01] Production.INFO: ==15306== Lock acquired, processing the job...
[2025-04-12 08:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 08:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 08:15:02] Production.INFO: neon service started
[2025-04-12 08:15:02] Production.INFO: neon service started
[2025-04-12 08:15:02] Production.INFO: ==15306== Releasing lock...
[2025-04-12 08:15:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 08:15:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 07:15:02] Production.INFO: ==15310== Lock acquired, processing the job...
[2025-04-12 07:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 07:15:02] Production.INFO: ==15310== Releasing lock...
[2025-04-12 07:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 07:15:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 03:15:02] Production.INFO: ==15308== Lock acquired, processing the job...
[2025-04-12 03:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 03:15:02] Production.INFO: ==15308== Releasing lock...
[2025-04-12 03:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 03:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 03:15:03] Production.INFO: ==15312== Lock acquired, processing the job...
[2025-04-12 03:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 03:15:03] Production.INFO: ==15316== Lock acquired, processing the job...
[2025-04-12 03:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 03:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 03:15:03] Production.INFO: ==15321== Lock acquired, processing the job...
[2025-04-12 03:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 03:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 03:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 03:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 03:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 03:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 03:15:03] Production.INFO: ==15314== Lock acquired, processing the job...
[2025-04-12 03:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 03:15:03] Production.INFO: ==15318== Lock acquired, processing the job...
[2025-04-12 03:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 03:15:04] Production.INFO: ==15323== Lock acquired, processing the job...
[2025-04-12 03:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 03:15:04] Production.INFO: Account Balance Start.
[2025-04-12 03:15:04] Production.INFO: CreateAllLog Start
[2025-04-12 03:15:04] Production.INFO: 117
[2025-04-12 03:15:04] Production.INFO: Date 2025-04-08
[2025-04-12 03:15:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 03:15:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:15:04] Production.INFO: count ==12
[2025-04-12 03:15:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 03:15:04] Production.INFO: count ==23
[2025-04-12 03:15:04] Production.INFO: Date 2025-04-09
[2025-04-12 03:15:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888736') start
[2025-04-12 03:15:04] Production.INFO: Date 2025-04-10
[2025-04-12 03:15:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:15:04] Production.INFO: Date 2025-04-11
[2025-04-12 03:15:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:15:04] Production.INFO: Date 2025-04-12
[2025-04-12 03:15:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:15:04] Production.ERROR: done
[2025-04-12 03:15:04] Production.INFO: Total Charge 0
[2025-04-12 03:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 03:15:04] Production.INFO: CreateAllLog End
[2025-04-12 03:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888736') end
[2025-04-12 03:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 03:15:04] Production.INFO: 1
[2025-04-12 03:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 03:15:04] Production.ERROR: done
[2025-04-12 03:15:04] Production.INFO: ==15323== Releasing lock...
[2025-04-12 03:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 03:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 03:15:04] Production.INFO: ==15314== Releasing lock...
[2025-04-12 03:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 03:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 03:15:04] Production.INFO: Account Balance End.
[2025-04-12 03:15:04] Production.ERROR: CronJobId end 12
[2025-04-12 03:15:04] Production.INFO: ==15318== Releasing lock...
[2025-04-12 03:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 03:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 03:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 00:15:05
[end_date_ymd] => 2025-04-12 03:15:05
[RateCDR] => 1
)
[2025-04-12 03:15:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 00:15:05' and `end` < '2025-04-12 03:15:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 03:15:11] Production.ERROR: CronJobId end10
[2025-04-12 03:15:11] Production.INFO: ==15316== Releasing lock...
[2025-04-12 03:15:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 03:15:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 03:15:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 03:15:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 03:15:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 03:15:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 03:15:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 03:15:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 03:15:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 03:15:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 03:15:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 03:15:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 03:15:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 03:15:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 03:15:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 03:15:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 03:15:14] Production.INFO: call_cost start
[2025-04-12 03:15:14] Production.INFO: call_cost end
[2025-04-12 03:15:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 03:15:14] Production.INFO: ============== Report Schedule START===========
[2025-04-12 03:15:14] Production.INFO: ============== Report Schedule END===========
[2025-04-12 03:15:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 03:15:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 03:15:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 03:15:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 03:15:14] Production.INFO: ============== Deal alert START===========
[2025-04-12 03:15:14] Production.INFO: ============== Deal alert END===========
[2025-04-12 03:15:14] Production.INFO: ==15312== Releasing lock...
[2025-04-12 03:15:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 03:15:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 03:15:18] Production.INFO: count ==344
[2025-04-12 03:15:18] Production.ERROR: pbx CDR StartTime 2025-04-12 00:15:05 - End Time 2025-04-12 03:15:05
[2025-04-12 03:15:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 03:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888738', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888738', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888738', 'tblTempVendorCDR_20' ) start
[2025-04-12 03:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888738', 'tblTempVendorCDR_20' ) end
[2025-04-12 03:15:18] Production.INFO: ProcessCDR(1,14888738,1,1,2)
[2025-04-12 03:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888738,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:15:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888738,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:15:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888738,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:15:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888738,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888738', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888738', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:15:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 03:15:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 03:15:21] Production.INFO: ==15321== Releasing lock...
[2025-04-12 03:15:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 03:15:21] Production.INFO: 30 MB #Memory Used#
[2025-04-12 08:16:01] Production.INFO: ==15380== Lock acquired, processing the job...
[2025-04-12 08:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 08:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 08:16:01] Production.INFO: neon service started
[2025-04-12 08:16:01] Production.INFO: neon service started
[2025-04-12 08:16:01] Production.INFO: ==15380== Releasing lock...
[2025-04-12 08:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 08:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 03:16:02] Production.INFO: ==15382== Lock acquired, processing the job...
[2025-04-12 03:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 07:16:02] Production.INFO: ==15384== Lock acquired, processing the job...
[2025-04-12 07:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 07:16:02] Production.INFO: ==15384== Releasing lock...
[2025-04-12 07:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 07:16:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 03:16:02] Production.INFO: ==15382== Releasing lock...
[2025-04-12 03:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 03:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 03:16:03] Production.INFO: ==15391== Lock acquired, processing the job...
[2025-04-12 03:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 03:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 03:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 03:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 03:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 03:16:03] Production.INFO: ==15397== Lock acquired, processing the job...
[2025-04-12 03:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 03:16:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 03:16:03] Production.INFO: ==15387== Lock acquired, processing the job...
[2025-04-12 03:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 03:16:03] Production.INFO: count ==12
[2025-04-12 03:16:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 03:16:03] Production.INFO: ==15389== Lock acquired, processing the job...
[2025-04-12 03:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 03:16:03] Production.INFO: count ==23
[2025-04-12 03:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14888739') start
[2025-04-12 03:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 03:16:03] Production.INFO: ==15395== Lock acquired, processing the job...
[2025-04-12 03:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 03:16:03] Production.INFO: ==15393== Lock acquired, processing the job...
[2025-04-12 03:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 03:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14888739') end
[2025-04-12 03:16:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 03:16:03] Production.INFO: 1
[2025-04-12 03:16:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 03:16:03] Production.INFO: ==15397== Releasing lock...
[2025-04-12 03:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 03:16:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 03:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 03:16:03] Production.INFO: Account Balance Start.
[2025-04-12 03:16:03] Production.INFO: CreateAllLog Start
[2025-04-12 03:16:03] Production.INFO: 117
[2025-04-12 03:16:03] Production.INFO: Date 2025-04-08
[2025-04-12 03:16:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:16:04] Production.INFO: Date 2025-04-09
[2025-04-12 03:16:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:16:04] Production.INFO: Date 2025-04-10
[2025-04-12 03:16:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:16:04] Production.INFO: Date 2025-04-11
[2025-04-12 03:16:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:16:04] Production.INFO: ==15389== Releasing lock...
[2025-04-12 03:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 03:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 03:16:04] Production.INFO: Date 2025-04-12
[2025-04-12 03:16:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:16:04] Production.INFO: Total Charge 0
[2025-04-12 03:16:04] Production.INFO: CreateAllLog End
[2025-04-12 03:16:04] Production.ERROR: done
[2025-04-12 03:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 03:16:04] Production.INFO: Account Balance End.
[2025-04-12 03:16:04] Production.ERROR: CronJobId end 12
[2025-04-12 03:16:04] Production.INFO: ==15393== Releasing lock...
[2025-04-12 03:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 03:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 03:16:04] Production.ERROR: done
[2025-04-12 03:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 00:16:05
[end_date_ymd] => 2025-04-12 03:16:05
[RateCDR] => 1
)
[2025-04-12 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-12 00:16:05' and `end` < '2025-04-12 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-12 03:16:11] Production.ERROR: CronJobId end10
[2025-04-12 03:16:11] Production.INFO: ==15391== Releasing lock...
[2025-04-12 03:16:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 03:16:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 03:16:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 03:16:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 03:16:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 03:16:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 03:16:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 03:16:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 03:16:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 03:16:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 03:16:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 03:16:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 03:16:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 03:16:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 03:16:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 03:16:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 03:16:14] Production.INFO: call_cost start
[2025-04-12 03:16:14] Production.INFO: call_cost end
[2025-04-12 03:16:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 03:16:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 03:16:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 03:16:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 03:16:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 03:16:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 03:16:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 03:16:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 03:16:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 03:16:15] Production.INFO: ==15387== Releasing lock...
[2025-04-12 03:16:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 03:16:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 03:16:18] Production.INFO: count ==345
[2025-04-12 03:16:18] Production.ERROR: pbx CDR StartTime 2025-04-12 00:16:05 - End Time 2025-04-12 03:16:05
[2025-04-12 03:16:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 03:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888743', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888743', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888743', 'tblTempVendorCDR_20' ) start
[2025-04-12 03:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888743', 'tblTempVendorCDR_20' ) end
[2025-04-12 03:16:18] Production.INFO: ProcessCDR(1,14888743,1,1,2)
[2025-04-12 03:16:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888743,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:16:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888743,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:16:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888743,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:16:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888743,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:16:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888743', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:16:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888743', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:16:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 03:16:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 03:16:23] Production.INFO: ==15395== Releasing lock...
[2025-04-12 03:16:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 03:16:23] Production.INFO: 30 MB #Memory Used#
[2025-04-12 08:17:01] Production.INFO: ==15537== Lock acquired, processing the job...
[2025-04-12 08:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 08:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 08:17:01] Production.INFO: neon service started
[2025-04-12 08:17:01] Production.INFO: neon service started
[2025-04-12 08:17:01] Production.INFO: ==15537== Releasing lock...
[2025-04-12 08:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 08:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 07:17:02] Production.INFO: ==15541== Lock acquired, processing the job...
[2025-04-12 07:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 07:17:02] Production.INFO: ==15541== Releasing lock...
[2025-04-12 07:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 07:17:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 03:17:02] Production.INFO: ==15539== Lock acquired, processing the job...
[2025-04-12 03:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 03:17:02] Production.INFO: ==15539== Releasing lock...
[2025-04-12 03:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 03:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 03:17:03] Production.INFO: ==15545== Lock acquired, processing the job...
[2025-04-12 03:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 03:17:03] Production.INFO: ==15547== Lock acquired, processing the job...
[2025-04-12 03:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 03:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 03:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 03:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 03:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 03:17:03] Production.INFO: ==15551== Lock acquired, processing the job...
[2025-04-12 03:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 03:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 03:17:03] Production.INFO: ==15545== Releasing lock...
[2025-04-12 03:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 03:17:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 03:17:03] Production.INFO: ==15543== Lock acquired, processing the job...
[2025-04-12 03:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 03:17:03] Production.INFO: ==15549== Lock acquired, processing the job...
[2025-04-12 03:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 03:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 03:17:03] Production.INFO: Account Balance Start.
[2025-04-12 03:17:03] Production.INFO: CreateAllLog Start
[2025-04-12 03:17:03] Production.INFO: 117
[2025-04-12 03:17:03] Production.INFO: Date 2025-04-08
[2025-04-12 03:17:03] Production.INFO: ==15553== Lock acquired, processing the job...
[2025-04-12 03:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 03:17:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:17:03] Production.INFO: Date 2025-04-09
[2025-04-12 03:17:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:17:03] Production.INFO: Date 2025-04-10
[2025-04-12 03:17:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:17:04] Production.INFO: Date 2025-04-11
[2025-04-12 03:17:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:17:04] Production.INFO: Date 2025-04-12
[2025-04-12 03:17:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:17:04] Production.ERROR: done
[2025-04-12 03:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 03:17:04] Production.INFO: Total Charge 0
[2025-04-12 03:17:04] Production.INFO: CreateAllLog End
[2025-04-12 03:17:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 03:17:04] Production.INFO: count ==12
[2025-04-12 03:17:04] Production.ERROR: done
[2025-04-12 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-12 03:17:04] Production.INFO: count ==23
[2025-04-12 03:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888747') start
[2025-04-12 03:17:04] Production.INFO: Account Balance End.
[2025-04-12 03:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888747') end
[2025-04-12 03:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 03:17:04] Production.INFO: 1
[2025-04-12 03:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 03:17:04] Production.ERROR: CronJobId end 12
[2025-04-12 03:17:04] Production.INFO: ==15549== Releasing lock...
[2025-04-12 03:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 03:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 03:17:04] Production.INFO: ==15553== Releasing lock...
[2025-04-12 03:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 03:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 03:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 00:17:05
[end_date_ymd] => 2025-04-12 03:17:05
[RateCDR] => 1
)
[2025-04-12 03:17:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 00:17:05' and `end` < '2025-04-12 03:17:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 03:17:10] Production.ERROR: CronJobId end10
[2025-04-12 03:17:10] Production.INFO: ==15547== Releasing lock...
[2025-04-12 03:17:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 03:17:10] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 03:17:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 03:17:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 03:17:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 03:17:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 03:17:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 03:17:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 03:17:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 03:17:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 03:17:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 03:17:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 03:17:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 03:17:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 03:17:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 03:17:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 03:17:14] Production.INFO: call_cost start
[2025-04-12 03:17:14] Production.INFO: call_cost end
[2025-04-12 03:17:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 03:17:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 03:17:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 03:17:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 03:17:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 03:17:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 03:17:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 03:17:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 03:17:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 03:17:15] Production.INFO: ==15543== Releasing lock...
[2025-04-12 03:17:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 03:17:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 03:17:18] Production.INFO: count ==346
[2025-04-12 03:17:18] Production.ERROR: pbx CDR StartTime 2025-04-12 00:17:05 - End Time 2025-04-12 03:17:05
[2025-04-12 03:17:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 03:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888748', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888748', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888748', 'tblTempVendorCDR_20' ) start
[2025-04-12 03:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888748', 'tblTempVendorCDR_20' ) end
[2025-04-12 03:17:18] Production.INFO: ProcessCDR(1,14888748,1,1,2)
[2025-04-12 03:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888748,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:17:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888748,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:17:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888748,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:17:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888748,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888748', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888748', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:17:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 03:17:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 03:17:22] Production.INFO: ==15551== Releasing lock...
[2025-04-12 03:17:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 03:17:22] Production.INFO: 30 MB #Memory Used#
[2025-04-12 08:18:02] Production.INFO: ==15608== Lock acquired, processing the job...
[2025-04-12 08:18:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 08:18:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 08:18:02] Production.INFO: neon service started
[2025-04-12 08:18:02] Production.INFO: neon service started
[2025-04-12 08:18:02] Production.INFO: ==15608== Releasing lock...
[2025-04-12 08:18:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 08:18:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 03:18:02] Production.INFO: ==15611== Lock acquired, processing the job...
[2025-04-12 03:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 03:18:02] Production.INFO: ==15611== Releasing lock...
[2025-04-12 03:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 03:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 07:18:03] Production.INFO: ==15613== Lock acquired, processing the job...
[2025-04-12 07:18:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 07:18:03] Production.INFO: ==15613== Releasing lock...
[2025-04-12 07:18:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 07:18:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 03:18:03] Production.INFO: ==15615== Lock acquired, processing the job...
[2025-04-12 03:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 03:18:03] Production.INFO: ==15617== Lock acquired, processing the job...
[2025-04-12 03:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 03:18:03] Production.INFO: ==15621== Lock acquired, processing the job...
[2025-04-12 03:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 03:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 03:18:03] Production.INFO: Account Balance Start.
[2025-04-12 03:18:03] Production.INFO: CreateAllLog Start
[2025-04-12 03:18:03] Production.INFO: 117
[2025-04-12 03:18:03] Production.INFO: Date 2025-04-08
[2025-04-12 03:18:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:18:03] Production.INFO: Date 2025-04-09
[2025-04-12 03:18:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:18:03] Production.INFO: Date 2025-04-10
[2025-04-12 03:18:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:18:04] Production.INFO: Date 2025-04-11
[2025-04-12 03:18:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:18:04] Production.INFO: Date 2025-04-12
[2025-04-12 03:18:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:18:04] Production.INFO: ==15617== Releasing lock...
[2025-04-12 03:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 03:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 03:18:04] Production.INFO: Total Charge 0
[2025-04-12 03:18:04] Production.INFO: ==15619== Lock acquired, processing the job...
[2025-04-12 03:18:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 03:18:04] Production.INFO: CreateAllLog End
[2025-04-12 03:18:04] Production.INFO: ==15623== Lock acquired, processing the job...
[2025-04-12 03:18:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 03:18:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 03:18:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 03:18:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 03:18:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 03:18:04] Production.INFO: ==15625== Lock acquired, processing the job...
[2025-04-12 03:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 03:18:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 03:18:04] Production.INFO: Account Balance End.
[2025-04-12 03:18:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 03:18:04] Production.ERROR: CronJobId end 12
[2025-04-12 03:18:04] Production.INFO: ==15621== Releasing lock...
[2025-04-12 03:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 03:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 03:18:04] Production.INFO: count ==12
[2025-04-12 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-12 03:18:04] Production.INFO: count ==23
[2025-04-12 03:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888752') start
[2025-04-12 03:18:04] Production.ERROR: done
[2025-04-12 03:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 03:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888752') end
[2025-04-12 03:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 03:18:04] Production.INFO: 1
[2025-04-12 03:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 03:18:04] Production.INFO: ==15625== Releasing lock...
[2025-04-12 03:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 03:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 03:18:04] Production.ERROR: done
[2025-04-12 03:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 00:18:05
[end_date_ymd] => 2025-04-12 03:18:05
[RateCDR] => 1
)
[2025-04-12 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-12 00:18:05' and `end` < '2025-04-12 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-12 03:18:12] Production.ERROR: CronJobId end10
[2025-04-12 03:18:12] Production.INFO: ==15619== Releasing lock...
[2025-04-12 03:18:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 03:18:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 03:18:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 03:18:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 03:18:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 03:18:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 03:18:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 03:18:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 03:18:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 03:18:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 03:18:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 03:18:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 03:18:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 03:18:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 03:18:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 03:18:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 03:18:14] Production.INFO: call_cost start
[2025-04-12 03:18:14] Production.INFO: call_cost end
[2025-04-12 03:18:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 03:18:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 03:18:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 03:18:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 03:18:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 03:18:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 03:18:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 03:18:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 03:18:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 03:18:15] Production.INFO: ==15615== Releasing lock...
[2025-04-12 03:18:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 03:18:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 03:18:18] Production.INFO: count ==346
[2025-04-12 03:18:18] Production.ERROR: pbx CDR StartTime 2025-04-12 00:18:05 - End Time 2025-04-12 03:18:05
[2025-04-12 03:18:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 03:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888753', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888753', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888753', 'tblTempVendorCDR_20' ) start
[2025-04-12 03:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888753', 'tblTempVendorCDR_20' ) end
[2025-04-12 03:18:18] Production.INFO: ProcessCDR(1,14888753,1,1,2)
[2025-04-12 03:18:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888753,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:18:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888753,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:18:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888753,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:18:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888753,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888753', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888753', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:18:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 03:18:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 03:18:22] Production.INFO: ==15623== Releasing lock...
[2025-04-12 03:18:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 03:18:22] Production.INFO: 30 MB #Memory Used#
[2025-04-12 08:19:01] Production.INFO: ==15682== Lock acquired, processing the job...
[2025-04-12 08:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 08:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 08:19:01] Production.INFO: neon service started
[2025-04-12 08:19:01] Production.INFO: neon service started
[2025-04-12 08:19:01] Production.INFO: ==15682== Releasing lock...
[2025-04-12 08:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 08:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 03:19:02] Production.INFO: ==15684== Lock acquired, processing the job...
[2025-04-12 03:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 03:19:02] Production.INFO: ==15684== Releasing lock...
[2025-04-12 03:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 03:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 07:19:02] Production.INFO: ==15686== Lock acquired, processing the job...
[2025-04-12 07:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 07:19:02] Production.INFO: ==15686== Releasing lock...
[2025-04-12 07:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 07:19:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 03:19:03] Production.INFO: ==15699== Lock acquired, processing the job...
[2025-04-12 03:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 03:19:03] Production.INFO: ==15697== Lock acquired, processing the job...
[2025-04-12 03:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 03:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 03:19:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 03:19:03] Production.INFO: ==15689== Lock acquired, processing the job...
[2025-04-12 03:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 03:19:03] Production.INFO: ==15691== Lock acquired, processing the job...
[2025-04-12 03:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 03:19:03] Production.INFO: count ==12
[2025-04-12 03:19:03] Production.INFO: ==15693== Lock acquired, processing the job...
[2025-04-12 03:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 03:19:03] Production.INFO: ==15695== Lock acquired, processing the job...
[2025-04-12 03:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 03:19:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 03:19:03] Production.INFO: count ==23
[2025-04-12 03:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14888754') start
[2025-04-12 03:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 03:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14888754') end
[2025-04-12 03:19:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 03:19:03] Production.INFO: 1
[2025-04-12 03:19:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 03:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 03:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 03:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 03:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 03:19:03] Production.INFO: Account Balance Start.
[2025-04-12 03:19:03] Production.INFO: CreateAllLog Start
[2025-04-12 03:19:03] Production.INFO: 117
[2025-04-12 03:19:03] Production.INFO: Date 2025-04-08
[2025-04-12 03:19:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:19:03] Production.INFO: Date 2025-04-09
[2025-04-12 03:19:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:19:03] Production.INFO: Date 2025-04-10
[2025-04-12 03:19:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:19:03] Production.INFO: ==15699== Releasing lock...
[2025-04-12 03:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 03:19:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 03:19:03] Production.INFO: ==15691== Releasing lock...
[2025-04-12 03:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 03:19:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 03:19:04] Production.ERROR: done
[2025-04-12 03:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 03:19:04] Production.INFO: Date 2025-04-11
[2025-04-12 03:19:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:19:04] Production.ERROR: done
[2025-04-12 03:19:04] Production.INFO: Date 2025-04-12
[2025-04-12 03:19:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:19:04] Production.INFO: Total Charge 0
[2025-04-12 03:19:04] Production.INFO: CreateAllLog End
[2025-04-12 03:19:04] Production.INFO: Account Balance End.
[2025-04-12 03:19:04] Production.ERROR: CronJobId end 12
[2025-04-12 03:19:04] Production.INFO: ==15695== Releasing lock...
[2025-04-12 03:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 03:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 03:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 00:19:04
[end_date_ymd] => 2025-04-12 03:19:04
[RateCDR] => 1
)
[2025-04-12 03:19:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 00:19:04' and `end` < '2025-04-12 03:19:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 03:19:12] Production.ERROR: CronJobId end10
[2025-04-12 03:19:12] Production.INFO: ==15693== Releasing lock...
[2025-04-12 03:19:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 03:19:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 03:19:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 03:19:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 03:19:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 03:19:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 03:19:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 03:19:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 03:19:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 03:19:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 03:19:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 03:19:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 03:19:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 03:19:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 03:19:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 03:19:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 03:19:14] Production.INFO: call_cost start
[2025-04-12 03:19:14] Production.INFO: call_cost end
[2025-04-12 03:19:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 03:19:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 03:19:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 03:19:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 03:19:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 03:19:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 03:19:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 03:19:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 03:19:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 03:19:15] Production.INFO: ==15689== Releasing lock...
[2025-04-12 03:19:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 03:19:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 03:19:17] Production.INFO: count ==346
[2025-04-12 03:19:17] Production.ERROR: pbx CDR StartTime 2025-04-12 00:19:04 - End Time 2025-04-12 03:19:04
[2025-04-12 03:19:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 03:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888758', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888758', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888758', 'tblTempVendorCDR_20' ) start
[2025-04-12 03:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888758', 'tblTempVendorCDR_20' ) end
[2025-04-12 03:19:17] Production.INFO: ProcessCDR(1,14888758,1,1,2)
[2025-04-12 03:19:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888758,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:19:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888758,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:19:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888758,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:19:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888758,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888758', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888758', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:19:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 03:19:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 03:19:21] Production.INFO: ==15697== Releasing lock...
[2025-04-12 03:19:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 03:19:21] Production.INFO: 30 MB #Memory Used#
[2025-04-12 08:20:02] Production.INFO: ==15753== Lock acquired, processing the job...
[2025-04-12 08:20:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 08:20:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 08:20:02] Production.INFO: neon service started
[2025-04-12 08:20:02] Production.INFO: neon service started
[2025-04-12 08:20:02] Production.INFO: ==15753== Releasing lock...
[2025-04-12 08:20:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 08:20:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 03:20:02] Production.INFO: ==15755== Lock acquired, processing the job...
[2025-04-12 03:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 07:20:02] Production.INFO: ==15757== Lock acquired, processing the job...
[2025-04-12 07:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 07:20:02] Production.INFO: ==15757== Releasing lock...
[2025-04-12 07:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 07:20:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 03:20:02] Production.INFO: ==15755== Releasing lock...
[2025-04-12 03:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 03:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 03:20:04] Production.INFO: ==15767== Lock acquired, processing the job...
[2025-04-12 03:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 03:20:04] Production.INFO: Account Balance Start.
[2025-04-12 03:20:04] Production.INFO: CreateAllLog Start
[2025-04-12 03:20:04] Production.INFO: 117
[2025-04-12 03:20:04] Production.INFO: Date 2025-04-08
[2025-04-12 03:20:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:20:04] Production.INFO: ==15773== Lock acquired, processing the job...
[2025-04-12 03:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 03:20:04] Production.INFO: ==15771== Lock acquired, processing the job...
[2025-04-12 03:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 03:20:04] Production.INFO: Date 2025-04-09
[2025-04-12 03:20:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:20:04] Production.INFO: Date 2025-04-10
[2025-04-12 03:20:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 03:20:04] Production.INFO: ==15761== Lock acquired, processing the job...
[2025-04-12 03:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 03:20:04] Production.INFO: ==15759== Lock acquired, processing the job...
[2025-04-12 03:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 03:20:04] Production.INFO: ==15763== Lock acquired, processing the job...
[2025-04-12 03:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 03:20:04] Production.INFO: Date 2025-04-11
[2025-04-12 03:20:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:20:04] Production.INFO: ==15765== Lock acquired, processing the job...
[2025-04-12 03:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 03:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 03:20:04] Production.INFO: Date 2025-04-12
[2025-04-12 03:20:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:20:04] Production.INFO: count ==12
[2025-04-12 03:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 03:20:04] Production.INFO: count ==23
[2025-04-12 03:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888760') start
[2025-04-12 03:20:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 03:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 03:20:04] Production.ERROR: CronJob PID - 15761
[2025-04-12 03:20:04] Production.ERROR: CronJob Title - System Alerts
[2025-04-12 03:20:04] Production.ERROR: CronJob ID - 5
[2025-04-12 03:20:04] Production.ERROR: CronJob Last Run Time 2025-04-12 03:20:00
[2025-04-12 03:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 03:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 03:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 03:20:04] Production.ERROR: CronJob PID - 15763
[2025-04-12 03:20:04] Production.ERROR: CronJob Title - Account Block
[2025-04-12 03:20:04] Production.ERROR: CronJob ID - 7
[2025-04-12 03:20:04] Production.ERROR: CronJob Last Run Time 2025-04-12 03:20:00
[2025-04-12 03:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 03:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 03:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 03:20:04] Production.ERROR: CronJob PID - 15765
[2025-04-12 03:20:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-04-12 03:20:04] Production.ERROR: CronJob ID - 10
[2025-04-12 03:20:04] Production.ERROR: CronJob Last Run Time 2025-04-12 03:20:00
[2025-04-12 03:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 03:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 03:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 03:20:04] Production.ERROR: CronJob PID - 15767
[2025-04-12 03:20:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-04-12 03:20:04] Production.ERROR: CronJob ID - 12
[2025-04-12 03:20:04] Production.ERROR: CronJob Last Run Time 2025-04-12 03:20:00
[2025-04-12 03:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 03:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 03:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 03:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 03:20:04] Production.ERROR: CronJob PID - 15771
[2025-04-12 03:20:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-04-12 03:20:04] Production.ERROR: CronJob ID - 17
[2025-04-12 03:20:04] Production.ERROR: CronJob Last Run Time 2025-04-12 03:20:00
[2025-04-12 03:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 03:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 03:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 03:20:04] Production.ERROR: CronJob PID - 15773
[2025-04-12 03:20:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-04-12 03:20:04] Production.ERROR: CronJob ID - 19
[2025-04-12 03:20:04] Production.ERROR: CronJob Last Run Time 2025-04-12 03:20:00
[2025-04-12 03:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 03:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 03:20:04] Production.INFO: Total Charge 0
[2025-04-12 03:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 03:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 03:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 03:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 03:20:04] Production.INFO: ==15769== Lock acquired, processing the job...
[2025-04-12 03:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 03:20:04] Production.INFO: CreateAllLog End
[2025-04-12 03:20:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 03:20:04] Production.INFO: ==15759== Releasing lock...
[2025-04-12 03:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 03:20:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 03:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 03:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888760') end
[2025-04-12 03:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 03:20:04] Production.INFO: 1
[2025-04-12 03:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 03:20:04] Production.ERROR: done
[2025-04-12 03:20:04] Production.INFO: ==15773== Releasing lock...
[2025-04-12 03:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 03:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 03:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 03:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14888763', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 03:20:04] Production.INFO: ==15763== Releasing lock...
[2025-04-12 03:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 03:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 03:20:04] Production.INFO: Account Balance End.
[2025-04-12 03:20:05] Production.ERROR: done
[2025-04-12 03:20:05] Production.ERROR: CronJobId end 12
[2025-04-12 03:20:05] Production.INFO: ==15767== Releasing lock...
[2025-04-12 03:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 03:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 03:20:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 03:20:05] Production.ERROR: done
[2025-04-12 03:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 00:20:06
[end_date_ymd] => 2025-04-12 03:20:06
[RateCDR] => 1
)
[2025-04-12 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-12 00:20:06' and `end` < '2025-04-12 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-12 03:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14888763', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 03:20:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 03:20:08] Production.INFO: ProcessCDR(1,14888763,1,1,2)
[2025-04-12 03:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14888763,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:20:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14888763,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:20:08] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 03:20:08] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 03:20:08] Production.INFO: ==15771== Releasing lock...
[2025-04-12 03:20:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 03:20:08] Production.INFO: 26 MB #Memory Used#
[2025-04-12 03:20:15] Production.ERROR: CronJobId end10
[2025-04-12 03:20:15] Production.INFO: ==15765== Releasing lock...
[2025-04-12 03:20:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 03:20:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 03:20:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 03:20:17] Production.INFO: ============== Balance Warning START===========
[2025-04-12 03:20:17] Production.INFO: ============== Balance Warning END===========
[2025-04-12 03:20:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 03:20:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 03:20:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 03:20:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 03:20:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 03:20:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 03:20:17] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 03:20:17] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 03:20:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 03:20:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 03:20:17] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 03:20:17] Production.INFO: call_cost start
[2025-04-12 03:20:17] Production.INFO: call_cost end
[2025-04-12 03:20:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 03:20:18] Production.INFO: ============== Report Schedule START===========
[2025-04-12 03:20:18] Production.INFO: ============== Report Schedule END===========
[2025-04-12 03:20:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 03:20:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 03:20:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 03:20:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 03:20:18] Production.INFO: ============== Deal alert START===========
[2025-04-12 03:20:18] Production.INFO: ============== Deal alert END===========
[2025-04-12 03:20:18] Production.INFO: ==15761== Releasing lock...
[2025-04-12 03:20:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 03:20:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 03:20:19] Production.INFO: count ==344
[2025-04-12 03:20:19] Production.ERROR: pbx CDR StartTime 2025-04-12 00:20:06 - End Time 2025-04-12 03:20:06
[2025-04-12 03:20:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 03:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888764', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888764', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888764', 'tblTempVendorCDR_20' ) start
[2025-04-12 03:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888764', 'tblTempVendorCDR_20' ) end
[2025-04-12 03:20:19] Production.INFO: ProcessCDR(1,14888764,1,1,2)
[2025-04-12 03:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888764,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:20:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888764,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:20:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888764,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:20:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888764,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888764', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888764', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:20:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 03:20:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 03:20:22] Production.INFO: ==15769== Releasing lock...
[2025-04-12 03:20:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 03:20:22] Production.INFO: 30 MB #Memory Used#
[2025-04-12 08:21:01] Production.INFO: ==15831== Lock acquired, processing the job...
[2025-04-12 08:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 08:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 08:21:01] Production.INFO: neon service started
[2025-04-12 08:21:01] Production.INFO: neon service started
[2025-04-12 08:21:01] Production.INFO: ==15831== Releasing lock...
[2025-04-12 08:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 08:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 03:21:01] Production.INFO: ==15833== Lock acquired, processing the job...
[2025-04-12 03:21:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 03:21:02] Production.INFO: ==15833== Releasing lock...
[2025-04-12 03:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 03:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 07:21:02] Production.INFO: ==15835== Lock acquired, processing the job...
[2025-04-12 07:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 07:21:02] Production.INFO: ==15835== Releasing lock...
[2025-04-12 07:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 07:21:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 03:21:03] Production.INFO: ==15841== Lock acquired, processing the job...
[2025-04-12 03:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 03:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 03:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 03:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 03:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 03:21:03] Production.INFO: ==15845== Lock acquired, processing the job...
[2025-04-12 03:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 03:21:03] Production.INFO: ==15839== Lock acquired, processing the job...
[2025-04-12 03:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 03:21:03] Production.INFO: ==15837== Lock acquired, processing the job...
[2025-04-12 03:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 03:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 03:21:03] Production.INFO: ==15843== Lock acquired, processing the job...
[2025-04-12 03:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 03:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 03:21:03] Production.INFO: ==15847== Lock acquired, processing the job...
[2025-04-12 03:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 03:21:03] Production.INFO: Account Balance Start.
[2025-04-12 03:21:03] Production.INFO: CreateAllLog Start
[2025-04-12 03:21:03] Production.INFO: 117
[2025-04-12 03:21:03] Production.INFO: Date 2025-04-08
[2025-04-12 03:21:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 03:21:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:21:03] Production.INFO: count ==12
[2025-04-12 03:21:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 03:21:03] Production.INFO: count ==23
[2025-04-12 03:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14888768') start
[2025-04-12 03:21:03] Production.INFO: Date 2025-04-09
[2025-04-12 03:21:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:21:03] Production.ERROR: done
[2025-04-12 03:21:03] Production.INFO: Date 2025-04-10
[2025-04-12 03:21:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:21:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 03:21:03] Production.INFO: Date 2025-04-11
[2025-04-12 03:21:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14888768') end
[2025-04-12 03:21:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 03:21:03] Production.INFO: 1
[2025-04-12 03:21:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 03:21:03] Production.INFO: Date 2025-04-12
[2025-04-12 03:21:03] Production.INFO: ==15839== Releasing lock...
[2025-04-12 03:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 03:21:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 03:21:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:21:03] Production.ERROR: done
[2025-04-12 03:21:03] Production.INFO: ==15847== Releasing lock...
[2025-04-12 03:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 03:21:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 03:21:03] Production.INFO: Total Charge 0
[2025-04-12 03:21:03] Production.INFO: CreateAllLog End
[2025-04-12 03:21:04] Production.INFO: Account Balance End.
[2025-04-12 03:21:04] Production.ERROR: CronJobId end 12
[2025-04-12 03:21:04] Production.INFO: ==15843== Releasing lock...
[2025-04-12 03:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 03:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 03:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 00:21:05
[end_date_ymd] => 2025-04-12 03:21:05
[RateCDR] => 1
)
[2025-04-12 03:21:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 00:21:05' and `end` < '2025-04-12 03:21:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 03:21:11] Production.ERROR: CronJobId end10
[2025-04-12 03:21:11] Production.INFO: ==15841== Releasing lock...
[2025-04-12 03:21:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 03:21:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 03:21:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 03:21:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 03:21:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 03:21:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 03:21:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 03:21:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 03:21:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 03:21:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 03:21:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 03:21:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 03:21:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 03:21:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 03:21:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 03:21:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 03:21:14] Production.INFO: call_cost start
[2025-04-12 03:21:14] Production.INFO: call_cost end
[2025-04-12 03:21:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 03:21:14] Production.INFO: ============== Report Schedule START===========
[2025-04-12 03:21:14] Production.INFO: ============== Report Schedule END===========
[2025-04-12 03:21:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 03:21:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 03:21:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 03:21:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 03:21:14] Production.INFO: ============== Deal alert START===========
[2025-04-12 03:21:14] Production.INFO: ============== Deal alert END===========
[2025-04-12 03:21:14] Production.INFO: ==15837== Releasing lock...
[2025-04-12 03:21:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 03:21:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 03:21:17] Production.INFO: count ==340
[2025-04-12 03:21:17] Production.ERROR: pbx CDR StartTime 2025-04-12 00:21:05 - End Time 2025-04-12 03:21:05
[2025-04-12 03:21:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 03:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888769', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888769', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888769', 'tblTempVendorCDR_20' ) start
[2025-04-12 03:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888769', 'tblTempVendorCDR_20' ) end
[2025-04-12 03:21:17] Production.INFO: ProcessCDR(1,14888769,1,1,2)
[2025-04-12 03:21:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888769,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:21:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888769,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:21:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888769,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:21:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888769,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888769', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888769', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:21:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 03:21:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 03:21:21] Production.INFO: ==15845== Releasing lock...
[2025-04-12 03:21:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 03:21:21] Production.INFO: 30 MB #Memory Used#
[2025-04-12 08:22:02] Production.INFO: ==15903== Lock acquired, processing the job...
[2025-04-12 08:22:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 08:22:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 08:22:02] Production.INFO: neon service started
[2025-04-12 08:22:02] Production.INFO: neon service started
[2025-04-12 08:22:02] Production.INFO: ==15903== Releasing lock...
[2025-04-12 08:22:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 08:22:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 03:22:02] Production.INFO: ==15905== Lock acquired, processing the job...
[2025-04-12 03:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 07:22:02] Production.INFO: ==15907== Lock acquired, processing the job...
[2025-04-12 07:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 07:22:02] Production.INFO: ==15907== Releasing lock...
[2025-04-12 07:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 07:22:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 03:22:03] Production.INFO: ==15905== Releasing lock...
[2025-04-12 03:22:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 03:22:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 03:22:03] Production.INFO: ==15910== Lock acquired, processing the job...
[2025-04-12 03:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 03:22:04] Production.INFO: ==15914== Lock acquired, processing the job...
[2025-04-12 03:22:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 03:22:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 03:22:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 03:22:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 03:22:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 03:22:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 03:22:04] Production.INFO: ==15920== Lock acquired, processing the job...
[2025-04-12 03:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 03:22:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 03:22:04] Production.INFO: ==15912== Lock acquired, processing the job...
[2025-04-12 03:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 03:22:04] Production.INFO: count ==12
[2025-04-12 03:22:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 03:22:04] Production.INFO: count ==23
[2025-04-12 03:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888771') start
[2025-04-12 03:22:04] Production.INFO: ==15916== Lock acquired, processing the job...
[2025-04-12 03:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 03:22:04] Production.INFO: ==15918== Lock acquired, processing the job...
[2025-04-12 03:22:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 03:22:04] Production.INFO: Account Balance Start.
[2025-04-12 03:22:04] Production.INFO: CreateAllLog Start
[2025-04-12 03:22:04] Production.INFO: 117
[2025-04-12 03:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888771') end
[2025-04-12 03:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 03:22:04] Production.INFO: 1
[2025-04-12 03:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 03:22:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 03:22:04] Production.INFO: Date 2025-04-08
[2025-04-12 03:22:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:22:04] Production.INFO: ==15920== Releasing lock...
[2025-04-12 03:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 03:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 03:22:04] Production.INFO: Date 2025-04-09
[2025-04-12 03:22:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:22:04] Production.INFO: Date 2025-04-10
[2025-04-12 03:22:04] Production.INFO: ==15912== Releasing lock...
[2025-04-12 03:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 03:22:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 03:22:04] Production.INFO: Date 2025-04-11
[2025-04-12 03:22:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:22:04] Production.INFO: Date 2025-04-12
[2025-04-12 03:22:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:22:04] Production.INFO: Total Charge 0
[2025-04-12 03:22:04] Production.INFO: CreateAllLog End
[2025-04-12 03:22:05] Production.ERROR: done
[2025-04-12 03:22:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 03:22:05] Production.INFO: Account Balance End.
[2025-04-12 03:22:05] Production.ERROR: done
[2025-04-12 03:22:05] Production.ERROR: CronJobId end 12
[2025-04-12 03:22:05] Production.INFO: ==15916== Releasing lock...
[2025-04-12 03:22:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 03:22:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 03:22:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 00:22:06
[end_date_ymd] => 2025-04-12 03:22:06
[RateCDR] => 1
)
[2025-04-12 03: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-12 00:22:06' and `end` < '2025-04-12 03: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-12 03:22:11] Production.ERROR: CronJobId end10
[2025-04-12 03:22:11] Production.INFO: ==15914== Releasing lock...
[2025-04-12 03:22:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 03:22:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 03:22:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 03:22:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 03:22:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 03:22:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 03:22:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 03:22:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 03:22:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 03:22:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 03:22:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 03:22:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 03:22:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 03:22:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 03:22:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 03:22:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 03:22:14] Production.INFO: call_cost start
[2025-04-12 03:22:14] Production.INFO: call_cost end
[2025-04-12 03:22:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 03:22:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 03:22:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 03:22:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 03:22:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 03:22:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 03:22:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 03:22:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 03:22:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 03:22:15] Production.INFO: ==15910== Releasing lock...
[2025-04-12 03:22:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 03:22:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 03:22:19] Production.INFO: count ==340
[2025-04-12 03:22:19] Production.ERROR: pbx CDR StartTime 2025-04-12 00:22:06 - End Time 2025-04-12 03:22:06
[2025-04-12 03:22:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 03:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888774', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888774', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888774', 'tblTempVendorCDR_20' ) start
[2025-04-12 03:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888774', 'tblTempVendorCDR_20' ) end
[2025-04-12 03:22:19] Production.INFO: ProcessCDR(1,14888774,1,1,2)
[2025-04-12 03:22:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888774,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:22:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888774,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:22:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888774,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:22:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888774,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888774', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888774', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:22:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 03:22:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 03:22:22] Production.INFO: ==15918== Releasing lock...
[2025-04-12 03:22:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 03:22:22] Production.INFO: 30 MB #Memory Used#
[2025-04-12 08:23:01] Production.INFO: ==15973== Lock acquired, processing the job...
[2025-04-12 08:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 08:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 08:23:01] Production.INFO: neon service started
[2025-04-12 08:23:01] Production.INFO: neon service started
[2025-04-12 08:23:01] Production.INFO: ==15973== Releasing lock...
[2025-04-12 08:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 08:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 03:23:01] Production.INFO: ==15975== Lock acquired, processing the job...
[2025-04-12 03:23:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 07:23:02] Production.INFO: ==15977== Lock acquired, processing the job...
[2025-04-12 07:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 03:23:02] Production.INFO: ==15975== Releasing lock...
[2025-04-12 03:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 03:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 07:23:02] Production.INFO: ==15977== Releasing lock...
[2025-04-12 07:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 07:23:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 03:23:03] Production.INFO: ==15980== Lock acquired, processing the job...
[2025-04-12 03:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 03:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 03:23:03] Production.INFO: ==15984== Lock acquired, processing the job...
[2025-04-12 03:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 03:23:03] Production.INFO: ==15986== Lock acquired, processing the job...
[2025-04-12 03:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 03:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 03:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 03:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 03:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 03:23:03] Production.INFO: ==15982== Lock acquired, processing the job...
[2025-04-12 03:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 03:23:03] Production.INFO: Account Balance Start.
[2025-04-12 03:23:03] Production.INFO: CreateAllLog Start
[2025-04-12 03:23:03] Production.INFO: ==15988== Lock acquired, processing the job...
[2025-04-12 03:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 03:23:03] Production.INFO: 117
[2025-04-12 03:23:03] Production.INFO: Date 2025-04-08
[2025-04-12 03:23:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 03:23:03] Production.INFO: ==15990== Lock acquired, processing the job...
[2025-04-12 03:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 03:23:03] Production.INFO: Date 2025-04-09
[2025-04-12 03:23:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:23:03] Production.INFO: Date 2025-04-10
[2025-04-12 03:23:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:23:03] Production.INFO: Date 2025-04-11
[2025-04-12 03:23:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:23:03] Production.INFO: Date 2025-04-12
[2025-04-12 03:23:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 03:23:03] Production.INFO: Total Charge 0
[2025-04-12 03:23:03] Production.INFO: count ==12
[2025-04-12 03:23:03] Production.INFO: CreateAllLog End
[2025-04-12 03:23:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 03:23:03] Production.INFO: count ==23
[2025-04-12 03:23:03] Production.ERROR: done
[2025-04-12 03:23:03] Production.INFO: ==15982== Releasing lock...
[2025-04-12 03:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 03:23:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 03:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14888778') start
[2025-04-12 03:23:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 03:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888778') end
[2025-04-12 03:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 03:23:04] Production.INFO: 1
[2025-04-12 03:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 03:23:04] Production.INFO: ==15990== Releasing lock...
[2025-04-12 03:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 03:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 03:23:04] Production.ERROR: done
[2025-04-12 03:23:04] Production.INFO: Account Balance End.
[2025-04-12 03:23:04] Production.ERROR: CronJobId end 12
[2025-04-12 03:23:04] Production.INFO: ==15986== Releasing lock...
[2025-04-12 03:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 03:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 03:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 00:23:05
[end_date_ymd] => 2025-04-12 03:23:05
[RateCDR] => 1
)
[2025-04-12 03:23:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 00:23:05' and `end` < '2025-04-12 03:23:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 03:23:11] Production.ERROR: CronJobId end10
[2025-04-12 03:23:11] Production.INFO: ==15984== Releasing lock...
[2025-04-12 03:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 03:23:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 03:23:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 03:23:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 03:23:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 03:23:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 03:23:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 03:23:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 03:23:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 03:23:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 03:23:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 03:23:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 03:23:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 03:23:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 03:23:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 03:23:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 03:23:14] Production.INFO: call_cost start
[2025-04-12 03:23:14] Production.INFO: call_cost end
[2025-04-12 03:23:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 03:23:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 03:23:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 03:23:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 03:23:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 03:23:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 03:23:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 03:23:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 03:23:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 03:23:15] Production.INFO: ==15980== Releasing lock...
[2025-04-12 03:23:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 03:23:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 03:23:18] Production.INFO: count ==340
[2025-04-12 03:23:18] Production.ERROR: pbx CDR StartTime 2025-04-12 00:23:05 - End Time 2025-04-12 03:23:05
[2025-04-12 03:23:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 03:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888779', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888779', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888779', 'tblTempVendorCDR_20' ) start
[2025-04-12 03:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888779', 'tblTempVendorCDR_20' ) end
[2025-04-12 03:23:18] Production.INFO: ProcessCDR(1,14888779,1,1,2)
[2025-04-12 03:23:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888779,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:23:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888779,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:23:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888779,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:23:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888779,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888779', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888779', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:23:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 03:23:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 03:23:21] Production.INFO: ==15988== Releasing lock...
[2025-04-12 03:23:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 03:23:21] Production.INFO: 30 MB #Memory Used#
[2025-04-12 08:24:02] Production.INFO: ==16046== Lock acquired, processing the job...
[2025-04-12 08:24:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 08:24:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 08:24:02] Production.INFO: neon service started
[2025-04-12 08:24:02] Production.INFO: neon service started
[2025-04-12 08:24:02] Production.INFO: ==16046== Releasing lock...
[2025-04-12 08:24:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 08:24:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 03:24:02] Production.INFO: ==16048== Lock acquired, processing the job...
[2025-04-12 03:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 03:24:02] Production.INFO: ==16048== Releasing lock...
[2025-04-12 03:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 03:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 07:24:03] Production.INFO: ==16050== Lock acquired, processing the job...
[2025-04-12 07:24:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 07:24:03] Production.INFO: ==16050== Releasing lock...
[2025-04-12 07:24:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 07:24:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 03:24:03] Production.INFO: ==16057== Lock acquired, processing the job...
[2025-04-12 03:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 03:24:03] Production.INFO: ==16053== Lock acquired, processing the job...
[2025-04-12 03:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 03:24:03] Production.INFO: ==16055== Lock acquired, processing the job...
[2025-04-12 03:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 03:24:03] Production.INFO: ==16063== Lock acquired, processing the job...
[2025-04-12 03:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 03:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 03:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 03:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 03:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 03:24:03] Production.INFO: ==16059== Lock acquired, processing the job...
[2025-04-12 03:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 03:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 03:24:03] Production.INFO: ==16061== Lock acquired, processing the job...
[2025-04-12 03:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 03:24:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 03:24:04] Production.INFO: Account Balance Start.
[2025-04-12 03:24:04] Production.INFO: CreateAllLog Start
[2025-04-12 03:24:04] Production.INFO: 117
[2025-04-12 03:24:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 03:24:04] Production.INFO: count ==12
[2025-04-12 03:24:04] Production.INFO: Date 2025-04-08
[2025-04-12 03:24:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 03:24:04] Production.INFO: count ==23
[2025-04-12 03:24:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888783') start
[2025-04-12 03:24:04] Production.INFO: Date 2025-04-09
[2025-04-12 03:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888783') end
[2025-04-12 03:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 03:24:04] Production.INFO: 1
[2025-04-12 03:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 03:24:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:24:04] Production.INFO: Date 2025-04-10
[2025-04-12 03:24:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:24:04] Production.INFO: ==16063== Releasing lock...
[2025-04-12 03:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 03:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 03:24:04] Production.ERROR: done
[2025-04-12 03:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 03:24:04] Production.INFO: Date 2025-04-11
[2025-04-12 03:24:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:24:04] Production.INFO: ==16055== Releasing lock...
[2025-04-12 03:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 03:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 03:24:04] Production.INFO: Date 2025-04-12
[2025-04-12 03:24:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:24:04] Production.INFO: Total Charge 0
[2025-04-12 03:24:04] Production.INFO: CreateAllLog End
[2025-04-12 03:24:04] Production.ERROR: done
[2025-04-12 03:24:04] Production.INFO: Account Balance End.
[2025-04-12 03:24:04] Production.ERROR: CronJobId end 12
[2025-04-12 03:24:04] Production.INFO: ==16059== Releasing lock...
[2025-04-12 03:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 03:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 03:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 00:24:05
[end_date_ymd] => 2025-04-12 03:24:05
[RateCDR] => 1
)
[2025-04-12 03:24:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 00:24:05' and `end` < '2025-04-12 03:24:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 03:24:12] Production.ERROR: CronJobId end10
[2025-04-12 03:24:12] Production.INFO: ==16057== Releasing lock...
[2025-04-12 03:24:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 03:24:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 03:24:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 03:24:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 03:24:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 03:24:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 03:24:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 03:24:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 03:24:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 03:24:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 03:24:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 03:24:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 03:24:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 03:24:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 03:24:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 03:24:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 03:24:15] Production.INFO: call_cost start
[2025-04-12 03:24:15] Production.INFO: call_cost end
[2025-04-12 03:24:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 03:24:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 03:24:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 03:24:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 03:24:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 03:24:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 03:24:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 03:24:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 03:24:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 03:24:16] Production.INFO: ==16053== Releasing lock...
[2025-04-12 03:24:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 03:24:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 03:24:18] Production.INFO: count ==339
[2025-04-12 03:24:18] Production.ERROR: pbx CDR StartTime 2025-04-12 00:24:05 - End Time 2025-04-12 03:24:05
[2025-04-12 03:24:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 03:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888784', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888784', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888784', 'tblTempVendorCDR_20' ) start
[2025-04-12 03:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888784', 'tblTempVendorCDR_20' ) end
[2025-04-12 03:24:18] Production.INFO: ProcessCDR(1,14888784,1,1,2)
[2025-04-12 03:24:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888784,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:24:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888784,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:24:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888784,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:24:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888784,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888784', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888784', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:24:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 03:24:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 03:24:22] Production.INFO: ==16061== Releasing lock...
[2025-04-12 03:24:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 03:24:22] Production.INFO: 30 MB #Memory Used#
[2025-04-12 08:25:01] Production.INFO: ==16118== Lock acquired, processing the job...
[2025-04-12 08:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 08:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 08:25:01] Production.INFO: neon service started
[2025-04-12 08:25:01] Production.INFO: neon service started
[2025-04-12 08:25:01] Production.INFO: ==16118== Releasing lock...
[2025-04-12 08:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 08:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 03:25:01] Production.INFO: ==16120== Lock acquired, processing the job...
[2025-04-12 03:25:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 03:25:02] Production.INFO: ==16120== Releasing lock...
[2025-04-12 03:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 03:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 07:25:02] Production.INFO: ==16122== Lock acquired, processing the job...
[2025-04-12 07:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 07:25:02] Production.INFO: ==16122== Releasing lock...
[2025-04-12 07:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 07:25:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 03:25:03] Production.INFO: ==16129== Lock acquired, processing the job...
[2025-04-12 03:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 03:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 03:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 03:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 03:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 03:25:03] Production.INFO: ==16127== Lock acquired, processing the job...
[2025-04-12 03:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 03:25:03] Production.INFO: ==16125== Lock acquired, processing the job...
[2025-04-12 03:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 03:25:03] Production.INFO: ==16135== Lock acquired, processing the job...
[2025-04-12 03:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 03:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 03:25:03] Production.INFO: ==16131== Lock acquired, processing the job...
[2025-04-12 03:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 03:25:03] Production.INFO: ==16133== Lock acquired, processing the job...
[2025-04-12 03:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 03:25:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 03:25:03] Production.INFO: Account Balance Start.
[2025-04-12 03:25:03] Production.INFO: CreateAllLog Start
[2025-04-12 03:25:03] Production.INFO: 117
[2025-04-12 03:25:03] Production.INFO: count ==12
[2025-04-12 03:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 03:25:03] Production.INFO: Date 2025-04-08
[2025-04-12 03:25:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 03:25:03] Production.INFO: count ==23
[2025-04-12 03:25:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14888787') start
[2025-04-12 03:25:03] Production.INFO: Date 2025-04-09
[2025-04-12 03:25:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:25:03] Production.INFO: Date 2025-04-10
[2025-04-12 03:25:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14888787') end
[2025-04-12 03:25:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 03:25:03] Production.INFO: 1
[2025-04-12 03:25:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 03:25:03] Production.INFO: Date 2025-04-11
[2025-04-12 03:25:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:25:03] Production.INFO: ==16135== Releasing lock...
[2025-04-12 03:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 03:25:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 03:25:03] Production.INFO: ==16127== Releasing lock...
[2025-04-12 03:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 03:25:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 03:25:03] Production.INFO: Date 2025-04-12
[2025-04-12 03:25:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:25:03] Production.INFO: Total Charge 0
[2025-04-12 03:25:03] Production.INFO: CreateAllLog End
[2025-04-12 03:25:03] Production.ERROR: done
[2025-04-12 03:25:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 03:25:03] Production.INFO: Account Balance End.
[2025-04-12 03:25:03] Production.ERROR: CronJobId end 12
[2025-04-12 03:25:03] Production.INFO: ==16131== Releasing lock...
[2025-04-12 03:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 03:25:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 03:25:03] Production.ERROR: done
[2025-04-12 03:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 00:25:05
[end_date_ymd] => 2025-04-12 03:25:05
[RateCDR] => 1
)
[2025-04-12 03:25:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 00:25:05' and `end` < '2025-04-12 03:25:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 03:25:12] Production.ERROR: CronJobId end10
[2025-04-12 03:25:12] Production.INFO: ==16129== Releasing lock...
[2025-04-12 03:25:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 03:25:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 03:25:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 03:25:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 03:25:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 03:25:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 03:25:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 03:25:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 03:25:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 03:25:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 03:25:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 03:25:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 03:25:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 03:25:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 03:25:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 03:25:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 03:25:14] Production.INFO: call_cost start
[2025-04-12 03:25:14] Production.INFO: call_cost end
[2025-04-12 03:25:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 03:25:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 03:25:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 03:25:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 03:25:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 03:25:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 03:25:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 03:25:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 03:25:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 03:25:15] Production.INFO: ==16125== Releasing lock...
[2025-04-12 03:25:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 03:25:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 03:25:17] Production.INFO: count ==337
[2025-04-12 03:25:17] Production.ERROR: pbx CDR StartTime 2025-04-12 00:25:05 - End Time 2025-04-12 03:25:05
[2025-04-12 03:25:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 03:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888789', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888789', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888789', 'tblTempVendorCDR_20' ) start
[2025-04-12 03:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888789', 'tblTempVendorCDR_20' ) end
[2025-04-12 03:25:17] Production.INFO: ProcessCDR(1,14888789,1,1,2)
[2025-04-12 03:25:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888789,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:25:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888789,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:25:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888789,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:25:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888789,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888789', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888789', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:25:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 03:25:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 03:25:21] Production.INFO: ==16133== Releasing lock...
[2025-04-12 03:25:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 03:25:21] Production.INFO: 30 MB #Memory Used#
[2025-04-12 08:26:02] Production.INFO: ==16193== Lock acquired, processing the job...
[2025-04-12 08:26:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 08:26:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 08:26:02] Production.INFO: neon service started
[2025-04-12 08:26:02] Production.INFO: neon service started
[2025-04-12 08:26:02] Production.INFO: ==16193== Releasing lock...
[2025-04-12 08:26:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 08:26:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 03:26:02] Production.INFO: ==16195== Lock acquired, processing the job...
[2025-04-12 03:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 07:26:02] Production.INFO: ==16197== Lock acquired, processing the job...
[2025-04-12 07:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 07:26:02] Production.INFO: ==16197== Releasing lock...
[2025-04-12 07:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 07:26:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 03:26:03] Production.INFO: ==16195== Releasing lock...
[2025-04-12 03:26:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 03:26:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 03:26:03] Production.INFO: ==16202== Lock acquired, processing the job...
[2025-04-12 03:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 03:26:03] Production.INFO: ==16204== Lock acquired, processing the job...
[2025-04-12 03:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 03:26:03] Production.INFO: ==16200== Lock acquired, processing the job...
[2025-04-12 03:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 03:26:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 03:26:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 03:26:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 03:26:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 03:26:04] Production.INFO: ==16206== Lock acquired, processing the job...
[2025-04-12 03:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 03:26:04] Production.INFO: ==16208== Lock acquired, processing the job...
[2025-04-12 03:26:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 03:26:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 03:26:04] Production.INFO: Account Balance Start.
[2025-04-12 03:26:04] Production.INFO: CreateAllLog Start
[2025-04-12 03:26:04] Production.INFO: 117
[2025-04-12 03:26:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 03:26:04] Production.INFO: Date 2025-04-08
[2025-04-12 03:26:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:26:04] Production.INFO: Date 2025-04-09
[2025-04-12 03:26:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:26:04] Production.INFO: ==16210== Lock acquired, processing the job...
[2025-04-12 03:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 03:26:04] Production.INFO: Date 2025-04-10
[2025-04-12 03:26:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:26:04] Production.INFO: ==16202== Releasing lock...
[2025-04-12 03:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 03:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 03:26:04] Production.INFO: Date 2025-04-11
[2025-04-12 03:26:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:26:04] Production.INFO: Date 2025-04-12
[2025-04-12 03:26:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:26:04] Production.INFO: Total Charge 0
[2025-04-12 03:26:04] Production.INFO: CreateAllLog End
[2025-04-12 03:26:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 03:26:04] Production.ERROR: done
[2025-04-12 03:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 03:26:04] Production.INFO: count ==12
[2025-04-12 03:26:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 03:26:04] Production.INFO: count ==23
[2025-04-12 03:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888793') start
[2025-04-12 03:26:04] Production.ERROR: done
[2025-04-12 03:26:04] Production.INFO: Account Balance End.
[2025-04-12 03:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888793') end
[2025-04-12 03:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 03:26:04] Production.INFO: 1
[2025-04-12 03:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 03:26:04] Production.ERROR: CronJobId end 12
[2025-04-12 03:26:04] Production.INFO: ==16206== Releasing lock...
[2025-04-12 03:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 03:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 03:26:04] Production.INFO: ==16210== Releasing lock...
[2025-04-12 03:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 03:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 03:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 00:26:05
[end_date_ymd] => 2025-04-12 03:26:05
[RateCDR] => 1
)
[2025-04-12 03:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 00:26:05' and `end` < '2025-04-12 03:26:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 03:26:12] Production.ERROR: CronJobId end10
[2025-04-12 03:26:12] Production.INFO: ==16204== Releasing lock...
[2025-04-12 03:26:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 03:26:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 03:26:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 03:26:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 03:26:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 03:26:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 03:26:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 03:26:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 03:26:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 03:26:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 03:26:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 03:26:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 03:26:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 03:26:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 03:26:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 03:26:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 03:26:15] Production.INFO: call_cost start
[2025-04-12 03:26:15] Production.INFO: call_cost end
[2025-04-12 03:26:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 03:26:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 03:26:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 03:26:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 03:26:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 03:26:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 03:26:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 03:26:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 03:26:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 03:26:16] Production.INFO: ==16200== Releasing lock...
[2025-04-12 03:26:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 03:26:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 03:26:18] Production.INFO: count ==339
[2025-04-12 03:26:18] Production.ERROR: pbx CDR StartTime 2025-04-12 00:26:05 - End Time 2025-04-12 03:26:05
[2025-04-12 03:26:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 03:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888794', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888794', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888794', 'tblTempVendorCDR_20' ) start
[2025-04-12 03:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888794', 'tblTempVendorCDR_20' ) end
[2025-04-12 03:26:18] Production.INFO: ProcessCDR(1,14888794,1,1,2)
[2025-04-12 03:26:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888794,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:26:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888794,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:26:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888794,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:26:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888794,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888794', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888794', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:26:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 03:26:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 03:26:22] Production.INFO: ==16208== Releasing lock...
[2025-04-12 03:26:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 03:26:22] Production.INFO: 30 MB #Memory Used#
[2025-04-12 08:27:01] Production.INFO: ==16268== Lock acquired, processing the job...
[2025-04-12 08:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 08:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 08:27:01] Production.INFO: neon service started
[2025-04-12 08:27:01] Production.INFO: neon service started
[2025-04-12 08:27:01] Production.INFO: ==16268== Releasing lock...
[2025-04-12 08:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 08:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 07:27:02] Production.INFO: ==16272== Lock acquired, processing the job...
[2025-04-12 07:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 07:27:02] Production.INFO: ==16272== Releasing lock...
[2025-04-12 07:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 07:27:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 03:27:02] Production.INFO: ==16270== Lock acquired, processing the job...
[2025-04-12 03:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 03:27:02] Production.INFO: ==16270== Releasing lock...
[2025-04-12 03:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 03:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 03:27:03] Production.INFO: ==16276== Lock acquired, processing the job...
[2025-04-12 03:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 03:27:03] Production.INFO: ==16278== Lock acquired, processing the job...
[2025-04-12 03:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 03:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 03:27:03] Production.INFO: ==16280== Lock acquired, processing the job...
[2025-04-12 03:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 03:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 03:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 03:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 03:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 03:27:03] Production.INFO: ==16278== Releasing lock...
[2025-04-12 03:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 03:27:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 03:27:03] Production.INFO: ==16282== Lock acquired, processing the job...
[2025-04-12 03:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 03:27:03] Production.INFO: ==16284== Lock acquired, processing the job...
[2025-04-12 03:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 03:27:03] Production.INFO: ==16286== Lock acquired, processing the job...
[2025-04-12 03:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 03:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 03:27:03] Production.INFO: Account Balance Start.
[2025-04-12 03:27:03] Production.INFO: CreateAllLog Start
[2025-04-12 03:27:03] Production.INFO: 117
[2025-04-12 03:27:03] Production.INFO: Date 2025-04-08
[2025-04-12 03:27:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:27:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 03:27:03] Production.INFO: Date 2025-04-09
[2025-04-12 03:27:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:27:03] Production.INFO: count ==12
[2025-04-12 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-12 03:27:04] Production.INFO: count ==23
[2025-04-12 03:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888798') start
[2025-04-12 03:27:04] Production.INFO: Date 2025-04-10
[2025-04-12 03:27:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:27:04] Production.INFO: Date 2025-04-11
[2025-04-12 03:27:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:27:04] Production.INFO: Date 2025-04-12
[2025-04-12 03:27:04] Production.ERROR: done
[2025-04-12 03:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 03:27:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:27:04] Production.INFO: Total Charge 0
[2025-04-12 03:27:04] Production.INFO: CreateAllLog End
[2025-04-12 03:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888798') end
[2025-04-12 03:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 03:27:04] Production.INFO: 1
[2025-04-12 03:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 03:27:04] Production.INFO: ==16286== Releasing lock...
[2025-04-12 03:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 03:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 03:27:04] Production.ERROR: done
[2025-04-12 03:27:04] Production.INFO: Account Balance End.
[2025-04-12 03:27:04] Production.ERROR: CronJobId end 12
[2025-04-12 03:27:04] Production.INFO: ==16282== Releasing lock...
[2025-04-12 03:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 03:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 03:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 00:27:05
[end_date_ymd] => 2025-04-12 03:27:05
[RateCDR] => 1
)
[2025-04-12 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-12 00:27:05' and `end` < '2025-04-12 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-12 03:27:12] Production.ERROR: CronJobId end10
[2025-04-12 03:27:12] Production.INFO: ==16280== Releasing lock...
[2025-04-12 03:27:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 03:27:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 03:27:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 03:27:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 03:27:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 03:27:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 03:27:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 03:27:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 03:27:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 03:27:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 03:27:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 03:27:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 03:27:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 03:27:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 03:27:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 03:27:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 03:27:14] Production.INFO: call_cost start
[2025-04-12 03:27:14] Production.INFO: call_cost end
[2025-04-12 03:27:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 03:27:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 03:27:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 03:27:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 03:27:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 03:27:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 03:27:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 03:27:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 03:27:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 03:27:15] Production.INFO: ==16276== Releasing lock...
[2025-04-12 03:27:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 03:27:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 03:27:18] Production.INFO: count ==341
[2025-04-12 03:27:18] Production.ERROR: pbx CDR StartTime 2025-04-12 00:27:05 - End Time 2025-04-12 03:27:05
[2025-04-12 03:27:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 03:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888799', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888799', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888799', 'tblTempVendorCDR_20' ) start
[2025-04-12 03:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888799', 'tblTempVendorCDR_20' ) end
[2025-04-12 03:27:18] Production.INFO: ProcessCDR(1,14888799,1,1,2)
[2025-04-12 03:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888799,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:27:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888799,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:27:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888799,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:27:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888799,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888799', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888799', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:27:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 03:27:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 03:27:22] Production.INFO: ==16284== Releasing lock...
[2025-04-12 03:27:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 03:27:22] Production.INFO: 30 MB #Memory Used#
[2025-04-12 08:28:02] Production.INFO: ==16345== Lock acquired, processing the job...
[2025-04-12 08:28:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 08:28:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 08:28:02] Production.INFO: neon service started
[2025-04-12 08:28:02] Production.INFO: neon service started
[2025-04-12 08:28:02] Production.INFO: ==16345== Releasing lock...
[2025-04-12 08:28:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 08:28:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 07:28:02] Production.INFO: ==16349== Lock acquired, processing the job...
[2025-04-12 07:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 07:28:02] Production.INFO: ==16349== Releasing lock...
[2025-04-12 07:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 07:28:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 03:28:02] Production.INFO: ==16347== Lock acquired, processing the job...
[2025-04-12 03:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 03:28:02] Production.INFO: ==16347== Releasing lock...
[2025-04-12 03:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 03:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 03:28:03] Production.INFO: ==16355== Lock acquired, processing the job...
[2025-04-12 03:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 03:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 03:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 03:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 03:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 03:28:03] Production.INFO: ==16362== Lock acquired, processing the job...
[2025-04-12 03:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 03:28:03] Production.INFO: ==16351== Lock acquired, processing the job...
[2025-04-12 03:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 03:28:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 03:28:03] Production.INFO: ==16353== Lock acquired, processing the job...
[2025-04-12 03:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 03:28:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 03:28:04] Production.INFO: count ==12
[2025-04-12 03:28:04] Production.INFO: ==16358== Lock acquired, processing the job...
[2025-04-12 03:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 03:28:04] Production.INFO: ==16360== Lock acquired, processing the job...
[2025-04-12 03:28:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 03:28:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 03:28:04] Production.INFO: count ==23
[2025-04-12 03:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888800') start
[2025-04-12 03:28:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 03:28:04] Production.INFO: Account Balance Start.
[2025-04-12 03:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888800') end
[2025-04-12 03:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 03:28:04] Production.INFO: 1
[2025-04-12 03:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 03:28:04] Production.INFO: CreateAllLog Start
[2025-04-12 03:28:04] Production.INFO: 117
[2025-04-12 03:28:04] Production.INFO: Date 2025-04-08
[2025-04-12 03:28:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:28:04] Production.INFO: ==16362== Releasing lock...
[2025-04-12 03:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 03:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 03:28:04] Production.INFO: Date 2025-04-09
[2025-04-12 03:28:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:28:04] Production.INFO: Date 2025-04-10
[2025-04-12 03:28:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:28:04] Production.INFO: Date 2025-04-11
[2025-04-12 03:28:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:28:04] Production.INFO: ==16353== Releasing lock...
[2025-04-12 03:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 03:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 03:28:04] Production.INFO: Date 2025-04-12
[2025-04-12 03:28:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:28:04] Production.ERROR: done
[2025-04-12 03:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 03:28:04] Production.INFO: Total Charge 0
[2025-04-12 03:28:04] Production.INFO: CreateAllLog End
[2025-04-12 03:28:04] Production.ERROR: done
[2025-04-12 03:28:05] Production.INFO: Account Balance End.
[2025-04-12 03:28:05] Production.ERROR: CronJobId end 12
[2025-04-12 03:28:05] Production.INFO: ==16358== Releasing lock...
[2025-04-12 03:28:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 03:28:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 03:28:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 00:28:06
[end_date_ymd] => 2025-04-12 03:28:06
[RateCDR] => 1
)
[2025-04-12 03:28:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 00:28:06' and `end` < '2025-04-12 03:28:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 03:28:12] Production.ERROR: CronJobId end10
[2025-04-12 03:28:12] Production.INFO: ==16355== Releasing lock...
[2025-04-12 03:28:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 03:28:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 03:28:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 03:28:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 03:28:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 03:28:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 03:28:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 03:28:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 03:28:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 03:28:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 03:28:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 03:28:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 03:28:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 03:28:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 03:28:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 03:28:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 03:28:15] Production.INFO: call_cost start
[2025-04-12 03:28:15] Production.INFO: call_cost end
[2025-04-12 03:28:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 03:28:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 03:28:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 03:28:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 03:28:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 03:28:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 03:28:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 03:28:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 03:28:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 03:28:16] Production.INFO: ==16351== Releasing lock...
[2025-04-12 03:28:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 03:28:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 03:28:18] Production.INFO: count ==341
[2025-04-12 03:28:19] Production.ERROR: pbx CDR StartTime 2025-04-12 00:28:06 - End Time 2025-04-12 03:28:06
[2025-04-12 03:28:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 03:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888804', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888804', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888804', 'tblTempVendorCDR_20' ) start
[2025-04-12 03:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888804', 'tblTempVendorCDR_20' ) end
[2025-04-12 03:28:19] Production.INFO: ProcessCDR(1,14888804,1,1,2)
[2025-04-12 03:28:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888804,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:28:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888804,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:28:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888804,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:28:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888804,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888804', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888804', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:28:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 03:28:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 03:28:22] Production.INFO: ==16360== Releasing lock...
[2025-04-12 03:28:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 03:28:22] Production.INFO: 30 MB #Memory Used#
[2025-04-12 08:29:01] Production.INFO: ==16456== Lock acquired, processing the job...
[2025-04-12 08:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 08:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 08:29:01] Production.INFO: neon service started
[2025-04-12 08:29:01] Production.INFO: neon service started
[2025-04-12 08:29:01] Production.INFO: ==16456== Releasing lock...
[2025-04-12 08:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 08:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 07:29:01] Production.INFO: ==16460== Lock acquired, processing the job...
[2025-04-12 07:29:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 07:29:01] Production.INFO: ==16460== Releasing lock...
[2025-04-12 07:29:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 07:29:01] Production.INFO: 25 MB #Memory Used#
[2025-04-12 03:29:02] Production.INFO: ==16458== Lock acquired, processing the job...
[2025-04-12 03:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 03:29:02] Production.INFO: ==16458== Releasing lock...
[2025-04-12 03:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 03:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 03:29:03] Production.INFO: ==16466== Lock acquired, processing the job...
[2025-04-12 03:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 03:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 03:29:03] Production.INFO: ==16473== Lock acquired, processing the job...
[2025-04-12 03:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 03:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 03:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 03:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 03:29:03] Production.INFO: ==16462== Lock acquired, processing the job...
[2025-04-12 03:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 03:29:03] Production.INFO: ==16464== Lock acquired, processing the job...
[2025-04-12 03:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 03:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 03:29:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 03:29:03] Production.INFO: ==16469== Lock acquired, processing the job...
[2025-04-12 03:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 03:29:03] Production.INFO: count ==12
[2025-04-12 03:29:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 03:29:03] Production.INFO: count ==23
[2025-04-12 03:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14888805') start
[2025-04-12 03:29:03] Production.INFO: ==16471== Lock acquired, processing the job...
[2025-04-12 03:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 03:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 03:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14888805') end
[2025-04-12 03:29:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 03:29:03] Production.INFO: 1
[2025-04-12 03:29:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 03:29:03] Production.INFO: Account Balance Start.
[2025-04-12 03:29:03] Production.INFO: CreateAllLog Start
[2025-04-12 03:29:03] Production.INFO: 117
[2025-04-12 03:29:03] Production.INFO: ==16473== Releasing lock...
[2025-04-12 03:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 03:29:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 03:29:03] Production.INFO: ==16464== Releasing lock...
[2025-04-12 03:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 03:29:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 03:29:03] Production.INFO: Date 2025-04-08
[2025-04-12 03:29:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:29:03] Production.INFO: Date 2025-04-09
[2025-04-12 03:29:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:29:04] Production.INFO: Date 2025-04-10
[2025-04-12 03:29:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:29:04] Production.INFO: Date 2025-04-11
[2025-04-12 03:29:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:29:04] Production.INFO: Date 2025-04-12
[2025-04-12 03:29:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:29:04] Production.INFO: Total Charge 0
[2025-04-12 03:29:04] Production.INFO: CreateAllLog End
[2025-04-12 03:29:04] Production.ERROR: done
[2025-04-12 03:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 03:29:04] Production.INFO: Account Balance End.
[2025-04-12 03:29:04] Production.ERROR: done
[2025-04-12 03:29:04] Production.ERROR: CronJobId end 12
[2025-04-12 03:29:04] Production.INFO: ==16469== Releasing lock...
[2025-04-12 03:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 03:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 03:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 00:29:05
[end_date_ymd] => 2025-04-12 03:29:05
[RateCDR] => 1
)
[2025-04-12 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-12 00:29:05' and `end` < '2025-04-12 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-12 03:29:11] Production.ERROR: CronJobId end10
[2025-04-12 03:29:11] Production.INFO: ==16466== Releasing lock...
[2025-04-12 03:29:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 03:29:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 03:29:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 03:29:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 03:29:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 03:29:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 03:29:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 03:29:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 03:29:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 03:29:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 03:29:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 03:29:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 03:29:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 03:29:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 03:29:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 03:29:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 03:29:14] Production.INFO: call_cost start
[2025-04-12 03:29:14] Production.INFO: call_cost end
[2025-04-12 03:29:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 03:29:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 03:29:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 03:29:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 03:29:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 03:29:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 03:29:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 03:29:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 03:29:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 03:29:15] Production.INFO: ==16462== Releasing lock...
[2025-04-12 03:29:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 03:29:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 03:29:18] Production.INFO: count ==342
[2025-04-12 03:29:18] Production.ERROR: pbx CDR StartTime 2025-04-12 00:29:05 - End Time 2025-04-12 03:29:05
[2025-04-12 03:29:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 03:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888809', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888809', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888809', 'tblTempVendorCDR_20' ) start
[2025-04-12 03:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888809', 'tblTempVendorCDR_20' ) end
[2025-04-12 03:29:18] Production.INFO: ProcessCDR(1,14888809,1,1,2)
[2025-04-12 03:29:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888809,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:29:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888809,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:29:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888809,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:29:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888809,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:29:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888809', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:29:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888809', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:29:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 03:29:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 03:29:23] Production.INFO: ==16471== Releasing lock...
[2025-04-12 03:29:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 03:29:23] Production.INFO: 30 MB #Memory Used#
[2025-04-12 08:30:01] Production.INFO: ==16526== Lock acquired, processing the job...
[2025-04-12 08:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 08:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 08:30:01] Production.INFO: neon service started
[2025-04-12 08:30:01] Production.INFO: neon service started
[2025-04-12 08:30:01] Production.INFO: ==16526== Releasing lock...
[2025-04-12 08:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 08:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 03:30:02] Production.INFO: ==16528== Lock acquired, processing the job...
[2025-04-12 03:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 07:30:02] Production.INFO: ==16530== Lock acquired, processing the job...
[2025-04-12 07:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 07:30:02] Production.INFO: ==16530== Releasing lock...
[2025-04-12 07:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 07:30:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 03:30:03] Production.INFO: ==16528== Releasing lock...
[2025-04-12 03:30:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 03:30:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 03:30:04] Production.INFO: ==16533== Lock acquired, processing the job...
[2025-04-12 03:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 03:30:04] Production.INFO: ==16539== Lock acquired, processing the job...
[2025-04-12 03:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 03:30:04] Production.INFO: ==16535== Lock acquired, processing the job...
[2025-04-12 03:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 03:30:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 03:30:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 03:30:04] Production.INFO: ==16533== Releasing lock...
[2025-04-12 03:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 03:30:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 03:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 03:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 03:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 03:30:04] Production.INFO: ==16543== Lock acquired, processing the job...
[2025-04-12 03:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 03:30:04] Production.INFO: ==16537== Lock acquired, processing the job...
[2025-04-12 03:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 03:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 03:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 03:30:04] Production.INFO: ==16547== Lock acquired, processing the job...
[2025-04-12 03:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 03:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 03:30:04] Production.INFO: ==16541== Lock acquired, processing the job...
[2025-04-12 03:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 03:30:04] Production.INFO: ==16545== Lock acquired, processing the job...
[2025-04-12 03:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 03:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 03:30:04] Production.INFO: count ==12
[2025-04-12 03:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 03:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 03:30:04] Production.INFO: count ==23
[2025-04-12 03:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888812') start
[2025-04-12 03:30:04] Production.INFO: Account Balance Start.
[2025-04-12 03:30:04] Production.INFO: CreateAllLog Start
[2025-04-12 03:30:04] Production.INFO: 117
[2025-04-12 03:30:04] Production.INFO: Date 2025-04-08
[2025-04-12 03:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888812') end
[2025-04-12 03:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 03:30:04] Production.INFO: 1
[2025-04-12 03:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 03:30:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:30:04] Production.INFO: Date 2025-04-09
[2025-04-12 03:30:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:30:04] Production.INFO: Date 2025-04-10
[2025-04-12 03:30:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:30:04] Production.INFO: ==16547== Releasing lock...
[2025-04-12 03:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 03:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 03:30:04] Production.INFO: ==16537== Releasing lock...
[2025-04-12 03:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 03:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 03:30:04] Production.ERROR: done
[2025-04-12 03:30:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 03:30:05] Production.INFO: Date 2025-04-11
[2025-04-12 03:30:05] Production.INFO: Reseller ==> 0
[2025-04-12 03:30:05] Production.INFO: Date 2025-04-12
[2025-04-12 03:30:05] Production.INFO: Reseller ==> 0
[2025-04-12 03:30:05] Production.INFO: Total Charge 0
[2025-04-12 03:30:05] Production.INFO: CreateAllLog End
[2025-04-12 03:30:05] Production.ERROR: done
[2025-04-12 03:30:05] Production.ERROR: done
[2025-04-12 03:30:05] Production.INFO: Account Balance End.
[2025-04-12 03:30:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 03:30:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14888814', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 03:30:05] Production.ERROR: CronJobId end 12
[2025-04-12 03:30:05] Production.INFO: ==16541== Releasing lock...
[2025-04-12 03:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 03:30:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 03:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 00:30:06
[end_date_ymd] => 2025-04-12 03:30:06
[RateCDR] => 1
)
[2025-04-12 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-12 00:30:06' and `end` < '2025-04-12 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-12 03:30:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14888814', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 03:30:10] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 03:30:10] Production.INFO: ProcessCDR(1,14888814,1,1,2)
[2025-04-12 03:30:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14888814,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:30:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14888814,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:30:10] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 03:30:10] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 03:30:10] Production.INFO: ==16545== Releasing lock...
[2025-04-12 03:30:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 03:30:10] Production.INFO: 26 MB #Memory Used#
[2025-04-12 03:30:13] Production.ERROR: CronJobId end10
[2025-04-12 03:30:13] Production.INFO: ==16539== Releasing lock...
[2025-04-12 03:30:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 03:30:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 03:30:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 03:30:16] Production.INFO: ============== Balance Warning START===========
[2025-04-12 03:30:16] Production.INFO: ============== Balance Warning END===========
[2025-04-12 03:30:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 03:30:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 03:30:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 03:30:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 03:30:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 03:30:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 03:30:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 03:30:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 03:30:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 03:30:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 03:30:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 03:30:16] Production.INFO: call_cost start
[2025-04-12 03:30:16] Production.INFO: call_cost end
[2025-04-12 03:30:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 03:30:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 03:30:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 03:30:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 03:30:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 03:30:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 03:30:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 03:30:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 03:30:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 03:30:17] Production.INFO: ==16535== Releasing lock...
[2025-04-12 03:30:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 03:30:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 03:30:19] Production.INFO: count ==340
[2025-04-12 03:30:19] Production.ERROR: pbx CDR StartTime 2025-04-12 00:30:06 - End Time 2025-04-12 03:30:06
[2025-04-12 03:30:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 03:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888815', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888815', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888815', 'tblTempVendorCDR_20' ) start
[2025-04-12 03:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888815', 'tblTempVendorCDR_20' ) end
[2025-04-12 03:30:19] Production.INFO: ProcessCDR(1,14888815,1,1,2)
[2025-04-12 03:30:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888815,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:30:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888815,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:30:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888815,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:30:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888815,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:30:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888815', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:30:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888815', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:30:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 03:30:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 03:30:23] Production.INFO: ==16543== Releasing lock...
[2025-04-12 03:30:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 03:30:23] Production.INFO: 30 MB #Memory Used#
[2025-04-12 08:31:02] Production.INFO: ==16609== Lock acquired, processing the job...
[2025-04-12 08:31:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 08:31:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 08:31:02] Production.INFO: neon service started
[2025-04-12 08:31:02] Production.INFO: neon service started
[2025-04-12 08:31:02] Production.INFO: ==16609== Releasing lock...
[2025-04-12 08:31:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 08:31:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 03:31:02] Production.INFO: ==16611== Lock acquired, processing the job...
[2025-04-12 03:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 07:31:02] Production.INFO: ==16613== Lock acquired, processing the job...
[2025-04-12 07:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 07:31:02] Production.INFO: ==16613== Releasing lock...
[2025-04-12 07:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 07:31:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 03:31:03] Production.INFO: ==16611== Releasing lock...
[2025-04-12 03:31:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 03:31:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 03:31:03] Production.INFO: ==16616== Lock acquired, processing the job...
[2025-04-12 03:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 03:31:04] Production.INFO: ==16620== Lock acquired, processing the job...
[2025-04-12 03:31:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 03:31:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 03:31:04] Production.INFO: ==16624== Lock acquired, processing the job...
[2025-04-12 03:31:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 03:31:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 03:31:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 03:31:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 03:31:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 03:31:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 03:31:04] Production.INFO: ==16618== Lock acquired, processing the job...
[2025-04-12 03:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 03:31:04] Production.INFO: ==16622== Lock acquired, processing the job...
[2025-04-12 03:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 03:31:04] Production.INFO: ==16626== Lock acquired, processing the job...
[2025-04-12 03:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 03:31:04] Production.ERROR: done
[2025-04-12 03:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 03:31:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 03:31:04] Production.INFO: Account Balance Start.
[2025-04-12 03:31:04] Production.INFO: CreateAllLog Start
[2025-04-12 03:31:04] Production.INFO: 117
[2025-04-12 03:31:04] Production.INFO: count ==12
[2025-04-12 03:31:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 03:31:04] Production.INFO: count ==23
[2025-04-12 03:31:04] Production.INFO: Date 2025-04-08
[2025-04-12 03:31:04] Production.ERROR: done
[2025-04-12 03:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888817') start
[2025-04-12 03:31:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:31:04] Production.INFO: Date 2025-04-09
[2025-04-12 03:31:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:31:04] Production.INFO: Date 2025-04-10
[2025-04-12 03:31:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888817') end
[2025-04-12 03:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 03:31:04] Production.INFO: 1
[2025-04-12 03:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 03:31:04] Production.INFO: Date 2025-04-11
[2025-04-12 03:31:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:31:04] Production.INFO: Date 2025-04-12
[2025-04-12 03:31:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:31:04] Production.INFO: ==16618== Releasing lock...
[2025-04-12 03:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 03:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 03:31:04] Production.INFO: ==16626== Releasing lock...
[2025-04-12 03:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 03:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 03:31:04] Production.INFO: Total Charge 0
[2025-04-12 03:31:05] Production.INFO: CreateAllLog End
[2025-04-12 03:31:05] Production.INFO: Account Balance End.
[2025-04-12 03:31:05] Production.ERROR: CronJobId end 12
[2025-04-12 03:31:05] Production.INFO: ==16622== Releasing lock...
[2025-04-12 03:31:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 03:31:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 03:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 00:31:05
[end_date_ymd] => 2025-04-12 03:31:05
[RateCDR] => 1
)
[2025-04-12 03:31:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 00:31:05' and `end` < '2025-04-12 03:31:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 03:31:13] Production.ERROR: CronJobId end10
[2025-04-12 03:31:13] Production.INFO: ==16620== Releasing lock...
[2025-04-12 03:31:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 03:31:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 03:31:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 03:31:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 03:31:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 03:31:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 03:31:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 03:31:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 03:31:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 03:31:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 03:31:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 03:31:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 03:31:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 03:31:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 03:31:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 03:31:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 03:31:15] Production.INFO: call_cost start
[2025-04-12 03:31:15] Production.INFO: call_cost end
[2025-04-12 03:31:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 03:31:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 03:31:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 03:31:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 03:31:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 03:31:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 03:31:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 03:31:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 03:31:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 03:31:16] Production.INFO: ==16616== Releasing lock...
[2025-04-12 03:31:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 03:31:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 03:31:18] Production.INFO: count ==336
[2025-04-12 03:31:18] Production.ERROR: pbx CDR StartTime 2025-04-12 00:31:05 - End Time 2025-04-12 03:31:05
[2025-04-12 03:31:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 03:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888820', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888820', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888820', 'tblTempVendorCDR_20' ) start
[2025-04-12 03:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888820', 'tblTempVendorCDR_20' ) end
[2025-04-12 03:31:18] Production.INFO: ProcessCDR(1,14888820,1,1,2)
[2025-04-12 03:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888820,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:31:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888820,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:31:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888820,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:31:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888820,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888820', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888820', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:31:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 03:31:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 03:31:22] Production.INFO: ==16624== Releasing lock...
[2025-04-12 03:31:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 03:31:22] Production.INFO: 30 MB #Memory Used#
[2025-04-12 08:32:01] Production.INFO: ==16680== Lock acquired, processing the job...
[2025-04-12 08:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 08:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 08:32:01] Production.INFO: neon service started
[2025-04-12 08:32:01] Production.INFO: neon service started
[2025-04-12 08:32:01] Production.INFO: ==16680== Releasing lock...
[2025-04-12 08:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 08:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 03:32:02] Production.INFO: ==16682== Lock acquired, processing the job...
[2025-04-12 03:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 07:32:02] Production.INFO: ==16684== Lock acquired, processing the job...
[2025-04-12 07:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 07:32:02] Production.INFO: ==16684== Releasing lock...
[2025-04-12 07:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 07:32:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 03:32:02] Production.INFO: ==16682== Releasing lock...
[2025-04-12 03:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 03:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 03:32:03] Production.INFO: ==16697== Lock acquired, processing the job...
[2025-04-12 03:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 03:32:04] Production.INFO: ==16695== Lock acquired, processing the job...
[2025-04-12 03:32:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 03:32:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 03:32:04] Production.INFO: ==16687== Lock acquired, processing the job...
[2025-04-12 03:32:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 03:32:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 03:32:04] Production.INFO: ==16689== Lock acquired, processing the job...
[2025-04-12 03:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 03:32:04] Production.INFO: count ==12
[2025-04-12 03:32:04] Production.INFO: ==16691== Lock acquired, processing the job...
[2025-04-12 03:32:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 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-12 03:32:04] Production.INFO: count ==23
[2025-04-12 03:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888821') start
[2025-04-12 03:32:04] Production.INFO: ==16693== Lock acquired, processing the job...
[2025-04-12 03:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 03:32:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 03:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 03:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 03:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 03:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 03:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888821') end
[2025-04-12 03:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 03:32:04] Production.INFO: 1
[2025-04-12 03:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 03:32:04] Production.INFO: ==16697== Releasing lock...
[2025-04-12 03:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 03:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 03:32:04] Production.ERROR: done
[2025-04-12 03:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 03:32:04] Production.INFO: Account Balance Start.
[2025-04-12 03:32:04] Production.INFO: CreateAllLog Start
[2025-04-12 03:32:04] Production.INFO: 117
[2025-04-12 03:32:04] Production.INFO: Date 2025-04-08
[2025-04-12 03:32:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:32:04] Production.ERROR: done
[2025-04-12 03:32:04] Production.INFO: ==16689== Releasing lock...
[2025-04-12 03:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 03:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 03:32:04] Production.INFO: Date 2025-04-09
[2025-04-12 03:32:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:32:04] Production.INFO: Date 2025-04-10
[2025-04-12 03:32:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:32:04] Production.INFO: Date 2025-04-11
[2025-04-12 03:32:05] Production.INFO: Reseller ==> 0
[2025-04-12 03:32:05] Production.INFO: Date 2025-04-12
[2025-04-12 03:32:05] Production.INFO: Reseller ==> 0
[2025-04-12 03:32:05] Production.INFO: Total Charge 0
[2025-04-12 03:32:05] Production.INFO: CreateAllLog End
[2025-04-12 03:32:05] Production.INFO: Account Balance End.
[2025-04-12 03:32:05] Production.ERROR: CronJobId end 12
[2025-04-12 03:32:05] Production.INFO: ==16693== Releasing lock...
[2025-04-12 03:32:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 03:32:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 03:32:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 00:32:06
[end_date_ymd] => 2025-04-12 03:32:06
[RateCDR] => 1
)
[2025-04-12 03:32:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 00:32:06' and `end` < '2025-04-12 03:32:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 03:32: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-12 03:32:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 03:32:12] Production.INFO: ============== Balance Warning START===========
[2025-04-12 03:32:12] Production.INFO: ============== Balance Warning END===========
[2025-04-12 03:32:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 03:32:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 03:32:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 03:32:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 03:32:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 03:32:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 03:32:12] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 03:32:12] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 03:32:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 03:32:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 03:32:12] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 03:32:12] Production.ERROR: CronJobId end10
[2025-04-12 03:32:12] Production.INFO: ==16691== Releasing lock...
[2025-04-12 03:32:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 03:32:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 03:32:13] Production.INFO: call_cost start
[2025-04-12 03:32:13] Production.INFO: call_cost end
[2025-04-12 03:32:13] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 03:32:13] Production.INFO: ============== Report Schedule START===========
[2025-04-12 03:32:13] Production.INFO: ============== Report Schedule END===========
[2025-04-12 03:32:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 03:32:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 03:32:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 03:32:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 03:32:13] Production.INFO: ============== Deal alert START===========
[2025-04-12 03:32:13] Production.INFO: ============== Deal alert END===========
[2025-04-12 03:32:13] Production.INFO: ==16687== Releasing lock...
[2025-04-12 03:32:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 03:32:13] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 03:32:18] Production.INFO: count ==338
[2025-04-12 03:32:18] Production.ERROR: pbx CDR StartTime 2025-04-12 00:32:06 - End Time 2025-04-12 03:32:06
[2025-04-12 03:32:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 03:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888825', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888825', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888825', 'tblTempVendorCDR_20' ) start
[2025-04-12 03:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888825', 'tblTempVendorCDR_20' ) end
[2025-04-12 03:32:18] Production.INFO: ProcessCDR(1,14888825,1,1,2)
[2025-04-12 03:32:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888825,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:32:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888825,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:32:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888825,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:32:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888825,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888825', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888825', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:32:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 03:32:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 03:32:22] Production.INFO: ==16695== Releasing lock...
[2025-04-12 03:32:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 03:32:22] Production.INFO: 30 MB #Memory Used#
[2025-04-12 08:33:02] Production.INFO: ==16752== Lock acquired, processing the job...
[2025-04-12 08:33:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 08:33:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 08:33:02] Production.INFO: neon service started
[2025-04-12 08:33:02] Production.INFO: neon service started
[2025-04-12 08:33:02] Production.INFO: ==16752== Releasing lock...
[2025-04-12 08:33:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 08:33:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 07:33:02] Production.INFO: ==16757== Lock acquired, processing the job...
[2025-04-12 07:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 07:33:02] Production.INFO: ==16757== Releasing lock...
[2025-04-12 07:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 07:33:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 03:33:02] Production.INFO: ==16755== Lock acquired, processing the job...
[2025-04-12 03:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 03:33:03] Production.INFO: ==16755== Releasing lock...
[2025-04-12 03:33:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 03:33:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 03:33:04] Production.INFO: ==16763== Lock acquired, processing the job...
[2025-04-12 03:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 03:33:04] Production.INFO: ==16769== Lock acquired, processing the job...
[2025-04-12 03:33:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 03:33:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 03:33:04] Production.INFO: ==16761== Lock acquired, processing the job...
[2025-04-12 03:33:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 03:33:04] Production.INFO: ==16765== Lock acquired, processing the job...
[2025-04-12 03:33:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 03:33:04] Production.INFO: ==16771== Lock acquired, processing the job...
[2025-04-12 03:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 03:33:04] Production.INFO: ==16767== Lock acquired, processing the job...
[2025-04-12 03:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 03:33:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 03:33:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 03:33:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 03:33:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 03:33:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 03:33:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 03:33:04] Production.INFO: count ==12
[2025-04-12 03:33:04] Production.INFO: Account Balance Start.
[2025-04-12 03:33:04] Production.INFO: CreateAllLog Start
[2025-04-12 03:33:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 03:33:04] Production.INFO: count ==23
[2025-04-12 03:33:04] Production.INFO: 117
[2025-04-12 03:33:04] Production.INFO: ==16763== Releasing lock...
[2025-04-12 03:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 03:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 03:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888828') start
[2025-04-12 03:33:04] Production.ERROR: done
[2025-04-12 03:33:04] Production.INFO: Date 2025-04-08
[2025-04-12 03:33:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 03:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888828') end
[2025-04-12 03:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 03:33:04] Production.INFO: 1
[2025-04-12 03:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 03:33:04] Production.INFO: ==16771== Releasing lock...
[2025-04-12 03:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 03:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 03:33:04] Production.INFO: Date 2025-04-09
[2025-04-12 03:33:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:33:04] Production.ERROR: done
[2025-04-12 03:33:04] Production.INFO: Date 2025-04-10
[2025-04-12 03:33:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:33:05] Production.INFO: Date 2025-04-11
[2025-04-12 03:33:05] Production.INFO: Reseller ==> 0
[2025-04-12 03:33:05] Production.INFO: Date 2025-04-12
[2025-04-12 03:33:05] Production.INFO: Reseller ==> 0
[2025-04-12 03:33:05] Production.INFO: Total Charge 0
[2025-04-12 03:33:05] Production.INFO: CreateAllLog End
[2025-04-12 03:33:05] Production.INFO: Account Balance End.
[2025-04-12 03:33:05] Production.ERROR: CronJobId end 12
[2025-04-12 03:33:05] Production.INFO: ==16767== Releasing lock...
[2025-04-12 03:33:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 03:33:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 03:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 00:33:05
[end_date_ymd] => 2025-04-12 03:33:05
[RateCDR] => 1
)
[2025-04-12 03:33:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 00:33:05' and `end` < '2025-04-12 03:33:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 03:33:12] Production.ERROR: CronJobId end10
[2025-04-12 03:33:12] Production.INFO: ==16765== Releasing lock...
[2025-04-12 03:33:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 03:33:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 03:33:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 03:33:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 03:33:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 03:33:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 03:33:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 03:33:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 03:33:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 03:33:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 03:33:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 03:33:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 03:33:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 03:33:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 03:33:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 03:33:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 03:33:15] Production.INFO: call_cost start
[2025-04-12 03:33:15] Production.INFO: call_cost end
[2025-04-12 03:33:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 03:33:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 03:33:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 03:33:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 03:33:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 03:33:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 03:33:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 03:33:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 03:33:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 03:33:16] Production.INFO: ==16761== Releasing lock...
[2025-04-12 03:33:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 03:33:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 03:33:18] Production.INFO: count ==338
[2025-04-12 03:33:18] Production.ERROR: pbx CDR StartTime 2025-04-12 00:33:05 - End Time 2025-04-12 03:33:05
[2025-04-12 03:33:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 03:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888830', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888830', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888830', 'tblTempVendorCDR_20' ) start
[2025-04-12 03:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888830', 'tblTempVendorCDR_20' ) end
[2025-04-12 03:33:18] Production.INFO: ProcessCDR(1,14888830,1,1,2)
[2025-04-12 03:33:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888830,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:33:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888830,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:33:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888830,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:33:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888830,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888830', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888830', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:33:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 03:33:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 03:33:22] Production.INFO: ==16769== Releasing lock...
[2025-04-12 03:33:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 03:33:22] Production.INFO: 30 MB #Memory Used#
[2025-04-12 08:34:01] Production.INFO: ==16826== Lock acquired, processing the job...
[2025-04-12 08:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 08:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 08:34:01] Production.INFO: neon service started
[2025-04-12 08:34:01] Production.INFO: neon service started
[2025-04-12 08:34:01] Production.INFO: ==16826== Releasing lock...
[2025-04-12 08:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 08:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 03:34:02] Production.INFO: ==16828== Lock acquired, processing the job...
[2025-04-12 03:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 03:34:02] Production.INFO: ==16828== Releasing lock...
[2025-04-12 03:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 03:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 07:34:02] Production.INFO: ==16830== Lock acquired, processing the job...
[2025-04-12 07:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 07:34:02] Production.INFO: ==16830== Releasing lock...
[2025-04-12 07:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 07:34:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 03:34:03] Production.INFO: ==16835== Lock acquired, processing the job...
[2025-04-12 03:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 03:34:03] Production.INFO: ==16833== Lock acquired, processing the job...
[2025-04-12 03:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 03:34:03] Production.INFO: ==16843== Lock acquired, processing the job...
[2025-04-12 03:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 03:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 03:34:03] Production.INFO: ==16837== Lock acquired, processing the job...
[2025-04-12 03:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 03:34:03] Production.INFO: ==16839== Lock acquired, processing the job...
[2025-04-12 03:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 03:34:03] Production.INFO: ==16841== Lock acquired, processing the job...
[2025-04-12 03:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 03:34:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 03:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 03:34:03] Production.INFO: Account Balance Start.
[2025-04-12 03:34:03] Production.INFO: CreateAllLog Start
[2025-04-12 03:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 03:34:03] Production.INFO: count ==12
[2025-04-12 03:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 03:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 03:34:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 03:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 03:34:03] Production.INFO: 117
[2025-04-12 03:34:03] Production.INFO: Date 2025-04-08
[2025-04-12 03:34:03] Production.INFO: count ==23
[2025-04-12 03:34:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14888833') start
[2025-04-12 03:34:03] Production.INFO: Date 2025-04-09
[2025-04-12 03:34:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:34:03] Production.INFO: ==16835== Releasing lock...
[2025-04-12 03:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 03:34:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 03:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14888833') end
[2025-04-12 03:34:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 03:34:03] Production.INFO: 1
[2025-04-12 03:34:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 03:34:03] Production.INFO: Date 2025-04-10
[2025-04-12 03:34:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:34:04] Production.INFO: Date 2025-04-11
[2025-04-12 03:34:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:34:04] Production.INFO: ==16843== Releasing lock...
[2025-04-12 03:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 03:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 03:34:04] Production.ERROR: done
[2025-04-12 03:34:04] Production.INFO: Date 2025-04-12
[2025-04-12 03:34:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 03:34:04] Production.INFO: Total Charge 0
[2025-04-12 03:34:04] Production.INFO: CreateAllLog End
[2025-04-12 03:34:04] Production.ERROR: done
[2025-04-12 03:34:04] Production.INFO: Account Balance End.
[2025-04-12 03:34:04] Production.ERROR: CronJobId end 12
[2025-04-12 03:34:04] Production.INFO: ==16839== Releasing lock...
[2025-04-12 03:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 03:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 03:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 00:34:05
[end_date_ymd] => 2025-04-12 03:34:05
[RateCDR] => 1
)
[2025-04-12 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-12 00:34:05' and `end` < '2025-04-12 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-12 03:34:11] Production.ERROR: CronJobId end10
[2025-04-12 03:34:11] Production.INFO: ==16837== Releasing lock...
[2025-04-12 03:34:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 03:34:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 03:34:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 03:34:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 03:34:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 03:34:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 03:34:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 03:34:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 03:34:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 03:34:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 03:34:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 03:34:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 03:34:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 03:34:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 03:34:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 03:34:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 03:34:13] Production.INFO: call_cost start
[2025-04-12 03:34:13] Production.INFO: call_cost end
[2025-04-12 03:34:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 03:34:14] Production.INFO: ============== Report Schedule START===========
[2025-04-12 03:34:14] Production.INFO: ============== Report Schedule END===========
[2025-04-12 03:34:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 03:34:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 03:34:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 03:34:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 03:34:14] Production.INFO: ============== Deal alert START===========
[2025-04-12 03:34:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 03:34:15] Production.INFO: ==16833== Releasing lock...
[2025-04-12 03:34:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 03:34:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 03:34:18] Production.INFO: count ==338
[2025-04-12 03:34:18] Production.ERROR: pbx CDR StartTime 2025-04-12 00:34:05 - End Time 2025-04-12 03:34:05
[2025-04-12 03:34:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 03:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888835', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888835', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888835', 'tblTempVendorCDR_20' ) start
[2025-04-12 03:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888835', 'tblTempVendorCDR_20' ) end
[2025-04-12 03:34:18] Production.INFO: ProcessCDR(1,14888835,1,1,2)
[2025-04-12 03:34:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888835,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:34:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888835,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:34:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888835,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:34:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888835,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888835', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888835', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:34:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 03:34:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 03:34:22] Production.INFO: ==16841== Releasing lock...
[2025-04-12 03:34:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 03:34:22] Production.INFO: 30 MB #Memory Used#
[2025-04-12 08:35:02] Production.INFO: ==16897== Lock acquired, processing the job...
[2025-04-12 08:35:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 08:35:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 08:35:02] Production.INFO: neon service started
[2025-04-12 08:35:02] Production.INFO: neon service started
[2025-04-12 08:35:02] Production.INFO: ==16897== Releasing lock...
[2025-04-12 08:35:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 08:35:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 07:35:02] Production.INFO: ==16901== Lock acquired, processing the job...
[2025-04-12 07:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 07:35:02] Production.INFO: ==16901== Releasing lock...
[2025-04-12 07:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 07:35:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 03:35:02] Production.INFO: ==16899== Lock acquired, processing the job...
[2025-04-12 03:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 03:35:02] Production.INFO: ==16899== Releasing lock...
[2025-04-12 03:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 03:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 03:35:03] Production.INFO: ==16907== Lock acquired, processing the job...
[2025-04-12 03:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 03:35:03] Production.INFO: ==16905== Lock acquired, processing the job...
[2025-04-12 03:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 03:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 03:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 03:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 03:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 03:35:03] Production.INFO: ==16903== Lock acquired, processing the job...
[2025-04-12 03:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 03:35:03] Production.INFO: ==16911== Lock acquired, processing the job...
[2025-04-12 03:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 03:35:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 03:35:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 03:35:04] Production.INFO: ==16909== Lock acquired, processing the job...
[2025-04-12 03:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 03:35:04] Production.INFO: ==16913== Lock acquired, processing the job...
[2025-04-12 03:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 03:35:04] Production.INFO: ==16905== Releasing lock...
[2025-04-12 03:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 03:35:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 03:35:04] Production.INFO: Account Balance Start.
[2025-04-12 03:35:04] Production.INFO: CreateAllLog Start
[2025-04-12 03:35:04] Production.INFO: 117
[2025-04-12 03:35:04] Production.ERROR: done
[2025-04-12 03:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 03:35:04] Production.INFO: Date 2025-04-08
[2025-04-12 03:35:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 03:35:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:35:04] Production.INFO: Date 2025-04-09
[2025-04-12 03:35:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:35:04] Production.INFO: Date 2025-04-10
[2025-04-12 03:35:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:35:04] Production.INFO: count ==12
[2025-04-12 03:35:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 03:35:04] Production.INFO: count ==23
[2025-04-12 03:35:04] Production.INFO: Date 2025-04-11
[2025-04-12 03:35:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:35:04] Production.ERROR: done
[2025-04-12 03:35:04] Production.INFO: Date 2025-04-12
[2025-04-12 03:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888839') start
[2025-04-12 03:35:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:35:04] Production.INFO: Total Charge 0
[2025-04-12 03:35:04] Production.INFO: CreateAllLog End
[2025-04-12 03:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888839') end
[2025-04-12 03:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 03:35:04] Production.INFO: 1
[2025-04-12 03:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 03:35:04] Production.INFO: Account Balance End.
[2025-04-12 03:35:04] Production.INFO: ==16913== Releasing lock...
[2025-04-12 03:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 03:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 03:35:04] Production.ERROR: CronJobId end 12
[2025-04-12 03:35:04] Production.INFO: ==16909== Releasing lock...
[2025-04-12 03:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 03:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 03:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 00:35:05
[end_date_ymd] => 2025-04-12 03:35:05
[RateCDR] => 1
)
[2025-04-12 03:35:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 00:35:05' and `end` < '2025-04-12 03:35:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 03:35:11] Production.ERROR: CronJobId end10
[2025-04-12 03:35:11] Production.INFO: ==16907== Releasing lock...
[2025-04-12 03:35:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 03:35:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 03:35:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 03:35:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 03:35:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 03:35:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 03:35:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 03:35:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 03:35:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 03:35:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 03:35:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 03:35:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 03:35:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 03:35:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 03:35:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 03:35:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 03:35:14] Production.INFO: call_cost start
[2025-04-12 03:35:14] Production.INFO: call_cost end
[2025-04-12 03:35:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 03:35:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 03:35:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 03:35:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 03:35:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 03:35:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 03:35:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 03:35:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 03:35:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 03:35:15] Production.INFO: ==16903== Releasing lock...
[2025-04-12 03:35:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 03:35:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 03:35:18] Production.INFO: count ==338
[2025-04-12 03:35:18] Production.ERROR: pbx CDR StartTime 2025-04-12 00:35:05 - End Time 2025-04-12 03:35:05
[2025-04-12 03:35:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 03:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888840', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888840', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888840', 'tblTempVendorCDR_20' ) start
[2025-04-12 03:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888840', 'tblTempVendorCDR_20' ) end
[2025-04-12 03:35:18] Production.INFO: ProcessCDR(1,14888840,1,1,2)
[2025-04-12 03:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888840,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:35:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888840,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:35:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888840,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:35:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888840,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888840', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888840', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:35:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 03:35:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 03:35:21] Production.INFO: ==16911== Releasing lock...
[2025-04-12 03:35:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 03:35:21] Production.INFO: 30 MB #Memory Used#
[2025-04-12 08:36:01] Production.INFO: ==16967== Lock acquired, processing the job...
[2025-04-12 08:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 08:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 08:36:01] Production.INFO: neon service started
[2025-04-12 08:36:01] Production.INFO: neon service started
[2025-04-12 08:36:01] Production.INFO: ==16967== Releasing lock...
[2025-04-12 08:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 08:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 07:36:02] Production.INFO: ==16971== Lock acquired, processing the job...
[2025-04-12 07:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 07:36:02] Production.INFO: ==16971== Releasing lock...
[2025-04-12 07:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 07:36:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 03:36:02] Production.INFO: ==16969== Lock acquired, processing the job...
[2025-04-12 03:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 03:36:02] Production.INFO: ==16969== Releasing lock...
[2025-04-12 03:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 03:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 03:36:03] Production.INFO: ==16977== Lock acquired, processing the job...
[2025-04-12 03:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 03:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 03:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 03:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 03:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 03:36:03] Production.INFO: ==16981== Lock acquired, processing the job...
[2025-04-12 03:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 03:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 03:36:03] Production.INFO: ==16973== Lock acquired, processing the job...
[2025-04-12 03:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 03:36:03] Production.INFO: ==16975== Lock acquired, processing the job...
[2025-04-12 03:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 03:36:03] Production.INFO: ==16983== Lock acquired, processing the job...
[2025-04-12 03:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 03:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 03:36:03] Production.INFO: ==16979== Lock acquired, processing the job...
[2025-04-12 03:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 03:36:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 03:36:04] Production.INFO: count ==12
[2025-04-12 03:36:04] Production.ERROR: done
[2025-04-12 03:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 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-12 03:36:04] Production.INFO: count ==23
[2025-04-12 03:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888843') start
[2025-04-12 03:36:04] Production.INFO: Account Balance Start.
[2025-04-12 03:36:04] Production.INFO: CreateAllLog Start
[2025-04-12 03:36:04] Production.INFO: 117
[2025-04-12 03:36:04] Production.INFO: Date 2025-04-08
[2025-04-12 03:36:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:36:04] Production.INFO: Date 2025-04-09
[2025-04-12 03:36:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:36:04] Production.INFO: Date 2025-04-10
[2025-04-12 03:36:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888843') end
[2025-04-12 03:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 03:36:04] Production.INFO: 1
[2025-04-12 03:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 03:36:04] Production.ERROR: done
[2025-04-12 03:36:04] Production.INFO: ==16983== Releasing lock...
[2025-04-12 03:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 03:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 03:36:04] Production.INFO: ==16975== Releasing lock...
[2025-04-12 03:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 03:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 03:36:04] Production.INFO: Date 2025-04-11
[2025-04-12 03:36:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:36:04] Production.INFO: Date 2025-04-12
[2025-04-12 03:36:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:36:04] Production.INFO: Total Charge 0
[2025-04-12 03:36:04] Production.INFO: CreateAllLog End
[2025-04-12 03:36:04] Production.INFO: Account Balance End.
[2025-04-12 03:36:04] Production.ERROR: CronJobId end 12
[2025-04-12 03:36:04] Production.INFO: ==16979== Releasing lock...
[2025-04-12 03:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 03:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 03:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 00:36:05
[end_date_ymd] => 2025-04-12 03:36:05
[RateCDR] => 1
)
[2025-04-12 03:36:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 00:36:05' and `end` < '2025-04-12 03:36:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 03:36:12] Production.ERROR: CronJobId end10
[2025-04-12 03:36:12] Production.INFO: ==16977== Releasing lock...
[2025-04-12 03:36:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 03:36:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 03:36:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 03:36:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 03:36:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 03:36:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 03:36:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 03:36:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 03:36:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 03:36:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 03:36:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 03:36:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 03:36:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 03:36:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 03:36:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 03:36:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 03:36:15] Production.INFO: call_cost start
[2025-04-12 03:36:15] Production.INFO: call_cost end
[2025-04-12 03:36:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 03:36:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 03:36:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 03:36:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 03:36:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 03:36:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 03:36:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 03:36:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 03:36:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 03:36:16] Production.INFO: ==16973== Releasing lock...
[2025-04-12 03:36:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 03:36:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 03:36:18] Production.INFO: count ==338
[2025-04-12 03:36:18] Production.ERROR: pbx CDR StartTime 2025-04-12 00:36:05 - End Time 2025-04-12 03:36:05
[2025-04-12 03:36:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 03:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888845', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888845', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888845', 'tblTempVendorCDR_20' ) start
[2025-04-12 03:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888845', 'tblTempVendorCDR_20' ) end
[2025-04-12 03:36:18] Production.INFO: ProcessCDR(1,14888845,1,1,2)
[2025-04-12 03:36:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888845,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:36:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888845,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:36:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888845,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:36:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888845,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888845', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888845', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:36:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 03:36:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 03:36:21] Production.INFO: ==16981== Releasing lock...
[2025-04-12 03:36:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 03:36:21] Production.INFO: 30 MB #Memory Used#
[2025-04-12 08:37:02] Production.INFO: ==17040== Lock acquired, processing the job...
[2025-04-12 08:37:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 08:37:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 08:37:02] Production.INFO: neon service started
[2025-04-12 08:37:02] Production.INFO: neon service started
[2025-04-12 08:37:02] Production.INFO: ==17040== Releasing lock...
[2025-04-12 08:37:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 08:37:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 03:37:02] Production.INFO: ==17042== Lock acquired, processing the job...
[2025-04-12 03:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 03:37:02] Production.INFO: ==17042== Releasing lock...
[2025-04-12 03:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 03:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 07:37:02] Production.INFO: ==17044== Lock acquired, processing the job...
[2025-04-12 07:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 07:37:03] Production.INFO: ==17044== Releasing lock...
[2025-04-12 07:37:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 07:37:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 03:37:03] Production.INFO: ==17051== Lock acquired, processing the job...
[2025-04-12 03:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 03:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 03:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 03:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 03:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 03:37:03] Production.INFO: ==17055== Lock acquired, processing the job...
[2025-04-12 03:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 03:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 03:37:03] Production.INFO: ==17047== Lock acquired, processing the job...
[2025-04-12 03:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 03:37:03] Production.INFO: ==17049== Lock acquired, processing the job...
[2025-04-12 03:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 03:37:04] Production.INFO: ==17057== Lock acquired, processing the job...
[2025-04-12 03:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 03:37:04] Production.INFO: ==17053== Lock acquired, processing the job...
[2025-04-12 03:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 03:37:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 03:37:04] Production.INFO: Account Balance Start.
[2025-04-12 03:37:04] Production.INFO: CreateAllLog Start
[2025-04-12 03:37:04] Production.INFO: 117
[2025-04-12 03:37:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 03:37:04] Production.ERROR: done
[2025-04-12 03:37:04] Production.INFO: Date 2025-04-08
[2025-04-12 03:37:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 03:37:04] Production.INFO: count ==12
[2025-04-12 03:37:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 03:37:04] Production.INFO: count ==23
[2025-04-12 03:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888848') start
[2025-04-12 03:37:04] Production.INFO: Date 2025-04-09
[2025-04-12 03:37:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:37:04] Production.ERROR: done
[2025-04-12 03:37:04] Production.INFO: ==17049== Releasing lock...
[2025-04-12 03:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 03:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 03:37:04] Production.INFO: Date 2025-04-10
[2025-04-12 03:37:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888848') end
[2025-04-12 03:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 03:37:04] Production.INFO: 1
[2025-04-12 03:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 03:37:04] Production.INFO: Date 2025-04-11
[2025-04-12 03:37:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:37:04] Production.INFO: ==17057== Releasing lock...
[2025-04-12 03:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 03:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 03:37:04] Production.INFO: Date 2025-04-12
[2025-04-12 03:37:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:37:04] Production.INFO: Total Charge 0
[2025-04-12 03:37:04] Production.INFO: CreateAllLog End
[2025-04-12 03:37:04] Production.INFO: Account Balance End.
[2025-04-12 03:37:05] Production.ERROR: CronJobId end 12
[2025-04-12 03:37:05] Production.INFO: ==17053== Releasing lock...
[2025-04-12 03:37:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 03:37:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 03:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 00:37:05
[end_date_ymd] => 2025-04-12 03:37:05
[RateCDR] => 1
)
[2025-04-12 03:37:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 00:37:05' and `end` < '2025-04-12 03:37:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 03:37:13] Production.ERROR: CronJobId end10
[2025-04-12 03:37:13] Production.INFO: ==17051== Releasing lock...
[2025-04-12 03:37:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 03:37:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 03:37:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 03:37:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 03:37:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 03:37:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 03:37:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 03:37:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 03:37:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 03:37:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 03:37:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 03:37:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 03:37:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 03:37:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 03:37:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 03:37:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 03:37:15] Production.INFO: call_cost start
[2025-04-12 03:37:15] Production.INFO: call_cost end
[2025-04-12 03:37:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 03:37:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 03:37:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 03:37:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 03:37:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 03:37:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 03:37:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 03:37:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 03:37:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 03:37:16] Production.INFO: ==17047== Releasing lock...
[2025-04-12 03:37:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 03:37:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 03:37:18] Production.INFO: count ==336
[2025-04-12 03:37:18] Production.ERROR: pbx CDR StartTime 2025-04-12 00:37:05 - End Time 2025-04-12 03:37:05
[2025-04-12 03:37:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 03:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888850', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888850', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888850', 'tblTempVendorCDR_20' ) start
[2025-04-12 03:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888850', 'tblTempVendorCDR_20' ) end
[2025-04-12 03:37:18] Production.INFO: ProcessCDR(1,14888850,1,1,2)
[2025-04-12 03:37:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888850,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:37:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888850,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:37:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888850,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:37:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888850,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888850', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888850', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:37:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 03:37:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 03:37:21] Production.INFO: ==17055== Releasing lock...
[2025-04-12 03:37:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 03:37:21] Production.INFO: 30 MB #Memory Used#
[2025-04-12 08:38:01] Production.INFO: ==17115== Lock acquired, processing the job...
[2025-04-12 08:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 08:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 08:38:01] Production.INFO: neon service started
[2025-04-12 08:38:01] Production.INFO: neon service started
[2025-04-12 08:38:01] Production.INFO: ==17115== Releasing lock...
[2025-04-12 08:38:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 08:38:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 03:38:01] Production.INFO: ==17117== Lock acquired, processing the job...
[2025-04-12 03:38:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 03:38:02] Production.INFO: ==17117== Releasing lock...
[2025-04-12 03:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 03:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 07:38:02] Production.INFO: ==17119== Lock acquired, processing the job...
[2025-04-12 07:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 07:38:02] Production.INFO: ==17119== Releasing lock...
[2025-04-12 07:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 07:38:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 03:38:03] Production.INFO: ==17124== Lock acquired, processing the job...
[2025-04-12 03:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 03:38:03] Production.INFO: ==17128== Lock acquired, processing the job...
[2025-04-12 03:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 03:38:03] Production.INFO: ==17122== Lock acquired, processing the job...
[2025-04-12 03:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 03:38:03] Production.INFO: ==17124== Releasing lock...
[2025-04-12 03:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 03:38:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 03:38:03] Production.INFO: Account Balance Start.
[2025-04-12 03:38:03] Production.INFO: CreateAllLog Start
[2025-04-12 03:38:03] Production.INFO: 117
[2025-04-12 03:38:03] Production.INFO: ==17126== Lock acquired, processing the job...
[2025-04-12 03:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 03:38:03] Production.INFO: Date 2025-04-08
[2025-04-12 03:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 03:38:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:38:03] Production.INFO: ==17130== Lock acquired, processing the job...
[2025-04-12 03:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 03:38:03] Production.INFO: ==17132== Lock acquired, processing the job...
[2025-04-12 03:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 03:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 03:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 03:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 03:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 03:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 03:38:03] Production.INFO: Date 2025-04-09
[2025-04-12 03:38:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:38:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 03:38:03] Production.INFO: Date 2025-04-10
[2025-04-12 03:38:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:38:03] Production.INFO: count ==12
[2025-04-12 03:38:03] Production.INFO: Date 2025-04-11
[2025-04-12 03:38:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 03:38:03] Production.INFO: count ==23
[2025-04-12 03:38:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14888854') start
[2025-04-12 03:38:03] Production.INFO: Date 2025-04-12
[2025-04-12 03:38:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14888854') end
[2025-04-12 03:38:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 03:38:03] Production.INFO: 1
[2025-04-12 03:38:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 03:38:03] Production.INFO: Total Charge 0
[2025-04-12 03:38:03] Production.INFO: CreateAllLog End
[2025-04-12 03:38:03] Production.INFO: ==17132== Releasing lock...
[2025-04-12 03:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 03:38:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 03:38:03] Production.ERROR: done
[2025-04-12 03:38:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 03:38:04] Production.INFO: Account Balance End.
[2025-04-12 03:38:04] Production.ERROR: done
[2025-04-12 03:38:04] Production.ERROR: CronJobId end 12
[2025-04-12 03:38:04] Production.INFO: ==17128== Releasing lock...
[2025-04-12 03:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 03:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 03:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 00:38:05
[end_date_ymd] => 2025-04-12 03:38:05
[RateCDR] => 1
)
[2025-04-12 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-12 00:38:05' and `end` < '2025-04-12 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-12 03:38:11] Production.ERROR: CronJobId end10
[2025-04-12 03:38:11] Production.INFO: ==17126== Releasing lock...
[2025-04-12 03:38:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 03:38:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 03:38:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 03:38:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 03:38:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 03:38:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 03:38:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 03:38:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 03:38:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 03:38:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 03:38:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 03:38:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 03:38:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 03:38:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 03:38:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 03:38:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 03:38:14] Production.INFO: call_cost start
[2025-04-12 03:38:14] Production.INFO: call_cost end
[2025-04-12 03:38:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 03:38:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 03:38:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 03:38:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 03:38:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 03:38:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 03:38:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 03:38:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 03:38:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 03:38:15] Production.INFO: ==17122== Releasing lock...
[2025-04-12 03:38:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 03:38:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 03:38:17] Production.INFO: count ==336
[2025-04-12 03:38:17] Production.ERROR: pbx CDR StartTime 2025-04-12 00:38:05 - End Time 2025-04-12 03:38:05
[2025-04-12 03:38:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 03:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888855', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888855', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888855', 'tblTempVendorCDR_20' ) start
[2025-04-12 03:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888855', 'tblTempVendorCDR_20' ) end
[2025-04-12 03:38:17] Production.INFO: ProcessCDR(1,14888855,1,1,2)
[2025-04-12 03:38:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888855,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:38:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888855,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:38:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888855,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:38:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888855,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888855', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888855', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:38:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 03:38:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 03:38:21] Production.INFO: ==17130== Releasing lock...
[2025-04-12 03:38:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 03:38:21] Production.INFO: 30 MB #Memory Used#
[2025-04-12 08:39:01] Production.INFO: ==17188== Lock acquired, processing the job...
[2025-04-12 08:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 08:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 08:39:01] Production.INFO: neon service started
[2025-04-12 08:39:01] Production.INFO: neon service started
[2025-04-12 08:39:01] Production.INFO: ==17188== Releasing lock...
[2025-04-12 08:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 08:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 03:39:02] Production.INFO: ==17190== Lock acquired, processing the job...
[2025-04-12 03:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 07:39:02] Production.INFO: ==17192== Lock acquired, processing the job...
[2025-04-12 07:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 07:39:02] Production.INFO: ==17192== Releasing lock...
[2025-04-12 07:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 07:39:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 03:39:02] Production.INFO: ==17190== Releasing lock...
[2025-04-12 03:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 03:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 03:39:03] Production.INFO: ==17195== Lock acquired, processing the job...
[2025-04-12 03:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 03:39:03] Production.INFO: ==17197== Lock acquired, processing the job...
[2025-04-12 03:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 03:39:03] Production.INFO: ==17199== Lock acquired, processing the job...
[2025-04-12 03:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 03:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 03:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 03:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 03:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 03:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 03:39:03] Production.INFO: ==17201== Lock acquired, processing the job...
[2025-04-12 03:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 03:39:04] Production.INFO: Account Balance Start.
[2025-04-12 03:39:04] Production.INFO: CreateAllLog Start
[2025-04-12 03:39:04] Production.INFO: 117
[2025-04-12 03:39:04] Production.INFO: Date 2025-04-08
[2025-04-12 03:39:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:39:04] Production.INFO: Date 2025-04-09
[2025-04-12 03:39:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:39:04] Production.INFO: ==17205== Lock acquired, processing the job...
[2025-04-12 03:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 03:39:04] Production.INFO: Date 2025-04-10
[2025-04-12 03:39:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:39:04] Production.INFO: Date 2025-04-11
[2025-04-12 03:39:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:39:04] Production.INFO: Date 2025-04-12
[2025-04-12 03:39:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:39:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 03:39:04] Production.INFO: Total Charge 0
[2025-04-12 03:39:04] Production.INFO: count ==12
[2025-04-12 03:39:04] Production.INFO: CreateAllLog End
[2025-04-12 03:39:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 03:39:04] Production.INFO: count ==23
[2025-04-12 03:39:04] Production.INFO: ==17203== Lock acquired, processing the job...
[2025-04-12 03:39:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 03:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888859') start
[2025-04-12 03:39:04] Production.INFO: ==17197== Releasing lock...
[2025-04-12 03:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 03:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 03:39:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 03:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888859') end
[2025-04-12 03:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 03:39:04] Production.INFO: 1
[2025-04-12 03:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 03:39:04] Production.INFO: Account Balance End.
[2025-04-12 03:39:04] Production.ERROR: CronJobId end 12
[2025-04-12 03:39:04] Production.INFO: ==17201== Releasing lock...
[2025-04-12 03:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 03:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 03:39:04] Production.INFO: ==17205== Releasing lock...
[2025-04-12 03:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 03:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 03:39:04] Production.ERROR: done
[2025-04-12 03:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 03:39:04] Production.ERROR: done
[2025-04-12 03:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 00:39:05
[end_date_ymd] => 2025-04-12 03:39:05
[RateCDR] => 1
)
[2025-04-12 03:39:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 00:39:05' and `end` < '2025-04-12 03:39:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 03:39:11] Production.ERROR: CronJobId end10
[2025-04-12 03:39:11] Production.INFO: ==17199== Releasing lock...
[2025-04-12 03:39:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 03:39:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 03:39:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 03:39:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 03:39:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 03:39:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 03:39:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 03:39:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 03:39:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 03:39:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 03:39:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 03:39:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 03:39:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 03:39:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 03:39:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 03:39:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 03:39:15] Production.INFO: call_cost start
[2025-04-12 03:39:15] Production.INFO: call_cost end
[2025-04-12 03:39:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 03:39:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 03:39:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 03:39:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 03:39:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 03:39:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 03:39:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 03:39:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 03:39:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 03:39:16] Production.INFO: ==17195== Releasing lock...
[2025-04-12 03:39:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 03:39:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 03:39:18] Production.INFO: count ==336
[2025-04-12 03:39:18] Production.ERROR: pbx CDR StartTime 2025-04-12 00:39:05 - End Time 2025-04-12 03:39:05
[2025-04-12 03:39:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 03:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888860', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888860', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888860', 'tblTempVendorCDR_20' ) start
[2025-04-12 03:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888860', 'tblTempVendorCDR_20' ) end
[2025-04-12 03:39:18] Production.INFO: ProcessCDR(1,14888860,1,1,2)
[2025-04-12 03:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888860,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:39:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888860,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:39:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888860,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:39:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888860,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888860', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888860', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:39:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 03:39:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 03:39:22] Production.INFO: ==17203== Releasing lock...
[2025-04-12 03:39:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 03:39:22] Production.INFO: 30 MB #Memory Used#
[2025-04-12 08:40:02] Production.INFO: ==17261== Lock acquired, processing the job...
[2025-04-12 08:40:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 08:40:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 08:40:02] Production.INFO: neon service started
[2025-04-12 08:40:02] Production.INFO: neon service started
[2025-04-12 08:40:02] Production.INFO: ==17261== Releasing lock...
[2025-04-12 08:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 08:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 03:40:03] Production.INFO: ==17263== Lock acquired, processing the job...
[2025-04-12 03:40:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 07:40:03] Production.INFO: ==17265== Lock acquired, processing the job...
[2025-04-12 07:40:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 07:40:03] Production.INFO: ==17265== Releasing lock...
[2025-04-12 07:40:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 07:40:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 03:40:03] Production.INFO: ==17263== Releasing lock...
[2025-04-12 03:40:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 03:40:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 03:40:04] Production.INFO: ==17268== Lock acquired, processing the job...
[2025-04-12 03:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 03:40:04] Production.INFO: ==17270== Lock acquired, processing the job...
[2025-04-12 03:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 03:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 03:40:04] Production.INFO: ==17272== Lock acquired, processing the job...
[2025-04-12 03:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 03:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 03:40:04] Production.ERROR: CronJob PID - 17270
[2025-04-12 03:40:04] Production.ERROR: CronJob Title - System Alerts
[2025-04-12 03:40:04] Production.ERROR: CronJob ID - 5
[2025-04-12 03:40:04] Production.ERROR: CronJob Last Run Time 2025-04-12 03:40:00
[2025-04-12 03:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 03:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 03:40:04] Production.INFO: ==17274== Lock acquired, processing the job...
[2025-04-12 03:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 03:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 03:40:04] Production.INFO: ==17268== Releasing lock...
[2025-04-12 03:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 03:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 03:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 03:40:04] Production.INFO: ==17276== Lock acquired, processing the job...
[2025-04-12 03:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 03:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 03:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 03:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 03:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 03:40:05] Production.INFO: ==17280== Lock acquired, processing the job...
[2025-04-12 03:40:05] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 03:40:05] Production.INFO: ==17278== Lock acquired, processing the job...
[2025-04-12 03:40:05] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 03:40:05] Production.INFO: Account Balance Start.
[2025-04-12 03:40:05] Production.INFO: CreateAllLog Start
[2025-04-12 03:40:05] Production.INFO: 117
[2025-04-12 03:40:05] Production.INFO: Date 2025-04-08
[2025-04-12 03:40:05] Production.INFO: ==17282== Lock acquired, processing the job...
[2025-04-12 03:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 03:40:05] Production.INFO: Reseller ==> 0
[2025-04-12 03:40:05] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 03:40:05] Production.INFO: Date 2025-04-09
[2025-04-12 03:40:05] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 03:40:05] Production.INFO: Reseller ==> 0
[2025-04-12 03:40:05] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 03:40:05] Production.INFO: Date 2025-04-10
[2025-04-12 03:40:05] Production.INFO: Reseller ==> 0
[2025-04-12 03:40:05] Production.INFO: count ==12
[2025-04-12 03:40:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 03:40:05] Production.INFO: count ==23
[2025-04-12 03:40:05] Production.INFO: ==17272== Releasing lock...
[2025-04-12 03:40:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 03:40:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 03:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14888864') start
[2025-04-12 03:40:05] Production.ERROR: done
[2025-04-12 03:40:05] Production.INFO: Date 2025-04-11
[2025-04-12 03:40:05] Production.INFO: Reseller ==> 0
[2025-04-12 03:40:05] Production.INFO: Date 2025-04-12
[2025-04-12 03:40:05] Production.INFO: Reseller ==> 0
[2025-04-12 03:40:05] Production.INFO: Total Charge 0
[2025-04-12 03:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14888864') end
[2025-04-12 03:40:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 03:40:05] Production.INFO: 1
[2025-04-12 03:40:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 03:40:05] Production.INFO: CreateAllLog End
[2025-04-12 03:40:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 03:40:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14888865', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 03:40:05] Production.INFO: ==17282== Releasing lock...
[2025-04-12 03:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 03:40:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 03:40:05] Production.ERROR: done
[2025-04-12 03:40:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 03:40:05] Production.ERROR: done
[2025-04-12 03:40:05] Production.INFO: Account Balance End.
[2025-04-12 03:40:05] Production.ERROR: CronJobId end 12
[2025-04-12 03:40:05] Production.INFO: ==17276== Releasing lock...
[2025-04-12 03:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 03:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 03:40:07] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 00:40:07
[end_date_ymd] => 2025-04-12 03:40:07
[RateCDR] => 1
)
[2025-04-12 03:40:07] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 00:40:07' and `end` < '2025-04-12 03:40:07'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 03:40:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14888865', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 03:40:10] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 03:40:10] Production.INFO: ProcessCDR(1,14888865,1,1,2)
[2025-04-12 03:40:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14888865,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:40:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14888865,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:40:10] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 03:40:10] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 03:40:10] Production.INFO: ==17280== Releasing lock...
[2025-04-12 03:40:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 03:40:10] Production.INFO: 26 MB #Memory Used#
[2025-04-12 03:40:14] Production.ERROR: CronJobId end10
[2025-04-12 03:40:14] Production.INFO: ==17274== Releasing lock...
[2025-04-12 03:40:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 03:40:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 03:40:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 03:40:16] Production.INFO: ============== Balance Warning START===========
[2025-04-12 03:40:16] Production.INFO: ============== Balance Warning END===========
[2025-04-12 03:40:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 03:40:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 03:40:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 03:40:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 03:40:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 03:40:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 03:40:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 03:40:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 03:40:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 03:40:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 03:40:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 03:40:17] Production.INFO: call_cost start
[2025-04-12 03:40:17] Production.INFO: call_cost end
[2025-04-12 03:40:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 03:40:18] Production.INFO: ============== Report Schedule START===========
[2025-04-12 03:40:18] Production.INFO: ============== Report Schedule END===========
[2025-04-12 03:40:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 03:40:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 03:40:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 03:40:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 03:40:18] Production.INFO: ============== Deal alert START===========
[2025-04-12 03:40:18] Production.INFO: ============== Deal alert END===========
[2025-04-12 03:40:18] Production.INFO: ==17270== Releasing lock...
[2025-04-12 03:40:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 03:40:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 03:40:19] Production.INFO: count ==321
[2025-04-12 03:40:19] Production.ERROR: pbx CDR StartTime 2025-04-12 00:40:07 - End Time 2025-04-12 03:40:07
[2025-04-12 03:40:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 03:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888866', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888866', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888866', 'tblTempVendorCDR_20' ) start
[2025-04-12 03:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888866', 'tblTempVendorCDR_20' ) end
[2025-04-12 03:40:19] Production.INFO: ProcessCDR(1,14888866,1,1,2)
[2025-04-12 03:40:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888866,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:40:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888866,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:40:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888866,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:40:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888866,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:40:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888866', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:40:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888866', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:40:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 03:40:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 03:40:25] Production.INFO: ==17278== Releasing lock...
[2025-04-12 03:40:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 03:40:25] Production.INFO: 30 MB #Memory Used#
[2025-04-12 08:41:01] Production.INFO: ==17336== Lock acquired, processing the job...
[2025-04-12 08:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 08:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 08:41:01] Production.INFO: neon service started
[2025-04-12 08:41:01] Production.INFO: neon service started
[2025-04-12 08:41:01] Production.INFO: ==17336== Releasing lock...
[2025-04-12 08:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 08:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 03:41:02] Production.INFO: ==17338== Lock acquired, processing the job...
[2025-04-12 03:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 03:41:02] Production.INFO: ==17338== Releasing lock...
[2025-04-12 03:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 03:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 07:41:02] Production.INFO: ==17340== Lock acquired, processing the job...
[2025-04-12 07:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 07:41:02] Production.INFO: ==17340== Releasing lock...
[2025-04-12 07:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 07:41:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 03:41:03] Production.INFO: ==17345== Lock acquired, processing the job...
[2025-04-12 03:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 03:41:03] Production.INFO: ==17343== Lock acquired, processing the job...
[2025-04-12 03:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 03:41:03] Production.INFO: ==17353== Lock acquired, processing the job...
[2025-04-12 03:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 03:41:03] Production.INFO: ==17347== Lock acquired, processing the job...
[2025-04-12 03:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 03:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 03:41:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 03:41:03] Production.INFO: ==17345== Releasing lock...
[2025-04-12 03:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 03:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 03:41:03] Production.INFO: ==17349== Lock acquired, processing the job...
[2025-04-12 03:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 03:41:03] Production.INFO: count ==12
[2025-04-12 03:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 03:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 03:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 03:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 03:41:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 03:41:03] Production.INFO: count ==23
[2025-04-12 03:41:03] Production.INFO: ==17351== Lock acquired, processing the job...
[2025-04-12 03:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 03:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14888869') start
[2025-04-12 03:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 03:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14888869') end
[2025-04-12 03:41:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 03:41:03] Production.INFO: 1
[2025-04-12 03:41:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 03:41:03] Production.INFO: Account Balance Start.
[2025-04-12 03:41:03] Production.INFO: CreateAllLog Start
[2025-04-12 03:41:03] Production.INFO: 117
[2025-04-12 03:41:03] Production.INFO: Date 2025-04-08
[2025-04-12 03:41:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:41:03] Production.INFO: Date 2025-04-09
[2025-04-12 03:41:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:41:03] Production.INFO: ==17353== Releasing lock...
[2025-04-12 03:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 03:41:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 03:41:03] Production.INFO: Date 2025-04-10
[2025-04-12 03:41:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:41:03] Production.INFO: Date 2025-04-11
[2025-04-12 03:41:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:41:03] Production.INFO: Date 2025-04-12
[2025-04-12 03:41:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:41:03] Production.INFO: Total Charge 0
[2025-04-12 03:41:04] Production.INFO: CreateAllLog End
[2025-04-12 03:41:04] Production.ERROR: done
[2025-04-12 03:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 03:41:04] Production.INFO: Account Balance End.
[2025-04-12 03:41:04] Production.ERROR: CronJobId end 12
[2025-04-12 03:41:04] Production.INFO: ==17349== Releasing lock...
[2025-04-12 03:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 03:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 03:41:04] Production.ERROR: done
[2025-04-12 03:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 00:41:05
[end_date_ymd] => 2025-04-12 03:41:05
[RateCDR] => 1
)
[2025-04-12 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-12 00:41:05' and `end` < '2025-04-12 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-12 03:41:11] Production.ERROR: CronJobId end10
[2025-04-12 03:41:11] Production.INFO: ==17347== Releasing lock...
[2025-04-12 03:41:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 03:41:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 03:41:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 03:41:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 03:41:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 03:41:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 03:41:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 03:41:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 03:41:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 03:41:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 03:41:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 03:41:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 03:41:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 03:41:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 03:41:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 03:41:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 03:41:14] Production.INFO: call_cost start
[2025-04-12 03:41:14] Production.INFO: call_cost end
[2025-04-12 03:41:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 03:41:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 03:41:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 03:41:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 03:41:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 03:41:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 03:41:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 03:41:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 03:41:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 03:41:15] Production.INFO: ==17343== Releasing lock...
[2025-04-12 03:41:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 03:41:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 03:41:18] Production.INFO: count ==307
[2025-04-12 03:41:18] Production.ERROR: pbx CDR StartTime 2025-04-12 00:41:05 - End Time 2025-04-12 03:41:05
[2025-04-12 03:41:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 03:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888871', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888871', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888871', 'tblTempVendorCDR_20' ) start
[2025-04-12 03:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888871', 'tblTempVendorCDR_20' ) end
[2025-04-12 03:41:18] Production.INFO: ProcessCDR(1,14888871,1,1,2)
[2025-04-12 03:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888871,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:41:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888871,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:41:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888871,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:41:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888871,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888871', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888871', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:41:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 03:41:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 03:41:22] Production.INFO: ==17351== Releasing lock...
[2025-04-12 03:41:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 03:41:22] Production.INFO: 29.75 MB #Memory Used#
[2025-04-12 08:42:02] Production.INFO: ==17412== Lock acquired, processing the job...
[2025-04-12 08:42:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 08:42:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 08:42:02] Production.INFO: neon service started
[2025-04-12 08:42:02] Production.INFO: neon service started
[2025-04-12 08:42:02] Production.INFO: ==17412== Releasing lock...
[2025-04-12 08:42:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 08:42:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 03:42:02] Production.INFO: ==17414== Lock acquired, processing the job...
[2025-04-12 03:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 03:42:02] Production.INFO: ==17414== Releasing lock...
[2025-04-12 03:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 03:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 07:42:03] Production.INFO: ==17416== Lock acquired, processing the job...
[2025-04-12 07:42:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 07:42:03] Production.INFO: ==17416== Releasing lock...
[2025-04-12 07:42:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 07:42:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 03:42:03] Production.INFO: ==17420== Lock acquired, processing the job...
[2025-04-12 03:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 03:42:04] Production.INFO: ==17420== Releasing lock...
[2025-04-12 03:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 03:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 03:42:04] Production.INFO: ==17418== Lock acquired, processing the job...
[2025-04-12 03:42:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 03:42:04] Production.INFO: ==17422== Lock acquired, processing the job...
[2025-04-12 03:42:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 03:42:04] Production.INFO: ==17424== Lock acquired, processing the job...
[2025-04-12 03:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 03:42:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 03:42:04] Production.INFO: ==17428== Lock acquired, processing the job...
[2025-04-12 03:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 03:42:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 03:42:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 03:42:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 03:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 03:42:04] Production.INFO: ==17426== Lock acquired, processing the job...
[2025-04-12 03:42:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 03:42:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 03:42:04] Production.INFO: Account Balance Start.
[2025-04-12 03:42:04] Production.INFO: CreateAllLog Start
[2025-04-12 03:42:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 03:42:04] Production.INFO: 117
[2025-04-12 03:42:04] Production.INFO: count ==12
[2025-04-12 03:42:04] Production.INFO: Date 2025-04-08
[2025-04-12 03:42:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 03:42:04] Production.INFO: count ==23
[2025-04-12 03:42:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888875') start
[2025-04-12 03:42:04] Production.INFO: Date 2025-04-09
[2025-04-12 03:42:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:42:04] Production.ERROR: done
[2025-04-12 03:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 03:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888875') end
[2025-04-12 03:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 03:42:04] Production.INFO: 1
[2025-04-12 03:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 03:42:04] Production.INFO: Date 2025-04-10
[2025-04-12 03:42:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:42:04] Production.INFO: Date 2025-04-11
[2025-04-12 03:42:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:42:04] Production.INFO: Date 2025-04-12
[2025-04-12 03:42:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:42:04] Production.INFO: ==17428== Releasing lock...
[2025-04-12 03:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 03:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 03:42:04] Production.INFO: Total Charge 0
[2025-04-12 03:42:04] Production.ERROR: done
[2025-04-12 03:42:04] Production.INFO: CreateAllLog End
[2025-04-12 03:42:04] Production.INFO: Account Balance End.
[2025-04-12 03:42:04] Production.ERROR: CronJobId end 12
[2025-04-12 03:42:04] Production.INFO: ==17424== Releasing lock...
[2025-04-12 03:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 03:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 03:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 00:42:05
[end_date_ymd] => 2025-04-12 03:42:05
[RateCDR] => 1
)
[2025-04-12 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-12 00:42:05' and `end` < '2025-04-12 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-12 03:42:12] Production.ERROR: CronJobId end10
[2025-04-12 03:42:12] Production.INFO: ==17422== Releasing lock...
[2025-04-12 03:42:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 03:42:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 03:42:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 03:42:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 03:42:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 03:42:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 03:42:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 03:42:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 03:42:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 03:42:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 03:42:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 03:42:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 03:42:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 03:42:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 03:42:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 03:42:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 03:42:14] Production.INFO: call_cost start
[2025-04-12 03:42:14] Production.INFO: call_cost end
[2025-04-12 03:42:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 03:42:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 03:42:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 03:42:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 03:42:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 03:42:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 03:42:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 03:42:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 03:42:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 03:42:15] Production.INFO: ==17418== Releasing lock...
[2025-04-12 03:42:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 03:42:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 03:42:18] Production.INFO: count ==307
[2025-04-12 03:42:18] Production.ERROR: pbx CDR StartTime 2025-04-12 00:42:05 - End Time 2025-04-12 03:42:05
[2025-04-12 03:42:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 03:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888876', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888876', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888876', 'tblTempVendorCDR_20' ) start
[2025-04-12 03:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888876', 'tblTempVendorCDR_20' ) end
[2025-04-12 03:42:18] Production.INFO: ProcessCDR(1,14888876,1,1,2)
[2025-04-12 03:42:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888876,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:42:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888876,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:42:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888876,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:42:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888876,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888876', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888876', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:42:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 03:42:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 03:42:22] Production.INFO: ==17426== Releasing lock...
[2025-04-12 03:42:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 03:42:22] Production.INFO: 29.75 MB #Memory Used#
[2025-04-12 08:43:01] Production.INFO: ==17485== Lock acquired, processing the job...
[2025-04-12 08:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 08:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 08:43:01] Production.INFO: neon service started
[2025-04-12 08:43:01] Production.INFO: neon service started
[2025-04-12 08:43:01] Production.INFO: ==17485== Releasing lock...
[2025-04-12 08:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 08:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 03:43:02] Production.INFO: ==17487== Lock acquired, processing the job...
[2025-04-12 03:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 03:43:02] Production.INFO: ==17487== Releasing lock...
[2025-04-12 03:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 03:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 07:43:02] Production.INFO: ==17489== Lock acquired, processing the job...
[2025-04-12 07:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 07:43:02] Production.INFO: ==17489== Releasing lock...
[2025-04-12 07:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 07:43:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 03:43:03] Production.INFO: ==17498== Lock acquired, processing the job...
[2025-04-12 03:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 03:43:03] Production.INFO: ==17502== Lock acquired, processing the job...
[2025-04-12 03:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 03:43:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 03:43:03] Production.INFO: ==17492== Lock acquired, processing the job...
[2025-04-12 03:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 03:43:03] Production.INFO: ==17494== Lock acquired, processing the job...
[2025-04-12 03:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 03:43:03] Production.INFO: Account Balance Start.
[2025-04-12 03:43:03] Production.INFO: CreateAllLog Start
[2025-04-12 03:43:03] Production.INFO: 117
[2025-04-12 03:43:03] Production.INFO: count ==12
[2025-04-12 03:43:03] Production.INFO: Date 2025-04-08
[2025-04-12 03:43:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 03:43:03] Production.INFO: count ==23
[2025-04-12 03:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14888877') start
[2025-04-12 03:43:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 03:43:03] Production.INFO: Date 2025-04-09
[2025-04-12 03:43:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:43:03] Production.INFO: ==17496== Lock acquired, processing the job...
[2025-04-12 03:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 03:43:03] Production.INFO: Date 2025-04-10
[2025-04-12 03:43:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14888877') end
[2025-04-12 03:43:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 03:43:03] Production.INFO: 1
[2025-04-12 03:43:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 03:43:03] Production.INFO: Date 2025-04-11
[2025-04-12 03:43:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:43:03] Production.INFO: ==17502== Releasing lock...
[2025-04-12 03:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 03:43:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 03:43:04] Production.INFO: Date 2025-04-12
[2025-04-12 03:43:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:43:04] Production.INFO: ==17500== Lock acquired, processing the job...
[2025-04-12 03:43:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 03:43:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 03:43:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 03:43:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 03:43:04] Production.INFO: Total Charge 0
[2025-04-12 03:43:04] Production.INFO: CreateAllLog End
[2025-04-12 03:43:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 03:43:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 03:43:04] Production.INFO: ==17494== Releasing lock...
[2025-04-12 03:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 03:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 03:43:04] Production.INFO: Account Balance End.
[2025-04-12 03:43:04] Production.ERROR: CronJobId end 12
[2025-04-12 03:43:04] Production.INFO: ==17498== Releasing lock...
[2025-04-12 03:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 03:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 03:43:04] Production.ERROR: done
[2025-04-12 03:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 03:43:04] Production.ERROR: done
[2025-04-12 03:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 00:43:05
[end_date_ymd] => 2025-04-12 03:43:05
[RateCDR] => 1
)
[2025-04-12 03:43:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 00:43:05' and `end` < '2025-04-12 03:43:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 03:43:13] Production.ERROR: CronJobId end10
[2025-04-12 03:43:13] Production.INFO: ==17496== Releasing lock...
[2025-04-12 03:43:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 03:43:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 03:43:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 03:43:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 03:43:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 03:43:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 03:43:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 03:43:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 03:43:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 03:43:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 03:43:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 03:43:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 03:43:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 03:43:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 03:43:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 03:43:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 03:43:16] Production.INFO: call_cost start
[2025-04-12 03:43:16] Production.INFO: call_cost end
[2025-04-12 03:43:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 03:43:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 03:43:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 03:43:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 03:43:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 03:43:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 03:43:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 03:43:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 03:43:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 03:43:17] Production.INFO: ==17492== Releasing lock...
[2025-04-12 03:43:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 03:43:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 03:43:18] Production.INFO: count ==307
[2025-04-12 03:43:18] Production.ERROR: pbx CDR StartTime 2025-04-12 00:43:05 - End Time 2025-04-12 03:43:05
[2025-04-12 03:43:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 03:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888881', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888881', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888881', 'tblTempVendorCDR_20' ) start
[2025-04-12 03:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888881', 'tblTempVendorCDR_20' ) end
[2025-04-12 03:43:18] Production.INFO: ProcessCDR(1,14888881,1,1,2)
[2025-04-12 03:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888881,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:43:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888881,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:43:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888881,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:43:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888881,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888881', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888881', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:43:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 03:43:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 03:43:22] Production.INFO: ==17500== Releasing lock...
[2025-04-12 03:43:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 03:43:22] Production.INFO: 29.75 MB #Memory Used#
[2025-04-12 08:44:01] Production.INFO: ==17556== Lock acquired, processing the job...
[2025-04-12 08:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 08:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 08:44:01] Production.INFO: neon service started
[2025-04-12 08:44:01] Production.INFO: neon service started
[2025-04-12 08:44:01] Production.INFO: ==17556== Releasing lock...
[2025-04-12 08:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 08:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 03:44:02] Production.INFO: ==17558== Lock acquired, processing the job...
[2025-04-12 03:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 07:44:02] Production.INFO: ==17560== Lock acquired, processing the job...
[2025-04-12 07:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 07:44:02] Production.INFO: ==17560== Releasing lock...
[2025-04-12 07:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 07:44:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 03:44:02] Production.INFO: ==17558== Releasing lock...
[2025-04-12 03:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 03:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 03:44:03] Production.INFO: ==17569== Lock acquired, processing the job...
[2025-04-12 03:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 03:44:03] Production.INFO: Account Balance Start.
[2025-04-12 03:44:03] Production.INFO: CreateAllLog Start
[2025-04-12 03:44:03] Production.INFO: 117
[2025-04-12 03:44:03] Production.INFO: Date 2025-04-08
[2025-04-12 03:44:03] Production.INFO: ==17573== Lock acquired, processing the job...
[2025-04-12 03:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 03:44:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:44:03] Production.INFO: Date 2025-04-09
[2025-04-12 03:44:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:44:03] Production.INFO: Date 2025-04-10
[2025-04-12 03:44:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:44:03] Production.INFO: ==17563== Lock acquired, processing the job...
[2025-04-12 03:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 03:44:03] Production.INFO: Date 2025-04-11
[2025-04-12 03:44:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:44:03] Production.INFO: ==17565== Lock acquired, processing the job...
[2025-04-12 03:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 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-12 03:44:03] Production.INFO: ==17567== Lock acquired, processing the job...
[2025-04-12 03:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 03:44:03] Production.INFO: count ==12
[2025-04-12 03:44:03] Production.INFO: Date 2025-04-12
[2025-04-12 03:44:03] Production.INFO: Reseller ==> 0
[2025-04-12 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-12 03:44:03] Production.INFO: count ==23
[2025-04-12 03:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14888883') start
[2025-04-12 03:44:03] Production.INFO: Total Charge 0
[2025-04-12 03:44:03] Production.INFO: ==17571== Lock acquired, processing the job...
[2025-04-12 03:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 03:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 03:44:03] Production.INFO: CreateAllLog End
[2025-04-12 03:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 03:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 03:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 03:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 03:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14888883') end
[2025-04-12 03:44:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 03:44:03] Production.INFO: 1
[2025-04-12 03:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 03:44:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 03:44:03] Production.INFO: ==17573== Releasing lock...
[2025-04-12 03:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 03:44:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 03:44:03] Production.INFO: Account Balance End.
[2025-04-12 03:44:03] Production.INFO: ==17565== Releasing lock...
[2025-04-12 03:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 03:44:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 03:44:04] Production.ERROR: CronJobId end 12
[2025-04-12 03:44:04] Production.INFO: ==17569== Releasing lock...
[2025-04-12 03:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 03:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 03:44:04] Production.ERROR: done
[2025-04-12 03:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 03:44:04] Production.ERROR: done
[2025-04-12 03:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 00:44:05
[end_date_ymd] => 2025-04-12 03:44:05
[RateCDR] => 1
)
[2025-04-12 03:44:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 00:44:05' and `end` < '2025-04-12 03:44:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 03:44:12] Production.ERROR: CronJobId end10
[2025-04-12 03:44:12] Production.INFO: ==17567== Releasing lock...
[2025-04-12 03:44:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 03:44:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 03:44:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 03:44:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 03:44:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 03:44:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 03:44:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 03:44:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 03:44:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 03:44:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 03:44:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 03:44:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 03:44:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 03:44:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 03:44:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 03:44:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 03:44:15] Production.INFO: call_cost start
[2025-04-12 03:44:15] Production.INFO: call_cost end
[2025-04-12 03:44:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 03:44:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 03:44:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 03:44:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 03:44:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 03:44:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 03:44:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 03:44:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 03:44:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 03:44:16] Production.INFO: ==17563== Releasing lock...
[2025-04-12 03:44:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 03:44:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 03:44:18] Production.INFO: count ==307
[2025-04-12 03:44:18] Production.ERROR: pbx CDR StartTime 2025-04-12 00:44:05 - End Time 2025-04-12 03:44:05
[2025-04-12 03:44:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 03:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888886', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888886', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888886', 'tblTempVendorCDR_20' ) start
[2025-04-12 03:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888886', 'tblTempVendorCDR_20' ) end
[2025-04-12 03:44:18] Production.INFO: ProcessCDR(1,14888886,1,1,2)
[2025-04-12 03:44:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888886,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:44:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888886,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:44:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888886,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:44:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888886,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888886', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888886', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:44:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 03:44:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 03:44:21] Production.INFO: ==17571== Releasing lock...
[2025-04-12 03:44:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 03:44:21] Production.INFO: 29.75 MB #Memory Used#
[2025-04-12 08:45:01] Production.INFO: ==17670== Lock acquired, processing the job...
[2025-04-12 08:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 08:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 08:45:01] Production.INFO: neon service started
[2025-04-12 08:45:01] Production.INFO: neon service started
[2025-04-12 08:45:01] Production.INFO: ==17670== Releasing lock...
[2025-04-12 08:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 08:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 03:45:02] Production.INFO: ==17672== Lock acquired, processing the job...
[2025-04-12 03:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 07:45:02] Production.INFO: ==17674== Lock acquired, processing the job...
[2025-04-12 07:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 03:45:02] Production.INFO: ==17672== Releasing lock...
[2025-04-12 03:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 03:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 07:45:02] Production.INFO: ==17674== Releasing lock...
[2025-04-12 07:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 07:45:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 03:45:03] Production.INFO: ==17679== Lock acquired, processing the job...
[2025-04-12 03:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 03:45:03] Production.INFO: ==17683== Lock acquired, processing the job...
[2025-04-12 03:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 03:45:03] Production.INFO: ==17685== Lock acquired, processing the job...
[2025-04-12 03:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 03:45:03] Production.INFO: Account Balance Start.
[2025-04-12 03:45:03] Production.INFO: CreateAllLog Start
[2025-04-12 03:45:03] Production.INFO: 117
[2025-04-12 03:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 03:45:03] Production.INFO: Date 2025-04-08
[2025-04-12 03:45:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:45:03] Production.INFO: ==17676== Lock acquired, processing the job...
[2025-04-12 03:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 03:45:03] Production.INFO: Date 2025-04-09
[2025-04-12 03:45:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:45:03] Production.INFO: ==17681== Lock acquired, processing the job...
[2025-04-12 03:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 03:45:03] Production.INFO: Date 2025-04-10
[2025-04-12 03:45:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:45:03] Production.INFO: Date 2025-04-11
[2025-04-12 03:45:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:45:03] Production.INFO: ==17687== Lock acquired, processing the job...
[2025-04-12 03:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 03:45:03] Production.INFO: ==17679== Releasing lock...
[2025-04-12 03:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 03:45:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 03:45:03] Production.INFO: Date 2025-04-12
[2025-04-12 03:45:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:45:03] Production.INFO: Total Charge 0
[2025-04-12 03:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 03:45:03] Production.INFO: CreateAllLog End
[2025-04-12 03:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 03:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 03:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 03:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 03:45:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 03:45:03] Production.ERROR: done
[2025-04-12 03:45:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 03:45:03] Production.INFO: count ==12
[2025-04-12 03:45:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 03:45:03] Production.INFO: count ==23
[2025-04-12 03:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14888890') start
[2025-04-12 03:45:03] Production.INFO: Account Balance End.
[2025-04-12 03:45:04] Production.ERROR: done
[2025-04-12 03:45:04] Production.ERROR: CronJobId end 12
[2025-04-12 03:45:04] Production.INFO: ==17683== Releasing lock...
[2025-04-12 03:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 03:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 03:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888890') end
[2025-04-12 03:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 03:45:04] Production.INFO: 1
[2025-04-12 03:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 03:45:04] Production.INFO: ==17687== Releasing lock...
[2025-04-12 03:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 03:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 03:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 00:45:05
[end_date_ymd] => 2025-04-12 03:45:05
[RateCDR] => 1
)
[2025-04-12 03:45:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 00:45:05' and `end` < '2025-04-12 03:45:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 03:45:11] Production.ERROR: CronJobId end10
[2025-04-12 03:45:11] Production.INFO: ==17681== Releasing lock...
[2025-04-12 03:45:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 03:45:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 03:45:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 03:45:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 03:45:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 03:45:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 03:45:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 03:45:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 03:45:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 03:45:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 03:45:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 03:45:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 03:45:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 03:45:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 03:45:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 03:45:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 03:45:14] Production.INFO: call_cost start
[2025-04-12 03:45:14] Production.INFO: call_cost end
[2025-04-12 03:45:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 03:45:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 03:45:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 03:45:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 03:45:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 03:45:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 03:45:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 03:45:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 03:45:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 03:45:15] Production.INFO: ==17676== Releasing lock...
[2025-04-12 03:45:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 03:45:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 03:45:18] Production.INFO: count ==306
[2025-04-12 03:45:18] Production.ERROR: pbx CDR StartTime 2025-04-12 00:45:05 - End Time 2025-04-12 03:45:05
[2025-04-12 03:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 03:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888891', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888891', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888891', 'tblTempVendorCDR_20' ) start
[2025-04-12 03:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888891', 'tblTempVendorCDR_20' ) end
[2025-04-12 03:45:18] Production.INFO: ProcessCDR(1,14888891,1,1,2)
[2025-04-12 03:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888891,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888891,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888891,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:45:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888891,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888891', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888891', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:45:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 03:45:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 03:45:21] Production.INFO: ==17685== Releasing lock...
[2025-04-12 03:45:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 03:45:21] Production.INFO: 29.75 MB #Memory Used#
[2025-04-12 08:46:02] Production.INFO: ==17744== Lock acquired, processing the job...
[2025-04-12 08:46:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 08:46:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 08:46:02] Production.INFO: neon service started
[2025-04-12 08:46:02] Production.INFO: neon service started
[2025-04-12 08:46:02] Production.INFO: ==17744== Releasing lock...
[2025-04-12 08:46:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 08:46:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 03:46:02] Production.INFO: ==17746== Lock acquired, processing the job...
[2025-04-12 03:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 03:46:02] Production.INFO: ==17746== Releasing lock...
[2025-04-12 03:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 03:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 07:46:03] Production.INFO: ==17748== Lock acquired, processing the job...
[2025-04-12 07:46:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 07:46:03] Production.INFO: ==17748== Releasing lock...
[2025-04-12 07:46:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 07:46:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 03:46:03] Production.INFO: ==17756== Lock acquired, processing the job...
[2025-04-12 03:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 03:46:03] Production.INFO: ==17760== Lock acquired, processing the job...
[2025-04-12 03:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 03:46:03] Production.INFO: ==17750== Lock acquired, processing the job...
[2025-04-12 03:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 03:46:03] Production.INFO: Account Balance Start.
[2025-04-12 03:46:03] Production.INFO: CreateAllLog Start
[2025-04-12 03:46:03] Production.INFO: 117
[2025-04-12 03:46:03] Production.INFO: Date 2025-04-08
[2025-04-12 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-12 03:46:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 03:46:03] Production.INFO: count ==12
[2025-04-12 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-12 03:46:03] Production.INFO: count ==23
[2025-04-12 03:46:03] Production.INFO: ==17752== Lock acquired, processing the job...
[2025-04-12 03:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 03:46:04] Production.INFO: ==17754== Lock acquired, processing the job...
[2025-04-12 03:46:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 03:46:04] Production.INFO: ==17758== Lock acquired, processing the job...
[2025-04-12 03:46:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 03:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888893') start
[2025-04-12 03:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888893') end
[2025-04-12 03:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 03:46:04] Production.INFO: 1
[2025-04-12 03:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 03:46:04] Production.INFO: Date 2025-04-09
[2025-04-12 03:46:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:46:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 03:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 03:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 03:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 03:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 03:46:04] Production.INFO: Date 2025-04-10
[2025-04-12 03:46:04] Production.INFO: ==17760== Releasing lock...
[2025-04-12 03:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 03:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 03:46:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:46:04] Production.INFO: Date 2025-04-11
[2025-04-12 03:46:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:46:04] Production.INFO: ==17752== Releasing lock...
[2025-04-12 03:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 03:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 03:46:04] Production.INFO: Date 2025-04-12
[2025-04-12 03:46:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:46:04] Production.INFO: Total Charge 0
[2025-04-12 03:46:04] Production.INFO: CreateAllLog End
[2025-04-12 03:46:04] Production.ERROR: done
[2025-04-12 03:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 03:46:04] Production.INFO: Account Balance End.
[2025-04-12 03:46:04] Production.ERROR: CronJobId end 12
[2025-04-12 03:46:04] Production.INFO: ==17756== Releasing lock...
[2025-04-12 03:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 03:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 03:46:04] Production.ERROR: done
[2025-04-12 03:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 00:46:05
[end_date_ymd] => 2025-04-12 03:46:05
[RateCDR] => 1
)
[2025-04-12 03:46:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 00:46:05' and `end` < '2025-04-12 03:46:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 03:46:12] Production.ERROR: CronJobId end10
[2025-04-12 03:46:12] Production.INFO: ==17754== Releasing lock...
[2025-04-12 03:46:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 03:46:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 03:46:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 03:46:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 03:46:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 03:46:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 03:46:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 03:46:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 03:46:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 03:46:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 03:46:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 03:46:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 03:46:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 03:46:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 03:46:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 03:46:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 03:46:15] Production.INFO: call_cost start
[2025-04-12 03:46:15] Production.INFO: call_cost end
[2025-04-12 03:46:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 03:46:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 03:46:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 03:46:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 03:46:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 03:46:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 03:46:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 03:46:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 03:46:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 03:46:16] Production.INFO: ==17750== Releasing lock...
[2025-04-12 03:46:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 03:46:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 03:46:18] Production.INFO: count ==306
[2025-04-12 03:46:18] Production.ERROR: pbx CDR StartTime 2025-04-12 00:46:05 - End Time 2025-04-12 03:46:05
[2025-04-12 03:46:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 03:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888896', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888896', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888896', 'tblTempVendorCDR_20' ) start
[2025-04-12 03:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888896', 'tblTempVendorCDR_20' ) end
[2025-04-12 03:46:18] Production.INFO: ProcessCDR(1,14888896,1,1,2)
[2025-04-12 03:46:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888896,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:46:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888896,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:46:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888896,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:46:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888896,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888896', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888896', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:46:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 03:46:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 03:46:21] Production.INFO: ==17758== Releasing lock...
[2025-04-12 03:46:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 03:46:21] Production.INFO: 29.75 MB #Memory Used#
[2025-04-12 08:47:01] Production.INFO: ==17814== Lock acquired, processing the job...
[2025-04-12 08:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 08:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 08:47:01] Production.INFO: neon service started
[2025-04-12 08:47:01] Production.INFO: neon service started
[2025-04-12 08:47:01] Production.INFO: ==17814== Releasing lock...
[2025-04-12 08:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 08:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 03:47:02] Production.INFO: ==17816== Lock acquired, processing the job...
[2025-04-12 03:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 03:47:02] Production.INFO: ==17816== Releasing lock...
[2025-04-12 03:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 03:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 07:47:02] Production.INFO: ==17818== Lock acquired, processing the job...
[2025-04-12 07:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 07:47:02] Production.INFO: ==17818== Releasing lock...
[2025-04-12 07:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 07:47:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 03:47:03] Production.INFO: ==17824== Lock acquired, processing the job...
[2025-04-12 03:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 03:47:03] Production.INFO: ==17820== Lock acquired, processing the job...
[2025-04-12 03:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 03:47:03] Production.INFO: ==17822== Lock acquired, processing the job...
[2025-04-12 03:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 03:47:03] Production.INFO: ==17830== Lock acquired, processing the job...
[2025-04-12 03:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 03:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 03:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 03:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 03:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 03:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 03:47:03] Production.INFO: ==17826== Lock acquired, processing the job...
[2025-04-12 03:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 03:47:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 03:47:03] Production.INFO: count ==12
[2025-04-12 03:47:03] Production.INFO: ==17828== Lock acquired, processing the job...
[2025-04-12 03:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 03:47:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 03:47:03] Production.INFO: Account Balance Start.
[2025-04-12 03:47:03] Production.INFO: count ==23
[2025-04-12 03:47:03] Production.INFO: CreateAllLog Start
[2025-04-12 03:47:03] Production.INFO: 117
[2025-04-12 03:47:03] Production.INFO: Date 2025-04-08
[2025-04-12 03:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14888898') start
[2025-04-12 03:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 03:47:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14888898') end
[2025-04-12 03:47:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 03:47:03] Production.INFO: 1
[2025-04-12 03:47:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 03:47:03] Production.INFO: Date 2025-04-09
[2025-04-12 03:47:03] Production.INFO: ==17822== Releasing lock...
[2025-04-12 03:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 03:47:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 03:47:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:47:03] Production.INFO: Date 2025-04-10
[2025-04-12 03:47:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:47:03] Production.INFO: Date 2025-04-11
[2025-04-12 03:47:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:47:04] Production.INFO: Date 2025-04-12
[2025-04-12 03:47:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:47:04] Production.INFO: ==17830== Releasing lock...
[2025-04-12 03:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 03:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 03:47:04] Production.ERROR: done
[2025-04-12 03:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 03:47:04] Production.INFO: Total Charge 0
[2025-04-12 03:47:04] Production.INFO: CreateAllLog End
[2025-04-12 03:47:04] Production.ERROR: done
[2025-04-12 03:47:04] Production.INFO: Account Balance End.
[2025-04-12 03:47:04] Production.ERROR: CronJobId end 12
[2025-04-12 03:47:04] Production.INFO: ==17826== Releasing lock...
[2025-04-12 03:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 03:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 03:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 00:47:05
[end_date_ymd] => 2025-04-12 03:47:05
[RateCDR] => 1
)
[2025-04-12 03:47:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 00:47:05' and `end` < '2025-04-12 03:47:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 03:47:12] Production.ERROR: CronJobId end10
[2025-04-12 03:47:12] Production.INFO: ==17824== Releasing lock...
[2025-04-12 03:47:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 03:47:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 03:47:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 03:47:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 03:47:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 03:47:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 03:47:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 03:47:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 03:47:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 03:47:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 03:47:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 03:47:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 03:47:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 03:47:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 03:47:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 03:47:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 03:47:15] Production.INFO: call_cost start
[2025-04-12 03:47:15] Production.INFO: call_cost end
[2025-04-12 03:47:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 03:47:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 03:47:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 03:47:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 03:47:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 03:47:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 03:47:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 03:47:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 03:47:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 03:47:16] Production.INFO: ==17820== Releasing lock...
[2025-04-12 03:47:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 03:47:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 03:47:18] Production.INFO: count ==306
[2025-04-12 03:47:18] Production.ERROR: pbx CDR StartTime 2025-04-12 00:47:05 - End Time 2025-04-12 03:47:05
[2025-04-12 03:47:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 03:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888901', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888901', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888901', 'tblTempVendorCDR_20' ) start
[2025-04-12 03:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888901', 'tblTempVendorCDR_20' ) end
[2025-04-12 03:47:18] Production.INFO: ProcessCDR(1,14888901,1,1,2)
[2025-04-12 03:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888901,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:47:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888901,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:47:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888901,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:47:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888901,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888901', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888901', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:47:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 03:47:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 03:47:21] Production.INFO: ==17828== Releasing lock...
[2025-04-12 03:47:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 03:47:21] Production.INFO: 29.75 MB #Memory Used#
[2025-04-12 08:48:02] Production.INFO: ==17885== Lock acquired, processing the job...
[2025-04-12 08:48:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 08:48:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 08:48:02] Production.INFO: neon service started
[2025-04-12 08:48:02] Production.INFO: neon service started
[2025-04-12 08:48:02] Production.INFO: ==17885== Releasing lock...
[2025-04-12 08:48:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 08:48:02] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 03:48:02] Production.INFO: ==17887== Lock acquired, processing the job...
[2025-04-12 03:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 03:48:02] Production.INFO: ==17887== Releasing lock...
[2025-04-12 03:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 03:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 07:48:03] Production.INFO: ==17889== Lock acquired, processing the job...
[2025-04-12 07:48:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 07:48:03] Production.INFO: ==17889== Releasing lock...
[2025-04-12 07:48:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 07:48:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 03:48:03] Production.INFO: ==17891== Lock acquired, processing the job...
[2025-04-12 03:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 03:48:03] Production.INFO: ==17893== Lock acquired, processing the job...
[2025-04-12 03:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 03:48:03] Production.INFO: ==17897== Lock acquired, processing the job...
[2025-04-12 03:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 03:48:03] Production.INFO: ==17899== Lock acquired, processing the job...
[2025-04-12 03:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 03:48:03] Production.INFO: ==17895== Lock acquired, processing the job...
[2025-04-12 03:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 03:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 03:48:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 03:48:04] Production.INFO: Account Balance Start.
[2025-04-12 03:48:04] Production.INFO: CreateAllLog Start
[2025-04-12 03:48:04] Production.INFO: 117
[2025-04-12 03:48:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 03:48:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 03:48:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 03:48:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 03:48:04] Production.INFO: Date 2025-04-08
[2025-04-12 03:48:04] Production.INFO: ==17901== Lock acquired, processing the job...
[2025-04-12 03:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 03:48:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:48:04] Production.INFO: Date 2025-04-09
[2025-04-12 03:48:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:48:04] Production.INFO: Date 2025-04-10
[2025-04-12 03:48:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:48:04] Production.INFO: Date 2025-04-11
[2025-04-12 03:48:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:48:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 03:48:04] Production.INFO: Date 2025-04-12
[2025-04-12 03:48:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:48:04] Production.INFO: count ==12
[2025-04-12 03:48:04] Production.INFO: Total Charge 0
[2025-04-12 03:48:04] Production.INFO: ==17893== Releasing lock...
[2025-04-12 03:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 03:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 03:48:04] Production.INFO: CreateAllLog End
[2025-04-12 03:48:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 03:48:04] Production.INFO: count ==23
[2025-04-12 03:48:04] Production.ERROR: done
[2025-04-12 03:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 03:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888905') start
[2025-04-12 03:48:04] Production.ERROR: done
[2025-04-12 03:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888905') end
[2025-04-12 03:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 03:48:04] Production.INFO: 1
[2025-04-12 03:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 03:48:04] Production.INFO: Account Balance End.
[2025-04-12 03:48:04] Production.INFO: ==17901== Releasing lock...
[2025-04-12 03:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 03:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 03:48:04] Production.ERROR: CronJobId end 12
[2025-04-12 03:48:04] Production.INFO: ==17897== Releasing lock...
[2025-04-12 03:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 03:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 03:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 00:48:05
[end_date_ymd] => 2025-04-12 03:48:05
[RateCDR] => 1
)
[2025-04-12 03:48:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 00:48:05' and `end` < '2025-04-12 03:48:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 03:48:11] Production.ERROR: CronJobId end10
[2025-04-12 03:48:11] Production.INFO: ==17895== Releasing lock...
[2025-04-12 03:48:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 03:48:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 03:48:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 03:48:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 03:48:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 03:48:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 03:48:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 03:48:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 03:48:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 03:48:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 03:48:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 03:48:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 03:48:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 03:48:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 03:48:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 03:48:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 03:48:15] Production.INFO: call_cost start
[2025-04-12 03:48:15] Production.INFO: call_cost end
[2025-04-12 03:48:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 03:48:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 03:48:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 03:48:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 03:48:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 03:48:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 03:48:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 03:48:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 03:48:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 03:48:16] Production.INFO: ==17891== Releasing lock...
[2025-04-12 03:48:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 03:48:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 03:48:18] Production.INFO: count ==304
[2025-04-12 03:48:18] Production.ERROR: pbx CDR StartTime 2025-04-12 00:48:05 - End Time 2025-04-12 03:48:05
[2025-04-12 03:48:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 03:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888906', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888906', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888906', 'tblTempVendorCDR_20' ) start
[2025-04-12 03:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888906', 'tblTempVendorCDR_20' ) end
[2025-04-12 03:48:18] Production.INFO: ProcessCDR(1,14888906,1,1,2)
[2025-04-12 03:48:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888906,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:48:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888906,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:48:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888906,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:48:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888906,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888906', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888906', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:48:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 03:48:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 03:48:21] Production.INFO: ==17899== Releasing lock...
[2025-04-12 03:48:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 03:48:21] Production.INFO: 29.75 MB #Memory Used#
[2025-04-12 08:49:01] Production.INFO: ==17959== Lock acquired, processing the job...
[2025-04-12 08:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 08:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 08:49:01] Production.INFO: neon service started
[2025-04-12 08:49:01] Production.INFO: neon service started
[2025-04-12 08:49:01] Production.INFO: ==17959== Releasing lock...
[2025-04-12 08:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 08:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 03:49:02] Production.INFO: ==17961== Lock acquired, processing the job...
[2025-04-12 03:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 03:49:02] Production.INFO: ==17961== Releasing lock...
[2025-04-12 03:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 03:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 07:49:02] Production.INFO: ==17963== Lock acquired, processing the job...
[2025-04-12 07:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 07:49:02] Production.INFO: ==17963== Releasing lock...
[2025-04-12 07:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 07:49:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 03:49:02] Production.INFO: ==17972== Lock acquired, processing the job...
[2025-04-12 03:49:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 03:49:03] Production.INFO: Account Balance Start.
[2025-04-12 03:49:03] Production.INFO: CreateAllLog Start
[2025-04-12 03:49:03] Production.INFO: 117
[2025-04-12 03:49:03] Production.INFO: Date 2025-04-08
[2025-04-12 03:49:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:49:03] Production.INFO: Date 2025-04-09
[2025-04-12 03:49:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:49:03] Production.INFO: Date 2025-04-10
[2025-04-12 03:49:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:49:03] Production.INFO: Date 2025-04-11
[2025-04-12 03:49:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:49:03] Production.INFO: Date 2025-04-12
[2025-04-12 03:49:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:49:03] Production.INFO: Total Charge 0
[2025-04-12 03:49:03] Production.INFO: CreateAllLog End
[2025-04-12 03:49:03] Production.INFO: ==17966== Lock acquired, processing the job...
[2025-04-12 03:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 03:49:03] Production.INFO: Account Balance End.
[2025-04-12 03:49:03] Production.ERROR: CronJobId end 12
[2025-04-12 03:49:03] Production.INFO: ==17972== Releasing lock...
[2025-04-12 03:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 03:49:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 03:49:03] Production.INFO: ==17968== Lock acquired, processing the job...
[2025-04-12 03:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 03:49:03] Production.INFO: ==17974== Lock acquired, processing the job...
[2025-04-12 03:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 03:49:03] Production.INFO: ==17970== Lock acquired, processing the job...
[2025-04-12 03:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 03:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 03:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 03:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 03:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 03:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 03:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 03:49:03] Production.INFO: ==17976== Lock acquired, processing the job...
[2025-04-12 03:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 03:49:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 03:49:04] Production.INFO: ==17968== Releasing lock...
[2025-04-12 03:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 03:49:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 03:49:04] Production.INFO: count ==12
[2025-04-12 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-12 03:49:04] Production.INFO: count ==23
[2025-04-12 03:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888910') start
[2025-04-12 03:49:04] Production.ERROR: done
[2025-04-12 03:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 03:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888910') end
[2025-04-12 03:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 03:49:04] Production.INFO: 1
[2025-04-12 03:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 03:49:04] Production.INFO: ==17976== Releasing lock...
[2025-04-12 03:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 03:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 03:49:04] Production.ERROR: done
[2025-04-12 03:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 00:49:05
[end_date_ymd] => 2025-04-12 03:49:05
[RateCDR] => 1
)
[2025-04-12 03:49:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 00:49:05' and `end` < '2025-04-12 03:49:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 03:49:12] Production.ERROR: CronJobId end10
[2025-04-12 03:49:12] Production.INFO: ==17970== Releasing lock...
[2025-04-12 03:49:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 03:49:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 03:49:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 03:49:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 03:49:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 03:49:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 03:49:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 03:49:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 03:49:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 03:49:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 03:49:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 03:49:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 03:49:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 03:49:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 03:49:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 03:49:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 03:49:15] Production.INFO: call_cost start
[2025-04-12 03:49:15] Production.INFO: call_cost end
[2025-04-12 03:49:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 03:49:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 03:49:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 03:49:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 03:49:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 03:49:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 03:49:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 03:49:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 03:49:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 03:49:16] Production.INFO: ==17966== Releasing lock...
[2025-04-12 03:49:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 03:49:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 03:49:18] Production.INFO: count ==304
[2025-04-12 03:49:18] Production.ERROR: pbx CDR StartTime 2025-04-12 00:49:05 - End Time 2025-04-12 03:49:05
[2025-04-12 03:49:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 03:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888911', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888911', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888911', 'tblTempVendorCDR_20' ) start
[2025-04-12 03:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888911', 'tblTempVendorCDR_20' ) end
[2025-04-12 03:49:18] Production.INFO: ProcessCDR(1,14888911,1,1,2)
[2025-04-12 03:49:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888911,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:49:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888911,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:49:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888911,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:49:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888911,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888911', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888911', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:49:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 03:49:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 03:49:21] Production.INFO: ==17974== Releasing lock...
[2025-04-12 03:49:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 03:49:21] Production.INFO: 29.75 MB #Memory Used#
[2025-04-12 08:50:02] Production.INFO: ==18032== Lock acquired, processing the job...
[2025-04-12 08:50:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 08:50:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 08:50:02] Production.INFO: neon service started
[2025-04-12 08:50:02] Production.INFO: neon service started
[2025-04-12 08:50:02] Production.INFO: ==18032== Releasing lock...
[2025-04-12 08:50:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 08:50:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 03:50:02] Production.INFO: ==18034== Lock acquired, processing the job...
[2025-04-12 03:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 03:50:02] Production.INFO: ==18034== Releasing lock...
[2025-04-12 03:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 03:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 07:50:03] Production.INFO: ==18036== Lock acquired, processing the job...
[2025-04-12 07:50:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 07:50:03] Production.INFO: ==18036== Releasing lock...
[2025-04-12 07:50:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 07:50:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 03:50:03] Production.INFO: ==18038== Lock acquired, processing the job...
[2025-04-12 03:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 03:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 03:50:03] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 03:50:03] Production.INFO: ==18038== Releasing lock...
[2025-04-12 03:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 03:50:03] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 03:50:04] Production.INFO: ==18042== Lock acquired, processing the job...
[2025-04-12 03:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 03:50:04] Production.INFO: ==18044== Lock acquired, processing the job...
[2025-04-12 03:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 03:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 03:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 03:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 03:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 03:50:04] Production.INFO: ==18051== Lock acquired, processing the job...
[2025-04-12 03:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 03:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 03:50:04] Production.INFO: ==18042== Releasing lock...
[2025-04-12 03:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 03:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 03:50:04] Production.INFO: ==18040== Lock acquired, processing the job...
[2025-04-12 03:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 03:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 03:50:04] Production.INFO: ==18047== Lock acquired, processing the job...
[2025-04-12 03:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 03:50:04] Production.INFO: ==18049== Lock acquired, processing the job...
[2025-04-12 03:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 03:50:04] Production.ERROR: done
[2025-04-12 03:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 03:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 03:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14888915', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 03:50:04] Production.INFO: Account Balance Start.
[2025-04-12 03:50:04] Production.INFO: CreateAllLog Start
[2025-04-12 03:50:04] Production.INFO: ==18053== Lock acquired, processing the job...
[2025-04-12 03:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 03:50:04] Production.INFO: 117
[2025-04-12 03:50:04] Production.INFO: Date 2025-04-08
[2025-04-12 03:50:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:50:04] Production.INFO: Date 2025-04-09
[2025-04-12 03:50:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 03:50:04] Production.INFO: Date 2025-04-10
[2025-04-12 03:50:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:50:04] Production.INFO: count ==12
[2025-04-12 03:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 03:50:04] Production.INFO: count ==23
[2025-04-12 03:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888916') start
[2025-04-12 03:50:05] Production.INFO: Date 2025-04-11
[2025-04-12 03:50:05] Production.INFO: Reseller ==> 0
[2025-04-12 03:50:05] Production.ERROR: done
[2025-04-12 03:50:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 03:50:05] Production.INFO: Date 2025-04-12
[2025-04-12 03:50:05] Production.INFO: Reseller ==> 0
[2025-04-12 03:50:05] Production.INFO: Total Charge 0
[2025-04-12 03:50:05] Production.ERROR: PBX CALL prc_importPBXExtension('14888916') end
[2025-04-12 03:50:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 03:50:05] Production.INFO: 1
[2025-04-12 03:50:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 03:50:05] Production.INFO: CreateAllLog End
[2025-04-12 03:50:05] Production.INFO: ==18053== Releasing lock...
[2025-04-12 03:50:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 03:50:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 03:50:05] Production.ERROR: done
[2025-04-12 03:50:05] Production.INFO: Account Balance End.
[2025-04-12 03:50:05] Production.ERROR: CronJobId end 12
[2025-04-12 03:50:05] Production.INFO: ==18047== Releasing lock...
[2025-04-12 03:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 03:50:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 03:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 00:50:06
[end_date_ymd] => 2025-04-12 03:50:06
[RateCDR] => 1
)
[2025-04-12 03:50:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 00:50:06' and `end` < '2025-04-12 03:50:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 03:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14888915', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 03:50:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 03:50:09] Production.INFO: ProcessCDR(1,14888915,1,1,2)
[2025-04-12 03:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14888915,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14888915,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:50:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 03:50:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 03:50:09] Production.INFO: ==18051== Releasing lock...
[2025-04-12 03:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 03:50:09] Production.INFO: 26 MB #Memory Used#
[2025-04-12 03:50:14] Production.ERROR: CronJobId end10
[2025-04-12 03:50:14] Production.INFO: ==18044== Releasing lock...
[2025-04-12 03:50:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 03:50:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 03:50:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 03:50:17] Production.INFO: ============== Balance Warning START===========
[2025-04-12 03:50:17] Production.INFO: ============== Balance Warning END===========
[2025-04-12 03:50:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 03:50:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 03:50:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 03:50:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 03:50:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 03:50:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 03:50:17] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 03:50:17] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 03:50:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 03:50:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 03:50:17] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 03:50:17] Production.INFO: call_cost start
[2025-04-12 03:50:17] Production.INFO: call_cost end
[2025-04-12 03:50:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 03:50:18] Production.INFO: ============== Report Schedule START===========
[2025-04-12 03:50:18] Production.INFO: ============== Report Schedule END===========
[2025-04-12 03:50:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 03:50:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 03:50:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 03:50:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 03:50:18] Production.INFO: ============== Deal alert START===========
[2025-04-12 03:50:18] Production.INFO: ============== Deal alert END===========
[2025-04-12 03:50:18] Production.INFO: ==18040== Releasing lock...
[2025-04-12 03:50:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 03:50:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 03:50:19] Production.INFO: count ==297
[2025-04-12 03:50:19] Production.ERROR: pbx CDR StartTime 2025-04-12 00:50:06 - End Time 2025-04-12 03:50:06
[2025-04-12 03:50:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 03:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888917', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888917', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888917', 'tblTempVendorCDR_20' ) start
[2025-04-12 03:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888917', 'tblTempVendorCDR_20' ) end
[2025-04-12 03:50:19] Production.INFO: ProcessCDR(1,14888917,1,1,2)
[2025-04-12 03:50:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888917,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:50:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888917,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:50:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888917,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:50:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888917,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:50:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888917', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:50:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888917', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:50:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 03:50:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 03:50:24] Production.INFO: ==18049== Releasing lock...
[2025-04-12 03:50:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 03:50:24] Production.INFO: 29.75 MB #Memory Used#
[2025-04-12 08:51:01] Production.INFO: ==18107== Lock acquired, processing the job...
[2025-04-12 08:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 08:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 08:51:01] Production.INFO: neon service started
[2025-04-12 08:51:01] Production.INFO: neon service started
[2025-04-12 08:51:01] Production.INFO: ==18107== Releasing lock...
[2025-04-12 08:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 08:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 03:51:01] Production.INFO: ==18109== Lock acquired, processing the job...
[2025-04-12 03:51:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 03:51:02] Production.INFO: ==18109== Releasing lock...
[2025-04-12 03:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 03:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 07:51:02] Production.INFO: ==18111== Lock acquired, processing the job...
[2025-04-12 07:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 07:51:02] Production.INFO: ==18111== Releasing lock...
[2025-04-12 07:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 07:51:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 03:51:03] Production.INFO: ==18120== Lock acquired, processing the job...
[2025-04-12 03:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 03:51:03] Production.INFO: Account Balance Start.
[2025-04-12 03:51:03] Production.INFO: CreateAllLog Start
[2025-04-12 03:51:03] Production.INFO: 117
[2025-04-12 03:51:03] Production.INFO: ==18124== Lock acquired, processing the job...
[2025-04-12 03:51:03] Production.INFO: Date 2025-04-08
[2025-04-12 03:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 03:51:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:51:03] Production.INFO: ==18116== Lock acquired, processing the job...
[2025-04-12 03:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 03:51:03] Production.INFO: Date 2025-04-09
[2025-04-12 03:51:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:51:03] Production.INFO: ==18122== Lock acquired, processing the job...
[2025-04-12 03:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 03:51:03] Production.INFO: ==18118== Lock acquired, processing the job...
[2025-04-12 03:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 03:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 03:51:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 03:51:03] Production.INFO: Date 2025-04-10
[2025-04-12 03:51:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:51:03] Production.INFO: count ==12
[2025-04-12 03:51:03] Production.INFO: ==18114== Lock acquired, processing the job...
[2025-04-12 03:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 03:51:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 03:51:03] Production.INFO: count ==23
[2025-04-12 03:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14888919') start
[2025-04-12 03:51:03] Production.INFO: Date 2025-04-11
[2025-04-12 03:51:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:51:03] Production.INFO: Date 2025-04-12
[2025-04-12 03:51:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14888919') end
[2025-04-12 03:51:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 03:51:03] Production.INFO: 1
[2025-04-12 03:51:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 03:51:03] Production.INFO: Total Charge 0
[2025-04-12 03:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 03:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 03:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 03:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 03:51:03] Production.INFO: CreateAllLog End
[2025-04-12 03:51:03] Production.INFO: ==18124== Releasing lock...
[2025-04-12 03:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 03:51:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 03:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 03:51:03] Production.INFO: ==18116== Releasing lock...
[2025-04-12 03:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 03:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 03:51:03] Production.ERROR: done
[2025-04-12 03:51:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 03:51:03] Production.ERROR: done
[2025-04-12 03:51:04] Production.INFO: Account Balance End.
[2025-04-12 03:51:04] Production.ERROR: CronJobId end 12
[2025-04-12 03:51:04] Production.INFO: ==18120== Releasing lock...
[2025-04-12 03:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 03:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 03:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 00:51:05
[end_date_ymd] => 2025-04-12 03:51:05
[RateCDR] => 1
)
[2025-04-12 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-12 00:51:05' and `end` < '2025-04-12 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-12 03:51:11] Production.ERROR: CronJobId end10
[2025-04-12 03:51:11] Production.INFO: ==18118== Releasing lock...
[2025-04-12 03:51:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 03:51:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 03:51:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 03:51:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 03:51:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 03:51:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 03:51:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 03:51:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 03:51:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 03:51:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 03:51:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 03:51:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 03:51:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 03:51:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 03:51:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 03:51:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 03:51:14] Production.INFO: call_cost start
[2025-04-12 03:51:14] Production.INFO: call_cost end
[2025-04-12 03:51:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 03:51:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 03:51:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 03:51:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 03:51:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 03:51:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 03:51:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 03:51:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 03:51:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 03:51:15] Production.INFO: ==18114== Releasing lock...
[2025-04-12 03:51:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 03:51:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 03:51:17] Production.INFO: count ==279
[2025-04-12 03:51:17] Production.ERROR: pbx CDR StartTime 2025-04-12 00:51:05 - End Time 2025-04-12 03:51:05
[2025-04-12 03:51:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 03:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888922', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888922', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888922', 'tblTempVendorCDR_20' ) start
[2025-04-12 03:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888922', 'tblTempVendorCDR_20' ) end
[2025-04-12 03:51:17] Production.INFO: ProcessCDR(1,14888922,1,1,2)
[2025-04-12 03:51:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888922,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:51:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888922,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:51:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888922,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:51:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888922,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888922', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888922', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:51:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 03:51:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 03:51:21] Production.INFO: ==18122== Releasing lock...
[2025-04-12 03:51:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 03:51:21] Production.INFO: 29.5 MB #Memory Used#
[2025-04-12 08:52:02] Production.INFO: ==18181== Lock acquired, processing the job...
[2025-04-12 08:52:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 08:52:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 08:52:02] Production.INFO: neon service started
[2025-04-12 08:52:02] Production.INFO: neon service started
[2025-04-12 08:52:02] Production.INFO: ==18181== Releasing lock...
[2025-04-12 08:52:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 08:52:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 03:52:02] Production.INFO: ==18183== Lock acquired, processing the job...
[2025-04-12 03:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 03:52:02] Production.INFO: ==18183== Releasing lock...
[2025-04-12 03:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 03:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 07:52:02] Production.INFO: ==18185== Lock acquired, processing the job...
[2025-04-12 07:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 07:52:02] Production.INFO: ==18185== Releasing lock...
[2025-04-12 07:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 07:52:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 03:52:03] Production.INFO: ==18187== Lock acquired, processing the job...
[2025-04-12 03:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 03:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 03:52:03] Production.INFO: ==18189== Lock acquired, processing the job...
[2025-04-12 03:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 03:52:03] Production.INFO: ==18198== Lock acquired, processing the job...
[2025-04-12 03:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 03:52:03] Production.INFO: ==18196== Lock acquired, processing the job...
[2025-04-12 03:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 03:52:03] Production.INFO: ==18191== Lock acquired, processing the job...
[2025-04-12 03:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 03:52:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 03:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 03:52:03] Production.INFO: count ==12
[2025-04-12 03:52:03] Production.INFO: ==18193== Lock acquired, processing the job...
[2025-04-12 03:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 03:52:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 03:52:04] Production.INFO: count ==23
[2025-04-12 03:52:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 03:52:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 03:52:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 03:52:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 03:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888924') start
[2025-04-12 03:52:04] Production.INFO: Account Balance Start.
[2025-04-12 03:52:04] Production.INFO: CreateAllLog Start
[2025-04-12 03:52:04] Production.INFO: 117
[2025-04-12 03:52:04] Production.INFO: Date 2025-04-08
[2025-04-12 03:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888924') end
[2025-04-12 03:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 03:52:04] Production.INFO: 1
[2025-04-12 03:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 03:52:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:52:04] Production.INFO: Date 2025-04-09
[2025-04-12 03:52:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:52:04] Production.INFO: ==18198== Releasing lock...
[2025-04-12 03:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 03:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 03:52:04] Production.INFO: Date 2025-04-10
[2025-04-12 03:52:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:52:04] Production.INFO: ==18189== Releasing lock...
[2025-04-12 03:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 03:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 03:52:04] Production.INFO: Date 2025-04-11
[2025-04-12 03:52:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:52:04] Production.ERROR: done
[2025-04-12 03:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 03:52:04] Production.INFO: Date 2025-04-12
[2025-04-12 03:52:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:52:04] Production.INFO: Total Charge 0
[2025-04-12 03:52:04] Production.INFO: CreateAllLog End
[2025-04-12 03:52:04] Production.ERROR: done
[2025-04-12 03:52:04] Production.INFO: Account Balance End.
[2025-04-12 03:52:04] Production.ERROR: CronJobId end 12
[2025-04-12 03:52:04] Production.INFO: ==18193== Releasing lock...
[2025-04-12 03:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 03:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 03:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 00:52:05
[end_date_ymd] => 2025-04-12 03:52:05
[RateCDR] => 1
)
[2025-04-12 03:52:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 00:52:05' and `end` < '2025-04-12 03:52:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 03:52:12] Production.ERROR: CronJobId end10
[2025-04-12 03:52:12] Production.INFO: ==18191== Releasing lock...
[2025-04-12 03:52:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 03:52:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 03:52:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 03:52:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 03:52:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 03:52:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 03:52:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 03:52:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 03:52:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 03:52:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 03:52:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 03:52:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 03:52:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 03:52:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 03:52:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 03:52:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 03:52:14] Production.INFO: call_cost start
[2025-04-12 03:52:14] Production.INFO: call_cost end
[2025-04-12 03:52:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 03:52:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 03:52:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 03:52:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 03:52:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 03:52:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 03:52:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 03:52:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 03:52:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 03:52:15] Production.INFO: ==18187== Releasing lock...
[2025-04-12 03:52:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 03:52:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 03:52:18] Production.INFO: count ==279
[2025-04-12 03:52:18] Production.ERROR: pbx CDR StartTime 2025-04-12 00:52:05 - End Time 2025-04-12 03:52:05
[2025-04-12 03:52:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 03:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888927', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888927', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888927', 'tblTempVendorCDR_20' ) start
[2025-04-12 03:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888927', 'tblTempVendorCDR_20' ) end
[2025-04-12 03:52:18] Production.INFO: ProcessCDR(1,14888927,1,1,2)
[2025-04-12 03:52:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888927,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:52:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888927,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:52:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888927,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:52:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888927,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888927', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888927', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:52:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 03:52:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 03:52:21] Production.INFO: ==18196== Releasing lock...
[2025-04-12 03:52:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 03:52:21] Production.INFO: 29.5 MB #Memory Used#
[2025-04-12 08:53:01] Production.INFO: ==18254== Lock acquired, processing the job...
[2025-04-12 08:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 08:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 08:53:01] Production.INFO: neon service started
[2025-04-12 08:53:01] Production.INFO: neon service started
[2025-04-12 08:53:01] Production.INFO: ==18254== Releasing lock...
[2025-04-12 08:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 08:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 07:53:01] Production.INFO: ==18258== Lock acquired, processing the job...
[2025-04-12 07:53:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 07:53:02] Production.INFO: ==18258== Releasing lock...
[2025-04-12 07:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 07:53:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 03:53:02] Production.INFO: ==18256== Lock acquired, processing the job...
[2025-04-12 03:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 03:53:02] Production.INFO: ==18256== Releasing lock...
[2025-04-12 03:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 03:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 03:53:03] Production.INFO: ==18261== Lock acquired, processing the job...
[2025-04-12 03:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 03:53:03] Production.INFO: ==18269== Lock acquired, processing the job...
[2025-04-12 03:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 03:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 03:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 03:53:03] Production.INFO: ==18263== Lock acquired, processing the job...
[2025-04-12 03:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 03:53:03] Production.INFO: ==18267== Lock acquired, processing the job...
[2025-04-12 03:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 03:53:03] Production.INFO: ==18265== Lock acquired, processing the job...
[2025-04-12 03:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 03:53:03] Production.INFO: ==18271== Lock acquired, processing the job...
[2025-04-12 03:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 03:53:03] Production.INFO: Account Balance Start.
[2025-04-12 03:53:03] Production.INFO: CreateAllLog Start
[2025-04-12 03:53:03] Production.INFO: 117
[2025-04-12 03:53:03] Production.INFO: Date 2025-04-08
[2025-04-12 03:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 03:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 03:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 03:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 03:53:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:53:03] Production.INFO: Date 2025-04-09
[2025-04-12 03:53:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:53:03] Production.INFO: Date 2025-04-10
[2025-04-12 03:53:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:53:03] Production.INFO: Date 2025-04-11
[2025-04-12 03:53:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:53:04] Production.ERROR: done
[2025-04-12 03:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 03:53:04] Production.INFO: Date 2025-04-12
[2025-04-12 03:53:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:53:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 03:53:04] Production.INFO: Total Charge 0
[2025-04-12 03:53:04] Production.INFO: CreateAllLog End
[2025-04-12 03:53:04] Production.INFO: count ==12
[2025-04-12 03:53:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 03:53:04] Production.INFO: count ==23
[2025-04-12 03:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888931') start
[2025-04-12 03:53:04] Production.ERROR: done
[2025-04-12 03:53:04] Production.INFO: ==18263== Releasing lock...
[2025-04-12 03:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 03:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 03:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888931') end
[2025-04-12 03:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 03:53:04] Production.INFO: 1
[2025-04-12 03:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 03:53:04] Production.INFO: Account Balance End.
[2025-04-12 03:53:04] Production.ERROR: CronJobId end 12
[2025-04-12 03:53:04] Production.INFO: ==18267== Releasing lock...
[2025-04-12 03:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 03:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 03:53:04] Production.INFO: ==18271== Releasing lock...
[2025-04-12 03:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 03:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 03:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 00:53:05
[end_date_ymd] => 2025-04-12 03:53:05
[RateCDR] => 1
)
[2025-04-12 03:53:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 00:53:05' and `end` < '2025-04-12 03:53:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 03:53:12] Production.ERROR: CronJobId end10
[2025-04-12 03:53:12] Production.INFO: ==18265== Releasing lock...
[2025-04-12 03:53:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 03:53:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 03:53:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 03:53:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 03:53:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 03:53:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 03:53:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 03:53:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 03:53:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 03:53:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 03:53:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 03:53:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 03:53:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 03:53:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 03:53:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 03:53:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 03:53:15] Production.INFO: call_cost start
[2025-04-12 03:53:15] Production.INFO: call_cost end
[2025-04-12 03:53:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 03:53:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 03:53:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 03:53:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 03:53:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 03:53:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 03:53:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 03:53:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 03:53:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 03:53:16] Production.INFO: ==18261== Releasing lock...
[2025-04-12 03:53:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 03:53:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 03:53:18] Production.INFO: count ==278
[2025-04-12 03:53:18] Production.ERROR: pbx CDR StartTime 2025-04-12 00:53:05 - End Time 2025-04-12 03:53:05
[2025-04-12 03:53:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 03:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888932', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888932', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888932', 'tblTempVendorCDR_20' ) start
[2025-04-12 03:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888932', 'tblTempVendorCDR_20' ) end
[2025-04-12 03:53:18] Production.INFO: ProcessCDR(1,14888932,1,1,2)
[2025-04-12 03:53:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888932,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:53:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888932,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:53:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888932,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:53:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888932,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888932', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888932', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:53:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 03:53:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 03:53:22] Production.INFO: ==18269== Releasing lock...
[2025-04-12 03:53:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 03:53:22] Production.INFO: 29.5 MB #Memory Used#
[2025-04-12 08:54:02] Production.INFO: ==18327== Lock acquired, processing the job...
[2025-04-12 08:54:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 08:54:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 08:54:02] Production.INFO: neon service started
[2025-04-12 08:54:02] Production.INFO: neon service started
[2025-04-12 08:54:02] Production.INFO: ==18327== Releasing lock...
[2025-04-12 08:54:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 08:54:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 03:54:02] Production.INFO: ==18330== Lock acquired, processing the job...
[2025-04-12 03:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 07:54:02] Production.INFO: ==18332== Lock acquired, processing the job...
[2025-04-12 07:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 07:54:02] Production.INFO: ==18332== Releasing lock...
[2025-04-12 07:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 07:54:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 03:54:03] Production.INFO: ==18330== Releasing lock...
[2025-04-12 03:54:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 03:54:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 03:54:04] Production.INFO: ==18334== Lock acquired, processing the job...
[2025-04-12 03:54:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 03:54:04] Production.INFO: ==18336== Lock acquired, processing the job...
[2025-04-12 03:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 03:54:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 03:54:04] Production.INFO: ==18340== Lock acquired, processing the job...
[2025-04-12 03:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 03:54:04] Production.INFO: Account Balance Start.
[2025-04-12 03:54:04] Production.INFO: CreateAllLog Start
[2025-04-12 03:54:04] Production.INFO: 117
[2025-04-12 03:54:04] Production.INFO: Date 2025-04-08
[2025-04-12 03:54:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:54:04] Production.INFO: Date 2025-04-09
[2025-04-12 03:54:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:54:04] Production.INFO: ==18338== Lock acquired, processing the job...
[2025-04-12 03:54:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 03:54:04] Production.INFO: Date 2025-04-10
[2025-04-12 03:54:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:54:04] Production.INFO: Date 2025-04-11
[2025-04-12 03:54:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:54:04] Production.INFO: Date 2025-04-12
[2025-04-12 03:54:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:54:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 03:54:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 03:54:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 03:54:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 03:54:04] Production.INFO: ==18336== Releasing lock...
[2025-04-12 03:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 03:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 03:54:04] Production.INFO: ==18342== Lock acquired, processing the job...
[2025-04-12 03:54:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 03:54:04] Production.INFO: Total Charge 0
[2025-04-12 03:54:04] Production.INFO: ==18344== Lock acquired, processing the job...
[2025-04-12 03:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 03:54:04] Production.INFO: CreateAllLog End
[2025-04-12 03:54:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 03:54:04] Production.INFO: Account Balance End.
[2025-04-12 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-12 03:54:04] Production.INFO: count ==12
[2025-04-12 03:54:04] Production.ERROR: CronJobId end 12
[2025-04-12 03:54:04] Production.INFO: ==18340== Releasing lock...
[2025-04-12 03:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 03:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 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-12 03:54:04] Production.INFO: count ==23
[2025-04-12 03:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888936') start
[2025-04-12 03:54:05] Production.ERROR: PBX CALL prc_importPBXExtension('14888936') end
[2025-04-12 03:54:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 03:54:05] Production.INFO: 1
[2025-04-12 03:54:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 03:54:05] Production.INFO: ==18344== Releasing lock...
[2025-04-12 03:54:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 03:54:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 03:54:05] Production.ERROR: done
[2025-04-12 03:54:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 03:54:05] Production.ERROR: done
[2025-04-12 03:54:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 00:54:06
[end_date_ymd] => 2025-04-12 03:54:06
[RateCDR] => 1
)
[2025-04-12 03: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-12 00:54:06' and `end` < '2025-04-12 03: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-12 03:54:12] Production.ERROR: CronJobId end10
[2025-04-12 03:54:12] Production.INFO: ==18338== Releasing lock...
[2025-04-12 03:54:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 03:54:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 03:54:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 03:54:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 03:54:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 03:54:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 03:54:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 03:54:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 03:54:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 03:54:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 03:54:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 03:54:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 03:54:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 03:54:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 03:54:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 03:54:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 03:54:14] Production.INFO: call_cost start
[2025-04-12 03:54:14] Production.INFO: call_cost end
[2025-04-12 03:54:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 03:54:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 03:54:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 03:54:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 03:54:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 03:54:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 03:54:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 03:54:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 03:54:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 03:54:15] Production.INFO: ==18334== Releasing lock...
[2025-04-12 03:54:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 03:54:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 03:54:19] Production.INFO: count ==277
[2025-04-12 03:54:19] Production.ERROR: pbx CDR StartTime 2025-04-12 00:54:06 - End Time 2025-04-12 03:54:06
[2025-04-12 03:54:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 03:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888937', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888937', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888937', 'tblTempVendorCDR_20' ) start
[2025-04-12 03:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888937', 'tblTempVendorCDR_20' ) end
[2025-04-12 03:54:19] Production.INFO: ProcessCDR(1,14888937,1,1,2)
[2025-04-12 03:54:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888937,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:54:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888937,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:54:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888937,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:54:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888937,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888937', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888937', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:54:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 03:54:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 03:54:22] Production.INFO: ==18342== Releasing lock...
[2025-04-12 03:54:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 03:54:22] Production.INFO: 29.5 MB #Memory Used#
[2025-04-12 08:55:01] Production.INFO: ==18399== Lock acquired, processing the job...
[2025-04-12 08:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 08:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 08:55:01] Production.INFO: neon service started
[2025-04-12 08:55:01] Production.INFO: neon service started
[2025-04-12 08:55:01] Production.INFO: ==18399== Releasing lock...
[2025-04-12 08:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 08:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 03:55:01] Production.INFO: ==18401== Lock acquired, processing the job...
[2025-04-12 03:55:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 03:55:02] Production.INFO: ==18401== Releasing lock...
[2025-04-12 03:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 03:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 07:55:02] Production.INFO: ==18403== Lock acquired, processing the job...
[2025-04-12 07:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 07:55:02] Production.INFO: ==18403== Releasing lock...
[2025-04-12 07:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 07:55:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 03:55:03] Production.INFO: ==18410== Lock acquired, processing the job...
[2025-04-12 03:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 03:55:03] Production.INFO: ==18408== Lock acquired, processing the job...
[2025-04-12 03:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 03:55:03] Production.INFO: ==18414== Lock acquired, processing the job...
[2025-04-12 03:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 03:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 03:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 03:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 03:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 03:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 03:55:03] Production.INFO: ==18416== Lock acquired, processing the job...
[2025-04-12 03:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 03:55:03] Production.INFO: ==18406== Lock acquired, processing the job...
[2025-04-12 03:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 03:55:03] Production.INFO: ==18408== Releasing lock...
[2025-04-12 03:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 03:55:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 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-12 03:55:03] Production.INFO: ==18412== Lock acquired, processing the job...
[2025-04-12 03:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 03:55:03] Production.INFO: count ==12
[2025-04-12 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-12 03:55:03] Production.INFO: count ==23
[2025-04-12 03:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14888939') start
[2025-04-12 03:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 03:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14888939') end
[2025-04-12 03:55:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 03:55:03] Production.INFO: 1
[2025-04-12 03:55:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 03:55:03] Production.ERROR: done
[2025-04-12 03:55:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 03:55:03] Production.INFO: Account Balance Start.
[2025-04-12 03:55:03] Production.INFO: CreateAllLog Start
[2025-04-12 03:55:03] Production.INFO: 117
[2025-04-12 03:55:03] Production.INFO: Date 2025-04-08
[2025-04-12 03:55:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:55:03] Production.INFO: Date 2025-04-09
[2025-04-12 03:55:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:55:03] Production.INFO: Date 2025-04-10
[2025-04-12 03:55:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:55:03] Production.INFO: Date 2025-04-11
[2025-04-12 03:55:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:55:03] Production.INFO: Date 2025-04-12
[2025-04-12 03:55:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:55:03] Production.INFO: ==18416== Releasing lock...
[2025-04-12 03:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 03:55:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 03:55:03] Production.ERROR: done
[2025-04-12 03:55:03] Production.INFO: Total Charge 0
[2025-04-12 03:55:03] Production.INFO: CreateAllLog End
[2025-04-12 03:55:04] Production.INFO: Account Balance End.
[2025-04-12 03:55:04] Production.ERROR: CronJobId end 12
[2025-04-12 03:55:04] Production.INFO: ==18412== Releasing lock...
[2025-04-12 03:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 03:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 03:55:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 00:55:04
[end_date_ymd] => 2025-04-12 03:55:04
[RateCDR] => 1
)
[2025-04-12 03: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-12 00:55:04' and `end` < '2025-04-12 03: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-12 03:55:11] Production.ERROR: CronJobId end10
[2025-04-12 03:55:11] Production.INFO: ==18410== Releasing lock...
[2025-04-12 03:55:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 03:55:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 03:55:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 03:55:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 03:55:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 03:55:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 03:55:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 03:55:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 03:55:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 03:55:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 03:55:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 03:55:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 03:55:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 03:55:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 03:55:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 03:55:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 03:55:14] Production.INFO: call_cost start
[2025-04-12 03:55:14] Production.INFO: call_cost end
[2025-04-12 03:55:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 03:55:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 03:55:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 03:55:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 03:55:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 03:55:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 03:55:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 03:55:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 03:55:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 03:55:15] Production.INFO: ==18406== Releasing lock...
[2025-04-12 03:55:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 03:55:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 03:55:17] Production.INFO: count ==277
[2025-04-12 03:55:17] Production.ERROR: pbx CDR StartTime 2025-04-12 00:55:04 - End Time 2025-04-12 03:55:04
[2025-04-12 03:55:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 03:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888942', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888942', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888942', 'tblTempVendorCDR_20' ) start
[2025-04-12 03:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888942', 'tblTempVendorCDR_20' ) end
[2025-04-12 03:55:17] Production.INFO: ProcessCDR(1,14888942,1,1,2)
[2025-04-12 03:55:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888942,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:55:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888942,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:55:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888942,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:55:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888942,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888942', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888942', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:55:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 03:55:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 03:55:21] Production.INFO: ==18414== Releasing lock...
[2025-04-12 03:55:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 03:55:21] Production.INFO: 29.5 MB #Memory Used#
[2025-04-12 08:56:01] Production.INFO: ==18474== Lock acquired, processing the job...
[2025-04-12 08:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 08:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 08:56:02] Production.INFO: neon service started
[2025-04-12 08:56:02] Production.INFO: neon service started
[2025-04-12 08:56:02] Production.INFO: ==18474== Releasing lock...
[2025-04-12 08:56:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 08:56:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 07:56:02] Production.INFO: ==18478== Lock acquired, processing the job...
[2025-04-12 07:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 07:56:02] Production.INFO: ==18478== Releasing lock...
[2025-04-12 07:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 07:56:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 03:56:02] Production.INFO: ==18476== Lock acquired, processing the job...
[2025-04-12 03:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 03:56:02] Production.INFO: ==18476== Releasing lock...
[2025-04-12 03:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 03:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 03:56:03] Production.INFO: ==18483== Lock acquired, processing the job...
[2025-04-12 03:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 03:56:03] Production.INFO: ==18485== Lock acquired, processing the job...
[2025-04-12 03:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 03:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 03:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 03:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 03:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 03:56:03] Production.INFO: ==18489== Lock acquired, processing the job...
[2025-04-12 03:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 03:56:03] Production.INFO: ==18481== Lock acquired, processing the job...
[2025-04-12 03:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 03:56:03] Production.INFO: ==18483== Releasing lock...
[2025-04-12 03:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 03:56:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 03:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 03:56:04] Production.INFO: ==18487== Lock acquired, processing the job...
[2025-04-12 03:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 03:56:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 03:56:04] Production.INFO: ==18491== Lock acquired, processing the job...
[2025-04-12 03:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 03:56:04] Production.INFO: Account Balance Start.
[2025-04-12 03:56:04] Production.INFO: CreateAllLog Start
[2025-04-12 03:56:04] Production.INFO: 117
[2025-04-12 03:56:04] Production.INFO: Date 2025-04-08
[2025-04-12 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-12 03:56:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:56:04] Production.INFO: count ==12
[2025-04-12 03:56:04] Production.INFO: Date 2025-04-09
[2025-04-12 03:56:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:56:04] Production.INFO: Date 2025-04-10
[2025-04-12 03:56:04] Production.INFO: Reseller ==> 0
[2025-04-12 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-12 03:56:04] Production.INFO: count ==23
[2025-04-12 03:56:04] Production.ERROR: done
[2025-04-12 03:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888946') start
[2025-04-12 03:56:04] Production.INFO: Date 2025-04-11
[2025-04-12 03:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 03:56:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:56:04] Production.INFO: Date 2025-04-12
[2025-04-12 03:56:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:56:04] Production.INFO: Total Charge 0
[2025-04-12 03:56:04] Production.INFO: CreateAllLog End
[2025-04-12 03:56:04] Production.ERROR: done
[2025-04-12 03:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888946') end
[2025-04-12 03:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 03:56:04] Production.INFO: 1
[2025-04-12 03:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 03:56:04] Production.INFO: Account Balance End.
[2025-04-12 03:56:04] Production.ERROR: CronJobId end 12
[2025-04-12 03:56:04] Production.INFO: ==18487== Releasing lock...
[2025-04-12 03:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 03:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 03:56:04] Production.INFO: ==18491== Releasing lock...
[2025-04-12 03:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 03:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 03:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 00:56:05
[end_date_ymd] => 2025-04-12 03:56:05
[RateCDR] => 1
)
[2025-04-12 03:56:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 00:56:05' and `end` < '2025-04-12 03:56:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 03:56:11] Production.ERROR: CronJobId end10
[2025-04-12 03:56:11] Production.INFO: ==18485== Releasing lock...
[2025-04-12 03:56:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 03:56:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 03:56:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 03:56:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 03:56:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 03:56:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 03:56:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 03:56:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 03:56:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 03:56:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 03:56:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 03:56:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 03:56:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 03:56:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 03:56:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 03:56:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 03:56:15] Production.INFO: call_cost start
[2025-04-12 03:56:15] Production.INFO: call_cost end
[2025-04-12 03:56:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 03:56:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 03:56:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 03:56:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 03:56:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 03:56:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 03:56:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 03:56:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 03:56:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 03:56:16] Production.INFO: ==18481== Releasing lock...
[2025-04-12 03:56:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 03:56:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 03:56:18] Production.INFO: count ==276
[2025-04-12 03:56:18] Production.ERROR: pbx CDR StartTime 2025-04-12 00:56:05 - End Time 2025-04-12 03:56:05
[2025-04-12 03:56:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 03:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888947', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888947', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888947', 'tblTempVendorCDR_20' ) start
[2025-04-12 03:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888947', 'tblTempVendorCDR_20' ) end
[2025-04-12 03:56:18] Production.INFO: ProcessCDR(1,14888947,1,1,2)
[2025-04-12 03:56:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888947,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:56:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888947,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:56:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888947,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:56:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888947,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888947', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888947', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:56:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 03:56:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 03:56:22] Production.INFO: ==18489== Releasing lock...
[2025-04-12 03:56:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 03:56:22] Production.INFO: 29.5 MB #Memory Used#
[2025-04-12 08:57:01] Production.INFO: ==18547== Lock acquired, processing the job...
[2025-04-12 08:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 08:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 08:57:01] Production.INFO: neon service started
[2025-04-12 08:57:01] Production.INFO: neon service started
[2025-04-12 08:57:01] Production.INFO: ==18547== Releasing lock...
[2025-04-12 08:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 08:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 03:57:01] Production.INFO: ==18549== Lock acquired, processing the job...
[2025-04-12 03:57:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 07:57:01] Production.INFO: ==18551== Lock acquired, processing the job...
[2025-04-12 07:57:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 07:57:01] Production.INFO: ==18551== Releasing lock...
[2025-04-12 07:57:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 07:57:01] Production.INFO: 25 MB #Memory Used#
[2025-04-12 03:57:02] Production.INFO: ==18549== Releasing lock...
[2025-04-12 03:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 03:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 03:57:02] Production.INFO: ==18558== Lock acquired, processing the job...
[2025-04-12 03:57:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 03:57:02] Production.INFO: ==18560== Lock acquired, processing the job...
[2025-04-12 03:57:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 03:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 03:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 03:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 03:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 03:57:03] Production.INFO: Account Balance Start.
[2025-04-12 03:57:03] Production.INFO: CreateAllLog Start
[2025-04-12 03:57:03] Production.INFO: 117
[2025-04-12 03:57:03] Production.INFO: Date 2025-04-08
[2025-04-12 03:57:03] Production.INFO: ==18564== Lock acquired, processing the job...
[2025-04-12 03:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 03:57:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:57:03] Production.INFO: Date 2025-04-09
[2025-04-12 03:57:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:57:03] Production.INFO: Date 2025-04-10
[2025-04-12 03:57:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:57:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 03:57:03] Production.INFO: Date 2025-04-11
[2025-04-12 03:57:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:57:03] Production.INFO: count ==12
[2025-04-12 03:57:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 03:57:03] Production.INFO: count ==23
[2025-04-12 03:57:03] Production.INFO: Date 2025-04-12
[2025-04-12 03:57:03] Production.INFO: Reseller ==> 0
[2025-04-12 03:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14888949') start
[2025-04-12 03:57:03] Production.INFO: Total Charge 0
[2025-04-12 03:57:03] Production.INFO: ==18556== Lock acquired, processing the job...
[2025-04-12 03:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 03:57:03] Production.INFO: CreateAllLog End
[2025-04-12 03:57:03] Production.INFO: ==18554== Lock acquired, processing the job...
[2025-04-12 03:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 03:57:03] Production.INFO: ==18562== Lock acquired, processing the job...
[2025-04-12 03:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 03:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14888949') end
[2025-04-12 03:57:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 03:57:03] Production.INFO: 1
[2025-04-12 03:57:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 03:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 03:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 03:57:03] Production.INFO: ==18564== Releasing lock...
[2025-04-12 03:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 03:57:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 03:57:03] Production.INFO: Account Balance End.
[2025-04-12 03:57:03] Production.ERROR: CronJobId end 12
[2025-04-12 03:57:03] Production.INFO: ==18560== Releasing lock...
[2025-04-12 03:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 03:57:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 03:57:03] Production.INFO: ==18556== Releasing lock...
[2025-04-12 03:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 03:57:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 03:57:03] Production.ERROR: done
[2025-04-12 03:57:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 03:57:03] Production.ERROR: done
[2025-04-12 03:57:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 00:57:04
[end_date_ymd] => 2025-04-12 03:57:04
[RateCDR] => 1
)
[2025-04-12 03:57:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 00:57:04' and `end` < '2025-04-12 03:57:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 03:57:12] Production.ERROR: CronJobId end10
[2025-04-12 03:57:12] Production.INFO: ==18558== Releasing lock...
[2025-04-12 03:57:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 03:57:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 03:57:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 03:57:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 03:57:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 03:57:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 03:57:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 03:57:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 03:57:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 03:57:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 03:57:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 03:57:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 03:57:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 03:57:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 03:57:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 03:57:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 03:57:15] Production.INFO: call_cost start
[2025-04-12 03:57:15] Production.INFO: call_cost end
[2025-04-12 03:57:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 03:57:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 03:57:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 03:57:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 03:57:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 03:57:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 03:57:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 03:57:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 03:57:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 03:57:16] Production.INFO: ==18554== Releasing lock...
[2025-04-12 03:57:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 03:57:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 03:57:17] Production.INFO: count ==275
[2025-04-12 03:57:17] Production.ERROR: pbx CDR StartTime 2025-04-12 00:57:04 - End Time 2025-04-12 03:57:04
[2025-04-12 03:57:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 03:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888952', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888952', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888952', 'tblTempVendorCDR_20' ) start
[2025-04-12 03:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888952', 'tblTempVendorCDR_20' ) end
[2025-04-12 03:57:17] Production.INFO: ProcessCDR(1,14888952,1,1,2)
[2025-04-12 03:57:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888952,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:57:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888952,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:57:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888952,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:57:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888952,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888952', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888952', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:57:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 03:57:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 03:57:21] Production.INFO: ==18562== Releasing lock...
[2025-04-12 03:57:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 03:57:21] Production.INFO: 29.5 MB #Memory Used#
[2025-04-12 08:58:01] Production.INFO: ==18622== Lock acquired, processing the job...
[2025-04-12 08:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 08:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 08:58:01] Production.INFO: neon service started
[2025-04-12 08:58:01] Production.INFO: neon service started
[2025-04-12 08:58:01] Production.INFO: ==18622== Releasing lock...
[2025-04-12 08:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 08:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 03:58:02] Production.INFO: ==18624== Lock acquired, processing the job...
[2025-04-12 03:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 03:58:02] Production.INFO: ==18624== Releasing lock...
[2025-04-12 03:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 03:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 07:58:02] Production.INFO: ==18626== Lock acquired, processing the job...
[2025-04-12 07:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 07:58:02] Production.INFO: ==18626== Releasing lock...
[2025-04-12 07:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 07:58:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 03:58:03] Production.INFO: ==18628== Lock acquired, processing the job...
[2025-04-12 03:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 03:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 03:58:03] Production.INFO: ==18630== Lock acquired, processing the job...
[2025-04-12 03:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 03:58:03] Production.INFO: ==18632== Lock acquired, processing the job...
[2025-04-12 03:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 03:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 03:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 03:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 03:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 03:58:03] Production.INFO: ==18630== Releasing lock...
[2025-04-12 03:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 03:58:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 03:58:04] Production.INFO: ==18634== Lock acquired, processing the job...
[2025-04-12 03:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 03:58:04] Production.INFO: Account Balance Start.
[2025-04-12 03:58:04] Production.INFO: CreateAllLog Start
[2025-04-12 03:58:04] Production.INFO: 117
[2025-04-12 03:58:04] Production.INFO: ==18636== Lock acquired, processing the job...
[2025-04-12 03:58:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 03:58:04] Production.INFO: Date 2025-04-08
[2025-04-12 03:58:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:58:04] Production.INFO: ==18638== Lock acquired, processing the job...
[2025-04-12 03:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 03:58:04] Production.INFO: Date 2025-04-09
[2025-04-12 03:58:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:58:04] Production.INFO: Date 2025-04-10
[2025-04-12 03:58:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:58:04] Production.INFO: Date 2025-04-11
[2025-04-12 03:58:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:58:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 03:58:04] Production.INFO: Date 2025-04-12
[2025-04-12 03:58:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:58:04] Production.INFO: Total Charge 0
[2025-04-12 03:58:04] Production.INFO: CreateAllLog End
[2025-04-12 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-12 03:58:04] Production.INFO: count ==12
[2025-04-12 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-12 03:58:04] Production.INFO: count ==23
[2025-04-12 03:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888956') start
[2025-04-12 03:58:04] Production.ERROR: done
[2025-04-12 03:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 03:58:04] Production.INFO: Account Balance End.
[2025-04-12 03:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888956') end
[2025-04-12 03:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 03:58:04] Production.INFO: 1
[2025-04-12 03:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 03:58:04] Production.ERROR: CronJobId end 12
[2025-04-12 03:58:04] Production.INFO: ==18634== Releasing lock...
[2025-04-12 03:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 03:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 03:58:04] Production.ERROR: done
[2025-04-12 03:58:04] Production.INFO: ==18638== Releasing lock...
[2025-04-12 03:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 03:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 03:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 00:58:05
[end_date_ymd] => 2025-04-12 03:58:05
[RateCDR] => 1
)
[2025-04-12 03:58:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 00:58:05' and `end` < '2025-04-12 03:58:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 03:58:12] Production.ERROR: CronJobId end10
[2025-04-12 03:58:12] Production.INFO: ==18632== Releasing lock...
[2025-04-12 03:58:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 03:58:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 03:58:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 03:58:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 03:58:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 03:58:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 03:58:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 03:58:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 03:58:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 03:58:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 03:58:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 03:58:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 03:58:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 03:58:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 03:58:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 03:58:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 03:58:15] Production.INFO: call_cost start
[2025-04-12 03:58:15] Production.INFO: call_cost end
[2025-04-12 03:58:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 03:58:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 03:58:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 03:58:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 03:58:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 03:58:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 03:58:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 03:58:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 03:58:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 03:58:16] Production.INFO: ==18628== Releasing lock...
[2025-04-12 03:58:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 03:58:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 03:58:18] Production.INFO: count ==275
[2025-04-12 03:58:18] Production.ERROR: pbx CDR StartTime 2025-04-12 00:58:05 - End Time 2025-04-12 03:58:05
[2025-04-12 03:58:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 03:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888957', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888957', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888957', 'tblTempVendorCDR_20' ) start
[2025-04-12 03:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888957', 'tblTempVendorCDR_20' ) end
[2025-04-12 03:58:18] Production.INFO: ProcessCDR(1,14888957,1,1,2)
[2025-04-12 03:58:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888957,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:58:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888957,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:58:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888957,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:58:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888957,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888957', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888957', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:58:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 03:58:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 03:58:22] Production.INFO: ==18636== Releasing lock...
[2025-04-12 03:58:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 03:58:22] Production.INFO: 29.5 MB #Memory Used#
[2025-04-12 08:59:02] Production.INFO: ==18701== Lock acquired, processing the job...
[2025-04-12 08:59:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 08:59:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 08:59:02] Production.INFO: neon service started
[2025-04-12 08:59:02] Production.INFO: neon service started
[2025-04-12 08:59:02] Production.INFO: ==18701== Releasing lock...
[2025-04-12 08:59:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 08:59:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 07:59:02] Production.INFO: ==18705== Lock acquired, processing the job...
[2025-04-12 07:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 07:59:02] Production.INFO: ==18705== Releasing lock...
[2025-04-12 07:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 07:59:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 03:59:02] Production.INFO: ==18703== Lock acquired, processing the job...
[2025-04-12 03:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 03:59:03] Production.INFO: ==18703== Releasing lock...
[2025-04-12 03:59:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 03:59:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 03:59:03] Production.INFO: ==18708== Lock acquired, processing the job...
[2025-04-12 03:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 03:59:04] Production.INFO: ==18710== Lock acquired, processing the job...
[2025-04-12 03:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 03:59:04] Production.INFO: ==18714== Lock acquired, processing the job...
[2025-04-12 03:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 03:59:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 03:59:04] Production.INFO: ==18712== Lock acquired, processing the job...
[2025-04-12 03:59:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 03:59:04] Production.INFO: Account Balance Start.
[2025-04-12 03:59:04] Production.INFO: CreateAllLog Start
[2025-04-12 03:59:04] Production.INFO: 117
[2025-04-12 03:59:04] Production.INFO: Date 2025-04-08
[2025-04-12 03:59:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:59:04] Production.INFO: ==18710== Releasing lock...
[2025-04-12 03:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 03:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 03:59:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 03:59:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 03:59:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 03:59:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 03:59:04] Production.INFO: ==18716== Lock acquired, processing the job...
[2025-04-12 03:59:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 03:59:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 03:59:04] Production.INFO: Date 2025-04-09
[2025-04-12 03:59:04] Production.INFO: ==18718== Lock acquired, processing the job...
[2025-04-12 03:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 03:59:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:59:04] Production.INFO: Date 2025-04-10
[2025-04-12 03:59:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:59:04] Production.INFO: Date 2025-04-11
[2025-04-12 03:59:04] Production.INFO: Reseller ==> 0
[2025-04-12 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-12 03:59:04] Production.INFO: count ==12
[2025-04-12 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-12 03:59:04] Production.INFO: count ==23
[2025-04-12 03:59:04] Production.INFO: Date 2025-04-12
[2025-04-12 03:59:04] Production.INFO: Reseller ==> 0
[2025-04-12 03:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888961') start
[2025-04-12 03:59:05] Production.INFO: Total Charge 0
[2025-04-12 03:59:05] Production.INFO: CreateAllLog End
[2025-04-12 03:59:05] Production.ERROR: done
[2025-04-12 03:59:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 03:59:05] Production.ERROR: PBX CALL prc_importPBXExtension('14888961') end
[2025-04-12 03:59:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 03:59:05] Production.INFO: 1
[2025-04-12 03:59:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 03:59:05] Production.INFO: ==18718== Releasing lock...
[2025-04-12 03:59:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 03:59:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 03:59:05] Production.ERROR: done
[2025-04-12 03:59:05] Production.INFO: Account Balance End.
[2025-04-12 03:59:05] Production.ERROR: CronJobId end 12
[2025-04-12 03:59:05] Production.INFO: ==18714== Releasing lock...
[2025-04-12 03:59:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 03:59:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 03:59:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 00:59:06
[end_date_ymd] => 2025-04-12 03:59:06
[RateCDR] => 1
)
[2025-04-12 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-12 00:59:06' and `end` < '2025-04-12 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-12 03:59:12] Production.ERROR: CronJobId end10
[2025-04-12 03:59:12] Production.INFO: ==18712== Releasing lock...
[2025-04-12 03:59:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 03:59:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 03:59:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 03:59:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 03:59:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 03:59:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 03:59:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 03:59:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 03:59:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 03:59:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 03:59:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 03:59:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 03:59:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 03:59:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 03:59:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 03:59:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 03:59:15] Production.INFO: call_cost start
[2025-04-12 03:59:15] Production.INFO: call_cost end
[2025-04-12 03:59:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 03:59:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 03:59:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 03:59:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 03:59:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 03:59:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 03:59:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 03:59:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 03:59:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 03:59:16] Production.INFO: ==18708== Releasing lock...
[2025-04-12 03:59:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 03:59:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 03:59:19] Production.INFO: count ==275
[2025-04-12 03:59:19] Production.ERROR: pbx CDR StartTime 2025-04-12 00:59:06 - End Time 2025-04-12 03:59:06
[2025-04-12 03:59:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 03:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888962', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888962', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888962', 'tblTempVendorCDR_20' ) start
[2025-04-12 03:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888962', 'tblTempVendorCDR_20' ) end
[2025-04-12 03:59:19] Production.INFO: ProcessCDR(1,14888962,1,1,2)
[2025-04-12 03:59:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888962,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:59:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888962,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 03:59:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888962,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:59:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888962,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 03:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888962', 'tblTempUsageDetail_20' ) start
[2025-04-12 03:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888962', 'tblTempUsageDetail_20' ) end
[2025-04-12 03:59:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 03:59:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 03:59:22] Production.INFO: ==18716== Releasing lock...
[2025-04-12 03:59:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 03:59:22] Production.INFO: 29.5 MB #Memory Used#
[2025-04-12 09:00:01] Production.INFO: ==18814== Lock acquired, processing the job...
[2025-04-12 09:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 09:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 09:00:01] Production.INFO: neon service started
[2025-04-12 09:00:01] Production.INFO: neon service started
[2025-04-12 09:00:01] Production.INFO: ==18814== Releasing lock...
[2025-04-12 09:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 09:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 04:00:02] Production.INFO: ==18816== Lock acquired, processing the job...
[2025-04-12 04:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 04:00:02] Production.INFO: ==18816== Releasing lock...
[2025-04-12 04:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 04:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 08:00:02] Production.INFO: ==18818== Lock acquired, processing the job...
[2025-04-12 08:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 08:00:02] Production.INFO: ==18818== Releasing lock...
[2025-04-12 08:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 08:00:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 04:00:03] Production.INFO: ==18821== Lock acquired, processing the job...
[2025-04-12 04:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 04:00:03] Production.INFO: ==18823== Lock acquired, processing the job...
[2025-04-12 04:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 04:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 04:00:03] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 04:00:03] Production.INFO: ==18821== Releasing lock...
[2025-04-12 04:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 04:00:03] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 04:00:04] Production.INFO: ==18833== Lock acquired, processing the job...
[2025-04-12 04:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 04:00:04] Production.INFO: ==18825== Lock acquired, processing the job...
[2025-04-12 04:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 04:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 04:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 04:00:04] Production.INFO: ==18835== Lock acquired, processing the job...
[2025-04-12 04:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 04:00:04] Production.INFO: ==18827== Lock acquired, processing the job...
[2025-04-12 04:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 04:00:04] Production.INFO: ==18829== Lock acquired, processing the job...
[2025-04-12 04:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 04:00:04] Production.INFO: ==18831== Lock acquired, processing the job...
[2025-04-12 04:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 04:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 04:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 04:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 04:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 04:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 04:00:04] Production.INFO: Account Balance Start.
[2025-04-12 04:00:04] Production.INFO: CreateAllLog Start
[2025-04-12 04:00:04] Production.INFO: 117
[2025-04-12 04:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 04:00:04] Production.INFO: Date 2025-04-08
[2025-04-12 04:00:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:00:04] Production.INFO: count ==12
[2025-04-12 04:00:04] Production.INFO: Date 2025-04-09
[2025-04-12 04:00:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 04:00:04] Production.INFO: count ==23
[2025-04-12 04:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888966') start
[2025-04-12 04:00:04] Production.ERROR: done
[2025-04-12 04:00:04] Production.INFO: Date 2025-04-10
[2025-04-12 04:00:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 04:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14888967', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 04:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888966') end
[2025-04-12 04:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 04:00:04] Production.INFO: 1
[2025-04-12 04:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 04:00:04] Production.ERROR: done
[2025-04-12 04:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 04:00:04] Production.INFO: ==18835== Releasing lock...
[2025-04-12 04:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 04:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 04:00:04] Production.INFO: Date 2025-04-11
[2025-04-12 04:00:04] Production.INFO: ==18825== Releasing lock...
[2025-04-12 04:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 04:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 04:00:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:00:04] Production.INFO: Date 2025-04-12
[2025-04-12 04:00:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:00:04] Production.INFO: Total Charge 0
[2025-04-12 04:00:04] Production.INFO: CreateAllLog End
[2025-04-12 04:00:05] Production.ERROR: done
[2025-04-12 04:00:05] Production.INFO: Account Balance End.
[2025-04-12 04:00:05] Production.ERROR: CronJobId end 12
[2025-04-12 04:00:05] Production.INFO: ==18829== Releasing lock...
[2025-04-12 04:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 04:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 04:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 01:00:06
[end_date_ymd] => 2025-04-12 04:00:06
[RateCDR] => 1
)
[2025-04-12 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-12 01:00:06' and `end` < '2025-04-12 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-12 04:00:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14888967', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 04:00:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 04:00:08] Production.INFO: ProcessCDR(1,14888967,1,1,2)
[2025-04-12 04:00:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14888967,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:00:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14888967,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:00:08] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 04:00:08] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 04:00:08] Production.INFO: ==18833== Releasing lock...
[2025-04-12 04:00:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 04:00:08] Production.INFO: 26 MB #Memory Used#
[2025-04-12 04:00:13] Production.ERROR: CronJobId end10
[2025-04-12 04:00:13] Production.INFO: ==18827== Releasing lock...
[2025-04-12 04:00:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 04:00:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 04:00:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 04:00:16] Production.INFO: ============== Balance Warning START===========
[2025-04-12 04:00:16] Production.INFO: ============== Balance Warning END===========
[2025-04-12 04:00:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 04:00:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 04:00:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 04:00:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 04:00:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 04:00:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 04:00:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 04:00:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 04:00:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 04:00:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 04:00:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 04:00:16] Production.INFO: call_cost start
[2025-04-12 04:00:16] Production.INFO: call_cost end
[2025-04-12 04:00:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 04:00:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 04:00:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 04:00:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 04:00:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 04:00:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 04:00:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 04:00:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 04:00:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 04:00:17] Production.INFO: ==18823== Releasing lock...
[2025-04-12 04:00:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 04:00:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 04:00:18] Production.INFO: count ==269
[2025-04-12 04:00:18] Production.ERROR: pbx CDR StartTime 2025-04-12 01:00:06 - End Time 2025-04-12 04:00:06
[2025-04-12 04:00:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 04:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888968', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888968', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888968', 'tblTempVendorCDR_20' ) start
[2025-04-12 04:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888968', 'tblTempVendorCDR_20' ) end
[2025-04-12 04:00:18] Production.INFO: ProcessCDR(1,14888968,1,1,2)
[2025-04-12 04:00:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888968,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:00:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888968,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:00:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888968,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:00:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888968,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888968', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888968', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:00:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 04:00:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 04:00:22] Production.INFO: ==18831== Releasing lock...
[2025-04-12 04:00:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 04:00:22] Production.INFO: 29.5 MB #Memory Used#
[2025-04-12 09:01:02] Production.INFO: ==18896== Lock acquired, processing the job...
[2025-04-12 09:01:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 09:01:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 09:01:02] Production.INFO: neon service started
[2025-04-12 09:01:02] Production.INFO: neon service started
[2025-04-12 09:01:02] Production.INFO: ==18896== Releasing lock...
[2025-04-12 09:01:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 09:01:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 04:01:02] Production.INFO: ==18903== Lock acquired, processing the job...
[2025-04-12 04:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 04:01:03] Production.INFO: ==18903== Releasing lock...
[2025-04-12 04:01:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 04:01:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 08:01:03] Production.INFO: ==18905== Lock acquired, processing the job...
[2025-04-12 08:01:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 08:01:03] Production.INFO: ==18905== Releasing lock...
[2025-04-12 08:01:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 08:01:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 04:01:04] Production.INFO: ==18908== Lock acquired, processing the job...
[2025-04-12 04:01:04] Production.INFO: dbcleanup-command-dbcleanup-companyid-1-cronjobid-3 #Starts#
[2025-04-12 04:01:04] Production.INFO: ==18910== Lock acquired, processing the job...
[2025-04-12 04:01:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 04:01:04] Production.INFO: ==18912== Lock acquired, processing the job...
[2025-04-12 04:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 04:01:04] Production.INFO: DBcleanup Starts.
[2025-04-12 04:01:04] Production.INFO: Usage Download Log Start.
[2025-04-12 04:01:04] Production.INFO: Usage Download Log End.
[2025-04-12 04:01:04] Production.INFO: Cronjob History Delete Start.
[2025-04-12 04:01:04] Production.INFO: call prc_deleteJobOrCronJobLogByRetention(1,'2024-04-12','Cronjob')
[2025-04-12 04:01:04] Production.INFO: ==18918== Lock acquired, processing the job...
[2025-04-12 04:01:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 04:01:04] Production.INFO: ==18914== Lock acquired, processing the job...
[2025-04-12 04:01:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 04:01:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 04:01:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 04:01:04] Production.INFO: ==18916== Lock acquired, processing the job...
[2025-04-12 04:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 04:01:04] Production.INFO: Account Balance Start.
[2025-04-12 04:01:04] Production.INFO: CreateAllLog Start
[2025-04-12 04:01:04] Production.INFO: 117
[2025-04-12 04:01:04] Production.INFO: Date 2025-04-08
[2025-04-12 04:01:04] Production.INFO: ==18920== Lock acquired, processing the job...
[2025-04-12 04:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 04:01:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:01:04] Production.INFO: Date 2025-04-09
[2025-04-12 04:01:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:01:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 04:01:04] Production.INFO: Date 2025-04-10
[2025-04-12 04:01:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:01:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 04:01:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 04:01:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 04:01:04] Production.INFO: Date 2025-04-11
[2025-04-12 04:01:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:01:04] Production.INFO: Date 2025-04-12
[2025-04-12 04:01:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:01:04] Production.INFO: Total Charge 0
[2025-04-12 04:01:04] Production.INFO: CreateAllLog End
[2025-04-12 04:01:04] Production.INFO: ==18912== Releasing lock...
[2025-04-12 04:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 04:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 04:01:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 04:01:05] Production.INFO: count ==12
[2025-04-12 04:01:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 04:01:05] Production.INFO: count ==23
[2025-04-12 04:01:05] Production.ERROR: PBX CALL prc_importPBXExtension('14888973') start
[2025-04-12 04:01:05] Production.ERROR: done
[2025-04-12 04:01:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 04:01:05] Production.ERROR: done
[2025-04-12 04:01:05] Production.ERROR: PBX CALL prc_importPBXExtension('14888973') end
[2025-04-12 04:01:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 04:01:05] Production.INFO: 1
[2025-04-12 04:01:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 04:01:05] Production.INFO: Account Balance End.
[2025-04-12 04:01:05] Production.ERROR: CronJobId end 12
[2025-04-12 04:01:05] Production.INFO: ==18920== Releasing lock...
[2025-04-12 04:01:05] Production.INFO: ==18916== Releasing lock...
[2025-04-12 04:01:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 04:01:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 04:01:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 04:01:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 04:01:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 01:01:06
[end_date_ymd] => 2025-04-12 04:01:06
[RateCDR] => 1
)
[2025-04-12 04:01:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 01:01:06' and `end` < '2025-04-12 04:01:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 04:01:17] Production.INFO: Cronjob History Delete End.
[2025-04-12 04:01:17] Production.INFO: Job Log Delete Start.
[2025-04-12 04:01:17] Production.INFO: call prc_deleteJobOrCronJobLogByRetention(1,'2024-04-12','Job')
[2025-04-12 04:01:17] Production.INFO: Job Log Delete End.
[2025-04-12 04:01:17] Production.INFO: Customer RateSheet History Delete Starts.
[2025-04-12 04:01:17] Production.INFO: Customer RateSheet History Delete End.
[2025-04-12 04:01:17] Production.INFO: Vendor RateSheet History Delete Start.
[2025-04-12 04:01:17] Production.INFO: Vendor RateSheet History Delete End.
[2025-04-12 04:01:17] Production.INFO: All Old Rate Delete Start
[2025-04-12 04:01:17] Production.INFO: DBcleanup: prc_WSCronJobDeleteOldVendorRate Start.
[2025-04-12 04:01:17] Production.INFO: DBcleanup: prc_WSCronJobDeleteOldVendorRate Done.
[2025-04-12 04:01:17] Production.INFO: DBcleanup: prc_WSCronJobDeleteOldCustomerRate Start.
[2025-04-12 04:01:17] Production.INFO: DBcleanup: prc_WSCronJobDeleteOldCustomerRate Done.
[2025-04-12 04:01:17] Production.INFO: DBcleanup: prc_WSCronJobDeleteOldRateTableRate Start.
[2025-04-12 04:01:17] Production.INFO: DBcleanup: prc_WSCronJobDeleteOldRateTableRate Done.
[2025-04-12 04:01:17] Production.INFO: DBcleanup: prc_WSCronJobDeleteOldRateSheetDetails Start.
[2025-04-12 04:01:17] Production.INFO: DBcleanup: prc_WSCronJobDeleteOldRateSheetDetails Done.
[2025-04-12 04:01:17] Production.INFO: All Old Rate Delete End
[2025-04-12 04:01:17] Production.INFO: Customer CDR Delete Start.
[2025-04-12 04:01:17] Production.INFO: Customer CDR Delete End.
[2025-04-12 04:01:17] Production.INFO: Customer Failed Call Start.
[2025-04-12 04:01:17] Production.INFO: Customer Failed Call Delete End.
[2025-04-12 04:01:17] Production.INFO: Vendor CDR Delete Start.
[2025-04-12 04:01:17] Production.INFO: Vendor CDR Delete End.
[2025-04-12 04:01:17] Production.INFO: Vendor CDR Delete Start.
[2025-04-12 04:01:17] Production.INFO: Vendor CDR Delete End.
[2025-04-12 04:01:17] Production.INFO: RateLog Delete Start.
[2025-04-12 04:01:17] Production.INFO: RateLog Delete End.
[2025-04-12 04:01:17] Production.INFO: Archive Old Rate Delete Start.
[2025-04-12 04:01:17] Production.INFO: Archive Old Rate Delete End.
[2025-04-12 04:01:17] Production.INFO: Tickets Delete Start.
[2025-04-12 04:01:17] Production.INFO: Tickets Delete End.
[2025-04-12 04:01:17] Production.INFO: DBcleanup Done.
[2025-04-12 04:01:17] Production.ERROR: CronJobId end 3
[2025-04-12 04:01:17] Production.INFO: ==18908== Releasing lock...
[2025-04-12 04:01:17] Production.INFO: dbcleanup-command-dbcleanup-companyid-1-cronjobid-3 #Stops#
[2025-04-12 04:01:17] Production.INFO: 26 MB #Memory Used#
[2025-04-12 04:01:17] Production.ERROR: CronJobId end10
[2025-04-12 04:01:17] Production.INFO: ==18914== Releasing lock...
[2025-04-12 04:01:17] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 04:01:17] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 04:01:19] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 04:01:19] Production.INFO: ============== Balance Warning START===========
[2025-04-12 04:01:19] Production.INFO: ============== Balance Warning END===========
[2025-04-12 04:01:19] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 04:01:19] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 04:01:19] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 04:01:19] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 04:01:19] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 04:01:19] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 04:01:19] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 04:01:19] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 04:01:19] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 04:01:19] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 04:01:19] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 04:01:19] Production.INFO: count ==257
[2025-04-12 04:01:19] Production.ERROR: pbx CDR StartTime 2025-04-12 01:01:06 - End Time 2025-04-12 04:01:06
[2025-04-12 04:01:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 04:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888974', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888974', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888974', 'tblTempVendorCDR_20' ) start
[2025-04-12 04:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888974', 'tblTempVendorCDR_20' ) end
[2025-04-12 04:01:19] Production.INFO: ProcessCDR(1,14888974,1,1,2)
[2025-04-12 04:01:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888974,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:01:19] Production.INFO: call_cost start
[2025-04-12 04:01:19] Production.INFO: call_cost end
[2025-04-12 04:01:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888974,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:01:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888974,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:01:20] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 04:01:20] Production.INFO: ============== Report Schedule START===========
[2025-04-12 04:01:20] Production.INFO: ============== Report Schedule END===========
[2025-04-12 04:01:20] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 04:01:20] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 04:01:20] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 04:01:20] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 04:01:20] Production.INFO: ============== Deal alert START===========
[2025-04-12 04:01:20] Production.INFO: ============== Deal alert END===========
[2025-04-12 04:01:21] Production.INFO: ==18910== Releasing lock...
[2025-04-12 04:01:21] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 04:01:21] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 04:01:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888974,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888974', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:01:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888974', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:01:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 04:01:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 04:01:23] Production.INFO: ==18918== Releasing lock...
[2025-04-12 04:01:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 04:01:23] Production.INFO: 29.25 MB #Memory Used#
[2025-04-12 09:02:01] Production.INFO: ==18975== Lock acquired, processing the job...
[2025-04-12 09:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 09:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 09:02:01] Production.INFO: neon service started
[2025-04-12 09:02:01] Production.INFO: neon service started
[2025-04-12 09:02:01] Production.INFO: ==18975== Releasing lock...
[2025-04-12 09:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 09:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 04:02:02] Production.INFO: ==18977== Lock acquired, processing the job...
[2025-04-12 04:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 04:02:02] Production.INFO: ==18977== Releasing lock...
[2025-04-12 04:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 04:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 08:02:02] Production.INFO: ==18979== Lock acquired, processing the job...
[2025-04-12 08:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 08:02:02] Production.INFO: ==18979== Releasing lock...
[2025-04-12 08:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 08:02:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 04:02:03] Production.INFO: ==18988== Lock acquired, processing the job...
[2025-04-12 04:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 04:02:03] Production.INFO: Account Balance Start.
[2025-04-12 04:02:03] Production.INFO: CreateAllLog Start
[2025-04-12 04:02:03] Production.INFO: ==18992== Lock acquired, processing the job...
[2025-04-12 04:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 04:02:03] Production.INFO: 117
[2025-04-12 04:02:03] Production.INFO: Date 2025-04-08
[2025-04-12 04:02:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:02:03] Production.INFO: Date 2025-04-09
[2025-04-12 04:02:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:02:03] Production.INFO: ==18984== Lock acquired, processing the job...
[2025-04-12 04:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 04:02:03] Production.INFO: ==18982== Lock acquired, processing the job...
[2025-04-12 04:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 04:02:03] Production.INFO: ==18986== Lock acquired, processing the job...
[2025-04-12 04:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 04:02:03] Production.INFO: Date 2025-04-10
[2025-04-12 04:02:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:02:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 04:02:03] Production.INFO: count ==12
[2025-04-12 04:02:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 04:02:03] Production.INFO: count ==23
[2025-04-12 04:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14888976') start
[2025-04-12 04:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 04:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 04:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 04:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 04:02:03] Production.INFO: ==18990== Lock acquired, processing the job...
[2025-04-12 04:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 04:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 04:02:03] Production.INFO: Date 2025-04-11
[2025-04-12 04:02:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 04:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14888976') end
[2025-04-12 04:02:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 04:02:03] Production.INFO: 1
[2025-04-12 04:02:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 04:02:03] Production.INFO: Date 2025-04-12
[2025-04-12 04:02:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:02:03] Production.INFO: Total Charge 0
[2025-04-12 04:02:03] Production.INFO: CreateAllLog End
[2025-04-12 04:02:03] Production.INFO: ==18992== Releasing lock...
[2025-04-12 04:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 04:02:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 04:02:03] Production.INFO: ==18984== Releasing lock...
[2025-04-12 04:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 04:02:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 04:02:04] Production.ERROR: done
[2025-04-12 04:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 04:02:04] Production.INFO: Account Balance End.
[2025-04-12 04:02:04] Production.ERROR: CronJobId end 12
[2025-04-12 04:02:04] Production.INFO: ==18988== Releasing lock...
[2025-04-12 04:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 04:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 04:02:04] Production.ERROR: done
[2025-04-12 04:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 01:02:05
[end_date_ymd] => 2025-04-12 04:02:05
[RateCDR] => 1
)
[2025-04-12 04:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 01:02:05' and `end` < '2025-04-12 04:02:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 04:02:11] Production.ERROR: CronJobId end10
[2025-04-12 04:02:11] Production.INFO: ==18986== Releasing lock...
[2025-04-12 04:02:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 04:02:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 04:02:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 04:02:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 04:02:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 04:02:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 04:02:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 04:02:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 04:02:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 04:02:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 04:02:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 04:02:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 04:02:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 04:02:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 04:02:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 04:02:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 04:02:14] Production.INFO: call_cost start
[2025-04-12 04:02:14] Production.INFO: call_cost end
[2025-04-12 04:02:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 04:02:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 04:02:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 04:02:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 04:02:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 04:02:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 04:02:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 04:02:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 04:02:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 04:02:15] Production.INFO: ==18982== Releasing lock...
[2025-04-12 04:02:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 04:02:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 04:02:18] Production.INFO: count ==256
[2025-04-12 04:02:18] Production.ERROR: pbx CDR StartTime 2025-04-12 01:02:05 - End Time 2025-04-12 04:02:05
[2025-04-12 04:02:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 04:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888979', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888979', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888979', 'tblTempVendorCDR_20' ) start
[2025-04-12 04:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888979', 'tblTempVendorCDR_20' ) end
[2025-04-12 04:02:18] Production.INFO: ProcessCDR(1,14888979,1,1,2)
[2025-04-12 04:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888979,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:02:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888979,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:02:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888979,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:02:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888979,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888979', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888979', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:02:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 04:02:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 04:02:22] Production.INFO: ==18990== Releasing lock...
[2025-04-12 04:02:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 04:02:22] Production.INFO: 29.25 MB #Memory Used#
[2025-04-12 09:03:02] Production.INFO: ==19047== Lock acquired, processing the job...
[2025-04-12 09:03:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 09:03:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 09:03:02] Production.INFO: neon service started
[2025-04-12 09:03:02] Production.INFO: neon service started
[2025-04-12 09:03:02] Production.INFO: ==19047== Releasing lock...
[2025-04-12 09:03:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 09:03:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 08:03:02] Production.INFO: ==19051== Lock acquired, processing the job...
[2025-04-12 08:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 08:03:02] Production.INFO: ==19051== Releasing lock...
[2025-04-12 08:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 08:03:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 04:03:02] Production.INFO: ==19049== Lock acquired, processing the job...
[2025-04-12 04:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 04:03:03] Production.INFO: ==19049== Releasing lock...
[2025-04-12 04:03:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 04:03:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 04:03:03] Production.INFO: ==19054== Lock acquired, processing the job...
[2025-04-12 04:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 04:03:03] Production.INFO: ==19056== Lock acquired, processing the job...
[2025-04-12 04:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 04:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 04:03:04] Production.INFO: ==19064== Lock acquired, processing the job...
[2025-04-12 04:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 04:03:04] Production.INFO: ==19056== Releasing lock...
[2025-04-12 04:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 04:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 04:03:04] Production.INFO: ==19058== Lock acquired, processing the job...
[2025-04-12 04:03:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 04:03:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 04:03:04] Production.INFO: count ==12
[2025-04-12 04:03:04] Production.INFO: ==19060== Lock acquired, processing the job...
[2025-04-12 04:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 04:03:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 04:03:04] Production.INFO: count ==23
[2025-04-12 04:03:04] Production.INFO: ==19062== Lock acquired, processing the job...
[2025-04-12 04:03:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 04:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888982') start
[2025-04-12 04:03:04] Production.INFO: Account Balance Start.
[2025-04-12 04:03:04] Production.INFO: CreateAllLog Start
[2025-04-12 04:03:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 04:03:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 04:03:04] Production.INFO: 117
[2025-04-12 04:03:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 04:03:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 04:03:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 04:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888982') end
[2025-04-12 04:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 04:03:04] Production.INFO: 1
[2025-04-12 04:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 04:03:04] Production.INFO: Date 2025-04-08
[2025-04-12 04:03:04] Production.INFO: ==19064== Releasing lock...
[2025-04-12 04:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 04:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 04:03:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:03:04] Production.INFO: Date 2025-04-09
[2025-04-12 04:03:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:03:04] Production.INFO: Date 2025-04-10
[2025-04-12 04:03:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:03:04] Production.INFO: Date 2025-04-11
[2025-04-12 04:03:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:03:04] Production.INFO: Date 2025-04-12
[2025-04-12 04:03:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:03:04] Production.INFO: Total Charge 0
[2025-04-12 04:03:04] Production.ERROR: done
[2025-04-12 04:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 04:03:04] Production.INFO: CreateAllLog End
[2025-04-12 04:03:05] Production.ERROR: done
[2025-04-12 04:03:05] Production.INFO: Account Balance End.
[2025-04-12 04:03:05] Production.ERROR: CronJobId end 12
[2025-04-12 04:03:05] Production.INFO: ==19060== Releasing lock...
[2025-04-12 04:03:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 04:03:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 04:03:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 01:03:06
[end_date_ymd] => 2025-04-12 04:03:06
[RateCDR] => 1
)
[2025-04-12 04:03:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 01:03:06' and `end` < '2025-04-12 04:03:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 04:03:12] Production.ERROR: CronJobId end10
[2025-04-12 04:03:12] Production.INFO: ==19058== Releasing lock...
[2025-04-12 04:03:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 04:03:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 04:03:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 04:03:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 04:03:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 04:03:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 04:03:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 04:03:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 04:03:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 04:03:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 04:03:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 04:03:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 04:03:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 04:03:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 04:03:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 04:03:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 04:03:15] Production.INFO: call_cost start
[2025-04-12 04:03:15] Production.INFO: call_cost end
[2025-04-12 04:03:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 04:03:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 04:03:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 04:03:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 04:03:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 04:03:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 04:03:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 04:03:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 04:03:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 04:03:16] Production.INFO: ==19054== Releasing lock...
[2025-04-12 04:03:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 04:03:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 04:03:18] Production.INFO: count ==256
[2025-04-12 04:03:19] Production.ERROR: pbx CDR StartTime 2025-04-12 01:03:06 - End Time 2025-04-12 04:03:06
[2025-04-12 04:03:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 04:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888984', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888984', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888984', 'tblTempVendorCDR_20' ) start
[2025-04-12 04:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888984', 'tblTempVendorCDR_20' ) end
[2025-04-12 04:03:19] Production.INFO: ProcessCDR(1,14888984,1,1,2)
[2025-04-12 04:03:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888984,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:03:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888984,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:03:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888984,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:03:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888984,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888984', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888984', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:03:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 04:03:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 04:03:22] Production.INFO: ==19062== Releasing lock...
[2025-04-12 04:03:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 04:03:22] Production.INFO: 29.25 MB #Memory Used#
[2025-04-12 09:04:01] Production.INFO: ==19120== Lock acquired, processing the job...
[2025-04-12 09:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 09:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 09:04:01] Production.INFO: neon service started
[2025-04-12 09:04:01] Production.INFO: neon service started
[2025-04-12 09:04:01] Production.INFO: ==19120== Releasing lock...
[2025-04-12 09:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 09:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 08:04:02] Production.INFO: ==19124== Lock acquired, processing the job...
[2025-04-12 08:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 08:04:02] Production.INFO: ==19124== Releasing lock...
[2025-04-12 08:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 08:04:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 04:04:02] Production.INFO: ==19122== Lock acquired, processing the job...
[2025-04-12 04:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 04:04:02] Production.INFO: ==19122== Releasing lock...
[2025-04-12 04:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 04:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 04:04:03] Production.INFO: ==19129== Lock acquired, processing the job...
[2025-04-12 04:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 04:04:03] Production.INFO: ==19135== Lock acquired, processing the job...
[2025-04-12 04:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 04:04:03] Production.INFO: ==19126== Lock acquired, processing the job...
[2025-04-12 04:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 04:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 04:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 04:04:03] Production.INFO: ==19131== Lock acquired, processing the job...
[2025-04-12 04:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 04:04:03] Production.INFO: ==19133== Lock acquired, processing the job...
[2025-04-12 04:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 04:04:04] Production.INFO: ==19137== Lock acquired, processing the job...
[2025-04-12 04:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 04:04:04] Production.INFO: ==19129== Releasing lock...
[2025-04-12 04:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 04:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 04:04:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 04:04:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 04:04:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 04:04:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 04:04:04] Production.INFO: Account Balance Start.
[2025-04-12 04:04:04] Production.INFO: CreateAllLog Start
[2025-04-12 04:04:04] Production.INFO: 117
[2025-04-12 04:04:04] Production.INFO: Date 2025-04-08
[2025-04-12 04:04:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:04:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 04:04:04] Production.INFO: Date 2025-04-09
[2025-04-12 04:04:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:04:04] Production.ERROR: done
[2025-04-12 04:04:04] Production.INFO: Date 2025-04-10
[2025-04-12 04:04:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 04:04:04] Production.INFO: Date 2025-04-11
[2025-04-12 04:04:04] Production.INFO: count ==12
[2025-04-12 04:04:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:04:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 04:04:04] Production.INFO: Date 2025-04-12
[2025-04-12 04:04:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:04:04] Production.INFO: count ==23
[2025-04-12 04:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888988') start
[2025-04-12 04:04:04] Production.INFO: Total Charge 0
[2025-04-12 04:04:04] Production.INFO: CreateAllLog End
[2025-04-12 04:04:04] Production.ERROR: done
[2025-04-12 04:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888988') end
[2025-04-12 04:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 04:04:04] Production.INFO: 1
[2025-04-12 04:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 04:04:04] Production.INFO: Account Balance End.
[2025-04-12 04:04:04] Production.INFO: ==19137== Releasing lock...
[2025-04-12 04:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 04:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 04:04:04] Production.ERROR: CronJobId end 12
[2025-04-12 04:04:04] Production.INFO: ==19133== Releasing lock...
[2025-04-12 04:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 04:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 04:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 01:04:05
[end_date_ymd] => 2025-04-12 04:04:05
[RateCDR] => 1
)
[2025-04-12 04:04:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 01:04:05' and `end` < '2025-04-12 04:04:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 04:04:12] Production.ERROR: CronJobId end10
[2025-04-12 04:04:12] Production.INFO: ==19131== Releasing lock...
[2025-04-12 04:04:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 04:04:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 04:04:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 04:04:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 04:04:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 04:04:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 04:04:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 04:04:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 04:04:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 04:04:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 04:04:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 04:04:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 04:04:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 04:04:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 04:04:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 04:04:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 04:04:15] Production.INFO: call_cost start
[2025-04-12 04:04:15] Production.INFO: call_cost end
[2025-04-12 04:04:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 04:04:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 04:04:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 04:04:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 04:04:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 04:04:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 04:04:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 04:04:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 04:04:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 04:04:16] Production.INFO: ==19126== Releasing lock...
[2025-04-12 04:04:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 04:04:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 04:04:18] Production.INFO: count ==256
[2025-04-12 04:04:18] Production.ERROR: pbx CDR StartTime 2025-04-12 01:04:05 - End Time 2025-04-12 04:04:05
[2025-04-12 04:04:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 04:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888989', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888989', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888989', 'tblTempVendorCDR_20' ) start
[2025-04-12 04:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888989', 'tblTempVendorCDR_20' ) end
[2025-04-12 04:04:18] Production.INFO: ProcessCDR(1,14888989,1,1,2)
[2025-04-12 04:04:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888989,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:04:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888989,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:04:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888989,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:04:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888989,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888989', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888989', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:04:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 04:04:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 04:04:22] Production.INFO: ==19135== Releasing lock...
[2025-04-12 04:04:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 04:04:22] Production.INFO: 29.25 MB #Memory Used#
[2025-04-12 09:05:02] Production.INFO: ==19192== Lock acquired, processing the job...
[2025-04-12 09:05:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 09:05:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 09:05:02] Production.INFO: neon service started
[2025-04-12 09:05:02] Production.INFO: neon service started
[2025-04-12 09:05:02] Production.INFO: ==19192== Releasing lock...
[2025-04-12 09:05:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 09:05:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 04:05:02] Production.INFO: ==19194== Lock acquired, processing the job...
[2025-04-12 04:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 08:05:02] Production.INFO: ==19196== Lock acquired, processing the job...
[2025-04-12 08:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 08:05:02] Production.INFO: ==19196== Releasing lock...
[2025-04-12 08:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 08:05:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 04:05:03] Production.INFO: ==19194== Releasing lock...
[2025-04-12 04:05:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 04:05:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 04:05:04] Production.INFO: ==19205== Lock acquired, processing the job...
[2025-04-12 04:05:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 04:05:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 04:05:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 04:05:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 04:05:04] Production.INFO: ==19201== Lock acquired, processing the job...
[2025-04-12 04:05:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 04:05:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 04:05:04] Production.INFO: ==19211== Lock acquired, processing the job...
[2025-04-12 04:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 04:05:04] Production.INFO: ==19203== Lock acquired, processing the job...
[2025-04-12 04:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 04:05:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 04:05:04] Production.INFO: ==19207== Lock acquired, processing the job...
[2025-04-12 04:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 04:05:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 04:05:04] Production.INFO: ==19209== Lock acquired, processing the job...
[2025-04-12 04:05:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 04:05:04] Production.INFO: count ==12
[2025-04-12 04:05:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 04:05:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 04:05:04] Production.INFO: count ==23
[2025-04-12 04:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888991') start
[2025-04-12 04:05:04] Production.INFO: Account Balance Start.
[2025-04-12 04:05:04] Production.INFO: CreateAllLog Start
[2025-04-12 04:05:04] Production.INFO: 117
[2025-04-12 04:05:04] Production.INFO: Date 2025-04-08
[2025-04-12 04:05:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888991') end
[2025-04-12 04:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 04:05:04] Production.INFO: 1
[2025-04-12 04:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 04:05:04] Production.INFO: Date 2025-04-09
[2025-04-12 04:05:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:05:04] Production.INFO: Date 2025-04-10
[2025-04-12 04:05:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:05:04] Production.INFO: Date 2025-04-11
[2025-04-12 04:05:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:05:04] Production.INFO: ==19211== Releasing lock...
[2025-04-12 04:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 04:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 04:05:04] Production.INFO: Date 2025-04-12
[2025-04-12 04:05:04] Production.INFO: ==19203== Releasing lock...
[2025-04-12 04:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 04:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 04:05:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:05:04] Production.INFO: Total Charge 0
[2025-04-12 04:05:04] Production.INFO: CreateAllLog End
[2025-04-12 04:05:04] Production.ERROR: done
[2025-04-12 04:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 04:05:05] Production.ERROR: done
[2025-04-12 04:05:05] Production.INFO: Account Balance End.
[2025-04-12 04:05:05] Production.ERROR: CronJobId end 12
[2025-04-12 04:05:05] Production.INFO: ==19207== Releasing lock...
[2025-04-12 04:05:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 04:05:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 04:05:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 01:05:06
[end_date_ymd] => 2025-04-12 04:05:06
[RateCDR] => 1
)
[2025-04-12 04:05:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 01:05:06' and `end` < '2025-04-12 04:05:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 04:05:12] Production.ERROR: CronJobId end10
[2025-04-12 04:05:12] Production.INFO: ==19205== Releasing lock...
[2025-04-12 04:05:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 04:05:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 04:05:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 04:05:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 04:05:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 04:05:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 04:05:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 04:05:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 04:05:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 04:05:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 04:05:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 04:05:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 04:05:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 04:05:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 04:05:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 04:05:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 04:05:16] Production.INFO: call_cost start
[2025-04-12 04:05:16] Production.INFO: call_cost end
[2025-04-12 04:05:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 04:05:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 04:05:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 04:05:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 04:05:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 04:05:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 04:05:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 04:05:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 04:05:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 04:05:17] Production.INFO: ==19201== Releasing lock...
[2025-04-12 04:05:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 04:05:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 04:05:18] Production.INFO: count ==256
[2025-04-12 04:05:19] Production.ERROR: pbx CDR StartTime 2025-04-12 01:05:06 - End Time 2025-04-12 04:05:06
[2025-04-12 04:05:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 04:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888994', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888994', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888994', 'tblTempVendorCDR_20' ) start
[2025-04-12 04:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888994', 'tblTempVendorCDR_20' ) end
[2025-04-12 04:05:19] Production.INFO: ProcessCDR(1,14888994,1,1,2)
[2025-04-12 04:05:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888994,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:05:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888994,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:05:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888994,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:05:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888994,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888994', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888994', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:05:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 04:05:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 04:05:22] Production.INFO: ==19209== Releasing lock...
[2025-04-12 04:05:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 04:05:22] Production.INFO: 29.25 MB #Memory Used#
[2025-04-12 09:06:01] Production.INFO: ==19265== Lock acquired, processing the job...
[2025-04-12 09:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 09:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 09:06:01] Production.INFO: neon service started
[2025-04-12 09:06:01] Production.INFO: neon service started
[2025-04-12 09:06:01] Production.INFO: ==19265== Releasing lock...
[2025-04-12 09:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 09:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 04:06:01] Production.INFO: ==19267== Lock acquired, processing the job...
[2025-04-12 04:06:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 04:06:02] Production.INFO: ==19267== Releasing lock...
[2025-04-12 04:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 04:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 08:06:02] Production.INFO: ==19269== Lock acquired, processing the job...
[2025-04-12 08:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 08:06:02] Production.INFO: ==19269== Releasing lock...
[2025-04-12 08:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 08:06:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 04:06:02] Production.INFO: ==19273== Lock acquired, processing the job...
[2025-04-12 04:06:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 04:06:03] Production.INFO: ==19273== Releasing lock...
[2025-04-12 04:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 04:06:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 04:06:03] Production.INFO: ==19271== Lock acquired, processing the job...
[2025-04-12 04:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 04:06:03] Production.INFO: ==19275== Lock acquired, processing the job...
[2025-04-12 04:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 04:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 04:06:03] Production.INFO: ==19277== Lock acquired, processing the job...
[2025-04-12 04:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 04:06:03] Production.INFO: ==19279== Lock acquired, processing the job...
[2025-04-12 04:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 04:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 04:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 04:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 04:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 04:06:03] Production.INFO: Account Balance Start.
[2025-04-12 04:06:03] Production.INFO: CreateAllLog Start
[2025-04-12 04:06:03] Production.INFO: 117
[2025-04-12 04:06:03] Production.INFO: Date 2025-04-08
[2025-04-12 04:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 04:06:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:06:03] Production.INFO: ==19281== Lock acquired, processing the job...
[2025-04-12 04:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 04:06:03] Production.INFO: Date 2025-04-09
[2025-04-12 04:06:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:06:03] Production.INFO: Date 2025-04-10
[2025-04-12 04:06:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:06:03] Production.INFO: Date 2025-04-11
[2025-04-12 04:06:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:06:03] Production.INFO: Date 2025-04-12
[2025-04-12 04:06:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:06:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 04:06:03] Production.INFO: count ==12
[2025-04-12 04:06:03] Production.INFO: Total Charge 0
[2025-04-12 04:06:04] Production.INFO: CreateAllLog End
[2025-04-12 04:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 04:06:04] Production.INFO: count ==23
[2025-04-12 04:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888998') start
[2025-04-12 04:06:04] Production.ERROR: done
[2025-04-12 04:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 04:06:04] Production.INFO: Account Balance End.
[2025-04-12 04:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14888998') end
[2025-04-12 04:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 04:06:04] Production.INFO: 1
[2025-04-12 04:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 04:06:04] Production.ERROR: CronJobId end 12
[2025-04-12 04:06:04] Production.INFO: ==19277== Releasing lock...
[2025-04-12 04:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 04:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 04:06:04] Production.INFO: ==19281== Releasing lock...
[2025-04-12 04:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 04:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 04:06:04] Production.ERROR: done
[2025-04-12 04:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 01:06:05
[end_date_ymd] => 2025-04-12 04:06:05
[RateCDR] => 1
)
[2025-04-12 04:06:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 01:06:05' and `end` < '2025-04-12 04:06:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 04:06:10] Production.ERROR: CronJobId end10
[2025-04-12 04:06:10] Production.INFO: ==19275== Releasing lock...
[2025-04-12 04:06:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 04:06:10] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 04:06:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 04:06:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 04:06:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 04:06:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 04:06:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 04:06:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 04:06:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 04:06:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 04:06:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 04:06:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 04:06:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 04:06:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 04:06:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 04:06:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 04:06:14] Production.INFO: call_cost start
[2025-04-12 04:06:14] Production.INFO: call_cost end
[2025-04-12 04:06:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 04:06:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 04:06:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 04:06:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 04:06:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 04:06:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 04:06:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 04:06:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 04:06:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 04:06:15] Production.INFO: ==19271== Releasing lock...
[2025-04-12 04:06:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 04:06:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 04:06:18] Production.INFO: count ==256
[2025-04-12 04:06:18] Production.ERROR: pbx CDR StartTime 2025-04-12 01:06:05 - End Time 2025-04-12 04:06:05
[2025-04-12 04:06:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 04:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888999', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14888999', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888999', 'tblTempVendorCDR_20' ) start
[2025-04-12 04:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14888999', 'tblTempVendorCDR_20' ) end
[2025-04-12 04:06:18] Production.INFO: ProcessCDR(1,14888999,1,1,2)
[2025-04-12 04:06:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14888999,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:06:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14888999,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:06:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14888999,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:06:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14888999,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888999', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14888999', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:06:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 04:06:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 04:06:21] Production.INFO: ==19279== Releasing lock...
[2025-04-12 04:06:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 04:06:21] Production.INFO: 29.25 MB #Memory Used#
[2025-04-12 09:07:01] Production.INFO: ==19337== Lock acquired, processing the job...
[2025-04-12 09:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 09:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 09:07:01] Production.INFO: neon service started
[2025-04-12 09:07:02] Production.INFO: neon service started
[2025-04-12 09:07:02] Production.INFO: ==19337== Releasing lock...
[2025-04-12 09:07:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 09:07:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 04:07:02] Production.INFO: ==19339== Lock acquired, processing the job...
[2025-04-12 04:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 04:07:02] Production.INFO: ==19339== Releasing lock...
[2025-04-12 04:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 04:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 08:07:02] Production.INFO: ==19341== Lock acquired, processing the job...
[2025-04-12 08:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 08:07:02] Production.INFO: ==19341== Releasing lock...
[2025-04-12 08:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 08:07:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 04:07:03] Production.INFO: ==19345== Lock acquired, processing the job...
[2025-04-12 04:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 04:07:03] Production.INFO: ==19343== Lock acquired, processing the job...
[2025-04-12 04:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 04:07:03] Production.INFO: ==19349== Lock acquired, processing the job...
[2025-04-12 04:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 04:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 04:07:03] Production.INFO: Account Balance Start.
[2025-04-12 04:07:03] Production.INFO: CreateAllLog Start
[2025-04-12 04:07:03] Production.INFO: 117
[2025-04-12 04:07:03] Production.INFO: ==19347== Lock acquired, processing the job...
[2025-04-12 04:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 04:07:03] Production.INFO: Date 2025-04-08
[2025-04-12 04:07:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:07:03] Production.INFO: ==19351== Lock acquired, processing the job...
[2025-04-12 04:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 04:07:03] Production.INFO: Date 2025-04-09
[2025-04-12 04:07:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:07:03] Production.INFO: Date 2025-04-10
[2025-04-12 04:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 04:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 04:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 04:07:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 04:07:03] Production.INFO: Date 2025-04-11
[2025-04-12 04:07:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 04:07:03] Production.INFO: ==19353== Lock acquired, processing the job...
[2025-04-12 04:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 04:07:03] Production.INFO: Date 2025-04-12
[2025-04-12 04:07:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:07:03] Production.INFO: Total Charge 0
[2025-04-12 04:07:03] Production.INFO: CreateAllLog End
[2025-04-12 04:07:04] Production.INFO: ==19345== Releasing lock...
[2025-04-12 04:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 04:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 04:07:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 04:07:04] Production.INFO: count ==12
[2025-04-12 04:07:04] Production.INFO: Account Balance End.
[2025-04-12 04:07:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 04:07:04] Production.INFO: count ==23
[2025-04-12 04:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889003') start
[2025-04-12 04:07:04] Production.ERROR: CronJobId end 12
[2025-04-12 04:07:04] Production.INFO: ==19349== Releasing lock...
[2025-04-12 04:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 04:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 04:07:04] Production.ERROR: done
[2025-04-12 04:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 04:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889003') end
[2025-04-12 04:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 04:07:04] Production.INFO: 1
[2025-04-12 04:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 04:07:04] Production.INFO: ==19353== Releasing lock...
[2025-04-12 04:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 04:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 04:07:04] Production.ERROR: done
[2025-04-12 04:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 01:07:05
[end_date_ymd] => 2025-04-12 04:07:05
[RateCDR] => 1
)
[2025-04-12 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-12 01:07:05' and `end` < '2025-04-12 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-12 04:07:11] Production.ERROR: CronJobId end10
[2025-04-12 04:07:11] Production.INFO: ==19347== Releasing lock...
[2025-04-12 04:07:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 04:07:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 04:07:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 04:07:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 04:07:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 04:07:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 04:07:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 04:07:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 04:07:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 04:07:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 04:07:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 04:07:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 04:07:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 04:07:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 04:07:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 04:07:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 04:07:14] Production.INFO: call_cost start
[2025-04-12 04:07:14] Production.INFO: call_cost end
[2025-04-12 04:07:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 04:07:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 04:07:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 04:07:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 04:07:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 04:07:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 04:07:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 04:07:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 04:07:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 04:07:15] Production.INFO: ==19343== Releasing lock...
[2025-04-12 04:07:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 04:07:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 04:07:18] Production.INFO: count ==256
[2025-04-12 04:07:18] Production.ERROR: pbx CDR StartTime 2025-04-12 01:07:05 - End Time 2025-04-12 04:07:05
[2025-04-12 04:07:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 04:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889004', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889004', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889004', 'tblTempVendorCDR_20' ) start
[2025-04-12 04:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889004', 'tblTempVendorCDR_20' ) end
[2025-04-12 04:07:18] Production.INFO: ProcessCDR(1,14889004,1,1,2)
[2025-04-12 04:07:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889004,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:07:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889004,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:07:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889004,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:07:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889004,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889004', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889004', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:07:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 04:07:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 04:07:22] Production.INFO: ==19351== Releasing lock...
[2025-04-12 04:07:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 04:07:22] Production.INFO: 29.25 MB #Memory Used#
[2025-04-12 09:08:01] Production.INFO: ==19413== Lock acquired, processing the job...
[2025-04-12 09:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 09:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 09:08:01] Production.INFO: neon service started
[2025-04-12 09:08:01] Production.INFO: neon service started
[2025-04-12 09:08:01] Production.INFO: ==19413== Releasing lock...
[2025-04-12 09:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 09:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 08:08:01] Production.INFO: ==19417== Lock acquired, processing the job...
[2025-04-12 08:08:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 08:08:01] Production.INFO: ==19417== Releasing lock...
[2025-04-12 08:08:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 08:08:01] Production.INFO: 25 MB #Memory Used#
[2025-04-12 04:08:02] Production.INFO: ==19415== Lock acquired, processing the job...
[2025-04-12 04:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 04:08:02] Production.INFO: ==19415== Releasing lock...
[2025-04-12 04:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 04:08:02] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 04:08:03] Production.INFO: ==19421== Lock acquired, processing the job...
[2025-04-12 04:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 04:08:03] Production.INFO: ==19426== Lock acquired, processing the job...
[2025-04-12 04:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 04:08:03] Production.INFO: ==19428== Lock acquired, processing the job...
[2025-04-12 04:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 04:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 04:08:03] Production.INFO: ==19424== Lock acquired, processing the job...
[2025-04-12 04:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 04:08:03] Production.INFO: Account Balance Start.
[2025-04-12 04:08:03] Production.INFO: CreateAllLog Start
[2025-04-12 04:08:03] Production.INFO: 117
[2025-04-12 04:08:03] Production.INFO: Date 2025-04-08
[2025-04-12 04:08:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:08:03] Production.INFO: ==19419== Lock acquired, processing the job...
[2025-04-12 04:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 04:08:03] Production.INFO: ==19421== Releasing lock...
[2025-04-12 04:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 04:08:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 04:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 04:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 04:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 04:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 04:08:03] Production.INFO: Date 2025-04-09
[2025-04-12 04:08:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:08:03] Production.INFO: ==19430== Lock acquired, processing the job...
[2025-04-12 04:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 04:08:03] Production.INFO: Date 2025-04-10
[2025-04-12 04:08:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:08:03] Production.INFO: Date 2025-04-11
[2025-04-12 04:08:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:08:03] Production.INFO: Date 2025-04-12
[2025-04-12 04:08:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:08:03] Production.ERROR: done
[2025-04-12 04:08:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 04:08:03] Production.INFO: Total Charge 0
[2025-04-12 04:08:03] Production.INFO: CreateAllLog End
[2025-04-12 04:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 04:08:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 04:08:04] Production.INFO: count ==12
[2025-04-12 04:08:04] Production.ERROR: done
[2025-04-12 04:08:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 04:08:04] Production.INFO: count ==23
[2025-04-12 04:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889007') start
[2025-04-12 04:08:04] Production.INFO: Account Balance End.
[2025-04-12 04:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889007') end
[2025-04-12 04:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 04:08:04] Production.INFO: 1
[2025-04-12 04:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 04:08:04] Production.INFO: ==19430== Releasing lock...
[2025-04-12 04:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 04:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 04:08:04] Production.ERROR: CronJobId end 12
[2025-04-12 04:08:04] Production.INFO: ==19426== Releasing lock...
[2025-04-12 04:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 04:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 04:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 01:08:05
[end_date_ymd] => 2025-04-12 04:08:05
[RateCDR] => 1
)
[2025-04-12 04:08:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 01:08:05' and `end` < '2025-04-12 04:08:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 04:08:14] Production.ERROR: CronJobId end10
[2025-04-12 04:08:14] Production.INFO: ==19424== Releasing lock...
[2025-04-12 04:08:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 04:08:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 04:08:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 04:08:16] Production.INFO: ============== Balance Warning START===========
[2025-04-12 04:08:16] Production.INFO: ============== Balance Warning END===========
[2025-04-12 04:08:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 04:08:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 04:08:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 04:08:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 04:08:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 04:08:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 04:08:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 04:08:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 04:08:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 04:08:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 04:08:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 04:08:16] Production.INFO: call_cost start
[2025-04-12 04:08:16] Production.INFO: call_cost end
[2025-04-12 04:08:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 04:08:18] Production.INFO: ============== Report Schedule START===========
[2025-04-12 04:08:18] Production.INFO: ============== Report Schedule END===========
[2025-04-12 04:08:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 04:08:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 04:08:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 04:08:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 04:08:18] Production.INFO: ============== Deal alert START===========
[2025-04-12 04:08:18] Production.INFO: ============== Deal alert END===========
[2025-04-12 04:08:18] Production.INFO: ==19419== Releasing lock...
[2025-04-12 04:08:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 04:08:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 04:08:18] Production.INFO: count ==255
[2025-04-12 04:08:18] Production.ERROR: pbx CDR StartTime 2025-04-12 01:08:05 - End Time 2025-04-12 04:08:05
[2025-04-12 04:08:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 04:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889009', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889009', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889009', 'tblTempVendorCDR_20' ) start
[2025-04-12 04:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889009', 'tblTempVendorCDR_20' ) end
[2025-04-12 04:08:18] Production.INFO: ProcessCDR(1,14889009,1,1,2)
[2025-04-12 04:08:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889009,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:08:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889009,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:08:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889009,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:08:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889009,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889009', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889009', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:08:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 04:08:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 04:08:22] Production.INFO: ==19428== Releasing lock...
[2025-04-12 04:08:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 04:08:22] Production.INFO: 29.25 MB #Memory Used#
[2025-04-12 09:09:01] Production.INFO: ==19486== Lock acquired, processing the job...
[2025-04-12 09:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 09:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 09:09:01] Production.INFO: neon service started
[2025-04-12 09:09:01] Production.INFO: neon service started
[2025-04-12 09:09:01] Production.INFO: ==19486== Releasing lock...
[2025-04-12 09:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 09:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 08:09:02] Production.INFO: ==19490== Lock acquired, processing the job...
[2025-04-12 08:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 08:09:02] Production.INFO: ==19490== Releasing lock...
[2025-04-12 08:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 08:09:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 04:09:02] Production.INFO: ==19488== Lock acquired, processing the job...
[2025-04-12 04:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 04:09:02] Production.INFO: ==19488== Releasing lock...
[2025-04-12 04:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 04:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 04:09:03] Production.INFO: ==19492== Lock acquired, processing the job...
[2025-04-12 04:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 04:09:03] Production.INFO: ==19494== Lock acquired, processing the job...
[2025-04-12 04:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 04:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 04:09:03] Production.INFO: ==19503== Lock acquired, processing the job...
[2025-04-12 04:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 04:09:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 04:09:03] Production.INFO: count ==12
[2025-04-12 04:09:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 04:09:03] Production.INFO: ==19494== Releasing lock...
[2025-04-12 04:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 04:09:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 04:09:03] Production.INFO: count ==23
[2025-04-12 04:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889012') start
[2025-04-12 04:09:04] Production.INFO: ==19496== Lock acquired, processing the job...
[2025-04-12 04:09:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 04:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889012') end
[2025-04-12 04:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 04:09:04] Production.INFO: 1
[2025-04-12 04:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 04:09:04] Production.INFO: ==19499== Lock acquired, processing the job...
[2025-04-12 04:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 04:09:04] Production.INFO: ==19503== Releasing lock...
[2025-04-12 04:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 04:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 04:09:04] Production.INFO: ==19501== Lock acquired, processing the job...
[2025-04-12 04:09:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 04:09:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 04:09:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 04:09:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 04:09:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 04:09:04] Production.INFO: Account Balance Start.
[2025-04-12 04:09:04] Production.INFO: CreateAllLog Start
[2025-04-12 04:09:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 04:09:04] Production.INFO: 117
[2025-04-12 04:09:04] Production.INFO: Date 2025-04-08
[2025-04-12 04:09:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:09:04] Production.INFO: Date 2025-04-09
[2025-04-12 04:09:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:09:04] Production.INFO: Date 2025-04-10
[2025-04-12 04:09:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:09:04] Production.INFO: Date 2025-04-11
[2025-04-12 04:09:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:09:04] Production.INFO: Date 2025-04-12
[2025-04-12 04:09:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:09:04] Production.INFO: Total Charge 0
[2025-04-12 04:09:04] Production.INFO: CreateAllLog End
[2025-04-12 04:09:04] Production.ERROR: done
[2025-04-12 04:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 04:09:04] Production.INFO: Account Balance End.
[2025-04-12 04:09:04] Production.ERROR: CronJobId end 12
[2025-04-12 04:09:04] Production.INFO: ==19499== Releasing lock...
[2025-04-12 04:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 04:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 04:09:04] Production.ERROR: done
[2025-04-12 04:09:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 01:09:06
[end_date_ymd] => 2025-04-12 04:09:06
[RateCDR] => 1
)
[2025-04-12 04: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-12 01:09:06' and `end` < '2025-04-12 04: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-12 04:09:12] Production.ERROR: CronJobId end10
[2025-04-12 04:09:12] Production.INFO: ==19496== Releasing lock...
[2025-04-12 04:09:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 04:09:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 04:09:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 04:09:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 04:09:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 04:09:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 04:09:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 04:09:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 04:09:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 04:09:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 04:09:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 04:09:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 04:09:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 04:09:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 04:09:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 04:09:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 04:09:15] Production.INFO: call_cost start
[2025-04-12 04:09:15] Production.INFO: call_cost end
[2025-04-12 04:09:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 04:09:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 04:09:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 04:09:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 04:09:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 04:09:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 04:09:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 04:09:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 04:09:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 04:09:16] Production.INFO: ==19492== Releasing lock...
[2025-04-12 04:09:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 04:09:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 04:09:18] Production.INFO: count ==260
[2025-04-12 04:09:18] Production.ERROR: pbx CDR StartTime 2025-04-12 01:09:06 - End Time 2025-04-12 04:09:06
[2025-04-12 04:09:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 04:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889014', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889014', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889014', 'tblTempVendorCDR_20' ) start
[2025-04-12 04:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889014', 'tblTempVendorCDR_20' ) end
[2025-04-12 04:09:18] Production.INFO: ProcessCDR(1,14889014,1,1,2)
[2025-04-12 04:09:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889014,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:09:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889014,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:09:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889014,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:09:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889014,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889014', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889014', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:09:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 04:09:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 04:09:22] Production.INFO: ==19501== Releasing lock...
[2025-04-12 04:09:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 04:09:22] Production.INFO: 29.25 MB #Memory Used#
[2025-04-12 09:10:02] Production.INFO: ==19558== Lock acquired, processing the job...
[2025-04-12 09:10:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 09:10:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 09:10:02] Production.INFO: neon service started
[2025-04-12 09:10:02] Production.INFO: neon service started
[2025-04-12 09:10:02] Production.INFO: ==19558== Releasing lock...
[2025-04-12 09:10:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 09:10:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 08:10:02] Production.INFO: ==19562== Lock acquired, processing the job...
[2025-04-12 08:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 08:10:02] Production.INFO: ==19562== Releasing lock...
[2025-04-12 08:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 08:10:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 04:10:03] Production.INFO: ==19560== Lock acquired, processing the job...
[2025-04-12 04:10:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 04:10:03] Production.INFO: ==19560== Releasing lock...
[2025-04-12 04:10:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 04:10:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 04:10:04] Production.INFO: ==19565== Lock acquired, processing the job...
[2025-04-12 04:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 04:10:04] Production.INFO: ==19567== Lock acquired, processing the job...
[2025-04-12 04:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 04:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 04:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 04:10:04] Production.INFO: ==19565== Releasing lock...
[2025-04-12 04:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 04:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 04:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 04:10:04] Production.INFO: ==19571== Lock acquired, processing the job...
[2025-04-12 04:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 04:10:04] Production.INFO: ==19569== Lock acquired, processing the job...
[2025-04-12 04:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 04:10:04] Production.INFO: ==19575== Lock acquired, processing the job...
[2025-04-12 04:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 04:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 04:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 04:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 04:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 04:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 04:10:04] Production.INFO: ==19573== Lock acquired, processing the job...
[2025-04-12 04:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 04:10:04] Production.INFO: ==19577== Lock acquired, processing the job...
[2025-04-12 04:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 04:10:05] Production.INFO: Account Balance Start.
[2025-04-12 04:10:05] Production.INFO: CreateAllLog Start
[2025-04-12 04:10:05] Production.INFO: 117
[2025-04-12 04:10:05] Production.INFO: ==19569== Releasing lock...
[2025-04-12 04:10:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 04:10:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 04:10:05] Production.INFO: Date 2025-04-08
[2025-04-12 04:10:05] Production.INFO: Reseller ==> 0
[2025-04-12 04:10:05] Production.INFO: ==19579== Lock acquired, processing the job...
[2025-04-12 04:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 04:10:05] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 04:10:05] Production.INFO: Date 2025-04-09
[2025-04-12 04:10:05] Production.INFO: Reseller ==> 0
[2025-04-12 04:10:05] Production.ERROR: done
[2025-04-12 04:10:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 04:10:05] Production.INFO: Date 2025-04-10
[2025-04-12 04:10:05] Production.INFO: Reseller ==> 0
[2025-04-12 04:10:05] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 04:10:05] Production.INFO: count ==12
[2025-04-12 04:10:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 04:10:05] Production.INFO: count ==23
[2025-04-12 04:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14889018') start
[2025-04-12 04:10:05] Production.INFO: Date 2025-04-11
[2025-04-12 04:10:05] Production.INFO: Reseller ==> 0
[2025-04-12 04:10:05] Production.ERROR: done
[2025-04-12 04:10:05] Production.INFO: Date 2025-04-12
[2025-04-12 04:10:05] Production.INFO: Reseller ==> 0
[2025-04-12 04:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14889018') end
[2025-04-12 04:10:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 04:10:05] Production.INFO: 1
[2025-04-12 04:10:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 04:10:05] Production.INFO: Total Charge 0
[2025-04-12 04:10:05] Production.INFO: CreateAllLog End
[2025-04-12 04:10:05] Production.INFO: ==19579== Releasing lock...
[2025-04-12 04:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 04:10:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 04:10:05] Production.ERROR: done
[2025-04-12 04:10:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 04:10:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14889020', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 04:10:05] Production.INFO: Account Balance End.
[2025-04-12 04:10:05] Production.ERROR: CronJobId end 12
[2025-04-12 04:10:05] Production.INFO: ==19573== Releasing lock...
[2025-04-12 04:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 04:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 04:10:07] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 01:10:06
[end_date_ymd] => 2025-04-12 04:10:06
[RateCDR] => 1
)
[2025-04-12 04:10:07] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 01:10:06' and `end` < '2025-04-12 04:10:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 04:10:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14889020', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 04:10:10] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 04:10:10] Production.INFO: ProcessCDR(1,14889020,1,1,2)
[2025-04-12 04:10:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14889020,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:10:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14889020,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:10:10] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 04:10:10] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 04:10:10] Production.INFO: ==19577== Releasing lock...
[2025-04-12 04:10:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 04:10:10] Production.INFO: 26 MB #Memory Used#
[2025-04-12 04:10:15] Production.ERROR: CronJobId end10
[2025-04-12 04:10:15] Production.INFO: ==19571== Releasing lock...
[2025-04-12 04:10:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 04:10:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 04:10:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 04:10:17] Production.INFO: ============== Balance Warning START===========
[2025-04-12 04:10:17] Production.INFO: ============== Balance Warning END===========
[2025-04-12 04:10:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 04:10:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 04:10:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 04:10:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 04:10:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 04:10:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 04:10:17] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 04:10:17] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 04:10:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 04:10:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 04:10:17] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 04:10:17] Production.INFO: call_cost start
[2025-04-12 04:10:17] Production.INFO: call_cost end
[2025-04-12 04:10:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 04:10:18] Production.INFO: ============== Report Schedule START===========
[2025-04-12 04:10:18] Production.INFO: ============== Report Schedule END===========
[2025-04-12 04:10:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 04:10:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 04:10:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 04:10:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 04:10:18] Production.INFO: ============== Deal alert START===========
[2025-04-12 04:10:18] Production.INFO: ============== Deal alert END===========
[2025-04-12 04:10:18] Production.INFO: ==19567== Releasing lock...
[2025-04-12 04:10:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 04:10:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 04:10:19] Production.INFO: count ==259
[2025-04-12 04:10:19] Production.ERROR: pbx CDR StartTime 2025-04-12 01:10:06 - End Time 2025-04-12 04:10:06
[2025-04-12 04:10:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 04:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889019', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889019', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889019', 'tblTempVendorCDR_20' ) start
[2025-04-12 04:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889019', 'tblTempVendorCDR_20' ) end
[2025-04-12 04:10:19] Production.INFO: ProcessCDR(1,14889019,1,1,2)
[2025-04-12 04:10:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889019,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:10:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889019,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:10:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889019,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:10:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889019,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:10:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889019', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:10:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889019', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:10:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 04:10:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 04:10:23] Production.INFO: ==19575== Releasing lock...
[2025-04-12 04:10:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 04:10:23] Production.INFO: 29.25 MB #Memory Used#
[2025-04-12 09:11:01] Production.INFO: ==19637== Lock acquired, processing the job...
[2025-04-12 09:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 09:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 09:11:01] Production.INFO: neon service started
[2025-04-12 09:11:01] Production.INFO: neon service started
[2025-04-12 09:11:01] Production.INFO: ==19637== Releasing lock...
[2025-04-12 09:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 09:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 04:11:02] Production.INFO: ==19639== Lock acquired, processing the job...
[2025-04-12 04:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 08:11:02] Production.INFO: ==19641== Lock acquired, processing the job...
[2025-04-12 08:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 08:11:02] Production.INFO: ==19641== Releasing lock...
[2025-04-12 08:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 08:11:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 04:11:03] Production.INFO: ==19639== Releasing lock...
[2025-04-12 04:11:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 04:11:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 04:11:03] Production.INFO: ==19650== Lock acquired, processing the job...
[2025-04-12 04:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 04:11:04] Production.INFO: ==19644== Lock acquired, processing the job...
[2025-04-12 04:11:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 04:11:04] Production.INFO: ==19654== Lock acquired, processing the job...
[2025-04-12 04:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 04:11:04] Production.INFO: Account Balance Start.
[2025-04-12 04:11:04] Production.INFO: CreateAllLog Start
[2025-04-12 04:11:04] Production.INFO: ==19646== Lock acquired, processing the job...
[2025-04-12 04:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 04:11:04] Production.INFO: 117
[2025-04-12 04:11:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 04:11:04] Production.INFO: Date 2025-04-08
[2025-04-12 04:11:04] Production.INFO: ==19652== Lock acquired, processing the job...
[2025-04-12 04:11:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 04: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-12 04:11:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:11:04] Production.INFO: ==19648== Lock acquired, processing the job...
[2025-04-12 04:11:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 04:11:04] Production.INFO: count ==12
[2025-04-12 04:11:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 04:11:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 04:11:04] Production.INFO: count ==23
[2025-04-12 04:11:04] Production.INFO: Date 2025-04-09
[2025-04-12 04:11:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889022') start
[2025-04-12 04:11:04] Production.INFO: Date 2025-04-10
[2025-04-12 04:11:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:11:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 04:11:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 04:11:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 04:11:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 04:11:04] Production.INFO: Date 2025-04-11
[2025-04-12 04:11:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:11:04] Production.INFO: Date 2025-04-12
[2025-04-12 04:11:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:11:04] Production.INFO: Total Charge 0
[2025-04-12 04:11:04] Production.INFO: CreateAllLog End
[2025-04-12 04:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889022') end
[2025-04-12 04:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 04:11:04] Production.INFO: 1
[2025-04-12 04:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 04:11:04] Production.INFO: ==19646== Releasing lock...
[2025-04-12 04:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 04:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 04:11:04] Production.ERROR: done
[2025-04-12 04:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 04:11:04] Production.INFO: ==19654== Releasing lock...
[2025-04-12 04:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 04:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 04:11:04] Production.ERROR: done
[2025-04-12 04:11:04] Production.INFO: Account Balance End.
[2025-04-12 04:11:04] Production.ERROR: CronJobId end 12
[2025-04-12 04:11:04] Production.INFO: ==19650== Releasing lock...
[2025-04-12 04:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 04:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 04:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 01:11:05
[end_date_ymd] => 2025-04-12 04:11:05
[RateCDR] => 1
)
[2025-04-12 04:11:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 01:11:05' and `end` < '2025-04-12 04:11:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 04:11:11] Production.ERROR: CronJobId end10
[2025-04-12 04:11:11] Production.INFO: ==19648== Releasing lock...
[2025-04-12 04:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 04:11:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 04:11:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 04:11:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 04:11:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 04:11:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 04:11:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 04:11:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 04:11:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 04:11:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 04:11:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 04:11:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 04:11:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 04:11:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 04:11:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 04:11:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 04:11:14] Production.INFO: call_cost start
[2025-04-12 04:11:14] Production.INFO: call_cost end
[2025-04-12 04:11:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 04:11:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 04:11:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 04:11:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 04:11:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 04:11:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 04:11:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 04:11:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 04:11:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 04:11:15] Production.INFO: ==19644== Releasing lock...
[2025-04-12 04:11:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 04:11:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 04:11:18] Production.INFO: count ==255
[2025-04-12 04:11:18] Production.ERROR: pbx CDR StartTime 2025-04-12 01:11:05 - End Time 2025-04-12 04:11:05
[2025-04-12 04:11:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 04:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889025', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889025', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889025', 'tblTempVendorCDR_20' ) start
[2025-04-12 04:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889025', 'tblTempVendorCDR_20' ) end
[2025-04-12 04:11:18] Production.INFO: ProcessCDR(1,14889025,1,1,2)
[2025-04-12 04:11:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889025,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:11:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889025,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:11:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889025,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:11:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889025,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889025', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889025', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:11:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 04:11:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 04:11:22] Production.INFO: ==19652== Releasing lock...
[2025-04-12 04:11:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 04:11:22] Production.INFO: 29.25 MB #Memory Used#
[2025-04-12 09:12:01] Production.INFO: ==19718== Lock acquired, processing the job...
[2025-04-12 09:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 09:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 09:12:01] Production.INFO: neon service started
[2025-04-12 09:12:01] Production.INFO: neon service started
[2025-04-12 09:12:01] Production.INFO: ==19718== Releasing lock...
[2025-04-12 09:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 09:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 08:12:01] Production.INFO: ==19722== Lock acquired, processing the job...
[2025-04-12 08:12:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 08:12:01] Production.INFO: ==19722== Releasing lock...
[2025-04-12 08:12:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 08:12:01] Production.INFO: 25 MB #Memory Used#
[2025-04-12 04:12:01] Production.INFO: ==19720== Lock acquired, processing the job...
[2025-04-12 04:12:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 04:12:02] Production.INFO: ==19720== Releasing lock...
[2025-04-12 04:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 04:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 04:12:03] Production.INFO: ==19725== Lock acquired, processing the job...
[2025-04-12 04:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 04:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 04:12:03] Production.INFO: ==19729== Lock acquired, processing the job...
[2025-04-12 04:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 04:12:03] Production.INFO: ==19733== Lock acquired, processing the job...
[2025-04-12 04:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 04:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 04:12:03] Production.INFO: ==19731== Lock acquired, processing the job...
[2025-04-12 04:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 04:12:03] Production.INFO: ==19727== Lock acquired, processing the job...
[2025-04-12 04:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 04:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 04:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 04:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 04:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 04:12:03] Production.INFO: ==19735== Lock acquired, processing the job...
[2025-04-12 04:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 04:12:03] Production.INFO: Account Balance Start.
[2025-04-12 04:12:03] Production.INFO: CreateAllLog Start
[2025-04-12 04:12:03] Production.INFO: 117
[2025-04-12 04:12:03] Production.INFO: Date 2025-04-08
[2025-04-12 04:12:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:12:03] Production.INFO: Date 2025-04-09
[2025-04-12 04:12:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:12:03] Production.ERROR: done
[2025-04-12 04:12:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 04:12:03] Production.INFO: Date 2025-04-10
[2025-04-12 04:12:03] Production.INFO: Reseller ==> 0
[2025-04-12 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-12 04:12:03] Production.INFO: Date 2025-04-11
[2025-04-12 04:12:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:12:03] Production.INFO: Date 2025-04-12
[2025-04-12 04:12:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:12:03] Production.INFO: count ==12
[2025-04-12 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-12 04:12:03] Production.INFO: count ==23
[2025-04-12 04:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889029') start
[2025-04-12 04:12:03] Production.ERROR: done
[2025-04-12 04:12:03] Production.INFO: ==19727== Releasing lock...
[2025-04-12 04:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 04:12:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 04:12:03] Production.INFO: Total Charge 0
[2025-04-12 04:12:04] Production.INFO: CreateAllLog End
[2025-04-12 04:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889029') end
[2025-04-12 04:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 04:12:04] Production.INFO: 1
[2025-04-12 04:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 04:12:04] Production.INFO: ==19735== Releasing lock...
[2025-04-12 04:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 04:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 04:12:04] Production.INFO: Account Balance End.
[2025-04-12 04:12:04] Production.ERROR: CronJobId end 12
[2025-04-12 04:12:04] Production.INFO: ==19731== Releasing lock...
[2025-04-12 04:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 04:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 04:12:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 01:12:04
[end_date_ymd] => 2025-04-12 04:12:04
[RateCDR] => 1
)
[2025-04-12 04:12:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 01:12:04' and `end` < '2025-04-12 04:12:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 04:12:11] Production.ERROR: CronJobId end10
[2025-04-12 04:12:11] Production.INFO: ==19729== Releasing lock...
[2025-04-12 04:12:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 04:12:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 04:12:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 04:12:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 04:12:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 04:12:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 04:12:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 04:12:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 04:12:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 04:12:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 04:12:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 04:12:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 04:12:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 04:12:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 04:12:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 04:12:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 04:12:13] Production.INFO: call_cost start
[2025-04-12 04:12:13] Production.INFO: call_cost end
[2025-04-12 04:12:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 04:12:14] Production.INFO: ============== Report Schedule START===========
[2025-04-12 04:12:14] Production.INFO: ============== Report Schedule END===========
[2025-04-12 04:12:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 04:12:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 04:12:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 04:12:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 04:12:14] Production.INFO: ============== Deal alert START===========
[2025-04-12 04:12:14] Production.INFO: ============== Deal alert END===========
[2025-04-12 04:12:14] Production.INFO: ==19725== Releasing lock...
[2025-04-12 04:12:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 04:12:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 04:12:17] Production.INFO: count ==255
[2025-04-12 04:12:17] Production.ERROR: pbx CDR StartTime 2025-04-12 01:12:04 - End Time 2025-04-12 04:12:04
[2025-04-12 04:12:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 04:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889030', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889030', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889030', 'tblTempVendorCDR_20' ) start
[2025-04-12 04:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889030', 'tblTempVendorCDR_20' ) end
[2025-04-12 04:12:17] Production.INFO: ProcessCDR(1,14889030,1,1,2)
[2025-04-12 04:12:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889030,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:12:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889030,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:12:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889030,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:12:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889030,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889030', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889030', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:12:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 04:12:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 04:12:21] Production.INFO: ==19733== Releasing lock...
[2025-04-12 04:12:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 04:12:21] Production.INFO: 29.25 MB #Memory Used#
[2025-04-12 09:13:01] Production.INFO: ==19789== Lock acquired, processing the job...
[2025-04-12 09:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 09:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 09:13:01] Production.INFO: neon service started
[2025-04-12 09:13:01] Production.INFO: neon service started
[2025-04-12 09:13:01] Production.INFO: ==19789== Releasing lock...
[2025-04-12 09:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 09:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 04:13:02] Production.INFO: ==19791== Lock acquired, processing the job...
[2025-04-12 04:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 08:13:02] Production.INFO: ==19793== Lock acquired, processing the job...
[2025-04-12 08:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 08:13:02] Production.INFO: ==19793== Releasing lock...
[2025-04-12 08:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 08:13:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 04:13:02] Production.INFO: ==19791== Releasing lock...
[2025-04-12 04:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 04:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 04:13:03] Production.INFO: ==19802== Lock acquired, processing the job...
[2025-04-12 04:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 04:13:03] Production.INFO: ==19800== Lock acquired, processing the job...
[2025-04-12 04:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 04:13:03] Production.INFO: ==19796== Lock acquired, processing the job...
[2025-04-12 04:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 04:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 04:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 04:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 04:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 04:13:03] Production.INFO: Account Balance Start.
[2025-04-12 04:13:03] Production.INFO: CreateAllLog Start
[2025-04-12 04:13:03] Production.INFO: 117
[2025-04-12 04:13:04] Production.INFO: Date 2025-04-08
[2025-04-12 04:13:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:13:04] Production.INFO: Date 2025-04-09
[2025-04-12 04:13:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:13:04] Production.INFO: Date 2025-04-10
[2025-04-12 04:13:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:13:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 04:13:04] Production.INFO: ==19798== Lock acquired, processing the job...
[2025-04-12 04:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 04:13:04] Production.INFO: Date 2025-04-11
[2025-04-12 04:13:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:13:04] Production.INFO: Date 2025-04-12
[2025-04-12 04:13:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:13:04] Production.INFO: Total Charge 0
[2025-04-12 04:13:04] Production.INFO: ==19804== Lock acquired, processing the job...
[2025-04-12 04:13:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 04:13:04] Production.INFO: ==19806== Lock acquired, processing the job...
[2025-04-12 04:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 04:13:04] Production.INFO: CreateAllLog End
[2025-04-12 04:13:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 04:13:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 04:13:04] Production.INFO: count ==12
[2025-04-12 04:13:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 04:13:04] Production.INFO: count ==23
[2025-04-12 04:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889034') start
[2025-04-12 04:13:04] Production.INFO: ==19798== Releasing lock...
[2025-04-12 04:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 04:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 04:13:04] Production.INFO: Account Balance End.
[2025-04-12 04:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889034') end
[2025-04-12 04:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 04:13:04] Production.INFO: 1
[2025-04-12 04:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 04:13:04] Production.INFO: ==19806== Releasing lock...
[2025-04-12 04:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 04:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 04:13:04] Production.ERROR: CronJobId end 12
[2025-04-12 04:13:04] Production.INFO: ==19802== Releasing lock...
[2025-04-12 04:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 04:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 04:13:04] Production.ERROR: done
[2025-04-12 04:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 04:13:05] Production.ERROR: done
[2025-04-12 04:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 01:13:05
[end_date_ymd] => 2025-04-12 04:13:05
[RateCDR] => 1
)
[2025-04-12 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-12 01:13:05' and `end` < '2025-04-12 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-12 04:13:11] Production.ERROR: CronJobId end10
[2025-04-12 04:13:11] Production.INFO: ==19800== Releasing lock...
[2025-04-12 04:13:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 04:13:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 04:13:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 04:13:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 04:13:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 04:13:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 04:13:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 04:13:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 04:13:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 04:13:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 04:13:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 04:13:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 04:13:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 04:13:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 04:13:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 04:13:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 04:13:14] Production.INFO: call_cost start
[2025-04-12 04:13:14] Production.INFO: call_cost end
[2025-04-12 04:13:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 04:13:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 04:13:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 04:13:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 04:13:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 04:13:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 04:13:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 04:13:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 04:13:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 04:13:15] Production.INFO: ==19796== Releasing lock...
[2025-04-12 04:13:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 04:13:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 04:13:18] Production.INFO: count ==257
[2025-04-12 04:13:18] Production.ERROR: pbx CDR StartTime 2025-04-12 01:13:05 - End Time 2025-04-12 04:13:05
[2025-04-12 04:13:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 04:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889035', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889035', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889035', 'tblTempVendorCDR_20' ) start
[2025-04-12 04:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889035', 'tblTempVendorCDR_20' ) end
[2025-04-12 04:13:18] Production.INFO: ProcessCDR(1,14889035,1,1,2)
[2025-04-12 04:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889035,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:13:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889035,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:13:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889035,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:13:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889035,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889035', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889035', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:13:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 04:13:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 04:13:21] Production.INFO: ==19804== Releasing lock...
[2025-04-12 04:13:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 04:13:21] Production.INFO: 29.25 MB #Memory Used#
[2025-04-12 09:14:02] Production.INFO: ==19861== Lock acquired, processing the job...
[2025-04-12 09:14:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 09:14:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 09:14:02] Production.INFO: neon service started
[2025-04-12 09:14:02] Production.INFO: neon service started
[2025-04-12 09:14:02] Production.INFO: ==19861== Releasing lock...
[2025-04-12 09:14:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 09:14:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 04:14:02] Production.INFO: ==19863== Lock acquired, processing the job...
[2025-04-12 04:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 04:14:02] Production.INFO: ==19863== Releasing lock...
[2025-04-12 04:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 04:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 08:14:03] Production.INFO: ==19865== Lock acquired, processing the job...
[2025-04-12 08:14:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 08:14:03] Production.INFO: ==19865== Releasing lock...
[2025-04-12 08:14:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 08:14:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 04:14:03] Production.INFO: ==19871== Lock acquired, processing the job...
[2025-04-12 04:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 04:14:03] Production.INFO: ==19877== Lock acquired, processing the job...
[2025-04-12 04:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 04:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 04:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 04:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 04:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 04:14:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 04:14:04] Production.INFO: count ==12
[2025-04-12 04: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-12 04:14:04] Production.INFO: count ==23
[2025-04-12 04:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889036') start
[2025-04-12 04:14:04] Production.INFO: ==19867== Lock acquired, processing the job...
[2025-04-12 04:14:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 04:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889036') end
[2025-04-12 04:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 04:14:04] Production.INFO: 1
[2025-04-12 04:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 04:14:04] Production.INFO: ==19869== Lock acquired, processing the job...
[2025-04-12 04:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 04:14:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 04:14:04] Production.INFO: ==19877== Releasing lock...
[2025-04-12 04:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 04:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 04:14:04] Production.INFO: ==19873== Lock acquired, processing the job...
[2025-04-12 04:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 04:14:04] Production.INFO: ==19875== Lock acquired, processing the job...
[2025-04-12 04:14:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 04:14:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 04:14:04] Production.INFO: Account Balance Start.
[2025-04-12 04:14:04] Production.INFO: CreateAllLog Start
[2025-04-12 04:14:04] Production.INFO: 117
[2025-04-12 04:14:04] Production.INFO: Date 2025-04-08
[2025-04-12 04:14:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:14:04] Production.INFO: Date 2025-04-09
[2025-04-12 04:14:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:14:04] Production.INFO: ==19869== Releasing lock...
[2025-04-12 04:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 04:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 04:14:04] Production.INFO: Date 2025-04-10
[2025-04-12 04:14:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:14:04] Production.ERROR: done
[2025-04-12 04:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 04:14:04] Production.INFO: Date 2025-04-11
[2025-04-12 04:14:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:14:04] Production.INFO: Date 2025-04-12
[2025-04-12 04:14:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:14:04] Production.INFO: Total Charge 0
[2025-04-12 04:14:05] Production.INFO: CreateAllLog End
[2025-04-12 04:14:05] Production.ERROR: done
[2025-04-12 04:14:05] Production.INFO: Account Balance End.
[2025-04-12 04:14:05] Production.ERROR: CronJobId end 12
[2025-04-12 04:14:05] Production.INFO: ==19873== Releasing lock...
[2025-04-12 04:14:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 04:14:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 04:14:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 01:14:06
[end_date_ymd] => 2025-04-12 04:14:06
[RateCDR] => 1
)
[2025-04-12 04: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-12 01:14:06' and `end` < '2025-04-12 04: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-12 04:14:12] Production.ERROR: CronJobId end10
[2025-04-12 04:14:12] Production.INFO: ==19871== Releasing lock...
[2025-04-12 04:14:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 04:14:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 04:14:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 04:14:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 04:14:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 04:14:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 04:14:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 04:14:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 04:14:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 04:14:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 04:14:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 04:14:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 04:14:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 04:14:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 04:14:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 04:14:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 04:14:15] Production.INFO: call_cost start
[2025-04-12 04:14:15] Production.INFO: call_cost end
[2025-04-12 04:14:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 04:14:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 04:14:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 04:14:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 04:14:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 04:14:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 04:14:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 04:14:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 04:14:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 04:14:15] Production.INFO: ==19867== Releasing lock...
[2025-04-12 04:14:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 04:14:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 04:14:18] Production.INFO: count ==258
[2025-04-12 04:14:18] Production.ERROR: pbx CDR StartTime 2025-04-12 01:14:06 - End Time 2025-04-12 04:14:06
[2025-04-12 04:14:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 04:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889040', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889040', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889040', 'tblTempVendorCDR_20' ) start
[2025-04-12 04:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889040', 'tblTempVendorCDR_20' ) end
[2025-04-12 04:14:18] Production.INFO: ProcessCDR(1,14889040,1,1,2)
[2025-04-12 04:14:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889040,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:14:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889040,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:14:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889040,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:14:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889040,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:14:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889040', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:14:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889040', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:14:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 04:14:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 04:14:24] Production.INFO: ==19875== Releasing lock...
[2025-04-12 04:14:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 04:14:24] Production.INFO: 29.25 MB #Memory Used#
[2025-04-12 09:15:01] Production.INFO: ==19933== Lock acquired, processing the job...
[2025-04-12 09:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 09:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 09:15:01] Production.INFO: neon service started
[2025-04-12 09:15:01] Production.INFO: neon service started
[2025-04-12 09:15:01] Production.INFO: ==19933== Releasing lock...
[2025-04-12 09:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 09:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 04:15:02] Production.INFO: ==19935== Lock acquired, processing the job...
[2025-04-12 04:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 04:15:02] Production.INFO: ==19935== Releasing lock...
[2025-04-12 04:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 04:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 08:15:02] Production.INFO: ==19937== Lock acquired, processing the job...
[2025-04-12 08:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 08:15:02] Production.INFO: ==19937== Releasing lock...
[2025-04-12 08:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 08:15:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 04:15:03] Production.INFO: ==19939== Lock acquired, processing the job...
[2025-04-12 04:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 04:15:03] Production.INFO: ==19943== Lock acquired, processing the job...
[2025-04-12 04:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 04:15:03] Production.INFO: ==19941== Lock acquired, processing the job...
[2025-04-12 04:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 04:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 04:15:03] Production.INFO: ==19945== Lock acquired, processing the job...
[2025-04-12 04:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 04:15:03] Production.INFO: ==19950== Lock acquired, processing the job...
[2025-04-12 04:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 04:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 04:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 04:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 04:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 04:15:03] Production.INFO: ==19947== Lock acquired, processing the job...
[2025-04-12 04:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 04:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 04:15:03] Production.INFO: Account Balance Start.
[2025-04-12 04:15:03] Production.INFO: CreateAllLog Start
[2025-04-12 04:15:03] Production.INFO: 117
[2025-04-12 04:15:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 04:15:03] Production.INFO: Date 2025-04-08
[2025-04-12 04:15:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:15:03] Production.INFO: count ==12
[2025-04-12 04: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-12 04:15:03] Production.INFO: Date 2025-04-09
[2025-04-12 04:15:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:15:03] Production.INFO: count ==23
[2025-04-12 04:15:04] Production.INFO: ==19941== Releasing lock...
[2025-04-12 04:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 04:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 04:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889044') start
[2025-04-12 04:15:04] Production.INFO: Date 2025-04-10
[2025-04-12 04:15:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889044') end
[2025-04-12 04:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 04:15:04] Production.INFO: 1
[2025-04-12 04:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 04:15:04] Production.INFO: Date 2025-04-11
[2025-04-12 04:15:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:15:04] Production.INFO: Date 2025-04-12
[2025-04-12 04:15:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:15:04] Production.INFO: Total Charge 0
[2025-04-12 04:15:04] Production.INFO: CreateAllLog End
[2025-04-12 04:15:04] Production.ERROR: done
[2025-04-12 04:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 04:15:04] Production.INFO: ==19950== Releasing lock...
[2025-04-12 04:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 04:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 04:15:04] Production.ERROR: done
[2025-04-12 04:15:04] Production.INFO: Account Balance End.
[2025-04-12 04:15:04] Production.ERROR: CronJobId end 12
[2025-04-12 04:15:04] Production.INFO: ==19945== Releasing lock...
[2025-04-12 04:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 04:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 04:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 01:15:05
[end_date_ymd] => 2025-04-12 04:15:05
[RateCDR] => 1
)
[2025-04-12 04:15:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 01:15:05' and `end` < '2025-04-12 04:15:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 04:15:12] Production.ERROR: CronJobId end10
[2025-04-12 04:15:12] Production.INFO: ==19943== Releasing lock...
[2025-04-12 04:15:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 04:15:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 04:15:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 04:15:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 04:15:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 04:15:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 04:15:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 04:15:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 04:15:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 04:15:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 04:15:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 04:15:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 04:15:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 04:15:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 04:15:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 04:15:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 04:15:14] Production.INFO: call_cost start
[2025-04-12 04:15:14] Production.INFO: call_cost end
[2025-04-12 04:15:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 04:15:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 04:15:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 04:15:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 04:15:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 04:15:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 04:15:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 04:15:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 04:15:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 04:15:15] Production.INFO: ==19939== Releasing lock...
[2025-04-12 04:15:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 04:15:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 04:15:18] Production.INFO: count ==259
[2025-04-12 04:15:18] Production.ERROR: pbx CDR StartTime 2025-04-12 01:15:05 - End Time 2025-04-12 04:15:05
[2025-04-12 04:15:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 04:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889045', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889045', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889045', 'tblTempVendorCDR_20' ) start
[2025-04-12 04:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889045', 'tblTempVendorCDR_20' ) end
[2025-04-12 04:15:18] Production.INFO: ProcessCDR(1,14889045,1,1,2)
[2025-04-12 04:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889045,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:15:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889045,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:15:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889045,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:15:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889045,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889045', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889045', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:15:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 04:15:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 04:15:23] Production.INFO: ==19947== Releasing lock...
[2025-04-12 04:15:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 04:15:23] Production.INFO: 29.25 MB #Memory Used#
[2025-04-12 09:16:02] Production.INFO: ==20041== Lock acquired, processing the job...
[2025-04-12 09:16:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 09:16:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 09:16:02] Production.INFO: neon service started
[2025-04-12 09:16:02] Production.INFO: neon service started
[2025-04-12 09:16:02] Production.INFO: ==20041== Releasing lock...
[2025-04-12 09:16:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 09:16:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 04:16:03] Production.INFO: ==20043== Lock acquired, processing the job...
[2025-04-12 04:16:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 08:16:03] Production.INFO: ==20045== Lock acquired, processing the job...
[2025-04-12 08:16:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 08:16:03] Production.INFO: ==20045== Releasing lock...
[2025-04-12 08:16:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 08:16:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 04:16:03] Production.INFO: ==20043== Releasing lock...
[2025-04-12 04:16:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 04:16:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 04:16:04] Production.INFO: ==20050== Lock acquired, processing the job...
[2025-04-12 04:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 04:16:04] Production.INFO: ==20052== Lock acquired, processing the job...
[2025-04-12 04:16:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 04:16:04] Production.INFO: ==20054== Lock acquired, processing the job...
[2025-04-12 04:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 04:16:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 04:16:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 04:16:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 04:16:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 04:16:04] Production.INFO: Account Balance Start.
[2025-04-12 04:16:04] Production.INFO: CreateAllLog Start
[2025-04-12 04:16:04] Production.INFO: 117
[2025-04-12 04:16:04] Production.INFO: Date 2025-04-08
[2025-04-12 04:16:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:16:04] Production.INFO: Date 2025-04-09
[2025-04-12 04:16:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:16:04] Production.INFO: ==20050== Releasing lock...
[2025-04-12 04:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 04:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 04:16:04] Production.INFO: ==20048== Lock acquired, processing the job...
[2025-04-12 04:16:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 04:16:04] Production.INFO: Date 2025-04-10
[2025-04-12 04:16:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:16:04] Production.INFO: ==20058== Lock acquired, processing the job...
[2025-04-12 04:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 04:16:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 04:16:04] Production.INFO: Date 2025-04-11
[2025-04-12 04:16:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:16:04] Production.INFO: Date 2025-04-12
[2025-04-12 04:16:04] Production.INFO: ==20056== Lock acquired, processing the job...
[2025-04-12 04:16:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 04:16:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:16:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 04:16:04] Production.INFO: Total Charge 0
[2025-04-12 04:16:04] Production.INFO: count ==12
[2025-04-12 04:16:04] Production.INFO: CreateAllLog End
[2025-04-12 04:16:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 04:16:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 04:16:04] Production.INFO: count ==23
[2025-04-12 04:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889049') start
[2025-04-12 04:16:05] Production.ERROR: PBX CALL prc_importPBXExtension('14889049') end
[2025-04-12 04:16:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 04:16:05] Production.INFO: 1
[2025-04-12 04:16:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 04:16:05] Production.INFO: ==20058== Releasing lock...
[2025-04-12 04:16:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 04:16:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 04:16:05] Production.ERROR: done
[2025-04-12 04:16:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 04:16:05] Production.INFO: Account Balance End.
[2025-04-12 04:16:05] Production.ERROR: CronJobId end 12
[2025-04-12 04:16:05] Production.INFO: ==20054== Releasing lock...
[2025-04-12 04:16:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 04:16:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 04:16:05] Production.ERROR: done
[2025-04-12 04:16:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 01:16:06
[end_date_ymd] => 2025-04-12 04:16:06
[RateCDR] => 1
)
[2025-04-12 04: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-12 01:16:06' and `end` < '2025-04-12 04: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-12 04:16:12] Production.ERROR: CronJobId end10
[2025-04-12 04:16:12] Production.INFO: ==20052== Releasing lock...
[2025-04-12 04:16:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 04:16:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 04:16:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 04:16:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 04:16:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 04:16:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 04:16:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 04:16:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 04:16:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 04:16:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 04:16:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 04:16:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 04:16:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 04:16:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 04:16:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 04:16:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 04:16:15] Production.INFO: call_cost start
[2025-04-12 04:16:15] Production.INFO: call_cost end
[2025-04-12 04:16:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 04:16:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 04:16:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 04:16:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 04:16:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 04:16:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 04:16:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 04:16:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 04:16:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 04:16:16] Production.INFO: ==20048== Releasing lock...
[2025-04-12 04:16:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 04:16:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 04:16:19] Production.INFO: count ==259
[2025-04-12 04:16:19] Production.ERROR: pbx CDR StartTime 2025-04-12 01:16:06 - End Time 2025-04-12 04:16:06
[2025-04-12 04:16:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 04:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889050', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889050', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889050', 'tblTempVendorCDR_20' ) start
[2025-04-12 04:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889050', 'tblTempVendorCDR_20' ) end
[2025-04-12 04:16:19] Production.INFO: ProcessCDR(1,14889050,1,1,2)
[2025-04-12 04:16:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889050,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:16:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889050,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:16:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889050,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:16:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889050,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889050', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889050', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:16:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 04:16:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 04:16:22] Production.INFO: ==20056== Releasing lock...
[2025-04-12 04:16:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 04:16:22] Production.INFO: 29.25 MB #Memory Used#
[2025-04-12 09:17:01] Production.INFO: ==20115== Lock acquired, processing the job...
[2025-04-12 09:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 09:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 09:17:01] Production.INFO: neon service started
[2025-04-12 09:17:01] Production.INFO: neon service started
[2025-04-12 09:17:01] Production.INFO: ==20115== Releasing lock...
[2025-04-12 09:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 09:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 04:17:02] Production.INFO: ==20118== Lock acquired, processing the job...
[2025-04-12 04:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 04:17:02] Production.INFO: ==20118== Releasing lock...
[2025-04-12 04:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 04:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 08:17:02] Production.INFO: ==20120== Lock acquired, processing the job...
[2025-04-12 08:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 08:17:02] Production.INFO: ==20120== Releasing lock...
[2025-04-12 08:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 08:17:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 04:17:03] Production.INFO: ==20126== Lock acquired, processing the job...
[2025-04-12 04:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 04:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 04:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 04:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 04:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 04:17:03] Production.INFO: ==20132== Lock acquired, processing the job...
[2025-04-12 04:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 04:17:03] Production.INFO: ==20124== Lock acquired, processing the job...
[2025-04-12 04:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 04:17:03] Production.INFO: ==20122== Lock acquired, processing the job...
[2025-04-12 04:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 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-12 04:17:03] Production.INFO: count ==12
[2025-04-12 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-12 04:17:03] Production.INFO: count ==23
[2025-04-12 04:17:03] Production.INFO: ==20130== Lock acquired, processing the job...
[2025-04-12 04:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 04:17:03] Production.INFO: ==20128== Lock acquired, processing the job...
[2025-04-12 04:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 04:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889051') start
[2025-04-12 04:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 04:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 04:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889051') end
[2025-04-12 04:17:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 04:17:03] Production.INFO: 1
[2025-04-12 04:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 04:17:04] Production.INFO: Account Balance Start.
[2025-04-12 04:17:04] Production.INFO: CreateAllLog Start
[2025-04-12 04:17:04] Production.INFO: 117
[2025-04-12 04:17:04] Production.INFO: Date 2025-04-08
[2025-04-12 04:17:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:17:04] Production.INFO: Date 2025-04-09
[2025-04-12 04:17:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:17:04] Production.INFO: Date 2025-04-10
[2025-04-12 04:17:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:17:04] Production.INFO: ==20124== Releasing lock...
[2025-04-12 04:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 04:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 04:17:04] Production.INFO: ==20132== Releasing lock...
[2025-04-12 04:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 04:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 04:17:04] Production.INFO: Date 2025-04-11
[2025-04-12 04:17:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:17:04] Production.INFO: Date 2025-04-12
[2025-04-12 04:17:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:17:04] Production.INFO: Total Charge 0
[2025-04-12 04:17:04] Production.INFO: CreateAllLog End
[2025-04-12 04:17:04] Production.ERROR: done
[2025-04-12 04:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 04:17:04] Production.INFO: Account Balance End.
[2025-04-12 04:17:04] Production.ERROR: CronJobId end 12
[2025-04-12 04:17:04] Production.INFO: ==20128== Releasing lock...
[2025-04-12 04:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 04:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 04:17:04] Production.ERROR: done
[2025-04-12 04:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 01:17:05
[end_date_ymd] => 2025-04-12 04:17:05
[RateCDR] => 1
)
[2025-04-12 04:17:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 01:17:05' and `end` < '2025-04-12 04:17:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 04:17:12] Production.ERROR: CronJobId end10
[2025-04-12 04:17:12] Production.INFO: ==20126== Releasing lock...
[2025-04-12 04:17:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 04:17:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 04:17:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 04:17:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 04:17:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 04:17:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 04:17:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 04:17:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 04:17:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 04:17:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 04:17:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 04:17:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 04:17:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 04:17:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 04:17:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 04:17:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 04:17:14] Production.INFO: call_cost start
[2025-04-12 04:17:14] Production.INFO: call_cost end
[2025-04-12 04:17:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 04:17:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 04:17:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 04:17:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 04:17:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 04:17:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 04:17:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 04:17:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 04:17:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 04:17:15] Production.INFO: ==20122== Releasing lock...
[2025-04-12 04:17:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 04:17:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 04:17:18] Production.INFO: count ==259
[2025-04-12 04:17:18] Production.ERROR: pbx CDR StartTime 2025-04-12 01:17:05 - End Time 2025-04-12 04:17:05
[2025-04-12 04:17:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 04:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889055', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889055', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889055', 'tblTempVendorCDR_20' ) start
[2025-04-12 04:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889055', 'tblTempVendorCDR_20' ) end
[2025-04-12 04:17:18] Production.INFO: ProcessCDR(1,14889055,1,1,2)
[2025-04-12 04:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889055,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:17:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889055,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:17:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889055,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:17:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889055,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889055', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889055', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:17:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 04:17:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 04:17:21] Production.INFO: ==20130== Releasing lock...
[2025-04-12 04:17:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 04:17:21] Production.INFO: 29.25 MB #Memory Used#
[2025-04-12 09:18:02] Production.INFO: ==20188== Lock acquired, processing the job...
[2025-04-12 09:18:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 09:18:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 09:18:02] Production.INFO: neon service started
[2025-04-12 09:18:02] Production.INFO: neon service started
[2025-04-12 09:18:02] Production.INFO: ==20188== Releasing lock...
[2025-04-12 09:18:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 09:18:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 08:18:02] Production.INFO: ==20192== Lock acquired, processing the job...
[2025-04-12 08:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 08:18:02] Production.INFO: ==20192== Releasing lock...
[2025-04-12 08:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 08:18:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 04:18:02] Production.INFO: ==20190== Lock acquired, processing the job...
[2025-04-12 04:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 04:18:03] Production.INFO: ==20190== Releasing lock...
[2025-04-12 04:18:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 04:18:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 04:18:03] Production.INFO: ==20199== Lock acquired, processing the job...
[2025-04-12 04:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 04:18:03] Production.INFO: ==20195== Lock acquired, processing the job...
[2025-04-12 04:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 04:18:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 04:18:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 04:18:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 04:18:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 04:18:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 04:18:04] Production.INFO: ==20197== Lock acquired, processing the job...
[2025-04-12 04:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 04:18:04] Production.INFO: ==20201== Lock acquired, processing the job...
[2025-04-12 04:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 04:18:04] Production.INFO: ==20203== Lock acquired, processing the job...
[2025-04-12 04:18:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 04:18:04] Production.INFO: Account Balance Start.
[2025-04-12 04:18:04] Production.INFO: CreateAllLog Start
[2025-04-12 04:18:04] Production.INFO: 117
[2025-04-12 04:18:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 04:18:04] Production.INFO: Date 2025-04-08
[2025-04-12 04:18:04] Production.INFO: ==20205== Lock acquired, processing the job...
[2025-04-12 04:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 04:18:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:18:04] Production.INFO: Date 2025-04-09
[2025-04-12 04:18:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:18:04] Production.INFO: Date 2025-04-10
[2025-04-12 04:18:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:18:04] Production.INFO: Date 2025-04-11
[2025-04-12 04:18:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:18:04] Production.INFO: Date 2025-04-12
[2025-04-12 04:18:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:18:04] Production.INFO: Total Charge 0
[2025-04-12 04:18:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 04:18:04] Production.INFO: CreateAllLog End
[2025-04-12 04:18:04] Production.INFO: ==20197== Releasing lock...
[2025-04-12 04:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 04:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 04:18:04] Production.INFO: count ==12
[2025-04-12 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-12 04:18:04] Production.INFO: count ==23
[2025-04-12 04:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889059') start
[2025-04-12 04:18:04] Production.ERROR: done
[2025-04-12 04:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889059') end
[2025-04-12 04:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 04:18:04] Production.INFO: 1
[2025-04-12 04:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 04:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 04:18:04] Production.INFO: Account Balance End.
[2025-04-12 04:18:04] Production.ERROR: CronJobId end 12
[2025-04-12 04:18:04] Production.INFO: ==20201== Releasing lock...
[2025-04-12 04:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 04:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 04:18:05] Production.INFO: ==20205== Releasing lock...
[2025-04-12 04:18:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 04:18:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 04:18:05] Production.ERROR: done
[2025-04-12 04:18:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 01:18:06
[end_date_ymd] => 2025-04-12 04:18:06
[RateCDR] => 1
)
[2025-04-12 04: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-12 01:18:06' and `end` < '2025-04-12 04: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-12 04:18:13] Production.ERROR: CronJobId end10
[2025-04-12 04:18:13] Production.INFO: ==20199== Releasing lock...
[2025-04-12 04:18:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 04:18:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 04:18:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 04:18:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 04:18:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 04:18:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 04:18:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 04:18:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 04:18:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 04:18:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 04:18:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 04:18:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 04:18:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 04:18:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 04:18:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 04:18:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 04:18:15] Production.INFO: call_cost start
[2025-04-12 04:18:15] Production.INFO: call_cost end
[2025-04-12 04:18:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 04:18:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 04:18:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 04:18:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 04:18:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 04:18:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 04:18:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 04:18:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 04:18:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 04:18:16] Production.INFO: ==20195== Releasing lock...
[2025-04-12 04:18:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 04:18:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 04:18:18] Production.INFO: count ==258
[2025-04-12 04:18:18] Production.ERROR: pbx CDR StartTime 2025-04-12 01:18:06 - End Time 2025-04-12 04:18:06
[2025-04-12 04:18:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 04:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889060', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889060', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889060', 'tblTempVendorCDR_20' ) start
[2025-04-12 04:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889060', 'tblTempVendorCDR_20' ) end
[2025-04-12 04:18:18] Production.INFO: ProcessCDR(1,14889060,1,1,2)
[2025-04-12 04:18:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889060,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:18:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889060,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:18:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889060,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:18:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889060,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889060', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889060', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:18:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 04:18:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 04:18:22] Production.INFO: ==20203== Releasing lock...
[2025-04-12 04:18:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 04:18:22] Production.INFO: 29.25 MB #Memory Used#
[2025-04-12 09:19:01] Production.INFO: ==20258== Lock acquired, processing the job...
[2025-04-12 09:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 09:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 09:19:01] Production.INFO: neon service started
[2025-04-12 09:19:01] Production.INFO: neon service started
[2025-04-12 09:19:01] Production.INFO: ==20258== Releasing lock...
[2025-04-12 09:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 09:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 08:19:02] Production.INFO: ==20262== Lock acquired, processing the job...
[2025-04-12 08:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 08:19:02] Production.INFO: ==20262== Releasing lock...
[2025-04-12 08:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 08:19:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 04:19:02] Production.INFO: ==20260== Lock acquired, processing the job...
[2025-04-12 04:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 04:19:02] Production.INFO: ==20260== Releasing lock...
[2025-04-12 04:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 04:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 04:19:03] Production.INFO: ==20265== Lock acquired, processing the job...
[2025-04-12 04:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 04:19:03] Production.INFO: ==20267== Lock acquired, processing the job...
[2025-04-12 04:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 04:19:03] Production.INFO: ==20271== Lock acquired, processing the job...
[2025-04-12 04:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 04:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 04:19:03] Production.INFO: Account Balance Start.
[2025-04-12 04:19:03] Production.INFO: CreateAllLog Start
[2025-04-12 04:19:03] Production.INFO: 117
[2025-04-12 04:19:03] Production.INFO: Date 2025-04-08
[2025-04-12 04:19:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:19:03] Production.INFO: ==20269== Lock acquired, processing the job...
[2025-04-12 04:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 04:19:03] Production.INFO: Date 2025-04-09
[2025-04-12 04:19:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:19:03] Production.INFO: Date 2025-04-10
[2025-04-12 04:19:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:19:03] Production.INFO: ==20273== Lock acquired, processing the job...
[2025-04-12 04:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 04:19:03] Production.INFO: Date 2025-04-11
[2025-04-12 04:19:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 04:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 04:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 04:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 04:19:03] Production.INFO: Date 2025-04-12
[2025-04-12 04:19:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 04:19:03] Production.INFO: ==20275== Lock acquired, processing the job...
[2025-04-12 04:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 04:19:03] Production.INFO: Total Charge 0
[2025-04-12 04:19:03] Production.INFO: CreateAllLog End
[2025-04-12 04:19:03] Production.INFO: ==20267== Releasing lock...
[2025-04-12 04:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 04:19:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 04:19:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 04:19:04] Production.INFO: Account Balance End.
[2025-04-12 04:19:04] Production.INFO: count ==12
[2025-04-12 04:19:04] Production.ERROR: done
[2025-04-12 04:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 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-12 04:19:04] Production.ERROR: CronJobId end 12
[2025-04-12 04:19:04] Production.INFO: ==20271== Releasing lock...
[2025-04-12 04:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 04:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 04:19:04] Production.INFO: count ==23
[2025-04-12 04:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889064') start
[2025-04-12 04:19:04] Production.ERROR: done
[2025-04-12 04:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889064') end
[2025-04-12 04:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 04:19:04] Production.INFO: 1
[2025-04-12 04:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 04:19:04] Production.INFO: ==20275== Releasing lock...
[2025-04-12 04:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 04:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 04:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 01:19:05
[end_date_ymd] => 2025-04-12 04:19:05
[RateCDR] => 1
)
[2025-04-12 04:19:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 01:19:05' and `end` < '2025-04-12 04:19:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 04:19:11] Production.ERROR: CronJobId end10
[2025-04-12 04:19:11] Production.INFO: ==20269== Releasing lock...
[2025-04-12 04:19:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 04:19:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 04:19:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 04:19:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 04:19:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 04:19:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 04:19:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 04:19:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 04:19:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 04:19:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 04:19:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 04:19:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 04:19:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 04:19:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 04:19:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 04:19:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 04:19:13] Production.INFO: call_cost start
[2025-04-12 04:19:13] Production.INFO: call_cost end
[2025-04-12 04:19:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 04:19:14] Production.INFO: ============== Report Schedule START===========
[2025-04-12 04:19:14] Production.INFO: ============== Report Schedule END===========
[2025-04-12 04:19:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 04:19:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 04:19:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 04:19:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 04:19:14] Production.INFO: ============== Deal alert START===========
[2025-04-12 04:19:14] Production.INFO: ============== Deal alert END===========
[2025-04-12 04:19:14] Production.INFO: ==20265== Releasing lock...
[2025-04-12 04:19:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 04:19:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 04:19:18] Production.INFO: count ==258
[2025-04-12 04:19:18] Production.ERROR: pbx CDR StartTime 2025-04-12 01:19:05 - End Time 2025-04-12 04:19:05
[2025-04-12 04:19:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 04:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889065', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889065', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889065', 'tblTempVendorCDR_20' ) start
[2025-04-12 04:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889065', 'tblTempVendorCDR_20' ) end
[2025-04-12 04:19:18] Production.INFO: ProcessCDR(1,14889065,1,1,2)
[2025-04-12 04:19:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889065,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:19:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889065,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:19:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889065,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:19:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889065,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889065', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889065', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:19:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 04:19:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 04:19:21] Production.INFO: ==20273== Releasing lock...
[2025-04-12 04:19:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 04:19:21] Production.INFO: 29.25 MB #Memory Used#
[2025-04-12 09:20:02] Production.INFO: ==20333== Lock acquired, processing the job...
[2025-04-12 09:20:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 09:20:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 09:20:02] Production.INFO: neon service started
[2025-04-12 09:20:02] Production.INFO: neon service started
[2025-04-12 09:20:02] Production.INFO: ==20333== Releasing lock...
[2025-04-12 09:20:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 09:20:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 08:20:02] Production.INFO: ==20337== Lock acquired, processing the job...
[2025-04-12 08:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 04:20:02] Production.INFO: ==20335== Lock acquired, processing the job...
[2025-04-12 04:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 08:20:02] Production.INFO: ==20337== Releasing lock...
[2025-04-12 08:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 08:20:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 04:20:03] Production.INFO: ==20335== Releasing lock...
[2025-04-12 04:20:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 04:20:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 04:20:03] Production.INFO: ==20342== Lock acquired, processing the job...
[2025-04-12 04:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 04:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 04:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 04:20:03] Production.INFO: ==20342== Releasing lock...
[2025-04-12 04:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 04:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 04:20:04] Production.INFO: ==20348== Lock acquired, processing the job...
[2025-04-12 04:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 04:20:04] Production.INFO: ==20350== Lock acquired, processing the job...
[2025-04-12 04:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 04:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 04:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 04:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 04:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 04:20:04] Production.INFO: ==20354== Lock acquired, processing the job...
[2025-04-12 04:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 04:20:04] Production.INFO: Account Balance Start.
[2025-04-12 04:20:04] Production.INFO: CreateAllLog Start
[2025-04-12 04:20:04] Production.INFO: 117
[2025-04-12 04:20:04] Production.INFO: Date 2025-04-08
[2025-04-12 04:20:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 04:20:04] Production.INFO: Date 2025-04-09
[2025-04-12 04:20:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:20:04] Production.INFO: Date 2025-04-10
[2025-04-12 04:20:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:20:04] Production.INFO: Date 2025-04-11
[2025-04-12 04:20:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:20:04] Production.INFO: Date 2025-04-12
[2025-04-12 04:20:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:20:04] Production.INFO: ==20344== Lock acquired, processing the job...
[2025-04-12 04:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 04:20:04] Production.INFO: Total Charge 0
[2025-04-12 04:20:04] Production.INFO: CreateAllLog End
[2025-04-12 04:20:04] Production.INFO: ==20346== Lock acquired, processing the job...
[2025-04-12 04:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 04:20:04] Production.INFO: ==20352== Lock acquired, processing the job...
[2025-04-12 04:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 04:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 04:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 04:20:04] Production.ERROR: done
[2025-04-12 04:20:04] Production.INFO: ==20356== Lock acquired, processing the job...
[2025-04-12 04:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 04:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 04:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14889069', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 04:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 04:20:04] Production.INFO: count ==12
[2025-04-12 04:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 04:20:05] Production.INFO: count ==23
[2025-04-12 04:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14889070') start
[2025-04-12 04:20:05] Production.ERROR: done
[2025-04-12 04:20:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 04:20:05] Production.INFO: ==20346== Releasing lock...
[2025-04-12 04:20:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 04:20:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 04:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14889070') end
[2025-04-12 04:20:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 04:20:05] Production.INFO: 1
[2025-04-12 04:20:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 04:20:05] Production.INFO: Account Balance End.
[2025-04-12 04:20:05] Production.INFO: ==20356== Releasing lock...
[2025-04-12 04:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 04:20:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 04:20:05] Production.ERROR: CronJobId end 12
[2025-04-12 04:20:05] Production.INFO: ==20350== Releasing lock...
[2025-04-12 04:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 04:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 04:20:05] Production.ERROR: done
[2025-04-12 04:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 01:20:06
[end_date_ymd] => 2025-04-12 04:20:06
[RateCDR] => 1
)
[2025-04-12 04:20:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 01:20:06' and `end` < '2025-04-12 04:20:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 04:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14889069', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 04:20:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 04:20:09] Production.INFO: ProcessCDR(1,14889069,1,1,2)
[2025-04-12 04:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14889069,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14889069,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:20:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 04:20:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 04:20:09] Production.INFO: ==20354== Releasing lock...
[2025-04-12 04:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 04:20:09] Production.INFO: 26 MB #Memory Used#
[2025-04-12 04:20:13] Production.ERROR: CronJobId end10
[2025-04-12 04:20:13] Production.INFO: ==20348== Releasing lock...
[2025-04-12 04:20:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 04:20:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 04:20:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 04:20:16] Production.INFO: ============== Balance Warning START===========
[2025-04-12 04:20:16] Production.INFO: ============== Balance Warning END===========
[2025-04-12 04:20:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 04:20:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 04:20:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 04:20:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 04:20:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 04:20:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 04:20:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 04:20:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 04:20:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 04:20:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 04:20:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 04:20:16] Production.INFO: call_cost start
[2025-04-12 04:20:16] Production.INFO: call_cost end
[2025-04-12 04:20:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 04:20:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 04:20:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 04:20:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 04:20:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 04:20:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 04:20:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 04:20:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 04:20:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 04:20:17] Production.INFO: ==20344== Releasing lock...
[2025-04-12 04:20:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 04:20:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 04:20:19] Production.INFO: count ==248
[2025-04-12 04:20:19] Production.ERROR: pbx CDR StartTime 2025-04-12 01:20:06 - End Time 2025-04-12 04:20:06
[2025-04-12 04:20:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 04:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889071', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889071', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889071', 'tblTempVendorCDR_20' ) start
[2025-04-12 04:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889071', 'tblTempVendorCDR_20' ) end
[2025-04-12 04:20:19] Production.INFO: ProcessCDR(1,14889071,1,1,2)
[2025-04-12 04:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889071,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:20:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889071,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:20:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889071,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:20:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889071,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889071', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889071', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:20:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 04:20:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 04:20:22] Production.INFO: ==20352== Releasing lock...
[2025-04-12 04:20:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 04:20:22] Production.INFO: 29.25 MB #Memory Used#
[2025-04-12 09:21:01] Production.INFO: ==20413== Lock acquired, processing the job...
[2025-04-12 09:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 09:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 09:21:01] Production.INFO: neon service started
[2025-04-12 09:21:01] Production.INFO: neon service started
[2025-04-12 09:21:01] Production.INFO: ==20413== Releasing lock...
[2025-04-12 09:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 09:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 04:21:01] Production.INFO: ==20415== Lock acquired, processing the job...
[2025-04-12 04:21:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 04:21:02] Production.INFO: ==20415== Releasing lock...
[2025-04-12 04:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 04:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 08:21:02] Production.INFO: ==20417== Lock acquired, processing the job...
[2025-04-12 08:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 08:21:02] Production.INFO: ==20417== Releasing lock...
[2025-04-12 08:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 08:21:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 04:21:03] Production.INFO: ==20425== Lock acquired, processing the job...
[2025-04-12 04:21:03] Production.INFO: ==20423== Lock acquired, processing the job...
[2025-04-12 04:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 04:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 04:21:03] Production.INFO: ==20421== Lock acquired, processing the job...
[2025-04-12 04:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 04:21:03] Production.INFO: ==20419== Lock acquired, processing the job...
[2025-04-12 04:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 04:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 04:21:03] Production.INFO: Account Balance Start.
[2025-04-12 04:21:03] Production.INFO: CreateAllLog Start
[2025-04-12 04:21:03] Production.INFO: 117
[2025-04-12 04:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 04:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 04:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 04:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 04:21:03] Production.INFO: Date 2025-04-08
[2025-04-12 04:21:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:21:03] Production.INFO: Date 2025-04-09
[2025-04-12 04:21:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:21:03] Production.INFO: ==20427== Lock acquired, processing the job...
[2025-04-12 04:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 04:21:03] Production.INFO: Date 2025-04-10
[2025-04-12 04:21:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 04:21:03] Production.INFO: Date 2025-04-11
[2025-04-12 04:21:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:21:03] Production.INFO: ==20429== Lock acquired, processing the job...
[2025-04-12 04:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 04:21:03] Production.INFO: Date 2025-04-12
[2025-04-12 04:21:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:21:03] Production.INFO: Total Charge 0
[2025-04-12 04:21:03] Production.INFO: CreateAllLog End
[2025-04-12 04:21:03] Production.INFO: ==20421== Releasing lock...
[2025-04-12 04:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 04:21:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 04:21:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 04:21:03] Production.INFO: Account Balance End.
[2025-04-12 04:21:03] Production.INFO: count ==12
[2025-04-12 04:21:04] Production.ERROR: CronJobId end 12
[2025-04-12 04:21:04] Production.INFO: ==20425== Releasing lock...
[2025-04-12 04:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 04:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 04:21:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 04:21:04] Production.INFO: count ==23
[2025-04-12 04:21:04] Production.ERROR: done
[2025-04-12 04:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 04:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889075') start
[2025-04-12 04:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889075') end
[2025-04-12 04:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 04:21:04] Production.INFO: 1
[2025-04-12 04:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 04:21:04] Production.ERROR: done
[2025-04-12 04:21:04] Production.INFO: ==20429== Releasing lock...
[2025-04-12 04:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 04:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 04:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 01:21:05
[end_date_ymd] => 2025-04-12 04:21:05
[RateCDR] => 1
)
[2025-04-12 04:21:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 01:21:05' and `end` < '2025-04-12 04:21:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 04:21:11] Production.ERROR: CronJobId end10
[2025-04-12 04:21:11] Production.INFO: ==20423== Releasing lock...
[2025-04-12 04:21:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 04:21:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 04:21:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 04:21:12] Production.INFO: ============== Balance Warning START===========
[2025-04-12 04:21:12] Production.INFO: ============== Balance Warning END===========
[2025-04-12 04:21:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 04:21:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 04:21:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 04:21:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 04:21:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 04:21:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 04:21:12] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 04:21:12] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 04:21:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 04:21:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 04:21:12] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 04:21:13] Production.INFO: call_cost start
[2025-04-12 04:21:13] Production.INFO: call_cost end
[2025-04-12 04:21:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 04:21:14] Production.INFO: ============== Report Schedule START===========
[2025-04-12 04:21:14] Production.INFO: ============== Report Schedule END===========
[2025-04-12 04:21:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 04:21:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 04:21:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 04:21:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 04:21:14] Production.INFO: ============== Deal alert START===========
[2025-04-12 04:21:14] Production.INFO: ============== Deal alert END===========
[2025-04-12 04:21:14] Production.INFO: ==20419== Releasing lock...
[2025-04-12 04:21:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 04:21:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 04:21:18] Production.INFO: count ==227
[2025-04-12 04:21:18] Production.ERROR: pbx CDR StartTime 2025-04-12 01:21:05 - End Time 2025-04-12 04:21:05
[2025-04-12 04:21:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 04:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889076', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889076', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889076', 'tblTempVendorCDR_20' ) start
[2025-04-12 04:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889076', 'tblTempVendorCDR_20' ) end
[2025-04-12 04:21:18] Production.INFO: ProcessCDR(1,14889076,1,1,2)
[2025-04-12 04:21:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889076,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:21:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889076,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:21:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889076,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:21:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889076,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889076', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889076', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:21:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 04:21:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 04:21:21] Production.INFO: ==20427== Releasing lock...
[2025-04-12 04:21:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 04:21:21] Production.INFO: 29.25 MB #Memory Used#
[2025-04-12 09:22:02] Production.INFO: ==20483== Lock acquired, processing the job...
[2025-04-12 09:22:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 09:22:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 09:22:02] Production.INFO: neon service started
[2025-04-12 09:22:02] Production.INFO: neon service started
[2025-04-12 09:22:02] Production.INFO: ==20483== Releasing lock...
[2025-04-12 09:22:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 09:22:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 08:22:02] Production.INFO: ==20487== Lock acquired, processing the job...
[2025-04-12 08:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 08:22:02] Production.INFO: ==20487== Releasing lock...
[2025-04-12 08:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 08:22:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 04:22:02] Production.INFO: ==20485== Lock acquired, processing the job...
[2025-04-12 04:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 04:22:02] Production.INFO: ==20485== Releasing lock...
[2025-04-12 04:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 04:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 04:22:03] Production.INFO: ==20496== Lock acquired, processing the job...
[2025-04-12 04:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 04:22:03] Production.INFO: Account Balance Start.
[2025-04-12 04:22:03] Production.INFO: CreateAllLog Start
[2025-04-12 04:22:03] Production.INFO: 117
[2025-04-12 04:22:03] Production.INFO: Date 2025-04-08
[2025-04-12 04:22:03] Production.INFO: ==20500== Lock acquired, processing the job...
[2025-04-12 04:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 04:22:03] Production.INFO: ==20490== Lock acquired, processing the job...
[2025-04-12 04:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 04:22:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:22:03] Production.INFO: ==20492== Lock acquired, processing the job...
[2025-04-12 04:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 04:22:03] Production.INFO: ==20494== Lock acquired, processing the job...
[2025-04-12 04:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 04:22:03] Production.INFO: Date 2025-04-09
[2025-04-12 04:22:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:22:04] Production.INFO: ==20498== Lock acquired, processing the job...
[2025-04-12 04:22:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 04:22:04] Production.INFO: Date 2025-04-10
[2025-04-12 04:22:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:22:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 04:22:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 04:22:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 04:22:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 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-12 04:22:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 04:22:04] Production.INFO: Date 2025-04-11
[2025-04-12 04:22:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:22:04] Production.INFO: Date 2025-04-12
[2025-04-12 04:22:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 04:22:04] Production.INFO: count ==12
[2025-04-12 04:22:04] Production.INFO: Reseller ==> 0
[2025-04-12 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-12 04:22:04] Production.INFO: count ==23
[2025-04-12 04:22:04] Production.INFO: Total Charge 0
[2025-04-12 04:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889078') start
[2025-04-12 04:22:04] Production.INFO: CreateAllLog End
[2025-04-12 04:22:04] Production.INFO: ==20492== Releasing lock...
[2025-04-12 04:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 04:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 04:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889078') end
[2025-04-12 04:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 04:22:04] Production.INFO: 1
[2025-04-12 04:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 04:22:04] Production.INFO: ==20500== Releasing lock...
[2025-04-12 04:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 04:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 04:22:04] Production.INFO: Account Balance End.
[2025-04-12 04:22:04] Production.ERROR: done
[2025-04-12 04:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 04:22:04] Production.ERROR: CronJobId end 12
[2025-04-12 04:22:04] Production.INFO: ==20496== Releasing lock...
[2025-04-12 04:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 04:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 04:22:04] Production.ERROR: done
[2025-04-12 04:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 01:22:05
[end_date_ymd] => 2025-04-12 04:22:05
[RateCDR] => 1
)
[2025-04-12 04:22:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 01:22:05' and `end` < '2025-04-12 04:22:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 04:22:11] Production.ERROR: CronJobId end10
[2025-04-12 04:22:11] Production.INFO: ==20494== Releasing lock...
[2025-04-12 04:22:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 04:22:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 04:22:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 04:22:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 04:22:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 04:22:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 04:22:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 04:22:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 04:22:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 04:22:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 04:22:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 04:22:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 04:22:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 04:22:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 04:22:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 04:22:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 04:22:15] Production.INFO: call_cost start
[2025-04-12 04:22:15] Production.INFO: call_cost end
[2025-04-12 04:22:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 04:22:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 04:22:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 04:22:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 04:22:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 04:22:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 04:22:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 04:22:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 04:22:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 04:22:16] Production.INFO: ==20490== Releasing lock...
[2025-04-12 04:22:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 04:22:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 04:22:18] Production.INFO: count ==227
[2025-04-12 04:22:18] Production.ERROR: pbx CDR StartTime 2025-04-12 01:22:05 - End Time 2025-04-12 04:22:05
[2025-04-12 04:22:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 04:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889081', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889081', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889081', 'tblTempVendorCDR_20' ) start
[2025-04-12 04:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889081', 'tblTempVendorCDR_20' ) end
[2025-04-12 04:22:18] Production.INFO: ProcessCDR(1,14889081,1,1,2)
[2025-04-12 04:22:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889081,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:22:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889081,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:22:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889081,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:22:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889081,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889081', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889081', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:22:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 04:22:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 04:22:21] Production.INFO: ==20498== Releasing lock...
[2025-04-12 04:22:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 04:22:21] Production.INFO: 29.25 MB #Memory Used#
[2025-04-12 09:23:01] Production.INFO: ==20553== Lock acquired, processing the job...
[2025-04-12 09:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 09:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 09:23:01] Production.INFO: neon service started
[2025-04-12 09:23:01] Production.INFO: neon service started
[2025-04-12 09:23:01] Production.INFO: ==20553== Releasing lock...
[2025-04-12 09:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 09:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 08:23:01] Production.INFO: ==20557== Lock acquired, processing the job...
[2025-04-12 08:23:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 08:23:01] Production.INFO: ==20557== Releasing lock...
[2025-04-12 08:23:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 08:23:01] Production.INFO: 25 MB #Memory Used#
[2025-04-12 04:23:01] Production.INFO: ==20555== Lock acquired, processing the job...
[2025-04-12 04:23:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 04:23:02] Production.INFO: ==20555== Releasing lock...
[2025-04-12 04:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 04:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 04:23:03] Production.INFO: ==20560== Lock acquired, processing the job...
[2025-04-12 04:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 04:23:03] Production.INFO: ==20564== Lock acquired, processing the job...
[2025-04-12 04:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 04:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 04:23:03] Production.INFO: ==20566== Lock acquired, processing the job...
[2025-04-12 04:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 04:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 04:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 04:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 04:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 04:23:03] Production.INFO: Account Balance Start.
[2025-04-12 04:23:03] Production.INFO: CreateAllLog Start
[2025-04-12 04:23:03] Production.INFO: 117
[2025-04-12 04:23:03] Production.INFO: Date 2025-04-08
[2025-04-12 04:23:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:23:03] Production.INFO: Date 2025-04-09
[2025-04-12 04:23:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:23:03] Production.INFO: Date 2025-04-10
[2025-04-12 04:23:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:23:03] Production.INFO: Date 2025-04-11
[2025-04-12 04:23:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:23:03] Production.INFO: ==20562== Lock acquired, processing the job...
[2025-04-12 04:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 04:23:03] Production.INFO: Date 2025-04-12
[2025-04-12 04:23:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:23:03] Production.INFO: Total Charge 0
[2025-04-12 04:23:03] Production.INFO: CreateAllLog End
[2025-04-12 04:23:03] Production.INFO: ==20568== Lock acquired, processing the job...
[2025-04-12 04:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 04:23:03] Production.INFO: ==20570== Lock acquired, processing the job...
[2025-04-12 04:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 04:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 04:23:03] Production.INFO: Account Balance End.
[2025-04-12 04:23:03] Production.ERROR: CronJobId end 12
[2025-04-12 04:23:03] Production.INFO: ==20566== Releasing lock...
[2025-04-12 04:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 04:23:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 04:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 04:23:03] Production.INFO: ==20562== Releasing lock...
[2025-04-12 04:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 04:23:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 04:23:03] Production.INFO: count ==12
[2025-04-12 04:23:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 04:23:03] Production.INFO: count ==23
[2025-04-12 04:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889085') start
[2025-04-12 04:23:03] Production.ERROR: done
[2025-04-12 04:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889085') end
[2025-04-12 04:23:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 04:23:03] Production.INFO: 1
[2025-04-12 04:23:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 04:23:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 04:23:04] Production.INFO: ==20570== Releasing lock...
[2025-04-12 04:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 04:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 04:23:04] Production.ERROR: done
[2025-04-12 04:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 01:23:05
[end_date_ymd] => 2025-04-12 04:23:05
[RateCDR] => 1
)
[2025-04-12 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-12 01:23:05' and `end` < '2025-04-12 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-12 04:23:12] Production.ERROR: CronJobId end10
[2025-04-12 04:23:12] Production.INFO: ==20564== Releasing lock...
[2025-04-12 04:23:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 04:23:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 04:23:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 04:23:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 04:23:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 04:23:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 04:23:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 04:23:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 04:23:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 04:23:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 04:23:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 04:23:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 04:23:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 04:23:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 04:23:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 04:23:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 04:23:14] Production.INFO: call_cost start
[2025-04-12 04:23:14] Production.INFO: call_cost end
[2025-04-12 04:23:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 04:23:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 04:23:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 04:23:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 04:23:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 04:23:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 04:23:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 04:23:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 04:23:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 04:23:15] Production.INFO: ==20560== Releasing lock...
[2025-04-12 04:23:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 04:23:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 04:23:18] Production.INFO: count ==227
[2025-04-12 04:23:18] Production.ERROR: pbx CDR StartTime 2025-04-12 01:23:05 - End Time 2025-04-12 04:23:05
[2025-04-12 04:23:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 04:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889086', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889086', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889086', 'tblTempVendorCDR_20' ) start
[2025-04-12 04:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889086', 'tblTempVendorCDR_20' ) end
[2025-04-12 04:23:18] Production.INFO: ProcessCDR(1,14889086,1,1,2)
[2025-04-12 04:23:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889086,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:23:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889086,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:23:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889086,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:23:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889086,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889086', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889086', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:23:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 04:23:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 04:23:21] Production.INFO: ==20568== Releasing lock...
[2025-04-12 04:23:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 04:23:21] Production.INFO: 29.25 MB #Memory Used#
[2025-04-12 09:24:01] Production.INFO: ==20626== Lock acquired, processing the job...
[2025-04-12 09:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 09:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 09:24:01] Production.INFO: neon service started
[2025-04-12 09:24:01] Production.INFO: neon service started
[2025-04-12 09:24:01] Production.INFO: ==20626== Releasing lock...
[2025-04-12 09:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 09:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 08:24:02] Production.INFO: ==20630== Lock acquired, processing the job...
[2025-04-12 08:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 08:24:02] Production.INFO: ==20630== Releasing lock...
[2025-04-12 08:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 08:24:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 04:24:02] Production.INFO: ==20628== Lock acquired, processing the job...
[2025-04-12 04:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 04:24:02] Production.INFO: ==20628== Releasing lock...
[2025-04-12 04:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 04:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 04:24:03] Production.INFO: ==20633== Lock acquired, processing the job...
[2025-04-12 04:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 04:24:03] Production.INFO: ==20635== Lock acquired, processing the job...
[2025-04-12 04:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 04:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 04:24:03] Production.INFO: ==20643== Lock acquired, processing the job...
[2025-04-12 04:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 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-12 04:24:04] Production.INFO: count ==12
[2025-04-12 04:24:04] Production.INFO: ==20637== Lock acquired, processing the job...
[2025-04-12 04:24:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 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-12 04:24:04] Production.INFO: count ==23
[2025-04-12 04:24:04] Production.INFO: ==20639== Lock acquired, processing the job...
[2025-04-12 04:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 04:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889089') start
[2025-04-12 04:24:04] Production.INFO: ==20641== Lock acquired, processing the job...
[2025-04-12 04:24:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 04:24:04] Production.INFO: ==20635== Releasing lock...
[2025-04-12 04:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 04:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 04:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 04:24:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 04:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 04:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 04:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 04:24:04] Production.INFO: Account Balance Start.
[2025-04-12 04:24:04] Production.INFO: CreateAllLog Start
[2025-04-12 04:24:04] Production.INFO: 117
[2025-04-12 04:24:04] Production.INFO: Date 2025-04-08
[2025-04-12 04:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889089') end
[2025-04-12 04:24:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 04:24:04] Production.INFO: 1
[2025-04-12 04:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 04:24:04] Production.INFO: Date 2025-04-09
[2025-04-12 04:24:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:24:04] Production.INFO: ==20643== Releasing lock...
[2025-04-12 04:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 04:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 04:24:04] Production.INFO: Date 2025-04-10
[2025-04-12 04:24:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:24:04] Production.INFO: Date 2025-04-11
[2025-04-12 04:24:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:24:04] Production.INFO: Date 2025-04-12
[2025-04-12 04:24:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:24:04] Production.INFO: Total Charge 0
[2025-04-12 04:24:04] Production.INFO: CreateAllLog End
[2025-04-12 04:24:04] Production.ERROR: done
[2025-04-12 04:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 04:24:05] Production.ERROR: done
[2025-04-12 04:24:05] Production.INFO: Account Balance End.
[2025-04-12 04:24:05] Production.ERROR: CronJobId end 12
[2025-04-12 04:24:05] Production.INFO: ==20639== Releasing lock...
[2025-04-12 04:24:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 04:24:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 04:24:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 01:24:06
[end_date_ymd] => 2025-04-12 04:24:06
[RateCDR] => 1
)
[2025-04-12 04: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-12 01:24:06' and `end` < '2025-04-12 04: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-12 04:24:12] Production.ERROR: CronJobId end10
[2025-04-12 04:24:12] Production.INFO: ==20637== Releasing lock...
[2025-04-12 04:24:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 04:24:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 04:24:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 04:24:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 04:24:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 04:24:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 04:24:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 04:24:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 04:24:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 04:24:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 04:24:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 04:24:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 04:24:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 04:24:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 04:24:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 04:24:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 04:24:14] Production.INFO: call_cost start
[2025-04-12 04:24:14] Production.INFO: call_cost end
[2025-04-12 04:24:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 04:24:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 04:24:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 04:24:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 04:24:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 04:24:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 04:24:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 04:24:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 04:24:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 04:24:15] Production.INFO: ==20633== Releasing lock...
[2025-04-12 04:24:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 04:24:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 04:24:19] Production.INFO: count ==227
[2025-04-12 04:24:19] Production.ERROR: pbx CDR StartTime 2025-04-12 01:24:06 - End Time 2025-04-12 04:24:06
[2025-04-12 04:24:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 04:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889091', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889091', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889091', 'tblTempVendorCDR_20' ) start
[2025-04-12 04:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889091', 'tblTempVendorCDR_20' ) end
[2025-04-12 04:24:19] Production.INFO: ProcessCDR(1,14889091,1,1,2)
[2025-04-12 04:24:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889091,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:24:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889091,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:24:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889091,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:24:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889091,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889091', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889091', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:24:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 04:24:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 04:24:22] Production.INFO: ==20641== Releasing lock...
[2025-04-12 04:24:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 04:24:22] Production.INFO: 29.25 MB #Memory Used#
[2025-04-12 09:25:02] Production.INFO: ==20699== Lock acquired, processing the job...
[2025-04-12 09:25:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 09:25:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 09:25:02] Production.INFO: neon service started
[2025-04-12 09:25:02] Production.INFO: neon service started
[2025-04-12 09:25:02] Production.INFO: ==20699== Releasing lock...
[2025-04-12 09:25:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 09:25:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 04:25:02] Production.INFO: ==20701== Lock acquired, processing the job...
[2025-04-12 04:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 08:25:02] Production.INFO: ==20703== Lock acquired, processing the job...
[2025-04-12 08:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 08:25:03] Production.INFO: ==20703== Releasing lock...
[2025-04-12 08:25:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 08:25:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 04:25:03] Production.INFO: ==20701== Releasing lock...
[2025-04-12 04:25:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 04:25:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 04:25:04] Production.INFO: ==20708== Lock acquired, processing the job...
[2025-04-12 04:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 04:25:04] Production.INFO: ==20710== Lock acquired, processing the job...
[2025-04-12 04:25:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 04:25:04] Production.INFO: ==20706== Lock acquired, processing the job...
[2025-04-12 04:25:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 04:25:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 04:25:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 04:25:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 04:25:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 04:25:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 04:25:04] Production.INFO: ==20708== Releasing lock...
[2025-04-12 04:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 04:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 04:25:04] Production.INFO: ==20712== Lock acquired, processing the job...
[2025-04-12 04:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 04:25:04] Production.INFO: ==20714== Lock acquired, processing the job...
[2025-04-12 04:25:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 04:25:04] Production.INFO: ==20716== Lock acquired, processing the job...
[2025-04-12 04:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 04:25:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 04:25:04] Production.INFO: Account Balance Start.
[2025-04-12 04:25:04] Production.INFO: CreateAllLog Start
[2025-04-12 04:25:04] Production.INFO: 117
[2025-04-12 04:25:04] Production.INFO: Date 2025-04-08
[2025-04-12 04:25:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:25:04] Production.INFO: Date 2025-04-09
[2025-04-12 04:25:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:25:04] Production.INFO: Date 2025-04-10
[2025-04-12 04:25:04] Production.INFO: Reseller ==> 0
[2025-04-12 04: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-12 04:25:04] Production.INFO: Date 2025-04-11
[2025-04-12 04:25:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:25:04] Production.INFO: Date 2025-04-12
[2025-04-12 04:25:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:25:04] Production.INFO: count ==12
[2025-04-12 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-12 04:25:04] Production.INFO: count ==23
[2025-04-12 04:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889095') start
[2025-04-12 04:25:04] Production.ERROR: done
[2025-04-12 04:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 04:25:04] Production.INFO: Total Charge 0
[2025-04-12 04:25:05] Production.INFO: CreateAllLog End
[2025-04-12 04:25:05] Production.ERROR: done
[2025-04-12 04:25:05] Production.ERROR: PBX CALL prc_importPBXExtension('14889095') end
[2025-04-12 04:25:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 04:25:05] Production.INFO: 1
[2025-04-12 04:25:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 04:25:05] Production.INFO: ==20716== Releasing lock...
[2025-04-12 04:25:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 04:25:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 04:25:05] Production.INFO: Account Balance End.
[2025-04-12 04:25:05] Production.ERROR: CronJobId end 12
[2025-04-12 04:25:05] Production.INFO: ==20712== Releasing lock...
[2025-04-12 04:25:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 04:25:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 04:25:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 01:25:06
[end_date_ymd] => 2025-04-12 04:25:06
[RateCDR] => 1
)
[2025-04-12 04: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-12 01:25:06' and `end` < '2025-04-12 04: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-12 04:25:12] Production.ERROR: CronJobId end10
[2025-04-12 04:25:12] Production.INFO: ==20710== Releasing lock...
[2025-04-12 04:25:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 04:25:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 04:25:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 04:25:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 04:25:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 04:25:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 04:25:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 04:25:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 04:25:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 04:25:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 04:25:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 04:25:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 04:25:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 04:25:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 04:25:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 04:25:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 04:25:14] Production.INFO: call_cost start
[2025-04-12 04:25:14] Production.INFO: call_cost end
[2025-04-12 04:25:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 04:25:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 04:25:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 04:25:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 04:25:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 04:25:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 04:25:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 04:25:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 04:25:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 04:25:15] Production.INFO: ==20706== Releasing lock...
[2025-04-12 04:25:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 04:25:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 04:25:18] Production.INFO: count ==228
[2025-04-12 04:25:18] Production.ERROR: pbx CDR StartTime 2025-04-12 01:25:06 - End Time 2025-04-12 04:25:06
[2025-04-12 04:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 04:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889096', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889096', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889096', 'tblTempVendorCDR_20' ) start
[2025-04-12 04:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889096', 'tblTempVendorCDR_20' ) end
[2025-04-12 04:25:18] Production.INFO: ProcessCDR(1,14889096,1,1,2)
[2025-04-12 04:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889096,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:25:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889096,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:25:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889096,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:25:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889096,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:25:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889096', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:25:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889096', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:25:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 04:25:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 04:25:23] Production.INFO: ==20714== Releasing lock...
[2025-04-12 04:25:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 04:25:23] Production.INFO: 29.25 MB #Memory Used#
[2025-04-12 09:26:01] Production.INFO: ==20775== Lock acquired, processing the job...
[2025-04-12 09:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 09:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 09:26:01] Production.INFO: neon service started
[2025-04-12 09:26:01] Production.INFO: neon service started
[2025-04-12 09:26:01] Production.INFO: ==20775== Releasing lock...
[2025-04-12 09:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 09:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 04:26:02] Production.INFO: ==20777== Lock acquired, processing the job...
[2025-04-12 04:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 08:26:02] Production.INFO: ==20779== Lock acquired, processing the job...
[2025-04-12 08:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 08:26:02] Production.INFO: ==20779== Releasing lock...
[2025-04-12 08:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 08:26:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 04:26:02] Production.INFO: ==20777== Releasing lock...
[2025-04-12 04:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 04:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 04:26:03] Production.INFO: ==20786== Lock acquired, processing the job...
[2025-04-12 04:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 04:26:03] Production.INFO: ==20792== Lock acquired, processing the job...
[2025-04-12 04:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 04:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 04:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 04:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 04:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 04:26:04] Production.INFO: ==20788== Lock acquired, processing the job...
[2025-04-12 04:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 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-12 04:26:04] Production.INFO: ==20782== Lock acquired, processing the job...
[2025-04-12 04:26:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 04:26:04] Production.INFO: ==20784== Lock acquired, processing the job...
[2025-04-12 04:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 04:26:04] Production.INFO: count ==12
[2025-04-12 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-12 04:26:04] Production.INFO: count ==23
[2025-04-12 04:26:04] Production.INFO: ==20790== Lock acquired, processing the job...
[2025-04-12 04:26:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 04:26:04] Production.INFO: Account Balance Start.
[2025-04-12 04:26:04] Production.INFO: CreateAllLog Start
[2025-04-12 04:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889097') start
[2025-04-12 04:26:04] Production.INFO: 117
[2025-04-12 04:26:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 04:26:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 04:26:04] Production.INFO: Date 2025-04-08
[2025-04-12 04:26:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:26:04] Production.INFO: Date 2025-04-09
[2025-04-12 04:26:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:26:04] Production.INFO: Date 2025-04-10
[2025-04-12 04:26:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889097') end
[2025-04-12 04:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 04:26:04] Production.INFO: 1
[2025-04-12 04:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 04:26:04] Production.INFO: Date 2025-04-11
[2025-04-12 04:26:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:26:04] Production.INFO: Date 2025-04-12
[2025-04-12 04:26:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:26:04] Production.INFO: Total Charge 0
[2025-04-12 04:26:04] Production.INFO: CreateAllLog End
[2025-04-12 04:26:04] Production.INFO: ==20792== Releasing lock...
[2025-04-12 04:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 04:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 04:26:04] Production.INFO: ==20784== Releasing lock...
[2025-04-12 04:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 04:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 04:26:04] Production.ERROR: done
[2025-04-12 04:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 04:26:04] Production.INFO: Account Balance End.
[2025-04-12 04:26:04] Production.ERROR: CronJobId end 12
[2025-04-12 04:26:04] Production.INFO: ==20788== Releasing lock...
[2025-04-12 04:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 04:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 04:26:04] Production.ERROR: done
[2025-04-12 04:26:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 01:26:06
[end_date_ymd] => 2025-04-12 04:26:06
[RateCDR] => 1
)
[2025-04-12 04:26:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 01:26:06' and `end` < '2025-04-12 04:26:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 04:26:12] Production.ERROR: CronJobId end10
[2025-04-12 04:26:12] Production.INFO: ==20786== Releasing lock...
[2025-04-12 04:26:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 04:26:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 04:26:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 04:26:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 04:26:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 04:26:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 04:26:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 04:26:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 04:26:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 04:26:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 04:26:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 04:26:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 04:26:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 04:26:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 04:26:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 04:26:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 04:26:15] Production.INFO: call_cost start
[2025-04-12 04:26:15] Production.INFO: call_cost end
[2025-04-12 04:26:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 04:26:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 04:26:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 04:26:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 04:26:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 04:26:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 04:26:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 04:26:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 04:26:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 04:26:16] Production.INFO: ==20782== Releasing lock...
[2025-04-12 04:26:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 04:26:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 04:26:18] Production.INFO: count ==230
[2025-04-12 04:26:18] Production.ERROR: pbx CDR StartTime 2025-04-12 01:26:06 - End Time 2025-04-12 04:26:06
[2025-04-12 04:26:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 04:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889101', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889101', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889101', 'tblTempVendorCDR_20' ) start
[2025-04-12 04:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889101', 'tblTempVendorCDR_20' ) end
[2025-04-12 04:26:18] Production.INFO: ProcessCDR(1,14889101,1,1,2)
[2025-04-12 04:26:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889101,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:26:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889101,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:26:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889101,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:26:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889101,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889101', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889101', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:26:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 04:26:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 04:26:22] Production.INFO: ==20790== Releasing lock...
[2025-04-12 04:26:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 04:26:22] Production.INFO: 29 MB #Memory Used#
[2025-04-12 09:27:02] Production.INFO: ==20851== Lock acquired, processing the job...
[2025-04-12 09:27:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 09:27:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 09:27:02] Production.INFO: neon service started
[2025-04-12 09:27:02] Production.INFO: neon service started
[2025-04-12 09:27:02] Production.INFO: ==20851== Releasing lock...
[2025-04-12 09:27:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 09:27:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 04:27:02] Production.INFO: ==20853== Lock acquired, processing the job...
[2025-04-12 04:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 04:27:02] Production.INFO: ==20853== Releasing lock...
[2025-04-12 04:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 04:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 08:27:03] Production.INFO: ==20855== Lock acquired, processing the job...
[2025-04-12 08:27:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 08:27:03] Production.INFO: ==20855== Releasing lock...
[2025-04-12 08:27:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 08:27:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 04:27:03] Production.INFO: ==20858== Lock acquired, processing the job...
[2025-04-12 04:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 04:27:03] Production.INFO: ==20860== Lock acquired, processing the job...
[2025-04-12 04:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 04:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 04:27:03] Production.INFO: ==20864== Lock acquired, processing the job...
[2025-04-12 04:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 04:27:03] Production.INFO: Account Balance Start.
[2025-04-12 04:27:03] Production.INFO: CreateAllLog Start
[2025-04-12 04:27:03] Production.INFO: 117
[2025-04-12 04:27:03] Production.INFO: Date 2025-04-08
[2025-04-12 04:27:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:27:03] Production.INFO: Date 2025-04-09
[2025-04-12 04:27:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:27:04] Production.INFO: Date 2025-04-10
[2025-04-12 04:27:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:27:04] Production.INFO: Date 2025-04-11
[2025-04-12 04:27:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:27:04] Production.INFO: ==20862== Lock acquired, processing the job...
[2025-04-12 04:27:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 04:27:04] Production.INFO: Date 2025-04-12
[2025-04-12 04:27:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:27:04] Production.INFO: ==20868== Lock acquired, processing the job...
[2025-04-12 04:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 04:27:04] Production.INFO: ==20866== Lock acquired, processing the job...
[2025-04-12 04:27:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 04:27:04] Production.INFO: ==20860== Releasing lock...
[2025-04-12 04:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 04:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 04:27:04] Production.INFO: Total Charge 0
[2025-04-12 04:27:04] Production.INFO: CreateAllLog End
[2025-04-12 04:27:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 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-12 04:27:04] Production.INFO: Account Balance End.
[2025-04-12 04:27:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 04:27:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 04:27:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 04:27:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 04:27:04] Production.INFO: count ==12
[2025-04-12 04:27:04] Production.ERROR: CronJobId end 12
[2025-04-12 04:27:04] Production.INFO: ==20864== Releasing lock...
[2025-04-12 04:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 04:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 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-12 04:27:04] Production.INFO: count ==23
[2025-04-12 04:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889105') start
[2025-04-12 04:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889105') end
[2025-04-12 04:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 04:27:04] Production.INFO: 1
[2025-04-12 04:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 04:27:04] Production.ERROR: done
[2025-04-12 04:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 04:27:04] Production.INFO: ==20868== Releasing lock...
[2025-04-12 04:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 04:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 04:27:04] Production.ERROR: done
[2025-04-12 04:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 01:27:05
[end_date_ymd] => 2025-04-12 04:27:05
[RateCDR] => 1
)
[2025-04-12 04:27:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 01:27:05' and `end` < '2025-04-12 04:27:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 04:27:12] Production.ERROR: CronJobId end10
[2025-04-12 04:27:12] Production.INFO: ==20862== Releasing lock...
[2025-04-12 04:27:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 04:27:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 04:27:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 04:27:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 04:27:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 04:27:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 04:27:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 04:27:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 04:27:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 04:27:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 04:27:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 04:27:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 04:27:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 04:27:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 04:27:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 04:27:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 04:27:14] Production.INFO: call_cost start
[2025-04-12 04:27:14] Production.INFO: call_cost end
[2025-04-12 04:27:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 04:27:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 04:27:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 04:27:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 04:27:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 04:27:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 04:27:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 04:27:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 04:27:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 04:27:15] Production.INFO: ==20858== Releasing lock...
[2025-04-12 04:27:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 04:27:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 04:27:18] Production.INFO: count ==230
[2025-04-12 04:27:18] Production.ERROR: pbx CDR StartTime 2025-04-12 01:27:05 - End Time 2025-04-12 04:27:05
[2025-04-12 04:27:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 04:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889106', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889106', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889106', 'tblTempVendorCDR_20' ) start
[2025-04-12 04:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889106', 'tblTempVendorCDR_20' ) end
[2025-04-12 04:27:18] Production.INFO: ProcessCDR(1,14889106,1,1,2)
[2025-04-12 04:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889106,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:27:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889106,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:27:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889106,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:27:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889106,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889106', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889106', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:27:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 04:27:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 04:27:22] Production.INFO: ==20866== Releasing lock...
[2025-04-12 04:27:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 04:27:22] Production.INFO: 29 MB #Memory Used#
[2025-04-12 09:28:01] Production.INFO: ==20923== Lock acquired, processing the job...
[2025-04-12 09:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 09:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 09:28:01] Production.INFO: neon service started
[2025-04-12 09:28:01] Production.INFO: neon service started
[2025-04-12 09:28:01] Production.INFO: ==20923== Releasing lock...
[2025-04-12 09:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 09:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 08:28:02] Production.INFO: ==20927== Lock acquired, processing the job...
[2025-04-12 08:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 08:28:02] Production.INFO: ==20927== Releasing lock...
[2025-04-12 08:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 08:28:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 04:28:02] Production.INFO: ==20925== Lock acquired, processing the job...
[2025-04-12 04:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 04:28:02] Production.INFO: ==20925== Releasing lock...
[2025-04-12 04:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 04:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 04:28:03] Production.INFO: ==20932== Lock acquired, processing the job...
[2025-04-12 04:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 04:28:03] Production.INFO: ==20940== Lock acquired, processing the job...
[2025-04-12 04:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 04:28:03] Production.INFO: ==20930== Lock acquired, processing the job...
[2025-04-12 04:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 04:28:03] Production.INFO: ==20938== Lock acquired, processing the job...
[2025-04-12 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-12 04:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 04:28:03] Production.INFO: ==20934== Lock acquired, processing the job...
[2025-04-12 04:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 04:28:03] Production.INFO: ==20936== Lock acquired, processing the job...
[2025-04-12 04:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 04:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 04:28:03] Production.INFO: count ==12
[2025-04-12 04:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 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-12 04:28:03] Production.INFO: count ==23
[2025-04-12 04:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889108') start
[2025-04-12 04:28:03] Production.INFO: Account Balance Start.
[2025-04-12 04:28:04] Production.INFO: CreateAllLog Start
[2025-04-12 04:28:04] Production.INFO: 117
[2025-04-12 04:28:04] Production.INFO: Date 2025-04-08
[2025-04-12 04:28:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:28:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 04:28:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 04:28:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 04:28:04] Production.INFO: ==20932== Releasing lock...
[2025-04-12 04:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 04:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 04:28:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 04:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889108') end
[2025-04-12 04:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 04:28:04] Production.INFO: 1
[2025-04-12 04:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 04:28:04] Production.INFO: Date 2025-04-09
[2025-04-12 04:28:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:28:04] Production.INFO: Date 2025-04-10
[2025-04-12 04:28:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:28:04] Production.INFO: ==20940== Releasing lock...
[2025-04-12 04:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 04:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 04:28:04] Production.ERROR: done
[2025-04-12 04:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 04:28:04] Production.INFO: Date 2025-04-11
[2025-04-12 04:28:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:28:04] Production.INFO: Date 2025-04-12
[2025-04-12 04:28:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:28:04] Production.INFO: Total Charge 0
[2025-04-12 04:28:04] Production.INFO: CreateAllLog End
[2025-04-12 04:28:04] Production.ERROR: done
[2025-04-12 04:28:04] Production.INFO: Account Balance End.
[2025-04-12 04:28:04] Production.ERROR: CronJobId end 12
[2025-04-12 04:28:04] Production.INFO: ==20936== Releasing lock...
[2025-04-12 04:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 04:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 04:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 01:28:05
[end_date_ymd] => 2025-04-12 04:28:05
[RateCDR] => 1
)
[2025-04-12 04:28:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 01:28:05' and `end` < '2025-04-12 04:28:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 04:28:12] Production.ERROR: CronJobId end10
[2025-04-12 04:28:12] Production.INFO: ==20934== Releasing lock...
[2025-04-12 04:28:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 04:28:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 04:28:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 04:28:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 04:28:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 04:28:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 04:28:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 04:28:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 04:28:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 04:28:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 04:28:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 04:28:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 04:28:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 04:28:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 04:28:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 04:28:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 04:28:15] Production.INFO: call_cost start
[2025-04-12 04:28:15] Production.INFO: call_cost end
[2025-04-12 04:28:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 04:28:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 04:28:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 04:28:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 04:28:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 04:28:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 04:28:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 04:28:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 04:28:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 04:28:16] Production.INFO: ==20930== Releasing lock...
[2025-04-12 04:28:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 04:28:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 04:28:18] Production.INFO: count ==229
[2025-04-12 04:28:18] Production.ERROR: pbx CDR StartTime 2025-04-12 01:28:05 - End Time 2025-04-12 04:28:05
[2025-04-12 04:28:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 04:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889111', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889111', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889111', 'tblTempVendorCDR_20' ) start
[2025-04-12 04:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889111', 'tblTempVendorCDR_20' ) end
[2025-04-12 04:28:18] Production.INFO: ProcessCDR(1,14889111,1,1,2)
[2025-04-12 04:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889111,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:28:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889111,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:28:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889111,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:28:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889111,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889111', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889111', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:28:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 04:28:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 04:28:21] Production.INFO: ==20938== Releasing lock...
[2025-04-12 04:28:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 04:28:21] Production.INFO: 29.25 MB #Memory Used#
[2025-04-12 09:29:02] Production.INFO: ==20995== Lock acquired, processing the job...
[2025-04-12 09:29:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 09:29:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 09:29:02] Production.INFO: neon service started
[2025-04-12 09:29:02] Production.INFO: neon service started
[2025-04-12 09:29:02] Production.INFO: ==20995== Releasing lock...
[2025-04-12 09:29:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 09:29:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 04:29:02] Production.INFO: ==20997== Lock acquired, processing the job...
[2025-04-12 04:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 08:29:02] Production.INFO: ==20999== Lock acquired, processing the job...
[2025-04-12 08:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 08:29:02] Production.INFO: ==20999== Releasing lock...
[2025-04-12 08:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 08:29:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 04:29:03] Production.INFO: ==20997== Releasing lock...
[2025-04-12 04:29:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 04:29:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 04:29:03] Production.INFO: ==21004== Lock acquired, processing the job...
[2025-04-12 04:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 04:29:04] Production.INFO: ==21008== Lock acquired, processing the job...
[2025-04-12 04:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 04:29:04] Production.INFO: ==21010== Lock acquired, processing the job...
[2025-04-12 04:29:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 04:29:04] Production.INFO: Account Balance Start.
[2025-04-12 04:29:04] Production.INFO: CreateAllLog Start
[2025-04-12 04:29:04] Production.INFO: 117
[2025-04-12 04:29:04] Production.INFO: Date 2025-04-08
[2025-04-12 04:29:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:29:04] Production.INFO: Date 2025-04-09
[2025-04-12 04:29:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 04:29:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:29:04] Production.INFO: Date 2025-04-10
[2025-04-12 04:29:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:29:04] Production.INFO: ==21004== Releasing lock...
[2025-04-12 04:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 04:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 04:29:04] Production.INFO: Date 2025-04-11
[2025-04-12 04:29:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:29:04] Production.INFO: ==21002== Lock acquired, processing the job...
[2025-04-12 04:29:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 04:29:04] Production.INFO: Date 2025-04-12
[2025-04-12 04:29:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:29:04] Production.INFO: Total Charge 0
[2025-04-12 04:29:04] Production.INFO: ==21006== Lock acquired, processing the job...
[2025-04-12 04:29:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 04:29:04] Production.INFO: CreateAllLog End
[2025-04-12 04:29:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 04:29:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 04:29:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 04:29:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 04:29:04] Production.INFO: ==21012== Lock acquired, processing the job...
[2025-04-12 04:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 04:29:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 04:29:04] Production.ERROR: done
[2025-04-12 04:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 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-12 04:29:04] Production.INFO: Account Balance End.
[2025-04-12 04:29:04] Production.ERROR: CronJobId end 12
[2025-04-12 04:29:04] Production.INFO: ==21008== Releasing lock...
[2025-04-12 04:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 04:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 04:29:04] Production.INFO: count ==12
[2025-04-12 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-12 04:29:04] Production.ERROR: done
[2025-04-12 04:29:04] Production.INFO: count ==23
[2025-04-12 04:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889115') start
[2025-04-12 04:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889115') end
[2025-04-12 04:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 04:29:04] Production.INFO: 1
[2025-04-12 04:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 04:29:04] Production.INFO: ==21012== Releasing lock...
[2025-04-12 04:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 04:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 04:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 01:29:05
[end_date_ymd] => 2025-04-12 04:29:05
[RateCDR] => 1
)
[2025-04-12 04:29:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 01:29:05' and `end` < '2025-04-12 04:29:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 04:29:12] Production.ERROR: CronJobId end10
[2025-04-12 04:29:12] Production.INFO: ==21006== Releasing lock...
[2025-04-12 04:29:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 04:29:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 04:29:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 04:29:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 04:29:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 04:29:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 04:29:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 04:29:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 04:29:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 04:29:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 04:29:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 04:29:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 04:29:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 04:29:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 04:29:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 04:29:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 04:29:15] Production.INFO: call_cost start
[2025-04-12 04:29:15] Production.INFO: call_cost end
[2025-04-12 04:29:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 04:29:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 04:29:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 04:29:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 04:29:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 04:29:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 04:29:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 04:29:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 04:29:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 04:29:16] Production.INFO: ==21002== Releasing lock...
[2025-04-12 04:29:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 04:29:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 04:29:18] Production.INFO: count ==229
[2025-04-12 04:29:18] Production.ERROR: pbx CDR StartTime 2025-04-12 01:29:05 - End Time 2025-04-12 04:29:05
[2025-04-12 04:29:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 04:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889116', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889116', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889116', 'tblTempVendorCDR_20' ) start
[2025-04-12 04:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889116', 'tblTempVendorCDR_20' ) end
[2025-04-12 04:29:18] Production.INFO: ProcessCDR(1,14889116,1,1,2)
[2025-04-12 04:29:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889116,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:29:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889116,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:29:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889116,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:29:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889116,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889116', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889116', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:29:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 04:29:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 04:29:22] Production.INFO: ==21010== Releasing lock...
[2025-04-12 04:29:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 04:29:22] Production.INFO: 29.25 MB #Memory Used#
[2025-04-12 09:30:01] Production.INFO: ==21069== Lock acquired, processing the job...
[2025-04-12 09:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 09:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 09:30:01] Production.INFO: neon service started
[2025-04-12 09:30:01] Production.INFO: neon service started
[2025-04-12 09:30:01] Production.INFO: ==21069== Releasing lock...
[2025-04-12 09:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 09:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 04:30:02] Production.INFO: ==21071== Lock acquired, processing the job...
[2025-04-12 04:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 08:30:02] Production.INFO: ==21073== Lock acquired, processing the job...
[2025-04-12 08:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 08:30:02] Production.INFO: ==21073== Releasing lock...
[2025-04-12 08:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 08:30:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 04:30:02] Production.INFO: ==21071== Releasing lock...
[2025-04-12 04:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 04:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 04:30:03] Production.INFO: ==21081== Lock acquired, processing the job...
[2025-04-12 04:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 04:30:03] Production.INFO: ==21083== Lock acquired, processing the job...
[2025-04-12 04:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 04:30:03] Production.INFO: ==21075== Lock acquired, processing the job...
[2025-04-12 04:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 04:30:03] Production.INFO: ==21085== Lock acquired, processing the job...
[2025-04-12 04:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 04:30:03] Production.INFO: ==21077== Lock acquired, processing the job...
[2025-04-12 04:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 04:30:04] Production.INFO: ==21079== Lock acquired, processing the job...
[2025-04-12 04:30:04] Production.INFO: invoicegenerator-command-invoicegenerator-companyid-1-cronjobid-6 #Starts#
[2025-04-12 04:30:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 04:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 04:30:04] Production.ERROR: CronJob PID - 21081
[2025-04-12 04:30:04] Production.ERROR: CronJob Title - Account Block
[2025-04-12 04:30:04] Production.ERROR: CronJob ID - 7
[2025-04-12 04:30:04] Production.ERROR: CronJob Last Run Time 2025-04-12 04:30:00
[2025-04-12 04:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 04:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 04:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 04:30:04] Production.ERROR: CronJob PID - 21083
[2025-04-12 04:30:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-04-12 04:30:04] Production.ERROR: CronJob ID - 10
[2025-04-12 04:30:04] Production.ERROR: CronJob Last Run Time 2025-04-12 04:30:00
[2025-04-12 04:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 04:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 04:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 04:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 04:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 04:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 04:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 04:30:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 04:30:04] Production.INFO: ==21075== Releasing lock...
[2025-04-12 04:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 04:30:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 04:30:04] Production.INFO: Account Balance Start.
[2025-04-12 04:30:04] Production.INFO: CreateAllLog Start
[2025-04-12 04:30:04] Production.INFO: 117
[2025-04-12 04:30:04] Production.INFO: Date 2025-04-08
[2025-04-12 04:30:04] Production.INFO: ==21090== Lock acquired, processing the job...
[2025-04-12 04:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 04:30:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:30:04] Production.INFO: ==21087== Lock acquired, processing the job...
[2025-04-12 04:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 04:30:04] Production.INFO: Date 2025-04-09
[2025-04-12 04:30:04] Production.INFO: Call prc_getBillingAccounts(1,2025-04-12,'','0')
[2025-04-12 04:30:04] Production.INFO: Array
(
[0] => stdClass Object
(
[AccountID] => 70
[NextInvoiceDate] => 2025-04-12
[AccountName] => Dominos 10293 (David Mills)
[ServiceID] => 0
)
[1] => stdClass Object
(
[AccountID] => 130
[NextInvoiceDate] => 2025-04-12
[AccountName] => Auto Loan Centre
[ServiceID] => 0
)
[2] => stdClass Object
(
[AccountID] => 258
[NextInvoiceDate] => 2025-03-10
[AccountName] => Lion Motors
[ServiceID] => 0
)
)
[2025-04-12 04:30:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:30:04] Production.INFO: AccountID =70 FirstInvoiceSend 0
[2025-04-12 04:30:04] Production.INFO: LastInvoiceDate 2025-03-12 NextInvoiceDate 2025-04-12
[2025-04-12 04:30:04] Production.INFO: LastChargeDate 2025-03-12 NextChargeDate 2025-04-11
[2025-04-12 04:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 04:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 04:30:04] Production.INFO: ==21092== Lock acquired, processing the job...
[2025-04-12 04:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 04:30:04] Production.INFO: Date 2025-04-10
[2025-04-12 04:30:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:30:04] Production.INFO: Date 2025-04-11
[2025-04-12 04:30:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:30:04] Production.INFO: Date 2025-04-12
[2025-04-12 04:30:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:30:04] Production.INFO: isCDRLoaded Array
(
[0] => stdClass Object
(
[isLoaded] => 1
)
)
[2025-04-12 04:30:04] Production.INFO: ========================== Invoice Send Start =============================
[2025-04-12 04:30:04] Production.INFO: Invoice::sendInvoice(1,70,2025-03-12,2025-04-12,billing@onswitchit.ca)
[2025-04-12 04:30:04] Production.INFO: ==21081== Releasing lock...
[2025-04-12 04:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 04:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 04:30:04] Production.INFO: Total Charge 0
[2025-04-12 04:30:04] Production.INFO: CreateAllLog End
[2025-04-12 04:30:04] Production.INFO: start Date =2025-03-12 EndDate =2025-04-11 23:59:59
[2025-04-12 04:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 04:30:04] Production.INFO: count ==12
[2025-04-12 04:30:04] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV
[2025-04-12 04:30:04] Production.INFO: InvoiceTemplate->Terms =
This a summary of your subscription and usage charges for this billing period. Detailed charges, such as a list of all billable calls, can be found on subsequent pages.
[2025-04-12 04:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 04:30:04] Production.INFO: count ==23
[2025-04-12 04:30:04] Production.ERROR: done
[2025-04-12 04:30:04] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled
[2025-04-12 04:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889121') start
[2025-04-12 04:30:04] Production.ERROR: done
[2025-04-12 04:30:04] Production.INFO: AlreadyBilled
[2025-04-12 04:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 04:30:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 04:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14889122', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 04:30:04] Production.INFO: original start date ==>2025-03-12 changed start date ==>2025-03-12 00:00:00 original end date ==>2025-04-11 23:59:59 changed end date ==>2025-04-11 23:59:59
[2025-04-12 04:30:04] Production.ERROR: done
[2025-04-12 04:30:04] Production.INFO: Invoice::getAccountUsageTotal(1,70,2025-03-12,2025-04-11 23:59:59)
[2025-04-12 04:30:04] Production.INFO: TotalCharges - 0
[2025-04-12 04:30:05] Production.INFO: Account Balance End.
[2025-04-12 04:30:05] Production.INFO: TotalUsageCharges - 0.00
[2025-04-12 04:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14889121') end
[2025-04-12 04:30:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 04:30:05] Production.INFO: 1
[2025-04-12 04:30:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 04:30:05] Production.ERROR: CronJobId end 12
[2025-04-12 04:30:05] Production.INFO: ==21092== Releasing lock...
[2025-04-12 04:30:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 04:30:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 04:30:05] Production.INFO: ==21085== Releasing lock...
[2025-04-12 04:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 04:30:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 04:30:05] Production.INFO: Usage Over
[2025-04-12 04:30:05] Production.INFO: Call prc_getAccountSubscription(70,0)
[2025-04-12 04:30:05] Production.INFO: SUBSCRIPTION 3
[2025-04-12 04:30:05] Production.INFO: ============================Subscription Start =================
[2025-04-12 04:30:05] Production.INFO: SubscriptionID - 5
[2025-04-12 04:30:05] Production.INFO: isAdvanceSubscription - 5
[2025-04-12 04:30:05] Production.INFO: SubscriptionStartDate =2025-04-12 - SubscriptionEndDate = 2025-05-11
[2025-04-12 04:30:05] Production.INFO: NewNextChargeDate =2025-05-11 00:00:00
[2025-04-12 04:30:05] Production.INFO: EndDate =2025-04-11 00:00:00
[2025-04-12 04:30:05] Production.INFO: NewEndDate1 =2025-04-12
[2025-04-12 04:30:05] Production.INFO: SubscriptionDate
[2025-04-12 04:30:05] Production.INFO: Array
(
[StartDate] => 2025-04-12
[EndDate] => 2025-05-11 00:00:00
[AlreadyCharged] => 0
)
[2025-04-12 04:30:05] Production.INFO: New Account Subscription Start
[2025-04-12 04:30:05] Production.INFO: AccountSubscription StartDate 2018-06-12 StartDate 2025-03-12
[2025-04-12 04:30:05] Production.INFO: SubscriptionID - 2025-04-12=====2025-05-11 00:00:00
[2025-04-12 04:30:05] Production.INFO: AccountSubscriptionID - 283 === 2018-06-12=====2026-04-12
[2025-04-12 04:30:05] Production.INFO: regular Advance Subscription
[2025-04-12 04:30:05] Production.INFO: First Time False 2018-06-12 2025-04-12
[2025-04-12 04:30:05] Production.INFO: StartDate 2025-04-12 AccountSubscription->StartDate 2018-06-12 EndDate 2025-05-11 00:00:00 AccountSubscription->EndDate 2026-04-12
[2025-04-12 04:30:05] Production.INFO: days diff - 30 subscription days 30 quarter days 91
[2025-04-12 04:30:05] Production.INFO: AccountSubscription::getSubscriptionAmount(283,2025-04-12,2025-05-11 00:00:00,,0)
[2025-04-12 04:30:05] Production.INFO: SubscriptionCharge - 75
[2025-04-12 04:30:05] Production.INFO: Already Invoice Subscription 0
[2025-04-12 04:30:05] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(70,1,5,2025-04-12,2025-05-11 00:00:00,Restaurant - 4 Line Flat Rate,75,75,1,283)
[2025-04-12 04:30:05] Production.INFO: DiscountAmount 0.000000
[2025-04-12 04:30:05] Production.INFO: DiscountType
[2025-04-12 04:30:05] Production.INFO: SubscriptionCharge 75
[2025-04-12 04:30:05] Production.INFO: New SubscriptionCharge 75
[2025-04-12 04:30:05] Production.INFO: TotalSubscriptionCharge - 75.00
[2025-04-12 04:30:05] Production.INFO: ============================Subscription End =================
[2025-04-12 04:30:05] Production.INFO: ============================Subscription Start =================
[2025-04-12 04:30:05] Production.INFO: SubscriptionID - 4
[2025-04-12 04:30:05] Production.INFO: isAdvanceSubscription - 4
[2025-04-12 04:30:05] Production.INFO: SubscriptionStartDate =2025-04-12 - SubscriptionEndDate = 2025-05-11
[2025-04-12 04:30:05] Production.INFO: NewNextChargeDate =2025-05-11 00:00:00
[2025-04-12 04:30:05] Production.INFO: EndDate =2025-04-11 00:00:00
[2025-04-12 04:30:05] Production.INFO: NewEndDate1 =2025-04-12
[2025-04-12 04:30:05] Production.INFO: SubscriptionDate
[2025-04-12 04:30:05] Production.INFO: Array
(
[StartDate] => 2025-04-12
[EndDate] => 2025-05-11 00:00:00
[AlreadyCharged] => 0
)
[2025-04-12 04:30:05] Production.INFO: New Account Subscription Start
[2025-04-12 04:30:05] Production.INFO: AccountSubscription StartDate 2018-06-12 StartDate 2025-03-12
[2025-04-12 04:30:05] Production.INFO: SubscriptionID - 2025-04-12=====2025-05-11 00:00:00
[2025-04-12 04:30:05] Production.INFO: AccountSubscriptionID - 284 === 2018-06-12=====2026-04-12
[2025-04-12 04:30:05] Production.INFO: regular Advance Subscription
[2025-04-12 04:30:05] Production.INFO: First Time False 2018-06-12 2025-04-12
[2025-04-12 04:30:05] Production.INFO: StartDate 2025-04-12 AccountSubscription->StartDate 2018-06-12 EndDate 2025-05-11 00:00:00 AccountSubscription->EndDate 2026-04-12
[2025-04-12 04:30:05] Production.INFO: days diff - 30 subscription days 30 quarter days 91
[2025-04-12 04:30:05] Production.INFO: AccountSubscription::getSubscriptionAmount(284,2025-04-12,2025-05-11 00:00:00,,0)
[2025-04-12 04:30:05] Production.INFO: SubscriptionCharge - 2.5
[2025-04-12 04:30:05] Production.INFO: Already Invoice Subscription 0
[2025-04-12 04:30:05] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(70,1,4,2025-04-12,2025-05-11 00:00:00,e911 address registration (19054589858 - 1650 WILLIAMS PKWY BRAMPTON, ON L6S5R7),2.5,2.5,1,284)
[2025-04-12 04:30:05] Production.INFO: DiscountAmount 0.000000
[2025-04-12 04:30:05] Production.INFO: DiscountType
[2025-04-12 04:30:05] Production.INFO: SubscriptionCharge 2.5
[2025-04-12 04:30:05] Production.INFO: New SubscriptionCharge 2.5
[2025-04-12 04:30:05] Production.INFO: TotalSubscriptionCharge - 2.50
[2025-04-12 04:30:05] Production.INFO: ============================Subscription End =================
[2025-04-12 04:30:05] Production.INFO: ============================Subscription Start =================
[2025-04-12 04:30:05] Production.INFO: SubscriptionID - 11
[2025-04-12 04:30:05] Production.INFO: isAdvanceSubscription - 11
[2025-04-12 04:30:05] Production.INFO: SubscriptionStartDate =2025-04-12 - SubscriptionEndDate = 2025-05-11
[2025-04-12 04:30:05] Production.INFO: NewNextChargeDate =2025-05-11 00:00:00
[2025-04-12 04:30:05] Production.INFO: EndDate =2025-04-11 00:00:00
[2025-04-12 04:30:05] Production.INFO: NewEndDate1 =2025-04-12
[2025-04-12 04:30:05] Production.INFO: SubscriptionDate
[2025-04-12 04:30:05] Production.INFO: Array
(
[StartDate] => 2025-04-12
[EndDate] => 2025-05-11 00:00:00
[AlreadyCharged] => 0
)
[2025-04-12 04:30:05] Production.INFO: AccountSubscription StartDate 2019-02-19 StartDate 2025-03-12
[2025-04-12 04:30:05] Production.INFO: SubscriptionID - 2025-04-12=====2025-05-11 00:00:00
[2025-04-12 04:30:05] Production.INFO: AccountSubscriptionID - 379 === 2019-02-19=====2026-04-12
[2025-04-12 04:30:05] Production.INFO: regular Advance Subscription
[2025-04-12 04:30:05] Production.INFO: First Time False 2019-02-19 2025-04-12
[2025-04-12 04:30:05] Production.INFO: StartDate 2025-04-12 AccountSubscription->StartDate 2019-02-19 EndDate 2025-05-11 00:00:00 AccountSubscription->EndDate 2026-04-12
[2025-04-12 04:30:05] Production.INFO: days diff - 30 subscription days 30 quarter days 91
[2025-04-12 04:30:05] Production.INFO: AccountSubscription::getSubscriptionAmount(379,2025-04-12,2025-05-11 00:00:00,,0)
[2025-04-12 04:30:05] Production.INFO: SubscriptionCharge - -5
[2025-04-12 04:30:05] Production.INFO: Already Invoice Subscription 0
[2025-04-12 04:30:05] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(70,1,11,2025-04-12,2025-05-11 00:00:00,Provides a $5/store/month discount when 2+ stores have OnSwitch Cloud Phone service,-20,-5,4,379)
[2025-04-12 04:30:05] Production.INFO: DiscountAmount 0.000000
[2025-04-12 04:30:05] Production.INFO: DiscountType
[2025-04-12 04:30:05] Production.INFO: SubscriptionCharge -20
[2025-04-12 04:30:05] Production.INFO: New SubscriptionCharge -20
[2025-04-12 04:30:05] Production.INFO: TotalSubscriptionCharge - -20.00
[2025-04-12 04:30:05] Production.INFO: ============================Subscription End =================
[2025-04-12 04:30:05] Production.INFO: SUBSCRIPTION Over
[2025-04-12 04:30:05] Production.INFO: Call prc_getAccountOneOffCharge(70,0,2025-03-12,2025-04-12 23:59:59)
[2025-04-12 04:30:05] Production.INFO: AccountOneOffCharge 0
[2025-04-12 04:30:05] Production.INFO: AccountOneOffCharge Over
[2025-04-12 04:30:05] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start
[2025-04-12 04:30:05] Production.INFO: New UsageDates 2025-03-12 - 2025-04-11 23:59:59
[2025-04-12 04:30:05] Production.INFO: SubTotal 57.5
[2025-04-12 04:30:05] Production.INFO: SubTotalWithouttaxTotal 0
[2025-04-12 04:30:05] Production.INFO: AccountOneOffCharge Tax Over
[2025-04-12 04:30:05] Production.INFO: TotalTax 7.475
[2025-04-12 04:30:05] Production.INFO: InvoiceGrandTotal 64.975
[2025-04-12 04:30:05] Production.INFO: InvoiceTaxAmount 7.48
[2025-04-12 04:30:05] Production.INFO: GrandTotal 64.98
[2025-04-12 04:30:05] Production.INFO: SubTotal 57.50
[2025-04-12 04:30:05] Production.INFO: TotalDue 64.98
[2025-04-12 04:30:05] Production.INFO: Reseller ==> 0
[2025-04-12 04:30:05] Production.INFO: original start date ==>2025-03-12 changed start date ==>2025-03-12 00:00:00 original end date ==>2025-04-11 23:59:59 changed end date ==>2025-04-11 23:59:59
[2025-04-12 04:30:05] Production.INFO: CALL prc_getInvoiceUsage(1,'70','0','1','2025-03-12 00:00:00','2025-04-11 23:59:59',0)
[2025-04-12 04:30:05] Production.INFO: PDF Generation start
[2025-04-12 04:30:05] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/70/Invoices/2025/04/12/Invoice-dominos-10293-david-mills-inv11855-from-03-12-2025-to-04-11-2025-10803.pdf
[2025-04-12 04:30:05] Production.INFO: On Linux
[2025-04-12 04:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 01:30:06
[end_date_ymd] => 2025-04-12 04:30:06
[RateCDR] => 1
)
[2025-04-12 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-12 01:30:06' and `end` < '2025-04-12 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-12 04:30:07] Production.INFO: /var/www/html/onswitch.neon.service/wkhtmltox/bin/wkhtmltopdf --header-spacing 3 --footer-spacing 1 --header-html --footer-html "/var/www/tmp/1/70/Invoices/2025/04/12/footer-dominos-10293-david-mills-inv11855-from-03-12-2025-to-04-11-2025-10803.html" "/var/www/tmp/1/70/Invoices/2025/04/12/Invoice-dominos-10293-david-mills-inv11855-from-03-12-2025-to-04-11-2025-10803.html" "/var/www/tmp/1/70/Invoices/2025/04/12/Invoice-dominos-10293-david-mills-inv11855-from-03-12-2025-to-04-11-2025-10803.pdf"
[2025-04-12 04:30:07] Production.INFO:
[2025-04-12 04:30:07] Production.INFO: /var/www/tmp/1/70/Invoices/2025/04/12/Invoice-dominos-10293-david-mills-inv11855-from-03-12-2025-to-04-11-2025-10803.html
[2025-04-12 04:30:07] Production.INFO: /var/www/tmp/1/70/Invoices/2025/04/12/header-dominos-10293-david-mills-inv11855-from-03-12-2025-to-04-11-2025-10803.html
[2025-04-12 04:30:07] Production.INFO: /var/www/tmp/1/70/Invoices/2025/04/12/footer-dominos-10293-david-mills-inv11855-from-03-12-2025-to-04-11-2025-10803.html
[2025-04-12 04:30:07] Production.INFO: Invoice generation PDF path
[2025-04-12 04:30:07] Production.INFO: PDF fullPath 1/70/Invoices/2025/04/12/Invoice-dominos-10293-david-mills-inv11855-from-03-12-2025-to-04-11-2025-10803.pdf
[2025-04-12 04:30:07] Production.INFO: Generate Usage File Start
[2025-04-12 04:30:07] Production.INFO: Usage File fullPath 1/70/InvoiceUsageFile/2025/04/12/dominos-10293-david-mills-12-03-2025-00-00-00-TO-11-04-2025-23-59-59_4662__57307370-1778-11f0-8f48-af022001b078.csv
[2025-04-12 04:30:09] Production.INFO: Sending Email to Staff over
[2025-04-12 04:30:09] Production.INFO: Email Status 1
[2025-04-12 04:30:09] Production.INFO: Sending Email to Customer
[2025-04-12 04:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14889122', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 04:30:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 04:30:09] Production.INFO: ProcessCDR(1,14889122,1,1,2)
[2025-04-12 04:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14889122,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14889122,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 04:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 04:30:09] Production.INFO: ==21090== Releasing lock...
[2025-04-12 04:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 04:30:09] Production.INFO: 26 MB #Memory Used#
[2025-04-12 04:30:10] Production.INFO: Email Try 10803 1
[2025-04-12 04:30:10] Production.INFO: =========== Email Sending over ===========
[2025-04-12 04:30:10] Production.INFO: =========== Returning as Success =========== AccountID 70
[2025-04-12 04:30:10] Production.INFO: Invoice::sendInvoice done
[2025-04-12 04:30:10] Production.INFO: Invoice created - Array
(
[status] => success
[message] => Invoice Created Successfully.
[accounts] =>
)
[2025-04-12 04:30:10] Production.INFO: Invoice Committed AccountID = 70
[2025-04-12 04:30:10] Production.INFO: =========== Updating InvoiceDate ===========
[2025-04-12 04:30:10] Production.INFO: NextInvoice 2025-04-12 2025-05-11
[2025-04-12 04:30:10] Production.INFO: new dates
[2025-04-12 04:30:10] Production.INFO: LastInvoiceDate 2025-04-12 NextInvoiceDate 2025-05-12
[2025-04-12 04:30:10] Production.INFO: LastChargeDate 2025-04-12 NextChargeDate 2025-05-11
[2025-04-12 04:30:10] Production.INFO: =========== Updated InvoiceDate ===========
[2025-04-12 04:30:10] Production.INFO: ========================== Invoice Send End =============================
[2025-04-12 04:30:10] Production.INFO: AccountID =130 FirstInvoiceSend 0
[2025-04-12 04:30:10] Production.INFO: LastInvoiceDate 2025-03-12 NextInvoiceDate 2025-04-12
[2025-04-12 04:30:10] Production.INFO: LastChargeDate 2025-03-12 NextChargeDate 2025-04-11
[2025-04-12 04:30:10] Production.INFO: isCDRLoaded Array
(
[0] => stdClass Object
(
[isLoaded] => 1
)
)
[2025-04-12 04:30:10] Production.INFO: ========================== Invoice Send Start =============================
[2025-04-12 04:30:10] Production.INFO: Invoice::sendInvoice(1,130,2025-03-12,2025-04-12,billing@onswitchit.ca)
[2025-04-12 04:30:10] Production.INFO: start Date =2025-03-12 EndDate =2025-04-11 23:59:59
[2025-04-12 04:30:10] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV
[2025-04-12 04:30:10] Production.INFO: InvoiceTemplate->Terms =
This a summary of your subscription and usage charges for this billing period. Detailed charges, such as a list of all billable calls, can be found on subsequent pages.
[2025-04-12 04:30:10] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled
[2025-04-12 04:30:10] Production.INFO: AlreadyBilled
[2025-04-12 04:30:10] Production.INFO: Reseller ==> 0
[2025-04-12 04:30:10] Production.INFO: original start date ==>2025-03-12 changed start date ==>2025-03-12 00:00:00 original end date ==>2025-04-11 23:59:59 changed end date ==>2025-04-11 23:59:59
[2025-04-12 04:30:10] Production.INFO: CompanyGatewayID 1 TotalCharges ==>3.99000000
[2025-04-12 04:30:10] Production.INFO: Invoice::getAccountUsageTotal(1,130,2025-03-12,2025-04-11 23:59:59)
[2025-04-12 04:30:10] Production.INFO: TotalCharges - 3.99
[2025-04-12 04:30:10] Production.INFO: TotalUsageCharges - 3.99
[2025-04-12 04:30:10] Production.INFO: Usage Over
[2025-04-12 04:30:10] Production.INFO: Call prc_getAccountSubscription(130,0)
[2025-04-12 04:30:10] Production.INFO: SUBSCRIPTION 4
[2025-04-12 04:30:10] Production.INFO: ============================Subscription Start =================
[2025-04-12 04:30:10] Production.INFO: SubscriptionID - 23
[2025-04-12 04:30:10] Production.INFO: isAdvanceSubscription - 23
[2025-04-12 04:30:10] Production.INFO: SubscriptionStartDate =2025-04-12 - SubscriptionEndDate = 2025-05-11
[2025-04-12 04:30:10] Production.INFO: NewNextChargeDate =2025-05-11 00:00:00
[2025-04-12 04:30:10] Production.INFO: EndDate =2025-04-11 00:00:00
[2025-04-12 04:30:10] Production.INFO: NewEndDate1 =2025-04-12
[2025-04-12 04:30:10] Production.INFO: SubscriptionDate
[2025-04-12 04:30:10] Production.INFO: Array
(
[StartDate] => 2025-04-12
[EndDate] => 2025-05-11 00:00:00
[AlreadyCharged] => 0
)
[2025-04-12 04:30:10] Production.INFO: AccountSubscription StartDate 2020-03-05 StartDate 2025-03-12
[2025-04-12 04:30:10] Production.INFO: SubscriptionID - 2025-04-12=====2025-05-11 00:00:00
[2025-04-12 04:30:10] Production.INFO: AccountSubscriptionID - 472 === 2020-03-05=====2026-04-12
[2025-04-12 04:30:10] Production.INFO: regular Advance Subscription
[2025-04-12 04:30:10] Production.INFO: First Time False 2020-03-05 2025-04-12
[2025-04-12 04:30:10] Production.INFO: StartDate 2025-04-12 AccountSubscription->StartDate 2020-03-05 EndDate 2025-05-11 00:00:00 AccountSubscription->EndDate 2026-04-12
[2025-04-12 04:30:10] Production.INFO: days diff - 30 subscription days 30 quarter days 91
[2025-04-12 04:30:10] Production.INFO: AccountSubscription::getSubscriptionAmount(472,2025-04-12,2025-05-11 00:00:00,,0)
[2025-04-12 04:30:10] Production.INFO: SubscriptionCharge - 63.17
[2025-04-12 04:30:10] Production.INFO: Already Invoice Subscription 0
[2025-04-12 04:30:10] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(130,5,23,2025-04-12,2025-05-11 00:00:00,LTE Internet Failover Service (1389 Cardiff Blvd, Unit 4, Mississauga, ON L5S 1P9 Canada),63.17,63.17,1,472)
[2025-04-12 04:30:10] Production.INFO: DiscountAmount 0.000000
[2025-04-12 04:30:10] Production.INFO: DiscountType
[2025-04-12 04:30:10] Production.INFO: SubscriptionCharge 63.17
[2025-04-12 04:30:10] Production.INFO: New SubscriptionCharge 63.17
[2025-04-12 04:30:10] Production.INFO: TotalSubscriptionCharge - 63.17
[2025-04-12 04:30:10] Production.INFO: ============================Subscription End =================
[2025-04-12 04:30:10] Production.INFO: ============================Subscription Start =================
[2025-04-12 04:30:10] Production.INFO: SubscriptionID - 1
[2025-04-12 04:30:10] Production.INFO: isAdvanceSubscription - 1
[2025-04-12 04:30:11] Production.INFO: SubscriptionStartDate =2025-04-12 - SubscriptionEndDate = 2025-05-11
[2025-04-12 04:30:11] Production.INFO: NewNextChargeDate =2025-05-11 00:00:00
[2025-04-12 04:30:11] Production.INFO: EndDate =2025-04-11 00:00:00
[2025-04-12 04:30:11] Production.INFO: NewEndDate1 =2025-04-12
[2025-04-12 04:30:11] Production.INFO: SubscriptionDate
[2025-04-12 04:30:11] Production.INFO: Array
(
[StartDate] => 2025-04-12
[EndDate] => 2025-05-11 00:00:00
[AlreadyCharged] => 0
)
[2025-04-12 04:30:11] Production.INFO: AccountSubscription StartDate 2020-03-05 StartDate 2025-03-12
[2025-04-12 04:30:11] Production.INFO: SubscriptionID - 2025-04-12=====2025-05-11 00:00:00
[2025-04-12 04:30:11] Production.INFO: AccountSubscriptionID - 473 === 2020-03-05=====2026-04-12
[2025-04-12 04:30:11] Production.INFO: regular Advance Subscription
[2025-04-12 04:30:11] Production.INFO: First Time False 2020-03-05 2025-04-12
[2025-04-12 04:30:11] Production.INFO: StartDate 2025-04-12 AccountSubscription->StartDate 2020-03-05 EndDate 2025-05-11 00:00:00 AccountSubscription->EndDate 2026-04-12
[2025-04-12 04:30:11] Production.INFO: days diff - 30 subscription days 30 quarter days 91
[2025-04-12 04:30:11] Production.INFO: AccountSubscription::getSubscriptionAmount(473,2025-04-12,2025-05-11 00:00:00,,0)
[2025-04-12 04:30:11] Production.INFO: SubscriptionCharge - 7
[2025-04-12 04:30:11] Production.INFO: Already Invoice Subscription 0
[2025-04-12 04:30:11] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(130,1,1,2025-04-12,2025-05-11 00:00:00,License for a Pay As You Go Cloud Phone extension,77,7,11,473)
[2025-04-12 04:30:11] Production.INFO: DiscountAmount 0.000000
[2025-04-12 04:30:11] Production.INFO: DiscountType
[2025-04-12 04:30:11] Production.INFO: SubscriptionCharge 77
[2025-04-12 04:30:11] Production.INFO: New SubscriptionCharge 77
[2025-04-12 04:30:11] Production.INFO: TotalSubscriptionCharge - 77.00
[2025-04-12 04:30:11] Production.INFO: ============================Subscription End =================
[2025-04-12 04:30:11] Production.INFO: ============================Subscription Start =================
[2025-04-12 04:30:11] Production.INFO: SubscriptionID - 1
[2025-04-12 04:30:11] Production.INFO: isAdvanceSubscription - 1
[2025-04-12 04:30:11] Production.INFO: SubscriptionStartDate =2025-04-12 - SubscriptionEndDate = 2025-05-11
[2025-04-12 04:30:11] Production.INFO: NewNextChargeDate =2025-05-11 00:00:00
[2025-04-12 04:30:11] Production.INFO: EndDate =2025-04-11 00:00:00
[2025-04-12 04:30:11] Production.INFO: NewEndDate1 =2025-04-12
[2025-04-12 04:30:11] Production.INFO: SubscriptionDate
[2025-04-12 04:30:11] Production.INFO: Array
(
[StartDate] => 2025-04-12
[EndDate] => 2025-05-11 00:00:00
[AlreadyCharged] => 0
)
[2025-04-12 04:30:11] Production.INFO: AccountSubscription StartDate 2020-03-05 StartDate 2025-03-12
[2025-04-12 04:30:11] Production.INFO: SubscriptionID - 2025-04-12=====2025-05-11 00:00:00
[2025-04-12 04:30:11] Production.INFO: AccountSubscriptionID - 474 === 2020-03-05=====2026-04-12
[2025-04-12 04:30:11] Production.INFO: regular Advance Subscription
[2025-04-12 04:30:11] Production.INFO: First Time False 2020-03-05 2025-04-12
[2025-04-12 04:30:11] Production.INFO: StartDate 2025-04-12 AccountSubscription->StartDate 2020-03-05 EndDate 2025-05-11 00:00:00 AccountSubscription->EndDate 2026-04-12
[2025-04-12 04:30:11] Production.INFO: days diff - 30 subscription days 30 quarter days 91
[2025-04-12 04:30:11] Production.INFO: AccountSubscription::getSubscriptionAmount(474,2025-04-12,2025-05-11 00:00:00,,0)
[2025-04-12 04:30:11] Production.INFO: SubscriptionCharge - 5
[2025-04-12 04:30:11] Production.INFO: Already Invoice Subscription 0
[2025-04-12 04:30:11] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(130,1,1,2025-04-12,2025-05-11 00:00:00,License for a fax extension (12894592111),5,5,1,474)
[2025-04-12 04:30:11] Production.INFO: DiscountAmount 0.000000
[2025-04-12 04:30:11] Production.INFO: DiscountType
[2025-04-12 04:30:11] Production.INFO: SubscriptionCharge 5
[2025-04-12 04:30:11] Production.INFO: New SubscriptionCharge 5
[2025-04-12 04:30:11] Production.INFO: TotalSubscriptionCharge - 5.00
[2025-04-12 04:30:11] Production.INFO: ============================Subscription End =================
[2025-04-12 04:30:11] Production.INFO: ============================Subscription Start =================
[2025-04-12 04:30:11] Production.INFO: SubscriptionID - 12
[2025-04-12 04:30:11] Production.INFO: isAdvanceSubscription - 12
[2025-04-12 04:30:11] Production.INFO: SubscriptionStartDate =2025-04-12 - SubscriptionEndDate = 2025-05-11
[2025-04-12 04:30:11] Production.INFO: NewNextChargeDate =2025-05-11 00:00:00
[2025-04-12 04:30:11] Production.INFO: EndDate =2025-04-11 00:00:00
[2025-04-12 04:30:11] Production.INFO: NewEndDate1 =2025-04-12
[2025-04-12 04:30:11] Production.INFO: SubscriptionDate
[2025-04-12 04:30:11] Production.INFO: Array
(
[StartDate] => 2025-04-12
[EndDate] => 2025-05-11 00:00:00
[AlreadyCharged] => 0
)
[2025-04-12 04:30:11] Production.INFO: AccountSubscription StartDate 2020-06-10 StartDate 2025-03-12
[2025-04-12 04:30:11] Production.INFO: SubscriptionID - 2025-04-12=====2025-05-11 00:00:00
[2025-04-12 04:30:11] Production.INFO: AccountSubscriptionID - 499 === 2020-06-10=====2026-04-12
[2025-04-12 04:30:11] Production.INFO: regular Advance Subscription
[2025-04-12 04:30:11] Production.INFO: First Time False 2020-06-10 2025-04-12
[2025-04-12 04:30:11] Production.INFO: StartDate 2025-04-12 AccountSubscription->StartDate 2020-06-10 EndDate 2025-05-11 00:00:00 AccountSubscription->EndDate 2026-04-12
[2025-04-12 04:30:11] Production.INFO: days diff - 30 subscription days 30 quarter days 91
[2025-04-12 04:30:11] Production.INFO: AccountSubscription::getSubscriptionAmount(499,2025-04-12,2025-05-11 00:00:00,,0)
[2025-04-12 04:30:11] Production.INFO: SubscriptionCharge - 0
[2025-04-12 04:30:11] Production.INFO: Already Invoice Subscription 0
[2025-04-12 04:30:11] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(130,1,12,2025-04-12,2025-05-11 00:00:00,Included DID (19058899642),0,0,1,499)
[2025-04-12 04:30:11] Production.INFO: DiscountAmount 0.000000
[2025-04-12 04:30:11] Production.INFO: DiscountType
[2025-04-12 04:30:11] Production.INFO: SubscriptionCharge 0
[2025-04-12 04:30:11] Production.INFO: New SubscriptionCharge 0
[2025-04-12 04:30:11] Production.INFO: TotalSubscriptionCharge - 0.00
[2025-04-12 04:30:11] Production.INFO: ============================Subscription End =================
[2025-04-12 04:30:11] Production.INFO: SUBSCRIPTION Over
[2025-04-12 04:30:11] Production.INFO: Call prc_getAccountOneOffCharge(130,0,2025-03-12,2025-04-12 23:59:59)
[2025-04-12 04:30:11] Production.INFO: AccountOneOffCharge 0
[2025-04-12 04:30:11] Production.INFO: AccountOneOffCharge Over
[2025-04-12 04:30:11] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start
[2025-04-12 04:30:11] Production.INFO: New UsageDates 2025-03-12 - 2025-04-11 23:59:59
[2025-04-12 04:30:11] Production.INFO: SubTotal 149.16
[2025-04-12 04:30:11] Production.INFO: SubTotalWithouttaxTotal 0
[2025-04-12 04:30:11] Production.INFO: AccountOneOffCharge Tax Over
[2025-04-12 04:30:11] Production.INFO: TotalTax 19.3908
[2025-04-12 04:30:11] Production.INFO: InvoiceGrandTotal 168.5508
[2025-04-12 04:30:11] Production.INFO: InvoiceTaxAmount 19.39
[2025-04-12 04:30:11] Production.INFO: GrandTotal 168.55
[2025-04-12 04:30:11] Production.INFO: SubTotal 149.16
[2025-04-12 04:30:11] Production.INFO: TotalDue 1344.28
[2025-04-12 04:30:11] Production.INFO: Reseller ==> 0
[2025-04-12 04:30:11] Production.INFO: original start date ==>2025-03-12 changed start date ==>2025-03-12 00:00:00 original end date ==>2025-04-11 23:59:59 changed end date ==>2025-04-11 23:59:59
[2025-04-12 04:30:11] Production.INFO: CALL prc_getInvoiceUsage(1,'130','0','1','2025-03-12 00:00:00','2025-04-11 23:59:59',0)
[2025-04-12 04:30:11] Production.INFO: PDF Generation start
[2025-04-12 04:30:11] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/130/Invoices/2025/04/12/Invoice-auto-loan-centre-inv11856-from-03-12-2025-to-04-11-2025-10804.pdf
[2025-04-12 04:30:11] Production.INFO: On Linux
[2025-04-12 04:30:13] Production.INFO: /var/www/html/onswitch.neon.service/wkhtmltox/bin/wkhtmltopdf --header-spacing 3 --footer-spacing 1 --header-html --footer-html "/var/www/tmp/1/130/Invoices/2025/04/12/footer-auto-loan-centre-inv11856-from-03-12-2025-to-04-11-2025-10804.html" "/var/www/tmp/1/130/Invoices/2025/04/12/Invoice-auto-loan-centre-inv11856-from-03-12-2025-to-04-11-2025-10804.html" "/var/www/tmp/1/130/Invoices/2025/04/12/Invoice-auto-loan-centre-inv11856-from-03-12-2025-to-04-11-2025-10804.pdf"
[2025-04-12 04:30:13] Production.INFO:
[2025-04-12 04:30:13] Production.INFO: /var/www/tmp/1/130/Invoices/2025/04/12/Invoice-auto-loan-centre-inv11856-from-03-12-2025-to-04-11-2025-10804.html
[2025-04-12 04:30:13] Production.INFO: /var/www/tmp/1/130/Invoices/2025/04/12/header-auto-loan-centre-inv11856-from-03-12-2025-to-04-11-2025-10804.html
[2025-04-12 04:30:13] Production.INFO: /var/www/tmp/1/130/Invoices/2025/04/12/footer-auto-loan-centre-inv11856-from-03-12-2025-to-04-11-2025-10804.html
[2025-04-12 04:30:13] Production.INFO: Invoice generation PDF path
[2025-04-12 04:30:13] Production.INFO: PDF fullPath 1/130/Invoices/2025/04/12/Invoice-auto-loan-centre-inv11856-from-03-12-2025-to-04-11-2025-10804.pdf
[2025-04-12 04:30:13] Production.INFO: Generate Usage File Start
[2025-04-12 04:30:13] Production.INFO: Usage File fullPath 1/130/InvoiceUsageFile/2025/04/12/auto-loan-centre-12-03-2025-00-00-00-TO-11-04-2025-23-59-59_975__5aad0950-1778-11f0-806c-91cfdee1c96d.csv
[2025-04-12 04:30:15] Production.INFO: Sending Email to Staff over
[2025-04-12 04:30:15] Production.INFO: Email Status 1
[2025-04-12 04:30:15] Production.INFO: Sending Email to Customer
[2025-04-12 04:30:16] Production.ERROR: CronJobId end10
[2025-04-12 04:30:16] Production.INFO: ==21083== Releasing lock...
[2025-04-12 04:30:16] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 04:30:16] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 04:30:16] Production.INFO: Email Try 10804 1
[2025-04-12 04:30:16] Production.INFO: =========== Email Sending over ===========
[2025-04-12 04:30:16] Production.INFO: =========== Returning as Success =========== AccountID 130
[2025-04-12 04:30:16] Production.INFO: Invoice::sendInvoice done
[2025-04-12 04:30:16] Production.INFO: Invoice created - Array
(
[status] => success
[message] => Invoice Created Successfully.
[accounts] =>
)
[2025-04-12 04:30:16] Production.INFO: Invoice Committed AccountID = 130
[2025-04-12 04:30:16] Production.INFO: =========== Updating InvoiceDate ===========
[2025-04-12 04:30:16] Production.INFO: NextInvoice 2025-04-12 2025-05-11
[2025-04-12 04:30:16] Production.INFO: new dates
[2025-04-12 04:30:16] Production.INFO: LastInvoiceDate 2025-04-12 NextInvoiceDate 2025-05-12
[2025-04-12 04:30:16] Production.INFO: LastChargeDate 2025-04-12 NextChargeDate 2025-05-11
[2025-04-12 04:30:16] Production.INFO: =========== Updated InvoiceDate ===========
[2025-04-12 04:30:16] Production.INFO: ========================== Invoice Send End =============================
[2025-04-12 04:30:16] Production.INFO: AccountID =258 FirstInvoiceSend 0
[2025-04-12 04:30:16] Production.INFO: LastInvoiceDate 2025-02-10 NextInvoiceDate 2025-03-10
[2025-04-12 04:30:16] Production.INFO: LastChargeDate 2025-02-10 NextChargeDate 2025-03-09
[2025-04-12 04:30:16] Production.INFO: isCDRLoaded Array
(
[0] => stdClass Object
(
[isLoaded] => 1
)
)
[2025-04-12 04:30:16] Production.INFO: ========================== Invoice Send Start =============================
[2025-04-12 04:30:16] Production.INFO: Invoice::sendInvoice(1,258,2025-02-10,2025-03-10,billing@onswitchit.ca)
[2025-04-12 04:30:16] Production.INFO: start Date =2025-02-10 EndDate =2025-03-09 23:59:59
[2025-04-12 04:30:16] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV
[2025-04-12 04:30:16] 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-12 04:30:16] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled
[2025-04-12 04:30:16] Production.INFO: Invoice::sendInvoice done
[2025-04-12 04:30:16] Production.INFO: Invoice rollback AccountID = 258
[2025-04-12 04:30:16] Production.INFO: ========================== Error =============================
[2025-04-12 04:30:16] Production.INFO: Invoice with Error - Array
(
[status] => failure
[message] => Lion Motors Account is already billed on this duration
)
[2025-04-12 04:30:16] Production.INFO: ========================== Invoice Send End =============================
[2025-04-12 04:30:16] Production.INFO: ========================== Recurring invoice Start =============================
[2025-04-12 04:30:16] Production.INFO: recurring invoices ID
[2025-04-12 04:30:16] Production.INFO:
[2025-04-12 04:30:16] Production.INFO: recurring errorsArray
(
)
[2025-04-12 04:30:16] Production.INFO: ========================== Recurring invoice End =============================
[2025-04-12 04:30:16] Production.INFO: ========================== Job Updated =============================
[2025-04-12 04:30:17] Production.INFO: ========================== Job Email Sent =============================
[2025-04-12 04:30:18] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 04:30:18] Production.INFO: ============== Balance Warning START===========
[2025-04-12 04:30:18] Production.INFO: ============== Balance Warning END===========
[2025-04-12 04:30:18] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 04:30:18] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 04:30:18] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 04:30:18] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 04:30:18] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 04:30:18] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 04:30:18] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 04:30:18] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 04:30:18] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 04:30:18] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 04:30:18] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 04:30:18] Production.INFO: call_cost start
[2025-04-12 04:30:18] Production.INFO: call_cost end
[2025-04-12 04:30:19] Production.ERROR: **Email Sent Status 1
[2025-04-12 04:30:19] Production.ERROR: **Email Sent message Email has been sent
[2025-04-12 04:30:19] Production.ERROR: CronJobId end6
[2025-04-12 04:30:19] Production.INFO: ==21079== Releasing lock...
[2025-04-12 04:30:19] Production.INFO: invoicegenerator-command-invoicegenerator-companyid-1-cronjobid-6 #Stops#
[2025-04-12 04:30:19] Production.INFO: 39.5 MB #Memory Used#
[2025-04-12 04:30:19] Production.INFO: count ==222
[2025-04-12 04:30:19] Production.ERROR: pbx CDR StartTime 2025-04-12 01:30:06 - End Time 2025-04-12 04:30:06
[2025-04-12 04:30:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 04:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889123', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889123', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889123', 'tblTempVendorCDR_20' ) start
[2025-04-12 04:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889123', 'tblTempVendorCDR_20' ) end
[2025-04-12 04:30:19] Production.INFO: ProcessCDR(1,14889123,1,1,2)
[2025-04-12 04:30:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889123,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:30:19] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 04:30:19] Production.INFO: ============== Report Schedule START===========
[2025-04-12 04:30:19] Production.INFO: ============== Report Schedule END===========
[2025-04-12 04:30:19] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 04:30:19] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 04:30:19] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 04:30:19] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 04:30:19] Production.INFO: ============== Deal alert START===========
[2025-04-12 04:30:19] Production.INFO: ============== Deal alert END===========
[2025-04-12 04:30:19] Production.INFO: ==21077== Releasing lock...
[2025-04-12 04:30:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 04:30:19] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 04:30:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889123,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:30:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889123,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:30:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889123,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:30:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889123', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:30:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889123', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:30:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 04:30:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 04:30:23] Production.INFO: ==21087== Releasing lock...
[2025-04-12 04:30:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 04:30:23] Production.INFO: 29.25 MB #Memory Used#
[2025-04-12 09:31:02] Production.INFO: ==21220== Lock acquired, processing the job...
[2025-04-12 09:31:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 09:31:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 09:31:02] Production.INFO: neon service started
[2025-04-12 09:31:02] Production.INFO: neon service started
[2025-04-12 09:31:02] Production.INFO: ==21220== Releasing lock...
[2025-04-12 09:31:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 09:31:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 08:31:02] Production.INFO: ==21224== Lock acquired, processing the job...
[2025-04-12 08:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 08:31:02] Production.INFO: ==21224== Releasing lock...
[2025-04-12 08:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 08:31:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 04:31:02] Production.INFO: ==21222== Lock acquired, processing the job...
[2025-04-12 04:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 04:31:03] Production.INFO: ==21222== Releasing lock...
[2025-04-12 04:31:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 04:31:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 04:31:03] Production.INFO: ==21227== Lock acquired, processing the job...
[2025-04-12 04:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 04:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 04:31:03] Production.INFO: ==21231== Lock acquired, processing the job...
[2025-04-12 04:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 04:31:03] Production.INFO: ==21235== Lock acquired, processing the job...
[2025-04-12 04:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 04:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 04:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 04:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 04:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 04:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 04:31:03] Production.INFO: ==21229== Lock acquired, processing the job...
[2025-04-12 04:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 04:31:04] Production.INFO: ==21233== Lock acquired, processing the job...
[2025-04-12 04:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 04:31:04] Production.INFO: ==21237== Lock acquired, processing the job...
[2025-04-12 04:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 04:31:04] Production.ERROR: done
[2025-04-12 04:31:04] Production.INFO: Account Balance Start.
[2025-04-12 04:31:04] Production.INFO: CreateAllLog Start
[2025-04-12 04:31:04] Production.INFO: 117
[2025-04-12 04:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 04:31:04] Production.INFO: Date 2025-04-08
[2025-04-12 04:31:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 04:31:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:31:04] Production.INFO: count ==12
[2025-04-12 04:31:04] Production.INFO: Date 2025-04-09
[2025-04-12 04:31:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:31:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 04:31:04] Production.INFO: count ==23
[2025-04-12 04:31:04] Production.INFO: Date 2025-04-10
[2025-04-12 04:31:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:31:04] Production.ERROR: done
[2025-04-12 04:31:04] Production.INFO: ==21229== Releasing lock...
[2025-04-12 04:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 04:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 04:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889127') start
[2025-04-12 04:31:04] Production.INFO: Date 2025-04-11
[2025-04-12 04:31:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889127') end
[2025-04-12 04:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 04:31:04] Production.INFO: 1
[2025-04-12 04:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 04:31:04] Production.INFO: Date 2025-04-12
[2025-04-12 04:31:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:31:04] Production.INFO: Total Charge 0
[2025-04-12 04:31:04] Production.INFO: ==21237== Releasing lock...
[2025-04-12 04:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 04:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 04:31:04] Production.INFO: CreateAllLog End
[2025-04-12 04:31:04] Production.INFO: Account Balance End.
[2025-04-12 04:31:04] Production.ERROR: CronJobId end 12
[2025-04-12 04:31:04] Production.INFO: ==21233== Releasing lock...
[2025-04-12 04:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 04:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 04:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 01:31:05
[end_date_ymd] => 2025-04-12 04:31:05
[RateCDR] => 1
)
[2025-04-12 04:31:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 01:31:05' and `end` < '2025-04-12 04:31:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 04:31:12] Production.ERROR: CronJobId end10
[2025-04-12 04:31:12] Production.INFO: ==21231== Releasing lock...
[2025-04-12 04:31:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 04:31:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 04:31:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 04:31:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 04:31:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 04:31:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 04:31:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 04:31:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 04:31:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 04:31:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 04:31:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 04:31:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 04:31:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 04:31:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 04:31:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 04:31:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 04:31:14] Production.INFO: call_cost start
[2025-04-12 04:31:14] Production.INFO: call_cost end
[2025-04-12 04:31:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 04:31:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 04:31:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 04:31:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 04:31:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 04:31:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 04:31:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 04:31:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 04:31:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 04:31:15] Production.INFO: ==21227== Releasing lock...
[2025-04-12 04:31:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 04:31:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 04:31:18] Production.INFO: count ==222
[2025-04-12 04:31:18] Production.ERROR: pbx CDR StartTime 2025-04-12 01:31:05 - End Time 2025-04-12 04:31:05
[2025-04-12 04:31:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 04:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889128', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889128', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889128', 'tblTempVendorCDR_20' ) start
[2025-04-12 04:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889128', 'tblTempVendorCDR_20' ) end
[2025-04-12 04:31:18] Production.INFO: ProcessCDR(1,14889128,1,1,2)
[2025-04-12 04:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889128,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:31:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889128,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:31:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889128,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:31:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889128,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889128', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889128', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:31:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 04:31:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 04:31:21] Production.INFO: ==21235== Releasing lock...
[2025-04-12 04:31:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 04:31:21] Production.INFO: 29.25 MB #Memory Used#
[2025-04-12 09:32:01] Production.INFO: ==21291== Lock acquired, processing the job...
[2025-04-12 09:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 09:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 09:32:01] Production.INFO: neon service started
[2025-04-12 09:32:01] Production.INFO: neon service started
[2025-04-12 09:32:01] Production.INFO: ==21291== Releasing lock...
[2025-04-12 09:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 09:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 04:32:02] Production.INFO: ==21293== Lock acquired, processing the job...
[2025-04-12 04:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 04:32:02] Production.INFO: ==21293== Releasing lock...
[2025-04-12 04:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 04:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 08:32:02] Production.INFO: ==21295== Lock acquired, processing the job...
[2025-04-12 08:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 08:32:02] Production.INFO: ==21295== Releasing lock...
[2025-04-12 08:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 08:32:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 04:32:03] Production.INFO: ==21300== Lock acquired, processing the job...
[2025-04-12 04:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 04:32:03] Production.INFO: ==21308== Lock acquired, processing the job...
[2025-04-12 04:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 04:32:03] Production.INFO: ==21298== Lock acquired, processing the job...
[2025-04-12 04:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 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-12 04:32:03] Production.INFO: count ==12
[2025-04-12 04:32:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 04:32:03] Production.INFO: count ==23
[2025-04-12 04:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889130') start
[2025-04-12 04:32:03] Production.INFO: ==21302== Lock acquired, processing the job...
[2025-04-12 04:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 04:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889130') end
[2025-04-12 04:32:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 04:32:03] Production.INFO: 1
[2025-04-12 04:32:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 04:32:03] Production.INFO: ==21304== Lock acquired, processing the job...
[2025-04-12 04:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 04:32:03] Production.INFO: ==21306== Lock acquired, processing the job...
[2025-04-12 04:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 04:32:03] Production.INFO: ==21308== Releasing lock...
[2025-04-12 04:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 04:32:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 04:32:03] Production.INFO: ==21300== Releasing lock...
[2025-04-12 04:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 04:32:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 04:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 04:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 04:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 04:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 04:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 04:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 04:32:03] Production.INFO: Account Balance Start.
[2025-04-12 04:32:03] Production.INFO: CreateAllLog Start
[2025-04-12 04:32:03] Production.INFO: 117
[2025-04-12 04:32:03] Production.INFO: Date 2025-04-08
[2025-04-12 04:32:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:32:03] Production.INFO: Date 2025-04-09
[2025-04-12 04:32:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:32:04] Production.INFO: Date 2025-04-10
[2025-04-12 04:32:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:32:04] Production.INFO: Date 2025-04-11
[2025-04-12 04:32:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:32:04] Production.ERROR: done
[2025-04-12 04:32:04] Production.INFO: Date 2025-04-12
[2025-04-12 04:32:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 04:32:04] Production.INFO: Total Charge 0
[2025-04-12 04:32:04] Production.INFO: CreateAllLog End
[2025-04-12 04:32:04] Production.ERROR: done
[2025-04-12 04:32:04] Production.INFO: Account Balance End.
[2025-04-12 04:32:04] Production.ERROR: CronJobId end 12
[2025-04-12 04:32:04] Production.INFO: ==21304== Releasing lock...
[2025-04-12 04:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 04:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 04:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 01:32:05
[end_date_ymd] => 2025-04-12 04:32:05
[RateCDR] => 1
)
[2025-04-12 04:32:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 01:32:05' and `end` < '2025-04-12 04:32:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 04:32:11] Production.ERROR: CronJobId end10
[2025-04-12 04:32:11] Production.INFO: ==21302== Releasing lock...
[2025-04-12 04:32:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 04:32:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 04:32:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 04:32:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 04:32:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 04:32:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 04:32:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 04:32:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 04:32:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 04:32:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 04:32:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 04:32:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 04:32:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 04:32:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 04:32:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 04:32:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 04:32:14] Production.INFO: call_cost start
[2025-04-12 04:32:14] Production.INFO: call_cost end
[2025-04-12 04:32:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 04:32:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 04:32:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 04:32:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 04:32:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 04:32:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 04:32:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 04:32:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 04:32:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 04:32:15] Production.INFO: ==21298== Releasing lock...
[2025-04-12 04:32:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 04:32:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 04:32:17] Production.INFO: count ==222
[2025-04-12 04:32:17] Production.ERROR: pbx CDR StartTime 2025-04-12 01:32:05 - End Time 2025-04-12 04:32:05
[2025-04-12 04:32:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 04:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889133', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889133', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889133', 'tblTempVendorCDR_20' ) start
[2025-04-12 04:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889133', 'tblTempVendorCDR_20' ) end
[2025-04-12 04:32:17] Production.INFO: ProcessCDR(1,14889133,1,1,2)
[2025-04-12 04:32:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889133,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:32:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889133,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:32:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889133,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:32:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889133,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889133', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889133', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:32:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 04:32:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 04:32:21] Production.INFO: ==21306== Releasing lock...
[2025-04-12 04:32:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 04:32:21] Production.INFO: 29.25 MB #Memory Used#
[2025-04-12 09:33:02] Production.INFO: ==21363== Lock acquired, processing the job...
[2025-04-12 09:33:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 09:33:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 09:33:02] Production.INFO: neon service started
[2025-04-12 09:33:02] Production.INFO: neon service started
[2025-04-12 09:33:02] Production.INFO: ==21363== Releasing lock...
[2025-04-12 09:33:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 09:33:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 04:33:02] Production.INFO: ==21365== Lock acquired, processing the job...
[2025-04-12 04:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 04:33:02] Production.INFO: ==21365== Releasing lock...
[2025-04-12 04:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 04:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 08:33:02] Production.INFO: ==21367== Lock acquired, processing the job...
[2025-04-12 08:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 08:33:02] Production.INFO: ==21367== Releasing lock...
[2025-04-12 08:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 08:33:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 04:33:03] Production.INFO: ==21376== Lock acquired, processing the job...
[2025-04-12 04:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 04:33:03] Production.INFO: Account Balance Start.
[2025-04-12 04:33:03] Production.INFO: CreateAllLog Start
[2025-04-12 04:33:03] Production.INFO: 117
[2025-04-12 04:33:03] Production.INFO: Date 2025-04-08
[2025-04-12 04:33:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:33:03] Production.INFO: ==21378== Lock acquired, processing the job...
[2025-04-12 04:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 04:33:03] Production.INFO: Date 2025-04-09
[2025-04-12 04:33:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:33:03] Production.INFO: Date 2025-04-10
[2025-04-12 04:33:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 04:33:03] Production.INFO: ==21370== Lock acquired, processing the job...
[2025-04-12 04:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 04:33:03] Production.INFO: Date 2025-04-11
[2025-04-12 04:33:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:33:03] Production.INFO: Date 2025-04-12
[2025-04-12 04:33:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:33:03] Production.INFO: ==21372== Lock acquired, processing the job...
[2025-04-12 04:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 04:33:03] Production.INFO: ==21374== Lock acquired, processing the job...
[2025-04-12 04:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 04:33:03] Production.INFO: Total Charge 0
[2025-04-12 04:33:03] Production.INFO: CreateAllLog End
[2025-04-12 04:33:04] Production.INFO: ==21380== Lock acquired, processing the job...
[2025-04-12 04:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 04:33:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 04:33:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 04:33:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 04:33:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 04:33:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 04:33:04] Production.ERROR: done
[2025-04-12 04:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 04:33:04] Production.INFO: Account Balance End.
[2025-04-12 04:33:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 04:33:04] Production.ERROR: CronJobId end 12
[2025-04-12 04:33:04] Production.INFO: ==21376== Releasing lock...
[2025-04-12 04:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 04:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 04:33:04] Production.INFO: count ==12
[2025-04-12 04:33:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 04:33:04] Production.INFO: count ==23
[2025-04-12 04:33:04] Production.INFO: ==21372== Releasing lock...
[2025-04-12 04:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 04:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 04:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889137') start
[2025-04-12 04:33:04] Production.ERROR: done
[2025-04-12 04:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889137') end
[2025-04-12 04:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 04:33:04] Production.INFO: 1
[2025-04-12 04:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 04:33:04] Production.INFO: ==21380== Releasing lock...
[2025-04-12 04:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 04:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 04:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 01:33:05
[end_date_ymd] => 2025-04-12 04:33:05
[RateCDR] => 1
)
[2025-04-12 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-12 01:33:05' and `end` < '2025-04-12 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-12 04:33:11] Production.ERROR: CronJobId end10
[2025-04-12 04:33:11] Production.INFO: ==21374== Releasing lock...
[2025-04-12 04:33:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 04:33:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 04:33:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 04:33:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 04:33:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 04:33:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 04:33:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 04:33:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 04:33:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 04:33:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 04:33:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 04:33:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 04:33:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 04:33:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 04:33:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 04:33:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 04:33:14] Production.INFO: call_cost start
[2025-04-12 04:33:14] Production.INFO: call_cost end
[2025-04-12 04:33:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 04:33:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 04:33:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 04:33:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 04:33:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 04:33:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 04:33:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 04:33:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 04:33:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 04:33:15] Production.INFO: ==21370== Releasing lock...
[2025-04-12 04:33:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 04:33:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 04:33:18] Production.INFO: count ==222
[2025-04-12 04:33:18] Production.ERROR: pbx CDR StartTime 2025-04-12 01:33:05 - End Time 2025-04-12 04:33:05
[2025-04-12 04:33:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 04:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889138', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889138', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889138', 'tblTempVendorCDR_20' ) start
[2025-04-12 04:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889138', 'tblTempVendorCDR_20' ) end
[2025-04-12 04:33:18] Production.INFO: ProcessCDR(1,14889138,1,1,2)
[2025-04-12 04:33:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889138,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:33:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889138,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:33:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889138,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:33:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889138,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889138', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889138', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:33:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 04:33:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 04:33:21] Production.INFO: ==21378== Releasing lock...
[2025-04-12 04:33:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 04:33:21] Production.INFO: 29.25 MB #Memory Used#
[2025-04-12 09:34:01] Production.INFO: ==21433== Lock acquired, processing the job...
[2025-04-12 09:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 09:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 09:34:01] Production.INFO: neon service started
[2025-04-12 09:34:01] Production.INFO: neon service started
[2025-04-12 09:34:01] Production.INFO: ==21433== Releasing lock...
[2025-04-12 09:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 09:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 04:34:02] Production.INFO: ==21435== Lock acquired, processing the job...
[2025-04-12 04:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 08:34:02] Production.INFO: ==21437== Lock acquired, processing the job...
[2025-04-12 08:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 04:34:02] Production.INFO: ==21435== Releasing lock...
[2025-04-12 04:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 04:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 08:34:02] Production.INFO: ==21437== Releasing lock...
[2025-04-12 08:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 08:34:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 04:34:03] Production.INFO: ==21439== Lock acquired, processing the job...
[2025-04-12 04:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 04:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 04:34:03] Production.INFO: ==21441== Lock acquired, processing the job...
[2025-04-12 04:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 04:34:03] Production.INFO: ==21443== Lock acquired, processing the job...
[2025-04-12 04:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 04:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 04:34:03] Production.INFO: ==21445== Lock acquired, processing the job...
[2025-04-12 04:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 04:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 04:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 04:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 04:34:03] Production.INFO: ==21448== Lock acquired, processing the job...
[2025-04-12 04:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 04:34:03] Production.INFO: Account Balance Start.
[2025-04-12 04:34:03] Production.INFO: CreateAllLog Start
[2025-04-12 04:34:03] Production.INFO: 117
[2025-04-12 04:34:03] Production.INFO: Date 2025-04-08
[2025-04-12 04:34:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 04:34:03] Production.INFO: ==21450== Lock acquired, processing the job...
[2025-04-12 04:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 04:34:03] Production.INFO: Date 2025-04-09
[2025-04-12 04:34:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:34:03] Production.INFO: Date 2025-04-10
[2025-04-12 04:34:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:34:03] Production.INFO: ==21441== Releasing lock...
[2025-04-12 04:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 04:34:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 04:34:03] Production.INFO: Date 2025-04-11
[2025-04-12 04:34:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:34:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 04:34:03] Production.INFO: Date 2025-04-12
[2025-04-12 04:34:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:34:03] Production.INFO: Total Charge 0
[2025-04-12 04:34:04] Production.INFO: CreateAllLog End
[2025-04-12 04:34:04] Production.INFO: count ==12
[2025-04-12 04:34:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 04:34:04] Production.ERROR: done
[2025-04-12 04:34:04] Production.INFO: count ==23
[2025-04-12 04:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 04:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889142') start
[2025-04-12 04:34:04] Production.INFO: Account Balance End.
[2025-04-12 04:34:04] Production.ERROR: done
[2025-04-12 04:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889142') end
[2025-04-12 04:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 04:34:04] Production.INFO: 1
[2025-04-12 04:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 04:34:04] Production.ERROR: CronJobId end 12
[2025-04-12 04:34:04] Production.INFO: ==21445== Releasing lock...
[2025-04-12 04:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 04:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 04:34:04] Production.INFO: ==21450== Releasing lock...
[2025-04-12 04:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 04:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 04:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 01:34:05
[end_date_ymd] => 2025-04-12 04:34:05
[RateCDR] => 1
)
[2025-04-12 04:34:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 01:34:05' and `end` < '2025-04-12 04:34:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 04:34:11] Production.ERROR: CronJobId end10
[2025-04-12 04:34:11] Production.INFO: ==21443== Releasing lock...
[2025-04-12 04:34:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 04:34:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 04:34:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 04:34:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 04:34:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 04:34:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 04:34:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 04:34:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 04:34:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 04:34:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 04:34:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 04:34:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 04:34:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 04:34:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 04:34:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 04:34:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 04:34:14] Production.INFO: call_cost start
[2025-04-12 04:34:14] Production.INFO: call_cost end
[2025-04-12 04:34:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 04:34:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 04:34:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 04:34:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 04:34:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 04:34:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 04:34:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 04:34:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 04:34:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 04:34:15] Production.INFO: ==21439== Releasing lock...
[2025-04-12 04:34:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 04:34:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 04:34:18] Production.INFO: count ==222
[2025-04-12 04:34:18] Production.ERROR: pbx CDR StartTime 2025-04-12 01:34:05 - End Time 2025-04-12 04:34:05
[2025-04-12 04:34:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 04:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889143', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889143', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889143', 'tblTempVendorCDR_20' ) start
[2025-04-12 04:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889143', 'tblTempVendorCDR_20' ) end
[2025-04-12 04:34:18] Production.INFO: ProcessCDR(1,14889143,1,1,2)
[2025-04-12 04:34:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889143,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:34:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889143,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:34:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889143,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:34:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889143,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889143', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889143', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:34:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 04:34:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 04:34:21] Production.INFO: ==21448== Releasing lock...
[2025-04-12 04:34:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 04:34:21] Production.INFO: 29.25 MB #Memory Used#
[2025-04-12 09:35:02] Production.INFO: ==21505== Lock acquired, processing the job...
[2025-04-12 09:35:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 09:35:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 09:35:02] Production.INFO: neon service started
[2025-04-12 09:35:02] Production.INFO: neon service started
[2025-04-12 09:35:02] Production.INFO: ==21505== Releasing lock...
[2025-04-12 09:35:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 09:35:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 04:35:02] Production.INFO: ==21507== Lock acquired, processing the job...
[2025-04-12 04:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 04:35:02] Production.INFO: ==21507== Releasing lock...
[2025-04-12 04:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 04:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 08:35:02] Production.INFO: ==21509== Lock acquired, processing the job...
[2025-04-12 08:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 08:35:02] Production.INFO: ==21509== Releasing lock...
[2025-04-12 08:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 08:35:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 04:35:03] Production.INFO: ==21522== Lock acquired, processing the job...
[2025-04-12 04:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 04:35:03] Production.INFO: ==21512== Lock acquired, processing the job...
[2025-04-12 04:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 04:35:03] Production.INFO: ==21520== Lock acquired, processing the job...
[2025-04-12 04:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 04:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 04:35:03] Production.INFO: ==21514== Lock acquired, processing the job...
[2025-04-12 04:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 04:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 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-12 04:35:03] Production.INFO: ==21516== Lock acquired, processing the job...
[2025-04-12 04:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 04:35:03] Production.INFO: ==21518== Lock acquired, processing the job...
[2025-04-12 04:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 04:35:03] Production.INFO: count ==12
[2025-04-12 04:35:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 04:35:04] Production.INFO: count ==23
[2025-04-12 04:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889144') start
[2025-04-12 04:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889144') end
[2025-04-12 04:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 04:35:04] Production.INFO: 1
[2025-04-12 04:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 04:35:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 04:35:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 04:35:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 04:35:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 04:35:04] Production.INFO: ==21522== Releasing lock...
[2025-04-12 04:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 04:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 04:35:04] Production.INFO: Account Balance Start.
[2025-04-12 04:35:04] Production.INFO: CreateAllLog Start
[2025-04-12 04:35:04] Production.INFO: 117
[2025-04-12 04:35:04] Production.ERROR: done
[2025-04-12 04:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 04:35:04] Production.INFO: Date 2025-04-08
[2025-04-12 04:35:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:35:04] Production.INFO: Date 2025-04-09
[2025-04-12 04:35:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:35:04] Production.INFO: Date 2025-04-10
[2025-04-12 04:35:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:35:04] Production.ERROR: done
[2025-04-12 04:35:04] Production.INFO: Date 2025-04-11
[2025-04-12 04:35:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:35:04] Production.INFO: Date 2025-04-12
[2025-04-12 04:35:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:35:04] Production.INFO: Total Charge 0
[2025-04-12 04:35:04] Production.INFO: CreateAllLog End
[2025-04-12 04:35:04] Production.INFO: ==21514== Releasing lock...
[2025-04-12 04:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 04:35:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 04:35:04] Production.INFO: Account Balance End.
[2025-04-12 04:35:04] Production.ERROR: CronJobId end 12
[2025-04-12 04:35:04] Production.INFO: ==21518== Releasing lock...
[2025-04-12 04:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 04:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 04:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 01:35:05
[end_date_ymd] => 2025-04-12 04:35:05
[RateCDR] => 1
)
[2025-04-12 04:35:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 01:35:05' and `end` < '2025-04-12 04:35:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 04:35:12] Production.ERROR: CronJobId end10
[2025-04-12 04:35:12] Production.INFO: ==21516== Releasing lock...
[2025-04-12 04:35:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 04:35:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 04:35:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 04:35:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 04:35:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 04:35:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 04:35:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 04:35:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 04:35:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 04:35:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 04:35:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 04:35:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 04:35:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 04:35:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 04:35:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 04:35:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 04:35:15] Production.INFO: call_cost start
[2025-04-12 04:35:15] Production.INFO: call_cost end
[2025-04-12 04:35:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 04:35:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 04:35:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 04:35:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 04:35:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 04:35:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 04:35:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 04:35:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 04:35:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 04:35:16] Production.INFO: ==21512== Releasing lock...
[2025-04-12 04:35:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 04:35:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 04:35:18] Production.INFO: count ==222
[2025-04-12 04:35:18] Production.ERROR: pbx CDR StartTime 2025-04-12 01:35:05 - End Time 2025-04-12 04:35:05
[2025-04-12 04:35:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 04:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889148', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889148', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889148', 'tblTempVendorCDR_20' ) start
[2025-04-12 04:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889148', 'tblTempVendorCDR_20' ) end
[2025-04-12 04:35:18] Production.INFO: ProcessCDR(1,14889148,1,1,2)
[2025-04-12 04:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889148,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:35:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889148,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:35:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889148,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:35:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889148,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889148', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889148', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:35:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 04:35:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 04:35:21] Production.INFO: ==21520== Releasing lock...
[2025-04-12 04:35:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 04:35:21] Production.INFO: 29.25 MB #Memory Used#
[2025-04-12 09:36:01] Production.INFO: ==21576== Lock acquired, processing the job...
[2025-04-12 09:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 09:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 09:36:01] Production.INFO: neon service started
[2025-04-12 09:36:01] Production.INFO: neon service started
[2025-04-12 09:36:01] Production.INFO: ==21576== Releasing lock...
[2025-04-12 09:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 09:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 08:36:01] Production.INFO: ==21580== Lock acquired, processing the job...
[2025-04-12 08:36:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 08:36:01] Production.INFO: ==21580== Releasing lock...
[2025-04-12 08:36:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 08:36:01] Production.INFO: 25 MB #Memory Used#
[2025-04-12 04:36:02] Production.INFO: ==21578== Lock acquired, processing the job...
[2025-04-12 04:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 04:36:02] Production.INFO: ==21578== Releasing lock...
[2025-04-12 04:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 04:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 04:36:03] Production.INFO: ==21587== Lock acquired, processing the job...
[2025-04-12 04:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 04:36:03] Production.INFO: ==21591== Lock acquired, processing the job...
[2025-04-12 04:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 04:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 04:36:03] Production.INFO: ==21593== Lock acquired, processing the job...
[2025-04-12 04:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 04:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 04:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 04:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 04:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 04:36:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 04:36:03] Production.INFO: ==21585== Lock acquired, processing the job...
[2025-04-12 04:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 04:36:03] Production.INFO: count ==12
[2025-04-12 04:36:03] Production.INFO: ==21589== Lock acquired, processing the job...
[2025-04-12 04:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 04:36:03] Production.INFO: ==21583== Lock acquired, processing the job...
[2025-04-12 04:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 04:36:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 04:36:03] Production.INFO: count ==23
[2025-04-12 04:36:03] Production.ERROR: done
[2025-04-12 04:36:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 04:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889149') start
[2025-04-12 04:36:03] Production.INFO: Account Balance Start.
[2025-04-12 04:36:03] Production.INFO: CreateAllLog Start
[2025-04-12 04:36:03] Production.INFO: 117
[2025-04-12 04:36:03] Production.INFO: Date 2025-04-08
[2025-04-12 04:36:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889149') end
[2025-04-12 04:36:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 04:36:03] Production.INFO: 1
[2025-04-12 04:36:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 04:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 04:36:03] Production.ERROR: done
[2025-04-12 04:36:03] Production.INFO: Date 2025-04-09
[2025-04-12 04:36:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:36:03] Production.INFO: Date 2025-04-10
[2025-04-12 04:36:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:36:03] Production.INFO: Date 2025-04-11
[2025-04-12 04:36:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:36:03] Production.INFO: ==21593== Releasing lock...
[2025-04-12 04:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 04:36:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 04:36:03] Production.INFO: Date 2025-04-12
[2025-04-12 04:36:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:36:04] Production.INFO: Total Charge 0
[2025-04-12 04:36:04] Production.INFO: CreateAllLog End
[2025-04-12 04:36:04] Production.INFO: ==21585== Releasing lock...
[2025-04-12 04:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 04:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 04:36:04] Production.INFO: Account Balance End.
[2025-04-12 04:36:04] Production.ERROR: CronJobId end 12
[2025-04-12 04:36:04] Production.INFO: ==21589== Releasing lock...
[2025-04-12 04:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 04:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 04:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 01:36:05
[end_date_ymd] => 2025-04-12 04:36:05
[RateCDR] => 1
)
[2025-04-12 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-12 01:36:05' and `end` < '2025-04-12 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-12 04:36:10] Production.ERROR: CronJobId end10
[2025-04-12 04:36:10] Production.INFO: ==21587== Releasing lock...
[2025-04-12 04:36:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 04:36:10] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 04:36:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 04:36:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 04:36:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 04:36:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 04:36:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 04:36:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 04:36:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 04:36:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 04:36:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 04:36:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 04:36:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 04:36:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 04:36:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 04:36:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 04:36:14] Production.INFO: call_cost start
[2025-04-12 04:36:14] Production.INFO: call_cost end
[2025-04-12 04:36:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 04:36:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 04:36:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 04:36:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 04:36:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 04:36:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 04:36:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 04:36:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 04:36:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 04:36:15] Production.INFO: ==21583== Releasing lock...
[2025-04-12 04:36:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 04:36:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 04:36:17] Production.INFO: count ==221
[2025-04-12 04:36:18] Production.ERROR: pbx CDR StartTime 2025-04-12 01:36:05 - End Time 2025-04-12 04:36:05
[2025-04-12 04:36:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 04:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889153', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889153', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889153', 'tblTempVendorCDR_20' ) start
[2025-04-12 04:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889153', 'tblTempVendorCDR_20' ) end
[2025-04-12 04:36:18] Production.INFO: ProcessCDR(1,14889153,1,1,2)
[2025-04-12 04:36:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889153,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:36:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889153,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:36:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889153,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:36:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889153,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889153', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889153', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:36:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 04:36:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 04:36:21] Production.INFO: ==21591== Releasing lock...
[2025-04-12 04:36:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 04:36:21] Production.INFO: 29 MB #Memory Used#
[2025-04-12 09:37:01] Production.INFO: ==21648== Lock acquired, processing the job...
[2025-04-12 09:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 09:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 09:37:01] Production.INFO: neon service started
[2025-04-12 09:37:01] Production.INFO: neon service started
[2025-04-12 09:37:01] Production.INFO: ==21648== Releasing lock...
[2025-04-12 09:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 09:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 04:37:02] Production.INFO: ==21650== Lock acquired, processing the job...
[2025-04-12 04:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 04:37:02] Production.INFO: ==21650== Releasing lock...
[2025-04-12 04:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 04:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 08:37:02] Production.INFO: ==21652== Lock acquired, processing the job...
[2025-04-12 08:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 08:37:02] Production.INFO: ==21652== Releasing lock...
[2025-04-12 08:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 08:37:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 04:37:03] Production.INFO: ==21658== Lock acquired, processing the job...
[2025-04-12 04:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 04:37:03] Production.INFO: ==21654== Lock acquired, processing the job...
[2025-04-12 04:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 04:37:03] Production.INFO: ==21662== Lock acquired, processing the job...
[2025-04-12 04:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 04:37:03] Production.INFO: ==21656== Lock acquired, processing the job...
[2025-04-12 04:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 04:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 04:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 04:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 04:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 04:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 04:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 04:37:03] Production.INFO: ==21660== Lock acquired, processing the job...
[2025-04-12 04:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 04:37:03] Production.INFO: ==21665== Lock acquired, processing the job...
[2025-04-12 04:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 04:37:03] Production.INFO: Account Balance Start.
[2025-04-12 04:37:03] Production.INFO: CreateAllLog Start
[2025-04-12 04:37:03] Production.INFO: 117
[2025-04-12 04:37:03] Production.INFO: Date 2025-04-08
[2025-04-12 04:37:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 04:37:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:37:04] Production.INFO: Date 2025-04-09
[2025-04-12 04:37:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:37:04] Production.INFO: Date 2025-04-10
[2025-04-12 04:37:04] Production.INFO: count ==12
[2025-04-12 04:37:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:37:04] Production.INFO: Date 2025-04-11
[2025-04-12 04:37:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:37:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 04:37:04] Production.INFO: count ==23
[2025-04-12 04:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889157') start
[2025-04-12 04:37:04] Production.INFO: ==21656== Releasing lock...
[2025-04-12 04:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 04:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 04:37:04] Production.ERROR: done
[2025-04-12 04:37:04] Production.INFO: Date 2025-04-12
[2025-04-12 04:37:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 04:37:04] Production.INFO: Total Charge 0
[2025-04-12 04:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889157') end
[2025-04-12 04:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 04:37:04] Production.INFO: 1
[2025-04-12 04:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 04:37:04] Production.INFO: CreateAllLog End
[2025-04-12 04:37:04] Production.ERROR: done
[2025-04-12 04:37:04] Production.INFO: ==21665== Releasing lock...
[2025-04-12 04:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 04:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 04:37:04] Production.INFO: Account Balance End.
[2025-04-12 04:37:04] Production.ERROR: CronJobId end 12
[2025-04-12 04:37:04] Production.INFO: ==21660== Releasing lock...
[2025-04-12 04:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 04:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 04:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 01:37:05
[end_date_ymd] => 2025-04-12 04:37:05
[RateCDR] => 1
)
[2025-04-12 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-12 01:37:05' and `end` < '2025-04-12 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-12 04:37:11] Production.ERROR: CronJobId end10
[2025-04-12 04:37:11] Production.INFO: ==21658== Releasing lock...
[2025-04-12 04:37:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 04:37:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 04:37:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 04:37:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 04:37:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 04:37:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 04:37:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 04:37:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 04:37:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 04:37:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 04:37:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 04:37:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 04:37:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 04:37:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 04:37:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 04:37:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 04:37:15] Production.INFO: call_cost start
[2025-04-12 04:37:15] Production.INFO: call_cost end
[2025-04-12 04:37:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 04:37:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 04:37:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 04:37:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 04:37:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 04:37:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 04:37:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 04:37:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 04:37:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 04:37:16] Production.INFO: ==21654== Releasing lock...
[2025-04-12 04:37:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 04:37:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 04:37:18] Production.INFO: count ==222
[2025-04-12 04:37:18] Production.ERROR: pbx CDR StartTime 2025-04-12 01:37:05 - End Time 2025-04-12 04:37:05
[2025-04-12 04:37:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 04:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889158', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889158', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889158', 'tblTempVendorCDR_20' ) start
[2025-04-12 04:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889158', 'tblTempVendorCDR_20' ) end
[2025-04-12 04:37:18] Production.INFO: ProcessCDR(1,14889158,1,1,2)
[2025-04-12 04:37:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889158,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:37:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889158,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:37:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889158,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:37:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889158,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889158', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889158', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:37:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 04:37:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 04:37:21] Production.INFO: ==21662== Releasing lock...
[2025-04-12 04:37:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 04:37:21] Production.INFO: 29 MB #Memory Used#
[2025-04-12 09:38:02] Production.INFO: ==21717== Lock acquired, processing the job...
[2025-04-12 09:38:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 09:38:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 09:38:02] Production.INFO: neon service started
[2025-04-12 09:38:02] Production.INFO: neon service started
[2025-04-12 09:38:02] Production.INFO: ==21717== Releasing lock...
[2025-04-12 09:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 09:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 04:38:02] Production.INFO: ==21719== Lock acquired, processing the job...
[2025-04-12 04:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 04:38:03] Production.INFO: ==21719== Releasing lock...
[2025-04-12 04:38:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 04:38:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 08:38:03] Production.INFO: ==21721== Lock acquired, processing the job...
[2025-04-12 08:38:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 08:38:03] Production.INFO: ==21721== Releasing lock...
[2025-04-12 08:38:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 08:38:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 04:38:03] Production.INFO: ==21724== Lock acquired, processing the job...
[2025-04-12 04:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 04:38:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 04:38:04] Production.INFO: ==21726== Lock acquired, processing the job...
[2025-04-12 04:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 04:38:04] Production.INFO: ==21728== Lock acquired, processing the job...
[2025-04-12 04:38:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 04:38:04] Production.INFO: ==21730== Lock acquired, processing the job...
[2025-04-12 04:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 04:38:04] Production.INFO: ==21732== Lock acquired, processing the job...
[2025-04-12 04:38:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 04:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 04:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 04:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 04:38:04] Production.INFO: Account Balance Start.
[2025-04-12 04:38:04] Production.INFO: CreateAllLog Start
[2025-04-12 04:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 04:38:04] Production.INFO: 117
[2025-04-12 04:38:04] Production.INFO: Date 2025-04-08
[2025-04-12 04:38:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 04:38:04] Production.INFO: ==21734== Lock acquired, processing the job...
[2025-04-12 04:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 04:38:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:38:04] Production.INFO: Date 2025-04-09
[2025-04-12 04:38:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:38:04] Production.INFO: Date 2025-04-10
[2025-04-12 04:38:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:38:04] Production.INFO: Date 2025-04-11
[2025-04-12 04:38:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:38:04] Production.INFO: Date 2025-04-12
[2025-04-12 04:38:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:38:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 04:38:04] Production.INFO: Total Charge 0
[2025-04-12 04:38:04] Production.INFO: count ==12
[2025-04-12 04:38:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 04:38:04] Production.INFO: CreateAllLog End
[2025-04-12 04:38:04] Production.INFO: count ==23
[2025-04-12 04:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889162') start
[2025-04-12 04:38:04] Production.INFO: ==21726== Releasing lock...
[2025-04-12 04:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 04:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 04:38:04] Production.ERROR: done
[2025-04-12 04:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 04:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889162') end
[2025-04-12 04:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 04:38:04] Production.INFO: 1
[2025-04-12 04:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 04:38:04] Production.INFO: ==21734== Releasing lock...
[2025-04-12 04:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 04:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 04:38:04] Production.ERROR: done
[2025-04-12 04:38:05] Production.INFO: Account Balance End.
[2025-04-12 04:38:05] Production.ERROR: CronJobId end 12
[2025-04-12 04:38:05] Production.INFO: ==21730== Releasing lock...
[2025-04-12 04:38:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 04:38:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 04:38:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 01:38:06
[end_date_ymd] => 2025-04-12 04:38:06
[RateCDR] => 1
)
[2025-04-12 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-12 01:38:06' and `end` < '2025-04-12 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-12 04:38:12] Production.ERROR: CronJobId end10
[2025-04-12 04:38:12] Production.INFO: ==21728== Releasing lock...
[2025-04-12 04:38:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 04:38:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 04:38:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 04:38:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 04:38:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 04:38:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 04:38:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 04:38:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 04:38:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 04:38:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 04:38:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 04:38:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 04:38:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 04:38:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 04:38:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 04:38:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 04:38:14] Production.INFO: call_cost start
[2025-04-12 04:38:14] Production.INFO: call_cost end
[2025-04-12 04:38:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 04:38:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 04:38:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 04:38:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 04:38:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 04:38:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 04:38:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 04:38:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 04:38:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 04:38:15] Production.INFO: ==21724== Releasing lock...
[2025-04-12 04:38:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 04:38:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 04:38:18] Production.INFO: count ==225
[2025-04-12 04:38:18] Production.ERROR: pbx CDR StartTime 2025-04-12 01:38:06 - End Time 2025-04-12 04:38:06
[2025-04-12 04:38:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 04:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889163', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889163', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889163', 'tblTempVendorCDR_20' ) start
[2025-04-12 04:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889163', 'tblTempVendorCDR_20' ) end
[2025-04-12 04:38:18] Production.INFO: ProcessCDR(1,14889163,1,1,2)
[2025-04-12 04:38:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889163,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:38:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889163,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:38:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889163,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:38:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889163,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:38:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889163', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:38:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889163', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:38:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 04:38:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 04:38:23] Production.INFO: ==21732== Releasing lock...
[2025-04-12 04:38:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 04:38:23] Production.INFO: 29.25 MB #Memory Used#
[2025-04-12 09:39:01] Production.INFO: ==21793== Lock acquired, processing the job...
[2025-04-12 09:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 09:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 09:39:01] Production.INFO: neon service started
[2025-04-12 09:39:01] Production.INFO: neon service started
[2025-04-12 09:39:01] Production.INFO: ==21793== Releasing lock...
[2025-04-12 09:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 09:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 04:39:02] Production.INFO: ==21796== Lock acquired, processing the job...
[2025-04-12 04:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 04:39:02] Production.INFO: ==21796== Releasing lock...
[2025-04-12 04:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 04:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 08:39:02] Production.INFO: ==21798== Lock acquired, processing the job...
[2025-04-12 08:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 08:39:02] Production.INFO: ==21798== Releasing lock...
[2025-04-12 08:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 08:39:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 04:39:03] Production.INFO: ==21806== Lock acquired, processing the job...
[2025-04-12 04:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 04:39:03] Production.INFO: ==21800== Lock acquired, processing the job...
[2025-04-12 04:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 04:39:03] Production.INFO: ==21802== Lock acquired, processing the job...
[2025-04-12 04:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 04:39:03] Production.INFO: ==21810== Lock acquired, processing the job...
[2025-04-12 04:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 04:39:03] Production.INFO: Account Balance Start.
[2025-04-12 04:39:03] Production.INFO: CreateAllLog Start
[2025-04-12 04:39:03] Production.INFO: 117
[2025-04-12 04:39:03] Production.INFO: Date 2025-04-08
[2025-04-12 04:39:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 04:39:03] Production.INFO: Date 2025-04-09
[2025-04-12 04:39:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:39:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 04:39:03] Production.INFO: ==21804== Lock acquired, processing the job...
[2025-04-12 04:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 04:39:03] Production.INFO: count ==12
[2025-04-12 04:39:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 04:39:03] Production.INFO: count ==23
[2025-04-12 04:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889166') start
[2025-04-12 04:39:03] Production.INFO: Date 2025-04-10
[2025-04-12 04:39:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 04:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 04:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 04:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 04:39:03] Production.INFO: ==21808== Lock acquired, processing the job...
[2025-04-12 04:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 04:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889166') end
[2025-04-12 04:39:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 04:39:03] Production.INFO: 1
[2025-04-12 04:39:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 04:39:03] Production.INFO: ==21810== Releasing lock...
[2025-04-12 04:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 04:39:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 04:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 04:39:03] Production.INFO: Date 2025-04-11
[2025-04-12 04:39:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:39:04] Production.INFO: ==21802== Releasing lock...
[2025-04-12 04:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 04:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 04:39:04] Production.INFO: Date 2025-04-12
[2025-04-12 04:39:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:39:04] Production.INFO: Total Charge 0
[2025-04-12 04:39:04] Production.INFO: CreateAllLog End
[2025-04-12 04:39:04] Production.ERROR: done
[2025-04-12 04:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 04:39:04] Production.ERROR: done
[2025-04-12 04:39:04] Production.INFO: Account Balance End.
[2025-04-12 04:39:04] Production.ERROR: CronJobId end 12
[2025-04-12 04:39:04] Production.INFO: ==21806== Releasing lock...
[2025-04-12 04:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 04:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 04:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 01:39:05
[end_date_ymd] => 2025-04-12 04:39:05
[RateCDR] => 1
)
[2025-04-12 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-12 01:39:05' and `end` < '2025-04-12 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-12 04:39:12] Production.ERROR: CronJobId end10
[2025-04-12 04:39:12] Production.INFO: ==21804== Releasing lock...
[2025-04-12 04:39:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 04:39:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 04:39:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 04:39:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 04:39:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 04:39:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 04:39:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 04:39:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 04:39:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 04:39:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 04:39:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 04:39:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 04:39:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 04:39:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 04:39:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 04:39:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 04:39:14] Production.INFO: call_cost start
[2025-04-12 04:39:14] Production.INFO: call_cost end
[2025-04-12 04:39:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 04:39:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 04:39:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 04:39:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 04:39:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 04:39:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 04:39:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 04:39:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 04:39:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 04:39:15] Production.INFO: ==21800== Releasing lock...
[2025-04-12 04:39:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 04:39:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 04:39:17] Production.INFO: count ==225
[2025-04-12 04:39:17] Production.ERROR: pbx CDR StartTime 2025-04-12 01:39:05 - End Time 2025-04-12 04:39:05
[2025-04-12 04:39:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 04:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889168', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889168', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889168', 'tblTempVendorCDR_20' ) start
[2025-04-12 04:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889168', 'tblTempVendorCDR_20' ) end
[2025-04-12 04:39:18] Production.INFO: ProcessCDR(1,14889168,1,1,2)
[2025-04-12 04:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889168,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:39:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889168,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:39:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889168,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:39:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889168,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889168', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889168', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:39:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 04:39:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 04:39:21] Production.INFO: ==21808== Releasing lock...
[2025-04-12 04:39:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 04:39:21] Production.INFO: 29.25 MB #Memory Used#
[2025-04-12 09:40:02] Production.INFO: ==21865== Lock acquired, processing the job...
[2025-04-12 09:40:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 09:40:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 09:40:02] Production.INFO: neon service started
[2025-04-12 09:40:02] Production.INFO: neon service started
[2025-04-12 09:40:02] Production.INFO: ==21865== Releasing lock...
[2025-04-12 09:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 09:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 08:40:02] Production.INFO: ==21869== Lock acquired, processing the job...
[2025-04-12 08:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 08:40:02] Production.INFO: ==21869== Releasing lock...
[2025-04-12 08:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 08:40:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 04:40:02] Production.INFO: ==21867== Lock acquired, processing the job...
[2025-04-12 04:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 04:40:03] Production.INFO: ==21867== Releasing lock...
[2025-04-12 04:40:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 04:40:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 04:40:04] Production.INFO: ==21874== Lock acquired, processing the job...
[2025-04-12 04:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 04:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 04:40:04] Production.INFO: ==21880== Lock acquired, processing the job...
[2025-04-12 04:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 04:40:04] Production.INFO: ==21872== Lock acquired, processing the job...
[2025-04-12 04:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 04:40:04] Production.INFO: Account Balance Start.
[2025-04-12 04:40:04] Production.INFO: CreateAllLog Start
[2025-04-12 04:40:04] Production.INFO: ==21884== Lock acquired, processing the job...
[2025-04-12 04:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 04:40:04] Production.INFO: 117
[2025-04-12 04:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 04:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 04:40:04] Production.ERROR: CronJob PID - 21874
[2025-04-12 04:40:04] Production.ERROR: CronJob Title - System Alerts
[2025-04-12 04:40:04] Production.ERROR: CronJob ID - 5
[2025-04-12 04:40:04] Production.ERROR: CronJob Last Run Time 2025-04-12 04:40:00
[2025-04-12 04:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 04:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 04:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 04:40:04] Production.ERROR: CronJob PID - 21880
[2025-04-12 04:40:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-04-12 04:40:04] Production.ERROR: CronJob ID - 12
[2025-04-12 04:40:04] Production.ERROR: CronJob Last Run Time 2025-04-12 04:40:00
[2025-04-12 04:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 04:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 04:40:04] Production.INFO: Date 2025-04-08
[2025-04-12 04:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 04:40:04] Production.INFO: ==21876== Lock acquired, processing the job...
[2025-04-12 04:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 04:40:04] Production.INFO: ==21872== Releasing lock...
[2025-04-12 04:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 04:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 04:40:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 04:40:04] Production.INFO: ==21878== Lock acquired, processing the job...
[2025-04-12 04:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 04:40:04] Production.INFO: Date 2025-04-09
[2025-04-12 04:40:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:40:04] Production.INFO: ==21882== Lock acquired, processing the job...
[2025-04-12 04:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 04:40:04] Production.INFO: Date 2025-04-10
[2025-04-12 04:40:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:40:04] Production.INFO: ==21886== Lock acquired, processing the job...
[2025-04-12 04:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 04:40:04] Production.INFO: Date 2025-04-11
[2025-04-12 04:40:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:40:04] Production.INFO: Date 2025-04-12
[2025-04-12 04:40:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 04:40:04] Production.INFO: Total Charge 0
[2025-04-12 04:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 04:40:04] Production.INFO: CreateAllLog End
[2025-04-12 04:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 04:40:04] Production.INFO: count ==12
[2025-04-12 04:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 04:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 04:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 04:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 04:40:04] Production.INFO: count ==23
[2025-04-12 04:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889172') start
[2025-04-12 04:40:05] Production.INFO: ==21876== Releasing lock...
[2025-04-12 04:40:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 04:40:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 04:40:05] Production.ERROR: done
[2025-04-12 04:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14889172') end
[2025-04-12 04:40:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 04:40:05] Production.INFO: 1
[2025-04-12 04:40:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 04:40:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 04:40:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14889173', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 04:40:05] Production.INFO: Account Balance End.
[2025-04-12 04:40:05] Production.ERROR: CronJobId end 12
[2025-04-12 04:40:05] Production.INFO: ==21880== Releasing lock...
[2025-04-12 04:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 04:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 04:40:05] Production.INFO: ==21886== Releasing lock...
[2025-04-12 04:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 04:40:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 04:40:05] Production.ERROR: done
[2025-04-12 04:40:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 04:40:05] Production.ERROR: done
[2025-04-12 04:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 01:40:06
[end_date_ymd] => 2025-04-12 04:40:06
[RateCDR] => 1
)
[2025-04-12 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-12 01:40:06' and `end` < '2025-04-12 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-12 04:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14889173', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 04:40:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 04:40:09] Production.INFO: ProcessCDR(1,14889173,1,1,2)
[2025-04-12 04:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14889173,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14889173,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 04:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 04:40:09] Production.INFO: ==21884== Releasing lock...
[2025-04-12 04:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 04:40:09] Production.INFO: 26 MB #Memory Used#
[2025-04-12 04:40:14] Production.ERROR: CronJobId end10
[2025-04-12 04:40:14] Production.INFO: ==21878== Releasing lock...
[2025-04-12 04:40:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 04:40:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 04:40:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 04:40:16] Production.INFO: ============== Balance Warning START===========
[2025-04-12 04:40:16] Production.INFO: ============== Balance Warning END===========
[2025-04-12 04:40:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 04:40:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 04:40:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 04:40:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 04:40:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 04:40:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 04:40:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 04:40:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 04:40:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 04:40:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 04:40:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 04:40:16] Production.INFO: call_cost start
[2025-04-12 04:40:16] Production.INFO: call_cost end
[2025-04-12 04:40:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 04:40:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 04:40:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 04:40:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 04:40:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 04:40:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 04:40:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 04:40:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 04:40:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 04:40:17] Production.INFO: ==21874== Releasing lock...
[2025-04-12 04:40:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 04:40:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 04:40:19] Production.INFO: count ==227
[2025-04-12 04:40:19] Production.ERROR: pbx CDR StartTime 2025-04-12 01:40:06 - End Time 2025-04-12 04:40:06
[2025-04-12 04:40:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 04:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889174', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889174', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889174', 'tblTempVendorCDR_20' ) start
[2025-04-12 04:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889174', 'tblTempVendorCDR_20' ) end
[2025-04-12 04:40:19] Production.INFO: ProcessCDR(1,14889174,1,1,2)
[2025-04-12 04:40:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889174,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:40:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889174,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:40:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889174,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:40:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889174,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889174', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889174', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:40:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 04:40:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 04:40:22] Production.INFO: ==21882== Releasing lock...
[2025-04-12 04:40:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 04:40:22] Production.INFO: 29.25 MB #Memory Used#
[2025-04-12 09:41:01] Production.INFO: ==21942== Lock acquired, processing the job...
[2025-04-12 09:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 09:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 09:41:01] Production.INFO: neon service started
[2025-04-12 09:41:01] Production.INFO: neon service started
[2025-04-12 09:41:01] Production.INFO: ==21942== Releasing lock...
[2025-04-12 09:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 09:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 04:41:02] Production.INFO: ==21944== Lock acquired, processing the job...
[2025-04-12 04:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 04:41:02] Production.INFO: ==21944== Releasing lock...
[2025-04-12 04:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 04:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 08:41:02] Production.INFO: ==21946== Lock acquired, processing the job...
[2025-04-12 08:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 08:41:02] Production.INFO: ==21946== Releasing lock...
[2025-04-12 08:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 08:41:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 04:41:03] Production.INFO: ==21951== Lock acquired, processing the job...
[2025-04-12 04:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 04:41:03] Production.INFO: ==21949== Lock acquired, processing the job...
[2025-04-12 04:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 04:41:03] Production.INFO: ==21953== Lock acquired, processing the job...
[2025-04-12 04:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 04:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 04:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 04:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 04:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 04:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 04:41:03] Production.INFO: ==21957== Lock acquired, processing the job...
[2025-04-12 04:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 04:41:03] Production.INFO: ==21955== Lock acquired, processing the job...
[2025-04-12 04:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 04:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 04:41:03] Production.INFO: ==21959== Lock acquired, processing the job...
[2025-04-12 04:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 04:41:03] Production.INFO: Account Balance Start.
[2025-04-12 04:41:03] Production.INFO: CreateAllLog Start
[2025-04-12 04:41:03] Production.INFO: 117
[2025-04-12 04:41:03] Production.INFO: Date 2025-04-08
[2025-04-12 04:41:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:41:04] Production.INFO: Date 2025-04-09
[2025-04-12 04:41:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:41:04] Production.INFO: Date 2025-04-10
[2025-04-12 04:41:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:41:04] Production.INFO: ==21951== Releasing lock...
[2025-04-12 04:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 04:41:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 04:41:04] Production.INFO: Date 2025-04-11
[2025-04-12 04:41:04] Production.INFO: Reseller ==> 0
[2025-04-12 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-12 04:41:04] Production.INFO: Date 2025-04-12
[2025-04-12 04:41:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:41:04] Production.INFO: count ==12
[2025-04-12 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-12 04:41:04] Production.INFO: count ==23
[2025-04-12 04:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889178') start
[2025-04-12 04:41:04] Production.ERROR: done
[2025-04-12 04:41:04] Production.INFO: Total Charge 0
[2025-04-12 04:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 04:41:04] Production.INFO: CreateAllLog End
[2025-04-12 04:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889178') end
[2025-04-12 04:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 04:41:04] Production.INFO: 1
[2025-04-12 04:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 04:41:04] Production.INFO: ==21959== Releasing lock...
[2025-04-12 04:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 04:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 04:41:04] Production.ERROR: done
[2025-04-12 04:41:04] Production.INFO: Account Balance End.
[2025-04-12 04:41:04] Production.ERROR: CronJobId end 12
[2025-04-12 04:41:04] Production.INFO: ==21955== Releasing lock...
[2025-04-12 04:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 04:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 04:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 01:41:05
[end_date_ymd] => 2025-04-12 04:41:05
[RateCDR] => 1
)
[2025-04-12 04:41:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 01:41:05' and `end` < '2025-04-12 04:41:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 04:41:11] Production.ERROR: CronJobId end10
[2025-04-12 04:41:11] Production.INFO: ==21953== Releasing lock...
[2025-04-12 04:41:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 04:41:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 04:41:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 04:41:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 04:41:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 04:41:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 04:41:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 04:41:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 04:41:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 04:41:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 04:41:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 04:41:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 04:41:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 04:41:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 04:41:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 04:41:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 04:41:15] Production.INFO: call_cost start
[2025-04-12 04:41:15] Production.INFO: call_cost end
[2025-04-12 04:41:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 04:41:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 04:41:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 04:41:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 04:41:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 04:41:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 04:41:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 04:41:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 04:41:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 04:41:15] Production.INFO: ==21949== Releasing lock...
[2025-04-12 04:41:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 04:41:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 04:41:18] Production.INFO: count ==226
[2025-04-12 04:41:18] Production.ERROR: pbx CDR StartTime 2025-04-12 01:41:05 - End Time 2025-04-12 04:41:05
[2025-04-12 04:41:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 04:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889179', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889179', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889179', 'tblTempVendorCDR_20' ) start
[2025-04-12 04:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889179', 'tblTempVendorCDR_20' ) end
[2025-04-12 04:41:18] Production.INFO: ProcessCDR(1,14889179,1,1,2)
[2025-04-12 04:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889179,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:41:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889179,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:41:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889179,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:41:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889179,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889179', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889179', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:41:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 04:41:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 04:41:21] Production.INFO: ==21957== Releasing lock...
[2025-04-12 04:41:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 04:41:21] Production.INFO: 29.25 MB #Memory Used#
[2025-04-12 09:42:02] Production.INFO: ==22020== Lock acquired, processing the job...
[2025-04-12 09:42:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 09:42:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 09:42:02] Production.INFO: neon service started
[2025-04-12 09:42:02] Production.INFO: neon service started
[2025-04-12 09:42:02] Production.INFO: ==22020== Releasing lock...
[2025-04-12 09:42:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 09:42:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 04:42:02] Production.INFO: ==22022== Lock acquired, processing the job...
[2025-04-12 04:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 04:42:02] Production.INFO: ==22022== Releasing lock...
[2025-04-12 04:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 04:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 08:42:03] Production.INFO: ==22024== Lock acquired, processing the job...
[2025-04-12 08:42:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 08:42:03] Production.INFO: ==22024== Releasing lock...
[2025-04-12 08:42:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 08:42:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 04:42:03] Production.INFO: ==22037== Lock acquired, processing the job...
[2025-04-12 04:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 04:42:04] Production.INFO: ==22035== Lock acquired, processing the job...
[2025-04-12 04:42:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 04:42:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 04:42:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 04:42:04] Production.INFO: ==22027== Lock acquired, processing the job...
[2025-04-12 04:42:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 04:42:04] Production.INFO: ==22029== Lock acquired, processing the job...
[2025-04-12 04:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 04:42:04] Production.INFO: count ==12
[2025-04-12 04:42:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 04:42:04] Production.INFO: count ==23
[2025-04-12 04:42:04] Production.INFO: ==22033== Lock acquired, processing the job...
[2025-04-12 04:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 04:42:04] Production.INFO: ==22031== Lock acquired, processing the job...
[2025-04-12 04:42:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 04:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889180') start
[2025-04-12 04:42:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 04:42:04] Production.INFO: Account Balance Start.
[2025-04-12 04:42:04] Production.INFO: CreateAllLog Start
[2025-04-12 04:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889180') end
[2025-04-12 04:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 04:42:04] Production.INFO: 1
[2025-04-12 04:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 04:42:04] Production.INFO: 117
[2025-04-12 04:42:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 04:42:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 04:42:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 04:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 04:42:04] Production.INFO: Date 2025-04-08
[2025-04-12 04:42:04] Production.INFO: ==22037== Releasing lock...
[2025-04-12 04:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 04:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 04:42:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:42:04] Production.ERROR: done
[2025-04-12 04:42:04] Production.INFO: Date 2025-04-09
[2025-04-12 04:42:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 04:42:04] Production.INFO: Date 2025-04-10
[2025-04-12 04:42:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:42:04] Production.INFO: Date 2025-04-11
[2025-04-12 04:42:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:42:04] Production.INFO: Date 2025-04-12
[2025-04-12 04:42:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:42:04] Production.ERROR: done
[2025-04-12 04:42:04] Production.INFO: Total Charge 0
[2025-04-12 04:42:04] Production.INFO: CreateAllLog End
[2025-04-12 04:42:04] Production.INFO: ==22029== Releasing lock...
[2025-04-12 04:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 04:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 04:42:05] Production.INFO: Account Balance End.
[2025-04-12 04:42:05] Production.ERROR: CronJobId end 12
[2025-04-12 04:42:05] Production.INFO: ==22033== Releasing lock...
[2025-04-12 04:42:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 04:42:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 04:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 01:42:05
[end_date_ymd] => 2025-04-12 04:42:05
[RateCDR] => 1
)
[2025-04-12 04:42:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 01:42:05' and `end` < '2025-04-12 04:42:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 04:42:12] Production.ERROR: CronJobId end10
[2025-04-12 04:42:12] Production.INFO: ==22031== Releasing lock...
[2025-04-12 04:42:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 04:42:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 04:42:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 04:42:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 04:42:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 04:42:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 04:42:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 04:42:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 04:42:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 04:42:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 04:42:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 04:42:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 04:42:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 04:42:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 04:42:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 04:42:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 04:42:14] Production.INFO: call_cost start
[2025-04-12 04:42:14] Production.INFO: call_cost end
[2025-04-12 04:42:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 04:42:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 04:42:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 04:42:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 04:42:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 04:42:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 04:42:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 04:42:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 04:42:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 04:42:15] Production.INFO: ==22027== Releasing lock...
[2025-04-12 04:42:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 04:42:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 04:42:18] Production.INFO: count ==225
[2025-04-12 04:42:18] Production.ERROR: pbx CDR StartTime 2025-04-12 01:42:05 - End Time 2025-04-12 04:42:05
[2025-04-12 04:42:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 04:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889184', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889184', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889184', 'tblTempVendorCDR_20' ) start
[2025-04-12 04:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889184', 'tblTempVendorCDR_20' ) end
[2025-04-12 04:42:18] Production.INFO: ProcessCDR(1,14889184,1,1,2)
[2025-04-12 04:42:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889184,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:42:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889184,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:42:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889184,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:42:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889184,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889184', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889184', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:42:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 04:42:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 04:42:22] Production.INFO: ==22035== Releasing lock...
[2025-04-12 04:42:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 04:42:22] Production.INFO: 29 MB #Memory Used#
[2025-04-12 09:43:01] Production.INFO: ==22090== Lock acquired, processing the job...
[2025-04-12 09:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 09:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 09:43:01] Production.INFO: neon service started
[2025-04-12 09:43:01] Production.INFO: neon service started
[2025-04-12 09:43:01] Production.INFO: ==22090== Releasing lock...
[2025-04-12 09:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 09:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 04:43:02] Production.INFO: ==22092== Lock acquired, processing the job...
[2025-04-12 04:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 08:43:02] Production.INFO: ==22094== Lock acquired, processing the job...
[2025-04-12 08:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 08:43:02] Production.INFO: ==22094== Releasing lock...
[2025-04-12 08:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 08:43:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 04:43:02] Production.INFO: ==22092== Releasing lock...
[2025-04-12 04:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 04:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 04:43:03] Production.INFO: ==22101== Lock acquired, processing the job...
[2025-04-12 04:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 04:43:03] Production.INFO: ==22099== Lock acquired, processing the job...
[2025-04-12 04:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 04:43:03] Production.INFO: ==22103== Lock acquired, processing the job...
[2025-04-12 04:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 04:43:03] Production.INFO: Account Balance Start.
[2025-04-12 04:43:03] Production.INFO: CreateAllLog Start
[2025-04-12 04:43:03] Production.INFO: 117
[2025-04-12 04:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 04:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 04:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 04:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 04:43:03] Production.INFO: Date 2025-04-08
[2025-04-12 04:43:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:43:03] Production.INFO: Date 2025-04-09
[2025-04-12 04:43:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:43:03] Production.INFO: Date 2025-04-10
[2025-04-12 04:43:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:43:03] Production.INFO: ==22097== Lock acquired, processing the job...
[2025-04-12 04:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 04:43:03] Production.INFO: ==22105== Lock acquired, processing the job...
[2025-04-12 04:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 04:43:03] Production.INFO: Date 2025-04-11
[2025-04-12 04:43:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:43:03] Production.INFO: ==22107== Lock acquired, processing the job...
[2025-04-12 04:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 04:43:03] Production.INFO: Date 2025-04-12
[2025-04-12 04:43:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 04:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 04:43:03] Production.INFO: Total Charge 0
[2025-04-12 04:43:03] Production.INFO: CreateAllLog End
[2025-04-12 04:43:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 04:43:04] Production.INFO: ==22099== Releasing lock...
[2025-04-12 04:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 04:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 04:43:04] Production.INFO: count ==12
[2025-04-12 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-12 04:43:04] Production.INFO: count ==23
[2025-04-12 04:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889188') start
[2025-04-12 04:43:04] Production.INFO: Account Balance End.
[2025-04-12 04:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889188') end
[2025-04-12 04:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 04:43:04] Production.INFO: 1
[2025-04-12 04:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 04:43:04] Production.ERROR: CronJobId end 12
[2025-04-12 04:43:04] Production.INFO: ==22103== Releasing lock...
[2025-04-12 04:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 04:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 04:43:04] Production.ERROR: done
[2025-04-12 04:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 04:43:04] Production.INFO: ==22107== Releasing lock...
[2025-04-12 04:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 04:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 04:43:04] Production.ERROR: done
[2025-04-12 04:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 01:43:05
[end_date_ymd] => 2025-04-12 04:43:05
[RateCDR] => 1
)
[2025-04-12 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-12 01:43:05' and `end` < '2025-04-12 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-12 04:43:12] Production.ERROR: CronJobId end10
[2025-04-12 04:43:12] Production.INFO: ==22101== Releasing lock...
[2025-04-12 04:43:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 04:43:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 04:43:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 04:43:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 04:43:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 04:43:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 04:43:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 04:43:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 04:43:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 04:43:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 04:43:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 04:43:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 04:43:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 04:43:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 04:43:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 04:43:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 04:43:14] Production.INFO: call_cost start
[2025-04-12 04:43:14] Production.INFO: call_cost end
[2025-04-12 04:43:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 04:43:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 04:43:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 04:43:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 04:43:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 04:43:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 04:43:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 04:43:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 04:43:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 04:43:15] Production.INFO: ==22097== Releasing lock...
[2025-04-12 04:43:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 04:43:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 04:43:18] Production.INFO: count ==224
[2025-04-12 04:43:18] Production.ERROR: pbx CDR StartTime 2025-04-12 01:43:05 - End Time 2025-04-12 04:43:05
[2025-04-12 04:43:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 04:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889189', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889189', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889189', 'tblTempVendorCDR_20' ) start
[2025-04-12 04:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889189', 'tblTempVendorCDR_20' ) end
[2025-04-12 04:43:18] Production.INFO: ProcessCDR(1,14889189,1,1,2)
[2025-04-12 04:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889189,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:43:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889189,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:43:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889189,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:43:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889189,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889189', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889189', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:43:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 04:43:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 04:43:22] Production.INFO: ==22105== Releasing lock...
[2025-04-12 04:43:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 04:43:22] Production.INFO: 29.25 MB #Memory Used#
[2025-04-12 09:44:02] Production.INFO: ==22162== Lock acquired, processing the job...
[2025-04-12 09:44:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 09:44:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 09:44:02] Production.INFO: neon service started
[2025-04-12 09:44:02] Production.INFO: neon service started
[2025-04-12 09:44:02] Production.INFO: ==22162== Releasing lock...
[2025-04-12 09:44:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 09:44:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 04:44:02] Production.INFO: ==22164== Lock acquired, processing the job...
[2025-04-12 04:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 04:44:02] Production.INFO: ==22164== Releasing lock...
[2025-04-12 04:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 04:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 08:44:03] Production.INFO: ==22166== Lock acquired, processing the job...
[2025-04-12 08:44:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 08:44:03] Production.INFO: ==22166== Releasing lock...
[2025-04-12 08:44:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 08:44:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 04:44:03] Production.INFO: ==22168== Lock acquired, processing the job...
[2025-04-12 04:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 04:44:03] Production.INFO: ==22172== Lock acquired, processing the job...
[2025-04-12 04:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 04:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 04:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 04:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 04:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 04:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 04:44:03] Production.INFO: ==22170== Lock acquired, processing the job...
[2025-04-12 04:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 04:44:04] Production.INFO: ==22174== Lock acquired, processing the job...
[2025-04-12 04:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 04:44:04] Production.INFO: ==22176== Lock acquired, processing the job...
[2025-04-12 04:44:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 04:44:04] Production.INFO: ==22178== Lock acquired, processing the job...
[2025-04-12 04:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 04:44:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 04:44:04] Production.INFO: Account Balance Start.
[2025-04-12 04:44:04] Production.INFO: CreateAllLog Start
[2025-04-12 04:44:04] Production.INFO: 117
[2025-04-12 04:44:04] Production.INFO: Date 2025-04-08
[2025-04-12 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-12 04:44:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:44:04] Production.INFO: count ==12
[2025-04-12 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-12 04:44:04] Production.INFO: count ==23
[2025-04-12 04:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889193') start
[2025-04-12 04:44:04] Production.INFO: ==22170== Releasing lock...
[2025-04-12 04:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 04:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 04:44:04] Production.INFO: Date 2025-04-09
[2025-04-12 04:44:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:44:04] Production.INFO: Date 2025-04-10
[2025-04-12 04:44:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:44:04] Production.ERROR: done
[2025-04-12 04:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 04:44:04] Production.INFO: Date 2025-04-11
[2025-04-12 04:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889193') end
[2025-04-12 04:44:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 04:44:04] Production.INFO: 1
[2025-04-12 04:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 04:44:04] Production.INFO: Date 2025-04-12
[2025-04-12 04:44:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:44:04] Production.INFO: Total Charge 0
[2025-04-12 04:44:04] Production.INFO: ==22178== Releasing lock...
[2025-04-12 04:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 04:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 04:44:04] Production.INFO: CreateAllLog End
[2025-04-12 04:44:04] Production.ERROR: done
[2025-04-12 04:44:04] Production.INFO: Account Balance End.
[2025-04-12 04:44:04] Production.ERROR: CronJobId end 12
[2025-04-12 04:44:04] Production.INFO: ==22174== Releasing lock...
[2025-04-12 04:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 04:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 04:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 01:44:05
[end_date_ymd] => 2025-04-12 04:44:05
[RateCDR] => 1
)
[2025-04-12 04:44:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 01:44:05' and `end` < '2025-04-12 04:44:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 04:44:12] Production.ERROR: CronJobId end10
[2025-04-12 04:44:12] Production.INFO: ==22172== Releasing lock...
[2025-04-12 04:44:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 04:44:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 04:44:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 04:44:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 04:44:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 04:44:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 04:44:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 04:44:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 04:44:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 04:44:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 04:44:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 04:44:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 04:44:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 04:44:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 04:44:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 04:44:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 04:44:15] Production.INFO: call_cost start
[2025-04-12 04:44:15] Production.INFO: call_cost end
[2025-04-12 04:44:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 04:44:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 04:44:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 04:44:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 04:44:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 04:44:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 04:44:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 04:44:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 04:44:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 04:44:16] Production.INFO: ==22168== Releasing lock...
[2025-04-12 04:44:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 04:44:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 04:44:18] Production.INFO: count ==224
[2025-04-12 04:44:18] Production.ERROR: pbx CDR StartTime 2025-04-12 01:44:05 - End Time 2025-04-12 04:44:05
[2025-04-12 04:44:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 04:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889194', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889194', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889194', 'tblTempVendorCDR_20' ) start
[2025-04-12 04:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889194', 'tblTempVendorCDR_20' ) end
[2025-04-12 04:44:18] Production.INFO: ProcessCDR(1,14889194,1,1,2)
[2025-04-12 04:44:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889194,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:44:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889194,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:44:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889194,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:44:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889194,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889194', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889194', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:44:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 04:44:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 04:44:22] Production.INFO: ==22176== Releasing lock...
[2025-04-12 04:44:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 04:44:22] Production.INFO: 29.25 MB #Memory Used#
[2025-04-12 09:45:01] Production.INFO: ==22235== Lock acquired, processing the job...
[2025-04-12 09:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 09:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 09:45:01] Production.INFO: neon service started
[2025-04-12 09:45:01] Production.INFO: neon service started
[2025-04-12 09:45:01] Production.INFO: ==22235== Releasing lock...
[2025-04-12 09:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 09:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 04:45:02] Production.INFO: ==22237== Lock acquired, processing the job...
[2025-04-12 04:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 04:45:02] Production.INFO: ==22237== Releasing lock...
[2025-04-12 04:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 04:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 08:45:02] Production.INFO: ==22239== Lock acquired, processing the job...
[2025-04-12 08:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 08:45:02] Production.INFO: ==22239== Releasing lock...
[2025-04-12 08:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 08:45:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 04:45:03] Production.INFO: ==22241== Lock acquired, processing the job...
[2025-04-12 04:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 04:45:03] Production.INFO: ==22243== Lock acquired, processing the job...
[2025-04-12 04:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 04:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 04:45:03] Production.INFO: ==22250== Lock acquired, processing the job...
[2025-04-12 04:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 04:45:03] Production.INFO: ==22245== Lock acquired, processing the job...
[2025-04-12 04:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 04:45:03] Production.INFO: ==22252== Lock acquired, processing the job...
[2025-04-12 04:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 04:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 04:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 04:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 04:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 04:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 04:45:03] Production.INFO: ==22248== Lock acquired, processing the job...
[2025-04-12 04:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 04:45:03] Production.INFO: ==22243== Releasing lock...
[2025-04-12 04:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 04:45:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 04:45:03] Production.INFO: Account Balance Start.
[2025-04-12 04:45:03] Production.INFO: CreateAllLog Start
[2025-04-12 04:45:03] Production.INFO: 117
[2025-04-12 04:45:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 04:45:03] Production.INFO: count ==12
[2025-04-12 04: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-12 04:45:03] Production.INFO: count ==23
[2025-04-12 04:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889197') start
[2025-04-12 04:45:03] Production.ERROR: done
[2025-04-12 04:45:03] Production.INFO: Date 2025-04-08
[2025-04-12 04:45:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 04:45:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889197') end
[2025-04-12 04:45:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 04:45:03] Production.INFO: 1
[2025-04-12 04:45:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 04:45:03] Production.INFO: Date 2025-04-09
[2025-04-12 04:45:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:45:03] Production.INFO: ==22252== Releasing lock...
[2025-04-12 04:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 04:45:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 04:45:03] Production.INFO: Date 2025-04-10
[2025-04-12 04:45:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:45:04] Production.INFO: Date 2025-04-11
[2025-04-12 04:45:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:45:04] Production.INFO: Date 2025-04-12
[2025-04-12 04:45:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:45:04] Production.ERROR: done
[2025-04-12 04:45:04] Production.INFO: Total Charge 0
[2025-04-12 04:45:04] Production.INFO: CreateAllLog End
[2025-04-12 04:45:04] Production.INFO: Account Balance End.
[2025-04-12 04:45:04] Production.ERROR: CronJobId end 12
[2025-04-12 04:45:04] Production.INFO: ==22248== Releasing lock...
[2025-04-12 04:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 04:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 04:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 01:45:05
[end_date_ymd] => 2025-04-12 04:45:05
[RateCDR] => 1
)
[2025-04-12 04:45:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 01:45:05' and `end` < '2025-04-12 04:45:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 04:45:12] Production.ERROR: CronJobId end10
[2025-04-12 04:45:12] Production.INFO: ==22245== Releasing lock...
[2025-04-12 04:45:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 04:45:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 04:45:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 04:45:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 04:45:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 04:45:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 04:45:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 04:45:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 04:45:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 04:45:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 04:45:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 04:45:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 04:45:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 04:45:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 04:45:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 04:45:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 04:45:14] Production.INFO: call_cost start
[2025-04-12 04:45:14] Production.INFO: call_cost end
[2025-04-12 04:45:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 04:45:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 04:45:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 04:45:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 04:45:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 04:45:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 04:45:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 04:45:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 04:45:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 04:45:15] Production.INFO: ==22241== Releasing lock...
[2025-04-12 04:45:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 04:45:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 04:45:18] Production.INFO: count ==223
[2025-04-12 04:45:18] Production.ERROR: pbx CDR StartTime 2025-04-12 01:45:05 - End Time 2025-04-12 04:45:05
[2025-04-12 04:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 04:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889199', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889199', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889199', 'tblTempVendorCDR_20' ) start
[2025-04-12 04:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889199', 'tblTempVendorCDR_20' ) end
[2025-04-12 04:45:18] Production.INFO: ProcessCDR(1,14889199,1,1,2)
[2025-04-12 04:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889199,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889199,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889199,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:45:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889199,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889199', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889199', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:45:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 04:45:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 04:45:21] Production.INFO: ==22250== Releasing lock...
[2025-04-12 04:45:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 04:45:21] Production.INFO: 29 MB #Memory Used#
[2025-04-12 09:46:02] Production.INFO: ==22349== Lock acquired, processing the job...
[2025-04-12 09:46:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 09:46:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 09:46:02] Production.INFO: neon service started
[2025-04-12 09:46:02] Production.INFO: neon service started
[2025-04-12 09:46:02] Production.INFO: ==22349== Releasing lock...
[2025-04-12 09:46:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 09:46:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 04:46:02] Production.INFO: ==22353== Lock acquired, processing the job...
[2025-04-12 04:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 04:46:02] Production.INFO: ==22353== Releasing lock...
[2025-04-12 04:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 04:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 08:46:03] Production.INFO: ==22355== Lock acquired, processing the job...
[2025-04-12 08:46:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 08:46:03] Production.INFO: ==22355== Releasing lock...
[2025-04-12 08:46:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 08:46:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 04:46:03] Production.INFO: ==22367== Lock acquired, processing the job...
[2025-04-12 04:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 04:46:03] Production.INFO: ==22363== Lock acquired, processing the job...
[2025-04-12 04:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 04:46:03] Production.INFO: ==22357== Lock acquired, processing the job...
[2025-04-12 04:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 04:46:04] Production.INFO: ==22359== Lock acquired, processing the job...
[2025-04-12 04:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 04:46:04] Production.INFO: ==22361== Lock acquired, processing the job...
[2025-04-12 04:46:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 04:46:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 04:46:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 04:46:04] Production.INFO: Account Balance Start.
[2025-04-12 04:46:04] Production.INFO: CreateAllLog Start
[2025-04-12 04:46:04] Production.INFO: 117
[2025-04-12 04:46:04] Production.INFO: Date 2025-04-08
[2025-04-12 04:46:04] Production.INFO: count ==12
[2025-04-12 04:46:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 04:46:04] Production.INFO: count ==23
[2025-04-12 04:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889200') start
[2025-04-12 04:46:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 04:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 04:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 04:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 04:46:04] Production.INFO: ==22365== Lock acquired, processing the job...
[2025-04-12 04:46:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 04:46:04] Production.INFO: Date 2025-04-09
[2025-04-12 04:46:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:46:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 04:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889200') end
[2025-04-12 04:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 04:46:04] Production.INFO: 1
[2025-04-12 04:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 04:46:04] Production.INFO: Date 2025-04-10
[2025-04-12 04:46:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:46:04] Production.INFO: Date 2025-04-11
[2025-04-12 04:46:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:46:04] Production.INFO: ==22367== Releasing lock...
[2025-04-12 04:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 04:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 04:46:04] Production.INFO: Date 2025-04-12
[2025-04-12 04:46:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:46:04] Production.INFO: ==22359== Releasing lock...
[2025-04-12 04:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 04:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 04:46:04] Production.INFO: Total Charge 0
[2025-04-12 04:46:04] Production.INFO: CreateAllLog End
[2025-04-12 04:46:04] Production.ERROR: done
[2025-04-12 04:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 04:46:04] Production.INFO: Account Balance End.
[2025-04-12 04:46:04] Production.ERROR: done
[2025-04-12 04:46:04] Production.ERROR: CronJobId end 12
[2025-04-12 04:46:04] Production.INFO: ==22363== Releasing lock...
[2025-04-12 04:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 04:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 04:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 01:46:05
[end_date_ymd] => 2025-04-12 04:46:05
[RateCDR] => 1
)
[2025-04-12 04:46:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 01:46:05' and `end` < '2025-04-12 04:46:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 04:46:12] Production.ERROR: CronJobId end10
[2025-04-12 04:46:12] Production.INFO: ==22361== Releasing lock...
[2025-04-12 04:46:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 04:46:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 04:46:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 04:46:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 04:46:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 04:46:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 04:46:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 04:46:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 04:46:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 04:46:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 04:46:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 04:46:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 04:46:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 04:46:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 04:46:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 04:46:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 04:46:15] Production.INFO: call_cost start
[2025-04-12 04:46:15] Production.INFO: call_cost end
[2025-04-12 04:46:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 04:46:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 04:46:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 04:46:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 04:46:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 04:46:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 04:46:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 04:46:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 04:46:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 04:46:16] Production.INFO: ==22357== Releasing lock...
[2025-04-12 04:46:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 04:46:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 04:46:18] Production.INFO: count ==222
[2025-04-12 04:46:18] Production.ERROR: pbx CDR StartTime 2025-04-12 01:46:05 - End Time 2025-04-12 04:46:05
[2025-04-12 04:46:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 04:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889204', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889204', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889204', 'tblTempVendorCDR_20' ) start
[2025-04-12 04:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889204', 'tblTempVendorCDR_20' ) end
[2025-04-12 04:46:18] Production.INFO: ProcessCDR(1,14889204,1,1,2)
[2025-04-12 04:46:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889204,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:46:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889204,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:46:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889204,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:46:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889204,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889204', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889204', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:46:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 04:46:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 04:46:22] Production.INFO: ==22365== Releasing lock...
[2025-04-12 04:46:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 04:46:22] Production.INFO: 29 MB #Memory Used#
[2025-04-12 09:47:01] Production.INFO: ==22426== Lock acquired, processing the job...
[2025-04-12 09:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 09:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 09:47:01] Production.INFO: neon service started
[2025-04-12 09:47:01] Production.INFO: neon service started
[2025-04-12 09:47:01] Production.INFO: ==22426== Releasing lock...
[2025-04-12 09:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 09:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 08:47:02] Production.INFO: ==22430== Lock acquired, processing the job...
[2025-04-12 08:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 08:47:02] Production.INFO: ==22430== Releasing lock...
[2025-04-12 08:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 08:47:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 04:47:02] Production.INFO: ==22428== Lock acquired, processing the job...
[2025-04-12 04:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 04:47:02] Production.INFO: ==22428== Releasing lock...
[2025-04-12 04:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 04:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 04:47:03] Production.INFO: ==22437== Lock acquired, processing the job...
[2025-04-12 04:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 04:47:03] Production.INFO: ==22439== Lock acquired, processing the job...
[2025-04-12 04:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 04:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 04:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 04:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 04:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 04:47:03] Production.INFO: ==22433== Lock acquired, processing the job...
[2025-04-12 04:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 04:47:03] Production.INFO: Account Balance Start.
[2025-04-12 04:47:03] Production.INFO: CreateAllLog Start
[2025-04-12 04:47:03] Production.INFO: 117
[2025-04-12 04:47:03] Production.INFO: Date 2025-04-08
[2025-04-12 04:47:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 04:47:03] Production.INFO: Date 2025-04-09
[2025-04-12 04:47:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:47:03] Production.INFO: ==22435== Lock acquired, processing the job...
[2025-04-12 04:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 04:47:03] Production.INFO: Date 2025-04-10
[2025-04-12 04:47:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:47:03] Production.INFO: Date 2025-04-11
[2025-04-12 04:47:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:47:03] Production.INFO: ==22441== Lock acquired, processing the job...
[2025-04-12 04:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 04:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 04:47:03] Production.INFO: Date 2025-04-12
[2025-04-12 04:47:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:47:03] Production.INFO: Total Charge 0
[2025-04-12 04:47:03] Production.INFO: ==22443== Lock acquired, processing the job...
[2025-04-12 04:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 04:47:03] Production.INFO: CreateAllLog End
[2025-04-12 04:47:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 04:47:04] Production.INFO: count ==12
[2025-04-12 04:47:04] Production.INFO: Account Balance End.
[2025-04-12 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-12 04:47:04] Production.INFO: ==22435== Releasing lock...
[2025-04-12 04:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 04:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 04:47:04] Production.INFO: count ==23
[2025-04-12 04:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889208') start
[2025-04-12 04:47:04] Production.ERROR: CronJobId end 12
[2025-04-12 04:47:04] Production.INFO: ==22439== Releasing lock...
[2025-04-12 04:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 04:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 04:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889208') end
[2025-04-12 04:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 04:47:04] Production.INFO: 1
[2025-04-12 04:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 04:47:04] Production.INFO: ==22443== Releasing lock...
[2025-04-12 04:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 04:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 04:47:04] Production.ERROR: done
[2025-04-12 04:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 04:47:04] Production.ERROR: done
[2025-04-12 04:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 01:47:05
[end_date_ymd] => 2025-04-12 04:47:05
[RateCDR] => 1
)
[2025-04-12 04:47:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 01:47:05' and `end` < '2025-04-12 04:47:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 04:47:12] Production.ERROR: CronJobId end10
[2025-04-12 04:47:12] Production.INFO: ==22437== Releasing lock...
[2025-04-12 04:47:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 04:47:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 04:47:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 04:47:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 04:47:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 04:47:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 04:47:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 04:47:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 04:47:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 04:47:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 04:47:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 04:47:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 04:47:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 04:47:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 04:47:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 04:47:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 04:47:14] Production.INFO: call_cost start
[2025-04-12 04:47:14] Production.INFO: call_cost end
[2025-04-12 04:47:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 04:47:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 04:47:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 04:47:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 04:47:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 04:47:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 04:47:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 04:47:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 04:47:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 04:47:15] Production.INFO: ==22433== Releasing lock...
[2025-04-12 04:47:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 04:47:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 04:47:18] Production.INFO: count ==222
[2025-04-12 04:47:18] Production.ERROR: pbx CDR StartTime 2025-04-12 01:47:05 - End Time 2025-04-12 04:47:05
[2025-04-12 04:47:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 04:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889209', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889209', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889209', 'tblTempVendorCDR_20' ) start
[2025-04-12 04:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889209', 'tblTempVendorCDR_20' ) end
[2025-04-12 04:47:18] Production.INFO: ProcessCDR(1,14889209,1,1,2)
[2025-04-12 04:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889209,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:47:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889209,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:47:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889209,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:47:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889209,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889209', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889209', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:47:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 04:47:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 04:47:22] Production.INFO: ==22441== Releasing lock...
[2025-04-12 04:47:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 04:47:22] Production.INFO: 29 MB #Memory Used#
[2025-04-12 09:48:02] Production.INFO: ==22497== Lock acquired, processing the job...
[2025-04-12 09:48:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 09:48:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 09:48:02] Production.INFO: neon service started
[2025-04-12 09:48:02] Production.INFO: neon service started
[2025-04-12 09:48:02] Production.INFO: ==22497== Releasing lock...
[2025-04-12 09:48:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 09:48:02] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 04:48:02] Production.INFO: ==22499== Lock acquired, processing the job...
[2025-04-12 04:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 04:48:02] Production.INFO: ==22499== Releasing lock...
[2025-04-12 04:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 04:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 08:48:03] Production.INFO: ==22501== Lock acquired, processing the job...
[2025-04-12 08:48:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 08:48:03] Production.INFO: ==22501== Releasing lock...
[2025-04-12 08:48:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 08:48:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 04:48:03] Production.INFO: ==22506== Lock acquired, processing the job...
[2025-04-12 04:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 04:48:03] Production.INFO: ==22504== Lock acquired, processing the job...
[2025-04-12 04:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 04:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 04:48:03] Production.INFO: ==22512== Lock acquired, processing the job...
[2025-04-12 04:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 04:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 04:48:03] Production.INFO: ==22508== Lock acquired, processing the job...
[2025-04-12 04:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 04:48:03] Production.INFO: ==22510== Lock acquired, processing the job...
[2025-04-12 04:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 04:48:03] Production.INFO: ==22506== Releasing lock...
[2025-04-12 04:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 04:48:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 04:48:04] Production.INFO: ==22514== Lock acquired, processing the job...
[2025-04-12 04:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 04:48:04] Production.INFO: Account Balance Start.
[2025-04-12 04:48:04] Production.INFO: CreateAllLog Start
[2025-04-12 04:48:04] Production.INFO: 117
[2025-04-12 04:48:04] Production.INFO: Date 2025-04-08
[2025-04-12 04:48:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:48:04] Production.INFO: Date 2025-04-09
[2025-04-12 04:48:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 04:48:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:48:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 04:48:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 04:48:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 04:48:04] Production.INFO: Date 2025-04-10
[2025-04-12 04:48:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:48:04] Production.ERROR: done
[2025-04-12 04:48:04] Production.INFO: Date 2025-04-11
[2025-04-12 04:48:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 04:48:04] Production.INFO: Date 2025-04-12
[2025-04-12 04:48:04] Production.INFO: Reseller ==> 0
[2025-04-12 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-12 04:48:04] Production.INFO: Total Charge 0
[2025-04-12 04:48:04] Production.INFO: CreateAllLog End
[2025-04-12 04:48:04] Production.ERROR: done
[2025-04-12 04:48:04] Production.INFO: count ==12
[2025-04-12 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-12 04:48:04] Production.INFO: count ==23
[2025-04-12 04:48:04] Production.INFO: Account Balance End.
[2025-04-12 04:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889213') start
[2025-04-12 04:48:04] Production.ERROR: CronJobId end 12
[2025-04-12 04:48:04] Production.INFO: ==22510== Releasing lock...
[2025-04-12 04:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 04:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 04:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889213') end
[2025-04-12 04:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 04:48:04] Production.INFO: 1
[2025-04-12 04:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 04:48:04] Production.INFO: ==22514== Releasing lock...
[2025-04-12 04:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 04:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 04:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 01:48:05
[end_date_ymd] => 2025-04-12 04:48:05
[RateCDR] => 1
)
[2025-04-12 04:48:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 01:48:05' and `end` < '2025-04-12 04:48:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 04:48:12] Production.ERROR: CronJobId end10
[2025-04-12 04:48:12] Production.INFO: ==22508== Releasing lock...
[2025-04-12 04:48:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 04:48:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 04:48:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 04:48:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 04:48:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 04:48:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 04:48:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 04:48:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 04:48:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 04:48:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 04:48:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 04:48:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 04:48:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 04:48:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 04:48:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 04:48:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 04:48:14] Production.INFO: call_cost start
[2025-04-12 04:48:14] Production.INFO: call_cost end
[2025-04-12 04:48:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 04:48:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 04:48:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 04:48:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 04:48:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 04:48:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 04:48:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 04:48:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 04:48:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 04:48:15] Production.INFO: ==22504== Releasing lock...
[2025-04-12 04:48:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 04:48:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 04:48:18] Production.INFO: count ==223
[2025-04-12 04:48:18] Production.ERROR: pbx CDR StartTime 2025-04-12 01:48:05 - End Time 2025-04-12 04:48:05
[2025-04-12 04:48:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 04:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889214', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889214', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889214', 'tblTempVendorCDR_20' ) start
[2025-04-12 04:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889214', 'tblTempVendorCDR_20' ) end
[2025-04-12 04:48:18] Production.INFO: ProcessCDR(1,14889214,1,1,2)
[2025-04-12 04:48:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889214,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:48:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889214,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:48:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889214,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:48:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889214,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889214', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889214', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:48:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 04:48:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 04:48:22] Production.INFO: ==22512== Releasing lock...
[2025-04-12 04:48:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 04:48:22] Production.INFO: 29 MB #Memory Used#
[2025-04-12 09:49:01] Production.INFO: ==22569== Lock acquired, processing the job...
[2025-04-12 09:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 09:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 09:49:01] Production.INFO: neon service started
[2025-04-12 09:49:01] Production.INFO: neon service started
[2025-04-12 09:49:01] Production.INFO: ==22569== Releasing lock...
[2025-04-12 09:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 09:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 04:49:01] Production.INFO: ==22571== Lock acquired, processing the job...
[2025-04-12 04:49:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 04:49:02] Production.INFO: ==22571== Releasing lock...
[2025-04-12 04:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 04:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 08:49:02] Production.INFO: ==22573== Lock acquired, processing the job...
[2025-04-12 08:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 08:49:02] Production.INFO: ==22573== Releasing lock...
[2025-04-12 08:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 08:49:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 04:49:03] Production.INFO: ==22575== Lock acquired, processing the job...
[2025-04-12 04:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 04:49:03] Production.INFO: ==22580== Lock acquired, processing the job...
[2025-04-12 04:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 04:49:03] Production.INFO: ==22578== Lock acquired, processing the job...
[2025-04-12 04:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 04:49:03] Production.INFO: ==22584== Lock acquired, processing the job...
[2025-04-12 04:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 04:49:03] Production.INFO: ==22582== Lock acquired, processing the job...
[2025-04-12 04:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 04:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 04:49:03] Production.INFO: Account Balance Start.
[2025-04-12 04:49:03] Production.INFO: CreateAllLog Start
[2025-04-12 04:49:03] Production.INFO: 117
[2025-04-12 04:49:03] Production.INFO: ==22586== Lock acquired, processing the job...
[2025-04-12 04:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 04:49:03] Production.INFO: Date 2025-04-08
[2025-04-12 04:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 04:49:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 04:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 04:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 04:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 04:49:03] Production.INFO: Date 2025-04-09
[2025-04-12 04:49:03] Production.INFO: Reseller ==> 0
[2025-04-12 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-12 04:49:03] Production.INFO: Date 2025-04-10
[2025-04-12 04:49:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:49:03] Production.INFO: Date 2025-04-11
[2025-04-12 04:49:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:49:03] Production.INFO: ==22578== Releasing lock...
[2025-04-12 04:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 04:49:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 04:49:03] Production.INFO: count ==12
[2025-04-12 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-12 04:49:03] Production.INFO: count ==23
[2025-04-12 04:49:03] Production.INFO: Date 2025-04-12
[2025-04-12 04:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889218') start
[2025-04-12 04:49:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:49:03] Production.ERROR: done
[2025-04-12 04:49:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 04:49:04] Production.ERROR: done
[2025-04-12 04:49:04] Production.INFO: Total Charge 0
[2025-04-12 04:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889218') end
[2025-04-12 04:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 04:49:04] Production.INFO: 1
[2025-04-12 04:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 04:49:04] Production.INFO: CreateAllLog End
[2025-04-12 04:49:04] Production.INFO: ==22586== Releasing lock...
[2025-04-12 04:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 04:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 04:49:04] Production.INFO: Account Balance End.
[2025-04-12 04:49:04] Production.ERROR: CronJobId end 12
[2025-04-12 04:49:04] Production.INFO: ==22582== Releasing lock...
[2025-04-12 04:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 04:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 04:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 01:49:05
[end_date_ymd] => 2025-04-12 04:49:05
[RateCDR] => 1
)
[2025-04-12 04:49:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 01:49:05' and `end` < '2025-04-12 04:49:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 04:49:11] Production.ERROR: CronJobId end10
[2025-04-12 04:49:11] Production.INFO: ==22580== Releasing lock...
[2025-04-12 04:49:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 04:49:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 04:49:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 04:49:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 04:49:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 04:49:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 04:49:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 04:49:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 04:49:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 04:49:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 04:49:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 04:49:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 04:49:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 04:49:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 04:49:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 04:49:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 04:49:13] Production.INFO: call_cost start
[2025-04-12 04:49:13] Production.INFO: call_cost end
[2025-04-12 04:49:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 04:49:14] Production.INFO: ============== Report Schedule START===========
[2025-04-12 04:49:14] Production.INFO: ============== Report Schedule END===========
[2025-04-12 04:49:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 04:49:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 04:49:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 04:49:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 04:49:14] Production.INFO: ============== Deal alert START===========
[2025-04-12 04:49:14] Production.INFO: ============== Deal alert END===========
[2025-04-12 04:49:14] Production.INFO: ==22575== Releasing lock...
[2025-04-12 04:49:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 04:49:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 04:49:18] Production.INFO: count ==223
[2025-04-12 04:49:18] Production.ERROR: pbx CDR StartTime 2025-04-12 01:49:05 - End Time 2025-04-12 04:49:05
[2025-04-12 04:49:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 04:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889219', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889219', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889219', 'tblTempVendorCDR_20' ) start
[2025-04-12 04:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889219', 'tblTempVendorCDR_20' ) end
[2025-04-12 04:49:18] Production.INFO: ProcessCDR(1,14889219,1,1,2)
[2025-04-12 04:49:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889219,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:49:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889219,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:49:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889219,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:49:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889219,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889219', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889219', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:49:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 04:49:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 04:49:21] Production.INFO: ==22584== Releasing lock...
[2025-04-12 04:49:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 04:49:21] Production.INFO: 29 MB #Memory Used#
[2025-04-12 09:50:02] Production.INFO: ==22642== Lock acquired, processing the job...
[2025-04-12 09:50:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 09:50:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 09:50:02] Production.INFO: neon service started
[2025-04-12 09:50:02] Production.INFO: neon service started
[2025-04-12 09:50:02] Production.INFO: ==22642== Releasing lock...
[2025-04-12 09:50:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 09:50:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 04:50:02] Production.INFO: ==22644== Lock acquired, processing the job...
[2025-04-12 04:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 08:50:02] Production.INFO: ==22646== Lock acquired, processing the job...
[2025-04-12 08:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 08:50:02] Production.INFO: ==22646== Releasing lock...
[2025-04-12 08:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 08:50:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 04:50:02] Production.INFO: ==22644== Releasing lock...
[2025-04-12 04:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 04:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 04:50:03] Production.INFO: ==22650== Lock acquired, processing the job...
[2025-04-12 04:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 04:50:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 04:50:03] Production.INFO: ==22648== Lock acquired, processing the job...
[2025-04-12 04:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 04:50:04] Production.INFO: ==22654== Lock acquired, processing the job...
[2025-04-12 04:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 04:50:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 04:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 04:50:04] Production.ERROR: CronJob PID - 22650
[2025-04-12 04:50:04] Production.ERROR: CronJob Title - System Alerts
[2025-04-12 04:50:04] Production.ERROR: CronJob ID - 5
[2025-04-12 04:50:04] Production.ERROR: CronJob Last Run Time 2025-04-12 04:50:00
[2025-04-12 04:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 04:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 04:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 04:50:04] Production.ERROR: CronJob PID - 22654
[2025-04-12 04:50:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-04-12 04:50:04] Production.ERROR: CronJob ID - 10
[2025-04-12 04:50:04] Production.ERROR: CronJob Last Run Time 2025-04-12 04:50:00
[2025-04-12 04:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 04:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 04:50:04] Production.INFO: ==22659== Lock acquired, processing the job...
[2025-04-12 04:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 04:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 04:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 04:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 04:50:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 04:50:04] Production.INFO: ==22648== Releasing lock...
[2025-04-12 04:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 04:50:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 04:50:04] Production.INFO: ==22652== Lock acquired, processing the job...
[2025-04-12 04:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 04:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 04:50:04] Production.INFO: ==22661== Lock acquired, processing the job...
[2025-04-12 04:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 04:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 04:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 04:50:04] Production.INFO: ==22656== Lock acquired, processing the job...
[2025-04-12 04:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 04:50:04] Production.INFO: ==22663== Lock acquired, processing the job...
[2025-04-12 04:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 04:50:04] Production.INFO: Account Balance Start.
[2025-04-12 04:50:04] Production.INFO: CreateAllLog Start
[2025-04-12 04:50:04] Production.INFO: 117
[2025-04-12 04:50:04] Production.INFO: Date 2025-04-08
[2025-04-12 04:50:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:50:04] Production.INFO: Date 2025-04-09
[2025-04-12 04:50:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:50:04] Production.ERROR: done
[2025-04-12 04:50:04] Production.ERROR: done
[2025-04-12 04:50:04] Production.INFO: Date 2025-04-10
[2025-04-12 04:50:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:50:04] Production.INFO: Date 2025-04-11
[2025-04-12 04:50:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 04:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 04:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 04:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14889224', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 04:50:04] Production.INFO: count ==12
[2025-04-12 04:50:04] Production.INFO: Date 2025-04-12
[2025-04-12 04:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 04:50:04] Production.INFO: count ==23
[2025-04-12 04:50:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889223') start
[2025-04-12 04:50:04] Production.INFO: Total Charge 0
[2025-04-12 04:50:04] Production.ERROR: done
[2025-04-12 04:50:04] Production.INFO: CreateAllLog End
[2025-04-12 04:50:05] Production.ERROR: PBX CALL prc_importPBXExtension('14889223') end
[2025-04-12 04:50:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 04:50:05] Production.INFO: 1
[2025-04-12 04:50:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 04:50:05] Production.INFO: ==22652== Releasing lock...
[2025-04-12 04:50:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 04:50:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 04:50:05] Production.INFO: ==22663== Releasing lock...
[2025-04-12 04:50:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 04:50:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 04:50:05] Production.INFO: Account Balance End.
[2025-04-12 04:50:05] Production.ERROR: CronJobId end 12
[2025-04-12 04:50:05] Production.INFO: ==22656== Releasing lock...
[2025-04-12 04:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 04:50:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 04:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 01:50:06
[end_date_ymd] => 2025-04-12 04:50:06
[RateCDR] => 1
)
[2025-04-12 04:50:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 01:50:06' and `end` < '2025-04-12 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-12 04:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14889224', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 04:50:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 04:50:09] Production.INFO: ProcessCDR(1,14889224,1,1,2)
[2025-04-12 04:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14889224,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14889224,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:50:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 04:50:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 04:50:09] Production.INFO: ==22661== Releasing lock...
[2025-04-12 04:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 04:50:09] Production.INFO: 26 MB #Memory Used#
[2025-04-12 04:50:14] Production.ERROR: CronJobId end10
[2025-04-12 04:50:14] Production.INFO: ==22654== Releasing lock...
[2025-04-12 04:50:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 04:50:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 04:50:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 04:50:16] Production.INFO: ============== Balance Warning START===========
[2025-04-12 04:50:16] Production.INFO: ============== Balance Warning END===========
[2025-04-12 04:50:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 04:50:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 04:50:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 04:50:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 04:50:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 04:50:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 04:50:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 04:50:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 04:50:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 04:50:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 04:50:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 04:50:16] Production.INFO: call_cost start
[2025-04-12 04:50:16] Production.INFO: call_cost end
[2025-04-12 04:50:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 04:50:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 04:50:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 04:50:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 04:50:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 04:50:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 04:50:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 04:50:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 04:50:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 04:50:17] Production.INFO: ==22650== Releasing lock...
[2025-04-12 04:50:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 04:50:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 04:50:21] Production.INFO: count ==212
[2025-04-12 04:50:21] Production.ERROR: pbx CDR StartTime 2025-04-12 01:50:06 - End Time 2025-04-12 04:50:06
[2025-04-12 04:50:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 04:50:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889225', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:50:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889225', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:50:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889225', 'tblTempVendorCDR_20' ) start
[2025-04-12 04:50:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889225', 'tblTempVendorCDR_20' ) end
[2025-04-12 04:50:21] Production.INFO: ProcessCDR(1,14889225,1,1,2)
[2025-04-12 04:50:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889225,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:50:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889225,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:50:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889225,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:50:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889225,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:50:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889225', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:50:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889225', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:50:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 04:50:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 04:50:24] Production.INFO: ==22659== Releasing lock...
[2025-04-12 04:50:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 04:50:24] Production.INFO: 29 MB #Memory Used#
[2025-04-12 09:51:01] Production.INFO: ==22718== Lock acquired, processing the job...
[2025-04-12 09:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 09:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 09:51:01] Production.INFO: neon service started
[2025-04-12 09:51:01] Production.INFO: neon service started
[2025-04-12 09:51:01] Production.INFO: ==22718== Releasing lock...
[2025-04-12 09:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 09:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 04:51:01] Production.INFO: ==22720== Lock acquired, processing the job...
[2025-04-12 04:51:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 08:51:02] Production.INFO: ==22722== Lock acquired, processing the job...
[2025-04-12 08:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 04:51:02] Production.INFO: ==22720== Releasing lock...
[2025-04-12 04:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 04:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 08:51:02] Production.INFO: ==22722== Releasing lock...
[2025-04-12 08:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 08:51:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 04:51:03] Production.INFO: ==22730== Lock acquired, processing the job...
[2025-04-12 04:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 04:51:03] Production.INFO: ==22728== Lock acquired, processing the job...
[2025-04-12 04:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 04:51:03] Production.INFO: ==22724== Lock acquired, processing the job...
[2025-04-12 04:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 04:51:03] Production.INFO: ==22726== Lock acquired, processing the job...
[2025-04-12 04:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 04:51:03] Production.INFO: Account Balance Start.
[2025-04-12 04:51:03] Production.INFO: CreateAllLog Start
[2025-04-12 04:51:03] Production.INFO: 117
[2025-04-12 04:51:03] Production.INFO: Date 2025-04-08
[2025-04-12 04:51:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 04:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 04:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 04:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 04:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 04:51:03] Production.INFO: Date 2025-04-09
[2025-04-12 04:51:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:51:03] Production.INFO: Date 2025-04-10
[2025-04-12 04:51:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:51:03] Production.INFO: Date 2025-04-11
[2025-04-12 04:51:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:51:03] Production.INFO: Date 2025-04-12
[2025-04-12 04:51:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:51:03] Production.INFO: Total Charge 0
[2025-04-12 04:51:03] Production.INFO: ==22732== Lock acquired, processing the job...
[2025-04-12 04:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 04:51:03] Production.INFO: ==22726== Releasing lock...
[2025-04-12 04:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 04:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 04:51:03] Production.INFO: CreateAllLog End
[2025-04-12 04:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 04:51:03] Production.INFO: ==22734== Lock acquired, processing the job...
[2025-04-12 04:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 04:51:03] Production.INFO: Account Balance End.
[2025-04-12 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-12 04:51:03] Production.INFO: count ==12
[2025-04-12 04:51:03] Production.ERROR: CronJobId end 12
[2025-04-12 04:51:03] Production.INFO: ==22730== Releasing lock...
[2025-04-12 04:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 04:51:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 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-12 04:51:03] Production.ERROR: done
[2025-04-12 04:51:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 04:51:04] Production.ERROR: done
[2025-04-12 04:51:04] Production.INFO: count ==23
[2025-04-12 04:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889229') start
[2025-04-12 04:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889229') end
[2025-04-12 04:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 04:51:04] Production.INFO: 1
[2025-04-12 04:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 04:51:04] Production.INFO: ==22734== Releasing lock...
[2025-04-12 04:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 04:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 04:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 01:51:05
[end_date_ymd] => 2025-04-12 04:51:05
[RateCDR] => 1
)
[2025-04-12 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-12 01:51:05' and `end` < '2025-04-12 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-12 04:51:12] Production.ERROR: CronJobId end10
[2025-04-12 04:51:12] Production.INFO: ==22728== Releasing lock...
[2025-04-12 04:51:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 04:51:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 04:51:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 04:51:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 04:51:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 04:51:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 04:51:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 04:51:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 04:51:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 04:51:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 04:51:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 04:51:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 04:51:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 04:51:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 04:51:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 04:51:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 04:51:15] Production.INFO: call_cost start
[2025-04-12 04:51:15] Production.INFO: call_cost end
[2025-04-12 04:51:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 04:51:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 04:51:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 04:51:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 04:51:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 04:51:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 04:51:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 04:51:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 04:51:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 04:51:16] Production.INFO: ==22724== Releasing lock...
[2025-04-12 04:51:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 04:51:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 04:51:19] Production.INFO: count ==203
[2025-04-12 04:51:19] Production.ERROR: pbx CDR StartTime 2025-04-12 01:51:05 - End Time 2025-04-12 04:51:05
[2025-04-12 04:51:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 04:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889230', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889230', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889230', 'tblTempVendorCDR_20' ) start
[2025-04-12 04:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889230', 'tblTempVendorCDR_20' ) end
[2025-04-12 04:51:19] Production.INFO: ProcessCDR(1,14889230,1,1,2)
[2025-04-12 04:51:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889230,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:51:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889230,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:51:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889230,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:51:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889230,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889230', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889230', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:51:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 04:51:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 04:51:22] Production.INFO: ==22732== Releasing lock...
[2025-04-12 04:51:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 04:51:22] Production.INFO: 29 MB #Memory Used#
[2025-04-12 09:52:01] Production.INFO: ==22789== Lock acquired, processing the job...
[2025-04-12 09:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 09:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 09:52:01] Production.INFO: neon service started
[2025-04-12 09:52:01] Production.INFO: neon service started
[2025-04-12 09:52:01] Production.INFO: ==22789== Releasing lock...
[2025-04-12 09:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 09:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 08:52:02] Production.INFO: ==22793== Lock acquired, processing the job...
[2025-04-12 08:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 08:52:02] Production.INFO: ==22793== Releasing lock...
[2025-04-12 08:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 08:52:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 04:52:02] Production.INFO: ==22791== Lock acquired, processing the job...
[2025-04-12 04:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 04:52:02] Production.INFO: ==22791== Releasing lock...
[2025-04-12 04:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 04:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 04:52:03] Production.INFO: ==22796== Lock acquired, processing the job...
[2025-04-12 04:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 04:52:03] Production.INFO: ==22798== Lock acquired, processing the job...
[2025-04-12 04:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 04:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 04:52:03] Production.INFO: ==22802== Lock acquired, processing the job...
[2025-04-12 04:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 04:52:03] Production.INFO: Account Balance Start.
[2025-04-12 04:52:03] Production.INFO: CreateAllLog Start
[2025-04-12 04:52:03] Production.INFO: 117
[2025-04-12 04:52:03] Production.INFO: Date 2025-04-08
[2025-04-12 04:52:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:52:03] Production.INFO: Date 2025-04-09
[2025-04-12 04:52:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:52:03] Production.INFO: Date 2025-04-10
[2025-04-12 04:52:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:52:03] Production.INFO: Date 2025-04-11
[2025-04-12 04:52:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:52:03] Production.INFO: Date 2025-04-12
[2025-04-12 04:52:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:52:03] Production.INFO: Total Charge 0
[2025-04-12 04:52:03] Production.INFO: CreateAllLog End
[2025-04-12 04:52:03] Production.INFO: ==22800== Lock acquired, processing the job...
[2025-04-12 04:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 04:52:03] Production.INFO: ==22804== Lock acquired, processing the job...
[2025-04-12 04:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 04:52:03] Production.INFO: ==22798== Releasing lock...
[2025-04-12 04:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 04:52:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 04:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 04:52:04] Production.INFO: Account Balance End.
[2025-04-12 04:52:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 04:52:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 04:52:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 04:52:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 04:52:04] Production.INFO: ==22806== Lock acquired, processing the job...
[2025-04-12 04:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 04:52:04] Production.ERROR: CronJobId end 12
[2025-04-12 04:52:04] Production.INFO: ==22802== Releasing lock...
[2025-04-12 04:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 04:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 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-12 04:52:04] Production.ERROR: done
[2025-04-12 04:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 04:52:04] Production.INFO: count ==12
[2025-04-12 04:52:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 04:52:04] Production.ERROR: done
[2025-04-12 04:52:04] Production.INFO: count ==23
[2025-04-12 04:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889234') start
[2025-04-12 04:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889234') end
[2025-04-12 04:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 04:52:04] Production.INFO: 1
[2025-04-12 04:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 04:52:04] Production.INFO: ==22806== Releasing lock...
[2025-04-12 04:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 04:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 04:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 01:52:05
[end_date_ymd] => 2025-04-12 04:52:05
[RateCDR] => 1
)
[2025-04-12 04:52:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 01:52:05' and `end` < '2025-04-12 04:52:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 04:52:12] Production.ERROR: CronJobId end10
[2025-04-12 04:52:12] Production.INFO: ==22800== Releasing lock...
[2025-04-12 04:52:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 04:52:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 04:52:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 04:52:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 04:52:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 04:52:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 04:52:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 04:52:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 04:52:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 04:52:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 04:52:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 04:52:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 04:52:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 04:52:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 04:52:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 04:52:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 04:52:14] Production.INFO: call_cost start
[2025-04-12 04:52:14] Production.INFO: call_cost end
[2025-04-12 04:52:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 04:52:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 04:52:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 04:52:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 04:52:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 04:52:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 04:52:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 04:52:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 04:52:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 04:52:15] Production.INFO: ==22796== Releasing lock...
[2025-04-12 04:52:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 04:52:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 04:52:19] Production.INFO: count ==204
[2025-04-12 04:52:19] Production.ERROR: pbx CDR StartTime 2025-04-12 01:52:05 - End Time 2025-04-12 04:52:05
[2025-04-12 04:52:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 04:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889235', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889235', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889235', 'tblTempVendorCDR_20' ) start
[2025-04-12 04:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889235', 'tblTempVendorCDR_20' ) end
[2025-04-12 04:52:19] Production.INFO: ProcessCDR(1,14889235,1,1,2)
[2025-04-12 04:52:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889235,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:52:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889235,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:52:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889235,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:52:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889235,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:52:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889235', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:52:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889235', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:52:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 04:52:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 04:52:24] Production.INFO: ==22804== Releasing lock...
[2025-04-12 04:52:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 04:52:24] Production.INFO: 29 MB #Memory Used#
[2025-04-12 09:53:02] Production.INFO: ==22869== Lock acquired, processing the job...
[2025-04-12 09:53:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 09:53:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 09:53:02] Production.INFO: neon service started
[2025-04-12 09:53:02] Production.INFO: neon service started
[2025-04-12 09:53:02] Production.INFO: ==22869== Releasing lock...
[2025-04-12 09:53:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 09:53:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 04:53:03] Production.INFO: ==22871== Lock acquired, processing the job...
[2025-04-12 04:53:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 08:53:03] Production.INFO: ==22873== Lock acquired, processing the job...
[2025-04-12 08:53:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 08:53:03] Production.INFO: ==22873== Releasing lock...
[2025-04-12 08:53:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 08:53:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 04:53:03] Production.INFO: ==22871== Releasing lock...
[2025-04-12 04:53:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 04:53:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 04:53:04] Production.INFO: ==22876== Lock acquired, processing the job...
[2025-04-12 04:53:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 04:53:04] Production.INFO: ==22880== Lock acquired, processing the job...
[2025-04-12 04:53:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 04:53:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 04:53:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 04:53:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 04:53:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 04:53:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 04:53:04] Production.INFO: ==22882== Lock acquired, processing the job...
[2025-04-12 04:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 04:53:04] Production.INFO: Account Balance Start.
[2025-04-12 04:53:04] Production.INFO: CreateAllLog Start
[2025-04-12 04:53:04] Production.INFO: 117
[2025-04-12 04:53:04] Production.INFO: Date 2025-04-08
[2025-04-12 04:53:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:53:04] Production.INFO: Date 2025-04-09
[2025-04-12 04:53:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:53:04] Production.INFO: ==22878== Lock acquired, processing the job...
[2025-04-12 04:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 04:53:04] Production.INFO: Date 2025-04-10
[2025-04-12 04:53:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:53:04] Production.INFO: Date 2025-04-11
[2025-04-12 04:53:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:53:04] Production.INFO: Date 2025-04-12
[2025-04-12 04:53:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:53:04] Production.INFO: ==22884== Lock acquired, processing the job...
[2025-04-12 04:53:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 04:53:04] Production.INFO: Total Charge 0
[2025-04-12 04:53:04] Production.INFO: CreateAllLog End
[2025-04-12 04:53:04] Production.INFO: ==22886== Lock acquired, processing the job...
[2025-04-12 04:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 04:53:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 04:53:04] Production.INFO: ==22878== Releasing lock...
[2025-04-12 04:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 04:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 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-12 04:53:04] Production.INFO: Account Balance End.
[2025-04-12 04:53:04] Production.INFO: count ==12
[2025-04-12 04:53:05] Production.ERROR: CronJobId end 12
[2025-04-12 04:53:05] Production.INFO: ==22882== Releasing lock...
[2025-04-12 04:53:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 04:53:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 04:53: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-12 04:53:05] Production.ERROR: done
[2025-04-12 04:53:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 04:53:05] Production.INFO: count ==23
[2025-04-12 04:53:05] Production.ERROR: PBX CALL prc_importPBXExtension('14889239') start
[2025-04-12 04:53:05] Production.ERROR: done
[2025-04-12 04:53:05] Production.ERROR: PBX CALL prc_importPBXExtension('14889239') end
[2025-04-12 04:53:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 04:53:05] Production.INFO: 1
[2025-04-12 04:53:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 04:53:05] Production.INFO: ==22886== Releasing lock...
[2025-04-12 04:53:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 04:53:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 04:53:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 01:53:06
[end_date_ymd] => 2025-04-12 04:53:06
[RateCDR] => 1
)
[2025-04-12 04: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-12 01:53:06' and `end` < '2025-04-12 04: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-12 04:53:12] Production.ERROR: CronJobId end10
[2025-04-12 04:53:12] Production.INFO: ==22880== Releasing lock...
[2025-04-12 04:53:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 04:53:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 04:53:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 04:53:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 04:53:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 04:53:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 04:53:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 04:53:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 04:53:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 04:53:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 04:53:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 04:53:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 04:53:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 04:53:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 04:53:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 04:53:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 04:53:14] Production.INFO: call_cost start
[2025-04-12 04:53:14] Production.INFO: call_cost end
[2025-04-12 04:53:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 04:53:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 04:53:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 04:53:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 04:53:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 04:53:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 04:53:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 04:53:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 04:53:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 04:53:15] Production.INFO: ==22876== Releasing lock...
[2025-04-12 04:53:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 04:53:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 04:53:21] Production.INFO: count ==203
[2025-04-12 04:53:21] Production.ERROR: pbx CDR StartTime 2025-04-12 01:53:06 - End Time 2025-04-12 04:53:06
[2025-04-12 04:53:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 04:53:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889240', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:53:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889240', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:53:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889240', 'tblTempVendorCDR_20' ) start
[2025-04-12 04:53:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889240', 'tblTempVendorCDR_20' ) end
[2025-04-12 04:53:21] Production.INFO: ProcessCDR(1,14889240,1,1,2)
[2025-04-12 04:53:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889240,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:53:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889240,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:53:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889240,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:53:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889240,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:53:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889240', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:53:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889240', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:53:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 04:53:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 04:53:24] Production.INFO: ==22884== Releasing lock...
[2025-04-12 04:53:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 04:53:24] Production.INFO: 29 MB #Memory Used#
[2025-04-12 09:54:01] Production.INFO: ==22940== Lock acquired, processing the job...
[2025-04-12 09:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 09:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 09:54:01] Production.INFO: neon service started
[2025-04-12 09:54:01] Production.INFO: neon service started
[2025-04-12 09:54:01] Production.INFO: ==22940== Releasing lock...
[2025-04-12 09:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 09:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 04:54:02] Production.INFO: ==22942== Lock acquired, processing the job...
[2025-04-12 04:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 08:54:02] Production.INFO: ==22944== Lock acquired, processing the job...
[2025-04-12 08:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 04:54:02] Production.INFO: ==22942== Releasing lock...
[2025-04-12 04:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 04:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 08:54:02] Production.INFO: ==22944== Releasing lock...
[2025-04-12 08:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 08:54:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 04:54:03] Production.INFO: ==22946== Lock acquired, processing the job...
[2025-04-12 04:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 04:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 04:54:03] Production.INFO: ==22950== Lock acquired, processing the job...
[2025-04-12 04:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 04:54:03] Production.INFO: ==22952== Lock acquired, processing the job...
[2025-04-12 04:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 04:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 04:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 04:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 04:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 04:54:03] Production.INFO: ==22948== Lock acquired, processing the job...
[2025-04-12 04:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 04:54:03] Production.INFO: Account Balance Start.
[2025-04-12 04:54:03] Production.INFO: CreateAllLog Start
[2025-04-12 04:54:03] Production.INFO: 117
[2025-04-12 04:54:03] Production.INFO: Date 2025-04-08
[2025-04-12 04:54:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:54:03] Production.INFO: ==22954== Lock acquired, processing the job...
[2025-04-12 04:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 04:54:03] Production.INFO: Date 2025-04-09
[2025-04-12 04:54:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:54:03] Production.INFO: ==22956== Lock acquired, processing the job...
[2025-04-12 04:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 04:54:03] Production.INFO: Date 2025-04-10
[2025-04-12 04:54:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 04:54:04] Production.INFO: Date 2025-04-11
[2025-04-12 04:54:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:54:04] Production.INFO: Date 2025-04-12
[2025-04-12 04:54:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:54:04] Production.INFO: Total Charge 0
[2025-04-12 04:54:04] Production.INFO: CreateAllLog End
[2025-04-12 04:54:04] Production.INFO: ==22948== Releasing lock...
[2025-04-12 04:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 04:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 04:54:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 04:54:04] Production.INFO: count ==12
[2025-04-12 04:54:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 04:54:04] Production.INFO: count ==23
[2025-04-12 04:54:04] Production.INFO: Account Balance End.
[2025-04-12 04:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889244') start
[2025-04-12 04:54:04] Production.ERROR: done
[2025-04-12 04:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 04:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889244') end
[2025-04-12 04:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 04:54:04] Production.INFO: 1
[2025-04-12 04:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 04:54:04] Production.INFO: ==22956== Releasing lock...
[2025-04-12 04:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 04:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 04:54:04] Production.ERROR: CronJobId end 12
[2025-04-12 04:54:04] Production.INFO: ==22952== Releasing lock...
[2025-04-12 04:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 04:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 04:54:04] Production.ERROR: done
[2025-04-12 04:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 01:54:05
[end_date_ymd] => 2025-04-12 04:54:05
[RateCDR] => 1
)
[2025-04-12 04:54:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 01:54:05' and `end` < '2025-04-12 04:54:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 04:54:12] Production.ERROR: CronJobId end10
[2025-04-12 04:54:12] Production.INFO: ==22950== Releasing lock...
[2025-04-12 04:54:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 04:54:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 04:54:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 04:54:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 04:54:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 04:54:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 04:54:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 04:54:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 04:54:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 04:54:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 04:54:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 04:54:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 04:54:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 04:54:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 04:54:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 04:54:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 04:54:14] Production.INFO: call_cost start
[2025-04-12 04:54:14] Production.INFO: call_cost end
[2025-04-12 04:54:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 04:54:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 04:54:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 04:54:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 04:54:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 04:54:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 04:54:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 04:54:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 04:54:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 04:54:15] Production.INFO: ==22946== Releasing lock...
[2025-04-12 04:54:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 04:54:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 04:54:19] Production.INFO: count ==203
[2025-04-12 04:54:19] Production.ERROR: pbx CDR StartTime 2025-04-12 01:54:05 - End Time 2025-04-12 04:54:05
[2025-04-12 04:54:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 04:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889245', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889245', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889245', 'tblTempVendorCDR_20' ) start
[2025-04-12 04:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889245', 'tblTempVendorCDR_20' ) end
[2025-04-12 04:54:19] Production.INFO: ProcessCDR(1,14889245,1,1,2)
[2025-04-12 04:54:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889245,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:54:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889245,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:54:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889245,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:54:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889245,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:54:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889245', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:54:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889245', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:54:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 04:54:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 04:54:23] Production.INFO: ==22954== Releasing lock...
[2025-04-12 04:54:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 04:54:23] Production.INFO: 29 MB #Memory Used#
[2025-04-12 09:55:01] Production.INFO: ==23011== Lock acquired, processing the job...
[2025-04-12 09:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 09:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 09:55:01] Production.INFO: neon service started
[2025-04-12 09:55:01] Production.INFO: neon service started
[2025-04-12 09:55:01] Production.INFO: ==23011== Releasing lock...
[2025-04-12 09:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 09:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 04:55:01] Production.INFO: ==23013== Lock acquired, processing the job...
[2025-04-12 04:55:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 08:55:02] Production.INFO: ==23015== Lock acquired, processing the job...
[2025-04-12 08:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 08:55:02] Production.INFO: ==23015== Releasing lock...
[2025-04-12 08:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 08:55:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 04:55:02] Production.INFO: ==23013== Releasing lock...
[2025-04-12 04:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 04:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 04:55:03] Production.INFO: ==23018== Lock acquired, processing the job...
[2025-04-12 04:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 04:55:03] Production.INFO: ==23024== Lock acquired, processing the job...
[2025-04-12 04:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 04:55:03] Production.INFO: ==23020== Lock acquired, processing the job...
[2025-04-12 04:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 04:55:03] Production.INFO: ==23026== Lock acquired, processing the job...
[2025-04-12 04:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 04:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 04:55:03] Production.INFO: ==23022== Lock acquired, processing the job...
[2025-04-12 04:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 04:55:03] Production.INFO: Account Balance Start.
[2025-04-12 04:55:03] Production.INFO: CreateAllLog Start
[2025-04-12 04:55:03] Production.INFO: 117
[2025-04-12 04:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 04:55:03] Production.INFO: Date 2025-04-08
[2025-04-12 04:55:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 04:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 04:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 04:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 04:55:03] Production.INFO: Date 2025-04-09
[2025-04-12 04:55:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:55:03] Production.INFO: Date 2025-04-10
[2025-04-12 04:55:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:55:03] Production.INFO: Date 2025-04-11
[2025-04-12 04:55:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:55:03] Production.INFO: Date 2025-04-12
[2025-04-12 04:55:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:55:03] Production.INFO: ==23028== Lock acquired, processing the job...
[2025-04-12 04:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 04:55:03] Production.INFO: Total Charge 0
[2025-04-12 04:55:03] Production.INFO: CreateAllLog End
[2025-04-12 04:55:03] Production.INFO: ==23020== Releasing lock...
[2025-04-12 04:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 04:55:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 04:55:03] Production.ERROR: done
[2025-04-12 04:55:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 04:55:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 04:55:03] Production.INFO: Account Balance End.
[2025-04-12 04:55:03] Production.ERROR: done
[2025-04-12 04:55:03] Production.ERROR: CronJobId end 12
[2025-04-12 04:55:03] Production.INFO: ==23024== Releasing lock...
[2025-04-12 04:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 04:55:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 04:55:04] Production.INFO: count ==12
[2025-04-12 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-12 04:55:04] Production.INFO: count ==23
[2025-04-12 04:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889249') start
[2025-04-12 04:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889249') end
[2025-04-12 04:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 04:55:04] Production.INFO: 1
[2025-04-12 04:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 04:55:04] Production.INFO: ==23028== Releasing lock...
[2025-04-12 04:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 04:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 04:55:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 01:55:04
[end_date_ymd] => 2025-04-12 04:55:04
[RateCDR] => 1
)
[2025-04-12 04:55:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 01:55:04' and `end` < '2025-04-12 04:55:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 04:55:11] Production.ERROR: CronJobId end10
[2025-04-12 04:55:11] Production.INFO: ==23022== Releasing lock...
[2025-04-12 04:55:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 04:55:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 04:55:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 04:55:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 04:55:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 04:55:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 04:55:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 04:55:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 04:55:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 04:55:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 04:55:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 04:55:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 04:55:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 04:55:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 04:55:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 04:55:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 04:55:13] Production.INFO: call_cost start
[2025-04-12 04:55:13] Production.INFO: call_cost end
[2025-04-12 04:55:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 04:55:14] Production.INFO: ============== Report Schedule START===========
[2025-04-12 04:55:14] Production.INFO: ============== Report Schedule END===========
[2025-04-12 04:55:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 04:55:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 04:55:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 04:55:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 04:55:14] Production.INFO: ============== Deal alert START===========
[2025-04-12 04:55:14] Production.INFO: ============== Deal alert END===========
[2025-04-12 04:55:14] Production.INFO: ==23018== Releasing lock...
[2025-04-12 04:55:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 04:55:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 04:55:17] Production.INFO: count ==203
[2025-04-12 04:55:17] Production.ERROR: pbx CDR StartTime 2025-04-12 01:55:04 - End Time 2025-04-12 04:55:04
[2025-04-12 04:55:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 04:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889250', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889250', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889250', 'tblTempVendorCDR_20' ) start
[2025-04-12 04:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889250', 'tblTempVendorCDR_20' ) end
[2025-04-12 04:55:17] Production.INFO: ProcessCDR(1,14889250,1,1,2)
[2025-04-12 04:55:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889250,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:55:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889250,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:55:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889250,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:55:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889250,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889250', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889250', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:55:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 04:55:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 04:55:21] Production.INFO: ==23026== Releasing lock...
[2025-04-12 04:55:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 04:55:21] Production.INFO: 29 MB #Memory Used#
[2025-04-12 09:56:01] Production.INFO: ==23084== Lock acquired, processing the job...
[2025-04-12 09:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 09:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 09:56:01] Production.INFO: neon service started
[2025-04-12 09:56:01] Production.INFO: neon service started
[2025-04-12 09:56:01] Production.INFO: ==23084== Releasing lock...
[2025-04-12 09:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 09:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 04:56:02] Production.INFO: ==23086== Lock acquired, processing the job...
[2025-04-12 04:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 08:56:02] Production.INFO: ==23088== Lock acquired, processing the job...
[2025-04-12 08:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 08:56:02] Production.INFO: ==23088== Releasing lock...
[2025-04-12 08:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 08:56:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 04:56:02] Production.INFO: ==23086== Releasing lock...
[2025-04-12 04:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 04:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 04:56:03] Production.INFO: ==23093== Lock acquired, processing the job...
[2025-04-12 04:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 04:56:03] Production.INFO: ==23091== Lock acquired, processing the job...
[2025-04-12 04:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 04:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 04:56:03] Production.INFO: ==23099== Lock acquired, processing the job...
[2025-04-12 04:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 04:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 04:56:03] Production.INFO: ==23095== Lock acquired, processing the job...
[2025-04-12 04:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 04:56:03] Production.INFO: ==23097== Lock acquired, processing the job...
[2025-04-12 04:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 04:56:03] Production.INFO: ==23101== Lock acquired, processing the job...
[2025-04-12 04:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 04:56:03] Production.INFO: ==23093== Releasing lock...
[2025-04-12 04:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 04:56:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 04:56:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 04:56:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 04:56:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 04:56:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 04:56:04] Production.INFO: Account Balance Start.
[2025-04-12 04:56:04] Production.INFO: CreateAllLog Start
[2025-04-12 04:56:04] Production.INFO: 117
[2025-04-12 04:56:04] Production.INFO: Date 2025-04-08
[2025-04-12 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-12 04:56:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:56:04] Production.INFO: Date 2025-04-09
[2025-04-12 04:56:04] Production.ERROR: done
[2025-04-12 04:56:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 04:56:04] Production.INFO: Date 2025-04-10
[2025-04-12 04:56:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:56:04] Production.INFO: Date 2025-04-11
[2025-04-12 04:56:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:56:04] Production.INFO: Date 2025-04-12
[2025-04-12 04:56:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:56:04] Production.INFO: Total Charge 0
[2025-04-12 04:56:04] Production.INFO: CreateAllLog End
[2025-04-12 04:56:04] Production.ERROR: done
[2025-04-12 04:56:04] Production.INFO: Account Balance End.
[2025-04-12 04:56:04] Production.ERROR: CronJobId end 12
[2025-04-12 04:56:04] Production.INFO: ==23097== Releasing lock...
[2025-04-12 04:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 04:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 04:56:05] Production.INFO: count ==12
[2025-04-12 04:56: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-12 04:56:05] Production.INFO: count ==23
[2025-04-12 04:56:05] Production.ERROR: PBX CALL prc_importPBXExtension('14889254') start
[2025-04-12 04:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 01:56:05
[end_date_ymd] => 2025-04-12 04:56:05
[RateCDR] => 1
)
[2025-04-12 04:56:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 01:56:05' and `end` < '2025-04-12 04:56:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 04:56:05] Production.ERROR: PBX CALL prc_importPBXExtension('14889254') end
[2025-04-12 04:56:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 04:56:05] Production.INFO: 1
[2025-04-12 04:56:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 04:56:05] Production.INFO: ==23101== Releasing lock...
[2025-04-12 04:56:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 04:56:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 04:56:13] Production.ERROR: CronJobId end10
[2025-04-12 04:56:13] Production.INFO: ==23095== Releasing lock...
[2025-04-12 04:56:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 04:56:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 04:56:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 04:56:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 04:56:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 04:56:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 04:56:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 04:56:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 04:56:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 04:56:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 04:56:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 04:56:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 04:56:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 04:56:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 04:56:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 04:56:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 04:56:15] Production.INFO: call_cost start
[2025-04-12 04:56:15] Production.INFO: call_cost end
[2025-04-12 04:56:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 04:56:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 04:56:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 04:56:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 04:56:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 04:56:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 04:56:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 04:56:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 04:56:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 04:56:16] Production.INFO: ==23091== Releasing lock...
[2025-04-12 04:56:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 04:56:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 04:56:18] Production.INFO: count ==203
[2025-04-12 04:56:18] Production.ERROR: pbx CDR StartTime 2025-04-12 01:56:05 - End Time 2025-04-12 04:56:05
[2025-04-12 04:56:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 04:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889255', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889255', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889255', 'tblTempVendorCDR_20' ) start
[2025-04-12 04:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889255', 'tblTempVendorCDR_20' ) end
[2025-04-12 04:56:18] Production.INFO: ProcessCDR(1,14889255,1,1,2)
[2025-04-12 04:56:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889255,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:56:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889255,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:56:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889255,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:56:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889255,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889255', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889255', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:56:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 04:56:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 04:56:22] Production.INFO: ==23099== Releasing lock...
[2025-04-12 04:56:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 04:56:22] Production.INFO: 29 MB #Memory Used#
[2025-04-12 09:57:01] Production.INFO: ==23157== Lock acquired, processing the job...
[2025-04-12 09:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 09:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 09:57:01] Production.INFO: neon service started
[2025-04-12 09:57:01] Production.INFO: neon service started
[2025-04-12 09:57:01] Production.INFO: ==23157== Releasing lock...
[2025-04-12 09:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 09:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 04:57:01] Production.INFO: ==23159== Lock acquired, processing the job...
[2025-04-12 04:57:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 04:57:02] Production.INFO: ==23159== Releasing lock...
[2025-04-12 04:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 04:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 08:57:02] Production.INFO: ==23161== Lock acquired, processing the job...
[2025-04-12 08:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 08:57:02] Production.INFO: ==23161== Releasing lock...
[2025-04-12 08:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 08:57:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 04:57:02] Production.INFO: ==23163== Lock acquired, processing the job...
[2025-04-12 04:57:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 04:57:02] Production.INFO: ==23165== Lock acquired, processing the job...
[2025-04-12 04:57:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 04:57:03] Production.INFO: ==23167== Lock acquired, processing the job...
[2025-04-12 04:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 04:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 04:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 04:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 04:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 04:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 04:57:03] Production.INFO: ==23169== Lock acquired, processing the job...
[2025-04-12 04:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 04:57:03] Production.INFO: ==23171== Lock acquired, processing the job...
[2025-04-12 04:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 04:57:03] Production.INFO: ==23165== Releasing lock...
[2025-04-12 04:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 04:57:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 04:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 04:57:03] Production.INFO: ==23174== Lock acquired, processing the job...
[2025-04-12 04:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 04:57:03] Production.INFO: Account Balance Start.
[2025-04-12 04:57:03] Production.INFO: CreateAllLog Start
[2025-04-12 04:57:03] Production.INFO: 117
[2025-04-12 04:57:03] Production.INFO: Date 2025-04-08
[2025-04-12 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-12 04:57:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:57:03] Production.INFO: count ==12
[2025-04-12 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-12 04:57:03] Production.INFO: count ==23
[2025-04-12 04:57:03] Production.INFO: Date 2025-04-09
[2025-04-12 04:57:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889259') start
[2025-04-12 04:57:03] Production.ERROR: done
[2025-04-12 04:57:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 04:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889259') end
[2025-04-12 04:57:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 04:57:03] Production.INFO: 1
[2025-04-12 04:57:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 04:57:03] Production.INFO: Date 2025-04-10
[2025-04-12 04:57:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:57:03] Production.INFO: Date 2025-04-11
[2025-04-12 04:57:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:57:03] Production.INFO: Date 2025-04-12
[2025-04-12 04:57:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:57:03] Production.INFO: ==23174== Releasing lock...
[2025-04-12 04:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 04:57:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 04:57:03] Production.ERROR: done
[2025-04-12 04:57:03] Production.INFO: Total Charge 0
[2025-04-12 04:57:03] Production.INFO: CreateAllLog End
[2025-04-12 04:57:04] Production.INFO: Account Balance End.
[2025-04-12 04:57:04] Production.ERROR: CronJobId end 12
[2025-04-12 04:57:04] Production.INFO: ==23169== Releasing lock...
[2025-04-12 04:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 04:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 04:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 01:57:05
[end_date_ymd] => 2025-04-12 04:57:05
[RateCDR] => 1
)
[2025-04-12 04:57:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 01:57:05' and `end` < '2025-04-12 04:57:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 04:57:12] Production.ERROR: CronJobId end10
[2025-04-12 04:57:12] Production.INFO: ==23167== Releasing lock...
[2025-04-12 04:57:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 04:57:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 04:57:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 04:57:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 04:57:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 04:57:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 04:57:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 04:57:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 04:57:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 04:57:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 04:57:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 04:57:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 04:57:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 04:57:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 04:57:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 04:57:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 04:57:14] Production.INFO: call_cost start
[2025-04-12 04:57:14] Production.INFO: call_cost end
[2025-04-12 04:57:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 04:57:14] Production.INFO: ============== Report Schedule START===========
[2025-04-12 04:57:14] Production.INFO: ============== Report Schedule END===========
[2025-04-12 04:57:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 04:57:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 04:57:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 04:57:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 04:57:14] Production.INFO: ============== Deal alert START===========
[2025-04-12 04:57:14] Production.INFO: ============== Deal alert END===========
[2025-04-12 04:57:14] Production.INFO: ==23163== Releasing lock...
[2025-04-12 04:57:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 04:57:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 04:57:18] Production.INFO: count ==204
[2025-04-12 04:57:18] Production.ERROR: pbx CDR StartTime 2025-04-12 01:57:05 - End Time 2025-04-12 04:57:05
[2025-04-12 04:57:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 04:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889260', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889260', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889260', 'tblTempVendorCDR_20' ) start
[2025-04-12 04:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889260', 'tblTempVendorCDR_20' ) end
[2025-04-12 04:57:18] Production.INFO: ProcessCDR(1,14889260,1,1,2)
[2025-04-12 04:57:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889260,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:57:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889260,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:57:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889260,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:57:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889260,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889260', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889260', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:57:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 04:57:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 04:57:21] Production.INFO: ==23171== Releasing lock...
[2025-04-12 04:57:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 04:57:21] Production.INFO: 29 MB #Memory Used#
[2025-04-12 09:58:01] Production.INFO: ==23232== Lock acquired, processing the job...
[2025-04-12 09:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 09:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 09:58:01] Production.INFO: neon service started
[2025-04-12 09:58:01] Production.INFO: neon service started
[2025-04-12 09:58:01] Production.INFO: ==23232== Releasing lock...
[2025-04-12 09:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 09:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 08:58:02] Production.INFO: ==23236== Lock acquired, processing the job...
[2025-04-12 08:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 08:58:02] Production.INFO: ==23236== Releasing lock...
[2025-04-12 08:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 08:58:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 04:58:02] Production.INFO: ==23234== Lock acquired, processing the job...
[2025-04-12 04:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 04:58:02] Production.INFO: ==23234== Releasing lock...
[2025-04-12 04:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 04:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 04:58:03] Production.INFO: ==23239== Lock acquired, processing the job...
[2025-04-12 04:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 04:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 04:58:03] Production.INFO: ==23243== Lock acquired, processing the job...
[2025-04-12 04:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 04:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 04:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 04:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 04:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 04:58:03] Production.INFO: ==23247== Lock acquired, processing the job...
[2025-04-12 04:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 04:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 04:58:03] Production.INFO: ==23241== Lock acquired, processing the job...
[2025-04-12 04:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 04:58:03] Production.INFO: ==23245== Lock acquired, processing the job...
[2025-04-12 04:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 04:58:03] Production.INFO: ==23249== Lock acquired, processing the job...
[2025-04-12 04:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 04:58:04] Production.ERROR: done
[2025-04-12 04:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 04:58:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 04:58:04] Production.INFO: count ==12
[2025-04-12 04:58:04] Production.INFO: Account Balance Start.
[2025-04-12 04:58:04] Production.INFO: CreateAllLog Start
[2025-04-12 04:58:04] Production.INFO: 117
[2025-04-12 04:58:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 04:58:04] Production.INFO: count ==23
[2025-04-12 04:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889263') start
[2025-04-12 04:58:04] Production.INFO: Date 2025-04-08
[2025-04-12 04:58:04] Production.ERROR: done
[2025-04-12 04:58:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:58:04] Production.INFO: Date 2025-04-09
[2025-04-12 04:58:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:58:04] Production.INFO: Date 2025-04-10
[2025-04-12 04:58:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:58:04] Production.INFO: Date 2025-04-11
[2025-04-12 04:58:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889263') end
[2025-04-12 04:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 04:58:04] Production.INFO: 1
[2025-04-12 04:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 04:58:04] Production.INFO: ==23241== Releasing lock...
[2025-04-12 04:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 04:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 04:58:04] Production.INFO: ==23249== Releasing lock...
[2025-04-12 04:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 04:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 04:58:04] Production.INFO: Date 2025-04-12
[2025-04-12 04:58:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:58:04] Production.INFO: Total Charge 0
[2025-04-12 04:58:04] Production.INFO: CreateAllLog End
[2025-04-12 04:58:04] Production.INFO: Account Balance End.
[2025-04-12 04:58:04] Production.ERROR: CronJobId end 12
[2025-04-12 04:58:04] Production.INFO: ==23245== Releasing lock...
[2025-04-12 04:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 04:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 04:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 01:58:05
[end_date_ymd] => 2025-04-12 04:58:05
[RateCDR] => 1
)
[2025-04-12 04:58:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 01:58:05' and `end` < '2025-04-12 04:58:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 04:58:11] Production.ERROR: CronJobId end10
[2025-04-12 04:58:11] Production.INFO: ==23243== Releasing lock...
[2025-04-12 04:58:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 04:58:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 04:58:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 04:58:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 04:58:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 04:58:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 04:58:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 04:58:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 04:58:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 04:58:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 04:58:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 04:58:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 04:58:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 04:58:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 04:58:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 04:58:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 04:58:13] Production.INFO: call_cost start
[2025-04-12 04:58:13] Production.INFO: call_cost end
[2025-04-12 04:58:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 04:58:14] Production.INFO: ============== Report Schedule START===========
[2025-04-12 04:58:14] Production.INFO: ============== Report Schedule END===========
[2025-04-12 04:58:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 04:58:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 04:58:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 04:58:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 04:58:14] Production.INFO: ============== Deal alert START===========
[2025-04-12 04:58:14] Production.INFO: ============== Deal alert END===========
[2025-04-12 04:58:14] Production.INFO: ==23239== Releasing lock...
[2025-04-12 04:58:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 04:58:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 04:58:19] Production.INFO: count ==204
[2025-04-12 04:58:19] Production.ERROR: pbx CDR StartTime 2025-04-12 01:58:05 - End Time 2025-04-12 04:58:05
[2025-04-12 04:58:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 04:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889265', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889265', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889265', 'tblTempVendorCDR_20' ) start
[2025-04-12 04:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889265', 'tblTempVendorCDR_20' ) end
[2025-04-12 04:58:19] Production.INFO: ProcessCDR(1,14889265,1,1,2)
[2025-04-12 04:58:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889265,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:58:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889265,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:58:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889265,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:58:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889265,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889265', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889265', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:58:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 04:58:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 04:58:23] Production.INFO: ==23247== Releasing lock...
[2025-04-12 04:58:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 04:58:23] Production.INFO: 29 MB #Memory Used#
[2025-04-12 09:59:02] Production.INFO: ==23303== Lock acquired, processing the job...
[2025-04-12 09:59:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 09:59:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 09:59:02] Production.INFO: neon service started
[2025-04-12 09:59:02] Production.INFO: neon service started
[2025-04-12 09:59:02] Production.INFO: ==23303== Releasing lock...
[2025-04-12 09:59:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 09:59:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 04:59:02] Production.INFO: ==23305== Lock acquired, processing the job...
[2025-04-12 04:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 04:59:02] Production.INFO: ==23305== Releasing lock...
[2025-04-12 04:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 04:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 08:59:02] Production.INFO: ==23307== Lock acquired, processing the job...
[2025-04-12 08:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 08:59:03] Production.INFO: ==23307== Releasing lock...
[2025-04-12 08:59:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 08:59:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 04:59:03] Production.INFO: ==23316== Lock acquired, processing the job...
[2025-04-12 04:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 04:59:03] Production.INFO: ==23318== Lock acquired, processing the job...
[2025-04-12 04:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 04:59:03] Production.INFO: ==23309== Lock acquired, processing the job...
[2025-04-12 04:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 04:59:03] Production.INFO: Account Balance Start.
[2025-04-12 04:59:03] Production.INFO: CreateAllLog Start
[2025-04-12 04:59:03] Production.INFO: 117
[2025-04-12 04:59:03] Production.INFO: Date 2025-04-08
[2025-04-12 04:59:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 04:59:03] Production.INFO: Date 2025-04-09
[2025-04-12 04:59:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:59:03] Production.INFO: Date 2025-04-10
[2025-04-12 04:59:03] Production.INFO: Reseller ==> 0
[2025-04-12 04:59:03] Production.INFO: ==23320== Lock acquired, processing the job...
[2025-04-12 04:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 04:59:04] Production.INFO: ==23311== Lock acquired, processing the job...
[2025-04-12 04:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 04:59:04] Production.INFO: ==23313== Lock acquired, processing the job...
[2025-04-12 04:59:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 04:59:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 04:59:04] Production.INFO: Date 2025-04-11
[2025-04-12 04:59:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:59:04] Production.INFO: Date 2025-04-12
[2025-04-12 04:59:04] Production.INFO: Reseller ==> 0
[2025-04-12 04:59:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 04:59:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 04:59:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 04:59:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 04:59:04] Production.INFO: Total Charge 0
[2025-04-12 04:59:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 04:59:04] Production.INFO: count ==12
[2025-04-12 04:59:04] Production.INFO: CreateAllLog End
[2025-04-12 04:59:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 04:59:04] Production.INFO: count ==23
[2025-04-12 04:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889268') start
[2025-04-12 04:59:04] Production.ERROR: done
[2025-04-12 04:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 04:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889268') end
[2025-04-12 04:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 04:59:04] Production.INFO: 1
[2025-04-12 04:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 04:59:04] Production.INFO: ==23320== Releasing lock...
[2025-04-12 04:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 04:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 04:59:04] Production.INFO: ==23311== Releasing lock...
[2025-04-12 04:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 04:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 04:59:04] Production.INFO: Account Balance End.
[2025-04-12 04:59:04] Production.ERROR: done
[2025-04-12 04:59:04] Production.ERROR: CronJobId end 12
[2025-04-12 04:59:04] Production.INFO: ==23316== Releasing lock...
[2025-04-12 04:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 04:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 04:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 01:59:05
[end_date_ymd] => 2025-04-12 04:59:05
[RateCDR] => 1
)
[2025-04-12 04:59:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 01:59:05' and `end` < '2025-04-12 04:59:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 04:59:11] Production.ERROR: CronJobId end10
[2025-04-12 04:59:12] Production.INFO: ==23313== Releasing lock...
[2025-04-12 04:59:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 04:59:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 04:59:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 04:59:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 04:59:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 04:59:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 04:59:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 04:59:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 04:59:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 04:59:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 04:59:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 04:59:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 04:59:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 04:59:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 04:59:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 04:59:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 04:59:15] Production.INFO: call_cost start
[2025-04-12 04:59:15] Production.INFO: call_cost end
[2025-04-12 04:59:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 04:59:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 04:59:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 04:59:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 04:59:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 04:59:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 04:59:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 04:59:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 04:59:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 04:59:16] Production.INFO: ==23309== Releasing lock...
[2025-04-12 04:59:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 04:59:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 04:59:18] Production.INFO: count ==203
[2025-04-12 04:59:18] Production.ERROR: pbx CDR StartTime 2025-04-12 01:59:05 - End Time 2025-04-12 04:59:05
[2025-04-12 04:59:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 04:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889270', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889270', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889270', 'tblTempVendorCDR_20' ) start
[2025-04-12 04:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889270', 'tblTempVendorCDR_20' ) end
[2025-04-12 04:59:18] Production.INFO: ProcessCDR(1,14889270,1,1,2)
[2025-04-12 04:59:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889270,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:59:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889270,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 04:59:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889270,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:59:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889270,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 04:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889270', 'tblTempUsageDetail_20' ) start
[2025-04-12 04:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889270', 'tblTempUsageDetail_20' ) end
[2025-04-12 04:59:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 04:59:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 04:59:21] Production.INFO: ==23318== Releasing lock...
[2025-04-12 04:59:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 04:59:21] Production.INFO: 29 MB #Memory Used#
[2025-04-12 10:00:01] Production.INFO: ==23375== Lock acquired, processing the job...
[2025-04-12 10:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 10:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 10:00:01] Production.INFO: neon service started
[2025-04-12 10:00:01] Production.INFO: neon service started
[2025-04-12 10:00:01] Production.INFO: ==23375== Releasing lock...
[2025-04-12 10:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 10:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 09:00:02] Production.INFO: ==23379== Lock acquired, processing the job...
[2025-04-12 09:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 09:00:02] Production.INFO: ==23379== Releasing lock...
[2025-04-12 09:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 09:00:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 05:00:02] Production.INFO: ==23377== Lock acquired, processing the job...
[2025-04-12 05:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 05:00:02] Production.INFO: ==23377== Releasing lock...
[2025-04-12 05:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 05:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 05:00:03] Production.INFO: ==23381== Lock acquired, processing the job...
[2025-04-12 05:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 05:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 05:00:03] Production.INFO: ==23387== Lock acquired, processing the job...
[2025-04-12 05:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 05:00:03] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 05:00:03] Production.INFO: ==23381== Releasing lock...
[2025-04-12 05:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 05:00:03] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 05:00:03] Production.INFO: ==23383== Lock acquired, processing the job...
[2025-04-12 05:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 05:00:03] Production.INFO: ==23385== Lock acquired, processing the job...
[2025-04-12 05:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 05:00:03] Production.INFO: ==23391== Lock acquired, processing the job...
[2025-04-12 05:00:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 05:00:03] Production.INFO: ==23393== Lock acquired, processing the job...
[2025-04-12 05:00:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 05:00:03] Production.INFO: ==23389== Lock acquired, processing the job...
[2025-04-12 05:00:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 05:00:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 05:00:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 05:00:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 05:00:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 05:00:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 05:00:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 05:00:03] Production.INFO: ==23396== Lock acquired, processing the job...
[2025-04-12 05:00:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 05:00:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 05:00:03] Production.INFO: Account Balance Start.
[2025-04-12 05:00:03] Production.INFO: CreateAllLog Start
[2025-04-12 05:00:03] Production.INFO: 117
[2025-04-12 05:00:03] Production.INFO: Date 2025-04-08
[2025-04-12 05:00:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:00:04] Production.INFO: Date 2025-04-09
[2025-04-12 05:00:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 05:00:04] Production.INFO: Date 2025-04-10
[2025-04-12 05:00:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:00:04] Production.ERROR: done
[2025-04-12 05:00:04] Production.INFO: Date 2025-04-11
[2025-04-12 05:00:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:00:04] Production.INFO: Date 2025-04-12
[2025-04-12 05:00:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:00:04] Production.INFO: Total Charge 0
[2025-04-12 05:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 05:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14889275', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 05:00:04] Production.INFO: ==23385== Releasing lock...
[2025-04-12 05:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 05:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 05:00:04] Production.ERROR: done
[2025-04-12 05:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 05:00:04] Production.INFO: CreateAllLog End
[2025-04-12 05:00:04] Production.INFO: count ==12
[2025-04-12 05:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 05:00:04] Production.INFO: count ==23
[2025-04-12 05:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889274') start
[2025-04-12 05:00:04] Production.ERROR: done
[2025-04-12 05:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889274') end
[2025-04-12 05:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 05:00:04] Production.INFO: 1
[2025-04-12 05:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 05:00:04] Production.INFO: ==23396== Releasing lock...
[2025-04-12 05:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 05:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 05:00:04] Production.INFO: Account Balance End.
[2025-04-12 05:00:04] Production.ERROR: CronJobId end 12
[2025-04-12 05:00:04] Production.INFO: ==23389== Releasing lock...
[2025-04-12 05:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 05:00:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 05:00:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 02:00:05
[end_date_ymd] => 2025-04-12 05:00:05
[RateCDR] => 1
)
[2025-04-12 05:00:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 02:00:05' and `end` < '2025-04-12 05:00:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 05:00:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14889275', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 05:00:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 05:00:08] Production.INFO: ProcessCDR(1,14889275,1,1,2)
[2025-04-12 05:00:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14889275,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:00:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14889275,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:00:08] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 05:00:08] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 05:00:08] Production.INFO: ==23393== Releasing lock...
[2025-04-12 05:00:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 05:00:08] Production.INFO: 26 MB #Memory Used#
[2025-04-12 05:00:14] Production.ERROR: CronJobId end10
[2025-04-12 05:00:14] Production.INFO: ==23387== Releasing lock...
[2025-04-12 05:00:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 05:00:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 05:00:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 05:00:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 05:00:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 05:00:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 05:00:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 05:00:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 05:00:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 05:00:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 05:00:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 05:00:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 05:00:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 05:00:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 05:00:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 05:00:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 05:00:16] Production.INFO: call_cost start
[2025-04-12 05:00:16] Production.INFO: call_cost end
[2025-04-12 05:00:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 05:00:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 05:00:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 05:00:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 05:00:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 05:00:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 05:00:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 05:00:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 05:00:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 05:00:17] Production.INFO: ==23383== Releasing lock...
[2025-04-12 05:00:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 05:00:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 05:00:18] Production.INFO: count ==198
[2025-04-12 05:00:18] Production.ERROR: pbx CDR StartTime 2025-04-12 02:00:05 - End Time 2025-04-12 05:00:05
[2025-04-12 05:00:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 05:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889276', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889276', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889276', 'tblTempVendorCDR_20' ) start
[2025-04-12 05:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889276', 'tblTempVendorCDR_20' ) end
[2025-04-12 05:00:18] Production.INFO: ProcessCDR(1,14889276,1,1,2)
[2025-04-12 05:00:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889276,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:00:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889276,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:00:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889276,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:00:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889276,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889276', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889276', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:00:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 05:00:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 05:00:22] Production.INFO: ==23391== Releasing lock...
[2025-04-12 05:00:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 05:00:22] Production.INFO: 29 MB #Memory Used#
[2025-04-12 10:01:02] Production.INFO: ==23455== Lock acquired, processing the job...
[2025-04-12 10:01:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 10:01:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 10:01:02] Production.INFO: neon service started
[2025-04-12 10:01:02] Production.INFO: neon service started
[2025-04-12 10:01:02] Production.INFO: ==23455== Releasing lock...
[2025-04-12 10:01:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 10:01:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 09:01:02] Production.INFO: ==23468== Lock acquired, processing the job...
[2025-04-12 09:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 09:01:02] Production.INFO: ==23468== Releasing lock...
[2025-04-12 09:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 09:01:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 05:01:02] Production.INFO: ==23466== Lock acquired, processing the job...
[2025-04-12 05:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 05:01:02] Production.INFO: ==23466== Releasing lock...
[2025-04-12 05:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 05:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 05:01:03] Production.INFO: ==23471== Lock acquired, processing the job...
[2025-04-12 05:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 05:01:03] Production.INFO: ==23473== Lock acquired, processing the job...
[2025-04-12 05:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 05:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 05:01:03] Production.INFO: ==23477== Lock acquired, processing the job...
[2025-04-12 05:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 05:01:03] Production.INFO: ==23475== Lock acquired, processing the job...
[2025-04-12 05:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 05:01:04] Production.INFO: ==23479== Lock acquired, processing the job...
[2025-04-12 05:01:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 05:01:04] Production.INFO: Account Balance Start.
[2025-04-12 05:01:04] Production.INFO: CreateAllLog Start
[2025-04-12 05:01:04] Production.INFO: 117
[2025-04-12 05:01:04] Production.INFO: Date 2025-04-08
[2025-04-12 05:01:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 05:01:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 05:01:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 05:01:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 05:01:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 05:01:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:01:04] Production.INFO: ==23481== Lock acquired, processing the job...
[2025-04-12 05:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 05:01:04] Production.INFO: Date 2025-04-09
[2025-04-12 05:01:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:01:04] Production.INFO: Date 2025-04-10
[2025-04-12 05:01:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:01:04] Production.INFO: Date 2025-04-11
[2025-04-12 05:01:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:01:04] Production.INFO: ==23473== Releasing lock...
[2025-04-12 05:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 05:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 05:01:04] Production.INFO: Date 2025-04-12
[2025-04-12 05:01:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:01:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 05:01:04] Production.INFO: Total Charge 0
[2025-04-12 05:01:04] Production.INFO: CreateAllLog End
[2025-04-12 05:01:04] Production.ERROR: done
[2025-04-12 05:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 05:01:04] Production.INFO: count ==12
[2025-04-12 05:01:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 05:01:04] Production.INFO: count ==23
[2025-04-12 05:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889280') start
[2025-04-12 05:01:04] Production.ERROR: done
[2025-04-12 05:01:04] Production.INFO: Account Balance End.
[2025-04-12 05:01:04] Production.ERROR: CronJobId end 12
[2025-04-12 05:01:04] Production.INFO: ==23477== Releasing lock...
[2025-04-12 05:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 05:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 05:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889280') end
[2025-04-12 05:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 05:01:04] Production.INFO: 1
[2025-04-12 05:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 05:01:04] Production.INFO: ==23481== Releasing lock...
[2025-04-12 05:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 05:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 05:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 02:01:05
[end_date_ymd] => 2025-04-12 05:01:05
[RateCDR] => 1
)
[2025-04-12 05:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 02:01:05' and `end` < '2025-04-12 05:01:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 05:01:12] Production.ERROR: CronJobId end10
[2025-04-12 05:01:12] Production.INFO: ==23475== Releasing lock...
[2025-04-12 05:01:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 05:01:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 05:01:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 05:01:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 05:01:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 05:01:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 05:01:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 05:01:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 05:01:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 05:01:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 05:01:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 05:01:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 05:01:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 05:01:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 05:01:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 05:01:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 05:01:14] Production.INFO: call_cost start
[2025-04-12 05:01:14] Production.INFO: call_cost end
[2025-04-12 05:01:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 05:01:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 05:01:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 05:01:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 05:01:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 05:01:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 05:01:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 05:01:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 05:01:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 05:01:15] Production.INFO: ==23471== Releasing lock...
[2025-04-12 05:01:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 05:01:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 05:01:19] Production.INFO: count ==198
[2025-04-12 05:01:19] Production.ERROR: pbx CDR StartTime 2025-04-12 02:01:05 - End Time 2025-04-12 05:01:05
[2025-04-12 05:01:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 05:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889281', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889281', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889281', 'tblTempVendorCDR_20' ) start
[2025-04-12 05:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889281', 'tblTempVendorCDR_20' ) end
[2025-04-12 05:01:19] Production.INFO: ProcessCDR(1,14889281,1,1,2)
[2025-04-12 05:01:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889281,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:01:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889281,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:01:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889281,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:01:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889281,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889281', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889281', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:01:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 05:01:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 05:01:22] Production.INFO: ==23479== Releasing lock...
[2025-04-12 05:01:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 05:01:22] Production.INFO: 29 MB #Memory Used#
[2025-04-12 10:02:01] Production.INFO: ==23574== Lock acquired, processing the job...
[2025-04-12 10:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 10:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 10:02:01] Production.INFO: neon service started
[2025-04-12 10:02:01] Production.INFO: neon service started
[2025-04-12 10:02:01] Production.INFO: ==23574== Releasing lock...
[2025-04-12 10:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 10:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 05:02:01] Production.INFO: ==23576== Lock acquired, processing the job...
[2025-04-12 05:02:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 05:02:02] Production.INFO: ==23576== Releasing lock...
[2025-04-12 05:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 05:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 09:02:02] Production.INFO: ==23579== Lock acquired, processing the job...
[2025-04-12 09:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 09:02:02] Production.INFO: ==23579== Releasing lock...
[2025-04-12 09:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 09:02:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 05:02:03] Production.INFO: ==23591== Lock acquired, processing the job...
[2025-04-12 05:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 05:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 05:02:03] Production.INFO: ==23593== Lock acquired, processing the job...
[2025-04-12 05:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 05:02:03] Production.INFO: ==23583== Lock acquired, processing the job...
[2025-04-12 05:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 05:02:03] Production.INFO: ==23585== Lock acquired, processing the job...
[2025-04-12 05:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 05:02:03] Production.INFO: ==23587== Lock acquired, processing the job...
[2025-04-12 05:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 05:02:03] Production.INFO: ==23589== Lock acquired, processing the job...
[2025-04-12 05:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 05:02:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 05:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 05:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 05:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 05:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 05:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 05:02:03] Production.INFO: count ==12
[2025-04-12 05:02:03] Production.INFO: Account Balance Start.
[2025-04-12 05:02:03] Production.INFO: CreateAllLog Start
[2025-04-12 05:02:03] Production.INFO: 117
[2025-04-12 05:02:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 05:02:03] Production.INFO: Date 2025-04-08
[2025-04-12 05:02:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:02:03] Production.INFO: Date 2025-04-09
[2025-04-12 05:02:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:02:03] Production.INFO: Date 2025-04-10
[2025-04-12 05:02:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:02:03] Production.INFO: Date 2025-04-11
[2025-04-12 05:02:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:02:03] Production.ERROR: done
[2025-04-12 05:02:03] Production.INFO: Date 2025-04-12
[2025-04-12 05:02:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:02:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 05:02:03] Production.INFO: Total Charge 0
[2025-04-12 05:02:03] Production.INFO: CreateAllLog End
[2025-04-12 05:02:03] Production.INFO: count ==23
[2025-04-12 05:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889282') start
[2025-04-12 05:02:03] Production.INFO: ==23585== Releasing lock...
[2025-04-12 05:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 05:02:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 05:02:04] Production.ERROR: done
[2025-04-12 05:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889282') end
[2025-04-12 05:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 05:02:04] Production.INFO: 1
[2025-04-12 05:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 05:02:04] Production.INFO: Account Balance End.
[2025-04-12 05:02:04] Production.ERROR: CronJobId end 12
[2025-04-12 05:02:04] Production.INFO: ==23589== Releasing lock...
[2025-04-12 05:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 05:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 05:02:04] Production.INFO: ==23593== Releasing lock...
[2025-04-12 05:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 05:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 05:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 02:02:05
[end_date_ymd] => 2025-04-12 05:02:05
[RateCDR] => 1
)
[2025-04-12 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-12 02:02:05' and `end` < '2025-04-12 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-12 05:02:11] Production.ERROR: CronJobId end10
[2025-04-12 05:02:11] Production.INFO: ==23587== Releasing lock...
[2025-04-12 05:02:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 05:02:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 05:02:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 05:02:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 05:02:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 05:02:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 05:02:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 05:02:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 05:02:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 05:02:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 05:02:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 05:02:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 05:02:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 05:02:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 05:02:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 05:02:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 05:02:14] Production.INFO: call_cost start
[2025-04-12 05:02:14] Production.INFO: call_cost end
[2025-04-12 05:02:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 05:02:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 05:02:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 05:02:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 05:02:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 05:02:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 05:02:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 05:02:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 05:02:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 05:02:15] Production.INFO: ==23583== Releasing lock...
[2025-04-12 05:02:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 05:02:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 05:02:18] Production.INFO: count ==198
[2025-04-12 05:02:18] Production.ERROR: pbx CDR StartTime 2025-04-12 02:02:05 - End Time 2025-04-12 05:02:05
[2025-04-12 05:02:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 05:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889286', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889286', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889286', 'tblTempVendorCDR_20' ) start
[2025-04-12 05:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889286', 'tblTempVendorCDR_20' ) end
[2025-04-12 05:02:18] Production.INFO: ProcessCDR(1,14889286,1,1,2)
[2025-04-12 05:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889286,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:02:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889286,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:02:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889286,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:02:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889286,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889286', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889286', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:02:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 05:02:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 05:02:21] Production.INFO: ==23591== Releasing lock...
[2025-04-12 05:02:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 05:02:21] Production.INFO: 29 MB #Memory Used#
[2025-04-12 10:03:01] Production.INFO: ==23650== Lock acquired, processing the job...
[2025-04-12 10:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 10:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 10:03:01] Production.INFO: neon service started
[2025-04-12 10:03:01] Production.INFO: neon service started
[2025-04-12 10:03:01] Production.INFO: ==23650== Releasing lock...
[2025-04-12 10:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 10:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 05:03:02] Production.INFO: ==23652== Lock acquired, processing the job...
[2025-04-12 05:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 05:03:02] Production.INFO: ==23652== Releasing lock...
[2025-04-12 05:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 05:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 09:03:02] Production.INFO: ==23654== Lock acquired, processing the job...
[2025-04-12 09:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 09:03:02] Production.INFO: ==23654== Releasing lock...
[2025-04-12 09:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 09:03:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 05:03:03] Production.INFO: ==23656== Lock acquired, processing the job...
[2025-04-12 05:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 05:03:03] Production.INFO: ==23660== Lock acquired, processing the job...
[2025-04-12 05:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 05:03:03] Production.INFO: ==23663== Lock acquired, processing the job...
[2025-04-12 05:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 05:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 05:03:03] Production.INFO: Account Balance Start.
[2025-04-12 05:03:03] Production.INFO: CreateAllLog Start
[2025-04-12 05:03:03] Production.INFO: 117
[2025-04-12 05:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 05:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 05:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 05:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 05:03:03] Production.INFO: Date 2025-04-08
[2025-04-12 05:03:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:03:03] Production.INFO: Date 2025-04-09
[2025-04-12 05:03:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:03:03] Production.INFO: Date 2025-04-10
[2025-04-12 05:03:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:03:03] Production.INFO: Date 2025-04-11
[2025-04-12 05:03:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:03:03] Production.INFO: Date 2025-04-12
[2025-04-12 05:03:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:03:03] Production.INFO: ==23658== Lock acquired, processing the job...
[2025-04-12 05:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 05:03:03] Production.INFO: Total Charge 0
[2025-04-12 05:03:03] Production.INFO: CreateAllLog End
[2025-04-12 05:03:03] Production.INFO: ==23667== Lock acquired, processing the job...
[2025-04-12 05:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 05:03:03] Production.INFO: ==23665== Lock acquired, processing the job...
[2025-04-12 05:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 05:03:03] Production.INFO: Account Balance End.
[2025-04-12 05:03:03] Production.ERROR: CronJobId end 12
[2025-04-12 05:03:03] Production.INFO: ==23663== Releasing lock...
[2025-04-12 05:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 05:03:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 05:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 05:03:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 05:03:04] Production.INFO: count ==12
[2025-04-12 05:03:04] Production.INFO: ==23658== Releasing lock...
[2025-04-12 05:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 05:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 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-12 05:03:04] Production.INFO: count ==23
[2025-04-12 05:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889290') start
[2025-04-12 05:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889290') end
[2025-04-12 05:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 05:03:04] Production.INFO: 1
[2025-04-12 05:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 05:03:04] Production.INFO: ==23667== Releasing lock...
[2025-04-12 05:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 05:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 05:03:04] Production.ERROR: done
[2025-04-12 05:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 05:03:04] Production.ERROR: done
[2025-04-12 05:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 02:03:05
[end_date_ymd] => 2025-04-12 05:03:05
[RateCDR] => 1
)
[2025-04-12 05:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 02:03:05' and `end` < '2025-04-12 05:03:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 05:03:11] Production.ERROR: CronJobId end10
[2025-04-12 05:03:11] Production.INFO: ==23660== Releasing lock...
[2025-04-12 05:03:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 05:03:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 05:03:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 05:03:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 05:03:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 05:03:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 05:03:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 05:03:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 05:03:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 05:03:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 05:03:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 05:03:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 05:03:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 05:03:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 05:03:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 05:03:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 05:03:14] Production.INFO: call_cost start
[2025-04-12 05:03:14] Production.INFO: call_cost end
[2025-04-12 05:03:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 05:03:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 05:03:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 05:03:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 05:03:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 05:03:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 05:03:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 05:03:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 05:03:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 05:03:15] Production.INFO: ==23656== Releasing lock...
[2025-04-12 05:03:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 05:03:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 05:03:18] Production.INFO: count ==197
[2025-04-12 05:03:18] Production.ERROR: pbx CDR StartTime 2025-04-12 02:03:05 - End Time 2025-04-12 05:03:05
[2025-04-12 05:03:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 05:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889291', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889291', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889291', 'tblTempVendorCDR_20' ) start
[2025-04-12 05:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889291', 'tblTempVendorCDR_20' ) end
[2025-04-12 05:03:18] Production.INFO: ProcessCDR(1,14889291,1,1,2)
[2025-04-12 05:03:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889291,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:03:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889291,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:03:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889291,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:03:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889291,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889291', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889291', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:03:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 05:03:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 05:03:22] Production.INFO: ==23665== Releasing lock...
[2025-04-12 05:03:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 05:03:22] Production.INFO: 29 MB #Memory Used#
[2025-04-12 10:04:01] Production.INFO: ==23721== Lock acquired, processing the job...
[2025-04-12 10:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 10:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 10:04:01] Production.INFO: neon service started
[2025-04-12 10:04:01] Production.INFO: neon service started
[2025-04-12 10:04:01] Production.INFO: ==23721== Releasing lock...
[2025-04-12 10:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 10:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 09:04:01] Production.INFO: ==23725== Lock acquired, processing the job...
[2025-04-12 09:04:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 09:04:01] Production.INFO: ==23725== Releasing lock...
[2025-04-12 09:04:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 09:04:01] Production.INFO: 25 MB #Memory Used#
[2025-04-12 05:04:01] Production.INFO: ==23723== Lock acquired, processing the job...
[2025-04-12 05:04:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 05:04:02] Production.INFO: ==23723== Releasing lock...
[2025-04-12 05:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 05:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 05:04:03] Production.INFO: ==23729== Lock acquired, processing the job...
[2025-04-12 05:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 05:04:03] Production.INFO: ==23731== Lock acquired, processing the job...
[2025-04-12 05:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 05:04:03] Production.INFO: ==23735== Lock acquired, processing the job...
[2025-04-12 05:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 05:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 05:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 05:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 05:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 05:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 05:04:03] Production.INFO: ==23727== Lock acquired, processing the job...
[2025-04-12 05:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 05:04:03] Production.INFO: ==23733== Lock acquired, processing the job...
[2025-04-12 05:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 05:04:03] Production.INFO: ==23737== Lock acquired, processing the job...
[2025-04-12 05:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 05:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 05:04:03] Production.ERROR: done
[2025-04-12 05:04:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 05:04:03] Production.INFO: Account Balance Start.
[2025-04-12 05:04:03] Production.INFO: CreateAllLog Start
[2025-04-12 05:04:03] Production.INFO: ==23729== Releasing lock...
[2025-04-12 05:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 05:04:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 05:04:03] Production.INFO: 117
[2025-04-12 05:04:03] Production.INFO: Date 2025-04-08
[2025-04-12 05:04:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:04:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 05:04:03] Production.INFO: count ==12
[2025-04-12 05:04:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 05:04:03] Production.INFO: count ==23
[2025-04-12 05:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889295') start
[2025-04-12 05:04:03] Production.INFO: Date 2025-04-09
[2025-04-12 05:04:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:04:03] Production.INFO: Date 2025-04-10
[2025-04-12 05:04:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:04:03] Production.ERROR: done
[2025-04-12 05:04:03] Production.INFO: Date 2025-04-11
[2025-04-12 05:04:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:04:03] Production.INFO: Date 2025-04-12
[2025-04-12 05:04:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889295') end
[2025-04-12 05:04:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 05:04:03] Production.INFO: 1
[2025-04-12 05:04:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 05:04:03] Production.INFO: ==23737== Releasing lock...
[2025-04-12 05:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 05:04:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 05:04:04] Production.INFO: Total Charge 0
[2025-04-12 05:04:04] Production.INFO: CreateAllLog End
[2025-04-12 05:04:04] Production.INFO: Account Balance End.
[2025-04-12 05:04:04] Production.ERROR: CronJobId end 12
[2025-04-12 05:04:04] Production.INFO: ==23733== Releasing lock...
[2025-04-12 05:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 05:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 05:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 02:04:05
[end_date_ymd] => 2025-04-12 05:04:05
[RateCDR] => 1
)
[2025-04-12 05:04:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 02:04:05' and `end` < '2025-04-12 05:04:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 05:04:11] Production.ERROR: CronJobId end10
[2025-04-12 05:04:11] Production.INFO: ==23731== Releasing lock...
[2025-04-12 05:04:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 05:04:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 05:04:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 05:04:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 05:04:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 05:04:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 05:04:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 05:04:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 05:04:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 05:04:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 05:04:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 05:04:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 05:04:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 05:04:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 05:04:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 05:04:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 05:04:13] Production.INFO: call_cost start
[2025-04-12 05:04:13] Production.INFO: call_cost end
[2025-04-12 05:04:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 05:04:14] Production.INFO: ============== Report Schedule START===========
[2025-04-12 05:04:14] Production.INFO: ============== Report Schedule END===========
[2025-04-12 05:04:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 05:04:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 05:04:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 05:04:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 05:04:14] Production.INFO: ============== Deal alert START===========
[2025-04-12 05:04:14] Production.INFO: ============== Deal alert END===========
[2025-04-12 05:04:14] Production.INFO: ==23727== Releasing lock...
[2025-04-12 05:04:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 05:04:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 05:04:18] Production.INFO: count ==196
[2025-04-12 05:04:18] Production.ERROR: pbx CDR StartTime 2025-04-12 02:04:05 - End Time 2025-04-12 05:04:05
[2025-04-12 05:04:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 05:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889296', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889296', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889296', 'tblTempVendorCDR_20' ) start
[2025-04-12 05:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889296', 'tblTempVendorCDR_20' ) end
[2025-04-12 05:04:18] Production.INFO: ProcessCDR(1,14889296,1,1,2)
[2025-04-12 05:04:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889296,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:04:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889296,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:04:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889296,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:04:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889296,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889296', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889296', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:04:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 05:04:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 05:04:21] Production.INFO: ==23735== Releasing lock...
[2025-04-12 05:04:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 05:04:21] Production.INFO: 29 MB #Memory Used#
[2025-04-12 10:05:01] Production.INFO: ==23796== Lock acquired, processing the job...
[2025-04-12 10:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 10:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 10:05:01] Production.INFO: neon service started
[2025-04-12 10:05:01] Production.INFO: neon service started
[2025-04-12 10:05:01] Production.INFO: ==23796== Releasing lock...
[2025-04-12 10:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 10:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 05:05:02] Production.INFO: ==23798== Lock acquired, processing the job...
[2025-04-12 05:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 09:05:02] Production.INFO: ==23800== Lock acquired, processing the job...
[2025-04-12 09:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 09:05:02] Production.INFO: ==23800== Releasing lock...
[2025-04-12 09:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 09:05:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 05:05:02] Production.INFO: ==23798== Releasing lock...
[2025-04-12 05:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 05:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 05:05:03] Production.INFO: ==23807== Lock acquired, processing the job...
[2025-04-12 05:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 05:05:03] Production.INFO: ==23809== Lock acquired, processing the job...
[2025-04-12 05:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 05:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 05:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 05:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 05:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 05:05:03] Production.INFO: Account Balance Start.
[2025-04-12 05:05:03] Production.INFO: CreateAllLog Start
[2025-04-12 05:05:03] Production.INFO: 117
[2025-04-12 05:05:03] Production.INFO: Date 2025-04-08
[2025-04-12 05:05:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:05:03] Production.INFO: ==23803== Lock acquired, processing the job...
[2025-04-12 05:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 05:05:03] Production.INFO: Date 2025-04-09
[2025-04-12 05:05:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:05:03] Production.INFO: Date 2025-04-10
[2025-04-12 05:05:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:05:03] Production.INFO: ==23805== Lock acquired, processing the job...
[2025-04-12 05:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 05:05:03] Production.INFO: Date 2025-04-11
[2025-04-12 05:05:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 05:05:03] Production.INFO: Date 2025-04-12
[2025-04-12 05:05:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:05:03] Production.INFO: Total Charge 0
[2025-04-12 05:05:03] Production.INFO: ==23811== Lock acquired, processing the job...
[2025-04-12 05:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 05:05:03] Production.INFO: CreateAllLog End
[2025-04-12 05:05:04] Production.INFO: ==23813== Lock acquired, processing the job...
[2025-04-12 05:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 05:05:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 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-12 05:05:04] Production.INFO: ==23805== Releasing lock...
[2025-04-12 05:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 05:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 05:05:04] Production.INFO: Account Balance End.
[2025-04-12 05:05:04] Production.INFO: count ==12
[2025-04-12 05:05:04] Production.ERROR: CronJobId end 12
[2025-04-12 05:05:04] Production.INFO: ==23809== Releasing lock...
[2025-04-12 05:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 05:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 05:05:04] Production.ERROR: done
[2025-04-12 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-12 05:05:04] Production.INFO: count ==23
[2025-04-12 05:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 05:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889300') start
[2025-04-12 05:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889300') end
[2025-04-12 05:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 05:05:04] Production.INFO: 1
[2025-04-12 05:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 05:05:04] Production.ERROR: done
[2025-04-12 05:05:04] Production.INFO: ==23813== Releasing lock...
[2025-04-12 05:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 05:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 05:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 02:05:05
[end_date_ymd] => 2025-04-12 05:05:05
[RateCDR] => 1
)
[2025-04-12 05:05:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 02:05:05' and `end` < '2025-04-12 05:05:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 05:05:11] Production.ERROR: CronJobId end10
[2025-04-12 05:05:11] Production.INFO: ==23807== Releasing lock...
[2025-04-12 05:05:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 05:05:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 05:05:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 05:05:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 05:05:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 05:05:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 05:05:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 05:05:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 05:05:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 05:05:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 05:05:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 05:05:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 05:05:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 05:05:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 05:05:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 05:05:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 05:05:13] Production.INFO: call_cost start
[2025-04-12 05:05:13] Production.INFO: call_cost end
[2025-04-12 05:05:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 05:05:14] Production.INFO: ============== Report Schedule START===========
[2025-04-12 05:05:14] Production.INFO: ============== Report Schedule END===========
[2025-04-12 05:05:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 05:05:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 05:05:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 05:05:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 05:05:14] Production.INFO: ============== Deal alert START===========
[2025-04-12 05:05:14] Production.INFO: ============== Deal alert END===========
[2025-04-12 05:05:14] Production.INFO: ==23803== Releasing lock...
[2025-04-12 05:05:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 05:05:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 05:05:18] Production.INFO: count ==197
[2025-04-12 05:05:18] Production.ERROR: pbx CDR StartTime 2025-04-12 02:05:05 - End Time 2025-04-12 05:05:05
[2025-04-12 05:05:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 05:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889301', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889301', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889301', 'tblTempVendorCDR_20' ) start
[2025-04-12 05:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889301', 'tblTempVendorCDR_20' ) end
[2025-04-12 05:05:18] Production.INFO: ProcessCDR(1,14889301,1,1,2)
[2025-04-12 05:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889301,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:05:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889301,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:05:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889301,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:05:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889301,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889301', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889301', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:05:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 05:05:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 05:05:22] Production.INFO: ==23811== Releasing lock...
[2025-04-12 05:05:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 05:05:22] Production.INFO: 29 MB #Memory Used#
[2025-04-12 10:06:02] Production.INFO: ==23873== Lock acquired, processing the job...
[2025-04-12 10:06:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 10:06:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 10:06:02] Production.INFO: neon service started
[2025-04-12 10:06:02] Production.INFO: neon service started
[2025-04-12 10:06:02] Production.INFO: ==23873== Releasing lock...
[2025-04-12 10:06:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 10:06:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 05:06:02] Production.INFO: ==23875== Lock acquired, processing the job...
[2025-04-12 05:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 09:06:02] Production.INFO: ==23877== Lock acquired, processing the job...
[2025-04-12 09:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 09:06:02] Production.INFO: ==23877== Releasing lock...
[2025-04-12 09:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 09:06:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 05:06:03] Production.INFO: ==23875== Releasing lock...
[2025-04-12 05:06:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 05:06:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 05:06:03] Production.INFO: ==23880== Lock acquired, processing the job...
[2025-04-12 05:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 05:06:04] Production.INFO: ==23886== Lock acquired, processing the job...
[2025-04-12 05:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 05:06:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 05:06:04] Production.INFO: ==23888== Lock acquired, processing the job...
[2025-04-12 05:06:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 05:06:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 05:06:04] Production.INFO: Account Balance Start.
[2025-04-12 05:06:04] Production.INFO: CreateAllLog Start
[2025-04-12 05:06:04] Production.INFO: 117
[2025-04-12 05:06:04] Production.INFO: Date 2025-04-08
[2025-04-12 05:06:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:06:04] Production.INFO: Date 2025-04-09
[2025-04-12 05:06:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:06:04] Production.INFO: Date 2025-04-10
[2025-04-12 05:06:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:06:04] Production.INFO: Date 2025-04-11
[2025-04-12 05:06:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:06:04] Production.INFO: ==23882== Lock acquired, processing the job...
[2025-04-12 05:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 05:06:04] Production.INFO: Date 2025-04-12
[2025-04-12 05:06:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:06:04] Production.INFO: ==23884== Lock acquired, processing the job...
[2025-04-12 05:06:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 05:06:04] Production.INFO: ==23890== Lock acquired, processing the job...
[2025-04-12 05:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 05:06:04] Production.INFO: Total Charge 0
[2025-04-12 05:06:04] Production.ERROR: done
[2025-04-12 05:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 05:06:04] Production.INFO: ==23882== Releasing lock...
[2025-04-12 05:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 05:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 05:06:04] Production.INFO: CreateAllLog End
[2025-04-12 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-12 05:06:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 05:06:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 05:06:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 05:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 05:06:04] Production.INFO: count ==12
[2025-04-12 05:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 05:06:04] Production.INFO: count ==23
[2025-04-12 05:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889305') start
[2025-04-12 05:06:04] Production.INFO: Account Balance End.
[2025-04-12 05:06:04] Production.ERROR: done
[2025-04-12 05:06:04] Production.ERROR: CronJobId end 12
[2025-04-12 05:06:04] Production.INFO: ==23886== Releasing lock...
[2025-04-12 05:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 05:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 05:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889305') end
[2025-04-12 05:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 05:06:04] Production.INFO: 1
[2025-04-12 05:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 05:06:04] Production.INFO: ==23890== Releasing lock...
[2025-04-12 05:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 05:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 05:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 02:06:05
[end_date_ymd] => 2025-04-12 05:06:05
[RateCDR] => 1
)
[2025-04-12 05:06:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 02:06:05' and `end` < '2025-04-12 05:06:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 05:06:11] Production.ERROR: CronJobId end10
[2025-04-12 05:06:11] Production.INFO: ==23884== Releasing lock...
[2025-04-12 05:06:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 05:06:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 05:06:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 05:06:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 05:06:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 05:06:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 05:06:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 05:06:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 05:06:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 05:06:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 05:06:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 05:06:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 05:06:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 05:06:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 05:06:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 05:06:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 05:06:14] Production.INFO: call_cost start
[2025-04-12 05:06:14] Production.INFO: call_cost end
[2025-04-12 05:06:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 05:06:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 05:06:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 05:06:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 05:06:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 05:06:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 05:06:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 05:06:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 05:06:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 05:06:15] Production.INFO: ==23880== Releasing lock...
[2025-04-12 05:06:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 05:06:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 05:06:19] Production.INFO: count ==200
[2025-04-12 05:06:19] Production.ERROR: pbx CDR StartTime 2025-04-12 02:06:05 - End Time 2025-04-12 05:06:05
[2025-04-12 05:06:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 05:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889306', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889306', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889306', 'tblTempVendorCDR_20' ) start
[2025-04-12 05:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889306', 'tblTempVendorCDR_20' ) end
[2025-04-12 05:06:19] Production.INFO: ProcessCDR(1,14889306,1,1,2)
[2025-04-12 05:06:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889306,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:06:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889306,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:06:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889306,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:06:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889306,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:06:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889306', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:06:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889306', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:06:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 05:06:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 05:06:23] Production.INFO: ==23888== Releasing lock...
[2025-04-12 05:06:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 05:06:23] Production.INFO: 29 MB #Memory Used#
[2025-04-12 10:07:01] Production.INFO: ==23944== Lock acquired, processing the job...
[2025-04-12 10:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 10:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 10:07:01] Production.INFO: neon service started
[2025-04-12 10:07:01] Production.INFO: neon service started
[2025-04-12 10:07:01] Production.INFO: ==23944== Releasing lock...
[2025-04-12 10:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 10:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 09:07:01] Production.INFO: ==23948== Lock acquired, processing the job...
[2025-04-12 09:07:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 09:07:02] Production.INFO: ==23948== Releasing lock...
[2025-04-12 09:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 09:07:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 05:07:02] Production.INFO: ==23946== Lock acquired, processing the job...
[2025-04-12 05:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 05:07:02] Production.INFO: ==23946== Releasing lock...
[2025-04-12 05:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 05:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 05:07:03] Production.INFO: ==23950== Lock acquired, processing the job...
[2025-04-12 05:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 05:07:03] Production.INFO: ==23952== Lock acquired, processing the job...
[2025-04-12 05:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 05:07:03] Production.INFO: ==23954== Lock acquired, processing the job...
[2025-04-12 05:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 05:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 05:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 05:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 05:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 05:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 05:07:03] Production.INFO: ==23956== Lock acquired, processing the job...
[2025-04-12 05:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 05:07:03] Production.INFO: ==23952== Releasing lock...
[2025-04-12 05:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 05:07:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 05:07:03] Production.INFO: ==23960== Lock acquired, processing the job...
[2025-04-12 05:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 05:07:03] Production.INFO: ==23958== Lock acquired, processing the job...
[2025-04-12 05:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 05:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 05:07:03] Production.INFO: Account Balance Start.
[2025-04-12 05:07:03] Production.INFO: CreateAllLog Start
[2025-04-12 05:07:03] Production.INFO: 117
[2025-04-12 05:07:03] Production.INFO: Date 2025-04-08
[2025-04-12 05:07:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:07:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 05:07:03] Production.INFO: Date 2025-04-09
[2025-04-12 05:07:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:07:04] Production.INFO: Date 2025-04-10
[2025-04-12 05:07:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:07:04] Production.INFO: count ==12
[2025-04-12 05:07:04] Production.INFO: Date 2025-04-11
[2025-04-12 05:07:04] Production.INFO: Reseller ==> 0
[2025-04-12 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-12 05:07:04] Production.INFO: count ==23
[2025-04-12 05:07:04] Production.INFO: Date 2025-04-12
[2025-04-12 05:07:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889310') start
[2025-04-12 05:07:04] Production.INFO: Total Charge 0
[2025-04-12 05:07:04] Production.INFO: CreateAllLog End
[2025-04-12 05:07:04] Production.ERROR: done
[2025-04-12 05:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 05:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889310') end
[2025-04-12 05:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 05:07:04] Production.INFO: 1
[2025-04-12 05:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 05:07:04] Production.ERROR: done
[2025-04-12 05:07:04] Production.INFO: ==23960== Releasing lock...
[2025-04-12 05:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 05:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 05:07:04] Production.INFO: Account Balance End.
[2025-04-12 05:07:04] Production.ERROR: CronJobId end 12
[2025-04-12 05:07:04] Production.INFO: ==23956== Releasing lock...
[2025-04-12 05:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 05:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 05:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 02:07:05
[end_date_ymd] => 2025-04-12 05:07:05
[RateCDR] => 1
)
[2025-04-12 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-12 02:07:05' and `end` < '2025-04-12 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-12 05:07:12] Production.ERROR: CronJobId end10
[2025-04-12 05:07:12] Production.INFO: ==23954== Releasing lock...
[2025-04-12 05:07:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 05:07:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 05:07:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 05:07:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 05:07:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 05:07:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 05:07:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 05:07:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 05:07:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 05:07:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 05:07:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 05:07:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 05:07:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 05:07:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 05:07:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 05:07:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 05:07:14] Production.INFO: call_cost start
[2025-04-12 05:07:14] Production.INFO: call_cost end
[2025-04-12 05:07:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 05:07:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 05:07:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 05:07:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 05:07:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 05:07:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 05:07:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 05:07:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 05:07:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 05:07:15] Production.INFO: ==23950== Releasing lock...
[2025-04-12 05:07:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 05:07:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 05:07:19] Production.INFO: count ==200
[2025-04-12 05:07:19] Production.ERROR: pbx CDR StartTime 2025-04-12 02:07:05 - End Time 2025-04-12 05:07:05
[2025-04-12 05:07:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 05:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889311', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889311', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889311', 'tblTempVendorCDR_20' ) start
[2025-04-12 05:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889311', 'tblTempVendorCDR_20' ) end
[2025-04-12 05:07:19] Production.INFO: ProcessCDR(1,14889311,1,1,2)
[2025-04-12 05:07:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889311,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:07:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889311,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:07:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889311,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:07:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889311,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889311', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889311', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:07:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 05:07:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 05:07:22] Production.INFO: ==23958== Releasing lock...
[2025-04-12 05:07:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 05:07:22] Production.INFO: 29 MB #Memory Used#
[2025-04-12 10:08:02] Production.INFO: ==24018== Lock acquired, processing the job...
[2025-04-12 10:08:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 10:08:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 10:08:02] Production.INFO: neon service started
[2025-04-12 10:08:02] Production.INFO: neon service started
[2025-04-12 10:08:02] Production.INFO: ==24018== Releasing lock...
[2025-04-12 10:08:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 10:08:02] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 05:08:02] Production.INFO: ==24020== Lock acquired, processing the job...
[2025-04-12 05:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 05:08:02] Production.INFO: ==24020== Releasing lock...
[2025-04-12 05:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 05:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 09:08:02] Production.INFO: ==24022== Lock acquired, processing the job...
[2025-04-12 09:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 09:08:03] Production.INFO: ==24022== Releasing lock...
[2025-04-12 09:08:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 09:08:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 05:08:03] Production.INFO: ==24025== Lock acquired, processing the job...
[2025-04-12 05:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 05:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 05:08:03] Production.INFO: ==24027== Lock acquired, processing the job...
[2025-04-12 05:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 05:08:03] Production.INFO: ==24031== Lock acquired, processing the job...
[2025-04-12 05:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 05:08:03] Production.INFO: Account Balance Start.
[2025-04-12 05:08:03] Production.INFO: CreateAllLog Start
[2025-04-12 05:08:03] Production.INFO: 117
[2025-04-12 05:08:03] Production.INFO: ==24029== Lock acquired, processing the job...
[2025-04-12 05:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 05:08:03] Production.INFO: Date 2025-04-08
[2025-04-12 05:08:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:08:03] Production.INFO: ==24027== Releasing lock...
[2025-04-12 05:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 05:08:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 05:08:04] Production.INFO: Date 2025-04-09
[2025-04-12 05:08:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:08:04] Production.INFO: ==24035== Lock acquired, processing the job...
[2025-04-12 05:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 05:08:04] Production.INFO: Date 2025-04-10
[2025-04-12 05:08:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:08:04] Production.INFO: Date 2025-04-11
[2025-04-12 05:08:04] Production.INFO: ==24033== Lock acquired, processing the job...
[2025-04-12 05:08:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:08:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 05:08:04] Production.INFO: Date 2025-04-12
[2025-04-12 05:08:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:08:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 05:08:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 05:08:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 05:08:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 05:08:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 05:08:04] Production.INFO: Total Charge 0
[2025-04-12 05:08:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 05:08:04] Production.INFO: count ==12
[2025-04-12 05:08:04] Production.INFO: CreateAllLog End
[2025-04-12 05:08:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 05:08:04] Production.INFO: count ==23
[2025-04-12 05:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889315') start
[2025-04-12 05:08:04] Production.INFO: Account Balance End.
[2025-04-12 05:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889315') end
[2025-04-12 05:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 05:08:04] Production.INFO: 1
[2025-04-12 05:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 05:08:04] Production.ERROR: CronJobId end 12
[2025-04-12 05:08:04] Production.INFO: ==24031== Releasing lock...
[2025-04-12 05:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 05:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 05:08:04] Production.INFO: ==24035== Releasing lock...
[2025-04-12 05:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 05:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 05:08:04] Production.ERROR: done
[2025-04-12 05:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 05:08:04] Production.ERROR: done
[2025-04-12 05:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 02:08:05
[end_date_ymd] => 2025-04-12 05:08:05
[RateCDR] => 1
)
[2025-04-12 05:08:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 02:08:05' and `end` < '2025-04-12 05:08:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 05:08:12] Production.ERROR: CronJobId end10
[2025-04-12 05:08:12] Production.INFO: ==24029== Releasing lock...
[2025-04-12 05:08:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 05:08:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 05:08:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 05:08:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 05:08:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 05:08:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 05:08:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 05:08:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 05:08:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 05:08:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 05:08:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 05:08:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 05:08:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 05:08:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 05:08:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 05:08:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 05:08:13] Production.INFO: call_cost start
[2025-04-12 05:08:13] Production.INFO: call_cost end
[2025-04-12 05:08:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 05:08:14] Production.INFO: ============== Report Schedule START===========
[2025-04-12 05:08:14] Production.INFO: ============== Report Schedule END===========
[2025-04-12 05:08:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 05:08:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 05:08:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 05:08:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 05:08:14] Production.INFO: ============== Deal alert START===========
[2025-04-12 05:08:14] Production.INFO: ============== Deal alert END===========
[2025-04-12 05:08:14] Production.INFO: ==24025== Releasing lock...
[2025-04-12 05:08:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 05:08:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 05:08:18] Production.INFO: count ==200
[2025-04-12 05:08:18] Production.ERROR: pbx CDR StartTime 2025-04-12 02:08:05 - End Time 2025-04-12 05:08:05
[2025-04-12 05:08:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 05:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889316', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889316', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889316', 'tblTempVendorCDR_20' ) start
[2025-04-12 05:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889316', 'tblTempVendorCDR_20' ) end
[2025-04-12 05:08:18] Production.INFO: ProcessCDR(1,14889316,1,1,2)
[2025-04-12 05:08:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889316,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:08:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889316,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:08:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889316,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:08:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889316,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889316', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889316', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:08:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 05:08:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 05:08:22] Production.INFO: ==24033== Releasing lock...
[2025-04-12 05:08:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 05:08:22] Production.INFO: 29 MB #Memory Used#
[2025-04-12 10:09:01] Production.INFO: ==24089== Lock acquired, processing the job...
[2025-04-12 10:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 10:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 10:09:01] Production.INFO: neon service started
[2025-04-12 10:09:01] Production.INFO: neon service started
[2025-04-12 10:09:01] Production.INFO: ==24089== Releasing lock...
[2025-04-12 10:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 10:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 09:09:01] Production.INFO: ==24093== Lock acquired, processing the job...
[2025-04-12 09:09:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 09:09:01] Production.INFO: ==24093== Releasing lock...
[2025-04-12 09:09:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 09:09:01] Production.INFO: 25 MB #Memory Used#
[2025-04-12 05:09:02] Production.INFO: ==24091== Lock acquired, processing the job...
[2025-04-12 05:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 05:09:02] Production.INFO: ==24091== Releasing lock...
[2025-04-12 05:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 05:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 05:09:03] Production.INFO: ==24100== Lock acquired, processing the job...
[2025-04-12 05:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 05:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 05:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 05:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 05:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 05:09:03] Production.INFO: ==24104== Lock acquired, processing the job...
[2025-04-12 05:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 05:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 05:09:03] Production.INFO: ==24098== Lock acquired, processing the job...
[2025-04-12 05:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 05:09:03] Production.INFO: ==24096== Lock acquired, processing the job...
[2025-04-12 05:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 05:09:03] Production.INFO: ==24102== Lock acquired, processing the job...
[2025-04-12 05:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 05:09:03] Production.INFO: ==24106== Lock acquired, processing the job...
[2025-04-12 05:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 05:09:03] Production.INFO: Account Balance Start.
[2025-04-12 05:09:03] Production.INFO: CreateAllLog Start
[2025-04-12 05:09:03] Production.INFO: 117
[2025-04-12 05:09:03] Production.INFO: Date 2025-04-08
[2025-04-12 05:09:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 05:09:03] Production.ERROR: done
[2025-04-12 05:09:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 05:09:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 05:09:03] Production.INFO: Date 2025-04-09
[2025-04-12 05:09:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:09:03] Production.INFO: count ==12
[2025-04-12 05:09:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 05:09:03] Production.INFO: count ==23
[2025-04-12 05:09:03] Production.INFO: Date 2025-04-10
[2025-04-12 05:09:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889318') start
[2025-04-12 05:09:04] Production.INFO: ==24098== Releasing lock...
[2025-04-12 05:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 05:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 05:09:04] Production.ERROR: done
[2025-04-12 05:09:04] Production.INFO: Date 2025-04-11
[2025-04-12 05:09:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:09:04] Production.INFO: Date 2025-04-12
[2025-04-12 05:09:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889318') end
[2025-04-12 05:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 05:09:04] Production.INFO: 1
[2025-04-12 05:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 05:09:04] Production.INFO: Total Charge 0
[2025-04-12 05:09:04] Production.INFO: ==24106== Releasing lock...
[2025-04-12 05:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 05:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 05:09:04] Production.INFO: CreateAllLog End
[2025-04-12 05:09:04] Production.INFO: Account Balance End.
[2025-04-12 05:09:04] Production.ERROR: CronJobId end 12
[2025-04-12 05:09:04] Production.INFO: ==24102== Releasing lock...
[2025-04-12 05:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 05:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 05:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 02:09:05
[end_date_ymd] => 2025-04-12 05:09:05
[RateCDR] => 1
)
[2025-04-12 05:09:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 02:09:05' and `end` < '2025-04-12 05:09:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 05:09:10] Production.ERROR: CronJobId end10
[2025-04-12 05:09:10] Production.INFO: ==24100== Releasing lock...
[2025-04-12 05:09:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 05:09:10] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 05:09:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 05:09:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 05:09:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 05:09:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 05:09:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 05:09:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 05:09:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 05:09:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 05:09:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 05:09:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 05:09:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 05:09:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 05:09:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 05:09:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 05:09:14] Production.INFO: call_cost start
[2025-04-12 05:09:14] Production.INFO: call_cost end
[2025-04-12 05:09:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 05:09:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 05:09:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 05:09:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 05:09:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 05:09:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 05:09:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 05:09:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 05:09:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 05:09:15] Production.INFO: ==24096== Releasing lock...
[2025-04-12 05:09:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 05:09:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 05:09:18] Production.INFO: count ==200
[2025-04-12 05:09:18] Production.ERROR: pbx CDR StartTime 2025-04-12 02:09:05 - End Time 2025-04-12 05:09:05
[2025-04-12 05:09:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 05:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889321', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889321', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889321', 'tblTempVendorCDR_20' ) start
[2025-04-12 05:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889321', 'tblTempVendorCDR_20' ) end
[2025-04-12 05:09:18] Production.INFO: ProcessCDR(1,14889321,1,1,2)
[2025-04-12 05:09:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889321,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:09:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889321,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:09:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889321,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:09:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889321,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889321', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889321', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:09:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 05:09:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 05:09:21] Production.INFO: ==24104== Releasing lock...
[2025-04-12 05:09:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 05:09:21] Production.INFO: 29 MB #Memory Used#
[2025-04-12 10:10:01] Production.INFO: ==24161== Lock acquired, processing the job...
[2025-04-12 10:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 10:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 10:10:01] Production.INFO: neon service started
[2025-04-12 10:10:01] Production.INFO: neon service started
[2025-04-12 10:10:01] Production.INFO: ==24161== Releasing lock...
[2025-04-12 10:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 10:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 09:10:02] Production.INFO: ==24165== Lock acquired, processing the job...
[2025-04-12 09:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 09:10:02] Production.INFO: ==24165== Releasing lock...
[2025-04-12 09:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 09:10:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 05:10:02] Production.INFO: ==24163== Lock acquired, processing the job...
[2025-04-12 05:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 05:10:02] Production.INFO: ==24163== Releasing lock...
[2025-04-12 05:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 05:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 05:10:04] Production.INFO: ==24167== Lock acquired, processing the job...
[2025-04-12 05:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 05:10:04] Production.INFO: ==24176== Lock acquired, processing the job...
[2025-04-12 05:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 05:10:04] Production.INFO: ==24169== Lock acquired, processing the job...
[2025-04-12 05:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 05:10:04] Production.INFO: ==24178== Lock acquired, processing the job...
[2025-04-12 05:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 05:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 05:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 05:10:04] Production.INFO: ==24167== Releasing lock...
[2025-04-12 05:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 05:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 05:10:04] Production.INFO: Account Balance Start.
[2025-04-12 05:10:04] Production.INFO: CreateAllLog Start
[2025-04-12 05:10:04] Production.INFO: ==24182== Lock acquired, processing the job...
[2025-04-12 05:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 05:10:04] Production.INFO: ==24171== Lock acquired, processing the job...
[2025-04-12 05:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 05:10:04] Production.INFO: 117
[2025-04-12 05:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 05:10:04] Production.INFO: Date 2025-04-08
[2025-04-12 05:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 05:10:04] Production.INFO: ==24173== Lock acquired, processing the job...
[2025-04-12 05:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 05:10:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:10:04] Production.INFO: Date 2025-04-09
[2025-04-12 05:10:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:10:04] Production.INFO: ==24180== Lock acquired, processing the job...
[2025-04-12 05:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 05:10:04] Production.INFO: Date 2025-04-10
[2025-04-12 05:10:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:10:04] Production.INFO: Date 2025-04-11
[2025-04-12 05:10:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:10:04] Production.INFO: Date 2025-04-12
[2025-04-12 05:10:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 05:10:04] Production.INFO: Total Charge 0
[2025-04-12 05:10:04] Production.INFO: CreateAllLog End
[2025-04-12 05:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 05:10:04] Production.INFO: count ==12
[2025-04-12 05:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 05:10:04] Production.INFO: count ==23
[2025-04-12 05:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889325') start
[2025-04-12 05:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 05:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 05:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 05:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 05:10:04] Production.ERROR: done
[2025-04-12 05:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 05:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889325') end
[2025-04-12 05:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 05:10:04] Production.INFO: 1
[2025-04-12 05:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 05:10:04] Production.INFO: ==24171== Releasing lock...
[2025-04-12 05:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 05:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 05:10:04] Production.ERROR: done
[2025-04-12 05:10:04] Production.INFO: ==24182== Releasing lock...
[2025-04-12 05:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 05:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 05:10:05] Production.ERROR: done
[2025-04-12 05:10:05] Production.INFO: Account Balance End.
[2025-04-12 05:10:05] Production.ERROR: CronJobId end 12
[2025-04-12 05:10:05] Production.INFO: ==24176== Releasing lock...
[2025-04-12 05:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 05:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 05:10:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 05:10:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14889327', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 05:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 02:10:06
[end_date_ymd] => 2025-04-12 05:10:06
[RateCDR] => 1
)
[2025-04-12 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-12 02:10:06' and `end` < '2025-04-12 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-12 05:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14889327', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 05:10:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 05:10:09] Production.INFO: ProcessCDR(1,14889327,1,1,2)
[2025-04-12 05:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14889327,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14889327,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 05:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 05:10:09] Production.INFO: ==24180== Releasing lock...
[2025-04-12 05:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 05:10:09] Production.INFO: 26 MB #Memory Used#
[2025-04-12 05:10:15] Production.ERROR: CronJobId end10
[2025-04-12 05:10:15] Production.INFO: ==24173== Releasing lock...
[2025-04-12 05:10:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 05:10:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 05:10:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 05:10:16] Production.INFO: ============== Balance Warning START===========
[2025-04-12 05:10:16] Production.INFO: ============== Balance Warning END===========
[2025-04-12 05:10:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 05:10:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 05:10:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 05:10:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 05:10:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 05:10:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 05:10:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 05:10:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 05:10:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 05:10:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 05:10:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 05:10:17] Production.INFO: call_cost start
[2025-04-12 05:10:17] Production.INFO: call_cost end
[2025-04-12 05:10:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 05:10:18] Production.INFO: ============== Report Schedule START===========
[2025-04-12 05:10:18] Production.INFO: ============== Report Schedule END===========
[2025-04-12 05:10:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 05:10:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 05:10:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 05:10:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 05:10:18] Production.INFO: ============== Deal alert START===========
[2025-04-12 05:10:18] Production.INFO: ============== Deal alert END===========
[2025-04-12 05:10:18] Production.INFO: ==24169== Releasing lock...
[2025-04-12 05:10:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 05:10:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 05:10:19] Production.INFO: count ==200
[2025-04-12 05:10:19] Production.ERROR: pbx CDR StartTime 2025-04-12 02:10:06 - End Time 2025-04-12 05:10:06
[2025-04-12 05:10:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 05:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889326', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889326', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889326', 'tblTempVendorCDR_20' ) start
[2025-04-12 05:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889326', 'tblTempVendorCDR_20' ) end
[2025-04-12 05:10:19] Production.INFO: ProcessCDR(1,14889326,1,1,2)
[2025-04-12 05:10:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889326,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:10:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889326,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:10:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889326,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:10:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889326,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889326', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889326', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:10:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 05:10:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 05:10:22] Production.INFO: ==24178== Releasing lock...
[2025-04-12 05:10:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 05:10:22] Production.INFO: 29 MB #Memory Used#
[2025-04-12 10:11:01] Production.INFO: ==24235== Lock acquired, processing the job...
[2025-04-12 10:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 10:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 10:11:01] Production.INFO: neon service started
[2025-04-12 10:11:01] Production.INFO: neon service started
[2025-04-12 10:11:01] Production.INFO: ==24235== Releasing lock...
[2025-04-12 10:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 10:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 09:11:01] Production.INFO: ==24239== Lock acquired, processing the job...
[2025-04-12 09:11:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 09:11:01] Production.INFO: ==24239== Releasing lock...
[2025-04-12 09:11:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 09:11:01] Production.INFO: 25 MB #Memory Used#
[2025-04-12 05:11:01] Production.INFO: ==24237== Lock acquired, processing the job...
[2025-04-12 05:11:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 05:11:02] Production.INFO: ==24237== Releasing lock...
[2025-04-12 05:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 05:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 05:11:02] Production.INFO: ==24243== Lock acquired, processing the job...
[2025-04-12 05:11:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 05:11:02] Production.INFO: ==24245== Lock acquired, processing the job...
[2025-04-12 05:11:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 05:11:03] Production.INFO: ==24249== Lock acquired, processing the job...
[2025-04-12 05:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 05:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 05:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 05:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 05:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 05:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 05:11:03] Production.INFO: ==24241== Lock acquired, processing the job...
[2025-04-12 05:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 05:11:03] Production.INFO: ==24243== Releasing lock...
[2025-04-12 05:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 05:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 05:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 05:11:03] Production.INFO: ==24247== Lock acquired, processing the job...
[2025-04-12 05:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 05:11:03] Production.ERROR: done
[2025-04-12 05:11:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 05:11:03] Production.INFO: ==24251== Lock acquired, processing the job...
[2025-04-12 05:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 05:11:03] Production.ERROR: done
[2025-04-12 05:11:03] Production.INFO: Account Balance Start.
[2025-04-12 05:11:03] Production.INFO: CreateAllLog Start
[2025-04-12 05:11:03] Production.INFO: 117
[2025-04-12 05:11:03] Production.INFO: Date 2025-04-08
[2025-04-12 05:11:03] Production.INFO: Reseller ==> 0
[2025-04-12 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-12 05:11:03] Production.INFO: Date 2025-04-09
[2025-04-12 05:11:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:11:03] Production.INFO: count ==12
[2025-04-12 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-12 05:11:03] Production.INFO: count ==23
[2025-04-12 05:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889332') start
[2025-04-12 05:11:03] Production.INFO: Date 2025-04-10
[2025-04-12 05:11:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:11:03] Production.INFO: Date 2025-04-11
[2025-04-12 05:11:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889332') end
[2025-04-12 05:11:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 05:11:03] Production.INFO: 1
[2025-04-12 05:11:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 05:11:03] Production.INFO: Date 2025-04-12
[2025-04-12 05:11:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:11:03] Production.INFO: Total Charge 0
[2025-04-12 05:11:03] Production.INFO: CreateAllLog End
[2025-04-12 05:11:03] Production.INFO: ==24251== Releasing lock...
[2025-04-12 05:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 05:11:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 05:11:03] Production.INFO: Account Balance End.
[2025-04-12 05:11:04] Production.ERROR: CronJobId end 12
[2025-04-12 05:11:04] Production.INFO: ==24247== Releasing lock...
[2025-04-12 05:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 05:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 05:11:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 02:11:04
[end_date_ymd] => 2025-04-12 05:11:04
[RateCDR] => 1
)
[2025-04-12 05: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-12 02:11:04' and `end` < '2025-04-12 05: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-12 05:11:11] Production.ERROR: CronJobId end10
[2025-04-12 05:11:11] Production.INFO: ==24245== Releasing lock...
[2025-04-12 05:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 05:11:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 05:11:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 05:11:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 05:11:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 05:11:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 05:11:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 05:11:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 05:11:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 05:11:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 05:11:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 05:11:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 05:11:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 05:11:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 05:11:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 05:11:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 05:11:14] Production.INFO: call_cost start
[2025-04-12 05:11:14] Production.INFO: call_cost end
[2025-04-12 05:11:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 05:11:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 05:11:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 05:11:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 05:11:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 05:11:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 05:11:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 05:11:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 05:11:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 05:11:15] Production.INFO: ==24241== Releasing lock...
[2025-04-12 05:11:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 05:11:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 05:11:17] Production.INFO: count ==197
[2025-04-12 05:11:17] Production.ERROR: pbx CDR StartTime 2025-04-12 02:11:04 - End Time 2025-04-12 05:11:04
[2025-04-12 05:11:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 05:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889331', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889331', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889331', 'tblTempVendorCDR_20' ) start
[2025-04-12 05:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889331', 'tblTempVendorCDR_20' ) end
[2025-04-12 05:11:17] Production.INFO: ProcessCDR(1,14889331,1,1,2)
[2025-04-12 05:11:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889331,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:11:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889331,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:11:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889331,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:11:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889331,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:11:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889331', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:11:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889331', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:11:20] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 05:11:20] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 05:11:20] Production.INFO: ==24249== Releasing lock...
[2025-04-12 05:11:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 05:11:20] Production.INFO: 29 MB #Memory Used#
[2025-04-12 10:12:01] Production.INFO: ==24314== Lock acquired, processing the job...
[2025-04-12 10:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 10:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 10:12:01] Production.INFO: neon service started
[2025-04-12 10:12:01] Production.INFO: neon service started
[2025-04-12 10:12:01] Production.INFO: ==24314== Releasing lock...
[2025-04-12 10:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 10:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 05:12:02] Production.INFO: ==24318== Lock acquired, processing the job...
[2025-04-12 05:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 05:12:02] Production.INFO: ==24318== Releasing lock...
[2025-04-12 05:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 05:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 09:12:02] Production.INFO: ==24320== Lock acquired, processing the job...
[2025-04-12 09:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 09:12:02] Production.INFO: ==24320== Releasing lock...
[2025-04-12 09:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 09:12:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 05:12:03] Production.INFO: ==24330== Lock acquired, processing the job...
[2025-04-12 05:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 05:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 05:12:03] Production.INFO: ==24333== Lock acquired, processing the job...
[2025-04-12 05:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 05:12:03] Production.INFO: ==24322== Lock acquired, processing the job...
[2025-04-12 05:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 05:12:03] Production.INFO: ==24324== Lock acquired, processing the job...
[2025-04-12 05:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 05:12:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 05:12:03] Production.INFO: ==24326== Lock acquired, processing the job...
[2025-04-12 05:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 05:12:03] Production.INFO: ==24328== Lock acquired, processing the job...
[2025-04-12 05:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 05:12:03] Production.INFO: count ==12
[2025-04-12 05:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 05:12:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 05:12:03] Production.INFO: count ==23
[2025-04-12 05:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 05:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 05:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 05:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 05:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889333') start
[2025-04-12 05:12:04] Production.INFO: Account Balance Start.
[2025-04-12 05:12:04] Production.INFO: CreateAllLog Start
[2025-04-12 05:12:04] Production.INFO: 117
[2025-04-12 05:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889333') end
[2025-04-12 05:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 05:12:04] Production.INFO: 1
[2025-04-12 05:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 05:12:04] Production.INFO: Date 2025-04-08
[2025-04-12 05:12:04] Production.ERROR: done
[2025-04-12 05:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 05:12:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:12:04] Production.INFO: Date 2025-04-09
[2025-04-12 05:12:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:12:04] Production.INFO: Date 2025-04-10
[2025-04-12 05:12:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:12:04] Production.INFO: Date 2025-04-11
[2025-04-12 05:12:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:12:04] Production.INFO: Date 2025-04-12
[2025-04-12 05:12:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:12:04] Production.INFO: Total Charge 0
[2025-04-12 05:12:04] Production.INFO: CreateAllLog End
[2025-04-12 05:12:04] Production.INFO: ==24333== Releasing lock...
[2025-04-12 05:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 05:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 05:12:04] Production.ERROR: done
[2025-04-12 05:12:04] Production.INFO: ==24324== Releasing lock...
[2025-04-12 05:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 05:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 05:12:04] Production.INFO: Account Balance End.
[2025-04-12 05:12:04] Production.ERROR: CronJobId end 12
[2025-04-12 05:12:04] Production.INFO: ==24328== Releasing lock...
[2025-04-12 05:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 05:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 05:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 02:12:05
[end_date_ymd] => 2025-04-12 05:12:05
[RateCDR] => 1
)
[2025-04-12 05:12:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 02:12:05' and `end` < '2025-04-12 05:12:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 05:12: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-12 05:12:11] Production.ERROR: CronJobId end10
[2025-04-12 05:12:11] Production.INFO: ==24326== Releasing lock...
[2025-04-12 05:12:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 05:12:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 05:12:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 05:12:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 05:12:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 05:12:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 05:12:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 05:12:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 05:12:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 05:12:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 05:12:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 05:12:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 05:12:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 05:12:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 05:12:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 05:12:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 05:12:14] Production.INFO: call_cost start
[2025-04-12 05:12:14] Production.INFO: call_cost end
[2025-04-12 05:12:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 05:12:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 05:12:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 05:12:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 05:12:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 05:12:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 05:12:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 05:12:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 05:12:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 05:12:15] Production.INFO: ==24322== Releasing lock...
[2025-04-12 05:12:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 05:12:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 05:12:18] Production.INFO: count ==197
[2025-04-12 05:12:18] Production.ERROR: pbx CDR StartTime 2025-04-12 02:12:05 - End Time 2025-04-12 05:12:05
[2025-04-12 05:12:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 05:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889337', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889337', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889337', 'tblTempVendorCDR_20' ) start
[2025-04-12 05:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889337', 'tblTempVendorCDR_20' ) end
[2025-04-12 05:12:18] Production.INFO: ProcessCDR(1,14889337,1,1,2)
[2025-04-12 05:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889337,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:12:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889337,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:12:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889337,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:12:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889337,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889337', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889337', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:12:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 05:12:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 05:12:21] Production.INFO: ==24330== Releasing lock...
[2025-04-12 05:12:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 05:12:21] Production.INFO: 29 MB #Memory Used#
[2025-04-12 10:13:02] Production.INFO: ==24388== Lock acquired, processing the job...
[2025-04-12 10:13:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 10:13:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 10:13:02] Production.INFO: neon service started
[2025-04-12 10:13:02] Production.INFO: neon service started
[2025-04-12 10:13:02] Production.INFO: ==24388== Releasing lock...
[2025-04-12 10:13:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 10:13:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 09:13:02] Production.INFO: ==24392== Lock acquired, processing the job...
[2025-04-12 09:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 09:13:02] Production.INFO: ==24392== Releasing lock...
[2025-04-12 09:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 09:13:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 05:13:03] Production.INFO: ==24390== Lock acquired, processing the job...
[2025-04-12 05:13:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 05:13:03] Production.INFO: ==24390== Releasing lock...
[2025-04-12 05:13:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 05:13:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 05:13:04] Production.INFO: ==24395== Lock acquired, processing the job...
[2025-04-12 05:13:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 05:13:04] Production.INFO: ==24405== Lock acquired, processing the job...
[2025-04-12 05:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 05:13:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 05:13:04] Production.INFO: ==24397== Lock acquired, processing the job...
[2025-04-12 05:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 05:13:04] Production.INFO: ==24399== Lock acquired, processing the job...
[2025-04-12 05:13:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 05:13:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 05:13:04] Production.INFO: ==24403== Lock acquired, processing the job...
[2025-04-12 05:13:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 05:13:04] Production.INFO: ==24401== Lock acquired, processing the job...
[2025-04-12 05:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 05:13:04] Production.INFO: count ==12
[2025-04-12 05:13:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 05:13:04] Production.INFO: count ==23
[2025-04-12 05:13:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 05:13:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 05:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889339') start
[2025-04-12 05:13:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 05:13:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 05:13:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 05:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889339') end
[2025-04-12 05:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 05:13:04] Production.INFO: 1
[2025-04-12 05:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 05:13:04] Production.INFO: Account Balance Start.
[2025-04-12 05:13:04] Production.INFO: CreateAllLog Start
[2025-04-12 05:13:04] Production.INFO: 117
[2025-04-12 05:13:04] Production.INFO: Date 2025-04-08
[2025-04-12 05:13:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:13:04] Production.INFO: Date 2025-04-09
[2025-04-12 05:13:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:13:04] Production.INFO: ==24405== Releasing lock...
[2025-04-12 05:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 05:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 05:13:04] Production.INFO: Date 2025-04-10
[2025-04-12 05:13:04] Production.INFO: ==24397== Releasing lock...
[2025-04-12 05:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 05:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 05:13:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:13:04] Production.INFO: Date 2025-04-11
[2025-04-12 05:13:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:13:05] Production.INFO: Date 2025-04-12
[2025-04-12 05:13:05] Production.INFO: Reseller ==> 0
[2025-04-12 05:13:05] Production.INFO: Total Charge 0
[2025-04-12 05:13:05] Production.INFO: CreateAllLog End
[2025-04-12 05:13:05] Production.ERROR: done
[2025-04-12 05:13:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 05:13:05] Production.ERROR: done
[2025-04-12 05:13:05] Production.INFO: Account Balance End.
[2025-04-12 05:13:05] Production.ERROR: CronJobId end 12
[2025-04-12 05:13:05] Production.INFO: ==24401== Releasing lock...
[2025-04-12 05:13:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 05:13:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 05:13:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 02:13:06
[end_date_ymd] => 2025-04-12 05:13:06
[RateCDR] => 1
)
[2025-04-12 05: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-12 02:13:06' and `end` < '2025-04-12 05: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-12 05:13:11] Production.ERROR: CronJobId end10
[2025-04-12 05:13:11] Production.INFO: ==24399== Releasing lock...
[2025-04-12 05:13:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 05:13:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 05:13:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 05:13:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 05:13:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 05:13:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 05:13:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 05:13:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 05:13:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 05:13:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 05:13:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 05:13:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 05:13:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 05:13:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 05:13:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 05:13:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 05:13:14] Production.INFO: call_cost start
[2025-04-12 05:13:14] Production.INFO: call_cost end
[2025-04-12 05:13:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 05:13:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 05:13:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 05:13:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 05:13:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 05:13:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 05:13:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 05:13:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 05:13:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 05:13:15] Production.INFO: ==24395== Releasing lock...
[2025-04-12 05:13:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 05:13:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 05:13:18] Production.INFO: count ==197
[2025-04-12 05:13:18] Production.ERROR: pbx CDR StartTime 2025-04-12 02:13:06 - End Time 2025-04-12 05:13:06
[2025-04-12 05:13:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 05:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889342', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889342', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889342', 'tblTempVendorCDR_20' ) start
[2025-04-12 05:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889342', 'tblTempVendorCDR_20' ) end
[2025-04-12 05:13:18] Production.INFO: ProcessCDR(1,14889342,1,1,2)
[2025-04-12 05:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889342,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:13:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889342,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:13:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889342,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:13:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889342,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889342', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889342', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:13:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 05:13:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 05:13:22] Production.INFO: ==24403== Releasing lock...
[2025-04-12 05:13:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 05:13:22] Production.INFO: 29 MB #Memory Used#
[2025-04-12 10:14:01] Production.INFO: ==24460== Lock acquired, processing the job...
[2025-04-12 10:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 10:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 10:14:02] Production.INFO: neon service started
[2025-04-12 10:14:02] Production.INFO: neon service started
[2025-04-12 10:14:02] Production.INFO: ==24460== Releasing lock...
[2025-04-12 10:14:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 10:14:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 05:14:02] Production.INFO: ==24462== Lock acquired, processing the job...
[2025-04-12 05:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 09:14:02] Production.INFO: ==24464== Lock acquired, processing the job...
[2025-04-12 09:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 09:14:02] Production.INFO: ==24464== Releasing lock...
[2025-04-12 09:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 09:14:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 05:14:02] Production.INFO: ==24462== Releasing lock...
[2025-04-12 05:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 05:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 05:14:03] Production.INFO: ==24469== Lock acquired, processing the job...
[2025-04-12 05:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 05:14:03] Production.INFO: ==24477== Lock acquired, processing the job...
[2025-04-12 05:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 05:14:03] Production.INFO: ==24467== Lock acquired, processing the job...
[2025-04-12 05:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 05:14:03] Production.INFO: ==24471== Lock acquired, processing the job...
[2025-04-12 05:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 05:14:03] Production.INFO: ==24473== Lock acquired, processing the job...
[2025-04-12 05:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 05:14:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 05:14:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 05:14:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 05:14:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 05:14:04] Production.INFO: ==24475== Lock acquired, processing the job...
[2025-04-12 05:14:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 05:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 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-12 05:14:04] Production.INFO: ==24469== Releasing lock...
[2025-04-12 05:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 05:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 05:14:04] Production.INFO: count ==12
[2025-04-12 05:14:04] Production.INFO: Account Balance Start.
[2025-04-12 05:14:04] Production.INFO: CreateAllLog Start
[2025-04-12 05:14:04] Production.INFO: 117
[2025-04-12 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-12 05:14:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 05:14:04] Production.INFO: count ==23
[2025-04-12 05:14:04] Production.INFO: Date 2025-04-08
[2025-04-12 05:14:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889344') start
[2025-04-12 05:14:04] Production.INFO: Date 2025-04-09
[2025-04-12 05:14:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:14:04] Production.INFO: Date 2025-04-10
[2025-04-12 05:14:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:14:04] Production.INFO: Date 2025-04-11
[2025-04-12 05:14:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:14:04] Production.INFO: Date 2025-04-12
[2025-04-12 05:14:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:14:04] Production.INFO: Total Charge 0
[2025-04-12 05:14:04] Production.INFO: CreateAllLog End
[2025-04-12 05:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889344') end
[2025-04-12 05:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 05:14:04] Production.INFO: 1
[2025-04-12 05:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 05:14:04] Production.INFO: ==24477== Releasing lock...
[2025-04-12 05:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 05:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 05:14:04] Production.ERROR: done
[2025-04-12 05:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 05:14:04] Production.INFO: Account Balance End.
[2025-04-12 05:14:04] Production.ERROR: done
[2025-04-12 05:14:04] Production.ERROR: CronJobId end 12
[2025-04-12 05:14:04] Production.INFO: ==24473== Releasing lock...
[2025-04-12 05:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 05:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 05:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 02:14:05
[end_date_ymd] => 2025-04-12 05:14:05
[RateCDR] => 1
)
[2025-04-12 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-12 02:14:05' and `end` < '2025-04-12 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-12 05:14:11] Production.ERROR: CronJobId end10
[2025-04-12 05:14:11] Production.INFO: ==24471== Releasing lock...
[2025-04-12 05:14:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 05:14:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 05:14:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 05:14:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 05:14:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 05:14:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 05:14:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 05:14:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 05:14:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 05:14:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 05:14:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 05:14:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 05:14:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 05:14:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 05:14:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 05:14:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 05:14:14] Production.INFO: call_cost start
[2025-04-12 05:14:14] Production.INFO: call_cost end
[2025-04-12 05:14:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 05:14:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 05:14:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 05:14:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 05:14:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 05:14:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 05:14:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 05:14:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 05:14:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 05:14:15] Production.INFO: ==24467== Releasing lock...
[2025-04-12 05:14:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 05:14:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 05:14:18] Production.INFO: count ==197
[2025-04-12 05:14:18] Production.ERROR: pbx CDR StartTime 2025-04-12 02:14:05 - End Time 2025-04-12 05:14:05
[2025-04-12 05:14:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 05:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889347', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889347', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889347', 'tblTempVendorCDR_20' ) start
[2025-04-12 05:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889347', 'tblTempVendorCDR_20' ) end
[2025-04-12 05:14:18] Production.INFO: ProcessCDR(1,14889347,1,1,2)
[2025-04-12 05:14:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889347,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:14:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889347,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:14:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889347,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:14:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889347,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889347', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889347', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:14:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 05:14:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 05:14:21] Production.INFO: ==24475== Releasing lock...
[2025-04-12 05:14:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 05:14:21] Production.INFO: 29 MB #Memory Used#
[2025-04-12 10:15:01] Production.INFO: ==24531== Lock acquired, processing the job...
[2025-04-12 10:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 10:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 10:15:01] Production.INFO: neon service started
[2025-04-12 10:15:01] Production.INFO: neon service started
[2025-04-12 10:15:01] Production.INFO: ==24531== Releasing lock...
[2025-04-12 10:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 10:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 05:15:01] Production.INFO: ==24533== Lock acquired, processing the job...
[2025-04-12 05:15:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 05:15:02] Production.INFO: ==24533== Releasing lock...
[2025-04-12 05:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 05:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 09:15:02] Production.INFO: ==24535== Lock acquired, processing the job...
[2025-04-12 09:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 09:15:02] Production.INFO: ==24535== Releasing lock...
[2025-04-12 09:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 09:15:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 05:15:03] Production.INFO: ==24540== Lock acquired, processing the job...
[2025-04-12 05:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 05:15:03] Production.INFO: ==24538== Lock acquired, processing the job...
[2025-04-12 05:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 05:15:03] Production.INFO: ==24542== Lock acquired, processing the job...
[2025-04-12 05:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 05:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 05:15:03] Production.INFO: ==24544== Lock acquired, processing the job...
[2025-04-12 05:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 05:15:03] Production.INFO: ==24548== Lock acquired, processing the job...
[2025-04-12 05:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 05:15:03] Production.INFO: ==24546== Lock acquired, processing the job...
[2025-04-12 05:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 05:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 05:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 05:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 05:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 05:15:03] Production.INFO: Account Balance Start.
[2025-04-12 05:15:03] Production.INFO: CreateAllLog Start
[2025-04-12 05:15:03] Production.INFO: 117
[2025-04-12 05:15:03] Production.INFO: Date 2025-04-08
[2025-04-12 05:15:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 05:15:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 05:15:03] Production.INFO: count ==12
[2025-04-12 05:15:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 05:15:03] Production.INFO: Date 2025-04-09
[2025-04-12 05:15:03] Production.INFO: count ==23
[2025-04-12 05:15:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889351') start
[2025-04-12 05:15:03] Production.INFO: Date 2025-04-10
[2025-04-12 05:15:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:15:03] Production.INFO: Date 2025-04-11
[2025-04-12 05:15:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:15:03] Production.INFO: Date 2025-04-12
[2025-04-12 05:15:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:15:03] Production.INFO: ==24540== Releasing lock...
[2025-04-12 05:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 05:15:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 05:15:03] Production.INFO: Total Charge 0
[2025-04-12 05:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889351') end
[2025-04-12 05:15:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 05:15:03] Production.INFO: 1
[2025-04-12 05:15:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 05:15:03] Production.INFO: CreateAllLog End
[2025-04-12 05:15:03] Production.INFO: ==24548== Releasing lock...
[2025-04-12 05:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 05:15:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 05:15:03] Production.ERROR: done
[2025-04-12 05:15:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 05:15:03] Production.ERROR: done
[2025-04-12 05:15:03] Production.INFO: Account Balance End.
[2025-04-12 05:15:03] Production.ERROR: CronJobId end 12
[2025-04-12 05:15:03] Production.INFO: ==24544== Releasing lock...
[2025-04-12 05:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 05:15:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 05:15:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 02:15:04
[end_date_ymd] => 2025-04-12 05:15:04
[RateCDR] => 1
)
[2025-04-12 05:15:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 02:15:04' and `end` < '2025-04-12 05:15:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 05:15:10] Production.ERROR: CronJobId end10
[2025-04-12 05:15:10] Production.INFO: ==24542== Releasing lock...
[2025-04-12 05:15:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 05:15:10] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 05:15:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 05:15:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 05:15:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 05:15:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 05:15:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 05:15:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 05:15:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 05:15:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 05:15:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 05:15:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 05:15:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 05:15:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 05:15:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 05:15:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 05:15:14] Production.INFO: call_cost start
[2025-04-12 05:15:14] Production.INFO: call_cost end
[2025-04-12 05:15:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 05:15:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 05:15:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 05:15:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 05:15:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 05:15:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 05:15:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 05:15:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 05:15:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 05:15:15] Production.INFO: ==24538== Releasing lock...
[2025-04-12 05:15:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 05:15:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 05:15:17] Production.INFO: count ==199
[2025-04-12 05:15:17] Production.ERROR: pbx CDR StartTime 2025-04-12 02:15:04 - End Time 2025-04-12 05:15:04
[2025-04-12 05:15:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 05:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889352', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889352', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889352', 'tblTempVendorCDR_20' ) start
[2025-04-12 05:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889352', 'tblTempVendorCDR_20' ) end
[2025-04-12 05:15:17] Production.INFO: ProcessCDR(1,14889352,1,1,2)
[2025-04-12 05:15:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889352,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:15:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889352,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:15:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889352,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:15:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889352,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:15:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889352', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:15:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889352', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:15:20] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 05:15:20] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 05:15:20] Production.INFO: ==24546== Releasing lock...
[2025-04-12 05:15:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 05:15:20] Production.INFO: 29 MB #Memory Used#
[2025-04-12 10:16:01] Production.INFO: ==24603== Lock acquired, processing the job...
[2025-04-12 10:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 10:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 10:16:01] Production.INFO: neon service started
[2025-04-12 10:16:01] Production.INFO: neon service started
[2025-04-12 10:16:01] Production.INFO: ==24603== Releasing lock...
[2025-04-12 10:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 10:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 05:16:02] Production.INFO: ==24605== Lock acquired, processing the job...
[2025-04-12 05:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 05:16:02] Production.INFO: ==24605== Releasing lock...
[2025-04-12 05:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 05:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 09:16:02] Production.INFO: ==24607== Lock acquired, processing the job...
[2025-04-12 09:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 09:16:02] Production.INFO: ==24607== Releasing lock...
[2025-04-12 09:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 09:16:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 05:16:03] Production.INFO: ==24609== Lock acquired, processing the job...
[2025-04-12 05:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 05:16:03] Production.INFO: ==24613== Lock acquired, processing the job...
[2025-04-12 05:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 05:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 05:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 05:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 05:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 05:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 05:16:03] Production.INFO: ==24619== Lock acquired, processing the job...
[2025-04-12 05:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 05:16:03] Production.INFO: ==24611== Lock acquired, processing the job...
[2025-04-12 05:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 05:16:03] Production.INFO: ==24615== Lock acquired, processing the job...
[2025-04-12 05:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 05:16:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 05:16:03] Production.INFO: ==24617== Lock acquired, processing the job...
[2025-04-12 05:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 05:16:03] Production.INFO: count ==12
[2025-04-12 05:16:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 05:16:03] Production.INFO: count ==23
[2025-04-12 05:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889354') start
[2025-04-12 05:16:03] Production.INFO: Account Balance Start.
[2025-04-12 05:16:03] Production.INFO: CreateAllLog Start
[2025-04-12 05:16:03] Production.INFO: 117
[2025-04-12 05:16:03] Production.INFO: Date 2025-04-08
[2025-04-12 05:16:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 05:16:03] Production.INFO: Date 2025-04-09
[2025-04-12 05:16:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889354') end
[2025-04-12 05:16:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 05:16:03] Production.INFO: 1
[2025-04-12 05:16:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 05:16:03] Production.INFO: Date 2025-04-10
[2025-04-12 05:16:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:16:04] Production.INFO: Date 2025-04-11
[2025-04-12 05:16:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:16:04] Production.INFO: ==24619== Releasing lock...
[2025-04-12 05:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 05:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 05:16:04] Production.INFO: ==24611== Releasing lock...
[2025-04-12 05:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 05:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 05:16:04] Production.INFO: Date 2025-04-12
[2025-04-12 05:16:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:16:04] Production.INFO: Total Charge 0
[2025-04-12 05:16:04] Production.INFO: CreateAllLog End
[2025-04-12 05:16:04] Production.ERROR: done
[2025-04-12 05:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 05:16:04] Production.INFO: Account Balance End.
[2025-04-12 05:16:04] Production.ERROR: CronJobId end 12
[2025-04-12 05:16:04] Production.INFO: ==24615== Releasing lock...
[2025-04-12 05:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 05:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 05:16:04] Production.ERROR: done
[2025-04-12 05:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 02:16:05
[end_date_ymd] => 2025-04-12 05:16:05
[RateCDR] => 1
)
[2025-04-12 05:16:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 02:16:05' and `end` < '2025-04-12 05:16:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 05:16:11] Production.ERROR: CronJobId end10
[2025-04-12 05:16:11] Production.INFO: ==24613== Releasing lock...
[2025-04-12 05:16:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 05:16:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 05:16:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 05:16:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 05:16:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 05:16:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 05:16:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 05:16:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 05:16:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 05:16:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 05:16:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 05:16:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 05:16:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 05:16:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 05:16:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 05:16:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 05:16:14] Production.INFO: call_cost start
[2025-04-12 05:16:14] Production.INFO: call_cost end
[2025-04-12 05:16:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 05:16:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 05:16:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 05:16:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 05:16:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 05:16:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 05:16:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 05:16:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 05:16:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 05:16:15] Production.INFO: ==24609== Releasing lock...
[2025-04-12 05:16:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 05:16:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 05:16:18] Production.INFO: count ==199
[2025-04-12 05:16:18] Production.ERROR: pbx CDR StartTime 2025-04-12 02:16:05 - End Time 2025-04-12 05:16:05
[2025-04-12 05:16:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 05:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889357', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889357', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889357', 'tblTempVendorCDR_20' ) start
[2025-04-12 05:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889357', 'tblTempVendorCDR_20' ) end
[2025-04-12 05:16:18] Production.INFO: ProcessCDR(1,14889357,1,1,2)
[2025-04-12 05:16:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889357,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:16:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889357,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:16:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889357,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:16:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889357,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889357', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889357', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:16:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 05:16:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 05:16:21] Production.INFO: ==24617== Releasing lock...
[2025-04-12 05:16:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 05:16:21] Production.INFO: 29 MB #Memory Used#
[2025-04-12 10:17:02] Production.INFO: ==24713== Lock acquired, processing the job...
[2025-04-12 10:17:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 10:17:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 10:17:02] Production.INFO: neon service started
[2025-04-12 10:17:02] Production.INFO: neon service started
[2025-04-12 10:17:02] Production.INFO: ==24713== Releasing lock...
[2025-04-12 10:17:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 10:17:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 05:17:02] Production.INFO: ==24715== Lock acquired, processing the job...
[2025-04-12 05:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 09:17:02] Production.INFO: ==24717== Lock acquired, processing the job...
[2025-04-12 09:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 09:17:02] Production.INFO: ==24717== Releasing lock...
[2025-04-12 09:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 09:17:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 05:17:03] Production.INFO: ==24715== Releasing lock...
[2025-04-12 05:17:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 05:17:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 05:17:04] Production.INFO: ==24724== Lock acquired, processing the job...
[2025-04-12 05:17:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 05:17:04] Production.INFO: ==24720== Lock acquired, processing the job...
[2025-04-12 05:17:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 05:17:04] Production.INFO: ==24730== Lock acquired, processing the job...
[2025-04-12 05:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 05:17:04] Production.INFO: ==24722== Lock acquired, processing the job...
[2025-04-12 05:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 05:17:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 05:17:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 05:17:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 05:17:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 05:17:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 05:17:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 05:17:04] Production.INFO: ==24726== Lock acquired, processing the job...
[2025-04-12 05:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 05:17:04] Production.INFO: count ==12
[2025-04-12 05:17:04] Production.INFO: ==24728== Lock acquired, processing the job...
[2025-04-12 05:17:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 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-12 05:17:04] Production.INFO: count ==23
[2025-04-12 05:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889359') start
[2025-04-12 05:17:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 05:17:04] Production.INFO: Account Balance Start.
[2025-04-12 05:17:04] Production.INFO: CreateAllLog Start
[2025-04-12 05:17:04] Production.INFO: 117
[2025-04-12 05:17:04] Production.INFO: Date 2025-04-08
[2025-04-12 05:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889359') end
[2025-04-12 05:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 05:17:04] Production.INFO: 1
[2025-04-12 05:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 05:17:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:17:04] Production.INFO: ==24730== Releasing lock...
[2025-04-12 05:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 05:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 05:17:04] Production.INFO: Date 2025-04-09
[2025-04-12 05:17:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:17:04] Production.INFO: Date 2025-04-10
[2025-04-12 05:17:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:17:04] Production.INFO: ==24722== Releasing lock...
[2025-04-12 05:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 05:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 05:17:04] Production.ERROR: done
[2025-04-12 05:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 05:17:04] Production.INFO: Date 2025-04-11
[2025-04-12 05:17:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:17:04] Production.ERROR: done
[2025-04-12 05:17:04] Production.INFO: Date 2025-04-12
[2025-04-12 05:17:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:17:04] Production.INFO: Total Charge 0
[2025-04-12 05:17:04] Production.INFO: CreateAllLog End
[2025-04-12 05:17:05] Production.INFO: Account Balance End.
[2025-04-12 05:17:05] Production.ERROR: CronJobId end 12
[2025-04-12 05:17:05] Production.INFO: ==24726== Releasing lock...
[2025-04-12 05:17:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 05:17:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 05:17:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 02:17:06
[end_date_ymd] => 2025-04-12 05:17:06
[RateCDR] => 1
)
[2025-04-12 05:17:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 02:17:06' and `end` < '2025-04-12 05:17:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 05:17:12] Production.ERROR: CronJobId end10
[2025-04-12 05:17:12] Production.INFO: ==24724== Releasing lock...
[2025-04-12 05:17:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 05:17:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 05:17:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 05:17:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 05:17:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 05:17:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 05:17:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 05:17:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 05:17:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 05:17:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 05:17:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 05:17:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 05:17:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 05:17:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 05:17:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 05:17:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 05:17:14] Production.INFO: call_cost start
[2025-04-12 05:17:14] Production.INFO: call_cost end
[2025-04-12 05:17:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 05:17:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 05:17:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 05:17:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 05:17:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 05:17:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 05:17:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 05:17:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 05:17:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 05:17:15] Production.INFO: ==24720== Releasing lock...
[2025-04-12 05:17:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 05:17:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 05:17:18] Production.INFO: count ==198
[2025-04-12 05:17:18] Production.ERROR: pbx CDR StartTime 2025-04-12 02:17:06 - End Time 2025-04-12 05:17:06
[2025-04-12 05:17:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 05:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889362', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889362', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889362', 'tblTempVendorCDR_20' ) start
[2025-04-12 05:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889362', 'tblTempVendorCDR_20' ) end
[2025-04-12 05:17:18] Production.INFO: ProcessCDR(1,14889362,1,1,2)
[2025-04-12 05:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889362,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:17:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889362,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:17:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889362,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:17:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889362,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889362', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889362', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:17:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 05:17:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 05:17:22] Production.INFO: ==24728== Releasing lock...
[2025-04-12 05:17:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 05:17:22] Production.INFO: 29 MB #Memory Used#
[2025-04-12 10:18:01] Production.INFO: ==24796== Lock acquired, processing the job...
[2025-04-12 10:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 10:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 10:18:01] Production.INFO: neon service started
[2025-04-12 10:18:01] Production.INFO: neon service started
[2025-04-12 10:18:01] Production.INFO: ==24796== Releasing lock...
[2025-04-12 10:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 10:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 05:18:02] Production.INFO: ==24798== Lock acquired, processing the job...
[2025-04-12 05:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 09:18:02] Production.INFO: ==24800== Lock acquired, processing the job...
[2025-04-12 09:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 09:18:02] Production.INFO: ==24800== Releasing lock...
[2025-04-12 09:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 09:18:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 05:18:02] Production.INFO: ==24798== Releasing lock...
[2025-04-12 05:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 05:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 05:18:03] Production.INFO: ==24809== Lock acquired, processing the job...
[2025-04-12 05:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 05:18:03] Production.INFO: ==24813== Lock acquired, processing the job...
[2025-04-12 05:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 05:18:03] Production.INFO: ==24803== Lock acquired, processing the job...
[2025-04-12 05:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 05:18:03] Production.INFO: ==24807== Lock acquired, processing the job...
[2025-04-12 05:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 05:18:03] Production.INFO: Account Balance Start.
[2025-04-12 05:18:03] Production.INFO: CreateAllLog Start
[2025-04-12 05:18:03] Production.INFO: ==24805== Lock acquired, processing the job...
[2025-04-12 05:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 05:18:03] Production.INFO: 117
[2025-04-12 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-12 05:18:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 05:18:04] Production.INFO: count ==12
[2025-04-12 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-12 05:18:04] Production.INFO: count ==23
[2025-04-12 05:18:04] Production.INFO: ==24811== Lock acquired, processing the job...
[2025-04-12 05:18:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 05:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889364') start
[2025-04-12 05:18:04] Production.INFO: Date 2025-04-08
[2025-04-12 05:18:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 05:18:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 05:18:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 05:18:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 05:18:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:18:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 05:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889364') end
[2025-04-12 05:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 05:18:04] Production.INFO: 1
[2025-04-12 05:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 05:18:04] Production.INFO: Date 2025-04-09
[2025-04-12 05:18:04] Production.INFO: ==24813== Releasing lock...
[2025-04-12 05:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 05:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 05:18:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:18:04] Production.INFO: Date 2025-04-10
[2025-04-12 05:18:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:18:04] Production.INFO: ==24805== Releasing lock...
[2025-04-12 05:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 05:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 05:18:04] Production.INFO: Date 2025-04-11
[2025-04-12 05:18:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:18:04] Production.ERROR: done
[2025-04-12 05:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 05:18:04] Production.INFO: Date 2025-04-12
[2025-04-12 05:18:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:18:04] Production.INFO: Total Charge 0
[2025-04-12 05:18:04] Production.INFO: CreateAllLog End
[2025-04-12 05:18:04] Production.ERROR: done
[2025-04-12 05:18:04] Production.INFO: Account Balance End.
[2025-04-12 05:18:04] Production.ERROR: CronJobId end 12
[2025-04-12 05:18:04] Production.INFO: ==24809== Releasing lock...
[2025-04-12 05:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 05:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 05:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 02:18:05
[end_date_ymd] => 2025-04-12 05:18:05
[RateCDR] => 1
)
[2025-04-12 05:18:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 02:18:05' and `end` < '2025-04-12 05:18:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 05:18:12] Production.ERROR: CronJobId end10
[2025-04-12 05:18:12] Production.INFO: ==24807== Releasing lock...
[2025-04-12 05:18:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 05:18:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 05:18:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 05:18:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 05:18:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 05:18:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 05:18:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 05:18:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 05:18:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 05:18:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 05:18:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 05:18:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 05:18:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 05:18:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 05:18:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 05:18:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 05:18:14] Production.INFO: call_cost start
[2025-04-12 05:18:14] Production.INFO: call_cost end
[2025-04-12 05:18:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 05:18:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 05:18:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 05:18:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 05:18:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 05:18:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 05:18:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 05:18:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 05:18:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 05:18:15] Production.INFO: ==24803== Releasing lock...
[2025-04-12 05:18:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 05:18:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 05:18:18] Production.INFO: count ==198
[2025-04-12 05:18:18] Production.ERROR: pbx CDR StartTime 2025-04-12 02:18:05 - End Time 2025-04-12 05:18:05
[2025-04-12 05:18:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 05:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889367', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889367', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889367', 'tblTempVendorCDR_20' ) start
[2025-04-12 05:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889367', 'tblTempVendorCDR_20' ) end
[2025-04-12 05:18:18] Production.INFO: ProcessCDR(1,14889367,1,1,2)
[2025-04-12 05:18:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889367,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:18:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889367,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:18:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889367,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:18:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889367,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889367', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889367', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:18:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 05:18:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 05:18:21] Production.INFO: ==24811== Releasing lock...
[2025-04-12 05:18:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 05:18:21] Production.INFO: 29 MB #Memory Used#
[2025-04-12 10:19:02] Production.INFO: ==24867== Lock acquired, processing the job...
[2025-04-12 10:19:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 10:19:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 10:19:02] Production.INFO: neon service started
[2025-04-12 10:19:02] Production.INFO: neon service started
[2025-04-12 10:19:02] Production.INFO: ==24867== Releasing lock...
[2025-04-12 10:19:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 10:19:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 09:19:02] Production.INFO: ==24872== Lock acquired, processing the job...
[2025-04-12 09:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 09:19:02] Production.INFO: ==24872== Releasing lock...
[2025-04-12 09:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 09:19:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 05:19:02] Production.INFO: ==24870== Lock acquired, processing the job...
[2025-04-12 05:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 05:19:03] Production.INFO: ==24870== Releasing lock...
[2025-04-12 05:19:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 05:19:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 05:19:03] Production.INFO: ==24874== Lock acquired, processing the job...
[2025-04-12 05:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 05:19:03] Production.INFO: ==24876== Lock acquired, processing the job...
[2025-04-12 05:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 05:19:03] Production.INFO: ==24878== Lock acquired, processing the job...
[2025-04-12 05:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 05:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 05:19:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 05:19:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 05:19:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 05:19:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 05:19:04] Production.INFO: ==24880== Lock acquired, processing the job...
[2025-04-12 05:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 05:19:04] Production.INFO: ==24876== Releasing lock...
[2025-04-12 05:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 05:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 05:19:04] Production.INFO: ==24882== Lock acquired, processing the job...
[2025-04-12 05:19:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 05:19:04] Production.INFO: Account Balance Start.
[2025-04-12 05:19:04] Production.INFO: CreateAllLog Start
[2025-04-12 05:19:04] Production.INFO: 117
[2025-04-12 05:19:04] Production.INFO: Date 2025-04-08
[2025-04-12 05:19:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:19:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 05:19:04] Production.INFO: Date 2025-04-09
[2025-04-12 05:19:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:19:04] Production.INFO: Date 2025-04-10
[2025-04-12 05:19:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:19:04] Production.INFO: ==24884== Lock acquired, processing the job...
[2025-04-12 05:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 05:19:04] Production.INFO: Date 2025-04-11
[2025-04-12 05:19:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:19:04] Production.INFO: Date 2025-04-12
[2025-04-12 05:19:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:19:04] Production.INFO: Total Charge 0
[2025-04-12 05:19:04] Production.INFO: CreateAllLog End
[2025-04-12 05:19:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 05:19:04] Production.INFO: count ==12
[2025-04-12 05:19:04] Production.ERROR: done
[2025-04-12 05:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 05:19:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 05:19:04] Production.INFO: count ==23
[2025-04-12 05:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889371') start
[2025-04-12 05:19:04] Production.INFO: Account Balance End.
[2025-04-12 05:19:04] Production.ERROR: CronJobId end 12
[2025-04-12 05:19:04] Production.INFO: ==24880== Releasing lock...
[2025-04-12 05:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 05:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 05:19:04] Production.ERROR: done
[2025-04-12 05:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889371') end
[2025-04-12 05:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 05:19:04] Production.INFO: 1
[2025-04-12 05:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 05:19:05] Production.INFO: ==24884== Releasing lock...
[2025-04-12 05:19:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 05:19:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 05:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 02:19:05
[end_date_ymd] => 2025-04-12 05:19:05
[RateCDR] => 1
)
[2025-04-12 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-12 02:19:05' and `end` < '2025-04-12 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-12 05:19:12] Production.ERROR: CronJobId end10
[2025-04-12 05:19:12] Production.INFO: ==24878== Releasing lock...
[2025-04-12 05:19:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 05:19:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 05:19:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 05:19:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 05:19:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 05:19:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 05:19:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 05:19:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 05:19:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 05:19:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 05:19:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 05:19:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 05:19:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 05:19:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 05:19:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 05:19:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 05:19:15] Production.INFO: call_cost start
[2025-04-12 05:19:15] Production.INFO: call_cost end
[2025-04-12 05:19:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 05:19:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 05:19:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 05:19:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 05:19:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 05:19:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 05:19:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 05:19:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 05:19:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 05:19:15] Production.INFO: ==24874== Releasing lock...
[2025-04-12 05:19:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 05:19:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 05:19:18] Production.INFO: count ==197
[2025-04-12 05:19:18] Production.ERROR: pbx CDR StartTime 2025-04-12 02:19:05 - End Time 2025-04-12 05:19:05
[2025-04-12 05:19:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 05:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889372', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889372', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889372', 'tblTempVendorCDR_20' ) start
[2025-04-12 05:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889372', 'tblTempVendorCDR_20' ) end
[2025-04-12 05:19:18] Production.INFO: ProcessCDR(1,14889372,1,1,2)
[2025-04-12 05:19:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889372,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:19:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889372,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:19:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889372,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:19:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889372,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889372', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889372', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:19:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 05:19:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 05:19:22] Production.INFO: ==24882== Releasing lock...
[2025-04-12 05:19:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 05:19:22] Production.INFO: 29 MB #Memory Used#
[2025-04-12 10:20:01] Production.INFO: ==24942== Lock acquired, processing the job...
[2025-04-12 10:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 10:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 10:20:01] Production.INFO: neon service started
[2025-04-12 10:20:01] Production.INFO: neon service started
[2025-04-12 10:20:01] Production.INFO: ==24942== Releasing lock...
[2025-04-12 10:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 10:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 09:20:02] Production.INFO: ==24946== Lock acquired, processing the job...
[2025-04-12 09:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 09:20:02] Production.INFO: ==24946== Releasing lock...
[2025-04-12 09:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 09:20:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 05:20:02] Production.INFO: ==24944== Lock acquired, processing the job...
[2025-04-12 05:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 05:20:02] Production.INFO: ==24944== Releasing lock...
[2025-04-12 05:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 05:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 05:20:03] Production.INFO: ==24949== Lock acquired, processing the job...
[2025-04-12 05:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 05:20:03] Production.INFO: ==24951== Lock acquired, processing the job...
[2025-04-12 05:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 05:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 05:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 05:20:03] Production.ERROR: CronJob PID - 24951
[2025-04-12 05:20:03] Production.ERROR: CronJob Title - System Alerts
[2025-04-12 05:20:03] Production.ERROR: CronJob ID - 5
[2025-04-12 05:20:03] Production.ERROR: CronJob Last Run Time 2025-04-12 05:20:00
[2025-04-12 05:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 05:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 05:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 05:20:03] Production.INFO: ==24949== Releasing lock...
[2025-04-12 05:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 05:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 05:20:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 05:20:03] Production.INFO: ==24953== Lock acquired, processing the job...
[2025-04-12 05:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 05:20:04] Production.INFO: ==24959== Lock acquired, processing the job...
[2025-04-12 05:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 05:20:04] Production.INFO: ==24961== Lock acquired, processing the job...
[2025-04-12 05:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 05:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 05:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 05:20:04] Production.INFO: ==24955== Lock acquired, processing the job...
[2025-04-12 05:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 05:20:04] Production.INFO: ==24957== Lock acquired, processing the job...
[2025-04-12 05:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 05:20:04] Production.INFO: ==24963== Lock acquired, processing the job...
[2025-04-12 05:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 05:20:04] Production.INFO: Account Balance Start.
[2025-04-12 05:20:04] Production.INFO: CreateAllLog Start
[2025-04-12 05:20:04] Production.INFO: 117
[2025-04-12 05:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 05:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 05:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 05:20:04] Production.INFO: Date 2025-04-08
[2025-04-12 05:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 05:20:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 05:20:04] Production.INFO: count ==12
[2025-04-12 05:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 05:20:04] Production.INFO: count ==23
[2025-04-12 05:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889376') start
[2025-04-12 05:20:04] Production.INFO: Date 2025-04-09
[2025-04-12 05:20:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:20:04] Production.INFO: Date 2025-04-10
[2025-04-12 05:20:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:20:04] Production.INFO: Date 2025-04-11
[2025-04-12 05:20:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:20:04] Production.INFO: Date 2025-04-12
[2025-04-12 05:20:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:20:04] Production.INFO: Total Charge 0
[2025-04-12 05:20:04] Production.ERROR: done
[2025-04-12 05:20:04] Production.ERROR: done
[2025-04-12 05:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 05:20:04] Production.INFO: CreateAllLog End
[2025-04-12 05:20:04] Production.INFO: ==24953== Releasing lock...
[2025-04-12 05:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 05:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 05:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889376') end
[2025-04-12 05:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 05:20:04] Production.INFO: 1
[2025-04-12 05:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 05:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 05:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14889377', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 05:20:04] Production.INFO: ==24963== Releasing lock...
[2025-04-12 05:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 05:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 05:20:04] Production.ERROR: done
[2025-04-12 05:20:05] Production.INFO: Account Balance End.
[2025-04-12 05:20:05] Production.ERROR: CronJobId end 12
[2025-04-12 05:20:05] Production.INFO: ==24957== Releasing lock...
[2025-04-12 05:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 05:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 05:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 02:20:06
[end_date_ymd] => 2025-04-12 05:20:06
[RateCDR] => 1
)
[2025-04-12 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-12 02:20:06' and `end` < '2025-04-12 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-12 05:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14889377', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 05:20:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 05:20:09] Production.INFO: ProcessCDR(1,14889377,1,1,2)
[2025-04-12 05:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14889377,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14889377,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:20:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 05:20:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 05:20:09] Production.INFO: ==24961== Releasing lock...
[2025-04-12 05:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 05:20:09] Production.INFO: 26 MB #Memory Used#
[2025-04-12 05:20:13] Production.ERROR: CronJobId end10
[2025-04-12 05:20:13] Production.INFO: ==24955== Releasing lock...
[2025-04-12 05:20:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 05:20:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 05:20:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 05:20:16] Production.INFO: ============== Balance Warning START===========
[2025-04-12 05:20:16] Production.INFO: ============== Balance Warning END===========
[2025-04-12 05:20:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 05:20:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 05:20:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 05:20:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 05:20:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 05:20:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 05:20:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 05:20:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 05:20:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 05:20:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 05:20:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 05:20:16] Production.INFO: call_cost start
[2025-04-12 05:20:16] Production.INFO: call_cost end
[2025-04-12 05:20:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 05:20:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 05:20:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 05:20:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 05:20:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 05:20:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 05:20:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 05:20:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 05:20:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 05:20:17] Production.INFO: ==24951== Releasing lock...
[2025-04-12 05:20:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 05:20:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 05:20:18] Production.INFO: count ==187
[2025-04-12 05:20:18] Production.ERROR: pbx CDR StartTime 2025-04-12 02:20:06 - End Time 2025-04-12 05:20:06
[2025-04-12 05:20:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 05:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889378', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889378', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889378', 'tblTempVendorCDR_20' ) start
[2025-04-12 05:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889378', 'tblTempVendorCDR_20' ) end
[2025-04-12 05:20:18] Production.INFO: ProcessCDR(1,14889378,1,1,2)
[2025-04-12 05:20:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889378,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:20:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889378,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:20:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889378,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:20:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889378,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889378', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889378', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:20:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 05:20:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 05:20:22] Production.INFO: ==24959== Releasing lock...
[2025-04-12 05:20:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 05:20:22] Production.INFO: 29 MB #Memory Used#
[2025-04-12 10:21:01] Production.INFO: ==25015== Lock acquired, processing the job...
[2025-04-12 10:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 10:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 10:21:01] Production.INFO: neon service started
[2025-04-12 10:21:01] Production.INFO: neon service started
[2025-04-12 10:21:01] Production.INFO: ==25015== Releasing lock...
[2025-04-12 10:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 10:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 05:21:01] Production.INFO: ==25017== Lock acquired, processing the job...
[2025-04-12 05:21:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 05:21:02] Production.INFO: ==25017== Releasing lock...
[2025-04-12 05:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 05:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 09:21:02] Production.INFO: ==25019== Lock acquired, processing the job...
[2025-04-12 09:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 09:21:02] Production.INFO: ==25019== Releasing lock...
[2025-04-12 09:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 09:21:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 05:21:02] Production.INFO: ==25023== Lock acquired, processing the job...
[2025-04-12 05:21:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 05:21:03] Production.INFO: ==25032== Lock acquired, processing the job...
[2025-04-12 05:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 05:21:03] Production.INFO: ==25021== Lock acquired, processing the job...
[2025-04-12 05:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 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-12 05:21:03] Production.INFO: count ==12
[2025-04-12 05: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-12 05:21:03] Production.INFO: count ==23
[2025-04-12 05:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889380') start
[2025-04-12 05:21:03] Production.INFO: ==25025== Lock acquired, processing the job...
[2025-04-12 05:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 05:21:03] Production.INFO: ==25023== Releasing lock...
[2025-04-12 05:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 05:21:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 05:21:03] Production.INFO: ==25028== Lock acquired, processing the job...
[2025-04-12 05:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 05:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 05:21:03] Production.INFO: ==25030== Lock acquired, processing the job...
[2025-04-12 05:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 05:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889380') end
[2025-04-12 05:21:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 05:21:03] Production.INFO: 1
[2025-04-12 05:21:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 05:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 05:21:03] Production.INFO: ==25032== Releasing lock...
[2025-04-12 05:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 05:21:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 05:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 05:21:03] Production.INFO: Account Balance Start.
[2025-04-12 05:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 05:21:03] Production.INFO: CreateAllLog Start
[2025-04-12 05:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 05:21:03] Production.INFO: 117
[2025-04-12 05:21:03] Production.INFO: Date 2025-04-08
[2025-04-12 05:21:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 05:21:03] Production.INFO: Date 2025-04-09
[2025-04-12 05:21:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:21:03] Production.INFO: Date 2025-04-10
[2025-04-12 05:21:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:21:03] Production.INFO: Date 2025-04-11
[2025-04-12 05:21:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:21:03] Production.INFO: Date 2025-04-12
[2025-04-12 05:21:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:21:03] Production.INFO: Total Charge 0
[2025-04-12 05:21:03] Production.INFO: CreateAllLog End
[2025-04-12 05:21:03] Production.ERROR: done
[2025-04-12 05:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 05:21:04] Production.INFO: Account Balance End.
[2025-04-12 05:21:04] Production.ERROR: CronJobId end 12
[2025-04-12 05:21:04] Production.INFO: ==25028== Releasing lock...
[2025-04-12 05:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 05:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 05:21:04] Production.ERROR: done
[2025-04-12 05:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 02:21:05
[end_date_ymd] => 2025-04-12 05:21:05
[RateCDR] => 1
)
[2025-04-12 05:21:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 02:21:05' and `end` < '2025-04-12 05:21:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 05:21:12] Production.ERROR: CronJobId end10
[2025-04-12 05:21:12] Production.INFO: ==25025== Releasing lock...
[2025-04-12 05:21:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 05:21:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 05:21:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 05:21:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 05:21:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 05:21:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 05:21:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 05:21:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 05:21:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 05:21:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 05:21:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 05:21:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 05:21:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 05:21:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 05:21:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 05:21:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 05:21:15] Production.INFO: call_cost start
[2025-04-12 05:21:15] Production.INFO: call_cost end
[2025-04-12 05:21:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 05:21:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 05:21:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 05:21:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 05:21:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 05:21:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 05:21:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 05:21:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 05:21:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 05:21:16] Production.INFO: ==25021== Releasing lock...
[2025-04-12 05:21:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 05:21:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 05:21:18] Production.INFO: count ==177
[2025-04-12 05:21:18] Production.ERROR: pbx CDR StartTime 2025-04-12 02:21:05 - End Time 2025-04-12 05:21:05
[2025-04-12 05:21:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 05:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889383', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889383', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889383', 'tblTempVendorCDR_20' ) start
[2025-04-12 05:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889383', 'tblTempVendorCDR_20' ) end
[2025-04-12 05:21:18] Production.INFO: ProcessCDR(1,14889383,1,1,2)
[2025-04-12 05:21:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889383,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:21:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889383,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:21:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889383,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:21:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889383,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889383', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889383', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:21:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 05:21:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 05:21:21] Production.INFO: ==25030== Releasing lock...
[2025-04-12 05:21:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 05:21:21] Production.INFO: 29.25 MB #Memory Used#
[2025-04-12 10:22:01] Production.INFO: ==25091== Lock acquired, processing the job...
[2025-04-12 10:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 10:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 10:22:01] Production.INFO: neon service started
[2025-04-12 10:22:01] Production.INFO: neon service started
[2025-04-12 10:22:01] Production.INFO: ==25091== Releasing lock...
[2025-04-12 10:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 10:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 09:22:02] Production.INFO: ==25095== Lock acquired, processing the job...
[2025-04-12 09:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 09:22:02] Production.INFO: ==25095== Releasing lock...
[2025-04-12 09:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 09:22:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 05:22:02] Production.INFO: ==25093== Lock acquired, processing the job...
[2025-04-12 05:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 05:22:02] Production.INFO: ==25093== Releasing lock...
[2025-04-12 05:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 05:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 05:22:03] Production.INFO: ==25097== Lock acquired, processing the job...
[2025-04-12 05:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 05:22:03] Production.INFO: ==25103== Lock acquired, processing the job...
[2025-04-12 05:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 05:22:03] Production.INFO: ==25105== Lock acquired, processing the job...
[2025-04-12 05:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 05:22:03] Production.INFO: ==25101== Lock acquired, processing the job...
[2025-04-12 05:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 05:22:03] Production.INFO: ==25099== Lock acquired, processing the job...
[2025-04-12 05:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 05:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 05:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 05:22:03] Production.INFO: Account Balance Start.
[2025-04-12 05:22:03] Production.INFO: CreateAllLog Start
[2025-04-12 05:22:03] Production.INFO: 117
[2025-04-12 05:22:03] Production.INFO: Date 2025-04-08
[2025-04-12 05:22:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:22:04] Production.INFO: Date 2025-04-09
[2025-04-12 05:22:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:22:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 05:22:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 05:22:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 05:22:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 05:22:04] Production.INFO: Date 2025-04-10
[2025-04-12 05:22:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:22:04] Production.INFO: ==25108== Lock acquired, processing the job...
[2025-04-12 05:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 05:22:04] Production.INFO: Date 2025-04-11
[2025-04-12 05:22:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:22:04] Production.INFO: Date 2025-04-12
[2025-04-12 05:22:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:22:04] Production.ERROR: done
[2025-04-12 05:22:04] Production.INFO: Total Charge 0
[2025-04-12 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-12 05:22:04] Production.INFO: count ==12
[2025-04-12 05:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 05:22:04] Production.INFO: CreateAllLog End
[2025-04-12 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-12 05:22:04] Production.INFO: count ==23
[2025-04-12 05:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889387') start
[2025-04-12 05:22:04] Production.ERROR: done
[2025-04-12 05:22:04] Production.INFO: ==25099== Releasing lock...
[2025-04-12 05:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 05:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 05:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889387') end
[2025-04-12 05:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 05:22:04] Production.INFO: 1
[2025-04-12 05:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 05:22:04] Production.INFO: Account Balance End.
[2025-04-12 05:22:04] Production.INFO: ==25108== Releasing lock...
[2025-04-12 05:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 05:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 05:22:04] Production.ERROR: CronJobId end 12
[2025-04-12 05:22:04] Production.INFO: ==25103== Releasing lock...
[2025-04-12 05:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 05:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 05:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 02:22:05
[end_date_ymd] => 2025-04-12 05:22:05
[RateCDR] => 1
)
[2025-04-12 05:22:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 02:22:05' and `end` < '2025-04-12 05:22:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 05:22:11] Production.ERROR: CronJobId end10
[2025-04-12 05:22:11] Production.INFO: ==25101== Releasing lock...
[2025-04-12 05:22:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 05:22:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 05:22:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 05:22:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 05:22:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 05:22:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 05:22:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 05:22:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 05:22:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 05:22:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 05:22:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 05:22:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 05:22:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 05:22:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 05:22:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 05:22:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 05:22:14] Production.INFO: call_cost start
[2025-04-12 05:22:14] Production.INFO: call_cost end
[2025-04-12 05:22:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 05:22:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 05:22:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 05:22:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 05:22:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 05:22:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 05:22:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 05:22:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 05:22:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 05:22:15] Production.INFO: ==25097== Releasing lock...
[2025-04-12 05:22:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 05:22:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 05:22:18] Production.INFO: count ==177
[2025-04-12 05:22:18] Production.ERROR: pbx CDR StartTime 2025-04-12 02:22:05 - End Time 2025-04-12 05:22:05
[2025-04-12 05:22:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 05:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889388', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889388', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889388', 'tblTempVendorCDR_20' ) start
[2025-04-12 05:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889388', 'tblTempVendorCDR_20' ) end
[2025-04-12 05:22:18] Production.INFO: ProcessCDR(1,14889388,1,1,2)
[2025-04-12 05:22:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889388,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:22:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889388,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:22:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889388,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:22:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889388,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889388', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889388', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:22:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 05:22:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 05:22:21] Production.INFO: ==25105== Releasing lock...
[2025-04-12 05:22:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 05:22:21] Production.INFO: 29.25 MB #Memory Used#
[2025-04-12 10:23:02] Production.INFO: ==25163== Lock acquired, processing the job...
[2025-04-12 10:23:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 10:23:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 10:23:02] Production.INFO: neon service started
[2025-04-12 10:23:02] Production.INFO: neon service started
[2025-04-12 10:23:02] Production.INFO: ==25163== Releasing lock...
[2025-04-12 10:23:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 10:23:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 05:23:02] Production.INFO: ==25165== Lock acquired, processing the job...
[2025-04-12 05:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 05:23:02] Production.INFO: ==25165== Releasing lock...
[2025-04-12 05:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 05:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 09:23:03] Production.INFO: ==25167== Lock acquired, processing the job...
[2025-04-12 09:23:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 09:23:03] Production.INFO: ==25167== Releasing lock...
[2025-04-12 09:23:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 09:23:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 05:23:03] Production.INFO: ==25172== Lock acquired, processing the job...
[2025-04-12 05:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 05:23:04] Production.INFO: ==25180== Lock acquired, processing the job...
[2025-04-12 05:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 05:23:04] Production.INFO: ==25170== Lock acquired, processing the job...
[2025-04-12 05:23:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 05:23:04] Production.INFO: ==25174== Lock acquired, processing the job...
[2025-04-12 05:23:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 05:23:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 05:23:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 05:23:04] Production.INFO: ==25176== Lock acquired, processing the job...
[2025-04-12 05:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 05:23:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 05:23:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 05:23:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 05:23:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 05:23:04] Production.INFO: count ==12
[2025-04-12 05:23:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 05:23:04] Production.INFO: ==25178== Lock acquired, processing the job...
[2025-04-12 05:23:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 05:23:04] Production.INFO: count ==23
[2025-04-12 05:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889390') start
[2025-04-12 05:23:04] Production.INFO: Account Balance Start.
[2025-04-12 05:23:04] Production.INFO: CreateAllLog Start
[2025-04-12 05:23:04] Production.INFO: 117
[2025-04-12 05:23:04] Production.INFO: ==25172== Releasing lock...
[2025-04-12 05:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 05:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 05:23:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 05:23:04] Production.INFO: Date 2025-04-08
[2025-04-12 05:23:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889390') end
[2025-04-12 05:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 05:23:04] Production.INFO: 1
[2025-04-12 05:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 05:23:04] Production.INFO: Date 2025-04-09
[2025-04-12 05:23:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:23:04] Production.INFO: Date 2025-04-10
[2025-04-12 05:23:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:23:04] Production.INFO: Date 2025-04-11
[2025-04-12 05:23:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:23:04] Production.INFO: ==25180== Releasing lock...
[2025-04-12 05:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 05:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 05:23:04] Production.INFO: Date 2025-04-12
[2025-04-12 05:23:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:23:04] Production.INFO: Total Charge 0
[2025-04-12 05:23:04] Production.INFO: CreateAllLog End
[2025-04-12 05:23:04] Production.ERROR: done
[2025-04-12 05:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 05:23:04] Production.INFO: Account Balance End.
[2025-04-12 05:23:05] Production.ERROR: done
[2025-04-12 05:23:05] Production.ERROR: CronJobId end 12
[2025-04-12 05:23:05] Production.INFO: ==25176== Releasing lock...
[2025-04-12 05:23:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 05:23:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 05:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 02:23:05
[end_date_ymd] => 2025-04-12 05:23:05
[RateCDR] => 1
)
[2025-04-12 05:23:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 02:23:05' and `end` < '2025-04-12 05:23:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 05:23:11] Production.ERROR: CronJobId end10
[2025-04-12 05:23:11] Production.INFO: ==25174== Releasing lock...
[2025-04-12 05:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 05:23:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 05:23:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 05:23:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 05:23:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 05:23:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 05:23:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 05:23:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 05:23:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 05:23:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 05:23:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 05:23:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 05:23:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 05:23:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 05:23:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 05:23:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 05:23:14] Production.INFO: call_cost start
[2025-04-12 05:23:14] Production.INFO: call_cost end
[2025-04-12 05:23:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 05:23:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 05:23:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 05:23:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 05:23:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 05:23:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 05:23:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 05:23:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 05:23:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 05:23:15] Production.INFO: ==25170== Releasing lock...
[2025-04-12 05:23:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 05:23:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 05:23:18] Production.INFO: count ==176
[2025-04-12 05:23:18] Production.ERROR: pbx CDR StartTime 2025-04-12 02:23:05 - End Time 2025-04-12 05:23:05
[2025-04-12 05:23:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 05:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889393', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889393', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889393', 'tblTempVendorCDR_20' ) start
[2025-04-12 05:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889393', 'tblTempVendorCDR_20' ) end
[2025-04-12 05:23:18] Production.INFO: ProcessCDR(1,14889393,1,1,2)
[2025-04-12 05:23:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889393,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:23:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889393,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:23:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889393,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:23:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889393,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889393', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889393', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:23:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 05:23:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 05:23:22] Production.INFO: ==25178== Releasing lock...
[2025-04-12 05:23:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 05:23:22] Production.INFO: 29 MB #Memory Used#
[2025-04-12 10:24:01] Production.INFO: ==25234== Lock acquired, processing the job...
[2025-04-12 10:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 10:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 10:24:01] Production.INFO: neon service started
[2025-04-12 10:24:01] Production.INFO: neon service started
[2025-04-12 10:24:01] Production.INFO: ==25234== Releasing lock...
[2025-04-12 10:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 10:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 05:24:02] Production.INFO: ==25236== Lock acquired, processing the job...
[2025-04-12 05:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 09:24:02] Production.INFO: ==25238== Lock acquired, processing the job...
[2025-04-12 09:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 09:24:02] Production.INFO: ==25238== Releasing lock...
[2025-04-12 09:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 09:24:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 05:24:03] Production.INFO: ==25236== Releasing lock...
[2025-04-12 05:24:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 05:24:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 05:24:03] Production.INFO: ==25247== Lock acquired, processing the job...
[2025-04-12 05:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 05:24:03] Production.INFO: ==25251== Lock acquired, processing the job...
[2025-04-12 05:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 05:24:04] Production.INFO: ==25241== Lock acquired, processing the job...
[2025-04-12 05:24:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 05:24:04] Production.INFO: Account Balance Start.
[2025-04-12 05:24:04] Production.INFO: CreateAllLog Start
[2025-04-12 05:24:04] Production.INFO: 117
[2025-04-12 05:24:04] Production.INFO: Date 2025-04-08
[2025-04-12 05:24:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:24:04] Production.INFO: Date 2025-04-09
[2025-04-12 05:24:04] Production.INFO: Reseller ==> 0
[2025-04-12 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-12 05:24:04] Production.INFO: Date 2025-04-10
[2025-04-12 05:24:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:24:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 05:24:04] Production.INFO: count ==12
[2025-04-12 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-12 05:24:04] Production.INFO: count ==23
[2025-04-12 05:24:04] Production.INFO: Date 2025-04-11
[2025-04-12 05:24:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:24:04] Production.INFO: ==25243== Lock acquired, processing the job...
[2025-04-12 05:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 05:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889395') start
[2025-04-12 05:24:04] Production.INFO: ==25245== Lock acquired, processing the job...
[2025-04-12 05:24:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 05:24:04] Production.INFO: Date 2025-04-12
[2025-04-12 05:24:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:24:04] Production.INFO: Total Charge 0
[2025-04-12 05:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889395') end
[2025-04-12 05:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 05:24:04] Production.INFO: 1
[2025-04-12 05:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 05:24:04] Production.INFO: CreateAllLog End
[2025-04-12 05:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 05:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 05:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 05:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 05:24:04] Production.INFO: ==25251== Releasing lock...
[2025-04-12 05:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 05:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 05:24:04] Production.INFO: ==25249== Lock acquired, processing the job...
[2025-04-12 05:24:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 05:24:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 05:24:04] Production.INFO: Account Balance End.
[2025-04-12 05:24:04] Production.ERROR: CronJobId end 12
[2025-04-12 05:24:04] Production.INFO: ==25247== Releasing lock...
[2025-04-12 05:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 05:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 05:24:04] Production.INFO: ==25243== Releasing lock...
[2025-04-12 05:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 05:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 05:24:04] Production.ERROR: done
[2025-04-12 05:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 05:24:05] Production.ERROR: done
[2025-04-12 05:24:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 02:24:06
[end_date_ymd] => 2025-04-12 05:24:06
[RateCDR] => 1
)
[2025-04-12 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-12 02:24:06' and `end` < '2025-04-12 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-12 05:24:11] Production.ERROR: CronJobId end10
[2025-04-12 05:24:11] Production.INFO: ==25245== Releasing lock...
[2025-04-12 05:24:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 05:24:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 05:24:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 05:24:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 05:24:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 05:24:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 05:24:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 05:24:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 05:24:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 05:24:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 05:24:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 05:24:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 05:24:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 05:24:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 05:24:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 05:24:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 05:24:14] Production.INFO: call_cost start
[2025-04-12 05:24:14] Production.INFO: call_cost end
[2025-04-12 05:24:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 05:24:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 05:24:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 05:24:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 05:24:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 05:24:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 05:24:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 05:24:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 05:24:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 05:24:15] Production.INFO: ==25241== Releasing lock...
[2025-04-12 05:24:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 05:24:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 05:24:18] Production.INFO: count ==175
[2025-04-12 05:24:18] Production.ERROR: pbx CDR StartTime 2025-04-12 02:24:06 - End Time 2025-04-12 05:24:06
[2025-04-12 05:24:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 05:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889398', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889398', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889398', 'tblTempVendorCDR_20' ) start
[2025-04-12 05:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889398', 'tblTempVendorCDR_20' ) end
[2025-04-12 05:24:18] Production.INFO: ProcessCDR(1,14889398,1,1,2)
[2025-04-12 05:24:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889398,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:24:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889398,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:24:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889398,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:24:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889398,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889398', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889398', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:24:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 05:24:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 05:24:22] Production.INFO: ==25249== Releasing lock...
[2025-04-12 05:24:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 05:24:22] Production.INFO: 29 MB #Memory Used#
[2025-04-12 10:25:02] Production.INFO: ==25305== Lock acquired, processing the job...
[2025-04-12 10:25:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 10:25:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 10:25:02] Production.INFO: neon service started
[2025-04-12 10:25:02] Production.INFO: neon service started
[2025-04-12 10:25:02] Production.INFO: ==25305== Releasing lock...
[2025-04-12 10:25:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 10:25:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 09:25:02] Production.INFO: ==25309== Lock acquired, processing the job...
[2025-04-12 09:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 09:25:02] Production.INFO: ==25309== Releasing lock...
[2025-04-12 09:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 09:25:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 05:25:02] Production.INFO: ==25307== Lock acquired, processing the job...
[2025-04-12 05:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 05:25:03] Production.INFO: ==25307== Releasing lock...
[2025-04-12 05:25:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 05:25:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 05:25:03] Production.INFO: ==25312== Lock acquired, processing the job...
[2025-04-12 05:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 05:25:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 05:25:04] Production.INFO: ==25316== Lock acquired, processing the job...
[2025-04-12 05:25:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 05:25:04] Production.INFO: ==25318== Lock acquired, processing the job...
[2025-04-12 05:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 05:25:04] Production.INFO: ==25314== Lock acquired, processing the job...
[2025-04-12 05:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 05:25:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 05:25:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 05:25:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 05:25:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 05:25:04] Production.INFO: Account Balance Start.
[2025-04-12 05:25:04] Production.INFO: CreateAllLog Start
[2025-04-12 05:25:04] Production.INFO: 117
[2025-04-12 05:25:04] Production.INFO: Date 2025-04-08
[2025-04-12 05:25:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:25:04] Production.INFO: ==25320== Lock acquired, processing the job...
[2025-04-12 05:25:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 05:25:04] Production.INFO: Date 2025-04-09
[2025-04-12 05:25:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:25:04] Production.INFO: Date 2025-04-10
[2025-04-12 05:25:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:25:04] Production.INFO: ==25322== Lock acquired, processing the job...
[2025-04-12 05:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 05:25:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 05:25:04] Production.INFO: Date 2025-04-11
[2025-04-12 05:25:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:25:04] Production.INFO: Date 2025-04-12
[2025-04-12 05:25:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:25:04] Production.INFO: Total Charge 0
[2025-04-12 05:25:04] Production.INFO: CreateAllLog End
[2025-04-12 05:25:04] Production.INFO: ==25314== Releasing lock...
[2025-04-12 05:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 05:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 05: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-12 05:25:04] Production.INFO: count ==12
[2025-04-12 05:25:04] Production.ERROR: done
[2025-04-12 05:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 05: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-12 05:25:04] Production.INFO: Account Balance End.
[2025-04-12 05:25:04] Production.INFO: count ==23
[2025-04-12 05:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889402') start
[2025-04-12 05:25:04] Production.ERROR: CronJobId end 12
[2025-04-12 05:25:04] Production.INFO: ==25318== Releasing lock...
[2025-04-12 05:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 05:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 05:25:04] Production.ERROR: done
[2025-04-12 05:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889402') end
[2025-04-12 05:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 05:25:04] Production.INFO: 1
[2025-04-12 05:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 05:25:05] Production.INFO: ==25322== Releasing lock...
[2025-04-12 05:25:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 05:25:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 05:25:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 02:25:06
[end_date_ymd] => 2025-04-12 05:25:06
[RateCDR] => 1
)
[2025-04-12 05: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-12 02:25:06' and `end` < '2025-04-12 05: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-12 05:25:12] Production.ERROR: CronJobId end10
[2025-04-12 05:25:12] Production.INFO: ==25316== Releasing lock...
[2025-04-12 05:25:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 05:25:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 05:25:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 05:25:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 05:25:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 05:25:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 05:25:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 05:25:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 05:25:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 05:25:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 05:25:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 05:25:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 05:25:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 05:25:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 05:25:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 05:25:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 05:25:14] Production.INFO: call_cost start
[2025-04-12 05:25:14] Production.INFO: call_cost end
[2025-04-12 05:25:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 05:25:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 05:25:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 05:25:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 05:25:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 05:25:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 05:25:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 05:25:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 05:25:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 05:25:15] Production.INFO: ==25312== Releasing lock...
[2025-04-12 05:25:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 05:25:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 05:25:18] Production.INFO: count ==184
[2025-04-12 05:25:18] Production.ERROR: pbx CDR StartTime 2025-04-12 02:25:06 - End Time 2025-04-12 05:25:06
[2025-04-12 05:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 05:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889403', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889403', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889403', 'tblTempVendorCDR_20' ) start
[2025-04-12 05:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889403', 'tblTempVendorCDR_20' ) end
[2025-04-12 05:25:18] Production.INFO: ProcessCDR(1,14889403,1,1,2)
[2025-04-12 05:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889403,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:25:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889403,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:25:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889403,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:25:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889403,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889403', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889403', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:25:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 05:25:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 05:25:22] Production.INFO: ==25320== Releasing lock...
[2025-04-12 05:25:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 05:25:22] Production.INFO: 29.25 MB #Memory Used#
[2025-04-12 10:26:01] Production.INFO: ==25378== Lock acquired, processing the job...
[2025-04-12 10:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 10:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 10:26:01] Production.INFO: neon service started
[2025-04-12 10:26:01] Production.INFO: neon service started
[2025-04-12 10:26:01] Production.INFO: ==25378== Releasing lock...
[2025-04-12 10:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 10:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 05:26:02] Production.INFO: ==25380== Lock acquired, processing the job...
[2025-04-12 05:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 05:26:02] Production.INFO: ==25380== Releasing lock...
[2025-04-12 05:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 05:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 09:26:02] Production.INFO: ==25382== Lock acquired, processing the job...
[2025-04-12 09:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 09:26:02] Production.INFO: ==25382== Releasing lock...
[2025-04-12 09:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 09:26:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 05:26:03] Production.INFO: ==25391== Lock acquired, processing the job...
[2025-04-12 05:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 05:26:03] Production.INFO: Account Balance Start.
[2025-04-12 05:26:03] Production.INFO: CreateAllLog Start
[2025-04-12 05:26:03] Production.INFO: 117
[2025-04-12 05:26:03] Production.INFO: Date 2025-04-08
[2025-04-12 05:26:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:26:03] Production.INFO: Date 2025-04-09
[2025-04-12 05:26:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:26:03] Production.INFO: Date 2025-04-10
[2025-04-12 05:26:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:26:03] Production.INFO: Date 2025-04-11
[2025-04-12 05:26:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:26:03] Production.INFO: Date 2025-04-12
[2025-04-12 05:26:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:26:03] Production.INFO: Total Charge 0
[2025-04-12 05:26:03] Production.INFO: CreateAllLog End
[2025-04-12 05:26:03] Production.INFO: Account Balance End.
[2025-04-12 05:26:03] Production.ERROR: CronJobId end 12
[2025-04-12 05:26:03] Production.INFO: ==25391== Releasing lock...
[2025-04-12 05:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 05:26:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 05:26:03] Production.INFO: ==25385== Lock acquired, processing the job...
[2025-04-12 05:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 05:26:03] Production.INFO: ==25387== Lock acquired, processing the job...
[2025-04-12 05:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 05:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 05:26:03] Production.INFO: ==25389== Lock acquired, processing the job...
[2025-04-12 05:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 05:26:03] Production.INFO: ==25395== Lock acquired, processing the job...
[2025-04-12 05:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 05:26:03] Production.INFO: ==25393== Lock acquired, processing the job...
[2025-04-12 05:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 05:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 05:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 05:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 05:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 05:26:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 05:26:04] Production.INFO: ==25387== Releasing lock...
[2025-04-12 05:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 05:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 05:26:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 05:26:04] Production.INFO: count ==12
[2025-04-12 05:26:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 05:26:04] Production.INFO: count ==23
[2025-04-12 05:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889407') start
[2025-04-12 05:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889407') end
[2025-04-12 05:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 05:26:04] Production.INFO: 1
[2025-04-12 05:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 05:26:04] Production.ERROR: done
[2025-04-12 05:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 05:26:04] Production.INFO: ==25395== Releasing lock...
[2025-04-12 05:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 05:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 05:26:04] Production.ERROR: done
[2025-04-12 05:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 02:26:05
[end_date_ymd] => 2025-04-12 05:26:05
[RateCDR] => 1
)
[2025-04-12 05:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 02:26:05' and `end` < '2025-04-12 05:26:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 05:26:11] Production.ERROR: CronJobId end10
[2025-04-12 05:26:11] Production.INFO: ==25389== Releasing lock...
[2025-04-12 05:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 05:26:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 05:26:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 05:26:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 05:26:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 05:26:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 05:26:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 05:26:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 05:26:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 05:26:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 05:26:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 05:26:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 05:26:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 05:26:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 05:26:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 05:26:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 05:26:14] Production.INFO: call_cost start
[2025-04-12 05:26:14] Production.INFO: call_cost end
[2025-04-12 05:26:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 05:26:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 05:26:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 05:26:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 05:26:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 05:26:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 05:26:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 05:26:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 05:26:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 05:26:15] Production.INFO: ==25385== Releasing lock...
[2025-04-12 05:26:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 05:26:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 05:26:18] Production.INFO: count ==184
[2025-04-12 05:26:18] Production.ERROR: pbx CDR StartTime 2025-04-12 02:26:05 - End Time 2025-04-12 05:26:05
[2025-04-12 05:26:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 05:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889408', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889408', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889408', 'tblTempVendorCDR_20' ) start
[2025-04-12 05:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889408', 'tblTempVendorCDR_20' ) end
[2025-04-12 05:26:18] Production.INFO: ProcessCDR(1,14889408,1,1,2)
[2025-04-12 05:26:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889408,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:26:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889408,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:26:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889408,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:26:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889408,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889408', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889408', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:26:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 05:26:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 05:26:21] Production.INFO: ==25393== Releasing lock...
[2025-04-12 05:26:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 05:26:21] Production.INFO: 29.25 MB #Memory Used#
[2025-04-12 10:27:02] Production.INFO: ==25454== Lock acquired, processing the job...
[2025-04-12 10:27:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 10:27:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 10:27:02] Production.INFO: neon service started
[2025-04-12 10:27:02] Production.INFO: neon service started
[2025-04-12 10:27:02] Production.INFO: ==25454== Releasing lock...
[2025-04-12 10:27:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 10:27:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 05:27:02] Production.INFO: ==25456== Lock acquired, processing the job...
[2025-04-12 05:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 09:27:02] Production.INFO: ==25458== Lock acquired, processing the job...
[2025-04-12 09:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 05:27:02] Production.INFO: ==25456== Releasing lock...
[2025-04-12 05:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 05:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 09:27:02] Production.INFO: ==25458== Releasing lock...
[2025-04-12 09:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 09:27:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 05:27:03] Production.INFO: ==25461== Lock acquired, processing the job...
[2025-04-12 05:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 05:27:03] Production.INFO: ==25469== Lock acquired, processing the job...
[2025-04-12 05:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 05:27:03] Production.INFO: ==25472== Lock acquired, processing the job...
[2025-04-12 05:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 05:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 05:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 05:27:03] Production.INFO: ==25463== Lock acquired, processing the job...
[2025-04-12 05:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 05:27:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 05:27:03] Production.INFO: ==25465== Lock acquired, processing the job...
[2025-04-12 05:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 05:27:03] Production.INFO: ==25467== Lock acquired, processing the job...
[2025-04-12 05:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 05:27:03] Production.INFO: count ==12
[2025-04-12 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-12 05:27:04] Production.INFO: count ==23
[2025-04-12 05:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889410') start
[2025-04-12 05:27:04] Production.INFO: Account Balance Start.
[2025-04-12 05:27:04] Production.INFO: CreateAllLog Start
[2025-04-12 05:27:04] Production.INFO: 117
[2025-04-12 05:27:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 05:27:04] Production.INFO: Date 2025-04-08
[2025-04-12 05:27:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 05:27:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 05:27:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 05:27:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:27:04] Production.INFO: Date 2025-04-09
[2025-04-12 05:27:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:27:04] Production.ERROR: done
[2025-04-12 05:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 05:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889410') end
[2025-04-12 05:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 05:27:04] Production.INFO: 1
[2025-04-12 05:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 05:27:04] Production.INFO: Date 2025-04-10
[2025-04-12 05:27:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:27:04] Production.INFO: Date 2025-04-11
[2025-04-12 05:27:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:27:04] Production.INFO: Date 2025-04-12
[2025-04-12 05:27:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:27:04] Production.INFO: Total Charge 0
[2025-04-12 05:27:04] Production.INFO: CreateAllLog End
[2025-04-12 05:27:04] Production.INFO: ==25472== Releasing lock...
[2025-04-12 05:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 05:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 05:27:04] Production.ERROR: done
[2025-04-12 05:27:04] Production.INFO: ==25463== Releasing lock...
[2025-04-12 05:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 05:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 05:27:04] Production.INFO: Account Balance End.
[2025-04-12 05:27:04] Production.ERROR: CronJobId end 12
[2025-04-12 05:27:04] Production.INFO: ==25467== Releasing lock...
[2025-04-12 05:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 05:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 05:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 02:27:05
[end_date_ymd] => 2025-04-12 05:27:05
[RateCDR] => 1
)
[2025-04-12 05:27:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 02:27:05' and `end` < '2025-04-12 05:27:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 05:27:13] Production.ERROR: CronJobId end10
[2025-04-12 05:27:13] Production.INFO: ==25465== Releasing lock...
[2025-04-12 05:27:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 05:27:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 05:27:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 05:27:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 05:27:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 05:27:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 05:27:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 05:27:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 05:27:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 05:27:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 05:27:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 05:27:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 05:27:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 05:27:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 05:27:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 05:27:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 05:27:14] Production.INFO: call_cost start
[2025-04-12 05:27:14] Production.INFO: call_cost end
[2025-04-12 05:27:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 05:27:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 05:27:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 05:27:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 05:27:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 05:27:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 05:27:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 05:27:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 05:27:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 05:27:15] Production.INFO: ==25461== Releasing lock...
[2025-04-12 05:27:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 05:27:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 05:27:18] Production.INFO: count ==182
[2025-04-12 05:27:18] Production.ERROR: pbx CDR StartTime 2025-04-12 02:27:05 - End Time 2025-04-12 05:27:05
[2025-04-12 05:27:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 05:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889413', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889413', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889413', 'tblTempVendorCDR_20' ) start
[2025-04-12 05:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889413', 'tblTempVendorCDR_20' ) end
[2025-04-12 05:27:18] Production.INFO: ProcessCDR(1,14889413,1,1,2)
[2025-04-12 05:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889413,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:27:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889413,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:27:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889413,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:27:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889413,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889413', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889413', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:27:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 05:27:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 05:27:22] Production.INFO: ==25469== Releasing lock...
[2025-04-12 05:27:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 05:27:22] Production.INFO: 29.25 MB #Memory Used#
[2025-04-12 10:28:01] Production.INFO: ==25530== Lock acquired, processing the job...
[2025-04-12 10:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 10:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 10:28:01] Production.INFO: neon service started
[2025-04-12 10:28:01] Production.INFO: neon service started
[2025-04-12 10:28:01] Production.INFO: ==25530== Releasing lock...
[2025-04-12 10:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 10:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 09:28:02] Production.INFO: ==25534== Lock acquired, processing the job...
[2025-04-12 09:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 09:28:02] Production.INFO: ==25534== Releasing lock...
[2025-04-12 09:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 09:28:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 05:28:02] Production.INFO: ==25532== Lock acquired, processing the job...
[2025-04-12 05:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 05:28:02] Production.INFO: ==25532== Releasing lock...
[2025-04-12 05:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 05:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 05:28:03] Production.INFO: ==25543== Lock acquired, processing the job...
[2025-04-12 05:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 05:28:03] Production.INFO: ==25547== Lock acquired, processing the job...
[2025-04-12 05:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 05:28:03] Production.INFO: Account Balance Start.
[2025-04-12 05:28:03] Production.INFO: CreateAllLog Start
[2025-04-12 05:28:03] Production.INFO: 117
[2025-04-12 05:28:03] Production.INFO: Date 2025-04-08
[2025-04-12 05:28:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:28:03] Production.INFO: Date 2025-04-09
[2025-04-12 05:28:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:28:03] Production.INFO: ==25537== Lock acquired, processing the job...
[2025-04-12 05:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 05:28:03] Production.INFO: Date 2025-04-10
[2025-04-12 05:28:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:28:03] Production.INFO: Date 2025-04-11
[2025-04-12 05:28:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 05:28:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 05:28:03] Production.INFO: ==25539== Lock acquired, processing the job...
[2025-04-12 05:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 05:28:03] Production.INFO: count ==12
[2025-04-12 05:28:03] Production.INFO: ==25541== Lock acquired, processing the job...
[2025-04-12 05:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 05:28:03] Production.INFO: Date 2025-04-12
[2025-04-12 05:28:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:28:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 05:28:03] Production.INFO: count ==23
[2025-04-12 05:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889415') start
[2025-04-12 05:28:03] Production.INFO: ==25545== Lock acquired, processing the job...
[2025-04-12 05:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 05:28:03] Production.INFO: Total Charge 0
[2025-04-12 05:28:03] Production.INFO: CreateAllLog End
[2025-04-12 05:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 05:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 05:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 05:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 05:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 05:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889415') end
[2025-04-12 05:28:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 05:28:03] Production.INFO: 1
[2025-04-12 05:28:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 05:28:04] Production.INFO: ==25539== Releasing lock...
[2025-04-12 05:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 05:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 05:28:04] Production.INFO: ==25547== Releasing lock...
[2025-04-12 05:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 05:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 05:28:04] Production.INFO: Account Balance End.
[2025-04-12 05:28:04] Production.ERROR: CronJobId end 12
[2025-04-12 05:28:04] Production.INFO: ==25543== Releasing lock...
[2025-04-12 05:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 05:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 05:28:04] Production.ERROR: done
[2025-04-12 05:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 05:28:04] Production.ERROR: done
[2025-04-12 05:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 02:28:05
[end_date_ymd] => 2025-04-12 05:28:05
[RateCDR] => 1
)
[2025-04-12 05:28:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 02:28:05' and `end` < '2025-04-12 05:28:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 05:28:12] Production.ERROR: CronJobId end10
[2025-04-12 05:28:12] Production.INFO: ==25541== Releasing lock...
[2025-04-12 05:28:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 05:28:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 05:28:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 05:28:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 05:28:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 05:28:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 05:28:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 05:28:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 05:28:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 05:28:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 05:28:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 05:28:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 05:28:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 05:28:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 05:28:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 05:28:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 05:28:15] Production.INFO: call_cost start
[2025-04-12 05:28:15] Production.INFO: call_cost end
[2025-04-12 05:28:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 05:28:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 05:28:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 05:28:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 05:28:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 05:28:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 05:28:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 05:28:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 05:28:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 05:28:15] Production.INFO: ==25537== Releasing lock...
[2025-04-12 05:28:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 05:28:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 05:28:18] Production.INFO: count ==180
[2025-04-12 05:28:18] Production.ERROR: pbx CDR StartTime 2025-04-12 02:28:05 - End Time 2025-04-12 05:28:05
[2025-04-12 05:28:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 05:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889418', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889418', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889418', 'tblTempVendorCDR_20' ) start
[2025-04-12 05:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889418', 'tblTempVendorCDR_20' ) end
[2025-04-12 05:28:18] Production.INFO: ProcessCDR(1,14889418,1,1,2)
[2025-04-12 05:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889418,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:28:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889418,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:28:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889418,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:28:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889418,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889418', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889418', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:28:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 05:28:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 05:28:21] Production.INFO: ==25545== Releasing lock...
[2025-04-12 05:28:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 05:28:21] Production.INFO: 29.25 MB #Memory Used#
[2025-04-12 10:29:02] Production.INFO: ==25601== Lock acquired, processing the job...
[2025-04-12 10:29:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 10:29:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 10:29:02] Production.INFO: neon service started
[2025-04-12 10:29:02] Production.INFO: neon service started
[2025-04-12 10:29:02] Production.INFO: ==25601== Releasing lock...
[2025-04-12 10:29:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 10:29:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 09:29:02] Production.INFO: ==25605== Lock acquired, processing the job...
[2025-04-12 09:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 09:29:02] Production.INFO: ==25605== Releasing lock...
[2025-04-12 09:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 09:29:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 05:29:02] Production.INFO: ==25603== Lock acquired, processing the job...
[2025-04-12 05:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 05:29:02] Production.INFO: ==25603== Releasing lock...
[2025-04-12 05:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 05:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 05:29:03] Production.INFO: ==25610== Lock acquired, processing the job...
[2025-04-12 05:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 05:29:03] Production.INFO: ==25612== Lock acquired, processing the job...
[2025-04-12 05:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 05:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 05:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 05:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 05:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 05:29:03] Production.INFO: ==25616== Lock acquired, processing the job...
[2025-04-12 05:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 05:29:03] Production.INFO: ==25608== Lock acquired, processing the job...
[2025-04-12 05:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 05:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 05:29:03] Production.INFO: ==25614== Lock acquired, processing the job...
[2025-04-12 05:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 05:29:03] Production.INFO: ==25618== Lock acquired, processing the job...
[2025-04-12 05:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 05:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 05:29:03] Production.INFO: ==25610== Releasing lock...
[2025-04-12 05:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 05:29:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 05:29:04] Production.INFO: Account Balance Start.
[2025-04-12 05:29:04] Production.INFO: CreateAllLog Start
[2025-04-12 05:29:04] Production.INFO: 117
[2025-04-12 05:29:04] Production.INFO: Date 2025-04-08
[2025-04-12 05: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-12 05:29:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:29:04] Production.INFO: count ==12
[2025-04-12 05:29:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 05:29:04] Production.INFO: count ==23
[2025-04-12 05:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889421') start
[2025-04-12 05:29:04] Production.INFO: Date 2025-04-09
[2025-04-12 05:29:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:29:04] Production.INFO: Date 2025-04-10
[2025-04-12 05:29:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:29:04] Production.ERROR: done
[2025-04-12 05:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 05:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889421') end
[2025-04-12 05:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 05:29:04] Production.INFO: 1
[2025-04-12 05:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 05:29:04] Production.INFO: Date 2025-04-11
[2025-04-12 05:29:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:29:04] Production.INFO: ==25618== Releasing lock...
[2025-04-12 05:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 05:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 05:29:04] Production.ERROR: done
[2025-04-12 05:29:04] Production.INFO: Date 2025-04-12
[2025-04-12 05:29:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:29:04] Production.INFO: Total Charge 0
[2025-04-12 05:29:04] Production.INFO: CreateAllLog End
[2025-04-12 05:29:04] Production.INFO: Account Balance End.
[2025-04-12 05:29:04] Production.ERROR: CronJobId end 12
[2025-04-12 05:29:04] Production.INFO: ==25614== Releasing lock...
[2025-04-12 05:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 05:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 05:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 02:29:05
[end_date_ymd] => 2025-04-12 05:29:05
[RateCDR] => 1
)
[2025-04-12 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-12 02:29:05' and `end` < '2025-04-12 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-12 05:29:12] Production.ERROR: CronJobId end10
[2025-04-12 05:29:12] Production.INFO: ==25612== Releasing lock...
[2025-04-12 05:29:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 05:29:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 05:29:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 05:29:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 05:29:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 05:29:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 05:29:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 05:29:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 05:29:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 05:29:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 05:29:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 05:29:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 05:29:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 05:29:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 05:29:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 05:29:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 05:29:15] Production.INFO: call_cost start
[2025-04-12 05:29:15] Production.INFO: call_cost end
[2025-04-12 05:29:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 05:29:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 05:29:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 05:29:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 05:29:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 05:29:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 05:29:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 05:29:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 05:29:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 05:29:16] Production.INFO: ==25608== Releasing lock...
[2025-04-12 05:29:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 05:29:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 05:29:18] Production.INFO: count ==180
[2025-04-12 05:29:18] Production.ERROR: pbx CDR StartTime 2025-04-12 02:29:05 - End Time 2025-04-12 05:29:05
[2025-04-12 05:29:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 05:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889423', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889423', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889423', 'tblTempVendorCDR_20' ) start
[2025-04-12 05:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889423', 'tblTempVendorCDR_20' ) end
[2025-04-12 05:29:18] Production.INFO: ProcessCDR(1,14889423,1,1,2)
[2025-04-12 05:29:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889423,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:29:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889423,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:29:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889423,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:29:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889423,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889423', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889423', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:29:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 05:29:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 05:29:21] Production.INFO: ==25616== Releasing lock...
[2025-04-12 05:29:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 05:29:21] Production.INFO: 29.25 MB #Memory Used#
[2025-04-12 10:30:01] Production.INFO: ==25671== Lock acquired, processing the job...
[2025-04-12 10:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 10:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 10:30:01] Production.INFO: neon service started
[2025-04-12 10:30:01] Production.INFO: neon service started
[2025-04-12 10:30:01] Production.INFO: ==25671== Releasing lock...
[2025-04-12 10:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 10:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 05:30:01] Production.INFO: ==25673== Lock acquired, processing the job...
[2025-04-12 05:30:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 09:30:02] Production.INFO: ==25675== Lock acquired, processing the job...
[2025-04-12 09:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 05:30:02] Production.INFO: ==25673== Releasing lock...
[2025-04-12 05:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 05:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 09:30:02] Production.INFO: ==25675== Releasing lock...
[2025-04-12 09:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 09:30:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 05:30:03] Production.INFO: ==25677== Lock acquired, processing the job...
[2025-04-12 05:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 05:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 05:30:03] Production.INFO: ==25679== Lock acquired, processing the job...
[2025-04-12 05:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 05:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 05:30:03] Production.INFO: ==25677== Releasing lock...
[2025-04-12 05:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 05:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 05:30:03] Production.INFO: ==25682== Lock acquired, processing the job...
[2025-04-12 05:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 05:30:03] Production.INFO: ==25684== Lock acquired, processing the job...
[2025-04-12 05:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 05:30:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 05:30:03] Production.INFO: ==25686== Lock acquired, processing the job...
[2025-04-12 05:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 05:30:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 05:30:03] Production.INFO: ==25688== Lock acquired, processing the job...
[2025-04-12 05:30:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 05:30:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 05:30:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 05:30:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 05:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 05:30:03] Production.INFO: Account Balance Start.
[2025-04-12 05:30:03] Production.INFO: CreateAllLog Start
[2025-04-12 05:30:03] Production.INFO: ==25692== Lock acquired, processing the job...
[2025-04-12 05:30:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 05:30:03] Production.INFO: 117
[2025-04-12 05:30:03] Production.INFO: ==25690== Lock acquired, processing the job...
[2025-04-12 05:30:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 05:30:03] Production.INFO: Date 2025-04-08
[2025-04-12 05:30:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:30:03] Production.INFO: Date 2025-04-09
[2025-04-12 05:30:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:30:03] Production.INFO: Date 2025-04-10
[2025-04-12 05:30:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 05: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-12 05:30:03] Production.INFO: ==25682== Releasing lock...
[2025-04-12 05:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 05:30:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 05:30:04] Production.INFO: Date 2025-04-11
[2025-04-12 05:30:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:30:04] Production.INFO: count ==12
[2025-04-12 05:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 05:30:04] Production.INFO: count ==23
[2025-04-12 05:30:04] Production.INFO: Date 2025-04-12
[2025-04-12 05:30:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889427') start
[2025-04-12 05:30:04] Production.ERROR: done
[2025-04-12 05:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 05:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889427') end
[2025-04-12 05:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 05:30:04] Production.INFO: 1
[2025-04-12 05:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 05:30:04] Production.INFO: Total Charge 0
[2025-04-12 05:30:04] Production.INFO: ==25692== Releasing lock...
[2025-04-12 05:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 05:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 05:30:04] Production.INFO: CreateAllLog End
[2025-04-12 05:30:04] Production.ERROR: done
[2025-04-12 05:30:04] Production.ERROR: done
[2025-04-12 05:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 05:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14889428', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 05:30:04] Production.INFO: Account Balance End.
[2025-04-12 05:30:04] Production.ERROR: CronJobId end 12
[2025-04-12 05:30:04] Production.INFO: ==25686== Releasing lock...
[2025-04-12 05:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 05:30:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 05:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 02:30:06
[end_date_ymd] => 2025-04-12 05:30:06
[RateCDR] => 1
)
[2025-04-12 05:30:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 02:30:06' and `end` < '2025-04-12 05:30:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 05:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14889428', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 05:30:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 05:30:08] Production.INFO: ProcessCDR(1,14889428,1,1,2)
[2025-04-12 05:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14889428,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:30:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14889428,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:30:08] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 05:30:08] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 05:30:08] Production.INFO: ==25690== Releasing lock...
[2025-04-12 05:30:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 05:30:08] Production.INFO: 26 MB #Memory Used#
[2025-04-12 05:30:14] Production.ERROR: CronJobId end10
[2025-04-12 05:30:14] Production.INFO: ==25684== Releasing lock...
[2025-04-12 05:30:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 05:30:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 05:30:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 05:30:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 05:30:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 05:30:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 05:30:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 05:30:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 05:30:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 05:30:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 05:30:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 05:30:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 05:30:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 05:30:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 05:30:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 05:30:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 05:30:15] Production.INFO: call_cost start
[2025-04-12 05:30:15] Production.INFO: call_cost end
[2025-04-12 05:30:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 05:30:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 05:30:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 05:30:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 05:30:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 05:30:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 05:30:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 05:30:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 05:30:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 05:30:16] Production.INFO: ==25679== Releasing lock...
[2025-04-12 05:30:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 05:30:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 05:30:18] Production.INFO: count ==169
[2025-04-12 05:30:18] Production.ERROR: pbx CDR StartTime 2025-04-12 02:30:06 - End Time 2025-04-12 05:30:06
[2025-04-12 05:30:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 05:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889429', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889429', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889429', 'tblTempVendorCDR_20' ) start
[2025-04-12 05:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889429', 'tblTempVendorCDR_20' ) end
[2025-04-12 05:30:18] Production.INFO: ProcessCDR(1,14889429,1,1,2)
[2025-04-12 05:30:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889429,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:30:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889429,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:30:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889429,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:30:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889429,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889429', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889429', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:30:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 05:30:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 05:30:22] Production.INFO: ==25688== Releasing lock...
[2025-04-12 05:30:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 05:30:22] Production.INFO: 29 MB #Memory Used#
[2025-04-12 10:31:01] Production.INFO: ==25746== Lock acquired, processing the job...
[2025-04-12 10:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 10:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 10:31:01] Production.INFO: neon service started
[2025-04-12 10:31:01] Production.INFO: neon service started
[2025-04-12 10:31:01] Production.INFO: ==25746== Releasing lock...
[2025-04-12 10:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 10:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 05:31:02] Production.INFO: ==25748== Lock acquired, processing the job...
[2025-04-12 05:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 05:31:02] Production.INFO: ==25748== Releasing lock...
[2025-04-12 05:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 05:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 09:31:02] Production.INFO: ==25750== Lock acquired, processing the job...
[2025-04-12 09:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 09:31:02] Production.INFO: ==25750== Releasing lock...
[2025-04-12 09:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 09:31:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 05:31:03] Production.INFO: ==25754== Lock acquired, processing the job...
[2025-04-12 05:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 05:31:03] Production.INFO: ==25752== Lock acquired, processing the job...
[2025-04-12 05:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 05:31:03] Production.INFO: ==25756== Lock acquired, processing the job...
[2025-04-12 05:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 05:31:03] Production.INFO: ==25761== Lock acquired, processing the job...
[2025-04-12 05:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 05:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 05:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 05:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 05:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 05:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 05:31:03] Production.INFO: ==25758== Lock acquired, processing the job...
[2025-04-12 05:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 05:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 05:31:03] Production.INFO: ==25763== Lock acquired, processing the job...
[2025-04-12 05:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 05:31:03] Production.INFO: Account Balance Start.
[2025-04-12 05:31:03] Production.INFO: CreateAllLog Start
[2025-04-12 05:31:03] Production.INFO: 117
[2025-04-12 05:31:03] Production.INFO: ==25754== Releasing lock...
[2025-04-12 05:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 05:31:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 05:31:03] Production.INFO: Date 2025-04-08
[2025-04-12 05:31:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:31:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 05:31:03] Production.INFO: Date 2025-04-09
[2025-04-12 05:31:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:31:03] Production.INFO: count ==12
[2025-04-12 05: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-12 05:31:04] Production.INFO: count ==23
[2025-04-12 05:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889433') start
[2025-04-12 05:31:04] Production.INFO: Date 2025-04-10
[2025-04-12 05:31:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:31:04] Production.INFO: Date 2025-04-11
[2025-04-12 05:31:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:31:04] Production.ERROR: done
[2025-04-12 05:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889433') end
[2025-04-12 05:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 05:31:04] Production.INFO: 1
[2025-04-12 05:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 05:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 05:31:04] Production.INFO: ==25763== Releasing lock...
[2025-04-12 05:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 05:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 05:31:04] Production.INFO: Date 2025-04-12
[2025-04-12 05:31:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:31:04] Production.INFO: Total Charge 0
[2025-04-12 05:31:04] Production.INFO: CreateAllLog End
[2025-04-12 05:31:04] Production.ERROR: done
[2025-04-12 05:31:04] Production.INFO: Account Balance End.
[2025-04-12 05:31:04] Production.ERROR: CronJobId end 12
[2025-04-12 05:31:04] Production.INFO: ==25758== Releasing lock...
[2025-04-12 05:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 05:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 05:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 02:31:05
[end_date_ymd] => 2025-04-12 05:31:05
[RateCDR] => 1
)
[2025-04-12 05:31:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 02:31:05' and `end` < '2025-04-12 05:31:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 05:31:12] Production.ERROR: CronJobId end10
[2025-04-12 05:31:12] Production.INFO: ==25756== Releasing lock...
[2025-04-12 05:31:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 05:31:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 05:31:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 05:31:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 05:31:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 05:31:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 05:31:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 05:31:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 05:31:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 05:31:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 05:31:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 05:31:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 05:31:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 05:31:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 05:31:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 05:31:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 05:31:15] Production.INFO: call_cost start
[2025-04-12 05:31:15] Production.INFO: call_cost end
[2025-04-12 05:31:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 05:31:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 05:31:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 05:31:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 05:31:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 05:31:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 05:31:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 05:31:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 05:31:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 05:31:16] Production.INFO: ==25752== Releasing lock...
[2025-04-12 05:31:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 05:31:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 05:31:18] Production.INFO: count ==169
[2025-04-12 05:31:18] Production.ERROR: pbx CDR StartTime 2025-04-12 02:31:05 - End Time 2025-04-12 05:31:05
[2025-04-12 05:31:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 05:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889434', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889434', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889434', 'tblTempVendorCDR_20' ) start
[2025-04-12 05:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889434', 'tblTempVendorCDR_20' ) end
[2025-04-12 05:31:18] Production.INFO: ProcessCDR(1,14889434,1,1,2)
[2025-04-12 05:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889434,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:31:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889434,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:31:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889434,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:31:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889434,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889434', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889434', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:31:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 05:31:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 05:31:22] Production.INFO: ==25761== Releasing lock...
[2025-04-12 05:31:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 05:31:22] Production.INFO: 29 MB #Memory Used#
[2025-04-12 10:32:01] Production.INFO: ==25818== Lock acquired, processing the job...
[2025-04-12 10:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 10:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 10:32:01] Production.INFO: neon service started
[2025-04-12 10:32:01] Production.INFO: neon service started
[2025-04-12 10:32:01] Production.INFO: ==25818== Releasing lock...
[2025-04-12 10:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 10:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 05:32:01] Production.INFO: ==25820== Lock acquired, processing the job...
[2025-04-12 05:32:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 05:32:02] Production.INFO: ==25820== Releasing lock...
[2025-04-12 05:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 05:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 09:32:02] Production.INFO: ==25822== Lock acquired, processing the job...
[2025-04-12 09:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 09:32:02] Production.INFO: ==25822== Releasing lock...
[2025-04-12 09:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 09:32:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 05:32:03] Production.INFO: ==25832== Lock acquired, processing the job...
[2025-04-12 05:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 05:32:03] Production.INFO: ==25824== Lock acquired, processing the job...
[2025-04-12 05:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 05:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 05:32:03] Production.INFO: ==25835== Lock acquired, processing the job...
[2025-04-12 05:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 05:32:03] Production.INFO: ==25826== Lock acquired, processing the job...
[2025-04-12 05:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 05:32:03] Production.INFO: ==25828== Lock acquired, processing the job...
[2025-04-12 05:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 05:32:03] Production.INFO: ==25830== Lock acquired, processing the job...
[2025-04-12 05:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 05:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 05:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 05:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 05:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 05:32:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 05:32:03] Production.INFO: count ==12
[2025-04-12 05: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-12 05:32:03] Production.INFO: count ==23
[2025-04-12 05:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889435') start
[2025-04-12 05:32:03] Production.INFO: Account Balance Start.
[2025-04-12 05:32:03] Production.INFO: CreateAllLog Start
[2025-04-12 05:32:03] Production.INFO: 117
[2025-04-12 05:32:03] Production.INFO: Date 2025-04-08
[2025-04-12 05:32:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:32:03] Production.INFO: Date 2025-04-09
[2025-04-12 05:32:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:32:03] Production.INFO: Date 2025-04-10
[2025-04-12 05:32:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 05:32:03] Production.ERROR: done
[2025-04-12 05:32:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 05:32:03] Production.INFO: Date 2025-04-11
[2025-04-12 05:32:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:32:03] Production.INFO: Date 2025-04-12
[2025-04-12 05:32:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889435') end
[2025-04-12 05:32:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 05:32:03] Production.INFO: 1
[2025-04-12 05:32:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 05:32:03] Production.INFO: Total Charge 0
[2025-04-12 05:32:03] Production.INFO: CreateAllLog End
[2025-04-12 05:32:03] Production.INFO: ==25835== Releasing lock...
[2025-04-12 05:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 05:32:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 05:32:03] Production.INFO: ==25826== Releasing lock...
[2025-04-12 05:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 05:32:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 05:32:03] Production.ERROR: done
[2025-04-12 05:32:03] Production.INFO: Account Balance End.
[2025-04-12 05:32:03] Production.ERROR: CronJobId end 12
[2025-04-12 05:32:03] Production.INFO: ==25830== Releasing lock...
[2025-04-12 05:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 05:32:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 05:32:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 02:32:04
[end_date_ymd] => 2025-04-12 05:32:04
[RateCDR] => 1
)
[2025-04-12 05:32:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 02:32:04' and `end` < '2025-04-12 05:32:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 05:32:11] Production.ERROR: CronJobId end10
[2025-04-12 05:32:11] Production.INFO: ==25828== Releasing lock...
[2025-04-12 05:32:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 05:32:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 05:32:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 05:32:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 05:32:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 05:32:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 05:32:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 05:32:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 05:32:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 05:32:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 05:32:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 05:32:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 05:32:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 05:32:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 05:32:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 05:32:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 05:32:13] Production.INFO: call_cost start
[2025-04-12 05:32:13] Production.INFO: call_cost end
[2025-04-12 05:32:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 05:32:14] Production.INFO: ============== Report Schedule START===========
[2025-04-12 05:32:14] Production.INFO: ============== Report Schedule END===========
[2025-04-12 05:32:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 05:32:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 05:32:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 05:32:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 05:32:14] Production.INFO: ============== Deal alert START===========
[2025-04-12 05:32:14] Production.INFO: ============== Deal alert END===========
[2025-04-12 05:32:14] Production.INFO: ==25824== Releasing lock...
[2025-04-12 05:32:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 05:32:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 05:32:17] Production.INFO: count ==169
[2025-04-12 05:32:17] Production.ERROR: pbx CDR StartTime 2025-04-12 02:32:04 - End Time 2025-04-12 05:32:04
[2025-04-12 05:32:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 05:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889439', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889439', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889439', 'tblTempVendorCDR_20' ) start
[2025-04-12 05:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889439', 'tblTempVendorCDR_20' ) end
[2025-04-12 05:32:17] Production.INFO: ProcessCDR(1,14889439,1,1,2)
[2025-04-12 05:32:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889439,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:32:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889439,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:32:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889439,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:32:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889439,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889439', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889439', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:32:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 05:32:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 05:32:21] Production.INFO: ==25832== Releasing lock...
[2025-04-12 05:32:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 05:32:21] Production.INFO: 29 MB #Memory Used#
[2025-04-12 10:33:01] Production.INFO: ==25929== Lock acquired, processing the job...
[2025-04-12 10:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 10:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 10:33:01] Production.INFO: neon service started
[2025-04-12 10:33:01] Production.INFO: neon service started
[2025-04-12 10:33:01] Production.INFO: ==25929== Releasing lock...
[2025-04-12 10:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 10:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 05:33:02] Production.INFO: ==25932== Lock acquired, processing the job...
[2025-04-12 05:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 05:33:02] Production.INFO: ==25932== Releasing lock...
[2025-04-12 05:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 05:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 09:33:02] Production.INFO: ==25934== Lock acquired, processing the job...
[2025-04-12 09:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 09:33:02] Production.INFO: ==25934== Releasing lock...
[2025-04-12 09:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 09:33:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 05:33:03] Production.INFO: ==25936== Lock acquired, processing the job...
[2025-04-12 05:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 05:33:03] Production.INFO: ==25940== Lock acquired, processing the job...
[2025-04-12 05:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 05:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 05:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 05:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 05:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 05:33:03] Production.INFO: ==25944== Lock acquired, processing the job...
[2025-04-12 05:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 05:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 05:33:03] Production.INFO: ==25938== Lock acquired, processing the job...
[2025-04-12 05:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 05:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 05:33:03] Production.INFO: ==25942== Lock acquired, processing the job...
[2025-04-12 05:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 05:33:03] Production.INFO: ==25946== Lock acquired, processing the job...
[2025-04-12 05:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 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-12 05:33:03] Production.INFO: Account Balance Start.
[2025-04-12 05:33:03] Production.INFO: CreateAllLog Start
[2025-04-12 05:33:03] Production.INFO: count ==12
[2025-04-12 05:33:03] Production.INFO: 117
[2025-04-12 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-12 05:33:03] Production.INFO: count ==23
[2025-04-12 05:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889442') start
[2025-04-12 05:33:03] Production.INFO: Date 2025-04-08
[2025-04-12 05:33:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:33:04] Production.ERROR: done
[2025-04-12 05:33:04] Production.INFO: ==25938== Releasing lock...
[2025-04-12 05:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 05:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 05:33:04] Production.INFO: Date 2025-04-09
[2025-04-12 05:33:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 05:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889442') end
[2025-04-12 05:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 05:33:04] Production.INFO: 1
[2025-04-12 05:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 05:33:04] Production.INFO: Date 2025-04-10
[2025-04-12 05:33:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:33:04] Production.INFO: Date 2025-04-11
[2025-04-12 05:33:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:33:04] Production.INFO: Date 2025-04-12
[2025-04-12 05:33:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:33:04] Production.INFO: Total Charge 0
[2025-04-12 05:33:04] Production.INFO: CreateAllLog End
[2025-04-12 05:33:04] Production.INFO: ==25946== Releasing lock...
[2025-04-12 05:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 05:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 05:33:04] Production.ERROR: done
[2025-04-12 05:33:04] Production.INFO: Account Balance End.
[2025-04-12 05:33:04] Production.ERROR: CronJobId end 12
[2025-04-12 05:33:04] Production.INFO: ==25942== Releasing lock...
[2025-04-12 05:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 05:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 05:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 02:33:05
[end_date_ymd] => 2025-04-12 05:33:05
[RateCDR] => 1
)
[2025-04-12 05:33:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 02:33:05' and `end` < '2025-04-12 05:33:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 05:33:11] Production.ERROR: CronJobId end10
[2025-04-12 05:33:11] Production.INFO: ==25940== Releasing lock...
[2025-04-12 05:33:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 05:33:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 05:33:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 05:33:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 05:33:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 05:33:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 05:33:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 05:33:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 05:33:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 05:33:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 05:33:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 05:33:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 05:33:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 05:33:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 05:33:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 05:33:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 05:33:14] Production.INFO: call_cost start
[2025-04-12 05:33:14] Production.INFO: call_cost end
[2025-04-12 05:33:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 05:33:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 05:33:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 05:33:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 05:33:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 05:33:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 05:33:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 05:33:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 05:33:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 05:33:15] Production.INFO: ==25936== Releasing lock...
[2025-04-12 05:33:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 05:33:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 05:33:18] Production.INFO: count ==169
[2025-04-12 05:33:18] Production.ERROR: pbx CDR StartTime 2025-04-12 02:33:05 - End Time 2025-04-12 05:33:05
[2025-04-12 05:33:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 05:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889444', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889444', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889444', 'tblTempVendorCDR_20' ) start
[2025-04-12 05:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889444', 'tblTempVendorCDR_20' ) end
[2025-04-12 05:33:18] Production.INFO: ProcessCDR(1,14889444,1,1,2)
[2025-04-12 05:33:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889444,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:33:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889444,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:33:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889444,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:33:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889444,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889444', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889444', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:33:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 05:33:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 05:33:21] Production.INFO: ==25944== Releasing lock...
[2025-04-12 05:33:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 05:33:21] Production.INFO: 29 MB #Memory Used#
[2025-04-12 10:34:02] Production.INFO: ==26005== Lock acquired, processing the job...
[2025-04-12 10:34:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 10:34:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 10:34:02] Production.INFO: neon service started
[2025-04-12 10:34:02] Production.INFO: neon service started
[2025-04-12 10:34:02] Production.INFO: ==26005== Releasing lock...
[2025-04-12 10:34:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 10:34:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 05:34:02] Production.INFO: ==26007== Lock acquired, processing the job...
[2025-04-12 05:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 09:34:02] Production.INFO: ==26009== Lock acquired, processing the job...
[2025-04-12 09:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 05:34:02] Production.INFO: ==26007== Releasing lock...
[2025-04-12 05:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 05:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 09:34:02] Production.INFO: ==26009== Releasing lock...
[2025-04-12 09:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 09:34:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 05:34:03] Production.INFO: ==26012== Lock acquired, processing the job...
[2025-04-12 05:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 05:34:03] Production.INFO: ==26016== Lock acquired, processing the job...
[2025-04-12 05:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 05:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 05:34:03] Production.INFO: ==26020== Lock acquired, processing the job...
[2025-04-12 05:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 05:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 05:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 05:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 05:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 05:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 05:34:03] Production.INFO: ==26014== Lock acquired, processing the job...
[2025-04-12 05:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 05:34:04] Production.INFO: ==26018== Lock acquired, processing the job...
[2025-04-12 05:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 05:34:04] Production.INFO: ==26022== Lock acquired, processing the job...
[2025-04-12 05:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 05:34:04] Production.ERROR: done
[2025-04-12 05:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 05:34:04] Production.INFO: ==26014== Releasing lock...
[2025-04-12 05:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 05:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 05:34:04] Production.INFO: Account Balance Start.
[2025-04-12 05:34:04] Production.INFO: CreateAllLog Start
[2025-04-12 05:34:04] Production.INFO: 117
[2025-04-12 05:34:04] Production.INFO: Date 2025-04-08
[2025-04-12 05:34:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 05:34:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:34:04] Production.INFO: count ==12
[2025-04-12 05:34:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 05:34:04] Production.INFO: count ==23
[2025-04-12 05:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889448') start
[2025-04-12 05:34:04] Production.INFO: Date 2025-04-09
[2025-04-12 05:34:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:34:04] Production.ERROR: done
[2025-04-12 05:34:04] Production.INFO: Date 2025-04-10
[2025-04-12 05:34:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:34:04] Production.INFO: Date 2025-04-11
[2025-04-12 05:34:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:34:04] Production.INFO: Date 2025-04-12
[2025-04-12 05:34:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889448') end
[2025-04-12 05:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 05:34:04] Production.INFO: 1
[2025-04-12 05:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 05:34:04] Production.INFO: Total Charge 0
[2025-04-12 05:34:04] Production.INFO: CreateAllLog End
[2025-04-12 05:34:04] Production.INFO: ==26022== Releasing lock...
[2025-04-12 05:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 05:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 05:34:04] Production.INFO: Account Balance End.
[2025-04-12 05:34:05] Production.ERROR: CronJobId end 12
[2025-04-12 05:34:05] Production.INFO: ==26018== Releasing lock...
[2025-04-12 05:34:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 05:34:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 05:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 02:34:05
[end_date_ymd] => 2025-04-12 05:34:05
[RateCDR] => 1
)
[2025-04-12 05:34:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 02:34:05' and `end` < '2025-04-12 05:34:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 05:34:13] Production.ERROR: CronJobId end10
[2025-04-12 05:34:13] Production.INFO: ==26016== Releasing lock...
[2025-04-12 05:34:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 05:34:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 05:34:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 05:34:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 05:34:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 05:34:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 05:34:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 05:34:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 05:34:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 05:34:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 05:34:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 05:34:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 05:34:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 05:34:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 05:34:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 05:34:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 05:34:14] Production.INFO: call_cost start
[2025-04-12 05:34:14] Production.INFO: call_cost end
[2025-04-12 05:34:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 05:34:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 05:34:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 05:34:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 05:34:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 05:34:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 05:34:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 05:34:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 05:34:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 05:34:15] Production.INFO: ==26012== Releasing lock...
[2025-04-12 05:34:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 05:34:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 05:34:18] Production.INFO: count ==169
[2025-04-12 05:34:18] Production.ERROR: pbx CDR StartTime 2025-04-12 02:34:05 - End Time 2025-04-12 05:34:05
[2025-04-12 05:34:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 05:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889449', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889449', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889449', 'tblTempVendorCDR_20' ) start
[2025-04-12 05:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889449', 'tblTempVendorCDR_20' ) end
[2025-04-12 05:34:18] Production.INFO: ProcessCDR(1,14889449,1,1,2)
[2025-04-12 05:34:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889449,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:34:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889449,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:34:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889449,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:34:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889449,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889449', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889449', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:34:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 05:34:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 05:34:22] Production.INFO: ==26020== Releasing lock...
[2025-04-12 05:34:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 05:34:22] Production.INFO: 29 MB #Memory Used#
[2025-04-12 10:35:01] Production.INFO: ==26080== Lock acquired, processing the job...
[2025-04-12 10:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 10:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 10:35:01] Production.INFO: neon service started
[2025-04-12 10:35:01] Production.INFO: neon service started
[2025-04-12 10:35:01] Production.INFO: ==26080== Releasing lock...
[2025-04-12 10:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 10:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 05:35:02] Production.INFO: ==26082== Lock acquired, processing the job...
[2025-04-12 05:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 09:35:02] Production.INFO: ==26084== Lock acquired, processing the job...
[2025-04-12 09:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 09:35:02] Production.INFO: ==26084== Releasing lock...
[2025-04-12 09:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 09:35:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 05:35:02] Production.INFO: ==26082== Releasing lock...
[2025-04-12 05:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 05:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 05:35:03] Production.INFO: ==26089== Lock acquired, processing the job...
[2025-04-12 05:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 05:35:03] Production.INFO: ==26095== Lock acquired, processing the job...
[2025-04-12 05:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 05:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 05:35:03] Production.INFO: ==26087== Lock acquired, processing the job...
[2025-04-12 05:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 05:35:03] Production.INFO: ==26091== Lock acquired, processing the job...
[2025-04-12 05:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 05:35:03] Production.INFO: ==26093== Lock acquired, processing the job...
[2025-04-12 05:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 05:35:03] Production.INFO: ==26097== Lock acquired, processing the job...
[2025-04-12 05:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 05:35:03] Production.ERROR: done
[2025-04-12 05:35:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 05:35:03] Production.INFO: Account Balance Start.
[2025-04-12 05:35:03] Production.INFO: CreateAllLog Start
[2025-04-12 05:35:03] Production.INFO: 117
[2025-04-12 05:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 05:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 05:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 05:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 05:35:03] Production.INFO: Date 2025-04-08
[2025-04-12 05:35:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 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-12 05:35:03] Production.INFO: count ==12
[2025-04-12 05:35:03] Production.ERROR: done
[2025-04-12 05:35:03] Production.INFO: ==26089== Releasing lock...
[2025-04-12 05:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 05:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 05:35:03] Production.INFO: Date 2025-04-09
[2025-04-12 05:35:03] Production.INFO: Reseller ==> 0
[2025-04-12 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-12 05:35:03] Production.INFO: count ==23
[2025-04-12 05:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889451') start
[2025-04-12 05:35:03] Production.INFO: Date 2025-04-10
[2025-04-12 05:35:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:35:03] Production.INFO: Date 2025-04-11
[2025-04-12 05:35:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889451') end
[2025-04-12 05:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 05:35:04] Production.INFO: 1
[2025-04-12 05:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 05:35:04] Production.INFO: Date 2025-04-12
[2025-04-12 05:35:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:35:04] Production.INFO: Total Charge 0
[2025-04-12 05:35:04] Production.INFO: CreateAllLog End
[2025-04-12 05:35:04] Production.INFO: ==26097== Releasing lock...
[2025-04-12 05:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 05:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 05:35:04] Production.INFO: Account Balance End.
[2025-04-12 05:35:04] Production.ERROR: CronJobId end 12
[2025-04-12 05:35:04] Production.INFO: ==26093== Releasing lock...
[2025-04-12 05:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 05:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 05:35:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 02:35:04
[end_date_ymd] => 2025-04-12 05:35:04
[RateCDR] => 1
)
[2025-04-12 05: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-12 02:35:04' and `end` < '2025-04-12 05: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-12 05:35:11] Production.ERROR: CronJobId end10
[2025-04-12 05:35:11] Production.INFO: ==26091== Releasing lock...
[2025-04-12 05:35:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 05:35:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 05:35:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 05:35:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 05:35:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 05:35:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 05:35:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 05:35:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 05:35:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 05:35:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 05:35:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 05:35:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 05:35:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 05:35:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 05:35:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 05:35:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 05:35:14] Production.INFO: call_cost start
[2025-04-12 05:35:14] Production.INFO: call_cost end
[2025-04-12 05:35:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 05:35:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 05:35:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 05:35:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 05:35:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 05:35:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 05:35:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 05:35:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 05:35:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 05:35:15] Production.INFO: ==26087== Releasing lock...
[2025-04-12 05:35:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 05:35:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 05:35:17] Production.INFO: count ==169
[2025-04-12 05:35:17] Production.ERROR: pbx CDR StartTime 2025-04-12 02:35:04 - End Time 2025-04-12 05:35:04
[2025-04-12 05:35:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 05:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889454', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889454', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889454', 'tblTempVendorCDR_20' ) start
[2025-04-12 05:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889454', 'tblTempVendorCDR_20' ) end
[2025-04-12 05:35:17] Production.INFO: ProcessCDR(1,14889454,1,1,2)
[2025-04-12 05:35:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889454,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:35:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889454,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:35:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889454,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:35:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889454,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889454', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889454', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:35:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 05:35:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 05:35:21] Production.INFO: ==26095== Releasing lock...
[2025-04-12 05:35:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 05:35:21] Production.INFO: 29 MB #Memory Used#
[2025-04-12 10:36:02] Production.INFO: ==26151== Lock acquired, processing the job...
[2025-04-12 10:36:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 10:36:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 10:36:02] Production.INFO: neon service started
[2025-04-12 10:36:02] Production.INFO: neon service started
[2025-04-12 10:36:02] Production.INFO: ==26151== Releasing lock...
[2025-04-12 10:36:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 10:36:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 05:36:02] Production.INFO: ==26153== Lock acquired, processing the job...
[2025-04-12 05:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 09:36:02] Production.INFO: ==26155== Lock acquired, processing the job...
[2025-04-12 09:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 09:36:02] Production.INFO: ==26155== Releasing lock...
[2025-04-12 09:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 09:36:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 05:36:03] Production.INFO: ==26153== Releasing lock...
[2025-04-12 05:36:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 05:36:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 05:36:04] Production.INFO: ==26158== Lock acquired, processing the job...
[2025-04-12 05:36:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 05:36:04] Production.INFO: ==26160== Lock acquired, processing the job...
[2025-04-12 05:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 05:36:04] Production.INFO: ==26162== Lock acquired, processing the job...
[2025-04-12 05:36:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 05:36:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 05:36:04] Production.INFO: ==26164== Lock acquired, processing the job...
[2025-04-12 05:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 05:36:04] Production.INFO: ==26166== Lock acquired, processing the job...
[2025-04-12 05:36:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 05:36:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 05:36:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 05:36:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 05:36:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 05:36:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 05:36:04] Production.INFO: Account Balance Start.
[2025-04-12 05:36:04] Production.INFO: CreateAllLog Start
[2025-04-12 05:36:04] Production.INFO: 117
[2025-04-12 05:36:04] Production.INFO: Date 2025-04-08
[2025-04-12 05:36:04] Production.INFO: ==26168== Lock acquired, processing the job...
[2025-04-12 05:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 05:36:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:36:04] Production.INFO: Date 2025-04-09
[2025-04-12 05:36:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:36:04] Production.INFO: Date 2025-04-10
[2025-04-12 05:36:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:36:04] Production.INFO: Date 2025-04-11
[2025-04-12 05:36:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:36:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 05:36:04] Production.INFO: count ==12
[2025-04-12 05:36:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 05:36:04] Production.INFO: Date 2025-04-12
[2025-04-12 05:36:04] Production.INFO: count ==23
[2025-04-12 05:36:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889458') start
[2025-04-12 05:36:04] Production.INFO: ==26160== Releasing lock...
[2025-04-12 05:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 05:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 05:36:04] Production.INFO: Total Charge 0
[2025-04-12 05:36:04] Production.ERROR: done
[2025-04-12 05:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 05:36:04] Production.INFO: CreateAllLog End
[2025-04-12 05:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889458') end
[2025-04-12 05:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 05:36:04] Production.INFO: 1
[2025-04-12 05:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 05:36:04] Production.INFO: ==26168== Releasing lock...
[2025-04-12 05:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 05:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 05:36:04] Production.ERROR: done
[2025-04-12 05:36:04] Production.INFO: Account Balance End.
[2025-04-12 05:36:05] Production.ERROR: CronJobId end 12
[2025-04-12 05:36:05] Production.INFO: ==26164== Releasing lock...
[2025-04-12 05:36:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 05:36:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 05:36:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 02:36:06
[end_date_ymd] => 2025-04-12 05:36:06
[RateCDR] => 1
)
[2025-04-12 05:36:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 02:36:06' and `end` < '2025-04-12 05:36:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 05:36:12] Production.ERROR: CronJobId end10
[2025-04-12 05:36:12] Production.INFO: ==26162== Releasing lock...
[2025-04-12 05:36:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 05:36:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 05:36:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 05:36:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 05:36:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 05:36:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 05:36:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 05:36:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 05:36:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 05:36:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 05:36:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 05:36:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 05:36:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 05:36:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 05:36:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 05:36:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 05:36:15] Production.INFO: call_cost start
[2025-04-12 05:36:15] Production.INFO: call_cost end
[2025-04-12 05:36:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 05:36:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 05:36:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 05:36:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 05:36:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 05:36:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 05:36:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 05:36:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 05:36:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 05:36:16] Production.INFO: ==26158== Releasing lock...
[2025-04-12 05:36:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 05:36:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 05:36:18] Production.INFO: count ==168
[2025-04-12 05:36:18] Production.ERROR: pbx CDR StartTime 2025-04-12 02:36:06 - End Time 2025-04-12 05:36:06
[2025-04-12 05:36:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 05:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889459', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889459', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889459', 'tblTempVendorCDR_20' ) start
[2025-04-12 05:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889459', 'tblTempVendorCDR_20' ) end
[2025-04-12 05:36:18] Production.INFO: ProcessCDR(1,14889459,1,1,2)
[2025-04-12 05:36:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889459,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:36:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889459,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:36:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889459,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:36:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889459,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889459', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889459', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:36:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 05:36:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 05:36:22] Production.INFO: ==26166== Releasing lock...
[2025-04-12 05:36:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 05:36:22] Production.INFO: 29 MB #Memory Used#
[2025-04-12 10:37:01] Production.INFO: ==26222== Lock acquired, processing the job...
[2025-04-12 10:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 10:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 10:37:01] Production.INFO: neon service started
[2025-04-12 10:37:01] Production.INFO: neon service started
[2025-04-12 10:37:01] Production.INFO: ==26222== Releasing lock...
[2025-04-12 10:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 10:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 05:37:02] Production.INFO: ==26224== Lock acquired, processing the job...
[2025-04-12 05:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 09:37:02] Production.INFO: ==26226== Lock acquired, processing the job...
[2025-04-12 09:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 09:37:02] Production.INFO: ==26226== Releasing lock...
[2025-04-12 09:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 09:37:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 05:37:02] Production.INFO: ==26224== Releasing lock...
[2025-04-12 05:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 05:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 05:37:03] Production.INFO: ==26231== Lock acquired, processing the job...
[2025-04-12 05:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 05:37:03] Production.INFO: ==26239== Lock acquired, processing the job...
[2025-04-12 05:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 05:37:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 05:37:03] Production.INFO: count ==12
[2025-04-12 05: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-12 05:37:03] Production.INFO: count ==23
[2025-04-12 05:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889461') start
[2025-04-12 05:37:03] Production.INFO: ==26229== Lock acquired, processing the job...
[2025-04-12 05:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 05:37:04] Production.INFO: ==26237== Lock acquired, processing the job...
[2025-04-12 05:37:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 05:37:04] Production.INFO: ==26233== Lock acquired, processing the job...
[2025-04-12 05:37:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 05:37:04] Production.INFO: ==26235== Lock acquired, processing the job...
[2025-04-12 05:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 05:37:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 05:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889461') end
[2025-04-12 05:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 05:37:04] Production.INFO: 1
[2025-04-12 05:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 05:37:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 05:37:04] Production.INFO: ==26231== Releasing lock...
[2025-04-12 05:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 05:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 05:37:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 05:37:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 05:37:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 05:37:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 05:37:04] Production.INFO: ==26239== Releasing lock...
[2025-04-12 05:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 05:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 05:37:04] Production.INFO: Account Balance Start.
[2025-04-12 05:37:04] Production.INFO: CreateAllLog Start
[2025-04-12 05:37:04] Production.INFO: 117
[2025-04-12 05:37:04] Production.INFO: Date 2025-04-08
[2025-04-12 05:37:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:37:04] Production.INFO: Date 2025-04-09
[2025-04-12 05:37:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:37:04] Production.INFO: Date 2025-04-10
[2025-04-12 05:37:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:37:04] Production.INFO: Date 2025-04-11
[2025-04-12 05:37:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:37:04] Production.ERROR: done
[2025-04-12 05:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 05:37:04] Production.INFO: Date 2025-04-12
[2025-04-12 05:37:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:37:04] Production.INFO: Total Charge 0
[2025-04-12 05:37:04] Production.INFO: CreateAllLog End
[2025-04-12 05:37:04] Production.ERROR: done
[2025-04-12 05:37:04] Production.INFO: Account Balance End.
[2025-04-12 05:37:04] Production.ERROR: CronJobId end 12
[2025-04-12 05:37:04] Production.INFO: ==26235== Releasing lock...
[2025-04-12 05:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 05:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 05:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 02:37:05
[end_date_ymd] => 2025-04-12 05:37:05
[RateCDR] => 1
)
[2025-04-12 05:37:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 02:37:05' and `end` < '2025-04-12 05:37:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 05:37:12] Production.ERROR: CronJobId end10
[2025-04-12 05:37:12] Production.INFO: ==26233== Releasing lock...
[2025-04-12 05:37:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 05:37:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 05:37:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 05:37:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 05:37:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 05:37:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 05:37:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 05:37:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 05:37:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 05:37:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 05:37:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 05:37:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 05:37:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 05:37:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 05:37:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 05:37:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 05:37:15] Production.INFO: call_cost start
[2025-04-12 05:37:15] Production.INFO: call_cost end
[2025-04-12 05:37:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 05:37:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 05:37:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 05:37:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 05:37:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 05:37:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 05:37:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 05:37:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 05:37:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 05:37:16] Production.INFO: ==26229== Releasing lock...
[2025-04-12 05:37:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 05:37:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 05:37:18] Production.INFO: count ==168
[2025-04-12 05:37:18] Production.ERROR: pbx CDR StartTime 2025-04-12 02:37:05 - End Time 2025-04-12 05:37:05
[2025-04-12 05:37:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 05:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889464', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889464', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889464', 'tblTempVendorCDR_20' ) start
[2025-04-12 05:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889464', 'tblTempVendorCDR_20' ) end
[2025-04-12 05:37:18] Production.INFO: ProcessCDR(1,14889464,1,1,2)
[2025-04-12 05:37:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889464,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:37:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889464,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:37:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889464,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:37:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889464,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889464', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889464', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:37:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 05:37:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 05:37:22] Production.INFO: ==26237== Releasing lock...
[2025-04-12 05:37:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 05:37:22] Production.INFO: 29 MB #Memory Used#
[2025-04-12 10:38:02] Production.INFO: ==26300== Lock acquired, processing the job...
[2025-04-12 10:38:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 10:38:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 10:38:02] Production.INFO: neon service started
[2025-04-12 10:38:02] Production.INFO: neon service started
[2025-04-12 10:38:02] Production.INFO: ==26300== Releasing lock...
[2025-04-12 10:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 10:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 09:38:02] Production.INFO: ==26304== Lock acquired, processing the job...
[2025-04-12 09:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 09:38:02] Production.INFO: ==26304== Releasing lock...
[2025-04-12 09:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 09:38:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 05:38:02] Production.INFO: ==26302== Lock acquired, processing the job...
[2025-04-12 05:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 05:38:03] Production.INFO: ==26302== Releasing lock...
[2025-04-12 05:38:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 05:38:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 05:38:03] Production.INFO: ==26313== Lock acquired, processing the job...
[2025-04-12 05:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 05:38:04] Production.INFO: ==26307== Lock acquired, processing the job...
[2025-04-12 05:38:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 05:38:04] Production.INFO: ==26315== Lock acquired, processing the job...
[2025-04-12 05:38:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 05:38:04] Production.INFO: Account Balance Start.
[2025-04-12 05:38:04] Production.INFO: CreateAllLog Start
[2025-04-12 05:38:04] Production.INFO: 117
[2025-04-12 05:38:04] Production.INFO: Date 2025-04-08
[2025-04-12 05:38:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:38:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 05:38:04] Production.INFO: ==26309== Lock acquired, processing the job...
[2025-04-12 05:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 05:38:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 05:38:04] Production.INFO: Date 2025-04-09
[2025-04-12 05:38:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:38:04] Production.INFO: Date 2025-04-10
[2025-04-12 05:38:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:38:04] Production.INFO: ==26311== Lock acquired, processing the job...
[2025-04-12 05:38:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 05:38:04] Production.INFO: Date 2025-04-11
[2025-04-12 05:38:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:38:04] Production.INFO: Date 2025-04-12
[2025-04-12 05:38:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:38:04] Production.INFO: ==26317== Lock acquired, processing the job...
[2025-04-12 05:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 05:38:04] Production.INFO: Total Charge 0
[2025-04-12 05:38:04] Production.INFO: CreateAllLog End
[2025-04-12 05:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 05:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 05:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 05:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 05:38:04] Production.INFO: Account Balance End.
[2025-04-12 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-12 05:38:04] Production.ERROR: CronJobId end 12
[2025-04-12 05:38:04] Production.INFO: ==26313== Releasing lock...
[2025-04-12 05:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 05:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 05:38:04] Production.ERROR: done
[2025-04-12 05:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 05:38:04] Production.INFO: count ==12
[2025-04-12 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-12 05:38:04] Production.INFO: count ==23
[2025-04-12 05:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889468') start
[2025-04-12 05:38:04] Production.ERROR: done
[2025-04-12 05:38:04] Production.INFO: ==26309== Releasing lock...
[2025-04-12 05:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 05:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 05:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889468') end
[2025-04-12 05:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 05:38:04] Production.INFO: 1
[2025-04-12 05:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 05:38:04] Production.INFO: ==26317== Releasing lock...
[2025-04-12 05:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 05:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 05:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 02:38:05
[end_date_ymd] => 2025-04-12 05:38:05
[RateCDR] => 1
)
[2025-04-12 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-12 02:38:05' and `end` < '2025-04-12 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-12 05:38:13] Production.ERROR: CronJobId end10
[2025-04-12 05:38:13] Production.INFO: ==26311== Releasing lock...
[2025-04-12 05:38:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 05:38:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 05:38:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 05:38:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 05:38:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 05:38:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 05:38:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 05:38:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 05:38:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 05:38:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 05:38:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 05:38:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 05:38:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 05:38:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 05:38:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 05:38:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 05:38:15] Production.INFO: call_cost start
[2025-04-12 05:38:15] Production.INFO: call_cost end
[2025-04-12 05:38:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 05:38:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 05:38:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 05:38:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 05:38:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 05:38:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 05:38:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 05:38:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 05:38:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 05:38:16] Production.INFO: ==26307== Releasing lock...
[2025-04-12 05:38:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 05:38:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 05:38:18] Production.INFO: count ==169
[2025-04-12 05:38:18] Production.ERROR: pbx CDR StartTime 2025-04-12 02:38:05 - End Time 2025-04-12 05:38:05
[2025-04-12 05:38:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 05:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889469', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889469', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889469', 'tblTempVendorCDR_20' ) start
[2025-04-12 05:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889469', 'tblTempVendorCDR_20' ) end
[2025-04-12 05:38:18] Production.INFO: ProcessCDR(1,14889469,1,1,2)
[2025-04-12 05:38:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889469,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:38:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889469,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:38:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889469,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:38:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889469,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:38:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889469', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:38:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889469', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:38:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 05:38:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 05:38:23] Production.INFO: ==26315== Releasing lock...
[2025-04-12 05:38:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 05:38:23] Production.INFO: 29 MB #Memory Used#
[2025-04-12 10:39:01] Production.INFO: ==26370== Lock acquired, processing the job...
[2025-04-12 10:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 10:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 10:39:01] Production.INFO: neon service started
[2025-04-12 10:39:01] Production.INFO: neon service started
[2025-04-12 10:39:01] Production.INFO: ==26370== Releasing lock...
[2025-04-12 10:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 10:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 05:39:01] Production.INFO: ==26372== Lock acquired, processing the job...
[2025-04-12 05:39:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 05:39:02] Production.INFO: ==26372== Releasing lock...
[2025-04-12 05:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 05:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 09:39:02] Production.INFO: ==26374== Lock acquired, processing the job...
[2025-04-12 09:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 09:39:02] Production.INFO: ==26374== Releasing lock...
[2025-04-12 09:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 09:39:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 05:39:03] Production.INFO: ==26379== Lock acquired, processing the job...
[2025-04-12 05:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 05:39:03] Production.INFO: ==26387== Lock acquired, processing the job...
[2025-04-12 05:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 05:39:03] Production.INFO: ==26377== Lock acquired, processing the job...
[2025-04-12 05:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 05:39:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 05:39:03] Production.INFO: ==26379== Releasing lock...
[2025-04-12 05:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 05:39:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 05:39:03] Production.INFO: ==26381== Lock acquired, processing the job...
[2025-04-12 05:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 05:39:03] Production.INFO: count ==12
[2025-04-12 05:39:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 05:39:03] Production.INFO: count ==23
[2025-04-12 05:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 05:39:03] Production.INFO: ==26383== Lock acquired, processing the job...
[2025-04-12 05:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 05:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889471') start
[2025-04-12 05:39:03] Production.INFO: ==26385== Lock acquired, processing the job...
[2025-04-12 05:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 05:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 05:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 05:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 05:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 05:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 05:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889471') end
[2025-04-12 05:39:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 05:39:03] Production.INFO: 1
[2025-04-12 05:39:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 05:39:03] Production.INFO: Account Balance Start.
[2025-04-12 05:39:03] Production.INFO: CreateAllLog Start
[2025-04-12 05:39:03] Production.INFO: 117
[2025-04-12 05:39:03] Production.INFO: ==26387== Releasing lock...
[2025-04-12 05:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 05:39:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 05:39:03] Production.INFO: Date 2025-04-08
[2025-04-12 05:39:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:39:03] Production.INFO: Date 2025-04-09
[2025-04-12 05:39:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:39:03] Production.INFO: Date 2025-04-10
[2025-04-12 05:39:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:39:03] Production.INFO: Date 2025-04-11
[2025-04-12 05:39:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:39:03] Production.INFO: Date 2025-04-12
[2025-04-12 05:39:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:39:03] Production.INFO: Total Charge 0
[2025-04-12 05:39:03] Production.INFO: CreateAllLog End
[2025-04-12 05:39:03] Production.ERROR: done
[2025-04-12 05:39:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 05:39:03] Production.ERROR: done
[2025-04-12 05:39:04] Production.INFO: Account Balance End.
[2025-04-12 05:39:04] Production.ERROR: CronJobId end 12
[2025-04-12 05:39:04] Production.INFO: ==26383== Releasing lock...
[2025-04-12 05:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 05:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 05:39:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 02:39:04
[end_date_ymd] => 2025-04-12 05:39:04
[RateCDR] => 1
)
[2025-04-12 05: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-12 02:39:04' and `end` < '2025-04-12 05: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-12 05:39:11] Production.ERROR: CronJobId end10
[2025-04-12 05:39:11] Production.INFO: ==26381== Releasing lock...
[2025-04-12 05:39:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 05:39:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 05:39:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 05:39:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 05:39:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 05:39:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 05:39:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 05:39:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 05:39:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 05:39:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 05:39:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 05:39:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 05:39:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 05:39:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 05:39:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 05:39:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 05:39:14] Production.INFO: call_cost start
[2025-04-12 05:39:14] Production.INFO: call_cost end
[2025-04-12 05:39:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 05:39:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 05:39:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 05:39:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 05:39:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 05:39:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 05:39:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 05:39:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 05:39:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 05:39:15] Production.INFO: ==26377== Releasing lock...
[2025-04-12 05:39:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 05:39:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 05:39:17] Production.INFO: count ==169
[2025-04-12 05:39:17] Production.ERROR: pbx CDR StartTime 2025-04-12 02:39:04 - End Time 2025-04-12 05:39:04
[2025-04-12 05:39:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 05:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889474', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889474', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889474', 'tblTempVendorCDR_20' ) start
[2025-04-12 05:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889474', 'tblTempVendorCDR_20' ) end
[2025-04-12 05:39:17] Production.INFO: ProcessCDR(1,14889474,1,1,2)
[2025-04-12 05:39:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889474,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:39:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889474,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:39:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889474,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:39:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889474,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889474', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889474', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:39:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 05:39:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 05:39:21] Production.INFO: ==26385== Releasing lock...
[2025-04-12 05:39:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 05:39:21] Production.INFO: 29 MB #Memory Used#
[2025-04-12 10:40:01] Production.INFO: ==26440== Lock acquired, processing the job...
[2025-04-12 10:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 10:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 10:40:02] Production.INFO: neon service started
[2025-04-12 10:40:02] Production.INFO: neon service started
[2025-04-12 10:40:02] Production.INFO: ==26440== Releasing lock...
[2025-04-12 10:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 10:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 09:40:02] Production.INFO: ==26444== Lock acquired, processing the job...
[2025-04-12 09:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 09:40:02] Production.INFO: ==26444== Releasing lock...
[2025-04-12 09:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 09:40:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 05:40:02] Production.INFO: ==26442== Lock acquired, processing the job...
[2025-04-12 05:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 05:40:02] Production.INFO: ==26442== Releasing lock...
[2025-04-12 05:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 05:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 05:40:03] Production.INFO: ==26448== Lock acquired, processing the job...
[2025-04-12 05:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 05:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 05:40:04] Production.INFO: ==26457== Lock acquired, processing the job...
[2025-04-12 05:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 05:40:04] Production.INFO: ==26459== Lock acquired, processing the job...
[2025-04-12 05:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 05:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 05:40:04] Production.INFO: ==26446== Lock acquired, processing the job...
[2025-04-12 05:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 05:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 05:40:04] Production.INFO: ==26451== Lock acquired, processing the job...
[2025-04-12 05:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 05:40:04] Production.INFO: ==26453== Lock acquired, processing the job...
[2025-04-12 05:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 05:40:04] Production.INFO: ==26455== Lock acquired, processing the job...
[2025-04-12 05:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 05:40:04] Production.INFO: ==26461== Lock acquired, processing the job...
[2025-04-12 05:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 05:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 05:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 05:40:04] Production.ERROR: CronJob PID - 26448
[2025-04-12 05:40:04] Production.ERROR: CronJob Title - System Alerts
[2025-04-12 05:40:04] Production.ERROR: CronJob ID - 5
[2025-04-12 05:40:04] Production.ERROR: CronJob Last Run Time 2025-04-12 05:40:00
[2025-04-12 05:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 05:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 05:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 05:40:04] Production.ERROR: CronJob PID - 26451
[2025-04-12 05:40:04] Production.ERROR: CronJob Title - Account Block
[2025-04-12 05:40:04] Production.ERROR: CronJob ID - 7
[2025-04-12 05:40:04] Production.ERROR: CronJob Last Run Time 2025-04-12 05:40:00
[2025-04-12 05:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 05:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 05:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 05:40:04] Production.ERROR: CronJob PID - 26457
[2025-04-12 05:40:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-04-12 05:40:04] Production.ERROR: CronJob ID - 16
[2025-04-12 05:40:04] Production.ERROR: CronJob Last Run Time 2025-04-12 05:40:00
[2025-04-12 05:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 05:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 05:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 05:40:04] Production.ERROR: CronJob PID - 26459
[2025-04-12 05:40:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-04-12 05:40:04] Production.ERROR: CronJob ID - 17
[2025-04-12 05:40:04] Production.ERROR: CronJob Last Run Time 2025-04-12 05:40:00
[2025-04-12 05:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 05:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 05:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 05:40:04] Production.INFO: ==26446== Releasing lock...
[2025-04-12 05:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 05:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 05:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 05:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 05:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 05:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 05:40:04] Production.ERROR: done
[2025-04-12 05:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 05:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 05:40:04] Production.INFO: count ==12
[2025-04-12 05:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 05:40:04] Production.INFO: Account Balance Start.
[2025-04-12 05:40:04] Production.INFO: CreateAllLog Start
[2025-04-12 05:40:04] Production.INFO: 117
[2025-04-12 05:40:04] Production.INFO: count ==23
[2025-04-12 05:40:04] Production.ERROR: done
[2025-04-12 05:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889478') start
[2025-04-12 05:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 05:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14889479', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 05:40:04] Production.INFO: Date 2025-04-08
[2025-04-12 05:40:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:40:04] Production.INFO: Date 2025-04-09
[2025-04-12 05:40:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:40:04] Production.INFO: Date 2025-04-10
[2025-04-12 05:40:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:40:04] Production.ERROR: done
[2025-04-12 05:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889478') end
[2025-04-12 05:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 05:40:04] Production.INFO: 1
[2025-04-12 05:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 05:40:04] Production.INFO: Date 2025-04-11
[2025-04-12 05:40:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:40:04] Production.INFO: ==26461== Releasing lock...
[2025-04-12 05:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 05:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 05:40:04] Production.INFO: Date 2025-04-12
[2025-04-12 05:40:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:40:05] Production.INFO: Total Charge 0
[2025-04-12 05:40:05] Production.INFO: CreateAllLog End
[2025-04-12 05:40:05] Production.INFO: ==26451== Releasing lock...
[2025-04-12 05:40:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 05:40:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 05:40:05] Production.INFO: Account Balance End.
[2025-04-12 05:40:05] Production.ERROR: CronJobId end 12
[2025-04-12 05:40:05] Production.INFO: ==26455== Releasing lock...
[2025-04-12 05:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 05:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 05:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 02:40:06
[end_date_ymd] => 2025-04-12 05:40:06
[RateCDR] => 1
)
[2025-04-12 05:40:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 02:40:06' and `end` < '2025-04-12 05:40:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 05:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14889479', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 05:40:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 05:40:09] Production.INFO: ProcessCDR(1,14889479,1,1,2)
[2025-04-12 05:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14889479,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14889479,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 05:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 05:40:09] Production.INFO: ==26459== Releasing lock...
[2025-04-12 05:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 05:40:09] Production.INFO: 26 MB #Memory Used#
[2025-04-12 05:40:14] Production.ERROR: CronJobId end10
[2025-04-12 05:40:14] Production.INFO: ==26453== Releasing lock...
[2025-04-12 05:40:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 05:40:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 05:40:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 05:40:17] Production.INFO: ============== Balance Warning START===========
[2025-04-12 05:40:17] Production.INFO: ============== Balance Warning END===========
[2025-04-12 05:40:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 05:40:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 05:40:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 05:40:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 05:40:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 05:40:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 05:40:17] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 05:40:17] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 05:40:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 05:40:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 05:40:17] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 05:40:17] Production.INFO: call_cost start
[2025-04-12 05:40:17] Production.INFO: call_cost end
[2025-04-12 05:40:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 05:40:18] Production.INFO: ============== Report Schedule START===========
[2025-04-12 05:40:18] Production.INFO: ============== Report Schedule END===========
[2025-04-12 05:40:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 05:40:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 05:40:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 05:40:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 05:40:18] Production.INFO: ============== Deal alert START===========
[2025-04-12 05:40:18] Production.INFO: ============== Deal alert END===========
[2025-04-12 05:40:18] Production.INFO: ==26448== Releasing lock...
[2025-04-12 05:40:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 05:40:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 05:40:18] Production.INFO: count ==161
[2025-04-12 05:40:18] Production.ERROR: pbx CDR StartTime 2025-04-12 02:40:06 - End Time 2025-04-12 05:40:06
[2025-04-12 05:40:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 05:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889480', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889480', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889480', 'tblTempVendorCDR_20' ) start
[2025-04-12 05:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889480', 'tblTempVendorCDR_20' ) end
[2025-04-12 05:40:18] Production.INFO: ProcessCDR(1,14889480,1,1,2)
[2025-04-12 05:40:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889480,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:40:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889480,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:40:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889480,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:40:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889480,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889480', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889480', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:40:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 05:40:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 05:40:22] Production.INFO: ==26457== Releasing lock...
[2025-04-12 05:40:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 05:40:22] Production.INFO: 29 MB #Memory Used#
[2025-04-12 10:41:01] Production.INFO: ==26516== Lock acquired, processing the job...
[2025-04-12 10:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 10:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 10:41:01] Production.INFO: neon service started
[2025-04-12 10:41:01] Production.INFO: neon service started
[2025-04-12 10:41:01] Production.INFO: ==26516== Releasing lock...
[2025-04-12 10:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 10:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 05:41:01] Production.INFO: ==26518== Lock acquired, processing the job...
[2025-04-12 05:41:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 05:41:02] Production.INFO: ==26518== Releasing lock...
[2025-04-12 05:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 05:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 09:41:02] Production.INFO: ==26520== Lock acquired, processing the job...
[2025-04-12 09:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 09:41:02] Production.INFO: ==26520== Releasing lock...
[2025-04-12 09:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 09:41:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 05:41:02] Production.INFO: ==26522== Lock acquired, processing the job...
[2025-04-12 05:41:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 05:41:02] Production.INFO: ==26526== Lock acquired, processing the job...
[2025-04-12 05:41:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 05:41:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 05:41:03] Production.INFO: ==26530== Lock acquired, processing the job...
[2025-04-12 05:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 05:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 05:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 05:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 05:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 05:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 05:41:03] Production.INFO: ==26524== Lock acquired, processing the job...
[2025-04-12 05:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 05:41:03] Production.INFO: ==26528== Lock acquired, processing the job...
[2025-04-12 05:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 05:41:03] Production.INFO: ==26532== Lock acquired, processing the job...
[2025-04-12 05:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 05:41:03] Production.INFO: Account Balance Start.
[2025-04-12 05:41:03] Production.INFO: CreateAllLog Start
[2025-04-12 05:41:03] Production.INFO: 117
[2025-04-12 05:41:03] Production.INFO: Date 2025-04-08
[2025-04-12 05:41:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:41:03] Production.ERROR: done
[2025-04-12 05:41:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 05:41:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 05:41:03] Production.INFO: ==26524== Releasing lock...
[2025-04-12 05:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 05:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 05:41:03] Production.INFO: Date 2025-04-09
[2025-04-12 05:41:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:41:03] Production.INFO: count ==12
[2025-04-12 05:41:03] Production.INFO: Date 2025-04-10
[2025-04-12 05:41:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:41:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 05:41:03] Production.INFO: count ==23
[2025-04-12 05:41:03] Production.INFO: Date 2025-04-11
[2025-04-12 05:41:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889484') start
[2025-04-12 05:41:03] Production.INFO: Date 2025-04-12
[2025-04-12 05:41:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:41:03] Production.ERROR: done
[2025-04-12 05:41:03] Production.INFO: Total Charge 0
[2025-04-12 05:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889484') end
[2025-04-12 05:41:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 05:41:03] Production.INFO: 1
[2025-04-12 05:41:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 05:41:03] Production.INFO: CreateAllLog End
[2025-04-12 05:41:03] Production.INFO: ==26532== Releasing lock...
[2025-04-12 05:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 05:41:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 05:41:04] Production.INFO: Account Balance End.
[2025-04-12 05:41:04] Production.ERROR: CronJobId end 12
[2025-04-12 05:41:04] Production.INFO: ==26528== Releasing lock...
[2025-04-12 05:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 05:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 05:41:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 02:41:04
[end_date_ymd] => 2025-04-12 05:41:04
[RateCDR] => 1
)
[2025-04-12 05:41:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 02:41:04' and `end` < '2025-04-12 05:41:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 05:41:11] Production.ERROR: CronJobId end10
[2025-04-12 05:41:11] Production.INFO: ==26526== Releasing lock...
[2025-04-12 05:41:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 05:41:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 05:41:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 05:41:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 05:41:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 05:41:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 05:41:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 05:41:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 05:41:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 05:41:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 05:41:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 05:41:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 05:41:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 05:41:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 05:41:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 05:41:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 05:41:13] Production.INFO: call_cost start
[2025-04-12 05:41:13] Production.INFO: call_cost end
[2025-04-12 05:41:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 05:41:14] Production.INFO: ============== Report Schedule START===========
[2025-04-12 05:41:14] Production.INFO: ============== Report Schedule END===========
[2025-04-12 05:41:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 05:41:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 05:41:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 05:41:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 05:41:14] Production.INFO: ============== Deal alert START===========
[2025-04-12 05:41:14] Production.INFO: ============== Deal alert END===========
[2025-04-12 05:41:14] Production.INFO: ==26522== Releasing lock...
[2025-04-12 05:41:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 05:41:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 05:41:17] Production.INFO: count ==147
[2025-04-12 05:41:17] Production.ERROR: pbx CDR StartTime 2025-04-12 02:41:04 - End Time 2025-04-12 05:41:04
[2025-04-12 05:41:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 05:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889485', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889485', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889485', 'tblTempVendorCDR_20' ) start
[2025-04-12 05:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889485', 'tblTempVendorCDR_20' ) end
[2025-04-12 05:41:17] Production.INFO: ProcessCDR(1,14889485,1,1,2)
[2025-04-12 05:41:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889485,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:41:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889485,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:41:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889485,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:41:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889485,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889485', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889485', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:41:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 05:41:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 05:41:21] Production.INFO: ==26530== Releasing lock...
[2025-04-12 05:41:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 05:41:21] Production.INFO: 29 MB #Memory Used#
[2025-04-12 10:42:01] Production.INFO: ==26592== Lock acquired, processing the job...
[2025-04-12 10:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 10:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 10:42:01] Production.INFO: neon service started
[2025-04-12 10:42:01] Production.INFO: neon service started
[2025-04-12 10:42:01] Production.INFO: ==26592== Releasing lock...
[2025-04-12 10:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 10:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 09:42:02] Production.INFO: ==26596== Lock acquired, processing the job...
[2025-04-12 09:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 09:42:02] Production.INFO: ==26596== Releasing lock...
[2025-04-12 09:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 09:42:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 05:42:02] Production.INFO: ==26594== Lock acquired, processing the job...
[2025-04-12 05:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 05:42:02] Production.INFO: ==26594== Releasing lock...
[2025-04-12 05:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 05:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 05:42:03] Production.INFO: ==26600== Lock acquired, processing the job...
[2025-04-12 05:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 05:42:03] Production.INFO: ==26598== Lock acquired, processing the job...
[2025-04-12 05:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 05:42:03] Production.INFO: ==26606== Lock acquired, processing the job...
[2025-04-12 05:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 05:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 05:42:03] Production.INFO: ==26602== Lock acquired, processing the job...
[2025-04-12 05:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 05:42:03] Production.INFO: ==26604== Lock acquired, processing the job...
[2025-04-12 05:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 05:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 05:42:03] Production.INFO: ==26608== Lock acquired, processing the job...
[2025-04-12 05:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 05:42:03] Production.INFO: ==26600== Releasing lock...
[2025-04-12 05:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 05:42:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 05:42:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 05:42:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 05:42:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 05:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 05:42:04] Production.INFO: Account Balance Start.
[2025-04-12 05:42:04] Production.INFO: CreateAllLog Start
[2025-04-12 05:42:04] Production.INFO: 117
[2025-04-12 05:42:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 05:42:04] Production.INFO: Date 2025-04-08
[2025-04-12 05:42:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:42:04] Production.INFO: count ==12
[2025-04-12 05:42:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 05:42:04] Production.INFO: count ==23
[2025-04-12 05:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889489') start
[2025-04-12 05:42:04] Production.INFO: Date 2025-04-09
[2025-04-12 05:42:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:42:04] Production.ERROR: done
[2025-04-12 05:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 05:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889489') end
[2025-04-12 05:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 05:42:04] Production.INFO: 1
[2025-04-12 05:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 05:42:04] Production.INFO: ==26608== Releasing lock...
[2025-04-12 05:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 05:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 05:42:04] Production.INFO: Date 2025-04-10
[2025-04-12 05:42:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:42:04] Production.INFO: Date 2025-04-11
[2025-04-12 05:42:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:42:04] Production.ERROR: done
[2025-04-12 05:42:04] Production.INFO: Date 2025-04-12
[2025-04-12 05:42:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:42:04] Production.INFO: Total Charge 0
[2025-04-12 05:42:04] Production.INFO: CreateAllLog End
[2025-04-12 05:42:04] Production.INFO: Account Balance End.
[2025-04-12 05:42:04] Production.ERROR: CronJobId end 12
[2025-04-12 05:42:04] Production.INFO: ==26604== Releasing lock...
[2025-04-12 05:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 05:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 05:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 02:42:05
[end_date_ymd] => 2025-04-12 05:42:05
[RateCDR] => 1
)
[2025-04-12 05:42:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 02:42:05' and `end` < '2025-04-12 05:42:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 05:42:11] Production.ERROR: CronJobId end10
[2025-04-12 05:42:11] Production.INFO: ==26602== Releasing lock...
[2025-04-12 05:42:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 05:42:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 05:42:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 05:42:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 05:42:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 05:42:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 05:42:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 05:42:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 05:42:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 05:42:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 05:42:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 05:42:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 05:42:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 05:42:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 05:42:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 05:42:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 05:42:14] Production.INFO: call_cost start
[2025-04-12 05:42:14] Production.INFO: call_cost end
[2025-04-12 05:42:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 05:42:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 05:42:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 05:42:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 05:42:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 05:42:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 05:42:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 05:42:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 05:42:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 05:42:15] Production.INFO: ==26598== Releasing lock...
[2025-04-12 05:42:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 05:42:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 05:42:18] Production.INFO: count ==147
[2025-04-12 05:42:18] Production.ERROR: pbx CDR StartTime 2025-04-12 02:42:05 - End Time 2025-04-12 05:42:05
[2025-04-12 05:42:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 05:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889490', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889490', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889490', 'tblTempVendorCDR_20' ) start
[2025-04-12 05:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889490', 'tblTempVendorCDR_20' ) end
[2025-04-12 05:42:18] Production.INFO: ProcessCDR(1,14889490,1,1,2)
[2025-04-12 05:42:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889490,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:42:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889490,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:42:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889490,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:42:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889490,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889490', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889490', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:42:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 05:42:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 05:42:22] Production.INFO: ==26606== Releasing lock...
[2025-04-12 05:42:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 05:42:22] Production.INFO: 29 MB #Memory Used#
[2025-04-12 10:43:02] Production.INFO: ==26664== Lock acquired, processing the job...
[2025-04-12 10:43:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 10:43:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 10:43:02] Production.INFO: neon service started
[2025-04-12 10:43:02] Production.INFO: neon service started
[2025-04-12 10:43:02] Production.INFO: ==26664== Releasing lock...
[2025-04-12 10:43:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 10:43:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 09:43:02] Production.INFO: ==26668== Lock acquired, processing the job...
[2025-04-12 09:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 09:43:02] Production.INFO: ==26668== Releasing lock...
[2025-04-12 09:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 09:43:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 05:43:02] Production.INFO: ==26666== Lock acquired, processing the job...
[2025-04-12 05:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 05:43:03] Production.INFO: ==26666== Releasing lock...
[2025-04-12 05:43:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 05:43:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 05:43:03] Production.INFO: ==26675== Lock acquired, processing the job...
[2025-04-12 05:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 05:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 05:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 05:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 05:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 05:43:03] Production.INFO: ==26681== Lock acquired, processing the job...
[2025-04-12 05:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 05:43:04] Production.INFO: ==26673== Lock acquired, processing the job...
[2025-04-12 05:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 05:43:04] Production.INFO: ==26671== Lock acquired, processing the job...
[2025-04-12 05:43:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 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-12 05:43:04] Production.INFO: count ==12
[2025-04-12 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-12 05:43:04] Production.INFO: count ==23
[2025-04-12 05:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889491') start
[2025-04-12 05:43:04] Production.INFO: ==26677== Lock acquired, processing the job...
[2025-04-12 05:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 05:43:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 05:43:04] Production.INFO: ==26679== Lock acquired, processing the job...
[2025-04-12 05:43:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 05:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889491') end
[2025-04-12 05:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 05:43:04] Production.INFO: 1
[2025-04-12 05:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 05:43:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 05:43:04] Production.INFO: Account Balance Start.
[2025-04-12 05:43:04] Production.INFO: CreateAllLog Start
[2025-04-12 05:43:04] Production.INFO: 117
[2025-04-12 05:43:04] Production.INFO: ==26681== Releasing lock...
[2025-04-12 05:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 05:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 05:43:04] Production.INFO: Date 2025-04-08
[2025-04-12 05:43:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:43:04] Production.INFO: Date 2025-04-09
[2025-04-12 05:43:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:43:04] Production.INFO: Date 2025-04-10
[2025-04-12 05:43:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:43:04] Production.INFO: ==26673== Releasing lock...
[2025-04-12 05:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 05:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 05:43:04] Production.INFO: Date 2025-04-11
[2025-04-12 05:43:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:43:04] Production.INFO: Date 2025-04-12
[2025-04-12 05:43:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:43:04] Production.INFO: Total Charge 0
[2025-04-12 05:43:04] Production.INFO: CreateAllLog End
[2025-04-12 05:43:04] Production.ERROR: done
[2025-04-12 05:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 05:43:04] Production.ERROR: done
[2025-04-12 05:43:05] Production.INFO: Account Balance End.
[2025-04-12 05:43:05] Production.ERROR: CronJobId end 12
[2025-04-12 05:43:05] Production.INFO: ==26677== Releasing lock...
[2025-04-12 05:43:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 05:43:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 05:43:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 02:43:05
[end_date_ymd] => 2025-04-12 05:43:05
[RateCDR] => 1
)
[2025-04-12 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-12 02:43:05' and `end` < '2025-04-12 05:43:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 05:43:11] Production.ERROR: CronJobId end10
[2025-04-12 05:43:11] Production.INFO: ==26675== Releasing lock...
[2025-04-12 05:43:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 05:43:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 05:43:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 05:43:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 05:43:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 05:43:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 05:43:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 05:43:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 05:43:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 05:43:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 05:43:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 05:43:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 05:43:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 05:43:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 05:43:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 05:43:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 05:43:14] Production.INFO: call_cost start
[2025-04-12 05:43:14] Production.INFO: call_cost end
[2025-04-12 05:43:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 05:43:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 05:43:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 05:43:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 05:43:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 05:43:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 05:43:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 05:43:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 05:43:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 05:43:15] Production.INFO: ==26671== Releasing lock...
[2025-04-12 05:43:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 05:43:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 05:43:18] Production.INFO: count ==147
[2025-04-12 05:43:18] Production.ERROR: pbx CDR StartTime 2025-04-12 02:43:05 - End Time 2025-04-12 05:43:05
[2025-04-12 05:43:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 05:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889495', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889495', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889495', 'tblTempVendorCDR_20' ) start
[2025-04-12 05:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889495', 'tblTempVendorCDR_20' ) end
[2025-04-12 05:43:18] Production.INFO: ProcessCDR(1,14889495,1,1,2)
[2025-04-12 05:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889495,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:43:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889495,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:43:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889495,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:43:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889495,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889495', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889495', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:43:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 05:43:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 05:43:22] Production.INFO: ==26679== Releasing lock...
[2025-04-12 05:43:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 05:43:22] Production.INFO: 29 MB #Memory Used#
[2025-04-12 10:44:01] Production.INFO: ==26737== Lock acquired, processing the job...
[2025-04-12 10:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 10:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 10:44:01] Production.INFO: neon service started
[2025-04-12 10:44:01] Production.INFO: neon service started
[2025-04-12 10:44:01] Production.INFO: ==26737== Releasing lock...
[2025-04-12 10:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 10:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 09:44:02] Production.INFO: ==26741== Lock acquired, processing the job...
[2025-04-12 09:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 09:44:02] Production.INFO: ==26741== Releasing lock...
[2025-04-12 09:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 09:44:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 05:44:02] Production.INFO: ==26739== Lock acquired, processing the job...
[2025-04-12 05:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 05:44:02] Production.INFO: ==26739== Releasing lock...
[2025-04-12 05:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 05:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 05:44:03] Production.INFO: ==26748== Lock acquired, processing the job...
[2025-04-12 05:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 05:44:03] Production.INFO: ==26754== Lock acquired, processing the job...
[2025-04-12 05:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 05:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 05:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 05:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 05:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 05:44:03] Production.INFO: ==26743== Lock acquired, processing the job...
[2025-04-12 05:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 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-12 05:44:03] Production.INFO: count ==12
[2025-04-12 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-12 05:44:03] Production.INFO: count ==23
[2025-04-12 05:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889496') start
[2025-04-12 05:44:03] Production.INFO: ==26745== Lock acquired, processing the job...
[2025-04-12 05:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 05:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889496') end
[2025-04-12 05:44:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 05:44:03] Production.INFO: 1
[2025-04-12 05:44:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 05:44:04] Production.INFO: ==26754== Releasing lock...
[2025-04-12 05:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 05:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 05:44:04] Production.INFO: ==26750== Lock acquired, processing the job...
[2025-04-12 05:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 05:44:04] Production.INFO: ==26752== Lock acquired, processing the job...
[2025-04-12 05:44:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 05:44:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 05:44:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 05:44:04] Production.INFO: Account Balance Start.
[2025-04-12 05:44:04] Production.INFO: CreateAllLog Start
[2025-04-12 05:44:04] Production.INFO: 117
[2025-04-12 05:44:04] Production.INFO: Date 2025-04-08
[2025-04-12 05:44:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:44:04] Production.INFO: Date 2025-04-09
[2025-04-12 05:44:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:44:04] Production.INFO: ==26745== Releasing lock...
[2025-04-12 05:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 05:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 05:44:04] Production.INFO: Date 2025-04-10
[2025-04-12 05:44:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:44:04] Production.INFO: Date 2025-04-11
[2025-04-12 05:44:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:44:04] Production.ERROR: done
[2025-04-12 05:44:04] Production.INFO: Date 2025-04-12
[2025-04-12 05:44:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 05:44:04] Production.INFO: Total Charge 0
[2025-04-12 05:44:04] Production.INFO: CreateAllLog End
[2025-04-12 05:44:04] Production.ERROR: done
[2025-04-12 05:44:04] Production.INFO: Account Balance End.
[2025-04-12 05:44:04] Production.ERROR: CronJobId end 12
[2025-04-12 05:44:04] Production.INFO: ==26750== Releasing lock...
[2025-04-12 05:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 05:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 05:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 02:44:05
[end_date_ymd] => 2025-04-12 05:44:05
[RateCDR] => 1
)
[2025-04-12 05:44:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 02:44:05' and `end` < '2025-04-12 05:44:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 05:44:12] Production.ERROR: CronJobId end10
[2025-04-12 05:44:12] Production.INFO: ==26748== Releasing lock...
[2025-04-12 05:44:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 05:44:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 05:44:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 05:44:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 05:44:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 05:44:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 05:44:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 05:44:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 05:44:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 05:44:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 05:44:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 05:44:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 05:44:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 05:44:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 05:44:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 05:44:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 05:44:14] Production.INFO: call_cost start
[2025-04-12 05:44:14] Production.INFO: call_cost end
[2025-04-12 05:44:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 05:44:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 05:44:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 05:44:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 05:44:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 05:44:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 05:44:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 05:44:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 05:44:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 05:44:15] Production.INFO: ==26743== Releasing lock...
[2025-04-12 05:44:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 05:44:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 05:44:18] Production.INFO: count ==147
[2025-04-12 05:44:18] Production.ERROR: pbx CDR StartTime 2025-04-12 02:44:05 - End Time 2025-04-12 05:44:05
[2025-04-12 05:44:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 05:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889500', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889500', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889500', 'tblTempVendorCDR_20' ) start
[2025-04-12 05:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889500', 'tblTempVendorCDR_20' ) end
[2025-04-12 05:44:18] Production.INFO: ProcessCDR(1,14889500,1,1,2)
[2025-04-12 05:44:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889500,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:44:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889500,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:44:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889500,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:44:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889500,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889500', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889500', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:44:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 05:44:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 05:44:21] Production.INFO: ==26752== Releasing lock...
[2025-04-12 05:44:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 05:44:21] Production.INFO: 29 MB #Memory Used#
[2025-04-12 10:45:02] Production.INFO: ==26807== Lock acquired, processing the job...
[2025-04-12 10:45:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 10:45:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 10:45:02] Production.INFO: neon service started
[2025-04-12 10:45:02] Production.INFO: neon service started
[2025-04-12 10:45:02] Production.INFO: ==26807== Releasing lock...
[2025-04-12 10:45:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 10:45:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 05:45:02] Production.INFO: ==26809== Lock acquired, processing the job...
[2025-04-12 05:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 05:45:02] Production.INFO: ==26809== Releasing lock...
[2025-04-12 05:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 05:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 09:45:02] Production.INFO: ==26811== Lock acquired, processing the job...
[2025-04-12 09:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 09:45:02] Production.INFO: ==26811== Releasing lock...
[2025-04-12 09:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 09:45:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 05:45:03] Production.INFO: ==26814== Lock acquired, processing the job...
[2025-04-12 05:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 05:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 05:45:03] Production.INFO: ==26816== Lock acquired, processing the job...
[2025-04-12 05:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 05:45:03] Production.INFO: ==26820== Lock acquired, processing the job...
[2025-04-12 05:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 05:45:03] Production.INFO: ==26818== Lock acquired, processing the job...
[2025-04-12 05:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 05:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 05:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 05:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 05:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 05:45:03] Production.INFO: ==26824== Lock acquired, processing the job...
[2025-04-12 05:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 05:45:03] Production.INFO: Account Balance Start.
[2025-04-12 05:45:03] Production.INFO: ==26822== Lock acquired, processing the job...
[2025-04-12 05:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 05:45:03] Production.INFO: CreateAllLog Start
[2025-04-12 05:45:03] Production.INFO: 117
[2025-04-12 05:45:03] Production.INFO: Date 2025-04-08
[2025-04-12 05:45:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:45:04] Production.INFO: Date 2025-04-09
[2025-04-12 05:45:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 05:45:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:45:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 05:45:04] Production.INFO: count ==12
[2025-04-12 05:45:04] Production.INFO: Date 2025-04-10
[2025-04-12 05:45:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:45:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 05:45:04] Production.INFO: count ==23
[2025-04-12 05:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889504') start
[2025-04-12 05:45:04] Production.INFO: Date 2025-04-11
[2025-04-12 05:45:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:45:04] Production.INFO: Date 2025-04-12
[2025-04-12 05:45:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:45:04] Production.INFO: ==26816== Releasing lock...
[2025-04-12 05:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 05:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 05:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889504') end
[2025-04-12 05:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 05:45:04] Production.INFO: 1
[2025-04-12 05:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 05:45:04] Production.INFO: Total Charge 0
[2025-04-12 05:45:04] Production.INFO: CreateAllLog End
[2025-04-12 05:45:04] Production.INFO: ==26824== Releasing lock...
[2025-04-12 05:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 05:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 05:45:04] Production.ERROR: done
[2025-04-12 05:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 05:45:04] Production.ERROR: done
[2025-04-12 05:45:04] Production.INFO: Account Balance End.
[2025-04-12 05:45:04] Production.ERROR: CronJobId end 12
[2025-04-12 05:45:04] Production.INFO: ==26820== Releasing lock...
[2025-04-12 05:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 05:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 05:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 02:45:05
[end_date_ymd] => 2025-04-12 05:45:05
[RateCDR] => 1
)
[2025-04-12 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-12 02:45:05' and `end` < '2025-04-12 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-12 05:45:11] Production.ERROR: CronJobId end10
[2025-04-12 05:45:11] Production.INFO: ==26818== Releasing lock...
[2025-04-12 05:45:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 05:45:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 05:45:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 05:45:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 05:45:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 05:45:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 05:45:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 05:45:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 05:45:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 05:45:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 05:45:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 05:45:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 05:45:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 05:45:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 05:45:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 05:45:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 05:45:14] Production.INFO: call_cost start
[2025-04-12 05:45:14] Production.INFO: call_cost end
[2025-04-12 05:45:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 05:45:14] Production.INFO: ============== Report Schedule START===========
[2025-04-12 05:45:14] Production.INFO: ============== Report Schedule END===========
[2025-04-12 05:45:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 05:45:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 05:45:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 05:45:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 05:45:14] Production.INFO: ============== Deal alert START===========
[2025-04-12 05:45:14] Production.INFO: ============== Deal alert END===========
[2025-04-12 05:45:14] Production.INFO: ==26814== Releasing lock...
[2025-04-12 05:45:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 05:45:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 05:45:18] Production.INFO: count ==147
[2025-04-12 05:45:18] Production.ERROR: pbx CDR StartTime 2025-04-12 02:45:05 - End Time 2025-04-12 05:45:05
[2025-04-12 05:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 05:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889505', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889505', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889505', 'tblTempVendorCDR_20' ) start
[2025-04-12 05:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889505', 'tblTempVendorCDR_20' ) end
[2025-04-12 05:45:18] Production.INFO: ProcessCDR(1,14889505,1,1,2)
[2025-04-12 05:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889505,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889505,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889505,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:45:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889505,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889505', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889505', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:45:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 05:45:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 05:45:21] Production.INFO: ==26822== Releasing lock...
[2025-04-12 05:45:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 05:45:21] Production.INFO: 29 MB #Memory Used#
[2025-04-12 10:46:01] Production.INFO: ==26880== Lock acquired, processing the job...
[2025-04-12 10:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 10:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 10:46:01] Production.INFO: neon service started
[2025-04-12 10:46:01] Production.INFO: neon service started
[2025-04-12 10:46:01] Production.INFO: ==26880== Releasing lock...
[2025-04-12 10:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 10:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 05:46:01] Production.INFO: ==26882== Lock acquired, processing the job...
[2025-04-12 05:46:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 05:46:02] Production.INFO: ==26882== Releasing lock...
[2025-04-12 05:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 05:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 09:46:02] Production.INFO: ==26884== Lock acquired, processing the job...
[2025-04-12 09:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 09:46:02] Production.INFO: ==26884== Releasing lock...
[2025-04-12 09:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 09:46:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 05:46:03] Production.INFO: ==26888== Lock acquired, processing the job...
[2025-04-12 05:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 05:46:03] Production.INFO: ==26886== Lock acquired, processing the job...
[2025-04-12 05:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 05:46:03] Production.INFO: ==26894== Lock acquired, processing the job...
[2025-04-12 05:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 05:46:03] Production.INFO: ==26890== Lock acquired, processing the job...
[2025-04-12 05:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 05:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 05:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 05:46:03] Production.INFO: ==26892== Lock acquired, processing the job...
[2025-04-12 05:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 05:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 05:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 05:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 05:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 05:46:03] Production.INFO: ==26896== Lock acquired, processing the job...
[2025-04-12 05:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 05:46:03] Production.INFO: ==26888== Releasing lock...
[2025-04-12 05:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 05:46:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 05:46:03] Production.INFO: Account Balance Start.
[2025-04-12 05:46:03] Production.INFO: CreateAllLog Start
[2025-04-12 05:46:03] Production.INFO: 117
[2025-04-12 05:46:03] Production.INFO: Date 2025-04-08
[2025-04-12 05:46:03] Production.INFO: Reseller ==> 0
[2025-04-12 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-12 05:46:03] Production.INFO: Date 2025-04-09
[2025-04-12 05:46:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:46:03] Production.INFO: count ==12
[2025-04-12 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-12 05:46:03] Production.INFO: count ==23
[2025-04-12 05:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889509') start
[2025-04-12 05:46:03] Production.INFO: Date 2025-04-10
[2025-04-12 05:46:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:46:03] Production.INFO: Date 2025-04-11
[2025-04-12 05:46:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889509') end
[2025-04-12 05:46:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 05:46:03] Production.INFO: 1
[2025-04-12 05:46:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 05:46:03] Production.ERROR: done
[2025-04-12 05:46:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 05:46:03] Production.INFO: Date 2025-04-12
[2025-04-12 05:46:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:46:03] Production.INFO: Total Charge 0
[2025-04-12 05:46:03] Production.INFO: CreateAllLog End
[2025-04-12 05:46:04] Production.INFO: ==26896== Releasing lock...
[2025-04-12 05:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 05:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 05:46:04] Production.ERROR: done
[2025-04-12 05:46:04] Production.INFO: Account Balance End.
[2025-04-12 05:46:04] Production.ERROR: CronJobId end 12
[2025-04-12 05:46:04] Production.INFO: ==26892== Releasing lock...
[2025-04-12 05:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 05:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 05:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 02:46:05
[end_date_ymd] => 2025-04-12 05:46:05
[RateCDR] => 1
)
[2025-04-12 05:46:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 02:46:05' and `end` < '2025-04-12 05:46:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 05:46:11] Production.ERROR: CronJobId end10
[2025-04-12 05:46:11] Production.INFO: ==26890== Releasing lock...
[2025-04-12 05:46:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 05:46:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 05:46:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 05:46:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 05:46:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 05:46:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 05:46:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 05:46:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 05:46:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 05:46:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 05:46:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 05:46:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 05:46:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 05:46:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 05:46:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 05:46:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 05:46:14] Production.INFO: call_cost start
[2025-04-12 05:46:14] Production.INFO: call_cost end
[2025-04-12 05:46:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 05:46:14] Production.INFO: ============== Report Schedule START===========
[2025-04-12 05:46:14] Production.INFO: ============== Report Schedule END===========
[2025-04-12 05:46:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 05:46:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 05:46:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 05:46:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 05:46:14] Production.INFO: ============== Deal alert START===========
[2025-04-12 05:46:14] Production.INFO: ============== Deal alert END===========
[2025-04-12 05:46:14] Production.INFO: ==26886== Releasing lock...
[2025-04-12 05:46:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 05:46:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 05:46:17] Production.INFO: count ==147
[2025-04-12 05:46:17] Production.ERROR: pbx CDR StartTime 2025-04-12 02:46:05 - End Time 2025-04-12 05:46:05
[2025-04-12 05:46:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 05:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889510', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889510', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889510', 'tblTempVendorCDR_20' ) start
[2025-04-12 05:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889510', 'tblTempVendorCDR_20' ) end
[2025-04-12 05:46:17] Production.INFO: ProcessCDR(1,14889510,1,1,2)
[2025-04-12 05:46:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889510,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:46:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889510,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:46:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889510,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:46:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889510,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889510', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889510', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:46:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 05:46:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 05:46:21] Production.INFO: ==26894== Releasing lock...
[2025-04-12 05:46:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 05:46:21] Production.INFO: 29 MB #Memory Used#
[2025-04-12 10:47:01] Production.INFO: ==26955== Lock acquired, processing the job...
[2025-04-12 10:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 10:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 10:47:01] Production.INFO: neon service started
[2025-04-12 10:47:01] Production.INFO: neon service started
[2025-04-12 10:47:01] Production.INFO: ==26955== Releasing lock...
[2025-04-12 10:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 10:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 05:47:02] Production.INFO: ==26957== Lock acquired, processing the job...
[2025-04-12 05:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 05:47:02] Production.INFO: ==26957== Releasing lock...
[2025-04-12 05:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 05:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 09:47:02] Production.INFO: ==26959== Lock acquired, processing the job...
[2025-04-12 09:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 09:47:02] Production.INFO: ==26959== Releasing lock...
[2025-04-12 09:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 09:47:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 05:47:03] Production.INFO: ==26962== Lock acquired, processing the job...
[2025-04-12 05:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 05:47:03] Production.INFO: ==26964== Lock acquired, processing the job...
[2025-04-12 05:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 05:47:03] Production.INFO: ==26966== Lock acquired, processing the job...
[2025-04-12 05:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 05:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 05:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 05:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 05:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 05:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 05:47:03] Production.INFO: ==26970== Lock acquired, processing the job...
[2025-04-12 05:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 05:47:03] Production.INFO: ==26968== Lock acquired, processing the job...
[2025-04-12 05:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 05:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 05:47:03] Production.INFO: Account Balance Start.
[2025-04-12 05:47:03] Production.INFO: CreateAllLog Start
[2025-04-12 05:47:03] Production.INFO: 117
[2025-04-12 05:47:03] Production.INFO: Date 2025-04-08
[2025-04-12 05:47:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:47:03] Production.INFO: ==26972== Lock acquired, processing the job...
[2025-04-12 05:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 05:47:03] Production.INFO: Date 2025-04-09
[2025-04-12 05:47:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:47:03] Production.INFO: Date 2025-04-10
[2025-04-12 05:47:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:47:03] Production.INFO: Date 2025-04-11
[2025-04-12 05:47:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:47:04] Production.INFO: ==26964== Releasing lock...
[2025-04-12 05:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 05:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 05:47:04] Production.INFO: Date 2025-04-12
[2025-04-12 05:47:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:47:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 05:47:04] Production.INFO: Total Charge 0
[2025-04-12 05:47:04] Production.INFO: CreateAllLog End
[2025-04-12 05:47:04] Production.INFO: count ==12
[2025-04-12 05:47:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 05:47:04] Production.INFO: count ==23
[2025-04-12 05:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889514') start
[2025-04-12 05:47:04] Production.ERROR: done
[2025-04-12 05:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 05:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889514') end
[2025-04-12 05:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 05:47:04] Production.INFO: 1
[2025-04-12 05:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 05:47:04] Production.INFO: ==26972== Releasing lock...
[2025-04-12 05:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 05:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 05:47:04] Production.ERROR: done
[2025-04-12 05:47:04] Production.INFO: Account Balance End.
[2025-04-12 05:47:04] Production.ERROR: CronJobId end 12
[2025-04-12 05:47:04] Production.INFO: ==26968== Releasing lock...
[2025-04-12 05:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 05:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 05:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 02:47:05
[end_date_ymd] => 2025-04-12 05:47:05
[RateCDR] => 1
)
[2025-04-12 05:47:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 02:47:05' and `end` < '2025-04-12 05:47:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 05:47:11] Production.ERROR: CronJobId end10
[2025-04-12 05:47:11] Production.INFO: ==26966== Releasing lock...
[2025-04-12 05:47:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 05:47:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 05:47:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 05:47:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 05:47:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 05:47:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 05:47:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 05:47:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 05:47:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 05:47:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 05:47:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 05:47:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 05:47:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 05:47:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 05:47:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 05:47:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 05:47:14] Production.INFO: call_cost start
[2025-04-12 05:47:14] Production.INFO: call_cost end
[2025-04-12 05:47:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 05:47:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 05:47:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 05:47:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 05:47:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 05:47:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 05:47:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 05:47:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 05:47:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 05:47:15] Production.INFO: ==26962== Releasing lock...
[2025-04-12 05:47:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 05:47:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 05:47:18] Production.INFO: count ==147
[2025-04-12 05:47:18] Production.ERROR: pbx CDR StartTime 2025-04-12 02:47:05 - End Time 2025-04-12 05:47:05
[2025-04-12 05:47:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 05:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889515', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889515', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889515', 'tblTempVendorCDR_20' ) start
[2025-04-12 05:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889515', 'tblTempVendorCDR_20' ) end
[2025-04-12 05:47:18] Production.INFO: ProcessCDR(1,14889515,1,1,2)
[2025-04-12 05:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889515,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:47:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889515,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:47:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889515,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:47:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889515,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889515', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889515', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:47:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 05:47:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 05:47:21] Production.INFO: ==26970== Releasing lock...
[2025-04-12 05:47:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 05:47:21] Production.INFO: 29 MB #Memory Used#
[2025-04-12 10:48:01] Production.INFO: ==27066== Lock acquired, processing the job...
[2025-04-12 10:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 10:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 10:48:01] Production.INFO: neon service started
[2025-04-12 10:48:01] Production.INFO: neon service started
[2025-04-12 10:48:01] Production.INFO: ==27066== Releasing lock...
[2025-04-12 10:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 10:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 05:48:01] Production.INFO: ==27068== Lock acquired, processing the job...
[2025-04-12 05:48:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 05:48:02] Production.INFO: ==27068== Releasing lock...
[2025-04-12 05:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 05:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 09:48:02] Production.INFO: ==27070== Lock acquired, processing the job...
[2025-04-12 09:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 09:48:02] Production.INFO: ==27070== Releasing lock...
[2025-04-12 09:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 09:48:02] Production.INFO: 26 MB #Memory Used#
[2025-04-12 05:48:02] Production.INFO: ==27072== Lock acquired, processing the job...
[2025-04-12 05:48:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 05:48:02] Production.INFO: ==27076== Lock acquired, processing the job...
[2025-04-12 05:48:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 05:48:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 05:48:02] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 05:48:02] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 05:48:02] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 05:48:02] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 05:48:03] Production.INFO: ==27082== Lock acquired, processing the job...
[2025-04-12 05:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 05:48:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 05:48:03] Production.INFO: ==27074== Lock acquired, processing the job...
[2025-04-12 05:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 05:48:03] Production.INFO: count ==12
[2025-04-12 05:48:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 05:48:03] Production.INFO: count ==23
[2025-04-12 05:48:03] Production.INFO: ==27078== Lock acquired, processing the job...
[2025-04-12 05:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 05:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889517') start
[2025-04-12 05:48:03] Production.INFO: ==27080== Lock acquired, processing the job...
[2025-04-12 05:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 05:48:03] Production.INFO: Account Balance Start.
[2025-04-12 05:48:03] Production.INFO: CreateAllLog Start
[2025-04-12 05:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 05:48:03] Production.INFO: 117
[2025-04-12 05:48:03] Production.INFO: Date 2025-04-08
[2025-04-12 05:48:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889517') end
[2025-04-12 05:48:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 05:48:03] Production.INFO: 1
[2025-04-12 05:48:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 05:48:03] Production.INFO: Date 2025-04-09
[2025-04-12 05:48:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:48:03] Production.INFO: Date 2025-04-10
[2025-04-12 05:48:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:48:03] Production.INFO: Date 2025-04-11
[2025-04-12 05:48:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:48:03] Production.INFO: ==27082== Releasing lock...
[2025-04-12 05:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 05:48:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 05:48:03] Production.INFO: Date 2025-04-12
[2025-04-12 05:48:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:48:03] Production.INFO: Total Charge 0
[2025-04-12 05:48:03] Production.INFO: CreateAllLog End
[2025-04-12 05:48:03] Production.INFO: Account Balance End.
[2025-04-12 05:48:03] Production.ERROR: done
[2025-04-12 05:48:03] Production.INFO: ==27074== Releasing lock...
[2025-04-12 05:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 05:48:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 05:48:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 05:48:04] Production.ERROR: CronJobId end 12
[2025-04-12 05:48:04] Production.INFO: ==27078== Releasing lock...
[2025-04-12 05:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 05:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 05:48:04] Production.ERROR: done
[2025-04-12 05:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 02:48:05
[end_date_ymd] => 2025-04-12 05:48:05
[RateCDR] => 1
)
[2025-04-12 05:48:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 02:48:05' and `end` < '2025-04-12 05:48:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 05:48:10] Production.ERROR: CronJobId end10
[2025-04-12 05:48:10] Production.INFO: ==27076== Releasing lock...
[2025-04-12 05:48:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 05:48:10] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 05:48:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 05:48:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 05:48:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 05:48:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 05:48:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 05:48:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 05:48:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 05:48:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 05:48:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 05:48:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 05:48:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 05:48:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 05:48:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 05:48:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 05:48:13] Production.INFO: call_cost start
[2025-04-12 05:48:13] Production.INFO: call_cost end
[2025-04-12 05:48:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 05:48:14] Production.INFO: ============== Report Schedule START===========
[2025-04-12 05:48:14] Production.INFO: ============== Report Schedule END===========
[2025-04-12 05:48:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 05:48:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 05:48:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 05:48:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 05:48:14] Production.INFO: ============== Deal alert START===========
[2025-04-12 05:48:14] Production.INFO: ============== Deal alert END===========
[2025-04-12 05:48:14] Production.INFO: ==27072== Releasing lock...
[2025-04-12 05:48:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 05:48:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 05:48:17] Production.INFO: count ==147
[2025-04-12 05:48:18] Production.ERROR: pbx CDR StartTime 2025-04-12 02:48:05 - End Time 2025-04-12 05:48:05
[2025-04-12 05:48:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 05:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889520', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889520', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889520', 'tblTempVendorCDR_20' ) start
[2025-04-12 05:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889520', 'tblTempVendorCDR_20' ) end
[2025-04-12 05:48:18] Production.INFO: ProcessCDR(1,14889520,1,1,2)
[2025-04-12 05:48:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889520,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:48:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889520,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:48:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889520,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:48:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889520,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889520', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889520', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:48:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 05:48:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 05:48:21] Production.INFO: ==27080== Releasing lock...
[2025-04-12 05:48:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 05:48:21] Production.INFO: 29 MB #Memory Used#
[2025-04-12 10:49:01] Production.INFO: ==27138== Lock acquired, processing the job...
[2025-04-12 10:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 10:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 10:49:01] Production.INFO: neon service started
[2025-04-12 10:49:01] Production.INFO: neon service started
[2025-04-12 10:49:01] Production.INFO: ==27138== Releasing lock...
[2025-04-12 10:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 10:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 09:49:02] Production.INFO: ==27142== Lock acquired, processing the job...
[2025-04-12 09:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 09:49:02] Production.INFO: ==27142== Releasing lock...
[2025-04-12 09:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 09:49:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 05:49:02] Production.INFO: ==27140== Lock acquired, processing the job...
[2025-04-12 05:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 05:49:02] Production.INFO: ==27140== Releasing lock...
[2025-04-12 05:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 05:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 05:49:03] Production.INFO: ==27148== Lock acquired, processing the job...
[2025-04-12 05:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 05:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 05:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 05:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 05:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 05:49:03] Production.INFO: ==27155== Lock acquired, processing the job...
[2025-04-12 05:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 05:49:03] Production.INFO: ==27144== Lock acquired, processing the job...
[2025-04-12 05:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 05:49:03] Production.INFO: ==27146== Lock acquired, processing the job...
[2025-04-12 05:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 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-12 05:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 05:49:03] Production.INFO: count ==12
[2025-04-12 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-12 05:49:03] Production.INFO: count ==23
[2025-04-12 05:49:03] Production.INFO: ==27151== Lock acquired, processing the job...
[2025-04-12 05:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 05:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889521') start
[2025-04-12 05:49:03] Production.INFO: ==27153== Lock acquired, processing the job...
[2025-04-12 05:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 05:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 05:49:03] Production.INFO: Account Balance Start.
[2025-04-12 05:49:03] Production.INFO: CreateAllLog Start
[2025-04-12 05:49:03] Production.INFO: 117
[2025-04-12 05:49:03] Production.INFO: Date 2025-04-08
[2025-04-12 05:49:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:49:03] Production.INFO: Date 2025-04-09
[2025-04-12 05:49:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:49:03] Production.INFO: Date 2025-04-10
[2025-04-12 05:49:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889521') end
[2025-04-12 05:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 05:49:04] Production.INFO: 1
[2025-04-12 05:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 05:49:04] Production.INFO: Date 2025-04-11
[2025-04-12 05:49:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:49:04] Production.INFO: Date 2025-04-12
[2025-04-12 05:49:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:49:04] Production.INFO: ==27155== Releasing lock...
[2025-04-12 05:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 05:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 05:49:04] Production.INFO: ==27146== Releasing lock...
[2025-04-12 05:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 05:49:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 05:49:04] Production.INFO: Total Charge 0
[2025-04-12 05:49:04] Production.INFO: CreateAllLog End
[2025-04-12 05:49:04] Production.ERROR: done
[2025-04-12 05:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 05:49:04] Production.INFO: Account Balance End.
[2025-04-12 05:49:04] Production.ERROR: done
[2025-04-12 05:49:04] Production.ERROR: CronJobId end 12
[2025-04-12 05:49:04] Production.INFO: ==27151== Releasing lock...
[2025-04-12 05:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 05:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 05:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 02:49:05
[end_date_ymd] => 2025-04-12 05:49:05
[RateCDR] => 1
)
[2025-04-12 05:49:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 02:49:05' and `end` < '2025-04-12 05:49:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 05:49:10] Production.ERROR: CronJobId end10
[2025-04-12 05:49:10] Production.INFO: ==27148== Releasing lock...
[2025-04-12 05:49:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 05:49:10] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 05:49:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 05:49:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 05:49:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 05:49:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 05:49:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 05:49:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 05:49:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 05:49:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 05:49:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 05:49:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 05:49:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 05:49:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 05:49:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 05:49:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 05:49:14] Production.INFO: call_cost start
[2025-04-12 05:49:14] Production.INFO: call_cost end
[2025-04-12 05:49:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 05:49:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 05:49:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 05:49:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 05:49:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 05:49:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 05:49:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 05:49:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 05:49:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 05:49:15] Production.INFO: ==27144== Releasing lock...
[2025-04-12 05:49:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 05:49:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 05:49:18] Production.INFO: count ==149
[2025-04-12 05:49:18] Production.ERROR: pbx CDR StartTime 2025-04-12 02:49:05 - End Time 2025-04-12 05:49:05
[2025-04-12 05:49:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 05:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889525', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889525', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889525', 'tblTempVendorCDR_20' ) start
[2025-04-12 05:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889525', 'tblTempVendorCDR_20' ) end
[2025-04-12 05:49:18] Production.INFO: ProcessCDR(1,14889525,1,1,2)
[2025-04-12 05:49:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889525,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:49:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889525,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:49:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889525,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:49:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889525,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889525', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889525', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:49:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 05:49:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 05:49:22] Production.INFO: ==27153== Releasing lock...
[2025-04-12 05:49:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 05:49:22] Production.INFO: 29 MB #Memory Used#
[2025-04-12 10:50:02] Production.INFO: ==27208== Lock acquired, processing the job...
[2025-04-12 10:50:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 10:50:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 10:50:02] Production.INFO: neon service started
[2025-04-12 10:50:02] Production.INFO: neon service started
[2025-04-12 10:50:02] Production.INFO: ==27208== Releasing lock...
[2025-04-12 10:50:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 10:50:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 05:50:02] Production.INFO: ==27210== Lock acquired, processing the job...
[2025-04-12 05:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 09:50:02] Production.INFO: ==27212== Lock acquired, processing the job...
[2025-04-12 09:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 09:50:03] Production.INFO: ==27212== Releasing lock...
[2025-04-12 09:50:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 09:50:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 05:50:03] Production.INFO: ==27210== Releasing lock...
[2025-04-12 05:50:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 05:50:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 05:50:03] Production.INFO: ==27214== Lock acquired, processing the job...
[2025-04-12 05:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 05:50:03] Production.INFO: ==27216== Lock acquired, processing the job...
[2025-04-12 05:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 05:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 05:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 05:50:03] Production.ERROR: CronJob PID - 27216
[2025-04-12 05:50:03] Production.ERROR: CronJob Title - System Alerts
[2025-04-12 05:50:03] Production.ERROR: CronJob ID - 5
[2025-04-12 05:50:03] Production.ERROR: CronJob Last Run Time 2025-04-12 05:50:00
[2025-04-12 05:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 05:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 05:50:03] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 05:50:03] Production.INFO: ==27214== Releasing lock...
[2025-04-12 05:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 05:50:03] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 05:50:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 05:50:04] Production.INFO: ==27226== Lock acquired, processing the job...
[2025-04-12 05:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 05:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 05:50:04] Production.INFO: ==27229== Lock acquired, processing the job...
[2025-04-12 05:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 05:50:04] Production.INFO: ==27218== Lock acquired, processing the job...
[2025-04-12 05:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 05:50:04] Production.INFO: ==27220== Lock acquired, processing the job...
[2025-04-12 05:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 05:50:04] Production.INFO: ==27222== Lock acquired, processing the job...
[2025-04-12 05:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 05:50:04] Production.ERROR: done
[2025-04-12 05:50:04] Production.INFO: ==27224== Lock acquired, processing the job...
[2025-04-12 05:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 05:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 05:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14889528', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 05:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 05:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 05:50:04] Production.INFO: count ==12
[2025-04-12 05:50:04] Production.INFO: Account Balance Start.
[2025-04-12 05:50:04] Production.INFO: CreateAllLog Start
[2025-04-12 05:50:04] Production.INFO: 117
[2025-04-12 05:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 05:50:04] Production.INFO: count ==23
[2025-04-12 05:50:04] Production.INFO: Date 2025-04-08
[2025-04-12 05:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889527') start
[2025-04-12 05:50:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 05:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 05:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 05:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 05:50:04] Production.INFO: Date 2025-04-09
[2025-04-12 05:50:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:50:04] Production.INFO: Date 2025-04-10
[2025-04-12 05:50:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889527') end
[2025-04-12 05:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 05:50:04] Production.INFO: 1
[2025-04-12 05:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 05:50:04] Production.INFO: Date 2025-04-11
[2025-04-12 05:50:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:50:04] Production.INFO: Date 2025-04-12
[2025-04-12 05:50:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:50:05] Production.INFO: Total Charge 0
[2025-04-12 05:50:05] Production.INFO: ==27229== Releasing lock...
[2025-04-12 05:50:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 05:50:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 05:50:05] Production.INFO: CreateAllLog End
[2025-04-12 05:50:05] Production.ERROR: done
[2025-04-12 05:50:05] Production.INFO: ==27218== Releasing lock...
[2025-04-12 05:50:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 05:50:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 05:50:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 05:50:05] Production.ERROR: done
[2025-04-12 05:50:05] Production.INFO: Account Balance End.
[2025-04-12 05:50:05] Production.ERROR: CronJobId end 12
[2025-04-12 05:50:05] Production.INFO: ==27222== Releasing lock...
[2025-04-12 05:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 05:50:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 05:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 02:50:06
[end_date_ymd] => 2025-04-12 05:50:06
[RateCDR] => 1
)
[2025-04-12 05:50:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 02:50:06' and `end` < '2025-04-12 05:50:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 05:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14889528', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 05:50:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 05:50:09] Production.INFO: ProcessCDR(1,14889528,1,1,2)
[2025-04-12 05:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14889528,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14889528,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:50:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 05:50:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 05:50:09] Production.INFO: ==27226== Releasing lock...
[2025-04-12 05:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 05:50:09] Production.INFO: 26 MB #Memory Used#
[2025-04-12 05:50:13] Production.ERROR: CronJobId end10
[2025-04-12 05:50:13] Production.INFO: ==27220== Releasing lock...
[2025-04-12 05:50:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 05:50:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 05:50:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 05:50:16] Production.INFO: ============== Balance Warning START===========
[2025-04-12 05:50:16] Production.INFO: ============== Balance Warning END===========
[2025-04-12 05:50:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 05:50:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 05:50:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 05:50:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 05:50:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 05:50:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 05:50:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 05:50:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 05:50:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 05:50:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 05:50:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 05:50:16] Production.INFO: call_cost start
[2025-04-12 05:50:16] Production.INFO: call_cost end
[2025-04-12 05:50:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 05:50:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 05:50:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 05:50:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 05:50:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 05:50:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 05:50:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 05:50:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 05:50:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 05:50:17] Production.INFO: ==27216== Releasing lock...
[2025-04-12 05:50:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 05:50:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 05:50:19] Production.INFO: count ==141
[2025-04-12 05:50:19] Production.ERROR: pbx CDR StartTime 2025-04-12 02:50:06 - End Time 2025-04-12 05:50:06
[2025-04-12 05:50:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 05:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889531', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889531', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889531', 'tblTempVendorCDR_20' ) start
[2025-04-12 05:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889531', 'tblTempVendorCDR_20' ) end
[2025-04-12 05:50:19] Production.INFO: ProcessCDR(1,14889531,1,1,2)
[2025-04-12 05:50:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889531,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:50:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889531,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:50:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889531,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:50:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889531,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889531', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889531', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:50:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 05:50:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 05:50:22] Production.INFO: ==27224== Releasing lock...
[2025-04-12 05:50:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 05:50:22] Production.INFO: 29 MB #Memory Used#
[2025-04-12 10:51:01] Production.INFO: ==27286== Lock acquired, processing the job...
[2025-04-12 10:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 10:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 10:51:01] Production.INFO: neon service started
[2025-04-12 10:51:01] Production.INFO: neon service started
[2025-04-12 10:51:01] Production.INFO: ==27286== Releasing lock...
[2025-04-12 10:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 10:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 05:51:02] Production.INFO: ==27288== Lock acquired, processing the job...
[2025-04-12 05:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 09:51:02] Production.INFO: ==27290== Lock acquired, processing the job...
[2025-04-12 09:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 09:51:02] Production.INFO: ==27290== Releasing lock...
[2025-04-12 09:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 09:51:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 05:51:02] Production.INFO: ==27288== Releasing lock...
[2025-04-12 05:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 05:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 05:51:03] Production.INFO: ==27293== Lock acquired, processing the job...
[2025-04-12 05:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 05:51:03] Production.INFO: ==27295== Lock acquired, processing the job...
[2025-04-12 05:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 05:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 05:51:03] Production.INFO: ==27297== Lock acquired, processing the job...
[2025-04-12 05:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 05:51:03] Production.INFO: ==27299== Lock acquired, processing the job...
[2025-04-12 05:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 05:51:03] Production.INFO: ==27301== Lock acquired, processing the job...
[2025-04-12 05:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 05:51:03] Production.INFO: ==27295== Releasing lock...
[2025-04-12 05:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 05:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 05:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 05:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 05:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 05:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 05:51:03] Production.INFO: Account Balance Start.
[2025-04-12 05:51:03] Production.INFO: CreateAllLog Start
[2025-04-12 05:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 05:51:03] Production.INFO: 117
[2025-04-12 05:51:03] Production.INFO: Date 2025-04-08
[2025-04-12 05:51:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:51:04] Production.INFO: Date 2025-04-09
[2025-04-12 05:51:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:51:04] Production.INFO: ==27303== Lock acquired, processing the job...
[2025-04-12 05:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 05:51:04] Production.INFO: Date 2025-04-10
[2025-04-12 05:51:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:51:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 05:51:04] Production.INFO: Date 2025-04-11
[2025-04-12 05:51:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:51:04] Production.INFO: Date 2025-04-12
[2025-04-12 05:51:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:51:04] Production.INFO: count ==12
[2025-04-12 05:51:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 05:51:04] Production.INFO: count ==23
[2025-04-12 05:51:04] Production.INFO: Total Charge 0
[2025-04-12 05:51:04] Production.ERROR: done
[2025-04-12 05:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 05:51:04] Production.INFO: CreateAllLog End
[2025-04-12 05:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889535') start
[2025-04-12 05:51:04] Production.ERROR: done
[2025-04-12 05:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889535') end
[2025-04-12 05:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 05:51:04] Production.INFO: 1
[2025-04-12 05:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 05:51:04] Production.INFO: Account Balance End.
[2025-04-12 05:51:04] Production.ERROR: CronJobId end 12
[2025-04-12 05:51:04] Production.INFO: ==27299== Releasing lock...
[2025-04-12 05:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 05:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 05:51:04] Production.INFO: ==27303== Releasing lock...
[2025-04-12 05:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 05:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 05:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 02:51:05
[end_date_ymd] => 2025-04-12 05:51:05
[RateCDR] => 1
)
[2025-04-12 05:51:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 02:51:05' and `end` < '2025-04-12 05:51:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 05:51:11] Production.ERROR: CronJobId end10
[2025-04-12 05:51:11] Production.INFO: ==27297== Releasing lock...
[2025-04-12 05:51:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 05:51:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 05:51:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 05:51:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 05:51:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 05:51:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 05:51:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 05:51:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 05:51:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 05:51:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 05:51:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 05:51:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 05:51:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 05:51:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 05:51:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 05:51:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 05:51:13] Production.INFO: call_cost start
[2025-04-12 05:51:13] Production.INFO: call_cost end
[2025-04-12 05:51:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 05:51:14] Production.INFO: ============== Report Schedule START===========
[2025-04-12 05:51:14] Production.INFO: ============== Report Schedule END===========
[2025-04-12 05:51:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 05:51:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 05:51:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 05:51:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 05:51:14] Production.INFO: ============== Deal alert START===========
[2025-04-12 05:51:14] Production.INFO: ============== Deal alert END===========
[2025-04-12 05:51:14] Production.INFO: ==27293== Releasing lock...
[2025-04-12 05:51:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 05:51:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 05:51:18] Production.INFO: count ==141
[2025-04-12 05:51:18] Production.ERROR: pbx CDR StartTime 2025-04-12 02:51:05 - End Time 2025-04-12 05:51:05
[2025-04-12 05:51:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 05:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889536', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889536', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889536', 'tblTempVendorCDR_20' ) start
[2025-04-12 05:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889536', 'tblTempVendorCDR_20' ) end
[2025-04-12 05:51:18] Production.INFO: ProcessCDR(1,14889536,1,1,2)
[2025-04-12 05:51:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889536,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:51:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889536,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:51:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889536,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:51:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889536,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889536', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889536', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:51:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 05:51:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 05:51:21] Production.INFO: ==27301== Releasing lock...
[2025-04-12 05:51:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 05:51:21] Production.INFO: 29 MB #Memory Used#
[2025-04-12 10:52:02] Production.INFO: ==27357== Lock acquired, processing the job...
[2025-04-12 10:52:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 10:52:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 10:52:02] Production.INFO: neon service started
[2025-04-12 10:52:02] Production.INFO: neon service started
[2025-04-12 10:52:02] Production.INFO: ==27357== Releasing lock...
[2025-04-12 10:52:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 10:52:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 05:52:02] Production.INFO: ==27359== Lock acquired, processing the job...
[2025-04-12 05:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 05:52:02] Production.INFO: ==27359== Releasing lock...
[2025-04-12 05:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 05:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 09:52:03] Production.INFO: ==27361== Lock acquired, processing the job...
[2025-04-12 09:52:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 09:52:03] Production.INFO: ==27361== Releasing lock...
[2025-04-12 09:52:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 09:52:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 05:52:03] Production.INFO: ==27364== Lock acquired, processing the job...
[2025-04-12 05:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 05:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 05:52:03] Production.INFO: ==27370== Lock acquired, processing the job...
[2025-04-12 05:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 05:52:03] Production.INFO: ==27372== Lock acquired, processing the job...
[2025-04-12 05:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 05:52:03] Production.INFO: Account Balance Start.
[2025-04-12 05:52:03] Production.INFO: CreateAllLog Start
[2025-04-12 05:52:03] Production.INFO: 117
[2025-04-12 05:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 05:52:03] Production.INFO: Date 2025-04-08
[2025-04-12 05:52:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:52:03] Production.INFO: Date 2025-04-09
[2025-04-12 05:52:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:52:03] Production.INFO: Date 2025-04-10
[2025-04-12 05:52:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:52:03] Production.INFO: ==27368== Lock acquired, processing the job...
[2025-04-12 05:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 05:52:03] Production.INFO: ==27366== Lock acquired, processing the job...
[2025-04-12 05:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 05:52:04] Production.INFO: Date 2025-04-11
[2025-04-12 05:52:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:52:04] Production.INFO: Date 2025-04-12
[2025-04-12 05:52:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:52:04] Production.INFO: ==27374== Lock acquired, processing the job...
[2025-04-12 05:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 05:52:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 05:52:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 05:52:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 05:52:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 05:52:04] Production.INFO: Total Charge 0
[2025-04-12 05:52:04] Production.INFO: CreateAllLog End
[2025-04-12 05:52:04] Production.ERROR: done
[2025-04-12 05:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 05: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-12 05:52:04] Production.INFO: count ==12
[2025-04-12 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-12 05:52:04] Production.INFO: count ==23
[2025-04-12 05:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889540') start
[2025-04-12 05:52:04] Production.ERROR: done
[2025-04-12 05:52:04] Production.INFO: ==27366== Releasing lock...
[2025-04-12 05:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 05:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 05:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889540') end
[2025-04-12 05:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 05:52:04] Production.INFO: 1
[2025-04-12 05:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 05:52:04] Production.INFO: Account Balance End.
[2025-04-12 05:52:04] Production.INFO: ==27374== Releasing lock...
[2025-04-12 05:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 05:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 05:52:04] Production.ERROR: CronJobId end 12
[2025-04-12 05:52:04] Production.INFO: ==27370== Releasing lock...
[2025-04-12 05:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 05:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 05:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 02:52:05
[end_date_ymd] => 2025-04-12 05:52:05
[RateCDR] => 1
)
[2025-04-12 05:52:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 02:52:05' and `end` < '2025-04-12 05:52:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 05:52:12] Production.ERROR: CronJobId end10
[2025-04-12 05:52:12] Production.INFO: ==27368== Releasing lock...
[2025-04-12 05:52:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 05:52:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 05:52:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 05:52:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 05:52:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 05:52:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 05:52:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 05:52:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 05:52:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 05:52:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 05:52:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 05:52:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 05:52:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 05:52:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 05:52:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 05:52:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 05:52:14] Production.INFO: call_cost start
[2025-04-12 05:52:14] Production.INFO: call_cost end
[2025-04-12 05:52:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 05:52:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 05:52:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 05:52:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 05:52:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 05:52:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 05:52:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 05:52:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 05:52:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 05:52:15] Production.INFO: ==27364== Releasing lock...
[2025-04-12 05:52:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 05:52:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 05:52:18] Production.INFO: count ==141
[2025-04-12 05:52:18] Production.ERROR: pbx CDR StartTime 2025-04-12 02:52:05 - End Time 2025-04-12 05:52:05
[2025-04-12 05:52:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 05:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889541', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889541', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889541', 'tblTempVendorCDR_20' ) start
[2025-04-12 05:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889541', 'tblTempVendorCDR_20' ) end
[2025-04-12 05:52:18] Production.INFO: ProcessCDR(1,14889541,1,1,2)
[2025-04-12 05:52:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889541,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:52:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889541,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:52:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889541,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:52:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889541,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889541', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889541', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:52:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 05:52:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 05:52:21] Production.INFO: ==27372== Releasing lock...
[2025-04-12 05:52:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 05:52:21] Production.INFO: 29 MB #Memory Used#
[2025-04-12 10:53:01] Production.INFO: ==27429== Lock acquired, processing the job...
[2025-04-12 10:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 10:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 10:53:01] Production.INFO: neon service started
[2025-04-12 10:53:01] Production.INFO: neon service started
[2025-04-12 10:53:01] Production.INFO: ==27429== Releasing lock...
[2025-04-12 10:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 10:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 05:53:01] Production.INFO: ==27431== Lock acquired, processing the job...
[2025-04-12 05:53:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 05:53:02] Production.INFO: ==27431== Releasing lock...
[2025-04-12 05:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 05:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 09:53:02] Production.INFO: ==27433== Lock acquired, processing the job...
[2025-04-12 09:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 09:53:02] Production.INFO: ==27433== Releasing lock...
[2025-04-12 09:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 09:53:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 05:53:03] Production.INFO: ==27436== Lock acquired, processing the job...
[2025-04-12 05:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 05:53:03] Production.INFO: ==27442== Lock acquired, processing the job...
[2025-04-12 05:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 05:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 05:53:03] Production.INFO: ==27444== Lock acquired, processing the job...
[2025-04-12 05:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 05:53:03] Production.INFO: ==27438== Lock acquired, processing the job...
[2025-04-12 05:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 05:53:03] Production.INFO: Account Balance Start.
[2025-04-12 05:53:03] Production.INFO: CreateAllLog Start
[2025-04-12 05:53:03] Production.INFO: 117
[2025-04-12 05:53:03] Production.INFO: Date 2025-04-08
[2025-04-12 05:53:03] Production.INFO: ==27440== Lock acquired, processing the job...
[2025-04-12 05:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 05:53:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 05:53:03] Production.INFO: Date 2025-04-09
[2025-04-12 05:53:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:53:03] Production.INFO: ==27446== Lock acquired, processing the job...
[2025-04-12 05:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 05:53:03] Production.INFO: Date 2025-04-10
[2025-04-12 05:53:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 05:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 05:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 05:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 05:53:03] Production.INFO: Date 2025-04-11
[2025-04-12 05:53:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:53:03] Production.INFO: Date 2025-04-12
[2025-04-12 05:53:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:53:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 05:53:03] Production.INFO: Total Charge 0
[2025-04-12 05:53:03] Production.INFO: count ==12
[2025-04-12 05:53:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 05:53:03] Production.INFO: count ==23
[2025-04-12 05:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889545') start
[2025-04-12 05:53:03] Production.INFO: CreateAllLog End
[2025-04-12 05:53:03] Production.ERROR: done
[2025-04-12 05:53:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 05:53:03] Production.INFO: ==27438== Releasing lock...
[2025-04-12 05:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 05:53:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 05:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889545') end
[2025-04-12 05:53:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 05:53:03] Production.INFO: 1
[2025-04-12 05:53:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 05:53:03] Production.INFO: Account Balance End.
[2025-04-12 05:53:03] Production.INFO: ==27446== Releasing lock...
[2025-04-12 05:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 05:53:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 05:53:03] Production.ERROR: CronJobId end 12
[2025-04-12 05:53:03] Production.INFO: ==27442== Releasing lock...
[2025-04-12 05:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 05:53:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 05:53:03] Production.ERROR: done
[2025-04-12 05:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 02:53:05
[end_date_ymd] => 2025-04-12 05:53:05
[RateCDR] => 1
)
[2025-04-12 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-12 02:53:05' and `end` < '2025-04-12 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-12 05:53:12] Production.ERROR: CronJobId end10
[2025-04-12 05:53:12] Production.INFO: ==27440== Releasing lock...
[2025-04-12 05:53:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 05:53:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 05:53:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 05:53:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 05:53:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 05:53:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 05:53:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 05:53:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 05:53:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 05:53:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 05:53:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 05:53:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 05:53:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 05:53:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 05:53:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 05:53:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 05:53:14] Production.INFO: call_cost start
[2025-04-12 05:53:14] Production.INFO: call_cost end
[2025-04-12 05:53:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 05:53:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 05:53:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 05:53:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 05:53:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 05:53:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 05:53:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 05:53:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 05:53:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 05:53:15] Production.INFO: ==27436== Releasing lock...
[2025-04-12 05:53:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 05:53:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 05:53:17] Production.INFO: count ==141
[2025-04-12 05:53:17] Production.ERROR: pbx CDR StartTime 2025-04-12 02:53:05 - End Time 2025-04-12 05:53:05
[2025-04-12 05:53:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 05:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889546', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889546', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889546', 'tblTempVendorCDR_20' ) start
[2025-04-12 05:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889546', 'tblTempVendorCDR_20' ) end
[2025-04-12 05:53:17] Production.INFO: ProcessCDR(1,14889546,1,1,2)
[2025-04-12 05:53:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889546,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:53:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889546,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:53:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889546,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:53:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889546,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889546', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889546', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:53:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 05:53:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 05:53:21] Production.INFO: ==27444== Releasing lock...
[2025-04-12 05:53:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 05:53:21] Production.INFO: 29 MB #Memory Used#
[2025-04-12 10:54:01] Production.INFO: ==27500== Lock acquired, processing the job...
[2025-04-12 10:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 10:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 10:54:01] Production.INFO: neon service started
[2025-04-12 10:54:01] Production.INFO: neon service started
[2025-04-12 10:54:01] Production.INFO: ==27500== Releasing lock...
[2025-04-12 10:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 10:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 09:54:02] Production.INFO: ==27504== Lock acquired, processing the job...
[2025-04-12 09:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 09:54:02] Production.INFO: ==27504== Releasing lock...
[2025-04-12 09:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 09:54:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 05:54:02] Production.INFO: ==27502== Lock acquired, processing the job...
[2025-04-12 05:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 05:54:02] Production.INFO: ==27502== Releasing lock...
[2025-04-12 05:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 05:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 05:54:03] Production.INFO: ==27511== Lock acquired, processing the job...
[2025-04-12 05:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 05:54:03] Production.INFO: ==27507== Lock acquired, processing the job...
[2025-04-12 05:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 05:54:03] Production.INFO: ==27517== Lock acquired, processing the job...
[2025-04-12 05:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 05:54:03] Production.INFO: ==27509== Lock acquired, processing the job...
[2025-04-12 05:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 05:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 05:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 05:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 05:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 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-12 05:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 05:54:03] Production.INFO: count ==12
[2025-04-12 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-12 05:54:03] Production.INFO: count ==23
[2025-04-12 05:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889547') start
[2025-04-12 05:54:03] Production.INFO: ==27513== Lock acquired, processing the job...
[2025-04-12 05:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 05:54:03] Production.INFO: ==27515== Lock acquired, processing the job...
[2025-04-12 05:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 05:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889547') end
[2025-04-12 05:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 05:54:04] Production.INFO: 1
[2025-04-12 05:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 05:54:04] Production.INFO: Account Balance Start.
[2025-04-12 05:54:04] Production.INFO: CreateAllLog Start
[2025-04-12 05:54:04] Production.INFO: 117
[2025-04-12 05:54:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 05:54:04] Production.INFO: Date 2025-04-08
[2025-04-12 05:54:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:54:04] Production.INFO: ==27517== Releasing lock...
[2025-04-12 05:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 05:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 05:54:04] Production.INFO: Date 2025-04-09
[2025-04-12 05:54:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:54:04] Production.INFO: Date 2025-04-10
[2025-04-12 05:54:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:54:04] Production.INFO: Date 2025-04-11
[2025-04-12 05:54:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:54:04] Production.INFO: Date 2025-04-12
[2025-04-12 05:54:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:54:04] Production.INFO: Total Charge 0
[2025-04-12 05:54:04] Production.INFO: CreateAllLog End
[2025-04-12 05:54:04] Production.INFO: ==27509== Releasing lock...
[2025-04-12 05:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 05:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 05:54:04] Production.ERROR: done
[2025-04-12 05:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 05:54:04] Production.ERROR: done
[2025-04-12 05:54:04] Production.INFO: Account Balance End.
[2025-04-12 05:54:04] Production.ERROR: CronJobId end 12
[2025-04-12 05:54:04] Production.INFO: ==27513== Releasing lock...
[2025-04-12 05:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 05:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 05:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 02:54:05
[end_date_ymd] => 2025-04-12 05:54:05
[RateCDR] => 1
)
[2025-04-12 05:54:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 02:54:05' and `end` < '2025-04-12 05:54:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 05:54:12] Production.ERROR: CronJobId end10
[2025-04-12 05:54:12] Production.INFO: ==27511== Releasing lock...
[2025-04-12 05:54:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 05:54:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 05:54:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 05:54:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 05:54:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 05:54:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 05:54:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 05:54:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 05:54:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 05:54:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 05:54:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 05:54:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 05:54:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 05:54:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 05:54:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 05:54:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 05:54:14] Production.INFO: call_cost start
[2025-04-12 05:54:14] Production.INFO: call_cost end
[2025-04-12 05:54:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 05:54:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 05:54:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 05:54:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 05:54:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 05:54:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 05:54:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 05:54:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 05:54:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 05:54:15] Production.INFO: ==27507== Releasing lock...
[2025-04-12 05:54:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 05:54:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 05:54:18] Production.INFO: count ==139
[2025-04-12 05:54:18] Production.ERROR: pbx CDR StartTime 2025-04-12 02:54:05 - End Time 2025-04-12 05:54:05
[2025-04-12 05:54:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 05:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889551', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889551', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889551', 'tblTempVendorCDR_20' ) start
[2025-04-12 05:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889551', 'tblTempVendorCDR_20' ) end
[2025-04-12 05:54:18] Production.INFO: ProcessCDR(1,14889551,1,1,2)
[2025-04-12 05:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889551,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:54:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889551,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:54:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889551,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:54:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889551,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889551', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889551', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:54:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 05:54:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 05:54:22] Production.INFO: ==27515== Releasing lock...
[2025-04-12 05:54:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 05:54:22] Production.INFO: 29 MB #Memory Used#
[2025-04-12 10:55:01] Production.INFO: ==27569== Lock acquired, processing the job...
[2025-04-12 10:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 10:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 10:55:01] Production.INFO: neon service started
[2025-04-12 10:55:01] Production.INFO: neon service started
[2025-04-12 10:55:01] Production.INFO: ==27569== Releasing lock...
[2025-04-12 10:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 10:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 09:55:01] Production.INFO: ==27573== Lock acquired, processing the job...
[2025-04-12 09:55:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 09:55:01] Production.INFO: ==27573== Releasing lock...
[2025-04-12 09:55:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 09:55:01] Production.INFO: 25 MB #Memory Used#
[2025-04-12 05:55:01] Production.INFO: ==27571== Lock acquired, processing the job...
[2025-04-12 05:55:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 05:55:02] Production.INFO: ==27571== Releasing lock...
[2025-04-12 05:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 05:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 05:55:03] Production.INFO: ==27576== Lock acquired, processing the job...
[2025-04-12 05:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 05:55:03] Production.INFO: ==27578== Lock acquired, processing the job...
[2025-04-12 05:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 05:55:03] Production.INFO: ==27582== Lock acquired, processing the job...
[2025-04-12 05:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 05:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 05:55:03] Production.INFO: Account Balance Start.
[2025-04-12 05:55:03] Production.INFO: CreateAllLog Start
[2025-04-12 05:55:03] Production.INFO: 117
[2025-04-12 05:55:03] Production.INFO: Date 2025-04-08
[2025-04-12 05:55:03] Production.INFO: ==27580== Lock acquired, processing the job...
[2025-04-12 05:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 05:55:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:55:03] Production.INFO: Date 2025-04-09
[2025-04-12 05:55:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:55:03] Production.INFO: ==27578== Releasing lock...
[2025-04-12 05:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 05:55:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 05:55:03] Production.INFO: Date 2025-04-10
[2025-04-12 05:55:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:55:03] Production.INFO: ==27584== Lock acquired, processing the job...
[2025-04-12 05:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 05:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 05:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 05:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 05:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 05:55:03] Production.INFO: ==27586== Lock acquired, processing the job...
[2025-04-12 05:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 05:55:03] Production.INFO: Date 2025-04-11
[2025-04-12 05:55:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 05:55:03] Production.INFO: Date 2025-04-12
[2025-04-12 05:55:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:55:03] Production.INFO: Total Charge 0
[2025-04-12 05:55:03] Production.INFO: CreateAllLog End
[2025-04-12 05:55:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 05:55:03] Production.INFO: count ==12
[2025-04-12 05:55:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 05:55:03] Production.INFO: count ==23
[2025-04-12 05:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889555') start
[2025-04-12 05:55:04] Production.ERROR: done
[2025-04-12 05:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889555') end
[2025-04-12 05:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 05:55:04] Production.INFO: 1
[2025-04-12 05:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 05:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 05:55:04] Production.INFO: ==27586== Releasing lock...
[2025-04-12 05:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 05:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 05:55:04] Production.ERROR: done
[2025-04-12 05:55:04] Production.INFO: Account Balance End.
[2025-04-12 05:55:04] Production.ERROR: CronJobId end 12
[2025-04-12 05:55:04] Production.INFO: ==27582== Releasing lock...
[2025-04-12 05:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 05:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 05:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 02:55:05
[end_date_ymd] => 2025-04-12 05:55:05
[RateCDR] => 1
)
[2025-04-12 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-12 02:55:05' and `end` < '2025-04-12 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-12 05:55:11] Production.ERROR: CronJobId end10
[2025-04-12 05:55:11] Production.INFO: ==27580== Releasing lock...
[2025-04-12 05:55:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 05:55:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 05:55:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 05:55:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 05:55:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 05:55:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 05:55:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 05:55:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 05:55:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 05:55:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 05:55:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 05:55:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 05:55:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 05:55:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 05:55:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 05:55:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 05:55:14] Production.INFO: call_cost start
[2025-04-12 05:55:14] Production.INFO: call_cost end
[2025-04-12 05:55:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 05:55:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 05:55:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 05:55:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 05:55:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 05:55:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 05:55:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 05:55:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 05:55:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 05:55:15] Production.INFO: ==27576== Releasing lock...
[2025-04-12 05:55:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 05:55:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 05:55:18] Production.INFO: count ==139
[2025-04-12 05:55:18] Production.ERROR: pbx CDR StartTime 2025-04-12 02:55:05 - End Time 2025-04-12 05:55:05
[2025-04-12 05:55:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 05:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889556', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889556', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889556', 'tblTempVendorCDR_20' ) start
[2025-04-12 05:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889556', 'tblTempVendorCDR_20' ) end
[2025-04-12 05:55:18] Production.INFO: ProcessCDR(1,14889556,1,1,2)
[2025-04-12 05:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889556,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:55:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889556,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:55:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889556,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:55:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889556,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889556', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889556', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:55:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 05:55:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 05:55:21] Production.INFO: ==27584== Releasing lock...
[2025-04-12 05:55:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 05:55:21] Production.INFO: 29 MB #Memory Used#
[2025-04-12 10:56:01] Production.INFO: ==27643== Lock acquired, processing the job...
[2025-04-12 10:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 10:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 10:56:01] Production.INFO: neon service started
[2025-04-12 10:56:01] Production.INFO: neon service started
[2025-04-12 10:56:01] Production.INFO: ==27643== Releasing lock...
[2025-04-12 10:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 10:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 09:56:02] Production.INFO: ==27647== Lock acquired, processing the job...
[2025-04-12 09:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 09:56:02] Production.INFO: ==27647== Releasing lock...
[2025-04-12 09:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 09:56:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 05:56:02] Production.INFO: ==27645== Lock acquired, processing the job...
[2025-04-12 05:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 05:56:03] Production.INFO: ==27645== Releasing lock...
[2025-04-12 05:56:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 05:56:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 05:56:03] Production.INFO: ==27650== Lock acquired, processing the job...
[2025-04-12 05:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 05:56:03] Production.INFO: ==27654== Lock acquired, processing the job...
[2025-04-12 05:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 05:56:03] Production.INFO: ==27652== Lock acquired, processing the job...
[2025-04-12 05:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 05:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 05:56:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 05:56:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 05:56:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 05:56:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 05:56:04] Production.INFO: ==27658== Lock acquired, processing the job...
[2025-04-12 05:56:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 05:56:04] Production.INFO: ==27656== Lock acquired, processing the job...
[2025-04-12 05:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 05:56:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 05:56:04] Production.INFO: Account Balance Start.
[2025-04-12 05:56:04] Production.INFO: CreateAllLog Start
[2025-04-12 05:56:04] Production.INFO: 117
[2025-04-12 05:56:04] Production.INFO: Date 2025-04-08
[2025-04-12 05:56:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:56:04] Production.INFO: Date 2025-04-09
[2025-04-12 05:56:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:56:04] Production.INFO: ==27660== Lock acquired, processing the job...
[2025-04-12 05:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 05:56:04] Production.INFO: Date 2025-04-10
[2025-04-12 05:56:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:56:04] Production.INFO: ==27652== Releasing lock...
[2025-04-12 05:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 05:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 05:56:04] Production.INFO: Date 2025-04-11
[2025-04-12 05:56:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:56:04] Production.INFO: Date 2025-04-12
[2025-04-12 05:56:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:56:04] Production.ERROR: done
[2025-04-12 05:56:04] Production.INFO: Total Charge 0
[2025-04-12 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-12 05:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 05:56:04] Production.INFO: CreateAllLog End
[2025-04-12 05:56:04] Production.INFO: count ==12
[2025-04-12 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-12 05:56:04] Production.INFO: count ==23
[2025-04-12 05:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889560') start
[2025-04-12 05:56:04] Production.ERROR: done
[2025-04-12 05:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889560') end
[2025-04-12 05:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 05:56:04] Production.INFO: 1
[2025-04-12 05:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 05:56:04] Production.INFO: ==27660== Releasing lock...
[2025-04-12 05:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 05:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 05:56:04] Production.INFO: Account Balance End.
[2025-04-12 05:56:05] Production.ERROR: CronJobId end 12
[2025-04-12 05:56:05] Production.INFO: ==27656== Releasing lock...
[2025-04-12 05:56:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 05:56:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 05:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 02:56:05
[end_date_ymd] => 2025-04-12 05:56:05
[RateCDR] => 1
)
[2025-04-12 05:56:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 02:56:05' and `end` < '2025-04-12 05:56:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 05:56:12] Production.ERROR: CronJobId end10
[2025-04-12 05:56:12] Production.INFO: ==27654== Releasing lock...
[2025-04-12 05:56:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 05:56:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 05:56:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 05:56:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 05:56:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 05:56:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 05:56:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 05:56:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 05:56:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 05:56:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 05:56:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 05:56:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 05:56:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 05:56:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 05:56:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 05:56:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 05:56:15] Production.INFO: call_cost start
[2025-04-12 05:56:15] Production.INFO: call_cost end
[2025-04-12 05:56:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 05:56:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 05:56:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 05:56:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 05:56:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 05:56:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 05:56:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 05:56:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 05:56:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 05:56:16] Production.INFO: ==27650== Releasing lock...
[2025-04-12 05:56:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 05:56:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 05:56:18] Production.INFO: count ==139
[2025-04-12 05:56:18] Production.ERROR: pbx CDR StartTime 2025-04-12 02:56:05 - End Time 2025-04-12 05:56:05
[2025-04-12 05:56:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 05:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889561', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889561', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889561', 'tblTempVendorCDR_20' ) start
[2025-04-12 05:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889561', 'tblTempVendorCDR_20' ) end
[2025-04-12 05:56:18] Production.INFO: ProcessCDR(1,14889561,1,1,2)
[2025-04-12 05:56:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889561,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:56:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889561,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:56:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889561,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:56:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889561,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889561', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889561', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:56:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 05:56:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 05:56:21] Production.INFO: ==27658== Releasing lock...
[2025-04-12 05:56:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 05:56:21] Production.INFO: 29 MB #Memory Used#
[2025-04-12 10:57:01] Production.INFO: ==27738== Lock acquired, processing the job...
[2025-04-12 10:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 10:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 10:57:01] Production.INFO: neon service started
[2025-04-12 10:57:01] Production.INFO: neon service started
[2025-04-12 10:57:01] Production.INFO: ==27738== Releasing lock...
[2025-04-12 10:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 10:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 09:57:01] Production.INFO: ==27742== Lock acquired, processing the job...
[2025-04-12 09:57:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 09:57:01] Production.INFO: ==27742== Releasing lock...
[2025-04-12 09:57:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 09:57:01] Production.INFO: 25 MB #Memory Used#
[2025-04-12 05:57:01] Production.INFO: ==27740== Lock acquired, processing the job...
[2025-04-12 05:57:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 05:57:02] Production.INFO: ==27740== Releasing lock...
[2025-04-12 05:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 05:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 05:57:03] Production.INFO: ==27753== Lock acquired, processing the job...
[2025-04-12 05:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 05:57:03] Production.INFO: ==27755== Lock acquired, processing the job...
[2025-04-12 05:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 05:57:03] Production.INFO: ==27745== Lock acquired, processing the job...
[2025-04-12 05:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 05:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 05:57:03] Production.INFO: ==27747== Lock acquired, processing the job...
[2025-04-12 05:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 05:57:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 05:57:03] Production.INFO: ==27749== Lock acquired, processing the job...
[2025-04-12 05:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 05:57:03] Production.INFO: ==27751== Lock acquired, processing the job...
[2025-04-12 05:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 05:57:03] Production.INFO: count ==12
[2025-04-12 05:57:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 05:57:03] Production.INFO: count ==23
[2025-04-12 05:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 05:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 05:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 05:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 05:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889562') start
[2025-04-12 05:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 05:57:03] Production.INFO: Account Balance Start.
[2025-04-12 05:57:03] Production.INFO: CreateAllLog Start
[2025-04-12 05:57:03] Production.INFO: 117
[2025-04-12 05:57:03] Production.INFO: Date 2025-04-08
[2025-04-12 05:57:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:57:03] Production.ERROR: done
[2025-04-12 05:57:03] Production.INFO: Date 2025-04-09
[2025-04-12 05:57:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:57:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 05:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889562') end
[2025-04-12 05:57:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 05:57:03] Production.INFO: 1
[2025-04-12 05:57:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 05:57:03] Production.INFO: Date 2025-04-10
[2025-04-12 05:57:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:57:03] Production.INFO: Date 2025-04-11
[2025-04-12 05:57:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:57:03] Production.INFO: Date 2025-04-12
[2025-04-12 05:57:03] Production.INFO: Reseller ==> 0
[2025-04-12 05:57:03] Production.INFO: Total Charge 0
[2025-04-12 05:57:03] Production.INFO: CreateAllLog End
[2025-04-12 05:57:03] Production.INFO: ==27755== Releasing lock...
[2025-04-12 05:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 05:57:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 05:57:03] Production.INFO: ==27747== Releasing lock...
[2025-04-12 05:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 05:57:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 05:57:03] Production.ERROR: done
[2025-04-12 05:57:04] Production.INFO: Account Balance End.
[2025-04-12 05:57:04] Production.ERROR: CronJobId end 12
[2025-04-12 05:57:04] Production.INFO: ==27751== Releasing lock...
[2025-04-12 05:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 05:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 05:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 02:57:05
[end_date_ymd] => 2025-04-12 05:57:05
[RateCDR] => 1
)
[2025-04-12 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-12 02:57:05' and `end` < '2025-04-12 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-12 05:57:11] Production.ERROR: CronJobId end10
[2025-04-12 05:57:11] Production.INFO: ==27749== Releasing lock...
[2025-04-12 05:57:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 05:57:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 05:57:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 05:57:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 05:57:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 05:57:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 05:57:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 05:57:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 05:57:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 05:57:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 05:57:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 05:57:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 05:57:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 05:57:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 05:57:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 05:57:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 05:57:14] Production.INFO: call_cost start
[2025-04-12 05:57:14] Production.INFO: call_cost end
[2025-04-12 05:57:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 05:57:14] Production.INFO: ============== Report Schedule START===========
[2025-04-12 05:57:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 05:57:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 05:57:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 05:57:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 05:57:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 05:57:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 05:57:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 05:57:15] Production.INFO: ==27745== Releasing lock...
[2025-04-12 05:57:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 05:57:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 05:57:17] Production.INFO: count ==140
[2025-04-12 05:57:17] Production.ERROR: pbx CDR StartTime 2025-04-12 02:57:05 - End Time 2025-04-12 05:57:05
[2025-04-12 05:57:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 05:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889566', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889566', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889566', 'tblTempVendorCDR_20' ) start
[2025-04-12 05:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889566', 'tblTempVendorCDR_20' ) end
[2025-04-12 05:57:17] Production.INFO: ProcessCDR(1,14889566,1,1,2)
[2025-04-12 05:57:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889566,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:57:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889566,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:57:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889566,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:57:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889566,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:57:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889566', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:57:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889566', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:57:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 05:57:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 05:57:23] Production.INFO: ==27753== Releasing lock...
[2025-04-12 05:57:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 05:57:23] Production.INFO: 29 MB #Memory Used#
[2025-04-12 10:58:01] Production.INFO: ==27811== Lock acquired, processing the job...
[2025-04-12 10:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 10:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 10:58:01] Production.INFO: neon service started
[2025-04-12 10:58:01] Production.INFO: neon service started
[2025-04-12 10:58:01] Production.INFO: ==27811== Releasing lock...
[2025-04-12 10:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 10:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 05:58:02] Production.INFO: ==27813== Lock acquired, processing the job...
[2025-04-12 05:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 09:58:02] Production.INFO: ==27815== Lock acquired, processing the job...
[2025-04-12 09:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 09:58:02] Production.INFO: ==27815== Releasing lock...
[2025-04-12 09:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 09:58:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 05:58:02] Production.INFO: ==27813== Releasing lock...
[2025-04-12 05:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 05:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 05:58:03] Production.INFO: ==27818== Lock acquired, processing the job...
[2025-04-12 05:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 05:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 05:58:03] Production.INFO: ==27828== Lock acquired, processing the job...
[2025-04-12 05:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 05:58:04] Production.INFO: ==27820== Lock acquired, processing the job...
[2025-04-12 05:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 05:58:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 05:58:04] Production.INFO: count ==12
[2025-04-12 05:58:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 05:58:04] Production.INFO: count ==23
[2025-04-12 05:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889568') start
[2025-04-12 05:58:04] Production.INFO: ==27822== Lock acquired, processing the job...
[2025-04-12 05:58:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 05:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889568') end
[2025-04-12 05:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 05:58:04] Production.INFO: 1
[2025-04-12 05:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 05:58:04] Production.INFO: ==27828== Releasing lock...
[2025-04-12 05:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 05:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 05:58:04] Production.INFO: ==27826== Lock acquired, processing the job...
[2025-04-12 05:58:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 05:58:04] Production.INFO: ==27824== Lock acquired, processing the job...
[2025-04-12 05:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 05:58:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 05:58:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 05:58:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 05:58:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 05:58:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 05:58:04] Production.INFO: Account Balance Start.
[2025-04-12 05:58:04] Production.INFO: CreateAllLog Start
[2025-04-12 05:58:04] Production.INFO: 117
[2025-04-12 05:58:04] Production.INFO: Date 2025-04-08
[2025-04-12 05:58:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:58:04] Production.INFO: ==27820== Releasing lock...
[2025-04-12 05:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 05:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 05:58:04] Production.INFO: Date 2025-04-09
[2025-04-12 05:58:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:58:04] Production.INFO: Date 2025-04-10
[2025-04-12 05:58:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:58:04] Production.INFO: Date 2025-04-11
[2025-04-12 05:58:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:58:04] Production.INFO: Date 2025-04-12
[2025-04-12 05:58:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:58:04] Production.ERROR: done
[2025-04-12 05:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 05:58:04] Production.INFO: Total Charge 0
[2025-04-12 05:58:04] Production.INFO: CreateAllLog End
[2025-04-12 05:58:04] Production.ERROR: done
[2025-04-12 05:58:04] Production.INFO: Account Balance End.
[2025-04-12 05:58:04] Production.ERROR: CronJobId end 12
[2025-04-12 05:58:04] Production.INFO: ==27824== Releasing lock...
[2025-04-12 05:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 05:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 05:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 02:58:05
[end_date_ymd] => 2025-04-12 05:58:05
[RateCDR] => 1
)
[2025-04-12 05:58:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 02:58:05' and `end` < '2025-04-12 05:58:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 05:58: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-12 05:58:11] Production.ERROR: CronJobId end10
[2025-04-12 05:58:11] Production.INFO: ==27822== Releasing lock...
[2025-04-12 05:58:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 05:58:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 05:58:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 05:58:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 05:58:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 05:58:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 05:58:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 05:58:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 05:58:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 05:58:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 05:58:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 05:58:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 05:58:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 05:58:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 05:58:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 05:58:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 05:58:14] Production.INFO: call_cost start
[2025-04-12 05:58:14] Production.INFO: call_cost end
[2025-04-12 05:58:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 05:58:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 05:58:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 05:58:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 05:58:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 05:58:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 05:58:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 05:58:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 05:58:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 05:58:15] Production.INFO: ==27818== Releasing lock...
[2025-04-12 05:58:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 05:58:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 05:58:18] Production.INFO: count ==136
[2025-04-12 05:58:18] Production.ERROR: pbx CDR StartTime 2025-04-12 02:58:05 - End Time 2025-04-12 05:58:05
[2025-04-12 05:58:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 05:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889571', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889571', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889571', 'tblTempVendorCDR_20' ) start
[2025-04-12 05:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889571', 'tblTempVendorCDR_20' ) end
[2025-04-12 05:58:18] Production.INFO: ProcessCDR(1,14889571,1,1,2)
[2025-04-12 05:58:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889571,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:58:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889571,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:58:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889571,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:58:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889571,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889571', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889571', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:58:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 05:58:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 05:58:22] Production.INFO: ==27826== Releasing lock...
[2025-04-12 05:58:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 05:58:22] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 10:59:02] Production.INFO: ==27882== Lock acquired, processing the job...
[2025-04-12 10:59:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 10:59:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 10:59:02] Production.INFO: neon service started
[2025-04-12 10:59:02] Production.INFO: neon service started
[2025-04-12 10:59:02] Production.INFO: ==27882== Releasing lock...
[2025-04-12 10:59:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 10:59:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 05:59:02] Production.INFO: ==27884== Lock acquired, processing the job...
[2025-04-12 05:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 05:59:03] Production.INFO: ==27884== Releasing lock...
[2025-04-12 05:59:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 05:59:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 09:59:03] Production.INFO: ==27886== Lock acquired, processing the job...
[2025-04-12 09:59:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 09:59:03] Production.INFO: ==27886== Releasing lock...
[2025-04-12 09:59:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 09:59:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 05:59:04] Production.INFO: ==27890== Lock acquired, processing the job...
[2025-04-12 05:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 05:59:04] Production.INFO: ==27894== Lock acquired, processing the job...
[2025-04-12 05:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 05:59:04] Production.INFO: ==27888== Lock acquired, processing the job...
[2025-04-12 05:59:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 05:59:04] Production.INFO: Account Balance Start.
[2025-04-12 05:59:04] Production.INFO: CreateAllLog Start
[2025-04-12 05:59:04] Production.INFO: 117
[2025-04-12 05:59:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 05:59:04] Production.INFO: Date 2025-04-08
[2025-04-12 05:59:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:59:04] Production.INFO: ==27892== Lock acquired, processing the job...
[2025-04-12 05:59:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 05:59:04] Production.INFO: Date 2025-04-09
[2025-04-12 05:59:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:59:04] Production.INFO: Date 2025-04-10
[2025-04-12 05:59:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:59:04] Production.INFO: ==27890== Releasing lock...
[2025-04-12 05:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 05:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 05:59:04] Production.INFO: Date 2025-04-11
[2025-04-12 05:59:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:59:04] Production.INFO: ==27896== Lock acquired, processing the job...
[2025-04-12 05:59:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 05:59:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 05:59:04] Production.INFO: Date 2025-04-12
[2025-04-12 05:59:04] Production.INFO: Reseller ==> 0
[2025-04-12 05:59:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 05:59:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 05:59:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 05:59:04] Production.INFO: Total Charge 0
[2025-04-12 05:59:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 05:59:04] Production.INFO: ==27899== Lock acquired, processing the job...
[2025-04-12 05:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 05:59:04] Production.INFO: CreateAllLog End
[2025-04-12 05:59:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 05:59:04] Production.INFO: count ==12
[2025-04-12 05:59:04] Production.INFO: Account Balance End.
[2025-04-12 05:59:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 05:59:04] Production.ERROR: done
[2025-04-12 05:59:04] Production.INFO: count ==23
[2025-04-12 05:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 05:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889575') start
[2025-04-12 05:59:04] Production.ERROR: CronJobId end 12
[2025-04-12 05:59:04] Production.INFO: ==27894== Releasing lock...
[2025-04-12 05:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 05:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 05:59:05] Production.ERROR: done
[2025-04-12 05:59:05] Production.ERROR: PBX CALL prc_importPBXExtension('14889575') end
[2025-04-12 05:59:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 05:59:05] Production.INFO: 1
[2025-04-12 05:59:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 05:59:05] Production.INFO: ==27899== Releasing lock...
[2025-04-12 05:59:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 05:59:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 05:59:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 02:59:06
[end_date_ymd] => 2025-04-12 05:59:06
[RateCDR] => 1
)
[2025-04-12 05: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-12 02:59:06' and `end` < '2025-04-12 05: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-12 05:59:12] Production.ERROR: CronJobId end10
[2025-04-12 05:59:12] Production.INFO: ==27892== Releasing lock...
[2025-04-12 05:59:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 05:59:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 05:59:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 05:59:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 05:59:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 05:59:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 05:59:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 05:59:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 05:59:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 05:59:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 05:59:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 05:59:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 05:59:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 05:59:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 05:59:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 05:59:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 05:59:15] Production.INFO: call_cost start
[2025-04-12 05:59:15] Production.INFO: call_cost end
[2025-04-12 05:59:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 05:59:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 05:59:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 05:59:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 05:59:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 05:59:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 05:59:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 05:59:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 05:59:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 05:59:16] Production.INFO: ==27888== Releasing lock...
[2025-04-12 05:59:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 05:59:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 05:59:18] Production.INFO: count ==136
[2025-04-12 05:59:19] Production.ERROR: pbx CDR StartTime 2025-04-12 02:59:06 - End Time 2025-04-12 05:59:06
[2025-04-12 05:59:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 05:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889576', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889576', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889576', 'tblTempVendorCDR_20' ) start
[2025-04-12 05:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889576', 'tblTempVendorCDR_20' ) end
[2025-04-12 05:59:19] Production.INFO: ProcessCDR(1,14889576,1,1,2)
[2025-04-12 05:59:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889576,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:59:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889576,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 05:59:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889576,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:59:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889576,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 05:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889576', 'tblTempUsageDetail_20' ) start
[2025-04-12 05:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889576', 'tblTempUsageDetail_20' ) end
[2025-04-12 05:59:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 05:59:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 05:59:22] Production.INFO: ==27896== Releasing lock...
[2025-04-12 05:59:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 05:59:22] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 11:00:01] Production.INFO: ==27951== Lock acquired, processing the job...
[2025-04-12 11:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 11:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 11:00:01] Production.INFO: neon service started
[2025-04-12 11:00:01] Production.INFO: neon service started
[2025-04-12 11:00:01] Production.INFO: ==27951== Releasing lock...
[2025-04-12 11:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 11:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 06:00:02] Production.INFO: ==27953== Lock acquired, processing the job...
[2025-04-12 06:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 06:00:02] Production.INFO: ==27953== Releasing lock...
[2025-04-12 06:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 06:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 10:00:02] Production.INFO: ==27955== Lock acquired, processing the job...
[2025-04-12 10:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 10:00:02] Production.INFO: ==27955== Releasing lock...
[2025-04-12 10:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 10:00:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 06:00:03] Production.INFO: ==27968== Lock acquired, processing the job...
[2025-04-12 06:00:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 06:00:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 06:00:03] Production.INFO: ==27972== Lock acquired, processing the job...
[2025-04-12 06:00:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 06:00:03] Production.INFO: ==27958== Lock acquired, processing the job...
[2025-04-12 06:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 06:00:03] Production.INFO: ==27960== Lock acquired, processing the job...
[2025-04-12 06:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 06:00:03] Production.INFO: ==27970== Lock acquired, processing the job...
[2025-04-12 06:00:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 06:00:03] Production.INFO: ==27962== Lock acquired, processing the job...
[2025-04-12 06:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 06:00:04] Production.INFO: ==27964== Lock acquired, processing the job...
[2025-04-12 06:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 06:00:04] Production.INFO: ==27966== Lock acquired, processing the job...
[2025-04-12 06:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 06:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 06:00:04] Production.INFO: count ==12
[2025-04-12 06:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 06:00:04] Production.INFO: count ==23
[2025-04-12 06:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 06:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 06:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 06:00:04] Production.ERROR: CronJob PID - 27960
[2025-04-12 06:00:04] Production.ERROR: CronJob Title - System Alerts
[2025-04-12 06:00:04] Production.ERROR: CronJob ID - 5
[2025-04-12 06:00:04] Production.ERROR: CronJob Last Run Time 2025-04-12 06:00:00
[2025-04-12 06:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 06:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 06:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 06:00:04] Production.ERROR: CronJob PID - 27962
[2025-04-12 06:00:04] Production.ERROR: CronJob Title - Account Block
[2025-04-12 06:00:04] Production.ERROR: CronJob ID - 7
[2025-04-12 06:00:04] Production.ERROR: CronJob Last Run Time 2025-04-12 06:00:00
[2025-04-12 06:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 06:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 06:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 06:00:04] Production.ERROR: CronJob PID - 27964
[2025-04-12 06:00:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-04-12 06:00:04] Production.ERROR: CronJob ID - 10
[2025-04-12 06:00:04] Production.ERROR: CronJob Last Run Time 2025-04-12 06:00:00
[2025-04-12 06:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 06:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 06:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 06:00:04] Production.ERROR: CronJob PID - 27966
[2025-04-12 06:00:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-04-12 06:00:04] Production.ERROR: CronJob ID - 12
[2025-04-12 06:00:04] Production.ERROR: CronJob Last Run Time 2025-04-12 06:00:00
[2025-04-12 06:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 06:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 06:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 06:00:04] Production.ERROR: CronJob PID - 27968
[2025-04-12 06:00:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-04-12 06:00:04] Production.ERROR: CronJob ID - 16
[2025-04-12 06:00:04] Production.ERROR: CronJob Last Run Time 2025-04-12 06:00:00
[2025-04-12 06:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 06:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 06:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 06:00:04] Production.ERROR: CronJob PID - 27970
[2025-04-12 06:00:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-04-12 06:00:04] Production.ERROR: CronJob ID - 17
[2025-04-12 06:00:04] Production.ERROR: CronJob Last Run Time 2025-04-12 06:00:00
[2025-04-12 06:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 06:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 06:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 06:00:04] Production.ERROR: CronJob PID - 27972
[2025-04-12 06:00:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-04-12 06:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889577') start
[2025-04-12 06:00:04] Production.ERROR: CronJob ID - 19
[2025-04-12 06:00:04] Production.ERROR: CronJob Last Run Time 2025-04-12 06:00:00
[2025-04-12 06:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 06:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 06:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 06:00:04] Production.INFO: Account Balance Start.
[2025-04-12 06:00:04] Production.INFO: CreateAllLog Start
[2025-04-12 06:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 06:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 06:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 06:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 06:00:04] Production.INFO: 117
[2025-04-12 06:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 06:00:04] Production.INFO: ==27958== Releasing lock...
[2025-04-12 06:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 06:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 06:00:04] Production.INFO: Date 2025-04-08
[2025-04-12 06:00:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889577') end
[2025-04-12 06:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 06:00:04] Production.INFO: 1
[2025-04-12 06:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 06:00:04] Production.INFO: Date 2025-04-09
[2025-04-12 06:00:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:00:04] Production.INFO: ==27972== Releasing lock...
[2025-04-12 06:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 06:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 06:00:04] Production.ERROR: done
[2025-04-12 06:00:04] Production.INFO: Date 2025-04-10
[2025-04-12 06:00:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 06:00:04] Production.INFO: Date 2025-04-11
[2025-04-12 06:00:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:00:04] Production.INFO: Date 2025-04-12
[2025-04-12 06:00:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:00:04] Production.INFO: ==27962== Releasing lock...
[2025-04-12 06:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 06:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 06:00:04] Production.ERROR: done
[2025-04-12 06:00:04] Production.INFO: Total Charge 0
[2025-04-12 06:00:04] Production.INFO: CreateAllLog End
[2025-04-12 06:00:04] Production.ERROR: done
[2025-04-12 06:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 06:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14889581', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 06:00:04] Production.INFO: Account Balance End.
[2025-04-12 06:00:04] Production.ERROR: CronJobId end 12
[2025-04-12 06:00:04] Production.INFO: ==27966== Releasing lock...
[2025-04-12 06:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 06:00:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 06:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 03:00:06
[end_date_ymd] => 2025-04-12 06:00:06
[RateCDR] => 1
)
[2025-04-12 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-12 03:00:06' and `end` < '2025-04-12 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-12 06:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14889581', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 06:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 06:00:09] Production.INFO: ProcessCDR(1,14889581,1,1,2)
[2025-04-12 06:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14889581,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14889581,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 06:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 06:00:09] Production.INFO: ==27970== Releasing lock...
[2025-04-12 06:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 06:00:09] Production.INFO: 26 MB #Memory Used#
[2025-04-12 06:00:13] Production.ERROR: CronJobId end10
[2025-04-12 06:00:13] Production.INFO: ==27964== Releasing lock...
[2025-04-12 06:00:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 06:00:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 06:00:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 06:00:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 06:00:16] Production.INFO: ============== Balance Warning END===========
[2025-04-12 06:00:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 06:00:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 06:00:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 06:00:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 06:00:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 06:00:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 06:00:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 06:00:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 06:00:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 06:00:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 06:00:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 06:00:16] Production.INFO: call_cost start
[2025-04-12 06:00:16] Production.INFO: call_cost end
[2025-04-12 06:00:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 06:00:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 06:00:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 06:00:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 06:00:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 06:00:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 06:00:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 06:00:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 06:00:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 06:00:17] Production.INFO: ==27960== Releasing lock...
[2025-04-12 06:00:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 06:00:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 06:00:19] Production.INFO: count ==126
[2025-04-12 06:00:19] Production.ERROR: pbx CDR StartTime 2025-04-12 03:00:06 - End Time 2025-04-12 06:00:06
[2025-04-12 06:00:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 06:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889582', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889582', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889582', 'tblTempVendorCDR_20' ) start
[2025-04-12 06:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889582', 'tblTempVendorCDR_20' ) end
[2025-04-12 06:00:19] Production.INFO: ProcessCDR(1,14889582,1,1,2)
[2025-04-12 06:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889582,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:00:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889582,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:00:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889582,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:00:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889582,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889582', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889582', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:00:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 06:00:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 06:00:22] Production.INFO: ==27968== Releasing lock...
[2025-04-12 06:00:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 06:00:22] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 11:01:02] Production.INFO: ==28043== Lock acquired, processing the job...
[2025-04-12 11:01:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 11:01:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 11:01:02] Production.INFO: neon service started
[2025-04-12 11:01:02] Production.INFO: neon service started
[2025-04-12 11:01:02] Production.INFO: ==28043== Releasing lock...
[2025-04-12 11:01:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 11:01:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 06:01:02] Production.INFO: ==28049== Lock acquired, processing the job...
[2025-04-12 06:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 06:01:02] Production.INFO: ==28049== Releasing lock...
[2025-04-12 06:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 06:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 10:01:03] Production.INFO: ==28051== Lock acquired, processing the job...
[2025-04-12 10:01:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 10:01:03] Production.INFO: ==28051== Releasing lock...
[2025-04-12 10:01:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 10:01:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 06:01:03] Production.INFO: ==28053== Lock acquired, processing the job...
[2025-04-12 06:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 06:01:03] Production.INFO: ==28059== Lock acquired, processing the job...
[2025-04-12 06:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 06:01:03] Production.INFO: ==28055== Lock acquired, processing the job...
[2025-04-12 06:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 06:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 06:01:04] Production.INFO: ==28063== Lock acquired, processing the job...
[2025-04-12 06:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 06:01:04] Production.INFO: ==28057== Lock acquired, processing the job...
[2025-04-12 06:01:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 06:01:04] Production.INFO: ==28061== Lock acquired, processing the job...
[2025-04-12 06:01:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 06:01:04] Production.INFO: Account Balance Start.
[2025-04-12 06:01:04] Production.INFO: CreateAllLog Start
[2025-04-12 06:01:04] Production.INFO: 117
[2025-04-12 06:01:04] Production.INFO: Date 2025-04-08
[2025-04-12 06:01:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:01:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 06:01:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 06:01:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 06:01:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 06:01:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 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-12 06:01:04] Production.INFO: count ==12
[2025-04-12 06:01:04] Production.INFO: Date 2025-04-09
[2025-04-12 06:01:04] Production.INFO: Reseller ==> 0
[2025-04-12 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-12 06:01:04] Production.INFO: count ==23
[2025-04-12 06:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889586') start
[2025-04-12 06:01:04] Production.INFO: Date 2025-04-10
[2025-04-12 06:01:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:01:04] Production.INFO: ==28055== Releasing lock...
[2025-04-12 06:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 06:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 06:01:04] Production.INFO: Date 2025-04-11
[2025-04-12 06:01:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:01:04] Production.INFO: Date 2025-04-12
[2025-04-12 06:01:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889586') end
[2025-04-12 06:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 06:01:04] Production.INFO: 1
[2025-04-12 06:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 06:01:04] Production.ERROR: done
[2025-04-12 06:01:04] Production.INFO: Total Charge 0
[2025-04-12 06:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 06:01:04] Production.INFO: CreateAllLog End
[2025-04-12 06:01:04] Production.INFO: ==28063== Releasing lock...
[2025-04-12 06:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 06:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 06:01:04] Production.ERROR: done
[2025-04-12 06:01:04] Production.INFO: Account Balance End.
[2025-04-12 06:01:05] Production.ERROR: CronJobId end 12
[2025-04-12 06:01:05] Production.INFO: ==28059== Releasing lock...
[2025-04-12 06:01:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 06:01:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 06:01:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 03:01:06
[end_date_ymd] => 2025-04-12 06:01:06
[RateCDR] => 1
)
[2025-04-12 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-12 03:01:06' and `end` < '2025-04-12 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-12 06:01:12] Production.ERROR: CronJobId end10
[2025-04-12 06:01:12] Production.INFO: ==28057== Releasing lock...
[2025-04-12 06:01:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 06:01:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 06:01:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 06:01:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 06:01:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 06:01:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 06:01:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 06:01:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 06:01:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 06:01:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 06:01:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 06:01:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 06:01:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 06:01:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 06:01:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 06:01:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 06:01:15] Production.INFO: call_cost start
[2025-04-12 06:01:15] Production.INFO: call_cost end
[2025-04-12 06:01:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 06:01:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 06:01:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 06:01:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 06:01:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 06:01:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 06:01:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 06:01:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 06:01:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 06:01:16] Production.INFO: ==28053== Releasing lock...
[2025-04-12 06:01:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 06:01:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 06:01:18] Production.INFO: count ==126
[2025-04-12 06:01:18] Production.ERROR: pbx CDR StartTime 2025-04-12 03:01:06 - End Time 2025-04-12 06:01:06
[2025-04-12 06:01:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 06:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889587', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889587', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889587', 'tblTempVendorCDR_20' ) start
[2025-04-12 06:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889587', 'tblTempVendorCDR_20' ) end
[2025-04-12 06:01:18] Production.INFO: ProcessCDR(1,14889587,1,1,2)
[2025-04-12 06:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889587,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:01:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889587,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:01:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889587,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:01:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889587,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889587', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889587', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:01:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 06:01:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 06:01:22] Production.INFO: ==28061== Releasing lock...
[2025-04-12 06:01:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 06:01:22] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 11:02:01] Production.INFO: ==28119== Lock acquired, processing the job...
[2025-04-12 11:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 11:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 11:02:01] Production.INFO: neon service started
[2025-04-12 11:02:01] Production.INFO: neon service started
[2025-04-12 11:02:01] Production.INFO: ==28119== Releasing lock...
[2025-04-12 11:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 11:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 06:02:02] Production.INFO: ==28121== Lock acquired, processing the job...
[2025-04-12 06:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 06:02:02] Production.INFO: ==28121== Releasing lock...
[2025-04-12 06:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 06:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 10:02:02] Production.INFO: ==28123== Lock acquired, processing the job...
[2025-04-12 10:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 10:02:02] Production.INFO: ==28123== Releasing lock...
[2025-04-12 10:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 10:02:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 06:02:03] Production.INFO: ==28131== Lock acquired, processing the job...
[2025-04-12 06:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 06:02:03] Production.INFO: ==28135== Lock acquired, processing the job...
[2025-04-12 06:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 06:02:03] Production.INFO: ==28125== Lock acquired, processing the job...
[2025-04-12 06:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 06:02:03] Production.INFO: ==28127== Lock acquired, processing the job...
[2025-04-12 06:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 06:02:03] Production.INFO: ==28129== Lock acquired, processing the job...
[2025-04-12 06:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 06:02:03] Production.INFO: Account Balance Start.
[2025-04-12 06:02:03] Production.INFO: CreateAllLog Start
[2025-04-12 06:02:03] Production.INFO: 117
[2025-04-12 06:02:03] Production.INFO: Date 2025-04-08
[2025-04-12 06:02:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 06:02:03] Production.INFO: ==28133== Lock acquired, processing the job...
[2025-04-12 06:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 06:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 06:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 06:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 06:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 06:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 06:02:03] Production.INFO: count ==12
[2025-04-12 06:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 06:02:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:02:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 06:02:03] Production.INFO: count ==23
[2025-04-12 06:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889589') start
[2025-04-12 06:02:03] Production.INFO: Date 2025-04-09
[2025-04-12 06:02:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:02:03] Production.INFO: Date 2025-04-10
[2025-04-12 06:02:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:02:03] Production.INFO: Date 2025-04-11
[2025-04-12 06:02:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889589') end
[2025-04-12 06:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 06:02:04] Production.INFO: 1
[2025-04-12 06:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 06:02:04] Production.INFO: Date 2025-04-12
[2025-04-12 06:02:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:02:04] Production.INFO: ==28135== Releasing lock...
[2025-04-12 06:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 06:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 06:02:04] Production.INFO: Total Charge 0
[2025-04-12 06:02:04] Production.INFO: CreateAllLog End
[2025-04-12 06:02:04] Production.INFO: ==28127== Releasing lock...
[2025-04-12 06:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 06:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 06:02:04] Production.ERROR: done
[2025-04-12 06:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 06:02:04] Production.INFO: Account Balance End.
[2025-04-12 06:02:04] Production.ERROR: CronJobId end 12
[2025-04-12 06:02:04] Production.INFO: ==28131== Releasing lock...
[2025-04-12 06:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 06:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 06:02:04] Production.ERROR: done
[2025-04-12 06:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 03:02:05
[end_date_ymd] => 2025-04-12 06:02:05
[RateCDR] => 1
)
[2025-04-12 06:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 03:02:05' and `end` < '2025-04-12 06:02:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 06:02:12] Production.ERROR: CronJobId end10
[2025-04-12 06:02:12] Production.INFO: ==28129== Releasing lock...
[2025-04-12 06:02:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 06:02:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 06:02:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 06:02:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 06:02:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 06:02:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 06:02:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 06:02:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 06:02:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 06:02:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 06:02:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 06:02:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 06:02:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 06:02:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 06:02:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 06:02:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 06:02:15] Production.INFO: call_cost start
[2025-04-12 06:02:15] Production.INFO: call_cost end
[2025-04-12 06:02:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 06:02:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 06:02:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 06:02:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 06:02:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 06:02:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 06:02:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 06:02:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 06:02:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 06:02:16] Production.INFO: ==28125== Releasing lock...
[2025-04-12 06:02:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 06:02:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 06:02:18] Production.INFO: count ==125
[2025-04-12 06:02:18] Production.ERROR: pbx CDR StartTime 2025-04-12 03:02:05 - End Time 2025-04-12 06:02:05
[2025-04-12 06:02:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 06:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889592', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889592', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889592', 'tblTempVendorCDR_20' ) start
[2025-04-12 06:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889592', 'tblTempVendorCDR_20' ) end
[2025-04-12 06:02:18] Production.INFO: ProcessCDR(1,14889592,1,1,2)
[2025-04-12 06:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889592,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:02:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889592,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:02:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889592,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:02:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889592,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:02:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889592', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:02:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889592', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:02:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 06:02:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 06:02:23] Production.INFO: ==28133== Releasing lock...
[2025-04-12 06:02:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 06:02:23] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 11:03:02] Production.INFO: ==28193== Lock acquired, processing the job...
[2025-04-12 11:03:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 11:03:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 11:03:02] Production.INFO: neon service started
[2025-04-12 11:03:02] Production.INFO: neon service started
[2025-04-12 11:03:02] Production.INFO: ==28193== Releasing lock...
[2025-04-12 11:03:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 11:03:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 06:03:02] Production.INFO: ==28196== Lock acquired, processing the job...
[2025-04-12 06:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 06:03:03] Production.INFO: ==28196== Releasing lock...
[2025-04-12 06:03:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 06:03:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 10:03:03] Production.INFO: ==28198== Lock acquired, processing the job...
[2025-04-12 10:03:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 10:03:03] Production.INFO: ==28198== Releasing lock...
[2025-04-12 10:03:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 10:03:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 06:03:03] Production.INFO: ==28207== Lock acquired, processing the job...
[2025-04-12 06:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 06:03:03] Production.INFO: ==28201== Lock acquired, processing the job...
[2025-04-12 06:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 06:03:04] Production.INFO: ==28211== Lock acquired, processing the job...
[2025-04-12 06:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 06:03:04] Production.INFO: Account Balance Start.
[2025-04-12 06:03:04] Production.INFO: CreateAllLog Start
[2025-04-12 06:03:04] Production.INFO: 117
[2025-04-12 06:03:04] Production.INFO: Date 2025-04-08
[2025-04-12 06:03:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:03:04] Production.INFO: Date 2025-04-09
[2025-04-12 06:03:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:03:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 06:03:04] Production.INFO: Date 2025-04-10
[2025-04-12 06:03:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:03:04] Production.INFO: ==28205== Lock acquired, processing the job...
[2025-04-12 06:03:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 06:03:04] Production.INFO: ==28203== Lock acquired, processing the job...
[2025-04-12 06:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 06:03:04] Production.INFO: Date 2025-04-11
[2025-04-12 06:03:04] Production.INFO: Reseller ==> 0
[2025-04-12 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-12 06:03:04] Production.INFO: Date 2025-04-12
[2025-04-12 06:03:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:03:04] Production.INFO: count ==12
[2025-04-12 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-12 06:03:04] Production.INFO: count ==23
[2025-04-12 06:03:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 06:03:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 06:03:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 06:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889595') start
[2025-04-12 06:03:04] Production.INFO: ==28209== Lock acquired, processing the job...
[2025-04-12 06:03:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 06:03:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 06:03:04] Production.INFO: Total Charge 0
[2025-04-12 06:03:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 06:03:04] Production.INFO: CreateAllLog End
[2025-04-12 06:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889595') end
[2025-04-12 06:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 06:03:04] Production.INFO: 1
[2025-04-12 06:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 06:03:04] Production.INFO: ==28211== Releasing lock...
[2025-04-12 06:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 06:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 06:03:04] Production.ERROR: done
[2025-04-12 06:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 06:03:04] Production.INFO: ==28203== Releasing lock...
[2025-04-12 06:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 06:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 06:03:04] Production.ERROR: done
[2025-04-12 06:03:04] Production.INFO: Account Balance End.
[2025-04-12 06:03:04] Production.ERROR: CronJobId end 12
[2025-04-12 06:03:04] Production.INFO: ==28207== Releasing lock...
[2025-04-12 06:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 06:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 06:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 03:03:05
[end_date_ymd] => 2025-04-12 06:03:05
[RateCDR] => 1
)
[2025-04-12 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-12 03:03:05' and `end` < '2025-04-12 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-12 06:03:12] Production.ERROR: CronJobId end10
[2025-04-12 06:03:12] Production.INFO: ==28205== Releasing lock...
[2025-04-12 06:03:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 06:03:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 06:03:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 06:03:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 06:03:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 06:03:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 06:03:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 06:03:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 06:03:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 06:03:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 06:03:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 06:03:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 06:03:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 06:03:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 06:03:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 06:03:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 06:03:14] Production.INFO: call_cost start
[2025-04-12 06:03:14] Production.INFO: call_cost end
[2025-04-12 06:03:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 06:03:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 06:03:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 06:03:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 06:03:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 06:03:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 06:03:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 06:03:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 06:03:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 06:03:15] Production.INFO: ==28201== Releasing lock...
[2025-04-12 06:03:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 06:03:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 06:03:18] Production.INFO: count ==126
[2025-04-12 06:03:18] Production.ERROR: pbx CDR StartTime 2025-04-12 03:03:05 - End Time 2025-04-12 06:03:05
[2025-04-12 06:03:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 06:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889597', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889597', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889597', 'tblTempVendorCDR_20' ) start
[2025-04-12 06:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889597', 'tblTempVendorCDR_20' ) end
[2025-04-12 06:03:18] Production.INFO: ProcessCDR(1,14889597,1,1,2)
[2025-04-12 06:03:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889597,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:03:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889597,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:03:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889597,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:03:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889597,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:03:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889597', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:03:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889597', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:03:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 06:03:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 06:03:23] Production.INFO: ==28209== Releasing lock...
[2025-04-12 06:03:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 06:03:23] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 11:04:01] Production.INFO: ==28303== Lock acquired, processing the job...
[2025-04-12 11:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 11:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 11:04:01] Production.INFO: neon service started
[2025-04-12 11:04:01] Production.INFO: neon service started
[2025-04-12 11:04:01] Production.INFO: ==28303== Releasing lock...
[2025-04-12 11:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 11:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 06:04:02] Production.INFO: ==28306== Lock acquired, processing the job...
[2025-04-12 06:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 06:04:02] Production.INFO: ==28306== Releasing lock...
[2025-04-12 06:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 06:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 10:04:02] Production.INFO: ==28308== Lock acquired, processing the job...
[2025-04-12 10:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 10:04:02] Production.INFO: ==28308== Releasing lock...
[2025-04-12 10:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 10:04:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 06:04:03] Production.INFO: ==28310== Lock acquired, processing the job...
[2025-04-12 06:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 06:04:03] Production.INFO: ==28312== Lock acquired, processing the job...
[2025-04-12 06:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 06:04:03] Production.INFO: ==28314== Lock acquired, processing the job...
[2025-04-12 06:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 06:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 06:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 06:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 06:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 06:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 06:04:03] Production.INFO: ==28316== Lock acquired, processing the job...
[2025-04-12 06:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 06:04:03] Production.INFO: ==28318== Lock acquired, processing the job...
[2025-04-12 06:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 06:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 06:04:03] Production.INFO: ==28320== Lock acquired, processing the job...
[2025-04-12 06:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 06:04:03] Production.INFO: Account Balance Start.
[2025-04-12 06:04:03] Production.INFO: CreateAllLog Start
[2025-04-12 06:04:03] Production.INFO: 117
[2025-04-12 06:04:03] Production.INFO: Date 2025-04-08
[2025-04-12 06:04:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:04:03] Production.INFO: Date 2025-04-09
[2025-04-12 06:04:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:04:03] Production.INFO: Date 2025-04-10
[2025-04-12 06:04:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:04:03] Production.INFO: Date 2025-04-11
[2025-04-12 06:04:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:04:03] Production.INFO: Date 2025-04-12
[2025-04-12 06:04:03] Production.INFO: Reseller ==> 0
[2025-04-12 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-12 06:04:03] Production.INFO: Total Charge 0
[2025-04-12 06:04:03] Production.INFO: count ==12
[2025-04-12 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-12 06:04:03] Production.INFO: count ==23
[2025-04-12 06:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889601') start
[2025-04-12 06:04:03] Production.INFO: CreateAllLog End
[2025-04-12 06:04:03] Production.INFO: ==28312== Releasing lock...
[2025-04-12 06:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 06:04:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 06:04:04] Production.ERROR: done
[2025-04-12 06:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889601') end
[2025-04-12 06:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 06:04:04] Production.INFO: 1
[2025-04-12 06:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 06:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 06:04:04] Production.INFO: ==28320== Releasing lock...
[2025-04-12 06:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 06:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 06:04:04] Production.INFO: Account Balance End.
[2025-04-12 06:04:04] Production.ERROR: done
[2025-04-12 06:04:04] Production.ERROR: CronJobId end 12
[2025-04-12 06:04:04] Production.INFO: ==28316== Releasing lock...
[2025-04-12 06:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 06:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 06:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 03:04:05
[end_date_ymd] => 2025-04-12 06:04:05
[RateCDR] => 1
)
[2025-04-12 06:04:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 03:04:05' and `end` < '2025-04-12 06:04:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 06:04:11] Production.ERROR: CronJobId end10
[2025-04-12 06:04:11] Production.INFO: ==28314== Releasing lock...
[2025-04-12 06:04:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 06:04:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 06:04:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 06:04:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 06:04:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 06:04:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 06:04:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 06:04:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 06:04:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 06:04:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 06:04:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 06:04:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 06:04:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 06:04:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 06:04:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 06:04:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 06:04:14] Production.INFO: call_cost start
[2025-04-12 06:04:14] Production.INFO: call_cost end
[2025-04-12 06:04:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 06:04:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 06:04:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 06:04:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 06:04:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 06:04:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 06:04:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 06:04:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 06:04:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 06:04:15] Production.INFO: ==28310== Releasing lock...
[2025-04-12 06:04:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 06:04:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 06:04:17] Production.INFO: count ==127
[2025-04-12 06:04:17] Production.ERROR: pbx CDR StartTime 2025-04-12 03:04:05 - End Time 2025-04-12 06:04:05
[2025-04-12 06:04:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 06:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889602', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889602', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889602', 'tblTempVendorCDR_20' ) start
[2025-04-12 06:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889602', 'tblTempVendorCDR_20' ) end
[2025-04-12 06:04:17] Production.INFO: ProcessCDR(1,14889602,1,1,2)
[2025-04-12 06:04:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889602,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:04:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889602,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:04:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889602,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:04:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889602,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889602', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889602', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:04:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 06:04:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 06:04:22] Production.INFO: ==28318== Releasing lock...
[2025-04-12 06:04:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 06:04:22] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 11:05:02] Production.INFO: ==28374== Lock acquired, processing the job...
[2025-04-12 11:05:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 11:05:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 11:05:02] Production.INFO: neon service started
[2025-04-12 11:05:02] Production.INFO: neon service started
[2025-04-12 11:05:02] Production.INFO: ==28374== Releasing lock...
[2025-04-12 11:05:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 11:05:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 06:05:02] Production.INFO: ==28376== Lock acquired, processing the job...
[2025-04-12 06:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 06:05:02] Production.INFO: ==28376== Releasing lock...
[2025-04-12 06:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 06:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 10:05:03] Production.INFO: ==28378== Lock acquired, processing the job...
[2025-04-12 10:05:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 10:05:03] Production.INFO: ==28378== Releasing lock...
[2025-04-12 10:05:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 10:05:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 06:05:03] Production.INFO: ==28381== Lock acquired, processing the job...
[2025-04-12 06:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 06:05:03] Production.INFO: ==28383== Lock acquired, processing the job...
[2025-04-12 06:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 06:05:03] Production.INFO: ==28385== Lock acquired, processing the job...
[2025-04-12 06:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 06:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 06:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 06:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 06:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 06:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 06:05:03] Production.INFO: ==28389== Lock acquired, processing the job...
[2025-04-12 06:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 06:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 06:05:04] Production.INFO: ==28387== Lock acquired, processing the job...
[2025-04-12 06:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 06:05:04] Production.INFO: ==28391== Lock acquired, processing the job...
[2025-04-12 06:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 06:05:04] Production.INFO: ==28383== Releasing lock...
[2025-04-12 06:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 06:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 06:05:04] Production.INFO: Account Balance Start.
[2025-04-12 06:05:04] Production.INFO: CreateAllLog Start
[2025-04-12 06:05:04] Production.INFO: 117
[2025-04-12 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-12 06:05:04] Production.INFO: Date 2025-04-08
[2025-04-12 06:05:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:05:04] Production.INFO: count ==12
[2025-04-12 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-12 06:05:04] Production.INFO: count ==23
[2025-04-12 06:05:04] Production.ERROR: done
[2025-04-12 06:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 06:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889606') start
[2025-04-12 06:05:04] Production.INFO: Date 2025-04-09
[2025-04-12 06:05:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:05:04] Production.INFO: Date 2025-04-10
[2025-04-12 06:05:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889606') end
[2025-04-12 06:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 06:05:04] Production.INFO: 1
[2025-04-12 06:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 06:05:04] Production.INFO: Date 2025-04-11
[2025-04-12 06:05:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:05:04] Production.ERROR: done
[2025-04-12 06:05:04] Production.INFO: ==28391== Releasing lock...
[2025-04-12 06:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 06:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 06:05:04] Production.INFO: Date 2025-04-12
[2025-04-12 06:05:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:05:04] Production.INFO: Total Charge 0
[2025-04-12 06:05:04] Production.INFO: CreateAllLog End
[2025-04-12 06:05:05] Production.INFO: Account Balance End.
[2025-04-12 06:05:05] Production.ERROR: CronJobId end 12
[2025-04-12 06:05:05] Production.INFO: ==28387== Releasing lock...
[2025-04-12 06:05:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 06:05:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 06:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 03:05:05
[end_date_ymd] => 2025-04-12 06:05:05
[RateCDR] => 1
)
[2025-04-12 06:05:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 03:05:05' and `end` < '2025-04-12 06:05:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 06:05:11] Production.ERROR: CronJobId end10
[2025-04-12 06:05:11] Production.INFO: ==28385== Releasing lock...
[2025-04-12 06:05:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 06:05:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 06:05:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 06:05:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 06:05:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 06:05:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 06:05:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 06:05:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 06:05:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 06:05:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 06:05:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 06:05:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 06:05:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 06:05:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 06:05:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 06:05:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 06:05:14] Production.INFO: call_cost start
[2025-04-12 06:05:14] Production.INFO: call_cost end
[2025-04-12 06:05:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 06:05:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 06:05:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 06:05:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 06:05:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 06:05:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 06:05:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 06:05:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 06:05:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 06:05:15] Production.INFO: ==28381== Releasing lock...
[2025-04-12 06:05:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 06:05:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 06:05:18] Production.INFO: count ==127
[2025-04-12 06:05:18] Production.ERROR: pbx CDR StartTime 2025-04-12 03:05:05 - End Time 2025-04-12 06:05:05
[2025-04-12 06:05:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 06:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889607', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889607', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889607', 'tblTempVendorCDR_20' ) start
[2025-04-12 06:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889607', 'tblTempVendorCDR_20' ) end
[2025-04-12 06:05:18] Production.INFO: ProcessCDR(1,14889607,1,1,2)
[2025-04-12 06:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889607,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:05:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889607,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:05:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889607,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:05:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889607,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:05:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889607', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:05:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889607', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:05:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 06:05:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 06:05:23] Production.INFO: ==28389== Releasing lock...
[2025-04-12 06:05:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 06:05:23] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 11:06:01] Production.INFO: ==28444== Lock acquired, processing the job...
[2025-04-12 11:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 11:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 11:06:01] Production.INFO: neon service started
[2025-04-12 11:06:01] Production.INFO: neon service started
[2025-04-12 11:06:01] Production.INFO: ==28444== Releasing lock...
[2025-04-12 11:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 11:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 10:06:02] Production.INFO: ==28448== Lock acquired, processing the job...
[2025-04-12 10:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 10:06:02] Production.INFO: ==28448== Releasing lock...
[2025-04-12 10:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 10:06:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 06:06:02] Production.INFO: ==28446== Lock acquired, processing the job...
[2025-04-12 06:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 06:06:02] Production.INFO: ==28446== Releasing lock...
[2025-04-12 06:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 06:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 06:06:03] Production.INFO: ==28450== Lock acquired, processing the job...
[2025-04-12 06:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 06:06:03] Production.INFO: ==28461== Lock acquired, processing the job...
[2025-04-12 06:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 06:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 06:06:03] Production.INFO: ==28452== Lock acquired, processing the job...
[2025-04-12 06:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 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-12 06:06:03] Production.INFO: count ==12
[2025-04-12 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-12 06:06:03] Production.INFO: count ==23
[2025-04-12 06:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889609') start
[2025-04-12 06:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889609') end
[2025-04-12 06:06:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 06:06:03] Production.INFO: 1
[2025-04-12 06:06:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 06:06:03] Production.INFO: ==28454== Lock acquired, processing the job...
[2025-04-12 06:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 06:06:03] Production.INFO: ==28461== Releasing lock...
[2025-04-12 06:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 06:06:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 06:06:03] Production.INFO: ==28456== Lock acquired, processing the job...
[2025-04-12 06:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 06:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 06:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 06:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 06:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 06:06:03] Production.INFO: ==28458== Lock acquired, processing the job...
[2025-04-12 06:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 06:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 06:06:03] Production.INFO: Account Balance Start.
[2025-04-12 06:06:03] Production.INFO: CreateAllLog Start
[2025-04-12 06:06:03] Production.INFO: 117
[2025-04-12 06:06:03] Production.INFO: Date 2025-04-08
[2025-04-12 06:06:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:06:03] Production.INFO: ==28452== Releasing lock...
[2025-04-12 06:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 06:06:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 06:06:04] Production.INFO: Date 2025-04-09
[2025-04-12 06:06:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:06:04] Production.INFO: Date 2025-04-10
[2025-04-12 06:06:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:06:04] Production.INFO: Date 2025-04-11
[2025-04-12 06:06:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:06:04] Production.INFO: Date 2025-04-12
[2025-04-12 06:06:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:06:04] Production.INFO: Total Charge 0
[2025-04-12 06:06:04] Production.INFO: CreateAllLog End
[2025-04-12 06:06:04] Production.ERROR: done
[2025-04-12 06:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 06:06:04] Production.INFO: Account Balance End.
[2025-04-12 06:06:04] Production.ERROR: CronJobId end 12
[2025-04-12 06:06:04] Production.INFO: ==28456== Releasing lock...
[2025-04-12 06:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 06:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 06:06:04] Production.ERROR: done
[2025-04-12 06:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 03:06:05
[end_date_ymd] => 2025-04-12 06:06:05
[RateCDR] => 1
)
[2025-04-12 06:06:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 03:06:05' and `end` < '2025-04-12 06:06:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 06:06:11] Production.ERROR: CronJobId end10
[2025-04-12 06:06:11] Production.INFO: ==28454== Releasing lock...
[2025-04-12 06:06:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 06:06:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 06:06:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 06:06:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 06:06:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 06:06:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 06:06:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 06:06:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 06:06:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 06:06:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 06:06:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 06:06:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 06:06:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 06:06:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 06:06:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 06:06:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 06:06:14] Production.INFO: call_cost start
[2025-04-12 06:06:14] Production.INFO: call_cost end
[2025-04-12 06:06:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 06:06:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 06:06:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 06:06:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 06:06:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 06:06:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 06:06:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 06:06:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 06:06:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 06:06:15] Production.INFO: ==28450== Releasing lock...
[2025-04-12 06:06:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 06:06:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 06:06:18] Production.INFO: count ==125
[2025-04-12 06:06:18] Production.ERROR: pbx CDR StartTime 2025-04-12 03:06:05 - End Time 2025-04-12 06:06:05
[2025-04-12 06:06:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 06:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889612', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889612', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889612', 'tblTempVendorCDR_20' ) start
[2025-04-12 06:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889612', 'tblTempVendorCDR_20' ) end
[2025-04-12 06:06:18] Production.INFO: ProcessCDR(1,14889612,1,1,2)
[2025-04-12 06:06:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889612,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:06:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889612,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:06:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889612,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:06:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889612,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889612', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889612', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:06:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 06:06:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 06:06:22] Production.INFO: ==28458== Releasing lock...
[2025-04-12 06:06:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 06:06:22] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 11:07:02] Production.INFO: ==28520== Lock acquired, processing the job...
[2025-04-12 11:07:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 11:07:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 11:07:02] Production.INFO: neon service started
[2025-04-12 11:07:02] Production.INFO: neon service started
[2025-04-12 11:07:02] Production.INFO: ==28520== Releasing lock...
[2025-04-12 11:07:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 11:07:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 10:07:02] Production.INFO: ==28525== Lock acquired, processing the job...
[2025-04-12 10:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 10:07:02] Production.INFO: ==28525== Releasing lock...
[2025-04-12 10:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 10:07:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 06:07:02] Production.INFO: ==28523== Lock acquired, processing the job...
[2025-04-12 06:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 06:07:03] Production.INFO: ==28523== Releasing lock...
[2025-04-12 06:07:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 06:07:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 06:07:03] Production.INFO: ==28527== Lock acquired, processing the job...
[2025-04-12 06:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 06:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 06:07:03] Production.INFO: ==28529== Lock acquired, processing the job...
[2025-04-12 06:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 06:07:03] Production.INFO: ==28531== Lock acquired, processing the job...
[2025-04-12 06:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 06:07:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 06:07:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 06:07:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 06:07:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 06:07:04] Production.INFO: ==28533== Lock acquired, processing the job...
[2025-04-12 06:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 06:07:04] Production.INFO: ==28535== Lock acquired, processing the job...
[2025-04-12 06:07:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 06:07:04] Production.INFO: ==28537== Lock acquired, processing the job...
[2025-04-12 06:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 06:07:04] Production.INFO: ==28529== Releasing lock...
[2025-04-12 06:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 06:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 06:07:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 06:07:04] Production.INFO: Account Balance Start.
[2025-04-12 06:07:04] Production.INFO: CreateAllLog Start
[2025-04-12 06:07:04] Production.INFO: 117
[2025-04-12 06:07:04] Production.INFO: Date 2025-04-08
[2025-04-12 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-12 06:07:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:07:04] Production.INFO: count ==12
[2025-04-12 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-12 06:07:04] Production.INFO: count ==23
[2025-04-12 06:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889616') start
[2025-04-12 06:07:04] Production.INFO: Date 2025-04-09
[2025-04-12 06:07:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:07:04] Production.INFO: Date 2025-04-10
[2025-04-12 06:07:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:07:04] Production.INFO: Date 2025-04-11
[2025-04-12 06:07:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889616') end
[2025-04-12 06:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 06:07:04] Production.INFO: 1
[2025-04-12 06:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 06:07:04] Production.INFO: ==28537== Releasing lock...
[2025-04-12 06:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 06:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 06:07:04] Production.INFO: Date 2025-04-12
[2025-04-12 06:07:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:07:04] Production.INFO: Total Charge 0
[2025-04-12 06:07:04] Production.INFO: CreateAllLog End
[2025-04-12 06:07:04] Production.ERROR: done
[2025-04-12 06:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 06:07:05] Production.ERROR: done
[2025-04-12 06:07:05] Production.INFO: Account Balance End.
[2025-04-12 06:07:05] Production.ERROR: CronJobId end 12
[2025-04-12 06:07:05] Production.INFO: ==28533== Releasing lock...
[2025-04-12 06:07:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 06:07:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 06:07:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 03:07:06
[end_date_ymd] => 2025-04-12 06:07:06
[RateCDR] => 1
)
[2025-04-12 06: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-12 03:07:06' and `end` < '2025-04-12 06: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-12 06:07:11] Production.ERROR: CronJobId end10
[2025-04-12 06:07:11] Production.INFO: ==28531== Releasing lock...
[2025-04-12 06:07:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 06:07:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 06:07:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 06:07:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 06:07:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 06:07:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 06:07:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 06:07:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 06:07:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 06:07:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 06:07:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 06:07:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 06:07:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 06:07:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 06:07:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 06:07:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 06:07:14] Production.INFO: call_cost start
[2025-04-12 06:07:14] Production.INFO: call_cost end
[2025-04-12 06:07:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 06:07:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 06:07:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 06:07:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 06:07:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 06:07:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 06:07:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 06:07:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 06:07:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 06:07:15] Production.INFO: ==28527== Releasing lock...
[2025-04-12 06:07:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 06:07:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 06:07:19] Production.INFO: count ==127
[2025-04-12 06:07:19] Production.ERROR: pbx CDR StartTime 2025-04-12 03:07:06 - End Time 2025-04-12 06:07:06
[2025-04-12 06:07:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 06:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889617', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889617', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889617', 'tblTempVendorCDR_20' ) start
[2025-04-12 06:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889617', 'tblTempVendorCDR_20' ) end
[2025-04-12 06:07:19] Production.INFO: ProcessCDR(1,14889617,1,1,2)
[2025-04-12 06:07:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889617,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:07:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889617,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:07:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889617,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:07:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889617,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889617', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889617', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:07:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 06:07:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 06:07:22] Production.INFO: ==28535== Releasing lock...
[2025-04-12 06:07:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 06:07:22] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 11:08:01] Production.INFO: ==28594== Lock acquired, processing the job...
[2025-04-12 11:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 11:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 11:08:01] Production.INFO: neon service started
[2025-04-12 11:08:01] Production.INFO: neon service started
[2025-04-12 11:08:01] Production.INFO: ==28594== Releasing lock...
[2025-04-12 11:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 11:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 06:08:01] Production.INFO: ==28596== Lock acquired, processing the job...
[2025-04-12 06:08:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 06:08:02] Production.INFO: ==28596== Releasing lock...
[2025-04-12 06:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 06:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 10:08:02] Production.INFO: ==28598== Lock acquired, processing the job...
[2025-04-12 10:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 10:08:02] Production.INFO: ==28598== Releasing lock...
[2025-04-12 10:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 10:08:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 06:08:03] Production.INFO: ==28607== Lock acquired, processing the job...
[2025-04-12 06:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 06:08:03] Production.INFO: ==28609== Lock acquired, processing the job...
[2025-04-12 06:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 06:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 06:08:03] Production.INFO: Account Balance Start.
[2025-04-12 06:08:03] Production.INFO: CreateAllLog Start
[2025-04-12 06:08:03] Production.INFO: 117
[2025-04-12 06:08:03] Production.INFO: ==28601== Lock acquired, processing the job...
[2025-04-12 06:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 06:08:03] Production.INFO: Date 2025-04-08
[2025-04-12 06:08:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:08:03] Production.INFO: ==28603== Lock acquired, processing the job...
[2025-04-12 06:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 06:08:03] Production.INFO: Date 2025-04-09
[2025-04-12 06:08:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:08:03] Production.INFO: ==28611== Lock acquired, processing the job...
[2025-04-12 06:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 06:08:03] Production.INFO: ==28605== Lock acquired, processing the job...
[2025-04-12 06:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 06:08:03] Production.INFO: Date 2025-04-10
[2025-04-12 06:08:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 06:08:03] Production.INFO: Date 2025-04-11
[2025-04-12 06:08:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:08:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 06:08:03] Production.INFO: count ==12
[2025-04-12 06:08:03] Production.INFO: Date 2025-04-12
[2025-04-12 06:08:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 06:08:03] Production.INFO: count ==23
[2025-04-12 06:08:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889619') start
[2025-04-12 06:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 06:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 06:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 06:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 06:08:03] Production.ERROR: done
[2025-04-12 06:08:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 06:08:03] Production.INFO: Total Charge 0
[2025-04-12 06:08:03] Production.INFO: CreateAllLog End
[2025-04-12 06:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889619') end
[2025-04-12 06:08:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 06:08:03] Production.INFO: 1
[2025-04-12 06:08:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 06:08:03] Production.INFO: ==28611== Releasing lock...
[2025-04-12 06:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 06:08:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 06:08:04] Production.ERROR: done
[2025-04-12 06:08:04] Production.INFO: ==28603== Releasing lock...
[2025-04-12 06:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 06:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 06:08:04] Production.INFO: Account Balance End.
[2025-04-12 06:08:04] Production.ERROR: CronJobId end 12
[2025-04-12 06:08:04] Production.INFO: ==28607== Releasing lock...
[2025-04-12 06:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 06:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 06:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 03:08:05
[end_date_ymd] => 2025-04-12 06:08:05
[RateCDR] => 1
)
[2025-04-12 06:08:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 03:08:05' and `end` < '2025-04-12 06:08:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 06:08:11] Production.ERROR: CronJobId end10
[2025-04-12 06:08:11] Production.INFO: ==28605== Releasing lock...
[2025-04-12 06:08:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 06:08:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 06:08:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 06:08:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 06:08:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 06:08:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 06:08:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 06:08:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 06:08:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 06:08:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 06:08:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 06:08:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 06:08:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 06:08:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 06:08:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 06:08:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 06:08:14] Production.INFO: call_cost start
[2025-04-12 06:08:14] Production.INFO: call_cost end
[2025-04-12 06:08:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 06:08:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 06:08:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 06:08:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 06:08:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 06:08:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 06:08:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 06:08:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 06:08:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 06:08:15] Production.INFO: ==28601== Releasing lock...
[2025-04-12 06:08:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 06:08:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 06:08:17] Production.INFO: count ==127
[2025-04-12 06:08:17] Production.ERROR: pbx CDR StartTime 2025-04-12 03:08:05 - End Time 2025-04-12 06:08:05
[2025-04-12 06:08:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 06:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889622', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889622', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889622', 'tblTempVendorCDR_20' ) start
[2025-04-12 06:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889622', 'tblTempVendorCDR_20' ) end
[2025-04-12 06:08:17] Production.INFO: ProcessCDR(1,14889622,1,1,2)
[2025-04-12 06:08:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889622,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:08:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889622,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:08:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889622,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:08:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889622,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889622', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889622', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:08:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 06:08:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 06:08:21] Production.INFO: ==28609== Releasing lock...
[2025-04-12 06:08:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 06:08:21] Production.INFO: 29 MB #Memory Used#
[2025-04-12 11:09:01] Production.INFO: ==28670== Lock acquired, processing the job...
[2025-04-12 11:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 11:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 11:09:01] Production.INFO: neon service started
[2025-04-12 11:09:01] Production.INFO: neon service started
[2025-04-12 11:09:01] Production.INFO: ==28670== Releasing lock...
[2025-04-12 11:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 11:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 10:09:02] Production.INFO: ==28674== Lock acquired, processing the job...
[2025-04-12 10:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 10:09:02] Production.INFO: ==28674== Releasing lock...
[2025-04-12 10:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 10:09:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 06:09:02] Production.INFO: ==28672== Lock acquired, processing the job...
[2025-04-12 06:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 06:09:02] Production.INFO: ==28672== Releasing lock...
[2025-04-12 06:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 06:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 06:09:03] Production.INFO: ==28679== Lock acquired, processing the job...
[2025-04-12 06:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 06:09:03] Production.INFO: ==28683== Lock acquired, processing the job...
[2025-04-12 06:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 06:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 06:09:03] Production.INFO: ==28687== Lock acquired, processing the job...
[2025-04-12 06:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 06:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 06:09:03] Production.INFO: ==28681== Lock acquired, processing the job...
[2025-04-12 06:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 06:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 06:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 06:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 06:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 06:09:03] Production.INFO: ==28685== Lock acquired, processing the job...
[2025-04-12 06:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 06:09:03] Production.INFO: ==28689== Lock acquired, processing the job...
[2025-04-12 06:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 06:09:03] Production.INFO: Account Balance Start.
[2025-04-12 06:09:03] Production.INFO: CreateAllLog Start
[2025-04-12 06:09:03] Production.INFO: 117
[2025-04-12 06:09:04] Production.INFO: Date 2025-04-08
[2025-04-12 06:09:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:09:04] Production.ERROR: done
[2025-04-12 06:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 06:09:04] Production.INFO: Date 2025-04-09
[2025-04-12 06:09:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:09:04] Production.INFO: Date 2025-04-10
[2025-04-12 06:09:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:09:04] Production.INFO: Date 2025-04-11
[2025-04-12 06:09:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:09:04] Production.INFO: Date 2025-04-12
[2025-04-12 06:09:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:09:04] Production.INFO: ==28681== Releasing lock...
[2025-04-12 06:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 06:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 06:09:04] Production.INFO: Total Charge 0
[2025-04-12 06:09:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 06:09:04] Production.INFO: CreateAllLog End
[2025-04-12 06:09:04] Production.ERROR: done
[2025-04-12 06:09:04] Production.INFO: count ==12
[2025-04-12 06:09:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 06:09:04] Production.INFO: count ==23
[2025-04-12 06:09:04] Production.INFO: Account Balance End.
[2025-04-12 06:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889626') start
[2025-04-12 06:09:04] Production.ERROR: CronJobId end 12
[2025-04-12 06:09:04] Production.INFO: ==28685== Releasing lock...
[2025-04-12 06:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 06:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 06:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889626') end
[2025-04-12 06:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 06:09:04] Production.INFO: 1
[2025-04-12 06:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 06:09:04] Production.INFO: ==28689== Releasing lock...
[2025-04-12 06:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 06:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 06:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 03:09:05
[end_date_ymd] => 2025-04-12 06:09:05
[RateCDR] => 1
)
[2025-04-12 06:09:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 03:09:05' and `end` < '2025-04-12 06:09:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 06:09:12] Production.ERROR: CronJobId end10
[2025-04-12 06:09:12] Production.INFO: ==28683== Releasing lock...
[2025-04-12 06:09:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 06:09:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 06:09:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 06:09:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 06:09:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 06:09:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 06:09:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 06:09:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 06:09:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 06:09:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 06:09:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 06:09:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 06:09:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 06:09:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 06:09:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 06:09:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 06:09:15] Production.INFO: call_cost start
[2025-04-12 06:09:15] Production.INFO: call_cost end
[2025-04-12 06:09:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 06:09:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 06:09:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 06:09:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 06:09:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 06:09:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 06:09:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 06:09:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 06:09:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 06:09:16] Production.INFO: ==28679== Releasing lock...
[2025-04-12 06:09:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 06:09:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 06:09:18] Production.INFO: count ==127
[2025-04-12 06:09:18] Production.ERROR: pbx CDR StartTime 2025-04-12 03:09:05 - End Time 2025-04-12 06:09:05
[2025-04-12 06:09:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 06:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889627', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889627', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889627', 'tblTempVendorCDR_20' ) start
[2025-04-12 06:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889627', 'tblTempVendorCDR_20' ) end
[2025-04-12 06:09:18] Production.INFO: ProcessCDR(1,14889627,1,1,2)
[2025-04-12 06:09:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889627,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:09:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889627,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:09:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889627,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:09:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889627,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889627', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889627', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:09:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 06:09:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 06:09:21] Production.INFO: ==28687== Releasing lock...
[2025-04-12 06:09:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 06:09:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 11:10:01] Production.INFO: ==28742== Lock acquired, processing the job...
[2025-04-12 11:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 11:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 11:10:01] Production.INFO: neon service started
[2025-04-12 11:10:01] Production.INFO: neon service started
[2025-04-12 11:10:01] Production.INFO: ==28742== Releasing lock...
[2025-04-12 11:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 11:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 10:10:01] Production.INFO: ==28746== Lock acquired, processing the job...
[2025-04-12 10:10:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 10:10:01] Production.INFO: ==28746== Releasing lock...
[2025-04-12 10:10:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 10:10:01] Production.INFO: 25 MB #Memory Used#
[2025-04-12 06:10:01] Production.INFO: ==28744== Lock acquired, processing the job...
[2025-04-12 06:10:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 06:10:02] Production.INFO: ==28744== Releasing lock...
[2025-04-12 06:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 06:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 06:10:03] Production.INFO: ==28751== Lock acquired, processing the job...
[2025-04-12 06:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 06:10:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 06:10:03] Production.INFO: ==28759== Lock acquired, processing the job...
[2025-04-12 06:10:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 06:10:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 06:10:03] Production.INFO: ==28761== Lock acquired, processing the job...
[2025-04-12 06:10:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 06:10:03] Production.INFO: ==28749== Lock acquired, processing the job...
[2025-04-12 06:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 06:10:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 06:10:03] Production.INFO: ==28753== Lock acquired, processing the job...
[2025-04-12 06:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 06:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 06:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 06:10:03] Production.ERROR: CronJob PID - 28751
[2025-04-12 06:10:03] Production.ERROR: CronJob Title - System Alerts
[2025-04-12 06:10:03] Production.ERROR: CronJob ID - 5
[2025-04-12 06:10:03] Production.ERROR: CronJob Last Run Time 2025-04-12 06:10:00
[2025-04-12 06:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 06:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 06:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 06:10:03] Production.ERROR: CronJob PID - 28759
[2025-04-12 06:10:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-04-12 06:10:03] Production.ERROR: CronJob ID - 16
[2025-04-12 06:10:03] Production.ERROR: CronJob Last Run Time 2025-04-12 06:10:00
[2025-04-12 06:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 06:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 06:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 06:10:03] Production.ERROR: CronJob PID - 28761
[2025-04-12 06:10:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-04-12 06:10:03] Production.ERROR: CronJob ID - 17
[2025-04-12 06:10:03] Production.ERROR: CronJob Last Run Time 2025-04-12 06:10:00
[2025-04-12 06:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 06:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 06:10:03] Production.INFO: ==28755== Lock acquired, processing the job...
[2025-04-12 06:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 06:10:03] Production.INFO: ==28757== Lock acquired, processing the job...
[2025-04-12 06:10:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 06:10:03] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 06:10:03] Production.INFO: ==28749== Releasing lock...
[2025-04-12 06:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 06:10:03] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 06:10:03] Production.INFO: ==28763== Lock acquired, processing the job...
[2025-04-12 06:10:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 06:10:03] Production.ERROR: done
[2025-04-12 06:10:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 06:10:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 06:10:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 06:10:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 06:10:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 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-12 06:10:03] Production.INFO: Account Balance Start.
[2025-04-12 06:10:03] Production.INFO: CreateAllLog Start
[2025-04-12 06:10:03] Production.INFO: 117
[2025-04-12 06:10:03] Production.INFO: count ==12
[2025-04-12 06:10:03] Production.INFO: Date 2025-04-08
[2025-04-12 06:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 06:10:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:10:04] Production.INFO: count ==23
[2025-04-12 06:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889630') start
[2025-04-12 06:10:04] Production.INFO: Date 2025-04-09
[2025-04-12 06:10:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889630') end
[2025-04-12 06:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 06:10:04] Production.INFO: 1
[2025-04-12 06:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 06:10:04] Production.ERROR: done
[2025-04-12 06:10:04] Production.INFO: ==28763== Releasing lock...
[2025-04-12 06:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 06:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 06:10:04] Production.ERROR: done
[2025-04-12 06:10:04] Production.INFO: Date 2025-04-10
[2025-04-12 06:10:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 06:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14889633', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 06:10:04] Production.INFO: Date 2025-04-11
[2025-04-12 06:10:04] Production.INFO: ==28753== Releasing lock...
[2025-04-12 06:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 06:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 06:10:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:10:04] Production.INFO: Date 2025-04-12
[2025-04-12 06:10:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:10:04] Production.INFO: Total Charge 0
[2025-04-12 06:10:04] Production.INFO: CreateAllLog End
[2025-04-12 06:10:04] Production.INFO: Account Balance End.
[2025-04-12 06:10:04] Production.ERROR: CronJobId end 12
[2025-04-12 06:10:04] Production.INFO: ==28757== Releasing lock...
[2025-04-12 06:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 06:10:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 06:10:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 03:10:05
[end_date_ymd] => 2025-04-12 06:10:05
[RateCDR] => 1
)
[2025-04-12 06:10:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 03:10:05' and `end` < '2025-04-12 06:10:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 06:10:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14889633', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 06:10:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 06:10:08] Production.INFO: ProcessCDR(1,14889633,1,1,2)
[2025-04-12 06:10:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14889633,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:10:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14889633,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:10:08] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 06:10:08] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 06:10:08] Production.INFO: ==28761== Releasing lock...
[2025-04-12 06:10:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 06:10:08] Production.INFO: 26 MB #Memory Used#
[2025-04-12 06:10:13] Production.ERROR: CronJobId end10
[2025-04-12 06:10:13] Production.INFO: ==28755== Releasing lock...
[2025-04-12 06:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 06:10:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 06:10:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 06:10:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 06:10:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 06:10:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 06:10:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 06:10:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 06:10:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 06:10:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 06:10:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 06:10:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 06:10:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 06:10:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 06:10:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 06:10:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 06:10:15] Production.INFO: call_cost start
[2025-04-12 06:10:15] Production.INFO: call_cost end
[2025-04-12 06:10:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 06:10:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 06:10:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 06:10:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 06:10:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 06:10:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 06:10:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 06:10:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 06:10:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 06:10:16] Production.INFO: ==28751== Releasing lock...
[2025-04-12 06:10:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 06:10:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 06:10:18] Production.INFO: count ==129
[2025-04-12 06:10:18] Production.ERROR: pbx CDR StartTime 2025-04-12 03:10:05 - End Time 2025-04-12 06:10:05
[2025-04-12 06:10:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 06:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889632', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889632', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889632', 'tblTempVendorCDR_20' ) start
[2025-04-12 06:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889632', 'tblTempVendorCDR_20' ) end
[2025-04-12 06:10:18] Production.INFO: ProcessCDR(1,14889632,1,1,2)
[2025-04-12 06:10:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889632,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:10:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889632,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:10:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889632,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:10:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889632,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:10:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889632', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:10:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889632', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:10:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 06:10:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 06:10:21] Production.INFO: ==28759== Releasing lock...
[2025-04-12 06:10:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 06:10:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 11:11:01] Production.INFO: ==28820== Lock acquired, processing the job...
[2025-04-12 11:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 11:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 11:11:01] Production.INFO: neon service started
[2025-04-12 11:11:01] Production.INFO: neon service started
[2025-04-12 11:11:01] Production.INFO: ==28820== Releasing lock...
[2025-04-12 11:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 11:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 06:11:02] Production.INFO: ==28822== Lock acquired, processing the job...
[2025-04-12 06:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 06:11:02] Production.INFO: ==28822== Releasing lock...
[2025-04-12 06:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 06:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 10:11:02] Production.INFO: ==28824== Lock acquired, processing the job...
[2025-04-12 10:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 10:11:02] Production.INFO: ==28824== Releasing lock...
[2025-04-12 10:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 10:11:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 06:11:03] Production.INFO: ==28831== Lock acquired, processing the job...
[2025-04-12 06:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 06:11:03] Production.INFO: ==28837== Lock acquired, processing the job...
[2025-04-12 06:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 06:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 06:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 06:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 06:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 06:11:03] Production.INFO: ==28827== Lock acquired, processing the job...
[2025-04-12 06:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 06:11:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 06:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 06:11:03] Production.INFO: count ==12
[2025-04-12 06:11:03] Production.INFO: ==28829== Lock acquired, processing the job...
[2025-04-12 06:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 06: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-12 06:11:03] Production.INFO: count ==23
[2025-04-12 06:11:03] Production.INFO: ==28833== Lock acquired, processing the job...
[2025-04-12 06:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 06:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889634') start
[2025-04-12 06:11:03] Production.INFO: ==28835== Lock acquired, processing the job...
[2025-04-12 06:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 06:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889634') end
[2025-04-12 06:11:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 06:11:03] Production.INFO: 1
[2025-04-12 06:11:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 06:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 06:11:03] Production.INFO: Account Balance Start.
[2025-04-12 06:11:03] Production.INFO: CreateAllLog Start
[2025-04-12 06:11:03] Production.INFO: 117
[2025-04-12 06:11:03] Production.INFO: ==28837== Releasing lock...
[2025-04-12 06:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 06:11:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 06:11:03] Production.INFO: Date 2025-04-08
[2025-04-12 06:11:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:11:03] Production.INFO: ==28829== Releasing lock...
[2025-04-12 06:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 06:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 06:11:03] Production.INFO: Date 2025-04-09
[2025-04-12 06:11:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:11:04] Production.INFO: Date 2025-04-10
[2025-04-12 06:11:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:11:04] Production.INFO: Date 2025-04-11
[2025-04-12 06:11:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:11:04] Production.INFO: Date 2025-04-12
[2025-04-12 06:11:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:11:04] Production.INFO: Total Charge 0
[2025-04-12 06:11:04] Production.INFO: CreateAllLog End
[2025-04-12 06:11:04] Production.ERROR: done
[2025-04-12 06:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 06:11:04] Production.INFO: Account Balance End.
[2025-04-12 06:11:04] Production.ERROR: done
[2025-04-12 06:11:04] Production.ERROR: CronJobId end 12
[2025-04-12 06:11:04] Production.INFO: ==28833== Releasing lock...
[2025-04-12 06:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 06:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 06:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 03:11:05
[end_date_ymd] => 2025-04-12 06:11:05
[RateCDR] => 1
)
[2025-04-12 06:11:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 03:11:05' and `end` < '2025-04-12 06:11:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 06:11:11] Production.ERROR: CronJobId end10
[2025-04-12 06:11:11] Production.INFO: ==28831== Releasing lock...
[2025-04-12 06:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 06:11:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 06:11:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 06:11:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 06:11:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 06:11:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 06:11:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 06:11:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 06:11:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 06:11:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 06:11:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 06:11:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 06:11:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 06:11:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 06:11:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 06:11:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 06:11:14] Production.INFO: call_cost start
[2025-04-12 06:11:14] Production.INFO: call_cost end
[2025-04-12 06:11:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 06:11:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 06:11:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 06:11:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 06:11:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 06:11:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 06:11:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 06:11:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 06:11:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 06:11:15] Production.INFO: ==28827== Releasing lock...
[2025-04-12 06:11:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 06:11:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 06:11:18] Production.INFO: count ==129
[2025-04-12 06:11:18] Production.ERROR: pbx CDR StartTime 2025-04-12 03:11:05 - End Time 2025-04-12 06:11:05
[2025-04-12 06:11:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 06:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889638', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889638', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889638', 'tblTempVendorCDR_20' ) start
[2025-04-12 06:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889638', 'tblTempVendorCDR_20' ) end
[2025-04-12 06:11:18] Production.INFO: ProcessCDR(1,14889638,1,1,2)
[2025-04-12 06:11:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889638,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:11:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889638,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:11:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889638,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:11:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889638,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889638', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889638', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:11:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 06:11:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 06:11:21] Production.INFO: ==28835== Releasing lock...
[2025-04-12 06:11:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 06:11:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 11:12:02] Production.INFO: ==28893== Lock acquired, processing the job...
[2025-04-12 11:12:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 11:12:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 11:12:02] Production.INFO: neon service started
[2025-04-12 11:12:02] Production.INFO: neon service started
[2025-04-12 11:12:02] Production.INFO: ==28893== Releasing lock...
[2025-04-12 11:12:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 11:12:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 10:12:02] Production.INFO: ==28897== Lock acquired, processing the job...
[2025-04-12 10:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 10:12:02] Production.INFO: ==28897== Releasing lock...
[2025-04-12 10:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 10:12:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 06:12:02] Production.INFO: ==28895== Lock acquired, processing the job...
[2025-04-12 06:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 06:12:03] Production.INFO: ==28895== Releasing lock...
[2025-04-12 06:12:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 06:12:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 06:12:03] Production.INFO: ==28902== Lock acquired, processing the job...
[2025-04-12 06:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 06:12:03] Production.INFO: ==28904== Lock acquired, processing the job...
[2025-04-12 06:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 06:12:03] Production.INFO: ==28906== Lock acquired, processing the job...
[2025-04-12 06:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 06:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 06:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 06:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 06:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 06:12:04] Production.INFO: Account Balance Start.
[2025-04-12 06:12:04] Production.INFO: CreateAllLog Start
[2025-04-12 06:12:04] Production.INFO: 117
[2025-04-12 06:12:04] Production.INFO: Date 2025-04-08
[2025-04-12 06:12:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:12:04] Production.INFO: ==28902== Releasing lock...
[2025-04-12 06:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 06:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 06:12:04] Production.INFO: Date 2025-04-09
[2025-04-12 06:12:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:12:04] Production.INFO: ==28900== Lock acquired, processing the job...
[2025-04-12 06:12:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 06:12:04] Production.INFO: Date 2025-04-10
[2025-04-12 06:12:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:12:04] Production.INFO: Date 2025-04-11
[2025-04-12 06:12:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:12:04] Production.INFO: ==28908== Lock acquired, processing the job...
[2025-04-12 06:12:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 06:12:04] Production.INFO: ==28910== Lock acquired, processing the job...
[2025-04-12 06:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 06:12:04] Production.INFO: Date 2025-04-12
[2025-04-12 06:12:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:12:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 06:12:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 06:12:04] Production.INFO: Total Charge 0
[2025-04-12 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-12 06:12:04] Production.INFO: CreateAllLog End
[2025-04-12 06:12:04] Production.INFO: count ==12
[2025-04-12 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-12 06:12:04] Production.INFO: count ==23
[2025-04-12 06:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889642') start
[2025-04-12 06:12:04] Production.ERROR: done
[2025-04-12 06:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 06:12:04] Production.INFO: Account Balance End.
[2025-04-12 06:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889642') end
[2025-04-12 06:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 06:12:04] Production.INFO: 1
[2025-04-12 06:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 06:12:05] Production.ERROR: CronJobId end 12
[2025-04-12 06:12:05] Production.INFO: ==28906== Releasing lock...
[2025-04-12 06:12:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 06:12:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 06:12:05] Production.INFO: ==28910== Releasing lock...
[2025-04-12 06:12:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 06:12:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 06:12:05] Production.ERROR: done
[2025-04-12 06:12:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 03:12:06
[end_date_ymd] => 2025-04-12 06:12:06
[RateCDR] => 1
)
[2025-04-12 06: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-12 03:12:06' and `end` < '2025-04-12 06: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-12 06:12:11] Production.ERROR: CronJobId end10
[2025-04-12 06:12:11] Production.INFO: ==28904== Releasing lock...
[2025-04-12 06:12:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 06:12:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 06:12:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 06:12:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 06:12:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 06:12:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 06:12:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 06:12:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 06:12:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 06:12:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 06:12:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 06:12:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 06:12:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 06:12:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 06:12:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 06:12:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 06:12:15] Production.INFO: call_cost start
[2025-04-12 06:12:15] Production.INFO: call_cost end
[2025-04-12 06:12:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 06:12:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 06:12:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 06:12:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 06:12:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 06:12:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 06:12:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 06:12:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 06:12:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 06:12:16] Production.INFO: ==28900== Releasing lock...
[2025-04-12 06:12:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 06:12:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 06:12:18] Production.INFO: count ==129
[2025-04-12 06:12:18] Production.ERROR: pbx CDR StartTime 2025-04-12 03:12:06 - End Time 2025-04-12 06:12:06
[2025-04-12 06:12:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 06:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889643', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889643', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889643', 'tblTempVendorCDR_20' ) start
[2025-04-12 06:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889643', 'tblTempVendorCDR_20' ) end
[2025-04-12 06:12:18] Production.INFO: ProcessCDR(1,14889643,1,1,2)
[2025-04-12 06:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889643,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:12:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889643,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:12:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889643,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:12:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889643,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:12:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889643', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:12:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889643', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:12:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 06:12:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 06:12:22] Production.INFO: ==28908== Releasing lock...
[2025-04-12 06:12:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 06:12:22] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 11:13:01] Production.INFO: ==28963== Lock acquired, processing the job...
[2025-04-12 11:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 11:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 11:13:01] Production.INFO: neon service started
[2025-04-12 11:13:01] Production.INFO: neon service started
[2025-04-12 11:13:01] Production.INFO: ==28963== Releasing lock...
[2025-04-12 11:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 11:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 10:13:02] Production.INFO: ==28967== Lock acquired, processing the job...
[2025-04-12 10:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 10:13:02] Production.INFO: ==28967== Releasing lock...
[2025-04-12 10:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 10:13:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 06:13:02] Production.INFO: ==28965== Lock acquired, processing the job...
[2025-04-12 06:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 06:13:02] Production.INFO: ==28965== Releasing lock...
[2025-04-12 06:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 06:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 06:13:03] Production.INFO: ==28972== Lock acquired, processing the job...
[2025-04-12 06:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 06:13:03] Production.INFO: ==28980== Lock acquired, processing the job...
[2025-04-12 06:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 06:13:03] Production.INFO: ==28970== Lock acquired, processing the job...
[2025-04-12 06:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 06:13:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 06:13:03] Production.INFO: ==28974== Lock acquired, processing the job...
[2025-04-12 06:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 06:13:03] Production.INFO: count ==12
[2025-04-12 06:13:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 06:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 06:13:03] Production.INFO: count ==23
[2025-04-12 06:13:03] Production.INFO: ==28976== Lock acquired, processing the job...
[2025-04-12 06:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 06:13:03] Production.INFO: ==28978== Lock acquired, processing the job...
[2025-04-12 06:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 06:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889644') start
[2025-04-12 06:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 06:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 06:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 06:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 06:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 06:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889644') end
[2025-04-12 06:13:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 06:13:03] Production.INFO: 1
[2025-04-12 06:13:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 06:13:03] Production.INFO: Account Balance Start.
[2025-04-12 06:13:03] Production.INFO: CreateAllLog Start
[2025-04-12 06:13:03] Production.INFO: 117
[2025-04-12 06:13:03] Production.INFO: Date 2025-04-08
[2025-04-12 06:13:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:13:03] Production.INFO: ==28980== Releasing lock...
[2025-04-12 06:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 06:13:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 06:13:03] Production.INFO: Date 2025-04-09
[2025-04-12 06:13:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:13:03] Production.INFO: ==28972== Releasing lock...
[2025-04-12 06:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 06:13:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 06:13:03] Production.INFO: Date 2025-04-10
[2025-04-12 06:13:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:13:03] Production.INFO: Date 2025-04-11
[2025-04-12 06:13:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:13:03] Production.INFO: Date 2025-04-12
[2025-04-12 06:13:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:13:04] Production.INFO: Total Charge 0
[2025-04-12 06:13:04] Production.INFO: CreateAllLog End
[2025-04-12 06:13:04] Production.ERROR: done
[2025-04-12 06:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 06:13:04] Production.ERROR: done
[2025-04-12 06:13:04] Production.INFO: Account Balance End.
[2025-04-12 06:13:04] Production.ERROR: CronJobId end 12
[2025-04-12 06:13:04] Production.INFO: ==28976== Releasing lock...
[2025-04-12 06:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 06:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 06:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 03:13:05
[end_date_ymd] => 2025-04-12 06:13:05
[RateCDR] => 1
)
[2025-04-12 06:13:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 03:13:05' and `end` < '2025-04-12 06:13:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 06:13:11] Production.ERROR: CronJobId end10
[2025-04-12 06:13:11] Production.INFO: ==28974== Releasing lock...
[2025-04-12 06:13:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 06:13:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 06:13:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 06:13:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 06:13:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 06:13:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 06:13:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 06:13:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 06:13:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 06:13:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 06:13:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 06:13:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 06:13:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 06:13:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 06:13:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 06:13:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 06:13:14] Production.INFO: call_cost start
[2025-04-12 06:13:14] Production.INFO: call_cost end
[2025-04-12 06:13:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 06:13:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 06:13:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 06:13:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 06:13:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 06:13:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 06:13:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 06:13:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 06:13:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 06:13:15] Production.INFO: ==28970== Releasing lock...
[2025-04-12 06:13:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 06:13:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 06:13:18] Production.INFO: count ==129
[2025-04-12 06:13:18] Production.ERROR: pbx CDR StartTime 2025-04-12 03:13:05 - End Time 2025-04-12 06:13:05
[2025-04-12 06:13:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 06:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889648', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889648', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889648', 'tblTempVendorCDR_20' ) start
[2025-04-12 06:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889648', 'tblTempVendorCDR_20' ) end
[2025-04-12 06:13:18] Production.INFO: ProcessCDR(1,14889648,1,1,2)
[2025-04-12 06:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889648,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:13:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889648,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:13:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889648,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:13:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889648,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889648', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889648', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:13:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 06:13:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 06:13:21] Production.INFO: ==28978== Releasing lock...
[2025-04-12 06:13:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 06:13:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 11:14:02] Production.INFO: ==29036== Lock acquired, processing the job...
[2025-04-12 11:14:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 11:14:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 11:14:02] Production.INFO: neon service started
[2025-04-12 11:14:02] Production.INFO: neon service started
[2025-04-12 11:14:02] Production.INFO: ==29036== Releasing lock...
[2025-04-12 11:14:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 11:14:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 06:14:02] Production.INFO: ==29043== Lock acquired, processing the job...
[2025-04-12 06:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 06:14:02] Production.INFO: ==29043== Releasing lock...
[2025-04-12 06:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 06:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 10:14:03] Production.INFO: ==29045== Lock acquired, processing the job...
[2025-04-12 10:14:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 10:14:03] Production.INFO: ==29045== Releasing lock...
[2025-04-12 10:14:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 10:14:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 06:14:03] Production.INFO: ==29056== Lock acquired, processing the job...
[2025-04-12 06:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 06:14:03] Production.INFO: ==29058== Lock acquired, processing the job...
[2025-04-12 06:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 06:14:03] Production.INFO: ==29048== Lock acquired, processing the job...
[2025-04-12 06:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 06:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 06:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 06:14:03] Production.INFO: ==29050== Lock acquired, processing the job...
[2025-04-12 06:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 06:14:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 06:14:04] Production.INFO: ==29052== Lock acquired, processing the job...
[2025-04-12 06:14:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 06:14:04] Production.INFO: count ==12
[2025-04-12 06:14:04] Production.INFO: ==29054== Lock acquired, processing the job...
[2025-04-12 06:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 06:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 06:14:04] Production.INFO: count ==23
[2025-04-12 06:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889649') start
[2025-04-12 06:14:04] Production.INFO: Account Balance Start.
[2025-04-12 06:14:04] Production.INFO: CreateAllLog Start
[2025-04-12 06:14:04] Production.INFO: 117
[2025-04-12 06:14:04] Production.INFO: Date 2025-04-08
[2025-04-12 06:14:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889649') end
[2025-04-12 06:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 06:14:04] Production.INFO: 1
[2025-04-12 06:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 06:14:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 06:14:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 06:14:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 06:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 06:14:04] Production.INFO: Date 2025-04-09
[2025-04-12 06:14:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:14:04] Production.INFO: Date 2025-04-10
[2025-04-12 06:14:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:14:04] Production.INFO: ==29058== Releasing lock...
[2025-04-12 06:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 06:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 06:14:04] Production.ERROR: done
[2025-04-12 06:14:04] Production.INFO: ==29050== Releasing lock...
[2025-04-12 06:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 06:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 06:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 06:14:04] Production.INFO: Date 2025-04-11
[2025-04-12 06:14:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:14:04] Production.INFO: Date 2025-04-12
[2025-04-12 06:14:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:14:04] Production.INFO: Total Charge 0
[2025-04-12 06:14:04] Production.INFO: CreateAllLog End
[2025-04-12 06:14:04] Production.ERROR: done
[2025-04-12 06:14:04] Production.INFO: Account Balance End.
[2025-04-12 06:14:04] Production.ERROR: CronJobId end 12
[2025-04-12 06:14:04] Production.INFO: ==29054== Releasing lock...
[2025-04-12 06:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 06:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 06:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 03:14:05
[end_date_ymd] => 2025-04-12 06:14:05
[RateCDR] => 1
)
[2025-04-12 06:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 03:14:05' and `end` < '2025-04-12 06:14:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 06:14:13] Production.ERROR: CronJobId end10
[2025-04-12 06:14:13] Production.INFO: ==29052== Releasing lock...
[2025-04-12 06:14:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 06:14:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 06:14:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 06:14:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 06:14:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 06:14:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 06:14:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 06:14:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 06:14:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 06:14:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 06:14:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 06:14:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 06:14:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 06:14:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 06:14:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 06:14:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 06:14:15] Production.INFO: call_cost start
[2025-04-12 06:14:15] Production.INFO: call_cost end
[2025-04-12 06:14:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 06:14:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 06:14:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 06:14:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 06:14:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 06:14:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 06:14:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 06:14:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 06:14:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 06:14:16] Production.INFO: ==29048== Releasing lock...
[2025-04-12 06:14:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 06:14:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 06:14:18] Production.INFO: count ==129
[2025-04-12 06:14:18] Production.ERROR: pbx CDR StartTime 2025-04-12 03:14:05 - End Time 2025-04-12 06:14:05
[2025-04-12 06:14:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 06:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889653', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889653', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889653', 'tblTempVendorCDR_20' ) start
[2025-04-12 06:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889653', 'tblTempVendorCDR_20' ) end
[2025-04-12 06:14:18] Production.INFO: ProcessCDR(1,14889653,1,1,2)
[2025-04-12 06:14:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889653,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:14:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889653,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:14:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889653,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:14:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889653,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889653', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889653', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:14:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 06:14:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 06:14:22] Production.INFO: ==29056== Releasing lock...
[2025-04-12 06:14:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 06:14:22] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 11:15:01] Production.INFO: ==29111== Lock acquired, processing the job...
[2025-04-12 11:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 11:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 11:15:01] Production.INFO: neon service started
[2025-04-12 11:15:01] Production.INFO: neon service started
[2025-04-12 11:15:01] Production.INFO: ==29111== Releasing lock...
[2025-04-12 11:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 11:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 10:15:02] Production.INFO: ==29115== Lock acquired, processing the job...
[2025-04-12 10:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 10:15:02] Production.INFO: ==29115== Releasing lock...
[2025-04-12 10:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 10:15:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 06:15:02] Production.INFO: ==29113== Lock acquired, processing the job...
[2025-04-12 06:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 06:15:02] Production.INFO: ==29113== Releasing lock...
[2025-04-12 06:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 06:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 06:15:03] Production.INFO: ==29118== Lock acquired, processing the job...
[2025-04-12 06:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 06:15:03] Production.INFO: ==29122== Lock acquired, processing the job...
[2025-04-12 06:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 06:15:03] Production.INFO: ==29124== Lock acquired, processing the job...
[2025-04-12 06:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 06:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 06:15:03] Production.INFO: Account Balance Start.
[2025-04-12 06:15:03] Production.INFO: CreateAllLog Start
[2025-04-12 06:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 06:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 06:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 06:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 06:15:03] Production.INFO: 117
[2025-04-12 06:15:03] Production.INFO: Date 2025-04-08
[2025-04-12 06:15:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:15:03] Production.INFO: Date 2025-04-09
[2025-04-12 06:15:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:15:03] Production.INFO: ==29120== Lock acquired, processing the job...
[2025-04-12 06:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 06:15:03] Production.INFO: Date 2025-04-10
[2025-04-12 06:15:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:15:03] Production.INFO: Date 2025-04-11
[2025-04-12 06:15:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:15:03] Production.INFO: Date 2025-04-12
[2025-04-12 06:15:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:15:03] Production.INFO: Total Charge 0
[2025-04-12 06:15:03] Production.INFO: ==29126== Lock acquired, processing the job...
[2025-04-12 06:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 06:15:03] Production.INFO: CreateAllLog End
[2025-04-12 06:15:03] Production.INFO: ==29128== Lock acquired, processing the job...
[2025-04-12 06:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 06:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 06:15:03] Production.INFO: Account Balance End.
[2025-04-12 06:15:03] Production.ERROR: CronJobId end 12
[2025-04-12 06:15:03] Production.INFO: ==29124== Releasing lock...
[2025-04-12 06:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 06:15:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 06:15:04] Production.INFO: ==29120== Releasing lock...
[2025-04-12 06:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 06:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 06:15:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 06:15:04] Production.INFO: count ==12
[2025-04-12 06:15:04] Production.ERROR: done
[2025-04-12 06:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 06:15:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 06:15:04] Production.INFO: count ==23
[2025-04-12 06:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889657') start
[2025-04-12 06:15:04] Production.ERROR: done
[2025-04-12 06:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889657') end
[2025-04-12 06:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 06:15:04] Production.INFO: 1
[2025-04-12 06:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 06:15:04] Production.INFO: ==29128== Releasing lock...
[2025-04-12 06:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 06:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 06:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 03:15:05
[end_date_ymd] => 2025-04-12 06:15:05
[RateCDR] => 1
)
[2025-04-12 06:15:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 03:15:05' and `end` < '2025-04-12 06:15:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 06:15:12] Production.ERROR: CronJobId end10
[2025-04-12 06:15:12] Production.INFO: ==29122== Releasing lock...
[2025-04-12 06:15:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 06:15:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 06:15:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 06:15:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 06:15:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 06:15:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 06:15:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 06:15:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 06:15:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 06:15:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 06:15:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 06:15:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 06:15:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 06:15:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 06:15:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 06:15:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 06:15:13] Production.INFO: call_cost start
[2025-04-12 06:15:13] Production.INFO: call_cost end
[2025-04-12 06:15:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 06:15:14] Production.INFO: ============== Report Schedule START===========
[2025-04-12 06:15:14] Production.INFO: ============== Report Schedule END===========
[2025-04-12 06:15:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 06:15:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 06:15:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 06:15:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 06:15:14] Production.INFO: ============== Deal alert START===========
[2025-04-12 06:15:14] Production.INFO: ============== Deal alert END===========
[2025-04-12 06:15:14] Production.INFO: ==29118== Releasing lock...
[2025-04-12 06:15:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 06:15:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 06:15:18] Production.INFO: count ==129
[2025-04-12 06:15:18] Production.ERROR: pbx CDR StartTime 2025-04-12 03:15:05 - End Time 2025-04-12 06:15:05
[2025-04-12 06:15:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 06:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889658', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889658', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889658', 'tblTempVendorCDR_20' ) start
[2025-04-12 06:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889658', 'tblTempVendorCDR_20' ) end
[2025-04-12 06:15:18] Production.INFO: ProcessCDR(1,14889658,1,1,2)
[2025-04-12 06:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889658,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:15:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889658,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:15:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889658,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:15:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889658,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889658', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889658', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:15:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 06:15:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 06:15:21] Production.INFO: ==29126== Releasing lock...
[2025-04-12 06:15:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 06:15:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 11:16:02] Production.INFO: ==29186== Lock acquired, processing the job...
[2025-04-12 11:16:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 11:16:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 11:16:02] Production.INFO: neon service started
[2025-04-12 11:16:02] Production.INFO: neon service started
[2025-04-12 11:16:02] Production.INFO: ==29186== Releasing lock...
[2025-04-12 11:16:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 11:16:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 10:16:02] Production.INFO: ==29190== Lock acquired, processing the job...
[2025-04-12 10:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 10:16:02] Production.INFO: ==29190== Releasing lock...
[2025-04-12 10:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 10:16:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 06:16:02] Production.INFO: ==29188== Lock acquired, processing the job...
[2025-04-12 06:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 06:16:03] Production.INFO: ==29188== Releasing lock...
[2025-04-12 06:16:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 06:16:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 06:16:03] Production.INFO: ==29193== Lock acquired, processing the job...
[2025-04-12 06:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 06:16:03] Production.INFO: ==29195== Lock acquired, processing the job...
[2025-04-12 06:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 06:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 06:16:03] Production.INFO: ==29199== Lock acquired, processing the job...
[2025-04-12 06:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 06:16:04] Production.INFO: Account Balance Start.
[2025-04-12 06:16:04] Production.INFO: CreateAllLog Start
[2025-04-12 06:16:04] Production.INFO: 117
[2025-04-12 06:16:04] Production.INFO: Date 2025-04-08
[2025-04-12 06:16:04] Production.INFO: ==29197== Lock acquired, processing the job...
[2025-04-12 06:16:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 06:16:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:16:04] Production.INFO: ==29201== Lock acquired, processing the job...
[2025-04-12 06:16:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 06:16:04] Production.INFO: Date 2025-04-09
[2025-04-12 06:16:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:16:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 06:16:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 06:16:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 06:16:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 06:16:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 06:16:04] Production.INFO: Date 2025-04-10
[2025-04-12 06:16:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:16:04] Production.INFO: Date 2025-04-11
[2025-04-12 06:16:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:16:04] Production.INFO: Date 2025-04-12
[2025-04-12 06:16:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:16:04] Production.INFO: ==29195== Releasing lock...
[2025-04-12 06:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 06:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 06:16:04] Production.INFO: ==29203== Lock acquired, processing the job...
[2025-04-12 06:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 06:16:04] Production.INFO: Total Charge 0
[2025-04-12 06:16:04] Production.INFO: CreateAllLog End
[2025-04-12 06:16:04] Production.ERROR: done
[2025-04-12 06:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 06:16:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 06:16:04] Production.INFO: count ==12
[2025-04-12 06:16:04] Production.ERROR: done
[2025-04-12 06:16:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 06:16:04] Production.INFO: count ==23
[2025-04-12 06:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889662') start
[2025-04-12 06:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889662') end
[2025-04-12 06:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 06:16:04] Production.INFO: 1
[2025-04-12 06:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 06:16:04] Production.INFO: Account Balance End.
[2025-04-12 06:16:04] Production.INFO: ==29203== Releasing lock...
[2025-04-12 06:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 06:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 06:16:04] Production.ERROR: CronJobId end 12
[2025-04-12 06:16:04] Production.INFO: ==29199== Releasing lock...
[2025-04-12 06:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 06:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 06:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 03:16:05
[end_date_ymd] => 2025-04-12 06:16:05
[RateCDR] => 1
)
[2025-04-12 06:16:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 03:16:05' and `end` < '2025-04-12 06:16:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 06:16:11] Production.ERROR: CronJobId end10
[2025-04-12 06:16:11] Production.INFO: ==29197== Releasing lock...
[2025-04-12 06:16:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 06:16:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 06:16:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 06:16:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 06:16:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 06:16:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 06:16:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 06:16:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 06:16:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 06:16:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 06:16:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 06:16:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 06:16:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 06:16:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 06:16:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 06:16:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 06:16:14] Production.INFO: call_cost start
[2025-04-12 06:16:14] Production.INFO: call_cost end
[2025-04-12 06:16:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 06:16:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 06:16:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 06:16:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 06:16:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 06:16:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 06:16:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 06:16:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 06:16:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 06:16:15] Production.INFO: ==29193== Releasing lock...
[2025-04-12 06:16:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 06:16:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 06:16:18] Production.INFO: count ==128
[2025-04-12 06:16:18] Production.ERROR: pbx CDR StartTime 2025-04-12 03:16:05 - End Time 2025-04-12 06:16:05
[2025-04-12 06:16:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 06:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889663', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889663', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889663', 'tblTempVendorCDR_20' ) start
[2025-04-12 06:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889663', 'tblTempVendorCDR_20' ) end
[2025-04-12 06:16:18] Production.INFO: ProcessCDR(1,14889663,1,1,2)
[2025-04-12 06:16:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889663,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:16:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889663,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:16:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889663,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:16:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889663,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889663', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889663', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:16:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 06:16:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 06:16:21] Production.INFO: ==29201== Releasing lock...
[2025-04-12 06:16:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 06:16:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 11:17:01] Production.INFO: ==29258== Lock acquired, processing the job...
[2025-04-12 11:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 11:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 11:17:01] Production.INFO: neon service started
[2025-04-12 11:17:01] Production.INFO: neon service started
[2025-04-12 11:17:01] Production.INFO: ==29258== Releasing lock...
[2025-04-12 11:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 11:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 06:17:01] Production.INFO: ==29260== Lock acquired, processing the job...
[2025-04-12 06:17:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 06:17:02] Production.INFO: ==29260== Releasing lock...
[2025-04-12 06:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 06:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 10:17:02] Production.INFO: ==29262== Lock acquired, processing the job...
[2025-04-12 10:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 10:17:02] Production.INFO: ==29262== Releasing lock...
[2025-04-12 10:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 10:17:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 06:17:03] Production.INFO: ==29264== Lock acquired, processing the job...
[2025-04-12 06:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 06:17:03] Production.INFO: ==29268== Lock acquired, processing the job...
[2025-04-12 06:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 06:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 06:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 06:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 06:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 06:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 06:17:03] Production.INFO: ==29272== Lock acquired, processing the job...
[2025-04-12 06:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 06:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 06:17:03] Production.INFO: ==29266== Lock acquired, processing the job...
[2025-04-12 06:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 06:17:03] Production.INFO: ==29270== Lock acquired, processing the job...
[2025-04-12 06:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 06:17:03] Production.INFO: ==29274== Lock acquired, processing the job...
[2025-04-12 06:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 06:17:03] Production.INFO: Account Balance Start.
[2025-04-12 06:17:03] Production.INFO: CreateAllLog Start
[2025-04-12 06:17:03] Production.INFO: 117
[2025-04-12 06:17:03] Production.INFO: Date 2025-04-08
[2025-04-12 06:17:03] Production.ERROR: done
[2025-04-12 06:17:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 06:17:03] Production.INFO: Reseller ==> 0
[2025-04-12 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-12 06:17:03] Production.INFO: Date 2025-04-09
[2025-04-12 06:17:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:17:03] Production.INFO: count ==12
[2025-04-12 06:17:03] Production.INFO: Date 2025-04-10
[2025-04-12 06:17:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:17:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 06:17:03] Production.INFO: Date 2025-04-11
[2025-04-12 06:17:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:17:03] Production.INFO: count ==23
[2025-04-12 06:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889667') start
[2025-04-12 06:17:03] Production.INFO: Date 2025-04-12
[2025-04-12 06:17:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:17:03] Production.ERROR: done
[2025-04-12 06:17:03] Production.INFO: Total Charge 0
[2025-04-12 06:17:03] Production.INFO: CreateAllLog End
[2025-04-12 06:17:04] Production.INFO: ==29266== Releasing lock...
[2025-04-12 06:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 06:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 06:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889667') end
[2025-04-12 06:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 06:17:04] Production.INFO: 1
[2025-04-12 06:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 06:17:04] Production.INFO: Account Balance End.
[2025-04-12 06:17:04] Production.INFO: ==29274== Releasing lock...
[2025-04-12 06:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 06:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 06:17:04] Production.ERROR: CronJobId end 12
[2025-04-12 06:17:04] Production.INFO: ==29270== Releasing lock...
[2025-04-12 06:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 06:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 06:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 03:17:05
[end_date_ymd] => 2025-04-12 06:17:05
[RateCDR] => 1
)
[2025-04-12 06:17:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 03:17:05' and `end` < '2025-04-12 06:17:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 06:17:12] Production.ERROR: CronJobId end10
[2025-04-12 06:17:12] Production.INFO: ==29268== Releasing lock...
[2025-04-12 06:17:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 06:17:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 06:17:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 06:17:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 06:17:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 06:17:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 06:17:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 06:17:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 06:17:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 06:17:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 06:17:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 06:17:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 06:17:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 06:17:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 06:17:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 06:17:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 06:17:14] Production.INFO: call_cost start
[2025-04-12 06:17:14] Production.INFO: call_cost end
[2025-04-12 06:17:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 06:17:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 06:17:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 06:17:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 06:17:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 06:17:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 06:17:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 06:17:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 06:17:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 06:17:15] Production.INFO: ==29264== Releasing lock...
[2025-04-12 06:17:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 06:17:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 06:17:17] Production.INFO: count ==127
[2025-04-12 06:17:17] Production.ERROR: pbx CDR StartTime 2025-04-12 03:17:05 - End Time 2025-04-12 06:17:05
[2025-04-12 06:17:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 06:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889668', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889668', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889668', 'tblTempVendorCDR_20' ) start
[2025-04-12 06:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889668', 'tblTempVendorCDR_20' ) end
[2025-04-12 06:17:17] Production.INFO: ProcessCDR(1,14889668,1,1,2)
[2025-04-12 06:17:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889668,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:17:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889668,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:17:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889668,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:17:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889668,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889668', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889668', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:17:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 06:17:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 06:17:21] Production.INFO: ==29272== Releasing lock...
[2025-04-12 06:17:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 06:17:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 11:18:02] Production.INFO: ==29333== Lock acquired, processing the job...
[2025-04-12 11:18:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 11:18:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 11:18:02] Production.INFO: neon service started
[2025-04-12 11:18:02] Production.INFO: neon service started
[2025-04-12 11:18:02] Production.INFO: ==29333== Releasing lock...
[2025-04-12 11:18:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 11:18:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 06:18:02] Production.INFO: ==29335== Lock acquired, processing the job...
[2025-04-12 06:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 06:18:02] Production.INFO: ==29335== Releasing lock...
[2025-04-12 06:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 06:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 10:18:02] Production.INFO: ==29337== Lock acquired, processing the job...
[2025-04-12 10:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 10:18:02] Production.INFO: ==29337== Releasing lock...
[2025-04-12 10:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 10:18:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 06:18:03] Production.INFO: ==29340== Lock acquired, processing the job...
[2025-04-12 06:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 06:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 06:18:03] Production.INFO: ==29342== Lock acquired, processing the job...
[2025-04-12 06:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 06:18:03] Production.INFO: ==29346== Lock acquired, processing the job...
[2025-04-12 06:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 06:18:03] Production.INFO: ==29344== Lock acquired, processing the job...
[2025-04-12 06:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 06:18:03] Production.INFO: ==29348== Lock acquired, processing the job...
[2025-04-12 06:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 06:18:03] Production.INFO: Account Balance Start.
[2025-04-12 06:18:03] Production.INFO: CreateAllLog Start
[2025-04-12 06:18:03] Production.INFO: 117
[2025-04-12 06:18:03] Production.INFO: Date 2025-04-08
[2025-04-12 06:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 06:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 06:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 06:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 06:18:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 06:18:03] Production.INFO: Date 2025-04-09
[2025-04-12 06:18:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:18:03] Production.INFO: ==29350== Lock acquired, processing the job...
[2025-04-12 06:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 06:18:03] Production.INFO: Date 2025-04-10
[2025-04-12 06:18:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:18:03] Production.INFO: Date 2025-04-11
[2025-04-12 06:18:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:18:04] Production.INFO: Date 2025-04-12
[2025-04-12 06:18:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:18:04] Production.INFO: Total Charge 0
[2025-04-12 06:18:04] Production.INFO: CreateAllLog End
[2025-04-12 06:18:04] Production.INFO: ==29342== Releasing lock...
[2025-04-12 06:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 06:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 06:18:04] Production.INFO: Account Balance End.
[2025-04-12 06:18:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 06:18:04] Production.ERROR: CronJobId end 12
[2025-04-12 06:18:04] Production.INFO: ==29346== Releasing lock...
[2025-04-12 06:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 06:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 06:18:04] Production.INFO: count ==12
[2025-04-12 06:18:04] Production.ERROR: done
[2025-04-12 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-12 06:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 06:18:04] Production.INFO: count ==23
[2025-04-12 06:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889672') start
[2025-04-12 06:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889672') end
[2025-04-12 06:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 06:18:04] Production.INFO: 1
[2025-04-12 06:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 06:18:04] Production.ERROR: done
[2025-04-12 06:18:04] Production.INFO: ==29350== Releasing lock...
[2025-04-12 06:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 06:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 06:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 03:18:05
[end_date_ymd] => 2025-04-12 06:18:05
[RateCDR] => 1
)
[2025-04-12 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-12 03:18:05' and `end` < '2025-04-12 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-12 06:18:12] Production.ERROR: CronJobId end10
[2025-04-12 06:18:12] Production.INFO: ==29344== Releasing lock...
[2025-04-12 06:18:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 06:18:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 06:18:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 06:18:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 06:18:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 06:18:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 06:18:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 06:18:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 06:18:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 06:18:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 06:18:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 06:18:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 06:18:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 06:18:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 06:18:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 06:18:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 06:18:14] Production.INFO: call_cost start
[2025-04-12 06:18:14] Production.INFO: call_cost end
[2025-04-12 06:18:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 06:18:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 06:18:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 06:18:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 06:18:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 06:18:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 06:18:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 06:18:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 06:18:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 06:18:15] Production.INFO: ==29340== Releasing lock...
[2025-04-12 06:18:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 06:18:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 06:18:18] Production.INFO: count ==127
[2025-04-12 06:18:18] Production.ERROR: pbx CDR StartTime 2025-04-12 03:18:05 - End Time 2025-04-12 06:18:05
[2025-04-12 06:18:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 06:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889673', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889673', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889673', 'tblTempVendorCDR_20' ) start
[2025-04-12 06:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889673', 'tblTempVendorCDR_20' ) end
[2025-04-12 06:18:18] Production.INFO: ProcessCDR(1,14889673,1,1,2)
[2025-04-12 06:18:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889673,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:18:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889673,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:18:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889673,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:18:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889673,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889673', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889673', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:18:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 06:18:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 06:18:21] Production.INFO: ==29348== Releasing lock...
[2025-04-12 06:18:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 06:18:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 11:19:01] Production.INFO: ==29449== Lock acquired, processing the job...
[2025-04-12 11:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 11:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 11:19:01] Production.INFO: neon service started
[2025-04-12 11:19:01] Production.INFO: neon service started
[2025-04-12 11:19:01] Production.INFO: ==29449== Releasing lock...
[2025-04-12 11:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 11:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 10:19:01] Production.INFO: ==29453== Lock acquired, processing the job...
[2025-04-12 10:19:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 10:19:01] Production.INFO: ==29453== Releasing lock...
[2025-04-12 10:19:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 10:19:01] Production.INFO: 25 MB #Memory Used#
[2025-04-12 06:19:02] Production.INFO: ==29451== Lock acquired, processing the job...
[2025-04-12 06:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 06:19:02] Production.INFO: ==29451== Releasing lock...
[2025-04-12 06:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 06:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 06:19:03] Production.INFO: ==29456== Lock acquired, processing the job...
[2025-04-12 06:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 06:19:03] Production.INFO: ==29458== Lock acquired, processing the job...
[2025-04-12 06:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 06:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 06:19:03] Production.INFO: ==29460== Lock acquired, processing the job...
[2025-04-12 06:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 06:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 06:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 06:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 06:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 06:19:03] Production.INFO: ==29458== Releasing lock...
[2025-04-12 06:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 06:19:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 06:19:03] Production.INFO: ==29462== Lock acquired, processing the job...
[2025-04-12 06:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 06:19:03] Production.INFO: ==29466== Lock acquired, processing the job...
[2025-04-12 06:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 06:19:03] Production.INFO: ==29464== Lock acquired, processing the job...
[2025-04-12 06:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 06:19:03] Production.INFO: Account Balance Start.
[2025-04-12 06:19:03] Production.INFO: CreateAllLog Start
[2025-04-12 06:19:03] Production.INFO: 117
[2025-04-12 06:19:03] Production.INFO: Date 2025-04-08
[2025-04-12 06:19:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:19:03] Production.INFO: Date 2025-04-09
[2025-04-12 06:19:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 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-12 06:19:03] Production.INFO: Date 2025-04-10
[2025-04-12 06:19:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:19:03] Production.INFO: count ==12
[2025-04-12 06:19:03] Production.INFO: Date 2025-04-11
[2025-04-12 06:19:03] Production.INFO: Reseller ==> 0
[2025-04-12 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-12 06:19:03] Production.INFO: count ==23
[2025-04-12 06:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889677') start
[2025-04-12 06:19:03] Production.INFO: Date 2025-04-12
[2025-04-12 06:19:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889677') end
[2025-04-12 06:19:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 06:19:03] Production.INFO: 1
[2025-04-12 06:19:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 06:19:03] Production.INFO: Total Charge 0
[2025-04-12 06:19:03] Production.INFO: CreateAllLog End
[2025-04-12 06:19:04] Production.INFO: ==29466== Releasing lock...
[2025-04-12 06:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 06:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 06:19:04] Production.ERROR: done
[2025-04-12 06:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 06:19:04] Production.INFO: Account Balance End.
[2025-04-12 06:19:04] Production.ERROR: done
[2025-04-12 06:19:04] Production.ERROR: CronJobId end 12
[2025-04-12 06:19:04] Production.INFO: ==29462== Releasing lock...
[2025-04-12 06:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 06:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 06:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 03:19:05
[end_date_ymd] => 2025-04-12 06:19:05
[RateCDR] => 1
)
[2025-04-12 06:19:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 03:19:05' and `end` < '2025-04-12 06:19:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 06:19:11] Production.ERROR: CronJobId end10
[2025-04-12 06:19:11] Production.INFO: ==29460== Releasing lock...
[2025-04-12 06:19:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 06:19:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 06:19:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 06:19:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 06:19:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 06:19:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 06:19:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 06:19:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 06:19:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 06:19:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 06:19:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 06:19:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 06:19:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 06:19:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 06:19:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 06:19:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 06:19:14] Production.INFO: call_cost start
[2025-04-12 06:19:14] Production.INFO: call_cost end
[2025-04-12 06:19:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 06:19:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 06:19:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 06:19:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 06:19:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 06:19:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 06:19:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 06:19:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 06:19:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 06:19:15] Production.INFO: ==29456== Releasing lock...
[2025-04-12 06:19:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 06:19:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 06:19:18] Production.INFO: count ==127
[2025-04-12 06:19:18] Production.ERROR: pbx CDR StartTime 2025-04-12 03:19:05 - End Time 2025-04-12 06:19:05
[2025-04-12 06:19:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 06:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889678', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889678', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889678', 'tblTempVendorCDR_20' ) start
[2025-04-12 06:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889678', 'tblTempVendorCDR_20' ) end
[2025-04-12 06:19:18] Production.INFO: ProcessCDR(1,14889678,1,1,2)
[2025-04-12 06:19:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889678,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:19:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889678,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:19:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889678,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:19:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889678,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889678', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889678', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:19:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 06:19:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 06:19:21] Production.INFO: ==29464== Releasing lock...
[2025-04-12 06:19:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 06:19:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 11:20:02] Production.INFO: ==29520== Lock acquired, processing the job...
[2025-04-12 11:20:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 11:20:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 11:20:02] Production.INFO: neon service started
[2025-04-12 11:20:02] Production.INFO: neon service started
[2025-04-12 11:20:02] Production.INFO: ==29520== Releasing lock...
[2025-04-12 11:20:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 11:20:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 06:20:02] Production.INFO: ==29522== Lock acquired, processing the job...
[2025-04-12 06:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 06:20:02] Production.INFO: ==29522== Releasing lock...
[2025-04-12 06:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 06:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 10:20:02] Production.INFO: ==29524== Lock acquired, processing the job...
[2025-04-12 10:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 10:20:02] Production.INFO: ==29524== Releasing lock...
[2025-04-12 10:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 10:20:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 06:20:03] Production.INFO: ==29530== Lock acquired, processing the job...
[2025-04-12 06:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 06:20:04] Production.INFO: ==29536== Lock acquired, processing the job...
[2025-04-12 06:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 06:20:04] Production.INFO: ==29526== Lock acquired, processing the job...
[2025-04-12 06:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 06:20:04] Production.INFO: ==29528== Lock acquired, processing the job...
[2025-04-12 06:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 06:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 06:20:04] Production.INFO: ==29541== Lock acquired, processing the job...
[2025-04-12 06:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 06:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 06:20:04] Production.INFO: ==29532== Lock acquired, processing the job...
[2025-04-12 06:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 06:20:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 06:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 06:20:04] Production.ERROR: CronJob PID - 29528
[2025-04-12 06:20:04] Production.ERROR: CronJob Title - System Alerts
[2025-04-12 06:20:04] Production.ERROR: CronJob ID - 5
[2025-04-12 06:20:04] Production.ERROR: CronJob Last Run Time 2025-04-12 06:20:00
[2025-04-12 06:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 06:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 06:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 06:20:04] Production.ERROR: CronJob PID - 29530
[2025-04-12 06:20:04] Production.ERROR: CronJob Title - Account Block
[2025-04-12 06:20:04] Production.ERROR: CronJob ID - 7
[2025-04-12 06:20:04] Production.ERROR: CronJob Last Run Time 2025-04-12 06:20:00
[2025-04-12 06:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 06:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 06:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 06:20:04] Production.ERROR: CronJob PID - 29536
[2025-04-12 06:20:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-04-12 06:20:04] Production.ERROR: CronJob ID - 16
[2025-04-12 06:20:04] Production.ERROR: CronJob Last Run Time 2025-04-12 06:20:00
[2025-04-12 06:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 06:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 06:20:04] Production.INFO: ==29534== Lock acquired, processing the job...
[2025-04-12 06:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 06:20:04] Production.INFO: ==29539== Lock acquired, processing the job...
[2025-04-12 06:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 06:20:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 06:20:04] Production.INFO: ==29526== Releasing lock...
[2025-04-12 06:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 06:20:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 06:20:04] Production.INFO: ==29530== Releasing lock...
[2025-04-12 06:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 06:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 06:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 06:20:04] Production.INFO: Account Balance Start.
[2025-04-12 06:20:04] Production.INFO: CreateAllLog Start
[2025-04-12 06:20:04] Production.INFO: 117
[2025-04-12 06:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 06:20:04] Production.INFO: Date 2025-04-08
[2025-04-12 06:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 06:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 06:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 06:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 06:20:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:20:04] Production.INFO: count ==12
[2025-04-12 06:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 06:20:04] Production.INFO: count ==23
[2025-04-12 06:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889681') start
[2025-04-12 06:20:04] Production.INFO: Date 2025-04-09
[2025-04-12 06:20:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:20:04] Production.ERROR: done
[2025-04-12 06:20:04] Production.INFO: Date 2025-04-10
[2025-04-12 06:20:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 06:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889681') end
[2025-04-12 06:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 06:20:04] Production.INFO: 1
[2025-04-12 06:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 06:20:04] Production.INFO: Date 2025-04-11
[2025-04-12 06:20:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:20:04] Production.INFO: Date 2025-04-12
[2025-04-12 06:20:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:20:04] Production.INFO: ==29541== Releasing lock...
[2025-04-12 06:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 06:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 06:20:04] Production.INFO: Total Charge 0
[2025-04-12 06:20:04] Production.INFO: CreateAllLog End
[2025-04-12 06:20:04] Production.ERROR: done
[2025-04-12 06:20:04] Production.ERROR: done
[2025-04-12 06:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 06:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14889683', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 06:20:05] Production.INFO: Account Balance End.
[2025-04-12 06:20:05] Production.ERROR: CronJobId end 12
[2025-04-12 06:20:05] Production.INFO: ==29534== Releasing lock...
[2025-04-12 06:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 06:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 06:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 03:20:06
[end_date_ymd] => 2025-04-12 06:20:06
[RateCDR] => 1
)
[2025-04-12 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-12 03:20:06' and `end` < '2025-04-12 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-12 06:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14889683', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 06:20:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 06:20:09] Production.INFO: ProcessCDR(1,14889683,1,1,2)
[2025-04-12 06:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14889683,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14889683,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:20:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 06:20:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 06:20:10] Production.INFO: ==29539== Releasing lock...
[2025-04-12 06:20:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 06:20:10] Production.INFO: 26 MB #Memory Used#
[2025-04-12 06:20:13] Production.ERROR: CronJobId end10
[2025-04-12 06:20:13] Production.INFO: ==29532== Releasing lock...
[2025-04-12 06:20:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 06:20:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 06:20:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 06:20:16] Production.INFO: ============== Balance Warning START===========
[2025-04-12 06:20:16] Production.INFO: ============== Balance Warning END===========
[2025-04-12 06:20:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 06:20:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 06:20:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 06:20:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 06:20:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 06:20:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 06:20:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 06:20:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 06:20:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 06:20:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 06:20:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 06:20:16] Production.INFO: call_cost start
[2025-04-12 06:20:16] Production.INFO: call_cost end
[2025-04-12 06:20:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 06:20:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 06:20:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 06:20:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 06:20:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 06:20:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 06:20:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 06:20:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 06:20:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 06:20:17] Production.INFO: ==29528== Releasing lock...
[2025-04-12 06:20:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 06:20:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 06:20:18] Production.INFO: count ==119
[2025-04-12 06:20:18] Production.ERROR: pbx CDR StartTime 2025-04-12 03:20:06 - End Time 2025-04-12 06:20:06
[2025-04-12 06:20:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 06:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889684', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889684', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889684', 'tblTempVendorCDR_20' ) start
[2025-04-12 06:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889684', 'tblTempVendorCDR_20' ) end
[2025-04-12 06:20:18] Production.INFO: ProcessCDR(1,14889684,1,1,2)
[2025-04-12 06:20:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889684,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:20:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889684,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:20:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889684,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:20:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889684,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889684', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889684', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:20:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 06:20:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 06:20:22] Production.INFO: ==29536== Releasing lock...
[2025-04-12 06:20:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 06:20:22] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 11:21:01] Production.INFO: ==29593== Lock acquired, processing the job...
[2025-04-12 11:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 11:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 11:21:01] Production.INFO: neon service started
[2025-04-12 11:21:01] Production.INFO: neon service started
[2025-04-12 11:21:01] Production.INFO: ==29593== Releasing lock...
[2025-04-12 11:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 11:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 06:21:01] Production.INFO: ==29595== Lock acquired, processing the job...
[2025-04-12 06:21:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 06:21:02] Production.INFO: ==29595== Releasing lock...
[2025-04-12 06:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 06:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 10:21:02] Production.INFO: ==29597== Lock acquired, processing the job...
[2025-04-12 10:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 10:21:02] Production.INFO: ==29597== Releasing lock...
[2025-04-12 10:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 10:21:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 06:21:03] Production.INFO: ==29608== Lock acquired, processing the job...
[2025-04-12 06:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 06:21:03] Production.INFO: ==29610== Lock acquired, processing the job...
[2025-04-12 06:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 06:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 06:21:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 06:21:03] Production.INFO: ==29601== Lock acquired, processing the job...
[2025-04-12 06:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 06:21:03] Production.INFO: count ==12
[2025-04-12 06:21:03] Production.INFO: ==29599== Lock acquired, processing the job...
[2025-04-12 06:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 06:21:03] Production.INFO: ==29603== Lock acquired, processing the job...
[2025-04-12 06:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 06:21:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 06:21:03] Production.INFO: count ==23
[2025-04-12 06:21:03] Production.INFO: ==29605== Lock acquired, processing the job...
[2025-04-12 06:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 06:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889685') start
[2025-04-12 06:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 06:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 06:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 06:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 06:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 06:21:03] Production.INFO: Account Balance Start.
[2025-04-12 06:21:03] Production.INFO: CreateAllLog Start
[2025-04-12 06:21:03] Production.INFO: 117
[2025-04-12 06:21:03] Production.ERROR: done
[2025-04-12 06:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889685') end
[2025-04-12 06:21:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 06:21:03] Production.INFO: 1
[2025-04-12 06:21:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 06:21:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 06:21:03] Production.INFO: Date 2025-04-08
[2025-04-12 06:21:03] Production.INFO: ==29601== Releasing lock...
[2025-04-12 06:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 06:21:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 06:21:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:21:03] Production.INFO: Date 2025-04-09
[2025-04-12 06:21:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:21:03] Production.INFO: Date 2025-04-10
[2025-04-12 06:21:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:21:03] Production.INFO: Date 2025-04-11
[2025-04-12 06:21:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:21:03] Production.INFO: Date 2025-04-12
[2025-04-12 06:21:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:21:03] Production.INFO: ==29610== Releasing lock...
[2025-04-12 06:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 06:21:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 06:21:03] Production.ERROR: done
[2025-04-12 06:21:03] Production.INFO: Total Charge 0
[2025-04-12 06:21:03] Production.INFO: CreateAllLog End
[2025-04-12 06:21:04] Production.INFO: Account Balance End.
[2025-04-12 06:21:04] Production.ERROR: CronJobId end 12
[2025-04-12 06:21:04] Production.INFO: ==29605== Releasing lock...
[2025-04-12 06:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 06:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 06:21:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 03:21:04
[end_date_ymd] => 2025-04-12 06:21:04
[RateCDR] => 1
)
[2025-04-12 06: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-12 03:21:04' and `end` < '2025-04-12 06: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-12 06:21: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-12 06:21:10] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 06:21:10] Production.INFO: ============== Balance Warning START===========
[2025-04-12 06:21:10] Production.INFO: ============== Balance Warning END===========
[2025-04-12 06:21:10] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 06:21:10] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 06:21:10] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 06:21:10] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 06:21:10] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 06:21:10] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 06:21:10] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 06:21:10] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 06:21:10] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 06:21:10] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 06:21:10] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 06:21:10] Production.INFO: call_cost start
[2025-04-12 06:21:10] Production.INFO: call_cost end
[2025-04-12 06:21:11] Production.ERROR: CronJobId end10
[2025-04-12 06:21:11] Production.INFO: ==29603== Releasing lock...
[2025-04-12 06:21:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 06:21:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 06:21:11] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 06:21:11] Production.INFO: ============== Report Schedule START===========
[2025-04-12 06:21:11] Production.INFO: ============== Report Schedule END===========
[2025-04-12 06:21:11] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 06:21:11] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 06:21:11] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 06:21:11] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 06:21:11] Production.INFO: ============== Deal alert START===========
[2025-04-12 06:21:11] Production.INFO: ============== Deal alert END===========
[2025-04-12 06:21:11] Production.INFO: ==29599== Releasing lock...
[2025-04-12 06:21:11] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 06:21:11] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 06:21:17] Production.INFO: count ==119
[2025-04-12 06:21:17] Production.ERROR: pbx CDR StartTime 2025-04-12 03:21:04 - End Time 2025-04-12 06:21:04
[2025-04-12 06:21:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 06:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889689', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889689', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889689', 'tblTempVendorCDR_20' ) start
[2025-04-12 06:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889689', 'tblTempVendorCDR_20' ) end
[2025-04-12 06:21:17] Production.INFO: ProcessCDR(1,14889689,1,1,2)
[2025-04-12 06:21:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889689,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:21:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889689,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:21:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889689,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:21:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889689,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:21:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889689', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:21:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889689', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:21:20] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 06:21:20] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 06:21:20] Production.INFO: ==29608== Releasing lock...
[2025-04-12 06:21:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 06:21:20] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 11:22:01] Production.INFO: ==29670== Lock acquired, processing the job...
[2025-04-12 11:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 11:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 11:22:01] Production.INFO: neon service started
[2025-04-12 11:22:01] Production.INFO: neon service started
[2025-04-12 11:22:01] Production.INFO: ==29670== Releasing lock...
[2025-04-12 11:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 11:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 10:22:02] Production.INFO: ==29674== Lock acquired, processing the job...
[2025-04-12 10:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 10:22:02] Production.INFO: ==29674== Releasing lock...
[2025-04-12 10:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 10:22:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 06:22:02] Production.INFO: ==29672== Lock acquired, processing the job...
[2025-04-12 06:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 06:22:02] Production.INFO: ==29672== Releasing lock...
[2025-04-12 06:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 06:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 06:22:03] Production.INFO: ==29681== Lock acquired, processing the job...
[2025-04-12 06:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 06:22:03] Production.INFO: ==29685== Lock acquired, processing the job...
[2025-04-12 06:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 06:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 06:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 06:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 06:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 06:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 06:22:04] Production.INFO: ==29677== Lock acquired, processing the job...
[2025-04-12 06:22:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 06:22:04] Production.INFO: ==29679== Lock acquired, processing the job...
[2025-04-12 06:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 06:22:04] Production.INFO: ==29683== Lock acquired, processing the job...
[2025-04-12 06:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 06:22:04] Production.INFO: ==29687== Lock acquired, processing the job...
[2025-04-12 06:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 06:22:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 06:22:04] Production.INFO: Account Balance Start.
[2025-04-12 06:22:04] Production.INFO: CreateAllLog Start
[2025-04-12 06:22:04] Production.INFO: 117
[2025-04-12 06:22:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 06:22:04] Production.INFO: count ==12
[2025-04-12 06:22:04] Production.INFO: Date 2025-04-08
[2025-04-12 06:22:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 06:22:04] Production.INFO: count ==23
[2025-04-12 06:22:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889693') start
[2025-04-12 06:22:04] Production.ERROR: done
[2025-04-12 06:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 06:22:04] Production.INFO: ==29679== Releasing lock...
[2025-04-12 06:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 06:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 06:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889693') end
[2025-04-12 06:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 06:22:04] Production.INFO: 1
[2025-04-12 06:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 06:22:04] Production.INFO: Date 2025-04-09
[2025-04-12 06:22:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:22:04] Production.INFO: Date 2025-04-10
[2025-04-12 06:22:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:22:04] Production.INFO: Date 2025-04-11
[2025-04-12 06:22:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:22:04] Production.INFO: Date 2025-04-12
[2025-04-12 06:22:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:22:04] Production.INFO: Total Charge 0
[2025-04-12 06:22:04] Production.INFO: ==29687== Releasing lock...
[2025-04-12 06:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 06:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 06:22:04] Production.ERROR: done
[2025-04-12 06:22:04] Production.INFO: CreateAllLog End
[2025-04-12 06:22:04] Production.INFO: Account Balance End.
[2025-04-12 06:22:05] Production.ERROR: CronJobId end 12
[2025-04-12 06:22:05] Production.INFO: ==29683== Releasing lock...
[2025-04-12 06:22:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 06:22:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 06:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 03:22:05
[end_date_ymd] => 2025-04-12 06:22:05
[RateCDR] => 1
)
[2025-04-12 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-12 03:22:05' and `end` < '2025-04-12 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-12 06:22:12] Production.ERROR: CronJobId end10
[2025-04-12 06:22:12] Production.INFO: ==29681== Releasing lock...
[2025-04-12 06:22:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 06:22:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 06:22:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 06:22:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 06:22:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 06:22:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 06:22:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 06:22:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 06:22:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 06:22:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 06:22:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 06:22:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 06:22:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 06:22:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 06:22:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 06:22:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 06:22:14] Production.INFO: call_cost start
[2025-04-12 06:22:14] Production.INFO: call_cost end
[2025-04-12 06:22:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 06:22:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 06:22:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 06:22:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 06:22:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 06:22:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 06:22:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 06:22:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 06:22:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 06:22:15] Production.INFO: ==29677== Releasing lock...
[2025-04-12 06:22:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 06:22:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 06:22:18] Production.INFO: count ==119
[2025-04-12 06:22:18] Production.ERROR: pbx CDR StartTime 2025-04-12 03:22:05 - End Time 2025-04-12 06:22:05
[2025-04-12 06:22:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 06:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889694', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889694', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889694', 'tblTempVendorCDR_20' ) start
[2025-04-12 06:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889694', 'tblTempVendorCDR_20' ) end
[2025-04-12 06:22:18] Production.INFO: ProcessCDR(1,14889694,1,1,2)
[2025-04-12 06:22:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889694,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:22:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889694,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:22:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889694,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:22:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889694,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889694', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889694', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:22:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 06:22:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 06:22:21] Production.INFO: ==29685== Releasing lock...
[2025-04-12 06:22:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 06:22:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 11:23:01] Production.INFO: ==29740== Lock acquired, processing the job...
[2025-04-12 11:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 11:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 11:23:01] Production.INFO: neon service started
[2025-04-12 11:23:01] Production.INFO: neon service started
[2025-04-12 11:23:01] Production.INFO: ==29740== Releasing lock...
[2025-04-12 11:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 11:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 06:23:02] Production.INFO: ==29742== Lock acquired, processing the job...
[2025-04-12 06:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 10:23:02] Production.INFO: ==29744== Lock acquired, processing the job...
[2025-04-12 10:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 10:23:02] Production.INFO: ==29744== Releasing lock...
[2025-04-12 10:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 10:23:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 06:23:02] Production.INFO: ==29742== Releasing lock...
[2025-04-12 06:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 06:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 06:23:03] Production.INFO: ==29751== Lock acquired, processing the job...
[2025-04-12 06:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 06:23:03] Production.INFO: ==29755== Lock acquired, processing the job...
[2025-04-12 06:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 06:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 06:23:03] Production.INFO: ==29747== Lock acquired, processing the job...
[2025-04-12 06:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 06:23:03] Production.INFO: ==29749== Lock acquired, processing the job...
[2025-04-12 06:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 06:23:03] Production.INFO: ==29753== Lock acquired, processing the job...
[2025-04-12 06:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 06:23:03] Production.INFO: ==29757== Lock acquired, processing the job...
[2025-04-12 06:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 06:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 06:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 06:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 06:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 06:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 06:23:03] Production.INFO: Account Balance Start.
[2025-04-12 06:23:03] Production.INFO: CreateAllLog Start
[2025-04-12 06:23:03] Production.INFO: 117
[2025-04-12 06:23:03] Production.INFO: Date 2025-04-08
[2025-04-12 06:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 06:23:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:23:03] Production.INFO: count ==12
[2025-04-12 06:23:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 06:23:03] Production.INFO: count ==23
[2025-04-12 06:23:03] Production.ERROR: done
[2025-04-12 06:23:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 06:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889698') start
[2025-04-12 06:23:03] Production.INFO: Date 2025-04-09
[2025-04-12 06:23:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:23:03] Production.INFO: ==29749== Releasing lock...
[2025-04-12 06:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 06:23:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 06:23:03] Production.INFO: Date 2025-04-10
[2025-04-12 06:23:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:23:04] Production.INFO: Date 2025-04-11
[2025-04-12 06:23:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889698') end
[2025-04-12 06:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 06:23:04] Production.INFO: 1
[2025-04-12 06:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 06:23:04] Production.INFO: Date 2025-04-12
[2025-04-12 06:23:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:23:04] Production.INFO: Total Charge 0
[2025-04-12 06:23:04] Production.INFO: CreateAllLog End
[2025-04-12 06:23:04] Production.INFO: ==29757== Releasing lock...
[2025-04-12 06:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 06:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 06:23:04] Production.ERROR: done
[2025-04-12 06:23:04] Production.INFO: Account Balance End.
[2025-04-12 06:23:04] Production.ERROR: CronJobId end 12
[2025-04-12 06:23:04] Production.INFO: ==29753== Releasing lock...
[2025-04-12 06:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 06:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 06:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 03:23:05
[end_date_ymd] => 2025-04-12 06:23:05
[RateCDR] => 1
)
[2025-04-12 06:23:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 03:23:05' and `end` < '2025-04-12 06:23:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 06:23:11] Production.ERROR: CronJobId end10
[2025-04-12 06:23:11] Production.INFO: ==29751== Releasing lock...
[2025-04-12 06:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 06:23:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 06:23:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 06:23:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 06:23:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 06:23:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 06:23:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 06:23:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 06:23:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 06:23:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 06:23:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 06:23:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 06:23:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 06:23:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 06:23:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 06:23:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 06:23:14] Production.INFO: call_cost start
[2025-04-12 06:23:14] Production.INFO: call_cost end
[2025-04-12 06:23:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 06:23:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 06:23:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 06:23:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 06:23:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 06:23:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 06:23:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 06:23:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 06:23:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 06:23:15] Production.INFO: ==29747== Releasing lock...
[2025-04-12 06:23:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 06:23:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 06:23:18] Production.INFO: count ==119
[2025-04-12 06:23:18] Production.ERROR: pbx CDR StartTime 2025-04-12 03:23:05 - End Time 2025-04-12 06:23:05
[2025-04-12 06:23:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 06:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889699', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889699', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889699', 'tblTempVendorCDR_20' ) start
[2025-04-12 06:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889699', 'tblTempVendorCDR_20' ) end
[2025-04-12 06:23:18] Production.INFO: ProcessCDR(1,14889699,1,1,2)
[2025-04-12 06:23:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889699,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:23:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889699,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:23:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889699,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:23:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889699,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889699', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889699', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:23:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 06:23:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 06:23:21] Production.INFO: ==29755== Releasing lock...
[2025-04-12 06:23:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 06:23:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 11:24:02] Production.INFO: ==29814== Lock acquired, processing the job...
[2025-04-12 11:24:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 11:24:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 11:24:02] Production.INFO: neon service started
[2025-04-12 11:24:02] Production.INFO: neon service started
[2025-04-12 11:24:02] Production.INFO: ==29814== Releasing lock...
[2025-04-12 11:24:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 11:24:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 06:24:02] Production.INFO: ==29816== Lock acquired, processing the job...
[2025-04-12 06:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 06:24:02] Production.INFO: ==29816== Releasing lock...
[2025-04-12 06:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 06:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 10:24:02] Production.INFO: ==29818== Lock acquired, processing the job...
[2025-04-12 10:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 10:24:02] Production.INFO: ==29818== Releasing lock...
[2025-04-12 10:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 10:24:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 06:24:03] Production.INFO: ==29825== Lock acquired, processing the job...
[2025-04-12 06:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 06:24:03] Production.INFO: ==29827== Lock acquired, processing the job...
[2025-04-12 06:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 06:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 06:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 06:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 06:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 06:24:03] Production.INFO: Account Balance Start.
[2025-04-12 06:24:03] Production.INFO: CreateAllLog Start
[2025-04-12 06:24:03] Production.INFO: 117
[2025-04-12 06:24:03] Production.INFO: Date 2025-04-08
[2025-04-12 06:24:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:24:03] Production.INFO: Date 2025-04-09
[2025-04-12 06:24:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:24:03] Production.INFO: Date 2025-04-10
[2025-04-12 06:24:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:24:04] Production.INFO: ==29821== Lock acquired, processing the job...
[2025-04-12 06:24:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 06:24:04] Production.INFO: Date 2025-04-11
[2025-04-12 06:24:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:24:04] Production.INFO: Date 2025-04-12
[2025-04-12 06:24:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:24:04] Production.INFO: Total Charge 0
[2025-04-12 06:24:04] Production.INFO: CreateAllLog End
[2025-04-12 06:24:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 06:24:04] Production.INFO: ==29823== Lock acquired, processing the job...
[2025-04-12 06:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 06:24:04] Production.INFO: ==29829== Lock acquired, processing the job...
[2025-04-12 06:24:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 06:24:04] Production.INFO: ==29831== Lock acquired, processing the job...
[2025-04-12 06:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 06:24:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 06:24:04] Production.INFO: Account Balance End.
[2025-04-12 06:24:04] Production.ERROR: CronJobId end 12
[2025-04-12 06:24:04] Production.INFO: ==29827== Releasing lock...
[2025-04-12 06:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 06:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 06:24:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 06:24:04] Production.INFO: count ==12
[2025-04-12 06:24:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 06:24:04] Production.INFO: count ==23
[2025-04-12 06:24:04] Production.ERROR: done
[2025-04-12 06:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 06:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889702') start
[2025-04-12 06:24:04] Production.INFO: ==29823== Releasing lock...
[2025-04-12 06:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 06:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 06:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889702') end
[2025-04-12 06:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 06:24:04] Production.INFO: 1
[2025-04-12 06:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 06:24:04] Production.ERROR: done
[2025-04-12 06:24:04] Production.INFO: ==29831== Releasing lock...
[2025-04-12 06:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 06:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 06:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 03:24:05
[end_date_ymd] => 2025-04-12 06:24:05
[RateCDR] => 1
)
[2025-04-12 06:24:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 03:24:05' and `end` < '2025-04-12 06:24:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 06:24:13] Production.ERROR: CronJobId end10
[2025-04-12 06:24:13] Production.INFO: ==29825== Releasing lock...
[2025-04-12 06:24:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 06:24:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 06:24:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 06:24:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 06:24:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 06:24:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 06:24:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 06:24:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 06:24:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 06:24:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 06:24:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 06:24:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 06:24:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 06:24:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 06:24:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 06:24:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 06:24:14] Production.INFO: call_cost start
[2025-04-12 06:24:14] Production.INFO: call_cost end
[2025-04-12 06:24:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 06:24:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 06:24:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 06:24:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 06:24:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 06:24:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 06:24:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 06:24:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 06:24:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 06:24:15] Production.INFO: ==29821== Releasing lock...
[2025-04-12 06:24:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 06:24:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 06:24:18] Production.INFO: count ==120
[2025-04-12 06:24:18] Production.ERROR: pbx CDR StartTime 2025-04-12 03:24:05 - End Time 2025-04-12 06:24:05
[2025-04-12 06:24:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 06:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889704', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889704', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889704', 'tblTempVendorCDR_20' ) start
[2025-04-12 06:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889704', 'tblTempVendorCDR_20' ) end
[2025-04-12 06:24:18] Production.INFO: ProcessCDR(1,14889704,1,1,2)
[2025-04-12 06:24:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889704,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:24:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889704,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:24:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889704,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:24:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889704,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:24:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889704', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:24:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889704', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:24:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 06:24:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 06:24:23] Production.INFO: ==29829== Releasing lock...
[2025-04-12 06:24:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 06:24:23] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 11:25:01] Production.INFO: ==29890== Lock acquired, processing the job...
[2025-04-12 11:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 11:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 11:25:01] Production.INFO: neon service started
[2025-04-12 11:25:01] Production.INFO: neon service started
[2025-04-12 11:25:01] Production.INFO: ==29890== Releasing lock...
[2025-04-12 11:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 11:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 06:25:02] Production.INFO: ==29892== Lock acquired, processing the job...
[2025-04-12 06:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 10:25:02] Production.INFO: ==29894== Lock acquired, processing the job...
[2025-04-12 10:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 10:25:02] Production.INFO: ==29894== Releasing lock...
[2025-04-12 10:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 10:25:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 06:25:02] Production.INFO: ==29892== Releasing lock...
[2025-04-12 06:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 06:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 06:25:03] Production.INFO: ==29897== Lock acquired, processing the job...
[2025-04-12 06:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 06:25:03] Production.INFO: ==29899== Lock acquired, processing the job...
[2025-04-12 06:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 06:25:03] Production.INFO: ==29903== Lock acquired, processing the job...
[2025-04-12 06:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 06:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 06:25:03] Production.INFO: Account Balance Start.
[2025-04-12 06:25:03] Production.INFO: CreateAllLog Start
[2025-04-12 06:25:03] Production.INFO: 117
[2025-04-12 06:25:03] Production.INFO: Date 2025-04-08
[2025-04-12 06:25:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:25:03] Production.INFO: Date 2025-04-09
[2025-04-12 06:25:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:25:03] Production.INFO: Date 2025-04-10
[2025-04-12 06:25:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:25:03] Production.INFO: Date 2025-04-11
[2025-04-12 06:25:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:25:03] Production.INFO: ==29899== Releasing lock...
[2025-04-12 06:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 06:25:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 06:25:03] Production.INFO: Date 2025-04-12
[2025-04-12 06:25:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:25:03] Production.INFO: Total Charge 0
[2025-04-12 06:25:03] Production.INFO: CreateAllLog End
[2025-04-12 06:25:03] Production.INFO: ==29901== Lock acquired, processing the job...
[2025-04-12 06:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 06:25:03] Production.INFO: ==29905== Lock acquired, processing the job...
[2025-04-12 06:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 06:25:03] Production.INFO: Account Balance End.
[2025-04-12 06:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 06:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 06:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 06:25:03] Production.ERROR: CronJobId end 12
[2025-04-12 06:25:03] Production.INFO: ==29903== Releasing lock...
[2025-04-12 06:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 06:25:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 06:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 06:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 06:25:03] Production.INFO: ==29907== Lock acquired, processing the job...
[2025-04-12 06:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 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-12 06:25:04] Production.INFO: count ==12
[2025-04-12 06:25:04] Production.ERROR: done
[2025-04-12 06:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 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-12 06:25:04] Production.INFO: count ==23
[2025-04-12 06:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889708') start
[2025-04-12 06:25:04] Production.ERROR: done
[2025-04-12 06:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889708') end
[2025-04-12 06:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 06:25:04] Production.INFO: 1
[2025-04-12 06:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 06:25:04] Production.INFO: ==29907== Releasing lock...
[2025-04-12 06:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 06:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 06:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 03:25:05
[end_date_ymd] => 2025-04-12 06:25:05
[RateCDR] => 1
)
[2025-04-12 06:25:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 03:25:05' and `end` < '2025-04-12 06:25:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 06:25:11] Production.ERROR: CronJobId end10
[2025-04-12 06:25:11] Production.INFO: ==29901== Releasing lock...
[2025-04-12 06:25:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 06:25:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 06:25:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 06:25:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 06:25:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 06:25:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 06:25:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 06:25:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 06:25:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 06:25:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 06:25:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 06:25:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 06:25:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 06:25:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 06:25:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 06:25:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 06:25:14] Production.INFO: call_cost start
[2025-04-12 06:25:14] Production.INFO: call_cost end
[2025-04-12 06:25:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 06:25:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 06:25:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 06:25:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 06:25:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 06:25:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 06:25:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 06:25:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 06:25:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 06:25:15] Production.INFO: ==29897== Releasing lock...
[2025-04-12 06:25:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 06:25:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 06:25:18] Production.INFO: count ==120
[2025-04-12 06:25:18] Production.ERROR: pbx CDR StartTime 2025-04-12 03:25:05 - End Time 2025-04-12 06:25:05
[2025-04-12 06:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 06:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889709', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889709', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889709', 'tblTempVendorCDR_20' ) start
[2025-04-12 06:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889709', 'tblTempVendorCDR_20' ) end
[2025-04-12 06:25:18] Production.INFO: ProcessCDR(1,14889709,1,1,2)
[2025-04-12 06:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889709,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:25:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889709,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:25:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889709,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:25:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889709,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889709', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889709', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:25:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 06:25:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 06:25:22] Production.INFO: ==29905== Releasing lock...
[2025-04-12 06:25:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 06:25:22] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 11:26:02] Production.INFO: ==29963== Lock acquired, processing the job...
[2025-04-12 11:26:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 11:26:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 11:26:02] Production.INFO: neon service started
[2025-04-12 11:26:02] Production.INFO: neon service started
[2025-04-12 11:26:02] Production.INFO: ==29963== Releasing lock...
[2025-04-12 11:26:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 11:26:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 06:26:02] Production.INFO: ==29965== Lock acquired, processing the job...
[2025-04-12 06:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 06:26:02] Production.INFO: ==29965== Releasing lock...
[2025-04-12 06:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 06:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 10:26:02] Production.INFO: ==29968== Lock acquired, processing the job...
[2025-04-12 10:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 10:26:02] Production.INFO: ==29968== Releasing lock...
[2025-04-12 10:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 10:26:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 06:26:03] Production.INFO: ==29978== Lock acquired, processing the job...
[2025-04-12 06:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 06:26:03] Production.INFO: ==29970== Lock acquired, processing the job...
[2025-04-12 06:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 06:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 06:26:03] Production.INFO: ==29980== Lock acquired, processing the job...
[2025-04-12 06:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 06:26:03] Production.INFO: ==29972== Lock acquired, processing the job...
[2025-04-12 06:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 06:26:03] Production.INFO: ==29974== Lock acquired, processing the job...
[2025-04-12 06:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 06:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 06:26:03] Production.INFO: ==29976== Lock acquired, processing the job...
[2025-04-12 06:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 06:26:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 06:26:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 06:26:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 06:26:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 06:26:04] Production.INFO: Account Balance Start.
[2025-04-12 06:26:04] Production.INFO: CreateAllLog Start
[2025-04-12 06:26:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 06:26:04] Production.INFO: 117
[2025-04-12 06:26:04] Production.INFO: count ==12
[2025-04-12 06:26:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 06:26:04] Production.INFO: ==29972== Releasing lock...
[2025-04-12 06:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 06:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 06:26:04] Production.INFO: count ==23
[2025-04-12 06:26:04] Production.ERROR: done
[2025-04-12 06:26:04] Production.INFO: Date 2025-04-08
[2025-04-12 06:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 06:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889712') start
[2025-04-12 06:26:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:26:04] Production.INFO: Date 2025-04-09
[2025-04-12 06:26:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:26:04] Production.INFO: Date 2025-04-10
[2025-04-12 06:26:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:26:04] Production.INFO: Date 2025-04-11
[2025-04-12 06:26:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:26:04] Production.INFO: Date 2025-04-12
[2025-04-12 06:26:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:26:04] Production.INFO: Total Charge 0
[2025-04-12 06:26:04] Production.INFO: CreateAllLog End
[2025-04-12 06:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889712') end
[2025-04-12 06:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 06:26:04] Production.INFO: 1
[2025-04-12 06:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 06:26:04] Production.ERROR: done
[2025-04-12 06:26:04] Production.INFO: ==29980== Releasing lock...
[2025-04-12 06:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 06:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 06:26:04] Production.INFO: Account Balance End.
[2025-04-12 06:26:04] Production.ERROR: CronJobId end 12
[2025-04-12 06:26:04] Production.INFO: ==29976== Releasing lock...
[2025-04-12 06:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 06:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 06:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 03:26:05
[end_date_ymd] => 2025-04-12 06:26:05
[RateCDR] => 1
)
[2025-04-12 06:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 03:26:05' and `end` < '2025-04-12 06:26:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 06:26:11] Production.ERROR: CronJobId end10
[2025-04-12 06:26:11] Production.INFO: ==29974== Releasing lock...
[2025-04-12 06:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 06:26:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 06:26:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 06:26:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 06:26:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 06:26:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 06:26:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 06:26:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 06:26:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 06:26:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 06:26:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 06:26:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 06:26:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 06:26:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 06:26:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 06:26:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 06:26:15] Production.INFO: call_cost start
[2025-04-12 06:26:15] Production.INFO: call_cost end
[2025-04-12 06:26:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 06:26:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 06:26:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 06:26:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 06:26:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 06:26:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 06:26:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 06:26:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 06:26:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 06:26:16] Production.INFO: ==29970== Releasing lock...
[2025-04-12 06:26:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 06:26:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 06:26:18] Production.INFO: count ==118
[2025-04-12 06:26:18] Production.ERROR: pbx CDR StartTime 2025-04-12 03:26:05 - End Time 2025-04-12 06:26:05
[2025-04-12 06:26:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 06:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889714', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889714', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889714', 'tblTempVendorCDR_20' ) start
[2025-04-12 06:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889714', 'tblTempVendorCDR_20' ) end
[2025-04-12 06:26:18] Production.INFO: ProcessCDR(1,14889714,1,1,2)
[2025-04-12 06:26:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889714,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:26:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889714,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:26:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889714,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:26:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889714,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889714', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889714', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:26:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 06:26:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 06:26:21] Production.INFO: ==29978== Releasing lock...
[2025-04-12 06:26:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 06:26:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 11:27:01] Production.INFO: ==30034== Lock acquired, processing the job...
[2025-04-12 11:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 11:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 11:27:01] Production.INFO: neon service started
[2025-04-12 11:27:01] Production.INFO: neon service started
[2025-04-12 11:27:01] Production.INFO: ==30034== Releasing lock...
[2025-04-12 11:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 11:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 06:27:02] Production.INFO: ==30036== Lock acquired, processing the job...
[2025-04-12 06:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 10:27:02] Production.INFO: ==30038== Lock acquired, processing the job...
[2025-04-12 10:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 10:27:02] Production.INFO: ==30038== Releasing lock...
[2025-04-12 10:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 10:27:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 06:27:02] Production.INFO: ==30036== Releasing lock...
[2025-04-12 06:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 06:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 06:27:03] Production.INFO: ==30041== Lock acquired, processing the job...
[2025-04-12 06:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 06:27:03] Production.INFO: ==30045== Lock acquired, processing the job...
[2025-04-12 06:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 06:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 06:27:03] Production.INFO: ==30049== Lock acquired, processing the job...
[2025-04-12 06:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 06:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 06:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 06:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 06:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 06:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 06:27:03] Production.INFO: ==30043== Lock acquired, processing the job...
[2025-04-12 06:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 06:27:03] Production.INFO: ==30047== Lock acquired, processing the job...
[2025-04-12 06:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 06:27:03] Production.INFO: ==30051== Lock acquired, processing the job...
[2025-04-12 06:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 06:27:03] Production.INFO: Account Balance Start.
[2025-04-12 06:27:03] Production.INFO: CreateAllLog Start
[2025-04-12 06:27:03] Production.INFO: 117
[2025-04-12 06:27:03] Production.INFO: Date 2025-04-08
[2025-04-12 06:27:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:27:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 06:27:03] Production.INFO: Date 2025-04-09
[2025-04-12 06:27:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:27:03] Production.INFO: count ==12
[2025-04-12 06:27:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 06:27:03] Production.INFO: count ==23
[2025-04-12 06:27:03] Production.INFO: Date 2025-04-10
[2025-04-12 06:27:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:27:03] Production.ERROR: done
[2025-04-12 06:27:03] Production.INFO: Date 2025-04-11
[2025-04-12 06:27:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:27:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 06:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889718') start
[2025-04-12 06:27:03] Production.INFO: Date 2025-04-12
[2025-04-12 06:27:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:27:03] Production.INFO: Total Charge 0
[2025-04-12 06:27:03] Production.INFO: CreateAllLog End
[2025-04-12 06:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889718') end
[2025-04-12 06:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 06:27:04] Production.INFO: 1
[2025-04-12 06:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 06:27:04] Production.INFO: ==30043== Releasing lock...
[2025-04-12 06:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 06:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 06:27:04] Production.ERROR: done
[2025-04-12 06:27:04] Production.INFO: ==30051== Releasing lock...
[2025-04-12 06:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 06:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 06:27:04] Production.INFO: Account Balance End.
[2025-04-12 06:27:04] Production.ERROR: CronJobId end 12
[2025-04-12 06:27:04] Production.INFO: ==30047== Releasing lock...
[2025-04-12 06:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 06:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 06:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 03:27:05
[end_date_ymd] => 2025-04-12 06:27:05
[RateCDR] => 1
)
[2025-04-12 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-12 03:27:05' and `end` < '2025-04-12 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-12 06:27:11] Production.ERROR: CronJobId end10
[2025-04-12 06:27:11] Production.INFO: ==30045== Releasing lock...
[2025-04-12 06:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 06:27:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 06:27:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 06:27:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 06:27:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 06:27:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 06:27:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 06:27:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 06:27:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 06:27:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 06:27:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 06:27:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 06:27:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 06:27:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 06:27:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 06:27:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 06:27:14] Production.INFO: call_cost start
[2025-04-12 06:27:14] Production.INFO: call_cost end
[2025-04-12 06:27:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 06:27:14] Production.INFO: ============== Report Schedule START===========
[2025-04-12 06:27:14] Production.INFO: ============== Report Schedule END===========
[2025-04-12 06:27:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 06:27:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 06:27:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 06:27:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 06:27:14] Production.INFO: ============== Deal alert START===========
[2025-04-12 06:27:14] Production.INFO: ============== Deal alert END===========
[2025-04-12 06:27:14] Production.INFO: ==30041== Releasing lock...
[2025-04-12 06:27:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 06:27:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 06:27:17] Production.INFO: count ==116
[2025-04-12 06:27:17] Production.ERROR: pbx CDR StartTime 2025-04-12 03:27:05 - End Time 2025-04-12 06:27:05
[2025-04-12 06:27:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 06:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889719', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889719', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889719', 'tblTempVendorCDR_20' ) start
[2025-04-12 06:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889719', 'tblTempVendorCDR_20' ) end
[2025-04-12 06:27:17] Production.INFO: ProcessCDR(1,14889719,1,1,2)
[2025-04-12 06:27:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889719,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:27:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889719,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:27:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889719,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:27:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889719,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889719', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889719', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:27:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 06:27:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 06:27:21] Production.INFO: ==30049== Releasing lock...
[2025-04-12 06:27:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 06:27:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 11:28:01] Production.INFO: ==30114== Lock acquired, processing the job...
[2025-04-12 11:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 11:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 11:28:01] Production.INFO: neon service started
[2025-04-12 11:28:01] Production.INFO: neon service started
[2025-04-12 11:28:01] Production.INFO: ==30114== Releasing lock...
[2025-04-12 11:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 11:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 06:28:02] Production.INFO: ==30116== Lock acquired, processing the job...
[2025-04-12 06:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 10:28:02] Production.INFO: ==30118== Lock acquired, processing the job...
[2025-04-12 10:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 10:28:02] Production.INFO: ==30118== Releasing lock...
[2025-04-12 10:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 10:28:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 06:28:02] Production.INFO: ==30116== Releasing lock...
[2025-04-12 06:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 06:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 06:28:03] Production.INFO: ==30121== Lock acquired, processing the job...
[2025-04-12 06:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 06:28:03] Production.INFO: ==30123== Lock acquired, processing the job...
[2025-04-12 06:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 06:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 06:28:03] Production.INFO: ==30127== Lock acquired, processing the job...
[2025-04-12 06:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 06:28:03] Production.INFO: Account Balance Start.
[2025-04-12 06:28:03] Production.INFO: CreateAllLog Start
[2025-04-12 06:28:03] Production.INFO: 117
[2025-04-12 06:28:03] Production.INFO: Date 2025-04-08
[2025-04-12 06:28:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:28:03] Production.INFO: Date 2025-04-09
[2025-04-12 06:28:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:28:03] Production.INFO: ==30125== Lock acquired, processing the job...
[2025-04-12 06:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 06:28:03] Production.INFO: Date 2025-04-10
[2025-04-12 06:28:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:28:04] Production.INFO: Date 2025-04-11
[2025-04-12 06:28:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:28:04] Production.INFO: Date 2025-04-12
[2025-04-12 06:28:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:28:04] Production.INFO: ==30129== Lock acquired, processing the job...
[2025-04-12 06:28:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 06:28:04] Production.INFO: ==30123== Releasing lock...
[2025-04-12 06:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 06:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 06:28:04] Production.INFO: Total Charge 0
[2025-04-12 06:28:04] Production.INFO: CreateAllLog End
[2025-04-12 06:28:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 06:28:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 06:28:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 06:28:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 06:28:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 06:28:04] Production.INFO: ==30131== Lock acquired, processing the job...
[2025-04-12 06:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 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-12 06:28:04] Production.INFO: count ==12
[2025-04-12 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-12 06:28:04] Production.INFO: count ==23
[2025-04-12 06:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889723') start
[2025-04-12 06:28:04] Production.INFO: Account Balance End.
[2025-04-12 06:28:04] Production.ERROR: done
[2025-04-12 06:28:04] Production.ERROR: CronJobId end 12
[2025-04-12 06:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 06:28:04] Production.INFO: ==30127== Releasing lock...
[2025-04-12 06:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 06:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 06:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889723') end
[2025-04-12 06:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 06:28:04] Production.INFO: 1
[2025-04-12 06:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 06:28:05] Production.INFO: ==30131== Releasing lock...
[2025-04-12 06:28:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 06:28:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 06:28:05] Production.ERROR: done
[2025-04-12 06:28:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 03:28:06
[end_date_ymd] => 2025-04-12 06:28:06
[RateCDR] => 1
)
[2025-04-12 06: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-12 03:28:06' and `end` < '2025-04-12 06: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-12 06:28:11] Production.ERROR: CronJobId end10
[2025-04-12 06:28:11] Production.INFO: ==30125== Releasing lock...
[2025-04-12 06:28:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 06:28:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 06:28:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 06:28:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 06:28:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 06:28:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 06:28:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 06:28:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 06:28:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 06:28:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 06:28:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 06:28:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 06:28:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 06:28:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 06:28:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 06:28:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 06:28:14] Production.INFO: call_cost start
[2025-04-12 06:28:14] Production.INFO: call_cost end
[2025-04-12 06:28:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 06:28:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 06:28:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 06:28:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 06:28:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 06:28:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 06:28:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 06:28:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 06:28:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 06:28:15] Production.INFO: ==30121== Releasing lock...
[2025-04-12 06:28:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 06:28:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 06:28:18] Production.INFO: count ==116
[2025-04-12 06:28:18] Production.ERROR: pbx CDR StartTime 2025-04-12 03:28:06 - End Time 2025-04-12 06:28:06
[2025-04-12 06:28:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 06:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889724', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889724', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889724', 'tblTempVendorCDR_20' ) start
[2025-04-12 06:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889724', 'tblTempVendorCDR_20' ) end
[2025-04-12 06:28:18] Production.INFO: ProcessCDR(1,14889724,1,1,2)
[2025-04-12 06:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889724,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:28:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889724,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:28:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889724,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:28:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889724,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889724', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889724', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:28:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 06:28:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 06:28:22] Production.INFO: ==30129== Releasing lock...
[2025-04-12 06:28:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 06:28:22] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 11:29:02] Production.INFO: ==30188== Lock acquired, processing the job...
[2025-04-12 11:29:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 11:29:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 11:29:02] Production.INFO: neon service started
[2025-04-12 11:29:02] Production.INFO: neon service started
[2025-04-12 11:29:02] Production.INFO: ==30188== Releasing lock...
[2025-04-12 11:29:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 11:29:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 06:29:02] Production.INFO: ==30190== Lock acquired, processing the job...
[2025-04-12 06:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 06:29:03] Production.INFO: ==30190== Releasing lock...
[2025-04-12 06:29:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 06:29:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 10:29:03] Production.INFO: ==30192== Lock acquired, processing the job...
[2025-04-12 10:29:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 10:29:03] Production.INFO: ==30192== Releasing lock...
[2025-04-12 10:29:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 10:29:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 06:29:03] Production.INFO: ==30194== Lock acquired, processing the job...
[2025-04-12 06:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 06:29:04] Production.INFO: ==30196== Lock acquired, processing the job...
[2025-04-12 06:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 06:29:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 06:29:04] Production.INFO: ==30198== Lock acquired, processing the job...
[2025-04-12 06:29:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 06:29:04] Production.INFO: ==30200== Lock acquired, processing the job...
[2025-04-12 06:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 06:29:04] Production.INFO: ==30202== Lock acquired, processing the job...
[2025-04-12 06:29:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 06:29:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 06:29:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 06:29:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 06:29:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 06:29:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 06:29:04] Production.INFO: Account Balance Start.
[2025-04-12 06:29:04] Production.INFO: CreateAllLog Start
[2025-04-12 06:29:04] Production.INFO: 117
[2025-04-12 06:29:04] Production.INFO: Date 2025-04-08
[2025-04-12 06:29:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:29:04] Production.INFO: ==30205== Lock acquired, processing the job...
[2025-04-12 06:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 06:29:04] Production.INFO: Date 2025-04-09
[2025-04-12 06:29:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:29:04] Production.INFO: Date 2025-04-10
[2025-04-12 06:29:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:29:04] Production.INFO: Date 2025-04-11
[2025-04-12 06:29:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:29:04] Production.INFO: ==30196== Releasing lock...
[2025-04-12 06:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 06:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 06:29:04] Production.INFO: Date 2025-04-12
[2025-04-12 06:29:04] Production.INFO: Reseller ==> 0
[2025-04-12 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-12 06:29:04] Production.INFO: count ==12
[2025-04-12 06:29:04] Production.ERROR: done
[2025-04-12 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-12 06:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 06:29:04] Production.INFO: count ==23
[2025-04-12 06:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889728') start
[2025-04-12 06:29:04] Production.INFO: Total Charge 0
[2025-04-12 06:29:04] Production.INFO: CreateAllLog End
[2025-04-12 06:29:04] Production.ERROR: done
[2025-04-12 06:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889728') end
[2025-04-12 06:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 06:29:04] Production.INFO: 1
[2025-04-12 06:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 06:29:04] Production.INFO: Account Balance End.
[2025-04-12 06:29:04] Production.INFO: ==30205== Releasing lock...
[2025-04-12 06:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 06:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 06:29:04] Production.ERROR: CronJobId end 12
[2025-04-12 06:29:04] Production.INFO: ==30200== Releasing lock...
[2025-04-12 06:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 06:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 06:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 03:29:05
[end_date_ymd] => 2025-04-12 06:29:05
[RateCDR] => 1
)
[2025-04-12 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-12 03:29:05' and `end` < '2025-04-12 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-12 06:29:12] Production.ERROR: CronJobId end10
[2025-04-12 06:29:12] Production.INFO: ==30198== Releasing lock...
[2025-04-12 06:29:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 06:29:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 06:29:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 06:29:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 06:29:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 06:29:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 06:29:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 06:29:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 06:29:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 06:29:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 06:29:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 06:29:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 06:29:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 06:29:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 06:29:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 06:29:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 06:29:15] Production.INFO: call_cost start
[2025-04-12 06:29:15] Production.INFO: call_cost end
[2025-04-12 06:29:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 06:29:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 06:29:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 06:29:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 06:29:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 06:29:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 06:29:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 06:29:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 06:29:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 06:29:16] Production.INFO: ==30194== Releasing lock...
[2025-04-12 06:29:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 06:29:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 06:29:18] Production.INFO: count ==115
[2025-04-12 06:29:18] Production.ERROR: pbx CDR StartTime 2025-04-12 03:29:05 - End Time 2025-04-12 06:29:05
[2025-04-12 06:29:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 06:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889729', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889729', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889729', 'tblTempVendorCDR_20' ) start
[2025-04-12 06:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889729', 'tblTempVendorCDR_20' ) end
[2025-04-12 06:29:18] Production.INFO: ProcessCDR(1,14889729,1,1,2)
[2025-04-12 06:29:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889729,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:29:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889729,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:29:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889729,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:29:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889729,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889729', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889729', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:29:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 06:29:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 06:29:22] Production.INFO: ==30202== Releasing lock...
[2025-04-12 06:29:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 06:29:22] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 11:30:01] Production.INFO: ==30267== Lock acquired, processing the job...
[2025-04-12 11:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 11:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 11:30:01] Production.INFO: neon service started
[2025-04-12 11:30:01] Production.INFO: neon service started
[2025-04-12 11:30:01] Production.INFO: ==30267== Releasing lock...
[2025-04-12 11:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 11:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 06:30:02] Production.INFO: ==30269== Lock acquired, processing the job...
[2025-04-12 06:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 06:30:02] Production.INFO: ==30269== Releasing lock...
[2025-04-12 06:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 06:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 10:30:02] Production.INFO: ==30271== Lock acquired, processing the job...
[2025-04-12 10:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 10:30:02] Production.INFO: ==30271== Releasing lock...
[2025-04-12 10:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 10:30:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 06:30:03] Production.INFO: ==30273== Lock acquired, processing the job...
[2025-04-12 06:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 06:30:03] Production.INFO: ==30275== Lock acquired, processing the job...
[2025-04-12 06:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 06:30:03] Production.INFO: ==30279== Lock acquired, processing the job...
[2025-04-12 06:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 06:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 06:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 06:30:03] Production.ERROR: CronJob PID - 30275
[2025-04-12 06:30:03] Production.ERROR: CronJob Title - System Alerts
[2025-04-12 06:30:03] Production.ERROR: CronJob ID - 5
[2025-04-12 06:30:03] Production.ERROR: CronJob Last Run Time 2025-04-12 06:30:00
[2025-04-12 06:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 06:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 06:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 06:30:03] Production.INFO: ==30273== Releasing lock...
[2025-04-12 06:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 06:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 06:30:03] Production.INFO: ==30277== Lock acquired, processing the job...
[2025-04-12 06:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 06:30:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 06:30:03] Production.INFO: ==30286== Lock acquired, processing the job...
[2025-04-12 06:30:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 06:30:03] Production.INFO: ==30281== Lock acquired, processing the job...
[2025-04-12 06:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 06:30:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 06:30:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 06:30:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 06:30:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 06:30:03] Production.INFO: ==30288== Lock acquired, processing the job...
[2025-04-12 06:30:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 06:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 06:30:04] Production.INFO: ==30283== Lock acquired, processing the job...
[2025-04-12 06:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 06:30:04] Production.INFO: Account Balance Start.
[2025-04-12 06:30:04] Production.INFO: CreateAllLog Start
[2025-04-12 06:30:04] Production.INFO: 117
[2025-04-12 06:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 06:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 06:30:04] Production.INFO: Date 2025-04-08
[2025-04-12 06:30:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:30:04] Production.INFO: count ==12
[2025-04-12 06:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 06:30:04] Production.INFO: count ==23
[2025-04-12 06:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889733') start
[2025-04-12 06:30:04] Production.INFO: ==30277== Releasing lock...
[2025-04-12 06:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 06:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 06:30:04] Production.INFO: Date 2025-04-09
[2025-04-12 06:30:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:30:04] Production.ERROR: done
[2025-04-12 06:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 06:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14889734', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 06:30:04] Production.INFO: Date 2025-04-10
[2025-04-12 06:30:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:30:04] Production.INFO: Date 2025-04-11
[2025-04-12 06:30:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:30:04] Production.INFO: Date 2025-04-12
[2025-04-12 06:30:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:30:04] Production.INFO: Total Charge 0
[2025-04-12 06:30:04] Production.ERROR: done
[2025-04-12 06:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 06:30:04] Production.INFO: CreateAllLog End
[2025-04-12 06:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889733') end
[2025-04-12 06:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 06:30:04] Production.INFO: 1
[2025-04-12 06:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 06:30:04] Production.INFO: ==30288== Releasing lock...
[2025-04-12 06:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 06:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 06:30:04] Production.ERROR: done
[2025-04-12 06:30:04] Production.INFO: Account Balance End.
[2025-04-12 06:30:04] Production.ERROR: CronJobId end 12
[2025-04-12 06:30:04] Production.INFO: ==30281== Releasing lock...
[2025-04-12 06:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 06:30:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 06:30:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 03:30:05
[end_date_ymd] => 2025-04-12 06:30:05
[RateCDR] => 1
)
[2025-04-12 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-12 03:30:05' and `end` < '2025-04-12 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-12 06:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14889734', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 06:30:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 06:30:08] Production.INFO: ProcessCDR(1,14889734,1,1,2)
[2025-04-12 06:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14889734,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:30:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14889734,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:30:08] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 06:30:08] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 06:30:08] Production.INFO: ==30286== Releasing lock...
[2025-04-12 06:30:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 06:30:08] Production.INFO: 26 MB #Memory Used#
[2025-04-12 06:30:14] Production.ERROR: CronJobId end10
[2025-04-12 06:30:14] Production.INFO: ==30279== Releasing lock...
[2025-04-12 06:30:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 06:30:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 06:30:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 06:30:16] Production.INFO: ============== Balance Warning START===========
[2025-04-12 06:30:16] Production.INFO: ============== Balance Warning END===========
[2025-04-12 06:30:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 06:30:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 06:30:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 06:30:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 06:30:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 06:30:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 06:30:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 06:30:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 06:30:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 06:30:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 06:30:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 06:30:16] Production.INFO: call_cost start
[2025-04-12 06:30:16] Production.INFO: call_cost end
[2025-04-12 06:30:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 06:30:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 06:30:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 06:30:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 06:30:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 06:30:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 06:30:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 06:30:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 06:30:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 06:30:17] Production.INFO: ==30275== Releasing lock...
[2025-04-12 06:30:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 06:30:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 06:30:18] Production.INFO: count ==109
[2025-04-12 06:30:18] Production.ERROR: pbx CDR StartTime 2025-04-12 03:30:05 - End Time 2025-04-12 06:30:05
[2025-04-12 06:30:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 06:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889735', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889735', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889735', 'tblTempVendorCDR_20' ) start
[2025-04-12 06:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889735', 'tblTempVendorCDR_20' ) end
[2025-04-12 06:30:18] Production.INFO: ProcessCDR(1,14889735,1,1,2)
[2025-04-12 06:30:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889735,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:30:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889735,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:30:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889735,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:30:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889735,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889735', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889735', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:30:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 06:30:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 06:30:22] Production.INFO: ==30283== Releasing lock...
[2025-04-12 06:30:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 06:30:22] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 11:31:02] Production.INFO: ==30344== Lock acquired, processing the job...
[2025-04-12 11:31:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 11:31:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 11:31:02] Production.INFO: neon service started
[2025-04-12 11:31:02] Production.INFO: neon service started
[2025-04-12 11:31:02] Production.INFO: ==30344== Releasing lock...
[2025-04-12 11:31:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 11:31:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 10:31:02] Production.INFO: ==30348== Lock acquired, processing the job...
[2025-04-12 10:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 10:31:02] Production.INFO: ==30348== Releasing lock...
[2025-04-12 10:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 10:31:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 06:31:02] Production.INFO: ==30346== Lock acquired, processing the job...
[2025-04-12 06:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 06:31:03] Production.INFO: ==30346== Releasing lock...
[2025-04-12 06:31:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 06:31:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 06:31:03] Production.INFO: ==30355== Lock acquired, processing the job...
[2025-04-12 06:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 06:31:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 06:31:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 06:31:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 06:31:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 06:31:04] Production.INFO: ==30350== Lock acquired, processing the job...
[2025-04-12 06:31:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 06:31:04] Production.INFO: ==30353== Lock acquired, processing the job...
[2025-04-12 06:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 06:31:04] Production.INFO: ==30361== Lock acquired, processing the job...
[2025-04-12 06:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 06:31:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 06:31:04] Production.INFO: ==30357== Lock acquired, processing the job...
[2025-04-12 06:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 06:31:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 06:31:04] Production.INFO: count ==12
[2025-04-12 06:31:04] Production.INFO: ==30359== Lock acquired, processing the job...
[2025-04-12 06:31:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 06:31:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 06:31:04] Production.INFO: count ==23
[2025-04-12 06:31:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 06:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889737') start
[2025-04-12 06:31:04] Production.INFO: Account Balance Start.
[2025-04-12 06:31:04] Production.INFO: CreateAllLog Start
[2025-04-12 06:31:04] Production.INFO: 117
[2025-04-12 06:31:04] Production.INFO: Date 2025-04-08
[2025-04-12 06:31:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:31:04] Production.INFO: Date 2025-04-09
[2025-04-12 06:31:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:31:04] Production.INFO: Date 2025-04-10
[2025-04-12 06:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889737') end
[2025-04-12 06:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 06:31:04] Production.INFO: 1
[2025-04-12 06:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 06:31:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:31:04] Production.INFO: Date 2025-04-11
[2025-04-12 06:31:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:31:04] Production.INFO: Date 2025-04-12
[2025-04-12 06:31:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:31:04] Production.INFO: Total Charge 0
[2025-04-12 06:31:04] Production.INFO: CreateAllLog End
[2025-04-12 06:31:04] Production.INFO: ==30361== Releasing lock...
[2025-04-12 06:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 06:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 06:31:04] Production.INFO: ==30353== Releasing lock...
[2025-04-12 06:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 06:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 06:31:04] Production.ERROR: done
[2025-04-12 06:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 06:31:04] Production.ERROR: done
[2025-04-12 06:31:05] Production.INFO: Account Balance End.
[2025-04-12 06:31:05] Production.ERROR: CronJobId end 12
[2025-04-12 06:31:05] Production.INFO: ==30357== Releasing lock...
[2025-04-12 06:31:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 06:31:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 06:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 03:31:05
[end_date_ymd] => 2025-04-12 06:31:05
[RateCDR] => 1
)
[2025-04-12 06:31:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 03:31:05' and `end` < '2025-04-12 06:31:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 06:31:12] Production.ERROR: CronJobId end10
[2025-04-12 06:31:12] Production.INFO: ==30355== Releasing lock...
[2025-04-12 06:31:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 06:31:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 06:31:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 06:31:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 06:31:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 06:31:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 06:31:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 06:31:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 06:31:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 06:31:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 06:31:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 06:31:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 06:31:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 06:31:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 06:31:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 06:31:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 06:31:14] Production.INFO: call_cost start
[2025-04-12 06:31:14] Production.INFO: call_cost end
[2025-04-12 06:31:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 06:31:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 06:31:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 06:31:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 06:31:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 06:31:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 06:31:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 06:31:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 06:31:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 06:31:15] Production.INFO: ==30350== Releasing lock...
[2025-04-12 06:31:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 06:31:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 06:31:18] Production.INFO: count ==108
[2025-04-12 06:31:18] Production.ERROR: pbx CDR StartTime 2025-04-12 03:31:05 - End Time 2025-04-12 06:31:05
[2025-04-12 06:31:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 06:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889740', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889740', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889740', 'tblTempVendorCDR_20' ) start
[2025-04-12 06:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889740', 'tblTempVendorCDR_20' ) end
[2025-04-12 06:31:18] Production.INFO: ProcessCDR(1,14889740,1,1,2)
[2025-04-12 06:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889740,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:31:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889740,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:31:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889740,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:31:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889740,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889740', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889740', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:31:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 06:31:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 06:31:22] Production.INFO: ==30359== Releasing lock...
[2025-04-12 06:31:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 06:31:22] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 11:32:01] Production.INFO: ==30415== Lock acquired, processing the job...
[2025-04-12 11:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 11:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 11:32:01] Production.INFO: neon service started
[2025-04-12 11:32:01] Production.INFO: neon service started
[2025-04-12 11:32:01] Production.INFO: ==30415== Releasing lock...
[2025-04-12 11:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 11:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 06:32:02] Production.INFO: ==30418== Lock acquired, processing the job...
[2025-04-12 06:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 06:32:02] Production.INFO: ==30418== Releasing lock...
[2025-04-12 06:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 06:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 10:32:02] Production.INFO: ==30420== Lock acquired, processing the job...
[2025-04-12 10:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 10:32:02] Production.INFO: ==30420== Releasing lock...
[2025-04-12 10:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 10:32:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 06:32:03] Production.INFO: ==30422== Lock acquired, processing the job...
[2025-04-12 06:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 06:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 06:32:03] Production.INFO: ==30424== Lock acquired, processing the job...
[2025-04-12 06:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 06:32:03] Production.INFO: ==30426== Lock acquired, processing the job...
[2025-04-12 06:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 06:32:03] Production.INFO: ==30428== Lock acquired, processing the job...
[2025-04-12 06:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 06:32:03] Production.INFO: ==30433== Lock acquired, processing the job...
[2025-04-12 06:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 06:32:03] Production.INFO: ==30431== Lock acquired, processing the job...
[2025-04-12 06:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 06:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 06:32:03] Production.INFO: Account Balance Start.
[2025-04-12 06:32:03] Production.INFO: CreateAllLog Start
[2025-04-12 06:32:03] Production.INFO: 117
[2025-04-12 06:32:03] Production.INFO: Date 2025-04-08
[2025-04-12 06:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 06:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 06:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 06:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 06:32:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:32:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 06:32:04] Production.INFO: Date 2025-04-09
[2025-04-12 06:32:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:32:04] Production.INFO: count ==12
[2025-04-12 06:32:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 06:32:04] Production.INFO: count ==23
[2025-04-12 06:32:04] Production.INFO: ==30424== Releasing lock...
[2025-04-12 06:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 06:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 06:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889744') start
[2025-04-12 06:32:04] Production.INFO: Date 2025-04-10
[2025-04-12 06:32:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:32:04] Production.INFO: Date 2025-04-11
[2025-04-12 06:32:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889744') end
[2025-04-12 06:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 06:32:04] Production.INFO: 1
[2025-04-12 06:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 06:32:04] Production.INFO: Date 2025-04-12
[2025-04-12 06:32:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:32:04] Production.INFO: Total Charge 0
[2025-04-12 06:32:04] Production.INFO: CreateAllLog End
[2025-04-12 06:32:04] Production.INFO: ==30433== Releasing lock...
[2025-04-12 06:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 06:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 06:32:04] Production.ERROR: done
[2025-04-12 06:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 06:32:04] Production.INFO: Account Balance End.
[2025-04-12 06:32:04] Production.ERROR: CronJobId end 12
[2025-04-12 06:32:04] Production.INFO: ==30428== Releasing lock...
[2025-04-12 06:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 06:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 06:32:04] Production.ERROR: done
[2025-04-12 06:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 03:32:05
[end_date_ymd] => 2025-04-12 06:32:05
[RateCDR] => 1
)
[2025-04-12 06:32:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 03:32:05' and `end` < '2025-04-12 06:32:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 06:32:12] Production.ERROR: CronJobId end10
[2025-04-12 06:32:12] Production.INFO: ==30426== Releasing lock...
[2025-04-12 06:32:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 06:32:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 06:32:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 06:32:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 06:32:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 06:32:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 06:32:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 06:32:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 06:32:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 06:32:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 06:32:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 06:32:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 06:32:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 06:32:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 06:32:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 06:32:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 06:32:14] Production.INFO: call_cost start
[2025-04-12 06:32:14] Production.INFO: call_cost end
[2025-04-12 06:32:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 06:32:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 06:32:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 06:32:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 06:32:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 06:32:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 06:32:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 06:32:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 06:32:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 06:32:15] Production.INFO: ==30422== Releasing lock...
[2025-04-12 06:32:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 06:32:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 06:32:18] Production.INFO: count ==111
[2025-04-12 06:32:18] Production.ERROR: pbx CDR StartTime 2025-04-12 03:32:05 - End Time 2025-04-12 06:32:05
[2025-04-12 06:32:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 06:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889745', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889745', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889745', 'tblTempVendorCDR_20' ) start
[2025-04-12 06:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889745', 'tblTempVendorCDR_20' ) end
[2025-04-12 06:32:18] Production.INFO: ProcessCDR(1,14889745,1,1,2)
[2025-04-12 06:32:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889745,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:32:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889745,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:32:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889745,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:32:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889745,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889745', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889745', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:32:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 06:32:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 06:32:22] Production.INFO: ==30431== Releasing lock...
[2025-04-12 06:32:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 06:32:22] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 11:33:02] Production.INFO: ==30486== Lock acquired, processing the job...
[2025-04-12 11:33:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 11:33:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 11:33:02] Production.INFO: neon service started
[2025-04-12 11:33:02] Production.INFO: neon service started
[2025-04-12 11:33:02] Production.INFO: ==30486== Releasing lock...
[2025-04-12 11:33:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 11:33:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 06:33:02] Production.INFO: ==30488== Lock acquired, processing the job...
[2025-04-12 06:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 06:33:02] Production.INFO: ==30488== Releasing lock...
[2025-04-12 06:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 06:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 10:33:03] Production.INFO: ==30490== Lock acquired, processing the job...
[2025-04-12 10:33:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 10:33:03] Production.INFO: ==30490== Releasing lock...
[2025-04-12 10:33:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 10:33:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 06:33:03] Production.INFO: ==30493== Lock acquired, processing the job...
[2025-04-12 06:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 06:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 06:33:03] Production.INFO: ==30497== Lock acquired, processing the job...
[2025-04-12 06:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 06:33:03] Production.INFO: ==30499== Lock acquired, processing the job...
[2025-04-12 06:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 06:33:03] Production.INFO: ==30495== Lock acquired, processing the job...
[2025-04-12 06:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 06:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 06:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 06:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 06:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 06:33:04] Production.INFO: Account Balance Start.
[2025-04-12 06:33:04] Production.INFO: CreateAllLog Start
[2025-04-12 06:33:04] Production.INFO: 117
[2025-04-12 06:33:04] Production.INFO: Date 2025-04-08
[2025-04-12 06:33:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:33:04] Production.INFO: ==30501== Lock acquired, processing the job...
[2025-04-12 06:33:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 06:33:04] Production.INFO: ==30503== Lock acquired, processing the job...
[2025-04-12 06:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 06:33:04] Production.INFO: Date 2025-04-09
[2025-04-12 06:33:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:33:04] Production.INFO: Date 2025-04-10
[2025-04-12 06:33:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:33:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 06:33:04] Production.INFO: Date 2025-04-11
[2025-04-12 06:33:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:33:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 06:33:04] Production.INFO: Date 2025-04-12
[2025-04-12 06:33:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:33:04] Production.INFO: count ==12
[2025-04-12 06:33:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 06:33:04] Production.INFO: count ==23
[2025-04-12 06:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889749') start
[2025-04-12 06:33:04] Production.INFO: Total Charge 0
[2025-04-12 06:33:04] Production.INFO: CreateAllLog End
[2025-04-12 06:33:04] Production.INFO: ==30495== Releasing lock...
[2025-04-12 06:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 06:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 06:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889749') end
[2025-04-12 06:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 06:33:04] Production.INFO: 1
[2025-04-12 06:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 06:33:04] Production.INFO: ==30503== Releasing lock...
[2025-04-12 06:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 06:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 06:33:04] Production.ERROR: done
[2025-04-12 06:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 06:33:04] Production.INFO: Account Balance End.
[2025-04-12 06:33:04] Production.ERROR: done
[2025-04-12 06:33:04] Production.ERROR: CronJobId end 12
[2025-04-12 06:33:04] Production.INFO: ==30499== Releasing lock...
[2025-04-12 06:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 06:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 06:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 03:33:05
[end_date_ymd] => 2025-04-12 06:33:05
[RateCDR] => 1
)
[2025-04-12 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-12 03:33:05' and `end` < '2025-04-12 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-12 06:33:12] Production.ERROR: CronJobId end10
[2025-04-12 06:33:12] Production.INFO: ==30497== Releasing lock...
[2025-04-12 06:33:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 06:33:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 06:33:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 06:33:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 06:33:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 06:33:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 06:33:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 06:33:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 06:33:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 06:33:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 06:33:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 06:33:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 06:33:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 06:33:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 06:33:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 06:33:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 06:33:14] Production.INFO: call_cost start
[2025-04-12 06:33:14] Production.INFO: call_cost end
[2025-04-12 06:33:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 06:33:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 06:33:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 06:33:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 06:33:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 06:33:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 06:33:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 06:33:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 06:33:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 06:33:15] Production.INFO: ==30493== Releasing lock...
[2025-04-12 06:33:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 06:33:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 06:33:18] Production.INFO: count ==112
[2025-04-12 06:33:18] Production.ERROR: pbx CDR StartTime 2025-04-12 03:33:05 - End Time 2025-04-12 06:33:05
[2025-04-12 06:33:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 06:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889750', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889750', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889750', 'tblTempVendorCDR_20' ) start
[2025-04-12 06:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889750', 'tblTempVendorCDR_20' ) end
[2025-04-12 06:33:18] Production.INFO: ProcessCDR(1,14889750,1,1,2)
[2025-04-12 06:33:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889750,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:33:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889750,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:33:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889750,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:33:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889750,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:33:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889750', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:33:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889750', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:33:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 06:33:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 06:33:23] Production.INFO: ==30501== Releasing lock...
[2025-04-12 06:33:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 06:33:23] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 11:34:01] Production.INFO: ==30557== Lock acquired, processing the job...
[2025-04-12 11:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 11:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 11:34:01] Production.INFO: neon service started
[2025-04-12 11:34:01] Production.INFO: neon service started
[2025-04-12 11:34:01] Production.INFO: ==30557== Releasing lock...
[2025-04-12 11:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 11:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 06:34:02] Production.INFO: ==30559== Lock acquired, processing the job...
[2025-04-12 06:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 10:34:02] Production.INFO: ==30561== Lock acquired, processing the job...
[2025-04-12 10:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 10:34:02] Production.INFO: ==30561== Releasing lock...
[2025-04-12 10:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 10:34:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 06:34:02] Production.INFO: ==30559== Releasing lock...
[2025-04-12 06:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 06:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 06:34:03] Production.INFO: ==30566== Lock acquired, processing the job...
[2025-04-12 06:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 06:34:03] Production.INFO: ==30572== Lock acquired, processing the job...
[2025-04-12 06:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 06:34:03] Production.INFO: ==30574== Lock acquired, processing the job...
[2025-04-12 06:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 06:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 06:34:03] Production.INFO: ==30564== Lock acquired, processing the job...
[2025-04-12 06:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 06:34:03] Production.INFO: ==30568== Lock acquired, processing the job...
[2025-04-12 06:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 06:34:03] Production.INFO: ==30566== Releasing lock...
[2025-04-12 06:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 06:34:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 06:34:03] Production.INFO: ==30570== Lock acquired, processing the job...
[2025-04-12 06:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 06:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 06:34:04] Production.INFO: Account Balance Start.
[2025-04-12 06:34:04] Production.INFO: CreateAllLog Start
[2025-04-12 06:34:04] Production.INFO: 117
[2025-04-12 06:34:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 06:34:04] Production.INFO: Date 2025-04-08
[2025-04-12 06:34:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:34:04] Production.INFO: count ==12
[2025-04-12 06:34:04] Production.INFO: Date 2025-04-09
[2025-04-12 06:34:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 06:34:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 06:34:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 06:34:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 06:34:04] Production.INFO: count ==23
[2025-04-12 06:34:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 06:34:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889752') start
[2025-04-12 06:34:04] Production.INFO: Date 2025-04-10
[2025-04-12 06:34:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:34:04] Production.ERROR: done
[2025-04-12 06:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 06:34:04] Production.INFO: Date 2025-04-11
[2025-04-12 06:34:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889752') end
[2025-04-12 06:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 06:34:04] Production.INFO: 1
[2025-04-12 06:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 06:34:04] Production.INFO: Date 2025-04-12
[2025-04-12 06:34:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:34:04] Production.INFO: ==30574== Releasing lock...
[2025-04-12 06:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 06:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 06:34:04] Production.ERROR: done
[2025-04-12 06:34:04] Production.INFO: Total Charge 0
[2025-04-12 06:34:04] Production.INFO: CreateAllLog End
[2025-04-12 06:34:04] Production.INFO: Account Balance End.
[2025-04-12 06:34:04] Production.ERROR: CronJobId end 12
[2025-04-12 06:34:04] Production.INFO: ==30570== Releasing lock...
[2025-04-12 06:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 06:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 06:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 03:34:05
[end_date_ymd] => 2025-04-12 06:34:05
[RateCDR] => 1
)
[2025-04-12 06:34:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 03:34:05' and `end` < '2025-04-12 06:34:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 06:34:12] Production.ERROR: CronJobId end10
[2025-04-12 06:34:12] Production.INFO: ==30568== Releasing lock...
[2025-04-12 06:34:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 06:34:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 06:34:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 06:34:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 06:34:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 06:34:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 06:34:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 06:34:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 06:34:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 06:34:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 06:34:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 06:34:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 06:34:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 06:34:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 06:34:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 06:34:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 06:34:16] Production.INFO: call_cost start
[2025-04-12 06:34:16] Production.INFO: call_cost end
[2025-04-12 06:34:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 06:34:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 06:34:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 06:34:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 06:34:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 06:34:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 06:34:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 06:34:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 06:34:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 06:34:17] Production.INFO: ==30564== Releasing lock...
[2025-04-12 06:34:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 06:34:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 06:34:18] Production.INFO: count ==112
[2025-04-12 06:34:18] Production.ERROR: pbx CDR StartTime 2025-04-12 03:34:05 - End Time 2025-04-12 06:34:05
[2025-04-12 06:34:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 06:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889755', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889755', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889755', 'tblTempVendorCDR_20' ) start
[2025-04-12 06:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889755', 'tblTempVendorCDR_20' ) end
[2025-04-12 06:34:18] Production.INFO: ProcessCDR(1,14889755,1,1,2)
[2025-04-12 06:34:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889755,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:34:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889755,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:34:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889755,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:34:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889755,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889755', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889755', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:34:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 06:34:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 06:34:22] Production.INFO: ==30572== Releasing lock...
[2025-04-12 06:34:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 06:34:22] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 11:35:02] Production.INFO: ==30674== Lock acquired, processing the job...
[2025-04-12 11:35:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 11:35:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 11:35:02] Production.INFO: neon service started
[2025-04-12 11:35:02] Production.INFO: neon service started
[2025-04-12 11:35:02] Production.INFO: ==30674== Releasing lock...
[2025-04-12 11:35:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 11:35:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 06:35:02] Production.INFO: ==30676== Lock acquired, processing the job...
[2025-04-12 06:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 06:35:03] Production.INFO: ==30676== Releasing lock...
[2025-04-12 06:35:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 06:35:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 10:35:03] Production.INFO: ==30678== Lock acquired, processing the job...
[2025-04-12 10:35:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 10:35:03] Production.INFO: ==30678== Releasing lock...
[2025-04-12 10:35:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 10:35:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 06:35:04] Production.INFO: ==30690== Lock acquired, processing the job...
[2025-04-12 06:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 06:35:04] Production.INFO: ==30686== Lock acquired, processing the job...
[2025-04-12 06:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 06:35:04] Production.INFO: Account Balance Start.
[2025-04-12 06:35:04] Production.INFO: CreateAllLog Start
[2025-04-12 06:35:04] Production.INFO: 117
[2025-04-12 06:35:04] Production.INFO: Date 2025-04-08
[2025-04-12 06:35:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:35:04] Production.INFO: ==30680== Lock acquired, processing the job...
[2025-04-12 06:35:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 06:35:04] Production.INFO: Date 2025-04-09
[2025-04-12 06:35:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:35:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 06:35:04] Production.INFO: Date 2025-04-10
[2025-04-12 06:35:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:35:04] Production.INFO: count ==12
[2025-04-12 06:35:04] Production.INFO: Date 2025-04-11
[2025-04-12 06:35:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:35:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 06:35:04] Production.INFO: count ==23
[2025-04-12 06:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889757') start
[2025-04-12 06:35:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 06:35:04] Production.INFO: ==30682== Lock acquired, processing the job...
[2025-04-12 06:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 06:35:04] Production.INFO: ==30684== Lock acquired, processing the job...
[2025-04-12 06:35:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 06:35:04] Production.INFO: Date 2025-04-12
[2025-04-12 06:35:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889757') end
[2025-04-12 06:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 06:35:04] Production.INFO: 1
[2025-04-12 06:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 06:35:04] Production.INFO: ==30688== Lock acquired, processing the job...
[2025-04-12 06:35:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 06:35:04] Production.INFO: ==30690== Releasing lock...
[2025-04-12 06:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 06:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 06:35:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 06:35:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 06:35:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 06:35:04] Production.INFO: Total Charge 0
[2025-04-12 06:35:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 06:35:04] Production.INFO: CreateAllLog End
[2025-04-12 06:35:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 06:35:04] Production.INFO: Account Balance End.
[2025-04-12 06:35:04] Production.INFO: ==30682== Releasing lock...
[2025-04-12 06:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 06:35:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 06:35:04] Production.ERROR: CronJobId end 12
[2025-04-12 06:35:04] Production.INFO: ==30686== Releasing lock...
[2025-04-12 06:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 06:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 06:35:04] Production.ERROR: done
[2025-04-12 06:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 06:35:04] Production.ERROR: done
[2025-04-12 06:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 03:35:05
[end_date_ymd] => 2025-04-12 06:35:05
[RateCDR] => 1
)
[2025-04-12 06:35:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 03:35:05' and `end` < '2025-04-12 06:35:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 06:35:11] Production.ERROR: CronJobId end10
[2025-04-12 06:35:11] Production.INFO: ==30684== Releasing lock...
[2025-04-12 06:35:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 06:35:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 06:35:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 06:35:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 06:35:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 06:35:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 06:35:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 06:35:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 06:35:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 06:35:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 06:35:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 06:35:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 06:35:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 06:35:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 06:35:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 06:35:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 06:35:14] Production.INFO: call_cost start
[2025-04-12 06:35:14] Production.INFO: call_cost end
[2025-04-12 06:35:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 06:35:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 06:35:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 06:35:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 06:35:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 06:35:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 06:35:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 06:35:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 06:35:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 06:35:15] Production.INFO: ==30680== Releasing lock...
[2025-04-12 06:35:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 06:35:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 06:35:18] Production.INFO: count ==112
[2025-04-12 06:35:18] Production.ERROR: pbx CDR StartTime 2025-04-12 03:35:05 - End Time 2025-04-12 06:35:05
[2025-04-12 06:35:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 06:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889760', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889760', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889760', 'tblTempVendorCDR_20' ) start
[2025-04-12 06:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889760', 'tblTempVendorCDR_20' ) end
[2025-04-12 06:35:18] Production.INFO: ProcessCDR(1,14889760,1,1,2)
[2025-04-12 06:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889760,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:35:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889760,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:35:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889760,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:35:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889760,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:35:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889760', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:35:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889760', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:35:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 06:35:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 06:35:22] Production.INFO: ==30688== Releasing lock...
[2025-04-12 06:35:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 06:35:22] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 11:36:01] Production.INFO: ==30746== Lock acquired, processing the job...
[2025-04-12 11:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 11:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 11:36:01] Production.INFO: neon service started
[2025-04-12 11:36:01] Production.INFO: neon service started
[2025-04-12 11:36:01] Production.INFO: ==30746== Releasing lock...
[2025-04-12 11:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 11:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 10:36:02] Production.INFO: ==30750== Lock acquired, processing the job...
[2025-04-12 10:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 10:36:02] Production.INFO: ==30750== Releasing lock...
[2025-04-12 10:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 10:36:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 06:36:02] Production.INFO: ==30748== Lock acquired, processing the job...
[2025-04-12 06:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 06:36:02] Production.INFO: ==30748== Releasing lock...
[2025-04-12 06:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 06:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 06:36:03] Production.INFO: ==30752== Lock acquired, processing the job...
[2025-04-12 06:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 06:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 06:36:03] Production.INFO: ==30761== Lock acquired, processing the job...
[2025-04-12 06:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 06:36:03] Production.INFO: ==30763== Lock acquired, processing the job...
[2025-04-12 06:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 06:36:03] Production.INFO: ==30754== Lock acquired, processing the job...
[2025-04-12 06:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 06:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 06:36:03] Production.INFO: ==30759== Lock acquired, processing the job...
[2025-04-12 06:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 06:36:03] Production.INFO: ==30757== Lock acquired, processing the job...
[2025-04-12 06:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 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-12 06:36:03] Production.INFO: count ==12
[2025-04-12 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-12 06:36:03] Production.INFO: count ==23
[2025-04-12 06:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889762') start
[2025-04-12 06:36:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 06:36:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 06:36:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 06:36:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 06:36:04] Production.INFO: Account Balance Start.
[2025-04-12 06:36:04] Production.INFO: CreateAllLog Start
[2025-04-12 06:36:04] Production.INFO: 117
[2025-04-12 06:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889762') end
[2025-04-12 06:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 06:36:04] Production.INFO: 1
[2025-04-12 06:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 06:36:04] Production.INFO: Date 2025-04-08
[2025-04-12 06:36:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:36:04] Production.INFO: ==30763== Releasing lock...
[2025-04-12 06:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 06:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 06:36:04] Production.ERROR: done
[2025-04-12 06:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 06:36:04] Production.INFO: Date 2025-04-09
[2025-04-12 06:36:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:36:04] Production.INFO: Date 2025-04-10
[2025-04-12 06:36:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:36:04] Production.INFO: Date 2025-04-11
[2025-04-12 06:36:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:36:04] Production.INFO: Date 2025-04-12
[2025-04-12 06:36:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:36:04] Production.INFO: Total Charge 0
[2025-04-12 06:36:04] Production.INFO: CreateAllLog End
[2025-04-12 06:36:04] Production.INFO: ==30754== Releasing lock...
[2025-04-12 06:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 06:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 06:36:04] Production.ERROR: done
[2025-04-12 06:36:04] Production.INFO: Account Balance End.
[2025-04-12 06:36:04] Production.ERROR: CronJobId end 12
[2025-04-12 06:36:04] Production.INFO: ==30759== Releasing lock...
[2025-04-12 06:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 06:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 06:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 03:36:05
[end_date_ymd] => 2025-04-12 06:36:05
[RateCDR] => 1
)
[2025-04-12 06:36:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 03:36:05' and `end` < '2025-04-12 06:36:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 06:36:12] Production.ERROR: CronJobId end10
[2025-04-12 06:36:12] Production.INFO: ==30757== Releasing lock...
[2025-04-12 06:36:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 06:36:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 06:36:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 06:36:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 06:36:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 06:36:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 06:36:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 06:36:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 06:36:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 06:36:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 06:36:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 06:36:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 06:36:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 06:36:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 06:36:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 06:36:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 06:36:15] Production.INFO: call_cost start
[2025-04-12 06:36:15] Production.INFO: call_cost end
[2025-04-12 06:36:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 06:36:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 06:36:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 06:36:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 06:36:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 06:36:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 06:36:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 06:36:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 06:36:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 06:36:16] Production.INFO: ==30752== Releasing lock...
[2025-04-12 06:36:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 06:36:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 06:36:18] Production.INFO: count ==112
[2025-04-12 06:36:18] Production.ERROR: pbx CDR StartTime 2025-04-12 03:36:05 - End Time 2025-04-12 06:36:05
[2025-04-12 06:36:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 06:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889765', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889765', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889765', 'tblTempVendorCDR_20' ) start
[2025-04-12 06:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889765', 'tblTempVendorCDR_20' ) end
[2025-04-12 06:36:18] Production.INFO: ProcessCDR(1,14889765,1,1,2)
[2025-04-12 06:36:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889765,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:36:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889765,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:36:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889765,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:36:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889765,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889765', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889765', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:36:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 06:36:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 06:36:22] Production.INFO: ==30761== Releasing lock...
[2025-04-12 06:36:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 06:36:22] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 11:37:02] Production.INFO: ==30819== Lock acquired, processing the job...
[2025-04-12 11:37:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 11:37:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 11:37:02] Production.INFO: neon service started
[2025-04-12 11:37:02] Production.INFO: neon service started
[2025-04-12 11:37:02] Production.INFO: ==30819== Releasing lock...
[2025-04-12 11:37:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 11:37:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 10:37:02] Production.INFO: ==30823== Lock acquired, processing the job...
[2025-04-12 10:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 10:37:02] Production.INFO: ==30823== Releasing lock...
[2025-04-12 10:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 10:37:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 06:37:02] Production.INFO: ==30821== Lock acquired, processing the job...
[2025-04-12 06:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 06:37:02] Production.INFO: ==30821== Releasing lock...
[2025-04-12 06:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 06:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 06:37:03] Production.INFO: ==30831== Lock acquired, processing the job...
[2025-04-12 06:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 06:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 06:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 06:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 06:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 06:37:03] Production.INFO: ==30835== Lock acquired, processing the job...
[2025-04-12 06:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 06:37:04] Production.INFO: ==30829== Lock acquired, processing the job...
[2025-04-12 06:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 06:37:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 06:37:04] Production.INFO: ==30827== Lock acquired, processing the job...
[2025-04-12 06:37:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 06:37:04] Production.INFO: ==30833== Lock acquired, processing the job...
[2025-04-12 06:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 06:37:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 06:37:04] Production.INFO: ==30837== Lock acquired, processing the job...
[2025-04-12 06:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 06:37:04] Production.INFO: Account Balance Start.
[2025-04-12 06:37:04] Production.INFO: CreateAllLog Start
[2025-04-12 06:37:04] Production.INFO: 117
[2025-04-12 06:37:04] Production.INFO: ==30829== Releasing lock...
[2025-04-12 06:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 06:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 06:37:04] Production.INFO: Date 2025-04-08
[2025-04-12 06:37:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 06:37:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:37:04] Production.INFO: Date 2025-04-09
[2025-04-12 06:37:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:37:04] Production.INFO: count ==12
[2025-04-12 06:37:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 06:37:04] Production.INFO: count ==23
[2025-04-12 06:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889769') start
[2025-04-12 06:37:04] Production.INFO: Date 2025-04-10
[2025-04-12 06:37:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:37:04] Production.ERROR: done
[2025-04-12 06:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 06:37:04] Production.INFO: Date 2025-04-11
[2025-04-12 06:37:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:37:04] Production.INFO: Date 2025-04-12
[2025-04-12 06:37:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:37:04] Production.INFO: Total Charge 0
[2025-04-12 06:37:04] Production.ERROR: done
[2025-04-12 06:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889769') end
[2025-04-12 06:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 06:37:04] Production.INFO: 1
[2025-04-12 06:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 06:37:04] Production.INFO: CreateAllLog End
[2025-04-12 06:37:04] Production.INFO: ==30837== Releasing lock...
[2025-04-12 06:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 06:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 06:37:04] Production.INFO: Account Balance End.
[2025-04-12 06:37:04] Production.ERROR: CronJobId end 12
[2025-04-12 06:37:04] Production.INFO: ==30833== Releasing lock...
[2025-04-12 06:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 06:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 06:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 03:37:05
[end_date_ymd] => 2025-04-12 06:37:05
[RateCDR] => 1
)
[2025-04-12 06:37:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 03:37:05' and `end` < '2025-04-12 06:37:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 06:37:11] Production.ERROR: CronJobId end10
[2025-04-12 06:37:11] Production.INFO: ==30831== Releasing lock...
[2025-04-12 06:37:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 06:37:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 06:37:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 06:37:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 06:37:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 06:37:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 06:37:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 06:37:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 06:37:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 06:37:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 06:37:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 06:37:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 06:37:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 06:37:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 06:37:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 06:37:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 06:37:14] Production.INFO: call_cost start
[2025-04-12 06:37:14] Production.INFO: call_cost end
[2025-04-12 06:37:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 06:37:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 06:37:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 06:37:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 06:37:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 06:37:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 06:37:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 06:37:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 06:37:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 06:37:15] Production.INFO: ==30827== Releasing lock...
[2025-04-12 06:37:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 06:37:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 06:37:18] Production.INFO: count ==112
[2025-04-12 06:37:18] Production.ERROR: pbx CDR StartTime 2025-04-12 03:37:05 - End Time 2025-04-12 06:37:05
[2025-04-12 06:37:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 06:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889770', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889770', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889770', 'tblTempVendorCDR_20' ) start
[2025-04-12 06:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889770', 'tblTempVendorCDR_20' ) end
[2025-04-12 06:37:18] Production.INFO: ProcessCDR(1,14889770,1,1,2)
[2025-04-12 06:37:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889770,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:37:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889770,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:37:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889770,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:37:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889770,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889770', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889770', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:37:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 06:37:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 06:37:21] Production.INFO: ==30835== Releasing lock...
[2025-04-12 06:37:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 06:37:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 11:38:01] Production.INFO: ==30889== Lock acquired, processing the job...
[2025-04-12 11:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 11:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 11:38:01] Production.INFO: neon service started
[2025-04-12 11:38:01] Production.INFO: neon service started
[2025-04-12 11:38:01] Production.INFO: ==30889== Releasing lock...
[2025-04-12 11:38:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 11:38:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 06:38:01] Production.INFO: ==30891== Lock acquired, processing the job...
[2025-04-12 06:38:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 06:38:02] Production.INFO: ==30891== Releasing lock...
[2025-04-12 06:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 06:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 10:38:02] Production.INFO: ==30893== Lock acquired, processing the job...
[2025-04-12 10:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 10:38:02] Production.INFO: ==30893== Releasing lock...
[2025-04-12 10:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 10:38:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 06:38:03] Production.INFO: ==30903== Lock acquired, processing the job...
[2025-04-12 06:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 06:38:03] Production.INFO: ==30901== Lock acquired, processing the job...
[2025-04-12 06:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 06:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 06:38:03] Production.INFO: ==30895== Lock acquired, processing the job...
[2025-04-12 06:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 06:38:03] Production.INFO: ==30897== Lock acquired, processing the job...
[2025-04-12 06:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 06:38:03] Production.INFO: Account Balance Start.
[2025-04-12 06:38:03] Production.INFO: CreateAllLog Start
[2025-04-12 06:38:03] Production.INFO: 117
[2025-04-12 06:38:03] Production.INFO: Date 2025-04-08
[2025-04-12 06:38:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:38:03] Production.INFO: ==30899== Lock acquired, processing the job...
[2025-04-12 06:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 06:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 06:38:03] Production.INFO: Date 2025-04-09
[2025-04-12 06:38:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:38:03] Production.INFO: ==30905== Lock acquired, processing the job...
[2025-04-12 06:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 06:38:03] Production.ERROR: done
[2025-04-12 06:38:03] Production.INFO: Date 2025-04-10
[2025-04-12 06:38:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:38:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 06:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 06:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 06:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 06:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 06:38:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 06:38:03] Production.INFO: Date 2025-04-11
[2025-04-12 06:38:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:38:03] Production.INFO: count ==12
[2025-04-12 06:38:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 06:38:03] Production.INFO: count ==23
[2025-04-12 06:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889774') start
[2025-04-12 06:38:03] Production.INFO: ==30897== Releasing lock...
[2025-04-12 06:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 06:38:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 06:38:03] Production.ERROR: done
[2025-04-12 06:38:03] Production.INFO: Date 2025-04-12
[2025-04-12 06:38:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:38:03] Production.INFO: Total Charge 0
[2025-04-12 06:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889774') end
[2025-04-12 06:38:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 06:38:03] Production.INFO: 1
[2025-04-12 06:38:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 06:38:04] Production.INFO: CreateAllLog End
[2025-04-12 06:38:04] Production.INFO: ==30905== Releasing lock...
[2025-04-12 06:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 06:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 06:38:04] Production.INFO: Account Balance End.
[2025-04-12 06:38:04] Production.ERROR: CronJobId end 12
[2025-04-12 06:38:04] Production.INFO: ==30901== Releasing lock...
[2025-04-12 06:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 06:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 06:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 03:38:05
[end_date_ymd] => 2025-04-12 06:38:05
[RateCDR] => 1
)
[2025-04-12 06:38:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 03:38:05' and `end` < '2025-04-12 06:38:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 06:38:11] Production.ERROR: CronJobId end10
[2025-04-12 06:38:11] Production.INFO: ==30899== Releasing lock...
[2025-04-12 06:38:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 06:38:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 06:38:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 06:38:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 06:38:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 06:38:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 06:38:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 06:38:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 06:38:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 06:38:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 06:38:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 06:38:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 06:38:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 06:38:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 06:38:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 06:38:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 06:38:13] Production.INFO: call_cost start
[2025-04-12 06:38:13] Production.INFO: call_cost end
[2025-04-12 06:38:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 06:38:14] Production.INFO: ============== Report Schedule START===========
[2025-04-12 06:38:14] Production.INFO: ============== Report Schedule END===========
[2025-04-12 06:38:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 06:38:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 06:38:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 06:38:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 06:38:14] Production.INFO: ============== Deal alert START===========
[2025-04-12 06:38:14] Production.INFO: ============== Deal alert END===========
[2025-04-12 06:38:14] Production.INFO: ==30895== Releasing lock...
[2025-04-12 06:38:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 06:38:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 06:38:17] Production.INFO: count ==112
[2025-04-12 06:38:17] Production.ERROR: pbx CDR StartTime 2025-04-12 03:38:05 - End Time 2025-04-12 06:38:05
[2025-04-12 06:38:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 06:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889775', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889775', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889775', 'tblTempVendorCDR_20' ) start
[2025-04-12 06:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889775', 'tblTempVendorCDR_20' ) end
[2025-04-12 06:38:17] Production.INFO: ProcessCDR(1,14889775,1,1,2)
[2025-04-12 06:38:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889775,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:38:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889775,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:38:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889775,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:38:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889775,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889775', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889775', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:38:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 06:38:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 06:38:21] Production.INFO: ==30903== Releasing lock...
[2025-04-12 06:38:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 06:38:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 11:39:02] Production.INFO: ==30960== Lock acquired, processing the job...
[2025-04-12 11:39:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 11:39:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 11:39:02] Production.INFO: neon service started
[2025-04-12 11:39:02] Production.INFO: neon service started
[2025-04-12 11:39:02] Production.INFO: ==30960== Releasing lock...
[2025-04-12 11:39:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 11:39:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 10:39:02] Production.INFO: ==30964== Lock acquired, processing the job...
[2025-04-12 10:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 10:39:02] Production.INFO: ==30964== Releasing lock...
[2025-04-12 10:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 10:39:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 06:39:02] Production.INFO: ==30962== Lock acquired, processing the job...
[2025-04-12 06:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 06:39:02] Production.INFO: ==30962== Releasing lock...
[2025-04-12 06:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 06:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 06:39:03] Production.INFO: ==30967== Lock acquired, processing the job...
[2025-04-12 06:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 06:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 06:39:03] Production.INFO: ==30971== Lock acquired, processing the job...
[2025-04-12 06:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 06:39:03] Production.INFO: ==30973== Lock acquired, processing the job...
[2025-04-12 06:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 06:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 06:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 06:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 06:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 06:39:03] Production.INFO: ==30969== Lock acquired, processing the job...
[2025-04-12 06:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 06:39:03] Production.INFO: Account Balance Start.
[2025-04-12 06:39:03] Production.INFO: CreateAllLog Start
[2025-04-12 06:39:03] Production.INFO: 117
[2025-04-12 06:39:03] Production.INFO: Date 2025-04-08
[2025-04-12 06:39:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:39:03] Production.INFO: Date 2025-04-09
[2025-04-12 06:39:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:39:04] Production.INFO: ==30975== Lock acquired, processing the job...
[2025-04-12 06:39:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 06:39:04] Production.INFO: ==30977== Lock acquired, processing the job...
[2025-04-12 06:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 06:39:04] Production.INFO: Date 2025-04-10
[2025-04-12 06:39:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:39:04] Production.INFO: Date 2025-04-11
[2025-04-12 06:39:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:39:04] Production.INFO: Date 2025-04-12
[2025-04-12 06:39:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:39:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 06:39:04] Production.INFO: Total Charge 0
[2025-04-12 06:39:04] Production.INFO: CreateAllLog End
[2025-04-12 06:39:04] Production.INFO: ==30969== Releasing lock...
[2025-04-12 06:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 06:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 06: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-12 06:39:04] Production.INFO: Account Balance End.
[2025-04-12 06:39:04] Production.INFO: count ==12
[2025-04-12 06:39:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 06:39:04] Production.ERROR: CronJobId end 12
[2025-04-12 06:39:04] Production.INFO: ==30973== Releasing lock...
[2025-04-12 06:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 06:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 06:39:04] Production.INFO: count ==23
[2025-04-12 06:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889779') start
[2025-04-12 06:39:04] Production.ERROR: done
[2025-04-12 06:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 06:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889779') end
[2025-04-12 06:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 06:39:04] Production.INFO: 1
[2025-04-12 06:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 06:39:04] Production.ERROR: done
[2025-04-12 06:39:04] Production.INFO: ==30977== Releasing lock...
[2025-04-12 06:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 06:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 06:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 03:39:05
[end_date_ymd] => 2025-04-12 06:39:05
[RateCDR] => 1
)
[2025-04-12 06:39:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 03:39:05' and `end` < '2025-04-12 06:39:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 06:39:12] Production.ERROR: CronJobId end10
[2025-04-12 06:39:12] Production.INFO: ==30971== Releasing lock...
[2025-04-12 06:39:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 06:39:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 06:39:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 06:39:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 06:39:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 06:39:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 06:39:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 06:39:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 06:39:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 06:39:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 06:39:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 06:39:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 06:39:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 06:39:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 06:39:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 06:39:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 06:39:14] Production.INFO: call_cost start
[2025-04-12 06:39:14] Production.INFO: call_cost end
[2025-04-12 06:39:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 06:39:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 06:39:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 06:39:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 06:39:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 06:39:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 06:39:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 06:39:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 06:39:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 06:39:15] Production.INFO: ==30967== Releasing lock...
[2025-04-12 06:39:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 06:39:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 06:39:18] Production.INFO: count ==112
[2025-04-12 06:39:18] Production.ERROR: pbx CDR StartTime 2025-04-12 03:39:05 - End Time 2025-04-12 06:39:05
[2025-04-12 06:39:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 06:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889780', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889780', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889780', 'tblTempVendorCDR_20' ) start
[2025-04-12 06:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889780', 'tblTempVendorCDR_20' ) end
[2025-04-12 06:39:18] Production.INFO: ProcessCDR(1,14889780,1,1,2)
[2025-04-12 06:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889780,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:39:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889780,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:39:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889780,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:39:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889780,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889780', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889780', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:39:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 06:39:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 06:39:22] Production.INFO: ==30975== Releasing lock...
[2025-04-12 06:39:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 06:39:22] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 11:40:01] Production.INFO: ==31032== Lock acquired, processing the job...
[2025-04-12 11:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 11:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 11:40:01] Production.INFO: neon service started
[2025-04-12 11:40:01] Production.INFO: neon service started
[2025-04-12 11:40:01] Production.INFO: ==31032== Releasing lock...
[2025-04-12 11:40:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 11:40:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 06:40:01] Production.INFO: ==31035== Lock acquired, processing the job...
[2025-04-12 06:40:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 10:40:02] Production.INFO: ==31037== Lock acquired, processing the job...
[2025-04-12 10:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 10:40:02] Production.INFO: ==31037== Releasing lock...
[2025-04-12 10:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 10:40:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 06:40:02] Production.INFO: ==31035== Releasing lock...
[2025-04-12 06:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 06:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 06:40:03] Production.INFO: ==31039== Lock acquired, processing the job...
[2025-04-12 06:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 06:40:03] Production.INFO: ==31047== Lock acquired, processing the job...
[2025-04-12 06:40:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 06:40:03] Production.INFO: ==31051== Lock acquired, processing the job...
[2025-04-12 06:40:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 06:40:03] Production.INFO: ==31049== Lock acquired, processing the job...
[2025-04-12 06:40:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 06:40:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 06:40:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 06:40:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 06:40:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 06:40:03] Production.ERROR: CronJob PID - 31047
[2025-04-12 06:40:03] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-04-12 06:40:03] Production.ERROR: CronJob ID - 12
[2025-04-12 06:40:03] Production.ERROR: CronJob Last Run Time 2025-04-12 06:40:00
[2025-04-12 06:40:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 06:40:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 06:40:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 06:40:03] Production.ERROR: CronJob PID - 31049
[2025-04-12 06:40:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-04-12 06:40:03] Production.ERROR: CronJob ID - 16
[2025-04-12 06:40:03] Production.ERROR: CronJob Last Run Time 2025-04-12 06:40:00
[2025-04-12 06:40:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 06:40:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 06:40:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 06:40:03] Production.ERROR: CronJob PID - 31051
[2025-04-12 06:40:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-04-12 06:40:03] Production.ERROR: CronJob ID - 17
[2025-04-12 06:40:03] Production.ERROR: CronJob Last Run Time 2025-04-12 06:40:00
[2025-04-12 06:40:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 06:40:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 06:40:03] Production.INFO: ==31041== Lock acquired, processing the job...
[2025-04-12 06:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 06:40:03] Production.INFO: Account Balance Start.
[2025-04-12 06:40:03] Production.INFO: CreateAllLog Start
[2025-04-12 06:40:03] Production.INFO: ==31053== Lock acquired, processing the job...
[2025-04-12 06:40:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 06:40:03] Production.INFO: ==31045== Lock acquired, processing the job...
[2025-04-12 06:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 06:40:03] Production.INFO: ==31043== Lock acquired, processing the job...
[2025-04-12 06:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 06:40:03] Production.INFO: 117
[2025-04-12 06:40:03] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 06:40:03] Production.INFO: ==31039== Releasing lock...
[2025-04-12 06:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 06:40:03] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 06:40:03] Production.INFO: Date 2025-04-08
[2025-04-12 06:40:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:40:03] Production.INFO: Date 2025-04-09
[2025-04-12 06:40:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:40:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 06:40:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 06:40:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 06:40:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 06:40:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 06:40:03] Production.ERROR: done
[2025-04-12 06:40:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 06:40:04] Production.ERROR: done
[2025-04-12 06:40:04] Production.INFO: Date 2025-04-10
[2025-04-12 06:40:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:40:04] Production.INFO: Date 2025-04-11
[2025-04-12 06:40:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:40:04] Production.INFO: Date 2025-04-12
[2025-04-12 06:40:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 06:40:04] Production.INFO: Total Charge 0
[2025-04-12 06:40:04] Production.INFO: CreateAllLog End
[2025-04-12 06:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 06:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14889785', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 06:40:04] Production.INFO: count ==12
[2025-04-12 06:40:04] Production.INFO: ==31043== Releasing lock...
[2025-04-12 06:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 06:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 06:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 06:40:04] Production.ERROR: done
[2025-04-12 06:40:04] Production.INFO: count ==23
[2025-04-12 06:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889784') start
[2025-04-12 06:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889784') end
[2025-04-12 06:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 06:40:04] Production.INFO: 1
[2025-04-12 06:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 06:40:04] Production.INFO: ==31053== Releasing lock...
[2025-04-12 06:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 06:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 06:40:04] Production.INFO: Account Balance End.
[2025-04-12 06:40:04] Production.ERROR: CronJobId end 12
[2025-04-12 06:40:04] Production.INFO: ==31047== Releasing lock...
[2025-04-12 06:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 06:40:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 06:40:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 03:40:05
[end_date_ymd] => 2025-04-12 06:40:05
[RateCDR] => 1
)
[2025-04-12 06:40:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 03:40:05' and `end` < '2025-04-12 06:40:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 06:40:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14889785', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 06:40:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 06:40:08] Production.INFO: ProcessCDR(1,14889785,1,1,2)
[2025-04-12 06:40:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14889785,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:40:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14889785,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:40:08] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 06:40:08] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 06:40:08] Production.INFO: ==31051== Releasing lock...
[2025-04-12 06:40:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 06:40:08] Production.INFO: 26 MB #Memory Used#
[2025-04-12 06:40:12] Production.ERROR: CronJobId end10
[2025-04-12 06:40:12] Production.INFO: ==31045== Releasing lock...
[2025-04-12 06:40:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 06:40:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 06:40:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 06:40:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 06:40:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 06:40:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 06:40:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 06:40:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 06:40:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 06:40:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 06:40:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 06:40:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 06:40:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 06:40:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 06:40:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 06:40:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 06:40:15] Production.INFO: call_cost start
[2025-04-12 06:40:15] Production.INFO: call_cost end
[2025-04-12 06:40:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 06:40:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 06:40:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 06:40:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 06:40:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 06:40:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 06:40:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 06:40:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 06:40:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 06:40:16] Production.INFO: ==31041== Releasing lock...
[2025-04-12 06:40:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 06:40:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 06:40:18] Production.INFO: count ==111
[2025-04-12 06:40:18] Production.ERROR: pbx CDR StartTime 2025-04-12 03:40:05 - End Time 2025-04-12 06:40:05
[2025-04-12 06:40:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 06:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889786', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889786', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889786', 'tblTempVendorCDR_20' ) start
[2025-04-12 06:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889786', 'tblTempVendorCDR_20' ) end
[2025-04-12 06:40:18] Production.INFO: ProcessCDR(1,14889786,1,1,2)
[2025-04-12 06:40:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889786,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:40:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889786,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:40:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889786,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:40:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889786,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889786', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889786', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:40:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 06:40:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 06:40:21] Production.INFO: ==31049== Releasing lock...
[2025-04-12 06:40:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 06:40:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 11:41:01] Production.INFO: ==31111== Lock acquired, processing the job...
[2025-04-12 11:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 11:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 11:41:01] Production.INFO: neon service started
[2025-04-12 11:41:02] Production.INFO: neon service started
[2025-04-12 11:41:02] Production.INFO: ==31111== Releasing lock...
[2025-04-12 11:41:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 11:41:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 06:41:02] Production.INFO: ==31113== Lock acquired, processing the job...
[2025-04-12 06:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 10:41:02] Production.INFO: ==31115== Lock acquired, processing the job...
[2025-04-12 10:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 10:41:02] Production.INFO: ==31115== Releasing lock...
[2025-04-12 10:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 10:41:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 06:41:02] Production.INFO: ==31113== Releasing lock...
[2025-04-12 06:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 06:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 06:41:03] Production.INFO: ==31118== Lock acquired, processing the job...
[2025-04-12 06:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 06:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 06:41:03] Production.INFO: ==31122== Lock acquired, processing the job...
[2025-04-12 06:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 06:41:03] Production.INFO: ==31120== Lock acquired, processing the job...
[2025-04-12 06:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 06:41:03] Production.INFO: ==31126== Lock acquired, processing the job...
[2025-04-12 06:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 06:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 06:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 06:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 06:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 06:41:03] Production.INFO: ==31124== Lock acquired, processing the job...
[2025-04-12 06:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 06:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 06:41:03] Production.INFO: ==31128== Lock acquired, processing the job...
[2025-04-12 06:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 06:41:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 06:41:04] Production.INFO: ==31120== Releasing lock...
[2025-04-12 06:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 06:41:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 06:41:04] Production.INFO: count ==12
[2025-04-12 06:41:04] Production.INFO: Account Balance Start.
[2025-04-12 06:41:04] Production.INFO: CreateAllLog Start
[2025-04-12 06:41:04] Production.INFO: 117
[2025-04-12 06:41:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 06:41:04] Production.INFO: count ==23
[2025-04-12 06:41:04] Production.ERROR: done
[2025-04-12 06:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 06:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889789') start
[2025-04-12 06:41:04] Production.INFO: Date 2025-04-08
[2025-04-12 06:41:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:41:04] Production.INFO: Date 2025-04-09
[2025-04-12 06:41:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889789') end
[2025-04-12 06:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 06:41:04] Production.INFO: 1
[2025-04-12 06:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 06:41:04] Production.INFO: ==31128== Releasing lock...
[2025-04-12 06:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 06:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 06:41:04] Production.ERROR: done
[2025-04-12 06:41:04] Production.INFO: Date 2025-04-10
[2025-04-12 06:41:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:41:04] Production.INFO: Date 2025-04-11
[2025-04-12 06:41:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:41:04] Production.INFO: Date 2025-04-12
[2025-04-12 06:41:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:41:04] Production.INFO: Total Charge 0
[2025-04-12 06:41:04] Production.INFO: CreateAllLog End
[2025-04-12 06:41:04] Production.INFO: Account Balance End.
[2025-04-12 06:41:04] Production.ERROR: CronJobId end 12
[2025-04-12 06:41:04] Production.INFO: ==31124== Releasing lock...
[2025-04-12 06:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 06:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 06:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 03:41:05
[end_date_ymd] => 2025-04-12 06:41:05
[RateCDR] => 1
)
[2025-04-12 06:41:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 03:41:05' and `end` < '2025-04-12 06:41:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 06:41:13] Production.ERROR: CronJobId end10
[2025-04-12 06:41:13] Production.INFO: ==31122== Releasing lock...
[2025-04-12 06:41:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 06:41:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 06:41:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 06:41:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 06:41:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 06:41:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 06:41:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 06:41:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 06:41:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 06:41:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 06:41:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 06:41:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 06:41:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 06:41:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 06:41:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 06:41:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 06:41:14] Production.INFO: call_cost start
[2025-04-12 06:41:14] Production.INFO: call_cost end
[2025-04-12 06:41:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 06:41:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 06:41:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 06:41:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 06:41:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 06:41:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 06:41:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 06:41:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 06:41:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 06:41:15] Production.INFO: ==31118== Releasing lock...
[2025-04-12 06:41:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 06:41:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 06:41:18] Production.INFO: count ==111
[2025-04-12 06:41:18] Production.ERROR: pbx CDR StartTime 2025-04-12 03:41:05 - End Time 2025-04-12 06:41:05
[2025-04-12 06:41:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 06:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889791', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889791', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889791', 'tblTempVendorCDR_20' ) start
[2025-04-12 06:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889791', 'tblTempVendorCDR_20' ) end
[2025-04-12 06:41:18] Production.INFO: ProcessCDR(1,14889791,1,1,2)
[2025-04-12 06:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889791,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:41:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889791,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:41:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889791,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:41:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889791,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889791', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889791', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:41:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 06:41:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 06:41:21] Production.INFO: ==31126== Releasing lock...
[2025-04-12 06:41:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 06:41:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 11:42:01] Production.INFO: ==31191== Lock acquired, processing the job...
[2025-04-12 11:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 11:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 11:42:01] Production.INFO: neon service started
[2025-04-12 11:42:01] Production.INFO: neon service started
[2025-04-12 11:42:01] Production.INFO: ==31191== Releasing lock...
[2025-04-12 11:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 11:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 06:42:01] Production.INFO: ==31193== Lock acquired, processing the job...
[2025-04-12 06:42:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 06:42:02] Production.INFO: ==31193== Releasing lock...
[2025-04-12 06:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 06:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 10:42:02] Production.INFO: ==31195== Lock acquired, processing the job...
[2025-04-12 10:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 10:42:02] Production.INFO: ==31195== Releasing lock...
[2025-04-12 10:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 10:42:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 06:42:02] Production.INFO: ==31199== Lock acquired, processing the job...
[2025-04-12 06:42:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 06:42:03] Production.INFO: ==31199== Releasing lock...
[2025-04-12 06:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 06:42:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 06:42:03] Production.INFO: ==31205== Lock acquired, processing the job...
[2025-04-12 06:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 06:42:03] Production.INFO: ==31201== Lock acquired, processing the job...
[2025-04-12 06:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 06:42:03] Production.INFO: ==31197== Lock acquired, processing the job...
[2025-04-12 06:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 06:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 06:42:03] Production.INFO: ==31203== Lock acquired, processing the job...
[2025-04-12 06:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 06:42:03] Production.INFO: ==31207== Lock acquired, processing the job...
[2025-04-12 06:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 06:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 06:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 06:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 06:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 06:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 06:42:03] Production.ERROR: done
[2025-04-12 06:42:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 06:42:03] Production.INFO: Account Balance Start.
[2025-04-12 06:42:03] Production.INFO: CreateAllLog Start
[2025-04-12 06:42:03] Production.INFO: 117
[2025-04-12 06:42:03] Production.INFO: Date 2025-04-08
[2025-04-12 06:42:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 06:42:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:42:03] Production.INFO: count ==12
[2025-04-12 06:42:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 06:42:03] Production.INFO: count ==23
[2025-04-12 06:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889794') start
[2025-04-12 06:42:03] Production.INFO: Date 2025-04-09
[2025-04-12 06:42:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:42:03] Production.INFO: Date 2025-04-10
[2025-04-12 06:42:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:42:03] Production.INFO: Date 2025-04-11
[2025-04-12 06:42:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:42:03] Production.INFO: Date 2025-04-12
[2025-04-12 06:42:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:42:03] Production.INFO: Total Charge 0
[2025-04-12 06:42:04] Production.INFO: CreateAllLog End
[2025-04-12 06:42:04] Production.ERROR: done
[2025-04-12 06:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889794') end
[2025-04-12 06:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 06:42:04] Production.INFO: 1
[2025-04-12 06:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 06:42:04] Production.INFO: ==31207== Releasing lock...
[2025-04-12 06:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 06:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 06:42:04] Production.INFO: Account Balance End.
[2025-04-12 06:42:04] Production.ERROR: CronJobId end 12
[2025-04-12 06:42:04] Production.INFO: ==31203== Releasing lock...
[2025-04-12 06:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 06:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 06:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 03:42:05
[end_date_ymd] => 2025-04-12 06:42:05
[RateCDR] => 1
)
[2025-04-12 06:42:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 03:42:05' and `end` < '2025-04-12 06:42:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 06:42: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-12 23:59:59))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_update...', Array, Object(Closure))
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_update...', Array, Object(Closure))
#2 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Database\Connection->select()
#3 /var/www/html/onswitch.neon.service/app/Console/Commands/CreateSummaryLive.php(0): App\Lib\AccountBalance::updateAccountUnbilledAmount()
#4 [internal function]: App\Console\Commands\CreateSummaryLive->handle()
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#7 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#8 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#9 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\CreateSummaryLive), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 {main}
[2025-04-12 06:42:11] Production.ERROR: CronJobId end10
[2025-04-12 06:42:11] Production.INFO: ==31201== Releasing lock...
[2025-04-12 06:42:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 06:42:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 06:42:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 06:42:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 06:42:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 06:42:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 06:42:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 06:42:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 06:42:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 06:42:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 06:42:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 06:42:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 06:42:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 06:42:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 06:42:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 06:42:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 06:42:15] Production.INFO: call_cost start
[2025-04-12 06:42:15] Production.INFO: call_cost end
[2025-04-12 06:42:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 06:42:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 06:42:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 06:42:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 06:42:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 06:42:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 06:42:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 06:42:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 06:42:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 06:42:16] Production.INFO: ==31197== Releasing lock...
[2025-04-12 06:42:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 06:42:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 06:42:18] Production.INFO: count ==111
[2025-04-12 06:42:18] Production.ERROR: pbx CDR StartTime 2025-04-12 03:42:05 - End Time 2025-04-12 06:42:05
[2025-04-12 06:42:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 06:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889796', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889796', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889796', 'tblTempVendorCDR_20' ) start
[2025-04-12 06:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889796', 'tblTempVendorCDR_20' ) end
[2025-04-12 06:42:18] Production.INFO: ProcessCDR(1,14889796,1,1,2)
[2025-04-12 06:42:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889796,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:42:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889796,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:42:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889796,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:42:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889796,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889796', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889796', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:42:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 06:42:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 06:42:22] Production.INFO: ==31205== Releasing lock...
[2025-04-12 06:42:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 06:42:22] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 11:43:01] Production.INFO: ==31265== Lock acquired, processing the job...
[2025-04-12 11:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 11:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 11:43:01] Production.INFO: neon service started
[2025-04-12 11:43:01] Production.INFO: neon service started
[2025-04-12 11:43:01] Production.INFO: ==31265== Releasing lock...
[2025-04-12 11:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 11:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 06:43:02] Production.INFO: ==31267== Lock acquired, processing the job...
[2025-04-12 06:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 06:43:02] Production.INFO: ==31267== Releasing lock...
[2025-04-12 06:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 06:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 10:43:02] Production.INFO: ==31269== Lock acquired, processing the job...
[2025-04-12 10:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 10:43:02] Production.INFO: ==31269== Releasing lock...
[2025-04-12 10:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 10:43:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 06:43:03] Production.INFO: ==31271== Lock acquired, processing the job...
[2025-04-12 06:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 06:43:03] Production.INFO: ==31273== Lock acquired, processing the job...
[2025-04-12 06:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 06:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 06:43:03] Production.INFO: ==31280== Lock acquired, processing the job...
[2025-04-12 06:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 06:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 06:43:03] Production.INFO: ==31275== Lock acquired, processing the job...
[2025-04-12 06:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 06:43:03] Production.INFO: ==31277== Lock acquired, processing the job...
[2025-04-12 06:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 06:43:03] Production.INFO: ==31282== Lock acquired, processing the job...
[2025-04-12 06:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 06:43:03] Production.INFO: ==31273== Releasing lock...
[2025-04-12 06:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 06:43:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 06: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-12 06:43:04] Production.INFO: Account Balance Start.
[2025-04-12 06:43:04] Production.INFO: CreateAllLog Start
[2025-04-12 06:43:04] Production.INFO: 117
[2025-04-12 06:43:04] Production.INFO: Date 2025-04-08
[2025-04-12 06:43:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:43:04] Production.INFO: count ==12
[2025-04-12 06:43:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 06:43:04] Production.INFO: count ==23
[2025-04-12 06:43:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 06:43:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 06:43:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 06:43:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 06:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889799') start
[2025-04-12 06:43:04] Production.INFO: Date 2025-04-09
[2025-04-12 06:43:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889799') end
[2025-04-12 06:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 06:43:04] Production.INFO: 1
[2025-04-12 06:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 06:43:04] Production.ERROR: done
[2025-04-12 06:43:04] Production.INFO: Date 2025-04-10
[2025-04-12 06:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 06:43:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:43:04] Production.INFO: Date 2025-04-11
[2025-04-12 06:43:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:43:04] Production.INFO: Date 2025-04-12
[2025-04-12 06:43:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:43:04] Production.INFO: Total Charge 0
[2025-04-12 06:43:04] Production.INFO: CreateAllLog End
[2025-04-12 06:43:04] Production.INFO: ==31282== Releasing lock...
[2025-04-12 06:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 06:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 06:43:04] Production.ERROR: done
[2025-04-12 06:43:04] Production.INFO: Account Balance End.
[2025-04-12 06:43:04] Production.ERROR: CronJobId end 12
[2025-04-12 06:43:04] Production.INFO: ==31277== Releasing lock...
[2025-04-12 06:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 06:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 06:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 03:43:05
[end_date_ymd] => 2025-04-12 06:43:05
[RateCDR] => 1
)
[2025-04-12 06:43:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 03:43:05' and `end` < '2025-04-12 06:43:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 06:43:13] Production.ERROR: CronJobId end10
[2025-04-12 06:43:13] Production.INFO: ==31275== Releasing lock...
[2025-04-12 06:43:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 06:43:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 06:43:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 06:43:16] Production.INFO: ============== Balance Warning START===========
[2025-04-12 06:43:16] Production.INFO: ============== Balance Warning END===========
[2025-04-12 06:43:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 06:43:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 06:43:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 06:43:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 06:43:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 06:43:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 06:43:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 06:43:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 06:43:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 06:43:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 06:43:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 06:43:16] Production.INFO: call_cost start
[2025-04-12 06:43:16] Production.INFO: call_cost end
[2025-04-12 06:43:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 06:43:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 06:43:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 06:43:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 06:43:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 06:43:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 06:43:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 06:43:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 06:43:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 06:43:17] Production.INFO: ==31271== Releasing lock...
[2025-04-12 06:43:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 06:43:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 06:43:18] Production.INFO: count ==111
[2025-04-12 06:43:18] Production.ERROR: pbx CDR StartTime 2025-04-12 03:43:05 - End Time 2025-04-12 06:43:05
[2025-04-12 06:43:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 06:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889801', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889801', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889801', 'tblTempVendorCDR_20' ) start
[2025-04-12 06:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889801', 'tblTempVendorCDR_20' ) end
[2025-04-12 06:43:18] Production.INFO: ProcessCDR(1,14889801,1,1,2)
[2025-04-12 06:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889801,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:43:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889801,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:43:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889801,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:43:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889801,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889801', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889801', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:43:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 06:43:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 06:43:21] Production.INFO: ==31280== Releasing lock...
[2025-04-12 06:43:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 06:43:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 11:44:02] Production.INFO: ==31335== Lock acquired, processing the job...
[2025-04-12 11:44:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 11:44:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 11:44:02] Production.INFO: neon service started
[2025-04-12 11:44:02] Production.INFO: neon service started
[2025-04-12 11:44:02] Production.INFO: ==31335== Releasing lock...
[2025-04-12 11:44:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 11:44:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 06:44:03] Production.INFO: ==31338== Lock acquired, processing the job...
[2025-04-12 06:44:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 10:44:03] Production.INFO: ==31340== Lock acquired, processing the job...
[2025-04-12 10:44:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 10:44:03] Production.INFO: ==31340== Releasing lock...
[2025-04-12 10:44:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 10:44:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 06:44:03] Production.INFO: ==31338== Releasing lock...
[2025-04-12 06:44:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 06:44:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 06:44:04] Production.INFO: ==31342== Lock acquired, processing the job...
[2025-04-12 06:44:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 06:44:04] Production.INFO: ==31344== Lock acquired, processing the job...
[2025-04-12 06:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 06:44:04] Production.INFO: ==31346== Lock acquired, processing the job...
[2025-04-12 06:44:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 06:44:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 06:44:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 06:44:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 06:44:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 06:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 06:44:04] Production.INFO: ==31350== Lock acquired, processing the job...
[2025-04-12 06:44:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 06:44:04] Production.INFO: ==31352== Lock acquired, processing the job...
[2025-04-12 06:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 06:44:04] Production.INFO: ==31348== Lock acquired, processing the job...
[2025-04-12 06:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 06:44:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 06:44:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 06:44:04] Production.INFO: Account Balance Start.
[2025-04-12 06:44:04] Production.INFO: CreateAllLog Start
[2025-04-12 06:44:04] Production.INFO: 117
[2025-04-12 06:44:04] Production.INFO: Date 2025-04-08
[2025-04-12 06:44:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:44:04] Production.INFO: Date 2025-04-09
[2025-04-12 06:44:04] Production.INFO: count ==12
[2025-04-12 06:44:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:44:04] Production.INFO: ==31344== Releasing lock...
[2025-04-12 06:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 06:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 06:44:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 06:44:04] Production.INFO: count ==23
[2025-04-12 06:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889804') start
[2025-04-12 06:44:04] Production.INFO: Date 2025-04-10
[2025-04-12 06:44:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:44:04] Production.INFO: Date 2025-04-11
[2025-04-12 06:44:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:44:04] Production.INFO: Date 2025-04-12
[2025-04-12 06:44:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:44:04] Production.ERROR: done
[2025-04-12 06:44:04] Production.INFO: Total Charge 0
[2025-04-12 06:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889804') end
[2025-04-12 06:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 06:44:04] Production.INFO: 1
[2025-04-12 06:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 06:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 06:44:05] Production.INFO: CreateAllLog End
[2025-04-12 06:44:05] Production.INFO: ==31352== Releasing lock...
[2025-04-12 06:44:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 06:44:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 06:44:05] Production.INFO: Account Balance End.
[2025-04-12 06:44:05] Production.ERROR: done
[2025-04-12 06:44:05] Production.ERROR: CronJobId end 12
[2025-04-12 06:44:05] Production.INFO: ==31348== Releasing lock...
[2025-04-12 06:44:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 06:44:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 06:44:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 03:44:06
[end_date_ymd] => 2025-04-12 06:44:06
[RateCDR] => 1
)
[2025-04-12 06: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-12 03:44:06' and `end` < '2025-04-12 06: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-12 06:44:12] Production.ERROR: CronJobId end10
[2025-04-12 06:44:12] Production.INFO: ==31346== Releasing lock...
[2025-04-12 06:44:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 06:44:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 06:44:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 06:44:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 06:44:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 06:44:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 06:44:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 06:44:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 06:44:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 06:44:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 06:44:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 06:44:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 06:44:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 06:44:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 06:44:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 06:44:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 06:44:15] Production.INFO: call_cost start
[2025-04-12 06:44:15] Production.INFO: call_cost end
[2025-04-12 06:44:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 06:44:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 06:44:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 06:44:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 06:44:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 06:44:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 06:44:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 06:44:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 06:44:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 06:44:16] Production.INFO: ==31342== Releasing lock...
[2025-04-12 06:44:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 06:44:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 06:44:19] Production.INFO: count ==113
[2025-04-12 06:44:19] Production.ERROR: pbx CDR StartTime 2025-04-12 03:44:06 - End Time 2025-04-12 06:44:06
[2025-04-12 06:44:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 06:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889806', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889806', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889806', 'tblTempVendorCDR_20' ) start
[2025-04-12 06:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889806', 'tblTempVendorCDR_20' ) end
[2025-04-12 06:44:19] Production.INFO: ProcessCDR(1,14889806,1,1,2)
[2025-04-12 06:44:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889806,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:44:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889806,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:44:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889806,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:44:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889806,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889806', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889806', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:44:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 06:44:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 06:44:22] Production.INFO: ==31350== Releasing lock...
[2025-04-12 06:44:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 06:44:22] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 11:45:01] Production.INFO: ==31408== Lock acquired, processing the job...
[2025-04-12 11:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 11:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 11:45:01] Production.INFO: neon service started
[2025-04-12 11:45:01] Production.INFO: neon service started
[2025-04-12 11:45:01] Production.INFO: ==31408== Releasing lock...
[2025-04-12 11:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 11:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 06:45:02] Production.INFO: ==31410== Lock acquired, processing the job...
[2025-04-12 06:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 06:45:02] Production.INFO: ==31410== Releasing lock...
[2025-04-12 06:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 06:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 10:45:02] Production.INFO: ==31412== Lock acquired, processing the job...
[2025-04-12 10:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 10:45:02] Production.INFO: ==31412== Releasing lock...
[2025-04-12 10:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 10:45:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 06:45:03] Production.INFO: ==31419== Lock acquired, processing the job...
[2025-04-12 06:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 06:45:03] Production.INFO: ==31423== Lock acquired, processing the job...
[2025-04-12 06:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 06:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 06:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 06:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 06:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 06:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 06:45:03] Production.INFO: ==31415== Lock acquired, processing the job...
[2025-04-12 06:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 06:45:03] Production.INFO: ==31417== Lock acquired, processing the job...
[2025-04-12 06:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 06:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 06:45:03] Production.INFO: ==31421== Lock acquired, processing the job...
[2025-04-12 06:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 06:45:03] Production.INFO: ==31425== Lock acquired, processing the job...
[2025-04-12 06:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 06:45:03] Production.ERROR: done
[2025-04-12 06:45:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 06:45:03] Production.INFO: Account Balance Start.
[2025-04-12 06:45:03] Production.INFO: CreateAllLog Start
[2025-04-12 06:45:03] Production.INFO: 117
[2025-04-12 06:45:03] Production.INFO: Date 2025-04-08
[2025-04-12 06:45:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:45:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 06:45:03] Production.INFO: Date 2025-04-09
[2025-04-12 06:45:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:45:03] Production.INFO: count ==12
[2025-04-12 06:45:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 06:45:03] Production.INFO: count ==23
[2025-04-12 06:45:03] Production.INFO: Date 2025-04-10
[2025-04-12 06:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889809') start
[2025-04-12 06:45:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:45:04] Production.INFO: Date 2025-04-11
[2025-04-12 06:45:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:45:04] Production.INFO: ==31417== Releasing lock...
[2025-04-12 06:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 06:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 06:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889809') end
[2025-04-12 06:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 06:45:04] Production.INFO: 1
[2025-04-12 06:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 06:45:04] Production.ERROR: done
[2025-04-12 06:45:04] Production.INFO: ==31425== Releasing lock...
[2025-04-12 06:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 06:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 06:45:04] Production.INFO: Date 2025-04-12
[2025-04-12 06:45:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:45:04] Production.INFO: Total Charge 0
[2025-04-12 06:45:04] Production.INFO: CreateAllLog End
[2025-04-12 06:45:04] Production.INFO: Account Balance End.
[2025-04-12 06:45:04] Production.ERROR: CronJobId end 12
[2025-04-12 06:45:04] Production.INFO: ==31421== Releasing lock...
[2025-04-12 06:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 06:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 06:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 03:45:05
[end_date_ymd] => 2025-04-12 06:45:05
[RateCDR] => 1
)
[2025-04-12 06:45:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 03:45:05' and `end` < '2025-04-12 06:45:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 06:45:12] Production.ERROR: CronJobId end10
[2025-04-12 06:45:12] Production.INFO: ==31419== Releasing lock...
[2025-04-12 06:45:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 06:45:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 06:45:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 06:45:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 06:45:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 06:45:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 06:45:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 06:45:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 06:45:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 06:45:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 06:45:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 06:45:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 06:45:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 06:45:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 06:45:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 06:45:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 06:45:14] Production.INFO: call_cost start
[2025-04-12 06:45:14] Production.INFO: call_cost end
[2025-04-12 06:45:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 06:45:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 06:45:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 06:45:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 06:45:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 06:45:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 06:45:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 06:45:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 06:45:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 06:45:15] Production.INFO: ==31415== Releasing lock...
[2025-04-12 06:45:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 06:45:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 06:45:17] Production.INFO: count ==113
[2025-04-12 06:45:17] Production.ERROR: pbx CDR StartTime 2025-04-12 03:45:05 - End Time 2025-04-12 06:45:05
[2025-04-12 06:45:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 06:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889811', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889811', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889811', 'tblTempVendorCDR_20' ) start
[2025-04-12 06:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889811', 'tblTempVendorCDR_20' ) end
[2025-04-12 06:45:17] Production.INFO: ProcessCDR(1,14889811,1,1,2)
[2025-04-12 06:45:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889811,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:45:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889811,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:45:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889811,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:45:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889811,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889811', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889811', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:45:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 06:45:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 06:45:21] Production.INFO: ==31423== Releasing lock...
[2025-04-12 06:45:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 06:45:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 11:46:02] Production.INFO: ==31479== Lock acquired, processing the job...
[2025-04-12 11:46:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 11:46:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 11:46:02] Production.INFO: neon service started
[2025-04-12 11:46:02] Production.INFO: neon service started
[2025-04-12 11:46:02] Production.INFO: ==31479== Releasing lock...
[2025-04-12 11:46:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 11:46:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 06:46:02] Production.INFO: ==31481== Lock acquired, processing the job...
[2025-04-12 06:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 06:46:03] Production.INFO: ==31481== Releasing lock...
[2025-04-12 06:46:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 06:46:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 10:46:03] Production.INFO: ==31483== Lock acquired, processing the job...
[2025-04-12 10:46:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 10:46:03] Production.INFO: ==31483== Releasing lock...
[2025-04-12 10:46:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 10:46:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 06:46:04] Production.INFO: ==31494== Lock acquired, processing the job...
[2025-04-12 06:46:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 06:46:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 06:46:04] Production.INFO: ==31485== Lock acquired, processing the job...
[2025-04-12 06:46:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 06:46:04] Production.INFO: ==31496== Lock acquired, processing the job...
[2025-04-12 06:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 06:46:04] Production.INFO: ==31488== Lock acquired, processing the job...
[2025-04-12 06:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 06:46:04] Production.INFO: ==31492== Lock acquired, processing the job...
[2025-04-12 06:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 06:46:04] Production.INFO: ==31490== Lock acquired, processing the job...
[2025-04-12 06:46:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 06:46:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 06:46:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 06:46:04] Production.INFO: Account Balance Start.
[2025-04-12 06:46:04] Production.INFO: CreateAllLog Start
[2025-04-12 06:46:04] Production.INFO: count ==12
[2025-04-12 06:46:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 06:46:04] Production.INFO: count ==23
[2025-04-12 06:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889812') start
[2025-04-12 06:46:04] Production.ERROR: done
[2025-04-12 06:46:04] Production.INFO: 117
[2025-04-12 06:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 06:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 06:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 06:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 06:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 06:46:04] Production.INFO: Date 2025-04-08
[2025-04-12 06:46:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889812') end
[2025-04-12 06:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 06:46:04] Production.INFO: 1
[2025-04-12 06:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 06:46:04] Production.INFO: Date 2025-04-09
[2025-04-12 06:46:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:46:04] Production.INFO: Date 2025-04-10
[2025-04-12 06:46:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:46:04] Production.INFO: ==31496== Releasing lock...
[2025-04-12 06:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 06:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 06:46:04] Production.ERROR: done
[2025-04-12 06:46:04] Production.INFO: Date 2025-04-11
[2025-04-12 06:46:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:46:04] Production.INFO: ==31488== Releasing lock...
[2025-04-12 06:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 06:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 06:46:04] Production.INFO: Date 2025-04-12
[2025-04-12 06:46:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:46:04] Production.INFO: Total Charge 0
[2025-04-12 06:46:04] Production.INFO: CreateAllLog End
[2025-04-12 06:46:05] Production.INFO: Account Balance End.
[2025-04-12 06:46:05] Production.ERROR: CronJobId end 12
[2025-04-12 06:46:05] Production.INFO: ==31492== Releasing lock...
[2025-04-12 06:46:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 06:46:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 06:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 03:46:05
[end_date_ymd] => 2025-04-12 06:46:05
[RateCDR] => 1
)
[2025-04-12 06:46:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 03:46:05' and `end` < '2025-04-12 06:46:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 06:46:12] Production.ERROR: CronJobId end10
[2025-04-12 06:46:12] Production.INFO: ==31490== Releasing lock...
[2025-04-12 06:46:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 06:46:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 06:46:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 06:46:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 06:46:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 06:46:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 06:46:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 06:46:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 06:46:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 06:46:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 06:46:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 06:46:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 06:46:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 06:46:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 06:46:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 06:46:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 06:46:15] Production.INFO: call_cost start
[2025-04-12 06:46:15] Production.INFO: call_cost end
[2025-04-12 06:46:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 06:46:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 06:46:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 06:46:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 06:46:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 06:46:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 06:46:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 06:46:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 06:46:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 06:46:16] Production.INFO: ==31485== Releasing lock...
[2025-04-12 06:46:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 06:46:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 06:46:18] Production.INFO: count ==113
[2025-04-12 06:46:18] Production.ERROR: pbx CDR StartTime 2025-04-12 03:46:05 - End Time 2025-04-12 06:46:05
[2025-04-12 06:46:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 06:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889816', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889816', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889816', 'tblTempVendorCDR_20' ) start
[2025-04-12 06:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889816', 'tblTempVendorCDR_20' ) end
[2025-04-12 06:46:18] Production.INFO: ProcessCDR(1,14889816,1,1,2)
[2025-04-12 06:46:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889816,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:46:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889816,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:46:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889816,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:46:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889816,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889816', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889816', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:46:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 06:46:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 06:46:22] Production.INFO: ==31494== Releasing lock...
[2025-04-12 06:46:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 06:46:22] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 11:47:01] Production.INFO: ==31552== Lock acquired, processing the job...
[2025-04-12 11:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 11:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 11:47:01] Production.INFO: neon service started
[2025-04-12 11:47:01] Production.INFO: neon service started
[2025-04-12 11:47:01] Production.INFO: ==31552== Releasing lock...
[2025-04-12 11:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 11:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 06:47:02] Production.INFO: ==31554== Lock acquired, processing the job...
[2025-04-12 06:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 06:47:02] Production.INFO: ==31554== Releasing lock...
[2025-04-12 06:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 06:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 10:47:02] Production.INFO: ==31556== Lock acquired, processing the job...
[2025-04-12 10:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 10:47:02] Production.INFO: ==31556== Releasing lock...
[2025-04-12 10:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 10:47:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 06:47:03] Production.INFO: ==31561== Lock acquired, processing the job...
[2025-04-12 06:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 06:47:03] Production.INFO: ==31559== Lock acquired, processing the job...
[2025-04-12 06:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 06:47:03] Production.INFO: ==31569== Lock acquired, processing the job...
[2025-04-12 06:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 06:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 06:47:03] Production.INFO: ==31563== Lock acquired, processing the job...
[2025-04-12 06:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 06:47:03] Production.INFO: ==31565== Lock acquired, processing the job...
[2025-04-12 06:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 06:47:03] Production.INFO: ==31567== Lock acquired, processing the job...
[2025-04-12 06:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 06:47:03] Production.INFO: ==31561== Releasing lock...
[2025-04-12 06:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 06:47:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 06:47:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 06:47:03] Production.INFO: count ==12
[2025-04-12 06:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 06:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 06:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 06:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 06:47:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 06:47:03] Production.INFO: count ==23
[2025-04-12 06:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 06:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889818') start
[2025-04-12 06:47:03] Production.INFO: Account Balance Start.
[2025-04-12 06:47:03] Production.INFO: CreateAllLog Start
[2025-04-12 06:47:03] Production.INFO: 117
[2025-04-12 06:47:03] Production.INFO: Date 2025-04-08
[2025-04-12 06:47:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:47:04] Production.INFO: Date 2025-04-09
[2025-04-12 06:47:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:47:04] Production.INFO: Date 2025-04-10
[2025-04-12 06:47:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:47:04] Production.INFO: Date 2025-04-11
[2025-04-12 06:47:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889818') end
[2025-04-12 06:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 06:47:04] Production.INFO: 1
[2025-04-12 06:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 06:47:04] Production.INFO: ==31569== Releasing lock...
[2025-04-12 06:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 06:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 06:47:04] Production.INFO: Date 2025-04-12
[2025-04-12 06:47:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:47:04] Production.INFO: Total Charge 0
[2025-04-12 06:47:04] Production.ERROR: done
[2025-04-12 06:47:04] Production.INFO: CreateAllLog End
[2025-04-12 06:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 06:47:04] Production.ERROR: done
[2025-04-12 06:47:04] Production.INFO: Account Balance End.
[2025-04-12 06:47:04] Production.ERROR: CronJobId end 12
[2025-04-12 06:47:04] Production.INFO: ==31565== Releasing lock...
[2025-04-12 06:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 06:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 06:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 03:47:05
[end_date_ymd] => 2025-04-12 06:47:05
[RateCDR] => 1
)
[2025-04-12 06:47:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 03:47:05' and `end` < '2025-04-12 06:47:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 06:47:11] Production.ERROR: CronJobId end10
[2025-04-12 06:47:11] Production.INFO: ==31563== Releasing lock...
[2025-04-12 06:47:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 06:47:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 06:47:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 06:47:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 06:47:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 06:47:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 06:47:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 06:47:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 06:47:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 06:47:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 06:47:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 06:47:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 06:47:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 06:47:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 06:47:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 06:47:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 06:47:14] Production.INFO: call_cost start
[2025-04-12 06:47:14] Production.INFO: call_cost end
[2025-04-12 06:47:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 06:47:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 06:47:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 06:47:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 06:47:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 06:47:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 06:47:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 06:47:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 06:47:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 06:47:15] Production.INFO: ==31559== Releasing lock...
[2025-04-12 06:47:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 06:47:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 06:47:18] Production.INFO: count ==113
[2025-04-12 06:47:18] Production.ERROR: pbx CDR StartTime 2025-04-12 03:47:05 - End Time 2025-04-12 06:47:05
[2025-04-12 06:47:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 06:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889821', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889821', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889821', 'tblTempVendorCDR_20' ) start
[2025-04-12 06:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889821', 'tblTempVendorCDR_20' ) end
[2025-04-12 06:47:18] Production.INFO: ProcessCDR(1,14889821,1,1,2)
[2025-04-12 06:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889821,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:47:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889821,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:47:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889821,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:47:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889821,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889821', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889821', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:47:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 06:47:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 06:47:22] Production.INFO: ==31567== Releasing lock...
[2025-04-12 06:47:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 06:47:22] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 11:48:01] Production.INFO: ==31625== Lock acquired, processing the job...
[2025-04-12 11:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 11:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 11:48:01] Production.INFO: neon service started
[2025-04-12 11:48:01] Production.INFO: neon service started
[2025-04-12 11:48:01] Production.INFO: ==31625== Releasing lock...
[2025-04-12 11:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 11:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 06:48:01] Production.INFO: ==31627== Lock acquired, processing the job...
[2025-04-12 06:48:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 06:48:02] Production.INFO: ==31627== Releasing lock...
[2025-04-12 06:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 06:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 10:48:02] Production.INFO: ==31629== Lock acquired, processing the job...
[2025-04-12 10:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 10:48:02] Production.INFO: ==31629== Releasing lock...
[2025-04-12 10:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 10:48:02] Production.INFO: 26 MB #Memory Used#
[2025-04-12 06:48:02] Production.INFO: ==31642== Lock acquired, processing the job...
[2025-04-12 06:48:02] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 06:48:02] Production.INFO: ==31638== Lock acquired, processing the job...
[2025-04-12 06:48:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 06:48:03] Production.INFO: Account Balance Start.
[2025-04-12 06:48:03] Production.INFO: CreateAllLog Start
[2025-04-12 06:48:03] Production.INFO: 117
[2025-04-12 06:48:03] Production.INFO: Date 2025-04-08
[2025-04-12 06:48:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:48:03] Production.INFO: ==31632== Lock acquired, processing the job...
[2025-04-12 06:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 06: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-12 06:48:03] Production.INFO: count ==12
[2025-04-12 06: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-12 06:48:03] Production.INFO: count ==23
[2025-04-12 06:48:03] Production.INFO: Date 2025-04-09
[2025-04-12 06:48:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889823') start
[2025-04-12 06:48:03] Production.INFO: Date 2025-04-10
[2025-04-12 06:48:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 06:48:03] Production.INFO: ==31634== Lock acquired, processing the job...
[2025-04-12 06:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 06:48:03] Production.INFO: Date 2025-04-11
[2025-04-12 06:48:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889823') end
[2025-04-12 06:48:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 06:48:03] Production.INFO: 1
[2025-04-12 06:48:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 06:48:03] Production.INFO: ==31642== Releasing lock...
[2025-04-12 06:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 06:48:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 06:48:03] Production.INFO: ==31636== Lock acquired, processing the job...
[2025-04-12 06:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 06:48:03] Production.INFO: Date 2025-04-12
[2025-04-12 06:48:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:48:03] Production.INFO: Total Charge 0
[2025-04-12 06:48:03] Production.INFO: ==31640== Lock acquired, processing the job...
[2025-04-12 06:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 06:48:03] Production.INFO: CreateAllLog End
[2025-04-12 06:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 06:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 06:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 06:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 06:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 06:48:03] Production.INFO: Account Balance End.
[2025-04-12 06:48:03] Production.INFO: ==31634== Releasing lock...
[2025-04-12 06:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 06:48:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 06:48:03] Production.ERROR: CronJobId end 12
[2025-04-12 06:48:03] Production.INFO: ==31638== Releasing lock...
[2025-04-12 06:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 06:48:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 06:48:03] Production.ERROR: done
[2025-04-12 06:48:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 06:48:04] Production.ERROR: done
[2025-04-12 06:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 03:48:05
[end_date_ymd] => 2025-04-12 06:48:05
[RateCDR] => 1
)
[2025-04-12 06:48:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 03:48:05' and `end` < '2025-04-12 06:48:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 06:48:11] Production.ERROR: CronJobId end10
[2025-04-12 06:48:11] Production.INFO: ==31636== Releasing lock...
[2025-04-12 06:48:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 06:48:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 06:48:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 06:48:12] Production.INFO: ============== Balance Warning START===========
[2025-04-12 06:48:12] Production.INFO: ============== Balance Warning END===========
[2025-04-12 06:48:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 06:48:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 06:48:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 06:48:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 06:48:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 06:48:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 06:48:12] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 06:48:12] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 06:48:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 06:48:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 06:48:12] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 06:48:13] Production.INFO: call_cost start
[2025-04-12 06:48:13] Production.INFO: call_cost end
[2025-04-12 06:48:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 06:48:14] Production.INFO: ============== Report Schedule START===========
[2025-04-12 06:48:14] Production.INFO: ============== Report Schedule END===========
[2025-04-12 06:48:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 06:48:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 06:48:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 06:48:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 06:48:14] Production.INFO: ============== Deal alert START===========
[2025-04-12 06:48:14] Production.INFO: ============== Deal alert END===========
[2025-04-12 06:48:14] Production.INFO: ==31632== Releasing lock...
[2025-04-12 06:48:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 06:48:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 06:48:17] Production.INFO: count ==113
[2025-04-12 06:48:17] Production.ERROR: pbx CDR StartTime 2025-04-12 03:48:05 - End Time 2025-04-12 06:48:05
[2025-04-12 06:48:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 06:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889826', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889826', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889826', 'tblTempVendorCDR_20' ) start
[2025-04-12 06:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889826', 'tblTempVendorCDR_20' ) end
[2025-04-12 06:48:17] Production.INFO: ProcessCDR(1,14889826,1,1,2)
[2025-04-12 06:48:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889826,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:48:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889826,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:48:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889826,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:48:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889826,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889826', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889826', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:48:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 06:48:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 06:48:21] Production.INFO: ==31640== Releasing lock...
[2025-04-12 06:48:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 06:48:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 11:49:01] Production.INFO: ==31704== Lock acquired, processing the job...
[2025-04-12 11:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 11:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 11:49:01] Production.INFO: neon service started
[2025-04-12 11:49:01] Production.INFO: neon service started
[2025-04-12 11:49:01] Production.INFO: ==31704== Releasing lock...
[2025-04-12 11:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 11:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 10:49:02] Production.INFO: ==31708== Lock acquired, processing the job...
[2025-04-12 10:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 10:49:02] Production.INFO: ==31708== Releasing lock...
[2025-04-12 10:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 10:49:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 06:49:02] Production.INFO: ==31706== Lock acquired, processing the job...
[2025-04-12 06:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 06:49:02] Production.INFO: ==31706== Releasing lock...
[2025-04-12 06:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 06:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 06:49:03] Production.INFO: ==31711== Lock acquired, processing the job...
[2025-04-12 06:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 06:49:03] Production.INFO: ==31713== Lock acquired, processing the job...
[2025-04-12 06:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 06:49:03] Production.INFO: ==31717== Lock acquired, processing the job...
[2025-04-12 06:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 06:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 06:49:03] Production.INFO: ==31715== Lock acquired, processing the job...
[2025-04-12 06:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 06:49:03] Production.INFO: Account Balance Start.
[2025-04-12 06:49:03] Production.INFO: CreateAllLog Start
[2025-04-12 06:49:03] Production.INFO: 117
[2025-04-12 06:49:03] Production.INFO: Date 2025-04-08
[2025-04-12 06:49:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:49:03] Production.INFO: ==31721== Lock acquired, processing the job...
[2025-04-12 06:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 06:49:03] Production.INFO: ==31713== Releasing lock...
[2025-04-12 06:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 06:49:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 06:49:03] Production.INFO: Date 2025-04-09
[2025-04-12 06:49:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 06:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 06:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 06:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 06:49:03] Production.INFO: Date 2025-04-10
[2025-04-12 06:49:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:49:03] Production.INFO: ==31719== Lock acquired, processing the job...
[2025-04-12 06:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 06:49:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 06:49:03] Production.INFO: Date 2025-04-11
[2025-04-12 06:49:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 06:49:03] Production.INFO: Date 2025-04-12
[2025-04-12 06:49:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:49:03] Production.INFO: count ==12
[2025-04-12 06:49:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 06:49:03] Production.INFO: count ==23
[2025-04-12 06:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889830') start
[2025-04-12 06:49:03] Production.INFO: Total Charge 0
[2025-04-12 06:49:03] Production.INFO: CreateAllLog End
[2025-04-12 06:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889830') end
[2025-04-12 06:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 06:49:04] Production.INFO: 1
[2025-04-12 06:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 06:49:04] Production.INFO: ==31721== Releasing lock...
[2025-04-12 06:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 06:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 06:49:04] Production.ERROR: done
[2025-04-12 06:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 06:49:04] Production.ERROR: done
[2025-04-12 06:49:04] Production.INFO: Account Balance End.
[2025-04-12 06:49:04] Production.ERROR: CronJobId end 12
[2025-04-12 06:49:04] Production.INFO: ==31717== Releasing lock...
[2025-04-12 06:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 06:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 06:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 03:49:05
[end_date_ymd] => 2025-04-12 06:49:05
[RateCDR] => 1
)
[2025-04-12 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-12 03:49:05' and `end` < '2025-04-12 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-12 06:49:12] Production.ERROR: CronJobId end10
[2025-04-12 06:49:12] Production.INFO: ==31715== Releasing lock...
[2025-04-12 06:49:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 06:49:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 06:49:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 06:49:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 06:49:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 06:49:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 06:49:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 06:49:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 06:49:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 06:49:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 06:49:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 06:49:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 06:49:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 06:49:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 06:49:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 06:49:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 06:49:14] Production.INFO: call_cost start
[2025-04-12 06:49:14] Production.INFO: call_cost end
[2025-04-12 06:49:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 06:49:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 06:49:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 06:49:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 06:49:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 06:49:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 06:49:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 06:49:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 06:49:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 06:49:15] Production.INFO: ==31711== Releasing lock...
[2025-04-12 06:49:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 06:49:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 06:49:18] Production.INFO: count ==114
[2025-04-12 06:49:18] Production.ERROR: pbx CDR StartTime 2025-04-12 03:49:05 - End Time 2025-04-12 06:49:05
[2025-04-12 06:49:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 06:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889831', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889831', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889831', 'tblTempVendorCDR_20' ) start
[2025-04-12 06:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889831', 'tblTempVendorCDR_20' ) end
[2025-04-12 06:49:18] Production.INFO: ProcessCDR(1,14889831,1,1,2)
[2025-04-12 06:49:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889831,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:49:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889831,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:49:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889831,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:49:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889831,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:49:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889831', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:49:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889831', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:49:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 06:49:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 06:49:23] Production.INFO: ==31719== Releasing lock...
[2025-04-12 06:49:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 06:49:23] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 11:50:02] Production.INFO: ==31817== Lock acquired, processing the job...
[2025-04-12 11:50:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 11:50:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 11:50:02] Production.INFO: neon service started
[2025-04-12 11:50:02] Production.INFO: neon service started
[2025-04-12 11:50:02] Production.INFO: ==31817== Releasing lock...
[2025-04-12 11:50:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 11:50:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 06:50:02] Production.INFO: ==31819== Lock acquired, processing the job...
[2025-04-12 06:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 10:50:02] Production.INFO: ==31821== Lock acquired, processing the job...
[2025-04-12 10:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 06:50:02] Production.INFO: ==31819== Releasing lock...
[2025-04-12 06:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 06:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 10:50:03] Production.INFO: ==31821== Releasing lock...
[2025-04-12 10:50:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 10:50:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 06:50:04] Production.INFO: ==31829== Lock acquired, processing the job...
[2025-04-12 06:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 06:50:04] Production.INFO: ==31833== Lock acquired, processing the job...
[2025-04-12 06:50:04] Production.INFO: ==31823== Lock acquired, processing the job...
[2025-04-12 06:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 06:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 06:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 06:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 06:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 06:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 06:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 06:50:04] Production.INFO: ==31825== Lock acquired, processing the job...
[2025-04-12 06:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 06:50:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 06:50:04] Production.INFO: ==31837== Lock acquired, processing the job...
[2025-04-12 06:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 06:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 06:50:04] Production.ERROR: CronJob PID - 31829
[2025-04-12 06:50:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-04-12 06:50:04] Production.ERROR: CronJob ID - 10
[2025-04-12 06:50:04] Production.ERROR: CronJob Last Run Time 2025-04-12 06:50:00
[2025-04-12 06:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 06:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 06:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 06:50:04] Production.ERROR: CronJob PID - 31833
[2025-04-12 06:50:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-04-12 06:50:04] Production.ERROR: CronJob ID - 16
[2025-04-12 06:50:04] Production.ERROR: CronJob Last Run Time 2025-04-12 06:50:00
[2025-04-12 06:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 06:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 06:50:04] Production.INFO: ==31827== Lock acquired, processing the job...
[2025-04-12 06:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 06:50:04] Production.INFO: ==31831== Lock acquired, processing the job...
[2025-04-12 06:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 06:50:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 06:50:04] Production.INFO: ==31823== Releasing lock...
[2025-04-12 06:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 06:50:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 06:50:04] Production.INFO: ==31835== Lock acquired, processing the job...
[2025-04-12 06:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 06:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 06:50:04] Production.INFO: Account Balance Start.
[2025-04-12 06:50:04] Production.INFO: CreateAllLog Start
[2025-04-12 06:50:04] Production.INFO: 117
[2025-04-12 06:50:04] Production.INFO: Date 2025-04-08
[2025-04-12 06:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 06:50:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:50:04] Production.INFO: count ==12
[2025-04-12 06:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 06:50:04] Production.INFO: count ==23
[2025-04-12 06:50:04] Production.ERROR: done
[2025-04-12 06:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 06:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 06:50:04] Production.INFO: Date 2025-04-09
[2025-04-12 06:50:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889832') start
[2025-04-12 06:50:04] Production.INFO: Date 2025-04-10
[2025-04-12 06:50:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:50:04] Production.INFO: Date 2025-04-11
[2025-04-12 06:50:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:50:04] Production.INFO: Date 2025-04-12
[2025-04-12 06:50:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:50:04] Production.INFO: Total Charge 0
[2025-04-12 06:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889832') end
[2025-04-12 06:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 06:50:04] Production.INFO: 1
[2025-04-12 06:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 06:50:04] Production.INFO: CreateAllLog End
[2025-04-12 06:50:04] Production.INFO: ==31837== Releasing lock...
[2025-04-12 06:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 06:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 06:50:04] Production.ERROR: done
[2025-04-12 06:50:04] Production.INFO: ==31827== Releasing lock...
[2025-04-12 06:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 06:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 06:50:05] Production.ERROR: done
[2025-04-12 06:50:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 06:50:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14889837', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 06:50:05] Production.INFO: Account Balance End.
[2025-04-12 06:50:05] Production.ERROR: CronJobId end 12
[2025-04-12 06:50:05] Production.INFO: ==31831== Releasing lock...
[2025-04-12 06:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 06:50:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 06:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 03:50:06
[end_date_ymd] => 2025-04-12 06:50:06
[RateCDR] => 1
)
[2025-04-12 06:50:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 03:50:06' and `end` < '2025-04-12 06: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-12 06:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14889837', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 06:50:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 06:50:09] Production.INFO: ProcessCDR(1,14889837,1,1,2)
[2025-04-12 06:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14889837,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14889837,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:50:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 06:50:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 06:50:09] Production.INFO: ==31835== Releasing lock...
[2025-04-12 06:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 06:50:09] Production.INFO: 26 MB #Memory Used#
[2025-04-12 06:50:13] Production.ERROR: CronJobId end10
[2025-04-12 06:50:13] Production.INFO: ==31829== Releasing lock...
[2025-04-12 06:50:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 06:50:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 06:50:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 06:50:16] Production.INFO: ============== Balance Warning START===========
[2025-04-12 06:50:16] Production.INFO: ============== Balance Warning END===========
[2025-04-12 06:50:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 06:50:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 06:50:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 06:50:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 06:50:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 06:50:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 06:50:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 06:50:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 06:50:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 06:50:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 06:50:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 06:50:16] Production.INFO: call_cost start
[2025-04-12 06:50:16] Production.INFO: call_cost end
[2025-04-12 06:50:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 06:50:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 06:50:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 06:50:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 06:50:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 06:50:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 06:50:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 06:50:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 06:50:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 06:50:17] Production.INFO: ==31825== Releasing lock...
[2025-04-12 06:50:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 06:50:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 06:50:19] Production.INFO: count ==113
[2025-04-12 06:50:19] Production.ERROR: pbx CDR StartTime 2025-04-12 03:50:06 - End Time 2025-04-12 06:50:06
[2025-04-12 06:50:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 06:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889836', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889836', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889836', 'tblTempVendorCDR_20' ) start
[2025-04-12 06:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889836', 'tblTempVendorCDR_20' ) end
[2025-04-12 06:50:19] Production.INFO: ProcessCDR(1,14889836,1,1,2)
[2025-04-12 06:50:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889836,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:50:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889836,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:50:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889836,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:50:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889836,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889836', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889836', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:50:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 06:50:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 06:50:22] Production.INFO: ==31833== Releasing lock...
[2025-04-12 06:50:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 06:50:22] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 11:51:01] Production.INFO: ==31893== Lock acquired, processing the job...
[2025-04-12 11:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 11:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 11:51:01] Production.INFO: neon service started
[2025-04-12 11:51:01] Production.INFO: neon service started
[2025-04-12 11:51:01] Production.INFO: ==31893== Releasing lock...
[2025-04-12 11:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 11:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 06:51:02] Production.INFO: ==31895== Lock acquired, processing the job...
[2025-04-12 06:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 10:51:02] Production.INFO: ==31897== Lock acquired, processing the job...
[2025-04-12 10:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 10:51:02] Production.INFO: ==31897== Releasing lock...
[2025-04-12 10:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 10:51:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 06:51:02] Production.INFO: ==31895== Releasing lock...
[2025-04-12 06:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 06:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 06:51:03] Production.INFO: ==31900== Lock acquired, processing the job...
[2025-04-12 06:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 06:51:03] Production.INFO: ==31902== Lock acquired, processing the job...
[2025-04-12 06:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 06:51:03] Production.INFO: ==31904== Lock acquired, processing the job...
[2025-04-12 06:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 06:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 06:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 06:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 06:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 06:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 06:51:04] Production.INFO: ==31902== Releasing lock...
[2025-04-12 06:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 06:51:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 06:51:04] Production.INFO: ==31906== Lock acquired, processing the job...
[2025-04-12 06:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 06:51:04] Production.INFO: ==31908== Lock acquired, processing the job...
[2025-04-12 06:51:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 06:51:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 06:51:04] Production.INFO: Account Balance Start.
[2025-04-12 06:51:04] Production.INFO: CreateAllLog Start
[2025-04-12 06:51:04] Production.INFO: 117
[2025-04-12 06:51:04] Production.INFO: Date 2025-04-08
[2025-04-12 06:51:04] Production.INFO: ==31910== Lock acquired, processing the job...
[2025-04-12 06:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 06:51:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:51:04] Production.INFO: Date 2025-04-09
[2025-04-12 06:51:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:51:04] Production.INFO: Date 2025-04-10
[2025-04-12 06:51:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:51:04] Production.INFO: Date 2025-04-11
[2025-04-12 06:51:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:51:04] Production.INFO: Date 2025-04-12
[2025-04-12 06:51:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:51:04] Production.INFO: Total Charge 0
[2025-04-12 06:51:04] Production.INFO: CreateAllLog End
[2025-04-12 06:51:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 06:51:04] Production.ERROR: done
[2025-04-12 06:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 06:51:04] Production.INFO: count ==12
[2025-04-12 06:51:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 06:51:04] Production.INFO: count ==23
[2025-04-12 06:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889841') start
[2025-04-12 06:51:04] Production.INFO: Account Balance End.
[2025-04-12 06:51:04] Production.ERROR: CronJobId end 12
[2025-04-12 06:51:04] Production.INFO: ==31906== Releasing lock...
[2025-04-12 06:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 06:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 06:51:04] Production.ERROR: done
[2025-04-12 06:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889841') end
[2025-04-12 06:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 06:51:04] Production.INFO: 1
[2025-04-12 06:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 06:51:04] Production.INFO: ==31910== Releasing lock...
[2025-04-12 06:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 06:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 06:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 03:51:05
[end_date_ymd] => 2025-04-12 06:51:05
[RateCDR] => 1
)
[2025-04-12 06:51:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 03:51:05' and `end` < '2025-04-12 06:51:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 06:51:12] Production.ERROR: CronJobId end10
[2025-04-12 06:51:12] Production.INFO: ==31904== Releasing lock...
[2025-04-12 06:51:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 06:51:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 06:51:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 06:51:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 06:51:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 06:51:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 06:51:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 06:51:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 06:51:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 06:51:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 06:51:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 06:51:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 06:51:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 06:51:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 06:51:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 06:51:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 06:51:14] Production.INFO: call_cost start
[2025-04-12 06:51:14] Production.INFO: call_cost end
[2025-04-12 06:51:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 06:51:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 06:51:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 06:51:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 06:51:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 06:51:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 06:51:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 06:51:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 06:51:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 06:51:15] Production.INFO: ==31900== Releasing lock...
[2025-04-12 06:51:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 06:51:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 06:51:18] Production.INFO: count ==113
[2025-04-12 06:51:18] Production.ERROR: pbx CDR StartTime 2025-04-12 03:51:05 - End Time 2025-04-12 06:51:05
[2025-04-12 06:51:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 06:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889842', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889842', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889842', 'tblTempVendorCDR_20' ) start
[2025-04-12 06:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889842', 'tblTempVendorCDR_20' ) end
[2025-04-12 06:51:18] Production.INFO: ProcessCDR(1,14889842,1,1,2)
[2025-04-12 06:51:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889842,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:51:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889842,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:51:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889842,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:51:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889842,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889842', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889842', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:51:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 06:51:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 06:51:21] Production.INFO: ==31908== Releasing lock...
[2025-04-12 06:51:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 06:51:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 11:52:02] Production.INFO: ==31965== Lock acquired, processing the job...
[2025-04-12 11:52:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 11:52:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 11:52:02] Production.INFO: neon service started
[2025-04-12 11:52:02] Production.INFO: neon service started
[2025-04-12 11:52:02] Production.INFO: ==31965== Releasing lock...
[2025-04-12 11:52:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 11:52:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 06:52:02] Production.INFO: ==31967== Lock acquired, processing the job...
[2025-04-12 06:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 06:52:02] Production.INFO: ==31967== Releasing lock...
[2025-04-12 06:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 06:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 10:52:02] Production.INFO: ==31969== Lock acquired, processing the job...
[2025-04-12 10:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 10:52:02] Production.INFO: ==31969== Releasing lock...
[2025-04-12 10:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 10:52:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 06:52:03] Production.INFO: ==31977== Lock acquired, processing the job...
[2025-04-12 06:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 06:52:03] Production.INFO: ==31982== Lock acquired, processing the job...
[2025-04-12 06:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 06:52:03] Production.INFO: Account Balance Start.
[2025-04-12 06:52:03] Production.INFO: CreateAllLog Start
[2025-04-12 06:52:03] Production.INFO: ==31971== Lock acquired, processing the job...
[2025-04-12 06:52:03] Production.INFO: 117
[2025-04-12 06:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 06:52:03] Production.INFO: Date 2025-04-08
[2025-04-12 06:52:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:52:03] Production.INFO: Date 2025-04-09
[2025-04-12 06:52:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 06:52:03] Production.INFO: Date 2025-04-10
[2025-04-12 06:52:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:52:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 06:52:03] Production.INFO: ==31973== Lock acquired, processing the job...
[2025-04-12 06:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 06:52:03] Production.INFO: count ==12
[2025-04-12 06:52:03] Production.INFO: ==31975== Lock acquired, processing the job...
[2025-04-12 06:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 06:52:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 06:52:03] Production.INFO: count ==23
[2025-04-12 06:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889844') start
[2025-04-12 06:52:03] Production.INFO: Date 2025-04-11
[2025-04-12 06:52:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:52:03] Production.INFO: ==31979== Lock acquired, processing the job...
[2025-04-12 06:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 06:52:03] Production.INFO: Date 2025-04-12
[2025-04-12 06:52:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 06:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 06:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 06:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 06:52:04] Production.INFO: Total Charge 0
[2025-04-12 06:52:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 06:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889844') end
[2025-04-12 06:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 06:52:04] Production.INFO: 1
[2025-04-12 06:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 06:52:04] Production.INFO: CreateAllLog End
[2025-04-12 06:52:04] Production.INFO: ==31982== Releasing lock...
[2025-04-12 06:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 06:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 06:52:04] Production.INFO: Account Balance End.
[2025-04-12 06:52:04] Production.ERROR: CronJobId end 12
[2025-04-12 06:52:04] Production.INFO: ==31977== Releasing lock...
[2025-04-12 06:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 06:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 06:52:04] Production.INFO: ==31973== Releasing lock...
[2025-04-12 06:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 06:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 06:52:04] Production.ERROR: done
[2025-04-12 06:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 06:52:04] Production.ERROR: done
[2025-04-12 06:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 03:52:05
[end_date_ymd] => 2025-04-12 06:52:05
[RateCDR] => 1
)
[2025-04-12 06:52:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 03:52:05' and `end` < '2025-04-12 06:52:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 06:52:11] Production.ERROR: CronJobId end10
[2025-04-12 06:52:11] Production.INFO: ==31975== Releasing lock...
[2025-04-12 06:52:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 06:52:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 06:52:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 06:52:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 06:52:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 06:52:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 06:52:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 06:52:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 06:52:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 06:52:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 06:52:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 06:52:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 06:52:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 06:52:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 06:52:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 06:52:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 06:52:14] Production.INFO: call_cost start
[2025-04-12 06:52:14] Production.INFO: call_cost end
[2025-04-12 06:52:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 06:52:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 06:52:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 06:52:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 06:52:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 06:52:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 06:52:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 06:52:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 06:52:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 06:52:15] Production.INFO: ==31971== Releasing lock...
[2025-04-12 06:52:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 06:52:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 06:52:18] Production.INFO: count ==113
[2025-04-12 06:52:18] Production.ERROR: pbx CDR StartTime 2025-04-12 03:52:05 - End Time 2025-04-12 06:52:05
[2025-04-12 06:52:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 06:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889847', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889847', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889847', 'tblTempVendorCDR_20' ) start
[2025-04-12 06:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889847', 'tblTempVendorCDR_20' ) end
[2025-04-12 06:52:18] Production.INFO: ProcessCDR(1,14889847,1,1,2)
[2025-04-12 06:52:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889847,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:52:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889847,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:52:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889847,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:52:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889847,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889847', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889847', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:52:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 06:52:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 06:52:22] Production.INFO: ==31979== Releasing lock...
[2025-04-12 06:52:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 06:52:22] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 11:53:01] Production.INFO: ==32037== Lock acquired, processing the job...
[2025-04-12 11:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 11:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 11:53:01] Production.INFO: neon service started
[2025-04-12 11:53:01] Production.INFO: neon service started
[2025-04-12 11:53:01] Production.INFO: ==32037== Releasing lock...
[2025-04-12 11:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 11:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 06:53:02] Production.INFO: ==32039== Lock acquired, processing the job...
[2025-04-12 06:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 10:53:02] Production.INFO: ==32041== Lock acquired, processing the job...
[2025-04-12 10:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 10:53:02] Production.INFO: ==32041== Releasing lock...
[2025-04-12 10:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 10:53:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 06:53:02] Production.INFO: ==32039== Releasing lock...
[2025-04-12 06:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 06:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 06:53:03] Production.INFO: ==32048== Lock acquired, processing the job...
[2025-04-12 06:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 06:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 06:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 06:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 06:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 06:53:03] Production.INFO: ==32054== Lock acquired, processing the job...
[2025-04-12 06:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 06:53:03] Production.INFO: ==32044== Lock acquired, processing the job...
[2025-04-12 06:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 06:53:03] Production.INFO: ==32046== Lock acquired, processing the job...
[2025-04-12 06:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 06:53:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 06:53:03] Production.INFO: count ==12
[2025-04-12 06:53:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 06:53:03] Production.INFO: count ==23
[2025-04-12 06:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 06:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889848') start
[2025-04-12 06:53:03] Production.INFO: ==32050== Lock acquired, processing the job...
[2025-04-12 06:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 06:53:03] Production.INFO: ==32052== Lock acquired, processing the job...
[2025-04-12 06:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 06:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889848') end
[2025-04-12 06:53:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 06:53:03] Production.INFO: 1
[2025-04-12 06:53:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 06:53:03] Production.INFO: ==32054== Releasing lock...
[2025-04-12 06:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 06:53:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 06:53:03] Production.INFO: Account Balance Start.
[2025-04-12 06:53:03] Production.INFO: CreateAllLog Start
[2025-04-12 06:53:03] Production.INFO: 117
[2025-04-12 06:53:04] Production.INFO: Date 2025-04-08
[2025-04-12 06:53:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 06:53:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:53:04] Production.INFO: Date 2025-04-09
[2025-04-12 06:53:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:53:04] Production.INFO: Date 2025-04-10
[2025-04-12 06:53:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:53:04] Production.INFO: Date 2025-04-11
[2025-04-12 06:53:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:53:04] Production.INFO: Date 2025-04-12
[2025-04-12 06:53:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:53:04] Production.INFO: Total Charge 0
[2025-04-12 06:53:04] Production.INFO: CreateAllLog End
[2025-04-12 06:53:04] Production.INFO: ==32046== Releasing lock...
[2025-04-12 06:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 06:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 06:53:04] Production.ERROR: done
[2025-04-12 06:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 06:53:04] Production.INFO: Account Balance End.
[2025-04-12 06:53:04] Production.ERROR: CronJobId end 12
[2025-04-12 06:53:04] Production.INFO: ==32050== Releasing lock...
[2025-04-12 06:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 06:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 06:53:04] Production.ERROR: done
[2025-04-12 06:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 03:53:05
[end_date_ymd] => 2025-04-12 06:53:05
[RateCDR] => 1
)
[2025-04-12 06:53:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 03:53:05' and `end` < '2025-04-12 06:53:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 06:53:12] Production.ERROR: CronJobId end10
[2025-04-12 06:53:12] Production.INFO: ==32048== Releasing lock...
[2025-04-12 06:53:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 06:53:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 06:53:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 06:53:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 06:53:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 06:53:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 06:53:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 06:53:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 06:53:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 06:53:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 06:53:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 06:53:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 06:53:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 06:53:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 06:53:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 06:53:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 06:53:15] Production.INFO: call_cost start
[2025-04-12 06:53:15] Production.INFO: call_cost end
[2025-04-12 06:53:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 06:53:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 06:53:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 06:53:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 06:53:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 06:53:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 06:53:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 06:53:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 06:53:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 06:53:16] Production.INFO: ==32044== Releasing lock...
[2025-04-12 06:53:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 06:53:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 06:53:18] Production.INFO: count ==113
[2025-04-12 06:53:18] Production.ERROR: pbx CDR StartTime 2025-04-12 03:53:05 - End Time 2025-04-12 06:53:05
[2025-04-12 06:53:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 06:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889852', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889852', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889852', 'tblTempVendorCDR_20' ) start
[2025-04-12 06:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889852', 'tblTempVendorCDR_20' ) end
[2025-04-12 06:53:18] Production.INFO: ProcessCDR(1,14889852,1,1,2)
[2025-04-12 06:53:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889852,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:53:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889852,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:53:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889852,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:53:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889852,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889852', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889852', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:53:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 06:53:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 06:53:22] Production.INFO: ==32052== Releasing lock...
[2025-04-12 06:53:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 06:53:22] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 11:54:02] Production.INFO: ==32111== Lock acquired, processing the job...
[2025-04-12 11:54:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 11:54:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 11:54:02] Production.INFO: neon service started
[2025-04-12 11:54:02] Production.INFO: neon service started
[2025-04-12 11:54:02] Production.INFO: ==32111== Releasing lock...
[2025-04-12 11:54:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 11:54:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 06:54:02] Production.INFO: ==32114== Lock acquired, processing the job...
[2025-04-12 06:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 06:54:02] Production.INFO: ==32114== Releasing lock...
[2025-04-12 06:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 06:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 10:54:02] Production.INFO: ==32116== Lock acquired, processing the job...
[2025-04-12 10:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 10:54:03] Production.INFO: ==32116== Releasing lock...
[2025-04-12 10:54:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 10:54:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 06:54:03] Production.INFO: ==32128== Lock acquired, processing the job...
[2025-04-12 06:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 06:54:03] Production.INFO: ==32126== Lock acquired, processing the job...
[2025-04-12 06:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 06:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 06:54:03] Production.INFO: ==32120== Lock acquired, processing the job...
[2025-04-12 06:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 06:54:03] Production.INFO: ==32118== Lock acquired, processing the job...
[2025-04-12 06:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 06:54:03] Production.INFO: ==32124== Lock acquired, processing the job...
[2025-04-12 06:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 06:54:03] Production.INFO: ==32122== Lock acquired, processing the job...
[2025-04-12 06:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 06:54:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 06:54:03] Production.INFO: count ==12
[2025-04-12 06:54:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 06:54:03] Production.INFO: count ==23
[2025-04-12 06:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889853') start
[2025-04-12 06:54:03] Production.INFO: Account Balance Start.
[2025-04-12 06:54:03] Production.INFO: CreateAllLog Start
[2025-04-12 06:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 06:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 06:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 06:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 06:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 06:54:03] Production.INFO: 117
[2025-04-12 06:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889853') end
[2025-04-12 06:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 06:54:04] Production.INFO: 1
[2025-04-12 06:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 06:54:04] Production.INFO: Date 2025-04-08
[2025-04-12 06:54:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:54:04] Production.INFO: ==32128== Releasing lock...
[2025-04-12 06:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 06:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 06:54:04] Production.ERROR: done
[2025-04-12 06:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 06:54:04] Production.INFO: ==32120== Releasing lock...
[2025-04-12 06:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 06:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 06:54:04] Production.INFO: Date 2025-04-09
[2025-04-12 06:54:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:54:04] Production.INFO: Date 2025-04-10
[2025-04-12 06:54:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:54:04] Production.INFO: Date 2025-04-11
[2025-04-12 06:54:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:54:04] Production.INFO: Date 2025-04-12
[2025-04-12 06:54:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:54:04] Production.INFO: Total Charge 0
[2025-04-12 06:54:04] Production.INFO: CreateAllLog End
[2025-04-12 06:54:04] Production.ERROR: done
[2025-04-12 06:54:04] Production.INFO: Account Balance End.
[2025-04-12 06:54:04] Production.ERROR: CronJobId end 12
[2025-04-12 06:54:04] Production.INFO: ==32124== Releasing lock...
[2025-04-12 06:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 06:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 06:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 03:54:05
[end_date_ymd] => 2025-04-12 06:54:05
[RateCDR] => 1
)
[2025-04-12 06:54:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 03:54:05' and `end` < '2025-04-12 06:54:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 06:54:12] Production.ERROR: CronJobId end10
[2025-04-12 06:54:12] Production.INFO: ==32122== Releasing lock...
[2025-04-12 06:54:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 06:54:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 06:54:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 06:54:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 06:54:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 06:54:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 06:54:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 06:54:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 06:54:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 06:54:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 06:54:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 06:54:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 06:54:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 06:54:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 06:54:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 06:54:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 06:54:14] Production.INFO: call_cost start
[2025-04-12 06:54:14] Production.INFO: call_cost end
[2025-04-12 06:54:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 06:54:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 06:54:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 06:54:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 06:54:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 06:54:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 06:54:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 06:54:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 06:54:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 06:54:15] Production.INFO: ==32118== Releasing lock...
[2025-04-12 06:54:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 06:54:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 06:54:18] Production.INFO: count ==113
[2025-04-12 06:54:18] Production.ERROR: pbx CDR StartTime 2025-04-12 03:54:05 - End Time 2025-04-12 06:54:05
[2025-04-12 06:54:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 06:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889857', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889857', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889857', 'tblTempVendorCDR_20' ) start
[2025-04-12 06:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889857', 'tblTempVendorCDR_20' ) end
[2025-04-12 06:54:18] Production.INFO: ProcessCDR(1,14889857,1,1,2)
[2025-04-12 06:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889857,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:54:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889857,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:54:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889857,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:54:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889857,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889857', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889857', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:54:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 06:54:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 06:54:21] Production.INFO: ==32126== Releasing lock...
[2025-04-12 06:54:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 06:54:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 11:55:01] Production.INFO: ==32194== Lock acquired, processing the job...
[2025-04-12 11:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 11:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 11:55:01] Production.INFO: neon service started
[2025-04-12 11:55:01] Production.INFO: neon service started
[2025-04-12 11:55:01] Production.INFO: ==32194== Releasing lock...
[2025-04-12 11:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 11:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 10:55:01] Production.INFO: ==32198== Lock acquired, processing the job...
[2025-04-12 10:55:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 10:55:01] Production.INFO: ==32198== Releasing lock...
[2025-04-12 10:55:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 10:55:01] Production.INFO: 25 MB #Memory Used#
[2025-04-12 06:55:02] Production.INFO: ==32196== Lock acquired, processing the job...
[2025-04-12 06:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 06:55:02] Production.INFO: ==32196== Releasing lock...
[2025-04-12 06:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 06:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 06:55:03] Production.INFO: ==32204== Lock acquired, processing the job...
[2025-04-12 06:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 06:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 06:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 06:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 06:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 06:55:03] Production.INFO: ==32211== Lock acquired, processing the job...
[2025-04-12 06:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 06: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-12 06:55:03] Production.INFO: ==32200== Lock acquired, processing the job...
[2025-04-12 06:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 06:55:03] Production.INFO: ==32202== Lock acquired, processing the job...
[2025-04-12 06:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 06:55:03] Production.INFO: count ==12
[2025-04-12 06:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 06: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-12 06:55:03] Production.INFO: count ==23
[2025-04-12 06:55:03] Production.INFO: ==32206== Lock acquired, processing the job...
[2025-04-12 06:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 06:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889858') start
[2025-04-12 06:55:03] Production.INFO: ==32209== Lock acquired, processing the job...
[2025-04-12 06:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 06:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 06:55:03] Production.INFO: Account Balance Start.
[2025-04-12 06:55:03] Production.INFO: CreateAllLog Start
[2025-04-12 06:55:03] Production.INFO: 117
[2025-04-12 06:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889858') end
[2025-04-12 06:55:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 06:55:03] Production.INFO: 1
[2025-04-12 06:55:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 06:55:03] Production.INFO: Date 2025-04-08
[2025-04-12 06:55:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:55:03] Production.INFO: ==32211== Releasing lock...
[2025-04-12 06:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 06:55:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 06:55:03] Production.INFO: Date 2025-04-09
[2025-04-12 06:55:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:55:03] Production.INFO: Date 2025-04-10
[2025-04-12 06:55:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:55:03] Production.INFO: Date 2025-04-11
[2025-04-12 06:55:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:55:03] Production.INFO: ==32202== Releasing lock...
[2025-04-12 06:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 06:55:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 06:55:03] Production.INFO: Date 2025-04-12
[2025-04-12 06:55:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:55:04] Production.INFO: Total Charge 0
[2025-04-12 06:55:04] Production.INFO: CreateAllLog End
[2025-04-12 06:55:04] Production.ERROR: done
[2025-04-12 06:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 06:55:04] Production.ERROR: done
[2025-04-12 06:55:04] Production.INFO: Account Balance End.
[2025-04-12 06:55:04] Production.ERROR: CronJobId end 12
[2025-04-12 06:55:04] Production.INFO: ==32206== Releasing lock...
[2025-04-12 06:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 06:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 06:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 03:55:05
[end_date_ymd] => 2025-04-12 06:55:05
[RateCDR] => 1
)
[2025-04-12 06:55:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 03:55:05' and `end` < '2025-04-12 06:55:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 06:55:11] Production.ERROR: CronJobId end10
[2025-04-12 06:55:11] Production.INFO: ==32204== Releasing lock...
[2025-04-12 06:55:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 06:55:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 06:55:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 06:55:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 06:55:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 06:55:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 06:55:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 06:55:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 06:55:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 06:55:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 06:55:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 06:55:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 06:55:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 06:55:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 06:55:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 06:55:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 06:55:14] Production.INFO: call_cost start
[2025-04-12 06:55:14] Production.INFO: call_cost end
[2025-04-12 06:55:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 06:55:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 06:55:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 06:55:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 06:55:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 06:55:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 06:55:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 06:55:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 06:55:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 06:55:15] Production.INFO: ==32200== Releasing lock...
[2025-04-12 06:55:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 06:55:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 06:55:17] Production.INFO: count ==115
[2025-04-12 06:55:17] Production.ERROR: pbx CDR StartTime 2025-04-12 03:55:05 - End Time 2025-04-12 06:55:05
[2025-04-12 06:55:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 06:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889862', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889862', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889862', 'tblTempVendorCDR_20' ) start
[2025-04-12 06:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889862', 'tblTempVendorCDR_20' ) end
[2025-04-12 06:55:17] Production.INFO: ProcessCDR(1,14889862,1,1,2)
[2025-04-12 06:55:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889862,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:55:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889862,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:55:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889862,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:55:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889862,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889862', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889862', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:55:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 06:55:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 06:55:21] Production.INFO: ==32209== Releasing lock...
[2025-04-12 06:55:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 06:55:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 11:56:01] Production.INFO: ==32265== Lock acquired, processing the job...
[2025-04-12 11:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 11:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 11:56:01] Production.INFO: neon service started
[2025-04-12 11:56:01] Production.INFO: neon service started
[2025-04-12 11:56:01] Production.INFO: ==32265== Releasing lock...
[2025-04-12 11:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 11:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 06:56:02] Production.INFO: ==32267== Lock acquired, processing the job...
[2025-04-12 06:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 06:56:02] Production.INFO: ==32267== Releasing lock...
[2025-04-12 06:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 06:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 10:56:02] Production.INFO: ==32269== Lock acquired, processing the job...
[2025-04-12 10:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 10:56:02] Production.INFO: ==32269== Releasing lock...
[2025-04-12 10:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 10:56:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 06:56:03] Production.INFO: ==32272== Lock acquired, processing the job...
[2025-04-12 06:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 06:56:03] Production.INFO: ==32274== Lock acquired, processing the job...
[2025-04-12 06:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 06:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 06:56:03] Production.INFO: ==32276== Lock acquired, processing the job...
[2025-04-12 06:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 06:56:03] Production.INFO: ==32278== Lock acquired, processing the job...
[2025-04-12 06:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 06:56:03] Production.INFO: ==32282== Lock acquired, processing the job...
[2025-04-12 06:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 06:56:03] Production.INFO: ==32280== Lock acquired, processing the job...
[2025-04-12 06:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 06:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 06:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 06:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 06:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 06:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 06:56:03] Production.INFO: Account Balance Start.
[2025-04-12 06:56:03] Production.INFO: CreateAllLog Start
[2025-04-12 06:56:03] Production.INFO: 117
[2025-04-12 06:56:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 06:56:03] Production.INFO: count ==12
[2025-04-12 06:56:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 06:56:03] Production.INFO: count ==23
[2025-04-12 06:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889866') start
[2025-04-12 06:56:04] Production.INFO: Date 2025-04-08
[2025-04-12 06:56:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:56:04] Production.INFO: Date 2025-04-09
[2025-04-12 06:56:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889866') end
[2025-04-12 06:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 06:56:04] Production.INFO: 1
[2025-04-12 06:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 06:56:04] Production.INFO: Date 2025-04-10
[2025-04-12 06:56:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:56:04] Production.INFO: Date 2025-04-11
[2025-04-12 06:56:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:56:04] Production.INFO: Date 2025-04-12
[2025-04-12 06:56:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:56:04] Production.INFO: Total Charge 0
[2025-04-12 06:56:04] Production.INFO: ==32282== Releasing lock...
[2025-04-12 06:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 06:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 06:56:04] Production.INFO: CreateAllLog End
[2025-04-12 06:56:04] Production.ERROR: done
[2025-04-12 06:56:04] Production.INFO: ==32274== Releasing lock...
[2025-04-12 06:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 06:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 06:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 06:56:04] Production.ERROR: done
[2025-04-12 06:56:04] Production.INFO: Account Balance End.
[2025-04-12 06:56:04] Production.ERROR: CronJobId end 12
[2025-04-12 06:56:04] Production.INFO: ==32278== Releasing lock...
[2025-04-12 06:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 06:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 06:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 03:56:05
[end_date_ymd] => 2025-04-12 06:56:05
[RateCDR] => 1
)
[2025-04-12 06:56:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 03:56:05' and `end` < '2025-04-12 06:56:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 06:56:12] Production.ERROR: CronJobId end10
[2025-04-12 06:56:12] Production.INFO: ==32276== Releasing lock...
[2025-04-12 06:56:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 06:56:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 06:56:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 06:56:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 06:56:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 06:56:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 06:56:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 06:56:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 06:56:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 06:56:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 06:56:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 06:56:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 06:56:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 06:56:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 06:56:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 06:56:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 06:56:15] Production.INFO: call_cost start
[2025-04-12 06:56:15] Production.INFO: call_cost end
[2025-04-12 06:56:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 06:56:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 06:56:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 06:56:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 06:56:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 06:56:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 06:56:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 06:56:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 06:56:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 06:56:16] Production.INFO: ==32272== Releasing lock...
[2025-04-12 06:56:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 06:56:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 06:56:18] Production.INFO: count ==117
[2025-04-12 06:56:18] Production.ERROR: pbx CDR StartTime 2025-04-12 03:56:05 - End Time 2025-04-12 06:56:05
[2025-04-12 06:56:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 06:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889867', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889867', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889867', 'tblTempVendorCDR_20' ) start
[2025-04-12 06:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889867', 'tblTempVendorCDR_20' ) end
[2025-04-12 06:56:18] Production.INFO: ProcessCDR(1,14889867,1,1,2)
[2025-04-12 06:56:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889867,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:56:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889867,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:56:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889867,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:56:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889867,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889867', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889867', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:56:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 06:56:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 06:56:21] Production.INFO: ==32280== Releasing lock...
[2025-04-12 06:56:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 06:56:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 11:57:01] Production.INFO: ==32341== Lock acquired, processing the job...
[2025-04-12 11:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 11:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 11:57:01] Production.INFO: neon service started
[2025-04-12 11:57:01] Production.INFO: neon service started
[2025-04-12 11:57:01] Production.INFO: ==32341== Releasing lock...
[2025-04-12 11:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 11:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 06:57:01] Production.INFO: ==32343== Lock acquired, processing the job...
[2025-04-12 06:57:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 06:57:02] Production.INFO: ==32343== Releasing lock...
[2025-04-12 06:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 06:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 10:57:02] Production.INFO: ==32345== Lock acquired, processing the job...
[2025-04-12 10:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 10:57:02] Production.INFO: ==32345== Releasing lock...
[2025-04-12 10:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 10:57:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 06:57:03] Production.INFO: ==32349== Lock acquired, processing the job...
[2025-04-12 06:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 06:57:03] Production.INFO: ==32352== Lock acquired, processing the job...
[2025-04-12 06:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 06:57:03] Production.INFO: ==32347== Lock acquired, processing the job...
[2025-04-12 06:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 06:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 06:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 06:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 06:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 06:57:03] Production.INFO: ==32358== Lock acquired, processing the job...
[2025-04-12 06:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 06:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 06:57:03] Production.INFO: ==32356== Lock acquired, processing the job...
[2025-04-12 06:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 06:57:03] Production.INFO: ==32354== Lock acquired, processing the job...
[2025-04-12 06:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 06:57:03] Production.INFO: ==32349== Releasing lock...
[2025-04-12 06:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 06:57:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 06:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 06:57:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 06:57:03] Production.INFO: count ==12
[2025-04-12 06:57:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 06:57:03] Production.INFO: count ==23
[2025-04-12 06:57:03] Production.INFO: Account Balance Start.
[2025-04-12 06:57:03] Production.INFO: CreateAllLog Start
[2025-04-12 06:57:03] Production.INFO: 117
[2025-04-12 06:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889870') start
[2025-04-12 06:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889870') end
[2025-04-12 06:57:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 06:57:03] Production.INFO: 1
[2025-04-12 06:57:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 06:57:03] Production.INFO: Date 2025-04-08
[2025-04-12 06:57:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:57:03] Production.INFO: ==32358== Releasing lock...
[2025-04-12 06:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 06:57:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 06:57:03] Production.INFO: Date 2025-04-09
[2025-04-12 06:57:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:57:03] Production.INFO: Date 2025-04-10
[2025-04-12 06:57:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:57:04] Production.ERROR: done
[2025-04-12 06:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 06:57:04] Production.INFO: Date 2025-04-11
[2025-04-12 06:57:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:57:04] Production.INFO: Date 2025-04-12
[2025-04-12 06:57:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:57:04] Production.INFO: Total Charge 0
[2025-04-12 06:57:04] Production.ERROR: done
[2025-04-12 06:57:04] Production.INFO: CreateAllLog End
[2025-04-12 06:57:04] Production.INFO: Account Balance End.
[2025-04-12 06:57:04] Production.ERROR: CronJobId end 12
[2025-04-12 06:57:04] Production.INFO: ==32354== Releasing lock...
[2025-04-12 06:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 06:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 06:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 03:57:05
[end_date_ymd] => 2025-04-12 06:57:05
[RateCDR] => 1
)
[2025-04-12 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-12 03:57:05' and `end` < '2025-04-12 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-12 06:57:10] Production.ERROR: CronJobId end10
[2025-04-12 06:57:10] Production.INFO: ==32352== Releasing lock...
[2025-04-12 06:57:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 06:57:10] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 06:57:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 06:57:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 06:57:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 06:57:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 06:57:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 06:57:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 06:57:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 06:57:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 06:57:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 06:57:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 06:57:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 06:57:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 06:57:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 06:57:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 06:57:14] Production.INFO: call_cost start
[2025-04-12 06:57:14] Production.INFO: call_cost end
[2025-04-12 06:57:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 06:57:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 06:57:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 06:57:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 06:57:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 06:57:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 06:57:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 06:57:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 06:57:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 06:57:15] Production.INFO: ==32347== Releasing lock...
[2025-04-12 06:57:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 06:57:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 06:57:18] Production.INFO: count ==117
[2025-04-12 06:57:18] Production.ERROR: pbx CDR StartTime 2025-04-12 03:57:05 - End Time 2025-04-12 06:57:05
[2025-04-12 06:57:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 06:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889872', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889872', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889872', 'tblTempVendorCDR_20' ) start
[2025-04-12 06:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889872', 'tblTempVendorCDR_20' ) end
[2025-04-12 06:57:18] Production.INFO: ProcessCDR(1,14889872,1,1,2)
[2025-04-12 06:57:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889872,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:57:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889872,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:57:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889872,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:57:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889872,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889872', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889872', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:57:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 06:57:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 06:57:21] Production.INFO: ==32356== Releasing lock...
[2025-04-12 06:57:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 06:57:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 11:58:01] Production.INFO: ==32412== Lock acquired, processing the job...
[2025-04-12 11:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 11:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 11:58:01] Production.INFO: neon service started
[2025-04-12 11:58:01] Production.INFO: neon service started
[2025-04-12 11:58:01] Production.INFO: ==32412== Releasing lock...
[2025-04-12 11:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 11:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 06:58:02] Production.INFO: ==32414== Lock acquired, processing the job...
[2025-04-12 06:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 10:58:02] Production.INFO: ==32416== Lock acquired, processing the job...
[2025-04-12 10:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 10:58:02] Production.INFO: ==32416== Releasing lock...
[2025-04-12 10:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 10:58:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 06:58:02] Production.INFO: ==32414== Releasing lock...
[2025-04-12 06:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 06:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 06:58:03] Production.INFO: ==32424== Lock acquired, processing the job...
[2025-04-12 06:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 06:58:03] Production.INFO: ==32427== Lock acquired, processing the job...
[2025-04-12 06:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 06:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 06:58:03] Production.INFO: Account Balance Start.
[2025-04-12 06:58:03] Production.INFO: CreateAllLog Start
[2025-04-12 06:58:03] Production.INFO: 117
[2025-04-12 06:58:03] Production.INFO: Date 2025-04-08
[2025-04-12 06:58:03] Production.INFO: Reseller ==> 0
[2025-04-12 06:58:03] Production.INFO: ==32418== Lock acquired, processing the job...
[2025-04-12 06:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 06:58:04] Production.INFO: Date 2025-04-09
[2025-04-12 06:58:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:58:04] Production.INFO: ==32420== Lock acquired, processing the job...
[2025-04-12 06:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 06:58:04] Production.INFO: Date 2025-04-10
[2025-04-12 06:58:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:58:04] Production.INFO: Date 2025-04-11
[2025-04-12 06:58:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:58:04] Production.INFO: ==32422== Lock acquired, processing the job...
[2025-04-12 06:58:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 06:58:04] Production.INFO: Date 2025-04-12
[2025-04-12 06:58:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:58:04] Production.ERROR: done
[2025-04-12 06:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 06:58:04] Production.INFO: ==32429== Lock acquired, processing the job...
[2025-04-12 06:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 06:58:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 06:58:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 06:58:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 06:58:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 06:58:04] Production.INFO: Total Charge 0
[2025-04-12 06:58:04] Production.INFO: CreateAllLog End
[2025-04-12 06:58:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 06: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-12 06:58:04] Production.ERROR: done
[2025-04-12 06:58:04] Production.INFO: count ==12
[2025-04-12 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-12 06:58:04] Production.INFO: count ==23
[2025-04-12 06:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889875') start
[2025-04-12 06:58:04] Production.INFO: Account Balance End.
[2025-04-12 06:58:04] Production.ERROR: CronJobId end 12
[2025-04-12 06:58:04] Production.INFO: ==32424== Releasing lock...
[2025-04-12 06:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 06:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 06:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889875') end
[2025-04-12 06:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 06:58:04] Production.INFO: 1
[2025-04-12 06:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 06:58:04] Production.INFO: ==32420== Releasing lock...
[2025-04-12 06:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 06:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 06:58:04] Production.INFO: ==32429== Releasing lock...
[2025-04-12 06:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 06:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 06:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 03:58:05
[end_date_ymd] => 2025-04-12 06:58:05
[RateCDR] => 1
)
[2025-04-12 06:58:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 03:58:05' and `end` < '2025-04-12 06:58:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 06:58:11] Production.ERROR: CronJobId end10
[2025-04-12 06:58:11] Production.INFO: ==32422== Releasing lock...
[2025-04-12 06:58:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 06:58:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 06:58:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 06:58:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 06:58:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 06:58:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 06:58:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 06:58:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 06:58:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 06:58:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 06:58:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 06:58:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 06:58:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 06:58:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 06:58:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 06:58:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 06:58:14] Production.INFO: call_cost start
[2025-04-12 06:58:14] Production.INFO: call_cost end
[2025-04-12 06:58:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 06:58:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 06:58:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 06:58:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 06:58:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 06:58:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 06:58:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 06:58:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 06:58:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 06:58:15] Production.INFO: ==32418== Releasing lock...
[2025-04-12 06:58:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 06:58:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 06:58:17] Production.INFO: count ==117
[2025-04-12 06:58:17] Production.ERROR: pbx CDR StartTime 2025-04-12 03:58:05 - End Time 2025-04-12 06:58:05
[2025-04-12 06:58:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 06:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889877', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889877', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889877', 'tblTempVendorCDR_20' ) start
[2025-04-12 06:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889877', 'tblTempVendorCDR_20' ) end
[2025-04-12 06:58:17] Production.INFO: ProcessCDR(1,14889877,1,1,2)
[2025-04-12 06:58:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889877,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:58:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889877,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:58:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889877,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:58:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889877,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889877', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889877', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:58:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 06:58:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 06:58:21] Production.INFO: ==32427== Releasing lock...
[2025-04-12 06:58:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 06:58:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 11:59:02] Production.INFO: ==32482== Lock acquired, processing the job...
[2025-04-12 11:59:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 11:59:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 11:59:02] Production.INFO: neon service started
[2025-04-12 11:59:02] Production.INFO: neon service started
[2025-04-12 11:59:02] Production.INFO: ==32482== Releasing lock...
[2025-04-12 11:59:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 11:59:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 10:59:02] Production.INFO: ==32486== Lock acquired, processing the job...
[2025-04-12 10:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 10:59:02] Production.INFO: ==32486== Releasing lock...
[2025-04-12 10:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 10:59:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 06:59:02] Production.INFO: ==32484== Lock acquired, processing the job...
[2025-04-12 06:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 06:59:03] Production.INFO: ==32484== Releasing lock...
[2025-04-12 06:59:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 06:59:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 06:59:03] Production.INFO: ==32489== Lock acquired, processing the job...
[2025-04-12 06:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 06:59:03] Production.INFO: ==32491== Lock acquired, processing the job...
[2025-04-12 06:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 06:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 06:59:03] Production.INFO: ==32493== Lock acquired, processing the job...
[2025-04-12 06:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 06:59:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 06:59:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 06:59:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 06:59:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 06:59:04] Production.INFO: ==32495== Lock acquired, processing the job...
[2025-04-12 06:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 06:59:04] Production.INFO: ==32491== Releasing lock...
[2025-04-12 06:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 06:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 06:59:04] Production.INFO: Account Balance Start.
[2025-04-12 06:59:04] Production.INFO: CreateAllLog Start
[2025-04-12 06:59:04] Production.INFO: 117
[2025-04-12 06:59:04] Production.INFO: Date 2025-04-08
[2025-04-12 06:59:04] Production.INFO: ==32497== Lock acquired, processing the job...
[2025-04-12 06:59:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 06:59:04] Production.INFO: ==32499== Lock acquired, processing the job...
[2025-04-12 06:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 06:59:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:59:04] Production.INFO: Date 2025-04-09
[2025-04-12 06:59:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:59:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 06:59:04] Production.INFO: Date 2025-04-10
[2025-04-12 06:59:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:59:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 06:59:04] Production.INFO: Date 2025-04-11
[2025-04-12 06:59:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:59:04] Production.INFO: count ==12
[2025-04-12 06:59:04] Production.INFO: Date 2025-04-12
[2025-04-12 06:59:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 06:59:04] Production.INFO: Reseller ==> 0
[2025-04-12 06:59:04] Production.INFO: count ==23
[2025-04-12 06:59:04] Production.INFO: Total Charge 0
[2025-04-12 06:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889881') start
[2025-04-12 06:59:04] Production.INFO: CreateAllLog End
[2025-04-12 06:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889881') end
[2025-04-12 06:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 06:59:04] Production.INFO: 1
[2025-04-12 06:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 06:59:04] Production.INFO: ==32499== Releasing lock...
[2025-04-12 06:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 06:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 06:59:04] Production.ERROR: done
[2025-04-12 06:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 06:59:04] Production.INFO: Account Balance End.
[2025-04-12 06:59:05] Production.ERROR: CronJobId end 12
[2025-04-12 06:59:05] Production.INFO: ==32495== Releasing lock...
[2025-04-12 06:59:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 06:59:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 06:59:05] Production.ERROR: done
[2025-04-12 06:59:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 03:59:06
[end_date_ymd] => 2025-04-12 06:59:06
[RateCDR] => 1
)
[2025-04-12 06: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-12 03:59:06' and `end` < '2025-04-12 06: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-12 06:59:11] Production.ERROR: CronJobId end10
[2025-04-12 06:59:11] Production.INFO: ==32493== Releasing lock...
[2025-04-12 06:59:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 06:59:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 06:59:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 06:59:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 06:59:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 06:59:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 06:59:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 06:59:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 06:59:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 06:59:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 06:59:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 06:59:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 06:59:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 06:59:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 06:59:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 06:59:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 06:59:14] Production.INFO: call_cost start
[2025-04-12 06:59:14] Production.INFO: call_cost end
[2025-04-12 06:59:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 06:59:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 06:59:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 06:59:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 06:59:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 06:59:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 06:59:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 06:59:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 06:59:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 06:59:15] Production.INFO: ==32489== Releasing lock...
[2025-04-12 06:59:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 06:59:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 06:59:18] Production.INFO: count ==117
[2025-04-12 06:59:18] Production.ERROR: pbx CDR StartTime 2025-04-12 03:59:06 - End Time 2025-04-12 06:59:06
[2025-04-12 06:59:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 06:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889882', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889882', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889882', 'tblTempVendorCDR_20' ) start
[2025-04-12 06:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889882', 'tblTempVendorCDR_20' ) end
[2025-04-12 06:59:19] Production.INFO: ProcessCDR(1,14889882,1,1,2)
[2025-04-12 06:59:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889882,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:59:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889882,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 06:59:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889882,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:59:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889882,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 06:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889882', 'tblTempUsageDetail_20' ) start
[2025-04-12 06:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889882', 'tblTempUsageDetail_20' ) end
[2025-04-12 06:59:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 06:59:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 06:59:22] Production.INFO: ==32497== Releasing lock...
[2025-04-12 06:59:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 06:59:22] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 12:00:01] Production.INFO: ==32563== Lock acquired, processing the job...
[2025-04-12 12:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 12:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 12:00:01] Production.INFO: neon service started
[2025-04-12 12:00:01] Production.INFO: neon service started
[2025-04-12 12:00:01] Production.INFO: ==32563== Releasing lock...
[2025-04-12 12:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 12:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 07:00:02] Production.INFO: ==32565== Lock acquired, processing the job...
[2025-04-12 07:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 11:00:02] Production.INFO: ==32567== Lock acquired, processing the job...
[2025-04-12 11:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 07:00:02] Production.INFO: ==32565== Releasing lock...
[2025-04-12 07:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 07:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 11:00:02] Production.INFO: ==32567== Releasing lock...
[2025-04-12 11:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 11:00:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 07:00:03] Production.INFO: ==32569== Lock acquired, processing the job...
[2025-04-12 07:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 07:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 07:00:03] Production.INFO: ==32573== Lock acquired, processing the job...
[2025-04-12 07:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 07:00:03] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 07:00:03] Production.INFO: ==32569== Releasing lock...
[2025-04-12 07:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 07:00:03] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 07:00:03] Production.INFO: ==32579== Lock acquired, processing the job...
[2025-04-12 07:00:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 07:00:03] Production.INFO: ==32575== Lock acquired, processing the job...
[2025-04-12 07:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 07:00:03] Production.INFO: ==32571== Lock acquired, processing the job...
[2025-04-12 07:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 07:00:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 07:00:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 07:00:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 07:00:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 07:00:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 07:00:03] Production.INFO: ==32577== Lock acquired, processing the job...
[2025-04-12 07:00:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 07:00:03] Production.INFO: ==32581== Lock acquired, processing the job...
[2025-04-12 07:00:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 07:00:04] Production.INFO: ==32584== Lock acquired, processing the job...
[2025-04-12 07:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 07:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 07:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 07:00:04] Production.INFO: ==32573== Releasing lock...
[2025-04-12 07:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 07:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 07:00:04] Production.ERROR: done
[2025-04-12 07:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 07:00:04] Production.INFO: Account Balance Start.
[2025-04-12 07:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 07:00:04] Production.INFO: CreateAllLog Start
[2025-04-12 07:00:04] Production.INFO: 117
[2025-04-12 07:00:04] Production.INFO: Date 2025-04-08
[2025-04-12 07:00:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:00:04] Production.INFO: Date 2025-04-09
[2025-04-12 07:00:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:00:04] Production.INFO: count ==12
[2025-04-12 07:00:04] Production.INFO: Date 2025-04-10
[2025-04-12 07:00:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 07:00:04] Production.INFO: count ==23
[2025-04-12 07:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889886') start
[2025-04-12 07:00:04] Production.INFO: Date 2025-04-11
[2025-04-12 07:00:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889886') end
[2025-04-12 07:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 07:00:04] Production.INFO: 1
[2025-04-12 07:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 07:00:04] Production.ERROR: done
[2025-04-12 07:00:04] Production.INFO: Date 2025-04-12
[2025-04-12 07:00:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:00:04] Production.INFO: Total Charge 0
[2025-04-12 07:00:04] Production.INFO: CreateAllLog End
[2025-04-12 07:00:04] Production.INFO: ==32584== Releasing lock...
[2025-04-12 07:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 07:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 07:00:04] Production.ERROR: done
[2025-04-12 07:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 07:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14889888', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 07:00:04] Production.INFO: Account Balance End.
[2025-04-12 07:00:04] Production.ERROR: CronJobId end 12
[2025-04-12 07:00:04] Production.INFO: ==32577== Releasing lock...
[2025-04-12 07:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 07:00:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 07:00:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 04:00:05
[end_date_ymd] => 2025-04-12 07:00:05
[RateCDR] => 1
)
[2025-04-12 07: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-12 04:00:05' and `end` < '2025-04-12 07: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-12 07:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14889888', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 07:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 07:00:09] Production.INFO: ProcessCDR(1,14889888,1,1,2)
[2025-04-12 07:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14889888,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14889888,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 07:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 07:00:09] Production.INFO: ==32581== Releasing lock...
[2025-04-12 07:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 07:00:09] Production.INFO: 26 MB #Memory Used#
[2025-04-12 07:00:15] Production.ERROR: CronJobId end10
[2025-04-12 07:00:15] Production.INFO: ==32575== Releasing lock...
[2025-04-12 07:00:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 07:00:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 07:00:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 07:00:16] Production.INFO: ============== Balance Warning START===========
[2025-04-12 07:00:16] Production.INFO: ============== Balance Warning END===========
[2025-04-12 07:00:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 07:00:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 07:00:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 07:00:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 07:00:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 07:00:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 07:00:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 07:00:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 07:00:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 07:00:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 07:00:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 07:00:17] Production.INFO: call_cost start
[2025-04-12 07:00:17] Production.INFO: call_cost end
[2025-04-12 07:00:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 07:00:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 07:00:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 07:00:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 07:00:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 07:00:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 07:00:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 07:00:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 07:00:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 07:00:17] Production.INFO: ==32571== Releasing lock...
[2025-04-12 07:00:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 07:00:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 07:00:18] Production.INFO: count ==115
[2025-04-12 07:00:18] Production.ERROR: pbx CDR StartTime 2025-04-12 04:00:05 - End Time 2025-04-12 07:00:05
[2025-04-12 07:00:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 07:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889887', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889887', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889887', 'tblTempVendorCDR_20' ) start
[2025-04-12 07:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889887', 'tblTempVendorCDR_20' ) end
[2025-04-12 07:00:18] Production.INFO: ProcessCDR(1,14889887,1,1,2)
[2025-04-12 07:00:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889887,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:00:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889887,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:00:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889887,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:00:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889887,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:00:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889887', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:00:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889887', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:00:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 07:00:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 07:00:21] Production.INFO: ==32579== Releasing lock...
[2025-04-12 07:00:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 07:00:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 12:01:02] Production.INFO: ==32724== Lock acquired, processing the job...
[2025-04-12 12:01:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 12:01:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 12:01:02] Production.INFO: neon service started
[2025-04-12 12:01:02] Production.INFO: neon service started
[2025-04-12 12:01:02] Production.INFO: ==32724== Releasing lock...
[2025-04-12 12:01:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 12:01:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 07:01:02] Production.INFO: ==32736== Lock acquired, processing the job...
[2025-04-12 07:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 07:01:02] Production.INFO: ==32736== Releasing lock...
[2025-04-12 07:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 07:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 11:01:02] Production.INFO: ==32738== Lock acquired, processing the job...
[2025-04-12 11:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 11:01:03] Production.INFO: ==32738== Releasing lock...
[2025-04-12 11:01:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 11:01:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 07:01:03] Production.INFO: ==32747== Lock acquired, processing the job...
[2025-04-12 07:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 07:01:03] Production.INFO: ==32751== Lock acquired, processing the job...
[2025-04-12 07:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 07:01:03] Production.INFO: Account Balance Start.
[2025-04-12 07:01:03] Production.INFO: CreateAllLog Start
[2025-04-12 07:01:03] Production.INFO: 117
[2025-04-12 07:01:03] Production.INFO: Date 2025-04-08
[2025-04-12 07:01:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:01:03] Production.INFO: Date 2025-04-09
[2025-04-12 07:01:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:01:04] Production.INFO: Date 2025-04-10
[2025-04-12 07:01:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:01:04] Production.INFO: Date 2025-04-11
[2025-04-12 07:01:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:01:04] Production.INFO: ==32740== Lock acquired, processing the job...
[2025-04-12 07:01:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 07:01:04] Production.INFO: Date 2025-04-12
[2025-04-12 07:01:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 07:01:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:01:04] Production.INFO: Total Charge 0
[2025-04-12 07:01:04] Production.INFO: CreateAllLog End
[2025-04-12 07:01:04] Production.INFO: ==32745== Lock acquired, processing the job...
[2025-04-12 07:01:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 07:01:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 07:01:04] Production.INFO: ==32742== Lock acquired, processing the job...
[2025-04-12 07:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 07:01:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 07:01:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 07:01:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 07:01:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 07:01:04] Production.INFO: ==32749== Lock acquired, processing the job...
[2025-04-12 07:01:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 07:01:04] Production.INFO: Account Balance End.
[2025-04-12 07:01:04] Production.ERROR: CronJobId end 12
[2025-04-12 07:01:04] Production.INFO: ==32747== Releasing lock...
[2025-04-12 07:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 07:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 07:01:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 07:01:04] Production.INFO: count ==12
[2025-04-12 07:01:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 07:01:04] Production.INFO: count ==23
[2025-04-12 07:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889890') start
[2025-04-12 07:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889890') end
[2025-04-12 07:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 07:01:04] Production.INFO: 1
[2025-04-12 07:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 07:01:04] Production.INFO: ==32751== Releasing lock...
[2025-04-12 07:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 07:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 07:01:04] Production.ERROR: done
[2025-04-12 07:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 07:01:04] Production.INFO: ==32742== Releasing lock...
[2025-04-12 07:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 07:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 07:01:04] Production.ERROR: done
[2025-04-12 07:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 04:01:05
[end_date_ymd] => 2025-04-12 07:01:05
[RateCDR] => 1
)
[2025-04-12 07:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 04:01:05' and `end` < '2025-04-12 07:01:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 07:01:12] Production.ERROR: CronJobId end10
[2025-04-12 07:01:12] Production.INFO: ==32745== Releasing lock...
[2025-04-12 07:01:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 07:01:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 07:01:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 07:01:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 07:01:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 07:01:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 07:01:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 07:01:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 07:01:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 07:01:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 07:01:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 07:01:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 07:01:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 07:01:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 07:01:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 07:01:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 07:01:14] Production.INFO: call_cost start
[2025-04-12 07:01:14] Production.INFO: call_cost end
[2025-04-12 07:01:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 07:01:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 07:01:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 07:01:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 07:01:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 07:01:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 07:01:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 07:01:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 07:01:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 07:01:15] Production.INFO: ==32740== Releasing lock...
[2025-04-12 07:01:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 07:01:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 07:01:18] Production.INFO: count ==115
[2025-04-12 07:01:18] Production.ERROR: pbx CDR StartTime 2025-04-12 04:01:05 - End Time 2025-04-12 07:01:05
[2025-04-12 07:01:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 07:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889893', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889893', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889893', 'tblTempVendorCDR_20' ) start
[2025-04-12 07:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889893', 'tblTempVendorCDR_20' ) end
[2025-04-12 07:01:18] Production.INFO: ProcessCDR(1,14889893,1,1,2)
[2025-04-12 07:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889893,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:01:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889893,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:01:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889893,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:01:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889893,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889893', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889893', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:01:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 07:01:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 07:01:22] Production.INFO: ==32749== Releasing lock...
[2025-04-12 07:01:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 07:01:22] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 12:02:01] Production.INFO: ==356== Lock acquired, processing the job...
[2025-04-12 12:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 12:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 12:02:01] Production.INFO: neon service started
[2025-04-12 12:02:01] Production.INFO: neon service started
[2025-04-12 12:02:01] Production.INFO: ==356== Releasing lock...
[2025-04-12 12:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 12:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 07:02:02] Production.INFO: ==358== Lock acquired, processing the job...
[2025-04-12 07:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 07:02:02] Production.INFO: ==358== Releasing lock...
[2025-04-12 07:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 07:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 11:02:02] Production.INFO: ==360== Lock acquired, processing the job...
[2025-04-12 11:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 11:02:02] Production.INFO: ==360== Releasing lock...
[2025-04-12 11:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 11:02:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 07:02:03] Production.INFO: ==367== Lock acquired, processing the job...
[2025-04-12 07:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 07:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 07:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 07:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 07:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 07:02:03] Production.INFO: ==365== Lock acquired, processing the job...
[2025-04-12 07:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 07:02:03] Production.INFO: ==363== Lock acquired, processing the job...
[2025-04-12 07:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 07:02:03] Production.INFO: ==369== Lock acquired, processing the job...
[2025-04-12 07:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 07:02:03] Production.INFO: ==371== Lock acquired, processing the job...
[2025-04-12 07:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 07:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 07:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 07:02:03] Production.INFO: ==373== Lock acquired, processing the job...
[2025-04-12 07:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 07:02:03] Production.INFO: Account Balance Start.
[2025-04-12 07:02:03] Production.INFO: CreateAllLog Start
[2025-04-12 07:02:03] Production.INFO: 117
[2025-04-12 07:02:04] Production.INFO: Date 2025-04-08
[2025-04-12 07:02:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:02:04] Production.INFO: Date 2025-04-09
[2025-04-12 07:02:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:02:04] Production.INFO: ==365== Releasing lock...
[2025-04-12 07:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 07:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 07:02:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 07:02:04] Production.INFO: count ==12
[2025-04-12 07:02:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 07:02:04] Production.INFO: Date 2025-04-10
[2025-04-12 07:02:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:02:04] Production.ERROR: done
[2025-04-12 07:02:04] Production.INFO: count ==23
[2025-04-12 07:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 07:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889897') start
[2025-04-12 07:02:04] Production.INFO: Date 2025-04-11
[2025-04-12 07:02:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:02:04] Production.INFO: Date 2025-04-12
[2025-04-12 07:02:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889897') end
[2025-04-12 07:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 07:02:04] Production.INFO: 1
[2025-04-12 07:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 07:02:04] Production.INFO: Total Charge 0
[2025-04-12 07:02:04] Production.INFO: CreateAllLog End
[2025-04-12 07:02:04] Production.INFO: ==373== Releasing lock...
[2025-04-12 07:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 07:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 07:02:04] Production.ERROR: done
[2025-04-12 07:02:04] Production.INFO: Account Balance End.
[2025-04-12 07:02:04] Production.ERROR: CronJobId end 12
[2025-04-12 07:02:04] Production.INFO: ==369== Releasing lock...
[2025-04-12 07:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 07:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 07:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 04:02:05
[end_date_ymd] => 2025-04-12 07:02:05
[RateCDR] => 1
)
[2025-04-12 07:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 04:02:05' and `end` < '2025-04-12 07:02:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 07:02:11] Production.ERROR: CronJobId end10
[2025-04-12 07:02:11] Production.INFO: ==367== Releasing lock...
[2025-04-12 07:02:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 07:02:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 07:02:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 07:02:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 07:02:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 07:02:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 07:02:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 07:02:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 07:02:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 07:02:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 07:02:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 07:02:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 07:02:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 07:02:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 07:02:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 07:02:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 07:02:14] Production.INFO: call_cost start
[2025-04-12 07:02:14] Production.INFO: call_cost end
[2025-04-12 07:02:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 07:02:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 07:02:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 07:02:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 07:02:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 07:02:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 07:02:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 07:02:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 07:02:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 07:02:15] Production.INFO: ==363== Releasing lock...
[2025-04-12 07:02:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 07:02:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 07:02:20] Production.INFO: count ==117
[2025-04-12 07:02:20] Production.ERROR: pbx CDR StartTime 2025-04-12 04:02:05 - End Time 2025-04-12 07:02:05
[2025-04-12 07:02:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 07:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889898', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889898', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889898', 'tblTempVendorCDR_20' ) start
[2025-04-12 07:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889898', 'tblTempVendorCDR_20' ) end
[2025-04-12 07:02:20] Production.INFO: ProcessCDR(1,14889898,1,1,2)
[2025-04-12 07:02:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889898,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:02:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889898,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:02:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889898,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:02:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889898,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:02:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889898', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:02:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889898', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:02:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 07:02:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 07:02:24] Production.INFO: ==371== Releasing lock...
[2025-04-12 07:02:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 07:02:24] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 12:03:02] Production.INFO: ==428== Lock acquired, processing the job...
[2025-04-12 12:03:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 12:03:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 12:03:02] Production.INFO: neon service started
[2025-04-12 12:03:02] Production.INFO: neon service started
[2025-04-12 12:03:02] Production.INFO: ==428== Releasing lock...
[2025-04-12 12:03:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 12:03:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 07:03:02] Production.INFO: ==431== Lock acquired, processing the job...
[2025-04-12 07:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 07:03:03] Production.INFO: ==431== Releasing lock...
[2025-04-12 07:03:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 07:03:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 11:03:03] Production.INFO: ==433== Lock acquired, processing the job...
[2025-04-12 11:03:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 11:03:03] Production.INFO: ==433== Releasing lock...
[2025-04-12 11:03:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 11:03:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 07:03:03] Production.INFO: ==435== Lock acquired, processing the job...
[2025-04-12 07:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 07:03:04] Production.INFO: ==437== Lock acquired, processing the job...
[2025-04-12 07:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 07:03:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 07:03:04] Production.INFO: ==441== Lock acquired, processing the job...
[2025-04-12 07:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 07:03:04] Production.INFO: Account Balance Start.
[2025-04-12 07:03:04] Production.INFO: CreateAllLog Start
[2025-04-12 07:03:04] Production.INFO: 117
[2025-04-12 07:03:04] Production.INFO: Date 2025-04-08
[2025-04-12 07:03:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:03:04] Production.INFO: ==439== Lock acquired, processing the job...
[2025-04-12 07:03:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 07:03:04] Production.INFO: Date 2025-04-09
[2025-04-12 07:03:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:03:04] Production.INFO: Date 2025-04-10
[2025-04-12 07:03:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:03:04] Production.INFO: ==437== Releasing lock...
[2025-04-12 07:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 07:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 07:03:04] Production.INFO: Date 2025-04-11
[2025-04-12 07:03:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:03:04] Production.INFO: ==443== Lock acquired, processing the job...
[2025-04-12 07:03:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 07:03:04] Production.INFO: Date 2025-04-12
[2025-04-12 07:03:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:03:04] Production.INFO: ==445== Lock acquired, processing the job...
[2025-04-12 07:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 07:03:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 07:03:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 07:03:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 07:03:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 07:03:04] Production.INFO: Total Charge 0
[2025-04-12 07:03:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 07:03:04] Production.INFO: CreateAllLog End
[2025-04-12 07:03:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 07:03:04] Production.INFO: count ==12
[2025-04-12 07:03:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 07:03:04] Production.INFO: count ==23
[2025-04-12 07:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889902') start
[2025-04-12 07:03:04] Production.INFO: Account Balance End.
[2025-04-12 07:03:05] Production.ERROR: CronJobId end 12
[2025-04-12 07:03:05] Production.INFO: ==441== Releasing lock...
[2025-04-12 07:03:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 07:03:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 07:03:05] Production.ERROR: done
[2025-04-12 07:03:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 07:03:05] Production.ERROR: PBX CALL prc_importPBXExtension('14889902') end
[2025-04-12 07:03:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 07:03:05] Production.INFO: 1
[2025-04-12 07:03:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 07:03:05] Production.INFO: ==445== Releasing lock...
[2025-04-12 07:03:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 07:03:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 07:03:05] Production.ERROR: done
[2025-04-12 07:03:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 04:03:06
[end_date_ymd] => 2025-04-12 07:03:06
[RateCDR] => 1
)
[2025-04-12 07: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-12 04:03:06' and `end` < '2025-04-12 07: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-12 07:03:13] Production.ERROR: CronJobId end10
[2025-04-12 07:03:13] Production.INFO: ==439== Releasing lock...
[2025-04-12 07:03:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 07:03:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 07:03:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 07:03:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 07:03:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 07:03:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 07:03:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 07:03:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 07:03:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 07:03:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 07:03:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 07:03:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 07:03:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 07:03:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 07:03:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 07:03:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 07:03:16] Production.INFO: call_cost start
[2025-04-12 07:03:16] Production.INFO: call_cost end
[2025-04-12 07:03:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 07:03:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 07:03:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 07:03:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 07:03:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 07:03:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 07:03:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 07:03:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 07:03:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 07:03:17] Production.INFO: ==435== Releasing lock...
[2025-04-12 07:03:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 07:03:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 07:03:20] Production.INFO: count ==117
[2025-04-12 07:03:20] Production.ERROR: pbx CDR StartTime 2025-04-12 04:03:06 - End Time 2025-04-12 07:03:06
[2025-04-12 07:03:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 07:03:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889903', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:03:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889903', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:03:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889903', 'tblTempVendorCDR_20' ) start
[2025-04-12 07:03:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889903', 'tblTempVendorCDR_20' ) end
[2025-04-12 07:03:20] Production.INFO: ProcessCDR(1,14889903,1,1,2)
[2025-04-12 07:03:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889903,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:03:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889903,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:03:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889903,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:03:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889903,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:03:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889903', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:03:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889903', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:03:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 07:03:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 07:03:24] Production.INFO: ==443== Releasing lock...
[2025-04-12 07:03:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 07:03:24] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 12:04:01] Production.INFO: ==502== Lock acquired, processing the job...
[2025-04-12 12:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 12:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 12:04:01] Production.INFO: neon service started
[2025-04-12 12:04:01] Production.INFO: neon service started
[2025-04-12 12:04:01] Production.INFO: ==502== Releasing lock...
[2025-04-12 12:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 12:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 07:04:02] Production.INFO: ==504== Lock acquired, processing the job...
[2025-04-12 07:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 11:04:02] Production.INFO: ==506== Lock acquired, processing the job...
[2025-04-12 11:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 11:04:02] Production.INFO: ==506== Releasing lock...
[2025-04-12 11:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 11:04:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 07:04:02] Production.INFO: ==504== Releasing lock...
[2025-04-12 07:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 07:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 07:04:03] Production.INFO: ==515== Lock acquired, processing the job...
[2025-04-12 07:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 07:04:03] Production.INFO: ==517== Lock acquired, processing the job...
[2025-04-12 07:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 07:04:03] Production.INFO: ==509== Lock acquired, processing the job...
[2025-04-12 07:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 07:04:03] Production.INFO: ==511== Lock acquired, processing the job...
[2025-04-12 07:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 07:04:03] Production.INFO: Account Balance Start.
[2025-04-12 07:04:03] Production.INFO: CreateAllLog Start
[2025-04-12 07:04:03] Production.INFO: 117
[2025-04-12 07:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 07:04:03] Production.INFO: Date 2025-04-08
[2025-04-12 07:04:03] Production.INFO: ==513== Lock acquired, processing the job...
[2025-04-12 07:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 07:04:03] Production.INFO: ==519== Lock acquired, processing the job...
[2025-04-12 07:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 07:04:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 07:04:03] Production.INFO: Date 2025-04-09
[2025-04-12 07:04:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:04:04] Production.INFO: Date 2025-04-10
[2025-04-12 07:04:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:04:04] Production.INFO: Date 2025-04-11
[2025-04-12 07:04:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:04:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 07:04:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 07:04:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 07:04:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 07:04:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 07:04:04] Production.INFO: Date 2025-04-12
[2025-04-12 07:04:04] Production.INFO: count ==12
[2025-04-12 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-12 07:04:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:04:04] Production.INFO: count ==23
[2025-04-12 07:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889907') start
[2025-04-12 07:04:04] Production.ERROR: done
[2025-04-12 07:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 07:04:04] Production.INFO: ==511== Releasing lock...
[2025-04-12 07:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 07:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 07:04:04] Production.INFO: Total Charge 0
[2025-04-12 07:04:04] Production.INFO: CreateAllLog End
[2025-04-12 07:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889907') end
[2025-04-12 07:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 07:04:04] Production.INFO: 1
[2025-04-12 07:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 07:04:04] Production.ERROR: done
[2025-04-12 07:04:04] Production.INFO: ==519== Releasing lock...
[2025-04-12 07:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 07:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 07:04:04] Production.INFO: Account Balance End.
[2025-04-12 07:04:04] Production.ERROR: CronJobId end 12
[2025-04-12 07:04:04] Production.INFO: ==515== Releasing lock...
[2025-04-12 07:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 07:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 07:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 04:04:05
[end_date_ymd] => 2025-04-12 07:04:05
[RateCDR] => 1
)
[2025-04-12 07:04:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 04:04:05' and `end` < '2025-04-12 07:04:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 07:04:11] Production.ERROR: CronJobId end10
[2025-04-12 07:04:11] Production.INFO: ==513== Releasing lock...
[2025-04-12 07:04:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 07:04:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 07:04:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 07:04:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 07:04:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 07:04:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 07:04:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 07:04:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 07:04:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 07:04:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 07:04:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 07:04:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 07:04:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 07:04:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 07:04:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 07:04:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 07:04:14] Production.INFO: call_cost start
[2025-04-12 07:04:14] Production.INFO: call_cost end
[2025-04-12 07:04:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 07:04:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 07:04:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 07:04:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 07:04:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 07:04:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 07:04:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 07:04:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 07:04:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 07:04:15] Production.INFO: ==509== Releasing lock...
[2025-04-12 07:04:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 07:04:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 07:04:18] Production.INFO: count ==117
[2025-04-12 07:04:18] Production.ERROR: pbx CDR StartTime 2025-04-12 04:04:05 - End Time 2025-04-12 07:04:05
[2025-04-12 07:04:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 07:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889908', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889908', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889908', 'tblTempVendorCDR_20' ) start
[2025-04-12 07:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889908', 'tblTempVendorCDR_20' ) end
[2025-04-12 07:04:18] Production.INFO: ProcessCDR(1,14889908,1,1,2)
[2025-04-12 07:04:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889908,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:04:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889908,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:04:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889908,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:04:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889908,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889908', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889908', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:04:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 07:04:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 07:04:21] Production.INFO: ==517== Releasing lock...
[2025-04-12 07:04:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 07:04:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 12:05:02] Production.INFO: ==673== Lock acquired, processing the job...
[2025-04-12 12:05:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 12:05:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 12:05:02] Production.INFO: neon service started
[2025-04-12 12:05:02] Production.INFO: neon service started
[2025-04-12 12:05:02] Production.INFO: ==673== Releasing lock...
[2025-04-12 12:05:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 12:05:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 07:05:02] Production.INFO: ==677== Lock acquired, processing the job...
[2025-04-12 07:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 07:05:03] Production.INFO: ==677== Releasing lock...
[2025-04-12 07:05:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 07:05:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 11:05:03] Production.INFO: ==680== Lock acquired, processing the job...
[2025-04-12 11:05:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 11:05:03] Production.INFO: ==680== Releasing lock...
[2025-04-12 11:05:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 11:05:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 07:05:03] Production.INFO: ==683== Lock acquired, processing the job...
[2025-04-12 07:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 07:05:03] Production.INFO: ==696== Lock acquired, processing the job...
[2025-04-12 07:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 07:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 07:05:04] Production.INFO: Account Balance Start.
[2025-04-12 07:05:04] Production.INFO: CreateAllLog Start
[2025-04-12 07:05:04] Production.INFO: 117
[2025-04-12 07:05:04] Production.INFO: Date 2025-04-08
[2025-04-12 07:05:04] Production.INFO: ==700== Lock acquired, processing the job...
[2025-04-12 07:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 07:05:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:05:04] Production.INFO: Date 2025-04-09
[2025-04-12 07:05:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:05:04] Production.INFO: Date 2025-04-10
[2025-04-12 07:05:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:05:04] Production.INFO: ==690== Lock acquired, processing the job...
[2025-04-12 07:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 07:05:04] Production.INFO: Date 2025-04-11
[2025-04-12 07:05:04] Production.INFO: Reseller ==> 0
[2025-04-12 07: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-12 07:05:04] Production.INFO: Date 2025-04-12
[2025-04-12 07:05:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:05:04] Production.INFO: count ==12
[2025-04-12 07:05:04] Production.INFO: Total Charge 0
[2025-04-12 07:05:04] Production.INFO: ==693== Lock acquired, processing the job...
[2025-04-12 07:05:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 07:05:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 07:05:04] Production.INFO: CreateAllLog End
[2025-04-12 07:05:04] Production.INFO: count ==23
[2025-04-12 07:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889911') start
[2025-04-12 07:05:04] Production.INFO: ==698== Lock acquired, processing the job...
[2025-04-12 07:05:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 07:05:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 07:05:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 07:05:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 07:05:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 07:05:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 07:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889911') end
[2025-04-12 07:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 07:05:04] Production.INFO: 1
[2025-04-12 07:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 07:05:04] Production.INFO: Account Balance End.
[2025-04-12 07:05:04] Production.INFO: ==700== Releasing lock...
[2025-04-12 07:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 07:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 07:05:04] Production.ERROR: CronJobId end 12
[2025-04-12 07:05:04] Production.INFO: ==696== Releasing lock...
[2025-04-12 07:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 07:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 07:05:04] Production.INFO: ==690== Releasing lock...
[2025-04-12 07:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 07:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 07:05:04] Production.ERROR: done
[2025-04-12 07:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 07:05:05] Production.ERROR: done
[2025-04-12 07:05:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 04:05:06
[end_date_ymd] => 2025-04-12 07:05:06
[RateCDR] => 1
)
[2025-04-12 07:05:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 04:05:06' and `end` < '2025-04-12 07: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-12 07:05:13] Production.ERROR: CronJobId end10
[2025-04-12 07:05:13] Production.INFO: ==693== Releasing lock...
[2025-04-12 07:05:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 07:05:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 07:05:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 07:05:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 07:05:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 07:05:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 07:05:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 07:05:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 07:05:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 07:05:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 07:05:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 07:05:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 07:05:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 07:05:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 07:05:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 07:05:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 07:05:15] Production.INFO: call_cost start
[2025-04-12 07:05:15] Production.INFO: call_cost end
[2025-04-12 07:05:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 07:05:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 07:05:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 07:05:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 07:05:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 07:05:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 07:05:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 07:05:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 07:05:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 07:05:16] Production.INFO: ==683== Releasing lock...
[2025-04-12 07:05:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 07:05:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 07:05:19] Production.INFO: count ==117
[2025-04-12 07:05:19] Production.ERROR: pbx CDR StartTime 2025-04-12 04:05:06 - End Time 2025-04-12 07:05:06
[2025-04-12 07:05:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 07:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889913', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889913', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889913', 'tblTempVendorCDR_20' ) start
[2025-04-12 07:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889913', 'tblTempVendorCDR_20' ) end
[2025-04-12 07:05:19] Production.INFO: ProcessCDR(1,14889913,1,1,2)
[2025-04-12 07:05:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889913,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:05:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889913,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:05:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889913,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:05:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889913,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:05:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889913', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:05:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889913', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:05:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 07:05:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 07:05:23] Production.INFO: ==698== Releasing lock...
[2025-04-12 07:05:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 07:05:23] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 12:06:01] Production.INFO: ==803== Lock acquired, processing the job...
[2025-04-12 12:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 12:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 12:06:01] Production.INFO: neon service started
[2025-04-12 12:06:01] Production.INFO: neon service started
[2025-04-12 12:06:01] Production.INFO: ==803== Releasing lock...
[2025-04-12 12:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 12:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 07:06:02] Production.INFO: ==805== Lock acquired, processing the job...
[2025-04-12 07:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 07:06:02] Production.INFO: ==805== Releasing lock...
[2025-04-12 07:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 07:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 11:06:02] Production.INFO: ==807== Lock acquired, processing the job...
[2025-04-12 11:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 11:06:02] Production.INFO: ==807== Releasing lock...
[2025-04-12 11:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 11:06:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 07:06:03] Production.INFO: ==818== Lock acquired, processing the job...
[2025-04-12 07:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 07:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 07:06:03] Production.INFO: ==820== Lock acquired, processing the job...
[2025-04-12 07:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 07:06:03] Production.INFO: ==810== Lock acquired, processing the job...
[2025-04-12 07:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 07:06:03] Production.INFO: ==812== Lock acquired, processing the job...
[2025-04-12 07:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 07: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-12 07:06:03] Production.INFO: ==814== Lock acquired, processing the job...
[2025-04-12 07:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 07:06:03] Production.INFO: count ==12
[2025-04-12 07:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 07:06:03] Production.INFO: ==816== Lock acquired, processing the job...
[2025-04-12 07:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 07: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-12 07:06:03] Production.INFO: count ==23
[2025-04-12 07:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889914') start
[2025-04-12 07:06:03] Production.ERROR: done
[2025-04-12 07:06:03] Production.INFO: Account Balance Start.
[2025-04-12 07:06:03] Production.INFO: CreateAllLog Start
[2025-04-12 07:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 07:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 07:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 07:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 07:06:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 07:06:03] Production.INFO: 117
[2025-04-12 07:06:03] Production.INFO: Date 2025-04-08
[2025-04-12 07:06:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889914') end
[2025-04-12 07:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 07:06:04] Production.INFO: 1
[2025-04-12 07:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 07:06:04] Production.INFO: ==820== Releasing lock...
[2025-04-12 07:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 07:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 07:06:04] Production.INFO: ==812== Releasing lock...
[2025-04-12 07:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 07:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 07:06:04] Production.INFO: Date 2025-04-09
[2025-04-12 07:06:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:06:04] Production.INFO: Date 2025-04-10
[2025-04-12 07:06:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:06:04] Production.INFO: Date 2025-04-11
[2025-04-12 07:06:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:06:04] Production.ERROR: done
[2025-04-12 07:06:04] Production.INFO: Date 2025-04-12
[2025-04-12 07:06:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:06:04] Production.INFO: Total Charge 0
[2025-04-12 07:06:04] Production.INFO: CreateAllLog End
[2025-04-12 07:06:04] Production.INFO: Account Balance End.
[2025-04-12 07:06:04] Production.ERROR: CronJobId end 12
[2025-04-12 07:06:04] Production.INFO: ==816== Releasing lock...
[2025-04-12 07:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 07:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 07:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 04:06:05
[end_date_ymd] => 2025-04-12 07:06:05
[RateCDR] => 1
)
[2025-04-12 07:06:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 04:06:05' and `end` < '2025-04-12 07:06:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 07:06:11] Production.ERROR: CronJobId end10
[2025-04-12 07:06:11] Production.INFO: ==814== Releasing lock...
[2025-04-12 07:06:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 07:06:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 07:06:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 07:06:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 07:06:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 07:06:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 07:06:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 07:06:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 07:06:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 07:06:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 07:06:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 07:06:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 07:06:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 07:06:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 07:06:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 07:06:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 07:06:14] Production.INFO: call_cost start
[2025-04-12 07:06:14] Production.INFO: call_cost end
[2025-04-12 07:06:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 07:06:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 07:06:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 07:06:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 07:06:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 07:06:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 07:06:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 07:06:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 07:06:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 07:06:15] Production.INFO: ==810== Releasing lock...
[2025-04-12 07:06:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 07:06:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 07:06:17] Production.INFO: count ==117
[2025-04-12 07:06:17] Production.ERROR: pbx CDR StartTime 2025-04-12 04:06:05 - End Time 2025-04-12 07:06:05
[2025-04-12 07:06:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 07:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889918', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889918', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889918', 'tblTempVendorCDR_20' ) start
[2025-04-12 07:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889918', 'tblTempVendorCDR_20' ) end
[2025-04-12 07:06:17] Production.INFO: ProcessCDR(1,14889918,1,1,2)
[2025-04-12 07:06:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889918,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:06:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889918,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:06:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889918,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:06:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889918,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889918', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889918', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:06:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 07:06:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 07:06:21] Production.INFO: ==818== Releasing lock...
[2025-04-12 07:06:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 07:06:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 12:07:02] Production.INFO: ==880== Lock acquired, processing the job...
[2025-04-12 12:07:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 12:07:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 12:07:02] Production.INFO: neon service started
[2025-04-12 12:07:02] Production.INFO: neon service started
[2025-04-12 12:07:02] Production.INFO: ==880== Releasing lock...
[2025-04-12 12:07:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 12:07:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 07:07:02] Production.INFO: ==882== Lock acquired, processing the job...
[2025-04-12 07:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 07:07:02] Production.INFO: ==882== Releasing lock...
[2025-04-12 07:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 07:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 11:07:02] Production.INFO: ==884== Lock acquired, processing the job...
[2025-04-12 11:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 11:07:03] Production.INFO: ==884== Releasing lock...
[2025-04-12 11:07:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 11:07:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 07:07:03] Production.INFO: ==891== Lock acquired, processing the job...
[2025-04-12 07:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 07:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 07:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 07:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 07:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 07:07:03] Production.INFO: ==897== Lock acquired, processing the job...
[2025-04-12 07:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 07:07:03] Production.INFO: ==887== Lock acquired, processing the job...
[2025-04-12 07:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 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-12 07:07:04] Production.INFO: count ==12
[2025-04-12 07:07:04] Production.INFO: ==889== Lock acquired, processing the job...
[2025-04-12 07:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 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-12 07:07:04] Production.INFO: count ==23
[2025-04-12 07:07:04] Production.INFO: ==893== Lock acquired, processing the job...
[2025-04-12 07:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 07:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889919') start
[2025-04-12 07:07:04] Production.INFO: ==895== Lock acquired, processing the job...
[2025-04-12 07:07:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 07:07:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 07:07:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 07:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889919') end
[2025-04-12 07:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 07:07:04] Production.INFO: 1
[2025-04-12 07:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 07:07:04] Production.INFO: Account Balance Start.
[2025-04-12 07:07:04] Production.INFO: CreateAllLog Start
[2025-04-12 07:07:04] Production.INFO: 117
[2025-04-12 07:07:04] Production.INFO: Date 2025-04-08
[2025-04-12 07:07:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:07:04] Production.INFO: ==897== Releasing lock...
[2025-04-12 07:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 07:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 07:07:04] Production.INFO: ==889== Releasing lock...
[2025-04-12 07:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 07:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 07:07:04] Production.INFO: Date 2025-04-09
[2025-04-12 07:07:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:07:04] Production.ERROR: done
[2025-04-12 07:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 07:07:04] Production.INFO: Date 2025-04-10
[2025-04-12 07:07:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:07:04] Production.INFO: Date 2025-04-11
[2025-04-12 07:07:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:07:04] Production.INFO: Date 2025-04-12
[2025-04-12 07:07:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:07:04] Production.INFO: Total Charge 0
[2025-04-12 07:07:04] Production.INFO: CreateAllLog End
[2025-04-12 07:07:05] Production.ERROR: done
[2025-04-12 07:07:05] Production.INFO: Account Balance End.
[2025-04-12 07:07:05] Production.ERROR: CronJobId end 12
[2025-04-12 07:07:05] Production.INFO: ==893== Releasing lock...
[2025-04-12 07:07:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 07:07:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 07:07:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 04:07:06
[end_date_ymd] => 2025-04-12 07:07:06
[RateCDR] => 1
)
[2025-04-12 07:07:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 04:07:06' and `end` < '2025-04-12 07:07:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 07:07:12] Production.ERROR: CronJobId end10
[2025-04-12 07:07:12] Production.INFO: ==891== Releasing lock...
[2025-04-12 07:07:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 07:07:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 07:07:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 07:07:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 07:07:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 07:07:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 07:07:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 07:07:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 07:07:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 07:07:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 07:07:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 07:07:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 07:07:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 07:07:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 07:07:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 07:07:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 07:07:16] Production.INFO: call_cost start
[2025-04-12 07:07:16] Production.INFO: call_cost end
[2025-04-12 07:07:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 07:07:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 07:07:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 07:07:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 07:07:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 07:07:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 07:07:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 07:07:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 07:07:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 07:07:17] Production.INFO: ==887== Releasing lock...
[2025-04-12 07:07:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 07:07:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 07:07:19] Production.INFO: count ==115
[2025-04-12 07:07:19] Production.ERROR: pbx CDR StartTime 2025-04-12 04:07:06 - End Time 2025-04-12 07:07:06
[2025-04-12 07:07:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 07:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889923', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889923', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889923', 'tblTempVendorCDR_20' ) start
[2025-04-12 07:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889923', 'tblTempVendorCDR_20' ) end
[2025-04-12 07:07:19] Production.INFO: ProcessCDR(1,14889923,1,1,2)
[2025-04-12 07:07:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889923,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:07:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889923,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:07:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889923,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:07:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889923,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:07:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889923', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:07:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889923', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:07:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 07:07:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 07:07:23] Production.INFO: ==895== Releasing lock...
[2025-04-12 07:07:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 07:07:23] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 12:08:01] Production.INFO: ==1031== Lock acquired, processing the job...
[2025-04-12 12:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 12:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 12:08:01] Production.INFO: neon service started
[2025-04-12 12:08:01] Production.INFO: neon service started
[2025-04-12 12:08:01] Production.INFO: ==1031== Releasing lock...
[2025-04-12 12:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 12:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 07:08:02] Production.INFO: ==1033== Lock acquired, processing the job...
[2025-04-12 07:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 07:08:02] Production.INFO: ==1033== Releasing lock...
[2025-04-12 07:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 07:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 11:08:02] Production.INFO: ==1035== Lock acquired, processing the job...
[2025-04-12 11:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 11:08:02] Production.INFO: ==1035== Releasing lock...
[2025-04-12 11:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 11:08:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 07:08:03] Production.INFO: ==1045== Lock acquired, processing the job...
[2025-04-12 07:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 07:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 07:08:03] Production.INFO: ==1047== Lock acquired, processing the job...
[2025-04-12 07:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 07:08:03] Production.INFO: ==1041== Lock acquired, processing the job...
[2025-04-12 07:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 07:08:03] Production.INFO: ==1039== Lock acquired, processing the job...
[2025-04-12 07:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 07:08:03] Production.INFO: ==1037== Lock acquired, processing the job...
[2025-04-12 07:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 07:08:03] Production.INFO: ==1043== Lock acquired, processing the job...
[2025-04-12 07:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 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-12 07:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 07:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 07:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 07:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 07:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 07:08:03] Production.INFO: Account Balance Start.
[2025-04-12 07:08:03] Production.INFO: CreateAllLog Start
[2025-04-12 07:08:03] Production.INFO: 117
[2025-04-12 07:08:03] Production.INFO: Date 2025-04-08
[2025-04-12 07:08:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:08:03] Production.ERROR: done
[2025-04-12 07:08:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 07:08:03] Production.INFO: Date 2025-04-09
[2025-04-12 07:08:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:08:03] Production.INFO: Date 2025-04-10
[2025-04-12 07:08:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:08:03] Production.INFO: Date 2025-04-11
[2025-04-12 07:08:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:08:04] Production.ERROR: done
[2025-04-12 07:08:04] Production.INFO: Date 2025-04-12
[2025-04-12 07:08:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:08:04] Production.INFO: ==1039== Releasing lock...
[2025-04-12 07:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 07:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 07:08:04] Production.INFO: Total Charge 0
[2025-04-12 07:08:04] Production.INFO: CreateAllLog End
[2025-04-12 07:08:04] Production.INFO: Account Balance End.
[2025-04-12 07:08:04] Production.ERROR: CronJobId end 12
[2025-04-12 07:08:04] Production.INFO: ==1043== Releasing lock...
[2025-04-12 07:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 07:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 07:08:04] Production.INFO: count ==12
[2025-04-12 07:08: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-12 07:08:05] Production.INFO: count ==23
[2025-04-12 07:08:05] Production.ERROR: PBX CALL prc_importPBXExtension('14889924') start
[2025-04-12 07:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 04:08:05
[end_date_ymd] => 2025-04-12 07:08:05
[RateCDR] => 1
)
[2025-04-12 07:08:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 04:08:05' and `end` < '2025-04-12 07:08:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 07:08:05] Production.ERROR: PBX CALL prc_importPBXExtension('14889924') end
[2025-04-12 07:08:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 07:08:05] Production.INFO: 1
[2025-04-12 07:08:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 07:08:05] Production.INFO: ==1047== Releasing lock...
[2025-04-12 07:08:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 07:08:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 07:08:11] Production.ERROR: CronJobId end10
[2025-04-12 07:08:11] Production.INFO: ==1041== Releasing lock...
[2025-04-12 07:08:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 07:08:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 07:08:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 07:08:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 07:08:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 07:08:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 07:08:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 07:08:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 07:08:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 07:08:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 07:08:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 07:08:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 07:08:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 07:08:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 07:08:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 07:08:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 07:08:14] Production.INFO: call_cost start
[2025-04-12 07:08:14] Production.INFO: call_cost end
[2025-04-12 07:08:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 07:08:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 07:08:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 07:08:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 07:08:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 07:08:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 07:08:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 07:08:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 07:08:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 07:08:15] Production.INFO: ==1037== Releasing lock...
[2025-04-12 07:08:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 07:08:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 07:08:19] Production.INFO: count ==112
[2025-04-12 07:08:19] Production.ERROR: pbx CDR StartTime 2025-04-12 04:08:05 - End Time 2025-04-12 07:08:05
[2025-04-12 07:08:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 07:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889928', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889928', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889928', 'tblTempVendorCDR_20' ) start
[2025-04-12 07:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889928', 'tblTempVendorCDR_20' ) end
[2025-04-12 07:08:19] Production.INFO: ProcessCDR(1,14889928,1,1,2)
[2025-04-12 07:08:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889928,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:08:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889928,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:08:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889928,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:08:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889928,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:08:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889928', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:08:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889928', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:08:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 07:08:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 07:08:23] Production.INFO: ==1045== Releasing lock...
[2025-04-12 07:08:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 07:08:23] Production.INFO: 29 MB #Memory Used#
[2025-04-12 12:09:02] Production.INFO: ==1106== Lock acquired, processing the job...
[2025-04-12 12:09:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 12:09:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 12:09:02] Production.INFO: neon service started
[2025-04-12 12:09:02] Production.INFO: neon service started
[2025-04-12 12:09:02] Production.INFO: ==1106== Releasing lock...
[2025-04-12 12:09:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 12:09:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 11:09:02] Production.INFO: ==1110== Lock acquired, processing the job...
[2025-04-12 11:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 11:09:02] Production.INFO: ==1110== Releasing lock...
[2025-04-12 11:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 11:09:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 07:09:02] Production.INFO: ==1108== Lock acquired, processing the job...
[2025-04-12 07:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 07:09:03] Production.INFO: ==1108== Releasing lock...
[2025-04-12 07:09:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 07:09:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 07:09:03] Production.INFO: ==1117== Lock acquired, processing the job...
[2025-04-12 07:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 07:09:03] Production.INFO: ==1115== Lock acquired, processing the job...
[2025-04-12 07:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 07:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 07:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 07:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 07:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 07:09:04] Production.INFO: ==1113== Lock acquired, processing the job...
[2025-04-12 07:09:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 07:09:04] Production.INFO: ==1119== Lock acquired, processing the job...
[2025-04-12 07:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 07:09:04] Production.INFO: ==1121== Lock acquired, processing the job...
[2025-04-12 07:09:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 07:09:04] Production.INFO: ==1123== Lock acquired, processing the job...
[2025-04-12 07:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 07:09:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 07:09:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 07:09:04] Production.INFO: Account Balance Start.
[2025-04-12 07:09:04] Production.INFO: CreateAllLog Start
[2025-04-12 07:09:04] Production.INFO: 117
[2025-04-12 07:09:04] Production.INFO: Date 2025-04-08
[2025-04-12 07:09:04] Production.INFO: Reseller ==> 0
[2025-04-12 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-12 07:09:04] Production.INFO: Date 2025-04-09
[2025-04-12 07:09:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:09:04] Production.INFO: count ==12
[2025-04-12 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-12 07:09:04] Production.INFO: count ==23
[2025-04-12 07:09:04] Production.INFO: Date 2025-04-10
[2025-04-12 07:09:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:09:04] Production.INFO: ==1115== Releasing lock...
[2025-04-12 07:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 07:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 07:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889932') start
[2025-04-12 07:09:04] Production.INFO: Date 2025-04-11
[2025-04-12 07:09:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889932') end
[2025-04-12 07:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 07:09:04] Production.INFO: 1
[2025-04-12 07:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 07:09:04] Production.INFO: Date 2025-04-12
[2025-04-12 07:09:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:09:04] Production.INFO: ==1123== Releasing lock...
[2025-04-12 07:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 07:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 07:09:04] Production.ERROR: done
[2025-04-12 07:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 07:09:04] Production.INFO: Total Charge 0
[2025-04-12 07:09:04] Production.INFO: CreateAllLog End
[2025-04-12 07:09:04] Production.ERROR: done
[2025-04-12 07:09:04] Production.INFO: Account Balance End.
[2025-04-12 07:09:05] Production.ERROR: CronJobId end 12
[2025-04-12 07:09:05] Production.INFO: ==1119== Releasing lock...
[2025-04-12 07:09:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 07:09:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 07:09:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 04:09:06
[end_date_ymd] => 2025-04-12 07:09:06
[RateCDR] => 1
)
[2025-04-12 07: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-12 04:09:06' and `end` < '2025-04-12 07: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-12 07:09:12] Production.ERROR: CronJobId end10
[2025-04-12 07:09:12] Production.INFO: ==1117== Releasing lock...
[2025-04-12 07:09:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 07:09:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 07:09:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 07:09:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 07:09:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 07:09:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 07:09:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 07:09:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 07:09:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 07:09:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 07:09:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 07:09:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 07:09:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 07:09:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 07:09:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 07:09:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 07:09:15] Production.INFO: call_cost start
[2025-04-12 07:09:15] Production.INFO: call_cost end
[2025-04-12 07:09:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 07:09:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 07:09:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 07:09:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 07:09:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 07:09:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 07:09:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 07:09:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 07:09:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 07:09:16] Production.INFO: ==1113== Releasing lock...
[2025-04-12 07:09:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 07:09:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 07:09:19] Production.INFO: count ==112
[2025-04-12 07:09:19] Production.ERROR: pbx CDR StartTime 2025-04-12 04:09:06 - End Time 2025-04-12 07:09:06
[2025-04-12 07:09:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 07:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889933', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889933', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889933', 'tblTempVendorCDR_20' ) start
[2025-04-12 07:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889933', 'tblTempVendorCDR_20' ) end
[2025-04-12 07:09:19] Production.INFO: ProcessCDR(1,14889933,1,1,2)
[2025-04-12 07:09:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889933,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:09:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889933,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:09:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889933,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:09:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889933,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:09:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889933', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:09:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889933', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:09:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 07:09:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 07:09:23] Production.INFO: ==1121== Releasing lock...
[2025-04-12 07:09:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 07:09:23] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 12:10:01] Production.INFO: ==1185== Lock acquired, processing the job...
[2025-04-12 12:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 12:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 12:10:01] Production.INFO: neon service started
[2025-04-12 12:10:01] Production.INFO: neon service started
[2025-04-12 12:10:01] Production.INFO: ==1185== Releasing lock...
[2025-04-12 12:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 12:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 11:10:02] Production.INFO: ==1189== Lock acquired, processing the job...
[2025-04-12 11:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 11:10:02] Production.INFO: ==1189== Releasing lock...
[2025-04-12 11:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 11:10:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 07:10:02] Production.INFO: ==1187== Lock acquired, processing the job...
[2025-04-12 07:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 07:10:02] Production.INFO: ==1187== Releasing lock...
[2025-04-12 07:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 07:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 07:10:03] Production.INFO: ==1194== Lock acquired, processing the job...
[2025-04-12 07:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 07:10:03] Production.INFO: ==1202== Lock acquired, processing the job...
[2025-04-12 07:10:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 07:10:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 07:10:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 07:10:03] Production.INFO: ==1192== Lock acquired, processing the job...
[2025-04-12 07:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 07:10:04] Production.ERROR: done
[2025-04-12 07:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 07:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 07:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 07:10:04] Production.ERROR: CronJob PID - 1194
[2025-04-12 07:10:04] Production.ERROR: CronJob Title - System Alerts
[2025-04-12 07:10:04] Production.ERROR: CronJob ID - 5
[2025-04-12 07:10:04] Production.ERROR: CronJob Last Run Time 2025-04-12 07:10:00
[2025-04-12 07:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 07:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 07:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 07:10:04] Production.ERROR: CronJob PID - 1202
[2025-04-12 07:10:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-04-12 07:10:04] Production.ERROR: CronJob ID - 16
[2025-04-12 07:10:04] Production.ERROR: CronJob Last Run Time 2025-04-12 07:10:00
[2025-04-12 07:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 07:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 07:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 07:10:04] Production.INFO: ==1192== Releasing lock...
[2025-04-12 07:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 07:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 07:10:04] Production.INFO: ==1196== Lock acquired, processing the job...
[2025-04-12 07:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 07:10:04] Production.INFO: ==1198== Lock acquired, processing the job...
[2025-04-12 07:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 07:10:04] Production.INFO: ==1200== Lock acquired, processing the job...
[2025-04-12 07:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 07:10:04] Production.INFO: ==1206== Lock acquired, processing the job...
[2025-04-12 07:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 07:10:04] Production.INFO: ==1204== Lock acquired, processing the job...
[2025-04-12 07:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 07:10:04] Production.ERROR: done
[2025-04-12 07:10:04] Production.INFO: Account Balance Start.
[2025-04-12 07:10:04] Production.INFO: CreateAllLog Start
[2025-04-12 07:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 07:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 07:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 07:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 07:10:04] Production.INFO: 117
[2025-04-12 07:10:04] Production.INFO: Date 2025-04-08
[2025-04-12 07:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 07:10:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 07:10:04] Production.INFO: Date 2025-04-09
[2025-04-12 07:10:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:10:04] Production.INFO: count ==12
[2025-04-12 07:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 07:10:04] Production.INFO: count ==23
[2025-04-12 07:10:04] Production.INFO: Date 2025-04-10
[2025-04-12 07:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889938') start
[2025-04-12 07:10:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:10:04] Production.INFO: Date 2025-04-11
[2025-04-12 07:10:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:10:04] Production.INFO: Date 2025-04-12
[2025-04-12 07:10:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889938') end
[2025-04-12 07:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 07:10:04] Production.INFO: 1
[2025-04-12 07:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 07:10:04] Production.INFO: Total Charge 0
[2025-04-12 07:10:04] Production.INFO: CreateAllLog End
[2025-04-12 07:10:04] Production.INFO: ==1206== Releasing lock...
[2025-04-12 07:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 07:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 07:10:04] Production.INFO: ==1196== Releasing lock...
[2025-04-12 07:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 07:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 07:10:04] Production.ERROR: done
[2025-04-12 07:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 07:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14889939', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 07:10:05] Production.INFO: Account Balance End.
[2025-04-12 07:10:05] Production.ERROR: CronJobId end 12
[2025-04-12 07:10:05] Production.INFO: ==1200== Releasing lock...
[2025-04-12 07:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 07:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 07:10:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 04:10:05
[end_date_ymd] => 2025-04-12 07:10:05
[RateCDR] => 1
)
[2025-04-12 07: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-12 04:10:05' and `end` < '2025-04-12 07: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-12 07:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14889939', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 07:10:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 07:10:09] Production.INFO: ProcessCDR(1,14889939,1,1,2)
[2025-04-12 07:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14889939,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14889939,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 07:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 07:10:09] Production.INFO: ==1204== Releasing lock...
[2025-04-12 07:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 07:10:09] Production.INFO: 26 MB #Memory Used#
[2025-04-12 07:10:14] Production.ERROR: CronJobId end10
[2025-04-12 07:10:14] Production.INFO: ==1198== Releasing lock...
[2025-04-12 07:10:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 07:10:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 07:10:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 07:10:16] Production.INFO: ============== Balance Warning START===========
[2025-04-12 07:10:16] Production.INFO: ============== Balance Warning END===========
[2025-04-12 07:10:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 07:10:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 07:10:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 07:10:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 07:10:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 07:10:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 07:10:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 07:10:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 07:10:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 07:10:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 07:10:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 07:10:16] Production.INFO: call_cost start
[2025-04-12 07:10:16] Production.INFO: call_cost end
[2025-04-12 07:10:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 07:10:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 07:10:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 07:10:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 07:10:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 07:10:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 07:10:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 07:10:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 07:10:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 07:10:17] Production.INFO: ==1194== Releasing lock...
[2025-04-12 07:10:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 07:10:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 07:10:18] Production.INFO: count ==106
[2025-04-12 07:10:18] Production.ERROR: pbx CDR StartTime 2025-04-12 04:10:05 - End Time 2025-04-12 07:10:05
[2025-04-12 07:10:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 07:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889936', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889936', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889936', 'tblTempVendorCDR_20' ) start
[2025-04-12 07:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889936', 'tblTempVendorCDR_20' ) end
[2025-04-12 07:10:18] Production.INFO: ProcessCDR(1,14889936,1,1,2)
[2025-04-12 07:10:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889936,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:10:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889936,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:10:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889936,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:10:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889936,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:10:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889936', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:10:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889936', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:10:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 07:10:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 07:10:21] Production.INFO: ==1202== Releasing lock...
[2025-04-12 07:10:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 07:10:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 12:11:02] Production.INFO: ==1277== Lock acquired, processing the job...
[2025-04-12 12:11:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 12:11:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 12:11:02] Production.INFO: neon service started
[2025-04-12 12:11:02] Production.INFO: neon service started
[2025-04-12 12:11:02] Production.INFO: ==1277== Releasing lock...
[2025-04-12 12:11:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 12:11:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 07:11:02] Production.INFO: ==1279== Lock acquired, processing the job...
[2025-04-12 07:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 11:11:02] Production.INFO: ==1281== Lock acquired, processing the job...
[2025-04-12 11:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 07:11:02] Production.INFO: ==1279== Releasing lock...
[2025-04-12 07:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 07:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 11:11:02] Production.INFO: ==1281== Releasing lock...
[2025-04-12 11:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 11:11:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 07:11:03] Production.INFO: ==1284== Lock acquired, processing the job...
[2025-04-12 07:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 07:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 07:11:03] Production.INFO: ==1288== Lock acquired, processing the job...
[2025-04-12 07:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 07:11:03] Production.INFO: ==1290== Lock acquired, processing the job...
[2025-04-12 07:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 07:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 07:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 07:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 07:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 07:11:03] Production.INFO: Account Balance Start.
[2025-04-12 07:11:03] Production.INFO: CreateAllLog Start
[2025-04-12 07:11:03] Production.INFO: 117
[2025-04-12 07:11:03] Production.INFO: Date 2025-04-08
[2025-04-12 07:11:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:11:03] Production.INFO: Date 2025-04-09
[2025-04-12 07:11:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:11:03] Production.INFO: Date 2025-04-10
[2025-04-12 07:11:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:11:03] Production.INFO: ==1286== Lock acquired, processing the job...
[2025-04-12 07:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 07:11:03] Production.INFO: Date 2025-04-11
[2025-04-12 07:11:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:11:03] Production.INFO: Date 2025-04-12
[2025-04-12 07:11:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:11:03] Production.INFO: ==1292== Lock acquired, processing the job...
[2025-04-12 07:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 07:11:03] Production.INFO: ==1294== Lock acquired, processing the job...
[2025-04-12 07:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 07:11:03] Production.INFO: Total Charge 0
[2025-04-12 07:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 07:11:03] Production.INFO: CreateAllLog End
[2025-04-12 07:11:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 07:11:04] Production.INFO: count ==12
[2025-04-12 07:11:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 07:11:04] Production.INFO: count ==23
[2025-04-12 07:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889943') start
[2025-04-12 07:11:04] Production.INFO: Account Balance End.
[2025-04-12 07:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889943') end
[2025-04-12 07:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 07:11:04] Production.INFO: 1
[2025-04-12 07:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 07:11:04] Production.INFO: ==1286== Releasing lock...
[2025-04-12 07:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 07:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 07:11:04] Production.ERROR: CronJobId end 12
[2025-04-12 07:11:04] Production.INFO: ==1290== Releasing lock...
[2025-04-12 07:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 07:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 07:11:04] Production.ERROR: done
[2025-04-12 07:11:04] Production.INFO: ==1294== Releasing lock...
[2025-04-12 07:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 07:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 07:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 07:11:04] Production.ERROR: done
[2025-04-12 07:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 04:11:05
[end_date_ymd] => 2025-04-12 07:11:05
[RateCDR] => 1
)
[2025-04-12 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-12 04:11:05' and `end` < '2025-04-12 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-12 07:11:11] Production.ERROR: CronJobId end10
[2025-04-12 07:11:11] Production.INFO: ==1288== Releasing lock...
[2025-04-12 07:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 07:11:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 07:11:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 07:11:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 07:11:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 07:11:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 07:11:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 07:11:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 07:11:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 07:11:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 07:11:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 07:11:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 07:11:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 07:11:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 07:11:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 07:11:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 07:11:14] Production.INFO: call_cost start
[2025-04-12 07:11:14] Production.INFO: call_cost end
[2025-04-12 07:11:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 07:11:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 07:11:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 07:11:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 07:11:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 07:11:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 07:11:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 07:11:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 07:11:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 07:11:15] Production.INFO: ==1284== Releasing lock...
[2025-04-12 07:11:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 07:11:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 07:11:19] Production.INFO: count ==97
[2025-04-12 07:11:19] Production.ERROR: pbx CDR StartTime 2025-04-12 04:11:05 - End Time 2025-04-12 07:11:05
[2025-04-12 07:11:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 07:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889944', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889944', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889944', 'tblTempVendorCDR_20' ) start
[2025-04-12 07:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889944', 'tblTempVendorCDR_20' ) end
[2025-04-12 07:11:19] Production.INFO: ProcessCDR(1,14889944,1,1,2)
[2025-04-12 07:11:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889944,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:11:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889944,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:11:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889944,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:11:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889944,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:11:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889944', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:11:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889944', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:11:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 07:11:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 07:11:24] Production.INFO: ==1292== Releasing lock...
[2025-04-12 07:11:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 07:11:24] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 12:12:01] Production.INFO: ==1430== Lock acquired, processing the job...
[2025-04-12 12:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 12:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 12:12:01] Production.INFO: neon service started
[2025-04-12 12:12:01] Production.INFO: neon service started
[2025-04-12 12:12:01] Production.INFO: ==1430== Releasing lock...
[2025-04-12 12:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 12:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 11:12:01] Production.INFO: ==1434== Lock acquired, processing the job...
[2025-04-12 11:12:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 11:12:01] Production.INFO: ==1434== Releasing lock...
[2025-04-12 11:12:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 11:12:01] Production.INFO: 25 MB #Memory Used#
[2025-04-12 07:12:02] Production.INFO: ==1432== Lock acquired, processing the job...
[2025-04-12 07:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 07:12:02] Production.INFO: ==1432== Releasing lock...
[2025-04-12 07:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 07:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 07:12:03] Production.INFO: ==1439== Lock acquired, processing the job...
[2025-04-12 07:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 07:12:03] Production.INFO: ==1437== Lock acquired, processing the job...
[2025-04-12 07:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 07:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 07:12:03] Production.INFO: ==1445== Lock acquired, processing the job...
[2025-04-12 07:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 07:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 07:12:03] Production.INFO: ==1441== Lock acquired, processing the job...
[2025-04-12 07:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 07:12:03] Production.INFO: ==1439== Releasing lock...
[2025-04-12 07:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 07:12:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 07:12:03] Production.INFO: ==1447== Lock acquired, processing the job...
[2025-04-12 07:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 07:12:03] Production.INFO: ==1443== Lock acquired, processing the job...
[2025-04-12 07:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 07:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 07:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 07:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 07:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 07:12:03] Production.ERROR: done
[2025-04-12 07:12:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 07:12:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 07:12:03] Production.INFO: count ==12
[2025-04-12 07:12:03] Production.INFO: Account Balance Start.
[2025-04-12 07:12:03] Production.INFO: CreateAllLog Start
[2025-04-12 07:12:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 07:12:03] Production.INFO: 117
[2025-04-12 07:12:03] Production.INFO: count ==23
[2025-04-12 07:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889947') start
[2025-04-12 07:12:03] Production.INFO: Date 2025-04-08
[2025-04-12 07:12:03] Production.ERROR: done
[2025-04-12 07:12:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:12:04] Production.INFO: Date 2025-04-09
[2025-04-12 07:12:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:12:04] Production.INFO: Date 2025-04-10
[2025-04-12 07:12:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889947') end
[2025-04-12 07:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 07:12:04] Production.INFO: 1
[2025-04-12 07:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 07:12:04] Production.INFO: ==1447== Releasing lock...
[2025-04-12 07:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 07:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 07:12:04] Production.INFO: Date 2025-04-11
[2025-04-12 07:12:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:12:04] Production.INFO: Date 2025-04-12
[2025-04-12 07:12:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:12:04] Production.INFO: Total Charge 0
[2025-04-12 07:12:04] Production.INFO: CreateAllLog End
[2025-04-12 07:12:04] Production.INFO: Account Balance End.
[2025-04-12 07:12:04] Production.ERROR: CronJobId end 12
[2025-04-12 07:12:04] Production.INFO: ==1443== Releasing lock...
[2025-04-12 07:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 07:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 07:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 04:12:05
[end_date_ymd] => 2025-04-12 07:12:05
[RateCDR] => 1
)
[2025-04-12 07:12:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 04:12:05' and `end` < '2025-04-12 07:12:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 07:12:12] Production.ERROR: CronJobId end10
[2025-04-12 07:12:12] Production.INFO: ==1441== Releasing lock...
[2025-04-12 07:12:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 07:12:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 07:12:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 07:12:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 07:12:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 07:12:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 07:12:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 07:12:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 07:12:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 07:12:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 07:12:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 07:12:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 07:12:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 07:12:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 07:12:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 07:12:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 07:12:14] Production.INFO: call_cost start
[2025-04-12 07:12:14] Production.INFO: call_cost end
[2025-04-12 07:12:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 07:12:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 07:12:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 07:12:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 07:12:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 07:12:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 07:12:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 07:12:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 07:12:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 07:12:15] Production.INFO: ==1437== Releasing lock...
[2025-04-12 07:12:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 07:12:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 07:12:18] Production.INFO: count ==97
[2025-04-12 07:12:18] Production.ERROR: pbx CDR StartTime 2025-04-12 04:12:05 - End Time 2025-04-12 07:12:05
[2025-04-12 07:12:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 07:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889949', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889949', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889949', 'tblTempVendorCDR_20' ) start
[2025-04-12 07:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889949', 'tblTempVendorCDR_20' ) end
[2025-04-12 07:12:18] Production.INFO: ProcessCDR(1,14889949,1,1,2)
[2025-04-12 07:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889949,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:12:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889949,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:12:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889949,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:12:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889949,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889949', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889949', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:12:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 07:12:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 07:12:21] Production.INFO: ==1445== Releasing lock...
[2025-04-12 07:12:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 07:12:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 12:13:01] Production.INFO: ==1538== Lock acquired, processing the job...
[2025-04-12 12:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 12:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 12:13:02] Production.INFO: neon service started
[2025-04-12 12:13:02] Production.INFO: neon service started
[2025-04-12 12:13:02] Production.INFO: ==1538== Releasing lock...
[2025-04-12 12:13:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 12:13:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 11:13:02] Production.INFO: ==1542== Lock acquired, processing the job...
[2025-04-12 11:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 11:13:02] Production.INFO: ==1542== Releasing lock...
[2025-04-12 11:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 11:13:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 07:13:02] Production.INFO: ==1540== Lock acquired, processing the job...
[2025-04-12 07:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 07:13:02] Production.INFO: ==1540== Releasing lock...
[2025-04-12 07:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 07:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 07:13:03] Production.INFO: ==1545== Lock acquired, processing the job...
[2025-04-12 07:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 07:13:03] Production.INFO: ==1547== Lock acquired, processing the job...
[2025-04-12 07:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 07:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 07:13:03] Production.INFO: ==1551== Lock acquired, processing the job...
[2025-04-12 07:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 07:13:03] Production.INFO: ==1549== Lock acquired, processing the job...
[2025-04-12 07:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 07:13:04] Production.INFO: Account Balance Start.
[2025-04-12 07:13:04] Production.INFO: CreateAllLog Start
[2025-04-12 07:13:04] Production.INFO: 117
[2025-04-12 07:13:04] Production.INFO: Date 2025-04-08
[2025-04-12 07:13:04] Production.INFO: ==1556== Lock acquired, processing the job...
[2025-04-12 07:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 07:13:04] Production.INFO: ==1547== Releasing lock...
[2025-04-12 07:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 07:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 07:13:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 07:13:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 07:13:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 07:13:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 07:13:04] Production.INFO: ==1554== Lock acquired, processing the job...
[2025-04-12 07:13:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 07:13:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:13:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 07:13:04] Production.INFO: Date 2025-04-09
[2025-04-12 07:13:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:13:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 07:13:04] Production.INFO: Date 2025-04-10
[2025-04-12 07:13:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:13:04] Production.INFO: count ==12
[2025-04-12 07:13:04] Production.INFO: Date 2025-04-11
[2025-04-12 07:13:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 07:13:04] Production.INFO: count ==23
[2025-04-12 07:13:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889953') start
[2025-04-12 07:13:04] Production.INFO: Date 2025-04-12
[2025-04-12 07:13:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:13:04] Production.INFO: Total Charge 0
[2025-04-12 07:13:04] Production.INFO: CreateAllLog End
[2025-04-12 07:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889953') end
[2025-04-12 07:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 07:13:04] Production.INFO: 1
[2025-04-12 07:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 07:13:04] Production.INFO: ==1556== Releasing lock...
[2025-04-12 07:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 07:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 07:13:04] Production.ERROR: done
[2025-04-12 07:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 07:13:04] Production.INFO: Account Balance End.
[2025-04-12 07:13:04] Production.ERROR: done
[2025-04-12 07:13:04] Production.ERROR: CronJobId end 12
[2025-04-12 07:13:04] Production.INFO: ==1551== Releasing lock...
[2025-04-12 07:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 07:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 07:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 04:13:05
[end_date_ymd] => 2025-04-12 07:13:05
[RateCDR] => 1
)
[2025-04-12 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-12 04:13:05' and `end` < '2025-04-12 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-12 07:13:12] Production.ERROR: CronJobId end10
[2025-04-12 07:13:12] Production.INFO: ==1549== Releasing lock...
[2025-04-12 07:13:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 07:13:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 07:13:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 07:13:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 07:13:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 07:13:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 07:13:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 07:13:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 07:13:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 07:13:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 07:13:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 07:13:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 07:13:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 07:13:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 07:13:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 07:13:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 07:13:14] Production.INFO: call_cost start
[2025-04-12 07:13:14] Production.INFO: call_cost end
[2025-04-12 07:13:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 07:13:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 07:13:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 07:13:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 07:13:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 07:13:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 07:13:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 07:13:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 07:13:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 07:13:15] Production.INFO: ==1545== Releasing lock...
[2025-04-12 07:13:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 07:13:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 07:13:20] Production.INFO: count ==98
[2025-04-12 07:13:20] Production.ERROR: pbx CDR StartTime 2025-04-12 04:13:05 - End Time 2025-04-12 07:13:05
[2025-04-12 07:13:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 07:13:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889954', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:13:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889954', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:13:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889954', 'tblTempVendorCDR_20' ) start
[2025-04-12 07:13:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889954', 'tblTempVendorCDR_20' ) end
[2025-04-12 07:13:20] Production.INFO: ProcessCDR(1,14889954,1,1,2)
[2025-04-12 07:13:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889954,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:13:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889954,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:13:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889954,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:13:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889954,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:13:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889954', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:13:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889954', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:13:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 07:13:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 07:13:25] Production.INFO: ==1554== Releasing lock...
[2025-04-12 07:13:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 07:13:25] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 12:14:01] Production.INFO: ==1614== Lock acquired, processing the job...
[2025-04-12 12:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 12:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 12:14:01] Production.INFO: neon service started
[2025-04-12 12:14:01] Production.INFO: neon service started
[2025-04-12 12:14:01] Production.INFO: ==1614== Releasing lock...
[2025-04-12 12:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 12:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 11:14:01] Production.INFO: ==1618== Lock acquired, processing the job...
[2025-04-12 11:14:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 11:14:01] Production.INFO: ==1618== Releasing lock...
[2025-04-12 11:14:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 11:14:01] Production.INFO: 25 MB #Memory Used#
[2025-04-12 07:14:01] Production.INFO: ==1616== Lock acquired, processing the job...
[2025-04-12 07:14:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 07:14:02] Production.INFO: ==1616== Releasing lock...
[2025-04-12 07:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 07:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 07:14:03] Production.INFO: ==1621== Lock acquired, processing the job...
[2025-04-12 07:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 07:14:03] Production.INFO: ==1625== Lock acquired, processing the job...
[2025-04-12 07:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 07:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 07:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 07:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 07:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 07:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 07:14:03] Production.INFO: ==1623== Lock acquired, processing the job...
[2025-04-12 07:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 07:14:03] Production.INFO: ==1627== Lock acquired, processing the job...
[2025-04-12 07:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 07:14:03] Production.INFO: ==1629== Lock acquired, processing the job...
[2025-04-12 07:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 07:14:03] Production.INFO: ==1631== Lock acquired, processing the job...
[2025-04-12 07:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 07:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 07:14:03] Production.INFO: Account Balance Start.
[2025-04-12 07:14:03] Production.INFO: CreateAllLog Start
[2025-04-12 07:14:03] Production.INFO: 117
[2025-04-12 07:14:03] Production.INFO: Date 2025-04-08
[2025-04-12 07:14:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:14:03] Production.INFO: Date 2025-04-09
[2025-04-12 07:14:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:14:03] Production.INFO: Date 2025-04-10
[2025-04-12 07:14:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:14:03] Production.INFO: Date 2025-04-11
[2025-04-12 07:14:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:14:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 07:14:03] Production.INFO: Date 2025-04-12
[2025-04-12 07:14:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:14:03] Production.INFO: count ==12
[2025-04-12 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-12 07:14:03] Production.INFO: count ==23
[2025-04-12 07:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889958') start
[2025-04-12 07:14:03] Production.INFO: Total Charge 0
[2025-04-12 07:14:04] Production.INFO: CreateAllLog End
[2025-04-12 07:14:04] Production.ERROR: done
[2025-04-12 07:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889958') end
[2025-04-12 07:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 07:14:04] Production.INFO: 1
[2025-04-12 07:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 07:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 07:14:04] Production.INFO: ==1623== Releasing lock...
[2025-04-12 07:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 07:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 07:14:04] Production.INFO: ==1631== Releasing lock...
[2025-04-12 07:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 07:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 07:14:04] Production.ERROR: done
[2025-04-12 07:14:04] Production.INFO: Account Balance End.
[2025-04-12 07:14:04] Production.ERROR: CronJobId end 12
[2025-04-12 07:14:04] Production.INFO: ==1627== Releasing lock...
[2025-04-12 07:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 07:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 07:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 04:14:05
[end_date_ymd] => 2025-04-12 07:14:05
[RateCDR] => 1
)
[2025-04-12 07:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 04:14:05' and `end` < '2025-04-12 07:14:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 07:14:12] Production.ERROR: CronJobId end10
[2025-04-12 07:14:12] Production.INFO: ==1625== Releasing lock...
[2025-04-12 07:14:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 07:14:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 07:14:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 07:14:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 07:14:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 07:14:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 07:14:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 07:14:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 07:14:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 07:14:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 07:14:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 07:14:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 07:14:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 07:14:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 07:14:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 07:14:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 07:14:14] Production.INFO: call_cost start
[2025-04-12 07:14:14] Production.INFO: call_cost end
[2025-04-12 07:14:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 07:14:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 07:14:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 07:14:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 07:14:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 07:14:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 07:14:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 07:14:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 07:14:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 07:14:15] Production.INFO: ==1621== Releasing lock...
[2025-04-12 07:14:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 07:14:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 07:14:18] Production.INFO: count ==97
[2025-04-12 07:14:18] Production.ERROR: pbx CDR StartTime 2025-04-12 04:14:05 - End Time 2025-04-12 07:14:05
[2025-04-12 07:14:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 07:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889959', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889959', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889959', 'tblTempVendorCDR_20' ) start
[2025-04-12 07:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889959', 'tblTempVendorCDR_20' ) end
[2025-04-12 07:14:18] Production.INFO: ProcessCDR(1,14889959,1,1,2)
[2025-04-12 07:14:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889959,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:14:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889959,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:14:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889959,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:14:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889959,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889959', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889959', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:14:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 07:14:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 07:14:21] Production.INFO: ==1629== Releasing lock...
[2025-04-12 07:14:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 07:14:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 12:15:01] Production.INFO: ==1768== Lock acquired, processing the job...
[2025-04-12 12:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 12:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 12:15:01] Production.INFO: neon service started
[2025-04-12 12:15:01] Production.INFO: neon service started
[2025-04-12 12:15:01] Production.INFO: ==1768== Releasing lock...
[2025-04-12 12:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 12:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 07:15:02] Production.INFO: ==1770== Lock acquired, processing the job...
[2025-04-12 07:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 11:15:02] Production.INFO: ==1772== Lock acquired, processing the job...
[2025-04-12 11:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 11:15:02] Production.INFO: ==1772== Releasing lock...
[2025-04-12 11:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 11:15:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 07:15:02] Production.INFO: ==1770== Releasing lock...
[2025-04-12 07:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 07:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 07:15:03] Production.INFO: ==1775== Lock acquired, processing the job...
[2025-04-12 07:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 07:15:03] Production.INFO: ==1777== Lock acquired, processing the job...
[2025-04-12 07:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 07:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 07:15:03] Production.INFO: ==1785== Lock acquired, processing the job...
[2025-04-12 07:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 07: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-12 07:15:03] Production.INFO: ==1779== Lock acquired, processing the job...
[2025-04-12 07:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 07:15:03] Production.INFO: ==1777== Releasing lock...
[2025-04-12 07:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 07:15:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 07:15:03] Production.INFO: count ==12
[2025-04-12 07:15:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 07:15:04] Production.INFO: count ==23
[2025-04-12 07:15:04] Production.INFO: ==1781== Lock acquired, processing the job...
[2025-04-12 07:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 07:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889962') start
[2025-04-12 07:15:04] Production.INFO: ==1783== Lock acquired, processing the job...
[2025-04-12 07:15:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 07:15:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 07:15:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 07:15:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 07:15:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 07:15:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 07:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889962') end
[2025-04-12 07:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 07:15:04] Production.INFO: 1
[2025-04-12 07:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 07:15:04] Production.INFO: Account Balance Start.
[2025-04-12 07:15:04] Production.INFO: CreateAllLog Start
[2025-04-12 07:15:04] Production.INFO: ==1785== Releasing lock...
[2025-04-12 07:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 07:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 07:15:04] Production.INFO: 117
[2025-04-12 07:15:04] Production.INFO: Date 2025-04-08
[2025-04-12 07:15:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:15:04] Production.INFO: Date 2025-04-09
[2025-04-12 07:15:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:15:04] Production.INFO: Date 2025-04-10
[2025-04-12 07:15:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:15:04] Production.INFO: Date 2025-04-11
[2025-04-12 07:15:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:15:04] Production.INFO: Date 2025-04-12
[2025-04-12 07:15:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:15:04] Production.INFO: Total Charge 0
[2025-04-12 07:15:04] Production.INFO: CreateAllLog End
[2025-04-12 07:15:04] Production.ERROR: done
[2025-04-12 07:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 07:15:04] Production.INFO: Account Balance End.
[2025-04-12 07:15:04] Production.ERROR: CronJobId end 12
[2025-04-12 07:15:04] Production.INFO: ==1781== Releasing lock...
[2025-04-12 07:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 07:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 07:15:04] Production.ERROR: done
[2025-04-12 07:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 04:15:05
[end_date_ymd] => 2025-04-12 07:15:05
[RateCDR] => 1
)
[2025-04-12 07:15:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 04:15:05' and `end` < '2025-04-12 07:15:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 07:15:11] Production.ERROR: CronJobId end10
[2025-04-12 07:15:11] Production.INFO: ==1779== Releasing lock...
[2025-04-12 07:15:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 07:15:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 07:15:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 07:15:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 07:15:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 07:15:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 07:15:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 07:15:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 07:15:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 07:15:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 07:15:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 07:15:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 07:15:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 07:15:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 07:15:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 07:15:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 07:15:14] Production.INFO: call_cost start
[2025-04-12 07:15:14] Production.INFO: call_cost end
[2025-04-12 07:15:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 07:15:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 07:15:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 07:15:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 07:15:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 07:15:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 07:15:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 07:15:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 07:15:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 07:15:15] Production.INFO: ==1775== Releasing lock...
[2025-04-12 07:15:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 07:15:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 07:15:20] Production.INFO: count ==98
[2025-04-12 07:15:20] Production.ERROR: pbx CDR StartTime 2025-04-12 04:15:05 - End Time 2025-04-12 07:15:05
[2025-04-12 07:15:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 07:15:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889964', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:15:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889964', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:15:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889964', 'tblTempVendorCDR_20' ) start
[2025-04-12 07:15:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889964', 'tblTempVendorCDR_20' ) end
[2025-04-12 07:15:20] Production.INFO: ProcessCDR(1,14889964,1,1,2)
[2025-04-12 07:15:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889964,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:15:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889964,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:15:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889964,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:15:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889964,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:15:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889964', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:15:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889964', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:15:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 07:15:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 07:15:24] Production.INFO: ==1783== Releasing lock...
[2025-04-12 07:15:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 07:15:24] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 12:16:01] Production.INFO: ==1844== Lock acquired, processing the job...
[2025-04-12 12:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 12:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 12:16:01] Production.INFO: neon service started
[2025-04-12 12:16:01] Production.INFO: neon service started
[2025-04-12 12:16:01] Production.INFO: ==1844== Releasing lock...
[2025-04-12 12:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 12:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 11:16:01] Production.INFO: ==1848== Lock acquired, processing the job...
[2025-04-12 11:16:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 11:16:01] Production.INFO: ==1848== Releasing lock...
[2025-04-12 11:16:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 11:16:01] Production.INFO: 25 MB #Memory Used#
[2025-04-12 07:16:01] Production.INFO: ==1846== Lock acquired, processing the job...
[2025-04-12 07:16:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 07:16:02] Production.INFO: ==1846== Releasing lock...
[2025-04-12 07:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 07:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 07:16:03] Production.INFO: ==1855== Lock acquired, processing the job...
[2025-04-12 07:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 07:16:03] Production.INFO: ==1861== Lock acquired, processing the job...
[2025-04-12 07:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 07:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 07:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 07:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 07:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 07:16:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 07:16:03] Production.INFO: count ==12
[2025-04-12 07:16:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 07:16:03] Production.INFO: ==1851== Lock acquired, processing the job...
[2025-04-12 07:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 07:16:03] Production.INFO: count ==23
[2025-04-12 07:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889965') start
[2025-04-12 07:16:03] Production.INFO: ==1853== Lock acquired, processing the job...
[2025-04-12 07:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 07:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889965') end
[2025-04-12 07:16:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 07:16:03] Production.INFO: 1
[2025-04-12 07:16:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 07:16:03] Production.INFO: ==1857== Lock acquired, processing the job...
[2025-04-12 07:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 07:16:03] Production.INFO: ==1859== Lock acquired, processing the job...
[2025-04-12 07:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 07:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 07:16:03] Production.INFO: ==1861== Releasing lock...
[2025-04-12 07:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 07:16:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 07:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 07:16:03] Production.INFO: Account Balance Start.
[2025-04-12 07:16:03] Production.INFO: CreateAllLog Start
[2025-04-12 07:16:03] Production.INFO: 117
[2025-04-12 07:16:03] Production.INFO: Date 2025-04-08
[2025-04-12 07:16:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:16:03] Production.INFO: Date 2025-04-09
[2025-04-12 07:16:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:16:03] Production.INFO: Date 2025-04-10
[2025-04-12 07:16:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:16:03] Production.INFO: Date 2025-04-11
[2025-04-12 07:16:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:16:03] Production.INFO: Date 2025-04-12
[2025-04-12 07:16:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:16:04] Production.INFO: Total Charge 0
[2025-04-12 07:16:04] Production.INFO: CreateAllLog End
[2025-04-12 07:16:04] Production.INFO: ==1853== Releasing lock...
[2025-04-12 07:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 07:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 07:16:04] Production.ERROR: done
[2025-04-12 07:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 07:16:04] Production.ERROR: done
[2025-04-12 07:16:04] Production.INFO: Account Balance End.
[2025-04-12 07:16:04] Production.ERROR: CronJobId end 12
[2025-04-12 07:16:04] Production.INFO: ==1857== Releasing lock...
[2025-04-12 07:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 07:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 07:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 04:16:05
[end_date_ymd] => 2025-04-12 07:16:05
[RateCDR] => 1
)
[2025-04-12 07:16:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 04:16:05' and `end` < '2025-04-12 07:16:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 07:16:11] Production.ERROR: CronJobId end10
[2025-04-12 07:16:11] Production.INFO: ==1855== Releasing lock...
[2025-04-12 07:16:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 07:16:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 07:16:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 07:16:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 07:16:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 07:16:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 07:16:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 07:16:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 07:16:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 07:16:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 07:16:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 07:16:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 07:16:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 07:16:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 07:16:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 07:16:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 07:16:14] Production.INFO: call_cost start
[2025-04-12 07:16:14] Production.INFO: call_cost end
[2025-04-12 07:16:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 07:16:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 07:16:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 07:16:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 07:16:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 07:16:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 07:16:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 07:16:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 07:16:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 07:16:15] Production.INFO: ==1851== Releasing lock...
[2025-04-12 07:16:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 07:16:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 07:16:18] Production.INFO: count ==97
[2025-04-12 07:16:18] Production.ERROR: pbx CDR StartTime 2025-04-12 04:16:05 - End Time 2025-04-12 07:16:05
[2025-04-12 07:16:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 07:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889969', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889969', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889969', 'tblTempVendorCDR_20' ) start
[2025-04-12 07:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889969', 'tblTempVendorCDR_20' ) end
[2025-04-12 07:16:18] Production.INFO: ProcessCDR(1,14889969,1,1,2)
[2025-04-12 07:16:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889969,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:16:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889969,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:16:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889969,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:16:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889969,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889969', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889969', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:16:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 07:16:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 07:16:21] Production.INFO: ==1859== Releasing lock...
[2025-04-12 07:16:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 07:16:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 12:17:01] Production.INFO: ==1915== Lock acquired, processing the job...
[2025-04-12 12:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 12:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 12:17:01] Production.INFO: neon service started
[2025-04-12 12:17:01] Production.INFO: neon service started
[2025-04-12 12:17:01] Production.INFO: ==1915== Releasing lock...
[2025-04-12 12:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 12:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 11:17:02] Production.INFO: ==1919== Lock acquired, processing the job...
[2025-04-12 11:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 11:17:02] Production.INFO: ==1919== Releasing lock...
[2025-04-12 11:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 11:17:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 07:17:02] Production.INFO: ==1917== Lock acquired, processing the job...
[2025-04-12 07:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 07:17:02] Production.INFO: ==1917== Releasing lock...
[2025-04-12 07:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 07:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 07:17:03] Production.INFO: ==1926== Lock acquired, processing the job...
[2025-04-12 07:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 07:17:03] Production.INFO: ==1921== Lock acquired, processing the job...
[2025-04-12 07:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 07:17:03] Production.INFO: ==1932== Lock acquired, processing the job...
[2025-04-12 07:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 07:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 07:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 07:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 07:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 07:17:03] Production.INFO: ==1924== Lock acquired, processing the job...
[2025-04-12 07:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 07:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 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-12 07:17:03] Production.INFO: ==1928== Lock acquired, processing the job...
[2025-04-12 07:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 07:17:03] Production.INFO: count ==12
[2025-04-12 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-12 07:17:03] Production.INFO: count ==23
[2025-04-12 07:17:03] Production.INFO: ==1930== Lock acquired, processing the job...
[2025-04-12 07:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 07:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14889971') start
[2025-04-12 07:17:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 07:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889971') end
[2025-04-12 07:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 07:17:04] Production.INFO: 1
[2025-04-12 07:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 07:17:04] Production.INFO: Account Balance Start.
[2025-04-12 07:17:04] Production.INFO: CreateAllLog Start
[2025-04-12 07:17:04] Production.INFO: 117
[2025-04-12 07:17:04] Production.INFO: Date 2025-04-08
[2025-04-12 07:17:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:17:04] Production.INFO: Date 2025-04-09
[2025-04-12 07:17:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:17:04] Production.INFO: Date 2025-04-10
[2025-04-12 07:17:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:17:04] Production.INFO: ==1932== Releasing lock...
[2025-04-12 07:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 07:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 07:17:04] Production.INFO: Date 2025-04-11
[2025-04-12 07:17:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:17:04] Production.INFO: Date 2025-04-12
[2025-04-12 07:17:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:17:04] Production.INFO: ==1924== Releasing lock...
[2025-04-12 07:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 07:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 07:17:04] Production.INFO: Total Charge 0
[2025-04-12 07:17:04] Production.INFO: CreateAllLog End
[2025-04-12 07:17:04] Production.ERROR: done
[2025-04-12 07:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 07:17:04] Production.INFO: Account Balance End.
[2025-04-12 07:17:04] Production.ERROR: CronJobId end 12
[2025-04-12 07:17:04] Production.INFO: ==1928== Releasing lock...
[2025-04-12 07:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 07:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 07:17:04] Production.ERROR: done
[2025-04-12 07:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 04:17:05
[end_date_ymd] => 2025-04-12 07:17:05
[RateCDR] => 1
)
[2025-04-12 07:17:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 04:17:05' and `end` < '2025-04-12 07:17:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 07:17:14] Production.ERROR: CronJobId end10
[2025-04-12 07:17:14] Production.INFO: ==1926== Releasing lock...
[2025-04-12 07:17:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 07:17:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 07:17:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 07:17:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 07:17:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 07:17:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 07:17:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 07:17:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 07:17:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 07:17:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 07:17:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 07:17:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 07:17:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 07:17:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 07:17:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 07:17:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 07:17:16] Production.INFO: call_cost start
[2025-04-12 07:17:16] Production.INFO: call_cost end
[2025-04-12 07:17:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 07:17:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 07:17:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 07:17:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 07:17:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 07:17:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 07:17:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 07:17:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 07:17:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 07:17:17] Production.INFO: ==1921== Releasing lock...
[2025-04-12 07:17:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 07:17:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 07:17:20] Production.INFO: count ==96
[2025-04-12 07:17:20] Production.ERROR: pbx CDR StartTime 2025-04-12 04:17:05 - End Time 2025-04-12 07:17:05
[2025-04-12 07:17:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 07:17:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889974', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:17:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889974', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:17:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889974', 'tblTempVendorCDR_20' ) start
[2025-04-12 07:17:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889974', 'tblTempVendorCDR_20' ) end
[2025-04-12 07:17:20] Production.INFO: ProcessCDR(1,14889974,1,1,2)
[2025-04-12 07:17:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889974,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:17:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889974,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:17:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889974,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:17:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889974,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:17:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889974', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:17:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889974', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:17:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 07:17:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 07:17:24] Production.INFO: ==1930== Releasing lock...
[2025-04-12 07:17:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 07:17:24] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 12:18:02] Production.INFO: ==1988== Lock acquired, processing the job...
[2025-04-12 12:18:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 12:18:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 12:18:02] Production.INFO: neon service started
[2025-04-12 12:18:02] Production.INFO: neon service started
[2025-04-12 12:18:02] Production.INFO: ==1988== Releasing lock...
[2025-04-12 12:18:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 12:18:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 11:18:03] Production.INFO: ==1993== Lock acquired, processing the job...
[2025-04-12 11:18:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 11:18:03] Production.INFO: ==1993== Releasing lock...
[2025-04-12 11:18:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 11:18:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 07:18:03] Production.INFO: ==1991== Lock acquired, processing the job...
[2025-04-12 07:18:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 07:18:03] Production.INFO: ==1991== Releasing lock...
[2025-04-12 07:18:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 07:18:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 07:18:04] Production.INFO: ==1996== Lock acquired, processing the job...
[2025-04-12 07:18:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 07:18:04] Production.INFO: ==1998== Lock acquired, processing the job...
[2025-04-12 07:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 07:18:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 07:18:04] Production.INFO: ==2002== Lock acquired, processing the job...
[2025-04-12 07:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 07:18:04] Production.INFO: Account Balance Start.
[2025-04-12 07:18:04] Production.INFO: CreateAllLog Start
[2025-04-12 07:18:04] Production.INFO: 117
[2025-04-12 07:18:04] Production.INFO: Date 2025-04-08
[2025-04-12 07:18:04] Production.INFO: ==2004== Lock acquired, processing the job...
[2025-04-12 07:18:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 07:18:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:18:04] Production.INFO: Date 2025-04-09
[2025-04-12 07:18:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:18:04] Production.INFO: Date 2025-04-10
[2025-04-12 07:18:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:18:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 07:18:04] Production.INFO: Date 2025-04-11
[2025-04-12 07:18:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:18:04] Production.INFO: Date 2025-04-12
[2025-04-12 07:18:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:18:04] Production.INFO: ==2000== Lock acquired, processing the job...
[2025-04-12 07:18:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 07:18:04] Production.INFO: Total Charge 0
[2025-04-12 07:18:04] Production.INFO: CreateAllLog End
[2025-04-12 07:18:04] Production.INFO: ==2006== Lock acquired, processing the job...
[2025-04-12 07:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 07:18:04] Production.INFO: Account Balance End.
[2025-04-12 07:18:04] Production.INFO: ==1998== Releasing lock...
[2025-04-12 07:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 07:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 07:18:05] Production.ERROR: CronJobId end 12
[2025-04-12 07:18:05] Production.INFO: ==2002== Releasing lock...
[2025-04-12 07:18:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 07:18:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 07:18:05] Production.ERROR: done
[2025-04-12 07:18:05] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 07:18:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 07:18:05] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 07:18:05] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 07:18:05] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 07: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-12 07:18:05] Production.INFO: count ==12
[2025-04-12 07: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-12 07:18:05] Production.INFO: count ==23
[2025-04-12 07:18:05] Production.ERROR: PBX CALL prc_importPBXExtension('14889978') start
[2025-04-12 07:18:05] Production.ERROR: done
[2025-04-12 07:18:05] Production.ERROR: PBX CALL prc_importPBXExtension('14889978') end
[2025-04-12 07:18:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 07:18:05] Production.INFO: 1
[2025-04-12 07:18:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 07:18:05] Production.INFO: ==2006== Releasing lock...
[2025-04-12 07:18:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 07:18:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 07:18:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 04:18:06
[end_date_ymd] => 2025-04-12 07:18:06
[RateCDR] => 1
)
[2025-04-12 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-12 04:18:06' and `end` < '2025-04-12 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-12 07:18:14] Production.ERROR: CronJobId end10
[2025-04-12 07:18:14] Production.INFO: ==2000== Releasing lock...
[2025-04-12 07:18:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 07:18:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 07:18:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 07:18:16] Production.INFO: ============== Balance Warning START===========
[2025-04-12 07:18:16] Production.INFO: ============== Balance Warning END===========
[2025-04-12 07:18:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 07:18:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 07:18:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 07:18:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 07:18:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 07:18:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 07:18:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 07:18:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 07:18:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 07:18:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 07:18:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 07:18:17] Production.INFO: call_cost start
[2025-04-12 07:18:17] Production.INFO: call_cost end
[2025-04-12 07:18:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 07:18:18] Production.INFO: ============== Report Schedule START===========
[2025-04-12 07:18:18] Production.INFO: ============== Report Schedule END===========
[2025-04-12 07:18:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 07:18:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 07:18:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 07:18:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 07:18:18] Production.INFO: ============== Deal alert START===========
[2025-04-12 07:18:18] Production.INFO: ============== Deal alert END===========
[2025-04-12 07:18:18] Production.INFO: ==1996== Releasing lock...
[2025-04-12 07:18:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 07:18:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 07:18:19] Production.INFO: count ==98
[2025-04-12 07:18:19] Production.ERROR: pbx CDR StartTime 2025-04-12 04:18:06 - End Time 2025-04-12 07:18:06
[2025-04-12 07:18:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 07:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889979', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889979', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889979', 'tblTempVendorCDR_20' ) start
[2025-04-12 07:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889979', 'tblTempVendorCDR_20' ) end
[2025-04-12 07:18:19] Production.INFO: ProcessCDR(1,14889979,1,1,2)
[2025-04-12 07:18:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889979,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:18:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889979,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:18:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889979,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:18:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889979,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:18:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889979', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:18:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889979', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:18:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 07:18:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 07:18:25] Production.INFO: ==2004== Releasing lock...
[2025-04-12 07:18:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 07:18:25] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 12:19:01] Production.INFO: ==2063== Lock acquired, processing the job...
[2025-04-12 12:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 12:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 12:19:01] Production.INFO: neon service started
[2025-04-12 12:19:01] Production.INFO: neon service started
[2025-04-12 12:19:01] Production.INFO: ==2063== Releasing lock...
[2025-04-12 12:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 12:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 07:19:02] Production.INFO: ==2065== Lock acquired, processing the job...
[2025-04-12 07:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 07:19:02] Production.INFO: ==2065== Releasing lock...
[2025-04-12 07:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 07:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 11:19:02] Production.INFO: ==2067== Lock acquired, processing the job...
[2025-04-12 11:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 11:19:02] Production.INFO: ==2067== Releasing lock...
[2025-04-12 11:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 11:19:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 07:19:03] Production.INFO: ==2080== Lock acquired, processing the job...
[2025-04-12 07:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 07:19:03] Production.INFO: ==2078== Lock acquired, processing the job...
[2025-04-12 07:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 07:19:03] Production.INFO: ==2070== Lock acquired, processing the job...
[2025-04-12 07:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 07:19:03] Production.INFO: ==2072== Lock acquired, processing the job...
[2025-04-12 07:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 07:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 07:19:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 07:19:04] Production.INFO: ==2074== Lock acquired, processing the job...
[2025-04-12 07:19:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 07:19:04] Production.INFO: ==2076== Lock acquired, processing the job...
[2025-04-12 07:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 07:19:04] Production.INFO: count ==12
[2025-04-12 07:19:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 07:19:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 07:19:04] Production.INFO: Account Balance Start.
[2025-04-12 07:19:04] Production.INFO: CreateAllLog Start
[2025-04-12 07:19:04] Production.INFO: 117
[2025-04-12 07:19:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 07:19:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 07:19:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 07:19:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 07:19:04] Production.INFO: Date 2025-04-08
[2025-04-12 07:19:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:19:04] Production.INFO: Date 2025-04-09
[2025-04-12 07:19:04] Production.INFO: count ==23
[2025-04-12 07:19:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889980') start
[2025-04-12 07:19:04] Production.INFO: Date 2025-04-10
[2025-04-12 07:19:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:19:04] Production.INFO: Date 2025-04-11
[2025-04-12 07:19:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889980') end
[2025-04-12 07:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 07:19:04] Production.INFO: 1
[2025-04-12 07:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 07:19:04] Production.INFO: Date 2025-04-12
[2025-04-12 07:19:04] Production.INFO: ==2072== Releasing lock...
[2025-04-12 07:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 07:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 07:19:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:19:04] Production.INFO: Total Charge 0
[2025-04-12 07:19:04] Production.INFO: CreateAllLog End
[2025-04-12 07:19:04] Production.INFO: ==2080== Releasing lock...
[2025-04-12 07:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 07:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 07:19:04] Production.ERROR: done
[2025-04-12 07:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 07:19:04] Production.ERROR: done
[2025-04-12 07:19:04] Production.INFO: Account Balance End.
[2025-04-12 07:19:04] Production.ERROR: CronJobId end 12
[2025-04-12 07:19:04] Production.INFO: ==2076== Releasing lock...
[2025-04-12 07:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 07:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 07:19:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 04:19:06
[end_date_ymd] => 2025-04-12 07:19:06
[RateCDR] => 1
)
[2025-04-12 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-12 04:19:06' and `end` < '2025-04-12 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-12 07:19:13] Production.ERROR: CronJobId end10
[2025-04-12 07:19:13] Production.INFO: ==2074== Releasing lock...
[2025-04-12 07:19:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 07:19:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 07:19:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 07:19:16] Production.INFO: ============== Balance Warning START===========
[2025-04-12 07:19:16] Production.INFO: ============== Balance Warning END===========
[2025-04-12 07:19:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 07:19:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 07:19:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 07:19:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 07:19:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 07:19:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 07:19:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 07:19:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 07:19:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 07:19:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 07:19:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 07:19:16] Production.INFO: call_cost start
[2025-04-12 07:19:16] Production.INFO: call_cost end
[2025-04-12 07:19:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 07:19:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 07:19:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 07:19:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 07:19:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 07:19:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 07:19:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 07:19:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 07:19:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 07:19:17] Production.INFO: ==2070== Releasing lock...
[2025-04-12 07:19:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 07:19:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 07:19:18] Production.INFO: count ==99
[2025-04-12 07:19:19] Production.ERROR: pbx CDR StartTime 2025-04-12 04:19:06 - End Time 2025-04-12 07:19:06
[2025-04-12 07:19:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 07:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889984', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889984', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889984', 'tblTempVendorCDR_20' ) start
[2025-04-12 07:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889984', 'tblTempVendorCDR_20' ) end
[2025-04-12 07:19:19] Production.INFO: ProcessCDR(1,14889984,1,1,2)
[2025-04-12 07:19:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889984,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:19:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889984,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:19:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889984,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:19:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889984,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:19:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889984', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:19:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889984', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:19:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 07:19:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 07:19:24] Production.INFO: ==2078== Releasing lock...
[2025-04-12 07:19:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 07:19:24] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 12:20:01] Production.INFO: ==2138== Lock acquired, processing the job...
[2025-04-12 12:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 12:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 12:20:01] Production.INFO: neon service started
[2025-04-12 12:20:01] Production.INFO: neon service started
[2025-04-12 12:20:01] Production.INFO: ==2138== Releasing lock...
[2025-04-12 12:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 12:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 07:20:01] Production.INFO: ==2140== Lock acquired, processing the job...
[2025-04-12 07:20:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 11:20:02] Production.INFO: ==2142== Lock acquired, processing the job...
[2025-04-12 11:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 11:20:02] Production.INFO: ==2142== Releasing lock...
[2025-04-12 11:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 11:20:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 07:20:02] Production.INFO: ==2140== Releasing lock...
[2025-04-12 07:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 07:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 07:20:03] Production.INFO: ==2149== Lock acquired, processing the job...
[2025-04-12 07:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 07:20:03] Production.INFO: ==2145== Lock acquired, processing the job...
[2025-04-12 07:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 07:20:03] Production.INFO: ==2157== Lock acquired, processing the job...
[2025-04-12 07:20:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 07:20:03] Production.INFO: ==2159== Lock acquired, processing the job...
[2025-04-12 07:20:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 07:20:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 07:20:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 07:20:03] Production.INFO: ==2147== Lock acquired, processing the job...
[2025-04-12 07:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 07:20:03] Production.INFO: ==2151== Lock acquired, processing the job...
[2025-04-12 07:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 07:20:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 07:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 07:20:04] Production.ERROR: CronJob PID - 2147
[2025-04-12 07:20:04] Production.ERROR: CronJob Title - System Alerts
[2025-04-12 07:20:04] Production.ERROR: CronJob ID - 5
[2025-04-12 07:20:04] Production.ERROR: CronJob Last Run Time 2025-04-12 07:20:00
[2025-04-12 07:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 07:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 07:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 07:20:04] Production.ERROR: CronJob PID - 2149
[2025-04-12 07:20:04] Production.ERROR: CronJob Title - Account Block
[2025-04-12 07:20:04] Production.ERROR: CronJob ID - 7
[2025-04-12 07:20:04] Production.ERROR: CronJob Last Run Time 2025-04-12 07:20:00
[2025-04-12 07:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 07:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 07:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 07:20:04] Production.ERROR: CronJob PID - 2157
[2025-04-12 07:20:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-04-12 07:20:04] Production.ERROR: CronJob ID - 17
[2025-04-12 07:20:04] Production.ERROR: CronJob Last Run Time 2025-04-12 07:20:00
[2025-04-12 07:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 07:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 07:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 07:20:04] Production.ERROR: CronJob PID - 2159
[2025-04-12 07:20:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-04-12 07:20:04] Production.ERROR: CronJob ID - 19
[2025-04-12 07:20:04] Production.ERROR: CronJob Last Run Time 2025-04-12 07:20:00
[2025-04-12 07:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 07:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 07:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 07:20:04] Production.INFO: ==2153== Lock acquired, processing the job...
[2025-04-12 07:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 07:20:04] Production.INFO: ==2155== Lock acquired, processing the job...
[2025-04-12 07:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 07:20:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 07:20:04] Production.INFO: ==2145== Releasing lock...
[2025-04-12 07:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 07:20:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 07:20:04] Production.INFO: ==2149== Releasing lock...
[2025-04-12 07:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 07:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 07:20:04] Production.INFO: count ==12
[2025-04-12 07:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 07:20:04] Production.ERROR: done
[2025-04-12 07:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 07:20:04] Production.INFO: count ==23
[2025-04-12 07:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889986') start
[2025-04-12 07:20:04] Production.INFO: Account Balance Start.
[2025-04-12 07:20:04] Production.INFO: CreateAllLog Start
[2025-04-12 07:20:04] Production.INFO: 117
[2025-04-12 07:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 07:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14889989', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 07:20:04] Production.INFO: Date 2025-04-08
[2025-04-12 07:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 07:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 07:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 07:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 07:20:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:20:04] Production.INFO: Date 2025-04-09
[2025-04-12 07:20:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889986') end
[2025-04-12 07:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 07:20:04] Production.INFO: 1
[2025-04-12 07:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 07:20:04] Production.INFO: Date 2025-04-10
[2025-04-12 07:20:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:20:04] Production.INFO: Date 2025-04-11
[2025-04-12 07:20:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:20:04] Production.INFO: Date 2025-04-12
[2025-04-12 07:20:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:20:04] Production.ERROR: done
[2025-04-12 07:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 07:20:04] Production.INFO: Total Charge 0
[2025-04-12 07:20:04] Production.INFO: CreateAllLog End
[2025-04-12 07:20:04] Production.INFO: ==2159== Releasing lock...
[2025-04-12 07:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 07:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 07:20:04] Production.ERROR: done
[2025-04-12 07:20:04] Production.INFO: Account Balance End.
[2025-04-12 07:20:04] Production.ERROR: CronJobId end 12
[2025-04-12 07:20:04] Production.INFO: ==2153== Releasing lock...
[2025-04-12 07:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 07:20:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 07:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 04:20:06
[end_date_ymd] => 2025-04-12 07:20:06
[RateCDR] => 1
)
[2025-04-12 07:20:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 04:20:06' and `end` < '2025-04-12 07:20:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 07:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14889989', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 07:20:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 07:20:08] Production.INFO: ProcessCDR(1,14889989,1,1,2)
[2025-04-12 07:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14889989,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:20:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14889989,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:20:08] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 07:20:08] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 07:20:08] Production.INFO: ==2157== Releasing lock...
[2025-04-12 07:20:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 07:20:08] Production.INFO: 26 MB #Memory Used#
[2025-04-12 07:20:14] Production.ERROR: CronJobId end10
[2025-04-12 07:20:14] Production.INFO: ==2151== Releasing lock...
[2025-04-12 07:20:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 07:20:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 07:20:18] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 07:20:18] Production.INFO: ============== Balance Warning START===========
[2025-04-12 07:20:18] Production.INFO: ============== Balance Warning END===========
[2025-04-12 07:20:18] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 07:20:18] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 07:20:18] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 07:20:18] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 07:20:18] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 07:20:18] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 07:20:18] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 07:20:18] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 07:20:18] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 07:20:18] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 07:20:18] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 07:20:18] Production.INFO: call_cost start
[2025-04-12 07:20:18] Production.INFO: call_cost end
[2025-04-12 07:20:18] Production.INFO: count ==110
[2025-04-12 07:20:18] Production.ERROR: pbx CDR StartTime 2025-04-12 04:20:06 - End Time 2025-04-12 07:20:06
[2025-04-12 07:20:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 07:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889990', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889990', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889990', 'tblTempVendorCDR_20' ) start
[2025-04-12 07:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889990', 'tblTempVendorCDR_20' ) end
[2025-04-12 07:20:18] Production.INFO: ProcessCDR(1,14889990,1,1,2)
[2025-04-12 07:20:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889990,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:20:19] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 07:20:19] Production.INFO: ============== Report Schedule START===========
[2025-04-12 07:20:19] Production.INFO: ============== Report Schedule END===========
[2025-04-12 07:20:19] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 07:20:19] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 07:20:19] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 07:20:19] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 07:20:19] Production.INFO: ============== Deal alert START===========
[2025-04-12 07:20:19] Production.INFO: ============== Deal alert END===========
[2025-04-12 07:20:19] Production.INFO: ==2147== Releasing lock...
[2025-04-12 07:20:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 07:20:19] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 07:20:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889990,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:20:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889990,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:20:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889990,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:20:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889990', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:20:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889990', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:20:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 07:20:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 07:20:24] Production.INFO: ==2155== Releasing lock...
[2025-04-12 07:20:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 07:20:24] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 12:21:01] Production.INFO: ==2262== Lock acquired, processing the job...
[2025-04-12 12:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 12:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 12:21:01] Production.INFO: neon service started
[2025-04-12 12:21:01] Production.INFO: neon service started
[2025-04-12 12:21:01] Production.INFO: ==2262== Releasing lock...
[2025-04-12 12:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 12:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 07:21:02] Production.INFO: ==2264== Lock acquired, processing the job...
[2025-04-12 07:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 07:21:02] Production.INFO: ==2264== Releasing lock...
[2025-04-12 07:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 07:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 11:21:02] Production.INFO: ==2266== Lock acquired, processing the job...
[2025-04-12 11:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 11:21:02] Production.INFO: ==2266== Releasing lock...
[2025-04-12 11:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 11:21:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 07:21:03] Production.INFO: ==2275== Lock acquired, processing the job...
[2025-04-12 07:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 07:21:03] Production.INFO: ==2277== Lock acquired, processing the job...
[2025-04-12 07:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 07:21:03] Production.INFO: Account Balance Start.
[2025-04-12 07:21:03] Production.INFO: CreateAllLog Start
[2025-04-12 07:21:03] Production.INFO: 117
[2025-04-12 07:21:03] Production.INFO: Date 2025-04-08
[2025-04-12 07:21:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 07:21:03] Production.INFO: Date 2025-04-09
[2025-04-12 07:21:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:21:03] Production.INFO: Date 2025-04-10
[2025-04-12 07:21:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:21:03] Production.INFO: Date 2025-04-11
[2025-04-12 07:21:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:21:03] Production.INFO: ==2268== Lock acquired, processing the job...
[2025-04-12 07:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 07:21:04] Production.INFO: Date 2025-04-12
[2025-04-12 07:21:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:21:04] Production.INFO: ==2270== Lock acquired, processing the job...
[2025-04-12 07:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 07:21:04] Production.INFO: ==2273== Lock acquired, processing the job...
[2025-04-12 07:21:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 07:21:04] Production.INFO: ==2279== Lock acquired, processing the job...
[2025-04-12 07:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 07:21:04] Production.INFO: Total Charge 0
[2025-04-12 07:21:04] Production.INFO: CreateAllLog End
[2025-04-12 07:21:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 07:21:04] Production.ERROR: done
[2025-04-12 07:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 07:21:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 07:21:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 07:21:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 07:21:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 07:21:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 07:21:04] Production.INFO: count ==12
[2025-04-12 07:21:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 07:21:04] Production.INFO: count ==23
[2025-04-12 07:21:04] Production.INFO: ==2270== Releasing lock...
[2025-04-12 07:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 07:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 07:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889994') start
[2025-04-12 07:21:04] Production.INFO: Account Balance End.
[2025-04-12 07:21:04] Production.ERROR: done
[2025-04-12 07:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889994') end
[2025-04-12 07:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 07:21:04] Production.INFO: 1
[2025-04-12 07:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 07:21:04] Production.ERROR: CronJobId end 12
[2025-04-12 07:21:04] Production.INFO: ==2275== Releasing lock...
[2025-04-12 07:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 07:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 07:21:04] Production.INFO: ==2279== Releasing lock...
[2025-04-12 07:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 07:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 07:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 04:21:05
[end_date_ymd] => 2025-04-12 07:21:05
[RateCDR] => 1
)
[2025-04-12 07:21:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 04:21:05' and `end` < '2025-04-12 07:21:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 07:21:13] Production.ERROR: CronJobId end10
[2025-04-12 07:21:13] Production.INFO: ==2273== Releasing lock...
[2025-04-12 07:21:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 07:21:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 07:21:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 07:21:16] Production.INFO: ============== Balance Warning START===========
[2025-04-12 07:21:16] Production.INFO: ============== Balance Warning END===========
[2025-04-12 07:21:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 07:21:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 07:21:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 07:21:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 07:21:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 07:21:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 07:21:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 07:21:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 07:21:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 07:21:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 07:21:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 07:21:17] Production.INFO: call_cost start
[2025-04-12 07:21:17] Production.INFO: call_cost end
[2025-04-12 07:21:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 07:21:18] Production.INFO: ============== Report Schedule START===========
[2025-04-12 07:21:18] Production.INFO: ============== Report Schedule END===========
[2025-04-12 07:21:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 07:21:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 07:21:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 07:21:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 07:21:18] Production.INFO: ============== Deal alert START===========
[2025-04-12 07:21:18] Production.INFO: ============== Deal alert END===========
[2025-04-12 07:21:18] Production.INFO: ==2268== Releasing lock...
[2025-04-12 07:21:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 07:21:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 07:21:18] Production.INFO: count ==117
[2025-04-12 07:21:18] Production.ERROR: pbx CDR StartTime 2025-04-12 04:21:05 - End Time 2025-04-12 07:21:05
[2025-04-12 07:21:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 07:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889995', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14889995', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889995', 'tblTempVendorCDR_20' ) start
[2025-04-12 07:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14889995', 'tblTempVendorCDR_20' ) end
[2025-04-12 07:21:18] Production.INFO: ProcessCDR(1,14889995,1,1,2)
[2025-04-12 07:21:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14889995,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:21:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14889995,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:21:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14889995,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:21:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14889995,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:21:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889995', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:21:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14889995', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:21:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 07:21:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 07:21:24] Production.INFO: ==2277== Releasing lock...
[2025-04-12 07:21:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 07:21:24] Production.INFO: 29 MB #Memory Used#
[2025-04-12 12:22:02] Production.INFO: ==2333== Lock acquired, processing the job...
[2025-04-12 12:22:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 12:22:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 12:22:02] Production.INFO: neon service started
[2025-04-12 12:22:02] Production.INFO: neon service started
[2025-04-12 12:22:02] Production.INFO: ==2333== Releasing lock...
[2025-04-12 12:22:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 12:22:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 07:22:02] Production.INFO: ==2335== Lock acquired, processing the job...
[2025-04-12 07:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 07:22:03] Production.INFO: ==2335== Releasing lock...
[2025-04-12 07:22:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 07:22:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 11:22:03] Production.INFO: ==2337== Lock acquired, processing the job...
[2025-04-12 11:22:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 11:22:03] Production.INFO: ==2337== Releasing lock...
[2025-04-12 11:22:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 11:22:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 07:22:04] Production.INFO: ==2340== Lock acquired, processing the job...
[2025-04-12 07:22:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 07:22:04] Production.INFO: ==2348== Lock acquired, processing the job...
[2025-04-12 07:22:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 07:22:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 07:22:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 07:22:04] Production.INFO: ==2342== Lock acquired, processing the job...
[2025-04-12 07:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 07:22:04] Production.INFO: ==2346== Lock acquired, processing the job...
[2025-04-12 07:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 07:22:04] Production.INFO: ==2344== Lock acquired, processing the job...
[2025-04-12 07:22:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 07:22:04] Production.INFO: ==2350== Lock acquired, processing the job...
[2025-04-12 07:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 07:22:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 07:22:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 07:22:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 07:22:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 07:22:04] Production.INFO: Account Balance Start.
[2025-04-12 07:22:04] Production.INFO: CreateAllLog Start
[2025-04-12 07:22:04] Production.INFO: 117
[2025-04-12 07:22:04] Production.INFO: Date 2025-04-08
[2025-04-12 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-12 07:22:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:22:04] Production.INFO: Date 2025-04-09
[2025-04-12 07:22:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:22:04] Production.INFO: count ==12
[2025-04-12 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-12 07:22:04] Production.INFO: count ==23
[2025-04-12 07:22:04] Production.ERROR: done
[2025-04-12 07:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 07:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14889998') start
[2025-04-12 07:22:04] Production.INFO: Date 2025-04-10
[2025-04-12 07:22:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:22:04] Production.INFO: Date 2025-04-11
[2025-04-12 07:22:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:22:05] Production.ERROR: PBX CALL prc_importPBXExtension('14889998') end
[2025-04-12 07:22:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 07:22:05] Production.INFO: 1
[2025-04-12 07:22:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 07:22:05] Production.INFO: Date 2025-04-12
[2025-04-12 07:22:05] Production.INFO: Reseller ==> 0
[2025-04-12 07:22:05] Production.ERROR: done
[2025-04-12 07:22:05] Production.INFO: ==2342== Releasing lock...
[2025-04-12 07:22:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 07:22:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 07:22:05] Production.INFO: ==2350== Releasing lock...
[2025-04-12 07:22:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 07:22:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 07:22:05] Production.INFO: Total Charge 0
[2025-04-12 07:22:05] Production.INFO: CreateAllLog End
[2025-04-12 07:22:05] Production.INFO: Account Balance End.
[2025-04-12 07:22:05] Production.ERROR: CronJobId end 12
[2025-04-12 07:22:05] Production.INFO: ==2346== Releasing lock...
[2025-04-12 07:22:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 07:22:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 07:22:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 04:22:06
[end_date_ymd] => 2025-04-12 07:22:06
[RateCDR] => 1
)
[2025-04-12 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-12 04:22:06' and `end` < '2025-04-12 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-12 07:22:14] Production.ERROR: CronJobId end10
[2025-04-12 07:22:14] Production.INFO: ==2344== Releasing lock...
[2025-04-12 07:22:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 07:22:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 07:22:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 07:22:16] Production.INFO: ============== Balance Warning START===========
[2025-04-12 07:22:16] Production.INFO: ============== Balance Warning END===========
[2025-04-12 07:22:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 07:22:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 07:22:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 07:22:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 07:22:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 07:22:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 07:22:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 07:22:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 07:22:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 07:22:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 07:22:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 07:22:16] Production.INFO: call_cost start
[2025-04-12 07:22:16] Production.INFO: call_cost end
[2025-04-12 07:22:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 07:22:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 07:22:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 07:22:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 07:22:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 07:22:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 07:22:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 07:22:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 07:22:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 07:22:17] Production.INFO: ==2340== Releasing lock...
[2025-04-12 07:22:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 07:22:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 07:22:22] Production.INFO: count ==117
[2025-04-12 07:22:22] Production.ERROR: pbx CDR StartTime 2025-04-12 04:22:06 - End Time 2025-04-12 07:22:06
[2025-04-12 07:22:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 07:22:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890000', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:22:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890000', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:22:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890000', 'tblTempVendorCDR_20' ) start
[2025-04-12 07:22:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890000', 'tblTempVendorCDR_20' ) end
[2025-04-12 07:22:22] Production.INFO: ProcessCDR(1,14890000,1,1,2)
[2025-04-12 07:22:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890000,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:22:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890000,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:22:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890000,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:22:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890000,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:22:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890000', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:22:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890000', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:22:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 07:22:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 07:22:26] Production.INFO: ==2348== Releasing lock...
[2025-04-12 07:22:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 07:22:26] Production.INFO: 29 MB #Memory Used#
[2025-04-12 12:23:01] Production.INFO: ==2409== Lock acquired, processing the job...
[2025-04-12 12:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 12:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 12:23:01] Production.INFO: neon service started
[2025-04-12 12:23:01] Production.INFO: neon service started
[2025-04-12 12:23:01] Production.INFO: ==2409== Releasing lock...
[2025-04-12 12:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 12:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 07:23:02] Production.INFO: ==2411== Lock acquired, processing the job...
[2025-04-12 07:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 11:23:02] Production.INFO: ==2413== Lock acquired, processing the job...
[2025-04-12 11:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 11:23:02] Production.INFO: ==2413== Releasing lock...
[2025-04-12 11:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 11:23:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 07:23:03] Production.INFO: ==2411== Releasing lock...
[2025-04-12 07:23:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 07:23:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 07:23:03] Production.INFO: ==2418== Lock acquired, processing the job...
[2025-04-12 07:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 07:23:03] Production.INFO: ==2418== Releasing lock...
[2025-04-12 07:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 07:23:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 07:23:04] Production.INFO: ==2416== Lock acquired, processing the job...
[2025-04-12 07:23:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 07:23:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 07:23:04] Production.INFO: ==2420== Lock acquired, processing the job...
[2025-04-12 07:23:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 07:23:04] Production.INFO: ==2426== Lock acquired, processing the job...
[2025-04-12 07:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 07:23:04] Production.INFO: ==2422== Lock acquired, processing the job...
[2025-04-12 07:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 07:23:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 07:23:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 07:23:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 07:23:04] Production.INFO: Account Balance Start.
[2025-04-12 07:23:04] Production.INFO: CreateAllLog Start
[2025-04-12 07:23:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 07:23:04] Production.INFO: 117
[2025-04-12 07:23:04] Production.INFO: Date 2025-04-08
[2025-04-12 07:23:04] Production.INFO: ==2424== Lock acquired, processing the job...
[2025-04-12 07:23:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 07:23:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:23:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 07:23:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 07:23:04] Production.INFO: count ==12
[2025-04-12 07:23:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 07:23:04] Production.INFO: Date 2025-04-09
[2025-04-12 07:23:04] Production.INFO: count ==23
[2025-04-12 07:23:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890004') start
[2025-04-12 07:23:04] Production.INFO: Date 2025-04-10
[2025-04-12 07:23:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:23:04] Production.INFO: Date 2025-04-11
[2025-04-12 07:23:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:23:04] Production.INFO: Date 2025-04-12
[2025-04-12 07:23:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:23:04] Production.INFO: Total Charge 0
[2025-04-12 07:23:04] Production.INFO: CreateAllLog End
[2025-04-12 07:23:05] Production.ERROR: PBX CALL prc_importPBXExtension('14890004') end
[2025-04-12 07:23:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 07:23:05] Production.INFO: 1
[2025-04-12 07:23:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 07:23:05] Production.INFO: ==2426== Releasing lock...
[2025-04-12 07:23:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 07:23:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 07:23:05] Production.ERROR: done
[2025-04-12 07:23:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 07:23:05] Production.ERROR: done
[2025-04-12 07:23:05] Production.INFO: Account Balance End.
[2025-04-12 07:23:05] Production.ERROR: CronJobId end 12
[2025-04-12 07:23:05] Production.INFO: ==2422== Releasing lock...
[2025-04-12 07:23:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 07:23:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 07:23:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 04:23:06
[end_date_ymd] => 2025-04-12 07:23:06
[RateCDR] => 1
)
[2025-04-12 07: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-12 04:23:06' and `end` < '2025-04-12 07: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-12 07:23:13] Production.ERROR: CronJobId end10
[2025-04-12 07:23:13] Production.INFO: ==2420== Releasing lock...
[2025-04-12 07:23:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 07:23:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 07:23:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 07:23:16] Production.INFO: ============== Balance Warning START===========
[2025-04-12 07:23:17] Production.INFO: ============== Balance Warning END===========
[2025-04-12 07:23:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 07:23:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 07:23:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 07:23:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 07:23:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 07:23:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 07:23:17] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 07:23:17] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 07:23:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 07:23:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 07:23:17] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 07:23:17] Production.INFO: call_cost start
[2025-04-12 07:23:17] Production.INFO: call_cost end
[2025-04-12 07:23:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 07:23:18] Production.INFO: ============== Report Schedule START===========
[2025-04-12 07:23:18] Production.INFO: ============== Report Schedule END===========
[2025-04-12 07:23:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 07:23:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 07:23:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 07:23:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 07:23:18] Production.INFO: ============== Deal alert START===========
[2025-04-12 07:23:18] Production.INFO: ============== Deal alert END===========
[2025-04-12 07:23:18] Production.INFO: ==2416== Releasing lock...
[2025-04-12 07:23:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 07:23:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 07:23:19] Production.INFO: count ==117
[2025-04-12 07:23:19] Production.ERROR: pbx CDR StartTime 2025-04-12 04:23:06 - End Time 2025-04-12 07:23:06
[2025-04-12 07:23:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 07:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890005', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890005', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890005', 'tblTempVendorCDR_20' ) start
[2025-04-12 07:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890005', 'tblTempVendorCDR_20' ) end
[2025-04-12 07:23:19] Production.INFO: ProcessCDR(1,14890005,1,1,2)
[2025-04-12 07:23:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890005,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:23:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890005,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:23:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890005,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:23:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890005,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:23:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890005', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:23:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890005', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:23:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 07:23:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 07:23:23] Production.INFO: ==2424== Releasing lock...
[2025-04-12 07:23:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 07:23:23] Production.INFO: 29 MB #Memory Used#
[2025-04-12 12:24:01] Production.INFO: ==2480== Lock acquired, processing the job...
[2025-04-12 12:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 12:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 12:24:01] Production.INFO: neon service started
[2025-04-12 12:24:01] Production.INFO: neon service started
[2025-04-12 12:24:01] Production.INFO: ==2480== Releasing lock...
[2025-04-12 12:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 12:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 07:24:01] Production.INFO: ==2482== Lock acquired, processing the job...
[2025-04-12 07:24:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 07:24:02] Production.INFO: ==2482== Releasing lock...
[2025-04-12 07:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 07:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 11:24:02] Production.INFO: ==2484== Lock acquired, processing the job...
[2025-04-12 11:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 11:24:02] Production.INFO: ==2484== Releasing lock...
[2025-04-12 11:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 11:24:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 07:24:03] Production.INFO: ==2493== Lock acquired, processing the job...
[2025-04-12 07:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 07:24:03] Production.INFO: ==2495== Lock acquired, processing the job...
[2025-04-12 07:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 07:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 07:24:03] Production.INFO: Account Balance Start.
[2025-04-12 07:24:03] Production.INFO: CreateAllLog Start
[2025-04-12 07:24:03] Production.INFO: 117
[2025-04-12 07:24:03] Production.INFO: Date 2025-04-08
[2025-04-12 07:24:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:24:03] Production.INFO: ==2487== Lock acquired, processing the job...
[2025-04-12 07:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 07:24:03] Production.INFO: Date 2025-04-09
[2025-04-12 07:24:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:24:03] Production.INFO: Date 2025-04-10
[2025-04-12 07:24:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:24:03] Production.INFO: ==2489== Lock acquired, processing the job...
[2025-04-12 07:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 07:24:03] Production.INFO: Date 2025-04-11
[2025-04-12 07:24:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:24:03] Production.INFO: ==2491== Lock acquired, processing the job...
[2025-04-12 07:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 07:24:03] Production.ERROR: done
[2025-04-12 07:24:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 07:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 07:24:03] Production.INFO: Date 2025-04-12
[2025-04-12 07:24:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:24:03] Production.INFO: Total Charge 0
[2025-04-12 07:24:03] Production.INFO: CreateAllLog End
[2025-04-12 07:24:03] Production.INFO: ==2497== Lock acquired, processing the job...
[2025-04-12 07:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 07:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 07:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 07:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 07:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 07:24:04] Production.ERROR: done
[2025-04-12 07:24:04] Production.INFO: ==2489== Releasing lock...
[2025-04-12 07:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 07:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 07:24:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 07:24:04] Production.INFO: Account Balance End.
[2025-04-12 07:24:04] Production.ERROR: CronJobId end 12
[2025-04-12 07:24:04] Production.INFO: ==2493== Releasing lock...
[2025-04-12 07:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 07:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 07:24:04] Production.INFO: count ==12
[2025-04-12 07:24:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 07:24:04] Production.INFO: count ==23
[2025-04-12 07:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890009') start
[2025-04-12 07:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890009') end
[2025-04-12 07:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 07:24:04] Production.INFO: 1
[2025-04-12 07:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 07:24:04] Production.INFO: ==2497== Releasing lock...
[2025-04-12 07:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 07:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 07:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 04:24:05
[end_date_ymd] => 2025-04-12 07:24:05
[RateCDR] => 1
)
[2025-04-12 07:24:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 04:24:05' and `end` < '2025-04-12 07:24:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 07:24:14] Production.ERROR: CronJobId end10
[2025-04-12 07:24:14] Production.INFO: ==2491== Releasing lock...
[2025-04-12 07:24:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 07:24:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 07:24:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 07:24:16] Production.INFO: ============== Balance Warning START===========
[2025-04-12 07:24:16] Production.INFO: ============== Balance Warning END===========
[2025-04-12 07:24:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 07:24:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 07:24:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 07:24:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 07:24:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 07:24:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 07:24:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 07:24:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 07:24:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 07:24:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 07:24:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 07:24:17] Production.INFO: call_cost start
[2025-04-12 07:24:17] Production.INFO: call_cost end
[2025-04-12 07:24:18] Production.INFO: count ==115
[2025-04-12 07:24:18] Production.ERROR: pbx CDR StartTime 2025-04-12 04:24:05 - End Time 2025-04-12 07:24:05
[2025-04-12 07:24:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 07:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890010', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890010', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890010', 'tblTempVendorCDR_20' ) start
[2025-04-12 07:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890010', 'tblTempVendorCDR_20' ) end
[2025-04-12 07:24:18] Production.INFO: ProcessCDR(1,14890010,1,1,2)
[2025-04-12 07:24:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890010,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:24:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 07:24:18] Production.INFO: ============== Report Schedule START===========
[2025-04-12 07:24:18] Production.INFO: ============== Report Schedule END===========
[2025-04-12 07:24:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 07:24:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 07:24:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 07:24:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 07:24:18] Production.INFO: ============== Deal alert START===========
[2025-04-12 07:24:18] Production.INFO: ============== Deal alert END===========
[2025-04-12 07:24:18] Production.INFO: ==2487== Releasing lock...
[2025-04-12 07:24:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 07:24:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 07:24:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890010,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:24:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890010,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:24:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890010,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890010', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890010', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:24:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 07:24:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 07:24:22] Production.INFO: ==2495== Releasing lock...
[2025-04-12 07:24:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 07:24:22] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 12:25:02] Production.INFO: ==2560== Lock acquired, processing the job...
[2025-04-12 12:25:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 12:25:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 12:25:02] Production.INFO: neon service started
[2025-04-12 12:25:02] Production.INFO: neon service started
[2025-04-12 12:25:02] Production.INFO: ==2560== Releasing lock...
[2025-04-12 12:25:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 12:25:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 07:25:02] Production.INFO: ==2562== Lock acquired, processing the job...
[2025-04-12 07:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 11:25:02] Production.INFO: ==2564== Lock acquired, processing the job...
[2025-04-12 11:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 11:25:02] Production.INFO: ==2564== Releasing lock...
[2025-04-12 11:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 11:25:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 07:25:02] Production.INFO: ==2562== Releasing lock...
[2025-04-12 07:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 07:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 07:25:03] Production.INFO: ==2566== Lock acquired, processing the job...
[2025-04-12 07:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 07:25:03] Production.INFO: ==2568== Lock acquired, processing the job...
[2025-04-12 07:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 07:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 07:25:03] Production.INFO: ==2570== Lock acquired, processing the job...
[2025-04-12 07:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 07:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 07:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 07:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 07:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 07:25:04] Production.INFO: ==2572== Lock acquired, processing the job...
[2025-04-12 07:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 07:25:04] Production.INFO: ==2575== Lock acquired, processing the job...
[2025-04-12 07:25:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 07:25:04] Production.INFO: ==2568== Releasing lock...
[2025-04-12 07:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 07:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 07:25:04] Production.INFO: ==2577== Lock acquired, processing the job...
[2025-04-12 07:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 07:25:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 07:25:04] Production.INFO: Account Balance Start.
[2025-04-12 07:25:04] Production.INFO: CreateAllLog Start
[2025-04-12 07:25:04] Production.INFO: 117
[2025-04-12 07:25:04] Production.INFO: Date 2025-04-08
[2025-04-12 07:25:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:25:04] Production.INFO: Date 2025-04-09
[2025-04-12 07:25:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:25:04] Production.INFO: Date 2025-04-10
[2025-04-12 07:25:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:25:04] Production.INFO: Date 2025-04-11
[2025-04-12 07:25:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:25:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 07:25:04] Production.ERROR: done
[2025-04-12 07:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 07:25:04] Production.INFO: Date 2025-04-12
[2025-04-12 07:25:04] Production.INFO: count ==12
[2025-04-12 07:25:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:25:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 07:25:04] Production.INFO: Total Charge 0
[2025-04-12 07:25:04] Production.INFO: CreateAllLog End
[2025-04-12 07:25:04] Production.INFO: count ==23
[2025-04-12 07:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890014') start
[2025-04-12 07:25:04] Production.ERROR: done
[2025-04-12 07:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890014') end
[2025-04-12 07:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 07:25:04] Production.INFO: 1
[2025-04-12 07:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 07:25:04] Production.INFO: Account Balance End.
[2025-04-12 07:25:04] Production.INFO: ==2577== Releasing lock...
[2025-04-12 07:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 07:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 07:25:04] Production.ERROR: CronJobId end 12
[2025-04-12 07:25:04] Production.INFO: ==2572== Releasing lock...
[2025-04-12 07:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 07:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 07:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 04:25:05
[end_date_ymd] => 2025-04-12 07:25:05
[RateCDR] => 1
)
[2025-04-12 07:25:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 04:25:05' and `end` < '2025-04-12 07:25:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 07:25:11] Production.ERROR: CronJobId end10
[2025-04-12 07:25:11] Production.INFO: ==2570== Releasing lock...
[2025-04-12 07:25:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 07:25:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 07:25:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 07:25:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 07:25:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 07:25:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 07:25:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 07:25:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 07:25:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 07:25:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 07:25:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 07:25:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 07:25:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 07:25:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 07:25:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 07:25:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 07:25:14] Production.INFO: call_cost start
[2025-04-12 07:25:14] Production.INFO: call_cost end
[2025-04-12 07:25:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 07:25:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 07:25:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 07:25:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 07:25:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 07:25:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 07:25:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 07:25:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 07:25:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 07:25:15] Production.INFO: ==2566== Releasing lock...
[2025-04-12 07:25:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 07:25:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 07:25:18] Production.INFO: count ==114
[2025-04-12 07:25:18] Production.ERROR: pbx CDR StartTime 2025-04-12 04:25:05 - End Time 2025-04-12 07:25:05
[2025-04-12 07:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 07:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890015', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890015', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890015', 'tblTempVendorCDR_20' ) start
[2025-04-12 07:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890015', 'tblTempVendorCDR_20' ) end
[2025-04-12 07:25:18] Production.INFO: ProcessCDR(1,14890015,1,1,2)
[2025-04-12 07:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890015,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:25:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890015,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:25:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890015,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:25:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890015,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890015', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890015', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:25:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 07:25:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 07:25:21] Production.INFO: ==2575== Releasing lock...
[2025-04-12 07:25:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 07:25:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 12:26:01] Production.INFO: ==2636== Lock acquired, processing the job...
[2025-04-12 12:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 12:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 12:26:01] Production.INFO: neon service started
[2025-04-12 12:26:01] Production.INFO: neon service started
[2025-04-12 12:26:01] Production.INFO: ==2636== Releasing lock...
[2025-04-12 12:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 12:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 07:26:02] Production.INFO: ==2638== Lock acquired, processing the job...
[2025-04-12 07:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 11:26:02] Production.INFO: ==2640== Lock acquired, processing the job...
[2025-04-12 11:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 11:26:02] Production.INFO: ==2640== Releasing lock...
[2025-04-12 11:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 11:26:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 07:26:02] Production.INFO: ==2638== Releasing lock...
[2025-04-12 07:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 07:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 07:26:03] Production.INFO: ==2647== Lock acquired, processing the job...
[2025-04-12 07:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 07:26:03] Production.INFO: ==2649== Lock acquired, processing the job...
[2025-04-12 07:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 07:26:03] Production.INFO: Account Balance Start.
[2025-04-12 07:26:03] Production.INFO: CreateAllLog Start
[2025-04-12 07:26:03] Production.INFO: 117
[2025-04-12 07:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 07:26:03] Production.INFO: Date 2025-04-08
[2025-04-12 07:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 07:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 07:26:03] Production.INFO: ==2643== Lock acquired, processing the job...
[2025-04-12 07:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 07:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 07:26:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:26:03] Production.INFO: ==2645== Lock acquired, processing the job...
[2025-04-12 07:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 07:26:03] Production.INFO: Date 2025-04-09
[2025-04-12 07:26:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 07:26:03] Production.INFO: Date 2025-04-10
[2025-04-12 07:26:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:26:03] Production.INFO: ==2651== Lock acquired, processing the job...
[2025-04-12 07:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 07:26:03] Production.INFO: Date 2025-04-11
[2025-04-12 07:26:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:26:03] Production.INFO: ==2653== Lock acquired, processing the job...
[2025-04-12 07:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 07:26:03] Production.INFO: Date 2025-04-12
[2025-04-12 07:26:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 07:26:04] Production.INFO: Total Charge 0
[2025-04-12 07:26:04] Production.INFO: CreateAllLog End
[2025-04-12 07:26:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 07:26:04] Production.INFO: count ==12
[2025-04-12 07:26:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 07:26:04] Production.INFO: count ==23
[2025-04-12 07:26:04] Production.INFO: ==2645== Releasing lock...
[2025-04-12 07:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 07:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 07:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890019') start
[2025-04-12 07:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890019') end
[2025-04-12 07:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 07:26:04] Production.INFO: 1
[2025-04-12 07:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 07:26:04] Production.ERROR: done
[2025-04-12 07:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 07:26:04] Production.INFO: Account Balance End.
[2025-04-12 07:26:04] Production.INFO: ==2653== Releasing lock...
[2025-04-12 07:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 07:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 07:26:04] Production.ERROR: CronJobId end 12
[2025-04-12 07:26:04] Production.INFO: ==2649== Releasing lock...
[2025-04-12 07:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 07:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 07:26:04] Production.ERROR: done
[2025-04-12 07:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 04:26:05
[end_date_ymd] => 2025-04-12 07:26:05
[RateCDR] => 1
)
[2025-04-12 07:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 04:26:05' and `end` < '2025-04-12 07:26:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 07:26:11] Production.ERROR: CronJobId end10
[2025-04-12 07:26:11] Production.INFO: ==2647== Releasing lock...
[2025-04-12 07:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 07:26:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 07:26:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 07:26:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 07:26:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 07:26:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 07:26:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 07:26:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 07:26:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 07:26:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 07:26:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 07:26:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 07:26:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 07:26:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 07:26:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 07:26:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 07:26:14] Production.INFO: call_cost start
[2025-04-12 07:26:14] Production.INFO: call_cost end
[2025-04-12 07:26:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 07:26:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 07:26:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 07:26:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 07:26:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 07:26:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 07:26:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 07:26:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 07:26:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 07:26:15] Production.INFO: ==2643== Releasing lock...
[2025-04-12 07:26:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 07:26:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 07:26:18] Production.INFO: count ==115
[2025-04-12 07:26:18] Production.ERROR: pbx CDR StartTime 2025-04-12 04:26:05 - End Time 2025-04-12 07:26:05
[2025-04-12 07:26:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 07:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890020', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890020', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890020', 'tblTempVendorCDR_20' ) start
[2025-04-12 07:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890020', 'tblTempVendorCDR_20' ) end
[2025-04-12 07:26:18] Production.INFO: ProcessCDR(1,14890020,1,1,2)
[2025-04-12 07:26:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890020,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:26:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890020,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:26:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890020,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:26:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890020,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:26:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890020', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:26:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890020', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:26:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 07:26:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 07:26:23] Production.INFO: ==2651== Releasing lock...
[2025-04-12 07:26:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 07:26:23] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 12:27:01] Production.INFO: ==2713== Lock acquired, processing the job...
[2025-04-12 12:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 12:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 12:27:01] Production.INFO: neon service started
[2025-04-12 12:27:02] Production.INFO: neon service started
[2025-04-12 12:27:02] Production.INFO: ==2713== Releasing lock...
[2025-04-12 12:27:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 12:27:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 07:27:02] Production.INFO: ==2715== Lock acquired, processing the job...
[2025-04-12 07:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 11:27:02] Production.INFO: ==2717== Lock acquired, processing the job...
[2025-04-12 11:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 07:27:02] Production.INFO: ==2715== Releasing lock...
[2025-04-12 07:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 07:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 11:27:02] Production.INFO: ==2717== Releasing lock...
[2025-04-12 11:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 11:27:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 07:27:03] Production.INFO: ==2726== Lock acquired, processing the job...
[2025-04-12 07:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 07:27:03] Production.INFO: Account Balance Start.
[2025-04-12 07:27:03] Production.INFO: CreateAllLog Start
[2025-04-12 07:27:03] Production.INFO: 117
[2025-04-12 07:27:03] Production.INFO: ==2730== Lock acquired, processing the job...
[2025-04-12 07:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 07:27:03] Production.INFO: ==2722== Lock acquired, processing the job...
[2025-04-12 07:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 07:27:03] Production.INFO: ==2720== Lock acquired, processing the job...
[2025-04-12 07:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 07:27:03] Production.INFO: Date 2025-04-08
[2025-04-12 07:27:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 07:27:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:27:03] Production.INFO: ==2724== Lock acquired, processing the job...
[2025-04-12 07:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 07:27:03] Production.INFO: count ==12
[2025-04-12 07:27:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 07:27:03] Production.INFO: count ==23
[2025-04-12 07:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890022') start
[2025-04-12 07:27:03] Production.INFO: ==2728== Lock acquired, processing the job...
[2025-04-12 07:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 07:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 07:27:03] Production.INFO: Date 2025-04-09
[2025-04-12 07:27:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 07:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 07:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 07:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 07:27:04] Production.INFO: Date 2025-04-10
[2025-04-12 07:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890022') end
[2025-04-12 07:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 07:27:04] Production.INFO: 1
[2025-04-12 07:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 07:27:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:27:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 07:27:04] Production.INFO: ==2730== Releasing lock...
[2025-04-12 07:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 07:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 07:27:04] Production.INFO: Date 2025-04-11
[2025-04-12 07:27:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:27:04] Production.INFO: ==2722== Releasing lock...
[2025-04-12 07:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 07:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 07:27:04] Production.INFO: Date 2025-04-12
[2025-04-12 07:27:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:27:04] Production.ERROR: done
[2025-04-12 07:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 07:27:04] Production.INFO: Total Charge 0
[2025-04-12 07:27:04] Production.INFO: CreateAllLog End
[2025-04-12 07:27:04] Production.ERROR: done
[2025-04-12 07:27:04] Production.INFO: Account Balance End.
[2025-04-12 07:27:04] Production.ERROR: CronJobId end 12
[2025-04-12 07:27:04] Production.INFO: ==2726== Releasing lock...
[2025-04-12 07:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 07:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 07:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 04:27:05
[end_date_ymd] => 2025-04-12 07:27:05
[RateCDR] => 1
)
[2025-04-12 07:27:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 04:27:05' and `end` < '2025-04-12 07:27:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 07:27:11] Production.ERROR: CronJobId end10
[2025-04-12 07:27:11] Production.INFO: ==2724== Releasing lock...
[2025-04-12 07:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 07:27:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 07:27:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 07:27:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 07:27:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 07:27:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 07:27:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 07:27:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 07:27:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 07:27:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 07:27:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 07:27:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 07:27:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 07:27:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 07:27:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 07:27:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 07:27:15] Production.INFO: call_cost start
[2025-04-12 07:27:15] Production.INFO: call_cost end
[2025-04-12 07:27:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 07:27:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 07:27:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 07:27:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 07:27:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 07:27:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 07:27:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 07:27:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 07:27:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 07:27:16] Production.INFO: ==2720== Releasing lock...
[2025-04-12 07:27:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 07:27:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 07:27:18] Production.INFO: count ==115
[2025-04-12 07:27:18] Production.ERROR: pbx CDR StartTime 2025-04-12 04:27:05 - End Time 2025-04-12 07:27:05
[2025-04-12 07:27:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 07:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890025', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890025', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890025', 'tblTempVendorCDR_20' ) start
[2025-04-12 07:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890025', 'tblTempVendorCDR_20' ) end
[2025-04-12 07:27:18] Production.INFO: ProcessCDR(1,14890025,1,1,2)
[2025-04-12 07:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890025,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:27:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890025,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:27:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890025,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:27:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890025,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890025', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890025', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:27:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 07:27:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 07:27:21] Production.INFO: ==2728== Releasing lock...
[2025-04-12 07:27:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 07:27:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 12:28:01] Production.INFO: ==2788== Lock acquired, processing the job...
[2025-04-12 12:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 12:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 12:28:01] Production.INFO: neon service started
[2025-04-12 12:28:01] Production.INFO: neon service started
[2025-04-12 12:28:01] Production.INFO: ==2788== Releasing lock...
[2025-04-12 12:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 12:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 07:28:01] Production.INFO: ==2790== Lock acquired, processing the job...
[2025-04-12 07:28:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 07:28:02] Production.INFO: ==2790== Releasing lock...
[2025-04-12 07:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 07:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 11:28:02] Production.INFO: ==2792== Lock acquired, processing the job...
[2025-04-12 11:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 11:28:02] Production.INFO: ==2792== Releasing lock...
[2025-04-12 11:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 11:28:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 07:28:03] Production.INFO: ==2800== Lock acquired, processing the job...
[2025-04-12 07:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 07:28:03] Production.INFO: ==2805== Lock acquired, processing the job...
[2025-04-12 07:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 07:28:03] Production.INFO: ==2796== Lock acquired, processing the job...
[2025-04-12 07:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 07:28:03] Production.INFO: Account Balance Start.
[2025-04-12 07:28:03] Production.INFO: CreateAllLog Start
[2025-04-12 07:28:03] Production.INFO: 117
[2025-04-12 07:28:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 07:28:03] Production.INFO: Date 2025-04-08
[2025-04-12 07:28:03] Production.INFO: ==2798== Lock acquired, processing the job...
[2025-04-12 07:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 07:28:03] Production.INFO: ==2794== Lock acquired, processing the job...
[2025-04-12 07:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 07:28:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:28:03] Production.INFO: count ==12
[2025-04-12 07:28:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 07:28:03] Production.INFO: count ==23
[2025-04-12 07:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890027') start
[2025-04-12 07:28:03] Production.INFO: ==2803== Lock acquired, processing the job...
[2025-04-12 07:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 07:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 07:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 07:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 07:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 07:28:03] Production.INFO: Date 2025-04-09
[2025-04-12 07:28:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 07:28:03] Production.INFO: Date 2025-04-10
[2025-04-12 07:28:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 07:28:03] Production.INFO: Date 2025-04-11
[2025-04-12 07:28:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890027') end
[2025-04-12 07:28:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 07:28:03] Production.INFO: 1
[2025-04-12 07:28:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 07:28:03] Production.INFO: Date 2025-04-12
[2025-04-12 07:28:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:28:03] Production.INFO: Total Charge 0
[2025-04-12 07:28:03] Production.INFO: CreateAllLog End
[2025-04-12 07:28:03] Production.INFO: ==2796== Releasing lock...
[2025-04-12 07:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 07:28:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 07:28:03] Production.INFO: ==2805== Releasing lock...
[2025-04-12 07:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 07:28:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 07:28:03] Production.INFO: Account Balance End.
[2025-04-12 07:28:03] Production.ERROR: CronJobId end 12
[2025-04-12 07:28:03] Production.INFO: ==2800== Releasing lock...
[2025-04-12 07:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 07:28:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 07:28:03] Production.ERROR: done
[2025-04-12 07:28:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 07:28:04] Production.ERROR: done
[2025-04-12 07:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 04:28:05
[end_date_ymd] => 2025-04-12 07:28:05
[RateCDR] => 1
)
[2025-04-12 07:28:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 04:28:05' and `end` < '2025-04-12 07:28:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 07:28:12] Production.ERROR: CronJobId end10
[2025-04-12 07:28:12] Production.INFO: ==2798== Releasing lock...
[2025-04-12 07:28:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 07:28:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 07:28:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 07:28:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 07:28:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 07:28:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 07:28:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 07:28:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 07:28:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 07:28:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 07:28:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 07:28:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 07:28:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 07:28:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 07:28:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 07:28:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 07:28:14] Production.INFO: call_cost start
[2025-04-12 07:28:14] Production.INFO: call_cost end
[2025-04-12 07:28:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 07:28:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 07:28:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 07:28:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 07:28:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 07:28:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 07:28:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 07:28:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 07:28:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 07:28:15] Production.INFO: ==2794== Releasing lock...
[2025-04-12 07:28:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 07:28:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 07:28:17] Production.INFO: count ==116
[2025-04-12 07:28:17] Production.ERROR: pbx CDR StartTime 2025-04-12 04:28:05 - End Time 2025-04-12 07:28:05
[2025-04-12 07:28:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 07:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890030', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890030', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890030', 'tblTempVendorCDR_20' ) start
[2025-04-12 07:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890030', 'tblTempVendorCDR_20' ) end
[2025-04-12 07:28:17] Production.INFO: ProcessCDR(1,14890030,1,1,2)
[2025-04-12 07:28:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890030,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:28:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890030,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:28:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890030,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:28:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890030,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890030', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890030', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:28:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 07:28:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 07:28:22] Production.INFO: ==2803== Releasing lock...
[2025-04-12 07:28:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 07:28:22] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 12:29:01] Production.INFO: ==2858== Lock acquired, processing the job...
[2025-04-12 12:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 12:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 12:29:01] Production.INFO: neon service started
[2025-04-12 12:29:01] Production.INFO: neon service started
[2025-04-12 12:29:01] Production.INFO: ==2858== Releasing lock...
[2025-04-12 12:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 12:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 07:29:02] Production.INFO: ==2860== Lock acquired, processing the job...
[2025-04-12 07:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 11:29:02] Production.INFO: ==2862== Lock acquired, processing the job...
[2025-04-12 11:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 11:29:02] Production.INFO: ==2862== Releasing lock...
[2025-04-12 11:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 11:29:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 07:29:02] Production.INFO: ==2860== Releasing lock...
[2025-04-12 07:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 07:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 07:29:03] Production.INFO: ==2869== Lock acquired, processing the job...
[2025-04-12 07:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 07:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 07:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 07:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 07:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 07:29:03] Production.INFO: ==2871== Lock acquired, processing the job...
[2025-04-12 07:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 07:29:03] Production.INFO: ==2865== Lock acquired, processing the job...
[2025-04-12 07:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 07:29:03] Production.INFO: Account Balance Start.
[2025-04-12 07:29:03] Production.INFO: CreateAllLog Start
[2025-04-12 07:29:03] Production.INFO: 117
[2025-04-12 07:29:03] Production.INFO: Date 2025-04-08
[2025-04-12 07:29:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:29:03] Production.INFO: ==2867== Lock acquired, processing the job...
[2025-04-12 07:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 07:29:03] Production.INFO: Date 2025-04-09
[2025-04-12 07:29:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:29:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 07:29:04] Production.INFO: Date 2025-04-10
[2025-04-12 07:29:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:29:04] Production.INFO: Date 2025-04-11
[2025-04-12 07:29:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:29:04] Production.INFO: ==2875== Lock acquired, processing the job...
[2025-04-12 07:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 07:29:04] Production.INFO: ==2873== Lock acquired, processing the job...
[2025-04-12 07:29:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 07:29:04] Production.INFO: Date 2025-04-12
[2025-04-12 07:29:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:29:04] Production.INFO: Total Charge 0
[2025-04-12 07:29:04] Production.INFO: CreateAllLog End
[2025-04-12 07:29:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 07:29:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 07:29:04] Production.INFO: count ==12
[2025-04-12 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-12 07:29:04] Production.INFO: count ==23
[2025-04-12 07:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890034') start
[2025-04-12 07:29:04] Production.INFO: ==2867== Releasing lock...
[2025-04-12 07:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 07:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 07:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890034') end
[2025-04-12 07:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 07:29:04] Production.INFO: 1
[2025-04-12 07:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 07:29:04] Production.INFO: Account Balance End.
[2025-04-12 07:29:04] Production.INFO: ==2875== Releasing lock...
[2025-04-12 07:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 07:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 07:29:04] Production.ERROR: done
[2025-04-12 07:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 07:29:04] Production.ERROR: CronJobId end 12
[2025-04-12 07:29:04] Production.INFO: ==2871== Releasing lock...
[2025-04-12 07:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 07:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 07:29:04] Production.ERROR: done
[2025-04-12 07:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 04:29:05
[end_date_ymd] => 2025-04-12 07:29:05
[RateCDR] => 1
)
[2025-04-12 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-12 04:29:05' and `end` < '2025-04-12 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-12 07:29:12] Production.ERROR: CronJobId end10
[2025-04-12 07:29:12] Production.INFO: ==2869== Releasing lock...
[2025-04-12 07:29:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 07:29:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 07:29:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 07:29:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 07:29:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 07:29:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 07:29:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 07:29:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 07:29:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 07:29:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 07:29:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 07:29:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 07:29:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 07:29:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 07:29:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 07:29:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 07:29:14] Production.INFO: call_cost start
[2025-04-12 07:29:14] Production.INFO: call_cost end
[2025-04-12 07:29:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 07:29:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 07:29:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 07:29:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 07:29:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 07:29:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 07:29:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 07:29:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 07:29:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 07:29:15] Production.INFO: ==2865== Releasing lock...
[2025-04-12 07:29:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 07:29:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 07:29:18] Production.INFO: count ==116
[2025-04-12 07:29:18] Production.ERROR: pbx CDR StartTime 2025-04-12 04:29:05 - End Time 2025-04-12 07:29:05
[2025-04-12 07:29:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 07:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890035', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890035', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890035', 'tblTempVendorCDR_20' ) start
[2025-04-12 07:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890035', 'tblTempVendorCDR_20' ) end
[2025-04-12 07:29:18] Production.INFO: ProcessCDR(1,14890035,1,1,2)
[2025-04-12 07:29:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890035,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:29:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890035,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:29:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890035,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:29:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890035,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890035', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890035', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:29:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 07:29:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 07:29:22] Production.INFO: ==2873== Releasing lock...
[2025-04-12 07:29:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 07:29:22] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 12:30:01] Production.INFO: ==2932== Lock acquired, processing the job...
[2025-04-12 12:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 12:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 12:30:01] Production.INFO: neon service started
[2025-04-12 12:30:01] Production.INFO: neon service started
[2025-04-12 12:30:01] Production.INFO: ==2932== Releasing lock...
[2025-04-12 12:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 12:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 07:30:01] Production.INFO: ==2934== Lock acquired, processing the job...
[2025-04-12 07:30:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 07:30:02] Production.INFO: ==2934== Releasing lock...
[2025-04-12 07:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 07:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 11:30:02] Production.INFO: ==2936== Lock acquired, processing the job...
[2025-04-12 11:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 11:30:02] Production.INFO: ==2936== Releasing lock...
[2025-04-12 11:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 11:30:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 07:30:03] Production.INFO: ==2939== Lock acquired, processing the job...
[2025-04-12 07:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 07:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 07:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 07:30:03] Production.INFO: ==2939== Releasing lock...
[2025-04-12 07:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 07:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 07:30:03] Production.INFO: ==2943== Lock acquired, processing the job...
[2025-04-12 07:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 07:30:03] Production.INFO: ==2947== Lock acquired, processing the job...
[2025-04-12 07:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 07:30:03] Production.INFO: ==2949== Lock acquired, processing the job...
[2025-04-12 07:30:03] Production.INFO: ==2941== Lock acquired, processing the job...
[2025-04-12 07:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 07:30:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 07:30:03] Production.INFO: ==2945== Lock acquired, processing the job...
[2025-04-12 07:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 07:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 07:30:03] Production.INFO: Account Balance Start.
[2025-04-12 07:30:03] Production.INFO: CreateAllLog Start
[2025-04-12 07:30:03] Production.INFO: 117
[2025-04-12 07:30:03] Production.INFO: Date 2025-04-08
[2025-04-12 07:30:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 07:30:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:30:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 07:30:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 07:30:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 07:30:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 07:30:03] Production.INFO: Date 2025-04-09
[2025-04-12 07:30:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:30:03] Production.INFO: ==2951== Lock acquired, processing the job...
[2025-04-12 07:30:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 07:30:03] Production.INFO: Date 2025-04-10
[2025-04-12 07:30:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:30:03] Production.INFO: ==2953== Lock acquired, processing the job...
[2025-04-12 07:30:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 07:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 07:30:03] Production.INFO: Date 2025-04-11
[2025-04-12 07:30:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:30:03] Production.INFO: Date 2025-04-12
[2025-04-12 07:30:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:30:03] Production.INFO: Total Charge 0
[2025-04-12 07: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-12 07:30:03] Production.INFO: CreateAllLog End
[2025-04-12 07:30:03] Production.INFO: ==2943== Releasing lock...
[2025-04-12 07:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 07:30:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 07:30:03] Production.INFO: count ==12
[2025-04-12 07:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 07:30:04] Production.INFO: count ==23
[2025-04-12 07:30:04] Production.ERROR: done
[2025-04-12 07:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 07:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890039') start
[2025-04-12 07:30:04] Production.ERROR: done
[2025-04-12 07:30:04] Production.ERROR: done
[2025-04-12 07:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890039') end
[2025-04-12 07:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 07:30:04] Production.INFO: 1
[2025-04-12 07:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 07:30:04] Production.INFO: Account Balance End.
[2025-04-12 07:30:04] Production.INFO: ==2953== Releasing lock...
[2025-04-12 07:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 07:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 07:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 07:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14890041', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 07:30:04] Production.ERROR: CronJobId end 12
[2025-04-12 07:30:04] Production.INFO: ==2947== Releasing lock...
[2025-04-12 07:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 07:30:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 07:30:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 04:30:05
[end_date_ymd] => 2025-04-12 07:30:05
[RateCDR] => 1
)
[2025-04-12 07: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-12 04:30:05' and `end` < '2025-04-12 07: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-12 07:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14890041', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 07:30:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 07:30:08] Production.INFO: ProcessCDR(1,14890041,1,1,2)
[2025-04-12 07:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14890041,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:30:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14890041,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:30:08] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 07:30:08] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 07:30:09] Production.INFO: ==2951== Releasing lock...
[2025-04-12 07:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 07:30:09] Production.INFO: 26 MB #Memory Used#
[2025-04-12 07:30:13] Production.ERROR: CronJobId end10
[2025-04-12 07:30:13] Production.INFO: ==2945== Releasing lock...
[2025-04-12 07:30:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 07:30:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 07:30:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 07:30:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 07:30:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 07:30:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 07:30:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 07:30:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 07:30:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 07:30:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 07:30:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 07:30:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 07:30:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 07:30:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 07:30:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 07:30:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 07:30:16] Production.INFO: call_cost start
[2025-04-12 07:30:16] Production.INFO: call_cost end
[2025-04-12 07:30:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 07:30:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 07:30:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 07:30:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 07:30:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 07:30:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 07:30:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 07:30:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 07:30:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 07:30:17] Production.INFO: ==2941== Releasing lock...
[2025-04-12 07:30:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 07:30:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 07:30:18] Production.INFO: count ==115
[2025-04-12 07:30:18] Production.ERROR: pbx CDR StartTime 2025-04-12 04:30:05 - End Time 2025-04-12 07:30:05
[2025-04-12 07:30:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 07:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890040', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890040', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890040', 'tblTempVendorCDR_20' ) start
[2025-04-12 07:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890040', 'tblTempVendorCDR_20' ) end
[2025-04-12 07:30:18] Production.INFO: ProcessCDR(1,14890040,1,1,2)
[2025-04-12 07:30:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890040,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:30:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890040,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:30:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890040,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:30:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890040,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:30:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890040', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:30:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890040', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:30:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 07:30:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 07:30:23] Production.INFO: ==2949== Releasing lock...
[2025-04-12 07:30:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 07:30:23] Production.INFO: 29 MB #Memory Used#
[2025-04-12 12:31:01] Production.INFO: ==3015== Lock acquired, processing the job...
[2025-04-12 12:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 12:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 12:31:01] Production.INFO: neon service started
[2025-04-12 12:31:01] Production.INFO: neon service started
[2025-04-12 12:31:01] Production.INFO: ==3015== Releasing lock...
[2025-04-12 12:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 12:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 07:31:02] Production.INFO: ==3017== Lock acquired, processing the job...
[2025-04-12 07:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 11:31:02] Production.INFO: ==3019== Lock acquired, processing the job...
[2025-04-12 11:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 11:31:02] Production.INFO: ==3019== Releasing lock...
[2025-04-12 11:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 11:31:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 07:31:02] Production.INFO: ==3017== Releasing lock...
[2025-04-12 07:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 07:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 07:31:03] Production.INFO: ==3022== Lock acquired, processing the job...
[2025-04-12 07:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 07:31:03] Production.INFO: ==3032== Lock acquired, processing the job...
[2025-04-12 07:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 07:31:03] Production.INFO: ==3024== Lock acquired, processing the job...
[2025-04-12 07:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 07:31:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 07:31:03] Production.INFO: ==3026== Lock acquired, processing the job...
[2025-04-12 07:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 07:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 07:31:04] Production.INFO: count ==12
[2025-04-12 07:31:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 07:31:04] Production.INFO: count ==23
[2025-04-12 07:31:04] Production.INFO: ==3028== Lock acquired, processing the job...
[2025-04-12 07:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 07:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890042') start
[2025-04-12 07:31:04] Production.INFO: ==3030== Lock acquired, processing the job...
[2025-04-12 07:31:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 07:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890042') end
[2025-04-12 07:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 07:31:04] Production.INFO: 1
[2025-04-12 07:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 07:31:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 07:31:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 07:31:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 07:31:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 07:31:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 07:31:04] Production.INFO: Account Balance Start.
[2025-04-12 07:31:04] Production.INFO: CreateAllLog Start
[2025-04-12 07:31:04] Production.INFO: 117
[2025-04-12 07:31:04] Production.INFO: ==3032== Releasing lock...
[2025-04-12 07:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 07:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 07:31:04] Production.INFO: ==3024== Releasing lock...
[2025-04-12 07:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 07:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 07:31:04] Production.INFO: Date 2025-04-08
[2025-04-12 07:31:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:31:04] Production.INFO: Date 2025-04-09
[2025-04-12 07:31:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:31:04] Production.ERROR: done
[2025-04-12 07:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 07:31:04] Production.INFO: Date 2025-04-10
[2025-04-12 07:31:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:31:04] Production.INFO: Date 2025-04-11
[2025-04-12 07:31:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:31:04] Production.INFO: Date 2025-04-12
[2025-04-12 07:31:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:31:04] Production.INFO: Total Charge 0
[2025-04-12 07:31:04] Production.INFO: CreateAllLog End
[2025-04-12 07:31:04] Production.ERROR: done
[2025-04-12 07:31:04] Production.INFO: Account Balance End.
[2025-04-12 07:31:04] Production.ERROR: CronJobId end 12
[2025-04-12 07:31:04] Production.INFO: ==3028== Releasing lock...
[2025-04-12 07:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 07:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 07:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 04:31:05
[end_date_ymd] => 2025-04-12 07:31:05
[RateCDR] => 1
)
[2025-04-12 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-12 04:31:05' and `end` < '2025-04-12 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-12 07:31:12] Production.ERROR: CronJobId end10
[2025-04-12 07:31:12] Production.INFO: ==3026== Releasing lock...
[2025-04-12 07:31:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 07:31:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 07:31:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 07:31:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 07:31:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 07:31:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 07:31:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 07:31:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 07:31:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 07:31:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 07:31:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 07:31:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 07:31:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 07:31:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 07:31:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 07:31:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 07:31:14] Production.INFO: call_cost start
[2025-04-12 07:31:14] Production.INFO: call_cost end
[2025-04-12 07:31:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 07:31:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 07:31:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 07:31:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 07:31:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 07:31:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 07:31:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 07:31:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 07:31:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 07:31:15] Production.INFO: ==3022== Releasing lock...
[2025-04-12 07:31:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 07:31:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 07:31:18] Production.INFO: count ==115
[2025-04-12 07:31:18] Production.ERROR: pbx CDR StartTime 2025-04-12 04:31:05 - End Time 2025-04-12 07:31:05
[2025-04-12 07:31:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 07:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890046', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890046', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890046', 'tblTempVendorCDR_20' ) start
[2025-04-12 07:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890046', 'tblTempVendorCDR_20' ) end
[2025-04-12 07:31:18] Production.INFO: ProcessCDR(1,14890046,1,1,2)
[2025-04-12 07:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890046,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:31:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890046,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:31:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890046,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:31:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890046,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890046', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890046', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:31:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 07:31:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 07:31:22] Production.INFO: ==3030== Releasing lock...
[2025-04-12 07:31:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 07:31:22] Production.INFO: 29 MB #Memory Used#
[2025-04-12 12:32:02] Production.INFO: ==3090== Lock acquired, processing the job...
[2025-04-12 12:32:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 12:32:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 12:32:02] Production.INFO: neon service started
[2025-04-12 12:32:02] Production.INFO: neon service started
[2025-04-12 12:32:02] Production.INFO: ==3090== Releasing lock...
[2025-04-12 12:32:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 12:32:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 07:32:02] Production.INFO: ==3092== Lock acquired, processing the job...
[2025-04-12 07:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 11:32:02] Production.INFO: ==3094== Lock acquired, processing the job...
[2025-04-12 11:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 11:32:03] Production.INFO: ==3094== Releasing lock...
[2025-04-12 11:32:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 11:32:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 07:32:03] Production.INFO: ==3092== Releasing lock...
[2025-04-12 07:32:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 07:32:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 07:32:03] Production.INFO: ==3101== Lock acquired, processing the job...
[2025-04-12 07:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 07:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 07:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 07:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 07:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 07:32:04] Production.INFO: ==3105== Lock acquired, processing the job...
[2025-04-12 07:32:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 07:32:04] Production.INFO: ==3097== Lock acquired, processing the job...
[2025-04-12 07:32:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 07:32:04] Production.INFO: ==3099== Lock acquired, processing the job...
[2025-04-12 07:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 07:32:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 07:32:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 07:32:04] Production.INFO: ==3103== Lock acquired, processing the job...
[2025-04-12 07:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 07:32:04] Production.INFO: ==3108== Lock acquired, processing the job...
[2025-04-12 07:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 07:32:04] Production.INFO: Account Balance Start.
[2025-04-12 07:32:04] Production.INFO: CreateAllLog Start
[2025-04-12 07:32:04] Production.INFO: 117
[2025-04-12 07:32:04] Production.INFO: Date 2025-04-08
[2025-04-12 07:32:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 07:32:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:32:04] Production.INFO: count ==12
[2025-04-12 07:32:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 07:32:04] Production.INFO: count ==23
[2025-04-12 07:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890050') start
[2025-04-12 07:32:04] Production.INFO: Date 2025-04-09
[2025-04-12 07:32:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:32:04] Production.ERROR: done
[2025-04-12 07:32:04] Production.INFO: ==3099== Releasing lock...
[2025-04-12 07:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 07:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 07:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 07:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890050') end
[2025-04-12 07:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 07:32:04] Production.INFO: 1
[2025-04-12 07:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 07:32:04] Production.INFO: ==3108== Releasing lock...
[2025-04-12 07:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 07:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 07:32:04] Production.ERROR: done
[2025-04-12 07:32:04] Production.INFO: Date 2025-04-10
[2025-04-12 07:32:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:32:04] Production.INFO: Date 2025-04-11
[2025-04-12 07:32:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:32:04] Production.INFO: Date 2025-04-12
[2025-04-12 07:32:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:32:05] Production.INFO: Total Charge 0
[2025-04-12 07:32:05] Production.INFO: CreateAllLog End
[2025-04-12 07:32:05] Production.INFO: Account Balance End.
[2025-04-12 07:32:05] Production.ERROR: CronJobId end 12
[2025-04-12 07:32:05] Production.INFO: ==3103== Releasing lock...
[2025-04-12 07:32:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 07:32:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 07:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 04:32:05
[end_date_ymd] => 2025-04-12 07:32:05
[RateCDR] => 1
)
[2025-04-12 07:32:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 04:32:05' and `end` < '2025-04-12 07:32:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 07:32:12] Production.ERROR: CronJobId end10
[2025-04-12 07:32:12] Production.INFO: ==3101== Releasing lock...
[2025-04-12 07:32:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 07:32:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 07:32:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 07:32:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 07:32:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 07:32:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 07:32:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 07:32:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 07:32:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 07:32:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 07:32:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 07:32:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 07:32:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 07:32:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 07:32:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 07:32:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 07:32:15] Production.INFO: call_cost start
[2025-04-12 07:32:15] Production.INFO: call_cost end
[2025-04-12 07:32:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 07:32:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 07:32:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 07:32:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 07:32:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 07:32:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 07:32:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 07:32:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 07:32:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 07:32:16] Production.INFO: ==3097== Releasing lock...
[2025-04-12 07:32:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 07:32:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 07:32:18] Production.INFO: count ==115
[2025-04-12 07:32:18] Production.ERROR: pbx CDR StartTime 2025-04-12 04:32:05 - End Time 2025-04-12 07:32:05
[2025-04-12 07:32:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 07:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890051', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890051', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890051', 'tblTempVendorCDR_20' ) start
[2025-04-12 07:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890051', 'tblTempVendorCDR_20' ) end
[2025-04-12 07:32:18] Production.INFO: ProcessCDR(1,14890051,1,1,2)
[2025-04-12 07:32:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890051,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:32:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890051,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:32:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890051,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:32:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890051,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890051', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890051', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:32:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 07:32:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 07:32:22] Production.INFO: ==3105== Releasing lock...
[2025-04-12 07:32:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 07:32:22] Production.INFO: 29 MB #Memory Used#
[2025-04-12 12:33:01] Production.INFO: ==3164== Lock acquired, processing the job...
[2025-04-12 12:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 12:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 12:33:01] Production.INFO: neon service started
[2025-04-12 12:33:01] Production.INFO: neon service started
[2025-04-12 12:33:01] Production.INFO: ==3164== Releasing lock...
[2025-04-12 12:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 12:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 07:33:02] Production.INFO: ==3166== Lock acquired, processing the job...
[2025-04-12 07:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 11:33:02] Production.INFO: ==3168== Lock acquired, processing the job...
[2025-04-12 11:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 11:33:02] Production.INFO: ==3168== Releasing lock...
[2025-04-12 11:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 11:33:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 07:33:02] Production.INFO: ==3166== Releasing lock...
[2025-04-12 07:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 07:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 07:33:03] Production.INFO: ==3175== Lock acquired, processing the job...
[2025-04-12 07:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 07:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 07:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 07:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 07:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 07:33:03] Production.INFO: ==3171== Lock acquired, processing the job...
[2025-04-12 07:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 07:33:03] Production.INFO: ==3181== Lock acquired, processing the job...
[2025-04-12 07:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 07:33:03] Production.INFO: ==3173== Lock acquired, processing the job...
[2025-04-12 07:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 07:33:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 07:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 07:33:03] Production.INFO: count ==12
[2025-04-12 07:33:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 07:33:03] Production.INFO: ==3179== Lock acquired, processing the job...
[2025-04-12 07:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 07:33:03] Production.INFO: count ==23
[2025-04-12 07:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890052') start
[2025-04-12 07:33:03] Production.INFO: ==3177== Lock acquired, processing the job...
[2025-04-12 07:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 07:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 07:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890052') end
[2025-04-12 07:33:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 07:33:03] Production.INFO: 1
[2025-04-12 07:33:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 07:33:04] Production.INFO: ==3181== Releasing lock...
[2025-04-12 07:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 07:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 07:33:04] Production.INFO: Account Balance Start.
[2025-04-12 07:33:04] Production.INFO: CreateAllLog Start
[2025-04-12 07:33:04] Production.INFO: 117
[2025-04-12 07:33:04] Production.INFO: Date 2025-04-08
[2025-04-12 07:33:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:33:04] Production.INFO: Date 2025-04-09
[2025-04-12 07:33:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:33:04] Production.ERROR: done
[2025-04-12 07:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 07:33:04] Production.INFO: ==3173== Releasing lock...
[2025-04-12 07:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 07:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 07:33:04] Production.INFO: Date 2025-04-10
[2025-04-12 07:33:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:33:04] Production.INFO: Date 2025-04-11
[2025-04-12 07:33:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:33:04] Production.INFO: Date 2025-04-12
[2025-04-12 07:33:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:33:04] Production.INFO: Total Charge 0
[2025-04-12 07:33:04] Production.ERROR: done
[2025-04-12 07:33:04] Production.INFO: CreateAllLog End
[2025-04-12 07:33:04] Production.INFO: Account Balance End.
[2025-04-12 07:33:04] Production.ERROR: CronJobId end 12
[2025-04-12 07:33:04] Production.INFO: ==3177== Releasing lock...
[2025-04-12 07:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 07:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 07:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 04:33:05
[end_date_ymd] => 2025-04-12 07:33:05
[RateCDR] => 1
)
[2025-04-12 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-12 04:33:05' and `end` < '2025-04-12 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-12 07:33:11] Production.ERROR: CronJobId end10
[2025-04-12 07:33:11] Production.INFO: ==3175== Releasing lock...
[2025-04-12 07:33:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 07:33:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 07:33:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 07:33:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 07:33:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 07:33:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 07:33:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 07:33:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 07:33:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 07:33:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 07:33:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 07:33:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 07:33:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 07:33:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 07:33:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 07:33:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 07:33:14] Production.INFO: call_cost start
[2025-04-12 07:33:14] Production.INFO: call_cost end
[2025-04-12 07:33:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 07:33:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 07:33:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 07:33:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 07:33:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 07:33:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 07:33:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 07:33:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 07:33:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 07:33:15] Production.INFO: ==3171== Releasing lock...
[2025-04-12 07:33:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 07:33:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 07:33:18] Production.INFO: count ==115
[2025-04-12 07:33:18] Production.ERROR: pbx CDR StartTime 2025-04-12 04:33:05 - End Time 2025-04-12 07:33:05
[2025-04-12 07:33:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 07:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890056', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890056', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890056', 'tblTempVendorCDR_20' ) start
[2025-04-12 07:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890056', 'tblTempVendorCDR_20' ) end
[2025-04-12 07:33:18] Production.INFO: ProcessCDR(1,14890056,1,1,2)
[2025-04-12 07:33:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890056,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:33:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890056,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:33:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890056,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:33:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890056,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890056', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890056', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:33:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 07:33:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 07:33:21] Production.INFO: ==3179== Releasing lock...
[2025-04-12 07:33:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 07:33:21] Production.INFO: 29 MB #Memory Used#
[2025-04-12 12:34:02] Production.INFO: ==3235== Lock acquired, processing the job...
[2025-04-12 12:34:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 12:34:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 12:34:02] Production.INFO: neon service started
[2025-04-12 12:34:02] Production.INFO: neon service started
[2025-04-12 12:34:02] Production.INFO: ==3235== Releasing lock...
[2025-04-12 12:34:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 12:34:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 11:34:02] Production.INFO: ==3239== Lock acquired, processing the job...
[2025-04-12 11:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 11:34:02] Production.INFO: ==3239== Releasing lock...
[2025-04-12 11:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 11:34:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 07:34:02] Production.INFO: ==3237== Lock acquired, processing the job...
[2025-04-12 07:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 07:34:02] Production.INFO: ==3237== Releasing lock...
[2025-04-12 07:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 07:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 07:34:03] Production.INFO: ==3242== Lock acquired, processing the job...
[2025-04-12 07:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 07:34:03] Production.INFO: ==3244== Lock acquired, processing the job...
[2025-04-12 07:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 07:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 07:34:03] Production.INFO: ==3244== Releasing lock...
[2025-04-12 07:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 07:34:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 07:34:03] Production.INFO: ==3252== Lock acquired, processing the job...
[2025-04-12 07:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 07:34:04] Production.INFO: ==3246== Lock acquired, processing the job...
[2025-04-12 07:34:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 07:34:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 07:34:04] Production.INFO: count ==12
[2025-04-12 07:34:04] Production.INFO: ==3250== Lock acquired, processing the job...
[2025-04-12 07:34:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 07:34:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 07:34:04] Production.INFO: count ==23
[2025-04-12 07:34:04] Production.INFO: ==3248== Lock acquired, processing the job...
[2025-04-12 07:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 07:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890059') start
[2025-04-12 07:34:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 07:34:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 07:34:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 07:34:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 07:34:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 07:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890059') end
[2025-04-12 07:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 07:34:04] Production.INFO: 1
[2025-04-12 07:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 07:34:04] Production.INFO: ==3252== Releasing lock...
[2025-04-12 07:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 07:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 07:34:04] Production.INFO: Account Balance Start.
[2025-04-12 07:34:04] Production.INFO: CreateAllLog Start
[2025-04-12 07:34:04] Production.INFO: 117
[2025-04-12 07:34:04] Production.INFO: Date 2025-04-08
[2025-04-12 07:34:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:34:04] Production.ERROR: done
[2025-04-12 07:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 07:34:04] Production.INFO: Date 2025-04-09
[2025-04-12 07:34:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:34:04] Production.INFO: Date 2025-04-10
[2025-04-12 07:34:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:34:04] Production.ERROR: done
[2025-04-12 07:34:04] Production.INFO: Date 2025-04-11
[2025-04-12 07:34:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:34:04] Production.INFO: Date 2025-04-12
[2025-04-12 07:34:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:34:04] Production.INFO: Total Charge 0
[2025-04-12 07:34:04] Production.INFO: CreateAllLog End
[2025-04-12 07:34:05] Production.INFO: Account Balance End.
[2025-04-12 07:34:05] Production.ERROR: CronJobId end 12
[2025-04-12 07:34:05] Production.INFO: ==3248== Releasing lock...
[2025-04-12 07:34:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 07:34:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 07:34:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 04:34:06
[end_date_ymd] => 2025-04-12 07:34:06
[RateCDR] => 1
)
[2025-04-12 07: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-12 04:34:06' and `end` < '2025-04-12 07: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-12 07:34:12] Production.ERROR: CronJobId end10
[2025-04-12 07:34:12] Production.INFO: ==3246== Releasing lock...
[2025-04-12 07:34:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 07:34:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 07:34:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 07:34:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 07:34:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 07:34:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 07:34:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 07:34:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 07:34:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 07:34:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 07:34:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 07:34:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 07:34:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 07:34:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 07:34:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 07:34:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 07:34:14] Production.INFO: call_cost start
[2025-04-12 07:34:14] Production.INFO: call_cost end
[2025-04-12 07:34:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 07:34:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 07:34:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 07:34:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 07:34:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 07:34:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 07:34:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 07:34:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 07:34:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 07:34:15] Production.INFO: ==3242== Releasing lock...
[2025-04-12 07:34:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 07:34:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 07:34:18] Production.INFO: count ==116
[2025-04-12 07:34:18] Production.ERROR: pbx CDR StartTime 2025-04-12 04:34:06 - End Time 2025-04-12 07:34:06
[2025-04-12 07:34:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 07:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890061', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890061', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890061', 'tblTempVendorCDR_20' ) start
[2025-04-12 07:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890061', 'tblTempVendorCDR_20' ) end
[2025-04-12 07:34:18] Production.INFO: ProcessCDR(1,14890061,1,1,2)
[2025-04-12 07:34:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890061,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:34:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890061,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:34:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890061,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:34:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890061,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:34:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890061', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:34:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890061', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:34:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 07:34:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 07:34:23] Production.INFO: ==3250== Releasing lock...
[2025-04-12 07:34:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 07:34:23] Production.INFO: 29 MB #Memory Used#
[2025-04-12 12:35:01] Production.INFO: ==3308== Lock acquired, processing the job...
[2025-04-12 12:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 12:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 12:35:01] Production.INFO: neon service started
[2025-04-12 12:35:01] Production.INFO: neon service started
[2025-04-12 12:35:01] Production.INFO: ==3308== Releasing lock...
[2025-04-12 12:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 12:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 07:35:02] Production.INFO: ==3310== Lock acquired, processing the job...
[2025-04-12 07:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 07:35:02] Production.INFO: ==3310== Releasing lock...
[2025-04-12 07:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 07:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 11:35:02] Production.INFO: ==3312== Lock acquired, processing the job...
[2025-04-12 11:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 11:35:02] Production.INFO: ==3312== Releasing lock...
[2025-04-12 11:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 11:35:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 07:35:03] Production.INFO: ==3317== Lock acquired, processing the job...
[2025-04-12 07:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 07:35:03] Production.INFO: ==3325== Lock acquired, processing the job...
[2025-04-12 07:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 07:35:03] Production.INFO: ==3315== Lock acquired, processing the job...
[2025-04-12 07:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 07:35:03] Production.INFO: ==3317== Releasing lock...
[2025-04-12 07:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 07:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 07:35:03] Production.INFO: ==3319== Lock acquired, processing the job...
[2025-04-12 07:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 07:35:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 07:35:03] Production.INFO: count ==12
[2025-04-12 07:35:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 07:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 07:35:03] Production.INFO: count ==23
[2025-04-12 07:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890063') start
[2025-04-12 07:35:03] Production.INFO: ==3321== Lock acquired, processing the job...
[2025-04-12 07:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 07:35:03] Production.INFO: ==3323== Lock acquired, processing the job...
[2025-04-12 07:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 07:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 07:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 07:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 07:35:03] Production.INFO: Account Balance Start.
[2025-04-12 07:35:03] Production.INFO: CreateAllLog Start
[2025-04-12 07:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 07:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 07:35:03] Production.INFO: 117
[2025-04-12 07:35:03] Production.INFO: Date 2025-04-08
[2025-04-12 07:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890063') end
[2025-04-12 07:35:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 07:35:03] Production.INFO: 1
[2025-04-12 07:35:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 07:35:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:35:03] Production.INFO: Date 2025-04-09
[2025-04-12 07:35:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:35:03] Production.INFO: Date 2025-04-10
[2025-04-12 07:35:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:35:03] Production.INFO: Date 2025-04-11
[2025-04-12 07:35:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:35:03] Production.INFO: Date 2025-04-12
[2025-04-12 07:35:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:35:03] Production.INFO: ==3325== Releasing lock...
[2025-04-12 07:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 07:35:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 07:35:03] Production.INFO: Total Charge 0
[2025-04-12 07:35:03] Production.INFO: CreateAllLog End
[2025-04-12 07:35:04] Production.ERROR: done
[2025-04-12 07:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 07:35:04] Production.INFO: Account Balance End.
[2025-04-12 07:35:04] Production.ERROR: done
[2025-04-12 07:35:04] Production.ERROR: CronJobId end 12
[2025-04-12 07:35:04] Production.INFO: ==3321== Releasing lock...
[2025-04-12 07:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 07:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 07:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 04:35:05
[end_date_ymd] => 2025-04-12 07:35:05
[RateCDR] => 1
)
[2025-04-12 07:35:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 04:35:05' and `end` < '2025-04-12 07:35:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 07:35:10] Production.ERROR: CronJobId end10
[2025-04-12 07:35:10] Production.INFO: ==3319== Releasing lock...
[2025-04-12 07:35:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 07:35:10] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 07:35:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 07:35:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 07:35:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 07:35:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 07:35:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 07:35:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 07:35:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 07:35:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 07:35:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 07:35:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 07:35:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 07:35:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 07:35:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 07:35:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 07:35:14] Production.INFO: call_cost start
[2025-04-12 07:35:14] Production.INFO: call_cost end
[2025-04-12 07:35:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 07:35:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 07:35:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 07:35:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 07:35:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 07:35:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 07:35:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 07:35:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 07:35:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 07:35:15] Production.INFO: ==3315== Releasing lock...
[2025-04-12 07:35:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 07:35:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 07:35:18] Production.INFO: count ==115
[2025-04-12 07:35:18] Production.ERROR: pbx CDR StartTime 2025-04-12 04:35:05 - End Time 2025-04-12 07:35:05
[2025-04-12 07:35:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 07:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890066', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890066', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890066', 'tblTempVendorCDR_20' ) start
[2025-04-12 07:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890066', 'tblTempVendorCDR_20' ) end
[2025-04-12 07:35:18] Production.INFO: ProcessCDR(1,14890066,1,1,2)
[2025-04-12 07:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890066,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:35:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890066,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:35:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890066,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:35:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890066,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:35:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890066', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:35:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890066', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:35:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 07:35:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 07:35:23] Production.INFO: ==3323== Releasing lock...
[2025-04-12 07:35:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 07:35:23] Production.INFO: 29 MB #Memory Used#
[2025-04-12 12:36:02] Production.INFO: ==3384== Lock acquired, processing the job...
[2025-04-12 12:36:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 12:36:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 12:36:02] Production.INFO: neon service started
[2025-04-12 12:36:02] Production.INFO: neon service started
[2025-04-12 12:36:02] Production.INFO: ==3384== Releasing lock...
[2025-04-12 12:36:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 12:36:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 07:36:02] Production.INFO: ==3386== Lock acquired, processing the job...
[2025-04-12 07:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 11:36:02] Production.INFO: ==3388== Lock acquired, processing the job...
[2025-04-12 11:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 11:36:02] Production.INFO: ==3388== Releasing lock...
[2025-04-12 11:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 11:36:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 07:36:03] Production.INFO: ==3386== Releasing lock...
[2025-04-12 07:36:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 07:36:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 07:36:04] Production.INFO: ==3397== Lock acquired, processing the job...
[2025-04-12 07:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 07:36:04] Production.INFO: ==3399== Lock acquired, processing the job...
[2025-04-12 07:36:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 07:36:04] Production.INFO: Account Balance Start.
[2025-04-12 07:36:04] Production.INFO: CreateAllLog Start
[2025-04-12 07:36:04] Production.INFO: 117
[2025-04-12 07:36:04] Production.INFO: Date 2025-04-08
[2025-04-12 07:36:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 07:36:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:36:04] Production.INFO: ==3391== Lock acquired, processing the job...
[2025-04-12 07:36:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 07:36:04] Production.INFO: Date 2025-04-09
[2025-04-12 07:36:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:36:04] Production.INFO: Date 2025-04-10
[2025-04-12 07:36:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:36:04] Production.INFO: ==3393== Lock acquired, processing the job...
[2025-04-12 07:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 07:36:04] Production.INFO: Date 2025-04-11
[2025-04-12 07:36:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:36:04] Production.INFO: ==3395== Lock acquired, processing the job...
[2025-04-12 07:36:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 07:36:04] Production.INFO: Date 2025-04-12
[2025-04-12 07:36:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:36:04] Production.INFO: ==3401== Lock acquired, processing the job...
[2025-04-12 07:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 07:36:04] Production.INFO: Total Charge 0
[2025-04-12 07:36:04] Production.INFO: CreateAllLog End
[2025-04-12 07:36:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 07:36:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 07:36:04] Production.INFO: count ==12
[2025-04-12 07:36:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 07:36:04] Production.INFO: count ==23
[2025-04-12 07:36:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 07:36:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 07:36:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 07:36:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 07:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890068') start
[2025-04-12 07:36:04] Production.ERROR: done
[2025-04-12 07:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 07:36:04] Production.INFO: Account Balance End.
[2025-04-12 07:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890068') end
[2025-04-12 07:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 07:36:04] Production.INFO: 1
[2025-04-12 07:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 07:36:04] Production.INFO: ==3401== Releasing lock...
[2025-04-12 07:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 07:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 07:36:04] Production.ERROR: CronJobId end 12
[2025-04-12 07:36:04] Production.INFO: ==3397== Releasing lock...
[2025-04-12 07:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 07:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 07:36:05] Production.ERROR: done
[2025-04-12 07:36:05] Production.INFO: ==3393== Releasing lock...
[2025-04-12 07:36:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 07:36:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 07:36:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 04:36:06
[end_date_ymd] => 2025-04-12 07:36:06
[RateCDR] => 1
)
[2025-04-12 07: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-12 04:36:06' and `end` < '2025-04-12 07: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-12 07:36:13] Production.ERROR: CronJobId end10
[2025-04-12 07:36:13] Production.INFO: ==3395== Releasing lock...
[2025-04-12 07:36:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 07:36:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 07:36:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 07:36:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 07:36:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 07:36:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 07:36:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 07:36:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 07:36:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 07:36:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 07:36:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 07:36:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 07:36:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 07:36:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 07:36:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 07:36:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 07:36:15] Production.INFO: call_cost start
[2025-04-12 07:36:15] Production.INFO: call_cost end
[2025-04-12 07:36:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 07:36:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 07:36:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 07:36:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 07:36:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 07:36:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 07:36:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 07:36:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 07:36:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 07:36:16] Production.INFO: ==3391== Releasing lock...
[2025-04-12 07:36:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 07:36:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 07:36:18] Production.INFO: count ==113
[2025-04-12 07:36:18] Production.ERROR: pbx CDR StartTime 2025-04-12 04:36:06 - End Time 2025-04-12 07:36:06
[2025-04-12 07:36:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 07:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890071', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890071', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890071', 'tblTempVendorCDR_20' ) start
[2025-04-12 07:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890071', 'tblTempVendorCDR_20' ) end
[2025-04-12 07:36:18] Production.INFO: ProcessCDR(1,14890071,1,1,2)
[2025-04-12 07:36:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890071,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:36:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890071,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:36:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890071,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:36:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890071,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890071', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890071', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:36:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 07:36:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 07:36:22] Production.INFO: ==3399== Releasing lock...
[2025-04-12 07:36:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 07:36:22] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 12:37:01] Production.INFO: ==3501== Lock acquired, processing the job...
[2025-04-12 12:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 12:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 12:37:01] Production.INFO: neon service started
[2025-04-12 12:37:01] Production.INFO: neon service started
[2025-04-12 12:37:01] Production.INFO: ==3501== Releasing lock...
[2025-04-12 12:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 12:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 07:37:01] Production.INFO: ==3503== Lock acquired, processing the job...
[2025-04-12 07:37:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 07:37:02] Production.INFO: ==3503== Releasing lock...
[2025-04-12 07:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 07:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 11:37:02] Production.INFO: ==3505== Lock acquired, processing the job...
[2025-04-12 11:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 11:37:02] Production.INFO: ==3505== Releasing lock...
[2025-04-12 11:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 11:37:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 07:37:03] Production.INFO: ==3508== Lock acquired, processing the job...
[2025-04-12 07:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 07:37:03] Production.INFO: ==3510== Lock acquired, processing the job...
[2025-04-12 07:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 07:37:03] Production.INFO: ==3512== Lock acquired, processing the job...
[2025-04-12 07:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 07:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 07:37:03] Production.INFO: ==3514== Lock acquired, processing the job...
[2025-04-12 07:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 07:37:03] Production.INFO: ==3516== Lock acquired, processing the job...
[2025-04-12 07:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 07:37:03] Production.INFO: ==3518== Lock acquired, processing the job...
[2025-04-12 07:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 07:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 07:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 07:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 07:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 07:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 07:37:03] Production.INFO: Account Balance Start.
[2025-04-12 07:37:03] Production.INFO: CreateAllLog Start
[2025-04-12 07:37:03] Production.INFO: 117
[2025-04-12 07:37:03] Production.INFO: Date 2025-04-08
[2025-04-12 07:37:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:37:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 07:37:03] Production.INFO: Date 2025-04-09
[2025-04-12 07:37:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:37:03] Production.INFO: count ==12
[2025-04-12 07:37:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 07:37:03] Production.INFO: count ==23
[2025-04-12 07:37:03] Production.INFO: Date 2025-04-10
[2025-04-12 07:37:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890075') start
[2025-04-12 07:37:03] Production.INFO: ==3510== Releasing lock...
[2025-04-12 07:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 07:37:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 07:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890075') end
[2025-04-12 07:37:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 07:37:03] Production.INFO: 1
[2025-04-12 07:37:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 07:37:03] Production.INFO: Date 2025-04-11
[2025-04-12 07:37:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:37:03] Production.INFO: Date 2025-04-12
[2025-04-12 07:37:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:37:03] Production.INFO: ==3518== Releasing lock...
[2025-04-12 07:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 07:37:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 07:37:04] Production.ERROR: done
[2025-04-12 07:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 07:37:04] Production.INFO: Total Charge 0
[2025-04-12 07:37:04] Production.INFO: CreateAllLog End
[2025-04-12 07:37:04] Production.ERROR: done
[2025-04-12 07:37:04] Production.INFO: Account Balance End.
[2025-04-12 07:37:04] Production.ERROR: CronJobId end 12
[2025-04-12 07:37:04] Production.INFO: ==3514== Releasing lock...
[2025-04-12 07:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 07:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 07:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 04:37:05
[end_date_ymd] => 2025-04-12 07:37:05
[RateCDR] => 1
)
[2025-04-12 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-12 04:37:05' and `end` < '2025-04-12 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-12 07:37:12] Production.ERROR: CronJobId end10
[2025-04-12 07:37:12] Production.INFO: ==3512== Releasing lock...
[2025-04-12 07:37:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 07:37:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 07:37:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 07:37:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 07:37:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 07:37:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 07:37:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 07:37:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 07:37:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 07:37:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 07:37:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 07:37:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 07:37:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 07:37:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 07:37:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 07:37:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 07:37:14] Production.INFO: call_cost start
[2025-04-12 07:37:14] Production.INFO: call_cost end
[2025-04-12 07:37:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 07:37:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 07:37:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 07:37:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 07:37:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 07:37:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 07:37:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 07:37:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 07:37:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 07:37:15] Production.INFO: ==3508== Releasing lock...
[2025-04-12 07:37:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 07:37:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 07:37:18] Production.INFO: count ==112
[2025-04-12 07:37:18] Production.ERROR: pbx CDR StartTime 2025-04-12 04:37:05 - End Time 2025-04-12 07:37:05
[2025-04-12 07:37:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 07:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890076', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890076', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890076', 'tblTempVendorCDR_20' ) start
[2025-04-12 07:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890076', 'tblTempVendorCDR_20' ) end
[2025-04-12 07:37:18] Production.INFO: ProcessCDR(1,14890076,1,1,2)
[2025-04-12 07:37:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890076,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:37:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890076,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:37:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890076,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:37:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890076,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890076', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890076', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:37:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 07:37:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 07:37:21] Production.INFO: ==3516== Releasing lock...
[2025-04-12 07:37:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 07:37:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 12:38:02] Production.INFO: ==3575== Lock acquired, processing the job...
[2025-04-12 12:38:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 12:38:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 12:38:02] Production.INFO: neon service started
[2025-04-12 12:38:02] Production.INFO: neon service started
[2025-04-12 12:38:02] Production.INFO: ==3575== Releasing lock...
[2025-04-12 12:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 12:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 11:38:02] Production.INFO: ==3579== Lock acquired, processing the job...
[2025-04-12 11:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 11:38:02] Production.INFO: ==3579== Releasing lock...
[2025-04-12 11:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 11:38:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 07:38:02] Production.INFO: ==3577== Lock acquired, processing the job...
[2025-04-12 07:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 07:38:02] Production.INFO: ==3577== Releasing lock...
[2025-04-12 07:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 07:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 07:38:03] Production.INFO: ==3588== Lock acquired, processing the job...
[2025-04-12 07:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 07:38:03] Production.INFO: ==3590== Lock acquired, processing the job...
[2025-04-12 07:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 07:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 07:38:03] Production.INFO: Account Balance Start.
[2025-04-12 07:38:03] Production.INFO: CreateAllLog Start
[2025-04-12 07:38:03] Production.INFO: 117
[2025-04-12 07:38:03] Production.INFO: ==3582== Lock acquired, processing the job...
[2025-04-12 07:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 07:38:03] Production.INFO: Date 2025-04-08
[2025-04-12 07:38:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:38:04] Production.INFO: ==3584== Lock acquired, processing the job...
[2025-04-12 07:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 07:38:04] Production.INFO: Date 2025-04-09
[2025-04-12 07:38:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:38:04] Production.INFO: ==3586== Lock acquired, processing the job...
[2025-04-12 07:38:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 07:38:04] Production.INFO: Date 2025-04-10
[2025-04-12 07:38:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:38:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 07:38:04] Production.INFO: Date 2025-04-11
[2025-04-12 07:38:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:38:04] Production.INFO: ==3592== Lock acquired, processing the job...
[2025-04-12 07:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 07:38:04] Production.INFO: Date 2025-04-12
[2025-04-12 07:38:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:38:04] Production.INFO: Total Charge 0
[2025-04-12 07:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 07:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 07:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 07:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 07:38:04] Production.INFO: CreateAllLog End
[2025-04-12 07:38:04] Production.ERROR: done
[2025-04-12 07:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 07:38:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 07:38:04] Production.INFO: count ==12
[2025-04-12 07:38:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 07:38:04] Production.INFO: count ==23
[2025-04-12 07:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890080') start
[2025-04-12 07:38:04] Production.INFO: ==3584== Releasing lock...
[2025-04-12 07:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 07:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 07:38:04] Production.ERROR: done
[2025-04-12 07:38:04] Production.INFO: Account Balance End.
[2025-04-12 07:38:04] Production.ERROR: CronJobId end 12
[2025-04-12 07:38:04] Production.INFO: ==3588== Releasing lock...
[2025-04-12 07:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 07:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 07:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890080') end
[2025-04-12 07:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 07:38:04] Production.INFO: 1
[2025-04-12 07:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 07:38:04] Production.INFO: ==3592== Releasing lock...
[2025-04-12 07:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 07:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 07:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 04:38:05
[end_date_ymd] => 2025-04-12 07:38:05
[RateCDR] => 1
)
[2025-04-12 07:38:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 04:38:05' and `end` < '2025-04-12 07:38:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 07:38:12] Production.ERROR: CronJobId end10
[2025-04-12 07:38:12] Production.INFO: ==3586== Releasing lock...
[2025-04-12 07:38:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 07:38:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 07:38:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 07:38:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 07:38:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 07:38:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 07:38:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 07:38:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 07:38:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 07:38:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 07:38:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 07:38:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 07:38:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 07:38:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 07:38:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 07:38:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 07:38:15] Production.INFO: call_cost start
[2025-04-12 07:38:15] Production.INFO: call_cost end
[2025-04-12 07:38:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 07:38:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 07:38:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 07:38:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 07:38:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 07:38:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 07:38:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 07:38:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 07:38:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 07:38:15] Production.INFO: ==3582== Releasing lock...
[2025-04-12 07:38:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 07:38:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 07:38:18] Production.INFO: count ==111
[2025-04-12 07:38:18] Production.ERROR: pbx CDR StartTime 2025-04-12 04:38:05 - End Time 2025-04-12 07:38:05
[2025-04-12 07:38:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 07:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890081', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890081', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890081', 'tblTempVendorCDR_20' ) start
[2025-04-12 07:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890081', 'tblTempVendorCDR_20' ) end
[2025-04-12 07:38:18] Production.INFO: ProcessCDR(1,14890081,1,1,2)
[2025-04-12 07:38:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890081,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:38:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890081,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:38:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890081,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:38:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890081,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:38:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890081', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:38:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890081', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:38:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 07:38:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 07:38:23] Production.INFO: ==3590== Releasing lock...
[2025-04-12 07:38:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 07:38:23] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 12:39:01] Production.INFO: ==3647== Lock acquired, processing the job...
[2025-04-12 12:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 12:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 12:39:01] Production.INFO: neon service started
[2025-04-12 12:39:01] Production.INFO: neon service started
[2025-04-12 12:39:01] Production.INFO: ==3647== Releasing lock...
[2025-04-12 12:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 12:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 07:39:02] Production.INFO: ==3649== Lock acquired, processing the job...
[2025-04-12 07:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 11:39:02] Production.INFO: ==3651== Lock acquired, processing the job...
[2025-04-12 11:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 11:39:02] Production.INFO: ==3651== Releasing lock...
[2025-04-12 11:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 11:39:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 07:39:02] Production.INFO: ==3649== Releasing lock...
[2025-04-12 07:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 07:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 07:39:03] Production.INFO: ==3654== Lock acquired, processing the job...
[2025-04-12 07:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 07:39:03] Production.INFO: ==3656== Lock acquired, processing the job...
[2025-04-12 07:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 07:39:03] Production.INFO: ==3660== Lock acquired, processing the job...
[2025-04-12 07:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 07:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 07:39:03] Production.INFO: Account Balance Start.
[2025-04-12 07:39:03] Production.INFO: CreateAllLog Start
[2025-04-12 07:39:03] Production.INFO: 117
[2025-04-12 07:39:03] Production.INFO: Date 2025-04-08
[2025-04-12 07:39:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:39:03] Production.INFO: Date 2025-04-09
[2025-04-12 07:39:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:39:03] Production.INFO: Date 2025-04-10
[2025-04-12 07:39:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:39:03] Production.INFO: Date 2025-04-11
[2025-04-12 07:39:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:39:03] Production.INFO: ==3658== Lock acquired, processing the job...
[2025-04-12 07:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 07:39:03] Production.INFO: ==3662== Lock acquired, processing the job...
[2025-04-12 07:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 07:39:03] Production.INFO: Date 2025-04-12
[2025-04-12 07:39:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 07:39:03] Production.INFO: Total Charge 0
[2025-04-12 07:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 07:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 07:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 07:39:03] Production.INFO: CreateAllLog End
[2025-04-12 07:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 07:39:03] Production.INFO: ==3656== Releasing lock...
[2025-04-12 07:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 07:39:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 07:39:03] Production.INFO: ==3664== Lock acquired, processing the job...
[2025-04-12 07:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 07:39:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 07:39:03] Production.INFO: count ==12
[2025-04-12 07:39:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 07:39:03] Production.INFO: count ==23
[2025-04-12 07:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890085') start
[2025-04-12 07:39:04] Production.ERROR: done
[2025-04-12 07:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 07:39:04] Production.INFO: Account Balance End.
[2025-04-12 07:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890085') end
[2025-04-12 07:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 07:39:04] Production.INFO: 1
[2025-04-12 07:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 07:39:04] Production.INFO: ==3664== Releasing lock...
[2025-04-12 07:39:04] Production.ERROR: CronJobId end 12
[2025-04-12 07:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 07:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 07:39:04] Production.INFO: ==3660== Releasing lock...
[2025-04-12 07:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 07:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 07:39:04] Production.ERROR: done
[2025-04-12 07:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 04:39:05
[end_date_ymd] => 2025-04-12 07:39:05
[RateCDR] => 1
)
[2025-04-12 07:39:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 04:39:05' and `end` < '2025-04-12 07:39:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 07:39:11] Production.ERROR: CronJobId end10
[2025-04-12 07:39:11] Production.INFO: ==3658== Releasing lock...
[2025-04-12 07:39:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 07:39:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 07:39:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 07:39:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 07:39:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 07:39:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 07:39:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 07:39:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 07:39:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 07:39:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 07:39:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 07:39:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 07:39:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 07:39:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 07:39:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 07:39:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 07:39:13] Production.INFO: call_cost start
[2025-04-12 07:39:13] Production.INFO: call_cost end
[2025-04-12 07:39:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 07:39:14] Production.INFO: ============== Report Schedule START===========
[2025-04-12 07:39:14] Production.INFO: ============== Report Schedule END===========
[2025-04-12 07:39:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 07:39:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 07:39:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 07:39:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 07:39:14] Production.INFO: ============== Deal alert START===========
[2025-04-12 07:39:14] Production.INFO: ============== Deal alert END===========
[2025-04-12 07:39:14] Production.INFO: ==3654== Releasing lock...
[2025-04-12 07:39:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 07:39:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 07:39:18] Production.INFO: count ==112
[2025-04-12 07:39:18] Production.ERROR: pbx CDR StartTime 2025-04-12 04:39:05 - End Time 2025-04-12 07:39:05
[2025-04-12 07:39:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 07:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890086', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890086', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890086', 'tblTempVendorCDR_20' ) start
[2025-04-12 07:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890086', 'tblTempVendorCDR_20' ) end
[2025-04-12 07:39:18] Production.INFO: ProcessCDR(1,14890086,1,1,2)
[2025-04-12 07:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890086,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:39:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890086,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:39:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890086,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:39:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890086,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:39:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890086', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:39:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890086', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:39:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 07:39:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 07:39:23] Production.INFO: ==3662== Releasing lock...
[2025-04-12 07:39:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 07:39:23] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 12:40:01] Production.INFO: ==3720== Lock acquired, processing the job...
[2025-04-12 12:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 12:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 12:40:01] Production.INFO: neon service started
[2025-04-12 12:40:01] Production.INFO: neon service started
[2025-04-12 12:40:02] Production.INFO: ==3720== Releasing lock...
[2025-04-12 12:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 12:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 11:40:02] Production.INFO: ==3724== Lock acquired, processing the job...
[2025-04-12 11:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 07:40:02] Production.INFO: ==3722== Lock acquired, processing the job...
[2025-04-12 07:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 11:40:02] Production.INFO: ==3724== Releasing lock...
[2025-04-12 11:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 11:40:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 07:40:03] Production.INFO: ==3722== Releasing lock...
[2025-04-12 07:40:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 07:40:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 07:40:04] Production.INFO: ==3727== Lock acquired, processing the job...
[2025-04-12 07:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 07:40:04] Production.INFO: ==3729== Lock acquired, processing the job...
[2025-04-12 07:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 07:40:04] Production.INFO: ==3733== Lock acquired, processing the job...
[2025-04-12 07:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 07:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 07:40:04] Production.INFO: ==3737== Lock acquired, processing the job...
[2025-04-12 07:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 07:40:04] Production.INFO: ==3731== Lock acquired, processing the job...
[2025-04-12 07:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 07:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 07:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 07:40:04] Production.ERROR: CronJob PID - 3729
[2025-04-12 07:40:04] Production.ERROR: CronJob Title - System Alerts
[2025-04-12 07:40:04] Production.ERROR: CronJob ID - 5
[2025-04-12 07:40:04] Production.ERROR: CronJob Last Run Time 2025-04-12 07:40:00
[2025-04-12 07:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 07:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 07:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 07:40:04] Production.ERROR: CronJob PID - 3733
[2025-04-12 07:40:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-04-12 07:40:04] Production.ERROR: CronJob ID - 10
[2025-04-12 07:40:04] Production.ERROR: CronJob Last Run Time 2025-04-12 07:40:00
[2025-04-12 07:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 07:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 07:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 07:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 07:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 07:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 07:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 07:40:04] Production.INFO: ==3727== Releasing lock...
[2025-04-12 07:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 07:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 07:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 07:40:04] Production.INFO: ==3735== Lock acquired, processing the job...
[2025-04-12 07:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 07:40:04] Production.INFO: ==3739== Lock acquired, processing the job...
[2025-04-12 07:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 07:40:04] Production.INFO: ==3741== Lock acquired, processing the job...
[2025-04-12 07:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 07:40:04] Production.INFO: Account Balance Start.
[2025-04-12 07:40:04] Production.INFO: CreateAllLog Start
[2025-04-12 07:40:04] Production.INFO: 117
[2025-04-12 07:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 07:40:04] Production.INFO: Date 2025-04-08
[2025-04-12 07:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 07:40:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:40:04] Production.INFO: count ==12
[2025-04-12 07:40:04] Production.ERROR: done
[2025-04-12 07:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 07:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 07:40:04] Production.INFO: count ==23
[2025-04-12 07:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890090') start
[2025-04-12 07:40:04] Production.INFO: ==3731== Releasing lock...
[2025-04-12 07:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 07:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 07:40:04] Production.INFO: Date 2025-04-09
[2025-04-12 07:40:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:40:04] Production.INFO: Date 2025-04-10
[2025-04-12 07:40:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:40:04] Production.INFO: Date 2025-04-11
[2025-04-12 07:40:05] Production.INFO: Reseller ==> 0
[2025-04-12 07:40:05] Production.ERROR: done
[2025-04-12 07:40:05] Production.ERROR: done
[2025-04-12 07:40:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 07:40:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14890091', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 07:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14890090') end
[2025-04-12 07:40:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 07:40:05] Production.INFO: 1
[2025-04-12 07:40:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 07:40:05] Production.INFO: Date 2025-04-12
[2025-04-12 07:40:05] Production.INFO: Reseller ==> 0
[2025-04-12 07:40:05] Production.INFO: Total Charge 0
[2025-04-12 07:40:05] Production.INFO: ==3741== Releasing lock...
[2025-04-12 07:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 07:40:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 07:40:05] Production.INFO: CreateAllLog End
[2025-04-12 07:40:05] Production.INFO: Account Balance End.
[2025-04-12 07:40:05] Production.ERROR: CronJobId end 12
[2025-04-12 07:40:05] Production.INFO: ==3735== Releasing lock...
[2025-04-12 07:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 07:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 07:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 04:40:06
[end_date_ymd] => 2025-04-12 07:40:06
[RateCDR] => 1
)
[2025-04-12 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-12 04:40:06' and `end` < '2025-04-12 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-12 07:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14890091', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 07:40:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 07:40:09] Production.INFO: ProcessCDR(1,14890091,1,1,2)
[2025-04-12 07:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14890091,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14890091,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 07:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 07:40:09] Production.INFO: ==3739== Releasing lock...
[2025-04-12 07:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 07:40:09] Production.INFO: 26 MB #Memory Used#
[2025-04-12 07:40:14] Production.ERROR: CronJobId end10
[2025-04-12 07:40:14] Production.INFO: ==3733== Releasing lock...
[2025-04-12 07:40:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 07:40:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 07:40:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 07:40:16] Production.INFO: ============== Balance Warning START===========
[2025-04-12 07:40:16] Production.INFO: ============== Balance Warning END===========
[2025-04-12 07:40:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 07:40:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 07:40:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 07:40:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 07:40:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 07:40:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 07:40:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 07:40:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 07:40:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 07:40:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 07:40:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 07:40:17] Production.INFO: call_cost start
[2025-04-12 07:40:17] Production.INFO: call_cost end
[2025-04-12 07:40:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 07:40:18] Production.INFO: ============== Report Schedule START===========
[2025-04-12 07:40:18] Production.INFO: ============== Report Schedule END===========
[2025-04-12 07:40:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 07:40:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 07:40:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 07:40:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 07:40:18] Production.INFO: ============== Deal alert START===========
[2025-04-12 07:40:18] Production.INFO: ============== Deal alert END===========
[2025-04-12 07:40:18] Production.INFO: ==3729== Releasing lock...
[2025-04-12 07:40:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 07:40:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 07:40:19] Production.INFO: count ==110
[2025-04-12 07:40:19] Production.ERROR: pbx CDR StartTime 2025-04-12 04:40:06 - End Time 2025-04-12 07:40:06
[2025-04-12 07:40:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 07:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890092', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890092', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890092', 'tblTempVendorCDR_20' ) start
[2025-04-12 07:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890092', 'tblTempVendorCDR_20' ) end
[2025-04-12 07:40:19] Production.INFO: ProcessCDR(1,14890092,1,1,2)
[2025-04-12 07:40:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890092,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:40:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890092,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:40:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890092,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:40:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890092,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890092', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890092', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:40:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 07:40:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 07:40:22] Production.INFO: ==3737== Releasing lock...
[2025-04-12 07:40:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 07:40:22] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 12:41:01] Production.INFO: ==3797== Lock acquired, processing the job...
[2025-04-12 12:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 12:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 12:41:01] Production.INFO: neon service started
[2025-04-12 12:41:01] Production.INFO: neon service started
[2025-04-12 12:41:01] Production.INFO: ==3797== Releasing lock...
[2025-04-12 12:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 12:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 07:41:01] Production.INFO: ==3799== Lock acquired, processing the job...
[2025-04-12 07:41:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 07:41:02] Production.INFO: ==3799== Releasing lock...
[2025-04-12 07:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 07:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 11:41:02] Production.INFO: ==3801== Lock acquired, processing the job...
[2025-04-12 11:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 11:41:02] Production.INFO: ==3801== Releasing lock...
[2025-04-12 11:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 11:41:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 07:41:02] Production.INFO: ==3810== Lock acquired, processing the job...
[2025-04-12 07:41:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 07:41:02] Production.INFO: Account Balance Start.
[2025-04-12 07:41:02] Production.INFO: CreateAllLog Start
[2025-04-12 07:41:02] Production.INFO: 117
[2025-04-12 07:41:02] Production.INFO: Date 2025-04-08
[2025-04-12 07:41:02] Production.INFO: Reseller ==> 0
[2025-04-12 07:41:02] Production.INFO: Date 2025-04-09
[2025-04-12 07:41:02] Production.INFO: Reseller ==> 0
[2025-04-12 07:41:02] Production.INFO: Date 2025-04-10
[2025-04-12 07:41:02] Production.INFO: Reseller ==> 0
[2025-04-12 07:41:02] Production.INFO: Date 2025-04-11
[2025-04-12 07:41:02] Production.INFO: Reseller ==> 0
[2025-04-12 07:41:03] Production.INFO: Date 2025-04-12
[2025-04-12 07:41:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:41:03] Production.INFO: Total Charge 0
[2025-04-12 07:41:03] Production.INFO: CreateAllLog End
[2025-04-12 07:41:03] Production.INFO: Account Balance End.
[2025-04-12 07:41:03] Production.ERROR: CronJobId end 12
[2025-04-12 07:41:03] Production.INFO: ==3810== Releasing lock...
[2025-04-12 07:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 07:41:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 07:41:03] Production.INFO: ==3804== Lock acquired, processing the job...
[2025-04-12 07:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 07:41:03] Production.INFO: ==3806== Lock acquired, processing the job...
[2025-04-12 07:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 07:41:03] Production.INFO: ==3812== Lock acquired, processing the job...
[2025-04-12 07:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 07:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 07:41:03] Production.INFO: ==3808== Lock acquired, processing the job...
[2025-04-12 07:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 07:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 07:41:03] Production.INFO: ==3814== Lock acquired, processing the job...
[2025-04-12 07:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 07: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-12 07:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 07:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 07:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 07:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 07:41:03] Production.INFO: count ==12
[2025-04-12 07:41:03] Production.INFO: ==3806== Releasing lock...
[2025-04-12 07:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 07:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 07: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-12 07:41:03] Production.ERROR: done
[2025-04-12 07:41:03] Production.INFO: count ==23
[2025-04-12 07:41:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 07:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890096') start
[2025-04-12 07:41:03] Production.ERROR: done
[2025-04-12 07:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890096') end
[2025-04-12 07:41:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 07:41:03] Production.INFO: 1
[2025-04-12 07:41:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 07:41:03] Production.INFO: ==3814== Releasing lock...
[2025-04-12 07:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 07:41:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 07:41:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 04:41:04
[end_date_ymd] => 2025-04-12 07:41:04
[RateCDR] => 1
)
[2025-04-12 07: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-12 04:41:04' and `end` < '2025-04-12 07: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-12 07:41:11] Production.ERROR: CronJobId end10
[2025-04-12 07:41:11] Production.INFO: ==3808== Releasing lock...
[2025-04-12 07:41:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 07:41:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 07:41:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 07:41:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 07:41:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 07:41:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 07:41:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 07:41:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 07:41:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 07:41:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 07:41:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 07:41:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 07:41:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 07:41:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 07:41:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 07:41:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 07:41:14] Production.INFO: call_cost start
[2025-04-12 07:41:14] Production.INFO: call_cost end
[2025-04-12 07:41:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 07:41:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 07:41:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 07:41:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 07:41:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 07:41:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 07:41:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 07:41:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 07:41:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 07:41:15] Production.INFO: ==3804== Releasing lock...
[2025-04-12 07:41:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 07:41:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 07:41:17] Production.INFO: count ==110
[2025-04-12 07:41:17] Production.ERROR: pbx CDR StartTime 2025-04-12 04:41:04 - End Time 2025-04-12 07:41:04
[2025-04-12 07:41:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 07:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890097', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890097', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890097', 'tblTempVendorCDR_20' ) start
[2025-04-12 07:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890097', 'tblTempVendorCDR_20' ) end
[2025-04-12 07:41:17] Production.INFO: ProcessCDR(1,14890097,1,1,2)
[2025-04-12 07:41:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890097,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:41:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890097,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:41:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890097,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:41:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890097,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890097', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890097', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:41:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 07:41:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 07:41:21] Production.INFO: ==3812== Releasing lock...
[2025-04-12 07:41:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 07:41:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 12:42:01] Production.INFO: ==3869== Lock acquired, processing the job...
[2025-04-12 12:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 12:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 12:42:01] Production.INFO: neon service started
[2025-04-12 12:42:01] Production.INFO: neon service started
[2025-04-12 12:42:01] Production.INFO: ==3869== Releasing lock...
[2025-04-12 12:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 12:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 07:42:02] Production.INFO: ==3871== Lock acquired, processing the job...
[2025-04-12 07:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 11:42:02] Production.INFO: ==3873== Lock acquired, processing the job...
[2025-04-12 11:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 11:42:02] Production.INFO: ==3873== Releasing lock...
[2025-04-12 11:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 11:42:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 07:42:02] Production.INFO: ==3871== Releasing lock...
[2025-04-12 07:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 07:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 07:42:03] Production.INFO: ==3882== Lock acquired, processing the job...
[2025-04-12 07:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 07:42:03] Production.INFO: ==3884== Lock acquired, processing the job...
[2025-04-12 07:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 07:42:03] Production.INFO: ==3886== Lock acquired, processing the job...
[2025-04-12 07:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 07:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 07:42:03] Production.INFO: Account Balance Start.
[2025-04-12 07:42:03] Production.INFO: CreateAllLog Start
[2025-04-12 07:42:03] Production.INFO: 117
[2025-04-12 07:42:03] Production.INFO: Date 2025-04-08
[2025-04-12 07:42:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:42:03] Production.INFO: Date 2025-04-09
[2025-04-12 07:42:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:42:03] Production.INFO: Date 2025-04-10
[2025-04-12 07:42:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:42:03] Production.INFO: Date 2025-04-11
[2025-04-12 07:42:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:42:03] Production.INFO: ==3876== Lock acquired, processing the job...
[2025-04-12 07:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 07:42:03] Production.INFO: Date 2025-04-12
[2025-04-12 07:42:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:42:03] Production.INFO: ==3878== Lock acquired, processing the job...
[2025-04-12 07:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 07:42:03] Production.INFO: Total Charge 0
[2025-04-12 07:42:03] Production.INFO: ==3880== Lock acquired, processing the job...
[2025-04-12 07:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 07:42:03] Production.INFO: CreateAllLog End
[2025-04-12 07:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 07:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 07:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 07:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 07:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 07: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-12 07:42:04] Production.INFO: count ==12
[2025-04-12 07:42:04] Production.ERROR: done
[2025-04-12 07:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 07: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-12 07:42:04] Production.INFO: count ==23
[2025-04-12 07:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890099') start
[2025-04-12 07:42:04] Production.INFO: ==3878== Releasing lock...
[2025-04-12 07:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 07:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 07:42:04] Production.INFO: Account Balance End.
[2025-04-12 07:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890099') end
[2025-04-12 07:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 07:42:04] Production.INFO: 1
[2025-04-12 07:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 07:42:04] Production.ERROR: done
[2025-04-12 07:42:04] Production.ERROR: CronJobId end 12
[2025-04-12 07:42:04] Production.INFO: ==3882== Releasing lock...
[2025-04-12 07:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 07:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 07:42:04] Production.INFO: ==3886== Releasing lock...
[2025-04-12 07:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 07:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 07:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 04:42:05
[end_date_ymd] => 2025-04-12 07:42:05
[RateCDR] => 1
)
[2025-04-12 07:42:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 04:42:05' and `end` < '2025-04-12 07:42:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 07:42:12] Production.ERROR: CronJobId end10
[2025-04-12 07:42:12] Production.INFO: ==3880== Releasing lock...
[2025-04-12 07:42:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 07:42:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 07:42:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 07:42:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 07:42:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 07:42:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 07:42:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 07:42:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 07:42:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 07:42:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 07:42:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 07:42:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 07:42:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 07:42:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 07:42:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 07:42:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 07:42:15] Production.INFO: call_cost start
[2025-04-12 07:42:15] Production.INFO: call_cost end
[2025-04-12 07:42:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 07:42:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 07:42:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 07:42:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 07:42:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 07:42:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 07:42:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 07:42:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 07:42:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 07:42:16] Production.INFO: ==3876== Releasing lock...
[2025-04-12 07:42:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 07:42:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 07:42:18] Production.INFO: count ==110
[2025-04-12 07:42:18] Production.ERROR: pbx CDR StartTime 2025-04-12 04:42:05 - End Time 2025-04-12 07:42:05
[2025-04-12 07:42:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 07:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890102', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890102', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890102', 'tblTempVendorCDR_20' ) start
[2025-04-12 07:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890102', 'tblTempVendorCDR_20' ) end
[2025-04-12 07:42:18] Production.INFO: ProcessCDR(1,14890102,1,1,2)
[2025-04-12 07:42:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890102,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:42:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890102,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:42:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890102,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:42:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890102,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890102', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890102', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:42:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 07:42:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 07:42:21] Production.INFO: ==3884== Releasing lock...
[2025-04-12 07:42:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 07:42:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 12:43:02] Production.INFO: ==3951== Lock acquired, processing the job...
[2025-04-12 12:43:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 12:43:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 12:43:02] Production.INFO: neon service started
[2025-04-12 12:43:02] Production.INFO: neon service started
[2025-04-12 12:43:02] Production.INFO: ==3951== Releasing lock...
[2025-04-12 12:43:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 12:43:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 11:43:02] Production.INFO: ==3955== Lock acquired, processing the job...
[2025-04-12 11:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 11:43:02] Production.INFO: ==3955== Releasing lock...
[2025-04-12 11:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 11:43:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 07:43:02] Production.INFO: ==3953== Lock acquired, processing the job...
[2025-04-12 07:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 07:43:03] Production.INFO: ==3953== Releasing lock...
[2025-04-12 07:43:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 07:43:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 07:43:03] Production.INFO: ==3960== Lock acquired, processing the job...
[2025-04-12 07:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 07:43:04] Production.INFO: ==3964== Lock acquired, processing the job...
[2025-04-12 07:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 07:43:04] Production.INFO: ==3962== Lock acquired, processing the job...
[2025-04-12 07:43:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 07:43:04] Production.INFO: ==3958== Lock acquired, processing the job...
[2025-04-12 07:43:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 07:43:04] Production.INFO: Account Balance Start.
[2025-04-12 07:43:04] Production.INFO: CreateAllLog Start
[2025-04-12 07:43:04] Production.INFO: 117
[2025-04-12 07:43:04] Production.INFO: Date 2025-04-08
[2025-04-12 07:43:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 07:43:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:43:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 07:43:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 07:43:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 07:43:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 07:43:04] Production.INFO: ==3966== Lock acquired, processing the job...
[2025-04-12 07:43:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 07:43:04] Production.INFO: Date 2025-04-09
[2025-04-12 07:43:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:43:04] Production.INFO: ==3960== Releasing lock...
[2025-04-12 07:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 07:43:04] Production.INFO: Date 2025-04-10
[2025-04-12 07:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 07:43:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:43:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 07:43:04] Production.INFO: Date 2025-04-11
[2025-04-12 07:43:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:43:04] Production.INFO: ==3968== Lock acquired, processing the job...
[2025-04-12 07:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 07:43:04] Production.INFO: Date 2025-04-12
[2025-04-12 07:43:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:43:04] Production.INFO: Total Charge 0
[2025-04-12 07:43:04] Production.INFO: CreateAllLog End
[2025-04-12 07:43:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 07:43:04] Production.INFO: count ==12
[2025-04-12 07:43:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 07:43:04] Production.INFO: count ==23
[2025-04-12 07:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890106') start
[2025-04-12 07:43:04] Production.ERROR: done
[2025-04-12 07:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890106') end
[2025-04-12 07:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 07:43:04] Production.INFO: 1
[2025-04-12 07:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 07:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 07:43:04] Production.INFO: Account Balance End.
[2025-04-12 07:43:04] Production.INFO: ==3968== Releasing lock...
[2025-04-12 07:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 07:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 07:43:04] Production.ERROR: CronJobId end 12
[2025-04-12 07:43:04] Production.INFO: ==3964== Releasing lock...
[2025-04-12 07:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 07:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 07:43:04] Production.ERROR: done
[2025-04-12 07:43:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 04:43:06
[end_date_ymd] => 2025-04-12 07:43:06
[RateCDR] => 1
)
[2025-04-12 07: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-12 04:43:06' and `end` < '2025-04-12 07: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-12 07:43:12] Production.ERROR: CronJobId end10
[2025-04-12 07:43:12] Production.INFO: ==3962== Releasing lock...
[2025-04-12 07:43:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 07:43:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 07:43:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 07:43:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 07:43:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 07:43:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 07:43:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 07:43:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 07:43:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 07:43:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 07:43:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 07:43:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 07:43:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 07:43:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 07:43:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 07:43:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 07:43:15] Production.INFO: call_cost start
[2025-04-12 07:43:15] Production.INFO: call_cost end
[2025-04-12 07:43:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 07:43:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 07:43:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 07:43:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 07:43:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 07:43:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 07:43:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 07:43:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 07:43:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 07:43:16] Production.INFO: ==3958== Releasing lock...
[2025-04-12 07:43:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 07:43:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 07:43:18] Production.INFO: count ==110
[2025-04-12 07:43:18] Production.ERROR: pbx CDR StartTime 2025-04-12 04:43:06 - End Time 2025-04-12 07:43:06
[2025-04-12 07:43:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 07:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890107', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890107', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890107', 'tblTempVendorCDR_20' ) start
[2025-04-12 07:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890107', 'tblTempVendorCDR_20' ) end
[2025-04-12 07:43:18] Production.INFO: ProcessCDR(1,14890107,1,1,2)
[2025-04-12 07:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890107,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:43:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890107,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:43:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890107,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:43:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890107,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890107', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890107', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:43:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 07:43:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 07:43:22] Production.INFO: ==3966== Releasing lock...
[2025-04-12 07:43:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 07:43:22] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 12:44:01] Production.INFO: ==4027== Lock acquired, processing the job...
[2025-04-12 12:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 12:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 12:44:01] Production.INFO: neon service started
[2025-04-12 12:44:01] Production.INFO: neon service started
[2025-04-12 12:44:01] Production.INFO: ==4027== Releasing lock...
[2025-04-12 12:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 12:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 07:44:02] Production.INFO: ==4030== Lock acquired, processing the job...
[2025-04-12 07:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 07:44:02] Production.INFO: ==4030== Releasing lock...
[2025-04-12 07:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 07:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 11:44:02] Production.INFO: ==4032== Lock acquired, processing the job...
[2025-04-12 11:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 11:44:02] Production.INFO: ==4032== Releasing lock...
[2025-04-12 11:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 11:44:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 07:44:03] Production.INFO: ==4036== Lock acquired, processing the job...
[2025-04-12 07:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 07:44:03] Production.INFO: ==4036== Releasing lock...
[2025-04-12 07:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 07:44:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 07:44:03] Production.INFO: ==4044== Lock acquired, processing the job...
[2025-04-12 07:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 07:44:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 07:44:03] Production.INFO: ==4034== Lock acquired, processing the job...
[2025-04-12 07:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 07:44:03] Production.INFO: count ==12
[2025-04-12 07:44:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 07:44:03] Production.INFO: count ==23
[2025-04-12 07:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890109') start
[2025-04-12 07:44:03] Production.INFO: ==4040== Lock acquired, processing the job...
[2025-04-12 07:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 07:44:03] Production.INFO: ==4038== Lock acquired, processing the job...
[2025-04-12 07:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 07:44:03] Production.INFO: ==4042== Lock acquired, processing the job...
[2025-04-12 07:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 07:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890109') end
[2025-04-12 07:44:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 07:44:03] Production.INFO: 1
[2025-04-12 07:44:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 07:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 07:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 07:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 07:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 07:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 07:44:03] Production.INFO: ==4044== Releasing lock...
[2025-04-12 07:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 07:44:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 07:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 07:44:03] Production.INFO: Account Balance Start.
[2025-04-12 07:44:03] Production.INFO: CreateAllLog Start
[2025-04-12 07:44:03] Production.INFO: 117
[2025-04-12 07:44:03] Production.INFO: Date 2025-04-08
[2025-04-12 07:44:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:44:03] Production.INFO: Date 2025-04-09
[2025-04-12 07:44:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:44:03] Production.INFO: Date 2025-04-10
[2025-04-12 07:44:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:44:03] Production.INFO: Date 2025-04-11
[2025-04-12 07:44:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:44:03] Production.INFO: Date 2025-04-12
[2025-04-12 07:44:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:44:04] Production.INFO: Total Charge 0
[2025-04-12 07:44:04] Production.INFO: CreateAllLog End
[2025-04-12 07:44:04] Production.ERROR: done
[2025-04-12 07:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 07:44:04] Production.ERROR: done
[2025-04-12 07:44:04] Production.INFO: Account Balance End.
[2025-04-12 07:44:04] Production.ERROR: CronJobId end 12
[2025-04-12 07:44:04] Production.INFO: ==4040== Releasing lock...
[2025-04-12 07:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 07:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 07:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 04:44:05
[end_date_ymd] => 2025-04-12 07:44:05
[RateCDR] => 1
)
[2025-04-12 07: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-12 04:44:05' and `end` < '2025-04-12 07: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-12 07:44:12] Production.ERROR: CronJobId end10
[2025-04-12 07:44:12] Production.INFO: ==4038== Releasing lock...
[2025-04-12 07:44:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 07:44:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 07:44:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 07:44:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 07:44:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 07:44:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 07:44:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 07:44:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 07:44:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 07:44:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 07:44:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 07:44:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 07:44:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 07:44:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 07:44:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 07:44:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 07:44:14] Production.INFO: call_cost start
[2025-04-12 07:44:14] Production.INFO: call_cost end
[2025-04-12 07:44:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 07:44:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 07:44:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 07:44:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 07:44:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 07:44:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 07:44:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 07:44:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 07:44:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 07:44:15] Production.INFO: ==4034== Releasing lock...
[2025-04-12 07:44:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 07:44:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 07:44:18] Production.INFO: count ==111
[2025-04-12 07:44:18] Production.ERROR: pbx CDR StartTime 2025-04-12 04:44:05 - End Time 2025-04-12 07:44:05
[2025-04-12 07:44:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 07:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890112', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890112', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890112', 'tblTempVendorCDR_20' ) start
[2025-04-12 07:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890112', 'tblTempVendorCDR_20' ) end
[2025-04-12 07:44:18] Production.INFO: ProcessCDR(1,14890112,1,1,2)
[2025-04-12 07:44:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890112,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:44:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890112,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:44:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890112,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:44:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890112,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890112', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890112', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:44:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 07:44:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 07:44:22] Production.INFO: ==4042== Releasing lock...
[2025-04-12 07:44:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 07:44:22] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 12:45:02] Production.INFO: ==4099== Lock acquired, processing the job...
[2025-04-12 12:45:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 12:45:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 12:45:02] Production.INFO: neon service started
[2025-04-12 12:45:02] Production.INFO: neon service started
[2025-04-12 12:45:02] Production.INFO: ==4099== Releasing lock...
[2025-04-12 12:45:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 12:45:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 07:45:02] Production.INFO: ==4105== Lock acquired, processing the job...
[2025-04-12 07:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 07:45:02] Production.INFO: ==4105== Releasing lock...
[2025-04-12 07:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 07:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 11:45:03] Production.INFO: ==4107== Lock acquired, processing the job...
[2025-04-12 11:45:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 11:45:03] Production.INFO: ==4107== Releasing lock...
[2025-04-12 11:45:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 11:45:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 07:45:03] Production.INFO: ==4113== Lock acquired, processing the job...
[2025-04-12 07:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 07:45:03] Production.INFO: ==4117== Lock acquired, processing the job...
[2025-04-12 07:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 07:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 07:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 07:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 07:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 07:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 07:45:04] Production.INFO: ==4109== Lock acquired, processing the job...
[2025-04-12 07:45:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 07:45:04] Production.INFO: ==4111== Lock acquired, processing the job...
[2025-04-12 07:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 07:45:04] Production.INFO: ==4115== Lock acquired, processing the job...
[2025-04-12 07:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 07:45:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 07:45:04] Production.INFO: ==4119== Lock acquired, processing the job...
[2025-04-12 07:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 07:45:04] Production.INFO: Account Balance Start.
[2025-04-12 07:45:04] Production.INFO: CreateAllLog Start
[2025-04-12 07:45:04] Production.INFO: 117
[2025-04-12 07:45:04] Production.INFO: Date 2025-04-08
[2025-04-12 07:45:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:45:04] Production.ERROR: done
[2025-04-12 07:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 07:45:04] Production.INFO: Date 2025-04-09
[2025-04-12 07: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-12 07:45:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:45:04] Production.INFO: count ==12
[2025-04-12 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-12 07:45:04] Production.INFO: count ==23
[2025-04-12 07:45:04] Production.INFO: Date 2025-04-10
[2025-04-12 07:45:04] Production.ERROR: done
[2025-04-12 07:45:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890116') start
[2025-04-12 07:45:04] Production.INFO: Date 2025-04-11
[2025-04-12 07:45:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890116') end
[2025-04-12 07:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 07:45:04] Production.INFO: 1
[2025-04-12 07:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 07:45:04] Production.INFO: Date 2025-04-12
[2025-04-12 07:45:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:45:04] Production.INFO: ==4111== Releasing lock...
[2025-04-12 07:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 07:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 07:45:04] Production.INFO: ==4119== Releasing lock...
[2025-04-12 07:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 07:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 07:45:04] Production.INFO: Total Charge 0
[2025-04-12 07:45:05] Production.INFO: CreateAllLog End
[2025-04-12 07:45:05] Production.INFO: Account Balance End.
[2025-04-12 07:45:05] Production.ERROR: CronJobId end 12
[2025-04-12 07:45:05] Production.INFO: ==4115== Releasing lock...
[2025-04-12 07:45:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 07:45:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 07:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 04:45:05
[end_date_ymd] => 2025-04-12 07:45:05
[RateCDR] => 1
)
[2025-04-12 07:45:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 04:45:05' and `end` < '2025-04-12 07:45:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 07:45:11] Production.ERROR: CronJobId end10
[2025-04-12 07:45:11] Production.INFO: ==4113== Releasing lock...
[2025-04-12 07:45:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 07:45:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 07:45:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 07:45:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 07:45:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 07:45:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 07:45:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 07:45:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 07:45:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 07:45:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 07:45:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 07:45:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 07:45:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 07:45:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 07:45:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 07:45:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 07:45:15] Production.INFO: call_cost start
[2025-04-12 07:45:15] Production.INFO: call_cost end
[2025-04-12 07:45:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 07:45:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 07:45:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 07:45:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 07:45:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 07:45:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 07:45:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 07:45:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 07:45:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 07:45:15] Production.INFO: ==4109== Releasing lock...
[2025-04-12 07:45:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 07:45:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 07:45:18] Production.INFO: count ==113
[2025-04-12 07:45:18] Production.ERROR: pbx CDR StartTime 2025-04-12 04:45:05 - End Time 2025-04-12 07:45:05
[2025-04-12 07:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 07:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890117', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890117', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890117', 'tblTempVendorCDR_20' ) start
[2025-04-12 07:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890117', 'tblTempVendorCDR_20' ) end
[2025-04-12 07:45:18] Production.INFO: ProcessCDR(1,14890117,1,1,2)
[2025-04-12 07:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890117,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890117,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890117,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:45:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890117,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890117', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890117', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:45:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 07:45:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 07:45:21] Production.INFO: ==4117== Releasing lock...
[2025-04-12 07:45:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 07:45:21] Production.INFO: 29 MB #Memory Used#
[2025-04-12 12:46:01] Production.INFO: ==4176== Lock acquired, processing the job...
[2025-04-12 12:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 12:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 12:46:01] Production.INFO: neon service started
[2025-04-12 12:46:01] Production.INFO: neon service started
[2025-04-12 12:46:01] Production.INFO: ==4176== Releasing lock...
[2025-04-12 12:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 12:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 07:46:02] Production.INFO: ==4179== Lock acquired, processing the job...
[2025-04-12 07:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 07:46:02] Production.INFO: ==4179== Releasing lock...
[2025-04-12 07:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 07:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 11:46:02] Production.INFO: ==4181== Lock acquired, processing the job...
[2025-04-12 11:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 11:46:02] Production.INFO: ==4181== Releasing lock...
[2025-04-12 11:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 11:46:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 07:46:03] Production.INFO: ==4191== Lock acquired, processing the job...
[2025-04-12 07:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 07:46:03] Production.INFO: ==4193== Lock acquired, processing the job...
[2025-04-12 07:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 07:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 07:46:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 07:46:03] Production.INFO: ==4183== Lock acquired, processing the job...
[2025-04-12 07:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 07:46:03] Production.INFO: ==4187== Lock acquired, processing the job...
[2025-04-12 07:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 07:46:03] Production.INFO: ==4185== Lock acquired, processing the job...
[2025-04-12 07:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 07:46:03] Production.INFO: count ==12
[2025-04-12 07:46:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 07:46:03] Production.INFO: ==4189== Lock acquired, processing the job...
[2025-04-12 07:46:03] Production.INFO: count ==23
[2025-04-12 07:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 07:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 07:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 07:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 07:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 07:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890118') start
[2025-04-12 07:46:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 07:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890118') end
[2025-04-12 07:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 07:46:04] Production.INFO: 1
[2025-04-12 07:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 07:46:04] Production.ERROR: done
[2025-04-12 07:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 07:46:04] Production.INFO: ==4185== Releasing lock...
[2025-04-12 07:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 07:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 07:46:04] Production.INFO: Account Balance Start.
[2025-04-12 07:46:04] Production.INFO: CreateAllLog Start
[2025-04-12 07:46:04] Production.INFO: 117
[2025-04-12 07:46:04] Production.INFO: Date 2025-04-08
[2025-04-12 07:46:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:46:04] Production.INFO: Date 2025-04-09
[2025-04-12 07:46:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:46:04] Production.INFO: Date 2025-04-10
[2025-04-12 07:46:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:46:04] Production.INFO: ==4193== Releasing lock...
[2025-04-12 07:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 07:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 07:46:04] Production.INFO: Date 2025-04-11
[2025-04-12 07:46:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:46:04] Production.ERROR: done
[2025-04-12 07:46:04] Production.INFO: Date 2025-04-12
[2025-04-12 07:46:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:46:04] Production.INFO: Total Charge 0
[2025-04-12 07:46:04] Production.INFO: CreateAllLog End
[2025-04-12 07:46:04] Production.INFO: Account Balance End.
[2025-04-12 07:46:04] Production.ERROR: CronJobId end 12
[2025-04-12 07:46:04] Production.INFO: ==4189== Releasing lock...
[2025-04-12 07:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 07:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 07:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 04:46:05
[end_date_ymd] => 2025-04-12 07:46:05
[RateCDR] => 1
)
[2025-04-12 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-12 04:46:05' and `end` < '2025-04-12 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-12 07:46:12] Production.ERROR: CronJobId end10
[2025-04-12 07:46:12] Production.INFO: ==4187== Releasing lock...
[2025-04-12 07:46:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 07:46:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 07:46:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 07:46:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 07:46:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 07:46:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 07:46:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 07:46:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 07:46:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 07:46:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 07:46:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 07:46:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 07:46:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 07:46:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 07:46:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 07:46:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 07:46:15] Production.INFO: call_cost start
[2025-04-12 07:46:15] Production.INFO: call_cost end
[2025-04-12 07:46:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 07:46:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 07:46:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 07:46:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 07:46:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 07:46:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 07:46:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 07:46:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 07:46:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 07:46:16] Production.INFO: ==4183== Releasing lock...
[2025-04-12 07:46:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 07:46:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 07:46:18] Production.INFO: count ==113
[2025-04-12 07:46:18] Production.ERROR: pbx CDR StartTime 2025-04-12 04:46:05 - End Time 2025-04-12 07:46:05
[2025-04-12 07:46:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 07:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890122', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890122', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890122', 'tblTempVendorCDR_20' ) start
[2025-04-12 07:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890122', 'tblTempVendorCDR_20' ) end
[2025-04-12 07:46:18] Production.INFO: ProcessCDR(1,14890122,1,1,2)
[2025-04-12 07:46:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890122,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:46:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890122,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:46:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890122,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:46:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890122,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890122', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890122', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:46:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 07:46:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 07:46:21] Production.INFO: ==4191== Releasing lock...
[2025-04-12 07:46:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 07:46:21] Production.INFO: 29 MB #Memory Used#
[2025-04-12 12:47:02] Production.INFO: ==4246== Lock acquired, processing the job...
[2025-04-12 12:47:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 12:47:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 12:47:02] Production.INFO: neon service started
[2025-04-12 12:47:02] Production.INFO: neon service started
[2025-04-12 12:47:02] Production.INFO: ==4246== Releasing lock...
[2025-04-12 12:47:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 12:47:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 11:47:02] Production.INFO: ==4251== Lock acquired, processing the job...
[2025-04-12 11:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 11:47:02] Production.INFO: ==4251== Releasing lock...
[2025-04-12 11:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 11:47:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 07:47:02] Production.INFO: ==4249== Lock acquired, processing the job...
[2025-04-12 07:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 07:47:03] Production.INFO: ==4249== Releasing lock...
[2025-04-12 07:47:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 07:47:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 07:47:03] Production.INFO: ==4253== Lock acquired, processing the job...
[2025-04-12 07:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 07:47:04] Production.INFO: ==4259== Lock acquired, processing the job...
[2025-04-12 07:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 07:47:04] Production.INFO: ==4255== Lock acquired, processing the job...
[2025-04-12 07:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 07:47:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 07:47:04] Production.INFO: ==4257== Lock acquired, processing the job...
[2025-04-12 07:47:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 07:47:04] Production.INFO: ==4261== Lock acquired, processing the job...
[2025-04-12 07:47:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 07:47:04] Production.INFO: Account Balance Start.
[2025-04-12 07:47:04] Production.INFO: CreateAllLog Start
[2025-04-12 07:47:04] Production.INFO: 117
[2025-04-12 07:47:04] Production.INFO: Date 2025-04-08
[2025-04-12 07:47:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:47:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 07:47:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 07:47:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 07:47:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 07:47:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 07:47:04] Production.INFO: Date 2025-04-09
[2025-04-12 07:47:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:47:04] Production.INFO: Date 2025-04-10
[2025-04-12 07:47:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:47:04] Production.INFO: ==4263== Lock acquired, processing the job...
[2025-04-12 07:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 07:47:04] Production.INFO: Date 2025-04-11
[2025-04-12 07:47:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:47:04] Production.INFO: ==4255== Releasing lock...
[2025-04-12 07:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 07:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 07:47:04] Production.INFO: Date 2025-04-12
[2025-04-12 07:47:04] Production.INFO: Reseller ==> 0
[2025-04-12 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-12 07:47:04] Production.INFO: Total Charge 0
[2025-04-12 07:47:04] Production.INFO: count ==12
[2025-04-12 07:47:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 07:47:04] Production.INFO: CreateAllLog End
[2025-04-12 07:47:04] Production.INFO: count ==23
[2025-04-12 07:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890126') start
[2025-04-12 07:47:04] Production.ERROR: done
[2025-04-12 07:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 07:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890126') end
[2025-04-12 07:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 07:47:04] Production.INFO: 1
[2025-04-12 07:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 07:47:04] Production.INFO: ==4263== Releasing lock...
[2025-04-12 07:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 07:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 07:47:04] Production.ERROR: done
[2025-04-12 07:47:05] Production.INFO: Account Balance End.
[2025-04-12 07:47:05] Production.ERROR: CronJobId end 12
[2025-04-12 07:47:05] Production.INFO: ==4259== Releasing lock...
[2025-04-12 07:47:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 07:47:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 07:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 04:47:05
[end_date_ymd] => 2025-04-12 07:47:05
[RateCDR] => 1
)
[2025-04-12 07:47:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 04:47:05' and `end` < '2025-04-12 07:47:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 07:47:13] Production.ERROR: CronJobId end10
[2025-04-12 07:47:13] Production.INFO: ==4257== Releasing lock...
[2025-04-12 07:47:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 07:47:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 07:47:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 07:47:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 07:47:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 07:47:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 07:47:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 07:47:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 07:47:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 07:47:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 07:47:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 07:47:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 07:47:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 07:47:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 07:47:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 07:47:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 07:47:15] Production.INFO: call_cost start
[2025-04-12 07:47:15] Production.INFO: call_cost end
[2025-04-12 07:47:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 07:47:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 07:47:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 07:47:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 07:47:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 07:47:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 07:47:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 07:47:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 07:47:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 07:47:16] Production.INFO: ==4253== Releasing lock...
[2025-04-12 07:47:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 07:47:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 07:47:18] Production.INFO: count ==113
[2025-04-12 07:47:18] Production.ERROR: pbx CDR StartTime 2025-04-12 04:47:05 - End Time 2025-04-12 07:47:05
[2025-04-12 07:47:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 07:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890127', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890127', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890127', 'tblTempVendorCDR_20' ) start
[2025-04-12 07:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890127', 'tblTempVendorCDR_20' ) end
[2025-04-12 07:47:18] Production.INFO: ProcessCDR(1,14890127,1,1,2)
[2025-04-12 07:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890127,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:47:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890127,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:47:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890127,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:47:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890127,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890127', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890127', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:47:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 07:47:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 07:47:21] Production.INFO: ==4261== Releasing lock...
[2025-04-12 07:47:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 07:47:21] Production.INFO: 29 MB #Memory Used#
[2025-04-12 12:48:01] Production.INFO: ==4323== Lock acquired, processing the job...
[2025-04-12 12:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 12:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 12:48:01] Production.INFO: neon service started
[2025-04-12 12:48:01] Production.INFO: neon service started
[2025-04-12 12:48:01] Production.INFO: ==4323== Releasing lock...
[2025-04-12 12:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 12:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 11:48:02] Production.INFO: ==4327== Lock acquired, processing the job...
[2025-04-12 11:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 11:48:02] Production.INFO: ==4327== Releasing lock...
[2025-04-12 11:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 11:48:02] Production.INFO: 26 MB #Memory Used#
[2025-04-12 07:48:02] Production.INFO: ==4325== Lock acquired, processing the job...
[2025-04-12 07:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 07:48:02] Production.INFO: ==4325== Releasing lock...
[2025-04-12 07:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 07:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 07:48:03] Production.INFO: ==4334== Lock acquired, processing the job...
[2025-04-12 07:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 07:48:03] Production.INFO: ==4340== Lock acquired, processing the job...
[2025-04-12 07:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 07:48:03] Production.INFO: ==4330== Lock acquired, processing the job...
[2025-04-12 07:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 07:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 07:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 07:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 07:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 07:48:03] Production.INFO: ==4332== Lock acquired, processing the job...
[2025-04-12 07:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 07:48:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 07:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 07:48:03] Production.INFO: count ==12
[2025-04-12 07:48:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 07:48:03] Production.INFO: count ==23
[2025-04-12 07:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890128') start
[2025-04-12 07:48:03] Production.INFO: ==4338== Lock acquired, processing the job...
[2025-04-12 07:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 07:48:03] Production.INFO: ==4336== Lock acquired, processing the job...
[2025-04-12 07:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 07:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890128') end
[2025-04-12 07:48:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 07:48:03] Production.INFO: 1
[2025-04-12 07:48:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 07:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 07:48:03] Production.INFO: ==4340== Releasing lock...
[2025-04-12 07:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 07:48:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 07:48:03] Production.INFO: Account Balance Start.
[2025-04-12 07:48:03] Production.INFO: CreateAllLog Start
[2025-04-12 07:48:03] Production.INFO: 117
[2025-04-12 07:48:03] Production.INFO: Date 2025-04-08
[2025-04-12 07:48:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:48:04] Production.ERROR: done
[2025-04-12 07:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 07:48:04] Production.INFO: Date 2025-04-09
[2025-04-12 07:48:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:48:04] Production.INFO: ==4332== Releasing lock...
[2025-04-12 07:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 07:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 07:48:04] Production.INFO: Date 2025-04-10
[2025-04-12 07:48:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:48:04] Production.ERROR: done
[2025-04-12 07:48:04] Production.INFO: Date 2025-04-11
[2025-04-12 07:48:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:48:04] Production.INFO: Date 2025-04-12
[2025-04-12 07:48:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:48:04] Production.INFO: Total Charge 0
[2025-04-12 07:48:04] Production.INFO: CreateAllLog End
[2025-04-12 07:48:04] Production.INFO: Account Balance End.
[2025-04-12 07:48:04] Production.ERROR: CronJobId end 12
[2025-04-12 07:48:04] Production.INFO: ==4336== Releasing lock...
[2025-04-12 07:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 07:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 07:48:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 04:48:04
[end_date_ymd] => 2025-04-12 07:48:04
[RateCDR] => 1
)
[2025-04-12 07:48:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 04:48:04' and `end` < '2025-04-12 07:48:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 07:48:11] Production.ERROR: CronJobId end10
[2025-04-12 07:48:11] Production.INFO: ==4334== Releasing lock...
[2025-04-12 07:48:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 07:48:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 07:48:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 07:48:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 07:48:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 07:48:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 07:48:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 07:48:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 07:48:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 07:48:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 07:48:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 07:48:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 07:48:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 07:48:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 07:48:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 07:48:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 07:48:14] Production.INFO: call_cost start
[2025-04-12 07:48:14] Production.INFO: call_cost end
[2025-04-12 07:48:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 07:48:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 07:48:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 07:48:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 07:48:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 07:48:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 07:48:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 07:48:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 07:48:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 07:48:15] Production.INFO: ==4330== Releasing lock...
[2025-04-12 07:48:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 07:48:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 07:48:17] Production.INFO: count ==112
[2025-04-12 07:48:17] Production.ERROR: pbx CDR StartTime 2025-04-12 04:48:04 - End Time 2025-04-12 07:48:04
[2025-04-12 07:48:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 07:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890132', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890132', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890132', 'tblTempVendorCDR_20' ) start
[2025-04-12 07:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890132', 'tblTempVendorCDR_20' ) end
[2025-04-12 07:48:17] Production.INFO: ProcessCDR(1,14890132,1,1,2)
[2025-04-12 07:48:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890132,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:48:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890132,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:48:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890132,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:48:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890132,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890132', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890132', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:48:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 07:48:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 07:48:21] Production.INFO: ==4338== Releasing lock...
[2025-04-12 07:48:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 07:48:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 12:49:02] Production.INFO: ==4395== Lock acquired, processing the job...
[2025-04-12 12:49:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 12:49:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 12:49:02] Production.INFO: neon service started
[2025-04-12 12:49:02] Production.INFO: neon service started
[2025-04-12 12:49:02] Production.INFO: ==4395== Releasing lock...
[2025-04-12 12:49:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 12:49:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 07:49:02] Production.INFO: ==4397== Lock acquired, processing the job...
[2025-04-12 07:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 11:49:02] Production.INFO: ==4399== Lock acquired, processing the job...
[2025-04-12 11:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 11:49:02] Production.INFO: ==4399== Releasing lock...
[2025-04-12 11:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 11:49:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 07:49:02] Production.INFO: ==4397== Releasing lock...
[2025-04-12 07:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 07:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 07:49:03] Production.INFO: ==4410== Lock acquired, processing the job...
[2025-04-12 07:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 07:49:03] Production.INFO: ==4412== Lock acquired, processing the job...
[2025-04-12 07:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 07:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 07:49:03] Production.INFO: ==4404== Lock acquired, processing the job...
[2025-04-12 07:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 07:49:03] Production.INFO: ==4402== Lock acquired, processing the job...
[2025-04-12 07:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 07:49:03] Production.INFO: ==4406== Lock acquired, processing the job...
[2025-04-12 07:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 07:49:03] Production.INFO: ==4408== Lock acquired, processing the job...
[2025-04-12 07:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 07:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 07:49:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 07:49:04] Production.INFO: count ==12
[2025-04-12 07:49:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 07:49:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 07:49:04] Production.INFO: count ==23
[2025-04-12 07:49:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 07:49:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 07:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890133') start
[2025-04-12 07:49:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 07:49:04] Production.INFO: ==4404== Releasing lock...
[2025-04-12 07:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 07:49:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 07:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890133') end
[2025-04-12 07:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 07:49:04] Production.INFO: 1
[2025-04-12 07:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 07:49:04] Production.ERROR: done
[2025-04-12 07:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 07:49:04] Production.INFO: Account Balance Start.
[2025-04-12 07:49:04] Production.INFO: CreateAllLog Start
[2025-04-12 07:49:04] Production.INFO: 117
[2025-04-12 07:49:04] Production.INFO: ==4412== Releasing lock...
[2025-04-12 07:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 07:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 07:49:04] Production.INFO: Date 2025-04-08
[2025-04-12 07:49:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:49:04] Production.INFO: Date 2025-04-09
[2025-04-12 07:49:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:49:04] Production.INFO: Date 2025-04-10
[2025-04-12 07:49:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:49:04] Production.INFO: Date 2025-04-11
[2025-04-12 07:49:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:49:04] Production.INFO: Date 2025-04-12
[2025-04-12 07:49:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:49:04] Production.ERROR: done
[2025-04-12 07:49:04] Production.INFO: Total Charge 0
[2025-04-12 07:49:04] Production.INFO: CreateAllLog End
[2025-04-12 07:49:04] Production.INFO: Account Balance End.
[2025-04-12 07:49:04] Production.ERROR: CronJobId end 12
[2025-04-12 07:49:04] Production.INFO: ==4408== Releasing lock...
[2025-04-12 07:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 07:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 07:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 04:49:05
[end_date_ymd] => 2025-04-12 07:49:05
[RateCDR] => 1
)
[2025-04-12 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-12 04:49:05' and `end` < '2025-04-12 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-12 07:49:12] Production.ERROR: CronJobId end10
[2025-04-12 07:49:12] Production.INFO: ==4406== Releasing lock...
[2025-04-12 07:49:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 07:49:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 07:49:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 07:49:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 07:49:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 07:49:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 07:49:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 07:49:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 07:49:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 07:49:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 07:49:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 07:49:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 07:49:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 07:49:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 07:49:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 07:49:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 07:49:15] Production.INFO: call_cost start
[2025-04-12 07:49:15] Production.INFO: call_cost end
[2025-04-12 07:49:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 07:49:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 07:49:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 07:49:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 07:49:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 07:49:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 07:49:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 07:49:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 07:49:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 07:49:16] Production.INFO: ==4402== Releasing lock...
[2025-04-12 07:49:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 07:49:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 07:49:18] Production.INFO: count ==112
[2025-04-12 07:49:18] Production.ERROR: pbx CDR StartTime 2025-04-12 04:49:05 - End Time 2025-04-12 07:49:05
[2025-04-12 07:49:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 07:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890137', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890137', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890137', 'tblTempVendorCDR_20' ) start
[2025-04-12 07:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890137', 'tblTempVendorCDR_20' ) end
[2025-04-12 07:49:18] Production.INFO: ProcessCDR(1,14890137,1,1,2)
[2025-04-12 07:49:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890137,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:49:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890137,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:49:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890137,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:49:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890137,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890137', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890137', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:49:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 07:49:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 07:49:21] Production.INFO: ==4410== Releasing lock...
[2025-04-12 07:49:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 07:49:21] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 12:50:01] Production.INFO: ==4476== Lock acquired, processing the job...
[2025-04-12 12:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 12:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 12:50:01] Production.INFO: neon service started
[2025-04-12 12:50:01] Production.INFO: neon service started
[2025-04-12 12:50:01] Production.INFO: ==4476== Releasing lock...
[2025-04-12 12:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 12:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 07:50:01] Production.INFO: ==4478== Lock acquired, processing the job...
[2025-04-12 07:50:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 11:50:02] Production.INFO: ==4480== Lock acquired, processing the job...
[2025-04-12 11:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 07:50:02] Production.INFO: ==4478== Releasing lock...
[2025-04-12 07:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 07:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 11:50:02] Production.INFO: ==4480== Releasing lock...
[2025-04-12 11:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 11:50:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 07:50:03] Production.INFO: ==4483== Lock acquired, processing the job...
[2025-04-12 07:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 07:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 07:50:03] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 07:50:03] Production.INFO: ==4483== Releasing lock...
[2025-04-12 07:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 07:50:03] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 07:50:03] Production.INFO: ==4487== Lock acquired, processing the job...
[2025-04-12 07:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 07:50:03] Production.INFO: ==4489== Lock acquired, processing the job...
[2025-04-12 07:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 07:50:03] Production.INFO: ==4485== Lock acquired, processing the job...
[2025-04-12 07:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 07:50:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 07:50:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 07:50:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 07:50:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 07:50:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 07:50:03] Production.INFO: ==4491== Lock acquired, processing the job...
[2025-04-12 07:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 07:50:03] Production.INFO: ==4493== Lock acquired, processing the job...
[2025-04-12 07:50:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 07:50:03] Production.INFO: ==4497== Lock acquired, processing the job...
[2025-04-12 07:50:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 07:50:03] Production.INFO: Account Balance Start.
[2025-04-12 07:50:03] Production.INFO: CreateAllLog Start
[2025-04-12 07:50:03] Production.INFO: 117
[2025-04-12 07:50:03] Production.INFO: Date 2025-04-08
[2025-04-12 07:50:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 07:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 07:50:04] Production.INFO: Date 2025-04-09
[2025-04-12 07:50:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:50:04] Production.INFO: count ==12
[2025-04-12 07:50:04] Production.INFO: ==4495== Lock acquired, processing the job...
[2025-04-12 07:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 07:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 07:50:04] Production.INFO: count ==23
[2025-04-12 07:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890141') start
[2025-04-12 07:50:04] Production.INFO: Date 2025-04-10
[2025-04-12 07:50:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:50:04] Production.INFO: ==4487== Releasing lock...
[2025-04-12 07:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 07:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 07:50:04] Production.INFO: Date 2025-04-11
[2025-04-12 07:50:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 07:50:04] Production.INFO: Date 2025-04-12
[2025-04-12 07:50:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890141') end
[2025-04-12 07:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 07:50:04] Production.INFO: 1
[2025-04-12 07:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 07:50:04] Production.INFO: Total Charge 0
[2025-04-12 07:50:04] Production.INFO: CreateAllLog End
[2025-04-12 07:50:04] Production.INFO: ==4497== Releasing lock...
[2025-04-12 07:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 07:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 07:50:04] Production.ERROR: done
[2025-04-12 07:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 07:50:04] Production.ERROR: done
[2025-04-12 07:50:04] Production.ERROR: done
[2025-04-12 07:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 07:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14890143', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 07:50:05] Production.INFO: Account Balance End.
[2025-04-12 07:50:05] Production.ERROR: CronJobId end 12
[2025-04-12 07:50:05] Production.INFO: ==4491== Releasing lock...
[2025-04-12 07:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 07:50:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 07:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 04:50:06
[end_date_ymd] => 2025-04-12 07:50:06
[RateCDR] => 1
)
[2025-04-12 07:50:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 04:50:06' and `end` < '2025-04-12 07:50:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 07:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14890143', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 07:50:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 07:50:09] Production.INFO: ProcessCDR(1,14890143,1,1,2)
[2025-04-12 07:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14890143,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14890143,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:50:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 07:50:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 07:50:09] Production.INFO: ==4495== Releasing lock...
[2025-04-12 07:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 07:50:09] Production.INFO: 26 MB #Memory Used#
[2025-04-12 07:50:14] Production.ERROR: CronJobId end10
[2025-04-12 07:50:14] Production.INFO: ==4489== Releasing lock...
[2025-04-12 07:50:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 07:50:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 07:50:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 07:50:16] Production.INFO: ============== Balance Warning START===========
[2025-04-12 07:50:16] Production.INFO: ============== Balance Warning END===========
[2025-04-12 07:50:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 07:50:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 07:50:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 07:50:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 07:50:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 07:50:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 07:50:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 07:50:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 07:50:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 07:50:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 07:50:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 07:50:16] Production.INFO: call_cost start
[2025-04-12 07:50:16] Production.INFO: call_cost end
[2025-04-12 07:50:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 07:50:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 07:50:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 07:50:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 07:50:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 07:50:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 07:50:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 07:50:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 07:50:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 07:50:17] Production.INFO: ==4485== Releasing lock...
[2025-04-12 07:50:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 07:50:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 07:50:18] Production.INFO: count ==122
[2025-04-12 07:50:18] Production.ERROR: pbx CDR StartTime 2025-04-12 04:50:06 - End Time 2025-04-12 07:50:06
[2025-04-12 07:50:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 07:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890142', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890142', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890142', 'tblTempVendorCDR_20' ) start
[2025-04-12 07:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890142', 'tblTempVendorCDR_20' ) end
[2025-04-12 07:50:18] Production.INFO: ProcessCDR(1,14890142,1,1,2)
[2025-04-12 07:50:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890142,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:50:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890142,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:50:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890142,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:50:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890142,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:50:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890142', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:50:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890142', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:50:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 07:50:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 07:50:23] Production.INFO: ==4493== Releasing lock...
[2025-04-12 07:50:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 07:50:23] Production.INFO: 29 MB #Memory Used#
[2025-04-12 12:51:02] Production.INFO: ==4554== Lock acquired, processing the job...
[2025-04-12 12:51:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 12:51:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 12:51:02] Production.INFO: neon service started
[2025-04-12 12:51:02] Production.INFO: neon service started
[2025-04-12 12:51:02] Production.INFO: ==4554== Releasing lock...
[2025-04-12 12:51:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 12:51:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 07:51:02] Production.INFO: ==4556== Lock acquired, processing the job...
[2025-04-12 07:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 11:51:02] Production.INFO: ==4558== Lock acquired, processing the job...
[2025-04-12 11:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 11:51:02] Production.INFO: ==4558== Releasing lock...
[2025-04-12 11:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 11:51:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 07:51:02] Production.INFO: ==4556== Releasing lock...
[2025-04-12 07:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 07:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 07:51:03] Production.INFO: ==4567== Lock acquired, processing the job...
[2025-04-12 07:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 07:51:03] Production.INFO: ==4571== Lock acquired, processing the job...
[2025-04-12 07:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 07:51:03] Production.INFO: Account Balance Start.
[2025-04-12 07:51:03] Production.INFO: CreateAllLog Start
[2025-04-12 07:51:03] Production.INFO: 117
[2025-04-12 07:51:03] Production.INFO: Date 2025-04-08
[2025-04-12 07:51:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:51:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 07:51:03] Production.INFO: Date 2025-04-09
[2025-04-12 07:51:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:51:03] Production.INFO: count ==12
[2025-04-12 07:51:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 07:51:03] Production.INFO: count ==23
[2025-04-12 07:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890145') start
[2025-04-12 07:51:03] Production.INFO: Date 2025-04-10
[2025-04-12 07:51:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:51:03] Production.INFO: Date 2025-04-11
[2025-04-12 07:51:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890145') end
[2025-04-12 07:51:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 07:51:03] Production.INFO: 1
[2025-04-12 07:51:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 07:51:03] Production.INFO: ==4561== Lock acquired, processing the job...
[2025-04-12 07:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 07:51:03] Production.INFO: ==4571== Releasing lock...
[2025-04-12 07:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 07:51:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 07:51:03] Production.INFO: Date 2025-04-12
[2025-04-12 07:51:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:51:03] Production.INFO: ==4563== Lock acquired, processing the job...
[2025-04-12 07:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 07:51:03] Production.INFO: Total Charge 0
[2025-04-12 07:51:03] Production.INFO: ==4569== Lock acquired, processing the job...
[2025-04-12 07:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 07:51:03] Production.INFO: ==4565== Lock acquired, processing the job...
[2025-04-12 07:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 07:51:03] Production.INFO: CreateAllLog End
[2025-04-12 07:51:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 07:51:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 07:51:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 07:51:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 07:51:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 07:51:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 07:51:04] Production.INFO: ==4563== Releasing lock...
[2025-04-12 07:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 07:51:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 07:51:04] Production.INFO: Account Balance End.
[2025-04-12 07:51:04] Production.ERROR: CronJobId end 12
[2025-04-12 07:51:04] Production.INFO: ==4567== Releasing lock...
[2025-04-12 07:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 07:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 07:51:04] Production.ERROR: done
[2025-04-12 07:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 07:51:04] Production.ERROR: done
[2025-04-12 07:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 04:51:05
[end_date_ymd] => 2025-04-12 07:51:05
[RateCDR] => 1
)
[2025-04-12 07:51:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 04:51:05' and `end` < '2025-04-12 07:51:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 07:51:12] Production.ERROR: CronJobId end10
[2025-04-12 07:51:12] Production.INFO: ==4565== Releasing lock...
[2025-04-12 07:51:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 07:51:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 07:51:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 07:51:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 07:51:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 07:51:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 07:51:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 07:51:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 07:51:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 07:51:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 07:51:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 07:51:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 07:51:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 07:51:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 07:51:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 07:51:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 07:51:14] Production.INFO: call_cost start
[2025-04-12 07:51:14] Production.INFO: call_cost end
[2025-04-12 07:51:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 07:51:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 07:51:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 07:51:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 07:51:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 07:51:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 07:51:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 07:51:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 07:51:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 07:51:15] Production.INFO: ==4561== Releasing lock...
[2025-04-12 07:51:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 07:51:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 07:51:18] Production.INFO: count ==122
[2025-04-12 07:51:18] Production.ERROR: pbx CDR StartTime 2025-04-12 04:51:05 - End Time 2025-04-12 07:51:05
[2025-04-12 07:51:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 07:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890148', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890148', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890148', 'tblTempVendorCDR_20' ) start
[2025-04-12 07:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890148', 'tblTempVendorCDR_20' ) end
[2025-04-12 07:51:18] Production.INFO: ProcessCDR(1,14890148,1,1,2)
[2025-04-12 07:51:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890148,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:51:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890148,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:51:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890148,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:51:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890148,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890148', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890148', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:51:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 07:51:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 07:51:22] Production.INFO: ==4569== Releasing lock...
[2025-04-12 07:51:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 07:51:22] Production.INFO: 29 MB #Memory Used#
[2025-04-12 12:52:01] Production.INFO: ==4673== Lock acquired, processing the job...
[2025-04-12 12:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 12:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 12:52:01] Production.INFO: neon service started
[2025-04-12 12:52:01] Production.INFO: neon service started
[2025-04-12 12:52:01] Production.INFO: ==4673== Releasing lock...
[2025-04-12 12:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 12:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 07:52:02] Production.INFO: ==4675== Lock acquired, processing the job...
[2025-04-12 07:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 07:52:02] Production.INFO: ==4675== Releasing lock...
[2025-04-12 07:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 07:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 11:52:02] Production.INFO: ==4677== Lock acquired, processing the job...
[2025-04-12 11:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 11:52:02] Production.INFO: ==4677== Releasing lock...
[2025-04-12 11:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 11:52:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 07:52:03] Production.INFO: ==4685== Lock acquired, processing the job...
[2025-04-12 07:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 07:52:03] Production.INFO: ==4688== Lock acquired, processing the job...
[2025-04-12 07:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 07:52:03] Production.INFO: Account Balance Start.
[2025-04-12 07:52:03] Production.INFO: CreateAllLog Start
[2025-04-12 07:52:03] Production.INFO: 117
[2025-04-12 07:52:03] Production.INFO: Date 2025-04-08
[2025-04-12 07:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 07:52:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:52:03] Production.INFO: ==4679== Lock acquired, processing the job...
[2025-04-12 07:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 07:52:03] Production.INFO: ==4681== Lock acquired, processing the job...
[2025-04-12 07:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 07:52:03] Production.INFO: Date 2025-04-09
[2025-04-12 07:52:03] Production.INFO: ==4683== Lock acquired, processing the job...
[2025-04-12 07:52:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 07:52:03] Production.INFO: Date 2025-04-10
[2025-04-12 07:52:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:52:03] Production.INFO: ==4690== Lock acquired, processing the job...
[2025-04-12 07:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 07:52:03] Production.INFO: Date 2025-04-11
[2025-04-12 07:52:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:52:03] Production.INFO: Date 2025-04-12
[2025-04-12 07:52:03] Production.INFO: Reseller ==> 0
[2025-04-12 07: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-12 07:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 07:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 07:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 07:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 07:52:03] Production.INFO: count ==12
[2025-04-12 07:52:03] Production.INFO: Total Charge 0
[2025-04-12 07: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-12 07:52:03] Production.INFO: count ==23
[2025-04-12 07:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 07:52:03] Production.INFO: CreateAllLog End
[2025-04-12 07:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890151') start
[2025-04-12 07:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890151') end
[2025-04-12 07:52:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 07:52:03] Production.INFO: 1
[2025-04-12 07:52:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 07:52:03] Production.ERROR: done
[2025-04-12 07:52:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 07:52:03] Production.INFO: ==4690== Releasing lock...
[2025-04-12 07:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 07:52:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 07:52:04] Production.ERROR: done
[2025-04-12 07:52:04] Production.INFO: Account Balance End.
[2025-04-12 07:52:04] Production.INFO: ==4681== Releasing lock...
[2025-04-12 07:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 07:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 07:52:04] Production.ERROR: CronJobId end 12
[2025-04-12 07:52:04] Production.INFO: ==4685== Releasing lock...
[2025-04-12 07:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 07:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 07:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 04:52:05
[end_date_ymd] => 2025-04-12 07:52:05
[RateCDR] => 1
)
[2025-04-12 07:52:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 04:52:05' and `end` < '2025-04-12 07:52:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 07:52:11] Production.ERROR: CronJobId end10
[2025-04-12 07:52:11] Production.INFO: ==4683== Releasing lock...
[2025-04-12 07:52:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 07:52:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 07:52:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 07:52:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 07:52:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 07:52:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 07:52:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 07:52:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 07:52:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 07:52:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 07:52:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 07:52:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 07:52:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 07:52:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 07:52:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 07:52:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 07:52:15] Production.INFO: call_cost start
[2025-04-12 07:52:15] Production.INFO: call_cost end
[2025-04-12 07:52:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 07:52:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 07:52:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 07:52:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 07:52:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 07:52:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 07:52:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 07:52:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 07:52:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 07:52:16] Production.INFO: ==4679== Releasing lock...
[2025-04-12 07:52:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 07:52:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 07:52:18] Production.INFO: count ==121
[2025-04-12 07:52:18] Production.ERROR: pbx CDR StartTime 2025-04-12 04:52:05 - End Time 2025-04-12 07:52:05
[2025-04-12 07:52:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 07:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890153', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890153', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890153', 'tblTempVendorCDR_20' ) start
[2025-04-12 07:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890153', 'tblTempVendorCDR_20' ) end
[2025-04-12 07:52:18] Production.INFO: ProcessCDR(1,14890153,1,1,2)
[2025-04-12 07:52:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890153,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:52:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890153,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:52:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890153,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:52:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890153,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890153', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890153', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:52:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 07:52:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 07:52:21] Production.INFO: ==4688== Releasing lock...
[2025-04-12 07:52:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 07:52:21] Production.INFO: 29 MB #Memory Used#
[2025-04-12 12:53:02] Production.INFO: ==4750== Lock acquired, processing the job...
[2025-04-12 12:53:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 12:53:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 12:53:02] Production.INFO: neon service started
[2025-04-12 12:53:02] Production.INFO: neon service started
[2025-04-12 12:53:02] Production.INFO: ==4750== Releasing lock...
[2025-04-12 12:53:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 12:53:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 07:53:02] Production.INFO: ==4753== Lock acquired, processing the job...
[2025-04-12 07:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 11:53:02] Production.INFO: ==4755== Lock acquired, processing the job...
[2025-04-12 11:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 11:53:02] Production.INFO: ==4755== Releasing lock...
[2025-04-12 11:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 11:53:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 07:53:03] Production.INFO: ==4753== Releasing lock...
[2025-04-12 07:53:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 07:53:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 07:53:03] Production.INFO: ==4757== Lock acquired, processing the job...
[2025-04-12 07:53:03] Production.INFO: ==4761== Lock acquired, processing the job...
[2025-04-12 07:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 07:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 07:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 07:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 07:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 07:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 07:53:04] Production.INFO: ==4765== Lock acquired, processing the job...
[2025-04-12 07:53:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 07:53:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 07:53:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 07:53:04] Production.INFO: ==4759== Lock acquired, processing the job...
[2025-04-12 07:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 07:53:04] Production.INFO: ==4763== Lock acquired, processing the job...
[2025-04-12 07:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 07:53:04] Production.INFO: ==4767== Lock acquired, processing the job...
[2025-04-12 07:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 07:53:04] Production.INFO: Account Balance Start.
[2025-04-12 07:53:04] Production.INFO: CreateAllLog Start
[2025-04-12 07:53:04] Production.INFO: 117
[2025-04-12 07:53:04] Production.INFO: Date 2025-04-08
[2025-04-12 07:53:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:53:04] Production.INFO: Date 2025-04-09
[2025-04-12 07:53:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:53:04] Production.INFO: Date 2025-04-10
[2025-04-12 07:53:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:53:04] Production.INFO: Date 2025-04-11
[2025-04-12 07:53:04] Production.ERROR: done
[2025-04-12 07:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 07:53:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:53:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 07:53:04] Production.INFO: count ==12
[2025-04-12 07:53:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 07:53:04] Production.INFO: Date 2025-04-12
[2025-04-12 07:53:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:53:04] Production.INFO: count ==23
[2025-04-12 07:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890157') start
[2025-04-12 07:53:04] Production.INFO: Total Charge 0
[2025-04-12 07:53:04] Production.ERROR: done
[2025-04-12 07:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890157') end
[2025-04-12 07:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 07:53:04] Production.INFO: 1
[2025-04-12 07:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 07:53:04] Production.INFO: CreateAllLog End
[2025-04-12 07:53:04] Production.INFO: ==4759== Releasing lock...
[2025-04-12 07:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 07:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 07:53:05] Production.INFO: Account Balance End.
[2025-04-12 07:53:05] Production.INFO: ==4767== Releasing lock...
[2025-04-12 07:53:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 07:53:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 07:53:05] Production.ERROR: CronJobId end 12
[2025-04-12 07:53:05] Production.INFO: ==4763== Releasing lock...
[2025-04-12 07:53:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 07:53:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 07:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 04:53:05
[end_date_ymd] => 2025-04-12 07:53:05
[RateCDR] => 1
)
[2025-04-12 07:53:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 04:53:05' and `end` < '2025-04-12 07:53:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 07:53:12] Production.ERROR: CronJobId end10
[2025-04-12 07:53:12] Production.INFO: ==4761== Releasing lock...
[2025-04-12 07:53:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 07:53:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 07:53:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 07:53:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 07:53:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 07:53:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 07:53:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 07:53:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 07:53:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 07:53:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 07:53:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 07:53:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 07:53:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 07:53:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 07:53:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 07:53:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 07:53:15] Production.INFO: call_cost start
[2025-04-12 07:53:15] Production.INFO: call_cost end
[2025-04-12 07:53:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 07:53:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 07:53:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 07:53:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 07:53:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 07:53:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 07:53:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 07:53:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 07:53:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 07:53:16] Production.INFO: ==4757== Releasing lock...
[2025-04-12 07:53:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 07:53:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 07:53:18] Production.INFO: count ==121
[2025-04-12 07:53:18] Production.ERROR: pbx CDR StartTime 2025-04-12 04:53:05 - End Time 2025-04-12 07:53:05
[2025-04-12 07:53:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 07:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890158', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890158', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890158', 'tblTempVendorCDR_20' ) start
[2025-04-12 07:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890158', 'tblTempVendorCDR_20' ) end
[2025-04-12 07:53:18] Production.INFO: ProcessCDR(1,14890158,1,1,2)
[2025-04-12 07:53:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890158,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:53:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890158,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:53:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890158,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:53:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890158,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890158', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890158', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:53:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 07:53:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 07:53:22] Production.INFO: ==4765== Releasing lock...
[2025-04-12 07:53:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 07:53:22] Production.INFO: 29 MB #Memory Used#
[2025-04-12 12:54:01] Production.INFO: ==4825== Lock acquired, processing the job...
[2025-04-12 12:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 12:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 12:54:01] Production.INFO: neon service started
[2025-04-12 12:54:01] Production.INFO: neon service started
[2025-04-12 12:54:01] Production.INFO: ==4825== Releasing lock...
[2025-04-12 12:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 12:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 07:54:02] Production.INFO: ==4828== Lock acquired, processing the job...
[2025-04-12 07:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 11:54:02] Production.INFO: ==4830== Lock acquired, processing the job...
[2025-04-12 11:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 11:54:02] Production.INFO: ==4830== Releasing lock...
[2025-04-12 11:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 11:54:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 07:54:02] Production.INFO: ==4828== Releasing lock...
[2025-04-12 07:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 07:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 07:54:03] Production.INFO: ==4840== Lock acquired, processing the job...
[2025-04-12 07:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 07:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 07:54:03] Production.INFO: ==4842== Lock acquired, processing the job...
[2025-04-12 07:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 07:54:03] Production.INFO: ==4832== Lock acquired, processing the job...
[2025-04-12 07:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 07:54:03] Production.INFO: ==4834== Lock acquired, processing the job...
[2025-04-12 07:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 07:54:03] Production.INFO: ==4836== Lock acquired, processing the job...
[2025-04-12 07:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 07:54:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 07:54:03] Production.INFO: ==4838== Lock acquired, processing the job...
[2025-04-12 07:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 07:54:03] Production.INFO: count ==12
[2025-04-12 07:54:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 07:54:03] Production.INFO: count ==23
[2025-04-12 07:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890159') start
[2025-04-12 07:54:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 07:54:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 07:54:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 07:54:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 07:54:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 07:54:04] Production.ERROR: done
[2025-04-12 07:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 07:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890159') end
[2025-04-12 07:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 07:54:04] Production.INFO: 1
[2025-04-12 07:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 07:54:04] Production.INFO: Account Balance Start.
[2025-04-12 07:54:04] Production.INFO: CreateAllLog Start
[2025-04-12 07:54:04] Production.INFO: 117
[2025-04-12 07:54:04] Production.INFO: ==4834== Releasing lock...
[2025-04-12 07:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 07:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 07:54:04] Production.INFO: Date 2025-04-08
[2025-04-12 07:54:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:54:04] Production.INFO: Date 2025-04-09
[2025-04-12 07:54:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:54:04] Production.INFO: Date 2025-04-10
[2025-04-12 07:54:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:54:04] Production.INFO: Date 2025-04-11
[2025-04-12 07:54:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:54:04] Production.INFO: ==4842== Releasing lock...
[2025-04-12 07:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 07:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 07:54:04] Production.ERROR: done
[2025-04-12 07:54:04] Production.INFO: Date 2025-04-12
[2025-04-12 07:54:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:54:04] Production.INFO: Total Charge 0
[2025-04-12 07:54:04] Production.INFO: CreateAllLog End
[2025-04-12 07:54:04] Production.INFO: Account Balance End.
[2025-04-12 07:54:04] Production.ERROR: CronJobId end 12
[2025-04-12 07:54:04] Production.INFO: ==4838== Releasing lock...
[2025-04-12 07:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 07:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 07:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 04:54:05
[end_date_ymd] => 2025-04-12 07:54:05
[RateCDR] => 1
)
[2025-04-12 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-12 04:54:05' and `end` < '2025-04-12 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-12 07:54:12] Production.ERROR: CronJobId end10
[2025-04-12 07:54:12] Production.INFO: ==4836== Releasing lock...
[2025-04-12 07:54:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 07:54:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 07:54:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 07:54:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 07:54:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 07:54:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 07:54:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 07:54:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 07:54:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 07:54:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 07:54:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 07:54:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 07:54:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 07:54:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 07:54:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 07:54:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 07:54:14] Production.INFO: call_cost start
[2025-04-12 07:54:14] Production.INFO: call_cost end
[2025-04-12 07:54:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 07:54:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 07:54:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 07:54:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 07:54:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 07:54:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 07:54:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 07:54:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 07:54:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 07:54:15] Production.INFO: ==4832== Releasing lock...
[2025-04-12 07:54:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 07:54:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 07:54:18] Production.INFO: count ==122
[2025-04-12 07:54:18] Production.ERROR: pbx CDR StartTime 2025-04-12 04:54:05 - End Time 2025-04-12 07:54:05
[2025-04-12 07:54:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 07:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890163', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890163', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890163', 'tblTempVendorCDR_20' ) start
[2025-04-12 07:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890163', 'tblTempVendorCDR_20' ) end
[2025-04-12 07:54:18] Production.INFO: ProcessCDR(1,14890163,1,1,2)
[2025-04-12 07:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890163,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:54:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890163,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:54:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890163,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:54:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890163,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:54:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890163', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:54:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890163', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:54:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 07:54:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 07:54:23] Production.INFO: ==4840== Releasing lock...
[2025-04-12 07:54:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 07:54:23] Production.INFO: 29 MB #Memory Used#
[2025-04-12 12:55:02] Production.INFO: ==4902== Lock acquired, processing the job...
[2025-04-12 12:55:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 12:55:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 12:55:02] Production.INFO: neon service started
[2025-04-12 12:55:02] Production.INFO: neon service started
[2025-04-12 12:55:02] Production.INFO: ==4902== Releasing lock...
[2025-04-12 12:55:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 12:55:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 07:55:02] Production.INFO: ==4904== Lock acquired, processing the job...
[2025-04-12 07:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 07:55:02] Production.INFO: ==4904== Releasing lock...
[2025-04-12 07:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 07:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 11:55:03] Production.INFO: ==4906== Lock acquired, processing the job...
[2025-04-12 11:55:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 11:55:03] Production.INFO: ==4906== Releasing lock...
[2025-04-12 11:55:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 11:55:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 07:55:03] Production.INFO: ==4909== Lock acquired, processing the job...
[2025-04-12 07:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 07:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 07:55:03] Production.INFO: ==4919== Lock acquired, processing the job...
[2025-04-12 07:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 07:55:04] Production.INFO: ==4913== Lock acquired, processing the job...
[2025-04-12 07:55:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 07:55:04] Production.INFO: ==4911== Lock acquired, processing the job...
[2025-04-12 07:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 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-12 07:55:04] Production.INFO: count ==12
[2025-04-12 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-12 07:55:04] Production.INFO: count ==23
[2025-04-12 07:55:04] Production.INFO: ==4915== Lock acquired, processing the job...
[2025-04-12 07:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 07:55:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 07:55:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 07:55:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 07:55:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 07:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890165') start
[2025-04-12 07:55:04] Production.INFO: ==4917== Lock acquired, processing the job...
[2025-04-12 07:55:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 07:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890165') end
[2025-04-12 07:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 07:55:04] Production.INFO: 1
[2025-04-12 07:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 07:55:04] Production.INFO: Account Balance Start.
[2025-04-12 07:55:04] Production.INFO: CreateAllLog Start
[2025-04-12 07:55:04] Production.INFO: 117
[2025-04-12 07:55:04] Production.INFO: Date 2025-04-08
[2025-04-12 07:55:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 07:55:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:55:04] Production.INFO: Date 2025-04-09
[2025-04-12 07:55:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:55:04] Production.INFO: Date 2025-04-10
[2025-04-12 07:55:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:55:04] Production.INFO: Date 2025-04-11
[2025-04-12 07:55:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:55:04] Production.INFO: Date 2025-04-12
[2025-04-12 07:55:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:55:04] Production.INFO: ==4919== Releasing lock...
[2025-04-12 07:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 07:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 07:55:04] Production.INFO: Total Charge 0
[2025-04-12 07:55:04] Production.INFO: CreateAllLog End
[2025-04-12 07:55:04] Production.INFO: ==4911== Releasing lock...
[2025-04-12 07:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 07:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 07:55:04] Production.ERROR: done
[2025-04-12 07:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 07:55:04] Production.INFO: Account Balance End.
[2025-04-12 07:55:05] Production.ERROR: CronJobId end 12
[2025-04-12 07:55:05] Production.INFO: ==4915== Releasing lock...
[2025-04-12 07:55:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 07:55:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 07:55:05] Production.ERROR: done
[2025-04-12 07:55:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 04:55:06
[end_date_ymd] => 2025-04-12 07:55:06
[RateCDR] => 1
)
[2025-04-12 07:55:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 04:55:06' and `end` < '2025-04-12 07:55:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 07:55:12] Production.ERROR: CronJobId end10
[2025-04-12 07:55:12] Production.INFO: ==4913== Releasing lock...
[2025-04-12 07:55:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 07:55:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 07:55:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 07:55:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 07:55:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 07:55:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 07:55:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 07:55:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 07:55:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 07:55:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 07:55:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 07:55:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 07:55:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 07:55:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 07:55:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 07:55:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 07:55:14] Production.INFO: call_cost start
[2025-04-12 07:55:14] Production.INFO: call_cost end
[2025-04-12 07:55:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 07:55:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 07:55:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 07:55:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 07:55:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 07:55:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 07:55:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 07:55:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 07:55:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 07:55:15] Production.INFO: ==4909== Releasing lock...
[2025-04-12 07:55:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 07:55:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 07:55:18] Production.INFO: count ==122
[2025-04-12 07:55:18] Production.ERROR: pbx CDR StartTime 2025-04-12 04:55:06 - End Time 2025-04-12 07:55:06
[2025-04-12 07:55:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 07:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890168', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890168', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890168', 'tblTempVendorCDR_20' ) start
[2025-04-12 07:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890168', 'tblTempVendorCDR_20' ) end
[2025-04-12 07:55:19] Production.INFO: ProcessCDR(1,14890168,1,1,2)
[2025-04-12 07:55:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890168,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:55:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890168,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:55:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890168,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:55:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890168,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:55:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890168', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:55:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890168', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:55:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 07:55:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 07:55:24] Production.INFO: ==4917== Releasing lock...
[2025-04-12 07:55:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 07:55:24] Production.INFO: 29 MB #Memory Used#
[2025-04-12 12:56:01] Production.INFO: ==4975== Lock acquired, processing the job...
[2025-04-12 12:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 12:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 12:56:01] Production.INFO: neon service started
[2025-04-12 12:56:01] Production.INFO: neon service started
[2025-04-12 12:56:01] Production.INFO: ==4975== Releasing lock...
[2025-04-12 12:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 12:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 07:56:01] Production.INFO: ==4977== Lock acquired, processing the job...
[2025-04-12 07:56:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 07:56:02] Production.INFO: ==4977== Releasing lock...
[2025-04-12 07:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 07:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 11:56:02] Production.INFO: ==4979== Lock acquired, processing the job...
[2025-04-12 11:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 11:56:02] Production.INFO: ==4979== Releasing lock...
[2025-04-12 11:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 11:56:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 07:56:03] Production.INFO: ==4982== Lock acquired, processing the job...
[2025-04-12 07:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 07:56:03] Production.INFO: ==4988== Lock acquired, processing the job...
[2025-04-12 07:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 07:56:03] Production.INFO: ==4984== Lock acquired, processing the job...
[2025-04-12 07:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 07:56:03] Production.INFO: ==4986== Lock acquired, processing the job...
[2025-04-12 07:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 07:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 07:56:03] Production.INFO: Account Balance Start.
[2025-04-12 07:56:03] Production.INFO: CreateAllLog Start
[2025-04-12 07:56:03] Production.INFO: 117
[2025-04-12 07:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 07:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 07:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 07:56:03] Production.INFO: Date 2025-04-08
[2025-04-12 07:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 07:56:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:56:03] Production.INFO: ==4990== Lock acquired, processing the job...
[2025-04-12 07:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 07:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 07:56:03] Production.INFO: Date 2025-04-09
[2025-04-12 07:56:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:56:03] Production.INFO: ==4992== Lock acquired, processing the job...
[2025-04-12 07:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 07:56:03] Production.INFO: Date 2025-04-10
[2025-04-12 07:56:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:56:03] Production.INFO: Date 2025-04-11
[2025-04-12 07:56:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:56:03] Production.INFO: Date 2025-04-12
[2025-04-12 07:56:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:56:03] Production.INFO: ==4984== Releasing lock...
[2025-04-12 07:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 07:56:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 07:56:03] Production.INFO: Total Charge 0
[2025-04-12 07:56:03] Production.INFO: CreateAllLog End
[2025-04-12 07:56:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 07:56:04] Production.INFO: count ==12
[2025-04-12 07:56:04] Production.ERROR: done
[2025-04-12 07:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 07:56:04] Production.INFO: Account Balance End.
[2025-04-12 07:56:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 07:56:04] Production.INFO: count ==23
[2025-04-12 07:56:04] Production.ERROR: CronJobId end 12
[2025-04-12 07:56:04] Production.INFO: ==4988== Releasing lock...
[2025-04-12 07:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 07:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 07:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890172') start
[2025-04-12 07:56:04] Production.ERROR: done
[2025-04-12 07:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890172') end
[2025-04-12 07:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 07:56:04] Production.INFO: 1
[2025-04-12 07:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 07:56:04] Production.INFO: ==4992== Releasing lock...
[2025-04-12 07:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 07:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 07:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 04:56:05
[end_date_ymd] => 2025-04-12 07:56:05
[RateCDR] => 1
)
[2025-04-12 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-12 04:56:05' and `end` < '2025-04-12 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-12 07:56:11] Production.ERROR: CronJobId end10
[2025-04-12 07:56:11] Production.INFO: ==4986== Releasing lock...
[2025-04-12 07:56:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 07:56:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 07:56:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 07:56:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 07:56:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 07:56:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 07:56:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 07:56:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 07:56:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 07:56:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 07:56:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 07:56:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 07:56:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 07:56:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 07:56:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 07:56:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 07:56:15] Production.INFO: call_cost start
[2025-04-12 07:56:15] Production.INFO: call_cost end
[2025-04-12 07:56:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 07:56:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 07:56:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 07:56:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 07:56:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 07:56:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 07:56:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 07:56:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 07:56:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 07:56:16] Production.INFO: ==4982== Releasing lock...
[2025-04-12 07:56:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 07:56:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 07:56:18] Production.INFO: count ==121
[2025-04-12 07:56:18] Production.ERROR: pbx CDR StartTime 2025-04-12 04:56:05 - End Time 2025-04-12 07:56:05
[2025-04-12 07:56:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 07:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890173', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890173', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890173', 'tblTempVendorCDR_20' ) start
[2025-04-12 07:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890173', 'tblTempVendorCDR_20' ) end
[2025-04-12 07:56:18] Production.INFO: ProcessCDR(1,14890173,1,1,2)
[2025-04-12 07:56:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890173,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:56:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890173,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:56:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890173,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:56:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890173,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890173', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890173', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:56:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 07:56:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 07:56:21] Production.INFO: ==4990== Releasing lock...
[2025-04-12 07:56:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 07:56:21] Production.INFO: 29 MB #Memory Used#
[2025-04-12 12:57:02] Production.INFO: ==5054== Lock acquired, processing the job...
[2025-04-12 12:57:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 12:57:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 12:57:02] Production.INFO: neon service started
[2025-04-12 12:57:02] Production.INFO: neon service started
[2025-04-12 12:57:02] Production.INFO: ==5054== Releasing lock...
[2025-04-12 12:57:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 12:57:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 07:57:02] Production.INFO: ==5056== Lock acquired, processing the job...
[2025-04-12 07:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 11:57:02] Production.INFO: ==5058== Lock acquired, processing the job...
[2025-04-12 11:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 07:57:02] Production.INFO: ==5056== Releasing lock...
[2025-04-12 07:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 07:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 11:57:03] Production.INFO: ==5058== Releasing lock...
[2025-04-12 11:57:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 11:57:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 07:57:03] Production.INFO: ==5060== Lock acquired, processing the job...
[2025-04-12 07:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 07:57:03] Production.INFO: ==5062== Lock acquired, processing the job...
[2025-04-12 07:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 07:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 07:57:03] Production.INFO: ==5065== Lock acquired, processing the job...
[2025-04-12 07:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 07:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 07:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 07:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 07:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 07:57:04] Production.INFO: ==5062== Releasing lock...
[2025-04-12 07:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 07:57:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 07:57:04] Production.INFO: ==5067== Lock acquired, processing the job...
[2025-04-12 07:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 07:57:04] Production.INFO: ==5069== Lock acquired, processing the job...
[2025-04-12 07:57:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 07:57:04] Production.INFO: ==5071== Lock acquired, processing the job...
[2025-04-12 07:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 07:57:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 07:57:04] Production.INFO: Account Balance Start.
[2025-04-12 07:57:04] Production.INFO: CreateAllLog Start
[2025-04-12 07:57:04] Production.INFO: 117
[2025-04-12 07:57:04] Production.INFO: Date 2025-04-08
[2025-04-12 07:57:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:57:04] Production.INFO: Date 2025-04-09
[2025-04-12 07:57:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:57:04] Production.INFO: Date 2025-04-10
[2025-04-12 07:57:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:57:04] Production.INFO: Date 2025-04-11
[2025-04-12 07:57:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:57:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 07:57:04] Production.INFO: Date 2025-04-12
[2025-04-12 07:57:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:57:04] Production.INFO: Total Charge 0
[2025-04-12 07:57:04] Production.INFO: count ==12
[2025-04-12 07:57:04] Production.ERROR: done
[2025-04-12 07:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 07:57:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 07:57:04] Production.INFO: count ==23
[2025-04-12 07:57:04] Production.INFO: CreateAllLog End
[2025-04-12 07:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890177') start
[2025-04-12 07:57:04] Production.ERROR: done
[2025-04-12 07:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890177') end
[2025-04-12 07:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 07:57:04] Production.INFO: 1
[2025-04-12 07:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 07:57:04] Production.INFO: ==5071== Releasing lock...
[2025-04-12 07:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 07:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 07:57:04] Production.INFO: Account Balance End.
[2025-04-12 07:57:04] Production.ERROR: CronJobId end 12
[2025-04-12 07:57:04] Production.INFO: ==5067== Releasing lock...
[2025-04-12 07:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 07:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 07:57:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 04:57:06
[end_date_ymd] => 2025-04-12 07:57:06
[RateCDR] => 1
)
[2025-04-12 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-12 04:57:06' and `end` < '2025-04-12 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-12 07:57:12] Production.ERROR: CronJobId end10
[2025-04-12 07:57:12] Production.INFO: ==5065== Releasing lock...
[2025-04-12 07:57:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 07:57:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 07:57:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 07:57:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 07:57:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 07:57:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 07:57:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 07:57:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 07:57:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 07:57:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 07:57:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 07:57:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 07:57:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 07:57:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 07:57:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 07:57:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 07:57:15] Production.INFO: call_cost start
[2025-04-12 07:57:15] Production.INFO: call_cost end
[2025-04-12 07:57:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 07:57:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 07:57:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 07:57:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 07:57:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 07:57:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 07:57:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 07:57:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 07:57:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 07:57:16] Production.INFO: ==5060== Releasing lock...
[2025-04-12 07:57:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 07:57:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 07:57:18] Production.INFO: count ==120
[2025-04-12 07:57:18] Production.ERROR: pbx CDR StartTime 2025-04-12 04:57:06 - End Time 2025-04-12 07:57:06
[2025-04-12 07:57:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 07:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890178', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890178', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890178', 'tblTempVendorCDR_20' ) start
[2025-04-12 07:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890178', 'tblTempVendorCDR_20' ) end
[2025-04-12 07:57:18] Production.INFO: ProcessCDR(1,14890178,1,1,2)
[2025-04-12 07:57:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890178,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:57:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890178,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:57:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890178,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:57:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890178,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890178', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890178', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:57:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 07:57:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 07:57:22] Production.INFO: ==5069== Releasing lock...
[2025-04-12 07:57:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 07:57:22] Production.INFO: 29 MB #Memory Used#
[2025-04-12 12:58:01] Production.INFO: ==5130== Lock acquired, processing the job...
[2025-04-12 12:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 12:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 12:58:01] Production.INFO: neon service started
[2025-04-12 12:58:01] Production.INFO: neon service started
[2025-04-12 12:58:01] Production.INFO: ==5130== Releasing lock...
[2025-04-12 12:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 12:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 11:58:02] Production.INFO: ==5134== Lock acquired, processing the job...
[2025-04-12 11:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 11:58:02] Production.INFO: ==5134== Releasing lock...
[2025-04-12 11:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 11:58:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 07:58:02] Production.INFO: ==5132== Lock acquired, processing the job...
[2025-04-12 07:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 07:58:02] Production.INFO: ==5132== Releasing lock...
[2025-04-12 07:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 07:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 07:58:03] Production.INFO: ==5139== Lock acquired, processing the job...
[2025-04-12 07:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 07:58:03] Production.INFO: ==5147== Lock acquired, processing the job...
[2025-04-12 07:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 07:58:03] Production.INFO: ==5137== Lock acquired, processing the job...
[2025-04-12 07:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 07:58:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 07:58:03] Production.INFO: ==5139== Releasing lock...
[2025-04-12 07:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 07:58:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 07:58:03] Production.INFO: ==5141== Lock acquired, processing the job...
[2025-04-12 07:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 07:58:03] Production.INFO: count ==12
[2025-04-12 07:58:03] Production.INFO: ==5143== Lock acquired, processing the job...
[2025-04-12 07:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 07:58:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 07:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 07:58:03] Production.INFO: count ==23
[2025-04-12 07:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 07:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 07:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 07:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 07:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890180') start
[2025-04-12 07:58:03] Production.INFO: ==5145== Lock acquired, processing the job...
[2025-04-12 07:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 07:58:03] Production.INFO: Account Balance Start.
[2025-04-12 07:58:03] Production.INFO: CreateAllLog Start
[2025-04-12 07:58:03] Production.INFO: 117
[2025-04-12 07:58:03] Production.INFO: Date 2025-04-08
[2025-04-12 07:58:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 07:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890180') end
[2025-04-12 07:58:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 07:58:03] Production.INFO: 1
[2025-04-12 07:58:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 07:58:03] Production.INFO: Date 2025-04-09
[2025-04-12 07:58:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:58:03] Production.INFO: Date 2025-04-10
[2025-04-12 07:58:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:58:03] Production.INFO: Date 2025-04-11
[2025-04-12 07:58:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:58:03] Production.INFO: Date 2025-04-12
[2025-04-12 07:58:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:58:03] Production.INFO: Total Charge 0
[2025-04-12 07:58:03] Production.INFO: CreateAllLog End
[2025-04-12 07:58:03] Production.INFO: ==5147== Releasing lock...
[2025-04-12 07:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 07:58:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 07:58:04] Production.ERROR: done
[2025-04-12 07:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 07:58:04] Production.ERROR: done
[2025-04-12 07:58:04] Production.INFO: Account Balance End.
[2025-04-12 07:58:04] Production.ERROR: CronJobId end 12
[2025-04-12 07:58:04] Production.INFO: ==5143== Releasing lock...
[2025-04-12 07:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 07:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 07:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 04:58:05
[end_date_ymd] => 2025-04-12 07:58:05
[RateCDR] => 1
)
[2025-04-12 07:58:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 04:58:05' and `end` < '2025-04-12 07:58:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 07:58:12] Production.ERROR: CronJobId end10
[2025-04-12 07:58:12] Production.INFO: ==5141== Releasing lock...
[2025-04-12 07:58:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 07:58:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 07:58:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 07:58:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 07:58:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 07:58:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 07:58:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 07:58:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 07:58:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 07:58:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 07:58:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 07:58:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 07:58:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 07:58:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 07:58:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 07:58:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 07:58:14] Production.INFO: call_cost start
[2025-04-12 07:58:14] Production.INFO: call_cost end
[2025-04-12 07:58:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 07:58:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 07:58:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 07:58:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 07:58:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 07:58:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 07:58:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 07:58:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 07:58:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 07:58:15] Production.INFO: ==5137== Releasing lock...
[2025-04-12 07:58:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 07:58:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 07:58:18] Production.INFO: count ==121
[2025-04-12 07:58:18] Production.ERROR: pbx CDR StartTime 2025-04-12 04:58:05 - End Time 2025-04-12 07:58:05
[2025-04-12 07:58:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 07:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890183', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890183', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890183', 'tblTempVendorCDR_20' ) start
[2025-04-12 07:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890183', 'tblTempVendorCDR_20' ) end
[2025-04-12 07:58:18] Production.INFO: ProcessCDR(1,14890183,1,1,2)
[2025-04-12 07:58:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890183,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:58:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890183,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:58:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890183,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:58:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890183,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:58:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890183', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:58:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890183', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:58:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 07:58:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 07:58:23] Production.INFO: ==5145== Releasing lock...
[2025-04-12 07:58:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 07:58:23] Production.INFO: 29 MB #Memory Used#
[2025-04-12 12:59:02] Production.INFO: ==5205== Lock acquired, processing the job...
[2025-04-12 12:59:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 12:59:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 12:59:02] Production.INFO: neon service started
[2025-04-12 12:59:02] Production.INFO: neon service started
[2025-04-12 12:59:02] Production.INFO: ==5205== Releasing lock...
[2025-04-12 12:59:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 12:59:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 07:59:02] Production.INFO: ==5207== Lock acquired, processing the job...
[2025-04-12 07:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 07:59:02] Production.INFO: ==5207== Releasing lock...
[2025-04-12 07:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 07:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 11:59:02] Production.INFO: ==5209== Lock acquired, processing the job...
[2025-04-12 11:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 11:59:02] Production.INFO: ==5209== Releasing lock...
[2025-04-12 11:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 11:59:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 07:59:03] Production.INFO: ==5217== Lock acquired, processing the job...
[2025-04-12 07:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 07:59:03] Production.INFO: ==5219== Lock acquired, processing the job...
[2025-04-12 07:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 07:59:03] Production.INFO: ==5213== Lock acquired, processing the job...
[2025-04-12 07:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 07:59:03] Production.INFO: ==5215== Lock acquired, processing the job...
[2025-04-12 07:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 07:59:03] Production.INFO: Account Balance Start.
[2025-04-12 07:59:03] Production.INFO: CreateAllLog Start
[2025-04-12 07:59:03] Production.INFO: 117
[2025-04-12 07:59:03] Production.INFO: ==5211== Lock acquired, processing the job...
[2025-04-12 07:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 07:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 07:59:03] Production.INFO: Date 2025-04-08
[2025-04-12 07:59:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 07:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 07:59:03] Production.INFO: ==5221== Lock acquired, processing the job...
[2025-04-12 07:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 07:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 07:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 07:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 07:59:03] Production.INFO: Date 2025-04-09
[2025-04-12 07:59:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:59:03] Production.INFO: Date 2025-04-10
[2025-04-12 07:59:03] Production.INFO: Reseller ==> 0
[2025-04-12 07:59:04] Production.INFO: Date 2025-04-11
[2025-04-12 07:59:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:59:04] Production.INFO: ==5213== Releasing lock...
[2025-04-12 07:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 07:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 07:59:04] Production.INFO: Date 2025-04-12
[2025-04-12 07:59:04] Production.INFO: Reseller ==> 0
[2025-04-12 07:59:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 07:59:04] Production.INFO: Total Charge 0
[2025-04-12 07:59:04] Production.INFO: count ==12
[2025-04-12 07:59:04] Production.INFO: CreateAllLog End
[2025-04-12 07:59:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 07:59:04] Production.INFO: count ==23
[2025-04-12 07:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890187') start
[2025-04-12 07:59:04] Production.ERROR: done
[2025-04-12 07:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 07:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890187') end
[2025-04-12 07:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 07:59:04] Production.INFO: 1
[2025-04-12 07:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 07:59:04] Production.INFO: ==5221== Releasing lock...
[2025-04-12 07:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 07:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 07:59:04] Production.INFO: Account Balance End.
[2025-04-12 07:59:04] Production.ERROR: done
[2025-04-12 07:59:04] Production.ERROR: CronJobId end 12
[2025-04-12 07:59:04] Production.INFO: ==5217== Releasing lock...
[2025-04-12 07:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 07:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 07:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 04:59:05
[end_date_ymd] => 2025-04-12 07:59:05
[RateCDR] => 1
)
[2025-04-12 07:59:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 04:59:05' and `end` < '2025-04-12 07:59:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 07:59:11] Production.ERROR: CronJobId end10
[2025-04-12 07:59:11] Production.INFO: ==5215== Releasing lock...
[2025-04-12 07:59:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 07:59:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 07:59:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 07:59:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 07:59:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 07:59:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 07:59:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 07:59:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 07:59:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 07:59:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 07:59:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 07:59:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 07:59:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 07:59:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 07:59:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 07:59:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 07:59:14] Production.INFO: call_cost start
[2025-04-12 07:59:14] Production.INFO: call_cost end
[2025-04-12 07:59:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 07:59:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 07:59:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 07:59:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 07:59:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 07:59:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 07:59:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 07:59:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 07:59:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 07:59:15] Production.INFO: ==5211== Releasing lock...
[2025-04-12 07:59:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 07:59:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 07:59:18] Production.INFO: count ==121
[2025-04-12 07:59:18] Production.ERROR: pbx CDR StartTime 2025-04-12 04:59:05 - End Time 2025-04-12 07:59:05
[2025-04-12 07:59:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 07:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890188', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890188', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890188', 'tblTempVendorCDR_20' ) start
[2025-04-12 07:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890188', 'tblTempVendorCDR_20' ) end
[2025-04-12 07:59:18] Production.INFO: ProcessCDR(1,14890188,1,1,2)
[2025-04-12 07:59:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890188,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:59:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890188,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 07:59:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890188,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:59:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890188,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 07:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890188', 'tblTempUsageDetail_20' ) start
[2025-04-12 07:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890188', 'tblTempUsageDetail_20' ) end
[2025-04-12 07:59:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 07:59:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 07:59:21] Production.INFO: ==5219== Releasing lock...
[2025-04-12 07:59:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 07:59:21] Production.INFO: 29 MB #Memory Used#
[2025-04-12 13:00:01] Production.INFO: ==5278== Lock acquired, processing the job...
[2025-04-12 13:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 13:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 13:00:01] Production.INFO: neon service started
[2025-04-12 13:00:01] Production.INFO: neon service started
[2025-04-12 13:00:01] Production.INFO: ==5278== Releasing lock...
[2025-04-12 13:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 13:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 08:00:01] Production.INFO: ==5280== Lock acquired, processing the job...
[2025-04-12 08:00:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 12:00:02] Production.INFO: ==5282== Lock acquired, processing the job...
[2025-04-12 12:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 12:00:02] Production.INFO: ==5282== Releasing lock...
[2025-04-12 12:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 12:00:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 08:00:02] Production.INFO: ==5280== Releasing lock...
[2025-04-12 08:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 08:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 08:00:03] Production.INFO: ==5284== Lock acquired, processing the job...
[2025-04-12 08:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 08:00:03] Production.INFO: ==5286== Lock acquired, processing the job...
[2025-04-12 08:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 08:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 08:00:03] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 08:00:03] Production.INFO: ==5284== Releasing lock...
[2025-04-12 08:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 08:00:03] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 08:00:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 08:00:03] Production.INFO: ==5292== Lock acquired, processing the job...
[2025-04-12 08:00:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 08:00:03] Production.INFO: ==5290== Lock acquired, processing the job...
[2025-04-12 08:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 08:00:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 08:00:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 08:00:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 08:00:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 08:00:03] Production.INFO: Account Balance Start.
[2025-04-12 08:00:03] Production.INFO: CreateAllLog Start
[2025-04-12 08:00:03] Production.INFO: 117
[2025-04-12 08:00:03] Production.INFO: Date 2025-04-08
[2025-04-12 08:00:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:00:03] Production.INFO: Date 2025-04-09
[2025-04-12 08:00:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:00:03] Production.INFO: ==5288== Lock acquired, processing the job...
[2025-04-12 08:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 08:00:03] Production.INFO: Date 2025-04-10
[2025-04-12 08:00:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:00:03] Production.INFO: Date 2025-04-11
[2025-04-12 08:00:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:00:03] Production.INFO: Date 2025-04-12
[2025-04-12 08:00:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:00:03] Production.INFO: Total Charge 0
[2025-04-12 08:00:03] Production.INFO: CreateAllLog End
[2025-04-12 08:00:03] Production.INFO: ==5295== Lock acquired, processing the job...
[2025-04-12 08:00:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 08:00:03] Production.INFO: ==5297== Lock acquired, processing the job...
[2025-04-12 08:00:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 08:00:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 08:00:03] Production.INFO: ==5299== Lock acquired, processing the job...
[2025-04-12 08:00:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 08:00:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 08:00:04] Production.INFO: Account Balance End.
[2025-04-12 08:00:04] Production.ERROR: CronJobId end 12
[2025-04-12 08:00:04] Production.INFO: ==5292== Releasing lock...
[2025-04-12 08:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 08:00:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 08:00:04] Production.INFO: ==5288== Releasing lock...
[2025-04-12 08:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 08:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 08:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 08:00:04] Production.INFO: count ==12
[2025-04-12 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-12 08:00:04] Production.ERROR: done
[2025-04-12 08:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 08:00:04] Production.INFO: count ==23
[2025-04-12 08:00:04] Production.ERROR: done
[2025-04-12 08:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890192') start
[2025-04-12 08:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 08:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14890193', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 08:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890192') end
[2025-04-12 08:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 08:00:04] Production.INFO: 1
[2025-04-12 08:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 08:00:04] Production.INFO: ==5299== Releasing lock...
[2025-04-12 08:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 08:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 08:00:04] Production.ERROR: done
[2025-04-12 08:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 05:00:06
[end_date_ymd] => 2025-04-12 08:00:06
[RateCDR] => 1
)
[2025-04-12 08:00:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 05:00:06' and `end` < '2025-04-12 08:00:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 08:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14890193', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 08:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 08:00:09] Production.INFO: ProcessCDR(1,14890193,1,1,2)
[2025-04-12 08:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14890193,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14890193,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 08:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 08:00:09] Production.INFO: ==5297== Releasing lock...
[2025-04-12 08:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 08:00:09] Production.INFO: 26 MB #Memory Used#
[2025-04-12 08:00:13] Production.ERROR: CronJobId end10
[2025-04-12 08:00:13] Production.INFO: ==5290== Releasing lock...
[2025-04-12 08:00:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 08:00:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 08:00:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 08:00:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 08:00:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 08:00:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 08:00:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 08:00:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 08:00:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 08:00:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 08:00:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 08:00:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 08:00:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 08:00:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 08:00:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 08:00:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 08:00:15] Production.INFO: call_cost start
[2025-04-12 08:00:15] Production.INFO: call_cost end
[2025-04-12 08:00:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 08:00:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 08:00:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 08:00:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 08:00:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 08:00:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 08:00:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 08:00:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 08:00:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 08:00:16] Production.INFO: ==5286== Releasing lock...
[2025-04-12 08:00:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 08:00:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 08:00:18] Production.INFO: count ==121
[2025-04-12 08:00:18] Production.ERROR: pbx CDR StartTime 2025-04-12 05:00:06 - End Time 2025-04-12 08:00:06
[2025-04-12 08:00:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 08:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890194', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890194', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890194', 'tblTempVendorCDR_20' ) start
[2025-04-12 08:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890194', 'tblTempVendorCDR_20' ) end
[2025-04-12 08:00:19] Production.INFO: ProcessCDR(1,14890194,1,1,2)
[2025-04-12 08:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890194,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:00:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890194,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:00:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890194,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:00:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890194,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890194', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890194', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:00:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 08:00:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 08:00:22] Production.INFO: ==5295== Releasing lock...
[2025-04-12 08:00:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 08:00:22] Production.INFO: 29 MB #Memory Used#
[2025-04-12 13:01:01] Production.INFO: ==5355== Lock acquired, processing the job...
[2025-04-12 13:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 13:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 13:01:01] Production.INFO: neon service started
[2025-04-12 13:01:01] Production.INFO: neon service started
[2025-04-12 13:01:02] Production.INFO: ==5355== Releasing lock...
[2025-04-12 13:01:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 13:01:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 08:01:02] Production.INFO: ==5368== Lock acquired, processing the job...
[2025-04-12 08:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 08:01:02] Production.INFO: ==5368== Releasing lock...
[2025-04-12 08:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 08:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 12:01:02] Production.INFO: ==5370== Lock acquired, processing the job...
[2025-04-12 12:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 12:01:02] Production.INFO: ==5370== Releasing lock...
[2025-04-12 12:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 12:01:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 08:01:03] Production.INFO: ==5381== Lock acquired, processing the job...
[2025-04-12 08:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 08:01:03] Production.INFO: ==5372== Lock acquired, processing the job...
[2025-04-12 08:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 08:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 08:01:03] Production.INFO: ==5383== Lock acquired, processing the job...
[2025-04-12 08:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 08:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 08:01:03] Production.INFO: ==5374== Lock acquired, processing the job...
[2025-04-12 08:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 08:01:03] Production.INFO: ==5376== Lock acquired, processing the job...
[2025-04-12 08:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 08:01:03] Production.INFO: ==5378== Lock acquired, processing the job...
[2025-04-12 08:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 08:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 08:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 08:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 08:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 08:01:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 08:01:03] Production.INFO: count ==12
[2025-04-12 08:01:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 08:01:03] Production.INFO: Account Balance Start.
[2025-04-12 08:01:03] Production.INFO: CreateAllLog Start
[2025-04-12 08:01:03] Production.INFO: 117
[2025-04-12 08:01:03] Production.INFO: count ==23
[2025-04-12 08:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890196') start
[2025-04-12 08:01:03] Production.INFO: Date 2025-04-08
[2025-04-12 08:01:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890196') end
[2025-04-12 08:01:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 08:01:03] Production.INFO: 1
[2025-04-12 08:01:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 08:01:04] Production.ERROR: done
[2025-04-12 08:01:04] Production.INFO: Date 2025-04-09
[2025-04-12 08:01:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 08:01:04] Production.INFO: ==5383== Releasing lock...
[2025-04-12 08:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 08:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 08:01:04] Production.INFO: Date 2025-04-10
[2025-04-12 08:01:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:01:04] Production.INFO: Date 2025-04-11
[2025-04-12 08:01:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:01:04] Production.INFO: Date 2025-04-12
[2025-04-12 08:01:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:01:04] Production.INFO: Total Charge 0
[2025-04-12 08:01:04] Production.INFO: ==5374== Releasing lock...
[2025-04-12 08:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 08:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 08:01:04] Production.INFO: CreateAllLog End
[2025-04-12 08:01:04] Production.ERROR: done
[2025-04-12 08:01:04] Production.INFO: Account Balance End.
[2025-04-12 08:01:04] Production.ERROR: CronJobId end 12
[2025-04-12 08:01:04] Production.INFO: ==5378== Releasing lock...
[2025-04-12 08:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 08:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 08:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 05:01:05
[end_date_ymd] => 2025-04-12 08:01:05
[RateCDR] => 1
)
[2025-04-12 08:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 05:01:05' and `end` < '2025-04-12 08:01:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 08:01:12] Production.ERROR: CronJobId end10
[2025-04-12 08:01:12] Production.INFO: ==5376== Releasing lock...
[2025-04-12 08:01:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 08:01:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 08:01:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 08:01:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 08:01:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 08:01:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 08:01:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 08:01:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 08:01:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 08:01:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 08:01:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 08:01:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 08:01:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 08:01:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 08:01:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 08:01:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 08:01:15] Production.INFO: call_cost start
[2025-04-12 08:01:15] Production.INFO: call_cost end
[2025-04-12 08:01:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 08:01:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 08:01:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 08:01:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 08:01:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 08:01:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 08:01:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 08:01:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 08:01:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 08:01:16] Production.INFO: ==5372== Releasing lock...
[2025-04-12 08:01:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 08:01:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 08:01:18] Production.INFO: count ==121
[2025-04-12 08:01:18] Production.ERROR: pbx CDR StartTime 2025-04-12 05:01:05 - End Time 2025-04-12 08:01:05
[2025-04-12 08:01:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 08:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890199', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890199', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890199', 'tblTempVendorCDR_20' ) start
[2025-04-12 08:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890199', 'tblTempVendorCDR_20' ) end
[2025-04-12 08:01:18] Production.INFO: ProcessCDR(1,14890199,1,1,2)
[2025-04-12 08:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890199,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:01:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890199,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:01:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890199,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:01:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890199,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:01:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890199', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:01:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890199', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:01:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 08:01:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 08:01:21] Production.INFO: ==5381== Releasing lock...
[2025-04-12 08:01:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 08:01:21] Production.INFO: 29 MB #Memory Used#
[2025-04-12 13:02:01] Production.INFO: ==5444== Lock acquired, processing the job...
[2025-04-12 13:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 13:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 13:02:01] Production.INFO: neon service started
[2025-04-12 13:02:01] Production.INFO: neon service started
[2025-04-12 13:02:01] Production.INFO: ==5444== Releasing lock...
[2025-04-12 13:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 13:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 08:02:01] Production.INFO: ==5446== Lock acquired, processing the job...
[2025-04-12 08:02:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 08:02:02] Production.INFO: ==5446== Releasing lock...
[2025-04-12 08:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 08:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 12:02:02] Production.INFO: ==5448== Lock acquired, processing the job...
[2025-04-12 12:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 12:02:02] Production.INFO: ==5448== Releasing lock...
[2025-04-12 12:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 12:02:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 08:02:03] Production.INFO: ==5457== Lock acquired, processing the job...
[2025-04-12 08:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 08:02:03] Production.INFO: ==5461== Lock acquired, processing the job...
[2025-04-12 08:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 08:02:03] Production.INFO: ==5451== Lock acquired, processing the job...
[2025-04-12 08:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 08:02:03] Production.INFO: Account Balance Start.
[2025-04-12 08:02:03] Production.INFO: CreateAllLog Start
[2025-04-12 08:02:03] Production.INFO: 117
[2025-04-12 08:02:03] Production.INFO: ==5453== Lock acquired, processing the job...
[2025-04-12 08:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 08:02:03] Production.INFO: ==5455== Lock acquired, processing the job...
[2025-04-12 08:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 08:02:03] Production.INFO: Date 2025-04-08
[2025-04-12 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-12 08:02:03] Production.INFO: count ==12
[2025-04-12 08:02:03] Production.INFO: Reseller ==> 0
[2025-04-12 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-12 08:02:03] Production.INFO: count ==23
[2025-04-12 08:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 08:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890201') start
[2025-04-12 08:02:03] Production.INFO: ==5459== Lock acquired, processing the job...
[2025-04-12 08:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 08:02:03] Production.INFO: Date 2025-04-09
[2025-04-12 08:02:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 08:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 08:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 08:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 08:02:03] Production.INFO: Date 2025-04-10
[2025-04-12 08:02:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 08:02:03] Production.INFO: Date 2025-04-11
[2025-04-12 08:02:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:02:03] Production.INFO: Date 2025-04-12
[2025-04-12 08:02:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890201') end
[2025-04-12 08:02:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 08:02:03] Production.INFO: 1
[2025-04-12 08:02:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 08:02:03] Production.INFO: Total Charge 0
[2025-04-12 08:02:03] Production.INFO: ==5461== Releasing lock...
[2025-04-12 08:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 08:02:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 08:02:03] Production.INFO: CreateAllLog End
[2025-04-12 08:02:03] Production.INFO: ==5453== Releasing lock...
[2025-04-12 08:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 08:02:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 08:02:03] Production.ERROR: done
[2025-04-12 08:02:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 08:02:04] Production.INFO: Account Balance End.
[2025-04-12 08:02:04] Production.ERROR: CronJobId end 12
[2025-04-12 08:02:04] Production.INFO: ==5457== Releasing lock...
[2025-04-12 08:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 08:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 08:02:04] Production.ERROR: done
[2025-04-12 08:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 05:02:05
[end_date_ymd] => 2025-04-12 08:02:05
[RateCDR] => 1
)
[2025-04-12 08:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 05:02:05' and `end` < '2025-04-12 08:02:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 08:02:11] Production.ERROR: CronJobId end10
[2025-04-12 08:02:11] Production.INFO: ==5455== Releasing lock...
[2025-04-12 08:02:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 08:02:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 08:02:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 08:02:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 08:02:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 08:02:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 08:02:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 08:02:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 08:02:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 08:02:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 08:02:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 08:02:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 08:02:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 08:02:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 08:02:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 08:02:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 08:02:13] Production.INFO: call_cost start
[2025-04-12 08:02:13] Production.INFO: call_cost end
[2025-04-12 08:02:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 08:02:14] Production.INFO: ============== Report Schedule START===========
[2025-04-12 08:02:14] Production.INFO: ============== Report Schedule END===========
[2025-04-12 08:02:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 08:02:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 08:02:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 08:02:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 08:02:14] Production.INFO: ============== Deal alert START===========
[2025-04-12 08:02:14] Production.INFO: ============== Deal alert END===========
[2025-04-12 08:02:14] Production.INFO: ==5451== Releasing lock...
[2025-04-12 08:02:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 08:02:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 08:02:18] Production.INFO: count ==123
[2025-04-12 08:02:18] Production.ERROR: pbx CDR StartTime 2025-04-12 05:02:05 - End Time 2025-04-12 08:02:05
[2025-04-12 08:02:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 08:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890204', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890204', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890204', 'tblTempVendorCDR_20' ) start
[2025-04-12 08:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890204', 'tblTempVendorCDR_20' ) end
[2025-04-12 08:02:18] Production.INFO: ProcessCDR(1,14890204,1,1,2)
[2025-04-12 08:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890204,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:02:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890204,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:02:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890204,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:02:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890204,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890204', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890204', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:02:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 08:02:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 08:02:21] Production.INFO: ==5459== Releasing lock...
[2025-04-12 08:02:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 08:02:21] Production.INFO: 29 MB #Memory Used#
[2025-04-12 13:03:01] Production.INFO: ==5521== Lock acquired, processing the job...
[2025-04-12 13:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 13:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 13:03:01] Production.INFO: neon service started
[2025-04-12 13:03:01] Production.INFO: neon service started
[2025-04-12 13:03:01] Production.INFO: ==5521== Releasing lock...
[2025-04-12 13:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 13:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 12:03:02] Production.INFO: ==5525== Lock acquired, processing the job...
[2025-04-12 12:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 12:03:02] Production.INFO: ==5525== Releasing lock...
[2025-04-12 12:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 12:03:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 08:03:02] Production.INFO: ==5523== Lock acquired, processing the job...
[2025-04-12 08:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 08:03:02] Production.INFO: ==5523== Releasing lock...
[2025-04-12 08:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 08:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 08:03:03] Production.INFO: ==5528== Lock acquired, processing the job...
[2025-04-12 08:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 08:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 08:03:03] Production.INFO: ==5532== Lock acquired, processing the job...
[2025-04-12 08:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 08:03:03] Production.INFO: ==5530== Lock acquired, processing the job...
[2025-04-12 08:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 08:03:03] Production.INFO: ==5534== Lock acquired, processing the job...
[2025-04-12 08:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 08:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 08:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 08:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 08:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 08:03:03] Production.INFO: Account Balance Start.
[2025-04-12 08:03:03] Production.INFO: CreateAllLog Start
[2025-04-12 08:03:03] Production.INFO: 117
[2025-04-12 08:03:03] Production.INFO: Date 2025-04-08
[2025-04-12 08:03:03] Production.INFO: ==5538== Lock acquired, processing the job...
[2025-04-12 08:03:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 08:03:03] Production.INFO: Date 2025-04-09
[2025-04-12 08:03:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:03:03] Production.INFO: ==5536== Lock acquired, processing the job...
[2025-04-12 08:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 08:03:03] Production.INFO: Date 2025-04-10
[2025-04-12 08:03:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:03:03] Production.INFO: Date 2025-04-11
[2025-04-12 08:03:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:03:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 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-12 08:03:04] Production.INFO: Date 2025-04-12
[2025-04-12 08:03:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:03:04] Production.INFO: Total Charge 0
[2025-04-12 08:03:04] Production.INFO: count ==12
[2025-04-12 08:03:04] Production.INFO: CreateAllLog End
[2025-04-12 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-12 08:03:04] Production.INFO: count ==23
[2025-04-12 08:03:04] Production.INFO: ==5530== Releasing lock...
[2025-04-12 08:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 08:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 08:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890208') start
[2025-04-12 08:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890208') end
[2025-04-12 08:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 08:03:04] Production.INFO: 1
[2025-04-12 08:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 08:03:04] Production.INFO: ==5538== Releasing lock...
[2025-04-12 08:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 08:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 08:03:04] Production.ERROR: done
[2025-04-12 08:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 08:03:04] Production.INFO: Account Balance End.
[2025-04-12 08:03:04] Production.ERROR: CronJobId end 12
[2025-04-12 08:03:04] Production.INFO: ==5534== Releasing lock...
[2025-04-12 08:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 08:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 08:03:04] Production.ERROR: done
[2025-04-12 08:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 05:03:05
[end_date_ymd] => 2025-04-12 08:03:05
[RateCDR] => 1
)
[2025-04-12 08:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 05:03:05' and `end` < '2025-04-12 08:03:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 08:03:12] Production.ERROR: CronJobId end10
[2025-04-12 08:03:12] Production.INFO: ==5532== Releasing lock...
[2025-04-12 08:03:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 08:03:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 08:03:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 08:03:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 08:03:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 08:03:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 08:03:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 08:03:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 08:03:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 08:03:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 08:03:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 08:03:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 08:03:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 08:03:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 08:03:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 08:03:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 08:03:14] Production.INFO: call_cost start
[2025-04-12 08:03:14] Production.INFO: call_cost end
[2025-04-12 08:03:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 08:03:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 08:03:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 08:03:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 08:03:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 08:03:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 08:03:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 08:03:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 08:03:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 08:03:15] Production.INFO: ==5528== Releasing lock...
[2025-04-12 08:03:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 08:03:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 08:03:18] Production.INFO: count ==125
[2025-04-12 08:03:18] Production.ERROR: pbx CDR StartTime 2025-04-12 05:03:05 - End Time 2025-04-12 08:03:05
[2025-04-12 08:03:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 08:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890209', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890209', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890209', 'tblTempVendorCDR_20' ) start
[2025-04-12 08:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890209', 'tblTempVendorCDR_20' ) end
[2025-04-12 08:03:18] Production.INFO: ProcessCDR(1,14890209,1,1,2)
[2025-04-12 08:03:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890209,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:03:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890209,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:03:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890209,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:03:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890209,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890209', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890209', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:03:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 08:03:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 08:03:21] Production.INFO: ==5536== Releasing lock...
[2025-04-12 08:03:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 08:03:21] Production.INFO: 29.25 MB #Memory Used#
[2025-04-12 13:04:02] Production.INFO: ==5599== Lock acquired, processing the job...
[2025-04-12 13:04:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 13:04:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 13:04:02] Production.INFO: neon service started
[2025-04-12 13:04:02] Production.INFO: neon service started
[2025-04-12 13:04:02] Production.INFO: ==5599== Releasing lock...
[2025-04-12 13:04:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 13:04:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 08:04:02] Production.INFO: ==5601== Lock acquired, processing the job...
[2025-04-12 08:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 12:04:03] Production.INFO: ==5603== Lock acquired, processing the job...
[2025-04-12 12:04:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 12:04:03] Production.INFO: ==5603== Releasing lock...
[2025-04-12 12:04:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 12:04:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 08:04:03] Production.INFO: ==5601== Releasing lock...
[2025-04-12 08:04:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 08:04:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 08:04:03] Production.INFO: ==5609== Lock acquired, processing the job...
[2025-04-12 08:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 08:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 08:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 08:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 08:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 08:04:04] Production.INFO: ==5605== Lock acquired, processing the job...
[2025-04-12 08:04:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 08:04:04] Production.INFO: ==5607== Lock acquired, processing the job...
[2025-04-12 08:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 08:04:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 08:04:04] Production.INFO: ==5616== Lock acquired, processing the job...
[2025-04-12 08:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 08:04:04] Production.INFO: ==5614== Lock acquired, processing the job...
[2025-04-12 08:04:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 08:04:04] Production.INFO: ==5612== Lock acquired, processing the job...
[2025-04-12 08:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 08:04:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 08:04:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 08:04:04] Production.INFO: Account Balance Start.
[2025-04-12 08:04:04] Production.INFO: CreateAllLog Start
[2025-04-12 08:04:04] Production.INFO: 117
[2025-04-12 08:04:04] Production.INFO: Date 2025-04-08
[2025-04-12 08:04:04] Production.INFO: count ==12
[2025-04-12 08:04:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:04:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 08:04:04] Production.INFO: count ==23
[2025-04-12 08:04:04] Production.INFO: Date 2025-04-09
[2025-04-12 08:04:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890212') start
[2025-04-12 08:04:04] Production.INFO: ==5607== Releasing lock...
[2025-04-12 08:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 08:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 08:04:04] Production.INFO: Date 2025-04-10
[2025-04-12 08:04:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890212') end
[2025-04-12 08:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 08:04:04] Production.INFO: 1
[2025-04-12 08:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 08:04:04] Production.INFO: Date 2025-04-11
[2025-04-12 08:04:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:04:04] Production.INFO: Date 2025-04-12
[2025-04-12 08:04:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:04:04] Production.INFO: Total Charge 0
[2025-04-12 08:04:04] Production.INFO: CreateAllLog End
[2025-04-12 08:04:04] Production.INFO: ==5616== Releasing lock...
[2025-04-12 08:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 08:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 08:04:04] Production.ERROR: done
[2025-04-12 08:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 08:04:04] Production.ERROR: done
[2025-04-12 08:04:04] Production.INFO: Account Balance End.
[2025-04-12 08:04:05] Production.ERROR: CronJobId end 12
[2025-04-12 08:04:05] Production.INFO: ==5612== Releasing lock...
[2025-04-12 08:04:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 08:04:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 08:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 05:04:05
[end_date_ymd] => 2025-04-12 08:04:05
[RateCDR] => 1
)
[2025-04-12 08:04:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 05:04:05' and `end` < '2025-04-12 08:04:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 08:04:11] Production.ERROR: CronJobId end10
[2025-04-12 08:04:11] Production.INFO: ==5609== Releasing lock...
[2025-04-12 08:04:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 08:04:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 08:04:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 08:04:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 08:04:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 08:04:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 08:04:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 08:04:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 08:04:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 08:04:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 08:04:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 08:04:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 08:04:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 08:04:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 08:04:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 08:04:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 08:04:14] Production.INFO: call_cost start
[2025-04-12 08:04:14] Production.INFO: call_cost end
[2025-04-12 08:04:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 08:04:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 08:04:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 08:04:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 08:04:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 08:04:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 08:04:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 08:04:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 08:04:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 08:04:15] Production.INFO: ==5605== Releasing lock...
[2025-04-12 08:04:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 08:04:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 08:04:18] Production.INFO: count ==125
[2025-04-12 08:04:18] Production.ERROR: pbx CDR StartTime 2025-04-12 05:04:05 - End Time 2025-04-12 08:04:05
[2025-04-12 08:04:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 08:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890214', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890214', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890214', 'tblTempVendorCDR_20' ) start
[2025-04-12 08:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890214', 'tblTempVendorCDR_20' ) end
[2025-04-12 08:04:18] Production.INFO: ProcessCDR(1,14890214,1,1,2)
[2025-04-12 08:04:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890214,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:04:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890214,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:04:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890214,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:04:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890214,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890214', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890214', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:04:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 08:04:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 08:04:22] Production.INFO: ==5614== Releasing lock...
[2025-04-12 08:04:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 08:04:22] Production.INFO: 29.25 MB #Memory Used#
[2025-04-12 13:05:01] Production.INFO: ==5671== Lock acquired, processing the job...
[2025-04-12 13:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 13:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 13:05:01] Production.INFO: neon service started
[2025-04-12 13:05:01] Production.INFO: neon service started
[2025-04-12 13:05:01] Production.INFO: ==5671== Releasing lock...
[2025-04-12 13:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 13:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 12:05:02] Production.INFO: ==5675== Lock acquired, processing the job...
[2025-04-12 12:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 12:05:02] Production.INFO: ==5675== Releasing lock...
[2025-04-12 12:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 12:05:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 08:05:02] Production.INFO: ==5673== Lock acquired, processing the job...
[2025-04-12 08:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 08:05:02] Production.INFO: ==5673== Releasing lock...
[2025-04-12 08:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 08:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 08:05:03] Production.INFO: ==5679== Lock acquired, processing the job...
[2025-04-12 08:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 08:05:03] Production.INFO: ==5684== Lock acquired, processing the job...
[2025-04-12 08:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 08:05:03] Production.INFO: ==5686== Lock acquired, processing the job...
[2025-04-12 08:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 08:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 08:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 08:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 08:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 08:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 08:05:03] Production.INFO: Account Balance Start.
[2025-04-12 08:05:03] Production.INFO: CreateAllLog Start
[2025-04-12 08:05:03] Production.INFO: 117
[2025-04-12 08:05:03] Production.INFO: Date 2025-04-08
[2025-04-12 08:05:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:05:03] Production.INFO: ==5682== Lock acquired, processing the job...
[2025-04-12 08:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 08:05:03] Production.INFO: Date 2025-04-09
[2025-04-12 08:05:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:05:03] Production.INFO: Date 2025-04-10
[2025-04-12 08:05:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:05:03] Production.INFO: Date 2025-04-11
[2025-04-12 08:05:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:05:03] Production.INFO: ==5690== Lock acquired, processing the job...
[2025-04-12 08:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 08:05:03] Production.INFO: Date 2025-04-12
[2025-04-12 08:05:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:05:04] Production.INFO: Total Charge 0
[2025-04-12 08:05:04] Production.INFO: ==5688== Lock acquired, processing the job...
[2025-04-12 08:05:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 08:05:04] Production.INFO: CreateAllLog End
[2025-04-12 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-12 08:05:04] Production.INFO: count ==12
[2025-04-12 08:05:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 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-12 08:05:04] Production.INFO: ==5682== Releasing lock...
[2025-04-12 08:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 08:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 08:05:04] Production.INFO: count ==23
[2025-04-12 08:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890218') start
[2025-04-12 08:05:04] Production.INFO: Account Balance End.
[2025-04-12 08:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890218') end
[2025-04-12 08:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 08:05:04] Production.INFO: 1
[2025-04-12 08:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 08:05:04] Production.ERROR: CronJobId end 12
[2025-04-12 08:05:04] Production.INFO: ==5686== Releasing lock...
[2025-04-12 08:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 08:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 08:05:04] Production.INFO: ==5690== Releasing lock...
[2025-04-12 08:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 08:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 08:05:04] Production.ERROR: done
[2025-04-12 08:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 08:05:04] Production.ERROR: done
[2025-04-12 08:05:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 05:05:06
[end_date_ymd] => 2025-04-12 08:05:06
[RateCDR] => 1
)
[2025-04-12 08: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-12 05:05:06' and `end` < '2025-04-12 08: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-12 08:05:12] Production.ERROR: CronJobId end10
[2025-04-12 08:05:12] Production.INFO: ==5684== Releasing lock...
[2025-04-12 08:05:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 08:05:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 08:05:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 08:05:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 08:05:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 08:05:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 08:05:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 08:05:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 08:05:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 08:05:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 08:05:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 08:05:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 08:05:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 08:05:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 08:05:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 08:05:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 08:05:14] Production.INFO: call_cost start
[2025-04-12 08:05:14] Production.INFO: call_cost end
[2025-04-12 08:05:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 08:05:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 08:05:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 08:05:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 08:05:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 08:05:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 08:05:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 08:05:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 08:05:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 08:05:15] Production.INFO: ==5679== Releasing lock...
[2025-04-12 08:05:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 08:05:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 08:05:18] Production.INFO: count ==124
[2025-04-12 08:05:18] Production.ERROR: pbx CDR StartTime 2025-04-12 05:05:06 - End Time 2025-04-12 08:05:06
[2025-04-12 08:05:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 08:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890219', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890219', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890219', 'tblTempVendorCDR_20' ) start
[2025-04-12 08:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890219', 'tblTempVendorCDR_20' ) end
[2025-04-12 08:05:18] Production.INFO: ProcessCDR(1,14890219,1,1,2)
[2025-04-12 08:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890219,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:05:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890219,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:05:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890219,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:05:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890219,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890219', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890219', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:05:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 08:05:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 08:05:22] Production.INFO: ==5688== Releasing lock...
[2025-04-12 08:05:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 08:05:22] Production.INFO: 29 MB #Memory Used#
[2025-04-12 13:06:02] Production.INFO: ==5744== Lock acquired, processing the job...
[2025-04-12 13:06:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 13:06:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 13:06:02] Production.INFO: neon service started
[2025-04-12 13:06:02] Production.INFO: neon service started
[2025-04-12 13:06:02] Production.INFO: ==5744== Releasing lock...
[2025-04-12 13:06:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 13:06:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 12:06:02] Production.INFO: ==5748== Lock acquired, processing the job...
[2025-04-12 12:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 12:06:02] Production.INFO: ==5748== Releasing lock...
[2025-04-12 12:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 12:06:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 08:06:02] Production.INFO: ==5746== Lock acquired, processing the job...
[2025-04-12 08:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 08:06:03] Production.INFO: ==5746== Releasing lock...
[2025-04-12 08:06:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 08:06:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 08:06:04] Production.INFO: ==5755== Lock acquired, processing the job...
[2025-04-12 08:06:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 08:06:04] Production.INFO: ==5750== Lock acquired, processing the job...
[2025-04-12 08:06:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 08:06:04] Production.INFO: ==5752== Lock acquired, processing the job...
[2025-04-12 08:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 08:06:04] Production.INFO: ==5761== Lock acquired, processing the job...
[2025-04-12 08:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 08:06:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 08:06:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 08:06:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 08:06:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 08:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 08:06:04] Production.INFO: ==5757== Lock acquired, processing the job...
[2025-04-12 08:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 08:06:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 08:06:04] Production.INFO: ==5759== Lock acquired, processing the job...
[2025-04-12 08:06:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 08:06:04] Production.INFO: count ==12
[2025-04-12 08:06:04] Production.INFO: Account Balance Start.
[2025-04-12 08:06:04] Production.INFO: CreateAllLog Start
[2025-04-12 08:06:04] Production.INFO: 117
[2025-04-12 08:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 08:06:04] Production.INFO: Date 2025-04-08
[2025-04-12 08:06:04] Production.INFO: count ==23
[2025-04-12 08:06:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 08:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890222') start
[2025-04-12 08:06:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:06:04] Production.INFO: Date 2025-04-09
[2025-04-12 08:06:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:06:04] Production.INFO: Date 2025-04-10
[2025-04-12 08:06:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:06:04] Production.INFO: Date 2025-04-11
[2025-04-12 08:06:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:06:04] Production.INFO: Date 2025-04-12
[2025-04-12 08:06:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:06:04] Production.INFO: Total Charge 0
[2025-04-12 08:06:04] Production.INFO: CreateAllLog End
[2025-04-12 08:06:04] Production.INFO: ==5752== Releasing lock...
[2025-04-12 08:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 08:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 08:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890222') end
[2025-04-12 08:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 08:06:04] Production.INFO: 1
[2025-04-12 08:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 08:06:04] Production.INFO: ==5761== Releasing lock...
[2025-04-12 08:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 08:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 08:06:04] Production.ERROR: done
[2025-04-12 08:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 08:06:05] Production.ERROR: done
[2025-04-12 08:06:05] Production.INFO: Account Balance End.
[2025-04-12 08:06:05] Production.ERROR: CronJobId end 12
[2025-04-12 08:06:05] Production.INFO: ==5757== Releasing lock...
[2025-04-12 08:06:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 08:06:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 08:06:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 05:06:06
[end_date_ymd] => 2025-04-12 08:06:06
[RateCDR] => 1
)
[2025-04-12 08:06:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 05:06:06' and `end` < '2025-04-12 08:06:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 08:06:12] Production.ERROR: CronJobId end10
[2025-04-12 08:06:12] Production.INFO: ==5755== Releasing lock...
[2025-04-12 08:06:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 08:06:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 08:06:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 08:06:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 08:06:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 08:06:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 08:06:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 08:06:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 08:06:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 08:06:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 08:06:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 08:06:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 08:06:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 08:06:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 08:06:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 08:06:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 08:06:14] Production.INFO: call_cost start
[2025-04-12 08:06:14] Production.INFO: call_cost end
[2025-04-12 08:06:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 08:06:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 08:06:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 08:06:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 08:06:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 08:06:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 08:06:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 08:06:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 08:06:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 08:06:15] Production.INFO: ==5750== Releasing lock...
[2025-04-12 08:06:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 08:06:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 08:06:19] Production.INFO: count ==121
[2025-04-12 08:06:19] Production.ERROR: pbx CDR StartTime 2025-04-12 05:06:06 - End Time 2025-04-12 08:06:06
[2025-04-12 08:06:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 08:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890224', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890224', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890224', 'tblTempVendorCDR_20' ) start
[2025-04-12 08:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890224', 'tblTempVendorCDR_20' ) end
[2025-04-12 08:06:19] Production.INFO: ProcessCDR(1,14890224,1,1,2)
[2025-04-12 08:06:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890224,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:06:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890224,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:06:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890224,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:06:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890224,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890224', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890224', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:06:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 08:06:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 08:06:22] Production.INFO: ==5759== Releasing lock...
[2025-04-12 08:06:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 08:06:22] Production.INFO: 29 MB #Memory Used#
[2025-04-12 13:07:01] Production.INFO: ==5818== Lock acquired, processing the job...
[2025-04-12 13:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 13:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 13:07:01] Production.INFO: neon service started
[2025-04-12 13:07:01] Production.INFO: neon service started
[2025-04-12 13:07:01] Production.INFO: ==5818== Releasing lock...
[2025-04-12 13:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 13:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 12:07:02] Production.INFO: ==5822== Lock acquired, processing the job...
[2025-04-12 12:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 12:07:02] Production.INFO: ==5822== Releasing lock...
[2025-04-12 12:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 12:07:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 08:07:02] Production.INFO: ==5820== Lock acquired, processing the job...
[2025-04-12 08:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 08:07:02] Production.INFO: ==5820== Releasing lock...
[2025-04-12 08:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 08:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 08:07:03] Production.INFO: ==5863== Lock acquired, processing the job...
[2025-04-12 08:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 08:07:03] Production.INFO: ==5866== Lock acquired, processing the job...
[2025-04-12 08:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 08:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 08:07:03] Production.INFO: ==5872== Lock acquired, processing the job...
[2025-04-12 08:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 08:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 08:07:03] Production.INFO: ==5870== Lock acquired, processing the job...
[2025-04-12 08:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 08:07:03] Production.INFO: ==5868== Lock acquired, processing the job...
[2025-04-12 08:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 08:07:03] Production.INFO: ==5866== Releasing lock...
[2025-04-12 08:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 08:07:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 08:07:03] Production.INFO: ==5874== Lock acquired, processing the job...
[2025-04-12 08:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 08:07:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 08:07:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 08:07:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 08:07:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 08:07:04] Production.INFO: Account Balance Start.
[2025-04-12 08:07:04] Production.INFO: CreateAllLog Start
[2025-04-12 08:07:04] Production.INFO: 117
[2025-04-12 08:07:04] Production.ERROR: done
[2025-04-12 08:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 08:07:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 08:07:04] Production.INFO: Date 2025-04-08
[2025-04-12 08:07:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:07:04] Production.INFO: count ==12
[2025-04-12 08:07:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 08:07:04] Production.INFO: count ==23
[2025-04-12 08:07:04] Production.ERROR: done
[2025-04-12 08:07:04] Production.INFO: Date 2025-04-09
[2025-04-12 08:07:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890228') start
[2025-04-12 08:07:04] Production.INFO: Date 2025-04-10
[2025-04-12 08:07:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:07:04] Production.INFO: Date 2025-04-11
[2025-04-12 08:07:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:07:04] Production.INFO: Date 2025-04-12
[2025-04-12 08:07:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890228') end
[2025-04-12 08:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 08:07:04] Production.INFO: 1
[2025-04-12 08:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 08:07:04] Production.INFO: ==5874== Releasing lock...
[2025-04-12 08:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 08:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 08:07:04] Production.INFO: Total Charge 0
[2025-04-12 08:07:04] Production.INFO: CreateAllLog End
[2025-04-12 08:07:04] Production.INFO: Account Balance End.
[2025-04-12 08:07:04] Production.ERROR: CronJobId end 12
[2025-04-12 08:07:04] Production.INFO: ==5870== Releasing lock...
[2025-04-12 08:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 08:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 08:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 05:07:05
[end_date_ymd] => 2025-04-12 08:07:05
[RateCDR] => 1
)
[2025-04-12 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-12 05:07:05' and `end` < '2025-04-12 08:07:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 08:07:13] Production.ERROR: CronJobId end10
[2025-04-12 08:07:13] Production.INFO: ==5868== Releasing lock...
[2025-04-12 08:07:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 08:07:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 08:07:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 08:07:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 08:07:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 08:07:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 08:07:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 08:07:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 08:07:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 08:07:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 08:07:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 08:07:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 08:07:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 08:07:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 08:07:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 08:07:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 08:07:15] Production.INFO: call_cost start
[2025-04-12 08:07:15] Production.INFO: call_cost end
[2025-04-12 08:07:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 08:07:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 08:07:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 08:07:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 08:07:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 08:07:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 08:07:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 08:07:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 08:07:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 08:07:16] Production.INFO: ==5863== Releasing lock...
[2025-04-12 08:07:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 08:07:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 08:07:18] Production.INFO: count ==121
[2025-04-12 08:07:18] Production.ERROR: pbx CDR StartTime 2025-04-12 05:07:05 - End Time 2025-04-12 08:07:05
[2025-04-12 08:07:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 08:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890229', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890229', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890229', 'tblTempVendorCDR_20' ) start
[2025-04-12 08:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890229', 'tblTempVendorCDR_20' ) end
[2025-04-12 08:07:18] Production.INFO: ProcessCDR(1,14890229,1,1,2)
[2025-04-12 08:07:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890229,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:07:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890229,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:07:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890229,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:07:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890229,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890229', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890229', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:07:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 08:07:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 08:07:21] Production.INFO: ==5872== Releasing lock...
[2025-04-12 08:07:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 08:07:21] Production.INFO: 29 MB #Memory Used#
[2025-04-12 13:08:02] Production.INFO: ==5933== Lock acquired, processing the job...
[2025-04-12 13:08:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 13:08:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 13:08:02] Production.INFO: neon service started
[2025-04-12 13:08:02] Production.INFO: neon service started
[2025-04-12 13:08:02] Production.INFO: ==5933== Releasing lock...
[2025-04-12 13:08:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 13:08:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 08:08:02] Production.INFO: ==5935== Lock acquired, processing the job...
[2025-04-12 08:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 12:08:03] Production.INFO: ==5937== Lock acquired, processing the job...
[2025-04-12 12:08:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 12:08:03] Production.INFO: ==5937== Releasing lock...
[2025-04-12 12:08:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 12:08:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 08:08:03] Production.INFO: ==5935== Releasing lock...
[2025-04-12 08:08:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 08:08:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 08:08:04] Production.INFO: ==5942== Lock acquired, processing the job...
[2025-04-12 08:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 08:08:04] Production.INFO: ==5940== Lock acquired, processing the job...
[2025-04-12 08:08:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 08:08:04] Production.INFO: ==5946== Lock acquired, processing the job...
[2025-04-12 08:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 08:08:04] Production.INFO: Account Balance Start.
[2025-04-12 08:08:04] Production.INFO: CreateAllLog Start
[2025-04-12 08:08:04] Production.INFO: 117
[2025-04-12 08:08:04] Production.INFO: Date 2025-04-08
[2025-04-12 08:08:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:08:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 08:08:04] Production.INFO: Date 2025-04-09
[2025-04-12 08:08:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:08:04] Production.INFO: ==5944== Lock acquired, processing the job...
[2025-04-12 08:08:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 08:08:04] Production.INFO: Date 2025-04-10
[2025-04-12 08:08:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:08:04] Production.INFO: ==5942== Releasing lock...
[2025-04-12 08:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 08:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 08:08:04] Production.INFO: Date 2025-04-11
[2025-04-12 08:08:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:08:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 08:08:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 08:08:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 08:08:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 08:08:04] Production.INFO: ==5948== Lock acquired, processing the job...
[2025-04-12 08:08:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 08:08:04] Production.INFO: Date 2025-04-12
[2025-04-12 08:08:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:08:04] Production.INFO: Total Charge 0
[2025-04-12 08:08:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 08:08:04] Production.INFO: CreateAllLog End
[2025-04-12 08:08:04] Production.INFO: ==5950== Lock acquired, processing the job...
[2025-04-12 08:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 08:08:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 08:08:04] Production.INFO: count ==12
[2025-04-12 08:08:04] Production.INFO: Account Balance End.
[2025-04-12 08:08:04] Production.ERROR: done
[2025-04-12 08:08:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 08:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 08:08:04] Production.INFO: count ==23
[2025-04-12 08:08:04] Production.ERROR: CronJobId end 12
[2025-04-12 08:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890233') start
[2025-04-12 08:08:04] Production.INFO: ==5946== Releasing lock...
[2025-04-12 08:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 08:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 08:08:05] Production.ERROR: done
[2025-04-12 08:08:05] Production.ERROR: PBX CALL prc_importPBXExtension('14890233') end
[2025-04-12 08:08:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 08:08:05] Production.INFO: 1
[2025-04-12 08:08:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 08:08:05] Production.INFO: ==5950== Releasing lock...
[2025-04-12 08:08:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 08:08:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 08:08:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 05:08:06
[end_date_ymd] => 2025-04-12 08:08:06
[RateCDR] => 1
)
[2025-04-12 08:08:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 05:08:06' and `end` < '2025-04-12 08:08:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 08:08:13] Production.ERROR: CronJobId end10
[2025-04-12 08:08:13] Production.INFO: ==5944== Releasing lock...
[2025-04-12 08:08:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 08:08:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 08:08:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 08:08:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 08:08:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 08:08:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 08:08:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 08:08:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 08:08:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 08:08:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 08:08:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 08:08:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 08:08:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 08:08:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 08:08:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 08:08:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 08:08:15] Production.INFO: call_cost start
[2025-04-12 08:08:15] Production.INFO: call_cost end
[2025-04-12 08:08:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 08:08:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 08:08:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 08:08:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 08:08:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 08:08:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 08:08:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 08:08:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 08:08:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 08:08:16] Production.INFO: ==5940== Releasing lock...
[2025-04-12 08:08:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 08:08:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 08:08:19] Production.INFO: count ==119
[2025-04-12 08:08:19] Production.ERROR: pbx CDR StartTime 2025-04-12 05:08:06 - End Time 2025-04-12 08:08:06
[2025-04-12 08:08:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 08:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890234', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890234', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890234', 'tblTempVendorCDR_20' ) start
[2025-04-12 08:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890234', 'tblTempVendorCDR_20' ) end
[2025-04-12 08:08:19] Production.INFO: ProcessCDR(1,14890234,1,1,2)
[2025-04-12 08:08:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890234,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:08:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890234,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:08:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890234,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:08:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890234,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890234', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890234', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:08:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 08:08:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 08:08:22] Production.INFO: ==5948== Releasing lock...
[2025-04-12 08:08:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 08:08:22] Production.INFO: 29.25 MB #Memory Used#
[2025-04-12 13:09:01] Production.INFO: ==6009== Lock acquired, processing the job...
[2025-04-12 13:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 13:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 13:09:01] Production.INFO: neon service started
[2025-04-12 13:09:01] Production.INFO: neon service started
[2025-04-12 13:09:01] Production.INFO: ==6009== Releasing lock...
[2025-04-12 13:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 13:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 12:09:02] Production.INFO: ==6014== Lock acquired, processing the job...
[2025-04-12 12:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 12:09:02] Production.INFO: ==6014== Releasing lock...
[2025-04-12 12:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 12:09:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 08:09:02] Production.INFO: ==6012== Lock acquired, processing the job...
[2025-04-12 08:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 08:09:02] Production.INFO: ==6012== Releasing lock...
[2025-04-12 08:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 08:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 08:09:03] Production.INFO: ==6016== Lock acquired, processing the job...
[2025-04-12 08:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 08:09:03] Production.INFO: ==6020== Lock acquired, processing the job...
[2025-04-12 08:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 08:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 08:09:03] Production.INFO: ==6026== Lock acquired, processing the job...
[2025-04-12 08:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 08:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 08:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 08:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 08:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 08:09:03] Production.INFO: ==6018== Lock acquired, processing the job...
[2025-04-12 08:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 08:09:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 08:09:03] Production.INFO: count ==12
[2025-04-12 08:09:03] Production.INFO: ==6022== Lock acquired, processing the job...
[2025-04-12 08:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 08:09:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 08:09:03] Production.INFO: count ==23
[2025-04-12 08:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890236') start
[2025-04-12 08:09:03] Production.INFO: ==6024== Lock acquired, processing the job...
[2025-04-12 08:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 08:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 08:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890236') end
[2025-04-12 08:09:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 08:09:03] Production.INFO: 1
[2025-04-12 08:09:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 08:09:03] Production.INFO: Account Balance Start.
[2025-04-12 08:09:03] Production.INFO: CreateAllLog Start
[2025-04-12 08:09:03] Production.INFO: 117
[2025-04-12 08:09:03] Production.INFO: Date 2025-04-08
[2025-04-12 08:09:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:09:03] Production.INFO: Date 2025-04-09
[2025-04-12 08:09:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:09:03] Production.INFO: Date 2025-04-10
[2025-04-12 08:09:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:09:03] Production.INFO: ==6026== Releasing lock...
[2025-04-12 08:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 08:09:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 08:09:03] Production.INFO: ==6018== Releasing lock...
[2025-04-12 08:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 08:09:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 08:09:04] Production.INFO: Date 2025-04-11
[2025-04-12 08:09:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:09:04] Production.ERROR: done
[2025-04-12 08:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 08:09:04] Production.INFO: Date 2025-04-12
[2025-04-12 08:09:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:09:04] Production.ERROR: done
[2025-04-12 08:09:04] Production.INFO: Total Charge 0
[2025-04-12 08:09:04] Production.INFO: CreateAllLog End
[2025-04-12 08:09:04] Production.INFO: Account Balance End.
[2025-04-12 08:09:04] Production.ERROR: CronJobId end 12
[2025-04-12 08:09:04] Production.INFO: ==6022== Releasing lock...
[2025-04-12 08:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 08:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 08:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 05:09:05
[end_date_ymd] => 2025-04-12 08:09:05
[RateCDR] => 1
)
[2025-04-12 08:09:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 05:09:05' and `end` < '2025-04-12 08:09:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 08:09:11] Production.ERROR: CronJobId end10
[2025-04-12 08:09:11] Production.INFO: ==6020== Releasing lock...
[2025-04-12 08:09:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 08:09:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 08:09:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 08:09:12] Production.INFO: ============== Balance Warning START===========
[2025-04-12 08:09:12] Production.INFO: ============== Balance Warning END===========
[2025-04-12 08:09:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 08:09:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 08:09:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 08:09:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 08:09:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 08:09:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 08:09:12] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 08:09:12] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 08:09:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 08:09:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 08:09:12] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 08:09:13] Production.INFO: call_cost start
[2025-04-12 08:09:13] Production.INFO: call_cost end
[2025-04-12 08:09:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 08:09:14] Production.INFO: ============== Report Schedule START===========
[2025-04-12 08:09:14] Production.INFO: ============== Report Schedule END===========
[2025-04-12 08:09:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 08:09:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 08:09:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 08:09:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 08:09:14] Production.INFO: ============== Deal alert START===========
[2025-04-12 08:09:14] Production.INFO: ============== Deal alert END===========
[2025-04-12 08:09:14] Production.INFO: ==6016== Releasing lock...
[2025-04-12 08:09:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 08:09:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 08:09:18] Production.INFO: count ==117
[2025-04-12 08:09:18] Production.ERROR: pbx CDR StartTime 2025-04-12 05:09:05 - End Time 2025-04-12 08:09:05
[2025-04-12 08:09:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 08:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890239', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890239', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890239', 'tblTempVendorCDR_20' ) start
[2025-04-12 08:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890239', 'tblTempVendorCDR_20' ) end
[2025-04-12 08:09:18] Production.INFO: ProcessCDR(1,14890239,1,1,2)
[2025-04-12 08:09:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890239,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:09:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890239,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:09:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890239,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:09:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890239,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890239', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890239', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:09:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 08:09:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 08:09:21] Production.INFO: ==6024== Releasing lock...
[2025-04-12 08:09:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 08:09:21] Production.INFO: 29 MB #Memory Used#
[2025-04-12 13:10:02] Production.INFO: ==6082== Lock acquired, processing the job...
[2025-04-12 13:10:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 13:10:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 13:10:02] Production.INFO: neon service started
[2025-04-12 13:10:02] Production.INFO: neon service started
[2025-04-12 13:10:02] Production.INFO: ==6082== Releasing lock...
[2025-04-12 13:10:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 13:10:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 08:10:02] Production.INFO: ==6084== Lock acquired, processing the job...
[2025-04-12 08:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 12:10:02] Production.INFO: ==6086== Lock acquired, processing the job...
[2025-04-12 12:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 08:10:02] Production.INFO: ==6084== Releasing lock...
[2025-04-12 08:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 08:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 12:10:03] Production.INFO: ==6086== Releasing lock...
[2025-04-12 12:10:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 12:10:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 08:10:03] Production.INFO: ==6089== Lock acquired, processing the job...
[2025-04-12 08:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 08:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 08:10:04] Production.INFO: ==6091== Lock acquired, processing the job...
[2025-04-12 08:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 08:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 08:10:04] Production.INFO: ==6089== Releasing lock...
[2025-04-12 08:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 08:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 08:10:04] Production.INFO: ==6093== Lock acquired, processing the job...
[2025-04-12 08:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 08:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 08:10:04] Production.INFO: ==6099== Lock acquired, processing the job...
[2025-04-12 08:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 08:10:04] Production.INFO: ==6095== Lock acquired, processing the job...
[2025-04-12 08:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 08:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 08:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 08:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 08:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 08:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 08:10:04] Production.INFO: ==6097== Lock acquired, processing the job...
[2025-04-12 08:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 08:10:04] Production.INFO: ==6101== Lock acquired, processing the job...
[2025-04-12 08:10:04] Production.INFO: ==6103== Lock acquired, processing the job...
[2025-04-12 08:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 08:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 08:10:04] Production.INFO: Account Balance Start.
[2025-04-12 08:10:04] Production.INFO: CreateAllLog Start
[2025-04-12 08:10:04] Production.INFO: 117
[2025-04-12 08:10:04] Production.INFO: ==6093== Releasing lock...
[2025-04-12 08:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 08:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 08:10:04] Production.INFO: Date 2025-04-08
[2025-04-12 08:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 08:10:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:10:04] Production.INFO: Date 2025-04-09
[2025-04-12 08:10:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:10:04] Production.INFO: Date 2025-04-10
[2025-04-12 08:10:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:10:04] Production.INFO: Date 2025-04-11
[2025-04-12 08:10:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:10:04] Production.INFO: Date 2025-04-12
[2025-04-12 08:10:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:10:04] Production.INFO: Total Charge 0
[2025-04-12 08:10:04] Production.INFO: CreateAllLog End
[2025-04-12 08:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 08:10:04] Production.ERROR: done
[2025-04-12 08:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 08:10:04] Production.INFO: count ==12
[2025-04-12 08:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 08:10:04] Production.INFO: count ==23
[2025-04-12 08:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14890243') start
[2025-04-12 08:10:05] Production.ERROR: done
[2025-04-12 08:10:05] Production.ERROR: done
[2025-04-12 08:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14890243') end
[2025-04-12 08:10:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 08:10:05] Production.INFO: 1
[2025-04-12 08:10:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 08:10:05] Production.INFO: ==6103== Releasing lock...
[2025-04-12 08:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 08:10:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 08:10:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 08:10:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14890245', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 08:10:05] Production.INFO: Account Balance End.
[2025-04-12 08:10:05] Production.ERROR: CronJobId end 12
[2025-04-12 08:10:05] Production.INFO: ==6097== Releasing lock...
[2025-04-12 08:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 08:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 08:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 05:10:06
[end_date_ymd] => 2025-04-12 08:10:06
[RateCDR] => 1
)
[2025-04-12 08:10:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 05:10:06' and `end` < '2025-04-12 08:10:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 08:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14890245', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 08:10:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 08:10:09] Production.INFO: ProcessCDR(1,14890245,1,1,2)
[2025-04-12 08:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14890245,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14890245,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 08:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 08:10:09] Production.INFO: ==6101== Releasing lock...
[2025-04-12 08:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 08:10:09] Production.INFO: 26 MB #Memory Used#
[2025-04-12 08:10:14] Production.ERROR: CronJobId end10
[2025-04-12 08:10:14] Production.INFO: ==6095== Releasing lock...
[2025-04-12 08:10:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 08:10:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 08:10:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 08:10:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 08:10:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 08:10:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 08:10:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 08:10:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 08:10:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 08:10:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 08:10:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 08:10:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 08:10:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 08:10:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 08:10:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 08:10:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 08:10:15] Production.INFO: call_cost start
[2025-04-12 08:10:15] Production.INFO: call_cost end
[2025-04-12 08:10:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 08:10:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 08:10:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 08:10:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 08:10:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 08:10:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 08:10:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 08:10:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 08:10:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 08:10:16] Production.INFO: ==6091== Releasing lock...
[2025-04-12 08:10:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 08:10:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 08:10:19] Production.INFO: count ==109
[2025-04-12 08:10:19] Production.ERROR: pbx CDR StartTime 2025-04-12 05:10:06 - End Time 2025-04-12 08:10:06
[2025-04-12 08:10:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 08:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890244', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890244', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890244', 'tblTempVendorCDR_20' ) start
[2025-04-12 08:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890244', 'tblTempVendorCDR_20' ) end
[2025-04-12 08:10:19] Production.INFO: ProcessCDR(1,14890244,1,1,2)
[2025-04-12 08:10:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890244,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:10:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890244,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:10:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890244,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:10:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890244,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890244', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890244', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:10:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 08:10:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 08:10:22] Production.INFO: ==6099== Releasing lock...
[2025-04-12 08:10:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 08:10:22] Production.INFO: 28.75 MB #Memory Used#
[2025-04-12 13:11:01] Production.INFO: ==6161== Lock acquired, processing the job...
[2025-04-12 13:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 13:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 13:11:01] Production.INFO: neon service started
[2025-04-12 13:11:01] Production.INFO: neon service started
[2025-04-12 13:11:01] Production.INFO: ==6161== Releasing lock...
[2025-04-12 13:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 13:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 12:11:01] Production.INFO: ==6165== Lock acquired, processing the job...
[2025-04-12 12:11:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 12:11:01] Production.INFO: ==6165== Releasing lock...
[2025-04-12 12:11:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 12:11:01] Production.INFO: 25 MB #Memory Used#
[2025-04-12 08:11:02] Production.INFO: ==6163== Lock acquired, processing the job...
[2025-04-12 08:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 08:11:02] Production.INFO: ==6163== Releasing lock...
[2025-04-12 08:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 08:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 08:11:03] Production.INFO: ==6172== Lock acquired, processing the job...
[2025-04-12 08:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 08:11:03] Production.INFO: ==6174== Lock acquired, processing the job...
[2025-04-12 08:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 08:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 08:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 08:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 08:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 08:11:03] Production.INFO: ==6167== Lock acquired, processing the job...
[2025-04-12 08:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 08:11:03] Production.INFO: ==6169== Lock acquired, processing the job...
[2025-04-12 08:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 08:11:03] Production.INFO: Account Balance Start.
[2025-04-12 08:11:03] Production.INFO: CreateAllLog Start
[2025-04-12 08:11:03] Production.INFO: 117
[2025-04-12 08:11:03] Production.INFO: Date 2025-04-08
[2025-04-12 08:11:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 08:11:03] Production.INFO: Date 2025-04-09
[2025-04-12 08:11:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:11:03] Production.INFO: Date 2025-04-10
[2025-04-12 08:11:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:11:03] Production.INFO: ==6176== Lock acquired, processing the job...
[2025-04-12 08:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 08:11:03] Production.INFO: Date 2025-04-11
[2025-04-12 08:11:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:11:03] Production.INFO: Date 2025-04-12
[2025-04-12 08:11:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:11:03] Production.INFO: ==6178== Lock acquired, processing the job...
[2025-04-12 08:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 08:11:03] Production.INFO: Total Charge 0
[2025-04-12 08:11:03] Production.INFO: CreateAllLog End
[2025-04-12 08:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 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-12 08:11:03] Production.INFO: count ==12
[2025-04-12 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-12 08:11:03] Production.INFO: count ==23
[2025-04-12 08:11:03] Production.INFO: Account Balance End.
[2025-04-12 08:11:03] Production.INFO: ==6169== Releasing lock...
[2025-04-12 08:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 08:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 08:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890249') start
[2025-04-12 08:11:03] Production.ERROR: CronJobId end 12
[2025-04-12 08:11:03] Production.INFO: ==6174== Releasing lock...
[2025-04-12 08:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 08:11:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 08:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890249') end
[2025-04-12 08:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 08:11:04] Production.INFO: 1
[2025-04-12 08:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 08:11:04] Production.INFO: ==6178== Releasing lock...
[2025-04-12 08:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 08:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 08:11:04] Production.ERROR: done
[2025-04-12 08:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 08:11:04] Production.ERROR: done
[2025-04-12 08:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 05:11:05
[end_date_ymd] => 2025-04-12 08:11:05
[RateCDR] => 1
)
[2025-04-12 08:11:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 05:11:05' and `end` < '2025-04-12 08:11:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 08:11:11] Production.ERROR: CronJobId end10
[2025-04-12 08:11:11] Production.INFO: ==6172== Releasing lock...
[2025-04-12 08:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 08:11:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 08:11:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 08:11:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 08:11:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 08:11:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 08:11:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 08:11:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 08:11:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 08:11:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 08:11:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 08:11:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 08:11:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 08:11:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 08:11:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 08:11:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 08:11:14] Production.INFO: call_cost start
[2025-04-12 08:11:14] Production.INFO: call_cost end
[2025-04-12 08:11:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 08:11:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 08:11:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 08:11:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 08:11:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 08:11:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 08:11:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 08:11:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 08:11:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 08:11:15] Production.INFO: ==6167== Releasing lock...
[2025-04-12 08:11:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 08:11:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 08:11:18] Production.INFO: count ==115
[2025-04-12 08:11:18] Production.ERROR: pbx CDR StartTime 2025-04-12 05:11:05 - End Time 2025-04-12 08:11:05
[2025-04-12 08:11:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 08:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890250', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890250', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890250', 'tblTempVendorCDR_20' ) start
[2025-04-12 08:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890250', 'tblTempVendorCDR_20' ) end
[2025-04-12 08:11:18] Production.INFO: ProcessCDR(1,14890250,1,1,2)
[2025-04-12 08:11:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890250,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:11:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890250,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:11:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890250,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:11:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890250,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890250', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890250', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:11:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 08:11:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 08:11:21] Production.INFO: ==6176== Releasing lock...
[2025-04-12 08:11:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 08:11:21] Production.INFO: 29 MB #Memory Used#
[2025-04-12 13:12:02] Production.INFO: ==6232== Lock acquired, processing the job...
[2025-04-12 13:12:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 13:12:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 13:12:02] Production.INFO: neon service started
[2025-04-12 13:12:02] Production.INFO: neon service started
[2025-04-12 13:12:02] Production.INFO: ==6232== Releasing lock...
[2025-04-12 13:12:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 13:12:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 12:12:02] Production.INFO: ==6236== Lock acquired, processing the job...
[2025-04-12 12:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 12:12:02] Production.INFO: ==6236== Releasing lock...
[2025-04-12 12:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 12:12:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 08:12:02] Production.INFO: ==6234== Lock acquired, processing the job...
[2025-04-12 08:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 08:12:03] Production.INFO: ==6234== Releasing lock...
[2025-04-12 08:12:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 08:12:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 08:12:03] Production.INFO: ==6241== Lock acquired, processing the job...
[2025-04-12 08:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 08:12:03] Production.INFO: ==6249== Lock acquired, processing the job...
[2025-04-12 08:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 08:12:04] Production.INFO: ==6239== Lock acquired, processing the job...
[2025-04-12 08:12:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 08:12:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 08:12:04] Production.INFO: ==6243== Lock acquired, processing the job...
[2025-04-12 08:12:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 08:12:04] Production.INFO: ==6245== Lock acquired, processing the job...
[2025-04-12 08:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 08:12:04] Production.INFO: ==6241== Releasing lock...
[2025-04-12 08:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 08:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 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-12 08:12:04] Production.INFO: count ==12
[2025-04-12 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-12 08:12:04] Production.INFO: count ==23
[2025-04-12 08:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890252') start
[2025-04-12 08:12:04] Production.INFO: ==6247== Lock acquired, processing the job...
[2025-04-12 08:12:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 08:12:04] Production.INFO: Account Balance Start.
[2025-04-12 08:12:04] Production.INFO: CreateAllLog Start
[2025-04-12 08:12:04] Production.INFO: 117
[2025-04-12 08:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 08:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 08:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 08:12:04] Production.INFO: Date 2025-04-08
[2025-04-12 08:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 08:12:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:12:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 08:12:04] Production.INFO: Date 2025-04-09
[2025-04-12 08:12:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:12:04] Production.INFO: Date 2025-04-10
[2025-04-12 08:12:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890252') end
[2025-04-12 08:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 08:12:04] Production.INFO: 1
[2025-04-12 08:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 08:12:04] Production.INFO: Date 2025-04-11
[2025-04-12 08:12:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:12:04] Production.INFO: Date 2025-04-12
[2025-04-12 08:12:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:12:04] Production.INFO: Total Charge 0
[2025-04-12 08:12:04] Production.INFO: CreateAllLog End
[2025-04-12 08:12:04] Production.INFO: ==6249== Releasing lock...
[2025-04-12 08:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 08:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 08:12:04] Production.ERROR: done
[2025-04-12 08:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 08:12:04] Production.INFO: Account Balance End.
[2025-04-12 08:12:04] Production.ERROR: CronJobId end 12
[2025-04-12 08:12:04] Production.INFO: ==6245== Releasing lock...
[2025-04-12 08:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 08:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 08:12:04] Production.ERROR: done
[2025-04-12 08:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 05:12:05
[end_date_ymd] => 2025-04-12 08:12:05
[RateCDR] => 1
)
[2025-04-12 08:12:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 05:12:05' and `end` < '2025-04-12 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-12 08:12:12] Production.ERROR: CronJobId end10
[2025-04-12 08:12:12] Production.INFO: ==6243== Releasing lock...
[2025-04-12 08:12:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 08:12:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 08:12:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 08:12:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 08:12:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 08:12:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 08:12:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 08:12:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 08:12:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 08:12:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 08:12:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 08:12:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 08:12:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 08:12:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 08:12:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 08:12:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 08:12:14] Production.INFO: call_cost start
[2025-04-12 08:12:14] Production.INFO: call_cost end
[2025-04-12 08:12:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 08:12:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 08:12:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 08:12:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 08:12:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 08:12:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 08:12:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 08:12:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 08:12:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 08:12:15] Production.INFO: ==6239== Releasing lock...
[2025-04-12 08:12:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 08:12:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 08:12:18] Production.INFO: count ==115
[2025-04-12 08:12:18] Production.ERROR: pbx CDR StartTime 2025-04-12 05:12:05 - End Time 2025-04-12 08:12:05
[2025-04-12 08:12:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 08:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890255', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890255', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890255', 'tblTempVendorCDR_20' ) start
[2025-04-12 08:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890255', 'tblTempVendorCDR_20' ) end
[2025-04-12 08:12:18] Production.INFO: ProcessCDR(1,14890255,1,1,2)
[2025-04-12 08:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890255,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:12:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890255,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:12:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890255,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:12:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890255,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:12:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890255', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:12:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890255', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:12:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 08:12:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 08:12:22] Production.INFO: ==6247== Releasing lock...
[2025-04-12 08:12:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 08:12:22] Production.INFO: 29 MB #Memory Used#
[2025-04-12 13:13:01] Production.INFO: ==6305== Lock acquired, processing the job...
[2025-04-12 13:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 13:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 13:13:01] Production.INFO: neon service started
[2025-04-12 13:13:01] Production.INFO: neon service started
[2025-04-12 13:13:01] Production.INFO: ==6305== Releasing lock...
[2025-04-12 13:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 13:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 08:13:01] Production.INFO: ==6307== Lock acquired, processing the job...
[2025-04-12 08:13:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 08:13:02] Production.INFO: ==6307== Releasing lock...
[2025-04-12 08:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 08:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 12:13:02] Production.INFO: ==6309== Lock acquired, processing the job...
[2025-04-12 12:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 12:13:02] Production.INFO: ==6309== Releasing lock...
[2025-04-12 12:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 12:13:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 08:13:03] Production.INFO: ==6316== Lock acquired, processing the job...
[2025-04-12 08:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 08:13:03] Production.INFO: ==6322== Lock acquired, processing the job...
[2025-04-12 08:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 08:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 08:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 08:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 08:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 08:13:03] Production.INFO: ==6312== Lock acquired, processing the job...
[2025-04-12 08:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 08:13:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 08:13:03] Production.INFO: ==6314== Lock acquired, processing the job...
[2025-04-12 08:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 08:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 08:13:03] Production.INFO: count ==12
[2025-04-12 08:13:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 08:13:03] Production.INFO: count ==23
[2025-04-12 08:13:03] Production.INFO: ==6318== Lock acquired, processing the job...
[2025-04-12 08:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 08:13:03] Production.INFO: ==6320== Lock acquired, processing the job...
[2025-04-12 08:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 08:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890256') start
[2025-04-12 08:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890256') end
[2025-04-12 08:13:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 08:13:03] Production.INFO: 1
[2025-04-12 08:13:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 08:13:03] Production.INFO: Account Balance Start.
[2025-04-12 08:13:03] Production.INFO: CreateAllLog Start
[2025-04-12 08:13:03] Production.INFO: 117
[2025-04-12 08:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 08:13:03] Production.INFO: Date 2025-04-08
[2025-04-12 08:13:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:13:03] Production.INFO: ==6322== Releasing lock...
[2025-04-12 08:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 08:13:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 08:13:03] Production.INFO: Date 2025-04-09
[2025-04-12 08:13:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:13:04] Production.INFO: Date 2025-04-10
[2025-04-12 08:13:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:13:04] Production.INFO: Date 2025-04-11
[2025-04-12 08:13:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:13:04] Production.INFO: Date 2025-04-12
[2025-04-12 08:13:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:13:04] Production.INFO: Total Charge 0
[2025-04-12 08:13:04] Production.INFO: CreateAllLog End
[2025-04-12 08:13:04] Production.INFO: ==6314== Releasing lock...
[2025-04-12 08:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 08:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 08:13:04] Production.ERROR: done
[2025-04-12 08:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 08:13:04] Production.INFO: Account Balance End.
[2025-04-12 08:13:04] Production.ERROR: done
[2025-04-12 08:13:04] Production.ERROR: CronJobId end 12
[2025-04-12 08:13:04] Production.INFO: ==6318== Releasing lock...
[2025-04-12 08:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 08:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 08:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 05:13:05
[end_date_ymd] => 2025-04-12 08:13:05
[RateCDR] => 1
)
[2025-04-12 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-12 05:13:05' and `end` < '2025-04-12 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-12 08:13:11] Production.ERROR: CronJobId end10
[2025-04-12 08:13:11] Production.INFO: ==6316== Releasing lock...
[2025-04-12 08:13:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 08:13:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 08:13:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 08:13:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 08:13:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 08:13:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 08:13:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 08:13:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 08:13:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 08:13:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 08:13:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 08:13:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 08:13:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 08:13:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 08:13:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 08:13:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 08:13:13] Production.INFO: call_cost start
[2025-04-12 08:13:13] Production.INFO: call_cost end
[2025-04-12 08:13:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 08:13:14] Production.INFO: ============== Report Schedule START===========
[2025-04-12 08:13:14] Production.INFO: ============== Report Schedule END===========
[2025-04-12 08:13:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 08:13:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 08:13:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 08:13:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 08:13:14] Production.INFO: ============== Deal alert START===========
[2025-04-12 08:13:14] Production.INFO: ============== Deal alert END===========
[2025-04-12 08:13:14] Production.INFO: ==6312== Releasing lock...
[2025-04-12 08:13:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 08:13:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 08:13:18] Production.INFO: count ==115
[2025-04-12 08:13:18] Production.ERROR: pbx CDR StartTime 2025-04-12 05:13:05 - End Time 2025-04-12 08:13:05
[2025-04-12 08:13:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 08:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890260', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890260', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890260', 'tblTempVendorCDR_20' ) start
[2025-04-12 08:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890260', 'tblTempVendorCDR_20' ) end
[2025-04-12 08:13:18] Production.INFO: ProcessCDR(1,14890260,1,1,2)
[2025-04-12 08:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890260,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:13:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890260,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:13:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890260,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:13:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890260,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890260', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890260', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:13:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 08:13:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 08:13:21] Production.INFO: ==6320== Releasing lock...
[2025-04-12 08:13:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 08:13:21] Production.INFO: 29 MB #Memory Used#
[2025-04-12 13:14:02] Production.INFO: ==6380== Lock acquired, processing the job...
[2025-04-12 13:14:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 13:14:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 13:14:02] Production.INFO: neon service started
[2025-04-12 13:14:02] Production.INFO: neon service started
[2025-04-12 13:14:02] Production.INFO: ==6380== Releasing lock...
[2025-04-12 13:14:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 13:14:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 12:14:02] Production.INFO: ==6385== Lock acquired, processing the job...
[2025-04-12 12:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 12:14:02] Production.INFO: ==6385== Releasing lock...
[2025-04-12 12:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 12:14:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 08:14:02] Production.INFO: ==6383== Lock acquired, processing the job...
[2025-04-12 08:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 08:14:03] Production.INFO: ==6383== Releasing lock...
[2025-04-12 08:14:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 08:14:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 08:14:03] Production.INFO: ==6387== Lock acquired, processing the job...
[2025-04-12 08:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 08:14:03] Production.INFO: ==6389== Lock acquired, processing the job...
[2025-04-12 08:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 08:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 08:14:03] Production.INFO: ==6395== Lock acquired, processing the job...
[2025-04-12 08:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 08:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 08:14:04] Production.INFO: ==6391== Lock acquired, processing the job...
[2025-04-12 08:14:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 08:14:04] Production.INFO: ==6389== Releasing lock...
[2025-04-12 08:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 08:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 08:14:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 08:14:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 08:14:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 08:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 08:14:04] Production.INFO: ==6393== Lock acquired, processing the job...
[2025-04-12 08:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 08:14:04] Production.INFO: ==6397== Lock acquired, processing the job...
[2025-04-12 08:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 08:14:04] Production.ERROR: done
[2025-04-12 08:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 08:14:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 08:14:04] Production.INFO: count ==12
[2025-04-12 08:14:04] Production.INFO: Account Balance Start.
[2025-04-12 08:14:04] Production.INFO: CreateAllLog Start
[2025-04-12 08:14:04] Production.INFO: 117
[2025-04-12 08:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 08:14:04] Production.INFO: count ==23
[2025-04-12 08:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890264') start
[2025-04-12 08:14:04] Production.ERROR: done
[2025-04-12 08:14:04] Production.INFO: Date 2025-04-08
[2025-04-12 08:14:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890264') end
[2025-04-12 08:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 08:14:04] Production.INFO: 1
[2025-04-12 08:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 08:14:04] Production.INFO: Date 2025-04-09
[2025-04-12 08:14:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:14:04] Production.INFO: Date 2025-04-10
[2025-04-12 08:14:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:14:04] Production.INFO: ==6397== Releasing lock...
[2025-04-12 08:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 08:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 08:14:04] Production.INFO: Date 2025-04-11
[2025-04-12 08:14:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:14:04] Production.INFO: Date 2025-04-12
[2025-04-12 08:14:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:14:04] Production.INFO: Total Charge 0
[2025-04-12 08:14:04] Production.INFO: CreateAllLog End
[2025-04-12 08:14:05] Production.INFO: Account Balance End.
[2025-04-12 08:14:05] Production.ERROR: CronJobId end 12
[2025-04-12 08:14:05] Production.INFO: ==6393== Releasing lock...
[2025-04-12 08:14:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 08:14:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 08:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 05:14:05
[end_date_ymd] => 2025-04-12 08:14:05
[RateCDR] => 1
)
[2025-04-12 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-12 05:14:05' and `end` < '2025-04-12 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-12 08:14:12] Production.ERROR: CronJobId end10
[2025-04-12 08:14:12] Production.INFO: ==6391== Releasing lock...
[2025-04-12 08:14:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 08:14:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 08:14:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 08:14:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 08:14:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 08:14:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 08:14:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 08:14:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 08:14:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 08:14:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 08:14:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 08:14:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 08:14:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 08:14:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 08:14:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 08:14:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 08:14:14] Production.INFO: call_cost start
[2025-04-12 08:14:14] Production.INFO: call_cost end
[2025-04-12 08:14:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 08:14:14] Production.INFO: ============== Report Schedule START===========
[2025-04-12 08:14:14] Production.INFO: ============== Report Schedule END===========
[2025-04-12 08:14:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 08:14:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 08:14:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 08:14:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 08:14:14] Production.INFO: ============== Deal alert START===========
[2025-04-12 08:14:14] Production.INFO: ============== Deal alert END===========
[2025-04-12 08:14:14] Production.INFO: ==6387== Releasing lock...
[2025-04-12 08:14:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 08:14:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 08:14:18] Production.INFO: count ==120
[2025-04-12 08:14:18] Production.ERROR: pbx CDR StartTime 2025-04-12 05:14:05 - End Time 2025-04-12 08:14:05
[2025-04-12 08:14:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 08:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890265', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890265', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890265', 'tblTempVendorCDR_20' ) start
[2025-04-12 08:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890265', 'tblTempVendorCDR_20' ) end
[2025-04-12 08:14:18] Production.INFO: ProcessCDR(1,14890265,1,1,2)
[2025-04-12 08:14:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890265,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:14:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890265,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:14:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890265,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:14:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890265,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890265', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890265', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:14:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 08:14:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 08:14:22] Production.INFO: ==6395== Releasing lock...
[2025-04-12 08:14:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 08:14:22] Production.INFO: 29.25 MB #Memory Used#
[2025-04-12 13:15:01] Production.INFO: ==6458== Lock acquired, processing the job...
[2025-04-12 13:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 13:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 13:15:01] Production.INFO: neon service started
[2025-04-12 13:15:01] Production.INFO: neon service started
[2025-04-12 13:15:01] Production.INFO: ==6458== Releasing lock...
[2025-04-12 13:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 13:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 08:15:01] Production.INFO: ==6460== Lock acquired, processing the job...
[2025-04-12 08:15:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 08:15:02] Production.INFO: ==6460== Releasing lock...
[2025-04-12 08:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 08:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 12:15:02] Production.INFO: ==6462== Lock acquired, processing the job...
[2025-04-12 12:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 12:15:02] Production.INFO: ==6462== Releasing lock...
[2025-04-12 12:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 12:15:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 08:15:03] Production.INFO: ==6469== Lock acquired, processing the job...
[2025-04-12 08:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 08:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 08:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 08:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 08:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 08:15:03] Production.INFO: ==6465== Lock acquired, processing the job...
[2025-04-12 08:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 08:15:03] Production.INFO: ==6467== Lock acquired, processing the job...
[2025-04-12 08:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 08:15:03] Production.INFO: ==6475== Lock acquired, processing the job...
[2025-04-12 08:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 08:15:03] Production.INFO: ==6471== Lock acquired, processing the job...
[2025-04-12 08:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 08:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 08:15:03] Production.INFO: ==6473== Lock acquired, processing the job...
[2025-04-12 08:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 08:15:03] Production.INFO: Account Balance Start.
[2025-04-12 08:15:03] Production.INFO: CreateAllLog Start
[2025-04-12 08:15:03] Production.INFO: 117
[2025-04-12 08:15:03] Production.INFO: Date 2025-04-08
[2025-04-12 08:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 08:15:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 08:15:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:15:03] Production.INFO: count ==12
[2025-04-12 08:15:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 08:15:03] Production.INFO: count ==23
[2025-04-12 08:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890268') start
[2025-04-12 08:15:03] Production.INFO: Date 2025-04-09
[2025-04-12 08:15:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:15:03] Production.INFO: Date 2025-04-10
[2025-04-12 08:15:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:15:03] Production.INFO: Date 2025-04-11
[2025-04-12 08:15:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:15:03] Production.INFO: Date 2025-04-12
[2025-04-12 08:15:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:15:03] Production.INFO: Total Charge 0
[2025-04-12 08:15:03] Production.INFO: CreateAllLog End
[2025-04-12 08:15:03] Production.INFO: ==6467== Releasing lock...
[2025-04-12 08:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 08:15:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 08:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890268') end
[2025-04-12 08:15:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 08:15:03] Production.INFO: 1
[2025-04-12 08:15:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 08:15:03] Production.ERROR: done
[2025-04-12 08:15:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 08:15:03] Production.INFO: ==6475== Releasing lock...
[2025-04-12 08:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 08:15:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 08:15:03] Production.INFO: Account Balance End.
[2025-04-12 08:15:03] Production.ERROR: done
[2025-04-12 08:15:03] Production.ERROR: CronJobId end 12
[2025-04-12 08:15:03] Production.INFO: ==6471== Releasing lock...
[2025-04-12 08:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 08:15:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 08:15:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 05:15:04
[end_date_ymd] => 2025-04-12 08:15:04
[RateCDR] => 1
)
[2025-04-12 08: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-12 05:15:04' and `end` < '2025-04-12 08: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-12 08:15:12] Production.ERROR: CronJobId end10
[2025-04-12 08:15:12] Production.INFO: ==6469== Releasing lock...
[2025-04-12 08:15:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 08:15:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 08:15:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 08:15:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 08:15:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 08:15:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 08:15:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 08:15:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 08:15:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 08:15:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 08:15:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 08:15:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 08:15:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 08:15:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 08:15:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 08:15:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 08:15:14] Production.INFO: call_cost start
[2025-04-12 08:15:14] Production.INFO: call_cost end
[2025-04-12 08:15:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 08:15:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 08:15:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 08:15:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 08:15:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 08:15:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 08:15:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 08:15:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 08:15:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 08:15:15] Production.INFO: ==6465== Releasing lock...
[2025-04-12 08:15:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 08:15:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 08:15:17] Production.INFO: count ==116
[2025-04-12 08:15:17] Production.ERROR: pbx CDR StartTime 2025-04-12 05:15:04 - End Time 2025-04-12 08:15:04
[2025-04-12 08:15:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 08:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890270', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890270', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890270', 'tblTempVendorCDR_20' ) start
[2025-04-12 08:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890270', 'tblTempVendorCDR_20' ) end
[2025-04-12 08:15:17] Production.INFO: ProcessCDR(1,14890270,1,1,2)
[2025-04-12 08:15:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890270,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:15:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890270,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:15:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890270,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:15:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890270,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890270', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890270', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:15:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 08:15:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 08:15:21] Production.INFO: ==6473== Releasing lock...
[2025-04-12 08:15:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 08:15:21] Production.INFO: 29 MB #Memory Used#
[2025-04-12 13:16:01] Production.INFO: ==6533== Lock acquired, processing the job...
[2025-04-12 13:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 13:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 13:16:02] Production.INFO: neon service started
[2025-04-12 13:16:02] Production.INFO: neon service started
[2025-04-12 13:16:02] Production.INFO: ==6533== Releasing lock...
[2025-04-12 13:16:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 13:16:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 08:16:02] Production.INFO: ==6535== Lock acquired, processing the job...
[2025-04-12 08:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 12:16:02] Production.INFO: ==6537== Lock acquired, processing the job...
[2025-04-12 12:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 12:16:02] Production.INFO: ==6537== Releasing lock...
[2025-04-12 12:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 12:16:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 08:16:02] Production.INFO: ==6535== Releasing lock...
[2025-04-12 08:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 08:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 08:16:03] Production.INFO: ==6543== Lock acquired, processing the job...
[2025-04-12 08:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 08:16:03] Production.INFO: ==6547== Lock acquired, processing the job...
[2025-04-12 08:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 08:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 08:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 08:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 08:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 08:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 08:16:03] Production.INFO: ==6539== Lock acquired, processing the job...
[2025-04-12 08:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 08:16:03] Production.INFO: ==6541== Lock acquired, processing the job...
[2025-04-12 08:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 08:16:03] Production.INFO: ==6545== Lock acquired, processing the job...
[2025-04-12 08:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 08:16:03] Production.INFO: ==6550== Lock acquired, processing the job...
[2025-04-12 08:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 08:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 08:16:03] Production.ERROR: done
[2025-04-12 08:16:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 08:16:04] Production.INFO: Account Balance Start.
[2025-04-12 08:16:04] Production.INFO: CreateAllLog Start
[2025-04-12 08:16:04] Production.INFO: 117
[2025-04-12 08:16:04] Production.INFO: Date 2025-04-08
[2025-04-12 08:16:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:16:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 08:16:04] Production.INFO: Date 2025-04-09
[2025-04-12 08:16:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:16:04] Production.INFO: count ==12
[2025-04-12 08:16:04] Production.INFO: Date 2025-04-10
[2025-04-12 08:16:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 08:16:04] Production.INFO: count ==23
[2025-04-12 08:16:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:16:04] Production.ERROR: done
[2025-04-12 08:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890274') start
[2025-04-12 08:16:04] Production.INFO: Date 2025-04-11
[2025-04-12 08:16:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:16:04] Production.INFO: ==6541== Releasing lock...
[2025-04-12 08:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 08:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 08:16:04] Production.INFO: Date 2025-04-12
[2025-04-12 08:16:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890274') end
[2025-04-12 08:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 08:16:04] Production.INFO: 1
[2025-04-12 08:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 08:16:04] Production.INFO: Total Charge 0
[2025-04-12 08:16:04] Production.INFO: ==6550== Releasing lock...
[2025-04-12 08:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 08:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 08:16:04] Production.INFO: CreateAllLog End
[2025-04-12 08:16:04] Production.INFO: Account Balance End.
[2025-04-12 08:16:04] Production.ERROR: CronJobId end 12
[2025-04-12 08:16:04] Production.INFO: ==6545== Releasing lock...
[2025-04-12 08:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 08:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 08:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 05:16:05
[end_date_ymd] => 2025-04-12 08:16:05
[RateCDR] => 1
)
[2025-04-12 08:16:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 05:16:05' and `end` < '2025-04-12 08:16:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 08:16:12] Production.ERROR: CronJobId end10
[2025-04-12 08:16:12] Production.INFO: ==6543== Releasing lock...
[2025-04-12 08:16:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 08:16:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 08:16:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 08:16:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 08:16:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 08:16:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 08:16:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 08:16:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 08:16:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 08:16:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 08:16:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 08:16:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 08:16:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 08:16:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 08:16:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 08:16:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 08:16:15] Production.INFO: call_cost start
[2025-04-12 08:16:15] Production.INFO: call_cost end
[2025-04-12 08:16:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 08:16:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 08:16:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 08:16:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 08:16:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 08:16:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 08:16:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 08:16:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 08:16:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 08:16:16] Production.INFO: ==6539== Releasing lock...
[2025-04-12 08:16:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 08:16:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 08:16:18] Production.INFO: count ==116
[2025-04-12 08:16:18] Production.ERROR: pbx CDR StartTime 2025-04-12 05:16:05 - End Time 2025-04-12 08:16:05
[2025-04-12 08:16:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 08:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890275', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890275', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890275', 'tblTempVendorCDR_20' ) start
[2025-04-12 08:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890275', 'tblTempVendorCDR_20' ) end
[2025-04-12 08:16:18] Production.INFO: ProcessCDR(1,14890275,1,1,2)
[2025-04-12 08:16:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890275,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:16:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890275,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:16:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890275,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:16:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890275,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890275', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890275', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:16:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 08:16:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 08:16:21] Production.INFO: ==6547== Releasing lock...
[2025-04-12 08:16:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 08:16:21] Production.INFO: 29 MB #Memory Used#
[2025-04-12 13:17:01] Production.INFO: ==6608== Lock acquired, processing the job...
[2025-04-12 13:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 13:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 13:17:01] Production.INFO: neon service started
[2025-04-12 13:17:01] Production.INFO: neon service started
[2025-04-12 13:17:01] Production.INFO: ==6608== Releasing lock...
[2025-04-12 13:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 13:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 08:17:01] Production.INFO: ==6610== Lock acquired, processing the job...
[2025-04-12 08:17:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 08:17:02] Production.INFO: ==6610== Releasing lock...
[2025-04-12 08:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 08:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 12:17:02] Production.INFO: ==6612== Lock acquired, processing the job...
[2025-04-12 12:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 12:17:02] Production.INFO: ==6612== Releasing lock...
[2025-04-12 12:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 12:17:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 08:17:02] Production.INFO: ==6615== Lock acquired, processing the job...
[2025-04-12 08:17:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 08:17:03] Production.INFO: ==6619== Lock acquired, processing the job...
[2025-04-12 08:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 08:17:03] Production.INFO: ==6621== Lock acquired, processing the job...
[2025-04-12 08:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 08:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 08:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 08:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 08:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 08:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 08:17:03] Production.INFO: Account Balance Start.
[2025-04-12 08:17:03] Production.INFO: CreateAllLog Start
[2025-04-12 08:17:03] Production.INFO: 117
[2025-04-12 08:17:03] Production.INFO: Date 2025-04-08
[2025-04-12 08:17:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:17:03] Production.INFO: ==6617== Lock acquired, processing the job...
[2025-04-12 08:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 08:17:03] Production.INFO: Date 2025-04-09
[2025-04-12 08:17:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:17:03] Production.INFO: Date 2025-04-10
[2025-04-12 08:17:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:17:03] Production.INFO: Date 2025-04-11
[2025-04-12 08:17:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:17:03] Production.INFO: Date 2025-04-12
[2025-04-12 08:17:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:17:03] Production.INFO: Total Charge 0
[2025-04-12 08:17:03] Production.INFO: CreateAllLog End
[2025-04-12 08:17:03] Production.INFO: ==6623== Lock acquired, processing the job...
[2025-04-12 08:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 08:17:03] Production.INFO: ==6625== Lock acquired, processing the job...
[2025-04-12 08:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 08:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 08:17:03] Production.INFO: Account Balance End.
[2025-04-12 08:17:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 08:17:03] Production.INFO: ==6617== Releasing lock...
[2025-04-12 08:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 08:17:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 08:17:03] Production.ERROR: CronJobId end 12
[2025-04-12 08:17:03] Production.INFO: ==6621== Releasing lock...
[2025-04-12 08:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 08:17:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 08:17:03] Production.INFO: count ==12
[2025-04-12 08:17:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 08:17:03] Production.INFO: count ==23
[2025-04-12 08:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890279') start
[2025-04-12 08:17:03] Production.ERROR: done
[2025-04-12 08:17:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 08:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890279') end
[2025-04-12 08:17:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 08:17:03] Production.INFO: 1
[2025-04-12 08:17:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 08:17:04] Production.INFO: ==6625== Releasing lock...
[2025-04-12 08:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 08:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 08:17:04] Production.ERROR: done
[2025-04-12 08:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 05:17:05
[end_date_ymd] => 2025-04-12 08:17:05
[RateCDR] => 1
)
[2025-04-12 08:17:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 05:17:05' and `end` < '2025-04-12 08:17:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 08:17:11] Production.ERROR: CronJobId end10
[2025-04-12 08:17:11] Production.INFO: ==6619== Releasing lock...
[2025-04-12 08:17:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 08:17:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 08:17:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 08:17:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 08:17:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 08:17:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 08:17:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 08:17:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 08:17:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 08:17:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 08:17:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 08:17:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 08:17:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 08:17:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 08:17:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 08:17:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 08:17:13] Production.INFO: call_cost start
[2025-04-12 08:17:13] Production.INFO: call_cost end
[2025-04-12 08:17:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 08:17:14] Production.INFO: ============== Report Schedule START===========
[2025-04-12 08:17:14] Production.INFO: ============== Report Schedule END===========
[2025-04-12 08:17:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 08:17:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 08:17:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 08:17:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 08:17:14] Production.INFO: ============== Deal alert START===========
[2025-04-12 08:17:14] Production.INFO: ============== Deal alert END===========
[2025-04-12 08:17:14] Production.INFO: ==6615== Releasing lock...
[2025-04-12 08:17:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 08:17:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 08:17:17] Production.INFO: count ==116
[2025-04-12 08:17:18] Production.ERROR: pbx CDR StartTime 2025-04-12 05:17:05 - End Time 2025-04-12 08:17:05
[2025-04-12 08:17:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 08:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890280', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890280', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890280', 'tblTempVendorCDR_20' ) start
[2025-04-12 08:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890280', 'tblTempVendorCDR_20' ) end
[2025-04-12 08:17:18] Production.INFO: ProcessCDR(1,14890280,1,1,2)
[2025-04-12 08:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890280,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:17:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890280,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:17:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890280,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:17:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890280,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890280', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890280', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:17:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 08:17:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 08:17:21] Production.INFO: ==6623== Releasing lock...
[2025-04-12 08:17:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 08:17:21] Production.INFO: 29 MB #Memory Used#
[2025-04-12 13:18:01] Production.INFO: ==6684== Lock acquired, processing the job...
[2025-04-12 13:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 13:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 13:18:01] Production.INFO: neon service started
[2025-04-12 13:18:02] Production.INFO: neon service started
[2025-04-12 13:18:02] Production.INFO: ==6684== Releasing lock...
[2025-04-12 13:18:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 13:18:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 08:18:02] Production.INFO: ==6686== Lock acquired, processing the job...
[2025-04-12 08:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 08:18:02] Production.INFO: ==6686== Releasing lock...
[2025-04-12 08:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 08:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 12:18:02] Production.INFO: ==6688== Lock acquired, processing the job...
[2025-04-12 12:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 12:18:02] Production.INFO: ==6688== Releasing lock...
[2025-04-12 12:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 12:18:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 08:18:03] Production.INFO: ==6698== Lock acquired, processing the job...
[2025-04-12 08:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 08:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 08:18:03] Production.INFO: ==6700== Lock acquired, processing the job...
[2025-04-12 08:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 08:18:03] Production.INFO: ==6690== Lock acquired, processing the job...
[2025-04-12 08:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 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-12 08:18:03] Production.INFO: ==6692== Lock acquired, processing the job...
[2025-04-12 08:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 08:18:03] Production.INFO: ==6694== Lock acquired, processing the job...
[2025-04-12 08:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 08:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 08:18:03] Production.INFO: count ==12
[2025-04-12 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-12 08:18:03] Production.INFO: count ==23
[2025-04-12 08:18:03] Production.INFO: ==6696== Lock acquired, processing the job...
[2025-04-12 08:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 08:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890281') start
[2025-04-12 08:18:04] Production.ERROR: done
[2025-04-12 08:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 08:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890281') end
[2025-04-12 08:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 08:18:04] Production.INFO: 1
[2025-04-12 08:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 08:18:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 08:18:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 08:18:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 08:18:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 08:18:04] Production.INFO: Account Balance Start.
[2025-04-12 08:18:04] Production.INFO: CreateAllLog Start
[2025-04-12 08:18:04] Production.INFO: 117
[2025-04-12 08:18:04] Production.INFO: ==6700== Releasing lock...
[2025-04-12 08:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 08:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 08:18:04] Production.ERROR: done
[2025-04-12 08:18:04] Production.INFO: Date 2025-04-08
[2025-04-12 08:18:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:18:04] Production.INFO: Date 2025-04-09
[2025-04-12 08:18:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:18:04] Production.INFO: Date 2025-04-10
[2025-04-12 08:18:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:18:04] Production.INFO: ==6692== Releasing lock...
[2025-04-12 08:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 08:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 08:18:04] Production.INFO: Date 2025-04-11
[2025-04-12 08:18:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:18:04] Production.INFO: Date 2025-04-12
[2025-04-12 08:18:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:18:04] Production.INFO: Total Charge 0
[2025-04-12 08:18:04] Production.INFO: CreateAllLog End
[2025-04-12 08:18:04] Production.INFO: Account Balance End.
[2025-04-12 08:18:04] Production.ERROR: CronJobId end 12
[2025-04-12 08:18:04] Production.INFO: ==6696== Releasing lock...
[2025-04-12 08:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 08:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 08:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 05:18:05
[end_date_ymd] => 2025-04-12 08:18:05
[RateCDR] => 1
)
[2025-04-12 08:18:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 05:18:05' and `end` < '2025-04-12 08:18:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 08:18:12] Production.ERROR: CronJobId end10
[2025-04-12 08:18:12] Production.INFO: ==6694== Releasing lock...
[2025-04-12 08:18:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 08:18:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 08:18:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 08:18:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 08:18:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 08:18:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 08:18:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 08:18:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 08:18:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 08:18:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 08:18:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 08:18:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 08:18:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 08:18:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 08:18:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 08:18:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 08:18:14] Production.INFO: call_cost start
[2025-04-12 08:18:14] Production.INFO: call_cost end
[2025-04-12 08:18:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 08:18:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 08:18:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 08:18:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 08:18:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 08:18:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 08:18:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 08:18:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 08:18:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 08:18:15] Production.INFO: ==6690== Releasing lock...
[2025-04-12 08:18:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 08:18:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 08:18:17] Production.INFO: count ==116
[2025-04-12 08:18:17] Production.ERROR: pbx CDR StartTime 2025-04-12 05:18:05 - End Time 2025-04-12 08:18:05
[2025-04-12 08:18:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 08:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890285', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890285', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890285', 'tblTempVendorCDR_20' ) start
[2025-04-12 08:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890285', 'tblTempVendorCDR_20' ) end
[2025-04-12 08:18:17] Production.INFO: ProcessCDR(1,14890285,1,1,2)
[2025-04-12 08:18:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890285,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:18:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890285,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:18:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890285,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:18:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890285,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890285', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890285', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:18:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 08:18:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 08:18:21] Production.INFO: ==6698== Releasing lock...
[2025-04-12 08:18:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 08:18:21] Production.INFO: 29 MB #Memory Used#
[2025-04-12 13:19:01] Production.INFO: ==6754== Lock acquired, processing the job...
[2025-04-12 13:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 13:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 13:19:01] Production.INFO: neon service started
[2025-04-12 13:19:01] Production.INFO: neon service started
[2025-04-12 13:19:01] Production.INFO: ==6754== Releasing lock...
[2025-04-12 13:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 13:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 08:19:01] Production.INFO: ==6756== Lock acquired, processing the job...
[2025-04-12 08:19:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 08:19:02] Production.INFO: ==6756== Releasing lock...
[2025-04-12 08:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 08:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 12:19:02] Production.INFO: ==6758== Lock acquired, processing the job...
[2025-04-12 12:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 12:19:02] Production.INFO: ==6758== Releasing lock...
[2025-04-12 12:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 12:19:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 08:19:02] Production.INFO: ==6764== Lock acquired, processing the job...
[2025-04-12 08:19:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 08:19:02] Production.INFO: ==6768== Lock acquired, processing the job...
[2025-04-12 08:19:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 08:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 08:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 08:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 08:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 08:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 08:19:03] Production.INFO: ==6760== Lock acquired, processing the job...
[2025-04-12 08:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 08:19:03] Production.INFO: ==6762== Lock acquired, processing the job...
[2025-04-12 08:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 08:19:03] Production.INFO: ==6766== Lock acquired, processing the job...
[2025-04-12 08:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 08:19:03] Production.INFO: ==6770== Lock acquired, processing the job...
[2025-04-12 08:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 08:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 08:19:03] Production.ERROR: done
[2025-04-12 08:19:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 08:19:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 08:19:03] Production.INFO: Account Balance Start.
[2025-04-12 08:19:03] Production.INFO: CreateAllLog Start
[2025-04-12 08:19:03] Production.INFO: 117
[2025-04-12 08:19:03] Production.INFO: count ==12
[2025-04-12 08:19:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 08:19:03] Production.INFO: Date 2025-04-08
[2025-04-12 08:19:03] Production.INFO: count ==23
[2025-04-12 08:19:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890289') start
[2025-04-12 08:19:03] Production.ERROR: done
[2025-04-12 08:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890289') end
[2025-04-12 08:19:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 08:19:03] Production.INFO: 1
[2025-04-12 08:19:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 08:19:03] Production.INFO: ==6762== Releasing lock...
[2025-04-12 08:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 08:19:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 08:19:03] Production.INFO: ==6770== Releasing lock...
[2025-04-12 08:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 08:19:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 08:19:03] Production.INFO: Date 2025-04-09
[2025-04-12 08:19:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:19:03] Production.INFO: Date 2025-04-10
[2025-04-12 08:19:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:19:03] Production.INFO: Date 2025-04-11
[2025-04-12 08:19:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:19:03] Production.INFO: Date 2025-04-12
[2025-04-12 08:19:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:19:03] Production.INFO: Total Charge 0
[2025-04-12 08:19:03] Production.INFO: CreateAllLog End
[2025-04-12 08:19:04] Production.INFO: Account Balance End.
[2025-04-12 08:19:04] Production.ERROR: CronJobId end 12
[2025-04-12 08:19:04] Production.INFO: ==6766== Releasing lock...
[2025-04-12 08:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 08:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 08:19:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 05:19:04
[end_date_ymd] => 2025-04-12 08:19:04
[RateCDR] => 1
)
[2025-04-12 08: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-12 05:19:04' and `end` < '2025-04-12 08: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-12 08:19:12] Production.ERROR: CronJobId end10
[2025-04-12 08:19:12] Production.INFO: ==6764== Releasing lock...
[2025-04-12 08:19:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 08:19:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 08:19:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 08:19:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 08:19:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 08:19:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 08:19:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 08:19:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 08:19:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 08:19:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 08:19:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 08:19:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 08:19:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 08:19:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 08:19:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 08:19:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 08:19:15] Production.INFO: call_cost start
[2025-04-12 08:19:15] Production.INFO: call_cost end
[2025-04-12 08:19:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 08:19:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 08:19:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 08:19:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 08:19:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 08:19:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 08:19:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 08:19:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 08:19:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 08:19:15] Production.INFO: ==6760== Releasing lock...
[2025-04-12 08:19:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 08:19:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 08:19:17] Production.INFO: count ==116
[2025-04-12 08:19:17] Production.ERROR: pbx CDR StartTime 2025-04-12 05:19:04 - End Time 2025-04-12 08:19:04
[2025-04-12 08:19:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 08:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890290', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890290', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890290', 'tblTempVendorCDR_20' ) start
[2025-04-12 08:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890290', 'tblTempVendorCDR_20' ) end
[2025-04-12 08:19:17] Production.INFO: ProcessCDR(1,14890290,1,1,2)
[2025-04-12 08:19:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890290,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:19:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890290,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:19:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890290,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:19:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890290,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:19:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890290', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:19:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890290', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:19:20] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 08:19:20] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 08:19:20] Production.INFO: ==6768== Releasing lock...
[2025-04-12 08:19:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 08:19:20] Production.INFO: 29 MB #Memory Used#
[2025-04-12 13:20:01] Production.INFO: ==6830== Lock acquired, processing the job...
[2025-04-12 13:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 13:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 13:20:02] Production.INFO: neon service started
[2025-04-12 13:20:02] Production.INFO: neon service started
[2025-04-12 13:20:02] Production.INFO: ==6830== Releasing lock...
[2025-04-12 13:20:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 13:20:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 08:20:02] Production.INFO: ==6832== Lock acquired, processing the job...
[2025-04-12 08:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 08:20:02] Production.INFO: ==6832== Releasing lock...
[2025-04-12 08:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 08:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 12:20:02] Production.INFO: ==6835== Lock acquired, processing the job...
[2025-04-12 12:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 12:20:03] Production.INFO: ==6835== Releasing lock...
[2025-04-12 12:20:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 12:20:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 08:20:03] Production.INFO: ==6841== Lock acquired, processing the job...
[2025-04-12 08:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 08:20:03] Production.INFO: ==6845== Lock acquired, processing the job...
[2025-04-12 08:20:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 08:20:04] Production.INFO: ==6849== Lock acquired, processing the job...
[2025-04-12 08:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 08:20:04] Production.INFO: Account Balance Start.
[2025-04-12 08:20:04] Production.INFO: CreateAllLog Start
[2025-04-12 08:20:04] Production.INFO: 117
[2025-04-12 08:20:04] Production.INFO: Date 2025-04-08
[2025-04-12 08:20:04] Production.INFO: ==6839== Lock acquired, processing the job...
[2025-04-12 08:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 08:20:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 08:20:04] Production.INFO: ==6837== Lock acquired, processing the job...
[2025-04-12 08:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 08:20:04] Production.INFO: Date 2025-04-09
[2025-04-12 08:20:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:20:04] Production.INFO: ==6843== Lock acquired, processing the job...
[2025-04-12 08:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 08:20:04] Production.INFO: Date 2025-04-10
[2025-04-12 08:20:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:20:04] Production.INFO: ==6847== Lock acquired, processing the job...
[2025-04-12 08:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 08:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 08:20:04] Production.INFO: Date 2025-04-11
[2025-04-12 08:20:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:20:04] Production.INFO: ==6851== Lock acquired, processing the job...
[2025-04-12 08:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 08:20:04] Production.INFO: Date 2025-04-12
[2025-04-12 08:20:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 08:20:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 08:20:04] Production.INFO: ==6841== Releasing lock...
[2025-04-12 08:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 08:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 08:20:04] Production.ERROR: CronJob PID - 6839
[2025-04-12 08:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 08:20:04] Production.ERROR: CronJob Title - System Alerts
[2025-04-12 08:20:04] Production.ERROR: CronJob ID - 5
[2025-04-12 08:20:04] Production.ERROR: CronJob Last Run Time 2025-04-12 08:20:00
[2025-04-12 08:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 08:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 08:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 08:20:04] Production.ERROR: CronJob PID - 6843
[2025-04-12 08:20:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-04-12 08:20:04] Production.ERROR: CronJob ID - 10
[2025-04-12 08:20:04] Production.ERROR: CronJob Last Run Time 2025-04-12 08:20:00
[2025-04-12 08:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 08:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 08:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 08:20:04] Production.ERROR: CronJob PID - 6845
[2025-04-12 08:20:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-04-12 08:20:04] Production.ERROR: CronJob ID - 12
[2025-04-12 08:20:04] Production.ERROR: CronJob Last Run Time 2025-04-12 08:20:00
[2025-04-12 08:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 08:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 08:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 08:20:04] Production.ERROR: CronJob PID - 6847
[2025-04-12 08:20:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-04-12 08:20:04] Production.ERROR: CronJob ID - 16
[2025-04-12 08:20:04] Production.ERROR: CronJob Last Run Time 2025-04-12 08:20:00
[2025-04-12 08:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 08:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 08:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 08:20:04] Production.ERROR: CronJob PID - 6849
[2025-04-12 08:20:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-04-12 08:20:04] Production.ERROR: CronJob ID - 17
[2025-04-12 08:20:04] Production.ERROR: CronJob Last Run Time 2025-04-12 08:20:00
[2025-04-12 08:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 08:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 08:20:04] Production.INFO: Total Charge 0
[2025-04-12 08:20:04] Production.INFO: CreateAllLog End
[2025-04-12 08:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 08:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 08:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 08:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 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-12 08:20:04] Production.INFO: count ==12
[2025-04-12 08:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 08:20:04] Production.INFO: count ==23
[2025-04-12 08:20:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 08:20:04] Production.INFO: ==6837== Releasing lock...
[2025-04-12 08:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 08:20:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 08:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890294') start
[2025-04-12 08:20:04] Production.ERROR: done
[2025-04-12 08:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 08:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14890295', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 08:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890294') end
[2025-04-12 08:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 08:20:04] Production.INFO: 1
[2025-04-12 08:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 08:20:04] Production.INFO: ==6851== Releasing lock...
[2025-04-12 08:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 08:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 08:20:04] Production.INFO: Account Balance End.
[2025-04-12 08:20:04] Production.ERROR: done
[2025-04-12 08:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 08:20:04] Production.ERROR: CronJobId end 12
[2025-04-12 08:20:04] Production.INFO: ==6845== Releasing lock...
[2025-04-12 08:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 08:20:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 08:20:05] Production.ERROR: done
[2025-04-12 08:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 05:20:06
[end_date_ymd] => 2025-04-12 08:20:06
[RateCDR] => 1
)
[2025-04-12 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-12 05:20:06' and `end` < '2025-04-12 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-12 08:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14890295', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 08:20:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 08:20:09] Production.INFO: ProcessCDR(1,14890295,1,1,2)
[2025-04-12 08:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14890295,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14890295,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:20:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 08:20:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 08:20:09] Production.INFO: ==6849== Releasing lock...
[2025-04-12 08:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 08:20:09] Production.INFO: 26 MB #Memory Used#
[2025-04-12 08:20:14] Production.ERROR: CronJobId end10
[2025-04-12 08:20:14] Production.INFO: ==6843== Releasing lock...
[2025-04-12 08:20:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 08:20:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 08:20:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 08:20:16] Production.INFO: ============== Balance Warning START===========
[2025-04-12 08:20:16] Production.INFO: ============== Balance Warning END===========
[2025-04-12 08:20:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 08:20:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 08:20:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 08:20:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 08:20:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 08:20:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 08:20:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 08:20:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 08:20:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 08:20:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 08:20:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 08:20:17] Production.INFO: call_cost start
[2025-04-12 08:20:17] Production.INFO: call_cost end
[2025-04-12 08:20:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 08:20:18] Production.INFO: ============== Report Schedule START===========
[2025-04-12 08:20:18] Production.INFO: ============== Report Schedule END===========
[2025-04-12 08:20:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 08:20:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 08:20:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 08:20:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 08:20:18] Production.INFO: ============== Deal alert START===========
[2025-04-12 08:20:18] Production.INFO: ============== Deal alert END===========
[2025-04-12 08:20:18] Production.INFO: ==6839== Releasing lock...
[2025-04-12 08:20:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 08:20:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 08:20:19] Production.INFO: count ==131
[2025-04-12 08:20:19] Production.ERROR: pbx CDR StartTime 2025-04-12 05:20:06 - End Time 2025-04-12 08:20:06
[2025-04-12 08:20:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 08:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890296', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890296', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890296', 'tblTempVendorCDR_20' ) start
[2025-04-12 08:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890296', 'tblTempVendorCDR_20' ) end
[2025-04-12 08:20:19] Production.INFO: ProcessCDR(1,14890296,1,1,2)
[2025-04-12 08:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890296,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:20:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890296,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:20:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890296,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:20:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890296,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890296', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890296', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:20:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 08:20:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 08:20:22] Production.INFO: ==6847== Releasing lock...
[2025-04-12 08:20:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 08:20:22] Production.INFO: 29.25 MB #Memory Used#
[2025-04-12 13:21:01] Production.INFO: ==6909== Lock acquired, processing the job...
[2025-04-12 13:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 13:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 13:21:01] Production.INFO: neon service started
[2025-04-12 13:21:01] Production.INFO: neon service started
[2025-04-12 13:21:01] Production.INFO: ==6909== Releasing lock...
[2025-04-12 13:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 13:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 08:21:01] Production.INFO: ==6911== Lock acquired, processing the job...
[2025-04-12 08:21:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 08:21:02] Production.INFO: ==6911== Releasing lock...
[2025-04-12 08:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 08:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 12:21:02] Production.INFO: ==6913== Lock acquired, processing the job...
[2025-04-12 12:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 12:21:02] Production.INFO: ==6913== Releasing lock...
[2025-04-12 12:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 12:21:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 08:21:02] Production.INFO: ==6919== Lock acquired, processing the job...
[2025-04-12 08:21:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 08:21:02] Production.INFO: ==6921== Lock acquired, processing the job...
[2025-04-12 08:21:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 08:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 08:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 08:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 08:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 08:21:03] Production.INFO: Account Balance Start.
[2025-04-12 08:21:03] Production.INFO: CreateAllLog Start
[2025-04-12 08:21:03] Production.INFO: 117
[2025-04-12 08:21:03] Production.INFO: Date 2025-04-08
[2025-04-12 08:21:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:21:03] Production.INFO: Date 2025-04-09
[2025-04-12 08:21:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:21:03] Production.INFO: Date 2025-04-10
[2025-04-12 08:21:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:21:03] Production.INFO: Date 2025-04-11
[2025-04-12 08:21:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:21:03] Production.INFO: Date 2025-04-12
[2025-04-12 08:21:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:21:03] Production.INFO: Total Charge 0
[2025-04-12 08:21:03] Production.INFO: CreateAllLog End
[2025-04-12 08:21:03] Production.INFO: ==6915== Lock acquired, processing the job...
[2025-04-12 08:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 08:21:03] Production.INFO: ==6917== Lock acquired, processing the job...
[2025-04-12 08:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 08:21:03] Production.INFO: Account Balance End.
[2025-04-12 08:21:03] Production.ERROR: CronJobId end 12
[2025-04-12 08:21:03] Production.INFO: ==6923== Lock acquired, processing the job...
[2025-04-12 08:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 08:21:03] Production.INFO: ==6921== Releasing lock...
[2025-04-12 08:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 08:21:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 08:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 08:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 08:21:03] Production.INFO: ==6925== Lock acquired, processing the job...
[2025-04-12 08:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 08:21:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 08:21:03] Production.INFO: count ==12
[2025-04-12 08:21:03] Production.ERROR: done
[2025-04-12 08:21:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 08:21:03] Production.INFO: ==6917== Releasing lock...
[2025-04-12 08:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 08:21:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 08:21:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 08:21:03] Production.INFO: count ==23
[2025-04-12 08:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890300') start
[2025-04-12 08:21:03] Production.ERROR: done
[2025-04-12 08:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890300') end
[2025-04-12 08:21:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 08:21:03] Production.INFO: 1
[2025-04-12 08:21:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 08:21:04] Production.INFO: ==6925== Releasing lock...
[2025-04-12 08:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 08:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 08:21:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 05:21:04
[end_date_ymd] => 2025-04-12 08:21:04
[RateCDR] => 1
)
[2025-04-12 08: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-12 05:21:04' and `end` < '2025-04-12 08: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-12 08:21:11] Production.ERROR: CronJobId end10
[2025-04-12 08:21:11] Production.INFO: ==6919== Releasing lock...
[2025-04-12 08:21:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 08:21:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 08:21:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 08:21:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 08:21:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 08:21:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 08:21:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 08:21:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 08:21:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 08:21:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 08:21:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 08:21:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 08:21:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 08:21:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 08:21:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 08:21:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 08:21:14] Production.INFO: call_cost start
[2025-04-12 08:21:14] Production.INFO: call_cost end
[2025-04-12 08:21:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 08:21:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 08:21:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 08:21:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 08:21:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 08:21:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 08:21:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 08:21:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 08:21:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 08:21:15] Production.INFO: ==6915== Releasing lock...
[2025-04-12 08:21:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 08:21:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 08:21:17] Production.INFO: count ==135
[2025-04-12 08:21:17] Production.ERROR: pbx CDR StartTime 2025-04-12 05:21:04 - End Time 2025-04-12 08:21:04
[2025-04-12 08:21:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 08:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890301', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890301', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890301', 'tblTempVendorCDR_20' ) start
[2025-04-12 08:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890301', 'tblTempVendorCDR_20' ) end
[2025-04-12 08:21:17] Production.INFO: ProcessCDR(1,14890301,1,1,2)
[2025-04-12 08:21:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890301,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:21:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890301,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:21:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890301,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:21:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890301,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:21:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890301', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:21:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890301', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:21:20] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 08:21:20] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 08:21:20] Production.INFO: ==6923== Releasing lock...
[2025-04-12 08:21:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 08:21:20] Production.INFO: 29.25 MB #Memory Used#
[2025-04-12 13:22:01] Production.INFO: ==6984== Lock acquired, processing the job...
[2025-04-12 13:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 13:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 13:22:01] Production.INFO: neon service started
[2025-04-12 13:22:01] Production.INFO: neon service started
[2025-04-12 13:22:01] Production.INFO: ==6984== Releasing lock...
[2025-04-12 13:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 13:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 12:22:02] Production.INFO: ==6988== Lock acquired, processing the job...
[2025-04-12 12:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 12:22:02] Production.INFO: ==6988== Releasing lock...
[2025-04-12 12:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 12:22:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 08:22:02] Production.INFO: ==6986== Lock acquired, processing the job...
[2025-04-12 08:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 08:22:02] Production.INFO: ==6986== Releasing lock...
[2025-04-12 08:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 08:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 08:22:03] Production.INFO: ==6991== Lock acquired, processing the job...
[2025-04-12 08:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 08:22:03] Production.INFO: ==6993== Lock acquired, processing the job...
[2025-04-12 08:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 08:22:03] Production.INFO: ==6999== Lock acquired, processing the job...
[2025-04-12 08:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 08:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 08:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 08:22:03] Production.INFO: ==6995== Lock acquired, processing the job...
[2025-04-12 08:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 08:22:03] Production.INFO: ==6997== Lock acquired, processing the job...
[2025-04-12 08:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 08:22:03] Production.INFO: ==7001== Lock acquired, processing the job...
[2025-04-12 08:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 08:22:03] Production.INFO: ==6993== Releasing lock...
[2025-04-12 08:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 08:22:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 08:22:03] Production.INFO: Account Balance Start.
[2025-04-12 08:22:03] Production.INFO: CreateAllLog Start
[2025-04-12 08:22:03] Production.INFO: 117
[2025-04-12 08:22:03] Production.INFO: Date 2025-04-08
[2025-04-12 08:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 08:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 08:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 08:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 08:22:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:22:03] Production.INFO: Date 2025-04-09
[2025-04-12 08:22:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:22:04] Production.INFO: Date 2025-04-10
[2025-04-12 08:22:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:22:04] Production.INFO: Date 2025-04-11
[2025-04-12 08:22:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:22:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 08:22:04] Production.INFO: count ==12
[2025-04-12 08:22:04] Production.ERROR: done
[2025-04-12 08:22:04] Production.INFO: Date 2025-04-12
[2025-04-12 08:22:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 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-12 08:22:04] Production.INFO: count ==23
[2025-04-12 08:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890305') start
[2025-04-12 08:22:04] Production.INFO: Total Charge 0
[2025-04-12 08:22:04] Production.INFO: CreateAllLog End
[2025-04-12 08:22:04] Production.ERROR: done
[2025-04-12 08:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890305') end
[2025-04-12 08:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 08:22:04] Production.INFO: 1
[2025-04-12 08:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 08:22:04] Production.INFO: ==7001== Releasing lock...
[2025-04-12 08:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 08:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 08:22:04] Production.INFO: Account Balance End.
[2025-04-12 08:22:04] Production.ERROR: CronJobId end 12
[2025-04-12 08:22:04] Production.INFO: ==6997== Releasing lock...
[2025-04-12 08:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 08:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 08:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 05:22:05
[end_date_ymd] => 2025-04-12 08:22:05
[RateCDR] => 1
)
[2025-04-12 08:22:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 05:22:05' and `end` < '2025-04-12 08:22:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 08:22:12] Production.ERROR: CronJobId end10
[2025-04-12 08:22:12] Production.INFO: ==6995== Releasing lock...
[2025-04-12 08:22:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 08:22:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 08:22:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 08:22:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 08:22:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 08:22:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 08:22:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 08:22:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 08:22:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 08:22:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 08:22:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 08:22:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 08:22:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 08:22:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 08:22:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 08:22:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 08:22:14] Production.INFO: call_cost start
[2025-04-12 08:22:14] Production.INFO: call_cost end
[2025-04-12 08:22:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 08:22:14] Production.INFO: ============== Report Schedule START===========
[2025-04-12 08:22:14] Production.INFO: ============== Report Schedule END===========
[2025-04-12 08:22:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 08:22:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 08:22:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 08:22:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 08:22:14] Production.INFO: ============== Deal alert START===========
[2025-04-12 08:22:14] Production.INFO: ============== Deal alert END===========
[2025-04-12 08:22:14] Production.INFO: ==6991== Releasing lock...
[2025-04-12 08:22:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 08:22:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 08:22:18] Production.INFO: count ==135
[2025-04-12 08:22:18] Production.ERROR: pbx CDR StartTime 2025-04-12 05:22:05 - End Time 2025-04-12 08:22:05
[2025-04-12 08:22:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 08:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890306', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890306', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890306', 'tblTempVendorCDR_20' ) start
[2025-04-12 08:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890306', 'tblTempVendorCDR_20' ) end
[2025-04-12 08:22:18] Production.INFO: ProcessCDR(1,14890306,1,1,2)
[2025-04-12 08:22:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890306,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:22:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890306,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:22:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890306,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:22:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890306,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890306', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890306', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:22:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 08:22:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 08:22:21] Production.INFO: ==6999== Releasing lock...
[2025-04-12 08:22:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 08:22:21] Production.INFO: 29.25 MB #Memory Used#
[2025-04-12 13:23:02] Production.INFO: ==7094== Lock acquired, processing the job...
[2025-04-12 13:23:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 13:23:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 13:23:02] Production.INFO: neon service started
[2025-04-12 13:23:02] Production.INFO: neon service started
[2025-04-12 13:23:02] Production.INFO: ==7094== Releasing lock...
[2025-04-12 13:23:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 13:23:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 08:23:02] Production.INFO: ==7096== Lock acquired, processing the job...
[2025-04-12 08:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 08:23:02] Production.INFO: ==7096== Releasing lock...
[2025-04-12 08:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 08:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 12:23:02] Production.INFO: ==7098== Lock acquired, processing the job...
[2025-04-12 12:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 12:23:03] Production.INFO: ==7098== Releasing lock...
[2025-04-12 12:23:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 12:23:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 08:23:03] Production.INFO: ==7106== Lock acquired, processing the job...
[2025-04-12 08:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 08:23:03] Production.INFO: ==7110== Lock acquired, processing the job...
[2025-04-12 08:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 08:23:04] Production.INFO: ==7100== Lock acquired, processing the job...
[2025-04-12 08:23:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 08:23:04] Production.INFO: Account Balance Start.
[2025-04-12 08:23:04] Production.INFO: CreateAllLog Start
[2025-04-12 08:23:04] Production.INFO: 117
[2025-04-12 08:23:04] Production.INFO: Date 2025-04-08
[2025-04-12 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-12 08:23:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:23:04] Production.INFO: ==7102== Lock acquired, processing the job...
[2025-04-12 08:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 08:23:04] Production.INFO: count ==12
[2025-04-12 08:23:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 08:23:04] Production.INFO: Date 2025-04-09
[2025-04-12 08:23:04] Production.INFO: Reseller ==> 0
[2025-04-12 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-12 08:23:04] Production.INFO: count ==23
[2025-04-12 08:23:04] Production.INFO: ==7104== Lock acquired, processing the job...
[2025-04-12 08:23:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 08:23:04] Production.INFO: Date 2025-04-10
[2025-04-12 08:23:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:23:04] Production.INFO: Date 2025-04-11
[2025-04-12 08:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890308') start
[2025-04-12 08:23:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:23:04] Production.INFO: Date 2025-04-12
[2025-04-12 08:23:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:23:04] Production.INFO: ==7108== Lock acquired, processing the job...
[2025-04-12 08:23:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 08:23:04] Production.INFO: Total Charge 0
[2025-04-12 08:23:04] Production.INFO: CreateAllLog End
[2025-04-12 08:23:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 08:23:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 08:23:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 08:23:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 08:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890308') end
[2025-04-12 08:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 08:23:04] Production.INFO: 1
[2025-04-12 08:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 08:23:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 08:23:04] Production.INFO: ==7110== Releasing lock...
[2025-04-12 08:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 08:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 08:23:04] Production.INFO: Account Balance End.
[2025-04-12 08:23:04] Production.INFO: ==7102== Releasing lock...
[2025-04-12 08:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 08:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 08:23:04] Production.ERROR: CronJobId end 12
[2025-04-12 08:23:04] Production.INFO: ==7106== Releasing lock...
[2025-04-12 08:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 08:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 08:23:04] Production.ERROR: done
[2025-04-12 08:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 08:23:04] Production.ERROR: done
[2025-04-12 08:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 05:23:05
[end_date_ymd] => 2025-04-12 08:23:05
[RateCDR] => 1
)
[2025-04-12 08:23:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 05:23:05' and `end` < '2025-04-12 08:23:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 08:23:12] Production.ERROR: CronJobId end10
[2025-04-12 08:23:12] Production.INFO: ==7104== Releasing lock...
[2025-04-12 08:23:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 08:23:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 08:23:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 08:23:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 08:23:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 08:23:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 08:23:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 08:23:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 08:23:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 08:23:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 08:23:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 08:23:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 08:23:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 08:23:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 08:23:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 08:23:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 08:23:14] Production.INFO: call_cost start
[2025-04-12 08:23:14] Production.INFO: call_cost end
[2025-04-12 08:23:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 08:23:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 08:23:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 08:23:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 08:23:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 08:23:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 08:23:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 08:23:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 08:23:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 08:23:15] Production.INFO: ==7100== Releasing lock...
[2025-04-12 08:23:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 08:23:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 08:23:18] Production.INFO: count ==133
[2025-04-12 08:23:18] Production.ERROR: pbx CDR StartTime 2025-04-12 05:23:05 - End Time 2025-04-12 08:23:05
[2025-04-12 08:23:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 08:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890311', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890311', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890311', 'tblTempVendorCDR_20' ) start
[2025-04-12 08:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890311', 'tblTempVendorCDR_20' ) end
[2025-04-12 08:23:18] Production.INFO: ProcessCDR(1,14890311,1,1,2)
[2025-04-12 08:23:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890311,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:23:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890311,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:23:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890311,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:23:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890311,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890311', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890311', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:23:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 08:23:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 08:23:22] Production.INFO: ==7108== Releasing lock...
[2025-04-12 08:23:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 08:23:22] Production.INFO: 29.25 MB #Memory Used#
[2025-04-12 13:24:01] Production.INFO: ==7168== Lock acquired, processing the job...
[2025-04-12 13:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 13:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 13:24:01] Production.INFO: neon service started
[2025-04-12 13:24:01] Production.INFO: neon service started
[2025-04-12 13:24:01] Production.INFO: ==7168== Releasing lock...
[2025-04-12 13:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 13:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 08:24:02] Production.INFO: ==7170== Lock acquired, processing the job...
[2025-04-12 08:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 08:24:02] Production.INFO: ==7170== Releasing lock...
[2025-04-12 08:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 08:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 12:24:02] Production.INFO: ==7172== Lock acquired, processing the job...
[2025-04-12 12:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 12:24:02] Production.INFO: ==7172== Releasing lock...
[2025-04-12 12:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 12:24:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 08:24:03] Production.INFO: ==7184== Lock acquired, processing the job...
[2025-04-12 08:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 08:24:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 08:24:03] Production.INFO: count ==12
[2025-04-12 08:24:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 08:24:03] Production.INFO: count ==23
[2025-04-12 08:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890312') start
[2025-04-12 08:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890312') end
[2025-04-12 08:24:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 08:24:03] Production.INFO: 1
[2025-04-12 08:24:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 08:24:03] Production.INFO: ==7182== Lock acquired, processing the job...
[2025-04-12 08:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 08:24:03] Production.INFO: ==7174== Lock acquired, processing the job...
[2025-04-12 08:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 08:24:03] Production.INFO: ==7184== Releasing lock...
[2025-04-12 08:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 08:24:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 08:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 08:24:03] Production.INFO: ==7178== Lock acquired, processing the job...
[2025-04-12 08:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 08:24:03] Production.INFO: ==7176== Lock acquired, processing the job...
[2025-04-12 08:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 08:24:03] Production.INFO: ==7180== Lock acquired, processing the job...
[2025-04-12 08:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 08:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 08:24:03] Production.INFO: Account Balance Start.
[2025-04-12 08:24:03] Production.INFO: CreateAllLog Start
[2025-04-12 08:24:03] Production.INFO: 117
[2025-04-12 08:24:04] Production.INFO: Date 2025-04-08
[2025-04-12 08:24:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 08:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 08:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 08:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 08:24:04] Production.ERROR: done
[2025-04-12 08:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 08:24:04] Production.INFO: Date 2025-04-09
[2025-04-12 08:24:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:24:04] Production.INFO: Date 2025-04-10
[2025-04-12 08:24:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:24:04] Production.INFO: Date 2025-04-11
[2025-04-12 08:24:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:24:04] Production.ERROR: done
[2025-04-12 08:24:04] Production.INFO: ==7176== Releasing lock...
[2025-04-12 08:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 08:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 08:24:04] Production.INFO: Date 2025-04-12
[2025-04-12 08:24:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:24:04] Production.INFO: Total Charge 0
[2025-04-12 08:24:04] Production.INFO: CreateAllLog End
[2025-04-12 08:24:04] Production.INFO: Account Balance End.
[2025-04-12 08:24:04] Production.ERROR: CronJobId end 12
[2025-04-12 08:24:04] Production.INFO: ==7180== Releasing lock...
[2025-04-12 08:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 08:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 08:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 05:24:05
[end_date_ymd] => 2025-04-12 08:24:05
[RateCDR] => 1
)
[2025-04-12 08:24:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 05:24:05' and `end` < '2025-04-12 08:24:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 08:24:11] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:294
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(294): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_LowBal...', Array)
#2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#4 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#8 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#9 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#10 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#11 [internal function]: App\Console\Commands\NeonAlerts->fire()
#12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#20 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 {main}
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_LowBalanceReminder(1,0,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-12 08:24:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 08:24:11] Production.INFO: ============== Balance Warning START===========
[2025-04-12 08:24:11] Production.INFO: ============== Balance Warning END===========
[2025-04-12 08:24:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 08:24:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 08:24:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 08:24:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 08:24:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 08:24:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 08:24:11] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 08:24:11] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 08:24:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 08:24:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 08:24:11] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 08:24:11] Production.INFO: call_cost start
[2025-04-12 08:24:11] Production.INFO: call_cost end
[2025-04-12 08:24:11] Production.ERROR: CronJobId end10
[2025-04-12 08:24:11] Production.INFO: ==7178== Releasing lock...
[2025-04-12 08:24:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 08:24:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 08:24:12] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 08:24:12] Production.INFO: ============== Report Schedule START===========
[2025-04-12 08:24:12] Production.INFO: ============== Report Schedule END===========
[2025-04-12 08:24:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 08:24:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 08:24:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 08:24:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 08:24:12] Production.INFO: ============== Deal alert START===========
[2025-04-12 08:24:12] Production.INFO: ============== Deal alert END===========
[2025-04-12 08:24:12] Production.INFO: ==7174== Releasing lock...
[2025-04-12 08:24:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 08:24:12] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 08:24:18] Production.INFO: count ==130
[2025-04-12 08:24:18] Production.ERROR: pbx CDR StartTime 2025-04-12 05:24:05 - End Time 2025-04-12 08:24:05
[2025-04-12 08:24:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 08:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890316', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890316', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890316', 'tblTempVendorCDR_20' ) start
[2025-04-12 08:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890316', 'tblTempVendorCDR_20' ) end
[2025-04-12 08:24:18] Production.INFO: ProcessCDR(1,14890316,1,1,2)
[2025-04-12 08:24:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890316,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:24:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890316,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:24:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890316,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:24:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890316,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890316', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890316', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:24:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 08:24:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 08:24:21] Production.INFO: ==7182== Releasing lock...
[2025-04-12 08:24:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 08:24:21] Production.INFO: 29.25 MB #Memory Used#
[2025-04-12 13:25:02] Production.INFO: ==7246== Lock acquired, processing the job...
[2025-04-12 13:25:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 13:25:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 13:25:02] Production.INFO: neon service started
[2025-04-12 13:25:02] Production.INFO: neon service started
[2025-04-12 13:25:02] Production.INFO: ==7246== Releasing lock...
[2025-04-12 13:25:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 13:25:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 08:25:02] Production.INFO: ==7248== Lock acquired, processing the job...
[2025-04-12 08:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 08:25:02] Production.INFO: ==7248== Releasing lock...
[2025-04-12 08:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 08:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 12:25:03] Production.INFO: ==7250== Lock acquired, processing the job...
[2025-04-12 12:25:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 12:25:03] Production.INFO: ==7250== Releasing lock...
[2025-04-12 12:25:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 12:25:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 08:25:03] Production.INFO: ==7256== Lock acquired, processing the job...
[2025-04-12 08:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 08:25:03] Production.INFO: ==7254== Lock acquired, processing the job...
[2025-04-12 08:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 08:25:03] Production.INFO: ==7260== Lock acquired, processing the job...
[2025-04-12 08:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 08:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 08:25:03] Production.INFO: Account Balance Start.
[2025-04-12 08:25:03] Production.INFO: CreateAllLog Start
[2025-04-12 08:25:03] Production.INFO: 117
[2025-04-12 08:25:03] Production.INFO: Date 2025-04-08
[2025-04-12 08:25:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:25:03] Production.INFO: Date 2025-04-09
[2025-04-12 08:25:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:25:03] Production.INFO: Date 2025-04-10
[2025-04-12 08:25:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:25:03] Production.INFO: Date 2025-04-11
[2025-04-12 08:25:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:25:03] Production.INFO: ==7256== Releasing lock...
[2025-04-12 08:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 08:25:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 08:25:03] Production.INFO: Date 2025-04-12
[2025-04-12 08:25:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:25:03] Production.INFO: ==7258== Lock acquired, processing the job...
[2025-04-12 08:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 08:25:03] Production.INFO: Total Charge 0
[2025-04-12 08:25:03] Production.INFO: CreateAllLog End
[2025-04-12 08:25:03] Production.INFO: ==7264== Lock acquired, processing the job...
[2025-04-12 08:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 08:25:03] Production.INFO: ==7262== Lock acquired, processing the job...
[2025-04-12 08:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 08:25:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 08:25:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 08:25:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 08:25:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 08:25:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 08:25:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 08:25:04] Production.INFO: Account Balance End.
[2025-04-12 08:25:04] Production.INFO: count ==12
[2025-04-12 08:25:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 08:25:04] Production.INFO: count ==23
[2025-04-12 08:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890320') start
[2025-04-12 08:25:04] Production.ERROR: CronJobId end 12
[2025-04-12 08:25:04] Production.INFO: ==7260== Releasing lock...
[2025-04-12 08:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 08:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 08:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890320') end
[2025-04-12 08:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 08:25:04] Production.INFO: 1
[2025-04-12 08:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 08:25:04] Production.INFO: ==7264== Releasing lock...
[2025-04-12 08:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 08:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 08:25:04] Production.ERROR: done
[2025-04-12 08:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 08:25:04] Production.ERROR: done
[2025-04-12 08:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 05:25:05
[end_date_ymd] => 2025-04-12 08:25:05
[RateCDR] => 1
)
[2025-04-12 08:25:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 05:25:05' and `end` < '2025-04-12 08:25:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 08:25:12] Production.ERROR: CronJobId end10
[2025-04-12 08:25:12] Production.INFO: ==7258== Releasing lock...
[2025-04-12 08:25:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 08:25:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 08:25:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 08:25:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 08:25:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 08:25:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 08:25:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 08:25:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 08:25:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 08:25:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 08:25:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 08:25:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 08:25:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 08:25:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 08:25:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 08:25:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 08:25:15] Production.INFO: call_cost start
[2025-04-12 08:25:15] Production.INFO: call_cost end
[2025-04-12 08:25:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 08:25:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 08:25:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 08:25:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 08:25:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 08:25:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 08:25:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 08:25:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 08:25:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 08:25:15] Production.INFO: ==7254== Releasing lock...
[2025-04-12 08:25:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 08:25:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 08:25:18] Production.INFO: count ==128
[2025-04-12 08:25:18] Production.ERROR: pbx CDR StartTime 2025-04-12 05:25:05 - End Time 2025-04-12 08:25:05
[2025-04-12 08:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 08:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890321', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890321', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890321', 'tblTempVendorCDR_20' ) start
[2025-04-12 08:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890321', 'tblTempVendorCDR_20' ) end
[2025-04-12 08:25:18] Production.INFO: ProcessCDR(1,14890321,1,1,2)
[2025-04-12 08:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890321,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:25:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890321,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:25:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890321,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:25:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890321,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890321', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890321', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:25:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 08:25:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 08:25:21] Production.INFO: ==7262== Releasing lock...
[2025-04-12 08:25:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 08:25:21] Production.INFO: 29 MB #Memory Used#
[2025-04-12 13:26:01] Production.INFO: ==7317== Lock acquired, processing the job...
[2025-04-12 13:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 13:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 13:26:01] Production.INFO: neon service started
[2025-04-12 13:26:01] Production.INFO: neon service started
[2025-04-12 13:26:01] Production.INFO: ==7317== Releasing lock...
[2025-04-12 13:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 13:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 08:26:02] Production.INFO: ==7319== Lock acquired, processing the job...
[2025-04-12 08:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 08:26:02] Production.INFO: ==7319== Releasing lock...
[2025-04-12 08:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 08:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 12:26:02] Production.INFO: ==7321== Lock acquired, processing the job...
[2025-04-12 12:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 12:26:02] Production.INFO: ==7321== Releasing lock...
[2025-04-12 12:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 12:26:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 08:26:03] Production.INFO: ==7332== Lock acquired, processing the job...
[2025-04-12 08:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 08:26:03] Production.INFO: ==7334== Lock acquired, processing the job...
[2025-04-12 08:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 08:26:03] Production.INFO: ==7324== Lock acquired, processing the job...
[2025-04-12 08:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 08:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 08:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 08:26:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 08:26:03] Production.INFO: count ==12
[2025-04-12 08:26:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 08:26:03] Production.INFO: count ==23
[2025-04-12 08:26:03] Production.INFO: ==7326== Lock acquired, processing the job...
[2025-04-12 08:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 08:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890322') start
[2025-04-12 08:26:03] Production.INFO: ==7328== Lock acquired, processing the job...
[2025-04-12 08:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 08:26:03] Production.INFO: ==7330== Lock acquired, processing the job...
[2025-04-12 08:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 08:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890322') end
[2025-04-12 08:26:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 08:26:03] Production.INFO: 1
[2025-04-12 08:26:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 08:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 08:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 08:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 08:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 08:26:03] Production.INFO: Account Balance Start.
[2025-04-12 08:26:03] Production.INFO: CreateAllLog Start
[2025-04-12 08:26:03] Production.INFO: 117
[2025-04-12 08:26:03] Production.INFO: Date 2025-04-08
[2025-04-12 08:26:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:26:03] Production.INFO: ==7334== Releasing lock...
[2025-04-12 08:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 08:26:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 08:26:03] Production.INFO: Date 2025-04-09
[2025-04-12 08:26:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:26:03] Production.INFO: Date 2025-04-10
[2025-04-12 08:26:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:26:03] Production.ERROR: done
[2025-04-12 08:26:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 08:26:03] Production.INFO: Date 2025-04-11
[2025-04-12 08:26:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:26:03] Production.INFO: Date 2025-04-12
[2025-04-12 08:26:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:26:03] Production.INFO: Total Charge 0
[2025-04-12 08:26:03] Production.INFO: CreateAllLog End
[2025-04-12 08:26:04] Production.INFO: ==7326== Releasing lock...
[2025-04-12 08:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 08:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 08:26:04] Production.ERROR: done
[2025-04-12 08:26:04] Production.INFO: Account Balance End.
[2025-04-12 08:26:04] Production.ERROR: CronJobId end 12
[2025-04-12 08:26:04] Production.INFO: ==7330== Releasing lock...
[2025-04-12 08:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 08:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 08:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 05:26:05
[end_date_ymd] => 2025-04-12 08:26:05
[RateCDR] => 1
)
[2025-04-12 08:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 05:26:05' and `end` < '2025-04-12 08:26:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 08:26:11] Production.ERROR: CronJobId end10
[2025-04-12 08:26:11] Production.INFO: ==7328== Releasing lock...
[2025-04-12 08:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 08:26:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 08:26:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 08:26:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 08:26:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 08:26:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 08:26:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 08:26:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 08:26:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 08:26:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 08:26:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 08:26:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 08:26:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 08:26:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 08:26:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 08:26:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 08:26:14] Production.INFO: call_cost start
[2025-04-12 08:26:14] Production.INFO: call_cost end
[2025-04-12 08:26:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 08:26:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 08:26:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 08:26:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 08:26:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 08:26:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 08:26:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 08:26:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 08:26:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 08:26:15] Production.INFO: ==7324== Releasing lock...
[2025-04-12 08:26:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 08:26:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 08:26:17] Production.INFO: count ==133
[2025-04-12 08:26:18] Production.ERROR: pbx CDR StartTime 2025-04-12 05:26:05 - End Time 2025-04-12 08:26:05
[2025-04-12 08:26:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 08:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890326', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890326', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890326', 'tblTempVendorCDR_20' ) start
[2025-04-12 08:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890326', 'tblTempVendorCDR_20' ) end
[2025-04-12 08:26:18] Production.INFO: ProcessCDR(1,14890326,1,1,2)
[2025-04-12 08:26:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890326,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:26:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890326,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:26:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890326,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:26:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890326,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890326', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890326', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:26:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 08:26:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 08:26:21] Production.INFO: ==7332== Releasing lock...
[2025-04-12 08:26:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 08:26:21] Production.INFO: 29.25 MB #Memory Used#
[2025-04-12 13:27:02] Production.INFO: ==7400== Lock acquired, processing the job...
[2025-04-12 13:27:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 13:27:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 13:27:02] Production.INFO: neon service started
[2025-04-12 13:27:02] Production.INFO: neon service started
[2025-04-12 13:27:02] Production.INFO: ==7400== Releasing lock...
[2025-04-12 13:27:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 13:27:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 08:27:02] Production.INFO: ==7402== Lock acquired, processing the job...
[2025-04-12 08:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 08:27:02] Production.INFO: ==7402== Releasing lock...
[2025-04-12 08:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 08:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 12:27:02] Production.INFO: ==7404== Lock acquired, processing the job...
[2025-04-12 12:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 12:27:02] Production.INFO: ==7404== Releasing lock...
[2025-04-12 12:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 12:27:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 08:27:03] Production.INFO: ==7406== Lock acquired, processing the job...
[2025-04-12 08:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 08:27:03] Production.INFO: ==7412== Lock acquired, processing the job...
[2025-04-12 08:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 08:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 08:27:03] Production.INFO: ==7416== Lock acquired, processing the job...
[2025-04-12 08:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 08:27:03] Production.INFO: ==7410== Lock acquired, processing the job...
[2025-04-12 08:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 08:27:03] Production.INFO: ==7408== Lock acquired, processing the job...
[2025-04-12 08:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 08:27:03] Production.INFO: Account Balance Start.
[2025-04-12 08:27:03] Production.INFO: CreateAllLog Start
[2025-04-12 08:27:03] Production.INFO: 117
[2025-04-12 08:27:03] Production.INFO: Date 2025-04-08
[2025-04-12 08:27:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:27:03] Production.INFO: ==7414== Lock acquired, processing the job...
[2025-04-12 08:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 08:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 08:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 08:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 08:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 08:27:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 08:27:03] Production.INFO: Date 2025-04-09
[2025-04-12 08:27:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:27:03] Production.INFO: count ==12
[2025-04-12 08:27:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 08:27:03] Production.INFO: count ==23
[2025-04-12 08:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 08:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890329') start
[2025-04-12 08:27:04] Production.INFO: Date 2025-04-10
[2025-04-12 08:27:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:27:04] Production.INFO: Date 2025-04-11
[2025-04-12 08:27:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890329') end
[2025-04-12 08:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 08:27:04] Production.INFO: 1
[2025-04-12 08:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 08:27:04] Production.INFO: Date 2025-04-12
[2025-04-12 08:27:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:27:04] Production.INFO: Total Charge 0
[2025-04-12 08:27:04] Production.INFO: ==7408== Releasing lock...
[2025-04-12 08:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 08:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 08:27:04] Production.INFO: CreateAllLog End
[2025-04-12 08:27:04] Production.INFO: ==7416== Releasing lock...
[2025-04-12 08:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 08:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 08:27:04] Production.ERROR: done
[2025-04-12 08:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 08:27:04] Production.INFO: Account Balance End.
[2025-04-12 08:27:04] Production.ERROR: CronJobId end 12
[2025-04-12 08:27:04] Production.INFO: ==7412== Releasing lock...
[2025-04-12 08:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 08:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 08:27:04] Production.ERROR: done
[2025-04-12 08:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 05:27:05
[end_date_ymd] => 2025-04-12 08:27:05
[RateCDR] => 1
)
[2025-04-12 08:27:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 05:27:05' and `end` < '2025-04-12 08:27:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 08:27:11] Production.ERROR: CronJobId end10
[2025-04-12 08:27:11] Production.INFO: ==7410== Releasing lock...
[2025-04-12 08:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 08:27:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 08:27:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 08:27:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 08:27:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 08:27:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 08:27:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 08:27:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 08:27:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 08:27:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 08:27:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 08:27:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 08:27:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 08:27:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 08:27:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 08:27:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 08:27:14] Production.INFO: call_cost start
[2025-04-12 08:27:14] Production.INFO: call_cost end
[2025-04-12 08:27:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 08:27:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 08:27:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 08:27:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 08:27:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 08:27:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 08:27:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 08:27:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 08:27:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 08:27:15] Production.INFO: ==7406== Releasing lock...
[2025-04-12 08:27:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 08:27:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 08:27:18] Production.INFO: count ==133
[2025-04-12 08:27:18] Production.ERROR: pbx CDR StartTime 2025-04-12 05:27:05 - End Time 2025-04-12 08:27:05
[2025-04-12 08:27:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 08:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890331', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890331', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890331', 'tblTempVendorCDR_20' ) start
[2025-04-12 08:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890331', 'tblTempVendorCDR_20' ) end
[2025-04-12 08:27:18] Production.INFO: ProcessCDR(1,14890331,1,1,2)
[2025-04-12 08:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890331,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:27:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890331,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:27:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890331,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:27:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890331,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890331', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890331', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:27:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 08:27:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 08:27:21] Production.INFO: ==7414== Releasing lock...
[2025-04-12 08:27:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 08:27:21] Production.INFO: 29.25 MB #Memory Used#
[2025-04-12 13:28:01] Production.INFO: ==7476== Lock acquired, processing the job...
[2025-04-12 13:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 13:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 13:28:01] Production.INFO: neon service started
[2025-04-12 13:28:01] Production.INFO: neon service started
[2025-04-12 13:28:01] Production.INFO: ==7476== Releasing lock...
[2025-04-12 13:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 13:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 12:28:02] Production.INFO: ==7480== Lock acquired, processing the job...
[2025-04-12 12:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 12:28:02] Production.INFO: ==7480== Releasing lock...
[2025-04-12 12:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 12:28:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 08:28:02] Production.INFO: ==7478== Lock acquired, processing the job...
[2025-04-12 08:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 08:28:02] Production.INFO: ==7478== Releasing lock...
[2025-04-12 08:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 08:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 08:28:03] Production.INFO: ==7489== Lock acquired, processing the job...
[2025-04-12 08:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 08:28:03] Production.INFO: ==7483== Lock acquired, processing the job...
[2025-04-12 08:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 08:28:03] Production.INFO: ==7491== Lock acquired, processing the job...
[2025-04-12 08:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 08:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 08:28:03] Production.INFO: ==7485== Lock acquired, processing the job...
[2025-04-12 08:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 08:28:03] Production.INFO: Account Balance Start.
[2025-04-12 08:28:03] Production.INFO: CreateAllLog Start
[2025-04-12 08:28:03] Production.INFO: 117
[2025-04-12 08:28:03] Production.INFO: Date 2025-04-08
[2025-04-12 08:28:03] Production.INFO: ==7493== Lock acquired, processing the job...
[2025-04-12 08:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 08:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 08:28:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:28:03] Production.INFO: ==7487== Lock acquired, processing the job...
[2025-04-12 08:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 08:28:03] Production.INFO: Date 2025-04-09
[2025-04-12 08:28:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:28:03] Production.INFO: Date 2025-04-10
[2025-04-12 08:28:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:28:03] Production.INFO: Date 2025-04-11
[2025-04-12 08:28:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:28:03] Production.INFO: Date 2025-04-12
[2025-04-12 08:28:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:28:03] Production.INFO: Total Charge 0
[2025-04-12 08:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 08:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 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-12 08:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 08:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 08:28:03] Production.INFO: CreateAllLog End
[2025-04-12 08:28:04] Production.INFO: count ==12
[2025-04-12 08:28:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 08:28:04] Production.INFO: count ==23
[2025-04-12 08:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890334') start
[2025-04-12 08:28:04] Production.ERROR: done
[2025-04-12 08:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 08:28:04] Production.INFO: Account Balance End.
[2025-04-12 08:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890334') end
[2025-04-12 08:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 08:28:04] Production.INFO: 1
[2025-04-12 08:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 08:28:04] Production.INFO: ==7493== Releasing lock...
[2025-04-12 08:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 08:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 08:28:04] Production.INFO: ==7485== Releasing lock...
[2025-04-12 08:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 08:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 08:28:04] Production.ERROR: CronJobId end 12
[2025-04-12 08:28:04] Production.INFO: ==7489== Releasing lock...
[2025-04-12 08:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 08:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 08:28:04] Production.ERROR: done
[2025-04-12 08:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 05:28:05
[end_date_ymd] => 2025-04-12 08:28:05
[RateCDR] => 1
)
[2025-04-12 08:28:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 05:28:05' and `end` < '2025-04-12 08:28:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 08:28:11] Production.ERROR: CronJobId end10
[2025-04-12 08:28:11] Production.INFO: ==7487== Releasing lock...
[2025-04-12 08:28:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 08:28:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 08:28:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 08:28:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 08:28:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 08:28:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 08:28:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 08:28:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 08:28:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 08:28:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 08:28:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 08:28:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 08:28:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 08:28:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 08:28:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 08:28:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 08:28:14] Production.INFO: call_cost start
[2025-04-12 08:28:14] Production.INFO: call_cost end
[2025-04-12 08:28:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 08:28:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 08:28:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 08:28:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 08:28:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 08:28:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 08:28:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 08:28:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 08:28:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 08:28:15] Production.INFO: ==7483== Releasing lock...
[2025-04-12 08:28:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 08:28:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 08:28:17] Production.INFO: count ==133
[2025-04-12 08:28:18] Production.ERROR: pbx CDR StartTime 2025-04-12 05:28:05 - End Time 2025-04-12 08:28:05
[2025-04-12 08:28:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 08:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890336', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890336', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890336', 'tblTempVendorCDR_20' ) start
[2025-04-12 08:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890336', 'tblTempVendorCDR_20' ) end
[2025-04-12 08:28:18] Production.INFO: ProcessCDR(1,14890336,1,1,2)
[2025-04-12 08:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890336,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:28:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890336,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:28:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890336,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:28:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890336,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890336', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890336', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:28:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 08:28:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 08:28:21] Production.INFO: ==7491== Releasing lock...
[2025-04-12 08:28:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 08:28:21] Production.INFO: 29.25 MB #Memory Used#
[2025-04-12 13:29:02] Production.INFO: ==7548== Lock acquired, processing the job...
[2025-04-12 13:29:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 13:29:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 13:29:02] Production.INFO: neon service started
[2025-04-12 13:29:02] Production.INFO: neon service started
[2025-04-12 13:29:02] Production.INFO: ==7548== Releasing lock...
[2025-04-12 13:29:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 13:29:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 12:29:02] Production.INFO: ==7553== Lock acquired, processing the job...
[2025-04-12 12:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 12:29:02] Production.INFO: ==7553== Releasing lock...
[2025-04-12 12:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 12:29:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 08:29:02] Production.INFO: ==7551== Lock acquired, processing the job...
[2025-04-12 08:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 08:29:03] Production.INFO: ==7551== Releasing lock...
[2025-04-12 08:29:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 08:29:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 08:29:03] Production.INFO: ==7555== Lock acquired, processing the job...
[2025-04-12 08:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 08:29:03] Production.INFO: ==7561== Lock acquired, processing the job...
[2025-04-12 08:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 08:29:03] Production.INFO: ==7559== Lock acquired, processing the job...
[2025-04-12 08:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 08:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 08:29:04] Production.INFO: Account Balance Start.
[2025-04-12 08:29:04] Production.INFO: CreateAllLog Start
[2025-04-12 08:29:04] Production.INFO: 117
[2025-04-12 08:29:04] Production.INFO: Date 2025-04-08
[2025-04-12 08:29:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:29:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 08:29:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 08:29:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 08:29:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 08:29:04] Production.INFO: Date 2025-04-09
[2025-04-12 08:29:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:29:04] Production.INFO: Date 2025-04-10
[2025-04-12 08:29:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:29:04] Production.INFO: Date 2025-04-11
[2025-04-12 08:29:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:29:04] Production.INFO: Date 2025-04-12
[2025-04-12 08:29:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:29:04] Production.INFO: Total Charge 0
[2025-04-12 08:29:04] Production.INFO: CreateAllLog End
[2025-04-12 08:29:04] Production.INFO: ==7557== Lock acquired, processing the job...
[2025-04-12 08:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 08:29:04] Production.INFO: ==7563== Lock acquired, processing the job...
[2025-04-12 08:29:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 08:29:04] Production.INFO: Account Balance End.
[2025-04-12 08:29:04] Production.ERROR: CronJobId end 12
[2025-04-12 08:29:04] Production.INFO: ==7561== Releasing lock...
[2025-04-12 08:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 08:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 08:29:04] Production.INFO: ==7565== Lock acquired, processing the job...
[2025-04-12 08:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 08:29:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 08:29:04] Production.INFO: ==7557== Releasing lock...
[2025-04-12 08:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 08:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 08:29:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 08:29:04] Production.INFO: count ==12
[2025-04-12 08:29:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 08:29:04] Production.INFO: count ==23
[2025-04-12 08:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890340') start
[2025-04-12 08:29:04] Production.ERROR: done
[2025-04-12 08:29:05] Production.ERROR: PBX CALL prc_importPBXExtension('14890340') end
[2025-04-12 08:29:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 08:29:05] Production.INFO: 1
[2025-04-12 08:29:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 08:29:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 08:29:05] Production.INFO: ==7565== Releasing lock...
[2025-04-12 08:29:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 08:29:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 08:29:05] Production.ERROR: done
[2025-04-12 08:29:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 05:29:06
[end_date_ymd] => 2025-04-12 08:29:06
[RateCDR] => 1
)
[2025-04-12 08:29:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 05:29:06' and `end` < '2025-04-12 08:29:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 08:29:12] Production.ERROR: CronJobId end10
[2025-04-12 08:29:12] Production.INFO: ==7559== Releasing lock...
[2025-04-12 08:29:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 08:29:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 08:29:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 08:29:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 08:29:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 08:29:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 08:29:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 08:29:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 08:29:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 08:29:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 08:29:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 08:29:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 08:29:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 08:29:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 08:29:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 08:29:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 08:29:15] Production.INFO: call_cost start
[2025-04-12 08:29:15] Production.INFO: call_cost end
[2025-04-12 08:29:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 08:29:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 08:29:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 08:29:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 08:29:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 08:29:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 08:29:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 08:29:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 08:29:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 08:29:16] Production.INFO: ==7555== Releasing lock...
[2025-04-12 08:29:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 08:29:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 08:29:18] Production.INFO: count ==133
[2025-04-12 08:29:19] Production.ERROR: pbx CDR StartTime 2025-04-12 05:29:06 - End Time 2025-04-12 08:29:06
[2025-04-12 08:29:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 08:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890341', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890341', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890341', 'tblTempVendorCDR_20' ) start
[2025-04-12 08:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890341', 'tblTempVendorCDR_20' ) end
[2025-04-12 08:29:19] Production.INFO: ProcessCDR(1,14890341,1,1,2)
[2025-04-12 08:29:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890341,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:29:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890341,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:29:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890341,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:29:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890341,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890341', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890341', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:29:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 08:29:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 08:29:22] Production.INFO: ==7563== Releasing lock...
[2025-04-12 08:29:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 08:29:22] Production.INFO: 29.25 MB #Memory Used#
[2025-04-12 13:30:01] Production.INFO: ==7622== Lock acquired, processing the job...
[2025-04-12 13:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 13:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 13:30:01] Production.INFO: neon service started
[2025-04-12 13:30:01] Production.INFO: neon service started
[2025-04-12 13:30:01] Production.INFO: ==7622== Releasing lock...
[2025-04-12 13:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 13:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 08:30:02] Production.INFO: ==7624== Lock acquired, processing the job...
[2025-04-12 08:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 12:30:02] Production.INFO: ==7626== Lock acquired, processing the job...
[2025-04-12 12:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 12:30:02] Production.INFO: ==7626== Releasing lock...
[2025-04-12 12:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 12:30:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 08:30:02] Production.INFO: ==7624== Releasing lock...
[2025-04-12 08:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 08:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 08:30:03] Production.INFO: ==7635== Lock acquired, processing the job...
[2025-04-12 08:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 08:30:03] Production.INFO: ==7637== Lock acquired, processing the job...
[2025-04-12 08:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 08:30:03] Production.INFO: Account Balance Start.
[2025-04-12 08:30:03] Production.INFO: CreateAllLog Start
[2025-04-12 08:30:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 08:30:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 08:30:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 08:30:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 08:30:03] Production.INFO: 117
[2025-04-12 08:30:03] Production.INFO: Date 2025-04-08
[2025-04-12 08:30:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:30:03] Production.INFO: Date 2025-04-09
[2025-04-12 08:30:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:30:03] Production.INFO: Date 2025-04-10
[2025-04-12 08:30:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:30:03] Production.INFO: Date 2025-04-11
[2025-04-12 08:30:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:30:03] Production.INFO: Date 2025-04-12
[2025-04-12 08:30:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:30:03] Production.INFO: ==7629== Lock acquired, processing the job...
[2025-04-12 08:30:03] Production.INFO: Total Charge 0
[2025-04-12 08:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 08:30:03] Production.INFO: CreateAllLog End
[2025-04-12 08:30:03] Production.INFO: ==7631== Lock acquired, processing the job...
[2025-04-12 08:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 08:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 08:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 08:30:03] Production.ERROR: CronJob PID - 7635
[2025-04-12 08:30:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-04-12 08:30:03] Production.ERROR: CronJob ID - 10
[2025-04-12 08:30:03] Production.ERROR: CronJob Last Run Time 2025-04-12 08:30:00
[2025-04-12 08:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 08:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 08:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 08:30:03] Production.ERROR: CronJob PID - 7637
[2025-04-12 08:30:03] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-04-12 08:30:03] Production.ERROR: CronJob ID - 12
[2025-04-12 08:30:03] Production.ERROR: CronJob Last Run Time 2025-04-12 08:30:00
[2025-04-12 08:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 08:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 08:30:03] Production.INFO: ==7633== Lock acquired, processing the job...
[2025-04-12 08:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 08:30:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 08:30:04] Production.INFO: ==7629== Releasing lock...
[2025-04-12 08:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 08:30:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 08:30:04] Production.INFO: Account Balance End.
[2025-04-12 08:30:04] Production.INFO: ==7639== Lock acquired, processing the job...
[2025-04-12 08:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 08:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 08:30:04] Production.ERROR: CronJobId end 12
[2025-04-12 08:30:04] Production.INFO: ==7637== Releasing lock...
[2025-04-12 08:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 08:30:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 08:30:04] Production.INFO: ==7641== Lock acquired, processing the job...
[2025-04-12 08:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 08:30:04] Production.INFO: ==7643== Lock acquired, processing the job...
[2025-04-12 08:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 08:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 08:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 08:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 08:30:04] Production.INFO: count ==12
[2025-04-12 08:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 08:30:04] Production.INFO: count ==23
[2025-04-12 08:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890345') start
[2025-04-12 08:30:04] Production.ERROR: done
[2025-04-12 08:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890345') end
[2025-04-12 08:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 08:30:04] Production.INFO: 1
[2025-04-12 08:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 08:30:04] Production.INFO: ==7643== Releasing lock...
[2025-04-12 08:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 08:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 08:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 08:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14890346', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 08:30:04] Production.INFO: ==7633== Releasing lock...
[2025-04-12 08:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 08:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 08:30:04] Production.ERROR: done
[2025-04-12 08:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 08:30:05] Production.ERROR: done
[2025-04-12 08:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 05:30:06
[end_date_ymd] => 2025-04-12 08:30:06
[RateCDR] => 1
)
[2025-04-12 08:30:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 05:30:06' and `end` < '2025-04-12 08:30:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 08:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14890346', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 08:30:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 08:30:09] Production.INFO: ProcessCDR(1,14890346,1,1,2)
[2025-04-12 08:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14890346,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14890346,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 08:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 08:30:09] Production.INFO: ==7641== Releasing lock...
[2025-04-12 08:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 08:30:09] Production.INFO: 26 MB #Memory Used#
[2025-04-12 08:30:14] Production.ERROR: CronJobId end10
[2025-04-12 08:30:14] Production.INFO: ==7635== Releasing lock...
[2025-04-12 08:30:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 08:30:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 08:30:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 08:30:16] Production.INFO: ============== Balance Warning START===========
[2025-04-12 08:30:16] Production.INFO: ============== Balance Warning END===========
[2025-04-12 08:30:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 08:30:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 08:30:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 08:30:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 08:30:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 08:30:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 08:30:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 08:30:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 08:30:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 08:30:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 08:30:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 08:30:16] Production.INFO: call_cost start
[2025-04-12 08:30:16] Production.INFO: call_cost end
[2025-04-12 08:30:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 08:30:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 08:30:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 08:30:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 08:30:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 08:30:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 08:30:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 08:30:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 08:30:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 08:30:17] Production.INFO: ==7631== Releasing lock...
[2025-04-12 08:30:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 08:30:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 08:30:18] Production.INFO: count ==143
[2025-04-12 08:30:18] Production.ERROR: pbx CDR StartTime 2025-04-12 05:30:06 - End Time 2025-04-12 08:30:06
[2025-04-12 08:30:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 08:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890347', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890347', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890347', 'tblTempVendorCDR_20' ) start
[2025-04-12 08:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890347', 'tblTempVendorCDR_20' ) end
[2025-04-12 08:30:18] Production.INFO: ProcessCDR(1,14890347,1,1,2)
[2025-04-12 08:30:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890347,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:30:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890347,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:30:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890347,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:30:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890347,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890347', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890347', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:30:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 08:30:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 08:30:22] Production.INFO: ==7639== Releasing lock...
[2025-04-12 08:30:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 08:30:22] Production.INFO: 29 MB #Memory Used#
[2025-04-12 13:31:02] Production.INFO: ==7705== Lock acquired, processing the job...
[2025-04-12 13:31:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 13:31:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 13:31:02] Production.INFO: neon service started
[2025-04-12 13:31:02] Production.INFO: neon service started
[2025-04-12 13:31:02] Production.INFO: ==7705== Releasing lock...
[2025-04-12 13:31:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 13:31:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 08:31:02] Production.INFO: ==7707== Lock acquired, processing the job...
[2025-04-12 08:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 08:31:02] Production.INFO: ==7707== Releasing lock...
[2025-04-12 08:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 08:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 12:31:02] Production.INFO: ==7709== Lock acquired, processing the job...
[2025-04-12 12:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 12:31:03] Production.INFO: ==7709== Releasing lock...
[2025-04-12 12:31:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 12:31:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 08:31:03] Production.INFO: ==7716== Lock acquired, processing the job...
[2025-04-12 08:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 08:31:03] Production.INFO: ==7712== Lock acquired, processing the job...
[2025-04-12 08:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 08:31:03] Production.INFO: ==7722== Lock acquired, processing the job...
[2025-04-12 08:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 08:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 08:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 08:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 08:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 08:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 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-12 08:31:03] Production.INFO: ==7714== Lock acquired, processing the job...
[2025-04-12 08:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 08:31:03] Production.INFO: count ==12
[2025-04-12 08:31:03] Production.INFO: ==7718== Lock acquired, processing the job...
[2025-04-12 08:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 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-12 08:31:03] Production.INFO: count ==23
[2025-04-12 08:31:03] Production.INFO: ==7720== Lock acquired, processing the job...
[2025-04-12 08:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 08:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890348') start
[2025-04-12 08:31:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 08:31:04] Production.INFO: Account Balance Start.
[2025-04-12 08:31:04] Production.INFO: CreateAllLog Start
[2025-04-12 08:31:04] Production.INFO: 117
[2025-04-12 08:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890348') end
[2025-04-12 08:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 08:31:04] Production.INFO: 1
[2025-04-12 08:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 08:31:04] Production.INFO: Date 2025-04-08
[2025-04-12 08:31:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:31:04] Production.INFO: ==7722== Releasing lock...
[2025-04-12 08:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 08:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 08:31:04] Production.INFO: Date 2025-04-09
[2025-04-12 08:31:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:31:04] Production.INFO: Date 2025-04-10
[2025-04-12 08:31:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:31:04] Production.INFO: Date 2025-04-11
[2025-04-12 08:31:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:31:04] Production.INFO: Date 2025-04-12
[2025-04-12 08:31:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:31:04] Production.INFO: Total Charge 0
[2025-04-12 08:31:04] Production.INFO: ==7714== Releasing lock...
[2025-04-12 08:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 08:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 08:31:04] Production.INFO: CreateAllLog End
[2025-04-12 08:31:04] Production.ERROR: done
[2025-04-12 08:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 08:31:04] Production.INFO: Account Balance End.
[2025-04-12 08:31:04] Production.ERROR: CronJobId end 12
[2025-04-12 08:31:04] Production.INFO: ==7718== Releasing lock...
[2025-04-12 08:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 08:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 08:31:04] Production.ERROR: done
[2025-04-12 08:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 05:31:05
[end_date_ymd] => 2025-04-12 08:31:05
[RateCDR] => 1
)
[2025-04-12 08:31:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 05:31:05' and `end` < '2025-04-12 08:31:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 08:31:11] Production.ERROR: CronJobId end10
[2025-04-12 08:31:11] Production.INFO: ==7716== Releasing lock...
[2025-04-12 08:31:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 08:31:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 08:31:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 08:31:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 08:31:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 08:31:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 08:31:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 08:31:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 08:31:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 08:31:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 08:31:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 08:31:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 08:31:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 08:31:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 08:31:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 08:31:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 08:31:13] Production.INFO: call_cost start
[2025-04-12 08:31:13] Production.INFO: call_cost end
[2025-04-12 08:31:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 08:31:14] Production.INFO: ============== Report Schedule START===========
[2025-04-12 08:31:14] Production.INFO: ============== Report Schedule END===========
[2025-04-12 08:31:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 08:31:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 08:31:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 08:31:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 08:31:14] Production.INFO: ============== Deal alert START===========
[2025-04-12 08:31:14] Production.INFO: ============== Deal alert END===========
[2025-04-12 08:31:14] Production.INFO: ==7712== Releasing lock...
[2025-04-12 08:31:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 08:31:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 08:31:18] Production.INFO: count ==147
[2025-04-12 08:31:18] Production.ERROR: pbx CDR StartTime 2025-04-12 05:31:05 - End Time 2025-04-12 08:31:05
[2025-04-12 08:31:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 08:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890352', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890352', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890352', 'tblTempVendorCDR_20' ) start
[2025-04-12 08:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890352', 'tblTempVendorCDR_20' ) end
[2025-04-12 08:31:18] Production.INFO: ProcessCDR(1,14890352,1,1,2)
[2025-04-12 08:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890352,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:31:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890352,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:31:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890352,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:31:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890352,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890352', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890352', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:31:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 08:31:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 08:31:21] Production.INFO: ==7720== Releasing lock...
[2025-04-12 08:31:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 08:31:21] Production.INFO: 29.25 MB #Memory Used#
[2025-04-12 13:32:01] Production.INFO: ==7774== Lock acquired, processing the job...
[2025-04-12 13:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 13:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 13:32:01] Production.INFO: neon service started
[2025-04-12 13:32:01] Production.INFO: neon service started
[2025-04-12 13:32:01] Production.INFO: ==7774== Releasing lock...
[2025-04-12 13:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 13:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 08:32:01] Production.INFO: ==7776== Lock acquired, processing the job...
[2025-04-12 08:32:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 08:32:02] Production.INFO: ==7776== Releasing lock...
[2025-04-12 08:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 08:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 12:32:02] Production.INFO: ==7778== Lock acquired, processing the job...
[2025-04-12 12:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 12:32:02] Production.INFO: ==7778== Releasing lock...
[2025-04-12 12:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 12:32:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 08:32:03] Production.INFO: ==7782== Lock acquired, processing the job...
[2025-04-12 08:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 08:32:03] Production.INFO: ==7780== Lock acquired, processing the job...
[2025-04-12 08:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 08:32:03] Production.INFO: ==7786== Lock acquired, processing the job...
[2025-04-12 08:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 08:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 08:32:03] Production.INFO: Account Balance Start.
[2025-04-12 08:32:03] Production.INFO: CreateAllLog Start
[2025-04-12 08:32:03] Production.INFO: 117
[2025-04-12 08:32:03] Production.INFO: Date 2025-04-08
[2025-04-12 08:32:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:32:03] Production.INFO: ==7782== Releasing lock...
[2025-04-12 08:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 08:32:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 08:32:03] Production.INFO: Date 2025-04-09
[2025-04-12 08:32:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:32:03] Production.INFO: Date 2025-04-10
[2025-04-12 08:32:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:32:03] Production.INFO: ==7790== Lock acquired, processing the job...
[2025-04-12 08:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 08:32:03] Production.INFO: Date 2025-04-11
[2025-04-12 08:32:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:32:03] Production.INFO: Date 2025-04-12
[2025-04-12 08:32:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:32:03] Production.INFO: ==7784== Lock acquired, processing the job...
[2025-04-12 08:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 08:32:03] Production.INFO: Total Charge 0
[2025-04-12 08:32:03] Production.INFO: CreateAllLog End
[2025-04-12 08:32:03] Production.INFO: ==7788== Lock acquired, processing the job...
[2025-04-12 08:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 08:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 08:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 08:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 08:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 08:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 08:32:03] Production.INFO: Account Balance End.
[2025-04-12 08:32:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 08:32:03] Production.INFO: count ==12
[2025-04-12 08:32:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 08:32:03] Production.INFO: count ==23
[2025-04-12 08:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890356') start
[2025-04-12 08:32:03] Production.ERROR: CronJobId end 12
[2025-04-12 08:32:03] Production.INFO: ==7786== Releasing lock...
[2025-04-12 08:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 08:32:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 08:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890356') end
[2025-04-12 08:32:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 08:32:03] Production.INFO: 1
[2025-04-12 08:32:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 08:32:04] Production.ERROR: done
[2025-04-12 08:32:04] Production.INFO: ==7790== Releasing lock...
[2025-04-12 08:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 08:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 08:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 08:32:04] Production.ERROR: done
[2025-04-12 08:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 05:32:05
[end_date_ymd] => 2025-04-12 08:32:05
[RateCDR] => 1
)
[2025-04-12 08:32:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 05:32:05' and `end` < '2025-04-12 08:32:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 08:32:11] Production.ERROR: CronJobId end10
[2025-04-12 08:32:11] Production.INFO: ==7784== Releasing lock...
[2025-04-12 08:32:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 08:32:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 08:32:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 08:32:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 08:32:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 08:32:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 08:32:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 08:32:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 08:32:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 08:32:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 08:32:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 08:32:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 08:32:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 08:32:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 08:32:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 08:32:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 08:32:13] Production.INFO: call_cost start
[2025-04-12 08:32:13] Production.INFO: call_cost end
[2025-04-12 08:32:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 08:32:14] Production.INFO: ============== Report Schedule START===========
[2025-04-12 08:32:14] Production.INFO: ============== Report Schedule END===========
[2025-04-12 08:32:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 08:32:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 08:32:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 08:32:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 08:32:14] Production.INFO: ============== Deal alert START===========
[2025-04-12 08:32:14] Production.INFO: ============== Deal alert END===========
[2025-04-12 08:32:14] Production.INFO: ==7780== Releasing lock...
[2025-04-12 08:32:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 08:32:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 08:32:18] Production.INFO: count ==147
[2025-04-12 08:32:18] Production.ERROR: pbx CDR StartTime 2025-04-12 05:32:05 - End Time 2025-04-12 08:32:05
[2025-04-12 08:32:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 08:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890357', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890357', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890357', 'tblTempVendorCDR_20' ) start
[2025-04-12 08:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890357', 'tblTempVendorCDR_20' ) end
[2025-04-12 08:32:18] Production.INFO: ProcessCDR(1,14890357,1,1,2)
[2025-04-12 08:32:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890357,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:32:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890357,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:32:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890357,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:32:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890357,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890357', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890357', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:32:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 08:32:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 08:32:21] Production.INFO: ==7788== Releasing lock...
[2025-04-12 08:32:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 08:32:21] Production.INFO: 29.25 MB #Memory Used#
[2025-04-12 13:33:01] Production.INFO: ==7848== Lock acquired, processing the job...
[2025-04-12 13:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 13:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 13:33:01] Production.INFO: neon service started
[2025-04-12 13:33:02] Production.INFO: neon service started
[2025-04-12 13:33:02] Production.INFO: ==7848== Releasing lock...
[2025-04-12 13:33:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 13:33:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 08:33:02] Production.INFO: ==7850== Lock acquired, processing the job...
[2025-04-12 08:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 08:33:02] Production.INFO: ==7850== Releasing lock...
[2025-04-12 08:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 08:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 12:33:02] Production.INFO: ==7852== Lock acquired, processing the job...
[2025-04-12 12:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 12:33:02] Production.INFO: ==7852== Releasing lock...
[2025-04-12 12:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 12:33:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 08:33:03] Production.INFO: ==7858== Lock acquired, processing the job...
[2025-04-12 08:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 08:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 08:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 08:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 08:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 08:33:03] Production.INFO: ==7864== Lock acquired, processing the job...
[2025-04-12 08:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 08:33:03] Production.INFO: ==7854== Lock acquired, processing the job...
[2025-04-12 08:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 08:33:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 08:33:03] Production.INFO: ==7856== Lock acquired, processing the job...
[2025-04-12 08:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 08:33:03] Production.INFO: count ==12
[2025-04-12 08:33:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 08:33:03] Production.INFO: count ==23
[2025-04-12 08:33:03] Production.INFO: ==7860== Lock acquired, processing the job...
[2025-04-12 08:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 08:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890358') start
[2025-04-12 08:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 08:33:04] Production.INFO: ==7862== Lock acquired, processing the job...
[2025-04-12 08:33:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 08:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890358') end
[2025-04-12 08:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 08:33:04] Production.INFO: 1
[2025-04-12 08:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 08:33:04] Production.INFO: ==7864== Releasing lock...
[2025-04-12 08:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 08:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 08:33:04] Production.INFO: Account Balance Start.
[2025-04-12 08:33:04] Production.INFO: CreateAllLog Start
[2025-04-12 08:33:04] Production.INFO: 117
[2025-04-12 08:33:04] Production.INFO: Date 2025-04-08
[2025-04-12 08:33:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 08:33:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:33:04] Production.INFO: Date 2025-04-09
[2025-04-12 08:33:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:33:04] Production.INFO: Date 2025-04-10
[2025-04-12 08:33:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:33:04] Production.INFO: Date 2025-04-11
[2025-04-12 08:33:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:33:04] Production.INFO: ==7856== Releasing lock...
[2025-04-12 08:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 08:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 08:33:04] Production.INFO: Date 2025-04-12
[2025-04-12 08:33:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:33:04] Production.INFO: Total Charge 0
[2025-04-12 08:33:04] Production.INFO: CreateAllLog End
[2025-04-12 08:33:04] Production.ERROR: done
[2025-04-12 08:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 08:33:04] Production.ERROR: done
[2025-04-12 08:33:04] Production.INFO: Account Balance End.
[2025-04-12 08:33:05] Production.ERROR: CronJobId end 12
[2025-04-12 08:33:05] Production.INFO: ==7860== Releasing lock...
[2025-04-12 08:33:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 08:33:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 08:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 05:33:05
[end_date_ymd] => 2025-04-12 08:33:05
[RateCDR] => 1
)
[2025-04-12 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-12 05:33:05' and `end` < '2025-04-12 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-12 08:33:11] Production.ERROR: CronJobId end10
[2025-04-12 08:33:11] Production.INFO: ==7858== Releasing lock...
[2025-04-12 08:33:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 08:33:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 08:33:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 08:33:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 08:33:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 08:33:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 08:33:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 08:33:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 08:33:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 08:33:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 08:33:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 08:33:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 08:33:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 08:33:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 08:33:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 08:33:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 08:33:14] Production.INFO: call_cost start
[2025-04-12 08:33:14] Production.INFO: call_cost end
[2025-04-12 08:33:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 08:33:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 08:33:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 08:33:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 08:33:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 08:33:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 08:33:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 08:33:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 08:33:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 08:33:15] Production.INFO: ==7854== Releasing lock...
[2025-04-12 08:33:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 08:33:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 08:33:18] Production.INFO: count ==147
[2025-04-12 08:33:18] Production.ERROR: pbx CDR StartTime 2025-04-12 05:33:05 - End Time 2025-04-12 08:33:05
[2025-04-12 08:33:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 08:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890362', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890362', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890362', 'tblTempVendorCDR_20' ) start
[2025-04-12 08:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890362', 'tblTempVendorCDR_20' ) end
[2025-04-12 08:33:18] Production.INFO: ProcessCDR(1,14890362,1,1,2)
[2025-04-12 08:33:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890362,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:33:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890362,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:33:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890362,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:33:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890362,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890362', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890362', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:33:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 08:33:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 08:33:22] Production.INFO: ==7862== Releasing lock...
[2025-04-12 08:33:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 08:33:22] Production.INFO: 29.25 MB #Memory Used#
[2025-04-12 13:34:01] Production.INFO: ==7924== Lock acquired, processing the job...
[2025-04-12 13:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 13:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 13:34:01] Production.INFO: neon service started
[2025-04-12 13:34:01] Production.INFO: neon service started
[2025-04-12 13:34:01] Production.INFO: ==7924== Releasing lock...
[2025-04-12 13:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 13:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 08:34:02] Production.INFO: ==7926== Lock acquired, processing the job...
[2025-04-12 08:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 12:34:02] Production.INFO: ==7928== Lock acquired, processing the job...
[2025-04-12 12:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 12:34:02] Production.INFO: ==7928== Releasing lock...
[2025-04-12 12:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 12:34:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 08:34:02] Production.INFO: ==7926== Releasing lock...
[2025-04-12 08:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 08:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 08:34:03] Production.INFO: ==7931== Lock acquired, processing the job...
[2025-04-12 08:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 08:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 08:34:03] Production.INFO: ==7935== Lock acquired, processing the job...
[2025-04-12 08:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 08:34:03] Production.INFO: ==7937== Lock acquired, processing the job...
[2025-04-12 08:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 08:34:03] Production.INFO: Account Balance Start.
[2025-04-12 08:34:03] Production.INFO: CreateAllLog Start
[2025-04-12 08:34:03] Production.INFO: 117
[2025-04-12 08:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 08:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 08:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 08:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 08:34:03] Production.INFO: Date 2025-04-08
[2025-04-12 08:34:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:34:03] Production.INFO: Date 2025-04-09
[2025-04-12 08:34:03] Production.INFO: ==7933== Lock acquired, processing the job...
[2025-04-12 08:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 08:34:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:34:03] Production.INFO: Date 2025-04-10
[2025-04-12 08:34:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:34:03] Production.INFO: ==7939== Lock acquired, processing the job...
[2025-04-12 08:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 08:34:03] Production.INFO: Date 2025-04-11
[2025-04-12 08:34:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:34:03] Production.INFO: ==7941== Lock acquired, processing the job...
[2025-04-12 08:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 08:34:03] Production.INFO: Date 2025-04-12
[2025-04-12 08:34:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 08:34:03] Production.INFO: Total Charge 0
[2025-04-12 08:34:03] Production.INFO: CreateAllLog End
[2025-04-12 08:34:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 08:34:03] Production.INFO: count ==12
[2025-04-12 08:34:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 08:34:04] Production.INFO: count ==23
[2025-04-12 08:34:04] Production.INFO: ==7933== Releasing lock...
[2025-04-12 08:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 08:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 08:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890366') start
[2025-04-12 08:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890366') end
[2025-04-12 08:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 08:34:04] Production.INFO: 1
[2025-04-12 08:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 08:34:04] Production.INFO: ==7941== Releasing lock...
[2025-04-12 08:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 08:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 08:34:04] Production.ERROR: done
[2025-04-12 08:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 08:34:04] Production.INFO: Account Balance End.
[2025-04-12 08:34:04] Production.ERROR: CronJobId end 12
[2025-04-12 08:34:04] Production.INFO: ==7937== Releasing lock...
[2025-04-12 08:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 08:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 08:34:04] Production.ERROR: done
[2025-04-12 08:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 05:34:05
[end_date_ymd] => 2025-04-12 08:34:05
[RateCDR] => 1
)
[2025-04-12 08:34:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 05:34:05' and `end` < '2025-04-12 08:34:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 08:34:12] Production.ERROR: CronJobId end10
[2025-04-12 08:34:12] Production.INFO: ==7935== Releasing lock...
[2025-04-12 08:34:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 08:34:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 08:34:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 08:34:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 08:34:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 08:34:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 08:34:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 08:34:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 08:34:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 08:34:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 08:34:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 08:34:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 08:34:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 08:34:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 08:34:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 08:34:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 08:34:14] Production.INFO: call_cost start
[2025-04-12 08:34:14] Production.INFO: call_cost end
[2025-04-12 08:34:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 08:34:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 08:34:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 08:34:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 08:34:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 08:34:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 08:34:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 08:34:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 08:34:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 08:34:15] Production.INFO: ==7931== Releasing lock...
[2025-04-12 08:34:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 08:34:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 08:34:18] Production.INFO: count ==157
[2025-04-12 08:34:18] Production.ERROR: pbx CDR StartTime 2025-04-12 05:34:05 - End Time 2025-04-12 08:34:05
[2025-04-12 08:34:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 08:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890367', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890367', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890367', 'tblTempVendorCDR_20' ) start
[2025-04-12 08:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890367', 'tblTempVendorCDR_20' ) end
[2025-04-12 08:34:18] Production.INFO: ProcessCDR(1,14890367,1,1,2)
[2025-04-12 08:34:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890367,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:34:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890367,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:34:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890367,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:34:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890367,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890367', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890367', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:34:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 08:34:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 08:34:21] Production.INFO: ==7939== Releasing lock...
[2025-04-12 08:34:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 08:34:21] Production.INFO: 29.25 MB #Memory Used#
[2025-04-12 13:35:01] Production.INFO: ==7995== Lock acquired, processing the job...
[2025-04-12 13:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 13:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 13:35:01] Production.INFO: neon service started
[2025-04-12 13:35:01] Production.INFO: neon service started
[2025-04-12 13:35:01] Production.INFO: ==7995== Releasing lock...
[2025-04-12 13:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 13:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 12:35:02] Production.INFO: ==7999== Lock acquired, processing the job...
[2025-04-12 12:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 12:35:02] Production.INFO: ==7999== Releasing lock...
[2025-04-12 12:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 12:35:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 08:35:02] Production.INFO: ==7997== Lock acquired, processing the job...
[2025-04-12 08:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 08:35:02] Production.INFO: ==7997== Releasing lock...
[2025-04-12 08:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 08:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 08:35:03] Production.INFO: ==8003== Lock acquired, processing the job...
[2025-04-12 08:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 08:35:03] Production.INFO: ==8007== Lock acquired, processing the job...
[2025-04-12 08:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 08:35:03] Production.INFO: ==8011== Lock acquired, processing the job...
[2025-04-12 08:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 08:35:03] Production.INFO: ==8003== Releasing lock...
[2025-04-12 08:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 08:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 08:35:03] Production.INFO: ==8001== Lock acquired, processing the job...
[2025-04-12 08:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 08:35:03] Production.INFO: Account Balance Start.
[2025-04-12 08:35:03] Production.INFO: CreateAllLog Start
[2025-04-12 08:35:03] Production.INFO: 117
[2025-04-12 08:35:03] Production.INFO: Date 2025-04-08
[2025-04-12 08:35:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 08:35:03] Production.INFO: ==8005== Lock acquired, processing the job...
[2025-04-12 08:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 08:35:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 08:35:03] Production.INFO: count ==12
[2025-04-12 08:35:03] Production.INFO: ==8009== Lock acquired, processing the job...
[2025-04-12 08:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 08:35:03] Production.INFO: Date 2025-04-09
[2025-04-12 08:35:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:35:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 08:35:03] Production.INFO: count ==23
[2025-04-12 08:35:03] Production.INFO: Date 2025-04-10
[2025-04-12 08:35:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890369') start
[2025-04-12 08:35:03] Production.INFO: Date 2025-04-11
[2025-04-12 08:35:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 08:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 08:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 08:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 08:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 08:35:03] Production.INFO: Date 2025-04-12
[2025-04-12 08:35:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890369') end
[2025-04-12 08:35:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 08:35:03] Production.INFO: 1
[2025-04-12 08:35:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 08:35:03] Production.INFO: Total Charge 0
[2025-04-12 08:35:04] Production.INFO: ==8011== Releasing lock...
[2025-04-12 08:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 08:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 08:35:04] Production.INFO: CreateAllLog End
[2025-04-12 08:35:04] Production.ERROR: done
[2025-04-12 08:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 08:35:04] Production.INFO: Account Balance End.
[2025-04-12 08:35:04] Production.ERROR: CronJobId end 12
[2025-04-12 08:35:04] Production.INFO: ==8007== Releasing lock...
[2025-04-12 08:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 08:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 08:35:04] Production.ERROR: done
[2025-04-12 08:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 05:35:05
[end_date_ymd] => 2025-04-12 08:35:05
[RateCDR] => 1
)
[2025-04-12 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-12 05:35:05' and `end` < '2025-04-12 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-12 08:35:12] Production.ERROR: CronJobId end10
[2025-04-12 08:35:12] Production.INFO: ==8005== Releasing lock...
[2025-04-12 08:35:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 08:35:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 08:35:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 08:35:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 08:35:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 08:35:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 08:35:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 08:35:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 08:35:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 08:35:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 08:35:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 08:35:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 08:35:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 08:35:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 08:35:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 08:35:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 08:35:15] Production.INFO: call_cost start
[2025-04-12 08:35:15] Production.INFO: call_cost end
[2025-04-12 08:35:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 08:35:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 08:35:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 08:35:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 08:35:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 08:35:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 08:35:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 08:35:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 08:35:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 08:35:15] Production.INFO: ==8001== Releasing lock...
[2025-04-12 08:35:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 08:35:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 08:35:18] Production.INFO: count ==157
[2025-04-12 08:35:18] Production.ERROR: pbx CDR StartTime 2025-04-12 05:35:05 - End Time 2025-04-12 08:35:05
[2025-04-12 08:35:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 08:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890372', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890372', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890372', 'tblTempVendorCDR_20' ) start
[2025-04-12 08:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890372', 'tblTempVendorCDR_20' ) end
[2025-04-12 08:35:18] Production.INFO: ProcessCDR(1,14890372,1,1,2)
[2025-04-12 08:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890372,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:35:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890372,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:35:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890372,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:35:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890372,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890372', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890372', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:35:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 08:35:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 08:35:21] Production.INFO: ==8009== Releasing lock...
[2025-04-12 08:35:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 08:35:21] Production.INFO: 29.25 MB #Memory Used#
[2025-04-12 13:36:01] Production.INFO: ==8070== Lock acquired, processing the job...
[2025-04-12 13:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 13:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 13:36:01] Production.INFO: neon service started
[2025-04-12 13:36:01] Production.INFO: neon service started
[2025-04-12 13:36:01] Production.INFO: ==8070== Releasing lock...
[2025-04-12 13:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 13:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 12:36:01] Production.INFO: ==8074== Lock acquired, processing the job...
[2025-04-12 12:36:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 12:36:01] Production.INFO: ==8074== Releasing lock...
[2025-04-12 12:36:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 12:36:01] Production.INFO: 25 MB #Memory Used#
[2025-04-12 08:36:01] Production.INFO: ==8072== Lock acquired, processing the job...
[2025-04-12 08:36:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 08:36:02] Production.INFO: ==8072== Releasing lock...
[2025-04-12 08:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 08:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 08:36:03] Production.INFO: ==8082== Lock acquired, processing the job...
[2025-04-12 08:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 08:36:03] Production.INFO: Account Balance Start.
[2025-04-12 08:36:03] Production.INFO: CreateAllLog Start
[2025-04-12 08:36:03] Production.INFO: 117
[2025-04-12 08:36:03] Production.INFO: Date 2025-04-08
[2025-04-12 08:36:03] Production.INFO: ==8086== Lock acquired, processing the job...
[2025-04-12 08:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 08:36:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:36:03] Production.INFO: Date 2025-04-09
[2025-04-12 08:36:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:36:03] Production.INFO: Date 2025-04-10
[2025-04-12 08:36:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:36:03] Production.INFO: Date 2025-04-11
[2025-04-12 08:36:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:36:03] Production.INFO: Date 2025-04-12
[2025-04-12 08:36:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:36:03] Production.INFO: ==8076== Lock acquired, processing the job...
[2025-04-12 08:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 08:36:03] Production.INFO: Total Charge 0
[2025-04-12 08:36:03] Production.INFO: CreateAllLog End
[2025-04-12 08:36:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 08:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 08:36:03] Production.INFO: ==8078== Lock acquired, processing the job...
[2025-04-12 08:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 08:36:03] Production.INFO: count ==12
[2025-04-12 08:36:03] Production.INFO: ==8084== Lock acquired, processing the job...
[2025-04-12 08:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 08:36:03] Production.INFO: ==8080== Lock acquired, processing the job...
[2025-04-12 08:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 08:36:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 08:36:03] Production.INFO: count ==23
[2025-04-12 08:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890374') start
[2025-04-12 08:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 08:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 08:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 08:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 08:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 08:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890374') end
[2025-04-12 08:36:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 08:36:03] Production.INFO: 1
[2025-04-12 08:36:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 08:36:03] Production.INFO: Account Balance End.
[2025-04-12 08:36:03] Production.INFO: ==8086== Releasing lock...
[2025-04-12 08:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 08:36:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 08:36:03] Production.ERROR: CronJobId end 12
[2025-04-12 08:36:03] Production.INFO: ==8082== Releasing lock...
[2025-04-12 08:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 08:36:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 08:36:04] Production.INFO: ==8078== Releasing lock...
[2025-04-12 08:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 08:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 08:36:04] Production.ERROR: done
[2025-04-12 08:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 08:36:04] Production.ERROR: done
[2025-04-12 08:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 05:36:05
[end_date_ymd] => 2025-04-12 08:36:05
[RateCDR] => 1
)
[2025-04-12 08:36:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 05:36:05' and `end` < '2025-04-12 08:36:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 08:36:11] Production.ERROR: CronJobId end10
[2025-04-12 08:36:11] Production.INFO: ==8080== Releasing lock...
[2025-04-12 08:36:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 08:36:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 08:36:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 08:36:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 08:36:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 08:36:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 08:36:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 08:36:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 08:36:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 08:36:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 08:36:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 08:36:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 08:36:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 08:36:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 08:36:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 08:36:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 08:36:13] Production.INFO: call_cost start
[2025-04-12 08:36:13] Production.INFO: call_cost end
[2025-04-12 08:36:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 08:36:14] Production.INFO: ============== Report Schedule START===========
[2025-04-12 08:36:14] Production.INFO: ============== Report Schedule END===========
[2025-04-12 08:36:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 08:36:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 08:36:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 08:36:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 08:36:14] Production.INFO: ============== Deal alert START===========
[2025-04-12 08:36:14] Production.INFO: ============== Deal alert END===========
[2025-04-12 08:36:14] Production.INFO: ==8076== Releasing lock...
[2025-04-12 08:36:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 08:36:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 08:36:17] Production.INFO: count ==158
[2025-04-12 08:36:17] Production.ERROR: pbx CDR StartTime 2025-04-12 05:36:05 - End Time 2025-04-12 08:36:05
[2025-04-12 08:36:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 08:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890377', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890377', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890377', 'tblTempVendorCDR_20' ) start
[2025-04-12 08:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890377', 'tblTempVendorCDR_20' ) end
[2025-04-12 08:36:17] Production.INFO: ProcessCDR(1,14890377,1,1,2)
[2025-04-12 08:36:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890377,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:36:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890377,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:36:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890377,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:36:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890377,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890377', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890377', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:36:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 08:36:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 08:36:21] Production.INFO: ==8084== Releasing lock...
[2025-04-12 08:36:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 08:36:21] Production.INFO: 29.5 MB #Memory Used#
[2025-04-12 13:37:01] Production.INFO: ==8142== Lock acquired, processing the job...
[2025-04-12 13:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 13:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 13:37:01] Production.INFO: neon service started
[2025-04-12 13:37:01] Production.INFO: neon service started
[2025-04-12 13:37:01] Production.INFO: ==8142== Releasing lock...
[2025-04-12 13:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 13:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 08:37:02] Production.INFO: ==8144== Lock acquired, processing the job...
[2025-04-12 08:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 12:37:02] Production.INFO: ==8146== Lock acquired, processing the job...
[2025-04-12 12:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 12:37:02] Production.INFO: ==8146== Releasing lock...
[2025-04-12 12:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 12:37:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 08:37:02] Production.INFO: ==8144== Releasing lock...
[2025-04-12 08:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 08:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 08:37:03] Production.INFO: ==8149== Lock acquired, processing the job...
[2025-04-12 08:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 08:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 08:37:03] Production.INFO: ==8154== Lock acquired, processing the job...
[2025-04-12 08:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 08:37:03] Production.INFO: ==8160== Lock acquired, processing the job...
[2025-04-12 08:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 08:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 08:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 08:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 08:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 08:37:03] Production.INFO: ==8152== Lock acquired, processing the job...
[2025-04-12 08:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 08:37:04] Production.INFO: ==8158== Lock acquired, processing the job...
[2025-04-12 08:37:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 08:37:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 08:37:04] Production.INFO: ==8156== Lock acquired, processing the job...
[2025-04-12 08:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 08:37:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 08:37:04] Production.INFO: count ==12
[2025-04-12 08:37:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 08:37:04] Production.INFO: count ==23
[2025-04-12 08:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890379') start
[2025-04-12 08:37:04] Production.INFO: ==8152== Releasing lock...
[2025-04-12 08:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 08:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 08:37:04] Production.INFO: Account Balance Start.
[2025-04-12 08:37:04] Production.INFO: CreateAllLog Start
[2025-04-12 08:37:04] Production.INFO: 117
[2025-04-12 08:37:04] Production.INFO: Date 2025-04-08
[2025-04-12 08:37:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890379') end
[2025-04-12 08:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 08:37:04] Production.INFO: 1
[2025-04-12 08:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 08:37:04] Production.INFO: Date 2025-04-09
[2025-04-12 08:37:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:37:04] Production.INFO: ==8160== Releasing lock...
[2025-04-12 08:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 08:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 08:37:04] Production.ERROR: done
[2025-04-12 08:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 08:37:04] Production.INFO: Date 2025-04-10
[2025-04-12 08:37:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:37:04] Production.INFO: Date 2025-04-11
[2025-04-12 08:37:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:37:04] Production.INFO: Date 2025-04-12
[2025-04-12 08:37:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:37:04] Production.ERROR: done
[2025-04-12 08:37:04] Production.INFO: Total Charge 0
[2025-04-12 08:37:04] Production.INFO: CreateAllLog End
[2025-04-12 08:37:04] Production.INFO: Account Balance End.
[2025-04-12 08:37:04] Production.ERROR: CronJobId end 12
[2025-04-12 08:37:04] Production.INFO: ==8156== Releasing lock...
[2025-04-12 08:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 08:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 08:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 05:37:05
[end_date_ymd] => 2025-04-12 08:37:05
[RateCDR] => 1
)
[2025-04-12 08:37:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 05:37:05' and `end` < '2025-04-12 08:37:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 08:37:12] Production.ERROR: CronJobId end10
[2025-04-12 08:37:12] Production.INFO: ==8154== Releasing lock...
[2025-04-12 08:37:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 08:37:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 08:37:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 08:37:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 08:37:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 08:37:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 08:37:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 08:37:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 08:37:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 08:37:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 08:37:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 08:37:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 08:37:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 08:37:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 08:37:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 08:37:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 08:37:14] Production.INFO: call_cost start
[2025-04-12 08:37:14] Production.INFO: call_cost end
[2025-04-12 08:37:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 08:37:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 08:37:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 08:37:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 08:37:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 08:37:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 08:37:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 08:37:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 08:37:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 08:37:15] Production.INFO: ==8149== Releasing lock...
[2025-04-12 08:37:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 08:37:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 08:37:18] Production.INFO: count ==160
[2025-04-12 08:37:18] Production.ERROR: pbx CDR StartTime 2025-04-12 05:37:05 - End Time 2025-04-12 08:37:05
[2025-04-12 08:37:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 08:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890382', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890382', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890382', 'tblTempVendorCDR_20' ) start
[2025-04-12 08:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890382', 'tblTempVendorCDR_20' ) end
[2025-04-12 08:37:18] Production.INFO: ProcessCDR(1,14890382,1,1,2)
[2025-04-12 08:37:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890382,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:37:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890382,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:37:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890382,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:37:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890382,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890382', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890382', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:37:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 08:37:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 08:37:22] Production.INFO: ==8158== Releasing lock...
[2025-04-12 08:37:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 08:37:22] Production.INFO: 29.5 MB #Memory Used#
[2025-04-12 13:38:02] Production.INFO: ==8254== Lock acquired, processing the job...
[2025-04-12 13:38:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 13:38:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 13:38:02] Production.INFO: neon service started
[2025-04-12 13:38:02] Production.INFO: neon service started
[2025-04-12 13:38:02] Production.INFO: ==8254== Releasing lock...
[2025-04-12 13:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 13:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 12:38:02] Production.INFO: ==8258== Lock acquired, processing the job...
[2025-04-12 12:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 08:38:02] Production.INFO: ==8256== Lock acquired, processing the job...
[2025-04-12 08:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 12:38:02] Production.INFO: ==8258== Releasing lock...
[2025-04-12 12:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 12:38:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 08:38:03] Production.INFO: ==8256== Releasing lock...
[2025-04-12 08:38:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 08:38:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 08:38:04] Production.INFO: ==8263== Lock acquired, processing the job...
[2025-04-12 08:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 08:38:04] Production.INFO: ==8267== Lock acquired, processing the job...
[2025-04-12 08:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 08:38:04] Production.INFO: ==8269== Lock acquired, processing the job...
[2025-04-12 08:38:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 08:38:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 08:38:04] Production.INFO: Account Balance Start.
[2025-04-12 08:38:04] Production.INFO: CreateAllLog Start
[2025-04-12 08:38:04] Production.INFO: 117
[2025-04-12 08:38:04] Production.INFO: Date 2025-04-08
[2025-04-12 08:38:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:38:04] Production.INFO: ==8271== Lock acquired, processing the job...
[2025-04-12 08:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 08:38:04] Production.INFO: Date 2025-04-09
[2025-04-12 08:38:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:38:04] Production.INFO: Date 2025-04-10
[2025-04-12 08:38:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:38:04] Production.INFO: ==8261== Lock acquired, processing the job...
[2025-04-12 08:38:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 08:38:04] Production.INFO: ==8265== Lock acquired, processing the job...
[2025-04-12 08:38:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 08:38:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 08:38:04] Production.INFO: Date 2025-04-11
[2025-04-12 08:38:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:38:04] Production.INFO: count ==12
[2025-04-12 08:38:04] Production.INFO: Date 2025-04-12
[2025-04-12 08:38:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:38:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 08:38:04] Production.INFO: count ==23
[2025-04-12 08:38:04] Production.INFO: Total Charge 0
[2025-04-12 08:38:04] Production.INFO: CreateAllLog End
[2025-04-12 08:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890385') start
[2025-04-12 08:38:04] Production.INFO: ==8263== Releasing lock...
[2025-04-12 08:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 08:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 08:38:04] Production.ERROR: done
[2025-04-12 08:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 08:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 08:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 08:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 08:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 08:38:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 08:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890385') end
[2025-04-12 08:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 08:38:04] Production.INFO: 1
[2025-04-12 08:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 08:38:04] Production.INFO: ==8271== Releasing lock...
[2025-04-12 08:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 08:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 08:38:04] Production.INFO: Account Balance End.
[2025-04-12 08:38:04] Production.ERROR: done
[2025-04-12 08:38:04] Production.ERROR: CronJobId end 12
[2025-04-12 08:38:04] Production.INFO: ==8267== Releasing lock...
[2025-04-12 08:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 08:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 08:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 05:38:05
[end_date_ymd] => 2025-04-12 08:38:05
[RateCDR] => 1
)
[2025-04-12 08:38:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 05:38:05' and `end` < '2025-04-12 08:38:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 08:38:11] Production.ERROR: CronJobId end10
[2025-04-12 08:38:11] Production.INFO: ==8265== Releasing lock...
[2025-04-12 08:38:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 08:38:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 08:38:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 08:38:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 08:38:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 08:38:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 08:38:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 08:38:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 08:38:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 08:38:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 08:38:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 08:38:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 08:38:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 08:38:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 08:38:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 08:38:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 08:38:14] Production.INFO: call_cost start
[2025-04-12 08:38:14] Production.INFO: call_cost end
[2025-04-12 08:38:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 08:38:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 08:38:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 08:38:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 08:38:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 08:38:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 08:38:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 08:38:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 08:38:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 08:38:15] Production.INFO: ==8261== Releasing lock...
[2025-04-12 08:38:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 08:38:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 08:38:18] Production.INFO: count ==159
[2025-04-12 08:38:18] Production.ERROR: pbx CDR StartTime 2025-04-12 05:38:05 - End Time 2025-04-12 08:38:05
[2025-04-12 08:38:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 08:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890387', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890387', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890387', 'tblTempVendorCDR_20' ) start
[2025-04-12 08:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890387', 'tblTempVendorCDR_20' ) end
[2025-04-12 08:38:18] Production.INFO: ProcessCDR(1,14890387,1,1,2)
[2025-04-12 08:38:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890387,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:38:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890387,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:38:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890387,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:38:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890387,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890387', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890387', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:38:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 08:38:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 08:38:22] Production.INFO: ==8269== Releasing lock...
[2025-04-12 08:38:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 08:38:22] Production.INFO: 29.5 MB #Memory Used#
[2025-04-12 13:39:01] Production.INFO: ==8323== Lock acquired, processing the job...
[2025-04-12 13:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 13:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 13:39:01] Production.INFO: neon service started
[2025-04-12 13:39:01] Production.INFO: neon service started
[2025-04-12 13:39:01] Production.INFO: ==8323== Releasing lock...
[2025-04-12 13:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 13:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 08:39:02] Production.INFO: ==8325== Lock acquired, processing the job...
[2025-04-12 08:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 08:39:02] Production.INFO: ==8325== Releasing lock...
[2025-04-12 08:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 08:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 12:39:02] Production.INFO: ==8327== Lock acquired, processing the job...
[2025-04-12 12:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 12:39:02] Production.INFO: ==8327== Releasing lock...
[2025-04-12 12:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 12:39:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 08:39:03] Production.INFO: ==8330== Lock acquired, processing the job...
[2025-04-12 08:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 08:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 08:39:03] Production.INFO: ==8332== Lock acquired, processing the job...
[2025-04-12 08:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 08:39:03] Production.INFO: ==8336== Lock acquired, processing the job...
[2025-04-12 08:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 08:39:03] Production.INFO: ==8334== Lock acquired, processing the job...
[2025-04-12 08:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 08:39:03] Production.INFO: ==8341== Lock acquired, processing the job...
[2025-04-12 08:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 08:39:03] Production.INFO: Account Balance Start.
[2025-04-12 08:39:03] Production.INFO: CreateAllLog Start
[2025-04-12 08:39:03] Production.INFO: 117
[2025-04-12 08:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 08:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 08:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 08:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 08:39:03] Production.INFO: Date 2025-04-08
[2025-04-12 08:39:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:39:03] Production.INFO: ==8339== Lock acquired, processing the job...
[2025-04-12 08:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 08:39:03] Production.INFO: Date 2025-04-09
[2025-04-12 08:39:03] Production.INFO: Reseller ==> 0
[2025-04-12 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-12 08:39:03] Production.INFO: count ==12
[2025-04-12 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-12 08:39:03] Production.INFO: count ==23
[2025-04-12 08:39:03] Production.INFO: Date 2025-04-10
[2025-04-12 08:39:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890391') start
[2025-04-12 08:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 08:39:03] Production.INFO: Date 2025-04-11
[2025-04-12 08:39:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:39:03] Production.INFO: ==8332== Releasing lock...
[2025-04-12 08:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 08:39:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 08:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890391') end
[2025-04-12 08:39:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 08:39:03] Production.INFO: 1
[2025-04-12 08:39:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 08:39:03] Production.INFO: ==8341== Releasing lock...
[2025-04-12 08:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 08:39:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 08:39:03] Production.INFO: Date 2025-04-12
[2025-04-12 08:39:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:39:03] Production.INFO: Total Charge 0
[2025-04-12 08:39:04] Production.INFO: CreateAllLog End
[2025-04-12 08:39:04] Production.ERROR: done
[2025-04-12 08:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 08:39:04] Production.INFO: Account Balance End.
[2025-04-12 08:39:04] Production.ERROR: done
[2025-04-12 08:39:04] Production.ERROR: CronJobId end 12
[2025-04-12 08:39:04] Production.INFO: ==8336== Releasing lock...
[2025-04-12 08:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 08:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 08:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 05:39:05
[end_date_ymd] => 2025-04-12 08:39:05
[RateCDR] => 1
)
[2025-04-12 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-12 05:39:05' and `end` < '2025-04-12 08:39:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 08:39:11] Production.ERROR: CronJobId end10
[2025-04-12 08:39:11] Production.INFO: ==8334== Releasing lock...
[2025-04-12 08:39:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 08:39:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 08:39:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 08:39:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 08:39:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 08:39:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 08:39:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 08:39:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 08:39:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 08:39:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 08:39:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 08:39:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 08:39:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 08:39:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 08:39:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 08:39:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 08:39:14] Production.INFO: call_cost start
[2025-04-12 08:39:14] Production.INFO: call_cost end
[2025-04-12 08:39:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 08:39:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 08:39:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 08:39:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 08:39:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 08:39:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 08:39:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 08:39:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 08:39:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 08:39:15] Production.INFO: ==8330== Releasing lock...
[2025-04-12 08:39:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 08:39:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 08:39:18] Production.INFO: count ==160
[2025-04-12 08:39:18] Production.ERROR: pbx CDR StartTime 2025-04-12 05:39:05 - End Time 2025-04-12 08:39:05
[2025-04-12 08:39:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 08:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890392', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890392', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890392', 'tblTempVendorCDR_20' ) start
[2025-04-12 08:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890392', 'tblTempVendorCDR_20' ) end
[2025-04-12 08:39:18] Production.INFO: ProcessCDR(1,14890392,1,1,2)
[2025-04-12 08:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890392,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:39:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890392,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:39:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890392,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:39:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890392,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:39:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890392', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:39:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890392', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:39:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 08:39:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 08:39:23] Production.INFO: ==8339== Releasing lock...
[2025-04-12 08:39:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 08:39:23] Production.INFO: 29.5 MB #Memory Used#
[2025-04-12 13:40:02] Production.INFO: ==8402== Lock acquired, processing the job...
[2025-04-12 13:40:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 13:40:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 13:40:02] Production.INFO: neon service started
[2025-04-12 13:40:02] Production.INFO: neon service started
[2025-04-12 13:40:02] Production.INFO: ==8402== Releasing lock...
[2025-04-12 13:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 13:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 08:40:02] Production.INFO: ==8404== Lock acquired, processing the job...
[2025-04-12 08:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 12:40:02] Production.INFO: ==8406== Lock acquired, processing the job...
[2025-04-12 12:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 12:40:02] Production.INFO: ==8406== Releasing lock...
[2025-04-12 12:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 12:40:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 08:40:03] Production.INFO: ==8404== Releasing lock...
[2025-04-12 08:40:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 08:40:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 08:40:03] Production.INFO: ==8410== Lock acquired, processing the job...
[2025-04-12 08:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 08:40:03] Production.INFO: ==8414== Lock acquired, processing the job...
[2025-04-12 08:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 08:40:04] Production.INFO: ==8412== Lock acquired, processing the job...
[2025-04-12 08:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 08:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 08:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 08:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 08:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 08:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 08:40:04] Production.INFO: ==8422== Lock acquired, processing the job...
[2025-04-12 08:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 08:40:04] Production.INFO: ==8408== Lock acquired, processing the job...
[2025-04-12 08:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 08:40:04] Production.INFO: ==8420== Lock acquired, processing the job...
[2025-04-12 08:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 08:40:04] Production.INFO: ==8416== Lock acquired, processing the job...
[2025-04-12 08:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 08:40:04] Production.INFO: ==8418== Lock acquired, processing the job...
[2025-04-12 08:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 08:40:04] Production.INFO: ==8412== Releasing lock...
[2025-04-12 08:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 08:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 08:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 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-12 08:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 08:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 08:40:04] Production.ERROR: CronJob PID - 8410
[2025-04-12 08:40:04] Production.ERROR: CronJob Title - System Alerts
[2025-04-12 08:40:04] Production.ERROR: CronJob ID - 5
[2025-04-12 08:40:04] Production.ERROR: CronJob Last Run Time 2025-04-12 08:40:00
[2025-04-12 08:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 08:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 08:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 08:40:04] Production.ERROR: CronJob PID - 8414
[2025-04-12 08:40:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-04-12 08:40:04] Production.ERROR: CronJob ID - 10
[2025-04-12 08:40:04] Production.ERROR: CronJob Last Run Time 2025-04-12 08:40:00
[2025-04-12 08:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 08:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 08:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 08:40:04] Production.ERROR: CronJob PID - 8416
[2025-04-12 08:40:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-04-12 08:40:04] Production.ERROR: CronJob ID - 12
[2025-04-12 08:40:04] Production.ERROR: CronJob Last Run Time 2025-04-12 08:40:00
[2025-04-12 08:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 08:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 08:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 08:40:04] Production.ERROR: CronJob PID - 8418
[2025-04-12 08:40:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-04-12 08:40:04] Production.ERROR: CronJob ID - 16
[2025-04-12 08:40:04] Production.ERROR: CronJob Last Run Time 2025-04-12 08:40:00
[2025-04-12 08:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 08:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 08:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 08:40:04] Production.ERROR: CronJob PID - 8420
[2025-04-12 08:40:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-04-12 08:40:04] Production.ERROR: CronJob ID - 17
[2025-04-12 08:40:04] Production.ERROR: CronJob Last Run Time 2025-04-12 08:40:00
[2025-04-12 08:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 08:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 08:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 08:40:04] Production.ERROR: CronJob PID - 8422
[2025-04-12 08:40:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-04-12 08:40:04] Production.ERROR: CronJob ID - 19
[2025-04-12 08:40:04] Production.ERROR: CronJob Last Run Time 2025-04-12 08:40:00
[2025-04-12 08:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 08:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 08:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 08:40:04] Production.INFO: count ==12
[2025-04-12 08:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 08:40:04] Production.INFO: count ==23
[2025-04-12 08:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890395') start
[2025-04-12 08:40:04] Production.INFO: Account Balance Start.
[2025-04-12 08:40:04] Production.INFO: CreateAllLog Start
[2025-04-12 08:40:04] Production.INFO: 117
[2025-04-12 08:40:04] Production.INFO: Date 2025-04-08
[2025-04-12 08:40:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 08:40:04] Production.INFO: ==8408== Releasing lock...
[2025-04-12 08:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 08:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 08:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890395') end
[2025-04-12 08:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 08:40:04] Production.INFO: 1
[2025-04-12 08:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 08:40:04] Production.INFO: Date 2025-04-09
[2025-04-12 08:40:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:40:04] Production.INFO: Date 2025-04-10
[2025-04-12 08:40:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:40:05] Production.INFO: Date 2025-04-11
[2025-04-12 08:40:05] Production.INFO: Reseller ==> 0
[2025-04-12 08:40:05] Production.INFO: ==8422== Releasing lock...
[2025-04-12 08:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 08:40:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 08:40:05] Production.ERROR: done
[2025-04-12 08:40:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 08:40:05] Production.INFO: Date 2025-04-12
[2025-04-12 08:40:05] Production.INFO: Reseller ==> 0
[2025-04-12 08:40:05] Production.ERROR: done
[2025-04-12 08:40:05] Production.INFO: Total Charge 0
[2025-04-12 08:40:05] Production.INFO: CreateAllLog End
[2025-04-12 08:40:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 08:40:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14890397', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 08:40:05] Production.ERROR: done
[2025-04-12 08:40:05] Production.INFO: Account Balance End.
[2025-04-12 08:40:05] Production.ERROR: CronJobId end 12
[2025-04-12 08:40:05] Production.INFO: ==8416== Releasing lock...
[2025-04-12 08:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 08:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 08:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 05:40:06
[end_date_ymd] => 2025-04-12 08:40:06
[RateCDR] => 1
)
[2025-04-12 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-12 05:40:06' and `end` < '2025-04-12 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-12 08:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14890397', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 08:40:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 08:40:09] Production.INFO: ProcessCDR(1,14890397,1,1,2)
[2025-04-12 08:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14890397,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14890397,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 08:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 08:40:09] Production.INFO: ==8420== Releasing lock...
[2025-04-12 08:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 08:40:09] Production.INFO: 26 MB #Memory Used#
[2025-04-12 08:40:13] Production.ERROR: CronJobId end10
[2025-04-12 08:40:13] Production.INFO: ==8414== Releasing lock...
[2025-04-12 08:40:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 08:40:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 08:40:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 08:40:16] Production.INFO: ============== Balance Warning START===========
[2025-04-12 08:40:16] Production.INFO: ============== Balance Warning END===========
[2025-04-12 08:40:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 08:40:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 08:40:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 08:40:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 08:40:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 08:40:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 08:40:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 08:40:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 08:40:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 08:40:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 08:40:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 08:40:16] Production.INFO: call_cost start
[2025-04-12 08:40:16] Production.INFO: call_cost end
[2025-04-12 08:40:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 08:40:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 08:40:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 08:40:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 08:40:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 08:40:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 08:40:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 08:40:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 08:40:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 08:40:17] Production.INFO: ==8410== Releasing lock...
[2025-04-12 08:40:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 08:40:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 08:40:19] Production.INFO: count ==168
[2025-04-12 08:40:19] Production.ERROR: pbx CDR StartTime 2025-04-12 05:40:06 - End Time 2025-04-12 08:40:06
[2025-04-12 08:40:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 08:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890398', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890398', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890398', 'tblTempVendorCDR_20' ) start
[2025-04-12 08:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890398', 'tblTempVendorCDR_20' ) end
[2025-04-12 08:40:19] Production.INFO: ProcessCDR(1,14890398,1,1,2)
[2025-04-12 08:40:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890398,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:40:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890398,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:40:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890398,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:40:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890398,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890398', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890398', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:40:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 08:40:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 08:40:23] Production.INFO: ==8418== Releasing lock...
[2025-04-12 08:40:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 08:40:23] Production.INFO: 29.5 MB #Memory Used#
[2025-04-12 13:41:01] Production.INFO: ==8479== Lock acquired, processing the job...
[2025-04-12 13:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 13:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 13:41:01] Production.INFO: neon service started
[2025-04-12 13:41:01] Production.INFO: neon service started
[2025-04-12 13:41:01] Production.INFO: ==8479== Releasing lock...
[2025-04-12 13:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 13:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 08:41:02] Production.INFO: ==8482== Lock acquired, processing the job...
[2025-04-12 08:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 12:41:02] Production.INFO: ==8484== Lock acquired, processing the job...
[2025-04-12 12:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 12:41:02] Production.INFO: ==8484== Releasing lock...
[2025-04-12 12:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 12:41:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 08:41:02] Production.INFO: ==8482== Releasing lock...
[2025-04-12 08:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 08:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 08:41:03] Production.INFO: ==8490== Lock acquired, processing the job...
[2025-04-12 08:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 08:41:03] Production.INFO: ==8492== Lock acquired, processing the job...
[2025-04-12 08:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 08:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 08:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 08:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 08:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 08:41:03] Production.INFO: Account Balance Start.
[2025-04-12 08:41:03] Production.INFO: CreateAllLog Start
[2025-04-12 08:41:03] Production.INFO: 117
[2025-04-12 08:41:03] Production.INFO: Date 2025-04-08
[2025-04-12 08:41:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:41:03] Production.INFO: Date 2025-04-09
[2025-04-12 08:41:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:41:03] Production.INFO: ==8488== Lock acquired, processing the job...
[2025-04-12 08:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 08:41:03] Production.INFO: Date 2025-04-10
[2025-04-12 08:41:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:41:03] Production.INFO: ==8486== Lock acquired, processing the job...
[2025-04-12 08:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 08:41:03] Production.INFO: Date 2025-04-11
[2025-04-12 08:41:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:41:03] Production.INFO: Date 2025-04-12
[2025-04-12 08:41:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 08:41:03] Production.INFO: ==8494== Lock acquired, processing the job...
[2025-04-12 08:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 08:41:03] Production.INFO: Total Charge 0
[2025-04-12 08:41:03] Production.INFO: CreateAllLog End
[2025-04-12 08:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 08:41:03] Production.INFO: ==8496== Lock acquired, processing the job...
[2025-04-12 08:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 08:41:04] Production.INFO: Account Balance End.
[2025-04-12 08:41:04] Production.INFO: ==8488== Releasing lock...
[2025-04-12 08:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 08:41:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 08:41:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 08:41:04] Production.INFO: count ==12
[2025-04-12 08:41:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 08:41:04] Production.INFO: count ==23
[2025-04-12 08:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890402') start
[2025-04-12 08:41:04] Production.ERROR: done
[2025-04-12 08:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 08:41:04] Production.ERROR: CronJobId end 12
[2025-04-12 08:41:04] Production.INFO: ==8492== Releasing lock...
[2025-04-12 08:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 08:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 08:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890402') end
[2025-04-12 08:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 08:41:04] Production.INFO: 1
[2025-04-12 08:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 08:41:04] Production.INFO: ==8496== Releasing lock...
[2025-04-12 08:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 08:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 08:41:04] Production.ERROR: done
[2025-04-12 08:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 05:41:05
[end_date_ymd] => 2025-04-12 08:41:05
[RateCDR] => 1
)
[2025-04-12 08:41:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 05:41:05' and `end` < '2025-04-12 08:41:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 08:41:10] Production.ERROR: CronJobId end10
[2025-04-12 08:41:10] Production.INFO: ==8490== Releasing lock...
[2025-04-12 08:41:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 08:41:10] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 08:41:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 08:41:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 08:41:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 08:41:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 08:41:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 08:41:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 08:41:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 08:41:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 08:41:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 08:41:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 08:41:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 08:41:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 08:41:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 08:41:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 08:41:13] Production.INFO: call_cost start
[2025-04-12 08:41:13] Production.INFO: call_cost end
[2025-04-12 08:41:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 08:41:14] Production.INFO: ============== Report Schedule START===========
[2025-04-12 08:41:14] Production.INFO: ============== Report Schedule END===========
[2025-04-12 08:41:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 08:41:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 08:41:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 08:41:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 08:41:14] Production.INFO: ============== Deal alert START===========
[2025-04-12 08:41:14] Production.INFO: ============== Deal alert END===========
[2025-04-12 08:41:14] Production.INFO: ==8486== Releasing lock...
[2025-04-12 08:41:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 08:41:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 08:41:18] Production.INFO: count ==176
[2025-04-12 08:41:18] Production.ERROR: pbx CDR StartTime 2025-04-12 05:41:05 - End Time 2025-04-12 08:41:05
[2025-04-12 08:41:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 08:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890403', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890403', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890403', 'tblTempVendorCDR_20' ) start
[2025-04-12 08:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890403', 'tblTempVendorCDR_20' ) end
[2025-04-12 08:41:18] Production.INFO: ProcessCDR(1,14890403,1,1,2)
[2025-04-12 08:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890403,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:41:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890403,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:41:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890403,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:41:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890403,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890403', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890403', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:41:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 08:41:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 08:41:21] Production.INFO: ==8494== Releasing lock...
[2025-04-12 08:41:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 08:41:21] Production.INFO: 29.5 MB #Memory Used#
[2025-04-12 13:42:02] Production.INFO: ==8552== Lock acquired, processing the job...
[2025-04-12 13:42:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 13:42:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 13:42:02] Production.INFO: neon service started
[2025-04-12 13:42:02] Production.INFO: neon service started
[2025-04-12 13:42:02] Production.INFO: ==8552== Releasing lock...
[2025-04-12 13:42:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 13:42:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 08:42:02] Production.INFO: ==8554== Lock acquired, processing the job...
[2025-04-12 08:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 08:42:02] Production.INFO: ==8554== Releasing lock...
[2025-04-12 08:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 08:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 12:42:02] Production.INFO: ==8556== Lock acquired, processing the job...
[2025-04-12 12:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 12:42:02] Production.INFO: ==8556== Releasing lock...
[2025-04-12 12:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 12:42:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 08:42:03] Production.INFO: ==8559== Lock acquired, processing the job...
[2025-04-12 08:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 08:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 08:42:03] Production.INFO: ==8561== Lock acquired, processing the job...
[2025-04-12 08:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 08:42:03] Production.INFO: ==8563== Lock acquired, processing the job...
[2025-04-12 08:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 08:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 08:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 08:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 08:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 08:42:03] Production.INFO: ==8565== Lock acquired, processing the job...
[2025-04-12 08:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 08:42:03] Production.INFO: ==8567== Lock acquired, processing the job...
[2025-04-12 08:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 08:42:03] Production.INFO: ==8569== Lock acquired, processing the job...
[2025-04-12 08:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 08:42:03] Production.INFO: ==8561== Releasing lock...
[2025-04-12 08:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 08:42:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 08:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 08:42:03] Production.INFO: Account Balance Start.
[2025-04-12 08:42:03] Production.INFO: CreateAllLog Start
[2025-04-12 08:42:03] Production.INFO: 117
[2025-04-12 08:42:03] Production.INFO: Date 2025-04-08
[2025-04-12 08:42:03] Production.INFO: Reseller ==> 0
[2025-04-12 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-12 08:42:04] Production.INFO: Date 2025-04-09
[2025-04-12 08:42:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:42:04] Production.INFO: Date 2025-04-10
[2025-04-12 08:42:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:42:04] Production.INFO: count ==12
[2025-04-12 08:42:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 08:42:04] Production.INFO: count ==23
[2025-04-12 08:42:04] Production.INFO: Date 2025-04-11
[2025-04-12 08:42:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890407') start
[2025-04-12 08:42:04] Production.INFO: Date 2025-04-12
[2025-04-12 08:42:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:42:04] Production.INFO: Total Charge 0
[2025-04-12 08:42:04] Production.INFO: CreateAllLog End
[2025-04-12 08:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890407') end
[2025-04-12 08:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 08:42:04] Production.INFO: 1
[2025-04-12 08:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 08:42:04] Production.INFO: ==8569== Releasing lock...
[2025-04-12 08:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 08:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 08:42:04] Production.ERROR: done
[2025-04-12 08:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 08:42:04] Production.ERROR: done
[2025-04-12 08:42:04] Production.INFO: Account Balance End.
[2025-04-12 08:42:04] Production.ERROR: CronJobId end 12
[2025-04-12 08:42:04] Production.INFO: ==8565== Releasing lock...
[2025-04-12 08:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 08:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 08:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 05:42:05
[end_date_ymd] => 2025-04-12 08:42:05
[RateCDR] => 1
)
[2025-04-12 08:42:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 05:42:05' and `end` < '2025-04-12 08:42:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 08:42:11] Production.ERROR: CronJobId end10
[2025-04-12 08:42:11] Production.INFO: ==8563== Releasing lock...
[2025-04-12 08:42:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 08:42:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 08:42:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 08:42:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 08:42:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 08:42:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 08:42:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 08:42:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 08:42:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 08:42:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 08:42:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 08:42:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 08:42:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 08:42:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 08:42:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 08:42:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 08:42:14] Production.INFO: call_cost start
[2025-04-12 08:42:14] Production.INFO: call_cost end
[2025-04-12 08:42:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 08:42:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 08:42:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 08:42:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 08:42:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 08:42:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 08:42:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 08:42:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 08:42:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 08:42:15] Production.INFO: ==8559== Releasing lock...
[2025-04-12 08:42:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 08:42:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 08:42:18] Production.INFO: count ==176
[2025-04-12 08:42:18] Production.ERROR: pbx CDR StartTime 2025-04-12 05:42:05 - End Time 2025-04-12 08:42:05
[2025-04-12 08:42:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 08:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890408', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890408', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890408', 'tblTempVendorCDR_20' ) start
[2025-04-12 08:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890408', 'tblTempVendorCDR_20' ) end
[2025-04-12 08:42:18] Production.INFO: ProcessCDR(1,14890408,1,1,2)
[2025-04-12 08:42:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890408,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:42:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890408,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:42:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890408,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:42:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890408,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890408', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890408', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:42:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 08:42:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 08:42:21] Production.INFO: ==8567== Releasing lock...
[2025-04-12 08:42:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 08:42:21] Production.INFO: 29.5 MB #Memory Used#
[2025-04-12 13:43:01] Production.INFO: ==8624== Lock acquired, processing the job...
[2025-04-12 13:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 13:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 13:43:01] Production.INFO: neon service started
[2025-04-12 13:43:01] Production.INFO: neon service started
[2025-04-12 13:43:01] Production.INFO: ==8624== Releasing lock...
[2025-04-12 13:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 13:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 12:43:01] Production.INFO: ==8629== Lock acquired, processing the job...
[2025-04-12 12:43:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 12:43:01] Production.INFO: ==8629== Releasing lock...
[2025-04-12 12:43:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 12:43:01] Production.INFO: 25 MB #Memory Used#
[2025-04-12 08:43:02] Production.INFO: ==8627== Lock acquired, processing the job...
[2025-04-12 08:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 08:43:02] Production.INFO: ==8627== Releasing lock...
[2025-04-12 08:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 08:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 08:43:03] Production.INFO: ==8631== Lock acquired, processing the job...
[2025-04-12 08:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 08:43:03] Production.INFO: ==8633== Lock acquired, processing the job...
[2025-04-12 08:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 08:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 08:43:03] Production.INFO: ==8639== Lock acquired, processing the job...
[2025-04-12 08:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 08:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 08:43:03] Production.INFO: ==8635== Lock acquired, processing the job...
[2025-04-12 08:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 08:43:03] Production.INFO: ==8637== Lock acquired, processing the job...
[2025-04-12 08:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 08:43:03] Production.INFO: ==8633== Releasing lock...
[2025-04-12 08:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 08:43:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 08:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 08:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 08:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 08:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 08:43:03] Production.INFO: ==8641== Lock acquired, processing the job...
[2025-04-12 08:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 08:43:03] Production.ERROR: done
[2025-04-12 08:43:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 08:43:03] Production.INFO: Account Balance Start.
[2025-04-12 08:43:03] Production.INFO: CreateAllLog Start
[2025-04-12 08:43:03] Production.INFO: 117
[2025-04-12 08:43:03] Production.INFO: Date 2025-04-08
[2025-04-12 08:43:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:43:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 08:43:03] Production.INFO: Date 2025-04-09
[2025-04-12 08:43:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:43:03] Production.INFO: count ==12
[2025-04-12 08:43:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 08:43:03] Production.INFO: count ==23
[2025-04-12 08:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890412') start
[2025-04-12 08:43:03] Production.INFO: Date 2025-04-10
[2025-04-12 08:43:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:43:03] Production.INFO: Date 2025-04-11
[2025-04-12 08:43:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890412') end
[2025-04-12 08:43:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 08:43:03] Production.INFO: 1
[2025-04-12 08:43:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 08:43:03] Production.ERROR: done
[2025-04-12 08:43:03] Production.INFO: ==8641== Releasing lock...
[2025-04-12 08:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 08:43:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 08:43:03] Production.INFO: Date 2025-04-12
[2025-04-12 08:43:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:43:03] Production.INFO: Total Charge 0
[2025-04-12 08:43:03] Production.INFO: CreateAllLog End
[2025-04-12 08:43:04] Production.INFO: Account Balance End.
[2025-04-12 08:43:04] Production.ERROR: CronJobId end 12
[2025-04-12 08:43:04] Production.INFO: ==8637== Releasing lock...
[2025-04-12 08:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 08:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 08:43:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 05:43:04
[end_date_ymd] => 2025-04-12 08:43:04
[RateCDR] => 1
)
[2025-04-12 08:43:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 05:43:04' and `end` < '2025-04-12 08:43:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 08:43:12] Production.ERROR: CronJobId end10
[2025-04-12 08:43:12] Production.INFO: ==8635== Releasing lock...
[2025-04-12 08:43:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 08:43:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 08:43:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 08:43:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 08:43:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 08:43:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 08:43:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 08:43:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 08:43:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 08:43:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 08:43:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 08:43:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 08:43:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 08:43:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 08:43:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 08:43:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 08:43:15] Production.INFO: call_cost start
[2025-04-12 08:43:15] Production.INFO: call_cost end
[2025-04-12 08:43:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 08:43:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 08:43:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 08:43:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 08:43:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 08:43:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 08:43:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 08:43:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 08:43:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 08:43:16] Production.INFO: ==8631== Releasing lock...
[2025-04-12 08:43:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 08:43:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 08:43:17] Production.INFO: count ==176
[2025-04-12 08:43:17] Production.ERROR: pbx CDR StartTime 2025-04-12 05:43:04 - End Time 2025-04-12 08:43:04
[2025-04-12 08:43:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 08:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890413', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890413', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890413', 'tblTempVendorCDR_20' ) start
[2025-04-12 08:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890413', 'tblTempVendorCDR_20' ) end
[2025-04-12 08:43:17] Production.INFO: ProcessCDR(1,14890413,1,1,2)
[2025-04-12 08:43:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890413,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:43:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890413,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:43:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890413,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:43:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890413,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890413', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890413', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:43:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 08:43:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 08:43:21] Production.INFO: ==8639== Releasing lock...
[2025-04-12 08:43:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 08:43:21] Production.INFO: 29.5 MB #Memory Used#
[2025-04-12 13:44:02] Production.INFO: ==8699== Lock acquired, processing the job...
[2025-04-12 13:44:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 13:44:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 13:44:02] Production.INFO: neon service started
[2025-04-12 13:44:02] Production.INFO: neon service started
[2025-04-12 13:44:02] Production.INFO: ==8699== Releasing lock...
[2025-04-12 13:44:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 13:44:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 12:44:02] Production.INFO: ==8703== Lock acquired, processing the job...
[2025-04-12 12:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 12:44:02] Production.INFO: ==8703== Releasing lock...
[2025-04-12 12:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 12:44:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 08:44:02] Production.INFO: ==8701== Lock acquired, processing the job...
[2025-04-12 08:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 08:44:02] Production.INFO: ==8701== Releasing lock...
[2025-04-12 08:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 08:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 08:44:03] Production.INFO: ==8708== Lock acquired, processing the job...
[2025-04-12 08:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 08:44:03] Production.INFO: ==8712== Lock acquired, processing the job...
[2025-04-12 08:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 08:44:03] Production.INFO: ==8714== Lock acquired, processing the job...
[2025-04-12 08:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 08:44:03] Production.INFO: Account Balance Start.
[2025-04-12 08:44:03] Production.INFO: CreateAllLog Start
[2025-04-12 08:44:03] Production.INFO: 117
[2025-04-12 08:44:03] Production.INFO: Date 2025-04-08
[2025-04-12 08:44:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:44:03] Production.INFO: Date 2025-04-09
[2025-04-12 08:44:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 08:44:03] Production.INFO: Date 2025-04-10
[2025-04-12 08:44:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:44:03] Production.INFO: Date 2025-04-11
[2025-04-12 08:44:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:44:03] Production.INFO: Date 2025-04-12
[2025-04-12 08:44:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:44:03] Production.INFO: Total Charge 0
[2025-04-12 08:44:03] Production.INFO: CreateAllLog End
[2025-04-12 08:44:03] Production.INFO: ==8706== Lock acquired, processing the job...
[2025-04-12 08:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 08:44:03] Production.INFO: ==8710== Lock acquired, processing the job...
[2025-04-12 08:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 08:44:04] Production.INFO: ==8716== Lock acquired, processing the job...
[2025-04-12 08:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 08:44:04] Production.ERROR: done
[2025-04-12 08:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 08:44:04] Production.INFO: ==8708== Releasing lock...
[2025-04-12 08:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 08:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 08:44:04] Production.INFO: Account Balance End.
[2025-04-12 08:44:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 08:44:04] Production.ERROR: done
[2025-04-12 08:44:04] Production.ERROR: CronJobId end 12
[2025-04-12 08:44:04] Production.INFO: ==8712== Releasing lock...
[2025-04-12 08:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 08:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 08:44:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 08:44:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 08:44:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 08:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 08:44:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 08:44:04] Production.INFO: count ==12
[2025-04-12 08:44:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 08:44:04] Production.INFO: count ==23
[2025-04-12 08:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890417') start
[2025-04-12 08:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890417') end
[2025-04-12 08:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 08:44:04] Production.INFO: 1
[2025-04-12 08:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 08:44:04] Production.INFO: ==8716== Releasing lock...
[2025-04-12 08:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 08:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 08:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 05:44:05
[end_date_ymd] => 2025-04-12 08:44:05
[RateCDR] => 1
)
[2025-04-12 08:44:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 05:44:05' and `end` < '2025-04-12 08:44:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 08:44:12] Production.ERROR: CronJobId end10
[2025-04-12 08:44:12] Production.INFO: ==8710== Releasing lock...
[2025-04-12 08:44:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 08:44:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 08:44:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 08:44:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 08:44:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 08:44:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 08:44:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 08:44:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 08:44:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 08:44:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 08:44:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 08:44:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 08:44:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 08:44:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 08:44:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 08:44:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 08:44:15] Production.INFO: call_cost start
[2025-04-12 08:44:15] Production.INFO: call_cost end
[2025-04-12 08:44:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 08:44:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 08:44:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 08:44:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 08:44:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 08:44:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 08:44:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 08:44:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 08:44:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 08:44:16] Production.INFO: ==8706== Releasing lock...
[2025-04-12 08:44:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 08:44:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 08:44:18] Production.INFO: count ==178
[2025-04-12 08:44:18] Production.ERROR: pbx CDR StartTime 2025-04-12 05:44:05 - End Time 2025-04-12 08:44:05
[2025-04-12 08:44:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 08:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890418', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890418', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890418', 'tblTempVendorCDR_20' ) start
[2025-04-12 08:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890418', 'tblTempVendorCDR_20' ) end
[2025-04-12 08:44:18] Production.INFO: ProcessCDR(1,14890418,1,1,2)
[2025-04-12 08:44:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890418,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:44:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890418,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:44:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890418,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:44:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890418,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890418', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890418', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:44:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 08:44:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 08:44:21] Production.INFO: ==8714== Releasing lock...
[2025-04-12 08:44:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 08:44:21] Production.INFO: 29.25 MB #Memory Used#
[2025-04-12 13:45:01] Production.INFO: ==8769== Lock acquired, processing the job...
[2025-04-12 13:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 13:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 13:45:01] Production.INFO: neon service started
[2025-04-12 13:45:01] Production.INFO: neon service started
[2025-04-12 13:45:01] Production.INFO: ==8769== Releasing lock...
[2025-04-12 13:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 13:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 08:45:02] Production.INFO: ==8771== Lock acquired, processing the job...
[2025-04-12 08:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 12:45:02] Production.INFO: ==8773== Lock acquired, processing the job...
[2025-04-12 12:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 12:45:02] Production.INFO: ==8773== Releasing lock...
[2025-04-12 12:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 12:45:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 08:45:02] Production.INFO: ==8771== Releasing lock...
[2025-04-12 08:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 08:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 08:45:03] Production.INFO: ==8782== Lock acquired, processing the job...
[2025-04-12 08:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 08:45:03] Production.INFO: Account Balance Start.
[2025-04-12 08:45:03] Production.INFO: CreateAllLog Start
[2025-04-12 08:45:03] Production.INFO: 117
[2025-04-12 08:45:03] Production.INFO: Date 2025-04-08
[2025-04-12 08:45:03] Production.INFO: ==8786== Lock acquired, processing the job...
[2025-04-12 08:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 08:45:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:45:03] Production.INFO: ==8776== Lock acquired, processing the job...
[2025-04-12 08:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 08:45:03] Production.INFO: Date 2025-04-09
[2025-04-12 08:45:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:45:03] Production.INFO: Date 2025-04-10
[2025-04-12 08:45:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:45:03] Production.INFO: ==8778== Lock acquired, processing the job...
[2025-04-12 08:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 08:45:03] Production.INFO: Date 2025-04-11
[2025-04-12 08:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 08:45:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:45:03] Production.INFO: Date 2025-04-12
[2025-04-12 08:45:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:45:03] Production.INFO: ==8780== Lock acquired, processing the job...
[2025-04-12 08:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 08:45:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 08:45:03] Production.INFO: count ==12
[2025-04-12 08:45:03] Production.INFO: Total Charge 0
[2025-04-12 08:45:03] Production.INFO: ==8784== Lock acquired, processing the job...
[2025-04-12 08:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 08:45:03] Production.INFO: CreateAllLog End
[2025-04-12 08:45:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 08:45:03] Production.INFO: count ==23
[2025-04-12 08:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 08:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 08:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 08:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 08:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890420') start
[2025-04-12 08:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 08:45:03] Production.INFO: Account Balance End.
[2025-04-12 08:45:03] Production.ERROR: CronJobId end 12
[2025-04-12 08:45:03] Production.INFO: ==8782== Releasing lock...
[2025-04-12 08:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 08:45:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 08:45:03] Production.INFO: ==8778== Releasing lock...
[2025-04-12 08:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 08:45:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 08:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890420') end
[2025-04-12 08:45:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 08:45:03] Production.INFO: 1
[2025-04-12 08:45:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 08:45:03] Production.INFO: ==8786== Releasing lock...
[2025-04-12 08:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 08:45:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 08:45:04] Production.ERROR: done
[2025-04-12 08:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 08:45:04] Production.ERROR: done
[2025-04-12 08:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 05:45:05
[end_date_ymd] => 2025-04-12 08:45:05
[RateCDR] => 1
)
[2025-04-12 08:45:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 05:45:05' and `end` < '2025-04-12 08:45:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 08:45:11] Production.ERROR: CronJobId end10
[2025-04-12 08:45:11] Production.INFO: ==8780== Releasing lock...
[2025-04-12 08:45:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 08:45:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 08:45:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 08:45:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 08:45:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 08:45:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 08:45:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 08:45:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 08:45:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 08:45:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 08:45:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 08:45:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 08:45:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 08:45:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 08:45:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 08:45:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 08:45:14] Production.INFO: call_cost start
[2025-04-12 08:45:14] Production.INFO: call_cost end
[2025-04-12 08:45:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 08:45:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 08:45:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 08:45:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 08:45:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 08:45:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 08:45:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 08:45:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 08:45:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 08:45:15] Production.INFO: ==8776== Releasing lock...
[2025-04-12 08:45:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 08:45:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 08:45:17] Production.INFO: count ==179
[2025-04-12 08:45:17] Production.ERROR: pbx CDR StartTime 2025-04-12 05:45:05 - End Time 2025-04-12 08:45:05
[2025-04-12 08:45:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 08:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890423', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890423', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890423', 'tblTempVendorCDR_20' ) start
[2025-04-12 08:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890423', 'tblTempVendorCDR_20' ) end
[2025-04-12 08:45:17] Production.INFO: ProcessCDR(1,14890423,1,1,2)
[2025-04-12 08:45:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890423,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:45:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890423,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:45:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890423,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:45:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890423,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890423', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890423', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:45:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 08:45:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 08:45:21] Production.INFO: ==8784== Releasing lock...
[2025-04-12 08:45:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 08:45:21] Production.INFO: 29.25 MB #Memory Used#
[2025-04-12 13:46:01] Production.INFO: ==8847== Lock acquired, processing the job...
[2025-04-12 13:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 13:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 13:46:01] Production.INFO: neon service started
[2025-04-12 13:46:01] Production.INFO: neon service started
[2025-04-12 13:46:01] Production.INFO: ==8847== Releasing lock...
[2025-04-12 13:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 13:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 12:46:02] Production.INFO: ==8851== Lock acquired, processing the job...
[2025-04-12 12:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 08:46:02] Production.INFO: ==8849== Lock acquired, processing the job...
[2025-04-12 08:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 12:46:02] Production.INFO: ==8851== Releasing lock...
[2025-04-12 12:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 12:46:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 08:46:03] Production.INFO: ==8849== Releasing lock...
[2025-04-12 08:46:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 08:46:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 08:46:03] Production.INFO: ==8854== Lock acquired, processing the job...
[2025-04-12 08:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 08:46:03] Production.INFO: ==8858== Lock acquired, processing the job...
[2025-04-12 08:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 08:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 08:46:04] Production.INFO: ==8856== Lock acquired, processing the job...
[2025-04-12 08:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 08:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 08:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 08:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 08:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 08:46:04] Production.INFO: ==8864== Lock acquired, processing the job...
[2025-04-12 08:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 08:46:04] Production.INFO: ==8860== Lock acquired, processing the job...
[2025-04-12 08:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 08:46:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 08:46:04] Production.INFO: count ==12
[2025-04-12 08:46:04] Production.INFO: ==8862== Lock acquired, processing the job...
[2025-04-12 08:46:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 08:46:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 08:46:04] Production.INFO: count ==23
[2025-04-12 08:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890426') start
[2025-04-12 08:46:04] Production.INFO: Account Balance Start.
[2025-04-12 08:46:04] Production.INFO: CreateAllLog Start
[2025-04-12 08:46:04] Production.INFO: 117
[2025-04-12 08:46:04] Production.INFO: Date 2025-04-08
[2025-04-12 08:46:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:46:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 08:46:04] Production.INFO: Date 2025-04-09
[2025-04-12 08:46:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:46:04] Production.INFO: Date 2025-04-10
[2025-04-12 08:46:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:46:04] Production.INFO: Date 2025-04-11
[2025-04-12 08:46:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890426') end
[2025-04-12 08:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 08:46:04] Production.INFO: 1
[2025-04-12 08:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 08:46:04] Production.INFO: Date 2025-04-12
[2025-04-12 08:46:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:46:04] Production.INFO: ==8864== Releasing lock...
[2025-04-12 08:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 08:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 08:46:04] Production.INFO: ==8856== Releasing lock...
[2025-04-12 08:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 08:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 08:46:04] Production.INFO: Total Charge 0
[2025-04-12 08:46:04] Production.INFO: CreateAllLog End
[2025-04-12 08:46:04] Production.ERROR: done
[2025-04-12 08:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 08:46:05] Production.ERROR: done
[2025-04-12 08:46:05] Production.INFO: Account Balance End.
[2025-04-12 08:46:05] Production.ERROR: CronJobId end 12
[2025-04-12 08:46:05] Production.INFO: ==8860== Releasing lock...
[2025-04-12 08:46:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 08:46:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 08:46:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 05:46:06
[end_date_ymd] => 2025-04-12 08:46:06
[RateCDR] => 1
)
[2025-04-12 08: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-12 05:46:06' and `end` < '2025-04-12 08: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-12 08:46:12] Production.ERROR: CronJobId end10
[2025-04-12 08:46:12] Production.INFO: ==8858== Releasing lock...
[2025-04-12 08:46:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 08:46:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 08:46:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 08:46:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 08:46:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 08:46:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 08:46:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 08:46:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 08:46:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 08:46:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 08:46:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 08:46:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 08:46:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 08:46:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 08:46:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 08:46:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 08:46:15] Production.INFO: call_cost start
[2025-04-12 08:46:15] Production.INFO: call_cost end
[2025-04-12 08:46:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 08:46:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 08:46:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 08:46:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 08:46:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 08:46:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 08:46:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 08:46:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 08:46:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 08:46:16] Production.INFO: ==8854== Releasing lock...
[2025-04-12 08:46:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 08:46:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 08:46:18] Production.INFO: count ==184
[2025-04-12 08:46:18] Production.ERROR: pbx CDR StartTime 2025-04-12 05:46:06 - End Time 2025-04-12 08:46:06
[2025-04-12 08:46:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 08:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890428', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890428', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890428', 'tblTempVendorCDR_20' ) start
[2025-04-12 08:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890428', 'tblTempVendorCDR_20' ) end
[2025-04-12 08:46:18] Production.INFO: ProcessCDR(1,14890428,1,1,2)
[2025-04-12 08:46:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890428,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:46:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890428,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:46:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890428,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:46:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890428,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890428', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890428', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:46:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 08:46:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 08:46:22] Production.INFO: ==8862== Releasing lock...
[2025-04-12 08:46:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 08:46:22] Production.INFO: 29.5 MB #Memory Used#
[2025-04-12 13:47:02] Production.INFO: ==8925== Lock acquired, processing the job...
[2025-04-12 13:47:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 13:47:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 13:47:02] Production.INFO: neon service started
[2025-04-12 13:47:02] Production.INFO: neon service started
[2025-04-12 13:47:02] Production.INFO: ==8925== Releasing lock...
[2025-04-12 13:47:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 13:47:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 12:47:02] Production.INFO: ==8929== Lock acquired, processing the job...
[2025-04-12 12:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 12:47:02] Production.INFO: ==8929== Releasing lock...
[2025-04-12 12:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 12:47:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 08:47:02] Production.INFO: ==8927== Lock acquired, processing the job...
[2025-04-12 08:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 08:47:03] Production.INFO: ==8927== Releasing lock...
[2025-04-12 08:47:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 08:47:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 08:47:03] Production.INFO: ==8933== Lock acquired, processing the job...
[2025-04-12 08:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 08:47:03] Production.INFO: ==8935== Lock acquired, processing the job...
[2025-04-12 08:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 08:47:03] Production.INFO: ==8937== Lock acquired, processing the job...
[2025-04-12 08:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 08:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 08:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 08:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 08:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 08:47:04] Production.INFO: Account Balance Start.
[2025-04-12 08:47:04] Production.INFO: CreateAllLog Start
[2025-04-12 08:47:04] Production.INFO: 117
[2025-04-12 08:47:04] Production.INFO: Date 2025-04-08
[2025-04-12 08:47:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:47:04] Production.INFO: ==8933== Releasing lock...
[2025-04-12 08:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 08:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 08:47:04] Production.INFO: Date 2025-04-09
[2025-04-12 08:47:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:47:04] Production.INFO: Date 2025-04-10
[2025-04-12 08:47:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:47:04] Production.INFO: Date 2025-04-11
[2025-04-12 08:47:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:47:04] Production.INFO: ==8931== Lock acquired, processing the job...
[2025-04-12 08:47:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 08:47:04] Production.INFO: Date 2025-04-12
[2025-04-12 08:47:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:47:04] Production.INFO: Total Charge 0
[2025-04-12 08:47:04] Production.INFO: CreateAllLog End
[2025-04-12 08:47:04] Production.INFO: ==8939== Lock acquired, processing the job...
[2025-04-12 08:47:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 08:47:04] Production.INFO: ==8942== Lock acquired, processing the job...
[2025-04-12 08:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 08:47:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 08:47:04] Production.INFO: Account Balance End.
[2025-04-12 08:47:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 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-12 08:47:04] Production.INFO: count ==12
[2025-04-12 08:47:04] Production.ERROR: CronJobId end 12
[2025-04-12 08:47:04] Production.INFO: ==8937== Releasing lock...
[2025-04-12 08:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 08:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 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-12 08:47:04] Production.INFO: count ==23
[2025-04-12 08:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890432') start
[2025-04-12 08:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890432') end
[2025-04-12 08:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 08:47:04] Production.INFO: 1
[2025-04-12 08:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 08:47:04] Production.INFO: ==8942== Releasing lock...
[2025-04-12 08:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 08:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 08:47:04] Production.ERROR: done
[2025-04-12 08:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 08:47:04] Production.ERROR: done
[2025-04-12 08:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 05:47:05
[end_date_ymd] => 2025-04-12 08:47:05
[RateCDR] => 1
)
[2025-04-12 08:47:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 05:47:05' and `end` < '2025-04-12 08:47:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 08:47:11] Production.ERROR: CronJobId end10
[2025-04-12 08:47:11] Production.INFO: ==8935== Releasing lock...
[2025-04-12 08:47:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 08:47:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 08:47:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 08:47:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 08:47:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 08:47:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 08:47:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 08:47:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 08:47:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 08:47:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 08:47:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 08:47:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 08:47:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 08:47:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 08:47:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 08:47:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 08:47:14] Production.INFO: call_cost start
[2025-04-12 08:47:14] Production.INFO: call_cost end
[2025-04-12 08:47:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 08:47:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 08:47:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 08:47:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 08:47:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 08:47:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 08:47:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 08:47:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 08:47:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 08:47:15] Production.INFO: ==8931== Releasing lock...
[2025-04-12 08:47:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 08:47:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 08:47:18] Production.INFO: count ==186
[2025-04-12 08:47:18] Production.ERROR: pbx CDR StartTime 2025-04-12 05:47:05 - End Time 2025-04-12 08:47:05
[2025-04-12 08:47:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 08:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890433', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890433', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890433', 'tblTempVendorCDR_20' ) start
[2025-04-12 08:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890433', 'tblTempVendorCDR_20' ) end
[2025-04-12 08:47:18] Production.INFO: ProcessCDR(1,14890433,1,1,2)
[2025-04-12 08:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890433,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:47:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890433,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:47:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890433,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:47:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890433,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890433', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890433', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:47:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 08:47:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 08:47:22] Production.INFO: ==8939== Releasing lock...
[2025-04-12 08:47:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 08:47:22] Production.INFO: 29.75 MB #Memory Used#
[2025-04-12 13:48:01] Production.INFO: ==8995== Lock acquired, processing the job...
[2025-04-12 13:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 13:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 13:48:01] Production.INFO: neon service started
[2025-04-12 13:48:01] Production.INFO: neon service started
[2025-04-12 13:48:01] Production.INFO: ==8995== Releasing lock...
[2025-04-12 13:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 13:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 08:48:02] Production.INFO: ==8997== Lock acquired, processing the job...
[2025-04-12 08:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 08:48:02] Production.INFO: ==8997== Releasing lock...
[2025-04-12 08:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 08:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 12:48:02] Production.INFO: ==8999== Lock acquired, processing the job...
[2025-04-12 12:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 12:48:02] Production.INFO: ==8999== Releasing lock...
[2025-04-12 12:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 12:48:02] Production.INFO: 26 MB #Memory Used#
[2025-04-12 08:48:03] Production.INFO: ==9008== Lock acquired, processing the job...
[2025-04-12 08:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 08:48:03] Production.INFO: ==9006== Lock acquired, processing the job...
[2025-04-12 08:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 08:48:03] Production.INFO: ==9010== Lock acquired, processing the job...
[2025-04-12 08:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 08:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 08:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 08:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 08:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 08:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 08:48:03] Production.INFO: Account Balance Start.
[2025-04-12 08:48:03] Production.INFO: CreateAllLog Start
[2025-04-12 08:48:03] Production.INFO: 117
[2025-04-12 08:48:03] Production.INFO: Date 2025-04-08
[2025-04-12 08:48:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:48:03] Production.INFO: ==9004== Lock acquired, processing the job...
[2025-04-12 08:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 08:48:03] Production.INFO: ==9012== Lock acquired, processing the job...
[2025-04-12 08:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 08:48:03] Production.INFO: ==9002== Lock acquired, processing the job...
[2025-04-12 08:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 08:48:03] Production.INFO: Date 2025-04-09
[2025-04-12 08:48:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:48:03] Production.ERROR: done
[2025-04-12 08:48:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 08:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 08:48:03] Production.INFO: Date 2025-04-10
[2025-04-12 08:48:03] Production.INFO: Reseller ==> 0
[2025-04-12 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-12 08:48:03] Production.INFO: count ==12
[2025-04-12 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-12 08:48:03] Production.INFO: count ==23
[2025-04-12 08:48:03] Production.INFO: Date 2025-04-11
[2025-04-12 08:48:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890436') start
[2025-04-12 08:48:04] Production.INFO: Date 2025-04-12
[2025-04-12 08:48:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:48:04] Production.ERROR: done
[2025-04-12 08:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890436') end
[2025-04-12 08:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 08:48:04] Production.INFO: 1
[2025-04-12 08:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 08:48:04] Production.INFO: Total Charge 0
[2025-04-12 08:48:04] Production.INFO: CreateAllLog End
[2025-04-12 08:48:04] Production.INFO: ==9012== Releasing lock...
[2025-04-12 08:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 08:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 08:48:04] Production.INFO: ==9004== Releasing lock...
[2025-04-12 08:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 08:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 08:48:04] Production.INFO: Account Balance End.
[2025-04-12 08:48:04] Production.ERROR: CronJobId end 12
[2025-04-12 08:48:04] Production.INFO: ==9008== Releasing lock...
[2025-04-12 08:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 08:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 08:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 05:48:05
[end_date_ymd] => 2025-04-12 08:48:05
[RateCDR] => 1
)
[2025-04-12 08:48:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 05:48:05' and `end` < '2025-04-12 08:48:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 08:48:11] Production.ERROR: CronJobId end10
[2025-04-12 08:48:11] Production.INFO: ==9006== Releasing lock...
[2025-04-12 08:48:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 08:48:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 08:48:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 08:48:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 08:48:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 08:48:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 08:48:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 08:48:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 08:48:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 08:48:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 08:48:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 08:48:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 08:48:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 08:48:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 08:48:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 08:48:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 08:48:14] Production.INFO: call_cost start
[2025-04-12 08:48:14] Production.INFO: call_cost end
[2025-04-12 08:48:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 08:48:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 08:48:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 08:48:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 08:48:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 08:48:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 08:48:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 08:48:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 08:48:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 08:48:15] Production.INFO: ==9002== Releasing lock...
[2025-04-12 08:48:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 08:48:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 08:48:18] Production.INFO: count ==186
[2025-04-12 08:48:18] Production.ERROR: pbx CDR StartTime 2025-04-12 05:48:05 - End Time 2025-04-12 08:48:05
[2025-04-12 08:48:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 08:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890438', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890438', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890438', 'tblTempVendorCDR_20' ) start
[2025-04-12 08:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890438', 'tblTempVendorCDR_20' ) end
[2025-04-12 08:48:18] Production.INFO: ProcessCDR(1,14890438,1,1,2)
[2025-04-12 08:48:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890438,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:48:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890438,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:48:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890438,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:48:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890438,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890438', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890438', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:48:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 08:48:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 08:48:21] Production.INFO: ==9010== Releasing lock...
[2025-04-12 08:48:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 08:48:21] Production.INFO: 29.75 MB #Memory Used#
[2025-04-12 13:49:02] Production.INFO: ==9066== Lock acquired, processing the job...
[2025-04-12 13:49:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 13:49:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 13:49:02] Production.INFO: neon service started
[2025-04-12 13:49:02] Production.INFO: neon service started
[2025-04-12 13:49:02] Production.INFO: ==9066== Releasing lock...
[2025-04-12 13:49:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 13:49:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 08:49:03] Production.INFO: ==9069== Lock acquired, processing the job...
[2025-04-12 08:49:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 12:49:03] Production.INFO: ==9071== Lock acquired, processing the job...
[2025-04-12 12:49:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 12:49:03] Production.INFO: ==9071== Releasing lock...
[2025-04-12 12:49:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 12:49:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 08:49:03] Production.INFO: ==9069== Releasing lock...
[2025-04-12 08:49:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 08:49:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 08:49:04] Production.INFO: ==9074== Lock acquired, processing the job...
[2025-04-12 08:49:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 08:49:04] Production.INFO: ==9078== Lock acquired, processing the job...
[2025-04-12 08:49:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 08:49:04] Production.INFO: ==9080== Lock acquired, processing the job...
[2025-04-12 08:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 08:49:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 08:49:04] Production.INFO: ==9082== Lock acquired, processing the job...
[2025-04-12 08:49:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 08:49:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 08:49:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 08:49:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 08:49:04] Production.INFO: ==9076== Lock acquired, processing the job...
[2025-04-12 08:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 08:49:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 08:49:04] Production.INFO: Account Balance Start.
[2025-04-12 08:49:04] Production.INFO: CreateAllLog Start
[2025-04-12 08:49:04] Production.INFO: 117
[2025-04-12 08:49:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 08:49:04] Production.INFO: Date 2025-04-08
[2025-04-12 08:49:05] Production.INFO: Reseller ==> 0
[2025-04-12 08:49:05] Production.INFO: ==9084== Lock acquired, processing the job...
[2025-04-12 08:49:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 08:49:05] Production.INFO: Date 2025-04-09
[2025-04-12 08:49:05] Production.INFO: Reseller ==> 0
[2025-04-12 08:49:05] Production.INFO: Date 2025-04-10
[2025-04-12 08:49:05] Production.INFO: Reseller ==> 0
[2025-04-12 08:49:05] Production.ERROR: done
[2025-04-12 08:49:05] Production.INFO: Date 2025-04-11
[2025-04-12 08:49:05] Production.INFO: Reseller ==> 0
[2025-04-12 08:49:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 08:49: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-12 08:49:05] Production.INFO: Date 2025-04-12
[2025-04-12 08:49:05] Production.INFO: Reseller ==> 0
[2025-04-12 08:49:05] Production.INFO: count ==12
[2025-04-12 08:49:05] Production.INFO: Total Charge 0
[2025-04-12 08:49:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 08:49:05] Production.INFO: CreateAllLog End
[2025-04-12 08:49:05] Production.INFO: count ==23
[2025-04-12 08:49:05] Production.ERROR: done
[2025-04-12 08:49:05] Production.ERROR: PBX CALL prc_importPBXExtension('14890442') start
[2025-04-12 08:49:05] Production.INFO: ==9076== Releasing lock...
[2025-04-12 08:49:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 08:49:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 08:49:05] Production.ERROR: PBX CALL prc_importPBXExtension('14890442') end
[2025-04-12 08:49:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 08:49:05] Production.INFO: 1
[2025-04-12 08:49:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 08:49:05] Production.INFO: Account Balance End.
[2025-04-12 08:49:05] Production.INFO: ==9084== Releasing lock...
[2025-04-12 08:49:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 08:49:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 08:49:05] Production.ERROR: CronJobId end 12
[2025-04-12 08:49:05] Production.INFO: ==9080== Releasing lock...
[2025-04-12 08:49:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 08:49:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 08:49:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 05:49:06
[end_date_ymd] => 2025-04-12 08:49:06
[RateCDR] => 1
)
[2025-04-12 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-12 05:49:06' and `end` < '2025-04-12 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-12 08:49:13] Production.ERROR: CronJobId end10
[2025-04-12 08:49:13] Production.INFO: ==9078== Releasing lock...
[2025-04-12 08:49:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 08:49:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 08:49:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 08:49:16] Production.INFO: ============== Balance Warning START===========
[2025-04-12 08:49:16] Production.INFO: ============== Balance Warning END===========
[2025-04-12 08:49:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 08:49:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 08:49:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 08:49:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 08:49:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 08:49:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 08:49:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 08:49:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 08:49:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 08:49:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 08:49:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 08:49:16] Production.INFO: call_cost start
[2025-04-12 08:49:16] Production.INFO: call_cost end
[2025-04-12 08:49:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 08:49:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 08:49:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 08:49:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 08:49:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 08:49:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 08:49:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 08:49:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 08:49:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 08:49:17] Production.INFO: ==9074== Releasing lock...
[2025-04-12 08:49:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 08:49:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 08:49:19] Production.INFO: count ==184
[2025-04-12 08:49:19] Production.ERROR: pbx CDR StartTime 2025-04-12 05:49:06 - End Time 2025-04-12 08:49:06
[2025-04-12 08:49:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 08:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890443', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890443', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890443', 'tblTempVendorCDR_20' ) start
[2025-04-12 08:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890443', 'tblTempVendorCDR_20' ) end
[2025-04-12 08:49:19] Production.INFO: ProcessCDR(1,14890443,1,1,2)
[2025-04-12 08:49:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890443,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:49:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890443,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:49:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890443,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:49:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890443,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:49:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890443', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:49:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890443', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:49:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 08:49:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 08:49:23] Production.INFO: ==9082== Releasing lock...
[2025-04-12 08:49:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 08:49:23] Production.INFO: 29.5 MB #Memory Used#
[2025-04-12 13:50:02] Production.INFO: ==9139== Lock acquired, processing the job...
[2025-04-12 13:50:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 13:50:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 13:50:02] Production.INFO: neon service started
[2025-04-12 13:50:02] Production.INFO: neon service started
[2025-04-12 13:50:02] Production.INFO: ==9139== Releasing lock...
[2025-04-12 13:50:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 13:50:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 12:50:02] Production.INFO: ==9143== Lock acquired, processing the job...
[2025-04-12 12:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 12:50:02] Production.INFO: ==9143== Releasing lock...
[2025-04-12 12:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 12:50:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 08:50:02] Production.INFO: ==9141== Lock acquired, processing the job...
[2025-04-12 08:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 08:50:03] Production.INFO: ==9141== Releasing lock...
[2025-04-12 08:50:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 08:50:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 08:50:04] Production.INFO: ==9145== Lock acquired, processing the job...
[2025-04-12 08:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 08:50:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 08:50:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 08:50:04] Production.INFO: ==9145== Releasing lock...
[2025-04-12 08:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 08:50:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 08:50:04] Production.INFO: ==9151== Lock acquired, processing the job...
[2025-04-12 08:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 08:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 08:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 08:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 08:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 08:50:04] Production.INFO: ==9153== Lock acquired, processing the job...
[2025-04-12 08:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 08:50:04] Production.INFO: ==9147== Lock acquired, processing the job...
[2025-04-12 08:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 08:50:04] Production.INFO: Account Balance Start.
[2025-04-12 08:50:04] Production.INFO: CreateAllLog Start
[2025-04-12 08:50:04] Production.INFO: 117
[2025-04-12 08:50:04] Production.INFO: ==9149== Lock acquired, processing the job...
[2025-04-12 08:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 08:50:04] Production.INFO: Date 2025-04-08
[2025-04-12 08:50:04] Production.INFO: ==9158== Lock acquired, processing the job...
[2025-04-12 08:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 08:50:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:50:04] Production.INFO: Date 2025-04-09
[2025-04-12 08:50:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 08:50:04] Production.INFO: Date 2025-04-10
[2025-04-12 08:50:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 08:50:04] Production.INFO: Date 2025-04-11
[2025-04-12 08:50:04] Production.INFO: ==9155== Lock acquired, processing the job...
[2025-04-12 08:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 08:50:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:50:04] Production.INFO: Date 2025-04-12
[2025-04-12 08:50:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:50:04] Production.INFO: Total Charge 0
[2025-04-12 08:50:04] Production.INFO: CreateAllLog End
[2025-04-12 08:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 08:50:04] Production.INFO: ==9160== Lock acquired, processing the job...
[2025-04-12 08:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 08:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 08:50:04] Production.INFO: count ==12
[2025-04-12 08:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 08:50:04] Production.INFO: count ==23
[2025-04-12 08:50:04] Production.INFO: ==9149== Releasing lock...
[2025-04-12 08:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 08:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 08:50:04] Production.INFO: Account Balance End.
[2025-04-12 08:50:04] Production.ERROR: done
[2025-04-12 08:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890447') start
[2025-04-12 08:50:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 08:50:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14890448', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 08:50:05] Production.ERROR: CronJobId end 12
[2025-04-12 08:50:05] Production.INFO: ==9153== Releasing lock...
[2025-04-12 08:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 08:50:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 08:50:05] Production.ERROR: done
[2025-04-12 08:50:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 08:50:05] Production.ERROR: PBX CALL prc_importPBXExtension('14890447') end
[2025-04-12 08:50:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 08:50:05] Production.INFO: 1
[2025-04-12 08:50:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 08:50:05] Production.INFO: ==9160== Releasing lock...
[2025-04-12 08:50:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 08:50:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 08:50:05] Production.ERROR: done
[2025-04-12 08:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 05:50:06
[end_date_ymd] => 2025-04-12 08:50:06
[RateCDR] => 1
)
[2025-04-12 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-12 05:50:06' and `end` < '2025-04-12 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-12 08:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14890448', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 08:50:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 08:50:09] Production.INFO: ProcessCDR(1,14890448,1,1,2)
[2025-04-12 08:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14890448,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14890448,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:50:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 08:50:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 08:50:09] Production.INFO: ==9158== Releasing lock...
[2025-04-12 08:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 08:50:09] Production.INFO: 26 MB #Memory Used#
[2025-04-12 08:50:15] Production.ERROR: CronJobId end10
[2025-04-12 08:50:15] Production.INFO: ==9151== Releasing lock...
[2025-04-12 08:50:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 08:50:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 08:50:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 08:50:16] Production.INFO: ============== Balance Warning START===========
[2025-04-12 08:50:16] Production.INFO: ============== Balance Warning END===========
[2025-04-12 08:50:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 08:50:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 08:50:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 08:50:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 08:50:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 08:50:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 08:50:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 08:50:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 08:50:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 08:50:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 08:50:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 08:50:16] Production.INFO: call_cost start
[2025-04-12 08:50:16] Production.INFO: call_cost end
[2025-04-12 08:50:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 08:50:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 08:50:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 08:50:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 08:50:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 08:50:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 08:50:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 08:50:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 08:50:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 08:50:17] Production.INFO: ==9147== Releasing lock...
[2025-04-12 08:50:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 08:50:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 08:50:19] Production.INFO: count ==194
[2025-04-12 08:50:19] Production.ERROR: pbx CDR StartTime 2025-04-12 05:50:06 - End Time 2025-04-12 08:50:06
[2025-04-12 08:50:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 08:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890449', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890449', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890449', 'tblTempVendorCDR_20' ) start
[2025-04-12 08:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890449', 'tblTempVendorCDR_20' ) end
[2025-04-12 08:50:19] Production.INFO: ProcessCDR(1,14890449,1,1,2)
[2025-04-12 08:50:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890449,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:50:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890449,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:50:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890449,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:50:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890449,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:50:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890449', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:50:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890449', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:50:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 08:50:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 08:50:23] Production.INFO: ==9155== Releasing lock...
[2025-04-12 08:50:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 08:50:23] Production.INFO: 29.75 MB #Memory Used#
[2025-04-12 13:51:01] Production.INFO: ==9213== Lock acquired, processing the job...
[2025-04-12 13:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 13:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 13:51:01] Production.INFO: neon service started
[2025-04-12 13:51:01] Production.INFO: neon service started
[2025-04-12 13:51:01] Production.INFO: ==9213== Releasing lock...
[2025-04-12 13:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 13:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 08:51:01] Production.INFO: ==9215== Lock acquired, processing the job...
[2025-04-12 08:51:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 08:51:02] Production.INFO: ==9215== Releasing lock...
[2025-04-12 08:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 08:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 12:51:02] Production.INFO: ==9217== Lock acquired, processing the job...
[2025-04-12 12:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 12:51:02] Production.INFO: ==9217== Releasing lock...
[2025-04-12 12:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 12:51:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 08:51:03] Production.INFO: ==9221== Lock acquired, processing the job...
[2025-04-12 08:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 08:51:03] Production.INFO: ==9227== Lock acquired, processing the job...
[2025-04-12 08:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 08:51:03] Production.INFO: ==9219== Lock acquired, processing the job...
[2025-04-12 08:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 08:51:03] Production.INFO: ==9223== Lock acquired, processing the job...
[2025-04-12 08:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 08:51:03] Production.INFO: ==9225== Lock acquired, processing the job...
[2025-04-12 08:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 08:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 08:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 08:51:03] Production.INFO: ==9229== Lock acquired, processing the job...
[2025-04-12 08:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 08:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 08:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 08:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 08:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 08:51:03] Production.INFO: Account Balance Start.
[2025-04-12 08:51:03] Production.INFO: CreateAllLog Start
[2025-04-12 08:51:03] Production.INFO: 117
[2025-04-12 08:51:03] Production.INFO: ==9221== Releasing lock...
[2025-04-12 08:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 08:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 08:51:03] Production.INFO: Date 2025-04-08
[2025-04-12 08:51:03] Production.INFO: Reseller ==> 0
[2025-04-12 08: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-12 08:51:03] Production.INFO: count ==12
[2025-04-12 08: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-12 08:51:03] Production.INFO: count ==23
[2025-04-12 08:51:03] Production.INFO: Date 2025-04-09
[2025-04-12 08:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890453') start
[2025-04-12 08:51:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:51:03] Production.INFO: Date 2025-04-10
[2025-04-12 08:51:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:51:03] Production.INFO: Date 2025-04-11
[2025-04-12 08:51:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:51:03] Production.INFO: Date 2025-04-12
[2025-04-12 08:51:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890453') end
[2025-04-12 08:51:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 08:51:03] Production.INFO: 1
[2025-04-12 08:51:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 08:51:03] Production.INFO: Total Charge 0
[2025-04-12 08:51:03] Production.ERROR: done
[2025-04-12 08:51:03] Production.INFO: CreateAllLog End
[2025-04-12 08:51:03] Production.INFO: ==9229== Releasing lock...
[2025-04-12 08:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 08:51:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 08:51:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 08:51:03] Production.ERROR: done
[2025-04-12 08:51:03] Production.INFO: Account Balance End.
[2025-04-12 08:51:04] Production.ERROR: CronJobId end 12
[2025-04-12 08:51:04] Production.INFO: ==9225== Releasing lock...
[2025-04-12 08:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 08:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 08:51:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 05:51:04
[end_date_ymd] => 2025-04-12 08:51:04
[RateCDR] => 1
)
[2025-04-12 08:51:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 05:51:04' and `end` < '2025-04-12 08:51:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 08:51:11] Production.ERROR: CronJobId end10
[2025-04-12 08:51:11] Production.INFO: ==9223== Releasing lock...
[2025-04-12 08:51:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 08:51:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 08:51:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 08:51:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 08:51:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 08:51:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 08:51:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 08:51:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 08:51:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 08:51:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 08:51:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 08:51:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 08:51:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 08:51:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 08:51:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 08:51:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 08:51:13] Production.INFO: call_cost start
[2025-04-12 08:51:13] Production.INFO: call_cost end
[2025-04-12 08:51:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 08:51:14] Production.INFO: ============== Report Schedule START===========
[2025-04-12 08:51:14] Production.INFO: ============== Report Schedule END===========
[2025-04-12 08:51:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 08:51:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 08:51:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 08:51:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 08:51:14] Production.INFO: ============== Deal alert START===========
[2025-04-12 08:51:14] Production.INFO: ============== Deal alert END===========
[2025-04-12 08:51:14] Production.INFO: ==9219== Releasing lock...
[2025-04-12 08:51:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 08:51:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 08:51:17] Production.INFO: count ==200
[2025-04-12 08:51:17] Production.ERROR: pbx CDR StartTime 2025-04-12 05:51:04 - End Time 2025-04-12 08:51:04
[2025-04-12 08:51:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 08:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890454', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890454', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890454', 'tblTempVendorCDR_20' ) start
[2025-04-12 08:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890454', 'tblTempVendorCDR_20' ) end
[2025-04-12 08:51:17] Production.INFO: ProcessCDR(1,14890454,1,1,2)
[2025-04-12 08:51:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890454,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:51:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890454,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:51:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890454,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:51:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890454,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890454', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890454', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:51:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 08:51:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 08:51:21] Production.INFO: ==9227== Releasing lock...
[2025-04-12 08:51:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 08:51:21] Production.INFO: 29.75 MB #Memory Used#
[2025-04-12 13:52:02] Production.INFO: ==9293== Lock acquired, processing the job...
[2025-04-12 13:52:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 13:52:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 13:52:02] Production.INFO: neon service started
[2025-04-12 13:52:02] Production.INFO: neon service started
[2025-04-12 13:52:02] Production.INFO: ==9293== Releasing lock...
[2025-04-12 13:52:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 13:52:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 08:52:02] Production.INFO: ==9296== Lock acquired, processing the job...
[2025-04-12 08:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 12:52:02] Production.INFO: ==9298== Lock acquired, processing the job...
[2025-04-12 12:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 12:52:02] Production.INFO: ==9298== Releasing lock...
[2025-04-12 12:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 12:52:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 08:52:03] Production.INFO: ==9296== Releasing lock...
[2025-04-12 08:52:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 08:52:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 08:52:03] Production.INFO: ==9308== Lock acquired, processing the job...
[2025-04-12 08:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 08:52:04] Production.INFO: ==9313== Lock acquired, processing the job...
[2025-04-12 08:52:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 08:52:04] Production.INFO: ==9300== Lock acquired, processing the job...
[2025-04-12 08:52:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 08:52:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 08:52:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 08:52:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 08:52:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 08:52:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 08:52:04] Production.INFO: ==9306== Lock acquired, processing the job...
[2025-04-12 08:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 08:52:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 08:52:04] Production.INFO: ==9311== Lock acquired, processing the job...
[2025-04-12 08:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 08:52:04] Production.INFO: ==9315== Lock acquired, processing the job...
[2025-04-12 08:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 08:52:04] Production.INFO: Account Balance Start.
[2025-04-12 08:52:04] Production.INFO: CreateAllLog Start
[2025-04-12 08:52:04] Production.INFO: 117
[2025-04-12 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-12 08:52:04] Production.ERROR: done
[2025-04-12 08:52:04] Production.INFO: count ==12
[2025-04-12 08:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 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-12 08:52:04] Production.INFO: count ==23
[2025-04-12 08:52:04] Production.INFO: Date 2025-04-08
[2025-04-12 08:52:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890456') start
[2025-04-12 08:52:04] Production.INFO: Date 2025-04-09
[2025-04-12 08:52:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:52:04] Production.INFO: Date 2025-04-10
[2025-04-12 08:52:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:52:04] Production.ERROR: done
[2025-04-12 08:52:04] Production.INFO: Date 2025-04-11
[2025-04-12 08:52:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890456') end
[2025-04-12 08:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 08:52:04] Production.INFO: 1
[2025-04-12 08:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 08:52:04] Production.INFO: Date 2025-04-12
[2025-04-12 08:52:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:52:04] Production.INFO: Total Charge 0
[2025-04-12 08:52:04] Production.INFO: ==9315== Releasing lock...
[2025-04-12 08:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 08:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 08:52:04] Production.INFO: CreateAllLog End
[2025-04-12 08:52:05] Production.INFO: ==9306== Releasing lock...
[2025-04-12 08:52:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 08:52:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 08:52:05] Production.INFO: Account Balance End.
[2025-04-12 08:52:05] Production.ERROR: CronJobId end 12
[2025-04-12 08:52:05] Production.INFO: ==9311== Releasing lock...
[2025-04-12 08:52:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 08:52:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 08:52:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 05:52:06
[end_date_ymd] => 2025-04-12 08:52:06
[RateCDR] => 1
)
[2025-04-12 08: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-12 05:52:06' and `end` < '2025-04-12 08: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-12 08:52:11] Production.ERROR: CronJobId end10
[2025-04-12 08:52:11] Production.INFO: ==9308== Releasing lock...
[2025-04-12 08:52:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 08:52:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 08:52:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 08:52:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 08:52:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 08:52:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 08:52:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 08:52:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 08:52:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 08:52:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 08:52:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 08:52:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 08:52:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 08:52:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 08:52:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 08:52:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 08:52:14] Production.INFO: call_cost start
[2025-04-12 08:52:14] Production.INFO: call_cost end
[2025-04-12 08:52:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 08:52:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 08:52:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 08:52:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 08:52:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 08:52:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 08:52:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 08:52:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 08:52:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 08:52:15] Production.INFO: ==9300== Releasing lock...
[2025-04-12 08:52:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 08:52:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 08:52:18] Production.INFO: count ==204
[2025-04-12 08:52:18] Production.ERROR: pbx CDR StartTime 2025-04-12 05:52:06 - End Time 2025-04-12 08:52:06
[2025-04-12 08:52:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 08:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890459', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890459', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890459', 'tblTempVendorCDR_20' ) start
[2025-04-12 08:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890459', 'tblTempVendorCDR_20' ) end
[2025-04-12 08:52:18] Production.INFO: ProcessCDR(1,14890459,1,1,2)
[2025-04-12 08:52:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890459,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:52:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890459,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:52:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890459,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:52:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890459,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890459', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890459', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:52:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 08:52:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 08:52:22] Production.INFO: ==9313== Releasing lock...
[2025-04-12 08:52:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 08:52:22] Production.INFO: 29.5 MB #Memory Used#
[2025-04-12 13:53:01] Production.INFO: ==9372== Lock acquired, processing the job...
[2025-04-12 13:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 13:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 13:53:01] Production.INFO: neon service started
[2025-04-12 13:53:01] Production.INFO: neon service started
[2025-04-12 13:53:01] Production.INFO: ==9372== Releasing lock...
[2025-04-12 13:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 13:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 12:53:01] Production.INFO: ==9376== Lock acquired, processing the job...
[2025-04-12 12:53:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 12:53:01] Production.INFO: ==9376== Releasing lock...
[2025-04-12 12:53:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 12:53:01] Production.INFO: 25 MB #Memory Used#
[2025-04-12 08:53:02] Production.INFO: ==9374== Lock acquired, processing the job...
[2025-04-12 08:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 08:53:02] Production.INFO: ==9374== Releasing lock...
[2025-04-12 08:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 08:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 08:53:03] Production.INFO: ==9384== Lock acquired, processing the job...
[2025-04-12 08:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 08:53:03] Production.INFO: ==9389== Lock acquired, processing the job...
[2025-04-12 08:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 08:53:03] Production.INFO: Account Balance Start.
[2025-04-12 08:53:03] Production.INFO: CreateAllLog Start
[2025-04-12 08:53:03] Production.INFO: 117
[2025-04-12 08:53:03] Production.INFO: Date 2025-04-08
[2025-04-12 08:53:03] Production.INFO: ==9378== Lock acquired, processing the job...
[2025-04-12 08:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 08:53:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:53:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 08:53:03] Production.INFO: Date 2025-04-09
[2025-04-12 08:53:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:53:03] Production.INFO: ==9380== Lock acquired, processing the job...
[2025-04-12 08:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 08:53:03] Production.INFO: count ==12
[2025-04-12 08:53:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 08:53:03] Production.INFO: Date 2025-04-10
[2025-04-12 08:53:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:53:03] Production.INFO: count ==23
[2025-04-12 08:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890461') start
[2025-04-12 08:53:03] Production.INFO: ==9382== Lock acquired, processing the job...
[2025-04-12 08:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 08:53:03] Production.INFO: Date 2025-04-11
[2025-04-12 08:53:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 08:53:03] Production.INFO: ==9386== Lock acquired, processing the job...
[2025-04-12 08:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 08:53:03] Production.INFO: Date 2025-04-12
[2025-04-12 08:53:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 08:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 08:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 08:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 08:53:03] Production.INFO: Total Charge 0
[2025-04-12 08:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890461') end
[2025-04-12 08:53:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 08:53:03] Production.INFO: 1
[2025-04-12 08:53:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 08:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 08:53:03] Production.INFO: CreateAllLog End
[2025-04-12 08:53:03] Production.INFO: ==9389== Releasing lock...
[2025-04-12 08:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 08:53:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 08:53:03] Production.INFO: ==9380== Releasing lock...
[2025-04-12 08:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 08:53:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 08:53:03] Production.INFO: Account Balance End.
[2025-04-12 08:53:04] Production.ERROR: CronJobId end 12
[2025-04-12 08:53:04] Production.INFO: ==9384== Releasing lock...
[2025-04-12 08:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 08:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 08:53:04] Production.ERROR: done
[2025-04-12 08:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 08:53:04] Production.ERROR: done
[2025-04-12 08:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 05:53:05
[end_date_ymd] => 2025-04-12 08:53:05
[RateCDR] => 1
)
[2025-04-12 08:53:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 05:53:05' and `end` < '2025-04-12 08:53:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 08:53:10] Production.ERROR: CronJobId end10
[2025-04-12 08:53:10] Production.INFO: ==9382== Releasing lock...
[2025-04-12 08:53:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 08:53:10] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 08:53:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 08:53:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 08:53:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 08:53:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 08:53:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 08:53:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 08:53:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 08:53:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 08:53:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 08:53:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 08:53:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 08:53:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 08:53:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 08:53:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 08:53:13] Production.INFO: call_cost start
[2025-04-12 08:53:13] Production.INFO: call_cost end
[2025-04-12 08:53:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 08:53:14] Production.INFO: ============== Report Schedule START===========
[2025-04-12 08:53:14] Production.INFO: ============== Report Schedule END===========
[2025-04-12 08:53:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 08:53:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 08:53:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 08:53:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 08:53:14] Production.INFO: ============== Deal alert START===========
[2025-04-12 08:53:14] Production.INFO: ============== Deal alert END===========
[2025-04-12 08:53:14] Production.INFO: ==9378== Releasing lock...
[2025-04-12 08:53:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 08:53:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 08:53:18] Production.INFO: count ==204
[2025-04-12 08:53:18] Production.ERROR: pbx CDR StartTime 2025-04-12 05:53:05 - End Time 2025-04-12 08:53:05
[2025-04-12 08:53:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 08:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890464', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890464', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890464', 'tblTempVendorCDR_20' ) start
[2025-04-12 08:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890464', 'tblTempVendorCDR_20' ) end
[2025-04-12 08:53:18] Production.INFO: ProcessCDR(1,14890464,1,1,2)
[2025-04-12 08:53:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890464,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:53:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890464,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:53:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890464,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:53:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890464,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890464', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890464', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:53:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 08:53:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 08:53:21] Production.INFO: ==9386== Releasing lock...
[2025-04-12 08:53:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 08:53:21] Production.INFO: 29.5 MB #Memory Used#
[2025-04-12 13:54:01] Production.INFO: ==9481== Lock acquired, processing the job...
[2025-04-12 13:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 13:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 13:54:01] Production.INFO: neon service started
[2025-04-12 13:54:01] Production.INFO: neon service started
[2025-04-12 13:54:01] Production.INFO: ==9481== Releasing lock...
[2025-04-12 13:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 13:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 08:54:02] Production.INFO: ==9483== Lock acquired, processing the job...
[2025-04-12 08:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 12:54:02] Production.INFO: ==9485== Lock acquired, processing the job...
[2025-04-12 12:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 12:54:02] Production.INFO: ==9485== Releasing lock...
[2025-04-12 12:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 12:54:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 08:54:02] Production.INFO: ==9483== Releasing lock...
[2025-04-12 08:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 08:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 08:54:03] Production.INFO: ==9494== Lock acquired, processing the job...
[2025-04-12 08:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 08:54:03] Production.INFO: ==9492== Lock acquired, processing the job...
[2025-04-12 08:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 08:54:03] Production.INFO: Account Balance Start.
[2025-04-12 08:54:03] Production.INFO: CreateAllLog Start
[2025-04-12 08:54:03] Production.INFO: 117
[2025-04-12 08:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 08:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 08:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 08:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 08:54:03] Production.INFO: Date 2025-04-08
[2025-04-12 08:54:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:54:03] Production.INFO: Date 2025-04-09
[2025-04-12 08:54:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:54:03] Production.INFO: Date 2025-04-10
[2025-04-12 08:54:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:54:03] Production.INFO: Date 2025-04-11
[2025-04-12 08:54:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:54:03] Production.INFO: Date 2025-04-12
[2025-04-12 08:54:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:54:03] Production.INFO: ==9488== Lock acquired, processing the job...
[2025-04-12 08:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 08:54:03] Production.INFO: Total Charge 0
[2025-04-12 08:54:03] Production.INFO: CreateAllLog End
[2025-04-12 08:54:03] Production.INFO: ==9490== Lock acquired, processing the job...
[2025-04-12 08:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 08:54:04] Production.INFO: ==9496== Lock acquired, processing the job...
[2025-04-12 08:54:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 08:54:04] Production.INFO: ==9498== Lock acquired, processing the job...
[2025-04-12 08:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 08:54:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 08:54:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 08:54:04] Production.INFO: Account Balance End.
[2025-04-12 08:54:04] Production.ERROR: CronJobId end 12
[2025-04-12 08:54:04] Production.INFO: ==9494== Releasing lock...
[2025-04-12 08:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 08:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 08:54:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 08:54:04] Production.INFO: count ==12
[2025-04-12 08:54:04] Production.INFO: ==9490== Releasing lock...
[2025-04-12 08:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 08:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 08:54:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 08:54:04] Production.INFO: count ==23
[2025-04-12 08:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890468') start
[2025-04-12 08:54:04] Production.ERROR: done
[2025-04-12 08:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 08:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890468') end
[2025-04-12 08:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 08:54:04] Production.INFO: 1
[2025-04-12 08:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 08:54:04] Production.ERROR: done
[2025-04-12 08:54:04] Production.INFO: ==9498== Releasing lock...
[2025-04-12 08:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 08:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 08:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 05:54:05
[end_date_ymd] => 2025-04-12 08:54:05
[RateCDR] => 1
)
[2025-04-12 08:54:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 05:54:05' and `end` < '2025-04-12 08:54:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 08:54:11] Production.ERROR: CronJobId end10
[2025-04-12 08:54:11] Production.INFO: ==9492== Releasing lock...
[2025-04-12 08:54:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 08:54:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 08:54:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 08:54:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 08:54:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 08:54:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 08:54:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 08:54:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 08:54:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 08:54:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 08:54:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 08:54:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 08:54:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 08:54:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 08:54:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 08:54:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 08:54:14] Production.INFO: call_cost start
[2025-04-12 08:54:14] Production.INFO: call_cost end
[2025-04-12 08:54:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 08:54:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 08:54:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 08:54:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 08:54:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 08:54:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 08:54:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 08:54:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 08:54:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 08:54:15] Production.INFO: ==9488== Releasing lock...
[2025-04-12 08:54:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 08:54:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 08:54:18] Production.INFO: count ==209
[2025-04-12 08:54:18] Production.ERROR: pbx CDR StartTime 2025-04-12 05:54:05 - End Time 2025-04-12 08:54:05
[2025-04-12 08:54:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 08:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890469', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890469', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890469', 'tblTempVendorCDR_20' ) start
[2025-04-12 08:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890469', 'tblTempVendorCDR_20' ) end
[2025-04-12 08:54:18] Production.INFO: ProcessCDR(1,14890469,1,1,2)
[2025-04-12 08:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890469,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:54:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890469,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:54:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890469,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:54:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890469,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890469', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890469', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:54:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 08:54:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 08:54:22] Production.INFO: ==9496== Releasing lock...
[2025-04-12 08:54:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 08:54:22] Production.INFO: 30 MB #Memory Used#
[2025-04-12 13:55:02] Production.INFO: ==9551== Lock acquired, processing the job...
[2025-04-12 13:55:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 13:55:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 13:55:02] Production.INFO: neon service started
[2025-04-12 13:55:02] Production.INFO: neon service started
[2025-04-12 13:55:02] Production.INFO: ==9551== Releasing lock...
[2025-04-12 13:55:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 13:55:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 08:55:02] Production.INFO: ==9553== Lock acquired, processing the job...
[2025-04-12 08:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 08:55:03] Production.INFO: ==9553== Releasing lock...
[2025-04-12 08:55:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 08:55:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 12:55:03] Production.INFO: ==9555== Lock acquired, processing the job...
[2025-04-12 12:55:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 12:55:03] Production.INFO: ==9555== Releasing lock...
[2025-04-12 12:55:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 12:55:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 08:55:04] Production.INFO: ==9566== Lock acquired, processing the job...
[2025-04-12 08:55:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 08:55:04] Production.INFO: ==9558== Lock acquired, processing the job...
[2025-04-12 08:55:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 08:55:04] Production.INFO: ==9560== Lock acquired, processing the job...
[2025-04-12 08:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 08:55:04] Production.INFO: ==9562== Lock acquired, processing the job...
[2025-04-12 08:55:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 08:55:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 08:55:04] Production.INFO: ==9568== Lock acquired, processing the job...
[2025-04-12 08:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 08:55:04] Production.INFO: ==9564== Lock acquired, processing the job...
[2025-04-12 08:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 08:55:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 08:55:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 08:55:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 08:55:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 08:55:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 08:55:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 08:55:04] Production.INFO: count ==12
[2025-04-12 08:55:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 08:55:04] Production.INFO: Account Balance Start.
[2025-04-12 08:55:04] Production.INFO: CreateAllLog Start
[2025-04-12 08:55:04] Production.INFO: 117
[2025-04-12 08:55:04] Production.INFO: Date 2025-04-08
[2025-04-12 08:55:04] Production.INFO: count ==23
[2025-04-12 08:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890471') start
[2025-04-12 08:55:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:55:04] Production.INFO: Date 2025-04-09
[2025-04-12 08:55:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:55:04] Production.INFO: Date 2025-04-10
[2025-04-12 08:55:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:55:04] Production.ERROR: done
[2025-04-12 08:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 08:55:04] Production.INFO: Date 2025-04-11
[2025-04-12 08:55:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:55:04] Production.INFO: ==9560== Releasing lock...
[2025-04-12 08:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 08:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 08:55:04] Production.INFO: Date 2025-04-12
[2025-04-12 08:55:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890471') end
[2025-04-12 08:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 08:55:04] Production.INFO: 1
[2025-04-12 08:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 08:55:04] Production.INFO: Total Charge 0
[2025-04-12 08:55:04] Production.INFO: CreateAllLog End
[2025-04-12 08:55:04] Production.INFO: ==9568== Releasing lock...
[2025-04-12 08:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 08:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 08:55:04] Production.ERROR: done
[2025-04-12 08:55:05] Production.INFO: Account Balance End.
[2025-04-12 08:55:05] Production.ERROR: CronJobId end 12
[2025-04-12 08:55:05] Production.INFO: ==9564== Releasing lock...
[2025-04-12 08:55:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 08:55:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 08:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 05:55:05
[end_date_ymd] => 2025-04-12 08:55:05
[RateCDR] => 1
)
[2025-04-12 08:55:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 05:55:05' and `end` < '2025-04-12 08:55:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 08:55:12] Production.ERROR: CronJobId end10
[2025-04-12 08:55:12] Production.INFO: ==9562== Releasing lock...
[2025-04-12 08:55:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 08:55:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 08:55:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 08:55:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 08:55:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 08:55:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 08:55:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 08:55:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 08:55:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 08:55:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 08:55:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 08:55:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 08:55:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 08:55:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 08:55:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 08:55:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 08:55:15] Production.INFO: call_cost start
[2025-04-12 08:55:15] Production.INFO: call_cost end
[2025-04-12 08:55:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 08:55:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 08:55:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 08:55:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 08:55:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 08:55:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 08:55:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 08:55:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 08:55:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 08:55:16] Production.INFO: ==9558== Releasing lock...
[2025-04-12 08:55:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 08:55:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 08:55:18] Production.INFO: count ==214
[2025-04-12 08:55:18] Production.ERROR: pbx CDR StartTime 2025-04-12 05:55:05 - End Time 2025-04-12 08:55:05
[2025-04-12 08:55:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 08:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890474', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890474', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890474', 'tblTempVendorCDR_20' ) start
[2025-04-12 08:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890474', 'tblTempVendorCDR_20' ) end
[2025-04-12 08:55:18] Production.INFO: ProcessCDR(1,14890474,1,1,2)
[2025-04-12 08:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890474,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:55:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890474,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:55:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890474,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:55:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890474,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890474', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890474', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:55:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 08:55:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 08:55:22] Production.INFO: ==9566== Releasing lock...
[2025-04-12 08:55:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 08:55:22] Production.INFO: 30 MB #Memory Used#
[2025-04-12 13:56:01] Production.INFO: ==9626== Lock acquired, processing the job...
[2025-04-12 13:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 13:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 13:56:01] Production.INFO: neon service started
[2025-04-12 13:56:02] Production.INFO: neon service started
[2025-04-12 13:56:02] Production.INFO: ==9626== Releasing lock...
[2025-04-12 13:56:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 13:56:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 08:56:02] Production.INFO: ==9628== Lock acquired, processing the job...
[2025-04-12 08:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 08:56:02] Production.INFO: ==9628== Releasing lock...
[2025-04-12 08:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 08:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 12:56:02] Production.INFO: ==9630== Lock acquired, processing the job...
[2025-04-12 12:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 12:56:02] Production.INFO: ==9630== Releasing lock...
[2025-04-12 12:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 12:56:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 08:56:03] Production.INFO: ==9632== Lock acquired, processing the job...
[2025-04-12 08:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 08:56:03] Production.INFO: ==9637== Lock acquired, processing the job...
[2025-04-12 08:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 08:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 08:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 08:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 08:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 08:56:03] Production.INFO: ==9639== Lock acquired, processing the job...
[2025-04-12 08:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 08:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 08:56:03] Production.INFO: Account Balance Start.
[2025-04-12 08:56:03] Production.INFO: CreateAllLog Start
[2025-04-12 08:56:03] Production.INFO: 117
[2025-04-12 08:56:03] Production.INFO: Date 2025-04-08
[2025-04-12 08:56:03] Production.INFO: ==9634== Lock acquired, processing the job...
[2025-04-12 08:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 08:56:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:56:03] Production.INFO: Date 2025-04-09
[2025-04-12 08:56:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:56:03] Production.INFO: Date 2025-04-10
[2025-04-12 08:56:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:56:03] Production.INFO: ==9641== Lock acquired, processing the job...
[2025-04-12 08:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 08:56:03] Production.INFO: Date 2025-04-11
[2025-04-12 08:56:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 08:56:03] Production.INFO: ==9643== Lock acquired, processing the job...
[2025-04-12 08:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 08:56:04] Production.INFO: Date 2025-04-12
[2025-04-12 08:56:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:56:04] Production.INFO: Total Charge 0
[2025-04-12 08:56:04] Production.INFO: CreateAllLog End
[2025-04-12 08:56:04] Production.INFO: ==9634== Releasing lock...
[2025-04-12 08:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 08:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 08:56:04] Production.INFO: Account Balance End.
[2025-04-12 08: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-12 08:56:04] Production.ERROR: done
[2025-04-12 08:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 08:56:04] Production.ERROR: CronJobId end 12
[2025-04-12 08:56:04] Production.INFO: ==9639== Releasing lock...
[2025-04-12 08:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 08:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 08:56:04] Production.INFO: count ==12
[2025-04-12 08:56:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 08:56:04] Production.INFO: count ==23
[2025-04-12 08:56:04] Production.ERROR: done
[2025-04-12 08:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890478') start
[2025-04-12 08:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890478') end
[2025-04-12 08:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 08:56:04] Production.INFO: 1
[2025-04-12 08:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 08:56:04] Production.INFO: ==9643== Releasing lock...
[2025-04-12 08:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 08:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 08:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 05:56:05
[end_date_ymd] => 2025-04-12 08:56:05
[RateCDR] => 1
)
[2025-04-12 08:56:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 05:56:05' and `end` < '2025-04-12 08:56:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 08:56:11] Production.ERROR: CronJobId end10
[2025-04-12 08:56:11] Production.INFO: ==9637== Releasing lock...
[2025-04-12 08:56:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 08:56:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 08:56:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 08:56:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 08:56:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 08:56:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 08:56:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 08:56:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 08:56:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 08:56:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 08:56:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 08:56:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 08:56:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 08:56:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 08:56:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 08:56:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 08:56:14] Production.INFO: call_cost start
[2025-04-12 08:56:14] Production.INFO: call_cost end
[2025-04-12 08:56:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 08:56:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 08:56:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 08:56:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 08:56:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 08:56:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 08:56:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 08:56:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 08:56:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 08:56:15] Production.INFO: ==9632== Releasing lock...
[2025-04-12 08:56:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 08:56:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 08:56:18] Production.INFO: count ==214
[2025-04-12 08:56:18] Production.ERROR: pbx CDR StartTime 2025-04-12 05:56:05 - End Time 2025-04-12 08:56:05
[2025-04-12 08:56:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 08:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890479', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890479', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890479', 'tblTempVendorCDR_20' ) start
[2025-04-12 08:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890479', 'tblTempVendorCDR_20' ) end
[2025-04-12 08:56:18] Production.INFO: ProcessCDR(1,14890479,1,1,2)
[2025-04-12 08:56:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890479,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:56:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890479,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:56:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890479,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:56:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890479,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890479', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890479', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:56:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 08:56:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 08:56:21] Production.INFO: ==9641== Releasing lock...
[2025-04-12 08:56:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 08:56:21] Production.INFO: 30 MB #Memory Used#
[2025-04-12 13:57:01] Production.INFO: ==9704== Lock acquired, processing the job...
[2025-04-12 13:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 13:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 13:57:01] Production.INFO: neon service started
[2025-04-12 13:57:01] Production.INFO: neon service started
[2025-04-12 13:57:01] Production.INFO: ==9704== Releasing lock...
[2025-04-12 13:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 13:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 12:57:02] Production.INFO: ==9708== Lock acquired, processing the job...
[2025-04-12 12:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 12:57:02] Production.INFO: ==9708== Releasing lock...
[2025-04-12 12:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 12:57:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 08:57:02] Production.INFO: ==9706== Lock acquired, processing the job...
[2025-04-12 08:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 08:57:02] Production.INFO: ==9706== Releasing lock...
[2025-04-12 08:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 08:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 08:57:03] Production.INFO: ==9713== Lock acquired, processing the job...
[2025-04-12 08:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 08:57:03] Production.INFO: ==9717== Lock acquired, processing the job...
[2025-04-12 08:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 08:57:03] Production.INFO: ==9719== Lock acquired, processing the job...
[2025-04-12 08:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 08:57:03] Production.INFO: Account Balance Start.
[2025-04-12 08:57:03] Production.INFO: CreateAllLog Start
[2025-04-12 08:57:03] Production.INFO: 117
[2025-04-12 08:57:03] Production.INFO: Date 2025-04-08
[2025-04-12 08:57:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:57:03] Production.INFO: Date 2025-04-09
[2025-04-12 08:57:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 08:57:03] Production.INFO: ==9711== Lock acquired, processing the job...
[2025-04-12 08:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 08:57:03] Production.INFO: ==9715== Lock acquired, processing the job...
[2025-04-12 08:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 08:57:03] Production.INFO: Date 2025-04-10
[2025-04-12 08:57:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:57:03] Production.INFO: Date 2025-04-11
[2025-04-12 08:57:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:57:03] Production.INFO: Date 2025-04-12
[2025-04-12 08:57:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:57:03] Production.INFO: ==9721== Lock acquired, processing the job...
[2025-04-12 08:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 08:57:03] Production.INFO: Total Charge 0
[2025-04-12 08:57:03] Production.INFO: CreateAllLog End
[2025-04-12 08:57:03] Production.INFO: ==9713== Releasing lock...
[2025-04-12 08:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 08:57:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 08:57:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 08:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 08:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 08:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 08:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 08:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 08:57:03] Production.INFO: count ==12
[2025-04-12 08:57:03] Production.INFO: Account Balance End.
[2025-04-12 08:57:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 08:57:03] Production.INFO: count ==23
[2025-04-12 08:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890482') start
[2025-04-12 08:57:03] Production.ERROR: CronJobId end 12
[2025-04-12 08:57:03] Production.INFO: ==9717== Releasing lock...
[2025-04-12 08:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 08:57:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 08:57:03] Production.ERROR: done
[2025-04-12 08:57:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 08:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890482') end
[2025-04-12 08:57:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 08:57:03] Production.INFO: 1
[2025-04-12 08:57:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 08:57:03] Production.INFO: ==9721== Releasing lock...
[2025-04-12 08:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 08:57:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 08:57:04] Production.ERROR: done
[2025-04-12 08:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 05:57:05
[end_date_ymd] => 2025-04-12 08:57:05
[RateCDR] => 1
)
[2025-04-12 08:57:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 05:57:05' and `end` < '2025-04-12 08:57:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 08:57:11] Production.ERROR: CronJobId end10
[2025-04-12 08:57:11] Production.INFO: ==9715== Releasing lock...
[2025-04-12 08:57:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 08:57:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 08:57:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 08:57:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 08:57:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 08:57:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 08:57:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 08:57:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 08:57:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 08:57:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 08:57:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 08:57:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 08:57:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 08:57:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 08:57:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 08:57:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 08:57:13] Production.INFO: call_cost start
[2025-04-12 08:57:13] Production.INFO: call_cost end
[2025-04-12 08:57:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 08:57:14] Production.INFO: ============== Report Schedule START===========
[2025-04-12 08:57:14] Production.INFO: ============== Report Schedule END===========
[2025-04-12 08:57:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 08:57:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 08:57:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 08:57:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 08:57:14] Production.INFO: ============== Deal alert START===========
[2025-04-12 08:57:14] Production.INFO: ============== Deal alert END===========
[2025-04-12 08:57:14] Production.INFO: ==9711== Releasing lock...
[2025-04-12 08:57:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 08:57:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 08:57:17] Production.INFO: count ==215
[2025-04-12 08:57:17] Production.ERROR: pbx CDR StartTime 2025-04-12 05:57:05 - End Time 2025-04-12 08:57:05
[2025-04-12 08:57:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 08:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890484', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890484', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890484', 'tblTempVendorCDR_20' ) start
[2025-04-12 08:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890484', 'tblTempVendorCDR_20' ) end
[2025-04-12 08:57:17] Production.INFO: ProcessCDR(1,14890484,1,1,2)
[2025-04-12 08:57:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890484,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:57:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890484,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:57:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890484,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:57:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890484,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890484', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890484', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:57:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 08:57:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 08:57:21] Production.INFO: ==9719== Releasing lock...
[2025-04-12 08:57:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 08:57:21] Production.INFO: 30 MB #Memory Used#
[2025-04-12 13:58:01] Production.INFO: ==9788== Lock acquired, processing the job...
[2025-04-12 13:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 13:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 13:58:01] Production.INFO: neon service started
[2025-04-12 13:58:01] Production.INFO: neon service started
[2025-04-12 13:58:01] Production.INFO: ==9788== Releasing lock...
[2025-04-12 13:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 13:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 08:58:02] Production.INFO: ==9790== Lock acquired, processing the job...
[2025-04-12 08:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 08:58:02] Production.INFO: ==9790== Releasing lock...
[2025-04-12 08:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 08:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 12:58:02] Production.INFO: ==9792== Lock acquired, processing the job...
[2025-04-12 12:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 12:58:02] Production.INFO: ==9792== Releasing lock...
[2025-04-12 12:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 12:58:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 08:58:03] Production.INFO: ==9803== Lock acquired, processing the job...
[2025-04-12 08:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 08:58:03] Production.INFO: ==9801== Lock acquired, processing the job...
[2025-04-12 08:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 08:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 08:58:03] Production.INFO: Account Balance Start.
[2025-04-12 08:58:03] Production.INFO: CreateAllLog Start
[2025-04-12 08:58:03] Production.INFO: 117
[2025-04-12 08:58:03] Production.INFO: Date 2025-04-08
[2025-04-12 08:58:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:58:03] Production.INFO: ==9795== Lock acquired, processing the job...
[2025-04-12 08:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 08:58:03] Production.INFO: Date 2025-04-09
[2025-04-12 08:58:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:58:03] Production.INFO: Date 2025-04-10
[2025-04-12 08:58:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:58:03] Production.INFO: ==9797== Lock acquired, processing the job...
[2025-04-12 08:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 08:58:03] Production.INFO: Date 2025-04-11
[2025-04-12 08:58:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:58:03] Production.INFO: ==9799== Lock acquired, processing the job...
[2025-04-12 08:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 08:58:03] Production.INFO: Date 2025-04-12
[2025-04-12 08:58:03] Production.INFO: Reseller ==> 0
[2025-04-12 08:58:03] Production.INFO: ==9805== Lock acquired, processing the job...
[2025-04-12 08:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 08:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 08:58:03] Production.INFO: Total Charge 0
[2025-04-12 08:58:03] Production.INFO: CreateAllLog End
[2025-04-12 08:58:03] Production.ERROR: done
[2025-04-12 08:58:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 08:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 08:58:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 08:58:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 08:58:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 08:58:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 08:58:04] Production.INFO: count ==12
[2025-04-12 08:58:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 08:58:04] Production.INFO: count ==23
[2025-04-12 08:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890488') start
[2025-04-12 08:58:04] Production.INFO: ==9797== Releasing lock...
[2025-04-12 08:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 08:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 08:58:04] Production.ERROR: done
[2025-04-12 08:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890488') end
[2025-04-12 08:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 08:58:04] Production.INFO: 1
[2025-04-12 08:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 08:58:04] Production.INFO: Account Balance End.
[2025-04-12 08:58:04] Production.INFO: ==9805== Releasing lock...
[2025-04-12 08:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 08:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 08:58:04] Production.ERROR: CronJobId end 12
[2025-04-12 08:58:04] Production.INFO: ==9801== Releasing lock...
[2025-04-12 08:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 08:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 08:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 05:58:05
[end_date_ymd] => 2025-04-12 08:58:05
[RateCDR] => 1
)
[2025-04-12 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-12 05:58:05' and `end` < '2025-04-12 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-12 08:58:12] Production.ERROR: CronJobId end10
[2025-04-12 08:58:12] Production.INFO: ==9799== Releasing lock...
[2025-04-12 08:58:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 08:58:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 08:58:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 08:58:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 08:58:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 08:58:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 08:58:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 08:58:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 08:58:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 08:58:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 08:58:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 08:58:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 08:58:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 08:58:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 08:58:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 08:58:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 08:58:15] Production.INFO: call_cost start
[2025-04-12 08:58:15] Production.INFO: call_cost end
[2025-04-12 08:58:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 08:58:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 08:58:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 08:58:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 08:58:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 08:58:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 08:58:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 08:58:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 08:58:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 08:58:16] Production.INFO: ==9795== Releasing lock...
[2025-04-12 08:58:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 08:58:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 08:58:18] Production.INFO: count ==213
[2025-04-12 08:58:18] Production.ERROR: pbx CDR StartTime 2025-04-12 05:58:05 - End Time 2025-04-12 08:58:05
[2025-04-12 08:58:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 08:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890489', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890489', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890489', 'tblTempVendorCDR_20' ) start
[2025-04-12 08:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890489', 'tblTempVendorCDR_20' ) end
[2025-04-12 08:58:18] Production.INFO: ProcessCDR(1,14890489,1,1,2)
[2025-04-12 08:58:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890489,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:58:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890489,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:58:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890489,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:58:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890489,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890489', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890489', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:58:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 08:58:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 08:58:21] Production.INFO: ==9803== Releasing lock...
[2025-04-12 08:58:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 08:58:21] Production.INFO: 30 MB #Memory Used#
[2025-04-12 13:59:02] Production.INFO: ==9862== Lock acquired, processing the job...
[2025-04-12 13:59:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 13:59:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 13:59:02] Production.INFO: neon service started
[2025-04-12 13:59:02] Production.INFO: neon service started
[2025-04-12 13:59:02] Production.INFO: ==9862== Releasing lock...
[2025-04-12 13:59:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 13:59:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 08:59:02] Production.INFO: ==9864== Lock acquired, processing the job...
[2025-04-12 08:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 08:59:02] Production.INFO: ==9864== Releasing lock...
[2025-04-12 08:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 08:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 12:59:03] Production.INFO: ==9866== Lock acquired, processing the job...
[2025-04-12 12:59:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 12:59:03] Production.INFO: ==9866== Releasing lock...
[2025-04-12 12:59:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 12:59:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 08:59:03] Production.INFO: ==9868== Lock acquired, processing the job...
[2025-04-12 08:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 08:59:03] Production.INFO: ==9872== Lock acquired, processing the job...
[2025-04-12 08:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 08:59:03] Production.INFO: ==9870== Lock acquired, processing the job...
[2025-04-12 08:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 08:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 08:59:03] Production.INFO: ==9874== Lock acquired, processing the job...
[2025-04-12 08:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 08:59:03] Production.INFO: ==9876== Lock acquired, processing the job...
[2025-04-12 08:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 08:59:03] Production.INFO: ==9878== Lock acquired, processing the job...
[2025-04-12 08:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 08:59:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 08:59:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 08:59:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 08:59:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 08:59:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 08:59:04] Production.INFO: Account Balance Start.
[2025-04-12 08:59:04] Production.INFO: CreateAllLog Start
[2025-04-12 08:59:04] Production.INFO: 117
[2025-04-12 08:59:04] Production.INFO: Date 2025-04-08
[2025-04-12 08:59:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:59:04] Production.INFO: Date 2025-04-09
[2025-04-12 08:59:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:59:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 08:59:04] Production.INFO: Date 2025-04-10
[2025-04-12 08:59:04] Production.INFO: count ==12
[2025-04-12 08:59:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 08:59:04] Production.INFO: count ==23
[2025-04-12 08:59:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:59:04] Production.INFO: ==9870== Releasing lock...
[2025-04-12 08:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 08:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 08:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890492') start
[2025-04-12 08:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890492') end
[2025-04-12 08:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 08:59:04] Production.INFO: 1
[2025-04-12 08:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 08:59:04] Production.INFO: Date 2025-04-11
[2025-04-12 08:59:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:59:04] Production.INFO: ==9878== Releasing lock...
[2025-04-12 08:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 08:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 08:59:04] Production.INFO: Date 2025-04-12
[2025-04-12 08:59:04] Production.INFO: Reseller ==> 0
[2025-04-12 08:59:04] Production.INFO: Total Charge 0
[2025-04-12 08:59:04] Production.INFO: CreateAllLog End
[2025-04-12 08:59:04] Production.ERROR: done
[2025-04-12 08:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 08:59:04] Production.ERROR: done
[2025-04-12 08:59:05] Production.INFO: Account Balance End.
[2025-04-12 08:59:05] Production.ERROR: CronJobId end 12
[2025-04-12 08:59:05] Production.INFO: ==9874== Releasing lock...
[2025-04-12 08:59:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 08:59:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 08:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 05:59:05
[end_date_ymd] => 2025-04-12 08:59:05
[RateCDR] => 1
)
[2025-04-12 08:59:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 05:59:05' and `end` < '2025-04-12 08:59:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 08:59:12] Production.ERROR: CronJobId end10
[2025-04-12 08:59:12] Production.INFO: ==9872== Releasing lock...
[2025-04-12 08:59:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 08:59:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 08:59:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 08:59:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 08:59:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 08:59:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 08:59:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 08:59:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 08:59:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 08:59:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 08:59:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 08:59:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 08:59:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 08:59:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 08:59:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 08:59:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 08:59:14] Production.INFO: call_cost start
[2025-04-12 08:59:14] Production.INFO: call_cost end
[2025-04-12 08:59:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 08:59:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 08:59:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 08:59:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 08:59:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 08:59:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 08:59:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 08:59:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 08:59:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 08:59:15] Production.INFO: ==9868== Releasing lock...
[2025-04-12 08:59:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 08:59:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 08:59:18] Production.INFO: count ==214
[2025-04-12 08:59:18] Production.ERROR: pbx CDR StartTime 2025-04-12 05:59:05 - End Time 2025-04-12 08:59:05
[2025-04-12 08:59:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 08:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890494', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890494', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890494', 'tblTempVendorCDR_20' ) start
[2025-04-12 08:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890494', 'tblTempVendorCDR_20' ) end
[2025-04-12 08:59:18] Production.INFO: ProcessCDR(1,14890494,1,1,2)
[2025-04-12 08:59:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890494,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:59:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890494,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 08:59:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890494,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:59:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890494,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 08:59:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890494', 'tblTempUsageDetail_20' ) start
[2025-04-12 08:59:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890494', 'tblTempUsageDetail_20' ) end
[2025-04-12 08:59:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 08:59:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 08:59:23] Production.INFO: ==9876== Releasing lock...
[2025-04-12 08:59:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 08:59:23] Production.INFO: 30 MB #Memory Used#
[2025-04-12 14:00:01] Production.INFO: ==9931== Lock acquired, processing the job...
[2025-04-12 14:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 14:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 14:00:01] Production.INFO: neon service started
[2025-04-12 14:00:01] Production.INFO: neon service started
[2025-04-12 14:00:01] Production.INFO: ==9931== Releasing lock...
[2025-04-12 14:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 14:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 13:00:02] Production.INFO: ==9935== Lock acquired, processing the job...
[2025-04-12 13:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 13:00:02] Production.INFO: ==9935== Releasing lock...
[2025-04-12 13:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 13:00:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 09:00:02] Production.INFO: ==9933== Lock acquired, processing the job...
[2025-04-12 09:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 09:00:02] Production.INFO: ==9933== Releasing lock...
[2025-04-12 09:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 09:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 09:00:03] Production.INFO: ==9942== Lock acquired, processing the job...
[2025-04-12 09:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 09:00:03] Production.INFO: ==9946== Lock acquired, processing the job...
[2025-04-12 09:00:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 09:00:03] Production.INFO: Account Balance Start.
[2025-04-12 09:00:03] Production.INFO: CreateAllLog Start
[2025-04-12 09:00:03] Production.INFO: 117
[2025-04-12 09:00:03] Production.INFO: Date 2025-04-08
[2025-04-12 09:00:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:00:04] Production.INFO: Date 2025-04-09
[2025-04-12 09:00:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:00:04] Production.INFO: ==9952== Lock acquired, processing the job...
[2025-04-12 09:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 09:00:04] Production.INFO: Date 2025-04-10
[2025-04-12 09:00:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:00:04] Production.INFO: ==9940== Lock acquired, processing the job...
[2025-04-12 09:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 09:00:04] Production.INFO: ==9938== Lock acquired, processing the job...
[2025-04-12 09:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 09:00:04] Production.INFO: Date 2025-04-11
[2025-04-12 09:00:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:00:04] Production.INFO: Date 2025-04-12
[2025-04-12 09:00:04] Production.INFO: Reseller ==> 0
[2025-04-12 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-12 09:00:04] Production.INFO: count ==12
[2025-04-12 09:00:04] Production.INFO: ==9944== Lock acquired, processing the job...
[2025-04-12 09:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 09:00:04] Production.INFO: Total Charge 0
[2025-04-12 09:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 09:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 09:00:04] Production.ERROR: CronJob PID - 9940
[2025-04-12 09:00:04] Production.ERROR: CronJob Title - System Alerts
[2025-04-12 09:00:04] Production.ERROR: CronJob ID - 5
[2025-04-12 09:00:04] Production.ERROR: CronJob Last Run Time 2025-04-12 09:00:00
[2025-04-12 09:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 09:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 09:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 09:00:04] Production.ERROR: CronJob PID - 9946
[2025-04-12 09:00:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-04-12 09:00:04] Production.ERROR: CronJob ID - 12
[2025-04-12 09:00:04] Production.ERROR: CronJob Last Run Time 2025-04-12 09:00:00
[2025-04-12 09:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 09:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 09:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 09:00:04] Production.ERROR: CronJob PID - 9952
[2025-04-12 09:00:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-04-12 09:00:04] Production.ERROR: CronJob ID - 19
[2025-04-12 09:00:04] Production.ERROR: CronJob Last Run Time 2025-04-12 09:00:00
[2025-04-12 09:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 09:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 09:00:04] Production.INFO: ==9942== Releasing lock...
[2025-04-12 09:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 09:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 09:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 09:00:04] Production.INFO: count ==23
[2025-04-12 09:00:04] Production.INFO: CreateAllLog End
[2025-04-12 09:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 09:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890497') start
[2025-04-12 09:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 09:00:04] Production.INFO: ==9938== Releasing lock...
[2025-04-12 09:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 09:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 09:00:04] Production.INFO: ==9948== Lock acquired, processing the job...
[2025-04-12 09:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 09:00:04] Production.INFO: ==9950== Lock acquired, processing the job...
[2025-04-12 09:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 09:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 09:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 09:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 09:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 09:00:04] Production.INFO: Account Balance End.
[2025-04-12 09:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890497') end
[2025-04-12 09:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 09:00:04] Production.INFO: 1
[2025-04-12 09:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 09:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 09:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 09:00:04] Production.ERROR: CronJobId end 12
[2025-04-12 09:00:04] Production.INFO: ==9946== Releasing lock...
[2025-04-12 09:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 09:00:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 09:00:04] Production.INFO: ==9952== Releasing lock...
[2025-04-12 09:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 09:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 09:00:04] Production.ERROR: done
[2025-04-12 09:00:04] Production.ERROR: done
[2025-04-12 09:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 09:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 09:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14890499', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 09:00:05] Production.ERROR: done
[2025-04-12 09:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 06:00:06
[end_date_ymd] => 2025-04-12 09:00:06
[RateCDR] => 1
)
[2025-04-12 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-12 06:00:06' and `end` < '2025-04-12 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-12 09:00:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14890499', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 09:00:10] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 09:00:10] Production.INFO: ProcessCDR(1,14890499,1,1,2)
[2025-04-12 09:00:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14890499,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:00:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14890499,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:00:10] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 09:00:10] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 09:00:10] Production.INFO: ==9950== Releasing lock...
[2025-04-12 09:00:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 09:00:10] Production.INFO: 26 MB #Memory Used#
[2025-04-12 09:00:14] Production.ERROR: CronJobId end10
[2025-04-12 09:00:14] Production.INFO: ==9944== Releasing lock...
[2025-04-12 09:00:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 09:00:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 09:00:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 09:00:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 09:00:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 09:00:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 09:00:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 09:00:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 09:00:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 09:00:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 09:00:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 09:00:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 09:00:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 09:00:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 09:00:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 09:00:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 09:00:15] Production.INFO: call_cost start
[2025-04-12 09:00:15] Production.INFO: call_cost end
[2025-04-12 09:00:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 09:00:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 09:00:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 09:00:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 09:00:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 09:00:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 09:00:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 09:00:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 09:00:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 09:00:16] Production.INFO: ==9940== Releasing lock...
[2025-04-12 09:00:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 09:00:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 09:00:19] Production.INFO: count ==224
[2025-04-12 09:00:19] Production.ERROR: pbx CDR StartTime 2025-04-12 06:00:06 - End Time 2025-04-12 09:00:06
[2025-04-12 09:00:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 09:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890500', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890500', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890500', 'tblTempVendorCDR_20' ) start
[2025-04-12 09:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890500', 'tblTempVendorCDR_20' ) end
[2025-04-12 09:00:19] Production.INFO: ProcessCDR(1,14890500,1,1,2)
[2025-04-12 09:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890500,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:00:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890500,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:00:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890500,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:00:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890500,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890500', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890500', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:00:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 09:00:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 09:00:22] Production.INFO: ==9948== Releasing lock...
[2025-04-12 09:00:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 09:00:22] Production.INFO: 29.75 MB #Memory Used#
[2025-04-12 14:01:02] Production.INFO: ==10015== Lock acquired, processing the job...
[2025-04-12 14:01:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 14:01:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 14:01:02] Production.INFO: neon service started
[2025-04-12 14:01:02] Production.INFO: neon service started
[2025-04-12 14:01:02] Production.INFO: ==10015== Releasing lock...
[2025-04-12 14:01:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 14:01:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 09:01:02] Production.INFO: ==10021== Lock acquired, processing the job...
[2025-04-12 09:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 09:01:02] Production.INFO: ==10021== Releasing lock...
[2025-04-12 09:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 09:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 13:01:03] Production.INFO: ==10023== Lock acquired, processing the job...
[2025-04-12 13:01:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 13:01:03] Production.INFO: ==10023== Releasing lock...
[2025-04-12 13:01:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 13:01:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 09:01:03] Production.INFO: ==10026== Lock acquired, processing the job...
[2025-04-12 09:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 09:01:03] Production.INFO: ==10032== Lock acquired, processing the job...
[2025-04-12 09:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 09:01:03] Production.INFO: ==10036== Lock acquired, processing the job...
[2025-04-12 09:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 09:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 09:01:03] Production.INFO: Account Balance Start.
[2025-04-12 09:01:03] Production.INFO: CreateAllLog Start
[2025-04-12 09:01:03] Production.INFO: 117
[2025-04-12 09:01:03] Production.INFO: Date 2025-04-08
[2025-04-12 09:01:03] Production.INFO: Reseller ==> 0
[2025-04-12 09:01:03] Production.INFO: ==10028== Lock acquired, processing the job...
[2025-04-12 09:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 09:01:04] Production.INFO: ==10030== Lock acquired, processing the job...
[2025-04-12 09:01:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 09:01:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 09:01:04] Production.INFO: Date 2025-04-09
[2025-04-12 09:01:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:01:04] Production.INFO: count ==12
[2025-04-12 09:01:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 09:01:04] Production.INFO: count ==23
[2025-04-12 09:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890503') start
[2025-04-12 09:01:04] Production.INFO: Date 2025-04-10
[2025-04-12 09:01:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:01:04] Production.INFO: ==10034== Lock acquired, processing the job...
[2025-04-12 09:01:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 09:01:04] Production.INFO: Date 2025-04-11
[2025-04-12 09:01:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:01:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 09:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890503') end
[2025-04-12 09:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 09:01:04] Production.INFO: 1
[2025-04-12 09:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 09:01:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 09:01:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 09:01:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 09:01:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 09:01:04] Production.INFO: Date 2025-04-12
[2025-04-12 09:01:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:01:04] Production.INFO: Total Charge 0
[2025-04-12 09:01:04] Production.INFO: CreateAllLog End
[2025-04-12 09:01:04] Production.INFO: ==10036== Releasing lock...
[2025-04-12 09:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 09:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 09:01:04] Production.ERROR: done
[2025-04-12 09:01:04] Production.INFO: ==10028== Releasing lock...
[2025-04-12 09:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 09:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 09:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 09:01:04] Production.ERROR: done
[2025-04-12 09:01:04] Production.INFO: Account Balance End.
[2025-04-12 09:01:04] Production.ERROR: CronJobId end 12
[2025-04-12 09:01:04] Production.INFO: ==10032== Releasing lock...
[2025-04-12 09:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 09:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 09:01:05] Production.INFO: helper-LastRunTime===2025-04-12 09:01:00
[2025-04-12 09:01:05] Production.INFO: =diffInterval=0
[2025-04-12 09:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 06:01:05
[end_date_ymd] => 2025-04-12 09:01:05
[RateCDR] => 1
)
[2025-04-12 09:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 06:01:05' and `end` < '2025-04-12 09:01:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 09:01:06] Production.INFO: helper-LastRunTime===2025-04-12 09:01:00
[2025-04-12 09:01:06] Production.INFO: =diffInterval=0
[2025-04-12 09:01:07] Production.INFO: helper-LastRunTime===2025-04-12 09:01:00
[2025-04-12 09:01:07] Production.INFO: =diffInterval=0
[2025-04-12 09:01:09] Production.INFO: helper-LastRunTime===2025-04-12 09:01:00
[2025-04-12 09:01:09] Production.INFO: =diffInterval=0
[2025-04-12 09:01:10] Production.INFO: helper-LastRunTime===2025-04-12 09:01:00
[2025-04-12 09:01:10] Production.INFO: =diffInterval=0
[2025-04-12 09:01:10] Production.INFO: helper-LastRunTime===2025-04-12 09:01:00
[2025-04-12 09:01:10] Production.INFO: =diffInterval=0
[2025-04-12 09:01:11] Production.INFO: helper-LastRunTime===2025-04-12 09:01:00
[2025-04-12 09:01:11] Production.INFO: =diffInterval=0
[2025-04-12 09:01:12] Production.INFO: helper-LastRunTime===2025-04-12 09:01:00
[2025-04-12 09:01:12] Production.INFO: =diffInterval=0
[2025-04-12 09:01:12] Production.ERROR: CronJobId end10
[2025-04-12 09:01:12] Production.INFO: ==10030== Releasing lock...
[2025-04-12 09:01:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 09:01:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 09:01:12] Production.INFO: helper-LastRunTime===2025-04-12 09:01:00
[2025-04-12 09:01:12] Production.INFO: =diffInterval=0
[2025-04-12 09:01:13] Production.INFO: helper-LastRunTime===2025-04-12 09:01:00
[2025-04-12 09:01:13] Production.INFO: =diffInterval=0
[2025-04-12 09:01:13] Production.INFO: helper-LastRunTime===2025-04-12 09:01:00
[2025-04-12 09:01:13] Production.INFO: =diffInterval=0
[2025-04-12 09:01:14] Production.INFO: helper-LastRunTime===2025-04-12 09:01:00
[2025-04-12 09:01:14] Production.INFO: =diffInterval=0
[2025-04-12 09:01:15] Production.INFO: helper-LastRunTime===2025-04-12 09:01:00
[2025-04-12 09:01:15] Production.INFO: =diffInterval=0
[2025-04-12 09:01:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 09:01:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 09:01:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 09:01:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 09:01:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 09:01:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 09:01:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 09:01:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 09:01:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 09:01:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 09:01:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 09:01:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 09:01:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 09:01:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 09:01:15] Production.INFO: call_cost start
[2025-04-12 09:01:15] Production.INFO: call_cost end
[2025-04-12 09:01:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 09:01:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 09:01:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 09:01:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 09:01:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 09:01:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 09:01:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 09:01:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 09:01:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 09:01:16] Production.INFO: ==10026== Releasing lock...
[2025-04-12 09:01:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 09:01:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 09:01:18] Production.INFO: count ==236
[2025-04-12 09:01:18] Production.ERROR: pbx CDR StartTime 2025-04-12 06:01:05 - End Time 2025-04-12 09:01:05
[2025-04-12 09:01:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 09:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890505', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890505', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890505', 'tblTempVendorCDR_20' ) start
[2025-04-12 09:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890505', 'tblTempVendorCDR_20' ) end
[2025-04-12 09:01:18] Production.INFO: ProcessCDR(1,14890505,1,1,2)
[2025-04-12 09:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890505,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:01:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890505,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:01:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890505,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:01:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890505,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:01:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890505', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:01:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890505', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:01:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 09:01:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 09:01:23] Production.INFO: ==10034== Releasing lock...
[2025-04-12 09:01:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 09:01:23] Production.INFO: 29.75 MB #Memory Used#
[2025-04-12 14:02:01] Production.INFO: ==10089== Lock acquired, processing the job...
[2025-04-12 14:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 14:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 14:02:01] Production.INFO: neon service started
[2025-04-12 14:02:01] Production.INFO: neon service started
[2025-04-12 14:02:01] Production.INFO: ==10089== Releasing lock...
[2025-04-12 14:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 14:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 09:02:02] Production.INFO: ==10091== Lock acquired, processing the job...
[2025-04-12 09:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 13:02:02] Production.INFO: ==10093== Lock acquired, processing the job...
[2025-04-12 13:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 13:02:02] Production.INFO: ==10093== Releasing lock...
[2025-04-12 13:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 13:02:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 09:02:02] Production.INFO: ==10091== Releasing lock...
[2025-04-12 09:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 09:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 09:02:03] Production.INFO: ==10098== Lock acquired, processing the job...
[2025-04-12 09:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 09:02:03] Production.INFO: ==10100== Lock acquired, processing the job...
[2025-04-12 09:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 09:02:03] Production.INFO: ==10104== Lock acquired, processing the job...
[2025-04-12 09:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 09:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 09:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 09:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 09:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 09:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 09:02:03] Production.INFO: ==10096== Lock acquired, processing the job...
[2025-04-12 09:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 09:02:03] Production.INFO: ==10106== Lock acquired, processing the job...
[2025-04-12 09:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 09:02:03] Production.INFO: ==10102== Lock acquired, processing the job...
[2025-04-12 09:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 09:02:03] Production.INFO: ==10098== Releasing lock...
[2025-04-12 09:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 09:02:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 09:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 09:02:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 09:02:04] Production.INFO: Account Balance Start.
[2025-04-12 09:02:04] Production.INFO: CreateAllLog Start
[2025-04-12 09:02:04] Production.INFO: 117
[2025-04-12 09:02:04] Production.INFO: count ==12
[2025-04-12 09:02:04] Production.INFO: Date 2025-04-08
[2025-04-12 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-12 09:02:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:02:04] Production.INFO: count ==23
[2025-04-12 09:02:04] Production.ERROR: done
[2025-04-12 09:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 09:02:04] Production.INFO: Date 2025-04-09
[2025-04-12 09:02:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890508') start
[2025-04-12 09:02:04] Production.INFO: Date 2025-04-10
[2025-04-12 09:02:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:02:04] Production.INFO: Date 2025-04-11
[2025-04-12 09:02:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:02:04] Production.INFO: Date 2025-04-12
[2025-04-12 09:02:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:02:04] Production.ERROR: done
[2025-04-12 09:02:04] Production.INFO: Total Charge 0
[2025-04-12 09:02:04] Production.INFO: CreateAllLog End
[2025-04-12 09:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890508') end
[2025-04-12 09:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 09:02:04] Production.INFO: 1
[2025-04-12 09:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 09:02:04] Production.INFO: ==10106== Releasing lock...
[2025-04-12 09:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 09:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 09:02:04] Production.INFO: Account Balance End.
[2025-04-12 09:02:04] Production.ERROR: CronJobId end 12
[2025-04-12 09:02:04] Production.INFO: ==10102== Releasing lock...
[2025-04-12 09:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 09:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 09:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 06:02:05
[end_date_ymd] => 2025-04-12 09:02:05
[RateCDR] => 1
)
[2025-04-12 09:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 06:02:05' and `end` < '2025-04-12 09:02:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 09:02:12] Production.ERROR: CronJobId end10
[2025-04-12 09:02:12] Production.INFO: ==10100== Releasing lock...
[2025-04-12 09:02:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 09:02:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 09:02:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 09:02:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 09:02:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 09:02:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 09:02:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 09:02:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 09:02:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 09:02:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 09:02:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 09:02:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 09:02:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 09:02:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 09:02:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 09:02:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 09:02:15] Production.INFO: call_cost start
[2025-04-12 09:02:15] Production.INFO: call_cost end
[2025-04-12 09:02:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 09:02:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 09:02:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 09:02:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 09:02:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 09:02:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 09:02:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 09:02:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 09:02:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 09:02:16] Production.INFO: ==10096== Releasing lock...
[2025-04-12 09:02:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 09:02:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 09:02:18] Production.INFO: count ==237
[2025-04-12 09:02:18] Production.ERROR: pbx CDR StartTime 2025-04-12 06:02:05 - End Time 2025-04-12 09:02:05
[2025-04-12 09:02:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 09:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890510', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890510', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890510', 'tblTempVendorCDR_20' ) start
[2025-04-12 09:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890510', 'tblTempVendorCDR_20' ) end
[2025-04-12 09:02:18] Production.INFO: ProcessCDR(1,14890510,1,1,2)
[2025-04-12 09:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890510,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:02:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890510,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:02:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890510,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:02:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890510,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890510', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890510', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:02:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 09:02:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 09:02:21] Production.INFO: ==10104== Releasing lock...
[2025-04-12 09:02:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 09:02:21] Production.INFO: 30 MB #Memory Used#
[2025-04-12 14:03:02] Production.INFO: ==10167== Lock acquired, processing the job...
[2025-04-12 14:03:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 14:03:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 14:03:02] Production.INFO: neon service started
[2025-04-12 14:03:02] Production.INFO: neon service started
[2025-04-12 14:03:02] Production.INFO: ==10167== Releasing lock...
[2025-04-12 14:03:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 14:03:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 09:03:02] Production.INFO: ==10169== Lock acquired, processing the job...
[2025-04-12 09:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 09:03:02] Production.INFO: ==10169== Releasing lock...
[2025-04-12 09:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 09:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 13:03:03] Production.INFO: ==10171== Lock acquired, processing the job...
[2025-04-12 13:03:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 13:03:03] Production.INFO: ==10171== Releasing lock...
[2025-04-12 13:03:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 13:03:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 09:03:03] Production.INFO: ==10178== Lock acquired, processing the job...
[2025-04-12 09:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 09:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 09:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 09:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 09:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 09:03:03] Production.INFO: ==10182== Lock acquired, processing the job...
[2025-04-12 09:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 09:03:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 09:03:04] Production.INFO: ==10176== Lock acquired, processing the job...
[2025-04-12 09:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 09:03:04] Production.INFO: ==10174== Lock acquired, processing the job...
[2025-04-12 09:03:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 09:03:04] Production.INFO: ==10180== Lock acquired, processing the job...
[2025-04-12 09:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 09:03:04] Production.INFO: ==10184== Lock acquired, processing the job...
[2025-04-12 09:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 09:03:04] Production.INFO: Account Balance Start.
[2025-04-12 09:03:04] Production.INFO: CreateAllLog Start
[2025-04-12 09:03:04] Production.INFO: 117
[2025-04-12 09:03:04] Production.INFO: Date 2025-04-08
[2025-04-12 09:03:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:03:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 09:03:04] Production.ERROR: done
[2025-04-12 09:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 09:03:04] Production.INFO: Date 2025-04-09
[2025-04-12 09:03:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:03:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 09:03:04] Production.INFO: Date 2025-04-10
[2025-04-12 09:03:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:03:04] Production.INFO: count ==12
[2025-04-12 09:03:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 09:03:04] Production.INFO: count ==23
[2025-04-12 09:03:04] Production.INFO: Date 2025-04-11
[2025-04-12 09:03:04] Production.ERROR: done
[2025-04-12 09:03:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890514') start
[2025-04-12 09:03:04] Production.INFO: ==10176== Releasing lock...
[2025-04-12 09:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 09:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 09:03:04] Production.INFO: Date 2025-04-12
[2025-04-12 09:03:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890514') end
[2025-04-12 09:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 09:03:04] Production.INFO: 1
[2025-04-12 09:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 09:03:04] Production.INFO: Total Charge 0
[2025-04-12 09:03:04] Production.INFO: CreateAllLog End
[2025-04-12 09:03:04] Production.INFO: ==10184== Releasing lock...
[2025-04-12 09:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 09:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 09:03:04] Production.INFO: Account Balance End.
[2025-04-12 09:03:04] Production.ERROR: CronJobId end 12
[2025-04-12 09:03:04] Production.INFO: ==10180== Releasing lock...
[2025-04-12 09:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 09:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 09:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 06:03:05
[end_date_ymd] => 2025-04-12 09:03:05
[RateCDR] => 1
)
[2025-04-12 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-12 06:03:05' and `end` < '2025-04-12 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-12 09:03:12] Production.ERROR: CronJobId end10
[2025-04-12 09:03:12] Production.INFO: ==10178== Releasing lock...
[2025-04-12 09:03:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 09:03:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 09:03:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 09:03:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 09:03:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 09:03:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 09:03:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 09:03:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 09:03:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 09:03:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 09:03:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 09:03:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 09:03:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 09:03:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 09:03:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 09:03:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 09:03:15] Production.INFO: call_cost start
[2025-04-12 09:03:15] Production.INFO: call_cost end
[2025-04-12 09:03:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 09:03:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 09:03:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 09:03:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 09:03:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 09:03:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 09:03:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 09:03:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 09:03:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 09:03:16] Production.INFO: ==10174== Releasing lock...
[2025-04-12 09:03:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 09:03:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 09:03:18] Production.INFO: count ==236
[2025-04-12 09:03:18] Production.ERROR: pbx CDR StartTime 2025-04-12 06:03:05 - End Time 2025-04-12 09:03:05
[2025-04-12 09:03:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 09:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890515', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890515', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890515', 'tblTempVendorCDR_20' ) start
[2025-04-12 09:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890515', 'tblTempVendorCDR_20' ) end
[2025-04-12 09:03:18] Production.INFO: ProcessCDR(1,14890515,1,1,2)
[2025-04-12 09:03:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890515,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:03:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890515,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:03:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890515,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:03:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890515,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890515', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890515', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:03:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 09:03:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 09:03:21] Production.INFO: ==10182== Releasing lock...
[2025-04-12 09:03:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 09:03:21] Production.INFO: 29.5 MB #Memory Used#
[2025-04-12 14:04:01] Production.INFO: ==10242== Lock acquired, processing the job...
[2025-04-12 14:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 14:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 14:04:01] Production.INFO: neon service started
[2025-04-12 14:04:01] Production.INFO: neon service started
[2025-04-12 14:04:01] Production.INFO: ==10242== Releasing lock...
[2025-04-12 14:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 14:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 13:04:02] Production.INFO: ==10246== Lock acquired, processing the job...
[2025-04-12 13:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 13:04:02] Production.INFO: ==10246== Releasing lock...
[2025-04-12 13:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 13:04:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 09:04:02] Production.INFO: ==10244== Lock acquired, processing the job...
[2025-04-12 09:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 09:04:02] Production.INFO: ==10244== Releasing lock...
[2025-04-12 09:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 09:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 09:04:03] Production.INFO: ==10250== Lock acquired, processing the job...
[2025-04-12 09:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 09:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 09:04:03] Production.INFO: ==10254== Lock acquired, processing the job...
[2025-04-12 09:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 09:04:03] Production.INFO: ==10259== Lock acquired, processing the job...
[2025-04-12 09:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 09:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 09:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 09:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 09:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 09:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 09:04:03] Production.INFO: ==10252== Lock acquired, processing the job...
[2025-04-12 09:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 09:04:03] Production.INFO: ==10257== Lock acquired, processing the job...
[2025-04-12 09:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 09:04:03] Production.INFO: ==10261== Lock acquired, processing the job...
[2025-04-12 09:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 09:04:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 09:04:04] Production.INFO: Account Balance Start.
[2025-04-12 09:04:04] Production.INFO: CreateAllLog Start
[2025-04-12 09:04:04] Production.INFO: count ==12
[2025-04-12 09:04:04] Production.INFO: 117
[2025-04-12 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-12 09:04:04] Production.INFO: count ==23
[2025-04-12 09:04:04] Production.INFO: Date 2025-04-08
[2025-04-12 09:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890517') start
[2025-04-12 09:04:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:04:04] Production.INFO: Date 2025-04-09
[2025-04-12 09:04:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:04:04] Production.INFO: Date 2025-04-10
[2025-04-12 09:04:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:04:04] Production.ERROR: done
[2025-04-12 09:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 09:04:04] Production.INFO: Date 2025-04-11
[2025-04-12 09:04:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890517') end
[2025-04-12 09:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 09:04:04] Production.INFO: 1
[2025-04-12 09:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 09:04:04] Production.INFO: Date 2025-04-12
[2025-04-12 09:04:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:04:04] Production.INFO: Total Charge 0
[2025-04-12 09:04:04] Production.INFO: CreateAllLog End
[2025-04-12 09:04:04] Production.INFO: ==10261== Releasing lock...
[2025-04-12 09:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 09:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 09:04:04] Production.INFO: ==10252== Releasing lock...
[2025-04-12 09:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 09:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 09:04:04] Production.ERROR: done
[2025-04-12 09:04:04] Production.INFO: Account Balance End.
[2025-04-12 09:04:04] Production.ERROR: CronJobId end 12
[2025-04-12 09:04:04] Production.INFO: ==10257== Releasing lock...
[2025-04-12 09:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 09:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 09:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 06:04:05
[end_date_ymd] => 2025-04-12 09:04:05
[RateCDR] => 1
)
[2025-04-12 09:04:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 06:04:05' and `end` < '2025-04-12 09:04:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 09:04:12] Production.ERROR: CronJobId end10
[2025-04-12 09:04:12] Production.INFO: ==10254== Releasing lock...
[2025-04-12 09:04:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 09:04:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 09:04:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 09:04:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 09:04:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 09:04:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 09:04:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 09:04:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 09:04:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 09:04:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 09:04:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 09:04:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 09:04:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 09:04:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 09:04:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 09:04:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 09:04:15] Production.INFO: call_cost start
[2025-04-12 09:04:15] Production.INFO: call_cost end
[2025-04-12 09:04:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 09:04:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 09:04:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 09:04:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 09:04:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 09:04:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 09:04:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 09:04:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 09:04:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 09:04:16] Production.INFO: ==10250== Releasing lock...
[2025-04-12 09:04:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 09:04:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 09:04:18] Production.INFO: count ==235
[2025-04-12 09:04:18] Production.ERROR: pbx CDR StartTime 2025-04-12 06:04:05 - End Time 2025-04-12 09:04:05
[2025-04-12 09:04:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 09:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890520', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890520', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890520', 'tblTempVendorCDR_20' ) start
[2025-04-12 09:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890520', 'tblTempVendorCDR_20' ) end
[2025-04-12 09:04:18] Production.INFO: ProcessCDR(1,14890520,1,1,2)
[2025-04-12 09:04:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890520,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:04:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890520,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:04:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890520,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:04:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890520,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890520', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890520', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:04:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 09:04:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 09:04:21] Production.INFO: ==10259== Releasing lock...
[2025-04-12 09:04:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 09:04:21] Production.INFO: 29.75 MB #Memory Used#
[2025-04-12 14:05:02] Production.INFO: ==10316== Lock acquired, processing the job...
[2025-04-12 14:05:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 14:05:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 14:05:02] Production.INFO: neon service started
[2025-04-12 14:05:02] Production.INFO: neon service started
[2025-04-12 14:05:02] Production.INFO: ==10316== Releasing lock...
[2025-04-12 14:05:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 14:05:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 13:05:02] Production.INFO: ==10320== Lock acquired, processing the job...
[2025-04-12 13:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 13:05:02] Production.INFO: ==10320== Releasing lock...
[2025-04-12 13:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 13:05:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 09:05:02] Production.INFO: ==10318== Lock acquired, processing the job...
[2025-04-12 09:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 09:05:02] Production.INFO: ==10318== Releasing lock...
[2025-04-12 09:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 09:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 09:05:03] Production.INFO: ==10323== Lock acquired, processing the job...
[2025-04-12 09:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 09:05:03] Production.INFO: ==10327== Lock acquired, processing the job...
[2025-04-12 09:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 09:05:03] Production.INFO: ==10325== Lock acquired, processing the job...
[2025-04-12 09:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 09:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 09:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 09:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 09:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 09:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 09:05:04] Production.INFO: ==10329== Lock acquired, processing the job...
[2025-04-12 09:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 09:05:04] Production.INFO: ==10331== Lock acquired, processing the job...
[2025-04-12 09:05:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 09:05:04] Production.INFO: ==10333== Lock acquired, processing the job...
[2025-04-12 09:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 09:05:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 09:05:04] Production.INFO: ==10325== Releasing lock...
[2025-04-12 09:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 09:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 09:05:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 09:05:04] Production.INFO: Account Balance Start.
[2025-04-12 09:05:04] Production.INFO: CreateAllLog Start
[2025-04-12 09:05:04] Production.INFO: 117
[2025-04-12 09:05:04] Production.INFO: Date 2025-04-08
[2025-04-12 09:05:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:05:04] Production.INFO: count ==12
[2025-04-12 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-12 09:05:04] Production.INFO: count ==23
[2025-04-12 09:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890524') start
[2025-04-12 09:05:04] Production.INFO: Date 2025-04-09
[2025-04-12 09:05:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890524') end
[2025-04-12 09:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 09:05:04] Production.INFO: 1
[2025-04-12 09:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 09:05:04] Production.INFO: Date 2025-04-10
[2025-04-12 09:05:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:05:04] Production.INFO: Date 2025-04-11
[2025-04-12 09:05:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:05:04] Production.INFO: ==10333== Releasing lock...
[2025-04-12 09:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 09:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 09:05:04] Production.INFO: Date 2025-04-12
[2025-04-12 09:05:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:05:04] Production.INFO: Total Charge 0
[2025-04-12 09:05:04] Production.ERROR: done
[2025-04-12 09:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 09:05:04] Production.INFO: CreateAllLog End
[2025-04-12 09:05:04] Production.ERROR: done
[2025-04-12 09:05:05] Production.INFO: Account Balance End.
[2025-04-12 09:05:05] Production.ERROR: CronJobId end 12
[2025-04-12 09:05:05] Production.INFO: ==10329== Releasing lock...
[2025-04-12 09:05:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 09:05:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 09:05:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 06:05:06
[end_date_ymd] => 2025-04-12 09:05:06
[RateCDR] => 1
)
[2025-04-12 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-12 06:05:06' and `end` < '2025-04-12 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-12 09:05:11] Production.ERROR: CronJobId end10
[2025-04-12 09:05:11] Production.INFO: ==10327== Releasing lock...
[2025-04-12 09:05:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 09:05:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 09:05:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 09:05:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 09:05:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 09:05:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 09:05:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 09:05:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 09:05:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 09:05:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 09:05:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 09:05:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 09:05:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 09:05:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 09:05:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 09:05:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 09:05:14] Production.INFO: call_cost start
[2025-04-12 09:05:14] Production.INFO: call_cost end
[2025-04-12 09:05:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 09:05:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 09:05:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 09:05:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 09:05:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 09:05:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 09:05:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 09:05:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 09:05:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 09:05:15] Production.INFO: ==10323== Releasing lock...
[2025-04-12 09:05:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 09:05:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 09:05:19] Production.INFO: count ==234
[2025-04-12 09:05:19] Production.ERROR: pbx CDR StartTime 2025-04-12 06:05:06 - End Time 2025-04-12 09:05:06
[2025-04-12 09:05:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 09:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890525', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890525', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890525', 'tblTempVendorCDR_20' ) start
[2025-04-12 09:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890525', 'tblTempVendorCDR_20' ) end
[2025-04-12 09:05:19] Production.INFO: ProcessCDR(1,14890525,1,1,2)
[2025-04-12 09:05:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890525,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:05:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890525,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:05:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890525,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:05:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890525,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890525', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890525', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:05:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 09:05:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 09:05:22] Production.INFO: ==10331== Releasing lock...
[2025-04-12 09:05:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 09:05:22] Production.INFO: 29.75 MB #Memory Used#
[2025-04-12 14:06:01] Production.INFO: ==10387== Lock acquired, processing the job...
[2025-04-12 14:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 14:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 14:06:01] Production.INFO: neon service started
[2025-04-12 14:06:01] Production.INFO: neon service started
[2025-04-12 14:06:01] Production.INFO: ==10387== Releasing lock...
[2025-04-12 14:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 14:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 13:06:02] Production.INFO: ==10392== Lock acquired, processing the job...
[2025-04-12 13:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 13:06:02] Production.INFO: ==10392== Releasing lock...
[2025-04-12 13:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 13:06:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 09:06:02] Production.INFO: ==10390== Lock acquired, processing the job...
[2025-04-12 09:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 09:06:02] Production.INFO: ==10390== Releasing lock...
[2025-04-12 09:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 09:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 09:06:03] Production.INFO: ==10394== Lock acquired, processing the job...
[2025-04-12 09:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 09:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 09:06:03] Production.INFO: ==10402== Lock acquired, processing the job...
[2025-04-12 09:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 09:06:03] Production.INFO: ==10404== Lock acquired, processing the job...
[2025-04-12 09:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 09:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 09:06:03] Production.INFO: ==10396== Lock acquired, processing the job...
[2025-04-12 09:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 09:06:03] Production.INFO: ==10400== Lock acquired, processing the job...
[2025-04-12 09:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 09:06:03] Production.INFO: ==10398== Lock acquired, processing the job...
[2025-04-12 09:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 09: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-12 09:06:03] Production.INFO: count ==12
[2025-04-12 09:06:03] Production.INFO: Account Balance Start.
[2025-04-12 09:06:03] Production.INFO: CreateAllLog Start
[2025-04-12 09:06:03] Production.INFO: 117
[2025-04-12 09: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-12 09:06:03] Production.INFO: count ==23
[2025-04-12 09:06:03] Production.ERROR: done
[2025-04-12 09:06:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 09:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890527') start
[2025-04-12 09:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 09:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 09:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 09:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 09:06:04] Production.INFO: Date 2025-04-08
[2025-04-12 09:06:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890527') end
[2025-04-12 09:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 09:06:04] Production.INFO: 1
[2025-04-12 09:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 09:06:04] Production.ERROR: done
[2025-04-12 09:06:04] Production.INFO: ==10404== Releasing lock...
[2025-04-12 09:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 09:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 09:06:04] Production.INFO: Date 2025-04-09
[2025-04-12 09:06:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:06:04] Production.INFO: Date 2025-04-10
[2025-04-12 09:06:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:06:04] Production.INFO: ==10396== Releasing lock...
[2025-04-12 09:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 09:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 09:06:04] Production.INFO: Date 2025-04-11
[2025-04-12 09:06:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:06:04] Production.INFO: Date 2025-04-12
[2025-04-12 09:06:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:06:04] Production.INFO: Total Charge 0
[2025-04-12 09:06:04] Production.INFO: CreateAllLog End
[2025-04-12 09:06:04] Production.INFO: Account Balance End.
[2025-04-12 09:06:04] Production.ERROR: CronJobId end 12
[2025-04-12 09:06:04] Production.INFO: ==10400== Releasing lock...
[2025-04-12 09:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 09:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 09:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 06:06:05
[end_date_ymd] => 2025-04-12 09:06:05
[RateCDR] => 1
)
[2025-04-12 09:06:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 06:06:05' and `end` < '2025-04-12 09:06:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 09:06:10] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:294
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(294): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_LowBal...', Array)
#2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#4 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#8 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#9 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#10 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#11 [internal function]: App\Console\Commands\NeonAlerts->fire()
#12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#20 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 {main}
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_LowBalanceReminder(1,0,10))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#2 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#4 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#6 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#7 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#8 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#9 [internal function]: App\Console\Commands\NeonAlerts->fire()
#10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#11 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 {main}
[2025-04-12 09:06:10] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 09:06:10] Production.INFO: ============== Balance Warning START===========
[2025-04-12 09:06:10] Production.INFO: ============== Balance Warning END===========
[2025-04-12 09:06:10] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 09:06:10] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 09:06:10] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 09:06:10] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 09:06:10] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 09:06:10] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 09:06:10] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 09:06:10] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 09:06:10] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 09:06:10] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 09:06:10] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 09:06:11] Production.INFO: call_cost start
[2025-04-12 09:06:11] Production.INFO: call_cost end
[2025-04-12 09:06:11] Production.ERROR: CronJobId end10
[2025-04-12 09:06:11] Production.INFO: ==10398== Releasing lock...
[2025-04-12 09:06:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 09:06:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 09:06:12] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 09:06:12] Production.INFO: ============== Report Schedule START===========
[2025-04-12 09:06:12] Production.INFO: ============== Report Schedule END===========
[2025-04-12 09:06:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 09:06:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 09:06:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 09:06:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 09:06:12] Production.INFO: ============== Deal alert START===========
[2025-04-12 09:06:12] Production.INFO: ============== Deal alert END===========
[2025-04-12 09:06:12] Production.INFO: ==10394== Releasing lock...
[2025-04-12 09:06:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 09:06:12] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 09:06:18] Production.INFO: count ==241
[2025-04-12 09:06:18] Production.ERROR: pbx CDR StartTime 2025-04-12 06:06:05 - End Time 2025-04-12 09:06:05
[2025-04-12 09:06:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 09:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890530', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890530', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890530', 'tblTempVendorCDR_20' ) start
[2025-04-12 09:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890530', 'tblTempVendorCDR_20' ) end
[2025-04-12 09:06:18] Production.INFO: ProcessCDR(1,14890530,1,1,2)
[2025-04-12 09:06:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890530,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:06:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890530,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:06:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890530,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:06:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890530,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890530', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890530', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:06:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 09:06:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 09:06:21] Production.INFO: ==10402== Releasing lock...
[2025-04-12 09:06:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 09:06:21] Production.INFO: 29.75 MB #Memory Used#
[2025-04-12 14:07:02] Production.INFO: ==10460== Lock acquired, processing the job...
[2025-04-12 14:07:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 14:07:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 14:07:02] Production.INFO: neon service started
[2025-04-12 14:07:02] Production.INFO: neon service started
[2025-04-12 14:07:02] Production.INFO: ==10460== Releasing lock...
[2025-04-12 14:07:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 14:07:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 09:07:02] Production.INFO: ==10462== Lock acquired, processing the job...
[2025-04-12 09:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 09:07:02] Production.INFO: ==10462== Releasing lock...
[2025-04-12 09:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 09:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 13:07:03] Production.INFO: ==10464== Lock acquired, processing the job...
[2025-04-12 13:07:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 13:07:03] Production.INFO: ==10464== Releasing lock...
[2025-04-12 13:07:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 13:07:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 09:07:03] Production.INFO: ==10473== Lock acquired, processing the job...
[2025-04-12 09:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 09:07:03] Production.INFO: ==10478== Lock acquired, processing the job...
[2025-04-12 09:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 09:07:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 09:07:04] Production.INFO: count ==12
[2025-04-12 09:07:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 09:07:04] Production.INFO: ==10467== Lock acquired, processing the job...
[2025-04-12 09:07:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 09:07:04] Production.INFO: count ==23
[2025-04-12 09:07:04] Production.INFO: Account Balance Start.
[2025-04-12 09:07:04] Production.INFO: CreateAllLog Start
[2025-04-12 09:07:04] Production.INFO: 117
[2025-04-12 09:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890531') start
[2025-04-12 09:07:04] Production.INFO: ==10469== Lock acquired, processing the job...
[2025-04-12 09:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 09:07:04] Production.INFO: Date 2025-04-08
[2025-04-12 09:07:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:07:04] Production.INFO: ==10475== Lock acquired, processing the job...
[2025-04-12 09:07:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 09:07:04] Production.INFO: ==10471== Lock acquired, processing the job...
[2025-04-12 09:07:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 09:07:04] Production.INFO: Date 2025-04-09
[2025-04-12 09:07:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:07:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 09:07:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 09:07:04] Production.INFO: Date 2025-04-10
[2025-04-12 09:07:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890531') end
[2025-04-12 09:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 09:07:04] Production.INFO: 1
[2025-04-12 09:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 09:07:04] Production.INFO: Date 2025-04-11
[2025-04-12 09:07:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:07:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 09:07:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 09:07:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 09:07:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 09:07:04] Production.INFO: Date 2025-04-12
[2025-04-12 09:07:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:07:04] Production.INFO: ==10478== Releasing lock...
[2025-04-12 09:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 09:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 09:07:04] Production.INFO: Total Charge 0
[2025-04-12 09:07:04] Production.INFO: CreateAllLog End
[2025-04-12 09:07:04] Production.INFO: ==10469== Releasing lock...
[2025-04-12 09:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 09:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 09:07:04] Production.ERROR: done
[2025-04-12 09:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 09:07:04] Production.ERROR: done
[2025-04-12 09:07:04] Production.INFO: Account Balance End.
[2025-04-12 09:07:04] Production.ERROR: CronJobId end 12
[2025-04-12 09:07:04] Production.INFO: ==10473== Releasing lock...
[2025-04-12 09:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 09:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 09:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 06:07:05
[end_date_ymd] => 2025-04-12 09:07:05
[RateCDR] => 1
)
[2025-04-12 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-12 06:07:05' and `end` < '2025-04-12 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-12 09:07:12] Production.ERROR: CronJobId end10
[2025-04-12 09:07:12] Production.INFO: ==10471== Releasing lock...
[2025-04-12 09:07:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 09:07:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 09:07:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 09:07:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 09:07:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 09:07:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 09:07:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 09:07:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 09:07:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 09:07:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 09:07:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 09:07:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 09:07:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 09:07:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 09:07:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 09:07:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 09:07:15] Production.INFO: call_cost start
[2025-04-12 09:07:15] Production.INFO: call_cost end
[2025-04-12 09:07:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 09:07:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 09:07:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 09:07:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 09:07:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 09:07:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 09:07:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 09:07:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 09:07:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 09:07:16] Production.INFO: ==10467== Releasing lock...
[2025-04-12 09:07:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 09:07:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 09:07:18] Production.INFO: count ==245
[2025-04-12 09:07:18] Production.ERROR: pbx CDR StartTime 2025-04-12 06:07:05 - End Time 2025-04-12 09:07:05
[2025-04-12 09:07:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 09:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890535', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890535', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890535', 'tblTempVendorCDR_20' ) start
[2025-04-12 09:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890535', 'tblTempVendorCDR_20' ) end
[2025-04-12 09:07:18] Production.INFO: ProcessCDR(1,14890535,1,1,2)
[2025-04-12 09:07:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890535,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:07:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890535,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:07:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890535,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:07:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890535,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890535', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890535', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:07:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 09:07:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 09:07:22] Production.INFO: ==10475== Releasing lock...
[2025-04-12 09:07:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 09:07:22] Production.INFO: 30 MB #Memory Used#
[2025-04-12 14:08:01] Production.INFO: ==10537== Lock acquired, processing the job...
[2025-04-12 14:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 14:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 14:08:01] Production.INFO: neon service started
[2025-04-12 14:08:01] Production.INFO: neon service started
[2025-04-12 14:08:01] Production.INFO: ==10537== Releasing lock...
[2025-04-12 14:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 14:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 09:08:02] Production.INFO: ==10539== Lock acquired, processing the job...
[2025-04-12 09:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 13:08:02] Production.INFO: ==10541== Lock acquired, processing the job...
[2025-04-12 13:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 13:08:02] Production.INFO: ==10541== Releasing lock...
[2025-04-12 13:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 13:08:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 09:08:02] Production.INFO: ==10539== Releasing lock...
[2025-04-12 09:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 09:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 09:08:03] Production.INFO: ==10548== Lock acquired, processing the job...
[2025-04-12 09:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 09:08:03] Production.INFO: ==10554== Lock acquired, processing the job...
[2025-04-12 09:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 09:08:03] Production.INFO: ==10544== Lock acquired, processing the job...
[2025-04-12 09:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 09:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 09:08:03] Production.INFO: ==10546== Lock acquired, processing the job...
[2025-04-12 09:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 09:08:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 09:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 09:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 09:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 09:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 09:08:03] Production.INFO: count ==12
[2025-04-12 09:08:03] Production.INFO: ==10550== Lock acquired, processing the job...
[2025-04-12 09:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 09:08:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 09:08:03] Production.INFO: count ==23
[2025-04-12 09:08:04] Production.INFO: ==10552== Lock acquired, processing the job...
[2025-04-12 09:08:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 09:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890537') start
[2025-04-12 09:08:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 09:08:04] Production.INFO: Account Balance Start.
[2025-04-12 09:08:04] Production.INFO: CreateAllLog Start
[2025-04-12 09:08:04] Production.INFO: 117
[2025-04-12 09:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890537') end
[2025-04-12 09:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 09:08:04] Production.INFO: 1
[2025-04-12 09:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 09:08:04] Production.INFO: Date 2025-04-08
[2025-04-12 09:08:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:08:04] Production.INFO: ==10546== Releasing lock...
[2025-04-12 09:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 09:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 09:08:04] Production.INFO: ==10554== Releasing lock...
[2025-04-12 09:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 09:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 09:08:04] Production.INFO: Date 2025-04-09
[2025-04-12 09:08:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:08:04] Production.INFO: Date 2025-04-10
[2025-04-12 09:08:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:08:04] Production.INFO: Date 2025-04-11
[2025-04-12 09:08:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:08:04] Production.ERROR: done
[2025-04-12 09:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 09:08:04] Production.INFO: Date 2025-04-12
[2025-04-12 09:08:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:08:04] Production.INFO: Total Charge 0
[2025-04-12 09:08:04] Production.INFO: CreateAllLog End
[2025-04-12 09:08:04] Production.ERROR: done
[2025-04-12 09:08:04] Production.INFO: Account Balance End.
[2025-04-12 09:08:04] Production.ERROR: CronJobId end 12
[2025-04-12 09:08:04] Production.INFO: ==10550== Releasing lock...
[2025-04-12 09:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 09:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 09:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 06:08:05
[end_date_ymd] => 2025-04-12 09:08:05
[RateCDR] => 1
)
[2025-04-12 09:08:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 06:08:05' and `end` < '2025-04-12 09:08:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 09:08:12] Production.ERROR: CronJobId end10
[2025-04-12 09:08:12] Production.INFO: ==10548== Releasing lock...
[2025-04-12 09:08:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 09:08:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 09:08:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 09:08:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 09:08:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 09:08:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 09:08:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 09:08:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 09:08:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 09:08:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 09:08:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 09:08:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 09:08:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 09:08:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 09:08:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 09:08:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 09:08:14] Production.INFO: call_cost start
[2025-04-12 09:08:14] Production.INFO: call_cost end
[2025-04-12 09:08:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 09:08:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 09:08:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 09:08:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 09:08:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 09:08:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 09:08:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 09:08:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 09:08:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 09:08:15] Production.INFO: ==10544== Releasing lock...
[2025-04-12 09:08:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 09:08:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 09:08:18] Production.INFO: count ==250
[2025-04-12 09:08:18] Production.ERROR: pbx CDR StartTime 2025-04-12 06:08:05 - End Time 2025-04-12 09:08:05
[2025-04-12 09:08:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 09:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890540', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890540', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890540', 'tblTempVendorCDR_20' ) start
[2025-04-12 09:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890540', 'tblTempVendorCDR_20' ) end
[2025-04-12 09:08:18] Production.INFO: ProcessCDR(1,14890540,1,1,2)
[2025-04-12 09:08:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890540,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:08:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890540,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:08:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890540,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:08:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890540,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890540', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890540', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:08:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 09:08:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 09:08:22] Production.INFO: ==10552== Releasing lock...
[2025-04-12 09:08:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 09:08:22] Production.INFO: 30 MB #Memory Used#
[2025-04-12 14:09:02] Production.INFO: ==10651== Lock acquired, processing the job...
[2025-04-12 14:09:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 14:09:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 14:09:02] Production.INFO: neon service started
[2025-04-12 14:09:02] Production.INFO: neon service started
[2025-04-12 14:09:02] Production.INFO: ==10651== Releasing lock...
[2025-04-12 14:09:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 14:09:02] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 09:09:02] Production.INFO: ==10653== Lock acquired, processing the job...
[2025-04-12 09:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 13:09:02] Production.INFO: ==10655== Lock acquired, processing the job...
[2025-04-12 13:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 13:09:02] Production.INFO: ==10655== Releasing lock...
[2025-04-12 13:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 13:09:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 09:09:03] Production.INFO: ==10653== Releasing lock...
[2025-04-12 09:09:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 09:09:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 09:09:04] Production.INFO: ==10664== Lock acquired, processing the job...
[2025-04-12 09:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 09:09:04] Production.INFO: Account Balance Start.
[2025-04-12 09:09:04] Production.INFO: CreateAllLog Start
[2025-04-12 09:09:04] Production.INFO: 117
[2025-04-12 09:09:04] Production.INFO: Date 2025-04-08
[2025-04-12 09:09:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:09:04] Production.INFO: Date 2025-04-09
[2025-04-12 09:09:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:09:04] Production.INFO: Date 2025-04-10
[2025-04-12 09:09:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:09:04] Production.INFO: Date 2025-04-11
[2025-04-12 09:09:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:09:04] Production.INFO: ==10658== Lock acquired, processing the job...
[2025-04-12 09:09:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 09:09:04] Production.INFO: ==10668== Lock acquired, processing the job...
[2025-04-12 09:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 09:09:04] Production.INFO: Date 2025-04-12
[2025-04-12 09:09:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:09:04] Production.INFO: ==10660== Lock acquired, processing the job...
[2025-04-12 09:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 09:09:04] Production.INFO: Total Charge 0
[2025-04-12 09:09:04] Production.INFO: ==10662== Lock acquired, processing the job...
[2025-04-12 09:09:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 09:09:04] Production.INFO: CreateAllLog End
[2025-04-12 09:09:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 09:09:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 09:09:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 09:09:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 09:09:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 09:09:04] Production.INFO: count ==12
[2025-04-12 09:09:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 09:09:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 09:09:04] Production.INFO: ==10666== Lock acquired, processing the job...
[2025-04-12 09:09:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 09:09:04] Production.INFO: count ==23
[2025-04-12 09:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890542') start
[2025-04-12 09:09:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 09:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890542') end
[2025-04-12 09:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 09:09:04] Production.INFO: 1
[2025-04-12 09:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 09:09:04] Production.INFO: ==10668== Releasing lock...
[2025-04-12 09:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 09:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 09:09:04] Production.INFO: Account Balance End.
[2025-04-12 09:09:04] Production.ERROR: CronJobId end 12
[2025-04-12 09:09:04] Production.INFO: ==10664== Releasing lock...
[2025-04-12 09:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 09:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 09:09:04] Production.ERROR: done
[2025-04-12 09:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 09:09:04] Production.INFO: ==10660== Releasing lock...
[2025-04-12 09:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 09:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 09:09:05] Production.ERROR: done
[2025-04-12 09:09:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 06:09:06
[end_date_ymd] => 2025-04-12 09:09:06
[RateCDR] => 1
)
[2025-04-12 09:09:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 06:09:06' and `end` < '2025-04-12 09:09:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 09:09:11] Production.ERROR: CronJobId end10
[2025-04-12 09:09:11] Production.INFO: ==10662== Releasing lock...
[2025-04-12 09:09:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 09:09:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 09:09:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 09:09:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 09:09:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 09:09:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 09:09:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 09:09:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 09:09:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 09:09:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 09:09:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 09:09:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 09:09:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 09:09:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 09:09:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 09:09:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 09:09:15] Production.INFO: call_cost start
[2025-04-12 09:09:15] Production.INFO: call_cost end
[2025-04-12 09:09:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 09:09:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 09:09:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 09:09:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 09:09:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 09:09:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 09:09:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 09:09:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 09:09:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 09:09:16] Production.INFO: ==10658== Releasing lock...
[2025-04-12 09:09:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 09:09:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 09:09:19] Production.INFO: count ==249
[2025-04-12 09:09:19] Production.ERROR: pbx CDR StartTime 2025-04-12 06:09:06 - End Time 2025-04-12 09:09:06
[2025-04-12 09:09:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 09:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890545', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890545', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890545', 'tblTempVendorCDR_20' ) start
[2025-04-12 09:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890545', 'tblTempVendorCDR_20' ) end
[2025-04-12 09:09:19] Production.INFO: ProcessCDR(1,14890545,1,1,2)
[2025-04-12 09:09:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890545,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:09:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890545,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:09:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890545,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:09:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890545,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890545', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890545', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:09:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 09:09:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 09:09:22] Production.INFO: ==10666== Releasing lock...
[2025-04-12 09:09:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 09:09:22] Production.INFO: 30.5 MB #Memory Used#
[2025-04-12 14:10:01] Production.INFO: ==10723== Lock acquired, processing the job...
[2025-04-12 14:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 14:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 14:10:01] Production.INFO: neon service started
[2025-04-12 14:10:01] Production.INFO: neon service started
[2025-04-12 14:10:01] Production.INFO: ==10723== Releasing lock...
[2025-04-12 14:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 14:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 09:10:01] Production.INFO: ==10725== Lock acquired, processing the job...
[2025-04-12 09:10:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 13:10:02] Production.INFO: ==10727== Lock acquired, processing the job...
[2025-04-12 13:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 13:10:02] Production.INFO: ==10727== Releasing lock...
[2025-04-12 13:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 13:10:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 09:10:02] Production.INFO: ==10725== Releasing lock...
[2025-04-12 09:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 09:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 09:10:03] Production.INFO: ==10738== Lock acquired, processing the job...
[2025-04-12 09:10:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 09:10:03] Production.INFO: ==10729== Lock acquired, processing the job...
[2025-04-12 09:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 09:10:03] Production.INFO: ==10731== Lock acquired, processing the job...
[2025-04-12 09:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 09:10:03] Production.INFO: ==10733== Lock acquired, processing the job...
[2025-04-12 09:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 09:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 09:10:03] Production.INFO: ==10744== Lock acquired, processing the job...
[2025-04-12 09:10:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 09:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 09:10:03] Production.ERROR: CronJob PID - 10731
[2025-04-12 09:10:03] Production.ERROR: CronJob Title - System Alerts
[2025-04-12 09:10:03] Production.ERROR: CronJob ID - 5
[2025-04-12 09:10:03] Production.ERROR: CronJob Last Run Time 2025-04-12 09:10:00
[2025-04-12 09:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 09:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 09:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 09:10:03] Production.ERROR: CronJob PID - 10738
[2025-04-12 09:10:03] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-04-12 09:10:03] Production.ERROR: CronJob ID - 12
[2025-04-12 09:10:03] Production.ERROR: CronJob Last Run Time 2025-04-12 09:10:00
[2025-04-12 09:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 09:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 09:10:03] Production.INFO: Account Balance Start.
[2025-04-12 09:10:03] Production.INFO: CreateAllLog Start
[2025-04-12 09:10:03] Production.INFO: 117
[2025-04-12 09:10:03] Production.INFO: ==10742== Lock acquired, processing the job...
[2025-04-12 09:10:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 09:10:03] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 09:10:03] Production.INFO: ==10729== Releasing lock...
[2025-04-12 09:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 09:10:03] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 09:10:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 09:10:03] Production.INFO: Date 2025-04-08
[2025-04-12 09:10:03] Production.INFO: ==10735== Lock acquired, processing the job...
[2025-04-12 09:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 09:10:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 09:10:03] Production.INFO: Reseller ==> 0
[2025-04-12 09: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-12 09:10:03] Production.INFO: Date 2025-04-09
[2025-04-12 09:10:03] Production.INFO: Reseller ==> 0
[2025-04-12 09:10:03] Production.INFO: count ==12
[2025-04-12 09:10:03] Production.INFO: Date 2025-04-10
[2025-04-12 09:10:03] Production.INFO: Reseller ==> 0
[2025-04-12 09: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-12 09:10:03] Production.INFO: count ==23
[2025-04-12 09:10:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890548') start
[2025-04-12 09:10:03] Production.INFO: ==10740== Lock acquired, processing the job...
[2025-04-12 09:10:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 09:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 09:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 09:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 09:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 09:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 09:10:04] Production.INFO: Date 2025-04-11
[2025-04-12 09:10:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:10:04] Production.INFO: Date 2025-04-12
[2025-04-12 09:10:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890548') end
[2025-04-12 09:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 09:10:04] Production.INFO: 1
[2025-04-12 09:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 09:10:04] Production.INFO: ==10744== Releasing lock...
[2025-04-12 09:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 09:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 09:10:04] Production.ERROR: done
[2025-04-12 09:10:04] Production.INFO: ==10733== Releasing lock...
[2025-04-12 09:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 09:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 09:10:04] Production.INFO: Total Charge 0
[2025-04-12 09:10:04] Production.INFO: CreateAllLog End
[2025-04-12 09:10:04] Production.ERROR: done
[2025-04-12 09:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 09:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 09:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14890550', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 09:10:04] Production.ERROR: done
[2025-04-12 09:10:04] Production.INFO: Account Balance End.
[2025-04-12 09:10:04] Production.ERROR: CronJobId end 12
[2025-04-12 09:10:04] Production.INFO: ==10738== Releasing lock...
[2025-04-12 09:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 09:10:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 09:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 06:10:06
[end_date_ymd] => 2025-04-12 09:10:06
[RateCDR] => 1
)
[2025-04-12 09:10:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 06:10:06' and `end` < '2025-04-12 09:10:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 09:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14890550', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 09:10:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 09:10:09] Production.INFO: ProcessCDR(1,14890550,1,1,2)
[2025-04-12 09:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14890550,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14890550,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 09:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 09:10:09] Production.INFO: ==10742== Releasing lock...
[2025-04-12 09:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 09:10:09] Production.INFO: 26 MB #Memory Used#
[2025-04-12 09:10:13] Production.ERROR: CronJobId end10
[2025-04-12 09:10:13] Production.INFO: ==10735== Releasing lock...
[2025-04-12 09:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 09:10:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 09:10:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 09:10:16] Production.INFO: ============== Balance Warning START===========
[2025-04-12 09:10:16] Production.INFO: ============== Balance Warning END===========
[2025-04-12 09:10:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 09:10:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 09:10:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 09:10:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 09:10:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 09:10:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 09:10:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 09:10:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 09:10:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 09:10:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 09:10:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 09:10:16] Production.INFO: call_cost start
[2025-04-12 09:10:16] Production.INFO: call_cost end
[2025-04-12 09:10:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 09:10:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 09:10:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 09:10:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 09:10:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 09:10:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 09:10:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 09:10:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 09:10:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 09:10:17] Production.INFO: ==10731== Releasing lock...
[2025-04-12 09:10:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 09:10:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 09:10:19] Production.INFO: count ==270
[2025-04-12 09:10:19] Production.ERROR: pbx CDR StartTime 2025-04-12 06:10:06 - End Time 2025-04-12 09:10:06
[2025-04-12 09:10:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 09:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890551', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890551', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890551', 'tblTempVendorCDR_20' ) start
[2025-04-12 09:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890551', 'tblTempVendorCDR_20' ) end
[2025-04-12 09:10:19] Production.INFO: ProcessCDR(1,14890551,1,1,2)
[2025-04-12 09:10:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890551,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:10:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890551,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:10:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890551,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:10:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890551,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:10:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890551', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:10:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890551', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:10:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 09:10:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 09:10:24] Production.INFO: ==10740== Releasing lock...
[2025-04-12 09:10:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 09:10:24] Production.INFO: 30.5 MB #Memory Used#
[2025-04-12 14:11:02] Production.INFO: ==10801== Lock acquired, processing the job...
[2025-04-12 14:11:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 14:11:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 14:11:02] Production.INFO: neon service started
[2025-04-12 14:11:02] Production.INFO: neon service started
[2025-04-12 14:11:02] Production.INFO: ==10801== Releasing lock...
[2025-04-12 14:11:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 14:11:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 09:11:02] Production.INFO: ==10803== Lock acquired, processing the job...
[2025-04-12 09:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 09:11:02] Production.INFO: ==10803== Releasing lock...
[2025-04-12 09:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 09:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 13:11:02] Production.INFO: ==10805== Lock acquired, processing the job...
[2025-04-12 13:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 13:11:03] Production.INFO: ==10805== Releasing lock...
[2025-04-12 13:11:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 13:11:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 09:11:03] Production.INFO: ==10807== Lock acquired, processing the job...
[2025-04-12 09:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 09:11:03] Production.INFO: ==10809== Lock acquired, processing the job...
[2025-04-12 09:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 09:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 09:11:03] Production.INFO: ==10815== Lock acquired, processing the job...
[2025-04-12 09:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 09:11:03] Production.INFO: ==10813== Lock acquired, processing the job...
[2025-04-12 09:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 09:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 09:11:03] Production.INFO: ==10811== Lock acquired, processing the job...
[2025-04-12 09:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 09:11:03] Production.INFO: ==10817== Lock acquired, processing the job...
[2025-04-12 09:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 09:11:03] Production.INFO: ==10809== Releasing lock...
[2025-04-12 09:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 09:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 09:11:03] Production.INFO: Account Balance Start.
[2025-04-12 09:11:03] Production.INFO: CreateAllLog Start
[2025-04-12 09:11:03] Production.INFO: 117
[2025-04-12 09:11:04] Production.INFO: Date 2025-04-08
[2025-04-12 09:11:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:11:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 09:11:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 09:11:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 09:11:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 09:11:04] Production.INFO: Date 2025-04-09
[2025-04-12 09:11:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:11:04] Production.INFO: Date 2025-04-10
[2025-04-12 09:11:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:11:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 09:11:04] Production.INFO: Date 2025-04-11
[2025-04-12 09:11:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:11:04] Production.INFO: count ==12
[2025-04-12 09:11:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 09:11:04] Production.INFO: count ==23
[2025-04-12 09:11:04] Production.INFO: Date 2025-04-12
[2025-04-12 09:11:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890555') start
[2025-04-12 09:11:04] Production.ERROR: done
[2025-04-12 09:11:04] Production.INFO: Total Charge 0
[2025-04-12 09:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 09:11:04] Production.INFO: CreateAllLog End
[2025-04-12 09:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890555') end
[2025-04-12 09:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 09:11:04] Production.INFO: 1
[2025-04-12 09:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 09:11:04] Production.INFO: ==10817== Releasing lock...
[2025-04-12 09:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 09:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 09:11:04] Production.ERROR: done
[2025-04-12 09:11:04] Production.INFO: Account Balance End.
[2025-04-12 09:11:04] Production.ERROR: CronJobId end 12
[2025-04-12 09:11:04] Production.INFO: ==10813== Releasing lock...
[2025-04-12 09:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 09:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 09:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 06:11:05
[end_date_ymd] => 2025-04-12 09:11:05
[RateCDR] => 1
)
[2025-04-12 09:11:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 06:11:05' and `end` < '2025-04-12 09:11:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 09:11:12] Production.ERROR: CronJobId end10
[2025-04-12 09:11:12] Production.INFO: ==10811== Releasing lock...
[2025-04-12 09:11:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 09:11:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 09:11:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 09:11:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 09:11:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 09:11:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 09:11:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 09:11:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 09:11:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 09:11:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 09:11:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 09:11:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 09:11:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 09:11:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 09:11:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 09:11:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 09:11:14] Production.INFO: call_cost start
[2025-04-12 09:11:14] Production.INFO: call_cost end
[2025-04-12 09:11:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 09:11:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 09:11:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 09:11:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 09:11:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 09:11:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 09:11:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 09:11:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 09:11:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 09:11:15] Production.INFO: ==10807== Releasing lock...
[2025-04-12 09:11:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 09:11:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 09:11:18] Production.INFO: count ==282
[2025-04-12 09:11:18] Production.ERROR: pbx CDR StartTime 2025-04-12 06:11:05 - End Time 2025-04-12 09:11:05
[2025-04-12 09:11:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 09:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890556', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890556', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890556', 'tblTempVendorCDR_20' ) start
[2025-04-12 09:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890556', 'tblTempVendorCDR_20' ) end
[2025-04-12 09:11:18] Production.INFO: ProcessCDR(1,14890556,1,1,2)
[2025-04-12 09:11:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890556,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:11:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890556,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:11:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890556,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:11:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890556,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890556', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890556', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:11:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 09:11:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 09:11:22] Production.INFO: ==10815== Releasing lock...
[2025-04-12 09:11:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 09:11:22] Production.INFO: 30.5 MB #Memory Used#
[2025-04-12 14:12:01] Production.INFO: ==10875== Lock acquired, processing the job...
[2025-04-12 14:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 14:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 14:12:01] Production.INFO: neon service started
[2025-04-12 14:12:01] Production.INFO: neon service started
[2025-04-12 14:12:01] Production.INFO: ==10875== Releasing lock...
[2025-04-12 14:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 14:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 09:12:01] Production.INFO: ==10877== Lock acquired, processing the job...
[2025-04-12 09:12:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 09:12:02] Production.INFO: ==10877== Releasing lock...
[2025-04-12 09:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 09:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 13:12:02] Production.INFO: ==10879== Lock acquired, processing the job...
[2025-04-12 13:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 13:12:02] Production.INFO: ==10879== Releasing lock...
[2025-04-12 13:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 13:12:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 09:12:03] Production.INFO: ==10885== Lock acquired, processing the job...
[2025-04-12 09:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 09:12:03] Production.INFO: ==10881== Lock acquired, processing the job...
[2025-04-12 09:12:03] Production.INFO: ==10887== Lock acquired, processing the job...
[2025-04-12 09:12:03] Production.INFO: ==10883== Lock acquired, processing the job...
[2025-04-12 09:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 09:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 09:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 09:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 09:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 09:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 09:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 09:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 09:12:03] Production.INFO: ==10889== Lock acquired, processing the job...
[2025-04-12 09:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 09:12:03] Production.INFO: Account Balance Start.
[2025-04-12 09:12:03] Production.INFO: CreateAllLog Start
[2025-04-12 09:12:03] Production.INFO: 117
[2025-04-12 09:12:03] Production.INFO: Date 2025-04-08
[2025-04-12 09:12:03] Production.INFO: Reseller ==> 0
[2025-04-12 09:12:03] Production.INFO: ==10891== Lock acquired, processing the job...
[2025-04-12 09:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 09:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 09:12:03] Production.INFO: Date 2025-04-09
[2025-04-12 09:12:03] Production.INFO: Reseller ==> 0
[2025-04-12 09:12:03] Production.INFO: Date 2025-04-10
[2025-04-12 09:12:03] Production.INFO: Reseller ==> 0
[2025-04-12 09:12:03] Production.INFO: Date 2025-04-11
[2025-04-12 09:12:03] Production.INFO: Reseller ==> 0
[2025-04-12 09:12:03] Production.INFO: ==10883== Releasing lock...
[2025-04-12 09:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 09:12:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 09:12:03] Production.INFO: Date 2025-04-12
[2025-04-12 09:12:03] Production.INFO: Reseller ==> 0
[2025-04-12 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-12 09:12:03] Production.INFO: Total Charge 0
[2025-04-12 09:12:03] Production.INFO: count ==12
[2025-04-12 09: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-12 09:12:03] Production.INFO: count ==23
[2025-04-12 09:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890560') start
[2025-04-12 09:12:03] Production.INFO: CreateAllLog End
[2025-04-12 09:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890560') end
[2025-04-12 09:12:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 09:12:03] Production.INFO: 1
[2025-04-12 09:12:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 09:12:03] Production.INFO: ==10891== Releasing lock...
[2025-04-12 09:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 09:12:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 09:12:03] Production.ERROR: done
[2025-04-12 09:12:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 09:12:04] Production.ERROR: done
[2025-04-12 09:12:04] Production.INFO: Account Balance End.
[2025-04-12 09:12:04] Production.ERROR: CronJobId end 12
[2025-04-12 09:12:04] Production.INFO: ==10887== Releasing lock...
[2025-04-12 09:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 09:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 09:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 06:12:05
[end_date_ymd] => 2025-04-12 09:12:05
[RateCDR] => 1
)
[2025-04-12 09:12:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 06:12:05' and `end` < '2025-04-12 09:12:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 09:12:10] Production.ERROR: CronJobId end10
[2025-04-12 09:12:10] Production.INFO: ==10885== Releasing lock...
[2025-04-12 09:12:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 09:12:10] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 09:12:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 09:12:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 09:12:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 09:12:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 09:12:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 09:12:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 09:12:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 09:12:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 09:12:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 09:12:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 09:12:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 09:12:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 09:12:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 09:12:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 09:12:14] Production.INFO: call_cost start
[2025-04-12 09:12:14] Production.INFO: call_cost end
[2025-04-12 09:12:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 09:12:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 09:12:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 09:12:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 09:12:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 09:12:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 09:12:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 09:12:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 09:12:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 09:12:15] Production.INFO: ==10881== Releasing lock...
[2025-04-12 09:12:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 09:12:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 09:12:17] Production.INFO: count ==282
[2025-04-12 09:12:17] Production.ERROR: pbx CDR StartTime 2025-04-12 06:12:05 - End Time 2025-04-12 09:12:05
[2025-04-12 09:12:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 09:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890561', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890561', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890561', 'tblTempVendorCDR_20' ) start
[2025-04-12 09:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890561', 'tblTempVendorCDR_20' ) end
[2025-04-12 09:12:17] Production.INFO: ProcessCDR(1,14890561,1,1,2)
[2025-04-12 09:12:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890561,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:12:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890561,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:12:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890561,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:12:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890561,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890561', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890561', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:12:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 09:12:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 09:12:21] Production.INFO: ==10889== Releasing lock...
[2025-04-12 09:12:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 09:12:21] Production.INFO: 30.5 MB #Memory Used#
[2025-04-12 14:13:02] Production.INFO: ==10956== Lock acquired, processing the job...
[2025-04-12 14:13:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 14:13:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 14:13:02] Production.INFO: neon service started
[2025-04-12 14:13:02] Production.INFO: neon service started
[2025-04-12 14:13:02] Production.INFO: ==10956== Releasing lock...
[2025-04-12 14:13:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 14:13:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 09:13:02] Production.INFO: ==10958== Lock acquired, processing the job...
[2025-04-12 09:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 13:13:02] Production.INFO: ==10960== Lock acquired, processing the job...
[2025-04-12 13:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 13:13:02] Production.INFO: ==10960== Releasing lock...
[2025-04-12 13:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 13:13:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 09:13:03] Production.INFO: ==10958== Releasing lock...
[2025-04-12 09:13:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 09:13:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 09:13:03] Production.INFO: ==10963== Lock acquired, processing the job...
[2025-04-12 09:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 09:13:03] Production.INFO: ==10965== Lock acquired, processing the job...
[2025-04-12 09:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 09:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 09:13:03] Production.INFO: ==10971== Lock acquired, processing the job...
[2025-04-12 09:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 09:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 09:13:04] Production.INFO: ==10965== Releasing lock...
[2025-04-12 09:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 09:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 09:13:04] Production.INFO: ==10967== Lock acquired, processing the job...
[2025-04-12 09:13:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 09:13:04] Production.INFO: ==10969== Lock acquired, processing the job...
[2025-04-12 09:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 09:13:04] Production.INFO: ==10973== Lock acquired, processing the job...
[2025-04-12 09:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 09:13:04] Production.ERROR: done
[2025-04-12 09:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 09:13:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 09:13:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 09:13:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 09:13:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 09:13:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 09:13:04] Production.INFO: count ==12
[2025-04-12 09:13:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 09:13:04] Production.ERROR: done
[2025-04-12 09:13:04] Production.INFO: count ==23
[2025-04-12 09:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890564') start
[2025-04-12 09:13:04] Production.INFO: Account Balance Start.
[2025-04-12 09:13:04] Production.INFO: CreateAllLog Start
[2025-04-12 09:13:04] Production.INFO: 117
[2025-04-12 09:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890564') end
[2025-04-12 09:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 09:13:04] Production.INFO: 1
[2025-04-12 09:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 09:13:04] Production.INFO: Date 2025-04-08
[2025-04-12 09:13:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:13:04] Production.INFO: Date 2025-04-09
[2025-04-12 09:13:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:13:04] Production.INFO: ==10973== Releasing lock...
[2025-04-12 09:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 09:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 09:13:04] Production.INFO: Date 2025-04-10
[2025-04-12 09:13:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:13:04] Production.INFO: Date 2025-04-11
[2025-04-12 09:13:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:13:05] Production.INFO: Date 2025-04-12
[2025-04-12 09:13:05] Production.INFO: Reseller ==> 0
[2025-04-12 09:13:05] Production.INFO: Total Charge 0
[2025-04-12 09:13:05] Production.INFO: CreateAllLog End
[2025-04-12 09:13:05] Production.INFO: Account Balance End.
[2025-04-12 09:13:05] Production.ERROR: CronJobId end 12
[2025-04-12 09:13:05] Production.INFO: ==10969== Releasing lock...
[2025-04-12 09:13:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 09:13:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 09:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 06:13:05
[end_date_ymd] => 2025-04-12 09:13:05
[RateCDR] => 1
)
[2025-04-12 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-12 06:13:05' and `end` < '2025-04-12 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-12 09:13:12] Production.ERROR: CronJobId end10
[2025-04-12 09:13:12] Production.INFO: ==10967== Releasing lock...
[2025-04-12 09:13:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 09:13:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 09:13:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 09:13:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 09:13:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 09:13:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 09:13:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 09:13:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 09:13:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 09:13:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 09:13:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 09:13:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 09:13:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 09:13:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 09:13:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 09:13:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 09:13:14] Production.INFO: call_cost start
[2025-04-12 09:13:14] Production.INFO: call_cost end
[2025-04-12 09:13:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 09:13:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 09:13:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 09:13:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 09:13:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 09:13:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 09:13:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 09:13:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 09:13:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 09:13:15] Production.INFO: ==10963== Releasing lock...
[2025-04-12 09:13:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 09:13:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 09:13:18] Production.INFO: count ==290
[2025-04-12 09:13:18] Production.ERROR: pbx CDR StartTime 2025-04-12 06:13:05 - End Time 2025-04-12 09:13:05
[2025-04-12 09:13:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 09:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890566', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890566', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890566', 'tblTempVendorCDR_20' ) start
[2025-04-12 09:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890566', 'tblTempVendorCDR_20' ) end
[2025-04-12 09:13:18] Production.INFO: ProcessCDR(1,14890566,1,1,2)
[2025-04-12 09:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890566,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:13:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890566,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:13:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890566,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:13:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890566,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:13:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890566', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:13:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890566', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:13:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 09:13:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 09:13:23] Production.INFO: ==10971== Releasing lock...
[2025-04-12 09:13:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 09:13:23] Production.INFO: 30.5 MB #Memory Used#
[2025-04-12 14:14:01] Production.INFO: ==11025== Lock acquired, processing the job...
[2025-04-12 14:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 14:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 14:14:01] Production.INFO: neon service started
[2025-04-12 14:14:01] Production.INFO: neon service started
[2025-04-12 14:14:01] Production.INFO: ==11025== Releasing lock...
[2025-04-12 14:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 14:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 09:14:01] Production.INFO: ==11027== Lock acquired, processing the job...
[2025-04-12 09:14:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 13:14:02] Production.INFO: ==11029== Lock acquired, processing the job...
[2025-04-12 13:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 13:14:02] Production.INFO: ==11029== Releasing lock...
[2025-04-12 13:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 13:14:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 09:14:02] Production.INFO: ==11027== Releasing lock...
[2025-04-12 09:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 09:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 09:14:03] Production.INFO: ==11031== Lock acquired, processing the job...
[2025-04-12 09:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 09:14:03] Production.INFO: ==11038== Lock acquired, processing the job...
[2025-04-12 09:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 09:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 09:14:03] Production.INFO: ==11043== Lock acquired, processing the job...
[2025-04-12 09:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 09:14:03] Production.INFO: Account Balance Start.
[2025-04-12 09:14:03] Production.INFO: CreateAllLog Start
[2025-04-12 09:14:03] Production.INFO: 117
[2025-04-12 09:14:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 09:14:03] Production.INFO: Date 2025-04-08
[2025-04-12 09:14:03] Production.INFO: Reseller ==> 0
[2025-04-12 09:14:03] Production.INFO: count ==12
[2025-04-12 09:14:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 09:14:03] Production.INFO: count ==23
[2025-04-12 09:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890568') start
[2025-04-12 09:14:03] Production.INFO: Date 2025-04-09
[2025-04-12 09:14:03] Production.INFO: Reseller ==> 0
[2025-04-12 09:14:03] Production.INFO: Date 2025-04-10
[2025-04-12 09:14:03] Production.INFO: Reseller ==> 0
[2025-04-12 09:14:03] Production.INFO: ==11033== Lock acquired, processing the job...
[2025-04-12 09:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 09:14:03] Production.INFO: ==11035== Lock acquired, processing the job...
[2025-04-12 09:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 09:14:03] Production.INFO: Date 2025-04-11
[2025-04-12 09:14:03] Production.INFO: Reseller ==> 0
[2025-04-12 09:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890568') end
[2025-04-12 09:14:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 09:14:03] Production.INFO: 1
[2025-04-12 09:14:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 09:14:03] Production.INFO: ==11043== Releasing lock...
[2025-04-12 09:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 09:14:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 09:14:03] Production.INFO: Date 2025-04-12
[2025-04-12 09:14:03] Production.INFO: Reseller ==> 0
[2025-04-12 09:14:03] Production.INFO: ==11040== Lock acquired, processing the job...
[2025-04-12 09:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 09:14:03] Production.INFO: Total Charge 0
[2025-04-12 09:14:03] Production.INFO: CreateAllLog End
[2025-04-12 09:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 09:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 09:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 09:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 09:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 09:14:03] Production.INFO: Account Balance End.
[2025-04-12 09:14:04] Production.ERROR: CronJobId end 12
[2025-04-12 09:14:04] Production.INFO: ==11038== Releasing lock...
[2025-04-12 09:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 09:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 09:14:04] Production.ERROR: done
[2025-04-12 09:14:04] Production.INFO: ==11033== Releasing lock...
[2025-04-12 09:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 09:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 09:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 09:14:04] Production.ERROR: done
[2025-04-12 09:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 06:14:05
[end_date_ymd] => 2025-04-12 09:14:05
[RateCDR] => 1
)
[2025-04-12 09:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 06:14:05' and `end` < '2025-04-12 09:14:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 09:14:10] Production.ERROR: CronJobId end10
[2025-04-12 09:14:10] Production.INFO: ==11035== Releasing lock...
[2025-04-12 09:14:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 09:14:10] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 09:14:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 09:14:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 09:14:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 09:14:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 09:14:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 09:14:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 09:14:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 09:14:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 09:14:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 09:14:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 09:14:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 09:14:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 09:14:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 09:14:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 09:14:13] Production.INFO: call_cost start
[2025-04-12 09:14:13] Production.INFO: call_cost end
[2025-04-12 09:14:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 09:14:14] Production.INFO: ============== Report Schedule START===========
[2025-04-12 09:14:14] Production.INFO: ============== Report Schedule END===========
[2025-04-12 09:14:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 09:14:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 09:14:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 09:14:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 09:14:14] Production.INFO: ============== Deal alert START===========
[2025-04-12 09:14:14] Production.INFO: ============== Deal alert END===========
[2025-04-12 09:14:14] Production.INFO: ==11031== Releasing lock...
[2025-04-12 09:14:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 09:14:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 09:14:17] Production.INFO: count ==295
[2025-04-12 09:14:17] Production.ERROR: pbx CDR StartTime 2025-04-12 06:14:05 - End Time 2025-04-12 09:14:05
[2025-04-12 09:14:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 09:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890571', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890571', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890571', 'tblTempVendorCDR_20' ) start
[2025-04-12 09:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890571', 'tblTempVendorCDR_20' ) end
[2025-04-12 09:14:17] Production.INFO: ProcessCDR(1,14890571,1,1,2)
[2025-04-12 09:14:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890571,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:14:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890571,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:14:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890571,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:14:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890571,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890571', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890571', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:14:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 09:14:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 09:14:21] Production.INFO: ==11040== Releasing lock...
[2025-04-12 09:14:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 09:14:21] Production.INFO: 30.5 MB #Memory Used#
[2025-04-12 14:15:01] Production.INFO: ==11098== Lock acquired, processing the job...
[2025-04-12 14:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 14:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 14:15:01] Production.INFO: neon service started
[2025-04-12 14:15:01] Production.INFO: neon service started
[2025-04-12 14:15:01] Production.INFO: ==11098== Releasing lock...
[2025-04-12 14:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 14:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 09:15:02] Production.INFO: ==11101== Lock acquired, processing the job...
[2025-04-12 09:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 09:15:02] Production.INFO: ==11101== Releasing lock...
[2025-04-12 09:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 09:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 13:15:02] Production.INFO: ==11103== Lock acquired, processing the job...
[2025-04-12 13:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 13:15:02] Production.INFO: ==11103== Releasing lock...
[2025-04-12 13:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 13:15:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 09:15:03] Production.INFO: ==11111== Lock acquired, processing the job...
[2025-04-12 09:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 09:15:03] Production.INFO: Account Balance Start.
[2025-04-12 09:15:03] Production.INFO: CreateAllLog Start
[2025-04-12 09:15:03] Production.INFO: 117
[2025-04-12 09:15:03] Production.INFO: Date 2025-04-08
[2025-04-12 09:15:03] Production.INFO: Reseller ==> 0
[2025-04-12 09:15:03] Production.INFO: Date 2025-04-09
[2025-04-12 09:15:03] Production.INFO: Reseller ==> 0
[2025-04-12 09:15:03] Production.INFO: Date 2025-04-10
[2025-04-12 09:15:03] Production.INFO: Reseller ==> 0
[2025-04-12 09:15:03] Production.INFO: Date 2025-04-11
[2025-04-12 09:15:03] Production.INFO: Reseller ==> 0
[2025-04-12 09:15:03] Production.INFO: Date 2025-04-12
[2025-04-12 09:15:03] Production.INFO: Reseller ==> 0
[2025-04-12 09:15:03] Production.INFO: Total Charge 0
[2025-04-12 09:15:03] Production.INFO: CreateAllLog End
[2025-04-12 09:15:03] Production.INFO: Account Balance End.
[2025-04-12 09:15:03] Production.INFO: ==11105== Lock acquired, processing the job...
[2025-04-12 09:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 09:15:03] Production.ERROR: CronJobId end 12
[2025-04-12 09:15:03] Production.INFO: ==11111== Releasing lock...
[2025-04-12 09:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 09:15:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 09:15:03] Production.INFO: ==11107== Lock acquired, processing the job...
[2025-04-12 09:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 09:15:03] Production.INFO: ==11109== Lock acquired, processing the job...
[2025-04-12 09:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 09:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 09:15:03] Production.INFO: ==11113== Lock acquired, processing the job...
[2025-04-12 09:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 09:15:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 09:15:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 09:15:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 09:15:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 09:15:04] Production.INFO: ==11115== Lock acquired, processing the job...
[2025-04-12 09:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 09:15:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 09:15:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 09:15:04] Production.INFO: ==11107== Releasing lock...
[2025-04-12 09:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 09:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 09:15:04] Production.INFO: count ==12
[2025-04-12 09:15:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 09:15:04] Production.INFO: count ==23
[2025-04-12 09:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890575') start
[2025-04-12 09:15:04] Production.ERROR: done
[2025-04-12 09:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 09:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890575') end
[2025-04-12 09:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 09:15:04] Production.INFO: 1
[2025-04-12 09:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 09:15:04] Production.INFO: ==11115== Releasing lock...
[2025-04-12 09:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 09:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 09:15:04] Production.ERROR: done
[2025-04-12 09:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 06:15:05
[end_date_ymd] => 2025-04-12 09:15:05
[RateCDR] => 1
)
[2025-04-12 09:15:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 06:15:05' and `end` < '2025-04-12 09:15:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 09:15:12] Production.ERROR: CronJobId end10
[2025-04-12 09:15:12] Production.INFO: ==11109== Releasing lock...
[2025-04-12 09:15:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 09:15:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 09:15:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 09:15:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 09:15:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 09:15:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 09:15:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 09:15:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 09:15:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 09:15:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 09:15:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 09:15:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 09:15:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 09:15:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 09:15:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 09:15:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 09:15:14] Production.INFO: call_cost start
[2025-04-12 09:15:14] Production.INFO: call_cost end
[2025-04-12 09:15:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 09:15:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 09:15:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 09:15:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 09:15:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 09:15:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 09:15:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 09:15:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 09:15:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 09:15:15] Production.INFO: ==11105== Releasing lock...
[2025-04-12 09:15:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 09:15:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 09:15:18] Production.INFO: count ==305
[2025-04-12 09:15:18] Production.ERROR: pbx CDR StartTime 2025-04-12 06:15:05 - End Time 2025-04-12 09:15:05
[2025-04-12 09:15:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 09:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890576', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890576', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890576', 'tblTempVendorCDR_20' ) start
[2025-04-12 09:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890576', 'tblTempVendorCDR_20' ) end
[2025-04-12 09:15:18] Production.INFO: ProcessCDR(1,14890576,1,1,2)
[2025-04-12 09:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890576,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:15:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890576,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:15:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890576,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:15:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890576,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890576', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890576', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:15:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 09:15:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 09:15:22] Production.INFO: ==11113== Releasing lock...
[2025-04-12 09:15:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 09:15:22] Production.INFO: 30.75 MB #Memory Used#
[2025-04-12 14:16:02] Production.INFO: ==11171== Lock acquired, processing the job...
[2025-04-12 14:16:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 14:16:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 14:16:02] Production.INFO: neon service started
[2025-04-12 14:16:02] Production.INFO: neon service started
[2025-04-12 14:16:02] Production.INFO: ==11171== Releasing lock...
[2025-04-12 14:16:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 14:16:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 09:16:02] Production.INFO: ==11173== Lock acquired, processing the job...
[2025-04-12 09:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 09:16:03] Production.INFO: ==11173== Releasing lock...
[2025-04-12 09:16:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 09:16:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 13:16:03] Production.INFO: ==11175== Lock acquired, processing the job...
[2025-04-12 13:16:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 13:16:03] Production.INFO: ==11175== Releasing lock...
[2025-04-12 13:16:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 13:16:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 09:16:03] Production.INFO: ==11182== Lock acquired, processing the job...
[2025-04-12 09:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 09:16:04] Production.INFO: ==11188== Lock acquired, processing the job...
[2025-04-12 09:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 09:16:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 09:16:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 09:16:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 09:16:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 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-12 09:16:04] Production.INFO: count ==12
[2025-04-12 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-12 09:16:04] Production.INFO: count ==23
[2025-04-12 09:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890577') start
[2025-04-12 09:16:04] Production.INFO: ==11180== Lock acquired, processing the job...
[2025-04-12 09:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 09:16:04] Production.INFO: ==11178== Lock acquired, processing the job...
[2025-04-12 09:16:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 09:16:04] Production.INFO: ==11184== Lock acquired, processing the job...
[2025-04-12 09:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 09:16:04] Production.INFO: ==11186== Lock acquired, processing the job...
[2025-04-12 09:16:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 09:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890577') end
[2025-04-12 09:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 09:16:04] Production.INFO: 1
[2025-04-12 09:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 09:16:04] Production.INFO: ==11188== Releasing lock...
[2025-04-12 09:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 09:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 09:16:04] Production.INFO: Account Balance Start.
[2025-04-12 09:16:04] Production.INFO: CreateAllLog Start
[2025-04-12 09:16:04] Production.INFO: 117
[2025-04-12 09:16:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 09:16:04] Production.INFO: Date 2025-04-08
[2025-04-12 09:16:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:16:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 09:16:04] Production.INFO: Date 2025-04-09
[2025-04-12 09:16:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:16:04] Production.INFO: Date 2025-04-10
[2025-04-12 09:16:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:16:04] Production.INFO: Date 2025-04-11
[2025-04-12 09:16:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:16:04] Production.INFO: Date 2025-04-12
[2025-04-12 09:16:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:16:04] Production.INFO: ==11180== Releasing lock...
[2025-04-12 09:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 09:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 09:16:04] Production.INFO: Total Charge 0
[2025-04-12 09:16:04] Production.INFO: CreateAllLog End
[2025-04-12 09:16:04] Production.ERROR: done
[2025-04-12 09:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 09:16:04] Production.ERROR: done
[2025-04-12 09:16:04] Production.INFO: Account Balance End.
[2025-04-12 09:16:04] Production.ERROR: CronJobId end 12
[2025-04-12 09:16:04] Production.INFO: ==11184== Releasing lock...
[2025-04-12 09:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 09:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 09:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 06:16:05
[end_date_ymd] => 2025-04-12 09:16:05
[RateCDR] => 1
)
[2025-04-12 09:16:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 06:16:05' and `end` < '2025-04-12 09:16:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 09:16:12] Production.ERROR: CronJobId end10
[2025-04-12 09:16:12] Production.INFO: ==11182== Releasing lock...
[2025-04-12 09:16:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 09:16:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 09:16:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 09:16:16] Production.INFO: ============== Balance Warning START===========
[2025-04-12 09:16:16] Production.INFO: ============== Balance Warning END===========
[2025-04-12 09:16:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 09:16:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 09:16:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 09:16:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 09:16:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 09:16:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 09:16:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 09:16:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 09:16:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 09:16:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 09:16:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 09:16:16] Production.INFO: call_cost start
[2025-04-12 09:16:16] Production.INFO: call_cost end
[2025-04-12 09:16:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 09:16:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 09:16:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 09:16:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 09:16:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 09:16:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 09:16:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 09:16:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 09:16:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 09:16:17] Production.INFO: ==11178== Releasing lock...
[2025-04-12 09:16:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 09:16:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 09:16:18] Production.INFO: count ==305
[2025-04-12 09:16:18] Production.ERROR: pbx CDR StartTime 2025-04-12 06:16:05 - End Time 2025-04-12 09:16:05
[2025-04-12 09:16:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 09:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890581', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890581', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890581', 'tblTempVendorCDR_20' ) start
[2025-04-12 09:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890581', 'tblTempVendorCDR_20' ) end
[2025-04-12 09:16:18] Production.INFO: ProcessCDR(1,14890581,1,1,2)
[2025-04-12 09:16:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890581,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:16:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890581,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:16:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890581,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:16:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890581,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890581', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890581', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:16:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 09:16:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 09:16:22] Production.INFO: ==11186== Releasing lock...
[2025-04-12 09:16:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 09:16:22] Production.INFO: 30.75 MB #Memory Used#
[2025-04-12 14:17:01] Production.INFO: ==11244== Lock acquired, processing the job...
[2025-04-12 14:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 14:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 14:17:01] Production.INFO: neon service started
[2025-04-12 14:17:01] Production.INFO: neon service started
[2025-04-12 14:17:01] Production.INFO: ==11244== Releasing lock...
[2025-04-12 14:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 14:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 09:17:02] Production.INFO: ==11246== Lock acquired, processing the job...
[2025-04-12 09:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 09:17:02] Production.INFO: ==11246== Releasing lock...
[2025-04-12 09:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 09:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 13:17:02] Production.INFO: ==11248== Lock acquired, processing the job...
[2025-04-12 13:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 13:17:02] Production.INFO: ==11248== Releasing lock...
[2025-04-12 13:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 13:17:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 09:17:03] Production.INFO: ==11253== Lock acquired, processing the job...
[2025-04-12 09:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 09:17:03] Production.INFO: ==11255== Lock acquired, processing the job...
[2025-04-12 09:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 09:17:03] Production.INFO: ==11257== Lock acquired, processing the job...
[2025-04-12 09:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 09:17:03] Production.INFO: ==11251== Lock acquired, processing the job...
[2025-04-12 09:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 09:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 09:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 09:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 09:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 09:17:03] Production.INFO: ==11261== Lock acquired, processing the job...
[2025-04-12 09:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 09:17:03] Production.INFO: Account Balance Start.
[2025-04-12 09:17:03] Production.INFO: CreateAllLog Start
[2025-04-12 09:17:03] Production.INFO: 117
[2025-04-12 09:17:03] Production.INFO: Date 2025-04-08
[2025-04-12 09:17:03] Production.INFO: Reseller ==> 0
[2025-04-12 09:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 09:17:03] Production.INFO: ==11259== Lock acquired, processing the job...
[2025-04-12 09:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 09:17:03] Production.INFO: Date 2025-04-09
[2025-04-12 09:17:03] Production.INFO: Reseller ==> 0
[2025-04-12 09: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-12 09:17:03] Production.INFO: count ==12
[2025-04-12 09: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-12 09:17:03] Production.INFO: count ==23
[2025-04-12 09:17:03] Production.INFO: Date 2025-04-10
[2025-04-12 09:17:03] Production.INFO: Reseller ==> 0
[2025-04-12 09:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 09:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890584') start
[2025-04-12 09:17:03] Production.INFO: Date 2025-04-11
[2025-04-12 09:17:03] Production.INFO: Reseller ==> 0
[2025-04-12 09:17:04] Production.INFO: ==11253== Releasing lock...
[2025-04-12 09:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 09:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 09:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890584') end
[2025-04-12 09:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 09:17:04] Production.INFO: 1
[2025-04-12 09:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 09:17:04] Production.INFO: Date 2025-04-12
[2025-04-12 09:17:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:17:04] Production.INFO: Total Charge 0
[2025-04-12 09:17:04] Production.INFO: CreateAllLog End
[2025-04-12 09:17:04] Production.INFO: ==11261== Releasing lock...
[2025-04-12 09:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 09:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 09:17:04] Production.ERROR: done
[2025-04-12 09:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 09:17:04] Production.INFO: Account Balance End.
[2025-04-12 09:17:04] Production.ERROR: CronJobId end 12
[2025-04-12 09:17:04] Production.INFO: ==11257== Releasing lock...
[2025-04-12 09:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 09:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 09:17:04] Production.ERROR: done
[2025-04-12 09:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 06:17:05
[end_date_ymd] => 2025-04-12 09:17:05
[RateCDR] => 1
)
[2025-04-12 09:17:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 06:17:05' and `end` < '2025-04-12 09:17:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 09:17:12] Production.ERROR: CronJobId end10
[2025-04-12 09:17:12] Production.INFO: ==11255== Releasing lock...
[2025-04-12 09:17:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 09:17:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 09:17:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 09:17:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 09:17:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 09:17:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 09:17:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 09:17:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 09:17:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 09:17:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 09:17:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 09:17:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 09:17:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 09:17:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 09:17:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 09:17:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 09:17:14] Production.INFO: call_cost start
[2025-04-12 09:17:14] Production.INFO: call_cost end
[2025-04-12 09:17:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 09:17:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 09:17:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 09:17:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 09:17:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 09:17:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 09:17:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 09:17:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 09:17:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 09:17:15] Production.INFO: ==11251== Releasing lock...
[2025-04-12 09:17:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 09:17:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 09:17:18] Production.INFO: count ==309
[2025-04-12 09:17:18] Production.ERROR: pbx CDR StartTime 2025-04-12 06:17:05 - End Time 2025-04-12 09:17:05
[2025-04-12 09:17:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 09:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890586', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890586', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890586', 'tblTempVendorCDR_20' ) start
[2025-04-12 09:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890586', 'tblTempVendorCDR_20' ) end
[2025-04-12 09:17:18] Production.INFO: ProcessCDR(1,14890586,1,1,2)
[2025-04-12 09:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890586,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:17:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890586,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:17:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890586,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:17:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890586,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890586', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890586', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:17:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 09:17:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 09:17:22] Production.INFO: ==11259== Releasing lock...
[2025-04-12 09:17:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 09:17:22] Production.INFO: 30.75 MB #Memory Used#
[2025-04-12 14:18:02] Production.INFO: ==11329== Lock acquired, processing the job...
[2025-04-12 14:18:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 14:18:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 14:18:02] Production.INFO: neon service started
[2025-04-12 14:18:02] Production.INFO: neon service started
[2025-04-12 14:18:02] Production.INFO: ==11329== Releasing lock...
[2025-04-12 14:18:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 14:18:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 09:18:02] Production.INFO: ==11331== Lock acquired, processing the job...
[2025-04-12 09:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 13:18:02] Production.INFO: ==11333== Lock acquired, processing the job...
[2025-04-12 13:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 13:18:02] Production.INFO: ==11333== Releasing lock...
[2025-04-12 13:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 13:18:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 09:18:03] Production.INFO: ==11331== Releasing lock...
[2025-04-12 09:18:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 09:18:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 09:18:04] Production.INFO: ==11342== Lock acquired, processing the job...
[2025-04-12 09:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 09:18:04] Production.INFO: ==11344== Lock acquired, processing the job...
[2025-04-12 09:18:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 09:18:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 09:18:04] Production.INFO: Account Balance Start.
[2025-04-12 09:18:04] Production.INFO: CreateAllLog Start
[2025-04-12 09:18:04] Production.INFO: 117
[2025-04-12 09:18:04] Production.INFO: Date 2025-04-08
[2025-04-12 09:18:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:18:04] Production.INFO: ==11336== Lock acquired, processing the job...
[2025-04-12 09:18:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 09:18:04] Production.INFO: Date 2025-04-09
[2025-04-12 09:18:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:18:04] Production.INFO: Date 2025-04-10
[2025-04-12 09:18:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:18:04] Production.INFO: Date 2025-04-11
[2025-04-12 09:18:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:18:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 09:18:04] Production.INFO: Date 2025-04-12
[2025-04-12 09:18:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:18:04] Production.INFO: Total Charge 0
[2025-04-12 09:18:04] Production.INFO: ==11338== Lock acquired, processing the job...
[2025-04-12 09:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 09:18:04] Production.INFO: CreateAllLog End
[2025-04-12 09:18:04] Production.INFO: ==11340== Lock acquired, processing the job...
[2025-04-12 09:18:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 09:18:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 09:18:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 09:18:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 09:18:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 09:18:04] Production.INFO: ==11346== Lock acquired, processing the job...
[2025-04-12 09:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 09:18:04] Production.INFO: Account Balance End.
[2025-04-12 09:18:04] Production.ERROR: CronJobId end 12
[2025-04-12 09:18:04] Production.INFO: ==11342== Releasing lock...
[2025-04-12 09:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 09:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 09:18:04] Production.ERROR: done
[2025-04-12 09:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 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-12 09:18:04] Production.INFO: ==11338== Releasing lock...
[2025-04-12 09:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 09:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 09:18:04] Production.INFO: count ==12
[2025-04-12 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-12 09:18:04] Production.INFO: count ==23
[2025-04-12 09:18:04] Production.ERROR: done
[2025-04-12 09:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890590') start
[2025-04-12 09:18:05] Production.ERROR: PBX CALL prc_importPBXExtension('14890590') end
[2025-04-12 09:18:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 09:18:05] Production.INFO: 1
[2025-04-12 09:18:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 09:18:05] Production.INFO: ==11346== Releasing lock...
[2025-04-12 09:18:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 09:18:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 09:18:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 06:18:06
[end_date_ymd] => 2025-04-12 09:18:06
[RateCDR] => 1
)
[2025-04-12 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-12 06:18:06' and `end` < '2025-04-12 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-12 09:18:11] Production.ERROR: CronJobId end10
[2025-04-12 09:18:11] Production.INFO: ==11340== Releasing lock...
[2025-04-12 09:18:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 09:18:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 09:18:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 09:18:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 09:18:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 09:18:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 09:18:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 09:18:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 09:18:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 09:18:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 09:18:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 09:18:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 09:18:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 09:18:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 09:18:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 09:18:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 09:18:14] Production.INFO: call_cost start
[2025-04-12 09:18:14] Production.INFO: call_cost end
[2025-04-12 09:18:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 09:18:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 09:18:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 09:18:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 09:18:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 09:18:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 09:18:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 09:18:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 09:18:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 09:18:15] Production.INFO: ==11336== Releasing lock...
[2025-04-12 09:18:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 09:18:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 09:18:18] Production.INFO: count ==309
[2025-04-12 09:18:18] Production.ERROR: pbx CDR StartTime 2025-04-12 06:18:06 - End Time 2025-04-12 09:18:06
[2025-04-12 09:18:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 09:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890591', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890591', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890591', 'tblTempVendorCDR_20' ) start
[2025-04-12 09:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890591', 'tblTempVendorCDR_20' ) end
[2025-04-12 09:18:18] Production.INFO: ProcessCDR(1,14890591,1,1,2)
[2025-04-12 09:18:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890591,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:18:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890591,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:18:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890591,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:18:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890591,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890591', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890591', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:18:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 09:18:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 09:18:22] Production.INFO: ==11344== Releasing lock...
[2025-04-12 09:18:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 09:18:22] Production.INFO: 30.75 MB #Memory Used#
[2025-04-12 14:19:01] Production.INFO: ==11403== Lock acquired, processing the job...
[2025-04-12 14:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 14:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 14:19:01] Production.INFO: neon service started
[2025-04-12 14:19:01] Production.INFO: neon service started
[2025-04-12 14:19:01] Production.INFO: ==11403== Releasing lock...
[2025-04-12 14:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 14:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 09:19:02] Production.INFO: ==11405== Lock acquired, processing the job...
[2025-04-12 09:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 09:19:02] Production.INFO: ==11405== Releasing lock...
[2025-04-12 09:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 09:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 13:19:02] Production.INFO: ==11407== Lock acquired, processing the job...
[2025-04-12 13:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 13:19:02] Production.INFO: ==11407== Releasing lock...
[2025-04-12 13:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 13:19:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 09:19:03] Production.INFO: ==11418== Lock acquired, processing the job...
[2025-04-12 09:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 09:19:03] Production.INFO: ==11420== Lock acquired, processing the job...
[2025-04-12 09:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 09:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 09: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-12 09:19:03] Production.INFO: ==11410== Lock acquired, processing the job...
[2025-04-12 09:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 09:19:03] Production.INFO: count ==12
[2025-04-12 09: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-12 09:19:03] Production.INFO: count ==23
[2025-04-12 09:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890592') start
[2025-04-12 09:19:03] Production.INFO: ==11412== Lock acquired, processing the job...
[2025-04-12 09:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 09:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890592') end
[2025-04-12 09:19:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 09:19:03] Production.INFO: 1
[2025-04-12 09:19:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 09:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 09:19:03] Production.INFO: ==11414== Lock acquired, processing the job...
[2025-04-12 09:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 09:19:03] Production.INFO: ==11416== Lock acquired, processing the job...
[2025-04-12 09:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 09:19:03] Production.INFO: ==11420== Releasing lock...
[2025-04-12 09:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 09:19:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 09:19:03] Production.INFO: Account Balance Start.
[2025-04-12 09:19:03] Production.INFO: CreateAllLog Start
[2025-04-12 09:19:03] Production.INFO: 117
[2025-04-12 09:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 09:19:03] Production.ERROR: done
[2025-04-12 09:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 09:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 09:19:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 09:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 09:19:03] Production.INFO: Date 2025-04-08
[2025-04-12 09:19:03] Production.INFO: Reseller ==> 0
[2025-04-12 09:19:03] Production.INFO: Date 2025-04-09
[2025-04-12 09:19:03] Production.INFO: Reseller ==> 0
[2025-04-12 09:19:03] Production.INFO: Date 2025-04-10
[2025-04-12 09:19:03] Production.INFO: Reseller ==> 0
[2025-04-12 09:19:03] Production.INFO: Date 2025-04-11
[2025-04-12 09:19:03] Production.INFO: Reseller ==> 0
[2025-04-12 09:19:03] Production.INFO: Date 2025-04-12
[2025-04-12 09:19:03] Production.INFO: Reseller ==> 0
[2025-04-12 09:19:03] Production.INFO: ==11412== Releasing lock...
[2025-04-12 09:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 09:19:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 09:19:04] Production.INFO: Total Charge 0
[2025-04-12 09:19:04] Production.ERROR: done
[2025-04-12 09:19:04] Production.INFO: CreateAllLog End
[2025-04-12 09:19:04] Production.INFO: Account Balance End.
[2025-04-12 09:19:04] Production.ERROR: CronJobId end 12
[2025-04-12 09:19:04] Production.INFO: ==11416== Releasing lock...
[2025-04-12 09:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 09:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 09:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 06:19:05
[end_date_ymd] => 2025-04-12 09:19:05
[RateCDR] => 1
)
[2025-04-12 09:19:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 06:19:05' and `end` < '2025-04-12 09:19:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 09:19:11] Production.ERROR: CronJobId end10
[2025-04-12 09:19:11] Production.INFO: ==11414== Releasing lock...
[2025-04-12 09:19:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 09:19:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 09:19:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 09:19:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 09:19:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 09:19:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 09:19:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 09:19:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 09:19:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 09:19:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 09:19:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 09:19:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 09:19:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 09:19:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 09:19:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 09:19:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 09:19:14] Production.INFO: call_cost start
[2025-04-12 09:19:14] Production.INFO: call_cost end
[2025-04-12 09:19:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 09:19:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 09:19:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 09:19:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 09:19:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 09:19:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 09:19:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 09:19:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 09:19:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 09:19:15] Production.INFO: ==11410== Releasing lock...
[2025-04-12 09:19:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 09:19:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 09:19:18] Production.INFO: count ==309
[2025-04-12 09:19:18] Production.ERROR: pbx CDR StartTime 2025-04-12 06:19:05 - End Time 2025-04-12 09:19:05
[2025-04-12 09:19:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 09:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890596', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890596', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890596', 'tblTempVendorCDR_20' ) start
[2025-04-12 09:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890596', 'tblTempVendorCDR_20' ) end
[2025-04-12 09:19:18] Production.INFO: ProcessCDR(1,14890596,1,1,2)
[2025-04-12 09:19:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890596,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:19:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890596,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:19:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890596,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:19:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890596,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890596', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890596', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:19:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 09:19:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 09:19:21] Production.INFO: ==11418== Releasing lock...
[2025-04-12 09:19:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 09:19:21] Production.INFO: 30.75 MB #Memory Used#
[2025-04-12 14:20:02] Production.INFO: ==11473== Lock acquired, processing the job...
[2025-04-12 14:20:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 14:20:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 14:20:02] Production.INFO: neon service started
[2025-04-12 14:20:02] Production.INFO: neon service started
[2025-04-12 14:20:02] Production.INFO: ==11473== Releasing lock...
[2025-04-12 14:20:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 14:20:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 09:20:02] Production.INFO: ==11475== Lock acquired, processing the job...
[2025-04-12 09:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 13:20:02] Production.INFO: ==11477== Lock acquired, processing the job...
[2025-04-12 13:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 13:20:02] Production.INFO: ==11477== Releasing lock...
[2025-04-12 13:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 13:20:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 09:20:03] Production.INFO: ==11475== Releasing lock...
[2025-04-12 09:20:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 09:20:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 09:20:04] Production.INFO: ==11488== Lock acquired, processing the job...
[2025-04-12 09:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 09:20:04] Production.INFO: ==11479== Lock acquired, processing the job...
[2025-04-12 09:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 09:20:04] Production.INFO: Account Balance Start.
[2025-04-12 09:20:04] Production.INFO: CreateAllLog Start
[2025-04-12 09:20:04] Production.INFO: 117
[2025-04-12 09:20:04] Production.INFO: Date 2025-04-08
[2025-04-12 09:20:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:20:04] Production.INFO: ==11492== Lock acquired, processing the job...
[2025-04-12 09:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 09:20:04] Production.INFO: Date 2025-04-09
[2025-04-12 09:20:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:20:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 09:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 09:20:04] Production.ERROR: CronJob PID - 11488
[2025-04-12 09:20:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-04-12 09:20:04] Production.ERROR: CronJob ID - 12
[2025-04-12 09:20:04] Production.ERROR: CronJob Last Run Time 2025-04-12 09:20:00
[2025-04-12 09:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 09:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 09:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 09:20:04] Production.INFO: Date 2025-04-10
[2025-04-12 09:20:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:20:04] Production.INFO: ==11482== Lock acquired, processing the job...
[2025-04-12 09:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 09:20:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 09:20:04] Production.INFO: ==11479== Releasing lock...
[2025-04-12 09:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 09:20:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 09:20:04] Production.INFO: Date 2025-04-11
[2025-04-12 09:20:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:20:04] Production.INFO: ==11494== Lock acquired, processing the job...
[2025-04-12 09:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 09:20:04] Production.INFO: Date 2025-04-12
[2025-04-12 09:20:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:20:04] Production.INFO: ==11486== Lock acquired, processing the job...
[2025-04-12 09:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 09:20:04] Production.INFO: Total Charge 0
[2025-04-12 09:20:04] Production.INFO: CreateAllLog End
[2025-04-12 09:20:04] Production.INFO: ==11484== Lock acquired, processing the job...
[2025-04-12 09:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 09:20:04] Production.INFO: ==11490== Lock acquired, processing the job...
[2025-04-12 09:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 09:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 09:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 09:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 09:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 09:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 09:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 09:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 09:20:04] Production.INFO: count ==12
[2025-04-12 09:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 09:20:04] Production.INFO: count ==23
[2025-04-12 09:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890598') start
[2025-04-12 09:20:04] Production.INFO: Account Balance End.
[2025-04-12 09:20:04] Production.ERROR: CronJobId end 12
[2025-04-12 09:20:04] Production.INFO: ==11488== Releasing lock...
[2025-04-12 09:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 09:20:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 09:20:04] Production.ERROR: done
[2025-04-12 09:20:04] Production.INFO: ==11484== Releasing lock...
[2025-04-12 09:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 09:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 09:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890598') end
[2025-04-12 09:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 09:20:04] Production.INFO: 1
[2025-04-12 09:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 09:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 09:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14890601', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 09:20:05] Production.INFO: ==11494== Releasing lock...
[2025-04-12 09:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 09:20:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 09:20:05] Production.ERROR: done
[2025-04-12 09:20:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 09:20:05] Production.ERROR: done
[2025-04-12 09:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 06:20:06
[end_date_ymd] => 2025-04-12 09:20:06
[RateCDR] => 1
)
[2025-04-12 09:20:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 06:20:06' and `end` < '2025-04-12 09:20:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 09:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14890601', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 09:20:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 09:20:09] Production.INFO: ProcessCDR(1,14890601,1,1,2)
[2025-04-12 09:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14890601,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14890601,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:20:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 09:20:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 09:20:09] Production.INFO: ==11492== Releasing lock...
[2025-04-12 09:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 09:20:09] Production.INFO: 26 MB #Memory Used#
[2025-04-12 09:20:14] Production.ERROR: CronJobId end10
[2025-04-12 09:20:14] Production.INFO: ==11486== Releasing lock...
[2025-04-12 09:20:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 09:20:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 09:20:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 09:20:16] Production.INFO: ============== Balance Warning START===========
[2025-04-12 09:20:16] Production.INFO: ============== Balance Warning END===========
[2025-04-12 09:20:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 09:20:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 09:20:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 09:20:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 09:20:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 09:20:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 09:20:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 09:20:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 09:20:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 09:20:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 09:20:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 09:20:16] Production.INFO: call_cost start
[2025-04-12 09:20:16] Production.INFO: call_cost end
[2025-04-12 09:20:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 09:20:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 09:20:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 09:20:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 09:20:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 09:20:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 09:20:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 09:20:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 09:20:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 09:20:17] Production.INFO: ==11482== Releasing lock...
[2025-04-12 09:20:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 09:20:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 09:20:19] Production.INFO: count ==318
[2025-04-12 09:20:19] Production.ERROR: pbx CDR StartTime 2025-04-12 06:20:06 - End Time 2025-04-12 09:20:06
[2025-04-12 09:20:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 09:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890602', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890602', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890602', 'tblTempVendorCDR_20' ) start
[2025-04-12 09:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890602', 'tblTempVendorCDR_20' ) end
[2025-04-12 09:20:19] Production.INFO: ProcessCDR(1,14890602,1,1,2)
[2025-04-12 09:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890602,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:20:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890602,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:20:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890602,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:20:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890602,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:20:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890602', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:20:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890602', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:20:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 09:20:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 09:20:24] Production.INFO: ==11490== Releasing lock...
[2025-04-12 09:20:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 09:20:24] Production.INFO: 30.75 MB #Memory Used#
[2025-04-12 14:21:01] Production.INFO: ==11548== Lock acquired, processing the job...
[2025-04-12 14:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 14:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 14:21:01] Production.INFO: neon service started
[2025-04-12 14:21:01] Production.INFO: neon service started
[2025-04-12 14:21:01] Production.INFO: ==11548== Releasing lock...
[2025-04-12 14:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 14:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 09:21:01] Production.INFO: ==11550== Lock acquired, processing the job...
[2025-04-12 09:21:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 09:21:02] Production.INFO: ==11550== Releasing lock...
[2025-04-12 09:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 09:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 13:21:02] Production.INFO: ==11552== Lock acquired, processing the job...
[2025-04-12 13:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 13:21:02] Production.INFO: ==11552== Releasing lock...
[2025-04-12 13:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 13:21:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 09:21:03] Production.INFO: ==11554== Lock acquired, processing the job...
[2025-04-12 09:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 09:21:03] Production.INFO: ==11560== Lock acquired, processing the job...
[2025-04-12 09:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 09:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 09:21:03] Production.INFO: ==11556== Lock acquired, processing the job...
[2025-04-12 09:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 09:21:03] Production.INFO: ==11564== Lock acquired, processing the job...
[2025-04-12 09:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 09:21:03] Production.INFO: ==11558== Lock acquired, processing the job...
[2025-04-12 09:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 09:21:03] Production.INFO: Account Balance Start.
[2025-04-12 09:21:03] Production.INFO: CreateAllLog Start
[2025-04-12 09:21:03] Production.INFO: 117
[2025-04-12 09:21:03] Production.INFO: Date 2025-04-08
[2025-04-12 09:21:03] Production.INFO: ==11562== Lock acquired, processing the job...
[2025-04-12 09:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 09:21:03] Production.INFO: Reseller ==> 0
[2025-04-12 09:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 09:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 09:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 09:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 09:21:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 09:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 09:21:03] Production.INFO: Date 2025-04-09
[2025-04-12 09:21:03] Production.INFO: Reseller ==> 0
[2025-04-12 09:21:03] Production.INFO: count ==12
[2025-04-12 09:21:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 09:21:03] Production.INFO: count ==23
[2025-04-12 09:21:03] Production.INFO: Date 2025-04-10
[2025-04-12 09:21:03] Production.INFO: Reseller ==> 0
[2025-04-12 09:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890605') start
[2025-04-12 09:21:03] Production.INFO: Date 2025-04-11
[2025-04-12 09:21:03] Production.INFO: Reseller ==> 0
[2025-04-12 09:21:03] Production.INFO: Date 2025-04-12
[2025-04-12 09:21:03] Production.INFO: Reseller ==> 0
[2025-04-12 09:21:03] Production.INFO: ==11556== Releasing lock...
[2025-04-12 09:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 09:21:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 09:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890605') end
[2025-04-12 09:21:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 09:21:03] Production.INFO: 1
[2025-04-12 09:21:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 09:21:03] Production.INFO: Total Charge 0
[2025-04-12 09:21:03] Production.INFO: CreateAllLog End
[2025-04-12 09:21:03] Production.INFO: ==11564== Releasing lock...
[2025-04-12 09:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 09:21:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 09:21:03] Production.ERROR: done
[2025-04-12 09:21:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 09:21:04] Production.INFO: Account Balance End.
[2025-04-12 09:21:04] Production.ERROR: done
[2025-04-12 09:21:04] Production.ERROR: CronJobId end 12
[2025-04-12 09:21:04] Production.INFO: ==11560== Releasing lock...
[2025-04-12 09:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 09:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 09:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 06:21:05
[end_date_ymd] => 2025-04-12 09:21:05
[RateCDR] => 1
)
[2025-04-12 09:21:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 06:21:05' and `end` < '2025-04-12 09:21:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 09:21:12] Production.ERROR: CronJobId end10
[2025-04-12 09:21:12] Production.INFO: ==11558== Releasing lock...
[2025-04-12 09:21:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 09:21:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 09:21:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 09:21:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 09:21:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 09:21:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 09:21:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 09:21:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 09:21:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 09:21:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 09:21:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 09:21:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 09:21:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 09:21:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 09:21:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 09:21:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 09:21:14] Production.INFO: call_cost start
[2025-04-12 09:21:14] Production.INFO: call_cost end
[2025-04-12 09:21:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 09:21:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 09:21:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 09:21:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 09:21:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 09:21:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 09:21:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 09:21:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 09:21:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 09:21:15] Production.INFO: ==11554== Releasing lock...
[2025-04-12 09:21:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 09:21:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 09:21:17] Production.INFO: count ==319
[2025-04-12 09:21:17] Production.ERROR: pbx CDR StartTime 2025-04-12 06:21:05 - End Time 2025-04-12 09:21:05
[2025-04-12 09:21:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 09:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890607', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890607', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890607', 'tblTempVendorCDR_20' ) start
[2025-04-12 09:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890607', 'tblTempVendorCDR_20' ) end
[2025-04-12 09:21:17] Production.INFO: ProcessCDR(1,14890607,1,1,2)
[2025-04-12 09:21:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890607,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:21:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890607,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:21:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890607,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:21:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890607,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:21:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890607', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:21:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890607', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:21:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 09:21:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 09:21:23] Production.INFO: ==11562== Releasing lock...
[2025-04-12 09:21:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 09:21:23] Production.INFO: 30.75 MB #Memory Used#
[2025-04-12 14:22:02] Production.INFO: ==11621== Lock acquired, processing the job...
[2025-04-12 14:22:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 14:22:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 14:22:02] Production.INFO: neon service started
[2025-04-12 14:22:02] Production.INFO: neon service started
[2025-04-12 14:22:02] Production.INFO: ==11621== Releasing lock...
[2025-04-12 14:22:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 14:22:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 13:22:02] Production.INFO: ==11626== Lock acquired, processing the job...
[2025-04-12 13:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 13:22:02] Production.INFO: ==11626== Releasing lock...
[2025-04-12 13:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 13:22:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 09:22:02] Production.INFO: ==11624== Lock acquired, processing the job...
[2025-04-12 09:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 09:22:02] Production.INFO: ==11624== Releasing lock...
[2025-04-12 09:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 09:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 09:22:03] Production.INFO: ==11628== Lock acquired, processing the job...
[2025-04-12 09:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 09:22:03] Production.INFO: ==11634== Lock acquired, processing the job...
[2025-04-12 09:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 09:22:03] Production.INFO: ==11636== Lock acquired, processing the job...
[2025-04-12 09:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 09:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 09:22:03] Production.INFO: ==11630== Lock acquired, processing the job...
[2025-04-12 09:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 09:22:03] Production.INFO: ==11632== Lock acquired, processing the job...
[2025-04-12 09:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 09:22:03] Production.INFO: Account Balance Start.
[2025-04-12 09:22:03] Production.INFO: CreateAllLog Start
[2025-04-12 09:22:03] Production.INFO: 117
[2025-04-12 09:22:03] Production.INFO: Date 2025-04-08
[2025-04-12 09:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 09:22:03] Production.INFO: Reseller ==> 0
[2025-04-12 09:22:04] Production.INFO: Date 2025-04-09
[2025-04-12 09:22:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:22:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 09:22:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 09:22:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 09:22:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 09:22:04] Production.INFO: Date 2025-04-10
[2025-04-12 09:22:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:22:04] Production.INFO: Date 2025-04-11
[2025-04-12 09:22:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:22:04] Production.INFO: ==11638== Lock acquired, processing the job...
[2025-04-12 09:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 09:22:04] Production.INFO: Date 2025-04-12
[2025-04-12 09:22:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:22:04] Production.INFO: Total Charge 0
[2025-04-12 09:22:04] Production.INFO: CreateAllLog End
[2025-04-12 09:22:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 09:22:04] Production.INFO: count ==12
[2025-04-12 09:22:04] Production.ERROR: done
[2025-04-12 09:22:04] Production.INFO: ==11630== Releasing lock...
[2025-04-12 09:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 09:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 09:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 09:22:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 09:22:04] Production.INFO: count ==23
[2025-04-12 09:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890611') start
[2025-04-12 09:22:04] Production.ERROR: done
[2025-04-12 09:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890611') end
[2025-04-12 09:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 09:22:04] Production.INFO: 1
[2025-04-12 09:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 09:22:04] Production.INFO: Account Balance End.
[2025-04-12 09:22:04] Production.INFO: ==11638== Releasing lock...
[2025-04-12 09:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 09:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 09:22:04] Production.ERROR: CronJobId end 12
[2025-04-12 09:22:04] Production.INFO: ==11634== Releasing lock...
[2025-04-12 09:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 09:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 09:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 06:22:05
[end_date_ymd] => 2025-04-12 09:22:05
[RateCDR] => 1
)
[2025-04-12 09:22:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 06:22:05' and `end` < '2025-04-12 09:22:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 09:22:12] Production.ERROR: CronJobId end10
[2025-04-12 09:22:12] Production.INFO: ==11632== Releasing lock...
[2025-04-12 09:22:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 09:22:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 09:22:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 09:22:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 09:22:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 09:22:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 09:22:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 09:22:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 09:22:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 09:22:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 09:22:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 09:22:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 09:22:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 09:22:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 09:22:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 09:22:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 09:22:14] Production.INFO: call_cost start
[2025-04-12 09:22:14] Production.INFO: call_cost end
[2025-04-12 09:22:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 09:22:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 09:22:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 09:22:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 09:22:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 09:22:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 09:22:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 09:22:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 09:22:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 09:22:15] Production.INFO: ==11628== Releasing lock...
[2025-04-12 09:22:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 09:22:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 09:22:18] Production.INFO: count ==324
[2025-04-12 09:22:18] Production.ERROR: pbx CDR StartTime 2025-04-12 06:22:05 - End Time 2025-04-12 09:22:05
[2025-04-12 09:22:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 09:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890612', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890612', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890612', 'tblTempVendorCDR_20' ) start
[2025-04-12 09:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890612', 'tblTempVendorCDR_20' ) end
[2025-04-12 09:22:18] Production.INFO: ProcessCDR(1,14890612,1,1,2)
[2025-04-12 09:22:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890612,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:22:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890612,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:22:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890612,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:22:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890612,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890612', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890612', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:22:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 09:22:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 09:22:22] Production.INFO: ==11636== Releasing lock...
[2025-04-12 09:22:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 09:22:22] Production.INFO: 31 MB #Memory Used#
[2025-04-12 14:23:01] Production.INFO: ==11692== Lock acquired, processing the job...
[2025-04-12 14:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 14:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 14:23:01] Production.INFO: neon service started
[2025-04-12 14:23:01] Production.INFO: neon service started
[2025-04-12 14:23:01] Production.INFO: ==11692== Releasing lock...
[2025-04-12 14:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 14:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 13:23:02] Production.INFO: ==11696== Lock acquired, processing the job...
[2025-04-12 09:23:02] Production.INFO: ==11694== Lock acquired, processing the job...
[2025-04-12 13:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 09:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 13:23:02] Production.INFO: ==11696== Releasing lock...
[2025-04-12 13:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 13:23:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 09:23:03] Production.INFO: ==11694== Releasing lock...
[2025-04-12 09:23:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 09:23:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 09:23:03] Production.INFO: ==11705== Lock acquired, processing the job...
[2025-04-12 09:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 09:23:03] Production.INFO: ==11699== Lock acquired, processing the job...
[2025-04-12 09:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 09:23:03] Production.INFO: Account Balance Start.
[2025-04-12 09:23:03] Production.INFO: CreateAllLog Start
[2025-04-12 09:23:03] Production.INFO: 117
[2025-04-12 09:23:04] Production.INFO: Date 2025-04-08
[2025-04-12 09:23:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:23:04] Production.INFO: ==11703== Lock acquired, processing the job...
[2025-04-12 09:23:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 09:23:04] Production.INFO: ==11701== Lock acquired, processing the job...
[2025-04-12 09:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 09:23:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 09:23:04] Production.INFO: Date 2025-04-09
[2025-04-12 09:23:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:23:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 09:23:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 09:23:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 09:23:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 09:23:04] Production.INFO: Date 2025-04-10
[2025-04-12 09:23:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:23:04] Production.INFO: ==11707== Lock acquired, processing the job...
[2025-04-12 09:23:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 09:23:04] Production.INFO: Date 2025-04-11
[2025-04-12 09:23:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:23:04] Production.INFO: Date 2025-04-12
[2025-04-12 09:23:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:23:04] Production.INFO: ==11709== Lock acquired, processing the job...
[2025-04-12 09:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 09:23:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 09:23:04] Production.INFO: Total Charge 0
[2025-04-12 09:23:04] Production.INFO: CreateAllLog End
[2025-04-12 09:23:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 09:23:04] Production.INFO: count ==12
[2025-04-12 09:23:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 09:23:04] Production.INFO: count ==23
[2025-04-12 09:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890616') start
[2025-04-12 09:23:04] Production.INFO: Account Balance End.
[2025-04-12 09:23:04] Production.ERROR: done
[2025-04-12 09:23:04] Production.INFO: ==11701== Releasing lock...
[2025-04-12 09:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 09:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 09:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 09:23:04] Production.ERROR: CronJobId end 12
[2025-04-12 09:23:04] Production.INFO: ==11705== Releasing lock...
[2025-04-12 09:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 09:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 09:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890616') end
[2025-04-12 09:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 09:23:04] Production.INFO: 1
[2025-04-12 09:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 09:23:04] Production.INFO: ==11709== Releasing lock...
[2025-04-12 09:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 09:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 09:23:04] Production.ERROR: done
[2025-04-12 09:23:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 06:23:06
[end_date_ymd] => 2025-04-12 09:23:06
[RateCDR] => 1
)
[2025-04-12 09:23:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 06:23:06' and `end` < '2025-04-12 09:23:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 09:23:12] Production.ERROR: CronJobId end10
[2025-04-12 09:23:12] Production.INFO: ==11703== Releasing lock...
[2025-04-12 09:23:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 09:23:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 09:23:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 09:23:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 09:23:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 09:23:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 09:23:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 09:23:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 09:23:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 09:23:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 09:23:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 09:23:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 09:23:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 09:23:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 09:23:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 09:23:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 09:23:15] Production.INFO: call_cost start
[2025-04-12 09:23:15] Production.INFO: call_cost end
[2025-04-12 09:23:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 09:23:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 09:23:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 09:23:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 09:23:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 09:23:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 09:23:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 09:23:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 09:23:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 09:23:16] Production.INFO: ==11699== Releasing lock...
[2025-04-12 09:23:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 09:23:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 09:23:19] Production.INFO: count ==329
[2025-04-12 09:23:19] Production.ERROR: pbx CDR StartTime 2025-04-12 06:23:06 - End Time 2025-04-12 09:23:06
[2025-04-12 09:23:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 09:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890617', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890617', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890617', 'tblTempVendorCDR_20' ) start
[2025-04-12 09:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890617', 'tblTempVendorCDR_20' ) end
[2025-04-12 09:23:19] Production.INFO: ProcessCDR(1,14890617,1,1,2)
[2025-04-12 09:23:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890617,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:23:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890617,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:23:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890617,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:23:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890617,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:23:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890617', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:23:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890617', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:23:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 09:23:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 09:23:24] Production.INFO: ==11707== Releasing lock...
[2025-04-12 09:23:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 09:23:24] Production.INFO: 30.75 MB #Memory Used#
[2025-04-12 14:24:02] Production.INFO: ==11770== Lock acquired, processing the job...
[2025-04-12 14:24:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 14:24:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 14:24:02] Production.INFO: neon service started
[2025-04-12 14:24:02] Production.INFO: neon service started
[2025-04-12 14:24:02] Production.INFO: ==11770== Releasing lock...
[2025-04-12 14:24:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 14:24:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 09:24:02] Production.INFO: ==11772== Lock acquired, processing the job...
[2025-04-12 09:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 09:24:02] Production.INFO: ==11772== Releasing lock...
[2025-04-12 09:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 09:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 13:24:03] Production.INFO: ==11774== Lock acquired, processing the job...
[2025-04-12 13:24:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 13:24:03] Production.INFO: ==11774== Releasing lock...
[2025-04-12 13:24:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 13:24:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 09:24:03] Production.INFO: ==11780== Lock acquired, processing the job...
[2025-04-12 09:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 09:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 09:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 09:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 09:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 09:24:04] Production.INFO: ==11786== Lock acquired, processing the job...
[2025-04-12 09:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 09:24:04] Production.INFO: ==11778== Lock acquired, processing the job...
[2025-04-12 09:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 09:24:04] Production.INFO: ==11776== Lock acquired, processing the job...
[2025-04-12 09:24:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 09:24:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 09:24:04] Production.INFO: count ==12
[2025-04-12 09:24:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 09:24:04] Production.INFO: ==11782== Lock acquired, processing the job...
[2025-04-12 09:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 09:24:04] Production.INFO: count ==23
[2025-04-12 09:24:04] Production.INFO: ==11784== Lock acquired, processing the job...
[2025-04-12 09:24:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 09:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890618') start
[2025-04-12 09:24:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 09:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890618') end
[2025-04-12 09:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 09:24:04] Production.INFO: 1
[2025-04-12 09:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 09:24:04] Production.INFO: Account Balance Start.
[2025-04-12 09:24:04] Production.INFO: CreateAllLog Start
[2025-04-12 09:24:04] Production.INFO: 117
[2025-04-12 09:24:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 09:24:04] Production.INFO: Date 2025-04-08
[2025-04-12 09:24:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:24:04] Production.INFO: Date 2025-04-09
[2025-04-12 09:24:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:24:04] Production.INFO: Date 2025-04-10
[2025-04-12 09:24:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:24:04] Production.INFO: Date 2025-04-11
[2025-04-12 09:24:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:24:04] Production.INFO: Date 2025-04-12
[2025-04-12 09:24:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:24:04] Production.INFO: ==11786== Releasing lock...
[2025-04-12 09:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 09:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 09:24:04] Production.INFO: Total Charge 0
[2025-04-12 09:24:04] Production.INFO: ==11778== Releasing lock...
[2025-04-12 09:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 09:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 09:24:04] Production.INFO: CreateAllLog End
[2025-04-12 09:24:04] Production.ERROR: done
[2025-04-12 09:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 09:24:04] Production.ERROR: done
[2025-04-12 09:24:05] Production.INFO: Account Balance End.
[2025-04-12 09:24:05] Production.ERROR: CronJobId end 12
[2025-04-12 09:24:05] Production.INFO: ==11782== Releasing lock...
[2025-04-12 09:24:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 09:24:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 09:24:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 06:24:06
[end_date_ymd] => 2025-04-12 09:24:06
[RateCDR] => 1
)
[2025-04-12 09:24:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 06:24:06' and `end` < '2025-04-12 09:24:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 09:24:12] Production.ERROR: CronJobId end10
[2025-04-12 09:24:12] Production.INFO: ==11780== Releasing lock...
[2025-04-12 09:24:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 09:24:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 09:24:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 09:24:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 09:24:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 09:24:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 09:24:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 09:24:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 09:24:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 09:24:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 09:24:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 09:24:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 09:24:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 09:24:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 09:24:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 09:24:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 09:24:14] Production.INFO: call_cost start
[2025-04-12 09:24:14] Production.INFO: call_cost end
[2025-04-12 09:24:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 09:24:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 09:24:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 09:24:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 09:24:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 09:24:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 09:24:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 09:24:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 09:24:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 09:24:15] Production.INFO: ==11776== Releasing lock...
[2025-04-12 09:24:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 09:24:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 09:24:18] Production.INFO: count ==335
[2025-04-12 09:24:18] Production.ERROR: pbx CDR StartTime 2025-04-12 06:24:06 - End Time 2025-04-12 09:24:06
[2025-04-12 09:24:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 09:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890622', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890622', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890622', 'tblTempVendorCDR_20' ) start
[2025-04-12 09:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890622', 'tblTempVendorCDR_20' ) end
[2025-04-12 09:24:18] Production.INFO: ProcessCDR(1,14890622,1,1,2)
[2025-04-12 09:24:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890622,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:24:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890622,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:24:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890622,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:24:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890622,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:24:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890622', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:24:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890622', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:24:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 09:24:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 09:24:24] Production.INFO: ==11784== Releasing lock...
[2025-04-12 09:24:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 09:24:24] Production.INFO: 30.75 MB #Memory Used#
[2025-04-12 14:25:01] Production.INFO: ==11883== Lock acquired, processing the job...
[2025-04-12 14:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 14:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 14:25:01] Production.INFO: neon service started
[2025-04-12 14:25:01] Production.INFO: neon service started
[2025-04-12 14:25:01] Production.INFO: ==11883== Releasing lock...
[2025-04-12 14:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 14:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 09:25:02] Production.INFO: ==11885== Lock acquired, processing the job...
[2025-04-12 09:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 09:25:02] Production.INFO: ==11885== Releasing lock...
[2025-04-12 09:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 09:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 13:25:02] Production.INFO: ==11887== Lock acquired, processing the job...
[2025-04-12 13:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 13:25:02] Production.INFO: ==11887== Releasing lock...
[2025-04-12 13:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 13:25:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 09:25:03] Production.INFO: ==11899== Lock acquired, processing the job...
[2025-04-12 09:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 09:25:03] Production.INFO: ==11897== Lock acquired, processing the job...
[2025-04-12 09:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 09:25:03] Production.INFO: ==11889== Lock acquired, processing the job...
[2025-04-12 09:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 09:25:03] Production.INFO: ==11891== Lock acquired, processing the job...
[2025-04-12 09:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 09:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 09:25:03] Production.INFO: ==11893== Lock acquired, processing the job...
[2025-04-12 09:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 09:25:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 09:25:03] Production.INFO: ==11895== Lock acquired, processing the job...
[2025-04-12 09:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 09:25:03] Production.INFO: count ==12
[2025-04-12 09:25:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 09:25:03] Production.INFO: count ==23
[2025-04-12 09:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890623') start
[2025-04-12 09:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 09:25:03] Production.INFO: Account Balance Start.
[2025-04-12 09:25:03] Production.INFO: CreateAllLog Start
[2025-04-12 09:25:03] Production.INFO: 117
[2025-04-12 09:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 09:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 09:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 09:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 09:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890623') end
[2025-04-12 09:25:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 09:25:03] Production.INFO: 1
[2025-04-12 09:25:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 09:25:03] Production.INFO: Date 2025-04-08
[2025-04-12 09:25:03] Production.INFO: Reseller ==> 0
[2025-04-12 09:25:03] Production.INFO: Date 2025-04-09
[2025-04-12 09:25:03] Production.INFO: Reseller ==> 0
[2025-04-12 09:25:03] Production.INFO: ==11899== Releasing lock...
[2025-04-12 09:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 09:25:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 09:25:03] Production.INFO: Date 2025-04-10
[2025-04-12 09:25:03] Production.INFO: Reseller ==> 0
[2025-04-12 09:25:03] Production.ERROR: done
[2025-04-12 09:25:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 09:25:03] Production.INFO: Date 2025-04-11
[2025-04-12 09:25:03] Production.INFO: Reseller ==> 0
[2025-04-12 09:25:04] Production.INFO: Date 2025-04-12
[2025-04-12 09:25:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:25:04] Production.INFO: Total Charge 0
[2025-04-12 09:25:04] Production.INFO: CreateAllLog End
[2025-04-12 09:25:04] Production.INFO: ==11891== Releasing lock...
[2025-04-12 09:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 09:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 09:25:04] Production.ERROR: done
[2025-04-12 09:25:04] Production.INFO: Account Balance End.
[2025-04-12 09:25:04] Production.ERROR: CronJobId end 12
[2025-04-12 09:25:04] Production.INFO: ==11895== Releasing lock...
[2025-04-12 09:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 09:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 09:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 06:25:05
[end_date_ymd] => 2025-04-12 09:25:05
[RateCDR] => 1
)
[2025-04-12 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-12 06:25:05' and `end` < '2025-04-12 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-12 09:25:12] Production.ERROR: CronJobId end10
[2025-04-12 09:25:12] Production.INFO: ==11893== Releasing lock...
[2025-04-12 09:25:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 09:25:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 09:25:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 09:25:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 09:25:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 09:25:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 09:25:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 09:25:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 09:25:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 09:25:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 09:25:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 09:25:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 09:25:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 09:25:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 09:25:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 09:25:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 09:25:14] Production.INFO: call_cost start
[2025-04-12 09:25:14] Production.INFO: call_cost end
[2025-04-12 09:25:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 09:25:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 09:25:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 09:25:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 09:25:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 09:25:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 09:25:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 09:25:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 09:25:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 09:25:15] Production.INFO: ==11889== Releasing lock...
[2025-04-12 09:25:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 09:25:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 09:25:18] Production.INFO: count ==335
[2025-04-12 09:25:18] Production.ERROR: pbx CDR StartTime 2025-04-12 06:25:05 - End Time 2025-04-12 09:25:05
[2025-04-12 09:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 09:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890627', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890627', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890627', 'tblTempVendorCDR_20' ) start
[2025-04-12 09:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890627', 'tblTempVendorCDR_20' ) end
[2025-04-12 09:25:18] Production.INFO: ProcessCDR(1,14890627,1,1,2)
[2025-04-12 09:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890627,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:25:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890627,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:25:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890627,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:25:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890627,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890627', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890627', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:25:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 09:25:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 09:25:21] Production.INFO: ==11897== Releasing lock...
[2025-04-12 09:25:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 09:25:21] Production.INFO: 30.75 MB #Memory Used#
[2025-04-12 14:26:02] Production.INFO: ==11955== Lock acquired, processing the job...
[2025-04-12 14:26:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 14:26:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 14:26:02] Production.INFO: neon service started
[2025-04-12 14:26:02] Production.INFO: neon service started
[2025-04-12 14:26:02] Production.INFO: ==11955== Releasing lock...
[2025-04-12 14:26:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 14:26:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 09:26:02] Production.INFO: ==11957== Lock acquired, processing the job...
[2025-04-12 09:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 09:26:02] Production.INFO: ==11957== Releasing lock...
[2025-04-12 09:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 09:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 13:26:03] Production.INFO: ==11959== Lock acquired, processing the job...
[2025-04-12 13:26:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 13:26:03] Production.INFO: ==11959== Releasing lock...
[2025-04-12 13:26:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 13:26:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 09:26:03] Production.INFO: ==11965== Lock acquired, processing the job...
[2025-04-12 09:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 09:26:03] Production.INFO: ==11961== Lock acquired, processing the job...
[2025-04-12 09:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 09:26:03] Production.INFO: ==11963== Lock acquired, processing the job...
[2025-04-12 09:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 09:26:04] Production.INFO: ==11971== Lock acquired, processing the job...
[2025-04-12 09:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 09:26:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 09:26:04] Production.INFO: ==11967== Lock acquired, processing the job...
[2025-04-12 09:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 09:26:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 09:26:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 09:26:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 09:26:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 09:26:04] Production.INFO: ==11969== Lock acquired, processing the job...
[2025-04-12 09:26:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 09:26:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 09:26:04] Production.INFO: count ==12
[2025-04-12 09:26:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 09:26:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 09:26:04] Production.INFO: count ==23
[2025-04-12 09:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890630') start
[2025-04-12 09:26:04] Production.INFO: Account Balance Start.
[2025-04-12 09:26:04] Production.INFO: CreateAllLog Start
[2025-04-12 09:26:04] Production.INFO: 117
[2025-04-12 09:26:04] Production.INFO: Date 2025-04-08
[2025-04-12 09:26:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890630') end
[2025-04-12 09:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 09:26:04] Production.INFO: 1
[2025-04-12 09:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 09:26:04] Production.INFO: Date 2025-04-09
[2025-04-12 09:26:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:26:04] Production.INFO: ==11971== Releasing lock...
[2025-04-12 09:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 09:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 09:26:04] Production.INFO: ==11963== Releasing lock...
[2025-04-12 09:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 09:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 09:26:04] Production.INFO: Date 2025-04-10
[2025-04-12 09:26:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:26:04] Production.INFO: Date 2025-04-11
[2025-04-12 09:26:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:26:04] Production.INFO: Date 2025-04-12
[2025-04-12 09:26:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:26:04] Production.INFO: Total Charge 0
[2025-04-12 09:26:04] Production.INFO: CreateAllLog End
[2025-04-12 09:26:04] Production.ERROR: done
[2025-04-12 09:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 09:26:05] Production.INFO: Account Balance End.
[2025-04-12 09:26:05] Production.ERROR: CronJobId end 12
[2025-04-12 09:26:05] Production.INFO: ==11967== Releasing lock...
[2025-04-12 09:26:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 09:26:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 09:26:05] Production.ERROR: done
[2025-04-12 09:26:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 06:26:06
[end_date_ymd] => 2025-04-12 09:26:06
[RateCDR] => 1
)
[2025-04-12 09: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-12 06:26:06' and `end` < '2025-04-12 09: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-12 09:26:12] Production.ERROR: CronJobId end10
[2025-04-12 09:26:12] Production.INFO: ==11965== Releasing lock...
[2025-04-12 09:26:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 09:26:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 09:26:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 09:26:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 09:26:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 09:26:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 09:26:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 09:26:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 09:26:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 09:26:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 09:26:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 09:26:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 09:26:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 09:26:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 09:26:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 09:26:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 09:26:14] Production.INFO: call_cost start
[2025-04-12 09:26:14] Production.INFO: call_cost end
[2025-04-12 09:26:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 09:26:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 09:26:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 09:26:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 09:26:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 09:26:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 09:26:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 09:26:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 09:26:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 09:26:15] Production.INFO: ==11961== Releasing lock...
[2025-04-12 09:26:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 09:26:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 09:26:19] Production.INFO: count ==338
[2025-04-12 09:26:19] Production.ERROR: pbx CDR StartTime 2025-04-12 06:26:06 - End Time 2025-04-12 09:26:06
[2025-04-12 09:26:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 09:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890632', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890632', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890632', 'tblTempVendorCDR_20' ) start
[2025-04-12 09:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890632', 'tblTempVendorCDR_20' ) end
[2025-04-12 09:26:19] Production.INFO: ProcessCDR(1,14890632,1,1,2)
[2025-04-12 09:26:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890632,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:26:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890632,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:26:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890632,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:26:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890632,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890632', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890632', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:26:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 09:26:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 09:26:22] Production.INFO: ==11969== Releasing lock...
[2025-04-12 09:26:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 09:26:22] Production.INFO: 31.25 MB #Memory Used#
[2025-04-12 14:27:01] Production.INFO: ==12025== Lock acquired, processing the job...
[2025-04-12 14:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 14:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 14:27:01] Production.INFO: neon service started
[2025-04-12 14:27:01] Production.INFO: neon service started
[2025-04-12 14:27:01] Production.INFO: ==12025== Releasing lock...
[2025-04-12 14:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 14:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 09:27:02] Production.INFO: ==12027== Lock acquired, processing the job...
[2025-04-12 09:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 13:27:02] Production.INFO: ==12029== Lock acquired, processing the job...
[2025-04-12 13:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 13:27:02] Production.INFO: ==12029== Releasing lock...
[2025-04-12 13:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 13:27:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 09:27:02] Production.INFO: ==12027== Releasing lock...
[2025-04-12 09:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 09:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 09:27:03] Production.INFO: ==12038== Lock acquired, processing the job...
[2025-04-12 09:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 09:27:03] Production.INFO: ==12042== Lock acquired, processing the job...
[2025-04-12 09:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 09:27:03] Production.INFO: Account Balance Start.
[2025-04-12 09:27:03] Production.INFO: CreateAllLog Start
[2025-04-12 09:27:03] Production.INFO: 117
[2025-04-12 09:27:03] Production.INFO: Date 2025-04-08
[2025-04-12 09:27:03] Production.INFO: Reseller ==> 0
[2025-04-12 09:27:03] Production.INFO: Date 2025-04-09
[2025-04-12 09:27:03] Production.INFO: Reseller ==> 0
[2025-04-12 09:27:03] Production.INFO: Date 2025-04-10
[2025-04-12 09:27:03] Production.INFO: Reseller ==> 0
[2025-04-12 09:27:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 09:27:03] Production.INFO: Date 2025-04-11
[2025-04-12 09:27:03] Production.INFO: Reseller ==> 0
[2025-04-12 09:27:03] Production.INFO: ==12032== Lock acquired, processing the job...
[2025-04-12 09:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 09:27:04] Production.INFO: Date 2025-04-12
[2025-04-12 09:27:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:27:04] Production.INFO: count ==12
[2025-04-12 09:27:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 09:27:04] Production.INFO: count ==23
[2025-04-12 09:27:04] Production.INFO: ==12034== Lock acquired, processing the job...
[2025-04-12 09:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 09:27:04] Production.INFO: Total Charge 0
[2025-04-12 09:27:04] Production.INFO: ==12036== Lock acquired, processing the job...
[2025-04-12 09:27:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 09:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890634') start
[2025-04-12 09:27:04] Production.INFO: CreateAllLog End
[2025-04-12 09:27:04] Production.INFO: ==12040== Lock acquired, processing the job...
[2025-04-12 09:27:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 09:27:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 09:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890634') end
[2025-04-12 09:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 09:27:04] Production.INFO: 1
[2025-04-12 09:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 09:27:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 09:27:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 09:27:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 09:27:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 09:27:04] Production.INFO: Account Balance End.
[2025-04-12 09:27:04] Production.INFO: ==12042== Releasing lock...
[2025-04-12 09:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 09:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 09:27:04] Production.ERROR: CronJobId end 12
[2025-04-12 09:27:04] Production.INFO: ==12038== Releasing lock...
[2025-04-12 09:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 09:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 09:27:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 09:27:04] Production.INFO: ==12034== Releasing lock...
[2025-04-12 09:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 09:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 09:27:04] Production.ERROR: done
[2025-04-12 09:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 09:27:05] Production.ERROR: done
[2025-04-12 09:27:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 06:27:06
[end_date_ymd] => 2025-04-12 09:27:06
[RateCDR] => 1
)
[2025-04-12 09:27:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 06:27:06' and `end` < '2025-04-12 09:27:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 09:27:11] Production.ERROR: CronJobId end10
[2025-04-12 09:27:11] Production.INFO: ==12036== Releasing lock...
[2025-04-12 09:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 09:27:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 09:27:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 09:27:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 09:27:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 09:27:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 09:27:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 09:27:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 09:27:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 09:27:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 09:27:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 09:27:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 09:27:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 09:27:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 09:27:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 09:27:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 09:27:14] Production.INFO: call_cost start
[2025-04-12 09:27:14] Production.INFO: call_cost end
[2025-04-12 09:27:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 09:27:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 09:27:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 09:27:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 09:27:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 09:27:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 09:27:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 09:27:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 09:27:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 09:27:15] Production.INFO: ==12032== Releasing lock...
[2025-04-12 09:27:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 09:27:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 09:27:19] Production.INFO: count ==346
[2025-04-12 09:27:19] Production.ERROR: pbx CDR StartTime 2025-04-12 06:27:06 - End Time 2025-04-12 09:27:06
[2025-04-12 09:27:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 09:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890637', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890637', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890637', 'tblTempVendorCDR_20' ) start
[2025-04-12 09:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890637', 'tblTempVendorCDR_20' ) end
[2025-04-12 09:27:19] Production.INFO: ProcessCDR(1,14890637,1,1,2)
[2025-04-12 09:27:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890637,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:27:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890637,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:27:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890637,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:27:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890637,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:27:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890637', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:27:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890637', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:27:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 09:27:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 09:27:24] Production.INFO: ==12040== Releasing lock...
[2025-04-12 09:27:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 09:27:24] Production.INFO: 31.5 MB #Memory Used#
[2025-04-12 14:28:02] Production.INFO: ==12130== Lock acquired, processing the job...
[2025-04-12 14:28:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 14:28:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 14:28:02] Production.INFO: neon service started
[2025-04-12 14:28:02] Production.INFO: neon service started
[2025-04-12 14:28:02] Production.INFO: ==12130== Releasing lock...
[2025-04-12 14:28:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 14:28:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 09:28:03] Production.INFO: ==12134== Lock acquired, processing the job...
[2025-04-12 09:28:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 13:28:03] Production.INFO: ==12136== Lock acquired, processing the job...
[2025-04-12 13:28:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 13:28:03] Production.INFO: ==12136== Releasing lock...
[2025-04-12 13:28:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 13:28:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 09:28:03] Production.INFO: ==12134== Releasing lock...
[2025-04-12 09:28:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 09:28:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 09:28:04] Production.INFO: ==12143== Lock acquired, processing the job...
[2025-04-12 09:28:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 09:28:04] Production.INFO: ==12145== Lock acquired, processing the job...
[2025-04-12 09:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 09:28:04] Production.INFO: ==12139== Lock acquired, processing the job...
[2025-04-12 09:28:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 09:28:04] Production.INFO: Account Balance Start.
[2025-04-12 09:28:04] Production.INFO: CreateAllLog Start
[2025-04-12 09:28:04] Production.INFO: 117
[2025-04-12 09:28:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 09:28:04] Production.INFO: Date 2025-04-08
[2025-04-12 09:28:04] Production.INFO: ==12141== Lock acquired, processing the job...
[2025-04-12 09:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 09:28:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 09:28:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 09:28:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:28:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 09:28:04] Production.INFO: Date 2025-04-09
[2025-04-12 09:28:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:28:04] Production.INFO: ==12147== Lock acquired, processing the job...
[2025-04-12 09:28:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 09:28:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 09:28:04] Production.INFO: Date 2025-04-10
[2025-04-12 09:28:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:28:04] Production.INFO: ==12149== Lock acquired, processing the job...
[2025-04-12 09:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 09:28:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 09:28:04] Production.INFO: Date 2025-04-11
[2025-04-12 09:28:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:28:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 09:28:04] Production.INFO: Date 2025-04-12
[2025-04-12 09:28:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:28:04] Production.INFO: count ==12
[2025-04-12 09:28:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 09:28:04] Production.INFO: count ==23
[2025-04-12 09:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890641') start
[2025-04-12 09:28:04] Production.INFO: Total Charge 0
[2025-04-12 09:28:05] Production.INFO: CreateAllLog End
[2025-04-12 09:28:05] Production.ERROR: done
[2025-04-12 09:28:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 09:28:05] Production.INFO: ==12141== Releasing lock...
[2025-04-12 09:28:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 09:28:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 09:28:05] Production.ERROR: PBX CALL prc_importPBXExtension('14890641') end
[2025-04-12 09:28:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 09:28:05] Production.INFO: 1
[2025-04-12 09:28:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 09:28:05] Production.INFO: ==12149== Releasing lock...
[2025-04-12 09:28:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 09:28:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 09:28:05] Production.INFO: Account Balance End.
[2025-04-12 09:28:05] Production.ERROR: done
[2025-04-12 09:28:05] Production.ERROR: CronJobId end 12
[2025-04-12 09:28:05] Production.INFO: ==12145== Releasing lock...
[2025-04-12 09:28:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 09:28:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 09:28:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 06:28:06
[end_date_ymd] => 2025-04-12 09:28:06
[RateCDR] => 1
)
[2025-04-12 09: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-12 06:28:06' and `end` < '2025-04-12 09: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-12 09:28:13] Production.ERROR: CronJobId end10
[2025-04-12 09:28:13] Production.INFO: ==12143== Releasing lock...
[2025-04-12 09:28:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 09:28:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 09:28:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 09:28:16] Production.INFO: ============== Balance Warning START===========
[2025-04-12 09:28:16] Production.INFO: ============== Balance Warning END===========
[2025-04-12 09:28:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 09:28:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 09:28:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 09:28:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 09:28:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 09:28:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 09:28:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 09:28:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 09:28:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 09:28:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 09:28:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 09:28:16] Production.INFO: call_cost start
[2025-04-12 09:28:16] Production.INFO: call_cost end
[2025-04-12 09:28:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 09:28:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 09:28:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 09:28:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 09:28:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 09:28:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 09:28:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 09:28:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 09:28:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 09:28:17] Production.INFO: ==12139== Releasing lock...
[2025-04-12 09:28:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 09:28:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 09:28:19] Production.INFO: count ==346
[2025-04-12 09:28:19] Production.ERROR: pbx CDR StartTime 2025-04-12 06:28:06 - End Time 2025-04-12 09:28:06
[2025-04-12 09:28:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 09:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890642', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890642', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890642', 'tblTempVendorCDR_20' ) start
[2025-04-12 09:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890642', 'tblTempVendorCDR_20' ) end
[2025-04-12 09:28:19] Production.INFO: ProcessCDR(1,14890642,1,1,2)
[2025-04-12 09:28:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890642,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:28:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890642,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:28:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890642,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:28:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890642,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890642', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890642', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:28:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 09:28:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 09:28:22] Production.INFO: ==12147== Releasing lock...
[2025-04-12 09:28:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 09:28:22] Production.INFO: 31.5 MB #Memory Used#
[2025-04-12 14:29:01] Production.INFO: ==12208== Lock acquired, processing the job...
[2025-04-12 14:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 14:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 14:29:01] Production.INFO: neon service started
[2025-04-12 14:29:01] Production.INFO: neon service started
[2025-04-12 14:29:01] Production.INFO: ==12208== Releasing lock...
[2025-04-12 14:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 14:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 09:29:02] Production.INFO: ==12210== Lock acquired, processing the job...
[2025-04-12 09:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 13:29:02] Production.INFO: ==12212== Lock acquired, processing the job...
[2025-04-12 13:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 13:29:02] Production.INFO: ==12212== Releasing lock...
[2025-04-12 13:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 13:29:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 09:29:02] Production.INFO: ==12210== Releasing lock...
[2025-04-12 09:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 09:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 09:29:03] Production.INFO: ==12215== Lock acquired, processing the job...
[2025-04-12 09:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 09:29:03] Production.INFO: ==12217== Lock acquired, processing the job...
[2025-04-12 09:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 09:29:03] Production.INFO: ==12219== Lock acquired, processing the job...
[2025-04-12 09:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 09:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 09:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 09:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 09:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 09:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 09:29:04] Production.INFO: ==12221== Lock acquired, processing the job...
[2025-04-12 09:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 09:29:04] Production.INFO: ==12217== Releasing lock...
[2025-04-12 09:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 09:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 09:29:04] Production.INFO: ==12223== Lock acquired, processing the job...
[2025-04-12 09:29:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 09:29:04] Production.INFO: Account Balance Start.
[2025-04-12 09:29:04] Production.INFO: CreateAllLog Start
[2025-04-12 09:29:04] Production.INFO: 117
[2025-04-12 09:29:04] Production.INFO: Date 2025-04-08
[2025-04-12 09:29:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 09:29:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:29:04] Production.INFO: ==12225== Lock acquired, processing the job...
[2025-04-12 09:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 09:29:04] Production.INFO: Date 2025-04-09
[2025-04-12 09:29:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:29:04] Production.INFO: Date 2025-04-10
[2025-04-12 09:29:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:29:04] Production.INFO: Date 2025-04-11
[2025-04-12 09:29:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:29:04] Production.INFO: Date 2025-04-12
[2025-04-12 09:29:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:29:04] Production.INFO: Total Charge 0
[2025-04-12 09:29:04] Production.INFO: CreateAllLog End
[2025-04-12 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-12 09:29:04] Production.INFO: count ==12
[2025-04-12 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-12 09:29:04] Production.INFO: count ==23
[2025-04-12 09:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890646') start
[2025-04-12 09:29:04] Production.ERROR: done
[2025-04-12 09:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 09:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890646') end
[2025-04-12 09:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 09:29:04] Production.INFO: 1
[2025-04-12 09:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 09:29:04] Production.INFO: ==12225== Releasing lock...
[2025-04-12 09:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 09:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 09:29:04] Production.ERROR: done
[2025-04-12 09:29:04] Production.INFO: Account Balance End.
[2025-04-12 09:29:05] Production.ERROR: CronJobId end 12
[2025-04-12 09:29:05] Production.INFO: ==12221== Releasing lock...
[2025-04-12 09:29:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 09:29:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 09:29:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 06:29:06
[end_date_ymd] => 2025-04-12 09:29:06
[RateCDR] => 1
)
[2025-04-12 09:29:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 06:29:06' and `end` < '2025-04-12 09:29:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 09:29:16] Production.ERROR: CronJobId end10
[2025-04-12 09:29:16] Production.INFO: ==12219== Releasing lock...
[2025-04-12 09:29:16] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 09:29:16] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 09:29:18] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 09:29:18] Production.INFO: ============== Balance Warning START===========
[2025-04-12 09:29:18] Production.INFO: ============== Balance Warning END===========
[2025-04-12 09:29:18] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 09:29:18] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 09:29:18] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 09:29:18] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 09:29:18] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 09:29:18] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 09:29:18] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 09:29:18] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 09:29:18] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 09:29:18] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 09:29:18] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 09:29:18] Production.INFO: call_cost start
[2025-04-12 09:29:18] Production.INFO: call_cost end
[2025-04-12 09:29:18] Production.INFO: count ==355
[2025-04-12 09:29:19] Production.ERROR: pbx CDR StartTime 2025-04-12 06:29:06 - End Time 2025-04-12 09:29:06
[2025-04-12 09:29:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 09:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890647', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890647', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890647', 'tblTempVendorCDR_20' ) start
[2025-04-12 09:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890647', 'tblTempVendorCDR_20' ) end
[2025-04-12 09:29:19] Production.INFO: ProcessCDR(1,14890647,1,1,2)
[2025-04-12 09:29:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890647,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:29:20] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 09:29:20] Production.INFO: ============== Report Schedule START===========
[2025-04-12 09:29:20] Production.INFO: ============== Report Schedule END===========
[2025-04-12 09:29:20] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 09:29:20] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 09:29:20] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 09:29:20] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 09:29:20] Production.INFO: ============== Deal alert START===========
[2025-04-12 09:29:20] Production.INFO: ============== Deal alert END===========
[2025-04-12 09:29:20] Production.INFO: ==12215== Releasing lock...
[2025-04-12 09:29:20] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 09:29:20] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 09:29:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890647,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:29:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890647,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:29:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890647,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:29:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890647', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:29:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890647', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:29:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 09:29:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 09:29:24] Production.INFO: ==12223== Releasing lock...
[2025-04-12 09:29:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 09:29:24] Production.INFO: 31.25 MB #Memory Used#
[2025-04-12 14:30:02] Production.INFO: ==12282== Lock acquired, processing the job...
[2025-04-12 14:30:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 14:30:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 14:30:02] Production.INFO: neon service started
[2025-04-12 14:30:02] Production.INFO: neon service started
[2025-04-12 14:30:02] Production.INFO: ==12282== Releasing lock...
[2025-04-12 14:30:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 14:30:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 13:30:02] Production.INFO: ==12286== Lock acquired, processing the job...
[2025-04-12 13:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 13:30:02] Production.INFO: ==12286== Releasing lock...
[2025-04-12 13:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 13:30:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 09:30:02] Production.INFO: ==12284== Lock acquired, processing the job...
[2025-04-12 09:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 09:30:03] Production.INFO: ==12284== Releasing lock...
[2025-04-12 09:30:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 09:30:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 09:30:04] Production.INFO: ==12288== Lock acquired, processing the job...
[2025-04-12 09:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 09:30:04] Production.INFO: ==12290== Lock acquired, processing the job...
[2025-04-12 09:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 09:30:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 09:30:04] Production.INFO: ==12292== Lock acquired, processing the job...
[2025-04-12 09:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 09:30:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 09:30:04] Production.INFO: ==12288== Releasing lock...
[2025-04-12 09:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 09:30:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 09:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 09:30:04] Production.INFO: ==12299== Lock acquired, processing the job...
[2025-04-12 09:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 09:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 09:30:04] Production.INFO: ==12295== Lock acquired, processing the job...
[2025-04-12 09:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 09:30:04] Production.INFO: ==12297== Lock acquired, processing the job...
[2025-04-12 09:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 09:30:04] Production.INFO: ==12292== Releasing lock...
[2025-04-12 09:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 09:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 09:30:04] Production.INFO: ==12301== Lock acquired, processing the job...
[2025-04-12 09:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 09:30:04] Production.INFO: ==12303== Lock acquired, processing the job...
[2025-04-12 09:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 09:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 09:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 09:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 09:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 09:30:04] Production.INFO: Account Balance Start.
[2025-04-12 09:30:04] Production.INFO: CreateAllLog Start
[2025-04-12 09:30:04] Production.INFO: 117
[2025-04-12 09:30:04] Production.INFO: Date 2025-04-08
[2025-04-12 09:30:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:30:04] Production.INFO: Date 2025-04-09
[2025-04-12 09:30:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:30:04] Production.INFO: Date 2025-04-10
[2025-04-12 09:30:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:30:04] Production.INFO: Date 2025-04-11
[2025-04-12 09:30:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:30:04] Production.ERROR: done
[2025-04-12 09:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 09:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 09:30:04] Production.INFO: Date 2025-04-12
[2025-04-12 09:30:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:30:04] Production.INFO: Total Charge 0
[2025-04-12 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-12 09:30:04] Production.INFO: CreateAllLog End
[2025-04-12 09:30:04] Production.INFO: count ==12
[2025-04-12 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-12 09:30:05] Production.INFO: count ==23
[2025-04-12 09:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14890651') start
[2025-04-12 09:30:05] Production.ERROR: done
[2025-04-12 09:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14890651') end
[2025-04-12 09:30:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 09:30:05] Production.INFO: 1
[2025-04-12 09:30:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 09:30:05] Production.INFO: Account Balance End.
[2025-04-12 09:30:05] Production.INFO: ==12303== Releasing lock...
[2025-04-12 09:30:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 09:30:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 09:30:05] Production.ERROR: done
[2025-04-12 09:30:05] Production.ERROR: CronJobId end 12
[2025-04-12 09:30:05] Production.INFO: ==12297== Releasing lock...
[2025-04-12 09:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 09:30:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 09:30:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 09:30:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14890653', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 09:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 06:30:06
[end_date_ymd] => 2025-04-12 09:30:06
[RateCDR] => 1
)
[2025-04-12 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-12 06:30:06' and `end` < '2025-04-12 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-12 09:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14890653', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 09:30:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 09:30:09] Production.INFO: ProcessCDR(1,14890653,1,1,2)
[2025-04-12 09:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14890653,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14890653,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 09:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 09:30:09] Production.INFO: ==12301== Releasing lock...
[2025-04-12 09:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 09:30:09] Production.INFO: 26 MB #Memory Used#
[2025-04-12 09:30:14] Production.ERROR: CronJobId end10
[2025-04-12 09:30:14] Production.INFO: ==12295== Releasing lock...
[2025-04-12 09:30:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 09:30:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 09:30:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 09:30:16] Production.INFO: ============== Balance Warning START===========
[2025-04-12 09:30:16] Production.INFO: ============== Balance Warning END===========
[2025-04-12 09:30:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 09:30:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 09:30:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 09:30:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 09:30:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 09:30:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 09:30:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 09:30:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 09:30:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 09:30:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 09:30:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 09:30:16] Production.INFO: call_cost start
[2025-04-12 09:30:16] Production.INFO: call_cost end
[2025-04-12 09:30:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 09:30:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 09:30:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 09:30:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 09:30:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 09:30:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 09:30:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 09:30:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 09:30:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 09:30:17] Production.INFO: ==12290== Releasing lock...
[2025-04-12 09:30:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 09:30:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 09:30:18] Production.INFO: count ==364
[2025-04-12 09:30:19] Production.ERROR: pbx CDR StartTime 2025-04-12 06:30:06 - End Time 2025-04-12 09:30:06
[2025-04-12 09:30:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 09:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890652', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890652', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890652', 'tblTempVendorCDR_20' ) start
[2025-04-12 09:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890652', 'tblTempVendorCDR_20' ) end
[2025-04-12 09:30:19] Production.INFO: ProcessCDR(1,14890652,1,1,2)
[2025-04-12 09:30:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890652,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:30:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890652,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:30:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890652,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:30:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890652,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:30:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890652', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:30:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890652', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:30:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 09:30:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 09:30:24] Production.INFO: ==12299== Releasing lock...
[2025-04-12 09:30:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 09:30:24] Production.INFO: 31 MB #Memory Used#
[2025-04-12 14:31:01] Production.INFO: ==12357== Lock acquired, processing the job...
[2025-04-12 14:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 14:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 14:31:01] Production.INFO: neon service started
[2025-04-12 14:31:01] Production.INFO: neon service started
[2025-04-12 14:31:01] Production.INFO: ==12357== Releasing lock...
[2025-04-12 14:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 14:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 13:31:02] Production.INFO: ==12361== Lock acquired, processing the job...
[2025-04-12 13:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 13:31:02] Production.INFO: ==12361== Releasing lock...
[2025-04-12 13:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 13:31:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 09:31:02] Production.INFO: ==12359== Lock acquired, processing the job...
[2025-04-12 09:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 09:31:02] Production.INFO: ==12359== Releasing lock...
[2025-04-12 09:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 09:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 09:31:03] Production.INFO: ==12368== Lock acquired, processing the job...
[2025-04-12 09:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 09:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 09:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 09:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 09:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 09:31:03] Production.INFO: ==12374== Lock acquired, processing the job...
[2025-04-12 09:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 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-12 09:31:03] Production.INFO: ==12364== Lock acquired, processing the job...
[2025-04-12 09:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 09:31:03] Production.INFO: count ==12
[2025-04-12 09:31:03] Production.INFO: ==12366== Lock acquired, processing the job...
[2025-04-12 09:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 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-12 09:31:03] Production.INFO: count ==23
[2025-04-12 09:31:03] Production.INFO: ==12370== Lock acquired, processing the job...
[2025-04-12 09:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 09:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890654') start
[2025-04-12 09:31:03] Production.INFO: ==12372== Lock acquired, processing the job...
[2025-04-12 09:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 09:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 09:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890654') end
[2025-04-12 09:31:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 09:31:03] Production.INFO: 1
[2025-04-12 09:31:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 09:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 09:31:03] Production.INFO: Account Balance Start.
[2025-04-12 09:31:03] Production.INFO: CreateAllLog Start
[2025-04-12 09:31:03] Production.INFO: 117
[2025-04-12 09:31:03] Production.INFO: Date 2025-04-08
[2025-04-12 09:31:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:31:04] Production.INFO: ==12374== Releasing lock...
[2025-04-12 09:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 09:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 09:31:04] Production.INFO: Date 2025-04-09
[2025-04-12 09:31:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:31:04] Production.INFO: Date 2025-04-10
[2025-04-12 09:31:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:31:04] Production.INFO: Date 2025-04-11
[2025-04-12 09:31:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:31:04] Production.INFO: Date 2025-04-12
[2025-04-12 09:31:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:31:04] Production.INFO: Total Charge 0
[2025-04-12 09:31:04] Production.INFO: CreateAllLog End
[2025-04-12 09:31:04] Production.INFO: ==12366== Releasing lock...
[2025-04-12 09:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 09:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 09:31:04] Production.ERROR: done
[2025-04-12 09:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 09:31:04] Production.ERROR: done
[2025-04-12 09:31:04] Production.INFO: Account Balance End.
[2025-04-12 09:31:04] Production.ERROR: CronJobId end 12
[2025-04-12 09:31:04] Production.INFO: ==12370== Releasing lock...
[2025-04-12 09:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 09:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 09:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 06:31:05
[end_date_ymd] => 2025-04-12 09:31:05
[RateCDR] => 1
)
[2025-04-12 09:31:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 06:31:05' and `end` < '2025-04-12 09:31:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 09:31:11] Production.ERROR: CronJobId end10
[2025-04-12 09:31:11] Production.INFO: ==12368== Releasing lock...
[2025-04-12 09:31:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 09:31:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 09:31:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 09:31:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 09:31:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 09:31:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 09:31:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 09:31:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 09:31:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 09:31:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 09:31:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 09:31:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 09:31:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 09:31:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 09:31:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 09:31:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 09:31:14] Production.INFO: call_cost start
[2025-04-12 09:31:14] Production.INFO: call_cost end
[2025-04-12 09:31:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 09:31:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 09:31:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 09:31:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 09:31:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 09:31:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 09:31:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 09:31:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 09:31:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 09:31:15] Production.INFO: ==12364== Releasing lock...
[2025-04-12 09:31:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 09:31:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 09:31:18] Production.INFO: count ==375
[2025-04-12 09:31:18] Production.ERROR: pbx CDR StartTime 2025-04-12 06:31:05 - End Time 2025-04-12 09:31:05
[2025-04-12 09:31:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 09:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890658', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890658', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890658', 'tblTempVendorCDR_20' ) start
[2025-04-12 09:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890658', 'tblTempVendorCDR_20' ) end
[2025-04-12 09:31:18] Production.INFO: ProcessCDR(1,14890658,1,1,2)
[2025-04-12 09:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890658,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:31:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890658,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:31:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890658,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:31:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890658,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890658', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890658', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:31:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 09:31:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 09:31:22] Production.INFO: ==12372== Releasing lock...
[2025-04-12 09:31:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 09:31:22] Production.INFO: 31.5 MB #Memory Used#
[2025-04-12 14:32:02] Production.INFO: ==12427== Lock acquired, processing the job...
[2025-04-12 14:32:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 14:32:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 14:32:02] Production.INFO: neon service started
[2025-04-12 14:32:02] Production.INFO: neon service started
[2025-04-12 14:32:02] Production.INFO: ==12427== Releasing lock...
[2025-04-12 14:32:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 14:32:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 09:32:02] Production.INFO: ==12429== Lock acquired, processing the job...
[2025-04-12 09:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 13:32:02] Production.INFO: ==12431== Lock acquired, processing the job...
[2025-04-12 13:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 09:32:03] Production.INFO: ==12429== Releasing lock...
[2025-04-12 09:32:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 09:32:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 13:32:03] Production.INFO: ==12431== Releasing lock...
[2025-04-12 13:32:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 13:32:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 09:32:03] Production.INFO: ==12441== Lock acquired, processing the job...
[2025-04-12 09:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 09:32:04] Production.INFO: ==12443== Lock acquired, processing the job...
[2025-04-12 09:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 09:32:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 09:32:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 09:32:04] Production.INFO: count ==12
[2025-04-12 09:32:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 09:32:04] Production.INFO: ==12433== Lock acquired, processing the job...
[2025-04-12 09:32:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 09:32:04] Production.INFO: count ==23
[2025-04-12 09:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890659') start
[2025-04-12 09:32:04] Production.INFO: ==12435== Lock acquired, processing the job...
[2025-04-12 09:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 09:32:04] Production.INFO: ==12437== Lock acquired, processing the job...
[2025-04-12 09:32:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 09:32:04] Production.INFO: ==12439== Lock acquired, processing the job...
[2025-04-12 09:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 09:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890659') end
[2025-04-12 09:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 09:32:04] Production.INFO: 1
[2025-04-12 09:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 09:32:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 09:32:04] Production.INFO: ==12443== Releasing lock...
[2025-04-12 09:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 09:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 09:32:04] Production.ERROR: done
[2025-04-12 09:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 09:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 09:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 09:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 09:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 09:32:04] Production.INFO: Account Balance Start.
[2025-04-12 09:32:04] Production.INFO: CreateAllLog Start
[2025-04-12 09:32:04] Production.INFO: 117
[2025-04-12 09:32:04] Production.INFO: Date 2025-04-08
[2025-04-12 09:32:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:32:04] Production.INFO: Date 2025-04-09
[2025-04-12 09:32:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:32:04] Production.INFO: Date 2025-04-10
[2025-04-12 09:32:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:32:04] Production.INFO: Date 2025-04-11
[2025-04-12 09:32:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:32:04] Production.INFO: ==12435== Releasing lock...
[2025-04-12 09:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 09:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 09:32:04] Production.INFO: Date 2025-04-12
[2025-04-12 09:32:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:32:04] Production.ERROR: done
[2025-04-12 09:32:04] Production.INFO: Total Charge 0
[2025-04-12 09:32:04] Production.INFO: CreateAllLog End
[2025-04-12 09:32:05] Production.INFO: Account Balance End.
[2025-04-12 09:32:05] Production.ERROR: CronJobId end 12
[2025-04-12 09:32:05] Production.INFO: ==12439== Releasing lock...
[2025-04-12 09:32:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 09:32:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 09:32:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 06:32:06
[end_date_ymd] => 2025-04-12 09:32:06
[RateCDR] => 1
)
[2025-04-12 09:32:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 06:32:06' and `end` < '2025-04-12 09:32:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 09:32:12] Production.ERROR: CronJobId end10
[2025-04-12 09:32:12] Production.INFO: ==12437== Releasing lock...
[2025-04-12 09:32:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 09:32:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 09:32:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 09:32:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 09:32:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 09:32:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 09:32:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 09:32:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 09:32:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 09:32:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 09:32:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 09:32:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 09:32:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 09:32:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 09:32:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 09:32:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 09:32:15] Production.INFO: call_cost start
[2025-04-12 09:32:15] Production.INFO: call_cost end
[2025-04-12 09:32:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 09:32:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 09:32:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 09:32:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 09:32:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 09:32:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 09:32:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 09:32:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 09:32:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 09:32:16] Production.INFO: ==12433== Releasing lock...
[2025-04-12 09:32:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 09:32:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 09:32:18] Production.INFO: count ==372
[2025-04-12 09:32:19] Production.ERROR: pbx CDR StartTime 2025-04-12 06:32:06 - End Time 2025-04-12 09:32:06
[2025-04-12 09:32:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 09:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890663', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890663', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890663', 'tblTempVendorCDR_20' ) start
[2025-04-12 09:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890663', 'tblTempVendorCDR_20' ) end
[2025-04-12 09:32:19] Production.INFO: ProcessCDR(1,14890663,1,1,2)
[2025-04-12 09:32:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890663,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:32:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890663,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:32:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890663,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:32:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890663,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:32:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890663', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:32:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890663', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:32:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 09:32:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 09:32:23] Production.INFO: ==12441== Releasing lock...
[2025-04-12 09:32:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 09:32:23] Production.INFO: 31 MB #Memory Used#
[2025-04-12 14:33:01] Production.INFO: ==12497== Lock acquired, processing the job...
[2025-04-12 14:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 14:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 14:33:01] Production.INFO: neon service started
[2025-04-12 14:33:01] Production.INFO: neon service started
[2025-04-12 14:33:01] Production.INFO: ==12497== Releasing lock...
[2025-04-12 14:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 14:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 09:33:01] Production.INFO: ==12499== Lock acquired, processing the job...
[2025-04-12 09:33:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 09:33:02] Production.INFO: ==12499== Releasing lock...
[2025-04-12 09:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 09:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 13:33:02] Production.INFO: ==12501== Lock acquired, processing the job...
[2025-04-12 13:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 13:33:02] Production.INFO: ==12501== Releasing lock...
[2025-04-12 13:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 13:33:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 09:33:02] Production.INFO: ==12503== Lock acquired, processing the job...
[2025-04-12 09:33:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 09:33:03] Production.INFO: ==12505== Lock acquired, processing the job...
[2025-04-12 09:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 09:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 09:33:03] Production.INFO: ==12507== Lock acquired, processing the job...
[2025-04-12 09:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 09:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 09:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 09:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 09:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 09:33:03] Production.INFO: ==12509== Lock acquired, processing the job...
[2025-04-12 09:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 09:33:03] Production.INFO: ==12513== Lock acquired, processing the job...
[2025-04-12 09:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 09:33:03] Production.INFO: ==12511== Lock acquired, processing the job...
[2025-04-12 09:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 09:33:03] Production.INFO: Account Balance Start.
[2025-04-12 09:33:03] Production.INFO: CreateAllLog Start
[2025-04-12 09:33:03] Production.INFO: 117
[2025-04-12 09:33:03] Production.INFO: Date 2025-04-08
[2025-04-12 09:33:03] Production.INFO: Reseller ==> 0
[2025-04-12 09:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 09:33:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 09:33:03] Production.INFO: count ==12
[2025-04-12 09:33:03] Production.INFO: Date 2025-04-09
[2025-04-12 09:33:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 09:33:03] Production.INFO: count ==23
[2025-04-12 09:33:03] Production.INFO: Reseller ==> 0
[2025-04-12 09:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890667') start
[2025-04-12 09:33:03] Production.INFO: Date 2025-04-10
[2025-04-12 09:33:03] Production.INFO: Reseller ==> 0
[2025-04-12 09:33:03] Production.INFO: Date 2025-04-11
[2025-04-12 09:33:03] Production.INFO: Reseller ==> 0
[2025-04-12 09:33:03] Production.INFO: ==12505== Releasing lock...
[2025-04-12 09:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 09:33:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 09:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890667') end
[2025-04-12 09:33:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 09:33:03] Production.INFO: 1
[2025-04-12 09:33:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 09:33:03] Production.INFO: Date 2025-04-12
[2025-04-12 09:33:03] Production.INFO: Reseller ==> 0
[2025-04-12 09:33:03] Production.INFO: Total Charge 0
[2025-04-12 09:33:03] Production.INFO: CreateAllLog End
[2025-04-12 09:33:04] Production.INFO: ==12513== Releasing lock...
[2025-04-12 09:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 09:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 09:33:04] Production.ERROR: done
[2025-04-12 09:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 09:33:04] Production.INFO: Account Balance End.
[2025-04-12 09:33:04] Production.ERROR: CronJobId end 12
[2025-04-12 09:33:04] Production.INFO: ==12509== Releasing lock...
[2025-04-12 09:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 09:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 09:33:04] Production.ERROR: done
[2025-04-12 09:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 06:33:05
[end_date_ymd] => 2025-04-12 09:33:05
[RateCDR] => 1
)
[2025-04-12 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-12 06:33:05' and `end` < '2025-04-12 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-12 09:33:11] Production.ERROR: CronJobId end10
[2025-04-12 09:33:11] Production.INFO: ==12507== Releasing lock...
[2025-04-12 09:33:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 09:33:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 09:33:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 09:33:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 09:33:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 09:33:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 09:33:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 09:33:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 09:33:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 09:33:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 09:33:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 09:33:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 09:33:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 09:33:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 09:33:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 09:33:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 09:33:13] Production.INFO: call_cost start
[2025-04-12 09:33:13] Production.INFO: call_cost end
[2025-04-12 09:33:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 09:33:14] Production.INFO: ============== Report Schedule START===========
[2025-04-12 09:33:14] Production.INFO: ============== Report Schedule END===========
[2025-04-12 09:33:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 09:33:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 09:33:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 09:33:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 09:33:14] Production.INFO: ============== Deal alert START===========
[2025-04-12 09:33:14] Production.INFO: ============== Deal alert END===========
[2025-04-12 09:33:14] Production.INFO: ==12503== Releasing lock...
[2025-04-12 09:33:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 09:33:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 09:33:18] Production.INFO: count ==371
[2025-04-12 09:33:18] Production.ERROR: pbx CDR StartTime 2025-04-12 06:33:05 - End Time 2025-04-12 09:33:05
[2025-04-12 09:33:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 09:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890668', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890668', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890668', 'tblTempVendorCDR_20' ) start
[2025-04-12 09:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890668', 'tblTempVendorCDR_20' ) end
[2025-04-12 09:33:18] Production.INFO: ProcessCDR(1,14890668,1,1,2)
[2025-04-12 09:33:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890668,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:33:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890668,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:33:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890668,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:33:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890668,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890668', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890668', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:33:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 09:33:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 09:33:21] Production.INFO: ==12511== Releasing lock...
[2025-04-12 09:33:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 09:33:21] Production.INFO: 31.5 MB #Memory Used#
[2025-04-12 14:34:02] Production.INFO: ==12567== Lock acquired, processing the job...
[2025-04-12 14:34:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 14:34:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 14:34:02] Production.INFO: neon service started
[2025-04-12 14:34:02] Production.INFO: neon service started
[2025-04-12 14:34:02] Production.INFO: ==12567== Releasing lock...
[2025-04-12 14:34:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 14:34:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 09:34:02] Production.INFO: ==12569== Lock acquired, processing the job...
[2025-04-12 09:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 09:34:02] Production.INFO: ==12569== Releasing lock...
[2025-04-12 09:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 09:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 13:34:03] Production.INFO: ==12571== Lock acquired, processing the job...
[2025-04-12 13:34:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 13:34:03] Production.INFO: ==12571== Releasing lock...
[2025-04-12 13:34:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 13:34:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 09:34:03] Production.INFO: ==12574== Lock acquired, processing the job...
[2025-04-12 09:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 09:34:03] Production.INFO: ==12576== Lock acquired, processing the job...
[2025-04-12 09:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 09:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 09:34:03] Production.INFO: ==12584== Lock acquired, processing the job...
[2025-04-12 09:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 09:34:04] Production.INFO: ==12578== Lock acquired, processing the job...
[2025-04-12 09:34:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 09:34:04] Production.INFO: ==12580== Lock acquired, processing the job...
[2025-04-12 09:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 09:34:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 09:34:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 09:34:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 09:34:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 09:34:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 09:34:04] Production.INFO: ==12582== Lock acquired, processing the job...
[2025-04-12 09:34:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 09:34:04] Production.INFO: count ==12
[2025-04-12 09:34:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 09:34:04] Production.INFO: Account Balance Start.
[2025-04-12 09:34:04] Production.INFO: CreateAllLog Start
[2025-04-12 09:34:04] Production.INFO: 117
[2025-04-12 09:34:04] Production.INFO: Date 2025-04-08
[2025-04-12 09:34:04] Production.INFO: count ==23
[2025-04-12 09:34:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 09:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890671') start
[2025-04-12 09:34:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:34:04] Production.INFO: Date 2025-04-09
[2025-04-12 09:34:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:34:04] Production.INFO: ==12576== Releasing lock...
[2025-04-12 09:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 09:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 09:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890671') end
[2025-04-12 09:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 09:34:04] Production.INFO: 1
[2025-04-12 09:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 09:34:04] Production.INFO: Date 2025-04-10
[2025-04-12 09:34:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:34:04] Production.INFO: Date 2025-04-11
[2025-04-12 09:34:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:34:04] Production.INFO: Date 2025-04-12
[2025-04-12 09:34:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:34:04] Production.INFO: Total Charge 0
[2025-04-12 09:34:04] Production.INFO: ==12584== Releasing lock...
[2025-04-12 09:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 09:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 09:34:04] Production.INFO: CreateAllLog End
[2025-04-12 09:34:04] Production.ERROR: done
[2025-04-12 09:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 09:34:04] Production.ERROR: done
[2025-04-12 09:34:05] Production.INFO: Account Balance End.
[2025-04-12 09:34:05] Production.ERROR: CronJobId end 12
[2025-04-12 09:34:05] Production.INFO: ==12580== Releasing lock...
[2025-04-12 09:34:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 09:34:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 09:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 06:34:05
[end_date_ymd] => 2025-04-12 09:34:05
[RateCDR] => 1
)
[2025-04-12 09:34:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 06:34:05' and `end` < '2025-04-12 09:34:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 09:34:11] Production.ERROR: CronJobId end10
[2025-04-12 09:34:11] Production.INFO: ==12578== Releasing lock...
[2025-04-12 09:34:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 09:34:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 09:34:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 09:34:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 09:34:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 09:34:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 09:34:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 09:34:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 09:34:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 09:34:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 09:34:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 09:34:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 09:34:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 09:34:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 09:34:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 09:34:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 09:34:14] Production.INFO: call_cost start
[2025-04-12 09:34:14] Production.INFO: call_cost end
[2025-04-12 09:34:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 09:34:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 09:34:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 09:34:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 09:34:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 09:34:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 09:34:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 09:34:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 09:34:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 09:34:15] Production.INFO: ==12574== Releasing lock...
[2025-04-12 09:34:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 09:34:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 09:34:18] Production.INFO: count ==376
[2025-04-12 09:34:18] Production.ERROR: pbx CDR StartTime 2025-04-12 06:34:05 - End Time 2025-04-12 09:34:05
[2025-04-12 09:34:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 09:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890673', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890673', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890673', 'tblTempVendorCDR_20' ) start
[2025-04-12 09:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890673', 'tblTempVendorCDR_20' ) end
[2025-04-12 09:34:18] Production.INFO: ProcessCDR(1,14890673,1,1,2)
[2025-04-12 09:34:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890673,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:34:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890673,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:34:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890673,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:34:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890673,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890673', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890673', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:34:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 09:34:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 09:34:22] Production.INFO: ==12582== Releasing lock...
[2025-04-12 09:34:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 09:34:22] Production.INFO: 31.5 MB #Memory Used#
[2025-04-12 14:35:01] Production.INFO: ==12642== Lock acquired, processing the job...
[2025-04-12 14:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 14:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 14:35:01] Production.INFO: neon service started
[2025-04-12 14:35:01] Production.INFO: neon service started
[2025-04-12 14:35:01] Production.INFO: ==12642== Releasing lock...
[2025-04-12 14:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 14:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 13:35:01] Production.INFO: ==12647== Lock acquired, processing the job...
[2025-04-12 13:35:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 13:35:01] Production.INFO: ==12647== Releasing lock...
[2025-04-12 13:35:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 13:35:01] Production.INFO: 25 MB #Memory Used#
[2025-04-12 09:35:02] Production.INFO: ==12645== Lock acquired, processing the job...
[2025-04-12 09:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 09:35:02] Production.INFO: ==12645== Releasing lock...
[2025-04-12 09:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 09:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 09:35:03] Production.INFO: ==12649== Lock acquired, processing the job...
[2025-04-12 09:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 09:35:03] Production.INFO: ==12651== Lock acquired, processing the job...
[2025-04-12 09:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 09:35:03] Production.INFO: ==12655== Lock acquired, processing the job...
[2025-04-12 09:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 09:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 09:35:03] Production.INFO: ==12653== Lock acquired, processing the job...
[2025-04-12 09:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 09:35:03] Production.INFO: Account Balance Start.
[2025-04-12 09:35:03] Production.INFO: CreateAllLog Start
[2025-04-12 09:35:03] Production.INFO: 117
[2025-04-12 09:35:03] Production.INFO: Date 2025-04-08
[2025-04-12 09:35:03] Production.INFO: ==12651== Releasing lock...
[2025-04-12 09:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 09:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 09:35:03] Production.INFO: Reseller ==> 0
[2025-04-12 09:35:03] Production.INFO: Date 2025-04-09
[2025-04-12 09:35:03] Production.INFO: Reseller ==> 0
[2025-04-12 09:35:03] Production.INFO: ==12657== Lock acquired, processing the job...
[2025-04-12 09:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 09:35:03] Production.INFO: Date 2025-04-10
[2025-04-12 09:35:03] Production.INFO: Reseller ==> 0
[2025-04-12 09:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 09:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 09:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 09:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 09:35:03] Production.INFO: ==12659== Lock acquired, processing the job...
[2025-04-12 09:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 09:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 09:35:03] Production.INFO: Date 2025-04-11
[2025-04-12 09:35:03] Production.INFO: Reseller ==> 0
[2025-04-12 09:35:03] Production.INFO: Date 2025-04-12
[2025-04-12 09:35:03] Production.INFO: Reseller ==> 0
[2025-04-12 09:35:04] Production.INFO: Total Charge 0
[2025-04-12 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-12 09:35:04] Production.INFO: CreateAllLog End
[2025-04-12 09:35:04] Production.INFO: count ==12
[2025-04-12 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-12 09:35:04] Production.INFO: count ==23
[2025-04-12 09:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890677') start
[2025-04-12 09:35:04] Production.ERROR: done
[2025-04-12 09:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 09:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890677') end
[2025-04-12 09:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 09:35:04] Production.INFO: 1
[2025-04-12 09:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 09:35:04] Production.INFO: Account Balance End.
[2025-04-12 09:35:04] Production.INFO: ==12659== Releasing lock...
[2025-04-12 09:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 09:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 09:35:04] Production.ERROR: CronJobId end 12
[2025-04-12 09:35:04] Production.INFO: ==12655== Releasing lock...
[2025-04-12 09:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 09:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 09:35:04] Production.ERROR: done
[2025-04-12 09:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 06:35:05
[end_date_ymd] => 2025-04-12 09:35:05
[RateCDR] => 1
)
[2025-04-12 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-12 06:35:05' and `end` < '2025-04-12 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-12 09:35:12] Production.ERROR: CronJobId end10
[2025-04-12 09:35:12] Production.INFO: ==12653== Releasing lock...
[2025-04-12 09:35:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 09:35:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 09:35:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 09:35:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 09:35:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 09:35:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 09:35:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 09:35:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 09:35:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 09:35:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 09:35:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 09:35:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 09:35:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 09:35:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 09:35:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 09:35:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 09:35:13] Production.INFO: call_cost start
[2025-04-12 09:35:13] Production.INFO: call_cost end
[2025-04-12 09:35:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 09:35:14] Production.INFO: ============== Report Schedule START===========
[2025-04-12 09:35:14] Production.INFO: ============== Report Schedule END===========
[2025-04-12 09:35:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 09:35:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 09:35:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 09:35:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 09:35:14] Production.INFO: ============== Deal alert START===========
[2025-04-12 09:35:14] Production.INFO: ============== Deal alert END===========
[2025-04-12 09:35:14] Production.INFO: ==12649== Releasing lock...
[2025-04-12 09:35:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 09:35:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 09:35:18] Production.INFO: count ==380
[2025-04-12 09:35:18] Production.ERROR: pbx CDR StartTime 2025-04-12 06:35:05 - End Time 2025-04-12 09:35:05
[2025-04-12 09:35:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 09:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890678', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890678', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890678', 'tblTempVendorCDR_20' ) start
[2025-04-12 09:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890678', 'tblTempVendorCDR_20' ) end
[2025-04-12 09:35:18] Production.INFO: ProcessCDR(1,14890678,1,1,2)
[2025-04-12 09:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890678,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:35:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890678,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:35:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890678,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:35:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890678,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890678', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890678', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:35:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 09:35:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 09:35:22] Production.INFO: ==12657== Releasing lock...
[2025-04-12 09:35:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 09:35:22] Production.INFO: 31.75 MB #Memory Used#
[2025-04-12 14:36:01] Production.INFO: ==12717== Lock acquired, processing the job...
[2025-04-12 14:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 14:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 14:36:02] Production.INFO: neon service started
[2025-04-12 14:36:02] Production.INFO: neon service started
[2025-04-12 14:36:02] Production.INFO: ==12717== Releasing lock...
[2025-04-12 14:36:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 14:36:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 09:36:02] Production.INFO: ==12719== Lock acquired, processing the job...
[2025-04-12 09:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 09:36:02] Production.INFO: ==12719== Releasing lock...
[2025-04-12 09:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 09:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 13:36:02] Production.INFO: ==12721== Lock acquired, processing the job...
[2025-04-12 13:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 13:36:02] Production.INFO: ==12721== Releasing lock...
[2025-04-12 13:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 13:36:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 09:36:03] Production.INFO: ==12725== Lock acquired, processing the job...
[2025-04-12 09:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 09:36:03] Production.INFO: ==12727== Lock acquired, processing the job...
[2025-04-12 09:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 09:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 09:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 09:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 09:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 09:36:03] Production.INFO: ==12729== Lock acquired, processing the job...
[2025-04-12 09:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 09:36:03] Production.INFO: ==12723== Lock acquired, processing the job...
[2025-04-12 09:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 09:36:03] Production.INFO: ==12731== Lock acquired, processing the job...
[2025-04-12 09:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 09:36:03] Production.INFO: Account Balance Start.
[2025-04-12 09:36:03] Production.INFO: CreateAllLog Start
[2025-04-12 09:36:03] Production.INFO: 117
[2025-04-12 09:36:03] Production.INFO: Date 2025-04-08
[2025-04-12 09:36:03] Production.INFO: Reseller ==> 0
[2025-04-12 09:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 09:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 09:36:03] Production.INFO: Date 2025-04-09
[2025-04-12 09:36:03] Production.INFO: Reseller ==> 0
[2025-04-12 09:36:04] Production.INFO: Date 2025-04-10
[2025-04-12 09:36:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:36:04] Production.INFO: ==12733== Lock acquired, processing the job...
[2025-04-12 09:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 09:36:04] Production.INFO: Date 2025-04-11
[2025-04-12 09:36:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:36:04] Production.INFO: Date 2025-04-12
[2025-04-12 09:36:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:36:04] Production.INFO: ==12725== Releasing lock...
[2025-04-12 09:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 09:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 09:36:04] Production.INFO: Total Charge 0
[2025-04-12 09:36:04] Production.INFO: CreateAllLog End
[2025-04-12 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-12 09:36:04] Production.ERROR: done
[2025-04-12 09:36:04] Production.INFO: count ==12
[2025-04-12 09:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 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-12 09:36:04] Production.INFO: count ==23
[2025-04-12 09:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890682') start
[2025-04-12 09:36:04] Production.ERROR: done
[2025-04-12 09:36:04] Production.INFO: Account Balance End.
[2025-04-12 09:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890682') end
[2025-04-12 09:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 09:36:04] Production.INFO: 1
[2025-04-12 09:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 09:36:04] Production.ERROR: CronJobId end 12
[2025-04-12 09:36:04] Production.INFO: ==12729== Releasing lock...
[2025-04-12 09:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 09:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 09:36:04] Production.INFO: ==12733== Releasing lock...
[2025-04-12 09:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 09:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 09:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 06:36:05
[end_date_ymd] => 2025-04-12 09:36:05
[RateCDR] => 1
)
[2025-04-12 09:36:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 06:36:05' and `end` < '2025-04-12 09:36:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 09:36:11] Production.ERROR: CronJobId end10
[2025-04-12 09:36:11] Production.INFO: ==12727== Releasing lock...
[2025-04-12 09:36:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 09:36:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 09:36:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 09:36:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 09:36:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 09:36:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 09:36:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 09:36:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 09:36:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 09:36:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 09:36:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 09:36:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 09:36:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 09:36:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 09:36:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 09:36:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 09:36:15] Production.INFO: call_cost start
[2025-04-12 09:36:15] Production.INFO: call_cost end
[2025-04-12 09:36:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 09:36:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 09:36:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 09:36:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 09:36:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 09:36:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 09:36:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 09:36:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 09:36:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 09:36:15] Production.INFO: ==12723== Releasing lock...
[2025-04-12 09:36:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 09:36:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 09:36:18] Production.INFO: count ==381
[2025-04-12 09:36:18] Production.ERROR: pbx CDR StartTime 2025-04-12 06:36:05 - End Time 2025-04-12 09:36:05
[2025-04-12 09:36:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 09:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890683', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890683', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890683', 'tblTempVendorCDR_20' ) start
[2025-04-12 09:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890683', 'tblTempVendorCDR_20' ) end
[2025-04-12 09:36:18] Production.INFO: ProcessCDR(1,14890683,1,1,2)
[2025-04-12 09:36:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890683,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:36:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890683,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:36:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890683,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:36:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890683,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:36:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890683', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:36:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890683', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:36:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 09:36:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 09:36:23] Production.INFO: ==12731== Releasing lock...
[2025-04-12 09:36:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 09:36:23] Production.INFO: 31.5 MB #Memory Used#
[2025-04-12 14:37:01] Production.INFO: ==12790== Lock acquired, processing the job...
[2025-04-12 14:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 14:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 14:37:01] Production.INFO: neon service started
[2025-04-12 14:37:01] Production.INFO: neon service started
[2025-04-12 14:37:01] Production.INFO: ==12790== Releasing lock...
[2025-04-12 14:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 14:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 09:37:02] Production.INFO: ==12792== Lock acquired, processing the job...
[2025-04-12 09:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 13:37:02] Production.INFO: ==12794== Lock acquired, processing the job...
[2025-04-12 13:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 13:37:02] Production.INFO: ==12794== Releasing lock...
[2025-04-12 13:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 13:37:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 09:37:02] Production.INFO: ==12792== Releasing lock...
[2025-04-12 09:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 09:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 09:37:03] Production.INFO: ==12797== Lock acquired, processing the job...
[2025-04-12 09:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 09:37:03] Production.INFO: ==12799== Lock acquired, processing the job...
[2025-04-12 09:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 09:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 09:37:03] Production.INFO: ==12805== Lock acquired, processing the job...
[2025-04-12 09:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 09:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 09:37:03] Production.INFO: ==12799== Releasing lock...
[2025-04-12 09:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 09:37:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 09:37:03] Production.INFO: ==12803== Lock acquired, processing the job...
[2025-04-12 09:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 09:37:03] Production.INFO: ==12801== Lock acquired, processing the job...
[2025-04-12 09:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 09:37:03] Production.INFO: ==12807== Lock acquired, processing the job...
[2025-04-12 09:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 09:37:03] Production.INFO: Account Balance Start.
[2025-04-12 09:37:03] Production.INFO: CreateAllLog Start
[2025-04-12 09:37:03] Production.INFO: 117
[2025-04-12 09:37:03] Production.INFO: Date 2025-04-08
[2025-04-12 09:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 09:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 09:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 09:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 09:37:03] Production.INFO: Reseller ==> 0
[2025-04-12 09:37:03] Production.INFO: Date 2025-04-09
[2025-04-12 09:37:03] Production.INFO: Reseller ==> 0
[2025-04-12 09:37:04] Production.INFO: Date 2025-04-10
[2025-04-12 09:37:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:37:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 09:37:04] Production.INFO: Date 2025-04-11
[2025-04-12 09:37:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:37:04] Production.INFO: count ==12
[2025-04-12 09:37:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 09:37:04] Production.INFO: count ==23
[2025-04-12 09:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890687') start
[2025-04-12 09:37:04] Production.ERROR: done
[2025-04-12 09:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 09:37:04] Production.INFO: Date 2025-04-12
[2025-04-12 09:37:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:37:04] Production.INFO: Total Charge 0
[2025-04-12 09:37:04] Production.INFO: CreateAllLog End
[2025-04-12 09:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890687') end
[2025-04-12 09:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 09:37:04] Production.INFO: 1
[2025-04-12 09:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 09:37:04] Production.INFO: ==12807== Releasing lock...
[2025-04-12 09:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 09:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 09:37:04] Production.ERROR: done
[2025-04-12 09:37:04] Production.INFO: Account Balance End.
[2025-04-12 09:37:04] Production.ERROR: CronJobId end 12
[2025-04-12 09:37:04] Production.INFO: ==12803== Releasing lock...
[2025-04-12 09:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 09:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 09:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 06:37:05
[end_date_ymd] => 2025-04-12 09:37:05
[RateCDR] => 1
)
[2025-04-12 09:37:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 06:37:05' and `end` < '2025-04-12 09:37:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 09:37:11] Production.ERROR: CronJobId end10
[2025-04-12 09:37:11] Production.INFO: ==12801== Releasing lock...
[2025-04-12 09:37:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 09:37:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 09:37:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 09:37:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 09:37:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 09:37:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 09:37:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 09:37:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 09:37:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 09:37:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 09:37:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 09:37:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 09:37:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 09:37:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 09:37:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 09:37:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 09:37:14] Production.INFO: call_cost start
[2025-04-12 09:37:14] Production.INFO: call_cost end
[2025-04-12 09:37:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 09:37:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 09:37:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 09:37:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 09:37:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 09:37:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 09:37:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 09:37:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 09:37:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 09:37:15] Production.INFO: ==12797== Releasing lock...
[2025-04-12 09:37:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 09:37:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 09:37:18] Production.INFO: count ==395
[2025-04-12 09:37:18] Production.ERROR: pbx CDR StartTime 2025-04-12 06:37:05 - End Time 2025-04-12 09:37:05
[2025-04-12 09:37:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 09:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890688', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890688', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890688', 'tblTempVendorCDR_20' ) start
[2025-04-12 09:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890688', 'tblTempVendorCDR_20' ) end
[2025-04-12 09:37:18] Production.INFO: ProcessCDR(1,14890688,1,1,2)
[2025-04-12 09:37:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890688,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:37:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890688,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:37:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890688,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:37:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890688,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:37:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890688', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:37:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890688', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:37:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 09:37:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 09:37:23] Production.INFO: ==12805== Releasing lock...
[2025-04-12 09:37:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 09:37:23] Production.INFO: 31.75 MB #Memory Used#
[2025-04-12 14:38:02] Production.INFO: ==12862== Lock acquired, processing the job...
[2025-04-12 14:38:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 14:38:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 14:38:02] Production.INFO: neon service started
[2025-04-12 14:38:02] Production.INFO: neon service started
[2025-04-12 14:38:02] Production.INFO: ==12862== Releasing lock...
[2025-04-12 14:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 14:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 09:38:02] Production.INFO: ==12864== Lock acquired, processing the job...
[2025-04-12 09:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 09:38:02] Production.INFO: ==12864== Releasing lock...
[2025-04-12 09:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 09:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 13:38:02] Production.INFO: ==12866== Lock acquired, processing the job...
[2025-04-12 13:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 13:38:03] Production.INFO: ==12866== Releasing lock...
[2025-04-12 13:38:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 13:38:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 09:38:03] Production.INFO: ==12868== Lock acquired, processing the job...
[2025-04-12 09:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 09:38:03] Production.INFO: ==12870== Lock acquired, processing the job...
[2025-04-12 09:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 09:38:03] Production.INFO: ==12873== Lock acquired, processing the job...
[2025-04-12 09:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 09:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 09:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 09:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 09:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 09:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 09:38:04] Production.INFO: ==12877== Lock acquired, processing the job...
[2025-04-12 09:38:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 09:38:04] Production.INFO: ==12875== Lock acquired, processing the job...
[2025-04-12 09:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 09:38:04] Production.INFO: ==12870== Releasing lock...
[2025-04-12 09:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 09:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 09:38:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 09:38:04] Production.INFO: ==12879== Lock acquired, processing the job...
[2025-04-12 09:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 09:38:04] Production.INFO: Account Balance Start.
[2025-04-12 09:38:04] Production.INFO: CreateAllLog Start
[2025-04-12 09:38:04] Production.INFO: 117
[2025-04-12 09:38:04] Production.INFO: Date 2025-04-08
[2025-04-12 09:38:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:38:04] Production.INFO: Date 2025-04-09
[2025-04-12 09:38:04] Production.INFO: Reseller ==> 0
[2025-04-12 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-12 09:38:04] Production.INFO: Date 2025-04-10
[2025-04-12 09:38:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:38:04] Production.INFO: Date 2025-04-11
[2025-04-12 09:38:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:38:04] Production.INFO: count ==12
[2025-04-12 09:38:04] Production.INFO: Date 2025-04-12
[2025-04-12 09:38:04] Production.INFO: Reseller ==> 0
[2025-04-12 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-12 09:38:04] Production.INFO: count ==23
[2025-04-12 09:38:04] Production.ERROR: done
[2025-04-12 09:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 09:38:04] Production.INFO: Total Charge 0
[2025-04-12 09:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890692') start
[2025-04-12 09:38:04] Production.INFO: CreateAllLog End
[2025-04-12 09:38:04] Production.ERROR: done
[2025-04-12 09:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890692') end
[2025-04-12 09:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 09:38:04] Production.INFO: 1
[2025-04-12 09:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 09:38:04] Production.INFO: ==12879== Releasing lock...
[2025-04-12 09:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 09:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 09:38:04] Production.INFO: Account Balance End.
[2025-04-12 09:38:05] Production.ERROR: CronJobId end 12
[2025-04-12 09:38:05] Production.INFO: ==12875== Releasing lock...
[2025-04-12 09:38:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 09:38:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 09:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 06:38:05
[end_date_ymd] => 2025-04-12 09:38:05
[RateCDR] => 1
)
[2025-04-12 09:38:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 06:38:05' and `end` < '2025-04-12 09:38:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 09:38:12] Production.ERROR: CronJobId end10
[2025-04-12 09:38:12] Production.INFO: ==12873== Releasing lock...
[2025-04-12 09:38:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 09:38:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 09:38:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 09:38:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 09:38:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 09:38:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 09:38:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 09:38:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 09:38:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 09:38:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 09:38:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 09:38:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 09:38:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 09:38:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 09:38:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 09:38:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 09:38:15] Production.INFO: call_cost start
[2025-04-12 09:38:15] Production.INFO: call_cost end
[2025-04-12 09:38:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 09:38:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 09:38:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 09:38:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 09:38:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 09:38:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 09:38:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 09:38:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 09:38:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 09:38:15] Production.INFO: ==12868== Releasing lock...
[2025-04-12 09:38:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 09:38:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 09:38:18] Production.INFO: count ==397
[2025-04-12 09:38:18] Production.ERROR: pbx CDR StartTime 2025-04-12 06:38:05 - End Time 2025-04-12 09:38:05
[2025-04-12 09:38:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 09:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890693', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890693', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890693', 'tblTempVendorCDR_20' ) start
[2025-04-12 09:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890693', 'tblTempVendorCDR_20' ) end
[2025-04-12 09:38:18] Production.INFO: ProcessCDR(1,14890693,1,1,2)
[2025-04-12 09:38:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890693,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:38:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890693,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:38:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890693,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:38:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890693,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890693', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890693', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:38:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 09:38:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 09:38:22] Production.INFO: ==12877== Releasing lock...
[2025-04-12 09:38:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 09:38:22] Production.INFO: 31.25 MB #Memory Used#
[2025-04-12 14:39:01] Production.INFO: ==12940== Lock acquired, processing the job...
[2025-04-12 14:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 14:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 14:39:01] Production.INFO: neon service started
[2025-04-12 14:39:01] Production.INFO: neon service started
[2025-04-12 14:39:01] Production.INFO: ==12940== Releasing lock...
[2025-04-12 14:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 14:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 09:39:02] Production.INFO: ==12942== Lock acquired, processing the job...
[2025-04-12 09:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 09:39:02] Production.INFO: ==12942== Releasing lock...
[2025-04-12 09:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 09:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 13:39:02] Production.INFO: ==12944== Lock acquired, processing the job...
[2025-04-12 13:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 13:39:02] Production.INFO: ==12944== Releasing lock...
[2025-04-12 13:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 13:39:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 09:39:03] Production.INFO: ==12953== Lock acquired, processing the job...
[2025-04-12 09:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 09:39:03] Production.INFO: ==12947== Lock acquired, processing the job...
[2025-04-12 09:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 09:39:03] Production.INFO: Account Balance Start.
[2025-04-12 09:39:03] Production.INFO: CreateAllLog Start
[2025-04-12 09:39:03] Production.INFO: 117
[2025-04-12 09:39:03] Production.INFO: ==12957== Lock acquired, processing the job...
[2025-04-12 09:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 09:39:03] Production.INFO: Date 2025-04-08
[2025-04-12 09:39:03] Production.INFO: Reseller ==> 0
[2025-04-12 09:39:03] Production.INFO: Date 2025-04-09
[2025-04-12 09:39:03] Production.INFO: Reseller ==> 0
[2025-04-12 09:39:03] Production.INFO: Date 2025-04-10
[2025-04-12 09:39:03] Production.INFO: Reseller ==> 0
[2025-04-12 09:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 09:39:03] Production.INFO: Date 2025-04-11
[2025-04-12 09:39:03] Production.INFO: Reseller ==> 0
[2025-04-12 09:39:03] Production.INFO: ==12949== Lock acquired, processing the job...
[2025-04-12 09:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 09:39:03] Production.INFO: ==12951== Lock acquired, processing the job...
[2025-04-12 09:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 09:39:03] Production.INFO: Date 2025-04-12
[2025-04-12 09:39:03] Production.INFO: Reseller ==> 0
[2025-04-12 09:39:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 09:39:03] Production.INFO: Total Charge 0
[2025-04-12 09:39:03] Production.INFO: ==12955== Lock acquired, processing the job...
[2025-04-12 09:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 09:39:03] Production.INFO: CreateAllLog End
[2025-04-12 09:39:03] Production.INFO: count ==12
[2025-04-12 09:39:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 09:39:03] Production.INFO: count ==23
[2025-04-12 09:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 09:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 09:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 09:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 09:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890695') start
[2025-04-12 09:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 09:39:04] Production.INFO: Account Balance End.
[2025-04-12 09:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890695') end
[2025-04-12 09:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 09:39:04] Production.INFO: 1
[2025-04-12 09:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 09:39:04] Production.ERROR: CronJobId end 12
[2025-04-12 09:39:04] Production.INFO: ==12953== Releasing lock...
[2025-04-12 09:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 09:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 09:39:04] Production.INFO: ==12949== Releasing lock...
[2025-04-12 09:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 09:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 09:39:04] Production.INFO: ==12957== Releasing lock...
[2025-04-12 09:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 09:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 09:39:04] Production.ERROR: done
[2025-04-12 09:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 09:39:04] Production.ERROR: done
[2025-04-12 09:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 06:39:05
[end_date_ymd] => 2025-04-12 09:39:05
[RateCDR] => 1
)
[2025-04-12 09:39:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 06:39:05' and `end` < '2025-04-12 09:39:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 09:39:12] Production.ERROR: CronJobId end10
[2025-04-12 09:39:12] Production.INFO: ==12951== Releasing lock...
[2025-04-12 09:39:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 09:39:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 09:39:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 09:39:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 09:39:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 09:39:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 09:39:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 09:39:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 09:39:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 09:39:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 09:39:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 09:39:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 09:39:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 09:39:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 09:39:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 09:39:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 09:39:15] Production.INFO: call_cost start
[2025-04-12 09:39:15] Production.INFO: call_cost end
[2025-04-12 09:39:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 09:39:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 09:39:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 09:39:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 09:39:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 09:39:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 09:39:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 09:39:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 09:39:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 09:39:16] Production.INFO: ==12947== Releasing lock...
[2025-04-12 09:39:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 09:39:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 09:39:18] Production.INFO: count ==401
[2025-04-12 09:39:18] Production.ERROR: pbx CDR StartTime 2025-04-12 06:39:05 - End Time 2025-04-12 09:39:05
[2025-04-12 09:39:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 09:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890698', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890698', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890698', 'tblTempVendorCDR_20' ) start
[2025-04-12 09:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890698', 'tblTempVendorCDR_20' ) end
[2025-04-12 09:39:18] Production.INFO: ProcessCDR(1,14890698,1,1,2)
[2025-04-12 09:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890698,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:39:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890698,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:39:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890698,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:39:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890698,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890698', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890698', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:39:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 09:39:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 09:39:22] Production.INFO: ==12955== Releasing lock...
[2025-04-12 09:39:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 09:39:22] Production.INFO: 31.5 MB #Memory Used#
[2025-04-12 14:40:02] Production.INFO: ==13054== Lock acquired, processing the job...
[2025-04-12 14:40:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 14:40:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 14:40:02] Production.INFO: neon service started
[2025-04-12 14:40:02] Production.INFO: neon service started
[2025-04-12 14:40:02] Production.INFO: ==13054== Releasing lock...
[2025-04-12 14:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 14:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 09:40:02] Production.INFO: ==13056== Lock acquired, processing the job...
[2025-04-12 09:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 09:40:02] Production.INFO: ==13056== Releasing lock...
[2025-04-12 09:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 09:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 13:40:03] Production.INFO: ==13058== Lock acquired, processing the job...
[2025-04-12 13:40:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 13:40:03] Production.INFO: ==13058== Releasing lock...
[2025-04-12 13:40:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 13:40:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 09:40:04] Production.INFO: ==13068== Lock acquired, processing the job...
[2025-04-12 09:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 09:40:04] Production.INFO: ==13070== Lock acquired, processing the job...
[2025-04-12 09:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 09:40:04] Production.INFO: ==13074== Lock acquired, processing the job...
[2025-04-12 09:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 09:40:04] Production.INFO: ==13060== Lock acquired, processing the job...
[2025-04-12 09:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 09:40:04] Production.INFO: ==13062== Lock acquired, processing the job...
[2025-04-12 09:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 09:40:04] Production.INFO: Account Balance Start.
[2025-04-12 09:40:04] Production.INFO: CreateAllLog Start
[2025-04-12 09:40:04] Production.INFO: 117
[2025-04-12 09:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 09:40:04] Production.INFO: ==13064== Lock acquired, processing the job...
[2025-04-12 09:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 09:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 09:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 09:40:04] Production.ERROR: CronJob PID - 13062
[2025-04-12 09:40:04] Production.ERROR: CronJob Title - System Alerts
[2025-04-12 09:40:04] Production.ERROR: CronJob ID - 5
[2025-04-12 09:40:04] Production.ERROR: CronJob Last Run Time 2025-04-12 09:40:00
[2025-04-12 09:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 09:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 09:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 09:40:04] Production.ERROR: CronJob PID - 13068
[2025-04-12 09:40:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-04-12 09:40:04] Production.ERROR: CronJob ID - 12
[2025-04-12 09:40:04] Production.ERROR: CronJob Last Run Time 2025-04-12 09:40:00
[2025-04-12 09:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 09:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 09:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 09:40:04] Production.ERROR: CronJob PID - 13070
[2025-04-12 09:40:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-04-12 09:40:04] Production.ERROR: CronJob ID - 16
[2025-04-12 09:40:04] Production.ERROR: CronJob Last Run Time 2025-04-12 09:40:00
[2025-04-12 09:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 09:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 09:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 09:40:04] Production.ERROR: CronJob PID - 13074
[2025-04-12 09:40:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-04-12 09:40:04] Production.ERROR: CronJob ID - 19
[2025-04-12 09:40:04] Production.ERROR: CronJob Last Run Time 2025-04-12 09:40:00
[2025-04-12 09:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 09:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 09:40:04] Production.INFO: Date 2025-04-08
[2025-04-12 09:40:04] Production.INFO: ==13066== Lock acquired, processing the job...
[2025-04-12 09:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 09:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 09:40:04] Production.INFO: Reseller ==> 0
[2025-04-12 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-12 09:40:04] Production.INFO: Date 2025-04-09
[2025-04-12 09:40:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:40:04] Production.INFO: count ==12
[2025-04-12 09:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 09:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 09:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 09:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 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-12 09:40:04] Production.INFO: count ==23
[2025-04-12 09:40:04] Production.INFO: ==13072== Lock acquired, processing the job...
[2025-04-12 09:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 09:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 09:40:04] Production.INFO: ==13060== Releasing lock...
[2025-04-12 09:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 09:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 09:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890701') start
[2025-04-12 09:40:04] Production.INFO: Date 2025-04-10
[2025-04-12 09:40:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 09:40:04] Production.INFO: Date 2025-04-11
[2025-04-12 09:40:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:40:04] Production.INFO: Date 2025-04-12
[2025-04-12 09:40:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:40:04] Production.INFO: Total Charge 0
[2025-04-12 09:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890701') end
[2025-04-12 09:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 09:40:04] Production.INFO: 1
[2025-04-12 09:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 09:40:04] Production.INFO: CreateAllLog End
[2025-04-12 09:40:04] Production.INFO: ==13074== Releasing lock...
[2025-04-12 09:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 09:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 09:40:05] Production.ERROR: done
[2025-04-12 09:40:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 09:40:05] Production.INFO: Account Balance End.
[2025-04-12 09:40:05] Production.INFO: ==13064== Releasing lock...
[2025-04-12 09:40:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 09:40:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 09:40:05] Production.ERROR: done
[2025-04-12 09:40:05] Production.ERROR: done
[2025-04-12 09:40:05] Production.ERROR: CronJobId end 12
[2025-04-12 09:40:05] Production.INFO: ==13068== Releasing lock...
[2025-04-12 09:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 09:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 09:40:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 09:40:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14890703', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 09:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 06:40:06
[end_date_ymd] => 2025-04-12 09:40:06
[RateCDR] => 1
)
[2025-04-12 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-12 06:40:06' and `end` < '2025-04-12 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-12 09:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14890703', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 09:40:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 09:40:09] Production.INFO: ProcessCDR(1,14890703,1,1,2)
[2025-04-12 09:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14890703,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:40:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14890703,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:40:10] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 09:40:10] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 09:40:10] Production.INFO: ==13072== Releasing lock...
[2025-04-12 09:40:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 09:40:10] Production.INFO: 26 MB #Memory Used#
[2025-04-12 09:40:14] Production.ERROR: CronJobId end10
[2025-04-12 09:40:14] Production.INFO: ==13066== Releasing lock...
[2025-04-12 09:40:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 09:40:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 09:40:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 09:40:16] Production.INFO: ============== Balance Warning START===========
[2025-04-12 09:40:16] Production.INFO: ============== Balance Warning END===========
[2025-04-12 09:40:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 09:40:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 09:40:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 09:40:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 09:40:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 09:40:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 09:40:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 09:40:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 09:40:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 09:40:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 09:40:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 09:40:17] Production.INFO: call_cost start
[2025-04-12 09:40:17] Production.INFO: call_cost end
[2025-04-12 09:40:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 09:40:18] Production.INFO: ============== Report Schedule START===========
[2025-04-12 09:40:18] Production.INFO: ============== Report Schedule END===========
[2025-04-12 09:40:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 09:40:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 09:40:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 09:40:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 09:40:18] Production.INFO: ============== Deal alert START===========
[2025-04-12 09:40:18] Production.INFO: ============== Deal alert END===========
[2025-04-12 09:40:18] Production.INFO: ==13062== Releasing lock...
[2025-04-12 09:40:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 09:40:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 09:40:19] Production.INFO: count ==414
[2025-04-12 09:40:19] Production.ERROR: pbx CDR StartTime 2025-04-12 06:40:06 - End Time 2025-04-12 09:40:06
[2025-04-12 09:40:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 09:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890704', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890704', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890704', 'tblTempVendorCDR_20' ) start
[2025-04-12 09:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890704', 'tblTempVendorCDR_20' ) end
[2025-04-12 09:40:19] Production.INFO: ProcessCDR(1,14890704,1,1,2)
[2025-04-12 09:40:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890704,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:40:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890704,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:40:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890704,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:40:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890704,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890704', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890704', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:40:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 09:40:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 09:40:23] Production.INFO: ==13070== Releasing lock...
[2025-04-12 09:40:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 09:40:23] Production.INFO: 31.75 MB #Memory Used#
[2025-04-12 14:41:01] Production.INFO: ==13129== Lock acquired, processing the job...
[2025-04-12 14:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 14:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 14:41:01] Production.INFO: neon service started
[2025-04-12 14:41:01] Production.INFO: neon service started
[2025-04-12 14:41:01] Production.INFO: ==13129== Releasing lock...
[2025-04-12 14:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 14:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 09:41:02] Production.INFO: ==13131== Lock acquired, processing the job...
[2025-04-12 09:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 09:41:02] Production.INFO: ==13131== Releasing lock...
[2025-04-12 09:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 09:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 13:41:02] Production.INFO: ==13133== Lock acquired, processing the job...
[2025-04-12 13:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 13:41:02] Production.INFO: ==13133== Releasing lock...
[2025-04-12 13:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 13:41:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 09:41:03] Production.INFO: ==13142== Lock acquired, processing the job...
[2025-04-12 09:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 09:41:03] Production.INFO: ==13144== Lock acquired, processing the job...
[2025-04-12 09:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 09:41:03] Production.INFO: ==13136== Lock acquired, processing the job...
[2025-04-12 09:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 09:41:03] Production.INFO: ==13138== Lock acquired, processing the job...
[2025-04-12 09:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 09:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 09:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 09:41:03] Production.INFO: Account Balance Start.
[2025-04-12 09:41:03] Production.INFO: CreateAllLog Start
[2025-04-12 09:41:03] Production.INFO: 117
[2025-04-12 09:41:03] Production.INFO: ==13140== Lock acquired, processing the job...
[2025-04-12 09:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 09:41:03] Production.INFO: Date 2025-04-08
[2025-04-12 09:41:03] Production.INFO: Reseller ==> 0
[2025-04-12 09:41:03] Production.INFO: Date 2025-04-09
[2025-04-12 09:41:03] Production.INFO: Reseller ==> 0
[2025-04-12 09:41:03] Production.INFO: ==13146== Lock acquired, processing the job...
[2025-04-12 09:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 09:41:03] Production.INFO: Date 2025-04-10
[2025-04-12 09:41:03] Production.INFO: Reseller ==> 0
[2025-04-12 09:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 09:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 09:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 09:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 09:41:03] Production.INFO: Date 2025-04-11
[2025-04-12 09:41:03] Production.INFO: Reseller ==> 0
[2025-04-12 09:41:03] Production.INFO: Date 2025-04-12
[2025-04-12 09:41:03] Production.INFO: Reseller ==> 0
[2025-04-12 09:41:03] Production.INFO: Total Charge 0
[2025-04-12 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-12 09:41:03] Production.INFO: count ==12
[2025-04-12 09:41:03] Production.INFO: CreateAllLog End
[2025-04-12 09: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-12 09:41:03] Production.INFO: count ==23
[2025-04-12 09:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890708') start
[2025-04-12 09:41:03] Production.INFO: ==13138== Releasing lock...
[2025-04-12 09:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 09:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 09:41:04] Production.INFO: Account Balance End.
[2025-04-12 09:41:04] Production.ERROR: done
[2025-04-12 09:41:04] Production.ERROR: CronJobId end 12
[2025-04-12 09:41:04] Production.INFO: ==13142== Releasing lock...
[2025-04-12 09:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 09:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 09:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890708') end
[2025-04-12 09:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 09:41:04] Production.INFO: 1
[2025-04-12 09:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 09:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 09:41:04] Production.INFO: ==13146== Releasing lock...
[2025-04-12 09:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 09:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 09:41:04] Production.ERROR: done
[2025-04-12 09:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 06:41:05
[end_date_ymd] => 2025-04-12 09:41:05
[RateCDR] => 1
)
[2025-04-12 09:41:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 06:41:05' and `end` < '2025-04-12 09:41:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 09:41:11] Production.ERROR: CronJobId end10
[2025-04-12 09:41:11] Production.INFO: ==13140== Releasing lock...
[2025-04-12 09:41:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 09:41:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 09:41:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 09:41:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 09:41:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 09:41:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 09:41:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 09:41:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 09:41:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 09:41:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 09:41:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 09:41:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 09:41:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 09:41:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 09:41:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 09:41:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 09:41:14] Production.INFO: call_cost start
[2025-04-12 09:41:14] Production.INFO: call_cost end
[2025-04-12 09:41:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 09:41:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 09:41:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 09:41:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 09:41:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 09:41:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 09:41:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 09:41:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 09:41:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 09:41:15] Production.INFO: ==13136== Releasing lock...
[2025-04-12 09:41:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 09:41:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 09:41:18] Production.INFO: count ==439
[2025-04-12 09:41:18] Production.ERROR: pbx CDR StartTime 2025-04-12 06:41:05 - End Time 2025-04-12 09:41:05
[2025-04-12 09:41:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 09:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890709', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890709', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890709', 'tblTempVendorCDR_20' ) start
[2025-04-12 09:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890709', 'tblTempVendorCDR_20' ) end
[2025-04-12 09:41:18] Production.INFO: ProcessCDR(1,14890709,1,1,2)
[2025-04-12 09:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890709,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:41:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890709,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:41:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890709,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:41:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890709,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890709', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890709', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:41:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 09:41:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 09:41:21] Production.INFO: ==13144== Releasing lock...
[2025-04-12 09:41:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 09:41:21] Production.INFO: 31.75 MB #Memory Used#
[2025-04-12 14:42:02] Production.INFO: ==13200== Lock acquired, processing the job...
[2025-04-12 14:42:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 14:42:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 14:42:02] Production.INFO: neon service started
[2025-04-12 14:42:02] Production.INFO: neon service started
[2025-04-12 14:42:02] Production.INFO: ==13200== Releasing lock...
[2025-04-12 14:42:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 14:42:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 13:42:02] Production.INFO: ==13204== Lock acquired, processing the job...
[2025-04-12 13:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 13:42:02] Production.INFO: ==13204== Releasing lock...
[2025-04-12 13:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 13:42:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 09:42:02] Production.INFO: ==13202== Lock acquired, processing the job...
[2025-04-12 09:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 09:42:03] Production.INFO: ==13202== Releasing lock...
[2025-04-12 09:42:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 09:42:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 09:42:04] Production.INFO: ==13211== Lock acquired, processing the job...
[2025-04-12 09:42:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 09:42:04] Production.INFO: ==13213== Lock acquired, processing the job...
[2025-04-12 09:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 09:42:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 09:42:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 09:42:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 09:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 09:42:04] Production.INFO: Account Balance Start.
[2025-04-12 09:42:04] Production.INFO: CreateAllLog Start
[2025-04-12 09:42:04] Production.INFO: 117
[2025-04-12 09:42:04] Production.INFO: ==13209== Lock acquired, processing the job...
[2025-04-12 09:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 09:42:04] Production.INFO: Date 2025-04-08
[2025-04-12 09:42:04] Production.INFO: ==13207== Lock acquired, processing the job...
[2025-04-12 09:42:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 09:42:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:42:04] Production.INFO: Date 2025-04-09
[2025-04-12 09:42:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:42:04] Production.INFO: ==13217== Lock acquired, processing the job...
[2025-04-12 09:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 09:42:04] Production.INFO: ==13215== Lock acquired, processing the job...
[2025-04-12 09:42:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 09:42:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 09:42:04] Production.INFO: Date 2025-04-10
[2025-04-12 09:42:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:42:04] Production.INFO: Date 2025-04-11
[2025-04-12 09:42:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:42:04] Production.INFO: Date 2025-04-12
[2025-04-12 09:42:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:42:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 09:42:04] Production.INFO: Total Charge 0
[2025-04-12 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-12 09:42:04] Production.INFO: CreateAllLog End
[2025-04-12 09:42:04] Production.INFO: count ==12
[2025-04-12 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-12 09:42:04] Production.INFO: count ==23
[2025-04-12 09:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890713') start
[2025-04-12 09:42:04] Production.INFO: ==13209== Releasing lock...
[2025-04-12 09:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 09:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 09:42:04] Production.INFO: Account Balance End.
[2025-04-12 09:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890713') end
[2025-04-12 09:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 09:42:04] Production.INFO: 1
[2025-04-12 09:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 09:42:04] Production.ERROR: CronJobId end 12
[2025-04-12 09:42:04] Production.INFO: ==13213== Releasing lock...
[2025-04-12 09:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 09:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 09:42:04] Production.INFO: ==13217== Releasing lock...
[2025-04-12 09:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 09:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 09:42:04] Production.ERROR: done
[2025-04-12 09:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 09:42:05] Production.ERROR: done
[2025-04-12 09:42:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 06:42:06
[end_date_ymd] => 2025-04-12 09:42:06
[RateCDR] => 1
)
[2025-04-12 09:42:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 06:42:06' and `end` < '2025-04-12 09:42:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 09:42:13] Production.ERROR: CronJobId end10
[2025-04-12 09:42:13] Production.INFO: ==13211== Releasing lock...
[2025-04-12 09:42:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 09:42:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 09:42:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 09:42:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 09:42:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 09:42:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 09:42:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 09:42:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 09:42:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 09:42:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 09:42:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 09:42:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 09:42:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 09:42:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 09:42:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 09:42:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 09:42:15] Production.INFO: call_cost start
[2025-04-12 09:42:15] Production.INFO: call_cost end
[2025-04-12 09:42:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 09:42:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 09:42:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 09:42:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 09:42:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 09:42:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 09:42:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 09:42:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 09:42:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 09:42:16] Production.INFO: ==13207== Releasing lock...
[2025-04-12 09:42:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 09:42:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 09:42:18] Production.INFO: count ==446
[2025-04-12 09:42:19] Production.ERROR: pbx CDR StartTime 2025-04-12 06:42:06 - End Time 2025-04-12 09:42:06
[2025-04-12 09:42:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 09:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890714', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890714', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890714', 'tblTempVendorCDR_20' ) start
[2025-04-12 09:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890714', 'tblTempVendorCDR_20' ) end
[2025-04-12 09:42:19] Production.INFO: ProcessCDR(1,14890714,1,1,2)
[2025-04-12 09:42:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890714,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:42:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890714,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:42:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890714,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:42:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890714,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:42:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890714', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:42:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890714', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:42:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 09:42:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 09:42:24] Production.INFO: ==13215== Releasing lock...
[2025-04-12 09:42:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 09:42:24] Production.INFO: 32.5 MB #Memory Used#
[2025-04-12 14:43:01] Production.INFO: ==13275== Lock acquired, processing the job...
[2025-04-12 14:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 14:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 14:43:01] Production.INFO: neon service started
[2025-04-12 14:43:01] Production.INFO: neon service started
[2025-04-12 14:43:01] Production.INFO: ==13275== Releasing lock...
[2025-04-12 14:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 14:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 09:43:02] Production.INFO: ==13277== Lock acquired, processing the job...
[2025-04-12 09:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 09:43:02] Production.INFO: ==13277== Releasing lock...
[2025-04-12 09:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 09:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 13:43:02] Production.INFO: ==13279== Lock acquired, processing the job...
[2025-04-12 13:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 13:43:02] Production.INFO: ==13279== Releasing lock...
[2025-04-12 13:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 13:43:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 09:43:03] Production.INFO: ==13289== Lock acquired, processing the job...
[2025-04-12 09:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 09:43:03] Production.INFO: ==13287== Lock acquired, processing the job...
[2025-04-12 09:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 09:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 09:43:03] Production.INFO: ==13281== Lock acquired, processing the job...
[2025-04-12 09:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 09:43:03] Production.INFO: ==13283== Lock acquired, processing the job...
[2025-04-12 09:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 09:43:03] Production.INFO: ==13285== Lock acquired, processing the job...
[2025-04-12 09:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 09:43:03] Production.INFO: Account Balance Start.
[2025-04-12 09:43:03] Production.INFO: CreateAllLog Start
[2025-04-12 09:43:03] Production.INFO: 117
[2025-04-12 09:43:03] Production.INFO: ==13292== Lock acquired, processing the job...
[2025-04-12 09:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 09:43:03] Production.INFO: Date 2025-04-08
[2025-04-12 09:43:03] Production.INFO: Reseller ==> 0
[2025-04-12 09:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 09:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 09:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 09:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 09:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 09:43:03] Production.INFO: Date 2025-04-09
[2025-04-12 09:43:03] Production.INFO: Reseller ==> 0
[2025-04-12 09:43:03] Production.INFO: Date 2025-04-10
[2025-04-12 09:43:03] Production.INFO: Reseller ==> 0
[2025-04-12 09:43:03] Production.ERROR: done
[2025-04-12 09:43:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 09:43:03] Production.INFO: Date 2025-04-11
[2025-04-12 09:43:03] Production.INFO: Reseller ==> 0
[2025-04-12 09:43:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 09:43:03] Production.INFO: count ==12
[2025-04-12 09:43:03] Production.INFO: Date 2025-04-12
[2025-04-12 09:43:03] Production.INFO: Reseller ==> 0
[2025-04-12 09:43:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 09:43:03] Production.INFO: count ==23
[2025-04-12 09:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890718') start
[2025-04-12 09:43:04] Production.INFO: Total Charge 0
[2025-04-12 09:43:04] Production.ERROR: done
[2025-04-12 09:43:04] Production.INFO: CreateAllLog End
[2025-04-12 09:43:04] Production.INFO: ==13283== Releasing lock...
[2025-04-12 09:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 09:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 09:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890718') end
[2025-04-12 09:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 09:43:04] Production.INFO: 1
[2025-04-12 09:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 09:43:04] Production.INFO: ==13292== Releasing lock...
[2025-04-12 09:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 09:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 09:43:04] Production.INFO: Account Balance End.
[2025-04-12 09:43:04] Production.ERROR: CronJobId end 12
[2025-04-12 09:43:04] Production.INFO: ==13287== Releasing lock...
[2025-04-12 09:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 09:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 09:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 06:43:05
[end_date_ymd] => 2025-04-12 09:43:05
[RateCDR] => 1
)
[2025-04-12 09:43:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 06:43:05' and `end` < '2025-04-12 09:43:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 09:43:11] Production.ERROR: CronJobId end10
[2025-04-12 09:43:11] Production.INFO: ==13285== Releasing lock...
[2025-04-12 09:43:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 09:43:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 09:43:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 09:43:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 09:43:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 09:43:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 09:43:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 09:43:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 09:43:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 09:43:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 09:43:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 09:43:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 09:43:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 09:43:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 09:43:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 09:43:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 09:43:14] Production.INFO: call_cost start
[2025-04-12 09:43:14] Production.INFO: call_cost end
[2025-04-12 09:43:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 09:43:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 09:43:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 09:43:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 09:43:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 09:43:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 09:43:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 09:43:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 09:43:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 09:43:15] Production.INFO: ==13281== Releasing lock...
[2025-04-12 09:43:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 09:43:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 09:43:18] Production.INFO: count ==451
[2025-04-12 09:43:18] Production.ERROR: pbx CDR StartTime 2025-04-12 06:43:05 - End Time 2025-04-12 09:43:05
[2025-04-12 09:43:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 09:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890719', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890719', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890719', 'tblTempVendorCDR_20' ) start
[2025-04-12 09:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890719', 'tblTempVendorCDR_20' ) end
[2025-04-12 09:43:18] Production.INFO: ProcessCDR(1,14890719,1,1,2)
[2025-04-12 09:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890719,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:43:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890719,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:43:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890719,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:43:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890719,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:43:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890719', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:43:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890719', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:43:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 09:43:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 09:43:23] Production.INFO: ==13289== Releasing lock...
[2025-04-12 09:43:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 09:43:23] Production.INFO: 32.25 MB #Memory Used#
[2025-04-12 14:44:02] Production.INFO: ==13346== Lock acquired, processing the job...
[2025-04-12 14:44:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 14:44:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 14:44:02] Production.INFO: neon service started
[2025-04-12 14:44:02] Production.INFO: neon service started
[2025-04-12 14:44:02] Production.INFO: ==13346== Releasing lock...
[2025-04-12 14:44:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 14:44:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 09:44:02] Production.INFO: ==13348== Lock acquired, processing the job...
[2025-04-12 09:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 13:44:02] Production.INFO: ==13350== Lock acquired, processing the job...
[2025-04-12 13:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 13:44:02] Production.INFO: ==13350== Releasing lock...
[2025-04-12 13:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 13:44:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 09:44:03] Production.INFO: ==13348== Releasing lock...
[2025-04-12 09:44:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 09:44:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 09:44:03] Production.INFO: ==13353== Lock acquired, processing the job...
[2025-04-12 09:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 09:44:04] Production.INFO: ==13355== Lock acquired, processing the job...
[2025-04-12 09:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 09:44:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 09:44:04] Production.INFO: ==13359== Lock acquired, processing the job...
[2025-04-12 09:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 09:44:04] Production.INFO: Account Balance Start.
[2025-04-12 09:44:04] Production.INFO: CreateAllLog Start
[2025-04-12 09:44:04] Production.INFO: 117
[2025-04-12 09:44:04] Production.INFO: Date 2025-04-08
[2025-04-12 09:44:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:44:04] Production.INFO: ==13357== Lock acquired, processing the job...
[2025-04-12 09:44:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 09:44:04] Production.INFO: Date 2025-04-09
[2025-04-12 09:44:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:44:04] Production.INFO: Date 2025-04-10
[2025-04-12 09:44:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:44:04] Production.INFO: ==13355== Releasing lock...
[2025-04-12 09:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 09:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 09:44:04] Production.INFO: Date 2025-04-11
[2025-04-12 09:44:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:44:04] Production.INFO: ==13363== Lock acquired, processing the job...
[2025-04-12 09:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 09:44:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 09:44:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 09:44:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 09:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 09:44:04] Production.INFO: Date 2025-04-12
[2025-04-12 09:44:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:44:04] Production.INFO: ==13361== Lock acquired, processing the job...
[2025-04-12 09:44:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 09:44:04] Production.INFO: Total Charge 0
[2025-04-12 09:44:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 09:44:04] Production.INFO: CreateAllLog End
[2025-04-12 09:44:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 09:44:04] Production.INFO: count ==12
[2025-04-12 09:44:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 09:44:04] Production.INFO: count ==23
[2025-04-12 09:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890723') start
[2025-04-12 09:44:04] Production.INFO: Account Balance End.
[2025-04-12 09:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890723') end
[2025-04-12 09:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 09:44:04] Production.INFO: 1
[2025-04-12 09:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 09:44:04] Production.INFO: ==13363== Releasing lock...
[2025-04-12 09:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 09:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 09:44:05] Production.ERROR: CronJobId end 12
[2025-04-12 09:44:05] Production.INFO: ==13359== Releasing lock...
[2025-04-12 09:44:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 09:44:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 09:44:05] Production.ERROR: done
[2025-04-12 09:44:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 09:44:05] Production.ERROR: done
[2025-04-12 09:44:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 06:44:06
[end_date_ymd] => 2025-04-12 09:44:06
[RateCDR] => 1
)
[2025-04-12 09: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-12 06:44:06' and `end` < '2025-04-12 09: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-12 09:44:11] Production.ERROR: CronJobId end10
[2025-04-12 09:44:11] Production.INFO: ==13357== Releasing lock...
[2025-04-12 09:44:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 09:44:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 09:44:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 09:44:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 09:44:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 09:44:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 09:44:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 09:44:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 09:44:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 09:44:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 09:44:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 09:44:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 09:44:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 09:44:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 09:44:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 09:44:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 09:44:14] Production.INFO: call_cost start
[2025-04-12 09:44:14] Production.INFO: call_cost end
[2025-04-12 09:44:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 09:44:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 09:44:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 09:44:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 09:44:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 09:44:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 09:44:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 09:44:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 09:44:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 09:44:15] Production.INFO: ==13353== Releasing lock...
[2025-04-12 09:44:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 09:44:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 09:44:19] Production.INFO: count ==449
[2025-04-12 09:44:19] Production.ERROR: pbx CDR StartTime 2025-04-12 06:44:06 - End Time 2025-04-12 09:44:06
[2025-04-12 09:44:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 09:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890724', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890724', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890724', 'tblTempVendorCDR_20' ) start
[2025-04-12 09:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890724', 'tblTempVendorCDR_20' ) end
[2025-04-12 09:44:19] Production.INFO: ProcessCDR(1,14890724,1,1,2)
[2025-04-12 09:44:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890724,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:44:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890724,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:44:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890724,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:44:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890724,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890724', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890724', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:44:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 09:44:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 09:44:22] Production.INFO: ==13361== Releasing lock...
[2025-04-12 09:44:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 09:44:22] Production.INFO: 32.25 MB #Memory Used#
[2025-04-12 14:45:01] Production.INFO: ==13416== Lock acquired, processing the job...
[2025-04-12 14:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 14:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 14:45:01] Production.INFO: neon service started
[2025-04-12 14:45:01] Production.INFO: neon service started
[2025-04-12 14:45:01] Production.INFO: ==13416== Releasing lock...
[2025-04-12 14:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 14:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 09:45:02] Production.INFO: ==13418== Lock acquired, processing the job...
[2025-04-12 09:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 09:45:02] Production.INFO: ==13418== Releasing lock...
[2025-04-12 09:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 09:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 13:45:02] Production.INFO: ==13420== Lock acquired, processing the job...
[2025-04-12 13:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 13:45:02] Production.INFO: ==13420== Releasing lock...
[2025-04-12 13:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 13:45:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 09:45:03] Production.INFO: ==13430== Lock acquired, processing the job...
[2025-04-12 09:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 09:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 09:45:03] Production.INFO: ==13432== Lock acquired, processing the job...
[2025-04-12 09:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 09:45:03] Production.INFO: ==13422== Lock acquired, processing the job...
[2025-04-12 09:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 09:45:03] Production.ERROR: done
[2025-04-12 09:45:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 09:45:03] Production.INFO: ==13426== Lock acquired, processing the job...
[2025-04-12 09:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 09:45:03] Production.INFO: ==13424== Lock acquired, processing the job...
[2025-04-12 09:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 09:45:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 09:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 09:45:03] Production.INFO: ==13428== Lock acquired, processing the job...
[2025-04-12 09:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 09:45:03] Production.INFO: count ==12
[2025-04-12 09:45:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 09:45:03] Production.INFO: count ==23
[2025-04-12 09:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890725') start
[2025-04-12 09:45:03] Production.ERROR: done
[2025-04-12 09:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 09:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 09:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 09:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 09:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890725') end
[2025-04-12 09:45:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 09:45:03] Production.INFO: 1
[2025-04-12 09:45:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 09:45:03] Production.INFO: Account Balance Start.
[2025-04-12 09:45:03] Production.INFO: CreateAllLog Start
[2025-04-12 09:45:03] Production.INFO: 117
[2025-04-12 09:45:03] Production.INFO: ==13432== Releasing lock...
[2025-04-12 09:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 09:45:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 09:45:03] Production.INFO: Date 2025-04-08
[2025-04-12 09:45:03] Production.INFO: Reseller ==> 0
[2025-04-12 09:45:03] Production.INFO: Date 2025-04-09
[2025-04-12 09:45:03] Production.INFO: Reseller ==> 0
[2025-04-12 09:45:04] Production.INFO: Date 2025-04-10
[2025-04-12 09:45:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:45:04] Production.INFO: Date 2025-04-11
[2025-04-12 09:45:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:45:04] Production.INFO: ==13424== Releasing lock...
[2025-04-12 09:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 09:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 09:45:04] Production.INFO: Date 2025-04-12
[2025-04-12 09:45:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:45:04] Production.INFO: Total Charge 0
[2025-04-12 09:45:04] Production.INFO: CreateAllLog End
[2025-04-12 09:45:04] Production.INFO: Account Balance End.
[2025-04-12 09:45:04] Production.ERROR: CronJobId end 12
[2025-04-12 09:45:04] Production.INFO: ==13428== Releasing lock...
[2025-04-12 09:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 09:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 09:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 06:45:05
[end_date_ymd] => 2025-04-12 09:45:05
[RateCDR] => 1
)
[2025-04-12 09:45:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 06:45:05' and `end` < '2025-04-12 09:45:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 09:45:11] Production.ERROR: CronJobId end10
[2025-04-12 09:45:11] Production.INFO: ==13426== Releasing lock...
[2025-04-12 09:45:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 09:45:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 09:45:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 09:45:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 09:45:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 09:45:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 09:45:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 09:45:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 09:45:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 09:45:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 09:45:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 09:45:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 09:45:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 09:45:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 09:45:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 09:45:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 09:45:14] Production.INFO: call_cost start
[2025-04-12 09:45:14] Production.INFO: call_cost end
[2025-04-12 09:45:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 09:45:14] Production.INFO: ============== Report Schedule START===========
[2025-04-12 09:45:14] Production.INFO: ============== Report Schedule END===========
[2025-04-12 09:45:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 09:45:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 09:45:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 09:45:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 09:45:14] Production.INFO: ============== Deal alert START===========
[2025-04-12 09:45:14] Production.INFO: ============== Deal alert END===========
[2025-04-12 09:45:14] Production.INFO: ==13422== Releasing lock...
[2025-04-12 09:45:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 09:45:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 09:45:18] Production.INFO: count ==449
[2025-04-12 09:45:18] Production.ERROR: pbx CDR StartTime 2025-04-12 06:45:05 - End Time 2025-04-12 09:45:05
[2025-04-12 09:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 09:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890728', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890728', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890728', 'tblTempVendorCDR_20' ) start
[2025-04-12 09:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890728', 'tblTempVendorCDR_20' ) end
[2025-04-12 09:45:18] Production.INFO: ProcessCDR(1,14890728,1,1,2)
[2025-04-12 09:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890728,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890728,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890728,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:45:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890728,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890728', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890728', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:45:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 09:45:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 09:45:21] Production.INFO: ==13430== Releasing lock...
[2025-04-12 09:45:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 09:45:21] Production.INFO: 32.25 MB #Memory Used#
[2025-04-12 14:46:02] Production.INFO: ==13489== Lock acquired, processing the job...
[2025-04-12 14:46:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 14:46:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 14:46:02] Production.INFO: neon service started
[2025-04-12 14:46:02] Production.INFO: neon service started
[2025-04-12 14:46:02] Production.INFO: ==13489== Releasing lock...
[2025-04-12 14:46:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 14:46:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 13:46:02] Production.INFO: ==13493== Lock acquired, processing the job...
[2025-04-12 13:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 13:46:02] Production.INFO: ==13493== Releasing lock...
[2025-04-12 13:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 13:46:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 09:46:02] Production.INFO: ==13491== Lock acquired, processing the job...
[2025-04-12 09:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 09:46:03] Production.INFO: ==13491== Releasing lock...
[2025-04-12 09:46:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 09:46:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 09:46:03] Production.INFO: ==13496== Lock acquired, processing the job...
[2025-04-12 09:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 09:46:03] Production.INFO: ==13498== Lock acquired, processing the job...
[2025-04-12 09:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 09:46:03] Production.INFO: ==13500== Lock acquired, processing the job...
[2025-04-12 09:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 09:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 09:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 09:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 09:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 09:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 09:46:04] Production.INFO: ==13502== Lock acquired, processing the job...
[2025-04-12 09:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 09:46:04] Production.INFO: ==13498== Releasing lock...
[2025-04-12 09:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 09:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 09:46:04] Production.INFO: ==13504== Lock acquired, processing the job...
[2025-04-12 09:46:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 09:46:04] Production.INFO: ==13506== Lock acquired, processing the job...
[2025-04-12 09:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 09:46:04] Production.INFO: Account Balance Start.
[2025-04-12 09:46:04] Production.INFO: CreateAllLog Start
[2025-04-12 09:46:04] Production.INFO: 117
[2025-04-12 09:46:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 09:46:04] Production.INFO: Date 2025-04-08
[2025-04-12 09:46:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:46:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 09:46:04] Production.INFO: Date 2025-04-09
[2025-04-12 09:46:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:46:04] Production.INFO: count ==12
[2025-04-12 09:46:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 09:46:04] Production.INFO: count ==23
[2025-04-12 09:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890733') start
[2025-04-12 09:46:04] Production.INFO: Date 2025-04-10
[2025-04-12 09:46:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:46:04] Production.INFO: Date 2025-04-11
[2025-04-12 09:46:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:46:05] Production.ERROR: done
[2025-04-12 09:46:05] Production.INFO: Date 2025-04-12
[2025-04-12 09:46:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 09:46:05] Production.ERROR: PBX CALL prc_importPBXExtension('14890733') end
[2025-04-12 09:46:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 09:46:05] Production.INFO: 1
[2025-04-12 09:46:05] Production.INFO: Reseller ==> 0
[2025-04-12 09:46:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 09:46:05] Production.INFO: Total Charge 0
[2025-04-12 09:46:05] Production.INFO: CreateAllLog End
[2025-04-12 09:46:05] Production.INFO: ==13506== Releasing lock...
[2025-04-12 09:46:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 09:46:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 09:46:05] Production.ERROR: done
[2025-04-12 09:46:05] Production.INFO: Account Balance End.
[2025-04-12 09:46:05] Production.ERROR: CronJobId end 12
[2025-04-12 09:46:05] Production.INFO: ==13502== Releasing lock...
[2025-04-12 09:46:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 09:46:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 09:46:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 06:46:05
[end_date_ymd] => 2025-04-12 09:46:05
[RateCDR] => 1
)
[2025-04-12 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-12 06:46:05' and `end` < '2025-04-12 09:46:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 09:46:12] Production.ERROR: CronJobId end10
[2025-04-12 09:46:12] Production.INFO: ==13500== Releasing lock...
[2025-04-12 09:46:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 09:46:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 09:46:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 09:46:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 09:46:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 09:46:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 09:46:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 09:46:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 09:46:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 09:46:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 09:46:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 09:46:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 09:46:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 09:46:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 09:46:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 09:46:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 09:46:15] Production.INFO: call_cost start
[2025-04-12 09:46:15] Production.INFO: call_cost end
[2025-04-12 09:46:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 09:46:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 09:46:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 09:46:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 09:46:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 09:46:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 09:46:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 09:46:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 09:46:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 09:46:16] Production.INFO: ==13496== Releasing lock...
[2025-04-12 09:46:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 09:46:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 09:46:18] Production.INFO: count ==453
[2025-04-12 09:46:18] Production.ERROR: pbx CDR StartTime 2025-04-12 06:46:05 - End Time 2025-04-12 09:46:05
[2025-04-12 09:46:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 09:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890734', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890734', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890734', 'tblTempVendorCDR_20' ) start
[2025-04-12 09:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890734', 'tblTempVendorCDR_20' ) end
[2025-04-12 09:46:18] Production.INFO: ProcessCDR(1,14890734,1,1,2)
[2025-04-12 09:46:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890734,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:46:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890734,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:46:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890734,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:46:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890734,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890734', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890734', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:46:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 09:46:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 09:46:22] Production.INFO: ==13504== Releasing lock...
[2025-04-12 09:46:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 09:46:22] Production.INFO: 32 MB #Memory Used#
[2025-04-12 14:47:01] Production.INFO: ==13560== Lock acquired, processing the job...
[2025-04-12 14:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 14:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 14:47:01] Production.INFO: neon service started
[2025-04-12 14:47:01] Production.INFO: neon service started
[2025-04-12 14:47:01] Production.INFO: ==13560== Releasing lock...
[2025-04-12 14:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 14:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 13:47:01] Production.INFO: ==13564== Lock acquired, processing the job...
[2025-04-12 13:47:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 13:47:02] Production.INFO: ==13564== Releasing lock...
[2025-04-12 13:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 13:47:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 09:47:02] Production.INFO: ==13562== Lock acquired, processing the job...
[2025-04-12 09:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 09:47:02] Production.INFO: ==13562== Releasing lock...
[2025-04-12 09:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 09:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 09:47:03] Production.INFO: ==13566== Lock acquired, processing the job...
[2025-04-12 09:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 09:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 09:47:03] Production.INFO: ==13577== Lock acquired, processing the job...
[2025-04-12 09:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 09:47:03] Production.INFO: ==13568== Lock acquired, processing the job...
[2025-04-12 09:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 09:47:03] Production.INFO: ==13570== Lock acquired, processing the job...
[2025-04-12 09:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 09:47:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 09:47:03] Production.INFO: count ==12
[2025-04-12 09:47:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 09:47:03] Production.INFO: count ==23
[2025-04-12 09:47:03] Production.INFO: ==13575== Lock acquired, processing the job...
[2025-04-12 09:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 09:47:03] Production.INFO: ==13573== Lock acquired, processing the job...
[2025-04-12 09:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 09:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890736') start
[2025-04-12 09:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 09:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 09:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 09:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 09:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 09:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890736') end
[2025-04-12 09:47:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 09:47:03] Production.INFO: 1
[2025-04-12 09:47:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 09:47:03] Production.INFO: ==13577== Releasing lock...
[2025-04-12 09:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 09:47:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 09:47:03] Production.INFO: Account Balance Start.
[2025-04-12 09:47:03] Production.INFO: CreateAllLog Start
[2025-04-12 09:47:03] Production.INFO: 117
[2025-04-12 09:47:03] Production.INFO: Date 2025-04-08
[2025-04-12 09:47:03] Production.INFO: Reseller ==> 0
[2025-04-12 09:47:03] Production.INFO: ==13568== Releasing lock...
[2025-04-12 09:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 09:47:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 09:47:03] Production.INFO: Date 2025-04-09
[2025-04-12 09:47:03] Production.INFO: Reseller ==> 0
[2025-04-12 09:47:04] Production.ERROR: done
[2025-04-12 09:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 09:47:04] Production.INFO: Date 2025-04-10
[2025-04-12 09:47:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:47:04] Production.INFO: Date 2025-04-11
[2025-04-12 09:47:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:47:04] Production.ERROR: done
[2025-04-12 09:47:04] Production.INFO: Date 2025-04-12
[2025-04-12 09:47:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:47:04] Production.INFO: Total Charge 0
[2025-04-12 09:47:04] Production.INFO: CreateAllLog End
[2025-04-12 09:47:04] Production.INFO: Account Balance End.
[2025-04-12 09:47:04] Production.ERROR: CronJobId end 12
[2025-04-12 09:47:04] Production.INFO: ==13573== Releasing lock...
[2025-04-12 09:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 09:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 09:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 06:47:05
[end_date_ymd] => 2025-04-12 09:47:05
[RateCDR] => 1
)
[2025-04-12 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-12 06:47:05' and `end` < '2025-04-12 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-12 09:47:10] Production.ERROR: CronJobId end10
[2025-04-12 09:47:10] Production.INFO: ==13570== Releasing lock...
[2025-04-12 09:47:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 09:47:10] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 09:47:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 09:47:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 09:47:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 09:47:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 09:47:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 09:47:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 09:47:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 09:47:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 09:47:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 09:47:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 09:47:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 09:47:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 09:47:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 09:47:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 09:47:14] Production.INFO: call_cost start
[2025-04-12 09:47:14] Production.INFO: call_cost end
[2025-04-12 09:47:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 09:47:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 09:47:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 09:47:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 09:47:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 09:47:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 09:47:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 09:47:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 09:47:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 09:47:15] Production.INFO: ==13566== Releasing lock...
[2025-04-12 09:47:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 09:47:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 09:47:18] Production.INFO: count ==456
[2025-04-12 09:47:18] Production.ERROR: pbx CDR StartTime 2025-04-12 06:47:05 - End Time 2025-04-12 09:47:05
[2025-04-12 09:47:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 09:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890739', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890739', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890739', 'tblTempVendorCDR_20' ) start
[2025-04-12 09:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890739', 'tblTempVendorCDR_20' ) end
[2025-04-12 09:47:18] Production.INFO: ProcessCDR(1,14890739,1,1,2)
[2025-04-12 09:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890739,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:47:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890739,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:47:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890739,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:47:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890739,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:47:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890739', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:47:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890739', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:47:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 09:47:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 09:47:23] Production.INFO: ==13575== Releasing lock...
[2025-04-12 09:47:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 09:47:23] Production.INFO: 32.25 MB #Memory Used#
[2025-04-12 14:48:02] Production.INFO: ==13636== Lock acquired, processing the job...
[2025-04-12 14:48:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 14:48:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 14:48:02] Production.INFO: neon service started
[2025-04-12 14:48:02] Production.INFO: neon service started
[2025-04-12 14:48:02] Production.INFO: ==13636== Releasing lock...
[2025-04-12 14:48:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 14:48:02] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 13:48:02] Production.INFO: ==13640== Lock acquired, processing the job...
[2025-04-12 13:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 13:48:02] Production.INFO: ==13640== Releasing lock...
[2025-04-12 13:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 13:48:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 09:48:02] Production.INFO: ==13638== Lock acquired, processing the job...
[2025-04-12 09:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 09:48:02] Production.INFO: ==13638== Releasing lock...
[2025-04-12 09:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 09:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 09:48:03] Production.INFO: ==13645== Lock acquired, processing the job...
[2025-04-12 09:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 09:48:03] Production.INFO: ==13642== Lock acquired, processing the job...
[2025-04-12 09:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 09:48:03] Production.INFO: ==13651== Lock acquired, processing the job...
[2025-04-12 09:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 09:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 09:48:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 09:48:04] Production.INFO: ==13647== Lock acquired, processing the job...
[2025-04-12 09:48:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 09:48:04] Production.INFO: ==13649== Lock acquired, processing the job...
[2025-04-12 09:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 09:48:04] Production.INFO: ==13653== Lock acquired, processing the job...
[2025-04-12 09:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 09:48:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 09:48:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 09:48:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 09:48:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 09:48:04] Production.INFO: Account Balance Start.
[2025-04-12 09:48:04] Production.INFO: CreateAllLog Start
[2025-04-12 09:48:04] Production.INFO: 117
[2025-04-12 09:48:04] Production.INFO: Date 2025-04-08
[2025-04-12 09:48:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:48:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 09:48:04] Production.INFO: count ==12
[2025-04-12 09:48:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 09:48:04] Production.INFO: count ==23
[2025-04-12 09:48:04] Production.INFO: ==13645== Releasing lock...
[2025-04-12 09:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 09:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 09:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890743') start
[2025-04-12 09:48:04] Production.INFO: Date 2025-04-09
[2025-04-12 09:48:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:48:04] Production.ERROR: done
[2025-04-12 09:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 09:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890743') end
[2025-04-12 09:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 09:48:04] Production.INFO: 1
[2025-04-12 09:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 09:48:04] Production.INFO: Date 2025-04-10
[2025-04-12 09:48:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:48:04] Production.INFO: Date 2025-04-11
[2025-04-12 09:48:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:48:04] Production.INFO: Date 2025-04-12
[2025-04-12 09:48:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:48:04] Production.INFO: Total Charge 0
[2025-04-12 09:48:04] Production.INFO: CreateAllLog End
[2025-04-12 09:48:04] Production.INFO: ==13653== Releasing lock...
[2025-04-12 09:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 09:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 09:48:04] Production.ERROR: done
[2025-04-12 09:48:04] Production.INFO: Account Balance End.
[2025-04-12 09:48:04] Production.ERROR: CronJobId end 12
[2025-04-12 09:48:04] Production.INFO: ==13649== Releasing lock...
[2025-04-12 09:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 09:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 09:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 06:48:05
[end_date_ymd] => 2025-04-12 09:48:05
[RateCDR] => 1
)
[2025-04-12 09:48:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 06:48:05' and `end` < '2025-04-12 09:48:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 09:48:11] Production.ERROR: CronJobId end10
[2025-04-12 09:48:11] Production.INFO: ==13647== Releasing lock...
[2025-04-12 09:48:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 09:48:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 09:48:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 09:48:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 09:48:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 09:48:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 09:48:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 09:48:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 09:48:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 09:48:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 09:48:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 09:48:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 09:48:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 09:48:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 09:48:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 09:48:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 09:48:14] Production.INFO: call_cost start
[2025-04-12 09:48:14] Production.INFO: call_cost end
[2025-04-12 09:48:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 09:48:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 09:48:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 09:48:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 09:48:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 09:48:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 09:48:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 09:48:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 09:48:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 09:48:15] Production.INFO: ==13642== Releasing lock...
[2025-04-12 09:48:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 09:48:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 09:48:18] Production.INFO: count ==456
[2025-04-12 09:48:18] Production.ERROR: pbx CDR StartTime 2025-04-12 06:48:05 - End Time 2025-04-12 09:48:05
[2025-04-12 09:48:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 09:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890744', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890744', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890744', 'tblTempVendorCDR_20' ) start
[2025-04-12 09:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890744', 'tblTempVendorCDR_20' ) end
[2025-04-12 09:48:18] Production.INFO: ProcessCDR(1,14890744,1,1,2)
[2025-04-12 09:48:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890744,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:48:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890744,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:48:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890744,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:48:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890744,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890744', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890744', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:48:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 09:48:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 09:48:22] Production.INFO: ==13651== Releasing lock...
[2025-04-12 09:48:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 09:48:22] Production.INFO: 32.25 MB #Memory Used#
[2025-04-12 14:49:01] Production.INFO: ==13713== Lock acquired, processing the job...
[2025-04-12 14:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 14:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 14:49:01] Production.INFO: neon service started
[2025-04-12 14:49:01] Production.INFO: neon service started
[2025-04-12 14:49:01] Production.INFO: ==13713== Releasing lock...
[2025-04-12 14:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 14:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 09:49:01] Production.INFO: ==13715== Lock acquired, processing the job...
[2025-04-12 09:49:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 13:49:02] Production.INFO: ==13717== Lock acquired, processing the job...
[2025-04-12 13:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 09:49:02] Production.INFO: ==13715== Releasing lock...
[2025-04-12 09:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 09:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 13:49:02] Production.INFO: ==13717== Releasing lock...
[2025-04-12 13:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 13:49:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 09:49:03] Production.INFO: ==13724== Lock acquired, processing the job...
[2025-04-12 09:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 09:49:03] Production.INFO: ==13726== Lock acquired, processing the job...
[2025-04-12 09:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 09:49:03] Production.INFO: ==13730== Lock acquired, processing the job...
[2025-04-12 09:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 09:49:03] Production.INFO: Account Balance Start.
[2025-04-12 09:49:03] Production.INFO: CreateAllLog Start
[2025-04-12 09:49:03] Production.INFO: 117
[2025-04-12 09:49:03] Production.INFO: Date 2025-04-08
[2025-04-12 09:49:03] Production.INFO: Reseller ==> 0
[2025-04-12 09:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 09:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 09:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 09:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 09:49:03] Production.INFO: Date 2025-04-09
[2025-04-12 09:49:03] Production.INFO: Reseller ==> 0
[2025-04-12 09:49:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 09:49:03] Production.INFO: count ==12
[2025-04-12 09:49:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 09:49:03] Production.INFO: count ==23
[2025-04-12 09:49:03] Production.INFO: Date 2025-04-10
[2025-04-12 09:49:03] Production.INFO: Reseller ==> 0
[2025-04-12 09:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890746') start
[2025-04-12 09:49:03] Production.INFO: Date 2025-04-11
[2025-04-12 09:49:03] Production.INFO: Reseller ==> 0
[2025-04-12 09:49:03] Production.INFO: Date 2025-04-12
[2025-04-12 09:49:03] Production.INFO: Reseller ==> 0
[2025-04-12 09:49:03] Production.INFO: Total Charge 0
[2025-04-12 09:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890746') end
[2025-04-12 09:49:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 09:49:03] Production.INFO: 1
[2025-04-12 09:49:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 09:49:03] Production.INFO: ==13719== Lock acquired, processing the job...
[2025-04-12 09:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 09:49:03] Production.INFO: CreateAllLog End
[2025-04-12 09:49:03] Production.INFO: ==13721== Lock acquired, processing the job...
[2025-04-12 09:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 09:49:03] Production.INFO: ==13730== Releasing lock...
[2025-04-12 09:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 09:49:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 09:49:03] Production.INFO: ==13728== Lock acquired, processing the job...
[2025-04-12 09:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 09:49:03] Production.INFO: Account Balance End.
[2025-04-12 09:49:03] Production.ERROR: CronJobId end 12
[2025-04-12 09:49:03] Production.INFO: ==13726== Releasing lock...
[2025-04-12 09:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 09:49:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 09:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 09:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 09:49:03] Production.INFO: ==13721== Releasing lock...
[2025-04-12 09:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 09:49:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 09:49:04] Production.ERROR: done
[2025-04-12 09:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 09:49:04] Production.ERROR: done
[2025-04-12 09:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 06:49:05
[end_date_ymd] => 2025-04-12 09:49:05
[RateCDR] => 1
)
[2025-04-12 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-12 06:49:05' and `end` < '2025-04-12 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-12 09:49:11] Production.ERROR: CronJobId end10
[2025-04-12 09:49:11] Production.INFO: ==13724== Releasing lock...
[2025-04-12 09:49:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 09:49:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 09:49:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 09:49:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 09:49:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 09:49:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 09:49:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 09:49:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 09:49:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 09:49:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 09:49:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 09:49:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 09:49:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 09:49:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 09:49:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 09:49:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 09:49:14] Production.INFO: call_cost start
[2025-04-12 09:49:14] Production.INFO: call_cost end
[2025-04-12 09:49:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 09:49:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 09:49:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 09:49:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 09:49:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 09:49:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 09:49:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 09:49:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 09:49:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 09:49:15] Production.INFO: ==13719== Releasing lock...
[2025-04-12 09:49:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 09:49:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 09:49:18] Production.INFO: count ==456
[2025-04-12 09:49:18] Production.ERROR: pbx CDR StartTime 2025-04-12 06:49:05 - End Time 2025-04-12 09:49:05
[2025-04-12 09:49:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 09:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890749', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890749', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890749', 'tblTempVendorCDR_20' ) start
[2025-04-12 09:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890749', 'tblTempVendorCDR_20' ) end
[2025-04-12 09:49:18] Production.INFO: ProcessCDR(1,14890749,1,1,2)
[2025-04-12 09:49:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890749,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:49:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890749,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:49:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890749,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:49:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890749,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:49:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890749', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:49:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890749', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:49:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 09:49:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 09:49:23] Production.INFO: ==13728== Releasing lock...
[2025-04-12 09:49:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 09:49:23] Production.INFO: 32.25 MB #Memory Used#
[2025-04-12 14:50:02] Production.INFO: ==13788== Lock acquired, processing the job...
[2025-04-12 14:50:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 14:50:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 14:50:02] Production.INFO: neon service started
[2025-04-12 14:50:02] Production.INFO: neon service started
[2025-04-12 14:50:02] Production.INFO: ==13788== Releasing lock...
[2025-04-12 14:50:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 14:50:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 09:50:02] Production.INFO: ==13790== Lock acquired, processing the job...
[2025-04-12 09:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 09:50:02] Production.INFO: ==13790== Releasing lock...
[2025-04-12 09:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 09:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 13:50:02] Production.INFO: ==13792== Lock acquired, processing the job...
[2025-04-12 13:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 13:50:03] Production.INFO: ==13792== Releasing lock...
[2025-04-12 13:50:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 13:50:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 09:50:03] Production.INFO: ==13798== Lock acquired, processing the job...
[2025-04-12 09:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 09:50:04] Production.INFO: ==13796== Lock acquired, processing the job...
[2025-04-12 09:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 09:50:04] Production.INFO: ==13794== Lock acquired, processing the job...
[2025-04-12 09:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 09:50:04] Production.INFO: ==13802== Lock acquired, processing the job...
[2025-04-12 09:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 09:50:04] Production.INFO: ==13800== Lock acquired, processing the job...
[2025-04-12 09:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 09:50:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 09:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 09:50:04] Production.ERROR: CronJob PID - 13796
[2025-04-12 09:50:04] Production.ERROR: CronJob Title - System Alerts
[2025-04-12 09:50:04] Production.ERROR: CronJob ID - 5
[2025-04-12 09:50:04] Production.ERROR: CronJob Last Run Time 2025-04-12 09:50:00
[2025-04-12 09:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 09:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 09:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 09:50:04] Production.ERROR: CronJob PID - 13798
[2025-04-12 09:50:04] Production.ERROR: CronJob Title - Account Block
[2025-04-12 09:50:04] Production.ERROR: CronJob ID - 7
[2025-04-12 09:50:04] Production.ERROR: CronJob Last Run Time 2025-04-12 09:50:00
[2025-04-12 09:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 09:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 09:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 09:50:04] Production.ERROR: CronJob PID - 13802
[2025-04-12 09:50:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-04-12 09:50:04] Production.ERROR: CronJob ID - 12
[2025-04-12 09:50:04] Production.ERROR: CronJob Last Run Time 2025-04-12 09:50:00
[2025-04-12 09:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 09:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 09:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 09:50:04] Production.INFO: ==13809== Lock acquired, processing the job...
[2025-04-12 09:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 09:50:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 09:50:04] Production.INFO: ==13794== Releasing lock...
[2025-04-12 09:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 09:50:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 09:50:04] Production.INFO: Account Balance Start.
[2025-04-12 09:50:04] Production.INFO: CreateAllLog Start
[2025-04-12 09:50:04] Production.INFO: 117
[2025-04-12 09:50:04] Production.INFO: Date 2025-04-08
[2025-04-12 09:50:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:50:04] Production.INFO: ==13804== Lock acquired, processing the job...
[2025-04-12 09:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 09:50:04] Production.INFO: ==13798== Releasing lock...
[2025-04-12 09:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 09:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 09:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 09:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 09:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 09:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 09:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 09:50:04] Production.INFO: Date 2025-04-09
[2025-04-12 09:50:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:50:04] Production.INFO: count ==12
[2025-04-12 09:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 09:50:04] Production.INFO: count ==23
[2025-04-12 09:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890753') start
[2025-04-12 09:50:04] Production.INFO: Date 2025-04-10
[2025-04-12 09:50:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:50:04] Production.INFO: ==13806== Lock acquired, processing the job...
[2025-04-12 09:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 09:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 09:50:04] Production.INFO: Date 2025-04-11
[2025-04-12 09:50:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890753') end
[2025-04-12 09:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 09:50:04] Production.INFO: 1
[2025-04-12 09:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 09:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 09:50:04] Production.INFO: Date 2025-04-12
[2025-04-12 09:50:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:50:04] Production.INFO: ==13809== Releasing lock...
[2025-04-12 09:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 09:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 09:50:04] Production.INFO: Total Charge 0
[2025-04-12 09:50:04] Production.INFO: CreateAllLog End
[2025-04-12 09:50:04] Production.ERROR: done
[2025-04-12 09:50:05] Production.ERROR: done
[2025-04-12 09:50:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 09:50:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 09:50:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14890754', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 09:50:05] Production.INFO: Account Balance End.
[2025-04-12 09:50:05] Production.ERROR: CronJobId end 12
[2025-04-12 09:50:05] Production.INFO: ==13802== Releasing lock...
[2025-04-12 09:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 09:50:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 09:50:05] Production.ERROR: done
[2025-04-12 09:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 06:50:06
[end_date_ymd] => 2025-04-12 09:50:06
[RateCDR] => 1
)
[2025-04-12 09:50:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 06:50:06' and `end` < '2025-04-12 09:50:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 09:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14890754', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 09:50:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 09:50:09] Production.INFO: ProcessCDR(1,14890754,1,1,2)
[2025-04-12 09:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14890754,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14890754,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:50:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 09:50:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 09:50:09] Production.INFO: ==13806== Releasing lock...
[2025-04-12 09:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 09:50:09] Production.INFO: 26 MB #Memory Used#
[2025-04-12 09:50:13] Production.ERROR: CronJobId end10
[2025-04-12 09:50:13] Production.INFO: ==13800== Releasing lock...
[2025-04-12 09:50:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 09:50:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 09:50:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 09:50:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 09:50:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 09:50:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 09:50:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 09:50:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 09:50:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 09:50:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 09:50:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 09:50:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 09:50:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 09:50:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 09:50:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 09:50:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 09:50:16] Production.INFO: call_cost start
[2025-04-12 09:50:16] Production.INFO: call_cost end
[2025-04-12 09:50:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 09:50:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 09:50:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 09:50:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 09:50:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 09:50:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 09:50:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 09:50:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 09:50:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 09:50:17] Production.INFO: ==13796== Releasing lock...
[2025-04-12 09:50:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 09:50:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 09:50:19] Production.INFO: count ==473
[2025-04-12 09:50:19] Production.ERROR: pbx CDR StartTime 2025-04-12 06:50:06 - End Time 2025-04-12 09:50:06
[2025-04-12 09:50:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 09:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890755', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890755', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890755', 'tblTempVendorCDR_20' ) start
[2025-04-12 09:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890755', 'tblTempVendorCDR_20' ) end
[2025-04-12 09:50:19] Production.INFO: ProcessCDR(1,14890755,1,1,2)
[2025-04-12 09:50:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890755,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:50:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890755,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:50:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890755,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:50:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890755,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:50:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890755', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:50:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890755', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:50:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 09:50:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 09:50:24] Production.INFO: ==13804== Releasing lock...
[2025-04-12 09:50:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 09:50:24] Production.INFO: 32.25 MB #Memory Used#
[2025-04-12 14:51:01] Production.INFO: ==13861== Lock acquired, processing the job...
[2025-04-12 14:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 14:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 14:51:01] Production.INFO: neon service started
[2025-04-12 14:51:01] Production.INFO: neon service started
[2025-04-12 14:51:01] Production.INFO: ==13861== Releasing lock...
[2025-04-12 14:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 14:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 13:51:01] Production.INFO: ==13865== Lock acquired, processing the job...
[2025-04-12 13:51:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 13:51:01] Production.INFO: ==13865== Releasing lock...
[2025-04-12 13:51:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 13:51:01] Production.INFO: 25 MB #Memory Used#
[2025-04-12 09:51:02] Production.INFO: ==13863== Lock acquired, processing the job...
[2025-04-12 09:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 09:51:02] Production.INFO: ==13863== Releasing lock...
[2025-04-12 09:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 09:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 09:51:03] Production.INFO: ==13870== Lock acquired, processing the job...
[2025-04-12 09:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 09:51:03] Production.INFO: ==13878== Lock acquired, processing the job...
[2025-04-12 09:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 09:51:03] Production.INFO: ==13868== Lock acquired, processing the job...
[2025-04-12 09:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 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-12 09:51:03] Production.INFO: count ==12
[2025-04-12 09:51:03] Production.INFO: ==13872== Lock acquired, processing the job...
[2025-04-12 09:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 09:51:03] Production.INFO: ==13870== Releasing lock...
[2025-04-12 09:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 09:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 09:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 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-12 09:51:03] Production.INFO: count ==23
[2025-04-12 09:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890757') start
[2025-04-12 09:51:03] Production.INFO: ==13874== Lock acquired, processing the job...
[2025-04-12 09:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 09:51:03] Production.INFO: ==13876== Lock acquired, processing the job...
[2025-04-12 09:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 09:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890757') end
[2025-04-12 09:51:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 09:51:03] Production.INFO: 1
[2025-04-12 09:51:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 09:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 09:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 09:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 09:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 09:51:03] Production.INFO: ==13878== Releasing lock...
[2025-04-12 09:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 09:51:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 09:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 09:51:03] Production.INFO: Account Balance Start.
[2025-04-12 09:51:03] Production.INFO: CreateAllLog Start
[2025-04-12 09:51:03] Production.INFO: 117
[2025-04-12 09:51:03] Production.INFO: Date 2025-04-08
[2025-04-12 09:51:03] Production.INFO: Reseller ==> 0
[2025-04-12 09:51:03] Production.INFO: Date 2025-04-09
[2025-04-12 09:51:03] Production.INFO: Reseller ==> 0
[2025-04-12 09:51:03] Production.INFO: Date 2025-04-10
[2025-04-12 09:51:03] Production.INFO: Reseller ==> 0
[2025-04-12 09:51:03] Production.INFO: Date 2025-04-11
[2025-04-12 09:51:03] Production.INFO: Reseller ==> 0
[2025-04-12 09:51:03] Production.INFO: Date 2025-04-12
[2025-04-12 09:51:03] Production.INFO: Reseller ==> 0
[2025-04-12 09:51:03] Production.ERROR: done
[2025-04-12 09:51:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 09:51:03] Production.INFO: Total Charge 0
[2025-04-12 09:51:03] Production.INFO: CreateAllLog End
[2025-04-12 09:51:04] Production.ERROR: done
[2025-04-12 09:51:04] Production.INFO: Account Balance End.
[2025-04-12 09:51:04] Production.ERROR: CronJobId end 12
[2025-04-12 09:51:04] Production.INFO: ==13874== Releasing lock...
[2025-04-12 09:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 09:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 09:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 06:51:05
[end_date_ymd] => 2025-04-12 09:51:05
[RateCDR] => 1
)
[2025-04-12 09:51:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 06:51:05' and `end` < '2025-04-12 09:51:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 09:51:12] Production.ERROR: CronJobId end10
[2025-04-12 09:51:12] Production.INFO: ==13872== Releasing lock...
[2025-04-12 09:51:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 09:51:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 09:51:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 09:51:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 09:51:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 09:51:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 09:51:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 09:51:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 09:51:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 09:51:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 09:51:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 09:51:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 09:51:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 09:51:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 09:51:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 09:51:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 09:51:14] Production.INFO: call_cost start
[2025-04-12 09:51:14] Production.INFO: call_cost end
[2025-04-12 09:51:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 09:51:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 09:51:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 09:51:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 09:51:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 09:51:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 09:51:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 09:51:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 09:51:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 09:51:15] Production.INFO: ==13868== Releasing lock...
[2025-04-12 09:51:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 09:51:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 09:51:18] Production.INFO: count ==512
[2025-04-12 09:51:18] Production.ERROR: pbx CDR StartTime 2025-04-12 06:51:05 - End Time 2025-04-12 09:51:05
[2025-04-12 09:51:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 09:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890760', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890760', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890760', 'tblTempVendorCDR_20' ) start
[2025-04-12 09:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890760', 'tblTempVendorCDR_20' ) end
[2025-04-12 09:51:18] Production.INFO: ProcessCDR(1,14890760,1,1,2)
[2025-04-12 09:51:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890760,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:51:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890760,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:51:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890760,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:51:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890760,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:51:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890760', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:51:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890760', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:51:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 09:51:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 09:51:23] Production.INFO: ==13876== Releasing lock...
[2025-04-12 09:51:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 09:51:23] Production.INFO: 33 MB #Memory Used#
[2025-04-12 14:52:01] Production.INFO: ==13937== Lock acquired, processing the job...
[2025-04-12 14:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 14:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 14:52:01] Production.INFO: neon service started
[2025-04-12 14:52:01] Production.INFO: neon service started
[2025-04-12 14:52:01] Production.INFO: ==13937== Releasing lock...
[2025-04-12 14:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 14:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 09:52:02] Production.INFO: ==13939== Lock acquired, processing the job...
[2025-04-12 09:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 09:52:02] Production.INFO: ==13939== Releasing lock...
[2025-04-12 09:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 09:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 13:52:02] Production.INFO: ==13941== Lock acquired, processing the job...
[2025-04-12 13:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 13:52:02] Production.INFO: ==13941== Releasing lock...
[2025-04-12 13:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 13:52:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 09:52:03] Production.INFO: ==13946== Lock acquired, processing the job...
[2025-04-12 09:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 09:52:03] Production.INFO: ==13954== Lock acquired, processing the job...
[2025-04-12 09:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 09:52:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 09:52:03] Production.INFO: count ==12
[2025-04-12 09:52:03] Production.INFO: ==13944== Lock acquired, processing the job...
[2025-04-12 09:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 09:52:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 09:52:03] Production.INFO: ==13946== Releasing lock...
[2025-04-12 09:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 09:52:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 09:52:03] Production.INFO: count ==23
[2025-04-12 09:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890762') start
[2025-04-12 09:52:03] Production.INFO: ==13948== Lock acquired, processing the job...
[2025-04-12 09:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 09:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 09:52:03] Production.INFO: ==13950== Lock acquired, processing the job...
[2025-04-12 09:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 09:52:03] Production.INFO: ==13952== Lock acquired, processing the job...
[2025-04-12 09:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 09:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890762') end
[2025-04-12 09:52:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 09:52:03] Production.INFO: 1
[2025-04-12 09:52:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 09:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 09:52:03] Production.INFO: ==13954== Releasing lock...
[2025-04-12 09:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 09:52:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 09:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 09:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 09:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 09:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 09:52:03] Production.INFO: Account Balance Start.
[2025-04-12 09:52:03] Production.INFO: CreateAllLog Start
[2025-04-12 09:52:03] Production.INFO: 117
[2025-04-12 09:52:03] Production.INFO: Date 2025-04-08
[2025-04-12 09:52:03] Production.INFO: Reseller ==> 0
[2025-04-12 09:52:03] Production.INFO: Date 2025-04-09
[2025-04-12 09:52:03] Production.INFO: Reseller ==> 0
[2025-04-12 09:52:03] Production.INFO: Date 2025-04-10
[2025-04-12 09:52:03] Production.INFO: Reseller ==> 0
[2025-04-12 09:52:03] Production.INFO: Date 2025-04-11
[2025-04-12 09:52:03] Production.INFO: Reseller ==> 0
[2025-04-12 09:52:04] Production.INFO: Date 2025-04-12
[2025-04-12 09:52:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:52:04] Production.INFO: Total Charge 0
[2025-04-12 09:52:04] Production.INFO: CreateAllLog End
[2025-04-12 09:52:04] Production.ERROR: done
[2025-04-12 09:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 09:52:04] Production.INFO: Account Balance End.
[2025-04-12 09:52:04] Production.ERROR: done
[2025-04-12 09:52:04] Production.ERROR: CronJobId end 12
[2025-04-12 09:52:04] Production.INFO: ==13950== Releasing lock...
[2025-04-12 09:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 09:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 09:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 06:52:05
[end_date_ymd] => 2025-04-12 09:52:05
[RateCDR] => 1
)
[2025-04-12 09:52:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 06:52:05' and `end` < '2025-04-12 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-12 09:52:12] Production.ERROR: CronJobId end10
[2025-04-12 09:52:12] Production.INFO: ==13948== Releasing lock...
[2025-04-12 09:52:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 09:52:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 09:52:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 09:52:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 09:52:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 09:52:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 09:52:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 09:52:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 09:52:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 09:52:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 09:52:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 09:52:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 09:52:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 09:52:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 09:52:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 09:52:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 09:52:14] Production.INFO: call_cost start
[2025-04-12 09:52:14] Production.INFO: call_cost end
[2025-04-12 09:52:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 09:52:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 09:52:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 09:52:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 09:52:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 09:52:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 09:52:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 09:52:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 09:52:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 09:52:15] Production.INFO: ==13944== Releasing lock...
[2025-04-12 09:52:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 09:52:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 09:52:18] Production.INFO: count ==517
[2025-04-12 09:52:18] Production.ERROR: pbx CDR StartTime 2025-04-12 06:52:05 - End Time 2025-04-12 09:52:05
[2025-04-12 09:52:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 09:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890765', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890765', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890765', 'tblTempVendorCDR_20' ) start
[2025-04-12 09:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890765', 'tblTempVendorCDR_20' ) end
[2025-04-12 09:52:18] Production.INFO: ProcessCDR(1,14890765,1,1,2)
[2025-04-12 09:52:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890765,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:52:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890765,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:52:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890765,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:52:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890765,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890765', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890765', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:52:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 09:52:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 09:52:21] Production.INFO: ==13952== Releasing lock...
[2025-04-12 09:52:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 09:52:21] Production.INFO: 32.75 MB #Memory Used#
[2025-04-12 14:53:02] Production.INFO: ==14011== Lock acquired, processing the job...
[2025-04-12 14:53:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 14:53:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 14:53:02] Production.INFO: neon service started
[2025-04-12 14:53:02] Production.INFO: neon service started
[2025-04-12 14:53:02] Production.INFO: ==14011== Releasing lock...
[2025-04-12 14:53:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 14:53:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 13:53:02] Production.INFO: ==14015== Lock acquired, processing the job...
[2025-04-12 13:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 13:53:02] Production.INFO: ==14015== Releasing lock...
[2025-04-12 13:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 13:53:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 09:53:02] Production.INFO: ==14013== Lock acquired, processing the job...
[2025-04-12 09:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 09:53:03] Production.INFO: ==14013== Releasing lock...
[2025-04-12 09:53:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 09:53:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 09:53:04] Production.INFO: ==14020== Lock acquired, processing the job...
[2025-04-12 09:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 09:53:04] Production.INFO: ==14026== Lock acquired, processing the job...
[2025-04-12 09:53:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 09:53:04] Production.INFO: ==14018== Lock acquired, processing the job...
[2025-04-12 09:53:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 09:53:04] Production.INFO: ==14022== Lock acquired, processing the job...
[2025-04-12 09:53:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 09:53:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 09:53:04] Production.INFO: ==14024== Lock acquired, processing the job...
[2025-04-12 09:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 09:53:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 09:53:04] Production.INFO: ==14028== Lock acquired, processing the job...
[2025-04-12 09:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 09:53:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 09:53:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 09:53:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 09:53:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 09:53:04] Production.INFO: Account Balance Start.
[2025-04-12 09:53:04] Production.INFO: CreateAllLog Start
[2025-04-12 09:53:04] Production.INFO: 117
[2025-04-12 09:53:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 09:53:04] Production.INFO: Date 2025-04-08
[2025-04-12 09:53:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:53:04] Production.INFO: count ==12
[2025-04-12 09:53:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 09:53:04] Production.INFO: count ==23
[2025-04-12 09:53:04] Production.INFO: Date 2025-04-09
[2025-04-12 09:53:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:53:04] Production.ERROR: done
[2025-04-12 09:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 09:53:04] Production.INFO: ==14020== Releasing lock...
[2025-04-12 09:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 09:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 09:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890769') start
[2025-04-12 09:53:04] Production.INFO: Date 2025-04-10
[2025-04-12 09:53:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:53:04] Production.ERROR: done
[2025-04-12 09:53:04] Production.INFO: Date 2025-04-11
[2025-04-12 09:53:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890769') end
[2025-04-12 09:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 09:53:04] Production.INFO: 1
[2025-04-12 09:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 09:53:04] Production.INFO: Date 2025-04-12
[2025-04-12 09:53:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:53:04] Production.INFO: Total Charge 0
[2025-04-12 09:53:04] Production.INFO: CreateAllLog End
[2025-04-12 09:53:04] Production.INFO: ==14028== Releasing lock...
[2025-04-12 09:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 09:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 09:53:05] Production.INFO: Account Balance End.
[2025-04-12 09:53:05] Production.ERROR: CronJobId end 12
[2025-04-12 09:53:05] Production.INFO: ==14024== Releasing lock...
[2025-04-12 09:53:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 09:53:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 09:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 06:53:05
[end_date_ymd] => 2025-04-12 09:53:05
[RateCDR] => 1
)
[2025-04-12 09:53:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 06:53:05' and `end` < '2025-04-12 09:53:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 09:53:12] Production.ERROR: CronJobId end10
[2025-04-12 09:53:12] Production.INFO: ==14022== Releasing lock...
[2025-04-12 09:53:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 09:53:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 09:53:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 09:53:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 09:53:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 09:53:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 09:53:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 09:53:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 09:53:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 09:53:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 09:53:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 09:53:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 09:53:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 09:53:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 09:53:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 09:53:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 09:53:15] Production.INFO: call_cost start
[2025-04-12 09:53:15] Production.INFO: call_cost end
[2025-04-12 09:53:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 09:53:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 09:53:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 09:53:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 09:53:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 09:53:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 09:53:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 09:53:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 09:53:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 09:53:16] Production.INFO: ==14018== Releasing lock...
[2025-04-12 09:53:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 09:53:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 09:53:18] Production.INFO: count ==517
[2025-04-12 09:53:18] Production.ERROR: pbx CDR StartTime 2025-04-12 06:53:05 - End Time 2025-04-12 09:53:05
[2025-04-12 09:53:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 09:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890770', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890770', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890770', 'tblTempVendorCDR_20' ) start
[2025-04-12 09:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890770', 'tblTempVendorCDR_20' ) end
[2025-04-12 09:53:18] Production.INFO: ProcessCDR(1,14890770,1,1,2)
[2025-04-12 09:53:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890770,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:53:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890770,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:53:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890770,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:53:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890770,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890770', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890770', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:53:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 09:53:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 09:53:22] Production.INFO: ==14026== Releasing lock...
[2025-04-12 09:53:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 09:53:22] Production.INFO: 32.75 MB #Memory Used#
[2025-04-12 14:54:01] Production.INFO: ==14082== Lock acquired, processing the job...
[2025-04-12 14:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 14:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 14:54:01] Production.INFO: neon service started
[2025-04-12 14:54:01] Production.INFO: neon service started
[2025-04-12 14:54:01] Production.INFO: ==14082== Releasing lock...
[2025-04-12 14:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 14:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 09:54:02] Production.INFO: ==14084== Lock acquired, processing the job...
[2025-04-12 09:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 09:54:02] Production.INFO: ==14084== Releasing lock...
[2025-04-12 09:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 09:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 13:54:02] Production.INFO: ==14086== Lock acquired, processing the job...
[2025-04-12 13:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 13:54:02] Production.INFO: ==14086== Releasing lock...
[2025-04-12 13:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 13:54:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 09:54:03] Production.INFO: ==14088== Lock acquired, processing the job...
[2025-04-12 09:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 09:54:03] Production.INFO: ==14090== Lock acquired, processing the job...
[2025-04-12 09:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 09:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 09:54:03] Production.INFO: ==14096== Lock acquired, processing the job...
[2025-04-12 09:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 09:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 09:54:03] Production.INFO: ==14092== Lock acquired, processing the job...
[2025-04-12 09:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 09:54:03] Production.INFO: ==14090== Releasing lock...
[2025-04-12 09:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 09:54:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 09:54:03] Production.INFO: ==14094== Lock acquired, processing the job...
[2025-04-12 09:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 09:54:03] Production.INFO: ==14098== Lock acquired, processing the job...
[2025-04-12 09:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 09:54:03] Production.ERROR: done
[2025-04-12 09:54:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 09:54:03] Production.INFO: Account Balance Start.
[2025-04-12 09:54:03] Production.INFO: CreateAllLog Start
[2025-04-12 09:54:03] Production.INFO: 117
[2025-04-12 09:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 09:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 09:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 09:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 09:54:03] Production.INFO: Date 2025-04-08
[2025-04-12 09:54:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 09:54:03] Production.INFO: Reseller ==> 0
[2025-04-12 09:54:03] Production.INFO: count ==12
[2025-04-12 09:54:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 09:54:03] Production.INFO: count ==23
[2025-04-12 09:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890773') start
[2025-04-12 09:54:04] Production.INFO: Date 2025-04-09
[2025-04-12 09:54:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:54:04] Production.ERROR: done
[2025-04-12 09:54:04] Production.INFO: Date 2025-04-10
[2025-04-12 09:54:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:54:04] Production.INFO: Date 2025-04-11
[2025-04-12 09:54:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:54:04] Production.INFO: Date 2025-04-12
[2025-04-12 09:54:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:54:04] Production.INFO: Total Charge 0
[2025-04-12 09:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890773') end
[2025-04-12 09:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 09:54:04] Production.INFO: 1
[2025-04-12 09:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 09:54:04] Production.INFO: CreateAllLog End
[2025-04-12 09:54:04] Production.INFO: ==14098== Releasing lock...
[2025-04-12 09:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 09:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 09:54:04] Production.INFO: Account Balance End.
[2025-04-12 09:54:04] Production.ERROR: CronJobId end 12
[2025-04-12 09:54:04] Production.INFO: ==14094== Releasing lock...
[2025-04-12 09:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 09:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 09:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 06:54:05
[end_date_ymd] => 2025-04-12 09:54:05
[RateCDR] => 1
)
[2025-04-12 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-12 06:54:05' and `end` < '2025-04-12 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-12 09:54:11] Production.ERROR: CronJobId end10
[2025-04-12 09:54:11] Production.INFO: ==14092== Releasing lock...
[2025-04-12 09:54:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 09:54:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 09:54:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 09:54:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 09:54:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 09:54:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 09:54:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 09:54:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 09:54:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 09:54:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 09:54:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 09:54:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 09:54:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 09:54:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 09:54:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 09:54:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 09:54:14] Production.INFO: call_cost start
[2025-04-12 09:54:14] Production.INFO: call_cost end
[2025-04-12 09:54:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 09:54:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 09:54:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 09:54:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 09:54:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 09:54:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 09:54:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 09:54:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 09:54:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 09:54:15] Production.INFO: ==14088== Releasing lock...
[2025-04-12 09:54:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 09:54:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 09:54:18] Production.INFO: count ==520
[2025-04-12 09:54:18] Production.ERROR: pbx CDR StartTime 2025-04-12 06:54:05 - End Time 2025-04-12 09:54:05
[2025-04-12 09:54:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 09:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890775', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890775', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890775', 'tblTempVendorCDR_20' ) start
[2025-04-12 09:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890775', 'tblTempVendorCDR_20' ) end
[2025-04-12 09:54:18] Production.INFO: ProcessCDR(1,14890775,1,1,2)
[2025-04-12 09:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890775,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:54:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890775,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:54:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890775,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:54:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890775,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890775', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890775', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:54:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 09:54:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 09:54:22] Production.INFO: ==14096== Releasing lock...
[2025-04-12 09:54:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 09:54:22] Production.INFO: 32.75 MB #Memory Used#
[2025-04-12 14:55:02] Production.INFO: ==14153== Lock acquired, processing the job...
[2025-04-12 14:55:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 14:55:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 14:55:02] Production.INFO: neon service started
[2025-04-12 14:55:02] Production.INFO: neon service started
[2025-04-12 14:55:02] Production.INFO: ==14153== Releasing lock...
[2025-04-12 14:55:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 14:55:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 09:55:02] Production.INFO: ==14156== Lock acquired, processing the job...
[2025-04-12 09:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 09:55:02] Production.INFO: ==14156== Releasing lock...
[2025-04-12 09:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 09:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 13:55:03] Production.INFO: ==14158== Lock acquired, processing the job...
[2025-04-12 13:55:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 13:55:03] Production.INFO: ==14158== Releasing lock...
[2025-04-12 13:55:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 13:55:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 09:55:03] Production.INFO: ==14164== Lock acquired, processing the job...
[2025-04-12 09:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 09:55:03] Production.INFO: ==14166== Lock acquired, processing the job...
[2025-04-12 09:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 09:55:04] Production.INFO: Account Balance Start.
[2025-04-12 09:55:04] Production.INFO: CreateAllLog Start
[2025-04-12 09:55:04] Production.INFO: 117
[2025-04-12 09:55:04] Production.INFO: ==14160== Lock acquired, processing the job...
[2025-04-12 09:55:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 09:55:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 09:55:04] Production.INFO: Date 2025-04-08
[2025-04-12 09:55:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:55:04] Production.INFO: ==14162== Lock acquired, processing the job...
[2025-04-12 09:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 09:55:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 09:55:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 09:55:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 09:55:04] Production.INFO: Date 2025-04-09
[2025-04-12 09:55:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:55:04] Production.INFO: Date 2025-04-10
[2025-04-12 09:55:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:55:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 09:55:04] Production.INFO: Date 2025-04-11
[2025-04-12 09:55:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:55:04] Production.INFO: ==14168== Lock acquired, processing the job...
[2025-04-12 09:55:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 09:55:04] Production.INFO: Date 2025-04-12
[2025-04-12 09:55:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:55:04] Production.INFO: ==14170== Lock acquired, processing the job...
[2025-04-12 09:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 09:55:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 09:55:04] Production.INFO: Total Charge 0
[2025-04-12 09:55:04] Production.INFO: CreateAllLog End
[2025-04-12 09:55:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 09:55:04] Production.INFO: count ==12
[2025-04-12 09:55:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 09:55:04] Production.INFO: count ==23
[2025-04-12 09:55:04] Production.INFO: ==14162== Releasing lock...
[2025-04-12 09:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 09:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 09:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890779') start
[2025-04-12 09:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890779') end
[2025-04-12 09:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 09:55:04] Production.INFO: 1
[2025-04-12 09:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 09:55:04] Production.INFO: Account Balance End.
[2025-04-12 09:55:04] Production.INFO: ==14170== Releasing lock...
[2025-04-12 09:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 09:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 09:55:04] Production.ERROR: done
[2025-04-12 09:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 09:55:04] Production.ERROR: CronJobId end 12
[2025-04-12 09:55:04] Production.INFO: ==14166== Releasing lock...
[2025-04-12 09:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 09:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 09:55:05] Production.ERROR: done
[2025-04-12 09:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 06:55:05
[end_date_ymd] => 2025-04-12 09:55:05
[RateCDR] => 1
)
[2025-04-12 09:55:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 06:55:05' and `end` < '2025-04-12 09:55:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 09:55:12] Production.ERROR: CronJobId end10
[2025-04-12 09:55:12] Production.INFO: ==14164== Releasing lock...
[2025-04-12 09:55:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 09:55:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 09:55:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 09:55:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 09:55:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 09:55:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 09:55:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 09:55:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 09:55:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 09:55:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 09:55:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 09:55:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 09:55:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 09:55:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 09:55:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 09:55:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 09:55:15] Production.INFO: call_cost start
[2025-04-12 09:55:15] Production.INFO: call_cost end
[2025-04-12 09:55:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 09:55:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 09:55:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 09:55:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 09:55:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 09:55:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 09:55:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 09:55:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 09:55:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 09:55:16] Production.INFO: ==14160== Releasing lock...
[2025-04-12 09:55:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 09:55:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 09:55:18] Production.INFO: count ==525
[2025-04-12 09:55:18] Production.ERROR: pbx CDR StartTime 2025-04-12 06:55:05 - End Time 2025-04-12 09:55:05
[2025-04-12 09:55:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 09:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890780', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890780', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890780', 'tblTempVendorCDR_20' ) start
[2025-04-12 09:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890780', 'tblTempVendorCDR_20' ) end
[2025-04-12 09:55:18] Production.INFO: ProcessCDR(1,14890780,1,1,2)
[2025-04-12 09:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890780,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:55:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890780,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:55:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890780,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:55:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890780,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:55:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890780', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:55:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890780', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:55:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 09:55:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 09:55:23] Production.INFO: ==14168== Releasing lock...
[2025-04-12 09:55:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 09:55:23] Production.INFO: 32.75 MB #Memory Used#
[2025-04-12 14:56:01] Production.INFO: ==14262== Lock acquired, processing the job...
[2025-04-12 14:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 14:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 14:56:01] Production.INFO: neon service started
[2025-04-12 14:56:01] Production.INFO: neon service started
[2025-04-12 14:56:01] Production.INFO: ==14262== Releasing lock...
[2025-04-12 14:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 14:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 09:56:02] Production.INFO: ==14264== Lock acquired, processing the job...
[2025-04-12 09:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 09:56:02] Production.INFO: ==14264== Releasing lock...
[2025-04-12 09:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 09:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 13:56:02] Production.INFO: ==14266== Lock acquired, processing the job...
[2025-04-12 13:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 13:56:02] Production.INFO: ==14266== Releasing lock...
[2025-04-12 13:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 13:56:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 09:56:03] Production.INFO: ==14277== Lock acquired, processing the job...
[2025-04-12 09:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 09:56:03] Production.INFO: ==14279== Lock acquired, processing the job...
[2025-04-12 09:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 09:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 09:56:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 09:56:03] Production.INFO: ==14269== Lock acquired, processing the job...
[2025-04-12 09:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 09:56:03] Production.INFO: count ==12
[2025-04-12 09:56:03] Production.INFO: ==14271== Lock acquired, processing the job...
[2025-04-12 09:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 09:56:03] Production.INFO: ==14273== Lock acquired, processing the job...
[2025-04-12 09:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 09:56:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 09:56:03] Production.INFO: count ==23
[2025-04-12 09:56:03] Production.INFO: ==14275== Lock acquired, processing the job...
[2025-04-12 09:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 09:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890781') start
[2025-04-12 09:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 09:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 09:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 09:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 09:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 09:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890781') end
[2025-04-12 09:56:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 09:56:03] Production.INFO: 1
[2025-04-12 09:56:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 09:56:03] Production.INFO: Account Balance Start.
[2025-04-12 09:56:03] Production.INFO: CreateAllLog Start
[2025-04-12 09:56:03] Production.INFO: 117
[2025-04-12 09:56:03] Production.INFO: ==14279== Releasing lock...
[2025-04-12 09:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 09:56:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 09:56:04] Production.INFO: Date 2025-04-08
[2025-04-12 09:56:04] Production.ERROR: done
[2025-04-12 09:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 09:56:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:56:04] Production.ERROR: done
[2025-04-12 09:56:04] Production.INFO: Date 2025-04-09
[2025-04-12 09:56:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:56:04] Production.INFO: ==14271== Releasing lock...
[2025-04-12 09:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 09:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 09:56:04] Production.INFO: Date 2025-04-10
[2025-04-12 09:56:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:56:04] Production.INFO: Date 2025-04-11
[2025-04-12 09:56:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:56:04] Production.INFO: Date 2025-04-12
[2025-04-12 09:56:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:56:04] Production.INFO: Total Charge 0
[2025-04-12 09:56:04] Production.INFO: CreateAllLog End
[2025-04-12 09:56:04] Production.INFO: Account Balance End.
[2025-04-12 09:56:04] Production.ERROR: CronJobId end 12
[2025-04-12 09:56:04] Production.INFO: ==14275== Releasing lock...
[2025-04-12 09:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 09:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 09:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 06:56:05
[end_date_ymd] => 2025-04-12 09:56:05
[RateCDR] => 1
)
[2025-04-12 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-12 06:56:05' and `end` < '2025-04-12 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-12 09:56:12] Production.ERROR: CronJobId end10
[2025-04-12 09:56:12] Production.INFO: ==14273== Releasing lock...
[2025-04-12 09:56:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 09:56:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 09:56:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 09:56:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 09:56:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 09:56:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 09:56:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 09:56:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 09:56:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 09:56:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 09:56:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 09:56:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 09:56:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 09:56:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 09:56:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 09:56:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 09:56:14] Production.INFO: call_cost start
[2025-04-12 09:56:14] Production.INFO: call_cost end
[2025-04-12 09:56:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 09:56:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 09:56:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 09:56:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 09:56:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 09:56:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 09:56:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 09:56:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 09:56:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 09:56:15] Production.INFO: ==14269== Releasing lock...
[2025-04-12 09:56:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 09:56:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 09:56:17] Production.INFO: count ==529
[2025-04-12 09:56:18] Production.ERROR: pbx CDR StartTime 2025-04-12 06:56:05 - End Time 2025-04-12 09:56:05
[2025-04-12 09:56:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 09:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890785', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890785', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890785', 'tblTempVendorCDR_20' ) start
[2025-04-12 09:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890785', 'tblTempVendorCDR_20' ) end
[2025-04-12 09:56:18] Production.INFO: ProcessCDR(1,14890785,1,1,2)
[2025-04-12 09:56:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890785,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:56:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890785,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:56:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890785,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:56:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890785,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890785', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890785', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:56:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 09:56:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 09:56:21] Production.INFO: ==14277== Releasing lock...
[2025-04-12 09:56:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 09:56:21] Production.INFO: 32.75 MB #Memory Used#
[2025-04-12 14:57:02] Production.INFO: ==14332== Lock acquired, processing the job...
[2025-04-12 14:57:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 14:57:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 14:57:02] Production.INFO: neon service started
[2025-04-12 14:57:02] Production.INFO: neon service started
[2025-04-12 14:57:02] Production.INFO: ==14332== Releasing lock...
[2025-04-12 14:57:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 14:57:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 09:57:02] Production.INFO: ==14334== Lock acquired, processing the job...
[2025-04-12 09:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 09:57:02] Production.INFO: ==14334== Releasing lock...
[2025-04-12 09:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 09:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 13:57:03] Production.INFO: ==14336== Lock acquired, processing the job...
[2025-04-12 13:57:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 13:57:03] Production.INFO: ==14336== Releasing lock...
[2025-04-12 13:57:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 13:57:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 09:57:03] Production.INFO: ==14345== Lock acquired, processing the job...
[2025-04-12 09:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 09:57:03] Production.INFO: ==14338== Lock acquired, processing the job...
[2025-04-12 09:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 09:57:04] Production.INFO: ==14340== Lock acquired, processing the job...
[2025-04-12 09:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 09:57:04] Production.INFO: Account Balance Start.
[2025-04-12 09:57:04] Production.INFO: CreateAllLog Start
[2025-04-12 09:57:04] Production.INFO: 117
[2025-04-12 09:57:04] Production.INFO: Date 2025-04-08
[2025-04-12 09:57:04] Production.INFO: ==14342== Lock acquired, processing the job...
[2025-04-12 09:57:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 09:57:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:57:04] Production.INFO: ==14349== Lock acquired, processing the job...
[2025-04-12 09:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 09:57:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 09:57:04] Production.INFO: Date 2025-04-09
[2025-04-12 09:57:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:57:04] Production.INFO: ==14347== Lock acquired, processing the job...
[2025-04-12 09:57:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 09:57:04] Production.INFO: Date 2025-04-10
[2025-04-12 09:57:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:57:04] Production.INFO: Date 2025-04-11
[2025-04-12 09:57:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 09:57:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 09:57:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 09:57:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 09:57:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:57:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 09:57:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 09:57:04] Production.INFO: count ==12
[2025-04-12 09:57:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 09:57:04] Production.INFO: count ==23
[2025-04-12 09:57:04] Production.INFO: Date 2025-04-12
[2025-04-12 09:57:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890789') start
[2025-04-12 09:57:04] Production.INFO: ==14340== Releasing lock...
[2025-04-12 09:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 09:57:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 09:57:04] Production.INFO: Total Charge 0
[2025-04-12 09:57:04] Production.INFO: CreateAllLog End
[2025-04-12 09:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890789') end
[2025-04-12 09:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 09:57:04] Production.INFO: 1
[2025-04-12 09:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 09:57:04] Production.INFO: ==14349== Releasing lock...
[2025-04-12 09:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 09:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 09:57:04] Production.ERROR: done
[2025-04-12 09:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 09:57:04] Production.ERROR: done
[2025-04-12 09:57:04] Production.INFO: Account Balance End.
[2025-04-12 09:57:04] Production.ERROR: CronJobId end 12
[2025-04-12 09:57:04] Production.INFO: ==14345== Releasing lock...
[2025-04-12 09:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 09:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 09:57:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 06:57:06
[end_date_ymd] => 2025-04-12 09:57:06
[RateCDR] => 1
)
[2025-04-12 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-12 06:57:06' and `end` < '2025-04-12 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-12 09:57:13] Production.ERROR: CronJobId end10
[2025-04-12 09:57:13] Production.INFO: ==14342== Releasing lock...
[2025-04-12 09:57:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 09:57:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 09:57:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 09:57:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 09:57:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 09:57:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 09:57:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 09:57:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 09:57:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 09:57:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 09:57:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 09:57:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 09:57:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 09:57:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 09:57:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 09:57:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 09:57:16] Production.INFO: call_cost start
[2025-04-12 09:57:16] Production.INFO: call_cost end
[2025-04-12 09:57:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 09:57:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 09:57:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 09:57:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 09:57:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 09:57:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 09:57:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 09:57:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 09:57:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 09:57:17] Production.INFO: ==14338== Releasing lock...
[2025-04-12 09:57:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 09:57:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 09:57:18] Production.INFO: count ==531
[2025-04-12 09:57:19] Production.ERROR: pbx CDR StartTime 2025-04-12 06:57:06 - End Time 2025-04-12 09:57:06
[2025-04-12 09:57:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 09:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890790', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890790', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890790', 'tblTempVendorCDR_20' ) start
[2025-04-12 09:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890790', 'tblTempVendorCDR_20' ) end
[2025-04-12 09:57:19] Production.INFO: ProcessCDR(1,14890790,1,1,2)
[2025-04-12 09:57:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890790,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:57:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890790,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:57:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890790,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:57:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890790,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890790', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890790', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:57:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 09:57:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 09:57:22] Production.INFO: ==14347== Releasing lock...
[2025-04-12 09:57:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 09:57:22] Production.INFO: 32.75 MB #Memory Used#
[2025-04-12 14:58:01] Production.INFO: ==14406== Lock acquired, processing the job...
[2025-04-12 14:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 14:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 14:58:01] Production.INFO: neon service started
[2025-04-12 14:58:01] Production.INFO: neon service started
[2025-04-12 14:58:01] Production.INFO: ==14406== Releasing lock...
[2025-04-12 14:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 14:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 09:58:02] Production.INFO: ==14408== Lock acquired, processing the job...
[2025-04-12 09:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 13:58:02] Production.INFO: ==14410== Lock acquired, processing the job...
[2025-04-12 13:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 13:58:02] Production.INFO: ==14410== Releasing lock...
[2025-04-12 13:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 13:58:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 09:58:02] Production.INFO: ==14408== Releasing lock...
[2025-04-12 09:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 09:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 09:58:03] Production.INFO: ==14412== Lock acquired, processing the job...
[2025-04-12 09:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 09:58:03] Production.INFO: ==14414== Lock acquired, processing the job...
[2025-04-12 09:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 09:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 09:58:03] Production.INFO: ==14416== Lock acquired, processing the job...
[2025-04-12 09:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 09:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 09:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 09:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 09:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 09:58:03] Production.INFO: ==14418== Lock acquired, processing the job...
[2025-04-12 09:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 09:58:03] Production.INFO: ==14420== Lock acquired, processing the job...
[2025-04-12 09:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 09:58:03] Production.INFO: Account Balance Start.
[2025-04-12 09:58:03] Production.INFO: CreateAllLog Start
[2025-04-12 09:58:03] Production.INFO: ==14414== Releasing lock...
[2025-04-12 09:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 09:58:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 09:58:03] Production.INFO: 117
[2025-04-12 09:58:03] Production.INFO: Date 2025-04-08
[2025-04-12 09:58:03] Production.INFO: Reseller ==> 0
[2025-04-12 09:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 09:58:03] Production.INFO: Date 2025-04-09
[2025-04-12 09:58:03] Production.INFO: Reseller ==> 0
[2025-04-12 09:58:03] Production.INFO: Date 2025-04-10
[2025-04-12 09:58:03] Production.INFO: Reseller ==> 0
[2025-04-12 09:58:03] Production.INFO: ==14422== Lock acquired, processing the job...
[2025-04-12 09:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 09:58:03] Production.INFO: Date 2025-04-11
[2025-04-12 09:58:03] Production.INFO: Reseller ==> 0
[2025-04-12 09:58:03] Production.INFO: Date 2025-04-12
[2025-04-12 09:58:03] Production.INFO: Reseller ==> 0
[2025-04-12 09:58:03] Production.INFO: Total Charge 0
[2025-04-12 09:58:03] Production.INFO: CreateAllLog End
[2025-04-12 09: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-12 09:58:04] Production.INFO: Account Balance End.
[2025-04-12 09:58:04] Production.INFO: count ==12
[2025-04-12 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-12 09:58:04] Production.INFO: count ==23
[2025-04-12 09:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890794') start
[2025-04-12 09:58:04] Production.ERROR: done
[2025-04-12 09:58:04] Production.ERROR: CronJobId end 12
[2025-04-12 09:58:04] Production.INFO: ==14418== Releasing lock...
[2025-04-12 09:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 09:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 09:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890794') end
[2025-04-12 09:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 09:58:04] Production.INFO: 1
[2025-04-12 09:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 09:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 09:58:04] Production.INFO: ==14422== Releasing lock...
[2025-04-12 09:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 09:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 09:58:04] Production.ERROR: done
[2025-04-12 09:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 06:58:05
[end_date_ymd] => 2025-04-12 09:58:05
[RateCDR] => 1
)
[2025-04-12 09:58:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 06:58:05' and `end` < '2025-04-12 09:58:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 09:58:11] Production.ERROR: CronJobId end10
[2025-04-12 09:58:11] Production.INFO: ==14416== Releasing lock...
[2025-04-12 09:58:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 09:58:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 09:58:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 09:58:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 09:58:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 09:58:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 09:58:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 09:58:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 09:58:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 09:58:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 09:58:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 09:58:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 09:58:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 09:58:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 09:58:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 09:58:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 09:58:14] Production.INFO: call_cost start
[2025-04-12 09:58:14] Production.INFO: call_cost end
[2025-04-12 09:58:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 09:58:14] Production.INFO: ============== Report Schedule START===========
[2025-04-12 09:58:14] Production.INFO: ============== Report Schedule END===========
[2025-04-12 09:58:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 09:58:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 09:58:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 09:58:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 09:58:14] Production.INFO: ============== Deal alert START===========
[2025-04-12 09:58:14] Production.INFO: ============== Deal alert END===========
[2025-04-12 09:58:14] Production.INFO: ==14412== Releasing lock...
[2025-04-12 09:58:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 09:58:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 09:58:18] Production.INFO: count ==531
[2025-04-12 09:58:18] Production.ERROR: pbx CDR StartTime 2025-04-12 06:58:05 - End Time 2025-04-12 09:58:05
[2025-04-12 09:58:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 09:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890795', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890795', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890795', 'tblTempVendorCDR_20' ) start
[2025-04-12 09:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890795', 'tblTempVendorCDR_20' ) end
[2025-04-12 09:58:18] Production.INFO: ProcessCDR(1,14890795,1,1,2)
[2025-04-12 09:58:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890795,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:58:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890795,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:58:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890795,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:58:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890795,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890795', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890795', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:58:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 09:58:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 09:58:21] Production.INFO: ==14420== Releasing lock...
[2025-04-12 09:58:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 09:58:21] Production.INFO: 32.75 MB #Memory Used#
[2025-04-12 14:59:02] Production.INFO: ==14479== Lock acquired, processing the job...
[2025-04-12 14:59:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 14:59:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 14:59:02] Production.INFO: neon service started
[2025-04-12 14:59:02] Production.INFO: neon service started
[2025-04-12 14:59:02] Production.INFO: ==14479== Releasing lock...
[2025-04-12 14:59:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 14:59:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 09:59:02] Production.INFO: ==14481== Lock acquired, processing the job...
[2025-04-12 09:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 13:59:02] Production.INFO: ==14483== Lock acquired, processing the job...
[2025-04-12 13:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 13:59:02] Production.INFO: ==14483== Releasing lock...
[2025-04-12 13:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 13:59:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 09:59:03] Production.INFO: ==14481== Releasing lock...
[2025-04-12 09:59:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 09:59:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 09:59:04] Production.INFO: ==14492== Lock acquired, processing the job...
[2025-04-12 09:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 09:59:04] Production.INFO: ==14494== Lock acquired, processing the job...
[2025-04-12 09:59:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 09:59:04] Production.INFO: Account Balance Start.
[2025-04-12 09:59:04] Production.INFO: CreateAllLog Start
[2025-04-12 09:59:04] Production.INFO: 117
[2025-04-12 09:59:04] Production.INFO: Date 2025-04-08
[2025-04-12 09:59:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 09:59:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:59:04] Production.INFO: Date 2025-04-09
[2025-04-12 09:59:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:59:04] Production.INFO: ==14486== Lock acquired, processing the job...
[2025-04-12 09:59:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 09:59:04] Production.INFO: Date 2025-04-10
[2025-04-12 09:59:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:59:04] Production.INFO: Date 2025-04-11
[2025-04-12 09:59:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:59:04] Production.INFO: ==14488== Lock acquired, processing the job...
[2025-04-12 09:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 09:59:04] Production.INFO: Date 2025-04-12
[2025-04-12 09:59:04] Production.INFO: Reseller ==> 0
[2025-04-12 09:59:04] Production.INFO: ==14490== Lock acquired, processing the job...
[2025-04-12 09:59:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 09:59:04] Production.INFO: Total Charge 0
[2025-04-12 09:59:04] Production.INFO: CreateAllLog End
[2025-04-12 09:59:04] Production.INFO: ==14496== Lock acquired, processing the job...
[2025-04-12 09:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 09:59:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 09:59:04] Production.ERROR: done
[2025-04-12 09:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 09:59:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 09:59:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 09:59:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 09:59:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 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-12 09:59:04] Production.INFO: count ==12
[2025-04-12 09:59:04] Production.ERROR: done
[2025-04-12 09:59:04] Production.INFO: Account Balance End.
[2025-04-12 09:59: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-12 09:59:05] Production.INFO: count ==23
[2025-04-12 09:59:05] Production.ERROR: CronJobId end 12
[2025-04-12 09:59:05] Production.INFO: ==14492== Releasing lock...
[2025-04-12 09:59:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 09:59:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 09:59:05] Production.ERROR: PBX CALL prc_importPBXExtension('14890799') start
[2025-04-12 09:59:05] Production.ERROR: PBX CALL prc_importPBXExtension('14890799') end
[2025-04-12 09:59:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 09:59:05] Production.INFO: 1
[2025-04-12 09:59:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 09:59:05] Production.INFO: ==14488== Releasing lock...
[2025-04-12 09:59:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 09:59:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 09:59:05] Production.INFO: ==14496== Releasing lock...
[2025-04-12 09:59:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 09:59:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 09:59:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 06:59:06
[end_date_ymd] => 2025-04-12 09:59:06
[RateCDR] => 1
)
[2025-04-12 09:59:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 06:59:06' and `end` < '2025-04-12 09:59:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 09:59:12] Production.ERROR: CronJobId end10
[2025-04-12 09:59:12] Production.INFO: ==14490== Releasing lock...
[2025-04-12 09:59:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 09:59:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 09:59:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 09:59:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 09:59:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 09:59:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 09:59:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 09:59:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 09:59:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 09:59:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 09:59:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 09:59:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 09:59:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 09:59:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 09:59:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 09:59:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 09:59:14] Production.INFO: call_cost start
[2025-04-12 09:59:14] Production.INFO: call_cost end
[2025-04-12 09:59:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 09:59:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 09:59:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 09:59:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 09:59:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 09:59:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 09:59:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 09:59:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 09:59:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 09:59:15] Production.INFO: ==14486== Releasing lock...
[2025-04-12 09:59:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 09:59:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 09:59:18] Production.INFO: count ==534
[2025-04-12 09:59:19] Production.ERROR: pbx CDR StartTime 2025-04-12 06:59:06 - End Time 2025-04-12 09:59:06
[2025-04-12 09:59:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 09:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890800', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890800', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890800', 'tblTempVendorCDR_20' ) start
[2025-04-12 09:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890800', 'tblTempVendorCDR_20' ) end
[2025-04-12 09:59:19] Production.INFO: ProcessCDR(1,14890800,1,1,2)
[2025-04-12 09:59:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890800,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:59:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890800,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 09:59:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890800,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:59:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890800,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 09:59:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890800', 'tblTempUsageDetail_20' ) start
[2025-04-12 09:59:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890800', 'tblTempUsageDetail_20' ) end
[2025-04-12 09:59:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 09:59:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 09:59:24] Production.INFO: ==14494== Releasing lock...
[2025-04-12 09:59:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 09:59:24] Production.INFO: 32.5 MB #Memory Used#
[2025-04-12 15:00:01] Production.INFO: ==14549== Lock acquired, processing the job...
[2025-04-12 15:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 15:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 15:00:01] Production.INFO: neon service started
[2025-04-12 15:00:01] Production.INFO: neon service started
[2025-04-12 15:00:01] Production.INFO: ==14549== Releasing lock...
[2025-04-12 15:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 15:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 10:00:02] Production.INFO: ==14551== Lock acquired, processing the job...
[2025-04-12 10:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 14:00:02] Production.INFO: ==14553== Lock acquired, processing the job...
[2025-04-12 14:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 14:00:02] Production.INFO: ==14553== Releasing lock...
[2025-04-12 14:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 14:00:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 10:00:02] Production.INFO: ==14551== Releasing lock...
[2025-04-12 10:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 10:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 10:00:03] Production.INFO: ==14556== Lock acquired, processing the job...
[2025-04-12 10:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 10:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 10:00:04] Production.INFO: ==14558== Lock acquired, processing the job...
[2025-04-12 10:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 10:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 10:00:04] Production.INFO: ==14556== Releasing lock...
[2025-04-12 10:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 10:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 10:00:04] Production.INFO: ==14562== Lock acquired, processing the job...
[2025-04-12 10:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 10:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 10:00:04] Production.INFO: ==14564== Lock acquired, processing the job...
[2025-04-12 10:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 10:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 10:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 10:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 10:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 10:00:04] Production.INFO: ==14560== Lock acquired, processing the job...
[2025-04-12 10:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 10:00:04] Production.INFO: Account Balance Start.
[2025-04-12 10:00:04] Production.INFO: CreateAllLog Start
[2025-04-12 10:00:04] Production.INFO: 117
[2025-04-12 10:00:04] Production.INFO: ==14566== Lock acquired, processing the job...
[2025-04-12 10:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 10:00:04] Production.INFO: Date 2025-04-08
[2025-04-12 10:00:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 10:00:04] Production.INFO: Date 2025-04-09
[2025-04-12 10:00:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:00:04] Production.INFO: Date 2025-04-10
[2025-04-12 10:00:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:00:04] Production.INFO: Date 2025-04-11
[2025-04-12 10:00:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:00:04] Production.INFO: Date 2025-04-12
[2025-04-12 10:00:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:00:04] Production.INFO: ==14568== Lock acquired, processing the job...
[2025-04-12 10:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 10:00:04] Production.INFO: ==14570== Lock acquired, processing the job...
[2025-04-12 10:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 10:00:04] Production.INFO: Total Charge 0
[2025-04-12 10:00:04] Production.INFO: CreateAllLog End
[2025-04-12 10:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 10:00:04] Production.INFO: ==14560== Releasing lock...
[2025-04-12 10:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 10:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 10:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 10:00:04] Production.INFO: count ==12
[2025-04-12 10:00:04] Production.INFO: Account Balance End.
[2025-04-12 10:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 10:00:04] Production.INFO: count ==23
[2025-04-12 10:00:04] Production.ERROR: done
[2025-04-12 10:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 10:00:04] Production.ERROR: CronJobId end 12
[2025-04-12 10:00:04] Production.INFO: ==14564== Releasing lock...
[2025-04-12 10:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 10:00:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 10:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890804') start
[2025-04-12 10:00:05] Production.ERROR: done
[2025-04-12 10:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14890804') end
[2025-04-12 10:00:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 10:00:05] Production.INFO: 1
[2025-04-12 10:00:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 10:00:05] Production.ERROR: done
[2025-04-12 10:00:05] Production.INFO: ==14570== Releasing lock...
[2025-04-12 10:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 10:00:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 10:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 10:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14890806', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 10:00:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 07:00:05
[end_date_ymd] => 2025-04-12 10:00:05
[RateCDR] => 1
)
[2025-04-12 10:00:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 07:00:05' and `end` < '2025-04-12 10:00:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 10:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14890806', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 10:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 10:00:09] Production.INFO: ProcessCDR(1,14890806,1,1,2)
[2025-04-12 10:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14890806,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14890806,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 10:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 10:00:09] Production.INFO: ==14568== Releasing lock...
[2025-04-12 10:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 10:00:09] Production.INFO: 26 MB #Memory Used#
[2025-04-12 10:00:14] Production.ERROR: CronJobId end10
[2025-04-12 10:00:14] Production.INFO: ==14562== Releasing lock...
[2025-04-12 10:00:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 10:00:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 10:00:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 10:00:16] Production.INFO: ============== Balance Warning START===========
[2025-04-12 10:00:16] Production.INFO: ============== Balance Warning END===========
[2025-04-12 10:00:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 10:00:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 10:00:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 10:00:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 10:00:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 10:00:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 10:00:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 10:00:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 10:00:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 10:00:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 10:00:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 10:00:16] Production.INFO: call_cost start
[2025-04-12 10:00:16] Production.INFO: call_cost end
[2025-04-12 10:00:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 10:00:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 10:00:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 10:00:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 10:00:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 10:00:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 10:00:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 10:00:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 10:00:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 10:00:17] Production.INFO: ==14558== Releasing lock...
[2025-04-12 10:00:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 10:00:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 10:00:18] Production.INFO: count ==551
[2025-04-12 10:00:18] Production.ERROR: pbx CDR StartTime 2025-04-12 07:00:05 - End Time 2025-04-12 10:00:05
[2025-04-12 10:00:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 10:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890805', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890805', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890805', 'tblTempVendorCDR_20' ) start
[2025-04-12 10:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890805', 'tblTempVendorCDR_20' ) end
[2025-04-12 10:00:18] Production.INFO: ProcessCDR(1,14890805,1,1,2)
[2025-04-12 10:00:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890805,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:00:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890805,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:00:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890805,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:00:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890805,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890805', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890805', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:00:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 10:00:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 10:00:23] Production.INFO: ==14566== Releasing lock...
[2025-04-12 10:00:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 10:00:23] Production.INFO: 32.5 MB #Memory Used#
[2025-04-12 15:01:02] Production.INFO: ==14629== Lock acquired, processing the job...
[2025-04-12 15:01:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 15:01:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 15:01:02] Production.INFO: neon service started
[2025-04-12 15:01:02] Production.INFO: neon service started
[2025-04-12 15:01:02] Production.INFO: ==14629== Releasing lock...
[2025-04-12 15:01:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 15:01:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 10:01:02] Production.INFO: ==14642== Lock acquired, processing the job...
[2025-04-12 10:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 10:01:02] Production.INFO: ==14642== Releasing lock...
[2025-04-12 10:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 10:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 14:01:02] Production.INFO: ==14644== Lock acquired, processing the job...
[2025-04-12 14:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 14:01:03] Production.INFO: ==14644== Releasing lock...
[2025-04-12 14:01:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 14:01:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 10:01:03] Production.INFO: ==14652== Lock acquired, processing the job...
[2025-04-12 10:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 10:01:03] Production.INFO: ==14646== Lock acquired, processing the job...
[2025-04-12 10:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 10:01:03] Production.INFO: ==14656== Lock acquired, processing the job...
[2025-04-12 10:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 10:01:03] Production.INFO: Account Balance Start.
[2025-04-12 10:01:03] Production.INFO: CreateAllLog Start
[2025-04-12 10:01:03] Production.INFO: 117
[2025-04-12 10:01:03] Production.INFO: Date 2025-04-08
[2025-04-12 10:01:03] Production.INFO: ==14648== Lock acquired, processing the job...
[2025-04-12 10:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 10:01:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:01:03] Production.INFO: Date 2025-04-09
[2025-04-12 10:01:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:01:03] Production.INFO: ==14650== Lock acquired, processing the job...
[2025-04-12 10:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 10:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 10:01:03] Production.INFO: Date 2025-04-10
[2025-04-12 10:01:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:01:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 10:01:03] Production.INFO: Date 2025-04-11
[2025-04-12 10:01:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:01:03] Production.INFO: count ==12
[2025-04-12 10:01:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 10:01:03] Production.INFO: count ==23
[2025-04-12 10:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890808') start
[2025-04-12 10:01:03] Production.INFO: Date 2025-04-12
[2025-04-12 10:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 10:01:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:01:04] Production.INFO: ==14654== Lock acquired, processing the job...
[2025-04-12 10:01:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 10:01:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 10:01:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 10:01:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 10:01:04] Production.INFO: Total Charge 0
[2025-04-12 10:01:04] Production.INFO: CreateAllLog End
[2025-04-12 10:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890808') end
[2025-04-12 10:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 10:01:04] Production.INFO: 1
[2025-04-12 10:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 10:01:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 10:01:04] Production.INFO: ==14648== Releasing lock...
[2025-04-12 10:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 10:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 10:01:04] Production.INFO: ==14656== Releasing lock...
[2025-04-12 10:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 10:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 10:01:04] Production.INFO: Account Balance End.
[2025-04-12 10:01:04] Production.ERROR: CronJobId end 12
[2025-04-12 10:01:04] Production.INFO: ==14652== Releasing lock...
[2025-04-12 10:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 10:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 10:01:04] Production.ERROR: done
[2025-04-12 10:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 10:01:04] Production.ERROR: done
[2025-04-12 10:01:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 07:01:06
[end_date_ymd] => 2025-04-12 10:01:06
[RateCDR] => 1
)
[2025-04-12 10:01:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 07:01:06' and `end` < '2025-04-12 10:01:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 10:01:12] Production.ERROR: CronJobId end10
[2025-04-12 10:01:12] Production.INFO: ==14650== Releasing lock...
[2025-04-12 10:01:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 10:01:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 10:01:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 10:01:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 10:01:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 10:01:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 10:01:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 10:01:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 10:01:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 10:01:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 10:01:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 10:01:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 10:01:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 10:01:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 10:01:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 10:01:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 10:01:15] Production.INFO: call_cost start
[2025-04-12 10:01:15] Production.INFO: call_cost end
[2025-04-12 10:01:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 10:01:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 10:01:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 10:01:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 10:01:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 10:01:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 10:01:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 10:01:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 10:01:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 10:01:16] Production.INFO: ==14646== Releasing lock...
[2025-04-12 10:01:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 10:01:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 10:01:19] Production.INFO: count ==553
[2025-04-12 10:01:19] Production.ERROR: pbx CDR StartTime 2025-04-12 07:01:06 - End Time 2025-04-12 10:01:06
[2025-04-12 10:01:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 10:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890811', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890811', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890811', 'tblTempVendorCDR_20' ) start
[2025-04-12 10:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890811', 'tblTempVendorCDR_20' ) end
[2025-04-12 10:01:19] Production.INFO: ProcessCDR(1,14890811,1,1,2)
[2025-04-12 10:01:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890811,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:01:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890811,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:01:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890811,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:01:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890811,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890811', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890811', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:01:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 10:01:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 10:01:22] Production.INFO: ==14654== Releasing lock...
[2025-04-12 10:01:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 10:01:22] Production.INFO: 32.5 MB #Memory Used#
[2025-04-12 15:02:01] Production.INFO: ==14709== Lock acquired, processing the job...
[2025-04-12 15:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 15:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 15:02:01] Production.INFO: neon service started
[2025-04-12 15:02:01] Production.INFO: neon service started
[2025-04-12 15:02:01] Production.INFO: ==14709== Releasing lock...
[2025-04-12 15:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 15:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 10:02:01] Production.INFO: ==14711== Lock acquired, processing the job...
[2025-04-12 10:02:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 10:02:02] Production.INFO: ==14711== Releasing lock...
[2025-04-12 10:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 10:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 14:02:02] Production.INFO: ==14713== Lock acquired, processing the job...
[2025-04-12 14:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 14:02:02] Production.INFO: ==14713== Releasing lock...
[2025-04-12 14:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 14:02:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 10:02:03] Production.INFO: ==14717== Lock acquired, processing the job...
[2025-04-12 10:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 10:02:03] Production.INFO: ==14726== Lock acquired, processing the job...
[2025-04-12 10:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 10:02:03] Production.INFO: ==14715== Lock acquired, processing the job...
[2025-04-12 10:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 10:02:03] Production.INFO: ==14719== Lock acquired, processing the job...
[2025-04-12 10:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 10:02:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 10:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 10:02:03] Production.INFO: ==14721== Lock acquired, processing the job...
[2025-04-12 10:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 10:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 10:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 10:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 10:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 10:02:03] Production.INFO: ==14723== Lock acquired, processing the job...
[2025-04-12 10:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 10:02:03] Production.INFO: count ==12
[2025-04-12 10:02:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 10:02:03] Production.INFO: count ==23
[2025-04-12 10:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 10:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890813') start
[2025-04-12 10:02:03] Production.INFO: Account Balance Start.
[2025-04-12 10:02:03] Production.INFO: CreateAllLog Start
[2025-04-12 10:02:03] Production.INFO: 117
[2025-04-12 10:02:03] Production.INFO: Date 2025-04-08
[2025-04-12 10:02:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890813') end
[2025-04-12 10:02:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 10:02:03] Production.INFO: 1
[2025-04-12 10:02:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 10:02:03] Production.INFO: ==14717== Releasing lock...
[2025-04-12 10:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 10:02:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 10:02:03] Production.INFO: Date 2025-04-09
[2025-04-12 10:02:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:02:03] Production.INFO: ==14726== Releasing lock...
[2025-04-12 10:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 10:02:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 10:02:03] Production.INFO: Date 2025-04-10
[2025-04-12 10:02:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:02:04] Production.ERROR: done
[2025-04-12 10:02:04] Production.INFO: Date 2025-04-11
[2025-04-12 10:02:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 10:02:04] Production.INFO: Date 2025-04-12
[2025-04-12 10:02:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:02:04] Production.INFO: Total Charge 0
[2025-04-12 10:02:04] Production.INFO: CreateAllLog End
[2025-04-12 10:02:04] Production.ERROR: done
[2025-04-12 10:02:04] Production.INFO: Account Balance End.
[2025-04-12 10:02:04] Production.ERROR: CronJobId end 12
[2025-04-12 10:02:04] Production.INFO: ==14721== Releasing lock...
[2025-04-12 10:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 10:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 10:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 07:02:05
[end_date_ymd] => 2025-04-12 10:02:05
[RateCDR] => 1
)
[2025-04-12 10:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 07:02:05' and `end` < '2025-04-12 10:02:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 10:02:11] Production.ERROR: CronJobId end10
[2025-04-12 10:02:11] Production.INFO: ==14719== Releasing lock...
[2025-04-12 10:02:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 10:02:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 10:02:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 10:02:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 10:02:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 10:02:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 10:02:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 10:02:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 10:02:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 10:02:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 10:02:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 10:02:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 10:02:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 10:02:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 10:02:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 10:02:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 10:02:14] Production.INFO: call_cost start
[2025-04-12 10:02:14] Production.INFO: call_cost end
[2025-04-12 10:02:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 10:02:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 10:02:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 10:02:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 10:02:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 10:02:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 10:02:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 10:02:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 10:02:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 10:02:15] Production.INFO: ==14715== Releasing lock...
[2025-04-12 10:02:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 10:02:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 10:02:18] Production.INFO: count ==556
[2025-04-12 10:02:18] Production.ERROR: pbx CDR StartTime 2025-04-12 07:02:05 - End Time 2025-04-12 10:02:05
[2025-04-12 10:02:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 10:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890816', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890816', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890816', 'tblTempVendorCDR_20' ) start
[2025-04-12 10:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890816', 'tblTempVendorCDR_20' ) end
[2025-04-12 10:02:18] Production.INFO: ProcessCDR(1,14890816,1,1,2)
[2025-04-12 10:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890816,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:02:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890816,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:02:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890816,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:02:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890816,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890816', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890816', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:02:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 10:02:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 10:02:22] Production.INFO: ==14723== Releasing lock...
[2025-04-12 10:02:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 10:02:22] Production.INFO: 32.75 MB #Memory Used#
[2025-04-12 15:03:02] Production.INFO: ==14779== Lock acquired, processing the job...
[2025-04-12 15:03:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 15:03:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 15:03:02] Production.INFO: neon service started
[2025-04-12 15:03:02] Production.INFO: neon service started
[2025-04-12 15:03:02] Production.INFO: ==14779== Releasing lock...
[2025-04-12 15:03:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 15:03:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 10:03:02] Production.INFO: ==14782== Lock acquired, processing the job...
[2025-04-12 10:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 10:03:02] Production.INFO: ==14782== Releasing lock...
[2025-04-12 10:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 10:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 14:03:02] Production.INFO: ==14784== Lock acquired, processing the job...
[2025-04-12 14:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 14:03:02] Production.INFO: ==14784== Releasing lock...
[2025-04-12 14:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 14:03:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 10:03:03] Production.INFO: ==14792== Lock acquired, processing the job...
[2025-04-12 10:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 10:03:03] Production.INFO: ==14796== Lock acquired, processing the job...
[2025-04-12 10:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 10:03:03] Production.INFO: ==14786== Lock acquired, processing the job...
[2025-04-12 10:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 10:03:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 10:03:03] Production.INFO: Account Balance Start.
[2025-04-12 10:03:03] Production.INFO: CreateAllLog Start
[2025-04-12 10:03:03] Production.INFO: 117
[2025-04-12 10:03:03] Production.INFO: ==14788== Lock acquired, processing the job...
[2025-04-12 10:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 10:03:03] Production.INFO: count ==12
[2025-04-12 10:03:03] Production.INFO: Date 2025-04-08
[2025-04-12 10:03:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:03:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 10:03:03] Production.INFO: count ==23
[2025-04-12 10:03:03] Production.INFO: ==14790== Lock acquired, processing the job...
[2025-04-12 10:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 10:03:03] Production.INFO: ==14794== Lock acquired, processing the job...
[2025-04-12 10:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 10:03:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 10:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890818') start
[2025-04-12 10:03:04] Production.INFO: Date 2025-04-09
[2025-04-12 10:03:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:03:04] Production.INFO: Date 2025-04-10
[2025-04-12 10:03:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:03:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 10:03:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 10:03:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 10:03:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 10:03:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 10:03:04] Production.INFO: Date 2025-04-11
[2025-04-12 10:03:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890818') end
[2025-04-12 10:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 10:03:04] Production.INFO: 1
[2025-04-12 10:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 10:03:04] Production.INFO: Date 2025-04-12
[2025-04-12 10:03:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:03:04] Production.INFO: Total Charge 0
[2025-04-12 10:03:04] Production.INFO: CreateAllLog End
[2025-04-12 10:03:04] Production.INFO: ==14796== Releasing lock...
[2025-04-12 10:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 10:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 10:03:04] Production.INFO: Account Balance End.
[2025-04-12 10:03:04] Production.ERROR: CronJobId end 12
[2025-04-12 10:03:04] Production.INFO: ==14792== Releasing lock...
[2025-04-12 10:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 10:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 10:03:04] Production.INFO: ==14788== Releasing lock...
[2025-04-12 10:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 10:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 10:03:04] Production.ERROR: done
[2025-04-12 10:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 10:03:04] Production.ERROR: done
[2025-04-12 10:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 07:03:05
[end_date_ymd] => 2025-04-12 10:03:05
[RateCDR] => 1
)
[2025-04-12 10:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 07:03:05' and `end` < '2025-04-12 10:03:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 10:03:13] Production.ERROR: CronJobId end10
[2025-04-12 10:03:13] Production.INFO: ==14790== Releasing lock...
[2025-04-12 10:03:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 10:03:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 10:03:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 10:03:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 10:03:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 10:03:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 10:03:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 10:03:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 10:03:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 10:03:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 10:03:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 10:03:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 10:03:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 10:03:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 10:03:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 10:03:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 10:03:14] Production.INFO: call_cost start
[2025-04-12 10:03:14] Production.INFO: call_cost end
[2025-04-12 10:03:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 10:03:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 10:03:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 10:03:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 10:03:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 10:03:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 10:03:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 10:03:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 10:03:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 10:03:15] Production.INFO: ==14786== Releasing lock...
[2025-04-12 10:03:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 10:03:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 10:03:18] Production.INFO: count ==556
[2025-04-12 10:03:18] Production.ERROR: pbx CDR StartTime 2025-04-12 07:03:05 - End Time 2025-04-12 10:03:05
[2025-04-12 10:03:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 10:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890821', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890821', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890821', 'tblTempVendorCDR_20' ) start
[2025-04-12 10:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890821', 'tblTempVendorCDR_20' ) end
[2025-04-12 10:03:18] Production.INFO: ProcessCDR(1,14890821,1,1,2)
[2025-04-12 10:03:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890821,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:03:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890821,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:03:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890821,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:03:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890821,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890821', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890821', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:03:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 10:03:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 10:03:22] Production.INFO: ==14794== Releasing lock...
[2025-04-12 10:03:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 10:03:22] Production.INFO: 32.75 MB #Memory Used#
[2025-04-12 15:04:01] Production.INFO: ==14849== Lock acquired, processing the job...
[2025-04-12 15:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 15:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 15:04:01] Production.INFO: neon service started
[2025-04-12 15:04:01] Production.INFO: neon service started
[2025-04-12 15:04:01] Production.INFO: ==14849== Releasing lock...
[2025-04-12 15:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 15:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 10:04:02] Production.INFO: ==14851== Lock acquired, processing the job...
[2025-04-12 10:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 14:04:02] Production.INFO: ==14853== Lock acquired, processing the job...
[2025-04-12 14:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 14:04:02] Production.INFO: ==14853== Releasing lock...
[2025-04-12 14:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 14:04:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 10:04:02] Production.INFO: ==14851== Releasing lock...
[2025-04-12 10:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 10:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 10:04:03] Production.INFO: ==14856== Lock acquired, processing the job...
[2025-04-12 10:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 10:04:03] Production.INFO: ==14860== Lock acquired, processing the job...
[2025-04-12 10:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 10:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 10:04:03] Production.INFO: ==14862== Lock acquired, processing the job...
[2025-04-12 10:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 10:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 10:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 10:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 10:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 10:04:03] Production.INFO: Account Balance Start.
[2025-04-12 10:04:03] Production.INFO: CreateAllLog Start
[2025-04-12 10:04:03] Production.INFO: 117
[2025-04-12 10:04:03] Production.INFO: Date 2025-04-08
[2025-04-12 10:04:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:04:03] Production.INFO: Date 2025-04-09
[2025-04-12 10:04:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:04:03] Production.INFO: ==14858== Lock acquired, processing the job...
[2025-04-12 10:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 10:04:03] Production.INFO: Date 2025-04-10
[2025-04-12 10:04:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:04:03] Production.INFO: Date 2025-04-11
[2025-04-12 10:04:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:04:03] Production.INFO: ==14864== Lock acquired, processing the job...
[2025-04-12 10:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 10:04:03] Production.INFO: Date 2025-04-12
[2025-04-12 10:04:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:04:03] Production.INFO: ==14866== Lock acquired, processing the job...
[2025-04-12 10:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 10:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 10:04:03] Production.INFO: Total Charge 0
[2025-04-12 10:04:03] Production.INFO: CreateAllLog End
[2025-04-12 10:04:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 10:04:04] Production.INFO: count ==12
[2025-04-12 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-12 10:04:04] Production.INFO: count ==23
[2025-04-12 10:04:04] Production.INFO: ==14858== Releasing lock...
[2025-04-12 10:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 10:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 10:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890825') start
[2025-04-12 10:04:04] Production.ERROR: done
[2025-04-12 10:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 10:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890825') end
[2025-04-12 10:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 10:04:04] Production.INFO: 1
[2025-04-12 10:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 10:04:04] Production.INFO: ==14866== Releasing lock...
[2025-04-12 10:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 10:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 10:04:04] Production.INFO: Account Balance End.
[2025-04-12 10:04:04] Production.ERROR: done
[2025-04-12 10:04:04] Production.ERROR: CronJobId end 12
[2025-04-12 10:04:04] Production.INFO: ==14862== Releasing lock...
[2025-04-12 10:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 10:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 10:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 07:04:05
[end_date_ymd] => 2025-04-12 10:04:05
[RateCDR] => 1
)
[2025-04-12 10:04:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 07:04:05' and `end` < '2025-04-12 10:04:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 10:04:12] Production.ERROR: CronJobId end10
[2025-04-12 10:04:12] Production.INFO: ==14860== Releasing lock...
[2025-04-12 10:04:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 10:04:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 10:04:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 10:04:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 10:04:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 10:04:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 10:04:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 10:04:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 10:04:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 10:04:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 10:04:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 10:04:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 10:04:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 10:04:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 10:04:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 10:04:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 10:04:14] Production.INFO: call_cost start
[2025-04-12 10:04:14] Production.INFO: call_cost end
[2025-04-12 10:04:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 10:04:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 10:04:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 10:04:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 10:04:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 10:04:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 10:04:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 10:04:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 10:04:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 10:04:15] Production.INFO: ==14856== Releasing lock...
[2025-04-12 10:04:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 10:04:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 10:04:18] Production.INFO: count ==556
[2025-04-12 10:04:18] Production.ERROR: pbx CDR StartTime 2025-04-12 07:04:05 - End Time 2025-04-12 10:04:05
[2025-04-12 10:04:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 10:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890826', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890826', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890826', 'tblTempVendorCDR_20' ) start
[2025-04-12 10:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890826', 'tblTempVendorCDR_20' ) end
[2025-04-12 10:04:18] Production.INFO: ProcessCDR(1,14890826,1,1,2)
[2025-04-12 10:04:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890826,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:04:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890826,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:04:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890826,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:04:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890826,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890826', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890826', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:04:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 10:04:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 10:04:22] Production.INFO: ==14864== Releasing lock...
[2025-04-12 10:04:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 10:04:22] Production.INFO: 32.75 MB #Memory Used#
[2025-04-12 15:05:01] Production.INFO: ==14924== Lock acquired, processing the job...
[2025-04-12 15:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 15:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 15:05:01] Production.INFO: neon service started
[2025-04-12 15:05:01] Production.INFO: neon service started
[2025-04-12 15:05:01] Production.INFO: ==14924== Releasing lock...
[2025-04-12 15:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 15:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 10:05:02] Production.INFO: ==14926== Lock acquired, processing the job...
[2025-04-12 10:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 14:05:02] Production.INFO: ==14928== Lock acquired, processing the job...
[2025-04-12 14:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 14:05:02] Production.INFO: ==14928== Releasing lock...
[2025-04-12 14:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 14:05:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 10:05:02] Production.INFO: ==14926== Releasing lock...
[2025-04-12 10:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 10:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 10:05:03] Production.INFO: ==14935== Lock acquired, processing the job...
[2025-04-12 10:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 10:05:03] Production.INFO: ==14933== Lock acquired, processing the job...
[2025-04-12 10:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 10:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 10:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 10:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 10:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 10:05:03] Production.INFO: ==14931== Lock acquired, processing the job...
[2025-04-12 10:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 10:05:04] Production.INFO: ==14937== Lock acquired, processing the job...
[2025-04-12 10:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 10:05:04] Production.INFO: ==14941== Lock acquired, processing the job...
[2025-04-12 10:05:04] Production.INFO: ==14939== Lock acquired, processing the job...
[2025-04-12 10:05:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 10:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 10:05:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 10:05:04] Production.INFO: ==14933== Releasing lock...
[2025-04-12 10:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 10:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 10:05:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 10:05:04] Production.INFO: Account Balance Start.
[2025-04-12 10:05:04] Production.INFO: CreateAllLog Start
[2025-04-12 10:05:04] Production.INFO: 117
[2025-04-12 10:05:04] Production.INFO: Date 2025-04-08
[2025-04-12 10:05:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 10:05:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:05:04] Production.INFO: count ==12
[2025-04-12 10:05:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 10:05:04] Production.INFO: count ==23
[2025-04-12 10:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890830') start
[2025-04-12 10:05:04] Production.INFO: Date 2025-04-09
[2025-04-12 10:05:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:05:04] Production.INFO: Date 2025-04-10
[2025-04-12 10:05:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:05:04] Production.INFO: Date 2025-04-11
[2025-04-12 10:05:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890830') end
[2025-04-12 10:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 10:05:04] Production.INFO: 1
[2025-04-12 10:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 10:05:04] Production.INFO: Date 2025-04-12
[2025-04-12 10:05:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:05:04] Production.INFO: ==14941== Releasing lock...
[2025-04-12 10:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 10:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 10:05:04] Production.INFO: Total Charge 0
[2025-04-12 10:05:04] Production.INFO: CreateAllLog End
[2025-04-12 10:05:04] Production.ERROR: done
[2025-04-12 10:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 10:05:04] Production.ERROR: done
[2025-04-12 10:05:04] Production.INFO: Account Balance End.
[2025-04-12 10:05:05] Production.ERROR: CronJobId end 12
[2025-04-12 10:05:05] Production.INFO: ==14937== Releasing lock...
[2025-04-12 10:05:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 10:05:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 10:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 07:05:05
[end_date_ymd] => 2025-04-12 10:05:05
[RateCDR] => 1
)
[2025-04-12 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-12 07:05:05' and `end` < '2025-04-12 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-12 10:05:12] Production.ERROR: CronJobId end10
[2025-04-12 10:05:12] Production.INFO: ==14935== Releasing lock...
[2025-04-12 10:05:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 10:05:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 10:05:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 10:05:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 10:05:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 10:05:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 10:05:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 10:05:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 10:05:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 10:05:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 10:05:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 10:05:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 10:05:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 10:05:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 10:05:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 10:05:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 10:05:14] Production.INFO: call_cost start
[2025-04-12 10:05:14] Production.INFO: call_cost end
[2025-04-12 10:05:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 10:05:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 10:05:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 10:05:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 10:05:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 10:05:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 10:05:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 10:05:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 10:05:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 10:05:15] Production.INFO: ==14931== Releasing lock...
[2025-04-12 10:05:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 10:05:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 10:05:18] Production.INFO: count ==557
[2025-04-12 10:05:18] Production.ERROR: pbx CDR StartTime 2025-04-12 07:05:05 - End Time 2025-04-12 10:05:05
[2025-04-12 10:05:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 10:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890831', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890831', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890831', 'tblTempVendorCDR_20' ) start
[2025-04-12 10:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890831', 'tblTempVendorCDR_20' ) end
[2025-04-12 10:05:18] Production.INFO: ProcessCDR(1,14890831,1,1,2)
[2025-04-12 10:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890831,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:05:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890831,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:05:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890831,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:05:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890831,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:05:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890831', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:05:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890831', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:05:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 10:05:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 10:05:23] Production.INFO: ==14939== Releasing lock...
[2025-04-12 10:05:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 10:05:23] Production.INFO: 33 MB #Memory Used#
[2025-04-12 15:06:01] Production.INFO: ==14999== Lock acquired, processing the job...
[2025-04-12 15:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 15:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 15:06:01] Production.INFO: neon service started
[2025-04-12 15:06:01] Production.INFO: neon service started
[2025-04-12 15:06:01] Production.INFO: ==14999== Releasing lock...
[2025-04-12 15:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 15:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 10:06:01] Production.INFO: ==15001== Lock acquired, processing the job...
[2025-04-12 10:06:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 14:06:02] Production.INFO: ==15003== Lock acquired, processing the job...
[2025-04-12 14:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 10:06:02] Production.INFO: ==15001== Releasing lock...
[2025-04-12 10:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 10:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 14:06:02] Production.INFO: ==15003== Releasing lock...
[2025-04-12 14:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 14:06:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 10:06:03] Production.INFO: ==15013== Lock acquired, processing the job...
[2025-04-12 10:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 10:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 10:06:03] Production.INFO: ==15015== Lock acquired, processing the job...
[2025-04-12 10:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 10:06:03] Production.INFO: ==15005== Lock acquired, processing the job...
[2025-04-12 10:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 10:06:03] Production.INFO: ==15007== Lock acquired, processing the job...
[2025-04-12 10:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 10:06:03] Production.INFO: ==15009== Lock acquired, processing the job...
[2025-04-12 10:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 10:06:03] Production.INFO: ==15011== Lock acquired, processing the job...
[2025-04-12 10:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 10:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 10:06:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 10:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 10:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 10:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 10:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 10:06:03] Production.INFO: count ==12
[2025-04-12 10:06:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 10:06:03] Production.INFO: count ==23
[2025-04-12 10:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890832') start
[2025-04-12 10:06:03] Production.INFO: Account Balance Start.
[2025-04-12 10:06:03] Production.INFO: CreateAllLog Start
[2025-04-12 10:06:03] Production.INFO: 117
[2025-04-12 10:06:03] Production.ERROR: done
[2025-04-12 10:06:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 10:06:03] Production.INFO: Date 2025-04-08
[2025-04-12 10:06:03] Production.INFO: ==15007== Releasing lock...
[2025-04-12 10:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 10:06:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 10:06:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890832') end
[2025-04-12 10:06:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 10:06:03] Production.INFO: 1
[2025-04-12 10:06:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 10:06:03] Production.INFO: Date 2025-04-09
[2025-04-12 10:06:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:06:03] Production.INFO: Date 2025-04-10
[2025-04-12 10:06:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:06:03] Production.ERROR: done
[2025-04-12 10:06:03] Production.INFO: Date 2025-04-11
[2025-04-12 10:06:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:06:03] Production.INFO: ==15015== Releasing lock...
[2025-04-12 10:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 10:06:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 10:06:03] Production.INFO: Date 2025-04-12
[2025-04-12 10:06:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:06:04] Production.INFO: Total Charge 0
[2025-04-12 10:06:04] Production.INFO: CreateAllLog End
[2025-04-12 10:06:04] Production.INFO: Account Balance End.
[2025-04-12 10:06:04] Production.ERROR: CronJobId end 12
[2025-04-12 10:06:04] Production.INFO: ==15011== Releasing lock...
[2025-04-12 10:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 10:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 10:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 07:06:05
[end_date_ymd] => 2025-04-12 10:06:05
[RateCDR] => 1
)
[2025-04-12 10:06:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 07:06:05' and `end` < '2025-04-12 10:06:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 10:06:12] Production.ERROR: CronJobId end10
[2025-04-12 10:06:12] Production.INFO: ==15009== Releasing lock...
[2025-04-12 10:06:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 10:06:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 10:06:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 10:06:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 10:06:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 10:06:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 10:06:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 10:06:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 10:06:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 10:06:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 10:06:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 10:06:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 10:06:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 10:06:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 10:06:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 10:06:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 10:06:14] Production.INFO: call_cost start
[2025-04-12 10:06:14] Production.INFO: call_cost end
[2025-04-12 10:06:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 10:06:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 10:06:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 10:06:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 10:06:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 10:06:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 10:06:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 10:06:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 10:06:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 10:06:15] Production.INFO: ==15005== Releasing lock...
[2025-04-12 10:06:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 10:06:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 10:06:17] Production.INFO: count ==571
[2025-04-12 10:06:18] Production.ERROR: pbx CDR StartTime 2025-04-12 07:06:05 - End Time 2025-04-12 10:06:05
[2025-04-12 10:06:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 10:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890836', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890836', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890836', 'tblTempVendorCDR_20' ) start
[2025-04-12 10:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890836', 'tblTempVendorCDR_20' ) end
[2025-04-12 10:06:18] Production.INFO: ProcessCDR(1,14890836,1,1,2)
[2025-04-12 10:06:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890836,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:06:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890836,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:06:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890836,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:06:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890836,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890836', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:06:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890836', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:06:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 10:06:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 10:06:23] Production.INFO: ==15013== Releasing lock...
[2025-04-12 10:06:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 10:06:23] Production.INFO: 33.5 MB #Memory Used#
[2025-04-12 15:07:01] Production.INFO: ==15070== Lock acquired, processing the job...
[2025-04-12 15:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 15:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 15:07:01] Production.INFO: neon service started
[2025-04-12 15:07:01] Production.INFO: neon service started
[2025-04-12 15:07:01] Production.INFO: ==15070== Releasing lock...
[2025-04-12 15:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 15:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 14:07:02] Production.INFO: ==15074== Lock acquired, processing the job...
[2025-04-12 14:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 14:07:02] Production.INFO: ==15074== Releasing lock...
[2025-04-12 14:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 14:07:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 10:07:02] Production.INFO: ==15072== Lock acquired, processing the job...
[2025-04-12 10:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 10:07:02] Production.INFO: ==15072== Releasing lock...
[2025-04-12 10:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 10:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 10:07:03] Production.INFO: ==15079== Lock acquired, processing the job...
[2025-04-12 10:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 10:07:03] Production.INFO: ==15083== Lock acquired, processing the job...
[2025-04-12 10:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 10:07:03] Production.INFO: Account Balance Start.
[2025-04-12 10:07:03] Production.INFO: CreateAllLog Start
[2025-04-12 10:07:03] Production.INFO: 117
[2025-04-12 10:07:03] Production.INFO: Date 2025-04-08
[2025-04-12 10:07:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:07:03] Production.INFO: Date 2025-04-09
[2025-04-12 10:07:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:07:03] Production.INFO: ==15077== Lock acquired, processing the job...
[2025-04-12 10:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 10:07:03] Production.INFO: Date 2025-04-10
[2025-04-12 10:07:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:07:03] Production.INFO: ==15079== Releasing lock...
[2025-04-12 10:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 10:07:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 10:07:03] Production.INFO: Date 2025-04-11
[2025-04-12 10:07:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:07:03] Production.INFO: Date 2025-04-12
[2025-04-12 10:07:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 10:07:03] Production.INFO: ==15081== Lock acquired, processing the job...
[2025-04-12 10:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 10:07:03] Production.INFO: Total Charge 0
[2025-04-12 10:07:03] Production.INFO: CreateAllLog End
[2025-04-12 10:07:03] Production.INFO: ==15085== Lock acquired, processing the job...
[2025-04-12 10:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 10:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 10:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 10:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 10:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 10:07:04] Production.INFO: Account Balance End.
[2025-04-12 10:07:04] Production.INFO: ==15087== Lock acquired, processing the job...
[2025-04-12 10:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 10:07:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 10:07:04] Production.ERROR: CronJobId end 12
[2025-04-12 10:07:04] Production.INFO: ==15083== Releasing lock...
[2025-04-12 10:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 10:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 10:07:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 10:07:04] Production.INFO: count ==12
[2025-04-12 10:07:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 10:07:04] Production.INFO: count ==23
[2025-04-12 10:07:04] Production.ERROR: done
[2025-04-12 10:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890840') start
[2025-04-12 10:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 10:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890840') end
[2025-04-12 10:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 10:07:04] Production.INFO: 1
[2025-04-12 10:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 10:07:04] Production.ERROR: done
[2025-04-12 10:07:04] Production.INFO: ==15087== Releasing lock...
[2025-04-12 10:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 10:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 10:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 07:07:05
[end_date_ymd] => 2025-04-12 10:07:05
[RateCDR] => 1
)
[2025-04-12 10:07:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 07:07:05' and `end` < '2025-04-12 10:07:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 10:07:11] Production.ERROR: CronJobId end10
[2025-04-12 10:07:11] Production.INFO: ==15081== Releasing lock...
[2025-04-12 10:07:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 10:07:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 10:07:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 10:07:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 10:07:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 10:07:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 10:07:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 10:07:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 10:07:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 10:07:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 10:07:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 10:07:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 10:07:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 10:07:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 10:07:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 10:07:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 10:07:14] Production.INFO: call_cost start
[2025-04-12 10:07:14] Production.INFO: call_cost end
[2025-04-12 10:07:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 10:07:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 10:07:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 10:07:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 10:07:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 10:07:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 10:07:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 10:07:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 10:07:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 10:07:15] Production.INFO: ==15077== Releasing lock...
[2025-04-12 10:07:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 10:07:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 10:07:18] Production.INFO: count ==571
[2025-04-12 10:07:18] Production.ERROR: pbx CDR StartTime 2025-04-12 07:07:05 - End Time 2025-04-12 10:07:05
[2025-04-12 10:07:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 10:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890841', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890841', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890841', 'tblTempVendorCDR_20' ) start
[2025-04-12 10:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890841', 'tblTempVendorCDR_20' ) end
[2025-04-12 10:07:18] Production.INFO: ProcessCDR(1,14890841,1,1,2)
[2025-04-12 10:07:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890841,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:07:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890841,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:07:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890841,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:07:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890841,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890841', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890841', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:07:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 10:07:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 10:07:22] Production.INFO: ==15085== Releasing lock...
[2025-04-12 10:07:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 10:07:22] Production.INFO: 33.5 MB #Memory Used#
[2025-04-12 15:08:02] Production.INFO: ==15142== Lock acquired, processing the job...
[2025-04-12 15:08:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 15:08:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 15:08:02] Production.INFO: neon service started
[2025-04-12 15:08:02] Production.INFO: neon service started
[2025-04-12 15:08:02] Production.INFO: ==15142== Releasing lock...
[2025-04-12 15:08:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 15:08:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 10:08:02] Production.INFO: ==15144== Lock acquired, processing the job...
[2025-04-12 10:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 10:08:03] Production.INFO: ==15144== Releasing lock...
[2025-04-12 10:08:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 10:08:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 14:08:03] Production.INFO: ==15146== Lock acquired, processing the job...
[2025-04-12 14:08:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 14:08:03] Production.INFO: ==15146== Releasing lock...
[2025-04-12 14:08:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 14:08:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 10:08:03] Production.INFO: ==15157== Lock acquired, processing the job...
[2025-04-12 10:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 10:08:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 10:08:04] Production.INFO: ==15159== Lock acquired, processing the job...
[2025-04-12 10:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 10:08:04] Production.INFO: ==15149== Lock acquired, processing the job...
[2025-04-12 10:08:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 10:08:04] Production.INFO: ==15151== Lock acquired, processing the job...
[2025-04-12 10:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 10:08:04] Production.INFO: ==15153== Lock acquired, processing the job...
[2025-04-12 10:08:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 10:08:04] Production.INFO: ==15155== Lock acquired, processing the job...
[2025-04-12 10:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 10:08:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 10:08:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 10:08:04] Production.INFO: count ==12
[2025-04-12 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-12 10:08:04] Production.INFO: count ==23
[2025-04-12 10:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890842') start
[2025-04-12 10:08:04] Production.ERROR: done
[2025-04-12 10:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 10:08:04] Production.INFO: Account Balance Start.
[2025-04-12 10:08:04] Production.INFO: CreateAllLog Start
[2025-04-12 10:08:04] Production.INFO: 117
[2025-04-12 10:08:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 10:08:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 10:08:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 10:08:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 10:08:04] Production.INFO: Date 2025-04-08
[2025-04-12 10:08:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890842') end
[2025-04-12 10:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 10:08:04] Production.INFO: 1
[2025-04-12 10:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 10:08:04] Production.INFO: Date 2025-04-09
[2025-04-12 10:08:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:08:04] Production.INFO: ==15159== Releasing lock...
[2025-04-12 10:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 10:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 10:08:04] Production.INFO: Date 2025-04-10
[2025-04-12 10:08:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:08:04] Production.INFO: Date 2025-04-11
[2025-04-12 10:08:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:08:04] Production.ERROR: done
[2025-04-12 10:08:04] Production.INFO: Date 2025-04-12
[2025-04-12 10:08:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:08:04] Production.INFO: Total Charge 0
[2025-04-12 10:08:04] Production.INFO: CreateAllLog End
[2025-04-12 10:08:04] Production.INFO: ==15151== Releasing lock...
[2025-04-12 10:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 10:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 10:08:04] Production.INFO: Account Balance End.
[2025-04-12 10:08:05] Production.ERROR: CronJobId end 12
[2025-04-12 10:08:05] Production.INFO: ==15155== Releasing lock...
[2025-04-12 10:08:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 10:08:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 10:08:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 07:08:06
[end_date_ymd] => 2025-04-12 10:08:06
[RateCDR] => 1
)
[2025-04-12 10: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-12 07:08:06' and `end` < '2025-04-12 10: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-12 10:08:12] Production.ERROR: CronJobId end10
[2025-04-12 10:08:12] Production.INFO: ==15153== Releasing lock...
[2025-04-12 10:08:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 10:08:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 10:08:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 10:08:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 10:08:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 10:08:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 10:08:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 10:08:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 10:08:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 10:08:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 10:08:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 10:08:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 10:08:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 10:08:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 10:08:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 10:08:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 10:08:15] Production.INFO: call_cost start
[2025-04-12 10:08:15] Production.INFO: call_cost end
[2025-04-12 10:08:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 10:08:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 10:08:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 10:08:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 10:08:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 10:08:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 10:08:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 10:08:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 10:08:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 10:08:16] Production.INFO: ==15149== Releasing lock...
[2025-04-12 10:08:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 10:08:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 10:08:18] Production.INFO: count ==574
[2025-04-12 10:08:18] Production.ERROR: pbx CDR StartTime 2025-04-12 07:08:06 - End Time 2025-04-12 10:08:06
[2025-04-12 10:08:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 10:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890846', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890846', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890846', 'tblTempVendorCDR_20' ) start
[2025-04-12 10:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890846', 'tblTempVendorCDR_20' ) end
[2025-04-12 10:08:18] Production.INFO: ProcessCDR(1,14890846,1,1,2)
[2025-04-12 10:08:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890846,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:08:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890846,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:08:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890846,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:08:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890846,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:08:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890846', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:08:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890846', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:08:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 10:08:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 10:08:23] Production.INFO: ==15157== Releasing lock...
[2025-04-12 10:08:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 10:08:23] Production.INFO: 33 MB #Memory Used#
[2025-04-12 15:09:01] Production.INFO: ==15211== Lock acquired, processing the job...
[2025-04-12 15:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 15:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 15:09:01] Production.INFO: neon service started
[2025-04-12 15:09:01] Production.INFO: neon service started
[2025-04-12 15:09:01] Production.INFO: ==15211== Releasing lock...
[2025-04-12 15:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 15:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 10:09:02] Production.INFO: ==15213== Lock acquired, processing the job...
[2025-04-12 10:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 14:09:02] Production.INFO: ==15215== Lock acquired, processing the job...
[2025-04-12 14:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 14:09:02] Production.INFO: ==15215== Releasing lock...
[2025-04-12 14:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 14:09:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 10:09:02] Production.INFO: ==15213== Releasing lock...
[2025-04-12 10:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 10:09:02] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 10:09:03] Production.INFO: ==15218== Lock acquired, processing the job...
[2025-04-12 10:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 10:09:03] Production.INFO: ==15220== Lock acquired, processing the job...
[2025-04-12 10:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 10:09:03] Production.INFO: ==15224== Lock acquired, processing the job...
[2025-04-12 10:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 10:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 10:09:03] Production.INFO: Account Balance Start.
[2025-04-12 10:09:03] Production.INFO: CreateAllLog Start
[2025-04-12 10:09:03] Production.INFO: 117
[2025-04-12 10:09:03] Production.INFO: Date 2025-04-08
[2025-04-12 10:09:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:09:03] Production.INFO: Date 2025-04-09
[2025-04-12 10:09:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:09:03] Production.INFO: Date 2025-04-10
[2025-04-12 10:09:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:09:03] Production.INFO: Date 2025-04-11
[2025-04-12 10:09:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:09:03] Production.INFO: Date 2025-04-12
[2025-04-12 10:09:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:09:03] Production.INFO: Total Charge 0
[2025-04-12 10:09:03] Production.INFO: ==15220== Releasing lock...
[2025-04-12 10:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 10:09:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 10:09:03] Production.INFO: CreateAllLog End
[2025-04-12 10:09:03] Production.INFO: ==15222== Lock acquired, processing the job...
[2025-04-12 10:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 10:09:03] Production.INFO: Account Balance End.
[2025-04-12 10:09:03] Production.INFO: ==15226== Lock acquired, processing the job...
[2025-04-12 10:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 10:09:03] Production.ERROR: CronJobId end 12
[2025-04-12 10:09:03] Production.INFO: ==15224== Releasing lock...
[2025-04-12 10:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 10:09:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 10:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 10:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 10:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 10:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 10:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 10:09:03] Production.INFO: ==15228== Lock acquired, processing the job...
[2025-04-12 10:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 10:09:04] Production.ERROR: done
[2025-04-12 10:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 10:09:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 10:09:04] Production.INFO: count ==12
[2025-04-12 10:09:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 10:09:04] Production.INFO: count ==23
[2025-04-12 10:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890850') start
[2025-04-12 10:09:04] Production.ERROR: done
[2025-04-12 10:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890850') end
[2025-04-12 10:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 10:09:04] Production.INFO: 1
[2025-04-12 10:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 10:09:04] Production.INFO: ==15228== Releasing lock...
[2025-04-12 10:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 10:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 10:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 07:09:05
[end_date_ymd] => 2025-04-12 10:09:05
[RateCDR] => 1
)
[2025-04-12 10:09:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 07:09:05' and `end` < '2025-04-12 10:09:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 10:09:11] Production.ERROR: CronJobId end10
[2025-04-12 10:09:11] Production.INFO: ==15222== Releasing lock...
[2025-04-12 10:09:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 10:09:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 10:09:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 10:09:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 10:09:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 10:09:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 10:09:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 10:09:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 10:09:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 10:09:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 10:09:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 10:09:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 10:09:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 10:09:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 10:09:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 10:09:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 10:09:14] Production.INFO: call_cost start
[2025-04-12 10:09:14] Production.INFO: call_cost end
[2025-04-12 10:09:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 10:09:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 10:09:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 10:09:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 10:09:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 10:09:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 10:09:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 10:09:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 10:09:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 10:09:15] Production.INFO: ==15218== Releasing lock...
[2025-04-12 10:09:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 10:09:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 10:09:18] Production.INFO: count ==586
[2025-04-12 10:09:18] Production.ERROR: pbx CDR StartTime 2025-04-12 07:09:05 - End Time 2025-04-12 10:09:05
[2025-04-12 10:09:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 10:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890851', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890851', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890851', 'tblTempVendorCDR_20' ) start
[2025-04-12 10:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890851', 'tblTempVendorCDR_20' ) end
[2025-04-12 10:09:18] Production.INFO: ProcessCDR(1,14890851,1,1,2)
[2025-04-12 10:09:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890851,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:09:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890851,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:09:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890851,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:09:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890851,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890851', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890851', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:09:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 10:09:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 10:09:22] Production.INFO: ==15226== Releasing lock...
[2025-04-12 10:09:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 10:09:22] Production.INFO: 33 MB #Memory Used#
[2025-04-12 15:10:02] Production.INFO: ==15282== Lock acquired, processing the job...
[2025-04-12 15:10:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 15:10:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 15:10:02] Production.INFO: neon service started
[2025-04-12 15:10:02] Production.INFO: neon service started
[2025-04-12 15:10:02] Production.INFO: ==15282== Releasing lock...
[2025-04-12 15:10:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 15:10:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 10:10:02] Production.INFO: ==15284== Lock acquired, processing the job...
[2025-04-12 10:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 14:10:02] Production.INFO: ==15286== Lock acquired, processing the job...
[2025-04-12 14:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 14:10:02] Production.INFO: ==15286== Releasing lock...
[2025-04-12 14:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 14:10:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 10:10:03] Production.INFO: ==15284== Releasing lock...
[2025-04-12 10:10:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 10:10:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 10:10:04] Production.INFO: ==15289== Lock acquired, processing the job...
[2025-04-12 10:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 10:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 10:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 10:10:04] Production.INFO: ==15289== Releasing lock...
[2025-04-12 10:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 10:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 10:10:04] Production.INFO: ==15297== Lock acquired, processing the job...
[2025-04-12 10:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 10:10:04] Production.INFO: ==15301== Lock acquired, processing the job...
[2025-04-12 10:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 10:10:04] Production.INFO: ==15291== Lock acquired, processing the job...
[2025-04-12 10:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 10:10:04] Production.INFO: ==15293== Lock acquired, processing the job...
[2025-04-12 10:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 10:10:04] Production.INFO: Account Balance Start.
[2025-04-12 10:10:04] Production.INFO: CreateAllLog Start
[2025-04-12 10:10:04] Production.INFO: 117
[2025-04-12 10:10:04] Production.INFO: Date 2025-04-08
[2025-04-12 10:10:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:10:04] Production.INFO: ==15295== Lock acquired, processing the job...
[2025-04-12 10:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 10:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 10:10:04] Production.INFO: Date 2025-04-09
[2025-04-12 10:10:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 10:10:04] Production.INFO: ==15303== Lock acquired, processing the job...
[2025-04-12 10:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 10:10:04] Production.INFO: Date 2025-04-10
[2025-04-12 10:10:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:10:04] Production.INFO: ==15299== Lock acquired, processing the job...
[2025-04-12 10:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 10:10:04] Production.INFO: Date 2025-04-11
[2025-04-12 10:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 10:10:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 10:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 10:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 10:10:04] Production.INFO: Date 2025-04-12
[2025-04-12 10:10:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 10:10:04] Production.INFO: Total Charge 0
[2025-04-12 10:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 10:10:04] Production.INFO: CreateAllLog End
[2025-04-12 10:10:04] Production.INFO: count ==12
[2025-04-12 10:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 10:10:05] Production.INFO: ==15293== Releasing lock...
[2025-04-12 10:10:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 10:10:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 10:10:05] Production.INFO: count ==23
[2025-04-12 10:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14890855') start
[2025-04-12 10:10:05] Production.ERROR: done
[2025-04-12 10:10:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 10:10:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14890856', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 10:10:05] Production.INFO: Account Balance End.
[2025-04-12 10:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14890855') end
[2025-04-12 10:10:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 10:10:05] Production.INFO: 1
[2025-04-12 10:10:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 10:10:05] Production.ERROR: done
[2025-04-12 10:10:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 10:10:05] Production.ERROR: CronJobId end 12
[2025-04-12 10:10:05] Production.INFO: ==15297== Releasing lock...
[2025-04-12 10:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 10:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 10:10:05] Production.INFO: ==15303== Releasing lock...
[2025-04-12 10:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 10:10:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 10:10:05] Production.ERROR: done
[2025-04-12 10:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 07:10:06
[end_date_ymd] => 2025-04-12 10:10:06
[RateCDR] => 1
)
[2025-04-12 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-12 07:10:06' and `end` < '2025-04-12 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-12 10:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14890856', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 10:10:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 10:10:09] Production.INFO: ProcessCDR(1,14890856,1,1,2)
[2025-04-12 10:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14890856,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14890856,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 10:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 10:10:09] Production.INFO: ==15301== Releasing lock...
[2025-04-12 10:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 10:10:09] Production.INFO: 26 MB #Memory Used#
[2025-04-12 10:10:15] Production.ERROR: CronJobId end10
[2025-04-12 10:10:15] Production.INFO: ==15295== Releasing lock...
[2025-04-12 10:10:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 10:10:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 10:10:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 10:10:16] Production.INFO: ============== Balance Warning START===========
[2025-04-12 10:10:16] Production.INFO: ============== Balance Warning END===========
[2025-04-12 10:10:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 10:10:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 10:10:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 10:10:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 10:10:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 10:10:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 10:10:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 10:10:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 10:10:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 10:10:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 10:10:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 10:10:17] Production.INFO: call_cost start
[2025-04-12 10:10:17] Production.INFO: call_cost end
[2025-04-12 10:10:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 10:10:18] Production.INFO: ============== Report Schedule START===========
[2025-04-12 10:10:18] Production.INFO: ============== Report Schedule END===========
[2025-04-12 10:10:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 10:10:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 10:10:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 10:10:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 10:10:18] Production.INFO: ============== Deal alert START===========
[2025-04-12 10:10:18] Production.INFO: ============== Deal alert END===========
[2025-04-12 10:10:18] Production.INFO: ==15291== Releasing lock...
[2025-04-12 10:10:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 10:10:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 10:10:20] Production.INFO: count ==597
[2025-04-12 10:10:20] Production.ERROR: pbx CDR StartTime 2025-04-12 07:10:06 - End Time 2025-04-12 10:10:06
[2025-04-12 10:10:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 10:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890857', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890857', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890857', 'tblTempVendorCDR_20' ) start
[2025-04-12 10:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890857', 'tblTempVendorCDR_20' ) end
[2025-04-12 10:10:20] Production.INFO: ProcessCDR(1,14890857,1,1,2)
[2025-04-12 10:10:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890857,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:10:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890857,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:10:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890857,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:10:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890857,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:10:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890857', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:10:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890857', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:10:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 10:10:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 10:10:25] Production.INFO: ==15299== Releasing lock...
[2025-04-12 10:10:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 10:10:25] Production.INFO: 33 MB #Memory Used#
[2025-04-12 15:11:01] Production.INFO: ==15400== Lock acquired, processing the job...
[2025-04-12 15:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 15:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 15:11:01] Production.INFO: neon service started
[2025-04-12 15:11:01] Production.INFO: neon service started
[2025-04-12 15:11:01] Production.INFO: ==15400== Releasing lock...
[2025-04-12 15:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 15:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 14:11:01] Production.INFO: ==15404== Lock acquired, processing the job...
[2025-04-12 14:11:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 14:11:02] Production.INFO: ==15404== Releasing lock...
[2025-04-12 14:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 14:11:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 10:11:02] Production.INFO: ==15402== Lock acquired, processing the job...
[2025-04-12 10:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 10:11:02] Production.INFO: ==15402== Releasing lock...
[2025-04-12 10:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 10:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 10:11:03] Production.INFO: ==15409== Lock acquired, processing the job...
[2025-04-12 10:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 10:11:03] Production.INFO: ==15411== Lock acquired, processing the job...
[2025-04-12 10:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 10:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 10:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 10:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 10:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 10:11:03] Production.INFO: ==15415== Lock acquired, processing the job...
[2025-04-12 10:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 10:11:03] Production.INFO: ==15407== Lock acquired, processing the job...
[2025-04-12 10:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 10:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 10:11:03] Production.INFO: ==15409== Releasing lock...
[2025-04-12 10:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 10:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 10:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 10:11:03] Production.INFO: ==15413== Lock acquired, processing the job...
[2025-04-12 10:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 10:11:03] Production.INFO: ==15417== Lock acquired, processing the job...
[2025-04-12 10:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 10:11:03] Production.INFO: Account Balance Start.
[2025-04-12 10:11:03] Production.INFO: CreateAllLog Start
[2025-04-12 10:11:03] Production.INFO: 117
[2025-04-12 10:11:03] Production.INFO: Date 2025-04-08
[2025-04-12 10:11:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:11:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 10:11:03] Production.INFO: Date 2025-04-09
[2025-04-12 10:11:03] Production.INFO: count ==12
[2025-04-12 10: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-12 10:11:03] Production.INFO: count ==23
[2025-04-12 10:11:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890861') start
[2025-04-12 10:11:04] Production.ERROR: done
[2025-04-12 10:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 10:11:04] Production.INFO: Date 2025-04-10
[2025-04-12 10:11:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:11:04] Production.INFO: Date 2025-04-11
[2025-04-12 10:11:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:11:04] Production.INFO: Date 2025-04-12
[2025-04-12 10:11:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890861') end
[2025-04-12 10:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 10:11:04] Production.INFO: 1
[2025-04-12 10:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 10:11:04] Production.ERROR: done
[2025-04-12 10:11:04] Production.INFO: Total Charge 0
[2025-04-12 10:11:04] Production.INFO: ==15417== Releasing lock...
[2025-04-12 10:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 10:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 10:11:04] Production.INFO: CreateAllLog End
[2025-04-12 10:11:04] Production.INFO: Account Balance End.
[2025-04-12 10:11:04] Production.ERROR: CronJobId end 12
[2025-04-12 10:11:04] Production.INFO: ==15413== Releasing lock...
[2025-04-12 10:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 10:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 10:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 07:11:05
[end_date_ymd] => 2025-04-12 10:11:05
[RateCDR] => 1
)
[2025-04-12 10:11:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 07:11:05' and `end` < '2025-04-12 10:11:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 10:11:12] Production.ERROR: CronJobId end10
[2025-04-12 10:11:12] Production.INFO: ==15411== Releasing lock...
[2025-04-12 10:11:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 10:11:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 10:11:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 10:11:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 10:11:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 10:11:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 10:11:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 10:11:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 10:11:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 10:11:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 10:11:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 10:11:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 10:11:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 10:11:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 10:11:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 10:11:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 10:11:14] Production.INFO: call_cost start
[2025-04-12 10:11:14] Production.INFO: call_cost end
[2025-04-12 10:11:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 10:11:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 10:11:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 10:11:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 10:11:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 10:11:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 10:11:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 10:11:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 10:11:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 10:11:15] Production.INFO: ==15407== Releasing lock...
[2025-04-12 10:11:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 10:11:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 10:11:18] Production.INFO: count ==613
[2025-04-12 10:11:18] Production.ERROR: pbx CDR StartTime 2025-04-12 07:11:05 - End Time 2025-04-12 10:11:05
[2025-04-12 10:11:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 10:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890862', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890862', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890862', 'tblTempVendorCDR_20' ) start
[2025-04-12 10:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890862', 'tblTempVendorCDR_20' ) end
[2025-04-12 10:11:18] Production.INFO: ProcessCDR(1,14890862,1,1,2)
[2025-04-12 10:11:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890862,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:11:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890862,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:11:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890862,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:11:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890862,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:11:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890862', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:11:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890862', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:11:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 10:11:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 10:11:23] Production.INFO: ==15415== Releasing lock...
[2025-04-12 10:11:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 10:11:23] Production.INFO: 33 MB #Memory Used#
[2025-04-12 15:12:02] Production.INFO: ==15472== Lock acquired, processing the job...
[2025-04-12 15:12:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 15:12:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 15:12:02] Production.INFO: neon service started
[2025-04-12 15:12:02] Production.INFO: neon service started
[2025-04-12 15:12:02] Production.INFO: ==15472== Releasing lock...
[2025-04-12 15:12:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 15:12:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 10:12:02] Production.INFO: ==15474== Lock acquired, processing the job...
[2025-04-12 10:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 14:12:02] Production.INFO: ==15476== Lock acquired, processing the job...
[2025-04-12 14:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 14:12:02] Production.INFO: ==15476== Releasing lock...
[2025-04-12 14:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 14:12:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 10:12:03] Production.INFO: ==15474== Releasing lock...
[2025-04-12 10:12:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 10:12:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 10:12:04] Production.INFO: ==15487== Lock acquired, processing the job...
[2025-04-12 10:12:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 10:12:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 10:12:04] Production.INFO: ==15489== Lock acquired, processing the job...
[2025-04-12 10:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 10:12:04] Production.INFO: ==15479== Lock acquired, processing the job...
[2025-04-12 10:12:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 10:12:04] Production.INFO: ==15481== Lock acquired, processing the job...
[2025-04-12 10:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 10:12:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 10:12:04] Production.INFO: ==15483== Lock acquired, processing the job...
[2025-04-12 10:12:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 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-12 10:12:04] Production.INFO: ==15485== Lock acquired, processing the job...
[2025-04-12 10:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 10:12:04] Production.INFO: count ==12
[2025-04-12 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-12 10:12:04] Production.INFO: count ==23
[2025-04-12 10:12:04] Production.ERROR: done
[2025-04-12 10:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 10:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 10:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 10:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 10:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 10:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890863') start
[2025-04-12 10:12:04] Production.INFO: Account Balance Start.
[2025-04-12 10:12:04] Production.INFO: CreateAllLog Start
[2025-04-12 10:12:04] Production.INFO: 117
[2025-04-12 10:12:04] Production.INFO: Date 2025-04-08
[2025-04-12 10:12:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:12:04] Production.INFO: Date 2025-04-09
[2025-04-12 10:12:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890863') end
[2025-04-12 10:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 10:12:04] Production.INFO: 1
[2025-04-12 10:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 10:12:04] Production.INFO: Date 2025-04-10
[2025-04-12 10:12:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:12:04] Production.INFO: Date 2025-04-11
[2025-04-12 10:12:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:12:04] Production.INFO: Date 2025-04-12
[2025-04-12 10:12:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:12:04] Production.INFO: Total Charge 0
[2025-04-12 10:12:04] Production.INFO: ==15489== Releasing lock...
[2025-04-12 10:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 10:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 10:12:04] Production.ERROR: done
[2025-04-12 10:12:04] Production.INFO: CreateAllLog End
[2025-04-12 10:12:04] Production.INFO: ==15481== Releasing lock...
[2025-04-12 10:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 10:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 10:12:05] Production.INFO: Account Balance End.
[2025-04-12 10:12:05] Production.ERROR: CronJobId end 12
[2025-04-12 10:12:05] Production.INFO: ==15485== Releasing lock...
[2025-04-12 10:12:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 10:12:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 10:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 07:12:05
[end_date_ymd] => 2025-04-12 10:12:05
[RateCDR] => 1
)
[2025-04-12 10:12:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 07:12:05' and `end` < '2025-04-12 10:12:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 10:12:12] Production.ERROR: CronJobId end10
[2025-04-12 10:12:12] Production.INFO: ==15483== Releasing lock...
[2025-04-12 10:12:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 10:12:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 10:12:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 10:12:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 10:12:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 10:12:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 10:12:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 10:12:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 10:12:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 10:12:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 10:12:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 10:12:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 10:12:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 10:12:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 10:12:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 10:12:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 10:12:15] Production.INFO: call_cost start
[2025-04-12 10:12:15] Production.INFO: call_cost end
[2025-04-12 10:12:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 10:12:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 10:12:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 10:12:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 10:12:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 10:12:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 10:12:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 10:12:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 10:12:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 10:12:16] Production.INFO: ==15479== Releasing lock...
[2025-04-12 10:12:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 10:12:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 10:12:18] Production.INFO: count ==613
[2025-04-12 10:12:18] Production.ERROR: pbx CDR StartTime 2025-04-12 07:12:05 - End Time 2025-04-12 10:12:05
[2025-04-12 10:12:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 10:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890867', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890867', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890867', 'tblTempVendorCDR_20' ) start
[2025-04-12 10:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890867', 'tblTempVendorCDR_20' ) end
[2025-04-12 10:12:18] Production.INFO: ProcessCDR(1,14890867,1,1,2)
[2025-04-12 10:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890867,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:12:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890867,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:12:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890867,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:12:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890867,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:12:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890867', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:12:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890867', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:12:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 10:12:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 10:12:22] Production.INFO: ==15487== Releasing lock...
[2025-04-12 10:12:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 10:12:22] Production.INFO: 33 MB #Memory Used#
[2025-04-12 15:13:01] Production.INFO: ==15543== Lock acquired, processing the job...
[2025-04-12 15:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 15:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 15:13:01] Production.INFO: neon service started
[2025-04-12 15:13:01] Production.INFO: neon service started
[2025-04-12 15:13:01] Production.INFO: ==15543== Releasing lock...
[2025-04-12 15:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 15:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 10:13:01] Production.INFO: ==15545== Lock acquired, processing the job...
[2025-04-12 10:13:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 10:13:02] Production.INFO: ==15545== Releasing lock...
[2025-04-12 10:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 10:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 14:13:02] Production.INFO: ==15547== Lock acquired, processing the job...
[2025-04-12 14:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 14:13:02] Production.INFO: ==15547== Releasing lock...
[2025-04-12 14:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 14:13:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 10:13:03] Production.INFO: ==15558== Lock acquired, processing the job...
[2025-04-12 10:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 10:13:03] Production.INFO: ==15556== Lock acquired, processing the job...
[2025-04-12 10:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 10:13:03] Production.INFO: ==15550== Lock acquired, processing the job...
[2025-04-12 10:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 10:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 10:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 10:13:03] Production.INFO: ==15552== Lock acquired, processing the job...
[2025-04-12 10:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 10:13:03] Production.INFO: ==15554== Lock acquired, processing the job...
[2025-04-12 10:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 10:13:03] Production.INFO: Account Balance Start.
[2025-04-12 10:13:03] Production.INFO: CreateAllLog Start
[2025-04-12 10:13:03] Production.INFO: 117
[2025-04-12 10:13:03] Production.INFO: Date 2025-04-08
[2025-04-12 10:13:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:13:03] Production.INFO: Date 2025-04-09
[2025-04-12 10:13:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:13:03] Production.INFO: Date 2025-04-10
[2025-04-12 10:13:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:13:03] Production.INFO: Date 2025-04-11
[2025-04-12 10:13:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:13:03] Production.INFO: Date 2025-04-12
[2025-04-12 10:13:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:13:03] Production.INFO: ==15560== Lock acquired, processing the job...
[2025-04-12 10:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 10:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 10:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 10:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 10:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 10:13:03] Production.INFO: Total Charge 0
[2025-04-12 10:13:03] Production.INFO: CreateAllLog End
[2025-04-12 10:13:03] Production.ERROR: done
[2025-04-12 10:13:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 10: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-12 10:13:03] Production.INFO: count ==12
[2025-04-12 10: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-12 10:13:03] Production.INFO: count ==23
[2025-04-12 10:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890871') start
[2025-04-12 10:13:03] Production.ERROR: done
[2025-04-12 10:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890871') end
[2025-04-12 10:13:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 10:13:03] Production.INFO: 1
[2025-04-12 10:13:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 10:13:03] Production.INFO: Account Balance End.
[2025-04-12 10:13:04] Production.INFO: ==15552== Releasing lock...
[2025-04-12 10:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 10:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 10:13:04] Production.INFO: ==15560== Releasing lock...
[2025-04-12 10:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 10:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 10:13:04] Production.ERROR: CronJobId end 12
[2025-04-12 10:13:04] Production.INFO: ==15556== Releasing lock...
[2025-04-12 10:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 10:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 10:13:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 07:13:04
[end_date_ymd] => 2025-04-12 10:13:04
[RateCDR] => 1
)
[2025-04-12 10: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-12 07:13:04' and `end` < '2025-04-12 10: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-12 10:13:12] Production.ERROR: CronJobId end10
[2025-04-12 10:13:12] Production.INFO: ==15554== Releasing lock...
[2025-04-12 10:13:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 10:13:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 10:13:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 10:13:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 10:13:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 10:13:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 10:13:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 10:13:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 10:13:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 10:13:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 10:13:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 10:13:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 10:13:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 10:13:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 10:13:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 10:13:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 10:13:15] Production.INFO: call_cost start
[2025-04-12 10:13:15] Production.INFO: call_cost end
[2025-04-12 10:13:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 10:13:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 10:13:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 10:13:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 10:13:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 10:13:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 10:13:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 10:13:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 10:13:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 10:13:16] Production.INFO: ==15550== Releasing lock...
[2025-04-12 10:13:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 10:13:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 10:13:17] Production.INFO: count ==613
[2025-04-12 10:13:18] Production.ERROR: pbx CDR StartTime 2025-04-12 07:13:04 - End Time 2025-04-12 10:13:04
[2025-04-12 10:13:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 10:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890872', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890872', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890872', 'tblTempVendorCDR_20' ) start
[2025-04-12 10:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890872', 'tblTempVendorCDR_20' ) end
[2025-04-12 10:13:18] Production.INFO: ProcessCDR(1,14890872,1,1,2)
[2025-04-12 10:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890872,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:13:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890872,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:13:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890872,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:13:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890872,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:13:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890872', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:13:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890872', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:13:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 10:13:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 10:13:23] Production.INFO: ==15558== Releasing lock...
[2025-04-12 10:13:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 10:13:23] Production.INFO: 33.25 MB #Memory Used#
[2025-04-12 15:14:02] Production.INFO: ==15618== Lock acquired, processing the job...
[2025-04-12 15:14:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 15:14:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 15:14:02] Production.INFO: neon service started
[2025-04-12 15:14:02] Production.INFO: neon service started
[2025-04-12 15:14:02] Production.INFO: ==15618== Releasing lock...
[2025-04-12 15:14:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 15:14:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 10:14:02] Production.INFO: ==15620== Lock acquired, processing the job...
[2025-04-12 10:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 14:14:02] Production.INFO: ==15623== Lock acquired, processing the job...
[2025-04-12 14:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 14:14:02] Production.INFO: ==15623== Releasing lock...
[2025-04-12 14:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 14:14:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 10:14:02] Production.INFO: ==15620== Releasing lock...
[2025-04-12 10:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 10:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 10:14:03] Production.INFO: ==15629== Lock acquired, processing the job...
[2025-04-12 10:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 10:14:03] Production.INFO: ==15633== Lock acquired, processing the job...
[2025-04-12 10:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 10:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 10:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 10:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 10:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 10:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 10:14:03] Production.INFO: ==15627== Lock acquired, processing the job...
[2025-04-12 10:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 10:14:03] Production.INFO: ==15625== Lock acquired, processing the job...
[2025-04-12 10:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 10:14:04] Production.INFO: ==15631== Lock acquired, processing the job...
[2025-04-12 10:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 10:14:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 10:14:04] Production.INFO: Account Balance Start.
[2025-04-12 10:14:04] Production.INFO: CreateAllLog Start
[2025-04-12 10:14:04] Production.INFO: 117
[2025-04-12 10:14:04] Production.INFO: ==15635== Lock acquired, processing the job...
[2025-04-12 10:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 10:14:04] Production.INFO: Date 2025-04-08
[2025-04-12 10:14:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:14:04] Production.INFO: Date 2025-04-09
[2025-04-12 10:14:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:14:04] Production.ERROR: done
[2025-04-12 10:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 10:14:04] Production.INFO: Date 2025-04-10
[2025-04-12 10:14:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:14:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 10:14:04] Production.INFO: Date 2025-04-11
[2025-04-12 10:14:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:14:04] Production.INFO: Date 2025-04-12
[2025-04-12 10:14:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:14:04] Production.INFO: count ==12
[2025-04-12 10:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 10:14:04] Production.INFO: count ==23
[2025-04-12 10:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890876') start
[2025-04-12 10:14:04] Production.ERROR: done
[2025-04-12 10:14:04] Production.INFO: ==15627== Releasing lock...
[2025-04-12 10:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 10:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 10:14:04] Production.INFO: Total Charge 0
[2025-04-12 10:14:04] Production.INFO: CreateAllLog End
[2025-04-12 10:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890876') end
[2025-04-12 10:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 10:14:04] Production.INFO: 1
[2025-04-12 10:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 10:14:04] Production.INFO: Account Balance End.
[2025-04-12 10:14:04] Production.INFO: ==15635== Releasing lock...
[2025-04-12 10:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 10:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 10:14:04] Production.ERROR: CronJobId end 12
[2025-04-12 10:14:04] Production.INFO: ==15631== Releasing lock...
[2025-04-12 10:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 10:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 10:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 07:14:05
[end_date_ymd] => 2025-04-12 10:14:05
[RateCDR] => 1
)
[2025-04-12 10:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 07:14:05' and `end` < '2025-04-12 10:14:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 10:14:12] Production.ERROR: CronJobId end10
[2025-04-12 10:14:12] Production.INFO: ==15629== Releasing lock...
[2025-04-12 10:14:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 10:14:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 10:14:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 10:14:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 10:14:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 10:14:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 10:14:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 10:14:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 10:14:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 10:14:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 10:14:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 10:14:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 10:14:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 10:14:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 10:14:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 10:14:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 10:14:15] Production.INFO: call_cost start
[2025-04-12 10:14:15] Production.INFO: call_cost end
[2025-04-12 10:14:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 10:14:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 10:14:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 10:14:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 10:14:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 10:14:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 10:14:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 10:14:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 10:14:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 10:14:16] Production.INFO: ==15625== Releasing lock...
[2025-04-12 10:14:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 10:14:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 10:14:18] Production.INFO: count ==620
[2025-04-12 10:14:18] Production.ERROR: pbx CDR StartTime 2025-04-12 07:14:05 - End Time 2025-04-12 10:14:05
[2025-04-12 10:14:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 10:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890877', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890877', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890877', 'tblTempVendorCDR_20' ) start
[2025-04-12 10:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890877', 'tblTempVendorCDR_20' ) end
[2025-04-12 10:14:18] Production.INFO: ProcessCDR(1,14890877,1,1,2)
[2025-04-12 10:14:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890877,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:14:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890877,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:14:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890877,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:14:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890877,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:14:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890877', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:14:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890877', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:14:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 10:14:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 10:14:24] Production.INFO: ==15633== Releasing lock...
[2025-04-12 10:14:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 10:14:24] Production.INFO: 33.25 MB #Memory Used#
[2025-04-12 15:15:01] Production.INFO: ==15688== Lock acquired, processing the job...
[2025-04-12 15:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 15:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 15:15:01] Production.INFO: neon service started
[2025-04-12 15:15:01] Production.INFO: neon service started
[2025-04-12 15:15:01] Production.INFO: ==15688== Releasing lock...
[2025-04-12 15:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 15:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 10:15:02] Production.INFO: ==15690== Lock acquired, processing the job...
[2025-04-12 10:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 14:15:02] Production.INFO: ==15692== Lock acquired, processing the job...
[2025-04-12 14:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 14:15:02] Production.INFO: ==15692== Releasing lock...
[2025-04-12 14:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 14:15:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 10:15:02] Production.INFO: ==15690== Releasing lock...
[2025-04-12 10:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 10:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 10:15:03] Production.INFO: ==15699== Lock acquired, processing the job...
[2025-04-12 10:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 10:15:03] Production.INFO: ==15701== Lock acquired, processing the job...
[2025-04-12 10:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 10:15:03] Production.INFO: ==15695== Lock acquired, processing the job...
[2025-04-12 10:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 10:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 10:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 10:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 10:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 10:15:03] Production.INFO: Account Balance Start.
[2025-04-12 10:15:03] Production.INFO: CreateAllLog Start
[2025-04-12 10:15:03] Production.INFO: 117
[2025-04-12 10:15:03] Production.INFO: Date 2025-04-08
[2025-04-12 10:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 10:15:03] Production.INFO: ==15697== Lock acquired, processing the job...
[2025-04-12 10:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 10:15:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:15:03] Production.INFO: Date 2025-04-09
[2025-04-12 10:15:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:15:03] Production.INFO: Date 2025-04-10
[2025-04-12 10:15:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:15:03] Production.INFO: ==15703== Lock acquired, processing the job...
[2025-04-12 10:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 10:15:03] Production.INFO: ==15705== Lock acquired, processing the job...
[2025-04-12 10:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 10:15:03] Production.INFO: Date 2025-04-11
[2025-04-12 10:15:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 10:15:03] Production.INFO: Date 2025-04-12
[2025-04-12 10:15:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:15:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 10:15:03] Production.INFO: count ==12
[2025-04-12 10:15:03] Production.INFO: Total Charge 0
[2025-04-12 10: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-12 10:15:03] Production.INFO: count ==23
[2025-04-12 10:15:03] Production.INFO: CreateAllLog End
[2025-04-12 10:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890881') start
[2025-04-12 10:15:04] Production.INFO: ==15697== Releasing lock...
[2025-04-12 10:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 10:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 10:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890881') end
[2025-04-12 10:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 10:15:04] Production.INFO: 1
[2025-04-12 10:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 10:15:04] Production.INFO: ==15705== Releasing lock...
[2025-04-12 10:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 10:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 10:15:04] Production.INFO: Account Balance End.
[2025-04-12 10:15:04] Production.ERROR: done
[2025-04-12 10:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 10:15:04] Production.ERROR: CronJobId end 12
[2025-04-12 10:15:04] Production.INFO: ==15701== Releasing lock...
[2025-04-12 10:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 10:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 10:15:04] Production.ERROR: done
[2025-04-12 10:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 07:15:05
[end_date_ymd] => 2025-04-12 10:15:05
[RateCDR] => 1
)
[2025-04-12 10:15:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 07:15:05' and `end` < '2025-04-12 10:15:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 10:15:12] Production.ERROR: CronJobId end10
[2025-04-12 10:15:12] Production.INFO: ==15699== Releasing lock...
[2025-04-12 10:15:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 10:15:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 10:15:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 10:15:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 10:15:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 10:15:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 10:15:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 10:15:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 10:15:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 10:15:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 10:15:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 10:15:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 10:15:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 10:15:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 10:15:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 10:15:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 10:15:14] Production.INFO: call_cost start
[2025-04-12 10:15:14] Production.INFO: call_cost end
[2025-04-12 10:15:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 10:15:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 10:15:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 10:15:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 10:15:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 10:15:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 10:15:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 10:15:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 10:15:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 10:15:15] Production.INFO: ==15695== Releasing lock...
[2025-04-12 10:15:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 10:15:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 10:15:18] Production.INFO: count ==618
[2025-04-12 10:15:18] Production.ERROR: pbx CDR StartTime 2025-04-12 07:15:05 - End Time 2025-04-12 10:15:05
[2025-04-12 10:15:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 10:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890882', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890882', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890882', 'tblTempVendorCDR_20' ) start
[2025-04-12 10:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890882', 'tblTempVendorCDR_20' ) end
[2025-04-12 10:15:18] Production.INFO: ProcessCDR(1,14890882,1,1,2)
[2025-04-12 10:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890882,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:15:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890882,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:15:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890882,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:15:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890882,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890882', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890882', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:15:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 10:15:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 10:15:21] Production.INFO: ==15703== Releasing lock...
[2025-04-12 10:15:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 10:15:21] Production.INFO: 33.25 MB #Memory Used#
[2025-04-12 15:16:02] Production.INFO: ==15758== Lock acquired, processing the job...
[2025-04-12 15:16:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 15:16:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 15:16:02] Production.INFO: neon service started
[2025-04-12 15:16:02] Production.INFO: neon service started
[2025-04-12 15:16:02] Production.INFO: ==15758== Releasing lock...
[2025-04-12 15:16:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 15:16:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 10:16:02] Production.INFO: ==15760== Lock acquired, processing the job...
[2025-04-12 10:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 10:16:02] Production.INFO: ==15760== Releasing lock...
[2025-04-12 10:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 10:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 14:16:02] Production.INFO: ==15762== Lock acquired, processing the job...
[2025-04-12 14:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 14:16:02] Production.INFO: ==15762== Releasing lock...
[2025-04-12 14:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 14:16:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 10:16:03] Production.INFO: ==15765== Lock acquired, processing the job...
[2025-04-12 10:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 10:16:03] Production.INFO: ==15767== Lock acquired, processing the job...
[2025-04-12 10:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 10:16:03] Production.INFO: ==15769== Lock acquired, processing the job...
[2025-04-12 10:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 10:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 10:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 10:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 10:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 10:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 10:16:04] Production.INFO: ==15771== Lock acquired, processing the job...
[2025-04-12 10:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 10:16:04] Production.INFO: ==15767== Releasing lock...
[2025-04-12 10:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 10:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 10:16:04] Production.INFO: ==15773== Lock acquired, processing the job...
[2025-04-12 10:16:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 10:16:04] Production.INFO: Account Balance Start.
[2025-04-12 10:16:04] Production.INFO: CreateAllLog Start
[2025-04-12 10:16:04] Production.INFO: 117
[2025-04-12 10:16:04] Production.INFO: Date 2025-04-08
[2025-04-12 10:16:04] Production.INFO: ==15775== Lock acquired, processing the job...
[2025-04-12 10:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 10:16:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:16:04] Production.INFO: Date 2025-04-09
[2025-04-12 10:16:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:16:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 10:16:04] Production.INFO: Date 2025-04-10
[2025-04-12 10:16:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:16:04] Production.INFO: Date 2025-04-11
[2025-04-12 10:16:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:16:04] Production.INFO: Date 2025-04-12
[2025-04-12 10:16:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:16:04] Production.INFO: Total Charge 0
[2025-04-12 10:16:04] Production.INFO: CreateAllLog End
[2025-04-12 10:16:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 10:16:04] Production.INFO: count ==12
[2025-04-12 10:16:04] Production.ERROR: done
[2025-04-12 10:16:04] Production.INFO: Account Balance End.
[2025-04-12 10:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 10:16:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 10:16:04] Production.INFO: count ==23
[2025-04-12 10:16:04] Production.ERROR: CronJobId end 12
[2025-04-12 10:16:04] Production.INFO: ==15771== Releasing lock...
[2025-04-12 10:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 10:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 10:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890886') start
[2025-04-12 10:16:04] Production.ERROR: done
[2025-04-12 10:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890886') end
[2025-04-12 10:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 10:16:04] Production.INFO: 1
[2025-04-12 10:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 10:16:04] Production.INFO: ==15775== Releasing lock...
[2025-04-12 10:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 10:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 10:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 07:16:05
[end_date_ymd] => 2025-04-12 10:16:05
[RateCDR] => 1
)
[2025-04-12 10:16:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 07:16:05' and `end` < '2025-04-12 10:16:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 10:16:11] Production.ERROR: CronJobId end10
[2025-04-12 10:16:11] Production.INFO: ==15769== Releasing lock...
[2025-04-12 10:16:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 10:16:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 10:16:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 10:16:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 10:16:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 10:16:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 10:16:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 10:16:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 10:16:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 10:16:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 10:16:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 10:16:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 10:16:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 10:16:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 10:16:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 10:16:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 10:16:14] Production.INFO: call_cost start
[2025-04-12 10:16:14] Production.INFO: call_cost end
[2025-04-12 10:16:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 10:16:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 10:16:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 10:16:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 10:16:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 10:16:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 10:16:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 10:16:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 10:16:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 10:16:15] Production.INFO: ==15765== Releasing lock...
[2025-04-12 10:16:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 10:16:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 10:16:18] Production.INFO: count ==620
[2025-04-12 10:16:18] Production.ERROR: pbx CDR StartTime 2025-04-12 07:16:05 - End Time 2025-04-12 10:16:05
[2025-04-12 10:16:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 10:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890887', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890887', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890887', 'tblTempVendorCDR_20' ) start
[2025-04-12 10:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890887', 'tblTempVendorCDR_20' ) end
[2025-04-12 10:16:18] Production.INFO: ProcessCDR(1,14890887,1,1,2)
[2025-04-12 10:16:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890887,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:16:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890887,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:16:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890887,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:16:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890887,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:16:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890887', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:16:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890887', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:16:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 10:16:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 10:16:24] Production.INFO: ==15773== Releasing lock...
[2025-04-12 10:16:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 10:16:24] Production.INFO: 33.25 MB #Memory Used#
[2025-04-12 15:17:01] Production.INFO: ==15830== Lock acquired, processing the job...
[2025-04-12 15:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 15:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 15:17:01] Production.INFO: neon service started
[2025-04-12 15:17:01] Production.INFO: neon service started
[2025-04-12 15:17:01] Production.INFO: ==15830== Releasing lock...
[2025-04-12 15:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 15:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 14:17:01] Production.INFO: ==15835== Lock acquired, processing the job...
[2025-04-12 14:17:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 14:17:01] Production.INFO: ==15835== Releasing lock...
[2025-04-12 14:17:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 14:17:01] Production.INFO: 25 MB #Memory Used#
[2025-04-12 10:17:02] Production.INFO: ==15833== Lock acquired, processing the job...
[2025-04-12 10:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 10:17:02] Production.INFO: ==15833== Releasing lock...
[2025-04-12 10:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 10:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 10:17:03] Production.INFO: ==15837== Lock acquired, processing the job...
[2025-04-12 10:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 10:17:03] Production.INFO: ==15839== Lock acquired, processing the job...
[2025-04-12 10:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 10:17:03] Production.INFO: ==15841== Lock acquired, processing the job...
[2025-04-12 10:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 10:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 10:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 10:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 10:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 10:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 10:17:03] Production.INFO: ==15843== Lock acquired, processing the job...
[2025-04-12 10:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 10:17:03] Production.INFO: ==15839== Releasing lock...
[2025-04-12 10:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 10:17:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 10:17:03] Production.INFO: ==15845== Lock acquired, processing the job...
[2025-04-12 10:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 10:17:03] Production.INFO: Account Balance Start.
[2025-04-12 10:17:03] Production.INFO: CreateAllLog Start
[2025-04-12 10:17:03] Production.INFO: 117
[2025-04-12 10:17:03] Production.INFO: ==15847== Lock acquired, processing the job...
[2025-04-12 10:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 10:17:03] Production.INFO: Date 2025-04-08
[2025-04-12 10:17:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 10:17:03] Production.INFO: Date 2025-04-09
[2025-04-12 10:17:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:17:03] Production.INFO: Date 2025-04-10
[2025-04-12 10:17:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:17:03] Production.INFO: Date 2025-04-11
[2025-04-12 10:17:03] Production.INFO: Reseller ==> 0
[2025-04-12 10: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-12 10:17:03] Production.INFO: Date 2025-04-12
[2025-04-12 10:17:03] Production.INFO: count ==12
[2025-04-12 10:17:03] Production.INFO: Reseller ==> 0
[2025-04-12 10: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-12 10:17:03] Production.INFO: count ==23
[2025-04-12 10:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890891') start
[2025-04-12 10:17:03] Production.INFO: Total Charge 0
[2025-04-12 10:17:04] Production.INFO: CreateAllLog End
[2025-04-12 10:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890891') end
[2025-04-12 10:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 10:17:04] Production.INFO: 1
[2025-04-12 10:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 10:17:04] Production.INFO: ==15847== Releasing lock...
[2025-04-12 10:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 10:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 10:17:04] Production.ERROR: done
[2025-04-12 10:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 10:17:04] Production.INFO: Account Balance End.
[2025-04-12 10:17:04] Production.ERROR: done
[2025-04-12 10:17:04] Production.ERROR: CronJobId end 12
[2025-04-12 10:17:04] Production.INFO: ==15843== Releasing lock...
[2025-04-12 10:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 10:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 10:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 07:17:05
[end_date_ymd] => 2025-04-12 10:17:05
[RateCDR] => 1
)
[2025-04-12 10:17:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 07:17:05' and `end` < '2025-04-12 10:17:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 10:17:12] Production.ERROR: CronJobId end10
[2025-04-12 10:17:12] Production.INFO: ==15841== Releasing lock...
[2025-04-12 10:17:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 10:17:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 10:17:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 10:17:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 10:17:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 10:17:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 10:17:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 10:17:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 10:17:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 10:17:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 10:17:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 10:17:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 10:17:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 10:17:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 10:17:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 10:17:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 10:17:14] Production.INFO: call_cost start
[2025-04-12 10:17:14] Production.INFO: call_cost end
[2025-04-12 10:17:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 10:17:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 10:17:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 10:17:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 10:17:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 10:17:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 10:17:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 10:17:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 10:17:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 10:17:15] Production.INFO: ==15837== Releasing lock...
[2025-04-12 10:17:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 10:17:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 10:17:18] Production.INFO: count ==627
[2025-04-12 10:17:18] Production.ERROR: pbx CDR StartTime 2025-04-12 07:17:05 - End Time 2025-04-12 10:17:05
[2025-04-12 10:17:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 10:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890892', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890892', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890892', 'tblTempVendorCDR_20' ) start
[2025-04-12 10:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890892', 'tblTempVendorCDR_20' ) end
[2025-04-12 10:17:18] Production.INFO: ProcessCDR(1,14890892,1,1,2)
[2025-04-12 10:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890892,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:17:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890892,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:17:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890892,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:17:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890892,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:17:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890892', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:17:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890892', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:17:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 10:17:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 10:17:23] Production.INFO: ==15845== Releasing lock...
[2025-04-12 10:17:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 10:17:23] Production.INFO: 33.5 MB #Memory Used#
[2025-04-12 15:18:01] Production.INFO: ==15902== Lock acquired, processing the job...
[2025-04-12 15:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 15:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 15:18:02] Production.INFO: neon service started
[2025-04-12 15:18:02] Production.INFO: neon service started
[2025-04-12 15:18:02] Production.INFO: ==15902== Releasing lock...
[2025-04-12 15:18:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 15:18:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 10:18:02] Production.INFO: ==15904== Lock acquired, processing the job...
[2025-04-12 10:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 14:18:02] Production.INFO: ==15906== Lock acquired, processing the job...
[2025-04-12 14:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 14:18:02] Production.INFO: ==15906== Releasing lock...
[2025-04-12 14:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 14:18:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 10:18:03] Production.INFO: ==15904== Releasing lock...
[2025-04-12 10:18:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 10:18:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 10:18:03] Production.INFO: ==15909== Lock acquired, processing the job...
[2025-04-12 10:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 10:18:03] Production.INFO: ==15911== Lock acquired, processing the job...
[2025-04-12 10:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 10:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 10:18:03] Production.INFO: ==15919== Lock acquired, processing the job...
[2025-04-12 10:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 10:18:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 10:18:04] Production.INFO: count ==12
[2025-04-12 10:18:04] Production.INFO: ==15913== Lock acquired, processing the job...
[2025-04-12 10:18:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 10:18:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 10:18:04] Production.INFO: count ==23
[2025-04-12 10:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890895') start
[2025-04-12 10:18:04] Production.INFO: ==15915== Lock acquired, processing the job...
[2025-04-12 10:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 10:18:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 10:18:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 10:18:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 10:18:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 10:18:04] Production.INFO: ==15917== Lock acquired, processing the job...
[2025-04-12 10:18:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 10:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890895') end
[2025-04-12 10:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 10:18:04] Production.INFO: 1
[2025-04-12 10:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 10:18:04] Production.INFO: ==15911== Releasing lock...
[2025-04-12 10:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 10:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 10:18:04] Production.INFO: ==15919== Releasing lock...
[2025-04-12 10:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 10:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 10:18:04] Production.INFO: Account Balance Start.
[2025-04-12 10:18:04] Production.INFO: CreateAllLog Start
[2025-04-12 10:18:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 10:18:04] Production.INFO: 117
[2025-04-12 10:18:04] Production.INFO: Date 2025-04-08
[2025-04-12 10:18:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:18:04] Production.INFO: Date 2025-04-09
[2025-04-12 10:18:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:18:04] Production.INFO: Date 2025-04-10
[2025-04-12 10:18:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:18:04] Production.INFO: Date 2025-04-11
[2025-04-12 10:18:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:18:04] Production.INFO: Date 2025-04-12
[2025-04-12 10:18:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:18:04] Production.INFO: Total Charge 0
[2025-04-12 10:18:04] Production.INFO: CreateAllLog End
[2025-04-12 10:18:04] Production.ERROR: done
[2025-04-12 10:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 10:18:04] Production.ERROR: done
[2025-04-12 10:18:05] Production.INFO: Account Balance End.
[2025-04-12 10:18:05] Production.ERROR: CronJobId end 12
[2025-04-12 10:18:05] Production.INFO: ==15915== Releasing lock...
[2025-04-12 10:18:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 10:18:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 10:18:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 07:18:06
[end_date_ymd] => 2025-04-12 10:18:06
[RateCDR] => 1
)
[2025-04-12 10: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-12 07:18:06' and `end` < '2025-04-12 10: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-12 10:18:12] Production.ERROR: CronJobId end10
[2025-04-12 10:18:12] Production.INFO: ==15913== Releasing lock...
[2025-04-12 10:18:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 10:18:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 10:18:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 10:18:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 10:18:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 10:18:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 10:18:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 10:18:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 10:18:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 10:18:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 10:18:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 10:18:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 10:18:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 10:18:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 10:18:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 10:18:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 10:18:14] Production.INFO: call_cost start
[2025-04-12 10:18:14] Production.INFO: call_cost end
[2025-04-12 10:18:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 10:18:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 10:18:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 10:18:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 10:18:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 10:18:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 10:18:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 10:18:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 10:18:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 10:18:15] Production.INFO: ==15909== Releasing lock...
[2025-04-12 10:18:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 10:18:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 10:18:18] Production.INFO: count ==625
[2025-04-12 10:18:19] Production.ERROR: pbx CDR StartTime 2025-04-12 07:18:06 - End Time 2025-04-12 10:18:06
[2025-04-12 10:18:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 10:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890897', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890897', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890897', 'tblTempVendorCDR_20' ) start
[2025-04-12 10:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890897', 'tblTempVendorCDR_20' ) end
[2025-04-12 10:18:19] Production.INFO: ProcessCDR(1,14890897,1,1,2)
[2025-04-12 10:18:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890897,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:18:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890897,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:18:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890897,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:18:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890897,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890897', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890897', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:18:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 10:18:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 10:18:22] Production.INFO: ==15917== Releasing lock...
[2025-04-12 10:18:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 10:18:22] Production.INFO: 33.25 MB #Memory Used#
[2025-04-12 15:19:01] Production.INFO: ==15972== Lock acquired, processing the job...
[2025-04-12 15:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 15:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 15:19:01] Production.INFO: neon service started
[2025-04-12 15:19:01] Production.INFO: neon service started
[2025-04-12 15:19:01] Production.INFO: ==15972== Releasing lock...
[2025-04-12 15:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 15:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 14:19:01] Production.INFO: ==15976== Lock acquired, processing the job...
[2025-04-12 14:19:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 14:19:01] Production.INFO: ==15976== Releasing lock...
[2025-04-12 14:19:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 14:19:01] Production.INFO: 25 MB #Memory Used#
[2025-04-12 10:19:01] Production.INFO: ==15974== Lock acquired, processing the job...
[2025-04-12 10:19:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 10:19:02] Production.INFO: ==15974== Releasing lock...
[2025-04-12 10:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 10:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 10:19:03] Production.INFO: ==15978== Lock acquired, processing the job...
[2025-04-12 10:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 10:19:03] Production.INFO: ==15980== Lock acquired, processing the job...
[2025-04-12 10:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 10:19:03] Production.INFO: ==15982== Lock acquired, processing the job...
[2025-04-12 10:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 10:19:03] Production.INFO: ==15984== Lock acquired, processing the job...
[2025-04-12 10:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 10:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 10:19:03] Production.INFO: ==15988== Lock acquired, processing the job...
[2025-04-12 10:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 10:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 10:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 10:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 10:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 10:19:03] Production.INFO: ==15986== Lock acquired, processing the job...
[2025-04-12 10:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 10:19:03] Production.INFO: Account Balance Start.
[2025-04-12 10:19:03] Production.INFO: CreateAllLog Start
[2025-04-12 10:19:03] Production.INFO: 117
[2025-04-12 10:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 10:19:03] Production.INFO: Date 2025-04-08
[2025-04-12 10:19:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 10:19:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:19:03] Production.INFO: count ==12
[2025-04-12 10:19:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 10:19:03] Production.INFO: count ==23
[2025-04-12 10:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890901') start
[2025-04-12 10:19:03] Production.INFO: Date 2025-04-09
[2025-04-12 10:19:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:19:03] Production.INFO: Date 2025-04-10
[2025-04-12 10:19:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:19:03] Production.INFO: Date 2025-04-11
[2025-04-12 10:19:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:19:03] Production.INFO: Date 2025-04-12
[2025-04-12 10:19:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:19:03] Production.INFO: Total Charge 0
[2025-04-12 10:19:03] Production.INFO: ==15980== Releasing lock...
[2025-04-12 10:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 10:19:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 10:19:03] Production.INFO: CreateAllLog End
[2025-04-12 10:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890901') end
[2025-04-12 10:19:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 10:19:03] Production.INFO: 1
[2025-04-12 10:19:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 10:19:03] Production.INFO: ==15988== Releasing lock...
[2025-04-12 10:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 10:19:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 10:19:03] Production.ERROR: done
[2025-04-12 10:19:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 10:19:03] Production.ERROR: done
[2025-04-12 10:19:04] Production.INFO: Account Balance End.
[2025-04-12 10:19:04] Production.ERROR: CronJobId end 12
[2025-04-12 10:19:04] Production.INFO: ==15984== Releasing lock...
[2025-04-12 10:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 10:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 10:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 07:19:05
[end_date_ymd] => 2025-04-12 10:19:05
[RateCDR] => 1
)
[2025-04-12 10:19:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 07:19:05' and `end` < '2025-04-12 10:19:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 10:19:11] Production.ERROR: CronJobId end10
[2025-04-12 10:19:11] Production.INFO: ==15982== Releasing lock...
[2025-04-12 10:19:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 10:19:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 10:19:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 10:19:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 10:19:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 10:19:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 10:19:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 10:19:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 10:19:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 10:19:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 10:19:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 10:19:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 10:19:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 10:19:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 10:19:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 10:19:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 10:19:14] Production.INFO: call_cost start
[2025-04-12 10:19:14] Production.INFO: call_cost end
[2025-04-12 10:19:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 10:19:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 10:19:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 10:19:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 10:19:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 10:19:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 10:19:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 10:19:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 10:19:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 10:19:15] Production.INFO: ==15978== Releasing lock...
[2025-04-12 10:19:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 10:19:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 10:19:17] Production.INFO: count ==627
[2025-04-12 10:19:18] Production.ERROR: pbx CDR StartTime 2025-04-12 07:19:05 - End Time 2025-04-12 10:19:05
[2025-04-12 10:19:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 10:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890902', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890902', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890902', 'tblTempVendorCDR_20' ) start
[2025-04-12 10:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890902', 'tblTempVendorCDR_20' ) end
[2025-04-12 10:19:18] Production.INFO: ProcessCDR(1,14890902,1,1,2)
[2025-04-12 10:19:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890902,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:19:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890902,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:19:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890902,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:19:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890902,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890902', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890902', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:19:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 10:19:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 10:19:21] Production.INFO: ==15986== Releasing lock...
[2025-04-12 10:19:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 10:19:21] Production.INFO: 33.75 MB #Memory Used#
[2025-04-12 15:20:01] Production.INFO: ==16048== Lock acquired, processing the job...
[2025-04-12 15:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 15:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 15:20:01] Production.INFO: neon service started
[2025-04-12 15:20:01] Production.INFO: neon service started
[2025-04-12 15:20:01] Production.INFO: ==16048== Releasing lock...
[2025-04-12 15:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 15:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 10:20:02] Production.INFO: ==16050== Lock acquired, processing the job...
[2025-04-12 10:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 10:20:02] Production.INFO: ==16050== Releasing lock...
[2025-04-12 10:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 10:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 14:20:02] Production.INFO: ==16052== Lock acquired, processing the job...
[2025-04-12 14:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 14:20:02] Production.INFO: ==16052== Releasing lock...
[2025-04-12 14:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 14:20:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 10:20:03] Production.INFO: ==16057== Lock acquired, processing the job...
[2025-04-12 10:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 10:20:03] Production.INFO: ==16055== Lock acquired, processing the job...
[2025-04-12 10:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 10:20:03] Production.INFO: ==16063== Lock acquired, processing the job...
[2025-04-12 10:20:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 10:20:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 10:20:03] Production.INFO: ==16059== Lock acquired, processing the job...
[2025-04-12 10:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 10:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 10:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 10:20:03] Production.ERROR: CronJob PID - 16057
[2025-04-12 10:20:03] Production.ERROR: CronJob Title - System Alerts
[2025-04-12 10:20:03] Production.ERROR: CronJob ID - 5
[2025-04-12 10:20:03] Production.ERROR: CronJob Last Run Time 2025-04-12 10:20:00
[2025-04-12 10:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 10:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 10:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 10:20:03] Production.ERROR: CronJob PID - 16063
[2025-04-12 10:20:03] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-04-12 10:20:03] Production.ERROR: CronJob ID - 12
[2025-04-12 10:20:03] Production.ERROR: CronJob Last Run Time 2025-04-12 10:20:00
[2025-04-12 10:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 10:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 10:20:03] Production.INFO: ==16067== Lock acquired, processing the job...
[2025-04-12 10:20:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 10:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 10:20:03] Production.INFO: ==16055== Releasing lock...
[2025-04-12 10:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 10:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 10:20:03] Production.INFO: ==16061== Lock acquired, processing the job...
[2025-04-12 10:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 10:20:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 10:20:04] Production.INFO: ==16065== Lock acquired, processing the job...
[2025-04-12 10:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 10:20:04] Production.INFO: Account Balance Start.
[2025-04-12 10:20:04] Production.INFO: CreateAllLog Start
[2025-04-12 10:20:04] Production.INFO: ==16069== Lock acquired, processing the job...
[2025-04-12 10:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 10:20:04] Production.INFO: 117
[2025-04-12 10:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 10:20:04] Production.INFO: Date 2025-04-08
[2025-04-12 10:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 10:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 10:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 10:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 10:20:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 10:20:04] Production.INFO: Date 2025-04-09
[2025-04-12 10:20:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:20:04] Production.INFO: count ==12
[2025-04-12 10:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 10:20:04] Production.INFO: count ==23
[2025-04-12 10:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890906') start
[2025-04-12 10:20:04] Production.INFO: ==16059== Releasing lock...
[2025-04-12 10:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 10:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 10:20:04] Production.INFO: Date 2025-04-10
[2025-04-12 10:20:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:20:04] Production.ERROR: done
[2025-04-12 10:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 10:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14890907', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 10:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890906') end
[2025-04-12 10:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 10:20:04] Production.INFO: 1
[2025-04-12 10:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 10:20:04] Production.INFO: Date 2025-04-11
[2025-04-12 10:20:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:20:04] Production.INFO: Date 2025-04-12
[2025-04-12 10:20:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:20:04] Production.INFO: ==16069== Releasing lock...
[2025-04-12 10:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 10:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 10:20:04] Production.ERROR: done
[2025-04-12 10:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 10:20:04] Production.INFO: Total Charge 0
[2025-04-12 10:20:04] Production.INFO: CreateAllLog End
[2025-04-12 10:20:04] Production.ERROR: done
[2025-04-12 10:20:05] Production.INFO: Account Balance End.
[2025-04-12 10:20:05] Production.ERROR: CronJobId end 12
[2025-04-12 10:20:05] Production.INFO: ==16063== Releasing lock...
[2025-04-12 10:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 10:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 10:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 07:20:06
[end_date_ymd] => 2025-04-12 10:20:06
[RateCDR] => 1
)
[2025-04-12 10:20:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 07:20:06' and `end` < '2025-04-12 10:20:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 10:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14890907', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 10:20:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 10:20:08] Production.INFO: ProcessCDR(1,14890907,1,1,2)
[2025-04-12 10:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14890907,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:20:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14890907,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:20:08] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 10:20:08] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 10:20:08] Production.INFO: ==16067== Releasing lock...
[2025-04-12 10:20:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 10:20:08] Production.INFO: 26 MB #Memory Used#
[2025-04-12 10:20:13] Production.ERROR: CronJobId end10
[2025-04-12 10:20:13] Production.INFO: ==16061== Releasing lock...
[2025-04-12 10:20:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 10:20:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 10:20:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 10:20:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 10:20:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 10:20:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 10:20:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 10:20:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 10:20:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 10:20:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 10:20:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 10:20:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 10:20:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 10:20:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 10:20:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 10:20:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 10:20:16] Production.INFO: call_cost start
[2025-04-12 10:20:16] Production.INFO: call_cost end
[2025-04-12 10:20:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 10:20:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 10:20:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 10:20:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 10:20:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 10:20:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 10:20:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 10:20:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 10:20:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 10:20:17] Production.INFO: ==16057== Releasing lock...
[2025-04-12 10:20:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 10:20:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 10:20:19] Production.INFO: count ==633
[2025-04-12 10:20:19] Production.ERROR: pbx CDR StartTime 2025-04-12 07:20:06 - End Time 2025-04-12 10:20:06
[2025-04-12 10:20:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 10:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890908', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890908', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890908', 'tblTempVendorCDR_20' ) start
[2025-04-12 10:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890908', 'tblTempVendorCDR_20' ) end
[2025-04-12 10:20:19] Production.INFO: ProcessCDR(1,14890908,1,1,2)
[2025-04-12 10:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890908,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:20:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890908,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:20:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890908,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:20:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890908,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890908', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890908', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:20:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 10:20:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 10:20:23] Production.INFO: ==16065== Releasing lock...
[2025-04-12 10:20:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 10:20:23] Production.INFO: 32.75 MB #Memory Used#
[2025-04-12 15:21:02] Production.INFO: ==16123== Lock acquired, processing the job...
[2025-04-12 15:21:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 15:21:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 15:21:02] Production.INFO: neon service started
[2025-04-12 15:21:02] Production.INFO: neon service started
[2025-04-12 15:21:02] Production.INFO: ==16123== Releasing lock...
[2025-04-12 15:21:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 15:21:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 10:21:02] Production.INFO: ==16125== Lock acquired, processing the job...
[2025-04-12 10:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 14:21:03] Production.INFO: ==16127== Lock acquired, processing the job...
[2025-04-12 14:21:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 10:21:03] Production.INFO: ==16125== Releasing lock...
[2025-04-12 10:21:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 10:21:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 14:21:03] Production.INFO: ==16127== Releasing lock...
[2025-04-12 14:21:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 14:21:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 10:21:03] Production.INFO: ==16140== Lock acquired, processing the job...
[2025-04-12 10:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 10:21:04] Production.INFO: ==16137== Lock acquired, processing the job...
[2025-04-12 10:21:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 10:21:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 10:21:04] Production.INFO: ==16129== Lock acquired, processing the job...
[2025-04-12 10:21:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 10:21:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 10:21:04] Production.INFO: ==16131== Lock acquired, processing the job...
[2025-04-12 10:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 10:21:04] Production.INFO: count ==12
[2025-04-12 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-12 10:21:04] Production.INFO: count ==23
[2025-04-12 10:21:04] Production.INFO: ==16133== Lock acquired, processing the job...
[2025-04-12 10:21:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 10:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890909') start
[2025-04-12 10:21:04] Production.INFO: ==16135== Lock acquired, processing the job...
[2025-04-12 10:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 10:21:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 10:21:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 10:21:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 10:21:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 10:21:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 10:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890909') end
[2025-04-12 10:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 10:21:04] Production.INFO: 1
[2025-04-12 10:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 10:21:04] Production.INFO: ==16140== Releasing lock...
[2025-04-12 10:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 10:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 10:21:04] Production.INFO: Account Balance Start.
[2025-04-12 10:21:04] Production.INFO: CreateAllLog Start
[2025-04-12 10:21:04] Production.INFO: 117
[2025-04-12 10:21:04] Production.ERROR: done
[2025-04-12 10:21:04] Production.INFO: Date 2025-04-08
[2025-04-12 10:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 10:21:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:21:04] Production.INFO: Date 2025-04-09
[2025-04-12 10:21:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:21:04] Production.INFO: Date 2025-04-10
[2025-04-12 10:21:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:21:04] Production.INFO: ==16131== Releasing lock...
[2025-04-12 10:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 10:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 10:21:04] Production.ERROR: done
[2025-04-12 10:21:04] Production.INFO: Date 2025-04-11
[2025-04-12 10:21:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:21:04] Production.INFO: Date 2025-04-12
[2025-04-12 10:21:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:21:04] Production.INFO: Total Charge 0
[2025-04-12 10:21:04] Production.INFO: CreateAllLog End
[2025-04-12 10:21:05] Production.INFO: Account Balance End.
[2025-04-12 10:21:05] Production.ERROR: CronJobId end 12
[2025-04-12 10:21:05] Production.INFO: ==16135== Releasing lock...
[2025-04-12 10:21:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 10:21:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 10:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 07:21:05
[end_date_ymd] => 2025-04-12 10:21:05
[RateCDR] => 1
)
[2025-04-12 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-12 07:21:05' and `end` < '2025-04-12 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-12 10:21:13] Production.ERROR: CronJobId end10
[2025-04-12 10:21:13] Production.INFO: ==16133== Releasing lock...
[2025-04-12 10:21:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 10:21:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 10:21:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 10:21:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 10:21:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 10:21:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 10:21:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 10:21:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 10:21:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 10:21:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 10:21:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 10:21:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 10:21:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 10:21:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 10:21:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 10:21:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 10:21:16] Production.INFO: call_cost start
[2025-04-12 10:21:16] Production.INFO: call_cost end
[2025-04-12 10:21:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 10:21:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 10:21:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 10:21:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 10:21:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 10:21:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 10:21:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 10:21:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 10:21:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 10:21:17] Production.INFO: ==16129== Releasing lock...
[2025-04-12 10:21:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 10:21:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 10:21:18] Production.INFO: count ==646
[2025-04-12 10:21:18] Production.ERROR: pbx CDR StartTime 2025-04-12 07:21:05 - End Time 2025-04-12 10:21:05
[2025-04-12 10:21:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 10:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890913', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890913', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890913', 'tblTempVendorCDR_20' ) start
[2025-04-12 10:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890913', 'tblTempVendorCDR_20' ) end
[2025-04-12 10:21:18] Production.INFO: ProcessCDR(1,14890913,1,1,2)
[2025-04-12 10:21:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890913,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:21:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890913,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:21:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890913,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:21:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890913,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890913', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890913', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:21:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 10:21:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 10:21:22] Production.INFO: ==16137== Releasing lock...
[2025-04-12 10:21:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 10:21:22] Production.INFO: 33 MB #Memory Used#
[2025-04-12 15:22:01] Production.INFO: ==16195== Lock acquired, processing the job...
[2025-04-12 15:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 15:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 15:22:01] Production.INFO: neon service started
[2025-04-12 15:22:01] Production.INFO: neon service started
[2025-04-12 15:22:01] Production.INFO: ==16195== Releasing lock...
[2025-04-12 15:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 15:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 10:22:02] Production.INFO: ==16198== Lock acquired, processing the job...
[2025-04-12 10:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 14:22:02] Production.INFO: ==16200== Lock acquired, processing the job...
[2025-04-12 14:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 14:22:02] Production.INFO: ==16200== Releasing lock...
[2025-04-12 14:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 14:22:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 10:22:02] Production.INFO: ==16198== Releasing lock...
[2025-04-12 10:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 10:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 10:22:03] Production.INFO: ==16204== Lock acquired, processing the job...
[2025-04-12 10:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 10:22:03] Production.INFO: ==16206== Lock acquired, processing the job...
[2025-04-12 10:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 10:22:03] Production.INFO: ==16210== Lock acquired, processing the job...
[2025-04-12 10:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 10:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 10:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 10:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 10:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 10:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 10:22:03] Production.INFO: ==16202== Lock acquired, processing the job...
[2025-04-12 10:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 10:22:03] Production.INFO: ==16212== Lock acquired, processing the job...
[2025-04-12 10:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 10:22:03] Production.INFO: ==16208== Lock acquired, processing the job...
[2025-04-12 10:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 10:22:03] Production.INFO: ==16204== Releasing lock...
[2025-04-12 10:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 10:22:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 10:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 10:22:04] Production.INFO: Account Balance Start.
[2025-04-12 10:22:04] Production.INFO: CreateAllLog Start
[2025-04-12 10:22:04] Production.INFO: 117
[2025-04-12 10:22:04] Production.INFO: Date 2025-04-08
[2025-04-12 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-12 10:22:04] Production.INFO: count ==12
[2025-04-12 10:22:04] Production.INFO: Reseller ==> 0
[2025-04-12 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-12 10:22:04] Production.ERROR: done
[2025-04-12 10:22:04] Production.INFO: count ==23
[2025-04-12 10:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 10:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890916') start
[2025-04-12 10:22:04] Production.INFO: Date 2025-04-09
[2025-04-12 10:22:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890916') end
[2025-04-12 10:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 10:22:04] Production.INFO: 1
[2025-04-12 10:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 10:22:04] Production.INFO: Date 2025-04-10
[2025-04-12 10:22:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:22:04] Production.INFO: Date 2025-04-11
[2025-04-12 10:22:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:22:04] Production.INFO: Date 2025-04-12
[2025-04-12 10:22:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:22:04] Production.INFO: Total Charge 0
[2025-04-12 10:22:04] Production.INFO: CreateAllLog End
[2025-04-12 10:22:04] Production.INFO: ==16212== Releasing lock...
[2025-04-12 10:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 10:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 10:22:04] Production.ERROR: done
[2025-04-12 10:22:04] Production.INFO: Account Balance End.
[2025-04-12 10:22:04] Production.ERROR: CronJobId end 12
[2025-04-12 10:22:04] Production.INFO: ==16208== Releasing lock...
[2025-04-12 10:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 10:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 10:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 07:22:05
[end_date_ymd] => 2025-04-12 10:22:05
[RateCDR] => 1
)
[2025-04-12 10:22:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 07:22:05' and `end` < '2025-04-12 10:22:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 10:22:13] Production.ERROR: CronJobId end10
[2025-04-12 10:22:13] Production.INFO: ==16206== Releasing lock...
[2025-04-12 10:22:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 10:22:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 10:22:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 10:22:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 10:22:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 10:22:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 10:22:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 10:22:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 10:22:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 10:22:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 10:22:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 10:22:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 10:22:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 10:22:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 10:22:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 10:22:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 10:22:15] Production.INFO: call_cost start
[2025-04-12 10:22:15] Production.INFO: call_cost end
[2025-04-12 10:22:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 10:22:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 10:22:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 10:22:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 10:22:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 10:22:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 10:22:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 10:22:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 10:22:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 10:22:16] Production.INFO: ==16202== Releasing lock...
[2025-04-12 10:22:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 10:22:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 10:22:18] Production.INFO: count ==647
[2025-04-12 10:22:18] Production.ERROR: pbx CDR StartTime 2025-04-12 07:22:05 - End Time 2025-04-12 10:22:05
[2025-04-12 10:22:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 10:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890918', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890918', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890918', 'tblTempVendorCDR_20' ) start
[2025-04-12 10:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890918', 'tblTempVendorCDR_20' ) end
[2025-04-12 10:22:18] Production.INFO: ProcessCDR(1,14890918,1,1,2)
[2025-04-12 10:22:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890918,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:22:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890918,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:22:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890918,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:22:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890918,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:22:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890918', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:22:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890918', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:22:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 10:22:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 10:22:23] Production.INFO: ==16210== Releasing lock...
[2025-04-12 10:22:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 10:22:23] Production.INFO: 33.5 MB #Memory Used#
[2025-04-12 15:23:02] Production.INFO: ==16271== Lock acquired, processing the job...
[2025-04-12 15:23:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 15:23:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 15:23:02] Production.INFO: neon service started
[2025-04-12 15:23:02] Production.INFO: neon service started
[2025-04-12 15:23:02] Production.INFO: ==16271== Releasing lock...
[2025-04-12 15:23:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 15:23:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 14:23:02] Production.INFO: ==16275== Lock acquired, processing the job...
[2025-04-12 14:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 14:23:02] Production.INFO: ==16275== Releasing lock...
[2025-04-12 14:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 14:23:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 10:23:02] Production.INFO: ==16273== Lock acquired, processing the job...
[2025-04-12 10:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 10:23:03] Production.INFO: ==16273== Releasing lock...
[2025-04-12 10:23:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 10:23:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 10:23:03] Production.INFO: ==16280== Lock acquired, processing the job...
[2025-04-12 10:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 10:23:03] Production.INFO: ==16284== Lock acquired, processing the job...
[2025-04-12 10:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 10:23:04] Production.INFO: ==16278== Lock acquired, processing the job...
[2025-04-12 10:23:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 10:23:04] Production.INFO: ==16286== Lock acquired, processing the job...
[2025-04-12 10:23:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 10:23:04] Production.INFO: Account Balance Start.
[2025-04-12 10:23:04] Production.INFO: CreateAllLog Start
[2025-04-12 10:23:04] Production.INFO: 117
[2025-04-12 10:23:04] Production.INFO: ==16280== Releasing lock...
[2025-04-12 10:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 10:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 10:23:04] Production.INFO: Date 2025-04-08
[2025-04-12 10:23:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:23:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 10:23:04] Production.INFO: ==16282== Lock acquired, processing the job...
[2025-04-12 10:23:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 10:23:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 10:23:04] Production.INFO: Date 2025-04-09
[2025-04-12 10:23:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:23:04] Production.INFO: Date 2025-04-10
[2025-04-12 10:23:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:23:04] Production.INFO: ==16288== Lock acquired, processing the job...
[2025-04-12 10:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 10:23:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 10:23:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 10:23:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 10:23:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 10:23:04] Production.INFO: Date 2025-04-11
[2025-04-12 10:23:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:23:04] Production.ERROR: done
[2025-04-12 10:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 10: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-12 10:23:04] Production.INFO: Date 2025-04-12
[2025-04-12 10:23:04] Production.INFO: count ==12
[2025-04-12 10:23:04] Production.INFO: Reseller ==> 0
[2025-04-12 10: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-12 10:23:04] Production.INFO: count ==23
[2025-04-12 10:23:04] Production.ERROR: done
[2025-04-12 10:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890922') start
[2025-04-12 10:23:04] Production.INFO: Total Charge 0
[2025-04-12 10:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890922') end
[2025-04-12 10:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 10:23:04] Production.INFO: 1
[2025-04-12 10:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 10:23:04] Production.INFO: CreateAllLog End
[2025-04-12 10:23:05] Production.INFO: ==16288== Releasing lock...
[2025-04-12 10:23:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 10:23:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 10:23:05] Production.INFO: Account Balance End.
[2025-04-12 10:23:05] Production.ERROR: CronJobId end 12
[2025-04-12 10:23:05] Production.INFO: ==16284== Releasing lock...
[2025-04-12 10:23:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 10:23:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 10:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 07:23:05
[end_date_ymd] => 2025-04-12 10:23:05
[RateCDR] => 1
)
[2025-04-12 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-12 07:23:05' and `end` < '2025-04-12 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-12 10:23:12] Production.ERROR: CronJobId end10
[2025-04-12 10:23:12] Production.INFO: ==16282== Releasing lock...
[2025-04-12 10:23:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 10:23:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 10:23:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 10:23:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 10:23:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 10:23:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 10:23:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 10:23:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 10:23:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 10:23:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 10:23:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 10:23:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 10:23:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 10:23:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 10:23:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 10:23:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 10:23:15] Production.INFO: call_cost start
[2025-04-12 10:23:15] Production.INFO: call_cost end
[2025-04-12 10:23:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 10:23:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 10:23:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 10:23:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 10:23:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 10:23:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 10:23:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 10:23:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 10:23:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 10:23:16] Production.INFO: ==16278== Releasing lock...
[2025-04-12 10:23:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 10:23:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 10:23:18] Production.INFO: count ==648
[2025-04-12 10:23:19] Production.ERROR: pbx CDR StartTime 2025-04-12 07:23:05 - End Time 2025-04-12 10:23:05
[2025-04-12 10:23:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 10:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890923', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890923', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890923', 'tblTempVendorCDR_20' ) start
[2025-04-12 10:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890923', 'tblTempVendorCDR_20' ) end
[2025-04-12 10:23:19] Production.INFO: ProcessCDR(1,14890923,1,1,2)
[2025-04-12 10:23:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890923,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:23:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890923,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:23:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890923,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:23:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890923,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:23:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890923', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:23:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890923', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:23:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 10:23:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 10:23:23] Production.INFO: ==16286== Releasing lock...
[2025-04-12 10:23:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 10:23:23] Production.INFO: 33.5 MB #Memory Used#
[2025-04-12 15:24:01] Production.INFO: ==16340== Lock acquired, processing the job...
[2025-04-12 15:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 15:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 15:24:01] Production.INFO: neon service started
[2025-04-12 15:24:01] Production.INFO: neon service started
[2025-04-12 15:24:01] Production.INFO: ==16340== Releasing lock...
[2025-04-12 15:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 15:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 10:24:02] Production.INFO: ==16342== Lock acquired, processing the job...
[2025-04-12 10:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 10:24:02] Production.INFO: ==16342== Releasing lock...
[2025-04-12 10:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 10:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 14:24:02] Production.INFO: ==16344== Lock acquired, processing the job...
[2025-04-12 14:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 14:24:02] Production.INFO: ==16344== Releasing lock...
[2025-04-12 14:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 14:24:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 10:24:03] Production.INFO: ==16351== Lock acquired, processing the job...
[2025-04-12 10:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 10:24:03] Production.INFO: ==16357== Lock acquired, processing the job...
[2025-04-12 10:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 10:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 10:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 10:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 10:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 10:24:03] Production.INFO: ==16347== Lock acquired, processing the job...
[2025-04-12 10:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 10:24:03] Production.INFO: ==16349== Lock acquired, processing the job...
[2025-04-12 10:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 10:24:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 10:24:03] Production.INFO: count ==12
[2025-04-12 10:24:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 10:24:03] Production.INFO: count ==23
[2025-04-12 10:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890924') start
[2025-04-12 10:24:03] Production.INFO: ==16353== Lock acquired, processing the job...
[2025-04-12 10:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 10:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 10:24:03] Production.INFO: ==16355== Lock acquired, processing the job...
[2025-04-12 10:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 10:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890924') end
[2025-04-12 10:24:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 10:24:03] Production.INFO: 1
[2025-04-12 10:24:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 10:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 10:24:03] Production.INFO: ==16357== Releasing lock...
[2025-04-12 10:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 10:24:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 10:24:03] Production.INFO: Account Balance Start.
[2025-04-12 10:24:03] Production.INFO: CreateAllLog Start
[2025-04-12 10:24:03] Production.INFO: 117
[2025-04-12 10:24:03] Production.INFO: Date 2025-04-08
[2025-04-12 10:24:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:24:04] Production.INFO: Date 2025-04-09
[2025-04-12 10:24:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:24:04] Production.INFO: ==16349== Releasing lock...
[2025-04-12 10:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 10:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 10:24:04] Production.INFO: Date 2025-04-10
[2025-04-12 10:24:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:24:04] Production.INFO: Date 2025-04-11
[2025-04-12 10:24:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:24:04] Production.INFO: Date 2025-04-12
[2025-04-12 10:24:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:24:04] Production.INFO: Total Charge 0
[2025-04-12 10:24:04] Production.INFO: CreateAllLog End
[2025-04-12 10:24:04] Production.ERROR: done
[2025-04-12 10:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 10:24:04] Production.ERROR: done
[2025-04-12 10:24:04] Production.INFO: Account Balance End.
[2025-04-12 10:24:04] Production.ERROR: CronJobId end 12
[2025-04-12 10:24:04] Production.INFO: ==16353== Releasing lock...
[2025-04-12 10:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 10:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 10:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 07:24:05
[end_date_ymd] => 2025-04-12 10:24:05
[RateCDR] => 1
)
[2025-04-12 10:24:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 07:24:05' and `end` < '2025-04-12 10:24:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 10:24:11] Production.ERROR: CronJobId end10
[2025-04-12 10:24:11] Production.INFO: ==16351== Releasing lock...
[2025-04-12 10:24:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 10:24:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 10:24:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 10:24:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 10:24:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 10:24:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 10:24:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 10:24:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 10:24:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 10:24:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 10:24:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 10:24:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 10:24:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 10:24:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 10:24:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 10:24:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 10:24:13] Production.INFO: call_cost start
[2025-04-12 10:24:14] Production.INFO: call_cost end
[2025-04-12 10:24:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 10:24:14] Production.INFO: ============== Report Schedule START===========
[2025-04-12 10:24:14] Production.INFO: ============== Report Schedule END===========
[2025-04-12 10:24:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 10:24:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 10:24:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 10:24:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 10:24:14] Production.INFO: ============== Deal alert START===========
[2025-04-12 10:24:14] Production.INFO: ============== Deal alert END===========
[2025-04-12 10:24:14] Production.INFO: ==16347== Releasing lock...
[2025-04-12 10:24:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 10:24:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 10:24:18] Production.INFO: count ==653
[2025-04-12 10:24:18] Production.ERROR: pbx CDR StartTime 2025-04-12 07:24:05 - End Time 2025-04-12 10:24:05
[2025-04-12 10:24:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 10:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890928', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890928', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890928', 'tblTempVendorCDR_20' ) start
[2025-04-12 10:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890928', 'tblTempVendorCDR_20' ) end
[2025-04-12 10:24:18] Production.INFO: ProcessCDR(1,14890928,1,1,2)
[2025-04-12 10:24:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890928,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:24:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890928,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:24:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890928,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:24:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890928,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890928', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890928', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:24:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 10:24:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 10:24:21] Production.INFO: ==16355== Releasing lock...
[2025-04-12 10:24:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 10:24:21] Production.INFO: 33.75 MB #Memory Used#
[2025-04-12 15:25:02] Production.INFO: ==16409== Lock acquired, processing the job...
[2025-04-12 15:25:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 15:25:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 15:25:02] Production.INFO: neon service started
[2025-04-12 15:25:02] Production.INFO: neon service started
[2025-04-12 15:25:02] Production.INFO: ==16409== Releasing lock...
[2025-04-12 15:25:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 15:25:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 10:25:02] Production.INFO: ==16411== Lock acquired, processing the job...
[2025-04-12 10:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 14:25:02] Production.INFO: ==16413== Lock acquired, processing the job...
[2025-04-12 14:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 10:25:02] Production.INFO: ==16411== Releasing lock...
[2025-04-12 10:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 10:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 14:25:03] Production.INFO: ==16413== Releasing lock...
[2025-04-12 14:25:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 14:25:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 10:25:03] Production.INFO: ==16422== Lock acquired, processing the job...
[2025-04-12 10:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 10:25:03] Production.INFO: ==16416== Lock acquired, processing the job...
[2025-04-12 10:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 10:25:03] Production.INFO: ==16418== Lock acquired, processing the job...
[2025-04-12 10:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 10:25:04] Production.INFO: ==16426== Lock acquired, processing the job...
[2025-04-12 10:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 10:25:04] Production.INFO: ==16420== Lock acquired, processing the job...
[2025-04-12 10:25:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 10:25:04] Production.INFO: Account Balance Start.
[2025-04-12 10:25:04] Production.INFO: CreateAllLog Start
[2025-04-12 10:25:04] Production.INFO: 117
[2025-04-12 10:25:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 10:25:04] Production.INFO: Date 2025-04-08
[2025-04-12 10:25:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:25:04] Production.INFO: ==16424== Lock acquired, processing the job...
[2025-04-12 10:25:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 10:25:04] Production.INFO: Date 2025-04-09
[2025-04-12 10:25:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:25:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 10:25:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 10:25:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 10:25:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 10:25:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 10: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-12 10:25:04] Production.INFO: Date 2025-04-10
[2025-04-12 10:25:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:25:04] Production.INFO: Date 2025-04-11
[2025-04-12 10:25:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:25:04] Production.INFO: count ==12
[2025-04-12 10: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-12 10:25:04] Production.INFO: count ==23
[2025-04-12 10:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890932') start
[2025-04-12 10:25:04] Production.INFO: ==16418== Releasing lock...
[2025-04-12 10:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 10:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 10:25:04] Production.INFO: Date 2025-04-12
[2025-04-12 10:25:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:25:04] Production.INFO: Total Charge 0
[2025-04-12 10:25:04] Production.INFO: CreateAllLog End
[2025-04-12 10:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890932') end
[2025-04-12 10:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 10:25:04] Production.INFO: 1
[2025-04-12 10:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 10:25:04] Production.INFO: ==16426== Releasing lock...
[2025-04-12 10:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 10:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 10:25:04] Production.ERROR: done
[2025-04-12 10:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 10:25:04] Production.ERROR: done
[2025-04-12 10:25:04] Production.INFO: Account Balance End.
[2025-04-12 10:25:04] Production.ERROR: CronJobId end 12
[2025-04-12 10:25:04] Production.INFO: ==16422== Releasing lock...
[2025-04-12 10:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 10:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 10:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 07:25:05
[end_date_ymd] => 2025-04-12 10:25:05
[RateCDR] => 1
)
[2025-04-12 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-12 07:25:05' and `end` < '2025-04-12 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-12 10:25:12] Production.ERROR: CronJobId end10
[2025-04-12 10:25:12] Production.INFO: ==16420== Releasing lock...
[2025-04-12 10:25:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 10:25:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 10:25:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 10:25:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 10:25:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 10:25:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 10:25:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 10:25:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 10:25:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 10:25:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 10:25:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 10:25:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 10:25:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 10:25:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 10:25:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 10:25:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 10:25:15] Production.INFO: call_cost start
[2025-04-12 10:25:15] Production.INFO: call_cost end
[2025-04-12 10:25:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 10:25:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 10:25:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 10:25:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 10:25:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 10:25:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 10:25:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 10:25:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 10:25:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 10:25:16] Production.INFO: ==16416== Releasing lock...
[2025-04-12 10:25:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 10:25:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 10:25:18] Production.INFO: count ==657
[2025-04-12 10:25:19] Production.ERROR: pbx CDR StartTime 2025-04-12 07:25:05 - End Time 2025-04-12 10:25:05
[2025-04-12 10:25:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 10:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890933', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890933', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890933', 'tblTempVendorCDR_20' ) start
[2025-04-12 10:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890933', 'tblTempVendorCDR_20' ) end
[2025-04-12 10:25:19] Production.INFO: ProcessCDR(1,14890933,1,1,2)
[2025-04-12 10:25:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890933,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:25:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890933,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:25:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890933,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:25:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890933,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890933', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890933', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:25:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 10:25:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 10:25:22] Production.INFO: ==16424== Releasing lock...
[2025-04-12 10:25:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 10:25:22] Production.INFO: 33.5 MB #Memory Used#
[2025-04-12 15:26:01] Production.INFO: ==16480== Lock acquired, processing the job...
[2025-04-12 15:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 15:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 15:26:01] Production.INFO: neon service started
[2025-04-12 15:26:01] Production.INFO: neon service started
[2025-04-12 15:26:01] Production.INFO: ==16480== Releasing lock...
[2025-04-12 15:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 15:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 10:26:02] Production.INFO: ==16482== Lock acquired, processing the job...
[2025-04-12 10:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 10:26:02] Production.INFO: ==16482== Releasing lock...
[2025-04-12 10:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 10:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 14:26:02] Production.INFO: ==16485== Lock acquired, processing the job...
[2025-04-12 14:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 14:26:02] Production.INFO: ==16485== Releasing lock...
[2025-04-12 14:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 14:26:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 10:26:03] Production.INFO: ==16487== Lock acquired, processing the job...
[2025-04-12 10:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 10:26:03] Production.INFO: ==16493== Lock acquired, processing the job...
[2025-04-12 10:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 10:26:03] Production.INFO: ==16489== Lock acquired, processing the job...
[2025-04-12 10:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 10:26:03] Production.INFO: ==16497== Lock acquired, processing the job...
[2025-04-12 10:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 10:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 10:26:03] Production.INFO: Account Balance Start.
[2025-04-12 10:26:03] Production.INFO: CreateAllLog Start
[2025-04-12 10:26:03] Production.INFO: 117
[2025-04-12 10:26:03] Production.INFO: Date 2025-04-08
[2025-04-12 10:26:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:26:03] Production.INFO: ==16491== Lock acquired, processing the job...
[2025-04-12 10:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 10:26:03] Production.INFO: Date 2025-04-09
[2025-04-12 10:26:03] Production.INFO: Reseller ==> 0
[2025-04-12 10: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-12 10:26:03] Production.INFO: Date 2025-04-10
[2025-04-12 10:26:03] Production.INFO: count ==12
[2025-04-12 10:26:03] Production.INFO: Reseller ==> 0
[2025-04-12 10: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-12 10:26:03] Production.INFO: count ==23
[2025-04-12 10:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890936') start
[2025-04-12 10:26:03] Production.INFO: ==16495== Lock acquired, processing the job...
[2025-04-12 10:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 10:26:03] Production.INFO: Date 2025-04-11
[2025-04-12 10:26:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 10:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 10:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 10:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 10:26:03] Production.INFO: Date 2025-04-12
[2025-04-12 10:26:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 10:26:03] Production.INFO: Total Charge 0
[2025-04-12 10:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890936') end
[2025-04-12 10:26:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 10:26:03] Production.INFO: 1
[2025-04-12 10:26:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 10:26:03] Production.INFO: CreateAllLog End
[2025-04-12 10:26:04] Production.INFO: ==16497== Releasing lock...
[2025-04-12 10:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 10:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 10:26:04] Production.INFO: ==16489== Releasing lock...
[2025-04-12 10:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 10:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 10:26:04] Production.ERROR: done
[2025-04-12 10:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 10:26:04] Production.ERROR: done
[2025-04-12 10:26:04] Production.INFO: Account Balance End.
[2025-04-12 10:26:04] Production.ERROR: CronJobId end 12
[2025-04-12 10:26:04] Production.INFO: ==16493== Releasing lock...
[2025-04-12 10:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 10:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 10:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 07:26:05
[end_date_ymd] => 2025-04-12 10:26:05
[RateCDR] => 1
)
[2025-04-12 10:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 07:26:05' and `end` < '2025-04-12 10:26:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 10:26:12] Production.ERROR: CronJobId end10
[2025-04-12 10:26:12] Production.INFO: ==16491== Releasing lock...
[2025-04-12 10:26:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 10:26:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 10:26:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 10:26:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 10:26:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 10:26:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 10:26:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 10:26:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 10:26:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 10:26:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 10:26:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 10:26:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 10:26:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 10:26:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 10:26:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 10:26:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 10:26:14] Production.INFO: call_cost start
[2025-04-12 10:26:14] Production.INFO: call_cost end
[2025-04-12 10:26:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 10:26:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 10:26:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 10:26:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 10:26:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 10:26:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 10:26:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 10:26:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 10:26:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 10:26:15] Production.INFO: ==16487== Releasing lock...
[2025-04-12 10:26:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 10:26:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 10:26:18] Production.INFO: count ==667
[2025-04-12 10:26:18] Production.ERROR: pbx CDR StartTime 2025-04-12 07:26:05 - End Time 2025-04-12 10:26:05
[2025-04-12 10:26:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 10:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890938', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890938', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890938', 'tblTempVendorCDR_20' ) start
[2025-04-12 10:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890938', 'tblTempVendorCDR_20' ) end
[2025-04-12 10:26:18] Production.INFO: ProcessCDR(1,14890938,1,1,2)
[2025-04-12 10:26:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890938,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:26:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890938,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:26:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890938,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:26:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890938,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:26:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890938', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:26:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890938', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:26:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 10:26:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 10:26:23] Production.INFO: ==16495== Releasing lock...
[2025-04-12 10:26:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 10:26:23] Production.INFO: 33.75 MB #Memory Used#
[2025-04-12 15:27:02] Production.INFO: ==16592== Lock acquired, processing the job...
[2025-04-12 15:27:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 15:27:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 15:27:02] Production.INFO: neon service started
[2025-04-12 15:27:02] Production.INFO: neon service started
[2025-04-12 15:27:02] Production.INFO: ==16592== Releasing lock...
[2025-04-12 15:27:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 15:27:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 14:27:02] Production.INFO: ==16596== Lock acquired, processing the job...
[2025-04-12 14:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 14:27:02] Production.INFO: ==16596== Releasing lock...
[2025-04-12 14:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 14:27:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 10:27:02] Production.INFO: ==16594== Lock acquired, processing the job...
[2025-04-12 10:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 10:27:03] Production.INFO: ==16594== Releasing lock...
[2025-04-12 10:27:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 10:27:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 10:27:03] Production.INFO: ==16599== Lock acquired, processing the job...
[2025-04-12 10:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 10:27:03] Production.INFO: ==16601== Lock acquired, processing the job...
[2025-04-12 10:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 10:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 10:27:03] Production.INFO: ==16605== Lock acquired, processing the job...
[2025-04-12 10:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 10:27:04] Production.INFO: ==16603== Lock acquired, processing the job...
[2025-04-12 10:27:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 10:27:04] Production.INFO: ==16601== Releasing lock...
[2025-04-12 10:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 10:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 10:27:04] Production.INFO: Account Balance Start.
[2025-04-12 10:27:04] Production.INFO: CreateAllLog Start
[2025-04-12 10:27:04] Production.INFO: 117
[2025-04-12 10:27:04] Production.INFO: Date 2025-04-08
[2025-04-12 10:27:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:27:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 10:27:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 10:27:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 10:27:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 10:27:04] Production.INFO: ==16607== Lock acquired, processing the job...
[2025-04-12 10:27:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 10:27:04] Production.INFO: Date 2025-04-09
[2025-04-12 10:27:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:27:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 10:27:04] Production.INFO: ==16609== Lock acquired, processing the job...
[2025-04-12 10:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 10:27:04] Production.INFO: Date 2025-04-10
[2025-04-12 10:27:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:27:04] Production.INFO: Date 2025-04-11
[2025-04-12 10:27:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:27:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 10:27:04] Production.INFO: Date 2025-04-12
[2025-04-12 10:27:04] Production.INFO: count ==12
[2025-04-12 10:27:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:27:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 10:27:04] Production.INFO: count ==23
[2025-04-12 10:27:04] Production.ERROR: done
[2025-04-12 10:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 10:27:04] Production.INFO: Total Charge 0
[2025-04-12 10:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890942') start
[2025-04-12 10:27:04] Production.INFO: CreateAllLog End
[2025-04-12 10:27:04] Production.ERROR: done
[2025-04-12 10:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890942') end
[2025-04-12 10:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 10:27:04] Production.INFO: 1
[2025-04-12 10:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 10:27:04] Production.INFO: ==16609== Releasing lock...
[2025-04-12 10:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 10:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 10:27:04] Production.INFO: Account Balance End.
[2025-04-12 10:27:05] Production.ERROR: CronJobId end 12
[2025-04-12 10:27:05] Production.INFO: ==16605== Releasing lock...
[2025-04-12 10:27:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 10:27:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 10:27:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 07:27:06
[end_date_ymd] => 2025-04-12 10:27:06
[RateCDR] => 1
)
[2025-04-12 10: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-12 07:27:06' and `end` < '2025-04-12 10: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-12 10:27:11] Production.ERROR: CronJobId end10
[2025-04-12 10:27:11] Production.INFO: ==16603== Releasing lock...
[2025-04-12 10:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 10:27:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 10:27:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 10:27:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 10:27:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 10:27:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 10:27:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 10:27:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 10:27:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 10:27:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 10:27:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 10:27:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 10:27:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 10:27:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 10:27:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 10:27:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 10:27:15] Production.INFO: call_cost start
[2025-04-12 10:27:15] Production.INFO: call_cost end
[2025-04-12 10:27:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 10:27:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 10:27:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 10:27:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 10:27:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 10:27:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 10:27:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 10:27:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 10:27:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 10:27:15] Production.INFO: ==16599== Releasing lock...
[2025-04-12 10:27:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 10:27:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 10:27:18] Production.INFO: count ==671
[2025-04-12 10:27:19] Production.ERROR: pbx CDR StartTime 2025-04-12 07:27:06 - End Time 2025-04-12 10:27:06
[2025-04-12 10:27:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 10:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890943', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890943', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890943', 'tblTempVendorCDR_20' ) start
[2025-04-12 10:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890943', 'tblTempVendorCDR_20' ) end
[2025-04-12 10:27:19] Production.INFO: ProcessCDR(1,14890943,1,1,2)
[2025-04-12 10:27:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890943,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:27:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890943,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:27:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890943,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:27:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890943,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:27:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890943', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:27:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890943', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:27:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 10:27:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 10:27:24] Production.INFO: ==16607== Releasing lock...
[2025-04-12 10:27:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 10:27:24] Production.INFO: 33.75 MB #Memory Used#
[2025-04-12 15:28:01] Production.INFO: ==16665== Lock acquired, processing the job...
[2025-04-12 15:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 15:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 15:28:01] Production.INFO: neon service started
[2025-04-12 15:28:01] Production.INFO: neon service started
[2025-04-12 15:28:01] Production.INFO: ==16665== Releasing lock...
[2025-04-12 15:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 15:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 10:28:02] Production.INFO: ==16667== Lock acquired, processing the job...
[2025-04-12 10:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 10:28:02] Production.INFO: ==16667== Releasing lock...
[2025-04-12 10:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 10:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 14:28:02] Production.INFO: ==16669== Lock acquired, processing the job...
[2025-04-12 14:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 14:28:02] Production.INFO: ==16669== Releasing lock...
[2025-04-12 14:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 14:28:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 10:28:03] Production.INFO: ==16672== Lock acquired, processing the job...
[2025-04-12 10:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 10:28:03] Production.INFO: ==16678== Lock acquired, processing the job...
[2025-04-12 10:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 10:28:03] Production.INFO: ==16680== Lock acquired, processing the job...
[2025-04-12 10:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 10:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 10:28:03] Production.INFO: ==16674== Lock acquired, processing the job...
[2025-04-12 10:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 10:28:03] Production.INFO: ==16676== Lock acquired, processing the job...
[2025-04-12 10:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 10:28:03] Production.INFO: ==16682== Lock acquired, processing the job...
[2025-04-12 10:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 10:28:03] Production.INFO: Account Balance Start.
[2025-04-12 10:28:03] Production.INFO: CreateAllLog Start
[2025-04-12 10:28:03] Production.INFO: 117
[2025-04-12 10:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 10:28:03] Production.INFO: Date 2025-04-08
[2025-04-12 10:28:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:28:03] Production.INFO: Date 2025-04-09
[2025-04-12 10:28:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:28:03] Production.INFO: Date 2025-04-10
[2025-04-12 10:28:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:28:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 10:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 10:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 10:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 10:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 10:28:03] Production.INFO: Date 2025-04-11
[2025-04-12 10:28:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:28:03] Production.INFO: Date 2025-04-12
[2025-04-12 10:28:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:28:03] Production.INFO: count ==12
[2025-04-12 10:28:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 10:28:03] Production.INFO: count ==23
[2025-04-12 10:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890947') start
[2025-04-12 10:28:04] Production.ERROR: done
[2025-04-12 10:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 10:28:04] Production.INFO: Total Charge 0
[2025-04-12 10:28:04] Production.INFO: ==16674== Releasing lock...
[2025-04-12 10:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 10:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 10:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890947') end
[2025-04-12 10:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 10:28:04] Production.INFO: 1
[2025-04-12 10:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 10:28:04] Production.INFO: CreateAllLog End
[2025-04-12 10:28:04] Production.INFO: ==16682== Releasing lock...
[2025-04-12 10:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 10:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 10:28:04] Production.ERROR: done
[2025-04-12 10:28:04] Production.INFO: Account Balance End.
[2025-04-12 10:28:04] Production.ERROR: CronJobId end 12
[2025-04-12 10:28:04] Production.INFO: ==16678== Releasing lock...
[2025-04-12 10:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 10:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 10:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 07:28:05
[end_date_ymd] => 2025-04-12 10:28:05
[RateCDR] => 1
)
[2025-04-12 10:28:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 07:28:05' and `end` < '2025-04-12 10:28:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 10:28:12] Production.ERROR: CronJobId end10
[2025-04-12 10:28:12] Production.INFO: ==16676== Releasing lock...
[2025-04-12 10:28:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 10:28:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 10:28:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 10:28:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 10:28:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 10:28:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 10:28:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 10:28:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 10:28:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 10:28:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 10:28:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 10:28:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 10:28:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 10:28:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 10:28:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 10:28:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 10:28:14] Production.INFO: call_cost start
[2025-04-12 10:28:14] Production.INFO: call_cost end
[2025-04-12 10:28:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 10:28:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 10:28:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 10:28:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 10:28:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 10:28:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 10:28:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 10:28:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 10:28:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 10:28:15] Production.INFO: ==16672== Releasing lock...
[2025-04-12 10:28:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 10:28:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 10:28:18] Production.INFO: count ==670
[2025-04-12 10:28:18] Production.ERROR: pbx CDR StartTime 2025-04-12 07:28:05 - End Time 2025-04-12 10:28:05
[2025-04-12 10:28:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 10:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890948', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890948', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890948', 'tblTempVendorCDR_20' ) start
[2025-04-12 10:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890948', 'tblTempVendorCDR_20' ) end
[2025-04-12 10:28:18] Production.INFO: ProcessCDR(1,14890948,1,1,2)
[2025-04-12 10:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890948,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:28:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890948,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:28:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890948,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:28:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890948,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890948', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890948', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:28:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 10:28:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 10:28:21] Production.INFO: ==16680== Releasing lock...
[2025-04-12 10:28:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 10:28:21] Production.INFO: 33.75 MB #Memory Used#
[2025-04-12 15:29:02] Production.INFO: ==16738== Lock acquired, processing the job...
[2025-04-12 15:29:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 15:29:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 15:29:02] Production.INFO: neon service started
[2025-04-12 15:29:02] Production.INFO: neon service started
[2025-04-12 15:29:02] Production.INFO: ==16738== Releasing lock...
[2025-04-12 15:29:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 15:29:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 14:29:02] Production.INFO: ==16742== Lock acquired, processing the job...
[2025-04-12 14:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 14:29:02] Production.INFO: ==16742== Releasing lock...
[2025-04-12 14:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 14:29:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 10:29:02] Production.INFO: ==16740== Lock acquired, processing the job...
[2025-04-12 10:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 10:29:02] Production.INFO: ==16740== Releasing lock...
[2025-04-12 10:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 10:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 10:29:03] Production.INFO: ==16749== Lock acquired, processing the job...
[2025-04-12 10:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 10:29:03] Production.INFO: ==16751== Lock acquired, processing the job...
[2025-04-12 10:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 10:29:04] Production.INFO: ==16745== Lock acquired, processing the job...
[2025-04-12 10:29:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 10:29:04] Production.INFO: ==16747== Lock acquired, processing the job...
[2025-04-12 10:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 10:29:04] Production.INFO: Account Balance Start.
[2025-04-12 10:29:04] Production.INFO: CreateAllLog Start
[2025-04-12 10:29:04] Production.INFO: 117
[2025-04-12 10:29:04] Production.INFO: Date 2025-04-08
[2025-04-12 10:29:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 10:29:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:29:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 10:29:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 10:29:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 10:29:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 10:29:04] Production.INFO: Date 2025-04-09
[2025-04-12 10:29:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:29:04] Production.INFO: Date 2025-04-10
[2025-04-12 10:29:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:29:04] Production.INFO: ==16753== Lock acquired, processing the job...
[2025-04-12 10:29:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 10:29:04] Production.INFO: ==16755== Lock acquired, processing the job...
[2025-04-12 10:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 10:29:04] Production.INFO: Date 2025-04-11
[2025-04-12 10:29:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:29:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 10:29:04] Production.INFO: Date 2025-04-12
[2025-04-12 10:29:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:29:04] Production.INFO: Total Charge 0
[2025-04-12 10:29:04] Production.INFO: CreateAllLog End
[2025-04-12 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-12 10:29:04] Production.INFO: count ==12
[2025-04-12 10:29:04] Production.INFO: ==16747== Releasing lock...
[2025-04-12 10:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 10:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 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-12 10:29:04] Production.INFO: count ==23
[2025-04-12 10:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890952') start
[2025-04-12 10:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890952') end
[2025-04-12 10:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 10:29:04] Production.INFO: 1
[2025-04-12 10:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 10:29:04] Production.INFO: ==16755== Releasing lock...
[2025-04-12 10:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 10:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 10:29:04] Production.ERROR: done
[2025-04-12 10:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 10:29:04] Production.ERROR: done
[2025-04-12 10:29:04] Production.INFO: Account Balance End.
[2025-04-12 10:29:05] Production.ERROR: CronJobId end 12
[2025-04-12 10:29:05] Production.INFO: ==16751== Releasing lock...
[2025-04-12 10:29:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 10:29:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 10:29:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 07:29:06
[end_date_ymd] => 2025-04-12 10:29:06
[RateCDR] => 1
)
[2025-04-12 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-12 07:29:06' and `end` < '2025-04-12 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-12 10:29:13] Production.ERROR: CronJobId end10
[2025-04-12 10:29:13] Production.INFO: ==16749== Releasing lock...
[2025-04-12 10:29:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 10:29:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 10:29:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 10:29:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 10:29:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 10:29:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 10:29:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 10:29:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 10:29:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 10:29:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 10:29:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 10:29:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 10:29:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 10:29:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 10:29:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 10:29:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 10:29:15] Production.INFO: call_cost start
[2025-04-12 10:29:15] Production.INFO: call_cost end
[2025-04-12 10:29:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 10:29:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 10:29:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 10:29:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 10:29:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 10:29:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 10:29:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 10:29:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 10:29:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 10:29:16] Production.INFO: ==16745== Releasing lock...
[2025-04-12 10:29:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 10:29:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 10:29:18] Production.INFO: count ==672
[2025-04-12 10:29:19] Production.ERROR: pbx CDR StartTime 2025-04-12 07:29:06 - End Time 2025-04-12 10:29:06
[2025-04-12 10:29:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 10:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890953', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890953', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890953', 'tblTempVendorCDR_20' ) start
[2025-04-12 10:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890953', 'tblTempVendorCDR_20' ) end
[2025-04-12 10:29:19] Production.INFO: ProcessCDR(1,14890953,1,1,2)
[2025-04-12 10:29:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890953,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:29:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890953,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:29:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890953,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:29:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890953,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:29:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890953', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:29:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890953', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:29:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 10:29:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 10:29:24] Production.INFO: ==16753== Releasing lock...
[2025-04-12 10:29:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 10:29:24] Production.INFO: 33.75 MB #Memory Used#
[2025-04-12 15:30:01] Production.INFO: ==16811== Lock acquired, processing the job...
[2025-04-12 15:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 15:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 15:30:01] Production.INFO: neon service started
[2025-04-12 15:30:01] Production.INFO: neon service started
[2025-04-12 15:30:01] Production.INFO: ==16811== Releasing lock...
[2025-04-12 15:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 15:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 14:30:02] Production.INFO: ==16815== Lock acquired, processing the job...
[2025-04-12 14:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 14:30:02] Production.INFO: ==16815== Releasing lock...
[2025-04-12 14:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 14:30:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 10:30:02] Production.INFO: ==16813== Lock acquired, processing the job...
[2025-04-12 10:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 10:30:02] Production.INFO: ==16813== Releasing lock...
[2025-04-12 10:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 10:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 10:30:03] Production.INFO: ==16822== Lock acquired, processing the job...
[2025-04-12 10:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 10:30:03] Production.INFO: ==16818== Lock acquired, processing the job...
[2025-04-12 10:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 10:30:03] Production.INFO: ==16826== Lock acquired, processing the job...
[2025-04-12 10:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 10:30:03] Production.INFO: ==16828== Lock acquired, processing the job...
[2025-04-12 10:30:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 10:30:03] Production.INFO: Account Balance Start.
[2025-04-12 10:30:03] Production.INFO: CreateAllLog Start
[2025-04-12 10:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 10:30:03] Production.INFO: 117
[2025-04-12 10:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 10:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 10:30:03] Production.ERROR: CronJob PID - 16822
[2025-04-12 10:30:03] Production.ERROR: CronJob Title - Account Block
[2025-04-12 10:30:03] Production.ERROR: CronJob ID - 7
[2025-04-12 10:30:03] Production.ERROR: CronJob Last Run Time 2025-04-12 10:30:00
[2025-04-12 10:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 10:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 10:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 10:30:03] Production.ERROR: CronJob PID - 16826
[2025-04-12 10:30:03] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-04-12 10:30:03] Production.ERROR: CronJob ID - 12
[2025-04-12 10:30:03] Production.ERROR: CronJob Last Run Time 2025-04-12 10:30:00
[2025-04-12 10:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 10:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 10:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 10:30:03] Production.ERROR: CronJob PID - 16828
[2025-04-12 10:30:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-04-12 10:30:03] Production.ERROR: CronJob ID - 16
[2025-04-12 10:30:03] Production.ERROR: CronJob Last Run Time 2025-04-12 10:30:00
[2025-04-12 10:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 10:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 10:30:03] Production.INFO: ==16820== Lock acquired, processing the job...
[2025-04-12 10:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 10:30:03] Production.INFO: Date 2025-04-08
[2025-04-12 10:30:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:30:03] Production.INFO: Date 2025-04-09
[2025-04-12 10:30:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:30:03] Production.INFO: ==16824== Lock acquired, processing the job...
[2025-04-12 10:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 10:30:03] Production.INFO: Date 2025-04-10
[2025-04-12 10:30:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:30:04] Production.INFO: Date 2025-04-11
[2025-04-12 10:30:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:30:04] Production.INFO: Date 2025-04-12
[2025-04-12 10:30:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 10:30:04] Production.INFO: ==16818== Releasing lock...
[2025-04-12 10:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 10:30:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 10:30:04] Production.INFO: ==16830== Lock acquired, processing the job...
[2025-04-12 10:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 10:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 10:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 10:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 10:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 10:30:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:30:04] Production.INFO: ==16832== Lock acquired, processing the job...
[2025-04-12 10:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 10:30:04] Production.INFO: Total Charge 0
[2025-04-12 10:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 10:30:04] Production.INFO: CreateAllLog End
[2025-04-12 10:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 10:30:04] Production.INFO: ==16822== Releasing lock...
[2025-04-12 10:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 10:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 10:30:04] Production.ERROR: done
[2025-04-12 10:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 10:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 10:30:04] Production.INFO: count ==12
[2025-04-12 10:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 10:30:04] Production.INFO: count ==23
[2025-04-12 10:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890957') start
[2025-04-12 10:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890957') end
[2025-04-12 10:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 10:30:04] Production.INFO: 1
[2025-04-12 10:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 10:30:04] Production.ERROR: done
[2025-04-12 10:30:04] Production.INFO: ==16832== Releasing lock...
[2025-04-12 10:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 10:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 10:30:04] Production.ERROR: done
[2025-04-12 10:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 10:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14890959', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 10:30:04] Production.INFO: Account Balance End.
[2025-04-12 10:30:04] Production.ERROR: CronJobId end 12
[2025-04-12 10:30:04] Production.INFO: ==16826== Releasing lock...
[2025-04-12 10:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 10:30:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 10:30:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 07:30:05
[end_date_ymd] => 2025-04-12 10:30:05
[RateCDR] => 1
)
[2025-04-12 10:30:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 07:30:05' and `end` < '2025-04-12 10:30:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 10:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14890959', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 10:30:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 10:30:08] Production.INFO: ProcessCDR(1,14890959,1,1,2)
[2025-04-12 10:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14890959,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14890959,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 10:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 10:30:09] Production.INFO: ==16830== Releasing lock...
[2025-04-12 10:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 10:30:09] Production.INFO: 26 MB #Memory Used#
[2025-04-12 10:30:12] Production.ERROR: CronJobId end10
[2025-04-12 10:30:12] Production.INFO: ==16824== Releasing lock...
[2025-04-12 10:30:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 10:30:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 10:30:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 10:30:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 10:30:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 10:30:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 10:30:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 10:30:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 10:30:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 10:30:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 10:30:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 10:30:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 10:30:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 10:30:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 10:30:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 10:30:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 10:30:16] Production.INFO: call_cost start
[2025-04-12 10:30:16] Production.INFO: call_cost end
[2025-04-12 10:30:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 10:30:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 10:30:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 10:30:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 10:30:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 10:30:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 10:30:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 10:30:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 10:30:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 10:30:16] Production.INFO: ==16820== Releasing lock...
[2025-04-12 10:30:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 10:30:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 10:30:18] Production.INFO: count ==681
[2025-04-12 10:30:18] Production.ERROR: pbx CDR StartTime 2025-04-12 07:30:05 - End Time 2025-04-12 10:30:05
[2025-04-12 10:30:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 10:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890958', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890958', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890958', 'tblTempVendorCDR_20' ) start
[2025-04-12 10:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890958', 'tblTempVendorCDR_20' ) end
[2025-04-12 10:30:18] Production.INFO: ProcessCDR(1,14890958,1,1,2)
[2025-04-12 10:30:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890958,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:30:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890958,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:30:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890958,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:30:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890958,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:30:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890958', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:30:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890958', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:30:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 10:30:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 10:30:24] Production.INFO: ==16828== Releasing lock...
[2025-04-12 10:30:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 10:30:24] Production.INFO: 33.25 MB #Memory Used#
[2025-04-12 15:31:02] Production.INFO: ==16885== Lock acquired, processing the job...
[2025-04-12 15:31:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 15:31:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 15:31:02] Production.INFO: neon service started
[2025-04-12 15:31:02] Production.INFO: neon service started
[2025-04-12 15:31:02] Production.INFO: ==16885== Releasing lock...
[2025-04-12 15:31:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 15:31:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 14:31:02] Production.INFO: ==16889== Lock acquired, processing the job...
[2025-04-12 14:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 10:31:02] Production.INFO: ==16887== Lock acquired, processing the job...
[2025-04-12 10:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 14:31:02] Production.INFO: ==16889== Releasing lock...
[2025-04-12 14:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 14:31:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 10:31:03] Production.INFO: ==16887== Releasing lock...
[2025-04-12 10:31:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 10:31:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 10:31:03] Production.INFO: ==16894== Lock acquired, processing the job...
[2025-04-12 10:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 10:31:04] Production.INFO: ==16900== Lock acquired, processing the job...
[2025-04-12 10:31:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 10:31:04] Production.INFO: ==16892== Lock acquired, processing the job...
[2025-04-12 10:31:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 10:31:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 10:31:04] Production.INFO: ==16894== Releasing lock...
[2025-04-12 10:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 10:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 10:31:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 10:31:04] Production.INFO: ==16896== Lock acquired, processing the job...
[2025-04-12 10:31:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 10:31:04] Production.INFO: ==16898== Lock acquired, processing the job...
[2025-04-12 10:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 10:31:04] Production.INFO: ==16902== Lock acquired, processing the job...
[2025-04-12 10:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 10:31:04] Production.INFO: Account Balance Start.
[2025-04-12 10:31:04] Production.INFO: CreateAllLog Start
[2025-04-12 10:31:04] Production.INFO: 117
[2025-04-12 10:31:04] Production.INFO: Date 2025-04-08
[2025-04-12 10:31:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 10:31:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 10:31:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 10:31:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 10:31:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:31:04] Production.INFO: Date 2025-04-09
[2025-04-12 10:31:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:31:04] Production.INFO: Date 2025-04-10
[2025-04-12 10:31:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:31:04] Production.INFO: Date 2025-04-11
[2025-04-12 10:31:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:31:04] Production.ERROR: done
[2025-04-12 10:31:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 10:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 10:31:04] Production.INFO: Date 2025-04-12
[2025-04-12 10:31:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:31:04] Production.INFO: count ==12
[2025-04-12 10:31:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 10:31:04] Production.INFO: count ==23
[2025-04-12 10:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890963') start
[2025-04-12 10:31:04] Production.INFO: Total Charge 0
[2025-04-12 10:31:04] Production.INFO: CreateAllLog End
[2025-04-12 10:31:04] Production.ERROR: done
[2025-04-12 10:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890963') end
[2025-04-12 10:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 10:31:04] Production.INFO: 1
[2025-04-12 10:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 10:31:04] Production.INFO: Account Balance End.
[2025-04-12 10:31:04] Production.INFO: ==16902== Releasing lock...
[2025-04-12 10:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 10:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 10:31:04] Production.ERROR: CronJobId end 12
[2025-04-12 10:31:04] Production.INFO: ==16898== Releasing lock...
[2025-04-12 10:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 10:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 10:31:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 07:31:06
[end_date_ymd] => 2025-04-12 10:31:06
[RateCDR] => 1
)
[2025-04-12 10: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-12 07:31:06' and `end` < '2025-04-12 10: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-12 10:31:14] Production.ERROR: CronJobId end10
[2025-04-12 10:31:14] Production.INFO: ==16896== Releasing lock...
[2025-04-12 10:31:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 10:31:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 10:31:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 10:31:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 10:31:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 10:31:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 10:31:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 10:31:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 10:31:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 10:31:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 10:31:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 10:31:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 10:31:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 10:31:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 10:31:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 10:31:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 10:31:15] Production.INFO: call_cost start
[2025-04-12 10:31:15] Production.INFO: call_cost end
[2025-04-12 10:31:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 10:31:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 10:31:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 10:31:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 10:31:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 10:31:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 10:31:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 10:31:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 10:31:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 10:31:16] Production.INFO: ==16892== Releasing lock...
[2025-04-12 10:31:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 10:31:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 10:31:19] Production.INFO: count ==707
[2025-04-12 10:31:19] Production.ERROR: pbx CDR StartTime 2025-04-12 07:31:06 - End Time 2025-04-12 10:31:06
[2025-04-12 10:31:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 10:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890964', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890964', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890964', 'tblTempVendorCDR_20' ) start
[2025-04-12 10:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890964', 'tblTempVendorCDR_20' ) end
[2025-04-12 10:31:19] Production.INFO: ProcessCDR(1,14890964,1,1,2)
[2025-04-12 10:31:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890964,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:31:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890964,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:31:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890964,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:31:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890964,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890964', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890964', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:31:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 10:31:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 10:31:22] Production.INFO: ==16900== Releasing lock...
[2025-04-12 10:31:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 10:31:22] Production.INFO: 34 MB #Memory Used#
[2025-04-12 15:32:01] Production.INFO: ==16957== Lock acquired, processing the job...
[2025-04-12 15:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 15:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 15:32:01] Production.INFO: neon service started
[2025-04-12 15:32:01] Production.INFO: neon service started
[2025-04-12 15:32:01] Production.INFO: ==16957== Releasing lock...
[2025-04-12 15:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 15:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 10:32:01] Production.INFO: ==16959== Lock acquired, processing the job...
[2025-04-12 10:32:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 10:32:02] Production.INFO: ==16959== Releasing lock...
[2025-04-12 10:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 10:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 14:32:02] Production.INFO: ==16962== Lock acquired, processing the job...
[2025-04-12 14:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 14:32:02] Production.INFO: ==16962== Releasing lock...
[2025-04-12 14:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 14:32:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 10:32:03] Production.INFO: ==16970== Lock acquired, processing the job...
[2025-04-12 10:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 10:32:03] Production.INFO: ==16964== Lock acquired, processing the job...
[2025-04-12 10:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 10:32:03] Production.INFO: ==16974== Lock acquired, processing the job...
[2025-04-12 10:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 10:32:03] Production.INFO: Account Balance Start.
[2025-04-12 10:32:03] Production.INFO: CreateAllLog Start
[2025-04-12 10:32:03] Production.INFO: 117
[2025-04-12 10:32:03] Production.INFO: Date 2025-04-08
[2025-04-12 10:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 10:32:03] Production.INFO: ==16966== Lock acquired, processing the job...
[2025-04-12 10:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 10:32:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:32:03] Production.INFO: ==16968== Lock acquired, processing the job...
[2025-04-12 10:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 10:32:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 10:32:03] Production.INFO: Date 2025-04-09
[2025-04-12 10:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 10:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 10:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 10:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 10:32:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:32:03] Production.INFO: ==16972== Lock acquired, processing the job...
[2025-04-12 10:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 10:32:03] Production.INFO: count ==12
[2025-04-12 10:32:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 10:32:03] Production.INFO: count ==23
[2025-04-12 10:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890967') start
[2025-04-12 10:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 10:32:03] Production.INFO: Date 2025-04-10
[2025-04-12 10:32:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890967') end
[2025-04-12 10:32:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 10:32:03] Production.INFO: 1
[2025-04-12 10:32:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 10:32:03] Production.INFO: ==16966== Releasing lock...
[2025-04-12 10:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 10:32:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 10:32:03] Production.INFO: Date 2025-04-11
[2025-04-12 10:32:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:32:03] Production.INFO: ==16974== Releasing lock...
[2025-04-12 10:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 10:32:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 10:32:03] Production.ERROR: done
[2025-04-12 10:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 10:32:04] Production.INFO: Date 2025-04-12
[2025-04-12 10:32:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:32:04] Production.INFO: Total Charge 0
[2025-04-12 10:32:04] Production.INFO: CreateAllLog End
[2025-04-12 10:32:04] Production.ERROR: done
[2025-04-12 10:32:04] Production.INFO: Account Balance End.
[2025-04-12 10:32:04] Production.ERROR: CronJobId end 12
[2025-04-12 10:32:04] Production.INFO: ==16970== Releasing lock...
[2025-04-12 10:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 10:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 10:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 07:32:05
[end_date_ymd] => 2025-04-12 10:32:05
[RateCDR] => 1
)
[2025-04-12 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-12 07:32:05' and `end` < '2025-04-12 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-12 10:32:13] Production.ERROR: CronJobId end10
[2025-04-12 10:32:13] Production.INFO: ==16968== Releasing lock...
[2025-04-12 10:32:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 10:32:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 10:32:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 10:32:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 10:32:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 10:32:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 10:32:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 10:32:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 10:32:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 10:32:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 10:32:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 10:32:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 10:32:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 10:32:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 10:32:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 10:32:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 10:32:16] Production.INFO: call_cost start
[2025-04-12 10:32:16] Production.INFO: call_cost end
[2025-04-12 10:32:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 10:32:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 10:32:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 10:32:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 10:32:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 10:32:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 10:32:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 10:32:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 10:32:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 10:32:16] Production.INFO: ==16964== Releasing lock...
[2025-04-12 10:32:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 10:32:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 10:32:18] Production.INFO: count ==707
[2025-04-12 10:32:18] Production.ERROR: pbx CDR StartTime 2025-04-12 07:32:05 - End Time 2025-04-12 10:32:05
[2025-04-12 10:32:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 10:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890969', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890969', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890969', 'tblTempVendorCDR_20' ) start
[2025-04-12 10:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890969', 'tblTempVendorCDR_20' ) end
[2025-04-12 10:32:18] Production.INFO: ProcessCDR(1,14890969,1,1,2)
[2025-04-12 10:32:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890969,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:32:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890969,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:32:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890969,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:32:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890969,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890969', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890969', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:32:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 10:32:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 10:32:21] Production.INFO: ==16972== Releasing lock...
[2025-04-12 10:32:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 10:32:21] Production.INFO: 34 MB #Memory Used#
[2025-04-12 15:33:01] Production.INFO: ==17039== Lock acquired, processing the job...
[2025-04-12 15:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 15:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 15:33:01] Production.INFO: neon service started
[2025-04-12 15:33:01] Production.INFO: neon service started
[2025-04-12 15:33:01] Production.INFO: ==17039== Releasing lock...
[2025-04-12 15:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 15:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 14:33:02] Production.INFO: ==17043== Lock acquired, processing the job...
[2025-04-12 14:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 10:33:02] Production.INFO: ==17041== Lock acquired, processing the job...
[2025-04-12 10:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 14:33:02] Production.INFO: ==17043== Releasing lock...
[2025-04-12 14:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 14:33:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 10:33:02] Production.INFO: ==17041== Releasing lock...
[2025-04-12 10:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 10:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 10:33:03] Production.INFO: ==17048== Lock acquired, processing the job...
[2025-04-12 10:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 10:33:03] Production.INFO: ==17046== Lock acquired, processing the job...
[2025-04-12 10:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 10:33:03] Production.INFO: ==17052== Lock acquired, processing the job...
[2025-04-12 10:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 10:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 10:33:03] Production.INFO: Account Balance Start.
[2025-04-12 10:33:03] Production.INFO: CreateAllLog Start
[2025-04-12 10:33:03] Production.INFO: 117
[2025-04-12 10:33:03] Production.INFO: Date 2025-04-08
[2025-04-12 10:33:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:33:03] Production.INFO: Date 2025-04-09
[2025-04-12 10:33:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:33:03] Production.INFO: Date 2025-04-10
[2025-04-12 10:33:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:33:03] Production.INFO: Date 2025-04-11
[2025-04-12 10:33:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:33:03] Production.INFO: ==17048== Releasing lock...
[2025-04-12 10:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 10:33:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 10:33:03] Production.INFO: Date 2025-04-12
[2025-04-12 10:33:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:33:04] Production.INFO: Total Charge 0
[2025-04-12 10:33:04] Production.INFO: CreateAllLog End
[2025-04-12 10:33:04] Production.INFO: ==17056== Lock acquired, processing the job...
[2025-04-12 10:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 10:33:04] Production.INFO: ==17050== Lock acquired, processing the job...
[2025-04-12 10:33:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 10:33:04] Production.INFO: Account Balance End.
[2025-04-12 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-12 10:33:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 10:33:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 10:33:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 10:33:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 10:33:04] Production.ERROR: CronJobId end 12
[2025-04-12 10:33:04] Production.INFO: ==17052== Releasing lock...
[2025-04-12 10:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 10:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 10:33:04] Production.INFO: ==17054== Lock acquired, processing the job...
[2025-04-12 10:33:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 10:33:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 10:33:04] Production.INFO: count ==12
[2025-04-12 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-12 10:33:04] Production.INFO: count ==23
[2025-04-12 10:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890973') start
[2025-04-12 10:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890973') end
[2025-04-12 10:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 10:33:04] Production.INFO: 1
[2025-04-12 10:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 10:33:04] Production.ERROR: done
[2025-04-12 10:33:04] Production.INFO: ==17056== Releasing lock...
[2025-04-12 10:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 10:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 10:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 10:33:04] Production.ERROR: done
[2025-04-12 10:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 07:33:05
[end_date_ymd] => 2025-04-12 10:33:05
[RateCDR] => 1
)
[2025-04-12 10:33:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 07:33:05' and `end` < '2025-04-12 10:33:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 10:33:12] Production.ERROR: CronJobId end10
[2025-04-12 10:33:12] Production.INFO: ==17050== Releasing lock...
[2025-04-12 10:33:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 10:33:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 10:33:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 10:33:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 10:33:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 10:33:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 10:33:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 10:33:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 10:33:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 10:33:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 10:33:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 10:33:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 10:33:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 10:33:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 10:33:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 10:33:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 10:33:14] Production.INFO: call_cost start
[2025-04-12 10:33:14] Production.INFO: call_cost end
[2025-04-12 10:33:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 10:33:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 10:33:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 10:33:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 10:33:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 10:33:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 10:33:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 10:33:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 10:33:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 10:33:15] Production.INFO: ==17046== Releasing lock...
[2025-04-12 10:33:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 10:33:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 10:33:18] Production.INFO: count ==707
[2025-04-12 10:33:18] Production.ERROR: pbx CDR StartTime 2025-04-12 07:33:05 - End Time 2025-04-12 10:33:05
[2025-04-12 10:33:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 10:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890974', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890974', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890974', 'tblTempVendorCDR_20' ) start
[2025-04-12 10:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890974', 'tblTempVendorCDR_20' ) end
[2025-04-12 10:33:18] Production.INFO: ProcessCDR(1,14890974,1,1,2)
[2025-04-12 10:33:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890974,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:33:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890974,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:33:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890974,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:33:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890974,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890974', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890974', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:33:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 10:33:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 10:33:21] Production.INFO: ==17054== Releasing lock...
[2025-04-12 10:33:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 10:33:21] Production.INFO: 34 MB #Memory Used#
[2025-04-12 15:34:01] Production.INFO: ==17110== Lock acquired, processing the job...
[2025-04-12 15:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 15:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 15:34:01] Production.INFO: neon service started
[2025-04-12 15:34:01] Production.INFO: neon service started
[2025-04-12 15:34:01] Production.INFO: ==17110== Releasing lock...
[2025-04-12 15:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 15:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 14:34:01] Production.INFO: ==17114== Lock acquired, processing the job...
[2025-04-12 14:34:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 14:34:01] Production.INFO: ==17114== Releasing lock...
[2025-04-12 14:34:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 14:34:01] Production.INFO: 25 MB #Memory Used#
[2025-04-12 10:34:02] Production.INFO: ==17112== Lock acquired, processing the job...
[2025-04-12 10:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 10:34:02] Production.INFO: ==17112== Releasing lock...
[2025-04-12 10:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 10:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 10:34:03] Production.INFO: ==17125== Lock acquired, processing the job...
[2025-04-12 10:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 10:34:03] Production.INFO: ==17120== Lock acquired, processing the job...
[2025-04-12 10:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 10:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 10:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 10:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 10:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 10:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 10:34:03] Production.INFO: ==17116== Lock acquired, processing the job...
[2025-04-12 10:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 10:34:03] Production.INFO: ==17118== Lock acquired, processing the job...
[2025-04-12 10:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 10:34:03] Production.INFO: ==17123== Lock acquired, processing the job...
[2025-04-12 10:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 10:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 10:34:03] Production.INFO: ==17127== Lock acquired, processing the job...
[2025-04-12 10:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 10:34:03] Production.INFO: Account Balance Start.
[2025-04-12 10:34:03] Production.INFO: CreateAllLog Start
[2025-04-12 10:34:03] Production.INFO: 117
[2025-04-12 10:34:03] Production.INFO: Date 2025-04-08
[2025-04-12 10:34:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:34:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 10:34:03] Production.INFO: Date 2025-04-09
[2025-04-12 10:34:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:34:03] Production.INFO: Date 2025-04-10
[2025-04-12 10:34:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:34:03] Production.INFO: count ==12
[2025-04-12 10:34:03] Production.INFO: Date 2025-04-11
[2025-04-12 10:34:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:34:03] Production.ERROR: done
[2025-04-12 10:34:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 10:34:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 10:34:03] Production.INFO: count ==23
[2025-04-12 10:34:04] Production.INFO: Date 2025-04-12
[2025-04-12 10:34:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890978') start
[2025-04-12 10:34:04] Production.INFO: Total Charge 0
[2025-04-12 10:34:04] Production.INFO: CreateAllLog End
[2025-04-12 10:34:04] Production.INFO: ==17118== Releasing lock...
[2025-04-12 10:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 10:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 10:34:04] Production.ERROR: done
[2025-04-12 10:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890978') end
[2025-04-12 10:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 10:34:04] Production.INFO: 1
[2025-04-12 10:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 10:34:04] Production.INFO: ==17127== Releasing lock...
[2025-04-12 10:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 10:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 10:34:04] Production.INFO: Account Balance End.
[2025-04-12 10:34:04] Production.ERROR: CronJobId end 12
[2025-04-12 10:34:04] Production.INFO: ==17123== Releasing lock...
[2025-04-12 10:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 10:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 10:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 07:34:05
[end_date_ymd] => 2025-04-12 10:34:05
[RateCDR] => 1
)
[2025-04-12 10:34:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 07:34:05' and `end` < '2025-04-12 10:34:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 10:34:12] Production.ERROR: CronJobId end10
[2025-04-12 10:34:12] Production.INFO: ==17120== Releasing lock...
[2025-04-12 10:34:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 10:34:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 10:34:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 10:34:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 10:34:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 10:34:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 10:34:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 10:34:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 10:34:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 10:34:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 10:34:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 10:34:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 10:34:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 10:34:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 10:34:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 10:34:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 10:34:14] Production.INFO: call_cost start
[2025-04-12 10:34:14] Production.INFO: call_cost end
[2025-04-12 10:34:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 10:34:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 10:34:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 10:34:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 10:34:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 10:34:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 10:34:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 10:34:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 10:34:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 10:34:15] Production.INFO: ==17116== Releasing lock...
[2025-04-12 10:34:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 10:34:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 10:34:18] Production.INFO: count ==719
[2025-04-12 10:34:18] Production.ERROR: pbx CDR StartTime 2025-04-12 07:34:05 - End Time 2025-04-12 10:34:05
[2025-04-12 10:34:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 10:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890979', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890979', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890979', 'tblTempVendorCDR_20' ) start
[2025-04-12 10:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890979', 'tblTempVendorCDR_20' ) end
[2025-04-12 10:34:18] Production.INFO: ProcessCDR(1,14890979,1,1,2)
[2025-04-12 10:34:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890979,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:34:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890979,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:34:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890979,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:34:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890979,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890979', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890979', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:34:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 10:34:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 10:34:22] Production.INFO: ==17125== Releasing lock...
[2025-04-12 10:34:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 10:34:22] Production.INFO: 33.75 MB #Memory Used#
[2025-04-12 15:35:01] Production.INFO: ==17186== Lock acquired, processing the job...
[2025-04-12 15:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 15:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 15:35:01] Production.INFO: neon service started
[2025-04-12 15:35:01] Production.INFO: neon service started
[2025-04-12 15:35:01] Production.INFO: ==17186== Releasing lock...
[2025-04-12 15:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 15:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 10:35:02] Production.INFO: ==17188== Lock acquired, processing the job...
[2025-04-12 10:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 14:35:02] Production.INFO: ==17190== Lock acquired, processing the job...
[2025-04-12 14:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 14:35:02] Production.INFO: ==17190== Releasing lock...
[2025-04-12 14:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 14:35:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 10:35:03] Production.INFO: ==17188== Releasing lock...
[2025-04-12 10:35:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 10:35:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 10:35:03] Production.INFO: ==17193== Lock acquired, processing the job...
[2025-04-12 10:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 10:35:03] Production.INFO: ==17195== Lock acquired, processing the job...
[2025-04-12 10:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 10:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 10:35:04] Production.INFO: ==17199== Lock acquired, processing the job...
[2025-04-12 10:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 10:35:04] Production.INFO: Account Balance Start.
[2025-04-12 10:35:04] Production.INFO: CreateAllLog Start
[2025-04-12 10:35:04] Production.INFO: 117
[2025-04-12 10:35:04] Production.INFO: Date 2025-04-08
[2025-04-12 10:35:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:35:04] Production.INFO: ==17195== Releasing lock...
[2025-04-12 10:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 10:35:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 10:35:04] Production.INFO: ==17197== Lock acquired, processing the job...
[2025-04-12 10:35:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 10:35:04] Production.INFO: ==17201== Lock acquired, processing the job...
[2025-04-12 10:35:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 10:35:04] Production.INFO: Date 2025-04-09
[2025-04-12 10:35:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:35:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 10:35:04] Production.INFO: ==17203== Lock acquired, processing the job...
[2025-04-12 10:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 10:35:04] Production.INFO: Date 2025-04-10
[2025-04-12 10:35:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:35:04] Production.INFO: Date 2025-04-11
[2025-04-12 10:35:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:35:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 10:35:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 10:35:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 10:35:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 10:35:04] Production.INFO: Date 2025-04-12
[2025-04-12 10:35:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:35:04] Production.INFO: Total Charge 0
[2025-04-12 10:35:04] Production.INFO: CreateAllLog End
[2025-04-12 10:35:04] Production.ERROR: done
[2025-04-12 10:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 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-12 10:35:04] Production.INFO: count ==12
[2025-04-12 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-12 10:35:04] Production.INFO: count ==23
[2025-04-12 10:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890983') start
[2025-04-12 10:35:04] Production.ERROR: done
[2025-04-12 10:35:04] Production.INFO: Account Balance End.
[2025-04-12 10:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890983') end
[2025-04-12 10:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 10:35:04] Production.INFO: 1
[2025-04-12 10:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 10:35:04] Production.ERROR: CronJobId end 12
[2025-04-12 10:35:04] Production.INFO: ==17199== Releasing lock...
[2025-04-12 10:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 10:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 10:35:04] Production.INFO: ==17203== Releasing lock...
[2025-04-12 10:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 10:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 10:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 07:35:05
[end_date_ymd] => 2025-04-12 10:35:05
[RateCDR] => 1
)
[2025-04-12 10:35:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 07:35:05' and `end` < '2025-04-12 10:35:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 10:35:13] Production.ERROR: CronJobId end10
[2025-04-12 10:35:13] Production.INFO: ==17197== Releasing lock...
[2025-04-12 10:35:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 10:35:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 10:35:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 10:35:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 10:35:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 10:35:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 10:35:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 10:35:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 10:35:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 10:35:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 10:35:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 10:35:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 10:35:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 10:35:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 10:35:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 10:35:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 10:35:14] Production.INFO: call_cost start
[2025-04-12 10:35:14] Production.INFO: call_cost end
[2025-04-12 10:35:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 10:35:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 10:35:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 10:35:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 10:35:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 10:35:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 10:35:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 10:35:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 10:35:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 10:35:15] Production.INFO: ==17193== Releasing lock...
[2025-04-12 10:35:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 10:35:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 10:35:18] Production.INFO: count ==721
[2025-04-12 10:35:18] Production.ERROR: pbx CDR StartTime 2025-04-12 07:35:05 - End Time 2025-04-12 10:35:05
[2025-04-12 10:35:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 10:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890984', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890984', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890984', 'tblTempVendorCDR_20' ) start
[2025-04-12 10:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890984', 'tblTempVendorCDR_20' ) end
[2025-04-12 10:35:18] Production.INFO: ProcessCDR(1,14890984,1,1,2)
[2025-04-12 10:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890984,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:35:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890984,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:35:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890984,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:35:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890984,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:35:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890984', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:35:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890984', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:35:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 10:35:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 10:35:23] Production.INFO: ==17201== Releasing lock...
[2025-04-12 10:35:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 10:35:23] Production.INFO: 33.75 MB #Memory Used#
[2025-04-12 15:36:01] Production.INFO: ==17256== Lock acquired, processing the job...
[2025-04-12 15:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 15:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 15:36:01] Production.INFO: neon service started
[2025-04-12 15:36:01] Production.INFO: neon service started
[2025-04-12 15:36:01] Production.INFO: ==17256== Releasing lock...
[2025-04-12 15:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 15:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 10:36:01] Production.INFO: ==17258== Lock acquired, processing the job...
[2025-04-12 10:36:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 10:36:02] Production.INFO: ==17258== Releasing lock...
[2025-04-12 10:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 10:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 14:36:02] Production.INFO: ==17260== Lock acquired, processing the job...
[2025-04-12 14:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 14:36:02] Production.INFO: ==17260== Releasing lock...
[2025-04-12 14:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 14:36:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 10:36:02] Production.INFO: ==17262== Lock acquired, processing the job...
[2025-04-12 10:36:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 10:36:03] Production.INFO: ==17264== Lock acquired, processing the job...
[2025-04-12 10:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 10:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 10:36:03] Production.INFO: ==17266== Lock acquired, processing the job...
[2025-04-12 10:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 10:36:03] Production.INFO: ==17268== Lock acquired, processing the job...
[2025-04-12 10:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 10:36:03] Production.INFO: ==17270== Lock acquired, processing the job...
[2025-04-12 10:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 10:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 10:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 10:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 10:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 10:36:03] Production.INFO: Account Balance Start.
[2025-04-12 10:36:03] Production.INFO: CreateAllLog Start
[2025-04-12 10:36:03] Production.INFO: 117
[2025-04-12 10:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 10:36:03] Production.INFO: Date 2025-04-08
[2025-04-12 10:36:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:36:03] Production.INFO: ==17272== Lock acquired, processing the job...
[2025-04-12 10:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 10:36:03] Production.INFO: Date 2025-04-09
[2025-04-12 10:36:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:36:03] Production.INFO: Date 2025-04-10
[2025-04-12 10:36:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:36:03] Production.INFO: Date 2025-04-11
[2025-04-12 10:36:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:36:03] Production.INFO: Date 2025-04-12
[2025-04-12 10:36:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:36:03] Production.INFO: Total Charge 0
[2025-04-12 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-12 10:36:03] Production.INFO: CreateAllLog End
[2025-04-12 10:36:03] Production.INFO: count ==12
[2025-04-12 10:36:03] Production.INFO: ==17264== Releasing lock...
[2025-04-12 10:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 10:36:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 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-12 10:36:03] Production.INFO: count ==23
[2025-04-12 10:36:03] Production.ERROR: done
[2025-04-12 10:36:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 10:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890988') start
[2025-04-12 10:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14890988') end
[2025-04-12 10:36:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 10:36:03] Production.INFO: 1
[2025-04-12 10:36:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 10:36:03] Production.ERROR: done
[2025-04-12 10:36:03] Production.INFO: Account Balance End.
[2025-04-12 10:36:04] Production.INFO: ==17272== Releasing lock...
[2025-04-12 10:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 10:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 10:36:04] Production.ERROR: CronJobId end 12
[2025-04-12 10:36:04] Production.INFO: ==17268== Releasing lock...
[2025-04-12 10:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 10:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 10:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 07:36:05
[end_date_ymd] => 2025-04-12 10:36:05
[RateCDR] => 1
)
[2025-04-12 10:36:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 07:36:05' and `end` < '2025-04-12 10:36:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 10:36:12] Production.ERROR: CronJobId end10
[2025-04-12 10:36:12] Production.INFO: ==17266== Releasing lock...
[2025-04-12 10:36:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 10:36:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 10:36:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 10:36:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 10:36:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 10:36:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 10:36:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 10:36:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 10:36:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 10:36:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 10:36:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 10:36:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 10:36:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 10:36:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 10:36:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 10:36:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 10:36:14] Production.INFO: call_cost start
[2025-04-12 10:36:14] Production.INFO: call_cost end
[2025-04-12 10:36:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 10:36:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 10:36:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 10:36:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 10:36:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 10:36:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 10:36:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 10:36:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 10:36:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 10:36:15] Production.INFO: ==17262== Releasing lock...
[2025-04-12 10:36:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 10:36:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 10:36:18] Production.INFO: count ==725
[2025-04-12 10:36:18] Production.ERROR: pbx CDR StartTime 2025-04-12 07:36:05 - End Time 2025-04-12 10:36:05
[2025-04-12 10:36:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 10:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890989', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890989', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890989', 'tblTempVendorCDR_20' ) start
[2025-04-12 10:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890989', 'tblTempVendorCDR_20' ) end
[2025-04-12 10:36:18] Production.INFO: ProcessCDR(1,14890989,1,1,2)
[2025-04-12 10:36:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890989,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:36:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890989,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:36:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890989,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:36:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890989,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890989', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890989', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:36:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 10:36:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 10:36:21] Production.INFO: ==17270== Releasing lock...
[2025-04-12 10:36:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 10:36:21] Production.INFO: 33.75 MB #Memory Used#
[2025-04-12 15:37:01] Production.INFO: ==17326== Lock acquired, processing the job...
[2025-04-12 15:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 15:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 15:37:01] Production.INFO: neon service started
[2025-04-12 15:37:01] Production.INFO: neon service started
[2025-04-12 15:37:01] Production.INFO: ==17326== Releasing lock...
[2025-04-12 15:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 15:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 10:37:02] Production.INFO: ==17329== Lock acquired, processing the job...
[2025-04-12 10:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 10:37:02] Production.INFO: ==17329== Releasing lock...
[2025-04-12 10:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 10:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 14:37:02] Production.INFO: ==17331== Lock acquired, processing the job...
[2025-04-12 14:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 14:37:02] Production.INFO: ==17331== Releasing lock...
[2025-04-12 14:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 14:37:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 10:37:03] Production.INFO: ==17341== Lock acquired, processing the job...
[2025-04-12 10:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 10:37:03] Production.INFO: ==17333== Lock acquired, processing the job...
[2025-04-12 10:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 10:37:03] Production.INFO: ==17343== Lock acquired, processing the job...
[2025-04-12 10:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 10:37:03] Production.INFO: ==17335== Lock acquired, processing the job...
[2025-04-12 10:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 10:37:03] Production.INFO: ==17337== Lock acquired, processing the job...
[2025-04-12 10:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 10:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 10:37:03] Production.INFO: ==17339== Lock acquired, processing the job...
[2025-04-12 10:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 10:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 10:37:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 10:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 10:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 10:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 10:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 10:37:03] Production.INFO: count ==12
[2025-04-12 10:37:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 10:37:04] Production.INFO: count ==23
[2025-04-12 10:37:04] Production.INFO: Account Balance Start.
[2025-04-12 10:37:04] Production.INFO: CreateAllLog Start
[2025-04-12 10:37:04] Production.INFO: 117
[2025-04-12 10:37:04] Production.INFO: Date 2025-04-08
[2025-04-12 10:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890991') start
[2025-04-12 10:37:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:37:04] Production.INFO: Date 2025-04-09
[2025-04-12 10:37:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:37:04] Production.INFO: Date 2025-04-10
[2025-04-12 10:37:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:37:04] Production.INFO: ==17335== Releasing lock...
[2025-04-12 10:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 10:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 10:37:04] Production.ERROR: done
[2025-04-12 10:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 10:37:04] Production.INFO: Date 2025-04-11
[2025-04-12 10:37:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890991') end
[2025-04-12 10:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 10:37:04] Production.INFO: 1
[2025-04-12 10:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 10:37:04] Production.INFO: ==17343== Releasing lock...
[2025-04-12 10:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 10:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 10:37:04] Production.ERROR: done
[2025-04-12 10:37:04] Production.INFO: Date 2025-04-12
[2025-04-12 10:37:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:37:04] Production.INFO: Total Charge 0
[2025-04-12 10:37:04] Production.INFO: CreateAllLog End
[2025-04-12 10:37:04] Production.INFO: Account Balance End.
[2025-04-12 10:37:04] Production.ERROR: CronJobId end 12
[2025-04-12 10:37:04] Production.INFO: ==17339== Releasing lock...
[2025-04-12 10:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 10:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 10:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 07:37:05
[end_date_ymd] => 2025-04-12 10:37:05
[RateCDR] => 1
)
[2025-04-12 10:37:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 07:37:05' and `end` < '2025-04-12 10:37:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 10:37:12] Production.ERROR: CronJobId end10
[2025-04-12 10:37:12] Production.INFO: ==17337== Releasing lock...
[2025-04-12 10:37:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 10:37:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 10:37:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 10:37:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 10:37:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 10:37:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 10:37:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 10:37:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 10:37:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 10:37:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 10:37:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 10:37:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 10:37:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 10:37:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 10:37:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 10:37:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 10:37:15] Production.INFO: call_cost start
[2025-04-12 10:37:15] Production.INFO: call_cost end
[2025-04-12 10:37:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 10:37:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 10:37:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 10:37:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 10:37:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 10:37:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 10:37:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 10:37:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 10:37:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 10:37:16] Production.INFO: ==17333== Releasing lock...
[2025-04-12 10:37:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 10:37:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 10:37:18] Production.INFO: count ==731
[2025-04-12 10:37:18] Production.ERROR: pbx CDR StartTime 2025-04-12 07:37:05 - End Time 2025-04-12 10:37:05
[2025-04-12 10:37:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 10:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890994', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890994', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890994', 'tblTempVendorCDR_20' ) start
[2025-04-12 10:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890994', 'tblTempVendorCDR_20' ) end
[2025-04-12 10:37:18] Production.INFO: ProcessCDR(1,14890994,1,1,2)
[2025-04-12 10:37:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890994,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:37:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890994,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:37:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890994,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:37:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890994,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890994', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890994', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:37:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 10:37:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 10:37:22] Production.INFO: ==17341== Releasing lock...
[2025-04-12 10:37:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 10:37:22] Production.INFO: 34.25 MB #Memory Used#
[2025-04-12 15:38:02] Production.INFO: ==17399== Lock acquired, processing the job...
[2025-04-12 15:38:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 15:38:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 15:38:02] Production.INFO: neon service started
[2025-04-12 15:38:02] Production.INFO: neon service started
[2025-04-12 15:38:02] Production.INFO: ==17399== Releasing lock...
[2025-04-12 15:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 15:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 10:38:02] Production.INFO: ==17402== Lock acquired, processing the job...
[2025-04-12 10:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 10:38:03] Production.INFO: ==17402== Releasing lock...
[2025-04-12 10:38:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 10:38:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 14:38:03] Production.INFO: ==17404== Lock acquired, processing the job...
[2025-04-12 14:38:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 14:38:03] Production.INFO: ==17404== Releasing lock...
[2025-04-12 14:38:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 14:38:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 10:38:04] Production.INFO: ==17406== Lock acquired, processing the job...
[2025-04-12 10:38:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 10:38:04] Production.INFO: ==17408== Lock acquired, processing the job...
[2025-04-12 10:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 10:38:04] Production.INFO: ==17414== Lock acquired, processing the job...
[2025-04-12 10:38:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 10:38:04] Production.INFO: ==17416== Lock acquired, processing the job...
[2025-04-12 10:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 10:38:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 10:38:04] Production.INFO: ==17412== Lock acquired, processing the job...
[2025-04-12 10:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 10:38:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 10:38:04] Production.INFO: ==17410== Lock acquired, processing the job...
[2025-04-12 10:38:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 10:38:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 10:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 10:38:04] Production.INFO: Account Balance Start.
[2025-04-12 10:38:04] Production.INFO: CreateAllLog Start
[2025-04-12 10:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 10:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 10:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 10:38:04] Production.INFO: 117
[2025-04-12 10:38:04] Production.INFO: Date 2025-04-08
[2025-04-12 10:38:04] Production.INFO: count ==12
[2025-04-12 10:38:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 10:38:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:38:04] Production.INFO: count ==23
[2025-04-12 10:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890997') start
[2025-04-12 10:38:04] Production.INFO: Date 2025-04-09
[2025-04-12 10:38:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:38:04] Production.ERROR: done
[2025-04-12 10:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 10:38:04] Production.INFO: Date 2025-04-10
[2025-04-12 10:38:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14890997') end
[2025-04-12 10:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 10:38:04] Production.INFO: 1
[2025-04-12 10:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 10:38:04] Production.INFO: Date 2025-04-11
[2025-04-12 10:38:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:38:04] Production.INFO: ==17408== Releasing lock...
[2025-04-12 10:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 10:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 10:38:04] Production.INFO: Date 2025-04-12
[2025-04-12 10:38:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:38:04] Production.INFO: ==17416== Releasing lock...
[2025-04-12 10:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 10:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 10:38:04] Production.INFO: Total Charge 0
[2025-04-12 10:38:04] Production.INFO: CreateAllLog End
[2025-04-12 10:38:04] Production.ERROR: done
[2025-04-12 10:38:04] Production.INFO: Account Balance End.
[2025-04-12 10:38:04] Production.ERROR: CronJobId end 12
[2025-04-12 10:38:04] Production.INFO: ==17412== Releasing lock...
[2025-04-12 10:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 10:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 10:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 07:38:05
[end_date_ymd] => 2025-04-12 10:38:05
[RateCDR] => 1
)
[2025-04-12 10:38:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 07:38:05' and `end` < '2025-04-12 10:38:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 10:38:12] Production.ERROR: CronJobId end10
[2025-04-12 10:38:12] Production.INFO: ==17410== Releasing lock...
[2025-04-12 10:38:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 10:38:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 10:38:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 10:38:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 10:38:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 10:38:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 10:38:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 10:38:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 10:38:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 10:38:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 10:38:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 10:38:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 10:38:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 10:38:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 10:38:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 10:38:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 10:38:15] Production.INFO: call_cost start
[2025-04-12 10:38:15] Production.INFO: call_cost end
[2025-04-12 10:38:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 10:38:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 10:38:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 10:38:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 10:38:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 10:38:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 10:38:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 10:38:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 10:38:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 10:38:16] Production.INFO: ==17406== Releasing lock...
[2025-04-12 10:38:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 10:38:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 10:38:18] Production.INFO: count ==736
[2025-04-12 10:38:19] Production.ERROR: pbx CDR StartTime 2025-04-12 07:38:05 - End Time 2025-04-12 10:38:05
[2025-04-12 10:38:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 10:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890999', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14890999', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890999', 'tblTempVendorCDR_20' ) start
[2025-04-12 10:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14890999', 'tblTempVendorCDR_20' ) end
[2025-04-12 10:38:19] Production.INFO: ProcessCDR(1,14890999,1,1,2)
[2025-04-12 10:38:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14890999,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:38:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14890999,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:38:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14890999,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:38:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14890999,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890999', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14890999', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:38:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 10:38:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 10:38:22] Production.INFO: ==17414== Releasing lock...
[2025-04-12 10:38:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 10:38:22] Production.INFO: 33.75 MB #Memory Used#
[2025-04-12 15:39:01] Production.INFO: ==17475== Lock acquired, processing the job...
[2025-04-12 15:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 15:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 15:39:01] Production.INFO: neon service started
[2025-04-12 15:39:01] Production.INFO: neon service started
[2025-04-12 15:39:01] Production.INFO: ==17475== Releasing lock...
[2025-04-12 15:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 15:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 10:39:02] Production.INFO: ==17477== Lock acquired, processing the job...
[2025-04-12 10:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 10:39:02] Production.INFO: ==17477== Releasing lock...
[2025-04-12 10:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 10:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 14:39:02] Production.INFO: ==17479== Lock acquired, processing the job...
[2025-04-12 14:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 14:39:02] Production.INFO: ==17479== Releasing lock...
[2025-04-12 14:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 14:39:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 10:39:03] Production.INFO: ==17489== Lock acquired, processing the job...
[2025-04-12 10:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 10:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 10:39:03] Production.INFO: ==17481== Lock acquired, processing the job...
[2025-04-12 10:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 10:39:03] Production.ERROR: done
[2025-04-12 10:39:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 10:39:03] Production.INFO: ==17487== Lock acquired, processing the job...
[2025-04-12 10:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 10:39:03] Production.INFO: ==17483== Lock acquired, processing the job...
[2025-04-12 10:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 10:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 10:39:03] Production.INFO: ==17485== Lock acquired, processing the job...
[2025-04-12 10:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 10:39:03] Production.INFO: ==17491== Lock acquired, processing the job...
[2025-04-12 10:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 10:39:03] Production.ERROR: done
[2025-04-12 10:39:03] Production.INFO: Account Balance Start.
[2025-04-12 10:39:03] Production.INFO: CreateAllLog Start
[2025-04-12 10:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 10:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 10:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 10:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 10:39:03] Production.INFO: 117
[2025-04-12 10:39:03] Production.INFO: Date 2025-04-08
[2025-04-12 10:39:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 10:39:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:39:03] Production.INFO: count ==12
[2025-04-12 10:39:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 10:39:03] Production.INFO: count ==23
[2025-04-12 10:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891001') start
[2025-04-12 10:39:04] Production.INFO: Date 2025-04-09
[2025-04-12 10:39:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:39:04] Production.INFO: Date 2025-04-10
[2025-04-12 10:39:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:39:04] Production.INFO: Date 2025-04-11
[2025-04-12 10:39:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:39:04] Production.INFO: Date 2025-04-12
[2025-04-12 10:39:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:39:04] Production.INFO: Total Charge 0
[2025-04-12 10:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891001') end
[2025-04-12 10:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 10:39:04] Production.INFO: 1
[2025-04-12 10:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 10:39:04] Production.INFO: CreateAllLog End
[2025-04-12 10:39:04] Production.INFO: ==17491== Releasing lock...
[2025-04-12 10:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 10:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 10:39:04] Production.INFO: ==17483== Releasing lock...
[2025-04-12 10:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 10:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 10:39:04] Production.INFO: Account Balance End.
[2025-04-12 10:39:04] Production.ERROR: CronJobId end 12
[2025-04-12 10:39:04] Production.INFO: ==17487== Releasing lock...
[2025-04-12 10:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 10:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 10:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 07:39:05
[end_date_ymd] => 2025-04-12 10:39:05
[RateCDR] => 1
)
[2025-04-12 10:39:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 07:39:05' and `end` < '2025-04-12 10:39:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 10:39:12] Production.ERROR: CronJobId end10
[2025-04-12 10:39:12] Production.INFO: ==17485== Releasing lock...
[2025-04-12 10:39:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 10:39:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 10:39:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 10:39:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 10:39:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 10:39:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 10:39:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 10:39:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 10:39:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 10:39:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 10:39:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 10:39:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 10:39:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 10:39:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 10:39:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 10:39:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 10:39:15] Production.INFO: call_cost start
[2025-04-12 10:39:15] Production.INFO: call_cost end
[2025-04-12 10:39:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 10:39:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 10:39:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 10:39:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 10:39:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 10:39:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 10:39:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 10:39:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 10:39:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 10:39:16] Production.INFO: ==17481== Releasing lock...
[2025-04-12 10:39:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 10:39:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 10:39:18] Production.INFO: count ==735
[2025-04-12 10:39:18] Production.ERROR: pbx CDR StartTime 2025-04-12 07:39:05 - End Time 2025-04-12 10:39:05
[2025-04-12 10:39:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 10:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891004', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891004', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891004', 'tblTempVendorCDR_20' ) start
[2025-04-12 10:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891004', 'tblTempVendorCDR_20' ) end
[2025-04-12 10:39:18] Production.INFO: ProcessCDR(1,14891004,1,1,2)
[2025-04-12 10:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891004,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:39:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891004,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:39:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891004,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:39:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891004,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891004', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891004', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:39:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 10:39:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 10:39:21] Production.INFO: ==17489== Releasing lock...
[2025-04-12 10:39:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 10:39:21] Production.INFO: 33.75 MB #Memory Used#
[2025-04-12 15:40:02] Production.INFO: ==17547== Lock acquired, processing the job...
[2025-04-12 15:40:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 15:40:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 15:40:02] Production.INFO: neon service started
[2025-04-12 15:40:02] Production.INFO: neon service started
[2025-04-12 15:40:02] Production.INFO: ==17547== Releasing lock...
[2025-04-12 15:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 15:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 14:40:03] Production.INFO: ==17551== Lock acquired, processing the job...
[2025-04-12 14:40:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 10:40:03] Production.INFO: ==17549== Lock acquired, processing the job...
[2025-04-12 10:40:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 14:40:03] Production.INFO: ==17551== Releasing lock...
[2025-04-12 14:40:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 14:40:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 10:40:03] Production.INFO: ==17549== Releasing lock...
[2025-04-12 10:40:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 10:40:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 10:40:04] Production.INFO: ==17554== Lock acquired, processing the job...
[2025-04-12 10:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 10:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 10:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 10:40:04] Production.INFO: ==17554== Releasing lock...
[2025-04-12 10:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 10:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 10:40:04] Production.INFO: ==17556== Lock acquired, processing the job...
[2025-04-12 10:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 10:40:04] Production.INFO: ==17558== Lock acquired, processing the job...
[2025-04-12 10:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 10:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 10:40:04] Production.INFO: ==17560== Lock acquired, processing the job...
[2025-04-12 10:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 10:40:04] Production.INFO: ==17562== Lock acquired, processing the job...
[2025-04-12 10:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 10:40:04] Production.INFO: Account Balance Start.
[2025-04-12 10:40:04] Production.INFO: CreateAllLog Start
[2025-04-12 10:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 10:40:04] Production.INFO: ==17564== Lock acquired, processing the job...
[2025-04-12 10:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 10:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 10:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 10:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 10:40:04] Production.INFO: 117
[2025-04-12 10:40:04] Production.INFO: Date 2025-04-08
[2025-04-12 10:40:04] Production.INFO: ==17566== Lock acquired, processing the job...
[2025-04-12 10:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 10:40:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:40:05] Production.INFO: ==17568== Lock acquired, processing the job...
[2025-04-12 10:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 10:40:05] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 10:40:05] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 10:40:05] Production.INFO: Date 2025-04-09
[2025-04-12 10:40:05] Production.INFO: Reseller ==> 0
[2025-04-12 10:40:05] Production.INFO: Date 2025-04-10
[2025-04-12 10:40:05] Production.INFO: Reseller ==> 0
[2025-04-12 10:40:05] Production.INFO: Date 2025-04-11
[2025-04-12 10:40:05] Production.INFO: Reseller ==> 0
[2025-04-12 10: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-12 10:40:05] Production.INFO: count ==12
[2025-04-12 10: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-12 10:40:05] Production.INFO: count ==23
[2025-04-12 10:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14891008') start
[2025-04-12 10:40:05] Production.INFO: Date 2025-04-12
[2025-04-12 10:40:05] Production.INFO: ==17558== Releasing lock...
[2025-04-12 10:40:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 10:40:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 10:40:05] Production.INFO: Reseller ==> 0
[2025-04-12 10:40:05] Production.INFO: Total Charge 0
[2025-04-12 10:40:05] Production.INFO: CreateAllLog End
[2025-04-12 10:40:05] Production.ERROR: done
[2025-04-12 10:40:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 10:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14891008') end
[2025-04-12 10:40:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 10:40:05] Production.INFO: 1
[2025-04-12 10:40:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 10:40:05] Production.INFO: ==17568== Releasing lock...
[2025-04-12 10:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 10:40:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 10:40:05] Production.ERROR: done
[2025-04-12 10:40:05] Production.ERROR: done
[2025-04-12 10:40:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 10:40:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14891009', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 10:40:05] Production.INFO: Account Balance End.
[2025-04-12 10:40:05] Production.ERROR: CronJobId end 12
[2025-04-12 10:40:05] Production.INFO: ==17562== Releasing lock...
[2025-04-12 10:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 10:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 10:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 07:40:06
[end_date_ymd] => 2025-04-12 10:40:06
[RateCDR] => 1
)
[2025-04-12 10:40:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 07:40:06' and `end` < '2025-04-12 10:40:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 10:40:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14891009', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 10:40:10] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 10:40:10] Production.INFO: ProcessCDR(1,14891009,1,1,2)
[2025-04-12 10:40:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14891009,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:40:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14891009,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:40:10] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 10:40:10] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 10:40:10] Production.INFO: ==17566== Releasing lock...
[2025-04-12 10:40:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 10:40:10] Production.INFO: 26 MB #Memory Used#
[2025-04-12 10:40:13] Production.ERROR: CronJobId end10
[2025-04-12 10:40:13] Production.INFO: ==17560== Releasing lock...
[2025-04-12 10:40:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 10:40:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 10:40:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 10:40:16] Production.INFO: ============== Balance Warning START===========
[2025-04-12 10:40:16] Production.INFO: ============== Balance Warning END===========
[2025-04-12 10:40:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 10:40:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 10:40:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 10:40:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 10:40:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 10:40:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 10:40:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 10:40:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 10:40:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 10:40:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 10:40:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 10:40:16] Production.INFO: call_cost start
[2025-04-12 10:40:16] Production.INFO: call_cost end
[2025-04-12 10:40:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 10:40:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 10:40:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 10:40:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 10:40:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 10:40:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 10:40:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 10:40:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 10:40:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 10:40:17] Production.INFO: ==17556== Releasing lock...
[2025-04-12 10:40:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 10:40:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 10:40:19] Production.INFO: count ==739
[2025-04-12 10:40:19] Production.ERROR: pbx CDR StartTime 2025-04-12 07:40:06 - End Time 2025-04-12 10:40:06
[2025-04-12 10:40:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 10:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891010', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891010', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891010', 'tblTempVendorCDR_20' ) start
[2025-04-12 10:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891010', 'tblTempVendorCDR_20' ) end
[2025-04-12 10:40:19] Production.INFO: ProcessCDR(1,14891010,1,1,2)
[2025-04-12 10:40:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891010,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:40:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891010,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:40:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891010,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:40:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891010,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:40:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891010', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:40:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891010', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:40:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 10:40:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 10:40:24] Production.INFO: ==17564== Releasing lock...
[2025-04-12 10:40:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 10:40:24] Production.INFO: 33.75 MB #Memory Used#
[2025-04-12 15:41:01] Production.INFO: ==17625== Lock acquired, processing the job...
[2025-04-12 15:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 15:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 15:41:01] Production.INFO: neon service started
[2025-04-12 15:41:01] Production.INFO: neon service started
[2025-04-12 15:41:01] Production.INFO: ==17625== Releasing lock...
[2025-04-12 15:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 15:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 14:41:02] Production.INFO: ==17629== Lock acquired, processing the job...
[2025-04-12 14:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 14:41:02] Production.INFO: ==17629== Releasing lock...
[2025-04-12 14:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 14:41:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 10:41:02] Production.INFO: ==17627== Lock acquired, processing the job...
[2025-04-12 10:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 10:41:02] Production.INFO: ==17627== Releasing lock...
[2025-04-12 10:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 10:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 10:41:03] Production.INFO: ==17634== Lock acquired, processing the job...
[2025-04-12 10:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 10:41:03] Production.INFO: ==17642== Lock acquired, processing the job...
[2025-04-12 10:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 10:41:03] Production.INFO: ==17632== Lock acquired, processing the job...
[2025-04-12 10:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 10:41:03] Production.INFO: ==17636== Lock acquired, processing the job...
[2025-04-12 10:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 10:41:03] Production.INFO: ==17638== Lock acquired, processing the job...
[2025-04-12 10:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 10:41:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 10:41:03] Production.INFO: ==17640== Lock acquired, processing the job...
[2025-04-12 10:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 10:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 10:41:03] Production.INFO: ==17634== Releasing lock...
[2025-04-12 10:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 10:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 10:41:03] Production.INFO: count ==12
[2025-04-12 10:41:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 10:41:03] Production.INFO: count ==23
[2025-04-12 10:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891012') start
[2025-04-12 10:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 10:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 10:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 10:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 10:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 10:41:04] Production.INFO: Account Balance Start.
[2025-04-12 10:41:04] Production.INFO: CreateAllLog Start
[2025-04-12 10:41:04] Production.INFO: 117
[2025-04-12 10:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891012') end
[2025-04-12 10:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 10:41:04] Production.INFO: 1
[2025-04-12 10:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 10:41:04] Production.INFO: Date 2025-04-08
[2025-04-12 10:41:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:41:04] Production.INFO: Date 2025-04-09
[2025-04-12 10:41:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:41:04] Production.INFO: Date 2025-04-10
[2025-04-12 10:41:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:41:04] Production.INFO: ==17642== Releasing lock...
[2025-04-12 10:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 10:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 10:41:04] Production.INFO: Date 2025-04-11
[2025-04-12 10:41:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:41:04] Production.INFO: Date 2025-04-12
[2025-04-12 10:41:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:41:04] Production.INFO: Total Charge 0
[2025-04-12 10:41:04] Production.INFO: CreateAllLog End
[2025-04-12 10:41:04] Production.ERROR: done
[2025-04-12 10:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 10:41:04] Production.ERROR: done
[2025-04-12 10:41:04] Production.INFO: Account Balance End.
[2025-04-12 10:41:04] Production.ERROR: CronJobId end 12
[2025-04-12 10:41:04] Production.INFO: ==17638== Releasing lock...
[2025-04-12 10:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 10:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 10:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 07:41:05
[end_date_ymd] => 2025-04-12 10:41:05
[RateCDR] => 1
)
[2025-04-12 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-12 07:41:05' and `end` < '2025-04-12 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-12 10:41:11] Production.ERROR: CronJobId end10
[2025-04-12 10:41:11] Production.INFO: ==17636== Releasing lock...
[2025-04-12 10:41:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 10:41:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 10:41:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 10:41:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 10:41:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 10:41:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 10:41:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 10:41:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 10:41:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 10:41:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 10:41:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 10:41:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 10:41:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 10:41:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 10:41:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 10:41:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 10:41:14] Production.INFO: call_cost start
[2025-04-12 10:41:14] Production.INFO: call_cost end
[2025-04-12 10:41:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 10:41:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 10:41:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 10:41:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 10:41:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 10:41:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 10:41:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 10:41:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 10:41:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 10:41:15] Production.INFO: ==17632== Releasing lock...
[2025-04-12 10:41:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 10:41:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 10:41:18] Production.INFO: count ==772
[2025-04-12 10:41:18] Production.ERROR: pbx CDR StartTime 2025-04-12 07:41:05 - End Time 2025-04-12 10:41:05
[2025-04-12 10:41:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 10:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891015', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891015', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891015', 'tblTempVendorCDR_20' ) start
[2025-04-12 10:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891015', 'tblTempVendorCDR_20' ) end
[2025-04-12 10:41:18] Production.INFO: ProcessCDR(1,14891015,1,1,2)
[2025-04-12 10:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891015,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:41:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891015,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:41:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891015,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:41:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891015,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:41:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891015', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:41:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891015', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:41:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 10:41:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 10:41:23] Production.INFO: ==17640== Releasing lock...
[2025-04-12 10:41:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 10:41:23] Production.INFO: 34.25 MB #Memory Used#
[2025-04-12 15:42:01] Production.INFO: ==17740== Lock acquired, processing the job...
[2025-04-12 15:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 15:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 15:42:01] Production.INFO: neon service started
[2025-04-12 15:42:01] Production.INFO: neon service started
[2025-04-12 15:42:01] Production.INFO: ==17740== Releasing lock...
[2025-04-12 15:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 15:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 10:42:01] Production.INFO: ==17742== Lock acquired, processing the job...
[2025-04-12 10:42:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 14:42:02] Production.INFO: ==17744== Lock acquired, processing the job...
[2025-04-12 14:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 14:42:02] Production.INFO: ==17744== Releasing lock...
[2025-04-12 14:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 14:42:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 10:42:02] Production.INFO: ==17742== Releasing lock...
[2025-04-12 10:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 10:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 10:42:02] Production.INFO: ==17749== Lock acquired, processing the job...
[2025-04-12 10:42:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 10:42:03] Production.INFO: ==17753== Lock acquired, processing the job...
[2025-04-12 10:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 10:42:03] Production.INFO: ==17747== Lock acquired, processing the job...
[2025-04-12 10:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 10:42:03] Production.INFO: ==17757== Lock acquired, processing the job...
[2025-04-12 10:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 10:42:03] Production.INFO: Account Balance Start.
[2025-04-12 10:42:03] Production.INFO: CreateAllLog Start
[2025-04-12 10:42:03] Production.INFO: 117
[2025-04-12 10:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 10:42:03] Production.INFO: Date 2025-04-08
[2025-04-12 10:42:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:42:03] Production.INFO: ==17755== Lock acquired, processing the job...
[2025-04-12 10:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 10:42:03] Production.INFO: ==17751== Lock acquired, processing the job...
[2025-04-12 10:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 10:42:03] Production.INFO: Date 2025-04-09
[2025-04-12 10:42:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:42:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 10:42:03] Production.INFO: Date 2025-04-10
[2025-04-12 10:42:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 10:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 10:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 10:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 10:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 10:42:03] Production.INFO: count ==12
[2025-04-12 10:42:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 10:42:03] Production.INFO: count ==23
[2025-04-12 10:42:03] Production.INFO: Date 2025-04-11
[2025-04-12 10:42:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891019') start
[2025-04-12 10:42:03] Production.INFO: Date 2025-04-12
[2025-04-12 10:42:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:42:03] Production.INFO: ==17749== Releasing lock...
[2025-04-12 10:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 10:42:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 10:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891019') end
[2025-04-12 10:42:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 10:42:03] Production.INFO: Total Charge 0
[2025-04-12 10:42:03] Production.INFO: 1
[2025-04-12 10:42:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 10:42:03] Production.INFO: ==17757== Releasing lock...
[2025-04-12 10:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 10:42:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 10:42:03] Production.INFO: CreateAllLog End
[2025-04-12 10:42:03] Production.ERROR: done
[2025-04-12 10:42:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 10:42:03] Production.ERROR: done
[2025-04-12 10:42:04] Production.INFO: Account Balance End.
[2025-04-12 10:42:04] Production.ERROR: CronJobId end 12
[2025-04-12 10:42:04] Production.INFO: ==17753== Releasing lock...
[2025-04-12 10:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 10:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 10:42:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 07:42:04
[end_date_ymd] => 2025-04-12 10:42:04
[RateCDR] => 1
)
[2025-04-12 10:42:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 07:42:04' and `end` < '2025-04-12 10:42:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 10:42:10] Production.ERROR: CronJobId end10
[2025-04-12 10:42:10] Production.INFO: ==17751== Releasing lock...
[2025-04-12 10:42:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 10:42:10] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 10:42:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 10:42:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 10:42:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 10:42:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 10:42:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 10:42:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 10:42:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 10:42:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 10:42:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 10:42:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 10:42:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 10:42:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 10:42:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 10:42:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 10:42:13] Production.INFO: call_cost start
[2025-04-12 10:42:13] Production.INFO: call_cost end
[2025-04-12 10:42:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 10:42:14] Production.INFO: ============== Report Schedule START===========
[2025-04-12 10:42:14] Production.INFO: ============== Report Schedule END===========
[2025-04-12 10:42:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 10:42:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 10:42:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 10:42:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 10:42:14] Production.INFO: ============== Deal alert START===========
[2025-04-12 10:42:14] Production.INFO: ============== Deal alert END===========
[2025-04-12 10:42:14] Production.INFO: ==17747== Releasing lock...
[2025-04-12 10:42:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 10:42:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 10:42:17] Production.INFO: count ==773
[2025-04-12 10:42:18] Production.ERROR: pbx CDR StartTime 2025-04-12 07:42:04 - End Time 2025-04-12 10:42:04
[2025-04-12 10:42:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 10:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891020', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891020', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891020', 'tblTempVendorCDR_20' ) start
[2025-04-12 10:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891020', 'tblTempVendorCDR_20' ) end
[2025-04-12 10:42:18] Production.INFO: ProcessCDR(1,14891020,1,1,2)
[2025-04-12 10:42:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891020,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:42:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891020,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:42:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891020,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:42:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891020,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:42:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891020', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:42:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891020', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:42:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 10:42:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 10:42:23] Production.INFO: ==17755== Releasing lock...
[2025-04-12 10:42:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 10:42:23] Production.INFO: 34.5 MB #Memory Used#
[2025-04-12 15:43:01] Production.INFO: ==17815== Lock acquired, processing the job...
[2025-04-12 15:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 15:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 15:43:01] Production.INFO: neon service started
[2025-04-12 15:43:01] Production.INFO: neon service started
[2025-04-12 15:43:01] Production.INFO: ==17815== Releasing lock...
[2025-04-12 15:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 15:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 10:43:02] Production.INFO: ==17817== Lock acquired, processing the job...
[2025-04-12 10:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 10:43:02] Production.INFO: ==17817== Releasing lock...
[2025-04-12 10:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 10:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 14:43:02] Production.INFO: ==17819== Lock acquired, processing the job...
[2025-04-12 14:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 14:43:02] Production.INFO: ==17819== Releasing lock...
[2025-04-12 14:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 14:43:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 10:43:03] Production.INFO: ==17829== Lock acquired, processing the job...
[2025-04-12 10:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 10:43:03] Production.INFO: ==17821== Lock acquired, processing the job...
[2025-04-12 10:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 10:43:03] Production.INFO: ==17831== Lock acquired, processing the job...
[2025-04-12 10:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 10:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 10:43:03] Production.INFO: ==17823== Lock acquired, processing the job...
[2025-04-12 10:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 10:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 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-12 10:43:03] Production.INFO: count ==12
[2025-04-12 10:43:03] Production.INFO: ==17825== Lock acquired, processing the job...
[2025-04-12 10:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 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-12 10:43:03] Production.INFO: count ==23
[2025-04-12 10:43:03] Production.INFO: ==17827== Lock acquired, processing the job...
[2025-04-12 10:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 10:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891021') start
[2025-04-12 10:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891021') end
[2025-04-12 10:43:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 10:43:03] Production.INFO: 1
[2025-04-12 10:43:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 10:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 10:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 10:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 10:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 10:43:03] Production.ERROR: done
[2025-04-12 10:43:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 10:43:03] Production.INFO: Account Balance Start.
[2025-04-12 10:43:03] Production.INFO: CreateAllLog Start
[2025-04-12 10:43:03] Production.INFO: 117
[2025-04-12 10:43:03] Production.INFO: ==17831== Releasing lock...
[2025-04-12 10:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 10:43:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 10:43:03] Production.INFO: Date 2025-04-08
[2025-04-12 10:43:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:43:04] Production.INFO: Date 2025-04-09
[2025-04-12 10:43:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:43:04] Production.ERROR: done
[2025-04-12 10:43:04] Production.INFO: Date 2025-04-10
[2025-04-12 10:43:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:43:04] Production.INFO: Date 2025-04-11
[2025-04-12 10:43:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:43:04] Production.INFO: Date 2025-04-12
[2025-04-12 10:43:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:43:04] Production.INFO: ==17823== Releasing lock...
[2025-04-12 10:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 10:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 10:43:04] Production.INFO: Total Charge 0
[2025-04-12 10:43:04] Production.INFO: CreateAllLog End
[2025-04-12 10:43:04] Production.INFO: Account Balance End.
[2025-04-12 10:43:04] Production.ERROR: CronJobId end 12
[2025-04-12 10:43:04] Production.INFO: ==17827== Releasing lock...
[2025-04-12 10:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 10:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 10:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 07:43:05
[end_date_ymd] => 2025-04-12 10:43:05
[RateCDR] => 1
)
[2025-04-12 10:43:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 07:43:05' and `end` < '2025-04-12 10:43:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 10:43:12] Production.ERROR: CronJobId end10
[2025-04-12 10:43:12] Production.INFO: ==17825== Releasing lock...
[2025-04-12 10:43:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 10:43:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 10:43:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 10:43:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 10:43:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 10:43:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 10:43:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 10:43:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 10:43:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 10:43:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 10:43:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 10:43:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 10:43:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 10:43:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 10:43:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 10:43:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 10:43:15] Production.INFO: call_cost start
[2025-04-12 10:43:15] Production.INFO: call_cost end
[2025-04-12 10:43:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 10:43:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 10:43:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 10:43:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 10:43:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 10:43:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 10:43:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 10:43:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 10:43:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 10:43:16] Production.INFO: ==17821== Releasing lock...
[2025-04-12 10:43:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 10:43:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 10:43:18] Production.INFO: count ==774
[2025-04-12 10:43:18] Production.ERROR: pbx CDR StartTime 2025-04-12 07:43:05 - End Time 2025-04-12 10:43:05
[2025-04-12 10:43:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 10:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891025', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891025', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891025', 'tblTempVendorCDR_20' ) start
[2025-04-12 10:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891025', 'tblTempVendorCDR_20' ) end
[2025-04-12 10:43:18] Production.INFO: ProcessCDR(1,14891025,1,1,2)
[2025-04-12 10:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891025,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:43:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891025,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:43:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891025,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:43:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891025,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:43:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891025', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:43:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891025', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:43:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 10:43:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 10:43:23] Production.INFO: ==17829== Releasing lock...
[2025-04-12 10:43:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 10:43:23] Production.INFO: 34.25 MB #Memory Used#
[2025-04-12 15:44:02] Production.INFO: ==17887== Lock acquired, processing the job...
[2025-04-12 15:44:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 15:44:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 15:44:02] Production.INFO: neon service started
[2025-04-12 15:44:02] Production.INFO: neon service started
[2025-04-12 15:44:02] Production.INFO: ==17887== Releasing lock...
[2025-04-12 15:44:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 15:44:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 10:44:02] Production.INFO: ==17889== Lock acquired, processing the job...
[2025-04-12 10:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 10:44:02] Production.INFO: ==17889== Releasing lock...
[2025-04-12 10:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 10:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 14:44:03] Production.INFO: ==17891== Lock acquired, processing the job...
[2025-04-12 14:44:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 14:44:03] Production.INFO: ==17891== Releasing lock...
[2025-04-12 14:44:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 14:44:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 10:44:03] Production.INFO: ==17894== Lock acquired, processing the job...
[2025-04-12 10:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 10:44:04] Production.INFO: ==17898== Lock acquired, processing the job...
[2025-04-12 10:44:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 10:44:04] Production.INFO: ==17902== Lock acquired, processing the job...
[2025-04-12 10:44:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 10:44:04] Production.INFO: ==17896== Lock acquired, processing the job...
[2025-04-12 10:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 10:44:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 10:44:04] Production.INFO: ==17900== Lock acquired, processing the job...
[2025-04-12 10:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 10:44:04] Production.INFO: ==17904== Lock acquired, processing the job...
[2025-04-12 10:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 10:44:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 10:44:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 10:44:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 10:44:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 10:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 10:44:04] Production.INFO: Account Balance Start.
[2025-04-12 10:44:04] Production.INFO: CreateAllLog Start
[2025-04-12 10:44:04] Production.INFO: 117
[2025-04-12 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-12 10:44:04] Production.INFO: Date 2025-04-08
[2025-04-12 10:44:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:44:04] Production.INFO: count ==12
[2025-04-12 10:44:04] Production.INFO: Date 2025-04-09
[2025-04-12 10:44:04] Production.INFO: Reseller ==> 0
[2025-04-12 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-12 10:44:04] Production.INFO: count ==23
[2025-04-12 10:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891029') start
[2025-04-12 10:44:04] Production.INFO: ==17896== Releasing lock...
[2025-04-12 10:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 10:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 10:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891029') end
[2025-04-12 10:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 10:44:04] Production.INFO: 1
[2025-04-12 10:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 10:44:04] Production.INFO: ==17904== Releasing lock...
[2025-04-12 10:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 10:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 10:44:04] Production.INFO: Date 2025-04-10
[2025-04-12 10:44:04] Production.ERROR: done
[2025-04-12 10:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 10:44:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:44:04] Production.ERROR: done
[2025-04-12 10:44:04] Production.INFO: Date 2025-04-11
[2025-04-12 10:44:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:44:04] Production.INFO: Date 2025-04-12
[2025-04-12 10:44:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:44:04] Production.INFO: Total Charge 0
[2025-04-12 10:44:04] Production.INFO: CreateAllLog End
[2025-04-12 10:44:05] Production.INFO: Account Balance End.
[2025-04-12 10:44:05] Production.ERROR: CronJobId end 12
[2025-04-12 10:44:05] Production.INFO: ==17900== Releasing lock...
[2025-04-12 10:44:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 10:44:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 10:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 07:44:05
[end_date_ymd] => 2025-04-12 10:44:05
[RateCDR] => 1
)
[2025-04-12 10:44:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 07:44:05' and `end` < '2025-04-12 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-12 10:44:12] Production.ERROR: CronJobId end10
[2025-04-12 10:44:12] Production.INFO: ==17898== Releasing lock...
[2025-04-12 10:44:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 10:44:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 10:44:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 10:44:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 10:44:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 10:44:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 10:44:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 10:44:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 10:44:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 10:44:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 10:44:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 10:44:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 10:44:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 10:44:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 10:44:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 10:44:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 10:44:15] Production.INFO: call_cost start
[2025-04-12 10:44:15] Production.INFO: call_cost end
[2025-04-12 10:44:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 10:44:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 10:44:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 10:44:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 10:44:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 10:44:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 10:44:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 10:44:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 10:44:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 10:44:16] Production.INFO: ==17894== Releasing lock...
[2025-04-12 10:44:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 10:44:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 10:44:18] Production.INFO: count ==775
[2025-04-12 10:44:18] Production.ERROR: pbx CDR StartTime 2025-04-12 07:44:05 - End Time 2025-04-12 10:44:05
[2025-04-12 10:44:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 10:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891030', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891030', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891030', 'tblTempVendorCDR_20' ) start
[2025-04-12 10:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891030', 'tblTempVendorCDR_20' ) end
[2025-04-12 10:44:19] Production.INFO: ProcessCDR(1,14891030,1,1,2)
[2025-04-12 10:44:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891030,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:44:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891030,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:44:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891030,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:44:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891030,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:44:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891030', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:44:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891030', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:44:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 10:44:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 10:44:23] Production.INFO: ==17902== Releasing lock...
[2025-04-12 10:44:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 10:44:23] Production.INFO: 34 MB #Memory Used#
[2025-04-12 15:45:01] Production.INFO: ==17966== Lock acquired, processing the job...
[2025-04-12 15:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 15:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 15:45:01] Production.INFO: neon service started
[2025-04-12 15:45:01] Production.INFO: neon service started
[2025-04-12 15:45:01] Production.INFO: ==17966== Releasing lock...
[2025-04-12 15:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 15:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 14:45:02] Production.INFO: ==17970== Lock acquired, processing the job...
[2025-04-12 14:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 14:45:02] Production.INFO: ==17970== Releasing lock...
[2025-04-12 14:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 14:45:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 10:45:02] Production.INFO: ==17968== Lock acquired, processing the job...
[2025-04-12 10:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 10:45:02] Production.INFO: ==17968== Releasing lock...
[2025-04-12 10:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 10:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 10:45:03] Production.INFO: ==17973== Lock acquired, processing the job...
[2025-04-12 10:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 10:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 10:45:03] Production.INFO: ==17975== Lock acquired, processing the job...
[2025-04-12 10:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 10:45:03] Production.INFO: ==17979== Lock acquired, processing the job...
[2025-04-12 10:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 10:45:03] Production.INFO: ==17977== Lock acquired, processing the job...
[2025-04-12 10:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 10:45:03] Production.INFO: Account Balance Start.
[2025-04-12 10:45:03] Production.INFO: CreateAllLog Start
[2025-04-12 10:45:03] Production.INFO: 117
[2025-04-12 10:45:03] Production.INFO: ==17975== Releasing lock...
[2025-04-12 10:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 10:45:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 10:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 10:45:03] Production.INFO: Date 2025-04-08
[2025-04-12 10:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 10:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 10:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 10:45:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:45:03] Production.INFO: Date 2025-04-09
[2025-04-12 10:45:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:45:03] Production.INFO: Date 2025-04-10
[2025-04-12 10:45:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:45:03] Production.INFO: ==17983== Lock acquired, processing the job...
[2025-04-12 10:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 10:45:03] Production.INFO: Date 2025-04-11
[2025-04-12 10:45:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:45:03] Production.INFO: ==17981== Lock acquired, processing the job...
[2025-04-12 10:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 10:45:03] Production.INFO: Date 2025-04-12
[2025-04-12 10:45:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:45:04] Production.INFO: Total Charge 0
[2025-04-12 10:45:04] Production.INFO: CreateAllLog End
[2025-04-12 10:45:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 10:45:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 10:45:04] Production.INFO: count ==12
[2025-04-12 10:45:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 10:45:04] Production.INFO: count ==23
[2025-04-12 10:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891034') start
[2025-04-12 10:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891034') end
[2025-04-12 10:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 10:45:04] Production.INFO: 1
[2025-04-12 10:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 10:45:04] Production.INFO: ==17983== Releasing lock...
[2025-04-12 10:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 10:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 10:45:04] Production.INFO: Account Balance End.
[2025-04-12 10:45:04] Production.ERROR: done
[2025-04-12 10:45:04] Production.ERROR: CronJobId end 12
[2025-04-12 10:45:04] Production.INFO: ==17979== Releasing lock...
[2025-04-12 10:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 10:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 10:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 10:45:04] Production.ERROR: done
[2025-04-12 10:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 07:45:05
[end_date_ymd] => 2025-04-12 10:45:05
[RateCDR] => 1
)
[2025-04-12 10:45:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 07:45:05' and `end` < '2025-04-12 10:45:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 10:45:13] Production.ERROR: CronJobId end10
[2025-04-12 10:45:13] Production.INFO: ==17977== Releasing lock...
[2025-04-12 10:45:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 10:45:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 10:45:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 10:45:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 10:45:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 10:45:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 10:45:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 10:45:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 10:45:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 10:45:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 10:45:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 10:45:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 10:45:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 10:45:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 10:45:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 10:45:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 10:45:15] Production.INFO: call_cost start
[2025-04-12 10:45:15] Production.INFO: call_cost end
[2025-04-12 10:45:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 10:45:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 10:45:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 10:45:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 10:45:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 10:45:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 10:45:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 10:45:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 10:45:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 10:45:16] Production.INFO: ==17973== Releasing lock...
[2025-04-12 10:45:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 10:45:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 10:45:18] Production.INFO: count ==780
[2025-04-12 10:45:18] Production.ERROR: pbx CDR StartTime 2025-04-12 07:45:05 - End Time 2025-04-12 10:45:05
[2025-04-12 10:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 10:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891035', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891035', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891035', 'tblTempVendorCDR_20' ) start
[2025-04-12 10:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891035', 'tblTempVendorCDR_20' ) end
[2025-04-12 10:45:18] Production.INFO: ProcessCDR(1,14891035,1,1,2)
[2025-04-12 10:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891035,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:45:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891035,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:45:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891035,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:45:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891035,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:45:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891035', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:45:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891035', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:45:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 10:45:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 10:45:23] Production.INFO: ==17981== Releasing lock...
[2025-04-12 10:45:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 10:45:23] Production.INFO: 34.25 MB #Memory Used#
[2025-04-12 15:46:02] Production.INFO: ==18037== Lock acquired, processing the job...
[2025-04-12 15:46:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 15:46:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 15:46:02] Production.INFO: neon service started
[2025-04-12 15:46:02] Production.INFO: neon service started
[2025-04-12 15:46:02] Production.INFO: ==18037== Releasing lock...
[2025-04-12 15:46:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 15:46:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 14:46:02] Production.INFO: ==18041== Lock acquired, processing the job...
[2025-04-12 14:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 14:46:02] Production.INFO: ==18041== Releasing lock...
[2025-04-12 14:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 14:46:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 10:46:02] Production.INFO: ==18039== Lock acquired, processing the job...
[2025-04-12 10:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 10:46:03] Production.INFO: ==18039== Releasing lock...
[2025-04-12 10:46:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 10:46:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 10:46:03] Production.INFO: ==18047== Lock acquired, processing the job...
[2025-04-12 10:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 10:46:03] Production.INFO: ==18049== Lock acquired, processing the job...
[2025-04-12 10:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 10:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 10:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 10:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 10:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 10:46:03] Production.INFO: ==18051== Lock acquired, processing the job...
[2025-04-12 10:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 10:46:04] Production.INFO: Account Balance Start.
[2025-04-12 10:46:04] Production.INFO: CreateAllLog Start
[2025-04-12 10:46:04] Production.INFO: 117
[2025-04-12 10:46:04] Production.INFO: Date 2025-04-08
[2025-04-12 10:46:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 10:46:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:46:04] Production.INFO: Date 2025-04-09
[2025-04-12 10:46:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:46:04] Production.INFO: Date 2025-04-10
[2025-04-12 10:46:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:46:04] Production.INFO: Date 2025-04-11
[2025-04-12 10:46:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:46:04] Production.INFO: Date 2025-04-12
[2025-04-12 10:46:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:46:04] Production.INFO: ==18043== Lock acquired, processing the job...
[2025-04-12 10:46:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 10:46:04] Production.INFO: Total Charge 0
[2025-04-12 10:46:04] Production.INFO: ==18045== Lock acquired, processing the job...
[2025-04-12 10:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 10:46:04] Production.INFO: CreateAllLog End
[2025-04-12 10:46:04] Production.INFO: ==18053== Lock acquired, processing the job...
[2025-04-12 10:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 10:46:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 10:46:04] Production.ERROR: done
[2025-04-12 10:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 10:46:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 10:46:04] Production.INFO: Account Balance End.
[2025-04-12 10:46:04] Production.INFO: count ==12
[2025-04-12 10:46:04] Production.ERROR: CronJobId end 12
[2025-04-12 10:46:04] Production.INFO: ==18049== Releasing lock...
[2025-04-12 10:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 10:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 10:46:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 10:46:04] Production.INFO: count ==23
[2025-04-12 10:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891039') start
[2025-04-12 10:46:04] Production.ERROR: done
[2025-04-12 10:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891039') end
[2025-04-12 10:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 10:46:04] Production.INFO: 1
[2025-04-12 10:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 10:46:04] Production.INFO: ==18045== Releasing lock...
[2025-04-12 10:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 10:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 10:46:04] Production.INFO: ==18053== Releasing lock...
[2025-04-12 10:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 10:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 10:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 07:46:05
[end_date_ymd] => 2025-04-12 10:46:05
[RateCDR] => 1
)
[2025-04-12 10:46:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 07:46:05' and `end` < '2025-04-12 10:46:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 10:46:12] Production.ERROR: CronJobId end10
[2025-04-12 10:46:12] Production.INFO: ==18047== Releasing lock...
[2025-04-12 10:46:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 10:46:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 10:46:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 10:46:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 10:46:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 10:46:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 10:46:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 10:46:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 10:46:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 10:46:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 10:46:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 10:46:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 10:46:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 10:46:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 10:46:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 10:46:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 10:46:15] Production.INFO: call_cost start
[2025-04-12 10:46:15] Production.INFO: call_cost end
[2025-04-12 10:46:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 10:46:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 10:46:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 10:46:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 10:46:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 10:46:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 10:46:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 10:46:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 10:46:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 10:46:16] Production.INFO: ==18043== Releasing lock...
[2025-04-12 10:46:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 10:46:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 10:46:18] Production.INFO: count ==781
[2025-04-12 10:46:19] Production.ERROR: pbx CDR StartTime 2025-04-12 07:46:05 - End Time 2025-04-12 10:46:05
[2025-04-12 10:46:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 10:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891040', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891040', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891040', 'tblTempVendorCDR_20' ) start
[2025-04-12 10:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891040', 'tblTempVendorCDR_20' ) end
[2025-04-12 10:46:19] Production.INFO: ProcessCDR(1,14891040,1,1,2)
[2025-04-12 10:46:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891040,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:46:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891040,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:46:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891040,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:46:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891040,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:46:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891040', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:46:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891040', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:46:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 10:46:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 10:46:24] Production.INFO: ==18051== Releasing lock...
[2025-04-12 10:46:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 10:46:24] Production.INFO: 34.25 MB #Memory Used#
[2025-04-12 15:47:01] Production.INFO: ==18117== Lock acquired, processing the job...
[2025-04-12 15:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 15:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 15:47:01] Production.INFO: neon service started
[2025-04-12 15:47:01] Production.INFO: neon service started
[2025-04-12 15:47:01] Production.INFO: ==18117== Releasing lock...
[2025-04-12 15:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 15:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 14:47:02] Production.INFO: ==18121== Lock acquired, processing the job...
[2025-04-12 14:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 14:47:02] Production.INFO: ==18121== Releasing lock...
[2025-04-12 14:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 14:47:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 10:47:02] Production.INFO: ==18119== Lock acquired, processing the job...
[2025-04-12 10:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 10:47:02] Production.INFO: ==18119== Releasing lock...
[2025-04-12 10:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 10:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 10:47:03] Production.INFO: ==18123== Lock acquired, processing the job...
[2025-04-12 10:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 10:47:03] Production.INFO: ==18125== Lock acquired, processing the job...
[2025-04-12 10:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 10:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 10:47:03] Production.INFO: ==18129== Lock acquired, processing the job...
[2025-04-12 10:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 10:47:03] Production.INFO: Account Balance Start.
[2025-04-12 10:47:03] Production.INFO: CreateAllLog Start
[2025-04-12 10:47:03] Production.INFO: 117
[2025-04-12 10:47:03] Production.INFO: Date 2025-04-08
[2025-04-12 10:47:03] Production.INFO: ==18127== Lock acquired, processing the job...
[2025-04-12 10:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 10:47:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:47:03] Production.INFO: Date 2025-04-09
[2025-04-12 10:47:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:47:03] Production.INFO: Date 2025-04-10
[2025-04-12 10:47:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 10:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 10:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 10:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 10:47:03] Production.INFO: Date 2025-04-11
[2025-04-12 10:47:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:47:03] Production.INFO: ==18131== Lock acquired, processing the job...
[2025-04-12 10:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 10:47:03] Production.INFO: Date 2025-04-12
[2025-04-12 10:47:03] Production.INFO: ==18133== Lock acquired, processing the job...
[2025-04-12 10:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 10:47:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:47:03] Production.INFO: Total Charge 0
[2025-04-12 10:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 10:47:03] Production.INFO: CreateAllLog End
[2025-04-12 10:47:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 10:47:03] Production.INFO: count ==12
[2025-04-12 10:47:03] Production.INFO: ==18125== Releasing lock...
[2025-04-12 10:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 10:47:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 10: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-12 10:47:03] Production.INFO: count ==23
[2025-04-12 10:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891044') start
[2025-04-12 10:47:04] Production.INFO: Account Balance End.
[2025-04-12 10:47:04] Production.ERROR: CronJobId end 12
[2025-04-12 10:47:04] Production.INFO: ==18129== Releasing lock...
[2025-04-12 10:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 10:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 10:47:04] Production.ERROR: done
[2025-04-12 10:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 10:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891044') end
[2025-04-12 10:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 10:47:04] Production.INFO: 1
[2025-04-12 10:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 10:47:04] Production.INFO: ==18133== Releasing lock...
[2025-04-12 10:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 10:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 10:47:04] Production.ERROR: done
[2025-04-12 10:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 07:47:05
[end_date_ymd] => 2025-04-12 10:47:05
[RateCDR] => 1
)
[2025-04-12 10:47:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 07:47:05' and `end` < '2025-04-12 10:47:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 10:47:12] Production.ERROR: CronJobId end10
[2025-04-12 10:47:12] Production.INFO: ==18127== Releasing lock...
[2025-04-12 10:47:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 10:47:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 10:47:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 10:47:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 10:47:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 10:47:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 10:47:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 10:47:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 10:47:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 10:47:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 10:47:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 10:47:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 10:47:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 10:47:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 10:47:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 10:47:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 10:47:14] Production.INFO: call_cost start
[2025-04-12 10:47:14] Production.INFO: call_cost end
[2025-04-12 10:47:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 10:47:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 10:47:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 10:47:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 10:47:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 10:47:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 10:47:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 10:47:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 10:47:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 10:47:15] Production.INFO: ==18123== Releasing lock...
[2025-04-12 10:47:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 10:47:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 10:47:18] Production.INFO: count ==783
[2025-04-12 10:47:18] Production.ERROR: pbx CDR StartTime 2025-04-12 07:47:05 - End Time 2025-04-12 10:47:05
[2025-04-12 10:47:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 10:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891045', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891045', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891045', 'tblTempVendorCDR_20' ) start
[2025-04-12 10:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891045', 'tblTempVendorCDR_20' ) end
[2025-04-12 10:47:18] Production.INFO: ProcessCDR(1,14891045,1,1,2)
[2025-04-12 10:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891045,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:47:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891045,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:47:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891045,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:47:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891045,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:47:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891045', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:47:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891045', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:47:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 10:47:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 10:47:23] Production.INFO: ==18131== Releasing lock...
[2025-04-12 10:47:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 10:47:23] Production.INFO: 34.5 MB #Memory Used#
[2025-04-12 15:48:02] Production.INFO: ==18198== Lock acquired, processing the job...
[2025-04-12 15:48:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 15:48:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 15:48:02] Production.INFO: neon service started
[2025-04-12 15:48:02] Production.INFO: neon service started
[2025-04-12 15:48:02] Production.INFO: ==18198== Releasing lock...
[2025-04-12 15:48:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 15:48:02] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 10:48:02] Production.INFO: ==18201== Lock acquired, processing the job...
[2025-04-12 10:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 14:48:02] Production.INFO: ==18203== Lock acquired, processing the job...
[2025-04-12 14:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 10:48:02] Production.INFO: ==18201== Releasing lock...
[2025-04-12 10:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 10:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 14:48:02] Production.INFO: ==18203== Releasing lock...
[2025-04-12 14:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 14:48:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 10:48:03] Production.INFO: ==18205== Lock acquired, processing the job...
[2025-04-12 10:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 10:48:03] Production.INFO: ==18210== Lock acquired, processing the job...
[2025-04-12 10:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 10:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 10:48:03] Production.INFO: ==18214== Lock acquired, processing the job...
[2025-04-12 10:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 10:48:03] Production.INFO: ==18207== Lock acquired, processing the job...
[2025-04-12 10:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 10:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 10:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 10:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 10:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 10:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 10:48:03] Production.INFO: ==18212== Lock acquired, processing the job...
[2025-04-12 10:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 10:48:04] Production.INFO: ==18216== Lock acquired, processing the job...
[2025-04-12 10:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 10:48:04] Production.INFO: Account Balance Start.
[2025-04-12 10:48:04] Production.INFO: CreateAllLog Start
[2025-04-12 10:48:04] Production.INFO: 117
[2025-04-12 10:48:04] Production.INFO: Date 2025-04-08
[2025-04-12 10:48:04] Production.ERROR: done
[2025-04-12 10:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 10:48:04] Production.INFO: Reseller ==> 0
[2025-04-12 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-12 10:48:04] Production.INFO: count ==12
[2025-04-12 10:48:04] Production.ERROR: done
[2025-04-12 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-12 10:48:04] Production.INFO: count ==23
[2025-04-12 10:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891049') start
[2025-04-12 10:48:04] Production.INFO: Date 2025-04-09
[2025-04-12 10:48:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:48:04] Production.INFO: Date 2025-04-10
[2025-04-12 10:48:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:48:04] Production.INFO: Date 2025-04-11
[2025-04-12 10:48:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891049') end
[2025-04-12 10:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 10:48:04] Production.INFO: 1
[2025-04-12 10:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 10:48:04] Production.INFO: ==18216== Releasing lock...
[2025-04-12 10:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 10:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 10:48:04] Production.INFO: ==18207== Releasing lock...
[2025-04-12 10:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 10:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 10:48:04] Production.INFO: Date 2025-04-12
[2025-04-12 10:48:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:48:04] Production.INFO: Total Charge 0
[2025-04-12 10:48:04] Production.INFO: CreateAllLog End
[2025-04-12 10:48:04] Production.INFO: Account Balance End.
[2025-04-12 10:48:04] Production.ERROR: CronJobId end 12
[2025-04-12 10:48:04] Production.INFO: ==18212== Releasing lock...
[2025-04-12 10:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 10:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 10:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 07:48:05
[end_date_ymd] => 2025-04-12 10:48:05
[RateCDR] => 1
)
[2025-04-12 10:48:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 07:48:05' and `end` < '2025-04-12 10:48:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 10:48:11] Production.ERROR: CronJobId end10
[2025-04-12 10:48:11] Production.INFO: ==18210== Releasing lock...
[2025-04-12 10:48:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 10:48:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 10:48:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 10:48:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 10:48:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 10:48:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 10:48:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 10:48:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 10:48:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 10:48:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 10:48:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 10:48:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 10:48:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 10:48:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 10:48:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 10:48:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 10:48:14] Production.INFO: call_cost start
[2025-04-12 10:48:14] Production.INFO: call_cost end
[2025-04-12 10:48:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 10:48:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 10:48:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 10:48:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 10:48:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 10:48:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 10:48:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 10:48:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 10:48:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 10:48:15] Production.INFO: ==18205== Releasing lock...
[2025-04-12 10:48:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 10:48:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 10:48:18] Production.INFO: count ==785
[2025-04-12 10:48:18] Production.ERROR: pbx CDR StartTime 2025-04-12 07:48:05 - End Time 2025-04-12 10:48:05
[2025-04-12 10:48:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 10:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891050', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891050', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891050', 'tblTempVendorCDR_20' ) start
[2025-04-12 10:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891050', 'tblTempVendorCDR_20' ) end
[2025-04-12 10:48:18] Production.INFO: ProcessCDR(1,14891050,1,1,2)
[2025-04-12 10:48:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891050,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:48:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891050,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:48:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891050,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:48:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891050,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:48:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891050', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:48:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891050', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:48:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 10:48:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 10:48:23] Production.INFO: ==18214== Releasing lock...
[2025-04-12 10:48:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 10:48:23] Production.INFO: 34.5 MB #Memory Used#
[2025-04-12 15:49:01] Production.INFO: ==18276== Lock acquired, processing the job...
[2025-04-12 15:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 15:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 15:49:01] Production.INFO: neon service started
[2025-04-12 15:49:01] Production.INFO: neon service started
[2025-04-12 15:49:01] Production.INFO: ==18276== Releasing lock...
[2025-04-12 15:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 15:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 10:49:02] Production.INFO: ==18278== Lock acquired, processing the job...
[2025-04-12 10:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 14:49:02] Production.INFO: ==18280== Lock acquired, processing the job...
[2025-04-12 14:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 14:49:02] Production.INFO: ==18280== Releasing lock...
[2025-04-12 14:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 14:49:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 10:49:02] Production.INFO: ==18278== Releasing lock...
[2025-04-12 10:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 10:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 10:49:03] Production.INFO: ==18283== Lock acquired, processing the job...
[2025-04-12 10:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 10:49:03] Production.INFO: ==18285== Lock acquired, processing the job...
[2025-04-12 10:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 10:49:03] Production.INFO: ==18287== Lock acquired, processing the job...
[2025-04-12 10:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 10:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 10:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 10:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 10:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 10:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 10:49:03] Production.INFO: ==18289== Lock acquired, processing the job...
[2025-04-12 10:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 10:49:03] Production.INFO: ==18291== Lock acquired, processing the job...
[2025-04-12 10:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 10:49:03] Production.INFO: Account Balance Start.
[2025-04-12 10:49:03] Production.INFO: CreateAllLog Start
[2025-04-12 10:49:03] Production.INFO: 117
[2025-04-12 10:49:03] Production.INFO: Date 2025-04-08
[2025-04-12 10:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 10:49:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:49:03] Production.INFO: Date 2025-04-09
[2025-04-12 10:49:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:49:03] Production.INFO: Date 2025-04-10
[2025-04-12 10:49:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:49:03] Production.INFO: ==18293== Lock acquired, processing the job...
[2025-04-12 10:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 10:49:03] Production.INFO: Date 2025-04-11
[2025-04-12 10:49:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:49:03] Production.INFO: Date 2025-04-12
[2025-04-12 10:49:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:49:03] Production.INFO: Total Charge 0
[2025-04-12 10:49:03] Production.INFO: ==18285== Releasing lock...
[2025-04-12 10:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 10:49:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 10:49:03] Production.INFO: CreateAllLog End
[2025-04-12 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-12 10:49:04] Production.INFO: count ==12
[2025-04-12 10:49:04] Production.ERROR: done
[2025-04-12 10:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 10:49:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 10:49:04] Production.INFO: count ==23
[2025-04-12 10:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891054') start
[2025-04-12 10:49:04] Production.INFO: Account Balance End.
[2025-04-12 10:49:04] Production.ERROR: done
[2025-04-12 10:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891054') end
[2025-04-12 10:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 10:49:04] Production.INFO: 1
[2025-04-12 10:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 10:49:04] Production.ERROR: CronJobId end 12
[2025-04-12 10:49:04] Production.INFO: ==18289== Releasing lock...
[2025-04-12 10:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 10:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 10:49:04] Production.INFO: ==18293== Releasing lock...
[2025-04-12 10:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 10:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 10:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 07:49:05
[end_date_ymd] => 2025-04-12 10:49:05
[RateCDR] => 1
)
[2025-04-12 10:49:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 07:49:05' and `end` < '2025-04-12 10:49:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 10:49:11] Production.ERROR: CronJobId end10
[2025-04-12 10:49:11] Production.INFO: ==18287== Releasing lock...
[2025-04-12 10:49:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 10:49:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 10:49:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 10:49:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 10:49:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 10:49:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 10:49:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 10:49:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 10:49:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 10:49:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 10:49:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 10:49:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 10:49:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 10:49:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 10:49:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 10:49:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 10:49:14] Production.INFO: call_cost start
[2025-04-12 10:49:14] Production.INFO: call_cost end
[2025-04-12 10:49:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 10:49:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 10:49:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 10:49:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 10:49:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 10:49:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 10:49:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 10:49:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 10:49:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 10:49:15] Production.INFO: ==18283== Releasing lock...
[2025-04-12 10:49:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 10:49:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 10:49:18] Production.INFO: count ==786
[2025-04-12 10:49:18] Production.ERROR: pbx CDR StartTime 2025-04-12 07:49:05 - End Time 2025-04-12 10:49:05
[2025-04-12 10:49:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 10:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891055', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891055', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891055', 'tblTempVendorCDR_20' ) start
[2025-04-12 10:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891055', 'tblTempVendorCDR_20' ) end
[2025-04-12 10:49:18] Production.INFO: ProcessCDR(1,14891055,1,1,2)
[2025-04-12 10:49:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891055,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:49:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891055,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:49:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891055,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:49:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891055,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:49:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891055', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:49:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891055', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:49:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 10:49:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 10:49:23] Production.INFO: ==18291== Releasing lock...
[2025-04-12 10:49:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 10:49:23] Production.INFO: 34.5 MB #Memory Used#
[2025-04-12 15:50:02] Production.INFO: ==18345== Lock acquired, processing the job...
[2025-04-12 15:50:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 15:50:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 15:50:02] Production.INFO: neon service started
[2025-04-12 15:50:02] Production.INFO: neon service started
[2025-04-12 15:50:02] Production.INFO: ==18345== Releasing lock...
[2025-04-12 15:50:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 15:50:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 10:50:02] Production.INFO: ==18348== Lock acquired, processing the job...
[2025-04-12 10:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 14:50:02] Production.INFO: ==18350== Lock acquired, processing the job...
[2025-04-12 14:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 14:50:02] Production.INFO: ==18350== Releasing lock...
[2025-04-12 14:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 14:50:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 10:50:02] Production.INFO: ==18348== Releasing lock...
[2025-04-12 10:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 10:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 10:50:03] Production.INFO: ==18352== Lock acquired, processing the job...
[2025-04-12 10:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 10:50:04] Production.INFO: ==18354== Lock acquired, processing the job...
[2025-04-12 10:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 10:50:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 10:50:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 10:50:04] Production.INFO: ==18352== Releasing lock...
[2025-04-12 10:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 10:50:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 10:50:04] Production.INFO: ==18356== Lock acquired, processing the job...
[2025-04-12 10:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 10:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 10:50:04] Production.INFO: ==18358== Lock acquired, processing the job...
[2025-04-12 10:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 10:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 10:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 10:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 10:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 10:50:04] Production.INFO: ==18360== Lock acquired, processing the job...
[2025-04-12 10:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 10:50:04] Production.INFO: ==18362== Lock acquired, processing the job...
[2025-04-12 10:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 10:50:04] Production.INFO: Account Balance Start.
[2025-04-12 10:50:04] Production.INFO: CreateAllLog Start
[2025-04-12 10:50:04] Production.INFO: 117
[2025-04-12 10:50:04] Production.INFO: Date 2025-04-08
[2025-04-12 10:50:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 10:50:04] Production.INFO: ==18364== Lock acquired, processing the job...
[2025-04-12 10:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 10:50:04] Production.INFO: ==18356== Releasing lock...
[2025-04-12 10:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 10:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 10:50:04] Production.INFO: Date 2025-04-09
[2025-04-12 10:50:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:50:04] Production.INFO: ==18366== Lock acquired, processing the job...
[2025-04-12 10:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 10:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 10:50:04] Production.INFO: Date 2025-04-10
[2025-04-12 10:50:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:50:04] Production.INFO: Date 2025-04-11
[2025-04-12 10:50:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:50:04] Production.INFO: Date 2025-04-12
[2025-04-12 10:50:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:50:04] Production.INFO: Total Charge 0
[2025-04-12 10:50:04] Production.INFO: CreateAllLog End
[2025-04-12 10:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 10:50:04] Production.INFO: count ==12
[2025-04-12 10:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 10:50:04] Production.INFO: count ==23
[2025-04-12 10:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891059') start
[2025-04-12 10:50:05] Production.INFO: Account Balance End.
[2025-04-12 10:50:05] Production.ERROR: done
[2025-04-12 10:50:05] Production.ERROR: PBX CALL prc_importPBXExtension('14891059') end
[2025-04-12 10:50:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 10:50:05] Production.INFO: 1
[2025-04-12 10:50:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 10:50:05] Production.ERROR: done
[2025-04-12 10:50:05] Production.ERROR: CronJobId end 12
[2025-04-12 10:50:05] Production.INFO: ==18360== Releasing lock...
[2025-04-12 10:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 10:50:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 10:50:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 10:50:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 10:50:05] Production.INFO: ==18366== Releasing lock...
[2025-04-12 10:50:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14891060', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 10:50:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 10:50:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 10:50:05] Production.ERROR: done
[2025-04-12 10:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 07:50:06
[end_date_ymd] => 2025-04-12 10:50:06
[RateCDR] => 1
)
[2025-04-12 10:50:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 07:50:06' and `end` < '2025-04-12 10:50:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 10:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14891060', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 10:50:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 10:50:09] Production.INFO: ProcessCDR(1,14891060,1,1,2)
[2025-04-12 10:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14891060,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14891060,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:50:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 10:50:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 10:50:09] Production.INFO: ==18364== Releasing lock...
[2025-04-12 10:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 10:50:09] Production.INFO: 26 MB #Memory Used#
[2025-04-12 10:50:14] Production.ERROR: CronJobId end10
[2025-04-12 10:50:14] Production.INFO: ==18358== Releasing lock...
[2025-04-12 10:50:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 10:50:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 10:50:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 10:50:16] Production.INFO: ============== Balance Warning START===========
[2025-04-12 10:50:16] Production.INFO: ============== Balance Warning END===========
[2025-04-12 10:50:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 10:50:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 10:50:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 10:50:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 10:50:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 10:50:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 10:50:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 10:50:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 10:50:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 10:50:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 10:50:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 10:50:16] Production.INFO: call_cost start
[2025-04-12 10:50:16] Production.INFO: call_cost end
[2025-04-12 10:50:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 10:50:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 10:50:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 10:50:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 10:50:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 10:50:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 10:50:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 10:50:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 10:50:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 10:50:17] Production.INFO: ==18354== Releasing lock...
[2025-04-12 10:50:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 10:50:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 10:50:19] Production.INFO: count ==790
[2025-04-12 10:50:19] Production.ERROR: pbx CDR StartTime 2025-04-12 07:50:06 - End Time 2025-04-12 10:50:06
[2025-04-12 10:50:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 10:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891061', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891061', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891061', 'tblTempVendorCDR_20' ) start
[2025-04-12 10:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891061', 'tblTempVendorCDR_20' ) end
[2025-04-12 10:50:19] Production.INFO: ProcessCDR(1,14891061,1,1,2)
[2025-04-12 10:50:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891061,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:50:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891061,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:50:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891061,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:50:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891061,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:50:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891061', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:50:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891061', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:50:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 10:50:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 10:50:24] Production.INFO: ==18362== Releasing lock...
[2025-04-12 10:50:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 10:50:24] Production.INFO: 34.5 MB #Memory Used#
[2025-04-12 15:51:01] Production.INFO: ==18419== Lock acquired, processing the job...
[2025-04-12 15:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 15:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 15:51:01] Production.INFO: neon service started
[2025-04-12 15:51:01] Production.INFO: neon service started
[2025-04-12 15:51:01] Production.INFO: ==18419== Releasing lock...
[2025-04-12 15:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 15:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 10:51:01] Production.INFO: ==18421== Lock acquired, processing the job...
[2025-04-12 10:51:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 10:51:02] Production.INFO: ==18421== Releasing lock...
[2025-04-12 10:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 10:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 14:51:02] Production.INFO: ==18423== Lock acquired, processing the job...
[2025-04-12 14:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 14:51:02] Production.INFO: ==18423== Releasing lock...
[2025-04-12 14:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 14:51:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 10:51:03] Production.INFO: ==18429== Lock acquired, processing the job...
[2025-04-12 10:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 10:51:03] Production.INFO: ==18425== Lock acquired, processing the job...
[2025-04-12 10:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 10:51:03] Production.INFO: ==18433== Lock acquired, processing the job...
[2025-04-12 10:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 10:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 10:51:03] Production.INFO: ==18427== Lock acquired, processing the job...
[2025-04-12 10:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 10:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 10:51:03] Production.INFO: ==18431== Lock acquired, processing the job...
[2025-04-12 10:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 10:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 10:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 10:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 10:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 10:51:03] Production.INFO: ==18435== Lock acquired, processing the job...
[2025-04-12 10:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 10:51:03] Production.INFO: Account Balance Start.
[2025-04-12 10:51:03] Production.INFO: CreateAllLog Start
[2025-04-12 10:51:03] Production.INFO: 117
[2025-04-12 10:51:03] Production.INFO: Date 2025-04-08
[2025-04-12 10:51:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 10:51:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:51:03] Production.INFO: Date 2025-04-09
[2025-04-12 10:51:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:51:03] Production.INFO: count ==12
[2025-04-12 10:51:03] Production.INFO: Date 2025-04-10
[2025-04-12 10:51:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 10:51:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:51:03] Production.INFO: count ==23
[2025-04-12 10:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891065') start
[2025-04-12 10:51:03] Production.INFO: ==18427== Releasing lock...
[2025-04-12 10:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 10:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 10:51:03] Production.INFO: Date 2025-04-11
[2025-04-12 10:51:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:51:03] Production.INFO: Date 2025-04-12
[2025-04-12 10:51:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:51:03] Production.INFO: Total Charge 0
[2025-04-12 10:51:03] Production.INFO: CreateAllLog End
[2025-04-12 10:51:03] Production.ERROR: done
[2025-04-12 10:51:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 10:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891065') end
[2025-04-12 10:51:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 10:51:03] Production.INFO: 1
[2025-04-12 10:51:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 10:51:03] Production.INFO: Account Balance End.
[2025-04-12 10:51:03] Production.ERROR: done
[2025-04-12 10:51:03] Production.INFO: ==18435== Releasing lock...
[2025-04-12 10:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 10:51:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 10:51:03] Production.ERROR: CronJobId end 12
[2025-04-12 10:51:03] Production.INFO: ==18431== Releasing lock...
[2025-04-12 10:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 10:51:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 10:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 07:51:05
[end_date_ymd] => 2025-04-12 10:51:05
[RateCDR] => 1
)
[2025-04-12 10:51:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 07:51:05' and `end` < '2025-04-12 10:51:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 10:51:11] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:294
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(294): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_LowBal...', Array)
#2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#4 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#8 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#9 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#10 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#11 [internal function]: App\Console\Commands\NeonAlerts->fire()
#12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#20 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 {main}
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_LowBalanceReminder(1,0,10))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#2 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#4 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#6 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#7 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#8 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#9 [internal function]: App\Console\Commands\NeonAlerts->fire()
#10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#11 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 {main}
[2025-04-12 10:51:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 10:51:11] Production.INFO: ============== Balance Warning START===========
[2025-04-12 10:51:11] Production.INFO: ============== Balance Warning END===========
[2025-04-12 10:51:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 10:51:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 10:51:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 10:51:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 10:51:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 10:51:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 10:51:11] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 10:51:11] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 10:51:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 10:51:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 10:51:11] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 10:51:12] Production.INFO: call_cost start
[2025-04-12 10:51:12] Production.INFO: call_cost end
[2025-04-12 10:51:12] Production.ERROR: CronJobId end10
[2025-04-12 10:51:12] Production.INFO: ==18429== Releasing lock...
[2025-04-12 10:51:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 10:51:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 10:51:13] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 10:51:13] Production.INFO: ============== Report Schedule START===========
[2025-04-12 10:51:13] Production.INFO: ============== Report Schedule END===========
[2025-04-12 10:51:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 10:51:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 10:51:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 10:51:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 10:51:13] Production.INFO: ============== Deal alert START===========
[2025-04-12 10:51:13] Production.INFO: ============== Deal alert END===========
[2025-04-12 10:51:13] Production.INFO: ==18425== Releasing lock...
[2025-04-12 10:51:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 10:51:13] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 10:51:17] Production.INFO: count ==844
[2025-04-12 10:51:18] Production.ERROR: pbx CDR StartTime 2025-04-12 07:51:05 - End Time 2025-04-12 10:51:05
[2025-04-12 10:51:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 10:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891066', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891066', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891066', 'tblTempVendorCDR_20' ) start
[2025-04-12 10:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891066', 'tblTempVendorCDR_20' ) end
[2025-04-12 10:51:18] Production.INFO: ProcessCDR(1,14891066,1,1,2)
[2025-04-12 10:51:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891066,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:51:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891066,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:51:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891066,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:51:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891066,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891066', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891066', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:51:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 10:51:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 10:51:22] Production.INFO: ==18433== Releasing lock...
[2025-04-12 10:51:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 10:51:22] Production.INFO: 34.5 MB #Memory Used#
[2025-04-12 15:52:01] Production.INFO: ==18494== Lock acquired, processing the job...
[2025-04-12 15:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 15:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 15:52:01] Production.INFO: neon service started
[2025-04-12 15:52:01] Production.INFO: neon service started
[2025-04-12 15:52:01] Production.INFO: ==18494== Releasing lock...
[2025-04-12 15:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 15:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 14:52:02] Production.INFO: ==18498== Lock acquired, processing the job...
[2025-04-12 14:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 14:52:02] Production.INFO: ==18498== Releasing lock...
[2025-04-12 14:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 14:52:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 10:52:02] Production.INFO: ==18496== Lock acquired, processing the job...
[2025-04-12 10:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 10:52:02] Production.INFO: ==18496== Releasing lock...
[2025-04-12 10:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 10:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 10:52:03] Production.INFO: ==18509== Lock acquired, processing the job...
[2025-04-12 10:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 10:52:03] Production.INFO: ==18507== Lock acquired, processing the job...
[2025-04-12 10:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 10:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 10:52:03] Production.INFO: ==18501== Lock acquired, processing the job...
[2025-04-12 10:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 10:52:03] Production.INFO: ==18503== Lock acquired, processing the job...
[2025-04-12 10:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 10:52:03] Production.INFO: Account Balance Start.
[2025-04-12 10:52:03] Production.INFO: CreateAllLog Start
[2025-04-12 10:52:03] Production.INFO: 117
[2025-04-12 10:52:03] Production.INFO: Date 2025-04-08
[2025-04-12 10:52:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:52:03] Production.INFO: ==18505== Lock acquired, processing the job...
[2025-04-12 10:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 10:52:04] Production.INFO: ==18511== Lock acquired, processing the job...
[2025-04-12 10:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 10:52:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 10:52:04] Production.INFO: Date 2025-04-09
[2025-04-12 10:52:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:52:04] Production.INFO: Date 2025-04-10
[2025-04-12 10:52:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:52:04] Production.ERROR: done
[2025-04-12 10:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 10:52:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 10:52:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 10:52:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 10:52:04] Production.INFO: Date 2025-04-11
[2025-04-12 10:52:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:52:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 10:52:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 10:52:04] Production.INFO: count ==12
[2025-04-12 10:52:04] Production.INFO: Date 2025-04-12
[2025-04-12 10:52:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:52:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 10:52:04] Production.INFO: count ==23
[2025-04-12 10:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891070') start
[2025-04-12 10:52:04] Production.INFO: Total Charge 0
[2025-04-12 10:52:04] Production.ERROR: done
[2025-04-12 10:52:04] Production.INFO: CreateAllLog End
[2025-04-12 10:52:04] Production.INFO: ==18503== Releasing lock...
[2025-04-12 10:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 10:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 10:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891070') end
[2025-04-12 10:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 10:52:04] Production.INFO: 1
[2025-04-12 10:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 10:52:04] Production.INFO: ==18511== Releasing lock...
[2025-04-12 10:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 10:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 10:52:04] Production.INFO: Account Balance End.
[2025-04-12 10:52:04] Production.ERROR: CronJobId end 12
[2025-04-12 10:52:04] Production.INFO: ==18507== Releasing lock...
[2025-04-12 10:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 10:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 10:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 07:52:05
[end_date_ymd] => 2025-04-12 10:52:05
[RateCDR] => 1
)
[2025-04-12 10:52:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 07:52:05' and `end` < '2025-04-12 10:52:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 10:52:11] Production.ERROR: CronJobId end10
[2025-04-12 10:52:11] Production.INFO: ==18505== Releasing lock...
[2025-04-12 10:52:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 10:52:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 10:52:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 10:52:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 10:52:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 10:52:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 10:52:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 10:52:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 10:52:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 10:52:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 10:52:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 10:52:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 10:52:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 10:52:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 10:52:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 10:52:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 10:52:14] Production.INFO: call_cost start
[2025-04-12 10:52:14] Production.INFO: call_cost end
[2025-04-12 10:52:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 10:52:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 10:52:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 10:52:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 10:52:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 10:52:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 10:52:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 10:52:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 10:52:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 10:52:15] Production.INFO: ==18501== Releasing lock...
[2025-04-12 10:52:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 10:52:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 10:52:18] Production.INFO: count ==846
[2025-04-12 10:52:18] Production.ERROR: pbx CDR StartTime 2025-04-12 07:52:05 - End Time 2025-04-12 10:52:05
[2025-04-12 10:52:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 10:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891071', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891071', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891071', 'tblTempVendorCDR_20' ) start
[2025-04-12 10:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891071', 'tblTempVendorCDR_20' ) end
[2025-04-12 10:52:18] Production.INFO: ProcessCDR(1,14891071,1,1,2)
[2025-04-12 10:52:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891071,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:52:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891071,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:52:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891071,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:52:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891071,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891071', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891071', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:52:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 10:52:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 10:52:22] Production.INFO: ==18509== Releasing lock...
[2025-04-12 10:52:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 10:52:22] Production.INFO: 34.5 MB #Memory Used#
[2025-04-12 15:53:01] Production.INFO: ==18571== Lock acquired, processing the job...
[2025-04-12 15:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 15:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 15:53:01] Production.INFO: neon service started
[2025-04-12 15:53:01] Production.INFO: neon service started
[2025-04-12 15:53:01] Production.INFO: ==18571== Releasing lock...
[2025-04-12 15:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 15:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 10:53:01] Production.INFO: ==18573== Lock acquired, processing the job...
[2025-04-12 10:53:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 10:53:02] Production.INFO: ==18573== Releasing lock...
[2025-04-12 10:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 10:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 14:53:02] Production.INFO: ==18575== Lock acquired, processing the job...
[2025-04-12 14:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 14:53:02] Production.INFO: ==18575== Releasing lock...
[2025-04-12 14:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 14:53:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 10:53:02] Production.INFO: ==18581== Lock acquired, processing the job...
[2025-04-12 10:53:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 10:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 10:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 10:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 10:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 10:53:03] Production.INFO: ==18587== Lock acquired, processing the job...
[2025-04-12 10:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 10:53:03] Production.INFO: ==18577== Lock acquired, processing the job...
[2025-04-12 10:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 10:53:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 10:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 10:53:03] Production.INFO: count ==12
[2025-04-12 10:53:03] Production.INFO: ==18579== Lock acquired, processing the job...
[2025-04-12 10:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 10:53:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 10:53:03] Production.INFO: count ==23
[2025-04-12 10:53:03] Production.INFO: ==18583== Lock acquired, processing the job...
[2025-04-12 10:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 10:53:03] Production.INFO: ==18585== Lock acquired, processing the job...
[2025-04-12 10:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 10:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891072') start
[2025-04-12 10:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 10:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891072') end
[2025-04-12 10:53:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 10:53:03] Production.INFO: 1
[2025-04-12 10:53:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 10:53:03] Production.INFO: Account Balance Start.
[2025-04-12 10:53:03] Production.INFO: CreateAllLog Start
[2025-04-12 10:53:03] Production.INFO: 117
[2025-04-12 10:53:03] Production.INFO: Date 2025-04-08
[2025-04-12 10:53:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:53:03] Production.INFO: Date 2025-04-09
[2025-04-12 10:53:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:53:03] Production.INFO: Date 2025-04-10
[2025-04-12 10:53:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:53:03] Production.INFO: ==18587== Releasing lock...
[2025-04-12 10:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 10:53:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 10:53:03] Production.INFO: Date 2025-04-11
[2025-04-12 10:53:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:53:03] Production.INFO: Date 2025-04-12
[2025-04-12 10:53:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:53:03] Production.INFO: Total Charge 0
[2025-04-12 10:53:03] Production.INFO: CreateAllLog End
[2025-04-12 10:53:03] Production.INFO: ==18579== Releasing lock...
[2025-04-12 10:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 10:53:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 10:53:03] Production.ERROR: done
[2025-04-12 10:53:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 10:53:03] Production.ERROR: done
[2025-04-12 10:53:04] Production.INFO: Account Balance End.
[2025-04-12 10:53:04] Production.ERROR: CronJobId end 12
[2025-04-12 10:53:04] Production.INFO: ==18583== Releasing lock...
[2025-04-12 10:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 10:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 10:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 07:53:05
[end_date_ymd] => 2025-04-12 10:53:05
[RateCDR] => 1
)
[2025-04-12 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-12 07:53:05' and `end` < '2025-04-12 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-12 10:53:11] Production.ERROR: CronJobId end10
[2025-04-12 10:53:11] Production.INFO: ==18581== Releasing lock...
[2025-04-12 10:53:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 10:53:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 10:53:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 10:53:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 10:53:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 10:53:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 10:53:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 10:53:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 10:53:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 10:53:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 10:53:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 10:53:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 10:53:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 10:53:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 10:53:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 10:53:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 10:53:13] Production.INFO: call_cost start
[2025-04-12 10:53:13] Production.INFO: call_cost end
[2025-04-12 10:53:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 10:53:14] Production.INFO: ============== Report Schedule START===========
[2025-04-12 10:53:14] Production.INFO: ============== Report Schedule END===========
[2025-04-12 10:53:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 10:53:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 10:53:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 10:53:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 10:53:14] Production.INFO: ============== Deal alert START===========
[2025-04-12 10:53:14] Production.INFO: ============== Deal alert END===========
[2025-04-12 10:53:14] Production.INFO: ==18577== Releasing lock...
[2025-04-12 10:53:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 10:53:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 10:53:18] Production.INFO: count ==849
[2025-04-12 10:53:18] Production.ERROR: pbx CDR StartTime 2025-04-12 07:53:05 - End Time 2025-04-12 10:53:05
[2025-04-12 10:53:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 10:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891076', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891076', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891076', 'tblTempVendorCDR_20' ) start
[2025-04-12 10:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891076', 'tblTempVendorCDR_20' ) end
[2025-04-12 10:53:18] Production.INFO: ProcessCDR(1,14891076,1,1,2)
[2025-04-12 10:53:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891076,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:53:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891076,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:53:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891076,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:53:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891076,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:53:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891076', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:53:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891076', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:53:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 10:53:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 10:53:23] Production.INFO: ==18585== Releasing lock...
[2025-04-12 10:53:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 10:53:23] Production.INFO: 34.5 MB #Memory Used#
[2025-04-12 15:54:02] Production.INFO: ==18645== Lock acquired, processing the job...
[2025-04-12 15:54:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 15:54:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 15:54:02] Production.INFO: neon service started
[2025-04-12 15:54:02] Production.INFO: neon service started
[2025-04-12 15:54:02] Production.INFO: ==18645== Releasing lock...
[2025-04-12 15:54:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 15:54:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 10:54:02] Production.INFO: ==18647== Lock acquired, processing the job...
[2025-04-12 10:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 14:54:02] Production.INFO: ==18649== Lock acquired, processing the job...
[2025-04-12 14:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 14:54:03] Production.INFO: ==18649== Releasing lock...
[2025-04-12 14:54:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 14:54:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 10:54:03] Production.INFO: ==18647== Releasing lock...
[2025-04-12 10:54:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 10:54:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 10:54:04] Production.INFO: ==18654== Lock acquired, processing the job...
[2025-04-12 10:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 10:54:04] Production.INFO: ==18656== Lock acquired, processing the job...
[2025-04-12 10:54:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 10:54:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 10:54:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 10:54:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 10:54:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 10:54:04] Production.INFO: ==18652== Lock acquired, processing the job...
[2025-04-12 10:54:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 10:54:04] Production.INFO: ==18660== Lock acquired, processing the job...
[2025-04-12 10:54:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 10:54:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 10:54:04] Production.INFO: ==18658== Lock acquired, processing the job...
[2025-04-12 10:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 10:54:04] Production.INFO: ==18654== Releasing lock...
[2025-04-12 10:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 10:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 10:54:04] Production.INFO: ==18662== Lock acquired, processing the job...
[2025-04-12 10:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 10:54:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 10:54:04] Production.INFO: Account Balance Start.
[2025-04-12 10:54:04] Production.INFO: CreateAllLog Start
[2025-04-12 10:54:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 10:54:04] Production.INFO: 117
[2025-04-12 10:54:04] Production.INFO: Date 2025-04-08
[2025-04-12 10:54:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:54:04] Production.INFO: count ==12
[2025-04-12 10:54:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 10:54:04] Production.INFO: count ==23
[2025-04-12 10:54:04] Production.INFO: Date 2025-04-09
[2025-04-12 10:54:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:54:04] Production.INFO: Date 2025-04-10
[2025-04-12 10:54:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891080') start
[2025-04-12 10:54:05] Production.ERROR: done
[2025-04-12 10:54:05] Production.INFO: Date 2025-04-11
[2025-04-12 10:54:05] Production.INFO: Reseller ==> 0
[2025-04-12 10:54:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 10:54:05] Production.INFO: Date 2025-04-12
[2025-04-12 10:54:05] Production.INFO: Reseller ==> 0
[2025-04-12 10:54:05] Production.INFO: Total Charge 0
[2025-04-12 10:54:05] Production.ERROR: PBX CALL prc_importPBXExtension('14891080') end
[2025-04-12 10:54:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 10:54:05] Production.INFO: 1
[2025-04-12 10:54:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 10:54:05] Production.INFO: CreateAllLog End
[2025-04-12 10:54:05] Production.ERROR: done
[2025-04-12 10:54:05] Production.INFO: ==18662== Releasing lock...
[2025-04-12 10:54:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 10:54:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 10:54:05] Production.INFO: Account Balance End.
[2025-04-12 10:54:05] Production.ERROR: CronJobId end 12
[2025-04-12 10:54:05] Production.INFO: ==18658== Releasing lock...
[2025-04-12 10:54:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 10:54:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 10:54:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 07:54:06
[end_date_ymd] => 2025-04-12 10:54:06
[RateCDR] => 1
)
[2025-04-12 10: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-12 07:54:06' and `end` < '2025-04-12 10: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-12 10:54:11] Production.ERROR: CronJobId end10
[2025-04-12 10:54:11] Production.INFO: ==18656== Releasing lock...
[2025-04-12 10:54:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 10:54:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 10:54:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 10:54:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 10:54:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 10:54:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 10:54:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 10:54:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 10:54:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 10:54:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 10:54:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 10:54:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 10:54:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 10:54:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 10:54:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 10:54:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 10:54:14] Production.INFO: call_cost start
[2025-04-12 10:54:14] Production.INFO: call_cost end
[2025-04-12 10:54:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 10:54:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 10:54:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 10:54:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 10:54:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 10:54:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 10:54:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 10:54:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 10:54:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 10:54:15] Production.INFO: ==18652== Releasing lock...
[2025-04-12 10:54:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 10:54:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 10:54:19] Production.INFO: count ==854
[2025-04-12 10:54:19] Production.ERROR: pbx CDR StartTime 2025-04-12 07:54:06 - End Time 2025-04-12 10:54:06
[2025-04-12 10:54:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 10:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891081', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891081', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891081', 'tblTempVendorCDR_20' ) start
[2025-04-12 10:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891081', 'tblTempVendorCDR_20' ) end
[2025-04-12 10:54:19] Production.INFO: ProcessCDR(1,14891081,1,1,2)
[2025-04-12 10:54:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891081,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:54:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891081,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:54:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891081,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:54:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891081,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:54:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891081', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:54:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891081', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:54:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 10:54:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 10:54:24] Production.INFO: ==18660== Releasing lock...
[2025-04-12 10:54:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 10:54:24] Production.INFO: 35 MB #Memory Used#
[2025-04-12 15:55:01] Production.INFO: ==18715== Lock acquired, processing the job...
[2025-04-12 15:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 15:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 15:55:01] Production.INFO: neon service started
[2025-04-12 15:55:01] Production.INFO: neon service started
[2025-04-12 15:55:01] Production.INFO: ==18715== Releasing lock...
[2025-04-12 15:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 15:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 10:55:02] Production.INFO: ==18718== Lock acquired, processing the job...
[2025-04-12 10:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 14:55:02] Production.INFO: ==18720== Lock acquired, processing the job...
[2025-04-12 14:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 14:55:02] Production.INFO: ==18720== Releasing lock...
[2025-04-12 14:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 14:55:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 10:55:02] Production.INFO: ==18718== Releasing lock...
[2025-04-12 10:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 10:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 10:55:03] Production.INFO: ==18728== Lock acquired, processing the job...
[2025-04-12 10:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 10:55:03] Production.INFO: Account Balance Start.
[2025-04-12 10:55:03] Production.INFO: CreateAllLog Start
[2025-04-12 10:55:03] Production.INFO: 117
[2025-04-12 10:55:03] Production.INFO: Date 2025-04-08
[2025-04-12 10:55:03] Production.INFO: ==18732== Lock acquired, processing the job...
[2025-04-12 10:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 10:55:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:55:03] Production.INFO: Date 2025-04-09
[2025-04-12 10:55:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:55:03] Production.INFO: Date 2025-04-10
[2025-04-12 10:55:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:55:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 10:55:04] Production.INFO: count ==12
[2025-04-12 10:55:04] Production.INFO: Date 2025-04-11
[2025-04-12 10:55:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:55:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 10:55:04] Production.INFO: count ==23
[2025-04-12 10:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891083') start
[2025-04-12 10:55:04] Production.INFO: Date 2025-04-12
[2025-04-12 10:55:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:55:04] Production.INFO: ==18722== Lock acquired, processing the job...
[2025-04-12 10:55:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 10:55:04] Production.INFO: Total Charge 0
[2025-04-12 10:55:04] Production.INFO: CreateAllLog End
[2025-04-12 10:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891083') end
[2025-04-12 10:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 10:55:04] Production.INFO: 1
[2025-04-12 10:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 10:55:04] Production.INFO: ==18726== Lock acquired, processing the job...
[2025-04-12 10:55:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 10:55:04] Production.INFO: ==18724== Lock acquired, processing the job...
[2025-04-12 10:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 10:55:04] Production.INFO: ==18732== Releasing lock...
[2025-04-12 10:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 10:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 10:55:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 10:55:04] Production.INFO: Account Balance End.
[2025-04-12 10:55:04] Production.INFO: ==18730== Lock acquired, processing the job...
[2025-04-12 10:55:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 10:55:04] Production.ERROR: CronJobId end 12
[2025-04-12 10:55:04] Production.INFO: ==18728== Releasing lock...
[2025-04-12 10:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 10:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 10:55:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 10:55:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 10:55:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 10:55:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 10:55:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 10:55:04] Production.INFO: ==18724== Releasing lock...
[2025-04-12 10:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 10:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 10:55:04] Production.ERROR: done
[2025-04-12 10:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 10:55:04] Production.ERROR: done
[2025-04-12 10:55:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 07:55:06
[end_date_ymd] => 2025-04-12 10:55:06
[RateCDR] => 1
)
[2025-04-12 10:55:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 07:55:06' and `end` < '2025-04-12 10:55:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 10:55:12] Production.ERROR: CronJobId end10
[2025-04-12 10:55:12] Production.INFO: ==18726== Releasing lock...
[2025-04-12 10:55:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 10:55:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 10:55:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 10:55:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 10:55:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 10:55:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 10:55:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 10:55:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 10:55:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 10:55:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 10:55:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 10:55:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 10:55:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 10:55:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 10:55:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 10:55:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 10:55:15] Production.INFO: call_cost start
[2025-04-12 10:55:15] Production.INFO: call_cost end
[2025-04-12 10:55:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 10:55:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 10:55:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 10:55:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 10:55:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 10:55:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 10:55:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 10:55:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 10:55:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 10:55:16] Production.INFO: ==18722== Releasing lock...
[2025-04-12 10:55:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 10:55:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 10:55:19] Production.INFO: count ==867
[2025-04-12 10:55:19] Production.ERROR: pbx CDR StartTime 2025-04-12 07:55:06 - End Time 2025-04-12 10:55:06
[2025-04-12 10:55:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 10:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891086', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891086', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891086', 'tblTempVendorCDR_20' ) start
[2025-04-12 10:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891086', 'tblTempVendorCDR_20' ) end
[2025-04-12 10:55:19] Production.INFO: ProcessCDR(1,14891086,1,1,2)
[2025-04-12 10:55:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891086,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:55:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891086,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:55:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891086,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:55:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891086,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:55:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891086', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:55:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891086', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:55:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 10:55:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 10:55:24] Production.INFO: ==18730== Releasing lock...
[2025-04-12 10:55:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 10:55:24] Production.INFO: 34.75 MB #Memory Used#
[2025-04-12 15:56:02] Production.INFO: ==18793== Lock acquired, processing the job...
[2025-04-12 15:56:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 15:56:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 15:56:02] Production.INFO: neon service started
[2025-04-12 15:56:02] Production.INFO: neon service started
[2025-04-12 15:56:02] Production.INFO: ==18793== Releasing lock...
[2025-04-12 15:56:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 15:56:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 10:56:03] Production.INFO: ==18795== Lock acquired, processing the job...
[2025-04-12 10:56:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 14:56:03] Production.INFO: ==18797== Lock acquired, processing the job...
[2025-04-12 14:56:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 14:56:03] Production.INFO: ==18797== Releasing lock...
[2025-04-12 14:56:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 14:56:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 10:56:03] Production.INFO: ==18795== Releasing lock...
[2025-04-12 10:56:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 10:56:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 10:56:04] Production.INFO: ==18800== Lock acquired, processing the job...
[2025-04-12 10:56:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 10:56:04] Production.INFO: ==18804== Lock acquired, processing the job...
[2025-04-12 10:56:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 10:56:04] Production.INFO: ==18802== Lock acquired, processing the job...
[2025-04-12 10:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 10:56:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 10:56:04] Production.INFO: ==18808== Lock acquired, processing the job...
[2025-04-12 10:56:04] Production.INFO: ==18806== Lock acquired, processing the job...
[2025-04-12 10:56:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 10:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 10:56:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 10:56:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 10:56:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 10:56:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 10:56:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 10:56:04] Production.INFO: ==18810== Lock acquired, processing the job...
[2025-04-12 10:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 10:56:04] Production.INFO: Account Balance Start.
[2025-04-12 10:56:04] Production.INFO: CreateAllLog Start
[2025-04-12 10:56:04] Production.INFO: 117
[2025-04-12 10:56:04] Production.INFO: Date 2025-04-08
[2025-04-12 10:56:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:56:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 10:56:04] Production.INFO: Date 2025-04-09
[2025-04-12 10:56:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:56:04] Production.INFO: count ==12
[2025-04-12 10:56:05] Production.INFO: Date 2025-04-10
[2025-04-12 10:56:05] Production.INFO: ==18802== Releasing lock...
[2025-04-12 10:56:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 10:56:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 10:56: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-12 10:56:05] Production.ERROR: done
[2025-04-12 10:56:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 10:56:05] Production.INFO: Reseller ==> 0
[2025-04-12 10:56:05] Production.INFO: count ==23
[2025-04-12 10:56:05] Production.INFO: Date 2025-04-11
[2025-04-12 10:56:05] Production.INFO: Reseller ==> 0
[2025-04-12 10:56:05] Production.INFO: Date 2025-04-12
[2025-04-12 10:56:05] Production.ERROR: PBX CALL prc_importPBXExtension('14891090') start
[2025-04-12 10:56:05] Production.INFO: Reseller ==> 0
[2025-04-12 10:56:05] Production.ERROR: PBX CALL prc_importPBXExtension('14891090') end
[2025-04-12 10:56:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 10:56:05] Production.INFO: 1
[2025-04-12 10:56:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 10:56:05] Production.ERROR: done
[2025-04-12 10:56:05] Production.INFO: Total Charge 0
[2025-04-12 10:56:05] Production.INFO: CreateAllLog End
[2025-04-12 10:56:05] Production.INFO: ==18810== Releasing lock...
[2025-04-12 10:56:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 10:56:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 10:56:05] Production.INFO: Account Balance End.
[2025-04-12 10:56:05] Production.ERROR: CronJobId end 12
[2025-04-12 10:56:05] Production.INFO: ==18806== Releasing lock...
[2025-04-12 10:56:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 10:56:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 10:56:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 07:56:06
[end_date_ymd] => 2025-04-12 10:56:06
[RateCDR] => 1
)
[2025-04-12 10:56:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 07:56:06' and `end` < '2025-04-12 10:56:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 10:56:12] Production.ERROR: CronJobId end10
[2025-04-12 10:56:12] Production.INFO: ==18804== Releasing lock...
[2025-04-12 10:56:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 10:56:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 10:56:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 10:56:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 10:56:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 10:56:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 10:56:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 10:56:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 10:56:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 10:56:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 10:56:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 10:56:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 10:56:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 10:56:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 10:56:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 10:56:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 10:56:16] Production.INFO: call_cost start
[2025-04-12 10:56:16] Production.INFO: call_cost end
[2025-04-12 10:56:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 10:56:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 10:56:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 10:56:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 10:56:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 10:56:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 10:56:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 10:56:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 10:56:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 10:56:17] Production.INFO: ==18800== Releasing lock...
[2025-04-12 10:56:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 10:56:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 10:56:19] Production.INFO: count ==872
[2025-04-12 10:56:19] Production.ERROR: pbx CDR StartTime 2025-04-12 07:56:06 - End Time 2025-04-12 10:56:06
[2025-04-12 10:56:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 10:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891091', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891091', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891091', 'tblTempVendorCDR_20' ) start
[2025-04-12 10:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891091', 'tblTempVendorCDR_20' ) end
[2025-04-12 10:56:19] Production.INFO: ProcessCDR(1,14891091,1,1,2)
[2025-04-12 10:56:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891091,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:56:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891091,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:56:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891091,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:56:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891091,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:56:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891091', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:56:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891091', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:56:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 10:56:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 10:56:24] Production.INFO: ==18808== Releasing lock...
[2025-04-12 10:56:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 10:56:24] Production.INFO: 35 MB #Memory Used#
[2025-04-12 15:57:01] Production.INFO: ==18863== Lock acquired, processing the job...
[2025-04-12 15:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 15:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 15:57:01] Production.INFO: neon service started
[2025-04-12 15:57:02] Production.INFO: neon service started
[2025-04-12 15:57:02] Production.INFO: ==18863== Releasing lock...
[2025-04-12 15:57:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 15:57:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 10:57:02] Production.INFO: ==18865== Lock acquired, processing the job...
[2025-04-12 10:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 10:57:02] Production.INFO: ==18865== Releasing lock...
[2025-04-12 10:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 10:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 14:57:02] Production.INFO: ==18867== Lock acquired, processing the job...
[2025-04-12 14:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 14:57:02] Production.INFO: ==18867== Releasing lock...
[2025-04-12 14:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 14:57:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 10:57:03] Production.INFO: ==18870== Lock acquired, processing the job...
[2025-04-12 10:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 10:57:03] Production.INFO: ==18876== Lock acquired, processing the job...
[2025-04-12 10:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 10:57:03] Production.INFO: ==18880== Lock acquired, processing the job...
[2025-04-12 10:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 10:57:03] Production.INFO: ==18872== Lock acquired, processing the job...
[2025-04-12 10:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 10:57:03] Production.INFO: ==18874== Lock acquired, processing the job...
[2025-04-12 10:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 10:57:03] Production.INFO: ==18878== Lock acquired, processing the job...
[2025-04-12 10:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 10:57:03] Production.INFO: Account Balance Start.
[2025-04-12 10:57:03] Production.INFO: CreateAllLog Start
[2025-04-12 10:57:03] Production.INFO: 117
[2025-04-12 10:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 10:57:03] Production.INFO: Date 2025-04-08
[2025-04-12 10:57:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 10:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 10:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 10:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 10:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 10:57:03] Production.INFO: count ==12
[2025-04-12 10:57:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:57:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 10:57:03] Production.INFO: count ==23
[2025-04-12 10:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891093') start
[2025-04-12 10:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 10:57:03] Production.INFO: Date 2025-04-09
[2025-04-12 10:57:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:57:03] Production.INFO: Date 2025-04-10
[2025-04-12 10:57:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:57:03] Production.INFO: Date 2025-04-11
[2025-04-12 10:57:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:57:03] Production.INFO: Date 2025-04-12
[2025-04-12 10:57:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891093') end
[2025-04-12 10:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 10:57:04] Production.INFO: 1
[2025-04-12 10:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 10:57:04] Production.INFO: Total Charge 0
[2025-04-12 10:57:04] Production.INFO: ==18880== Releasing lock...
[2025-04-12 10:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 10:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 10:57:04] Production.INFO: CreateAllLog End
[2025-04-12 10:57:04] Production.ERROR: done
[2025-04-12 10:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 10:57:04] Production.INFO: Account Balance End.
[2025-04-12 10:57:04] Production.ERROR: CronJobId end 12
[2025-04-12 10:57:04] Production.INFO: ==18876== Releasing lock...
[2025-04-12 10:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 10:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 10:57:04] Production.INFO: ==18872== Releasing lock...
[2025-04-12 10:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 10:57:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 10:57:04] Production.ERROR: done
[2025-04-12 10:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 07:57:05
[end_date_ymd] => 2025-04-12 10:57:05
[RateCDR] => 1
)
[2025-04-12 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-12 07:57:05' and `end` < '2025-04-12 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-12 10:57:12] Production.ERROR: CronJobId end10
[2025-04-12 10:57:12] Production.INFO: ==18874== Releasing lock...
[2025-04-12 10:57:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 10:57:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 10:57:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 10:57:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 10:57:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 10:57:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 10:57:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 10:57:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 10:57:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 10:57:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 10:57:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 10:57:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 10:57:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 10:57:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 10:57:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 10:57:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 10:57:14] Production.INFO: call_cost start
[2025-04-12 10:57:14] Production.INFO: call_cost end
[2025-04-12 10:57:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 10:57:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 10:57:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 10:57:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 10:57:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 10:57:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 10:57:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 10:57:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 10:57:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 10:57:15] Production.INFO: ==18870== Releasing lock...
[2025-04-12 10:57:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 10:57:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 10:57:18] Production.INFO: count ==873
[2025-04-12 10:57:18] Production.ERROR: pbx CDR StartTime 2025-04-12 07:57:05 - End Time 2025-04-12 10:57:05
[2025-04-12 10:57:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 10:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891096', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891096', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891096', 'tblTempVendorCDR_20' ) start
[2025-04-12 10:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891096', 'tblTempVendorCDR_20' ) end
[2025-04-12 10:57:18] Production.INFO: ProcessCDR(1,14891096,1,1,2)
[2025-04-12 10:57:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891096,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:57:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891096,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:57:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891096,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:57:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891096,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:57:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891096', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:57:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891096', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:57:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 10:57:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 10:57:23] Production.INFO: ==18878== Releasing lock...
[2025-04-12 10:57:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 10:57:23] Production.INFO: 35.25 MB #Memory Used#
[2025-04-12 15:58:01] Production.INFO: ==18976== Lock acquired, processing the job...
[2025-04-12 15:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 15:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 15:58:01] Production.INFO: neon service started
[2025-04-12 15:58:01] Production.INFO: neon service started
[2025-04-12 15:58:01] Production.INFO: ==18976== Releasing lock...
[2025-04-12 15:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 15:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 10:58:02] Production.INFO: ==18978== Lock acquired, processing the job...
[2025-04-12 10:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 14:58:02] Production.INFO: ==18980== Lock acquired, processing the job...
[2025-04-12 14:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 14:58:02] Production.INFO: ==18980== Releasing lock...
[2025-04-12 14:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 14:58:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 10:58:02] Production.INFO: ==18978== Releasing lock...
[2025-04-12 10:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 10:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 10:58:03] Production.INFO: ==18989== Lock acquired, processing the job...
[2025-04-12 10:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 10:58:03] Production.INFO: ==18993== Lock acquired, processing the job...
[2025-04-12 10:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 10:58:03] Production.INFO: Account Balance Start.
[2025-04-12 10:58:03] Production.INFO: CreateAllLog Start
[2025-04-12 10:58:03] Production.INFO: 117
[2025-04-12 10:58:03] Production.INFO: Date 2025-04-08
[2025-04-12 10:58:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:58:03] Production.INFO: Date 2025-04-09
[2025-04-12 10:58:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:58:03] Production.INFO: Date 2025-04-10
[2025-04-12 10:58:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:58:03] Production.INFO: ==18983== Lock acquired, processing the job...
[2025-04-12 10:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 10:58:03] Production.INFO: Date 2025-04-11
[2025-04-12 10:58:03] Production.INFO: Reseller ==> 0
[2025-04-12 10: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-12 10:58:03] Production.INFO: Date 2025-04-12
[2025-04-12 10:58:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:58:03] Production.INFO: ==18985== Lock acquired, processing the job...
[2025-04-12 10:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 10:58:03] Production.INFO: count ==12
[2025-04-12 10:58:03] Production.INFO: ==18987== Lock acquired, processing the job...
[2025-04-12 10:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 10: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-12 10:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 10:58:03] Production.INFO: count ==23
[2025-04-12 10:58:03] Production.INFO: Total Charge 0
[2025-04-12 10:58:03] Production.INFO: ==18991== Lock acquired, processing the job...
[2025-04-12 10:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 10:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891098') start
[2025-04-12 10:58:03] Production.INFO: CreateAllLog End
[2025-04-12 10:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891098') end
[2025-04-12 10:58:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 10:58:03] Production.INFO: 1
[2025-04-12 10:58:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 10:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 10:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 10:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 10:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 10:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 10:58:03] Production.INFO: Account Balance End.
[2025-04-12 10:58:03] Production.INFO: ==18993== Releasing lock...
[2025-04-12 10:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 10:58:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 10:58:03] Production.ERROR: CronJobId end 12
[2025-04-12 10:58:03] Production.INFO: ==18989== Releasing lock...
[2025-04-12 10:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 10:58:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 10:58:04] Production.INFO: ==18985== Releasing lock...
[2025-04-12 10:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 10:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 10:58:04] Production.ERROR: done
[2025-04-12 10:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 10:58:04] Production.ERROR: done
[2025-04-12 10:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 07:58:05
[end_date_ymd] => 2025-04-12 10:58:05
[RateCDR] => 1
)
[2025-04-12 10:58:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 07:58:05' and `end` < '2025-04-12 10:58:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 10:58:11] Production.ERROR: CronJobId end10
[2025-04-12 10:58:11] Production.INFO: ==18987== Releasing lock...
[2025-04-12 10:58:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 10:58:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 10:58:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 10:58:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 10:58:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 10:58:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 10:58:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 10:58:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 10:58:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 10:58:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 10:58:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 10:58:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 10:58:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 10:58:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 10:58:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 10:58:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 10:58:13] Production.INFO: call_cost start
[2025-04-12 10:58:13] Production.INFO: call_cost end
[2025-04-12 10:58:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 10:58:14] Production.INFO: ============== Report Schedule START===========
[2025-04-12 10:58:14] Production.INFO: ============== Report Schedule END===========
[2025-04-12 10:58:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 10:58:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 10:58:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 10:58:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 10:58:14] Production.INFO: ============== Deal alert START===========
[2025-04-12 10:58:14] Production.INFO: ============== Deal alert END===========
[2025-04-12 10:58:14] Production.INFO: ==18983== Releasing lock...
[2025-04-12 10:58:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 10:58:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 10:58:18] Production.INFO: count ==874
[2025-04-12 10:58:18] Production.ERROR: pbx CDR StartTime 2025-04-12 07:58:05 - End Time 2025-04-12 10:58:05
[2025-04-12 10:58:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 10:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891101', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891101', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891101', 'tblTempVendorCDR_20' ) start
[2025-04-12 10:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891101', 'tblTempVendorCDR_20' ) end
[2025-04-12 10:58:19] Production.INFO: ProcessCDR(1,14891101,1,1,2)
[2025-04-12 10:58:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891101,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:58:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891101,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:58:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891101,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:58:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891101,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:58:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891101', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:58:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891101', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:58:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 10:58:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 10:58:23] Production.INFO: ==18991== Releasing lock...
[2025-04-12 10:58:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 10:58:23] Production.INFO: 35.25 MB #Memory Used#
[2025-04-12 15:59:01] Production.INFO: ==19052== Lock acquired, processing the job...
[2025-04-12 15:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 15:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 15:59:01] Production.INFO: neon service started
[2025-04-12 15:59:01] Production.INFO: neon service started
[2025-04-12 15:59:01] Production.INFO: ==19052== Releasing lock...
[2025-04-12 15:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 15:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 14:59:02] Production.INFO: ==19056== Lock acquired, processing the job...
[2025-04-12 14:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 10:59:02] Production.INFO: ==19054== Lock acquired, processing the job...
[2025-04-12 10:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 14:59:02] Production.INFO: ==19056== Releasing lock...
[2025-04-12 14:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 14:59:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 10:59:02] Production.INFO: ==19054== Releasing lock...
[2025-04-12 10:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 10:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 10:59:03] Production.INFO: ==19059== Lock acquired, processing the job...
[2025-04-12 10:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 10:59:03] Production.INFO: ==19061== Lock acquired, processing the job...
[2025-04-12 10:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 10:59:03] Production.INFO: ==19063== Lock acquired, processing the job...
[2025-04-12 10:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 10:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 10:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 10:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 10:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 10:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 10:59:03] Production.INFO: ==19065== Lock acquired, processing the job...
[2025-04-12 10:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 10:59:03] Production.INFO: Account Balance Start.
[2025-04-12 10:59:03] Production.INFO: CreateAllLog Start
[2025-04-12 10:59:03] Production.INFO: 117
[2025-04-12 10:59:03] Production.INFO: Date 2025-04-08
[2025-04-12 10:59:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:59:03] Production.INFO: ==19067== Lock acquired, processing the job...
[2025-04-12 10:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 10:59:03] Production.INFO: Date 2025-04-09
[2025-04-12 10:59:03] Production.INFO: Reseller ==> 0
[2025-04-12 10:59:04] Production.INFO: Date 2025-04-10
[2025-04-12 10:59:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:59:04] Production.INFO: ==19069== Lock acquired, processing the job...
[2025-04-12 10:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 10:59:04] Production.INFO: Date 2025-04-11
[2025-04-12 10:59:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:59:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 10:59:04] Production.INFO: Date 2025-04-12
[2025-04-12 10:59:04] Production.INFO: Reseller ==> 0
[2025-04-12 10:59:04] Production.INFO: Total Charge 0
[2025-04-12 10:59:04] Production.INFO: CreateAllLog End
[2025-04-12 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-12 10:59:04] Production.INFO: count ==12
[2025-04-12 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-12 10:59:04] Production.INFO: ==19061== Releasing lock...
[2025-04-12 10:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 10:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 10:59:04] Production.INFO: count ==23
[2025-04-12 10:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891105') start
[2025-04-12 10:59:04] Production.INFO: Account Balance End.
[2025-04-12 10:59:04] Production.ERROR: CronJobId end 12
[2025-04-12 10:59:04] Production.INFO: ==19065== Releasing lock...
[2025-04-12 10:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 10:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 10:59:04] Production.ERROR: done
[2025-04-12 10:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891105') end
[2025-04-12 10:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 10:59:04] Production.INFO: 1
[2025-04-12 10:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 10:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 10:59:04] Production.INFO: ==19069== Releasing lock...
[2025-04-12 10:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 10:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 10:59:05] Production.ERROR: done
[2025-04-12 10:59:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 07:59:06
[end_date_ymd] => 2025-04-12 10:59:06
[RateCDR] => 1
)
[2025-04-12 10:59:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 07:59:06' and `end` < '2025-04-12 10:59:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 10:59:11] Production.ERROR: CronJobId end10
[2025-04-12 10:59:11] Production.INFO: ==19063== Releasing lock...
[2025-04-12 10:59:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 10:59:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 10:59:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 10:59:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 10:59:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 10:59:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 10:59:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 10:59:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 10:59:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 10:59:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 10:59:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 10:59:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 10:59:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 10:59:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 10:59:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 10:59:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 10:59:14] Production.INFO: call_cost start
[2025-04-12 10:59:14] Production.INFO: call_cost end
[2025-04-12 10:59:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 10:59:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 10:59:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 10:59:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 10:59:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 10:59:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 10:59:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 10:59:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 10:59:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 10:59:15] Production.INFO: ==19059== Releasing lock...
[2025-04-12 10:59:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 10:59:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 10:59:18] Production.INFO: count ==876
[2025-04-12 10:59:19] Production.ERROR: pbx CDR StartTime 2025-04-12 07:59:06 - End Time 2025-04-12 10:59:06
[2025-04-12 10:59:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 10:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891106', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891106', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891106', 'tblTempVendorCDR_20' ) start
[2025-04-12 10:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891106', 'tblTempVendorCDR_20' ) end
[2025-04-12 10:59:19] Production.INFO: ProcessCDR(1,14891106,1,1,2)
[2025-04-12 10:59:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891106,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:59:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891106,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 10:59:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891106,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:59:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891106,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 10:59:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891106', 'tblTempUsageDetail_20' ) start
[2025-04-12 10:59:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891106', 'tblTempUsageDetail_20' ) end
[2025-04-12 10:59:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 10:59:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 10:59:24] Production.INFO: ==19067== Releasing lock...
[2025-04-12 10:59:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 10:59:24] Production.INFO: 35 MB #Memory Used#
[2025-04-12 16:00:02] Production.INFO: ==19134== Lock acquired, processing the job...
[2025-04-12 16:00:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 16:00:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 16:00:02] Production.INFO: neon service started
[2025-04-12 16:00:02] Production.INFO: neon service started
[2025-04-12 16:00:02] Production.INFO: ==19134== Releasing lock...
[2025-04-12 16:00:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 16:00:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 11:00:03] Production.INFO: ==19137== Lock acquired, processing the job...
[2025-04-12 11:00:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 15:00:03] Production.INFO: ==19139== Lock acquired, processing the job...
[2025-04-12 15:00:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 15:00:03] Production.INFO: ==19139== Releasing lock...
[2025-04-12 15:00:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 15:00:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 11:00:03] Production.INFO: ==19137== Releasing lock...
[2025-04-12 11:00:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 11:00:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 11:00:04] Production.INFO: ==19141== Lock acquired, processing the job...
[2025-04-12 11:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 11:00:04] Production.INFO: ==19143== Lock acquired, processing the job...
[2025-04-12 11:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 11:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 11:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 11:00:04] Production.INFO: ==19141== Releasing lock...
[2025-04-12 11:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 11:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 11:00:04] Production.INFO: ==19145== Lock acquired, processing the job...
[2025-04-12 11:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 11:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 11:00:04] Production.INFO: ==19153== Lock acquired, processing the job...
[2025-04-12 11:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 11:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 11:00:05] Production.INFO: ==19145== Releasing lock...
[2025-04-12 11:00:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 11:00:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 11:00:05] Production.INFO: ==19147== Lock acquired, processing the job...
[2025-04-12 11:00:05] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 11:00:05] Production.INFO: ==19157== Lock acquired, processing the job...
[2025-04-12 11:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 11:00:05] Production.INFO: ==19149== Lock acquired, processing the job...
[2025-04-12 11:00:05] Production.INFO: bulkautopaymentcapture-command-bulkautopaymentcapture-companyid-1-cronjobid-11 #Starts#
[2025-04-12 11:00:05] Production.ERROR: done
[2025-04-12 11:00:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 11:00:05] Production.INFO: ==19151== Lock acquired, processing the job...
[2025-04-12 11:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 11:00:05] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 11:00:05] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 11:00:05] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 11:00:05] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 11:00:05] Production.INFO: ==19155== Lock acquired, processing the job...
[2025-04-12 11:00:05] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 11:00:05] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 11:00:05] Production.INFO: count ==12
[2025-04-12 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-12 11:00:05] Production.INFO: count ==23
[2025-04-12 11:00:05] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 11:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14891109') start
[2025-04-12 11:00:05] Production.ERROR: done
[2025-04-12 11:00:05] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '5', '0', '1' )
[2025-04-12 11:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:05] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '7', '0', '1' )
[2025-04-12 11:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:05] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '8', '0', '1' )
[2025-04-12 11:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:05] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '13', '0', '1' )
[2025-04-12 11:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:05] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '14', '0', '1' )
[2025-04-12 11:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:05] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '17', '0', '1' )
[2025-04-12 11:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:05] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '19', '0', '1' )
[2025-04-12 11:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:05] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '21', '0', '1' )
[2025-04-12 11:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:05] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '25', '0', '1' )
[2025-04-12 11:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:05] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '26', '0', '1' )
[2025-04-12 11:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:05] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '20', '0', '1' )
[2025-04-12 11:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:05] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '32', '0', '1' )
[2025-04-12 11:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:05] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '33', '0', '1' )
[2025-04-12 11:00:05] Production.INFO: PaymentPendingInvoice Count - 1
[2025-04-12 11:00:05] Production.INFO: Outstanding Amount 64.98
[2025-04-12 11:00:05] Production.INFO: Invoice Full Number INV11763
[2025-04-12 11:00:05] Production.INFO: Transaction start
[2025-04-12 11:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14891109') end
[2025-04-12 11:00:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 11:00:05] Production.INFO: 1
[2025-04-12 11:00:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 11:00:05] Production.INFO: ==19157== Releasing lock...
[2025-04-12 11:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 11:00:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 11:00:05] Production.INFO: Account Balance Start.
[2025-04-12 11:00:05] Production.INFO: CreateAllLog Start
[2025-04-12 11:00:05] Production.INFO: 117
[2025-04-12 11:00:05] Production.INFO: Date 2025-04-08
[2025-04-12 11:00:05] Production.INFO: Reseller ==> 0
[2025-04-12 11:00:05] Production.INFO: Date 2025-04-09
[2025-04-12 11:00:05] Production.INFO: Reseller ==> 0
[2025-04-12 11:00:05] Production.ERROR: done
[2025-04-12 11:00:05] Production.INFO: Date 2025-04-10
[2025-04-12 11:00:05] Production.INFO: Reseller ==> 0
[2025-04-12 11:00:06] Production.INFO: Date 2025-04-11
[2025-04-12 11:00:06] Production.INFO: Reseller ==> 0
[2025-04-12 11:00:06] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 11:00:06] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14891112', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 11:00:06] Production.INFO: Date 2025-04-12
[2025-04-12 11:00:06] Production.INFO: Reseller ==> 0
[2025-04-12 11:00:06] Production.INFO: Total Charge 0
[2025-04-12 11:00:06] Production.INFO: CreateAllLog End
[2025-04-12 11:00:06] Production.INFO: Account Balance End.
[2025-04-12 11:00:06] Production.ERROR: CronJobId end 12
[2025-04-12 11:00:06] Production.INFO: ==19151== Releasing lock...
[2025-04-12 11:00:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 11:00:06] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 11:00:07] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 08:00:07
[end_date_ymd] => 2025-04-12 11:00:07
[RateCDR] => 1
)
[2025-04-12 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-12 08:00:07' and `end` < '2025-04-12 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-12 11: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-12 11:00:07] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '37', '0', '1' )
[2025-04-12 11:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:07] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '41', '0', '1' )
[2025-04-12 11:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:07] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '43', '0', '1' )
[2025-04-12 11:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:07] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '45', '0', '1' )
[2025-04-12 11:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:07] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '49', '0', '1' )
[2025-04-12 11:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:07] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '47', '0', '1' )
[2025-04-12 11:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:07] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '52', '0', '1' )
[2025-04-12 11:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:07] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '53', '0', '1' )
[2025-04-12 11:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:07] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '54', '0', '1' )
[2025-04-12 11:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:07] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '57', '0', '1' )
[2025-04-12 11:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:07] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '58', '0', '1' )
[2025-04-12 11:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:07] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '34', '0', '1' )
[2025-04-12 11:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:07] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '59', '0', '1' )
[2025-04-12 11:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:07] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '63', '0', '1' )
[2025-04-12 11:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:07] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '65', '0', '1' )
[2025-04-12 11:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:07] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '67', '0', '1' )
[2025-04-12 11:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:07] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '73', '0', '1' )
[2025-04-12 11:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:07] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '74', '0', '1' )
[2025-04-12 11:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:07] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '70', '0', '1' )
[2025-04-12 11:00:07] Production.INFO: PaymentPendingInvoice Count - 1
[2025-04-12 11:00:07] Production.INFO: Outstanding Amount 64.98
[2025-04-12 11:00:07] Production.INFO: Invoice Full Number INV11855
[2025-04-12 11:00:07] Production.INFO: Transaction start
[2025-04-12 11:00:08] Production.INFO: Transaction end
[2025-04-12 11:00:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14891112', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 11:00:10] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 11:00:10] Production.INFO: ProcessCDR(1,14891112,1,1,2)
[2025-04-12 11:00:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14891112,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:00:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14891112,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:00:10] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 11:00:10] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 11:00:10] Production.INFO: ==19155== Releasing lock...
[2025-04-12 11:00:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 11:00:10] Production.INFO: 26 MB #Memory Used#
[2025-04-12 11:00:12] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:12] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '82', '0', '1' )
[2025-04-12 11:00:12] Production.INFO: PaymentPendingInvoice Count - 1
[2025-04-12 11:00:12] Production.INFO: Outstanding Amount 43.21
[2025-04-12 11:00:12] Production.INFO: Invoice Full Number INV11689
[2025-04-12 11:00:12] Production.INFO: Transaction start
[2025-04-12 11:00:13] 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-12 11:00:13] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:13] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '83', '0', '1' )
[2025-04-12 11:00:13] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:13] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:13] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '84', '0', '1' )
[2025-04-12 11:00:13] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:13] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:13] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '85', '0', '1' )
[2025-04-12 11:00:13] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:13] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:13] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '93', '0', '1' )
[2025-04-12 11:00:13] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:13] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:13] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '95', '0', '1' )
[2025-04-12 11:00:13] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:13] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:13] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '92', '0', '1' )
[2025-04-12 11:00:13] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:13] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:13] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '86', '0', '1' )
[2025-04-12 11:00:13] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:13] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:13] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '78', '0', '1' )
[2025-04-12 11:00:13] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:13] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:13] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '87', '0', '1' )
[2025-04-12 11:00:13] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:13] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:13] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '88', '0', '1' )
[2025-04-12 11:00:13] Production.INFO: PaymentPendingInvoice Count - 6
[2025-04-12 11:00:13] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:13] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '90', '0', '1' )
[2025-04-12 11:00:13] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:13] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:13] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '98', '0', '1' )
[2025-04-12 11:00:13] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:13] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:13] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '99', '0', '1' )
[2025-04-12 11:00:13] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:13] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:13] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '97', '0', '1' )
[2025-04-12 11:00:13] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:13] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:13] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '100', '0', '1' )
[2025-04-12 11:00:13] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:13] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:13] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '101', '0', '1' )
[2025-04-12 11:00:13] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:13] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:13] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '102', '0', '1' )
[2025-04-12 11:00:13] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:13] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:13] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '104', '0', '1' )
[2025-04-12 11:00:13] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:13] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:13] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '106', '0', '1' )
[2025-04-12 11:00:13] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:13] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:13] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '107', '0', '1' )
[2025-04-12 11:00:13] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:13] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:13] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '110', '0', '1' )
[2025-04-12 11:00:13] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:13] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:13] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '111', '0', '1' )
[2025-04-12 11:00:13] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:13] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:13] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '113', '0', '1' )
[2025-04-12 11:00:13] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:13] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:13] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '114', '0', '1' )
[2025-04-12 11:00:13] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:13] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:13] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '115', '0', '1' )
[2025-04-12 11:00:13] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:13] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:13] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '119', '0', '1' )
[2025-04-12 11:00:13] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:13] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:13] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '121', '0', '1' )
[2025-04-12 11:00:13] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:13] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:13] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '123', '0', '1' )
[2025-04-12 11:00:13] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:13] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:13] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '124', '0', '1' )
[2025-04-12 11:00:13] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:13] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:13] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '127', '0', '1' )
[2025-04-12 11:00:13] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:13] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:13] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '131', '0', '1' )
[2025-04-12 11:00:13] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:13] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:13] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '130', '0', '1' )
[2025-04-12 11:00:13] Production.INFO: PaymentPendingInvoice Count - 8
[2025-04-12 11:00:13] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:13] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '134', '0', '1' )
[2025-04-12 11:00:13] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:13] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:13] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '137', '0', '1' )
[2025-04-12 11:00:13] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:13] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:13] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '138', '0', '1' )
[2025-04-12 11:00:13] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:13] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:13] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '136', '0', '1' )
[2025-04-12 11:00:13] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:13] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:13] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '139', '0', '1' )
[2025-04-12 11:00:13] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:13] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:13] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '140', '0', '1' )
[2025-04-12 11:00:13] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:13] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:13] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '146', '0', '1' )
[2025-04-12 11:00:13] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:13] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:13] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '147', '0', '1' )
[2025-04-12 11:00:14] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:14] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:14] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '151', '0', '1' )
[2025-04-12 11:00:14] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:14] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:14] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '153', '0', '1' )
[2025-04-12 11:00:14] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:14] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:14] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '154', '0', '1' )
[2025-04-12 11:00:14] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:14] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:14] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '155', '0', '1' )
[2025-04-12 11:00:14] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:14] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:14] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '157', '0', '1' )
[2025-04-12 11:00:14] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:14] Production.INFO: PaymentMethod - 0
[2025-04-12 11:00:14] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '149', '0', '1' )
[2025-04-12 11:00:14] Production.INFO: PaymentPendingInvoice Count - 2
[2025-04-12 11:00:14] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:14] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '160', '0', '1' )
[2025-04-12 11:00:14] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:14] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:14] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '152', '0', '1' )
[2025-04-12 11:00:14] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:14] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:14] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '161', '0', '1' )
[2025-04-12 11:00:14] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:14] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:14] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '165', '0', '1' )
[2025-04-12 11:00:14] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:14] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:14] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '166', '0', '1' )
[2025-04-12 11:00:14] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:14] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:14] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '183', '0', '1' )
[2025-04-12 11:00:14] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:14] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:14] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '184', '0', '1' )
[2025-04-12 11:00:14] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:14] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:14] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '185', '0', '1' )
[2025-04-12 11:00:14] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:14] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:14] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '187', '0', '1' )
[2025-04-12 11:00:14] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:14] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:14] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '195', '0', '1' )
[2025-04-12 11:00:14] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:14] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:14] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '190', '0', '1' )
[2025-04-12 11:00:14] Production.INFO: PaymentPendingInvoice Count - 1
[2025-04-12 11:00:14] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:14] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '192', '0', '1' )
[2025-04-12 11:00:14] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:14] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:14] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '193', '0', '1' )
[2025-04-12 11:00:14] Production.INFO: PaymentPendingInvoice Count - 3
[2025-04-12 11:00:14] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:14] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '205', '0', '1' )
[2025-04-12 11:00:14] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:14] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:14] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '208', '0', '1' )
[2025-04-12 11:00:14] Production.INFO: PaymentPendingInvoice Count - 1
[2025-04-12 11:00:14] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:14] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '206', '0', '1' )
[2025-04-12 11:00:14] Production.INFO: PaymentPendingInvoice Count - 20
[2025-04-12 11:00:14] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:14] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '182', '0', '1' )
[2025-04-12 11:00:14] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:14] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:14] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '211', '0', '1' )
[2025-04-12 11:00:14] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:14] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:14] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '188', '0', '1' )
[2025-04-12 11:00:14] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:14] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:14] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '218', '0', '1' )
[2025-04-12 11:00:14] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:14] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:14] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '226', '0', '1' )
[2025-04-12 11:00:14] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:14] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:14] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '227', '0', '1' )
[2025-04-12 11:00:14] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:14] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:14] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '189', '0', '1' )
[2025-04-12 11:00:14] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:14] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:14] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '229', '0', '1' )
[2025-04-12 11:00:14] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:14] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:14] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '230', '0', '1' )
[2025-04-12 11:00:14] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:14] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:14] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '232', '0', '1' )
[2025-04-12 11:00:14] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:14] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:14] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '236', '0', '1' )
[2025-04-12 11:00:14] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:14] Production.INFO: PaymentMethod - 0
[2025-04-12 11:00:14] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '239', '0', '1' )
[2025-04-12 11:00:14] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:14] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:14] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '241', '0', '1' )
[2025-04-12 11:00:14] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:14] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:14] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '260', '0', '1' )
[2025-04-12 11:00:14] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:14] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:14] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '262', '0', '1' )
[2025-04-12 11:00:14] Production.INFO: PaymentPendingInvoice Count - 1
[2025-04-12 11:00:14] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:14] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '263', '0', '1' )
[2025-04-12 11:00:14] Production.INFO: PaymentPendingInvoice Count - 0
[2025-04-12 11:00:14] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:14] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '264', '0', '1' )
[2025-04-12 11:00:14] Production.INFO: PaymentPendingInvoice Count - 1
[2025-04-12 11:00:14] Production.INFO: PaymentMethod - 1
[2025-04-12 11:00:14] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '266', '0', '1' )
[2025-04-12 11:00:14] Production.INFO: PaymentPendingInvoice Count - 1
[2025-04-12 11:00:15] Production.ERROR: CronJobId end11
[2025-04-12 11:00:15] Production.INFO: ==19149== Releasing lock...
[2025-04-12 11:00:15] Production.INFO: bulkautopaymentcapture-command-bulkautopaymentcapture-companyid-1-cronjobid-11 #Stops#
[2025-04-12 11:00:15] Production.INFO: 34.25 MB #Memory Used#
[2025-04-12 11:00:16] Production.ERROR: CronJobId end10
[2025-04-12 11:00:16] Production.INFO: ==19147== Releasing lock...
[2025-04-12 11:00:16] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 11:00:16] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 11:00:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 11:00:17] Production.INFO: ============== Balance Warning START===========
[2025-04-12 11:00:17] Production.INFO: ============== Balance Warning END===========
[2025-04-12 11:00:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 11:00:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 11:00:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 11:00:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 11:00:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 11:00:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 11:00:17] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 11:00:17] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 11:00:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 11:00:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 11:00:17] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 11:00:17] Production.INFO: call_cost start
[2025-04-12 11:00:17] Production.INFO: call_cost end
[2025-04-12 11:00:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 11:00:18] Production.INFO: ============== Report Schedule START===========
[2025-04-12 11:00:18] Production.INFO: ============== Report Schedule END===========
[2025-04-12 11:00:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 11:00:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 11:00:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 11:00:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 11:00:18] Production.INFO: ============== Deal alert START===========
[2025-04-12 11:00:18] Production.INFO: ============== Deal alert END===========
[2025-04-12 11:00:18] Production.INFO: ==19143== Releasing lock...
[2025-04-12 11:00:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 11:00:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 11:00:19] Production.INFO: count ==891
[2025-04-12 11:00:20] Production.ERROR: pbx CDR StartTime 2025-04-12 08:00:07 - End Time 2025-04-12 11:00:07
[2025-04-12 11:00:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 11:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891111', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891111', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891111', 'tblTempVendorCDR_20' ) start
[2025-04-12 11:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891111', 'tblTempVendorCDR_20' ) end
[2025-04-12 11:00:20] Production.INFO: ProcessCDR(1,14891111,1,1,2)
[2025-04-12 11:00:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891111,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:00:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891111,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:00:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891111,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:00:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891111,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:00:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891111', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:00:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891111', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:00:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 11:00:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 11:00:25] Production.INFO: ==19153== Releasing lock...
[2025-04-12 11:00:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 11:00:25] Production.INFO: 35 MB #Memory Used#
[2025-04-12 16:01:01] Production.INFO: ==19259== Lock acquired, processing the job...
[2025-04-12 16:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 16:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 16:01:01] Production.INFO: neon service started
[2025-04-12 16:01:01] Production.INFO: neon service started
[2025-04-12 16:01:01] Production.INFO: ==19259== Releasing lock...
[2025-04-12 16:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 16:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 11:01:02] Production.INFO: ==19270== Lock acquired, processing the job...
[2025-04-12 11:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 15:01:02] Production.INFO: ==19272== Lock acquired, processing the job...
[2025-04-12 15:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 11:01:02] Production.INFO: ==19270== Releasing lock...
[2025-04-12 11:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 11:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 15:01:02] Production.INFO: ==19272== Releasing lock...
[2025-04-12 15:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 15:01:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 11:01:03] Production.INFO: ==19282== Lock acquired, processing the job...
[2025-04-12 11:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 11:01:03] Production.INFO: ==19280== Lock acquired, processing the job...
[2025-04-12 11:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 11:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 11:01:03] Production.INFO: Account Balance Start.
[2025-04-12 11:01:03] Production.INFO: CreateAllLog Start
[2025-04-12 11:01:03] Production.INFO: 117
[2025-04-12 11:01:03] Production.INFO: Date 2025-04-08
[2025-04-12 11:01:03] Production.INFO: Reseller ==> 0
[2025-04-12 11:01:03] Production.INFO: Date 2025-04-09
[2025-04-12 11:01:03] Production.INFO: Reseller ==> 0
[2025-04-12 11:01:03] Production.INFO: Date 2025-04-10
[2025-04-12 11:01:03] Production.INFO: Reseller ==> 0
[2025-04-12 11:01:03] Production.INFO: ==19274== Lock acquired, processing the job...
[2025-04-12 11:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 11:01:03] Production.INFO: Date 2025-04-11
[2025-04-12 11:01:03] Production.INFO: Reseller ==> 0
[2025-04-12 11:01:03] Production.INFO: ==19276== Lock acquired, processing the job...
[2025-04-12 11:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 11:01:03] Production.INFO: Date 2025-04-12
[2025-04-12 11:01:03] Production.INFO: Reseller ==> 0
[2025-04-12 11:01:03] Production.INFO: ==19278== Lock acquired, processing the job...
[2025-04-12 11:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 11:01:03] Production.ERROR: done
[2025-04-12 11:01:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 11:01:03] Production.INFO: Total Charge 0
[2025-04-12 11:01:03] Production.INFO: ==19285== Lock acquired, processing the job...
[2025-04-12 11:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 11:01:04] Production.INFO: CreateAllLog End
[2025-04-12 11:01:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 11:01:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 11:01:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 11:01:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 11:01:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 11:01:04] Production.ERROR: done
[2025-04-12 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-12 11:01:04] Production.INFO: count ==12
[2025-04-12 11:01:04] Production.INFO: Account Balance End.
[2025-04-12 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-12 11:01:04] Production.INFO: count ==23
[2025-04-12 11:01:04] Production.ERROR: CronJobId end 12
[2025-04-12 11:01:04] Production.INFO: ==19280== Releasing lock...
[2025-04-12 11:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 11:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 11:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891116') start
[2025-04-12 11:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891116') end
[2025-04-12 11:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 11:01:04] Production.INFO: 1
[2025-04-12 11:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 11:01:04] Production.INFO: ==19285== Releasing lock...
[2025-04-12 11:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 11:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 11:01:04] Production.INFO: ==19276== Releasing lock...
[2025-04-12 11:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 11:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 11:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 08:01:05
[end_date_ymd] => 2025-04-12 11:01:05
[RateCDR] => 1
)
[2025-04-12 11:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 08:01:05' and `end` < '2025-04-12 11:01:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 11:01:12] Production.ERROR: CronJobId end10
[2025-04-12 11:01:12] Production.INFO: ==19278== Releasing lock...
[2025-04-12 11:01:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 11:01:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 11:01:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 11:01:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 11:01:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 11:01:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 11:01:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 11:01:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 11:01:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 11:01:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 11:01:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 11:01:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 11:01:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 11:01:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 11:01:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 11:01:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 11:01:15] Production.INFO: call_cost start
[2025-04-12 11:01:15] Production.INFO: call_cost end
[2025-04-12 11:01:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 11:01:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 11:01:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 11:01:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 11:01:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 11:01:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 11:01:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 11:01:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 11:01:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 11:01:16] Production.INFO: ==19274== Releasing lock...
[2025-04-12 11:01:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 11:01:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 11:01:18] Production.INFO: count ==940
[2025-04-12 11:01:18] Production.ERROR: pbx CDR StartTime 2025-04-12 08:01:05 - End Time 2025-04-12 11:01:05
[2025-04-12 11:01:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 11:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891117', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891117', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891117', 'tblTempVendorCDR_20' ) start
[2025-04-12 11:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891117', 'tblTempVendorCDR_20' ) end
[2025-04-12 11:01:18] Production.INFO: ProcessCDR(1,14891117,1,1,2)
[2025-04-12 11:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891117,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:01:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891117,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:01:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891117,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:01:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891117,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:01:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891117', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:01:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891117', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:01:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 11:01:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 11:01:23] Production.INFO: ==19282== Releasing lock...
[2025-04-12 11:01:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 11:01:23] Production.INFO: 35.5 MB #Memory Used#
[2025-04-12 16:02:02] Production.INFO: ==19380== Lock acquired, processing the job...
[2025-04-12 16:02:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 16:02:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 16:02:02] Production.INFO: neon service started
[2025-04-12 16:02:02] Production.INFO: neon service started
[2025-04-12 16:02:02] Production.INFO: ==19380== Releasing lock...
[2025-04-12 16:02:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 16:02:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 11:02:02] Production.INFO: ==19383== Lock acquired, processing the job...
[2025-04-12 11:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 11:02:03] Production.INFO: ==19383== Releasing lock...
[2025-04-12 11:02:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 11:02:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 15:02:03] Production.INFO: ==19385== Lock acquired, processing the job...
[2025-04-12 15:02:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 15:02:03] Production.INFO: ==19385== Releasing lock...
[2025-04-12 15:02:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 15:02:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 11:02:03] Production.INFO: ==19387== Lock acquired, processing the job...
[2025-04-12 11:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 11:02:03] Production.INFO: ==19391== Lock acquired, processing the job...
[2025-04-12 11:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 11:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 11:02:03] Production.INFO: ==19393== Lock acquired, processing the job...
[2025-04-12 11:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 11:02:03] Production.INFO: Account Balance Start.
[2025-04-12 11:02:03] Production.INFO: CreateAllLog Start
[2025-04-12 11:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 11:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 11:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 11:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 11:02:03] Production.INFO: 117
[2025-04-12 11:02:04] Production.INFO: Date 2025-04-08
[2025-04-12 11:02:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:02:04] Production.INFO: ==19389== Lock acquired, processing the job...
[2025-04-12 11:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 11:02:04] Production.INFO: Date 2025-04-09
[2025-04-12 11:02:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:02:04] Production.INFO: Date 2025-04-10
[2025-04-12 11:02:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:02:04] Production.INFO: ==19397== Lock acquired, processing the job...
[2025-04-12 11:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 11:02:04] Production.INFO: Date 2025-04-11
[2025-04-12 11:02:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:02:04] Production.INFO: ==19395== Lock acquired, processing the job...
[2025-04-12 11:02:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 11:02:04] Production.INFO: Date 2025-04-12
[2025-04-12 11:02:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:02:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 11:02:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 11:02:04] Production.INFO: Total Charge 0
[2025-04-12 11:02:04] Production.INFO: CreateAllLog End
[2025-04-12 11:02:04] Production.INFO: count ==12
[2025-04-12 11:02:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 11:02:04] Production.INFO: count ==23
[2025-04-12 11:02:04] Production.INFO: ==19389== Releasing lock...
[2025-04-12 11:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 11:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 11:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891121') start
[2025-04-12 11:02:04] Production.INFO: Account Balance End.
[2025-04-12 11:02:04] Production.ERROR: CronJobId end 12
[2025-04-12 11:02:04] Production.INFO: ==19393== Releasing lock...
[2025-04-12 11:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 11:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 11:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891121') end
[2025-04-12 11:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 11:02:04] Production.INFO: 1
[2025-04-12 11:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 11:02:04] Production.INFO: ==19397== Releasing lock...
[2025-04-12 11:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 11:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 11:02:04] Production.ERROR: done
[2025-04-12 11:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 11:02:05] Production.ERROR: done
[2025-04-12 11:02:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 08:02:06
[end_date_ymd] => 2025-04-12 11:02:06
[RateCDR] => 1
)
[2025-04-12 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-12 08:02:06' and `end` < '2025-04-12 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-12 11:02:12] Production.ERROR: CronJobId end10
[2025-04-12 11:02:12] Production.INFO: ==19391== Releasing lock...
[2025-04-12 11:02:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 11:02:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 11:02:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 11:02:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 11:02:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 11:02:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 11:02:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 11:02:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 11:02:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 11:02:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 11:02:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 11:02:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 11:02:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 11:02:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 11:02:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 11:02:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 11:02:14] Production.INFO: call_cost start
[2025-04-12 11:02:14] Production.INFO: call_cost end
[2025-04-12 11:02:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 11:02:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 11:02:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 11:02:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 11:02:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 11:02:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 11:02:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 11:02:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 11:02:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 11:02:15] Production.INFO: ==19387== Releasing lock...
[2025-04-12 11:02:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 11:02:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 11:02:19] Production.INFO: count ==942
[2025-04-12 11:02:19] Production.ERROR: pbx CDR StartTime 2025-04-12 08:02:06 - End Time 2025-04-12 11:02:06
[2025-04-12 11:02:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 11:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891122', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891122', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891122', 'tblTempVendorCDR_20' ) start
[2025-04-12 11:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891122', 'tblTempVendorCDR_20' ) end
[2025-04-12 11:02:19] Production.INFO: ProcessCDR(1,14891122,1,1,2)
[2025-04-12 11:02:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891122,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:02:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891122,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:02:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891122,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:02:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891122,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:02:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891122', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:02:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891122', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:02:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 11:02:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 11:02:25] Production.INFO: ==19395== Releasing lock...
[2025-04-12 11:02:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 11:02:25] Production.INFO: 35.25 MB #Memory Used#
[2025-04-12 16:03:01] Production.INFO: ==19452== Lock acquired, processing the job...
[2025-04-12 16:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 16:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 16:03:01] Production.INFO: neon service started
[2025-04-12 16:03:01] Production.INFO: neon service started
[2025-04-12 16:03:01] Production.INFO: ==19452== Releasing lock...
[2025-04-12 16:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 16:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 15:03:02] Production.INFO: ==19456== Lock acquired, processing the job...
[2025-04-12 15:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 15:03:02] Production.INFO: ==19456== Releasing lock...
[2025-04-12 15:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 15:03:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 11:03:02] Production.INFO: ==19454== Lock acquired, processing the job...
[2025-04-12 11:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 11:03:02] Production.INFO: ==19454== Releasing lock...
[2025-04-12 11:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 11:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 11:03:03] Production.INFO: ==19465== Lock acquired, processing the job...
[2025-04-12 11:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 11:03:03] Production.INFO: Account Balance Start.
[2025-04-12 11:03:03] Production.INFO: CreateAllLog Start
[2025-04-12 11:03:03] Production.INFO: 117
[2025-04-12 11:03:03] Production.INFO: ==19469== Lock acquired, processing the job...
[2025-04-12 11:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 11:03:03] Production.INFO: Date 2025-04-08
[2025-04-12 11:03:03] Production.INFO: Reseller ==> 0
[2025-04-12 11:03:03] Production.INFO: ==19461== Lock acquired, processing the job...
[2025-04-12 11:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 11:03:03] Production.INFO: ==19459== Lock acquired, processing the job...
[2025-04-12 11:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 11:03:03] Production.INFO: Date 2025-04-09
[2025-04-12 11:03:03] Production.INFO: Reseller ==> 0
[2025-04-12 11:03:03] Production.INFO: ==19463== Lock acquired, processing the job...
[2025-04-12 11:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 11: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-12 11:03:03] Production.INFO: Date 2025-04-10
[2025-04-12 11:03:03] Production.INFO: Reseller ==> 0
[2025-04-12 11:03:03] Production.INFO: count ==12
[2025-04-12 11: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-12 11:03:03] Production.INFO: count ==23
[2025-04-12 11:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 11:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891124') start
[2025-04-12 11:03:04] Production.INFO: Date 2025-04-11
[2025-04-12 11:03:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:03:03] Production.INFO: ==19467== Lock acquired, processing the job...
[2025-04-12 11:03:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 11:03:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 11:03:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 11:03:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 11:03:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 11:03:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 11:03:04] Production.INFO: Date 2025-04-12
[2025-04-12 11:03:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891124') end
[2025-04-12 11:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 11:03:04] Production.INFO: 1
[2025-04-12 11:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 11:03:04] Production.INFO: Total Charge 0
[2025-04-12 11:03:04] Production.INFO: CreateAllLog End
[2025-04-12 11:03:04] Production.INFO: ==19469== Releasing lock...
[2025-04-12 11:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 11:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 11:03:04] Production.INFO: ==19461== Releasing lock...
[2025-04-12 11:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 11:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 11:03:04] Production.ERROR: done
[2025-04-12 11:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 11:03:04] Production.INFO: Account Balance End.
[2025-04-12 11:03:04] Production.ERROR: done
[2025-04-12 11:03:04] Production.ERROR: CronJobId end 12
[2025-04-12 11:03:04] Production.INFO: ==19465== Releasing lock...
[2025-04-12 11:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 11:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 11:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 08:03:05
[end_date_ymd] => 2025-04-12 11:03:05
[RateCDR] => 1
)
[2025-04-12 11:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 08:03:05' and `end` < '2025-04-12 11:03:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 11:03:11] Production.ERROR: CronJobId end10
[2025-04-12 11:03:11] Production.INFO: ==19463== Releasing lock...
[2025-04-12 11:03:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 11:03:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 11:03:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 11:03:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 11:03:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 11:03:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 11:03:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 11:03:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 11:03:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 11:03:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 11:03:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 11:03:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 11:03:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 11:03:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 11:03:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 11:03:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 11:03:14] Production.INFO: call_cost start
[2025-04-12 11:03:14] Production.INFO: call_cost end
[2025-04-12 11:03:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 11:03:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 11:03:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 11:03:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 11:03:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 11:03:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 11:03:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 11:03:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 11:03:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 11:03:15] Production.INFO: ==19459== Releasing lock...
[2025-04-12 11:03:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 11:03:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 11:03:18] Production.INFO: count ==943
[2025-04-12 11:03:18] Production.ERROR: pbx CDR StartTime 2025-04-12 08:03:05 - End Time 2025-04-12 11:03:05
[2025-04-12 11:03:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 11:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891127', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891127', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891127', 'tblTempVendorCDR_20' ) start
[2025-04-12 11:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891127', 'tblTempVendorCDR_20' ) end
[2025-04-12 11:03:18] Production.INFO: ProcessCDR(1,14891127,1,1,2)
[2025-04-12 11:03:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891127,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:03:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891127,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:03:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891127,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:03:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891127,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:03:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891127', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:03:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891127', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:03:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 11:03:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 11:03:24] Production.INFO: ==19467== Releasing lock...
[2025-04-12 11:03:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 11:03:24] Production.INFO: 35.25 MB #Memory Used#
[2025-04-12 16:04:02] Production.INFO: ==19529== Lock acquired, processing the job...
[2025-04-12 16:04:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 16:04:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 16:04:02] Production.INFO: neon service started
[2025-04-12 16:04:02] Production.INFO: neon service started
[2025-04-12 16:04:02] Production.INFO: ==19529== Releasing lock...
[2025-04-12 16:04:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 16:04:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 11:04:02] Production.INFO: ==19531== Lock acquired, processing the job...
[2025-04-12 11:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 15:04:02] Production.INFO: ==19533== Lock acquired, processing the job...
[2025-04-12 15:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 15:04:03] Production.INFO: ==19533== Releasing lock...
[2025-04-12 15:04:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 15:04:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 11:04:03] Production.INFO: ==19531== Releasing lock...
[2025-04-12 11:04:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 11:04:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 11:04:04] Production.INFO: ==19536== Lock acquired, processing the job...
[2025-04-12 11:04:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 11:04:04] Production.INFO: ==19544== Lock acquired, processing the job...
[2025-04-12 11:04:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 11:04:04] Production.INFO: ==19538== Lock acquired, processing the job...
[2025-04-12 11:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 11:04:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 11:04:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 11:04:04] Production.INFO: ==19546== Lock acquired, processing the job...
[2025-04-12 11:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 11:04:04] Production.INFO: ==19540== Lock acquired, processing the job...
[2025-04-12 11:04:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 11:04:04] Production.INFO: ==19542== Lock acquired, processing the job...
[2025-04-12 11:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 11:04:04] Production.INFO: ==19538== Releasing lock...
[2025-04-12 11:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 11:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 11:04:04] Production.INFO: Account Balance Start.
[2025-04-12 11:04:04] Production.INFO: CreateAllLog Start
[2025-04-12 11:04:04] Production.INFO: 117
[2025-04-12 11:04:04] Production.INFO: Date 2025-04-08
[2025-04-12 11:04:04] Production.ERROR: done
[2025-04-12 11:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 11:04:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:04:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 11:04:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 11:04:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 11:04:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 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-12 11:04:04] Production.INFO: count ==12
[2025-04-12 11:04:04] Production.INFO: Date 2025-04-09
[2025-04-12 11:04:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:04:04] Production.ERROR: done
[2025-04-12 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-12 11:04:04] Production.INFO: count ==23
[2025-04-12 11:04:04] Production.INFO: Date 2025-04-10
[2025-04-12 11:04:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891131') start
[2025-04-12 11:04:04] Production.INFO: Date 2025-04-11
[2025-04-12 11:04:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:04:04] Production.INFO: Date 2025-04-12
[2025-04-12 11:04:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891131') end
[2025-04-12 11:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 11:04:04] Production.INFO: 1
[2025-04-12 11:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 11:04:04] Production.INFO: Total Charge 0
[2025-04-12 11:04:04] Production.INFO: CreateAllLog End
[2025-04-12 11:04:04] Production.INFO: ==19546== Releasing lock...
[2025-04-12 11:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 11:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 11:04:05] Production.INFO: Account Balance End.
[2025-04-12 11:04:05] Production.ERROR: CronJobId end 12
[2025-04-12 11:04:05] Production.INFO: ==19542== Releasing lock...
[2025-04-12 11:04:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 11:04:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 11:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 08:04:05
[end_date_ymd] => 2025-04-12 11:04:05
[RateCDR] => 1
)
[2025-04-12 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-12 08:04:05' and `end` < '2025-04-12 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-12 11:04:12] Production.ERROR: CronJobId end10
[2025-04-12 11:04:12] Production.INFO: ==19540== Releasing lock...
[2025-04-12 11:04:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 11:04:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 11:04:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 11:04:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 11:04:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 11:04:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 11:04:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 11:04:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 11:04:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 11:04:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 11:04:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 11:04:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 11:04:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 11:04:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 11:04:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 11:04:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 11:04:15] Production.INFO: call_cost start
[2025-04-12 11:04:15] Production.INFO: call_cost end
[2025-04-12 11:04:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 11:04:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 11:04:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 11:04:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 11:04:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 11:04:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 11:04:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 11:04:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 11:04:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 11:04:16] Production.INFO: ==19536== Releasing lock...
[2025-04-12 11:04:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 11:04:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 11:04:18] Production.INFO: count ==944
[2025-04-12 11:04:19] Production.ERROR: pbx CDR StartTime 2025-04-12 08:04:05 - End Time 2025-04-12 11:04:05
[2025-04-12 11:04:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 11:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891132', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891132', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891132', 'tblTempVendorCDR_20' ) start
[2025-04-12 11:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891132', 'tblTempVendorCDR_20' ) end
[2025-04-12 11:04:19] Production.INFO: ProcessCDR(1,14891132,1,1,2)
[2025-04-12 11:04:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891132,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:04:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891132,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:04:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891132,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:04:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891132,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:04:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891132', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:04:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891132', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:04:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 11:04:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 11:04:24] Production.INFO: ==19544== Releasing lock...
[2025-04-12 11:04:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 11:04:24] Production.INFO: 35.5 MB #Memory Used#
[2025-04-12 16:05:01] Production.INFO: ==19683== Lock acquired, processing the job...
[2025-04-12 16:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 16:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 16:05:01] Production.INFO: neon service started
[2025-04-12 16:05:01] Production.INFO: neon service started
[2025-04-12 16:05:01] Production.INFO: ==19683== Releasing lock...
[2025-04-12 16:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 16:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 11:05:02] Production.INFO: ==19685== Lock acquired, processing the job...
[2025-04-12 11:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 11:05:02] Production.INFO: ==19685== Releasing lock...
[2025-04-12 11:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 11:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 15:05:02] Production.INFO: ==19687== Lock acquired, processing the job...
[2025-04-12 15:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 15:05:02] Production.INFO: ==19687== Releasing lock...
[2025-04-12 15:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 15:05:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 11:05:03] Production.INFO: ==19698== Lock acquired, processing the job...
[2025-04-12 11:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 11:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 11:05:03] Production.INFO: ==19700== Lock acquired, processing the job...
[2025-04-12 11:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 11:05:03] Production.INFO: ==19692== Lock acquired, processing the job...
[2025-04-12 11:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 11:05:03] Production.INFO: ==19690== Lock acquired, processing the job...
[2025-04-12 11:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 11:05:03] Production.INFO: ==19696== Lock acquired, processing the job...
[2025-04-12 11:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 11:05:03] Production.INFO: ==19694== Lock acquired, processing the job...
[2025-04-12 11:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 11:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 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-12 11:05:03] Production.INFO: count ==12
[2025-04-12 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-12 11:05:03] Production.INFO: count ==23
[2025-04-12 11:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891133') start
[2025-04-12 11:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 11:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 11:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 11:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 11:05:03] Production.INFO: Account Balance Start.
[2025-04-12 11:05:03] Production.INFO: CreateAllLog Start
[2025-04-12 11:05:03] Production.INFO: 117
[2025-04-12 11:05:03] Production.ERROR: done
[2025-04-12 11:05:03] Production.INFO: Date 2025-04-08
[2025-04-12 11:05:03] Production.INFO: Reseller ==> 0
[2025-04-12 11:05:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 11:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891133') end
[2025-04-12 11:05:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 11:05:03] Production.INFO: 1
[2025-04-12 11:05:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 11:05:03] Production.INFO: Date 2025-04-09
[2025-04-12 11:05:03] Production.INFO: Reseller ==> 0
[2025-04-12 11:05:03] Production.INFO: Date 2025-04-10
[2025-04-12 11:05:03] Production.INFO: Reseller ==> 0
[2025-04-12 11:05:04] Production.INFO: ==19692== Releasing lock...
[2025-04-12 11:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 11:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 11:05:04] Production.INFO: ==19700== Releasing lock...
[2025-04-12 11:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 11:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 11:05:04] Production.INFO: Date 2025-04-11
[2025-04-12 11:05:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:05:04] Production.ERROR: done
[2025-04-12 11:05:04] Production.INFO: Date 2025-04-12
[2025-04-12 11:05:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:05:04] Production.INFO: Total Charge 0
[2025-04-12 11:05:04] Production.INFO: CreateAllLog End
[2025-04-12 11:05:04] Production.INFO: Account Balance End.
[2025-04-12 11:05:04] Production.ERROR: CronJobId end 12
[2025-04-12 11:05:04] Production.INFO: ==19696== Releasing lock...
[2025-04-12 11:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 11:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 11:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 08:05:05
[end_date_ymd] => 2025-04-12 11:05:05
[RateCDR] => 1
)
[2025-04-12 11:05:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 08:05:05' and `end` < '2025-04-12 11:05:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 11:05:12] Production.ERROR: CronJobId end10
[2025-04-12 11:05:12] Production.INFO: ==19694== Releasing lock...
[2025-04-12 11:05:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 11:05:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 11:05:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 11:05:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 11:05:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 11:05:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 11:05:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 11:05:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 11:05:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 11:05:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 11:05:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 11:05:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 11:05:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 11:05:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 11:05:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 11:05:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 11:05:14] Production.INFO: call_cost start
[2025-04-12 11:05:14] Production.INFO: call_cost end
[2025-04-12 11:05:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 11:05:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 11:05:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 11:05:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 11:05:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 11:05:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 11:05:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 11:05:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 11:05:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 11:05:15] Production.INFO: ==19690== Releasing lock...
[2025-04-12 11:05:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 11:05:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 11:05:18] Production.INFO: count ==945
[2025-04-12 11:05:18] Production.ERROR: pbx CDR StartTime 2025-04-12 08:05:05 - End Time 2025-04-12 11:05:05
[2025-04-12 11:05:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 11:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891137', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891137', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891137', 'tblTempVendorCDR_20' ) start
[2025-04-12 11:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891137', 'tblTempVendorCDR_20' ) end
[2025-04-12 11:05:18] Production.INFO: ProcessCDR(1,14891137,1,1,2)
[2025-04-12 11:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891137,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:05:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891137,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:05:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891137,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:05:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891137,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:05:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891137', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:05:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891137', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:05:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 11:05:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 11:05:23] Production.INFO: ==19698== Releasing lock...
[2025-04-12 11:05:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 11:05:23] Production.INFO: 35.75 MB #Memory Used#
[2025-04-12 16:06:02] Production.INFO: ==19759== Lock acquired, processing the job...
[2025-04-12 16:06:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 16:06:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 16:06:02] Production.INFO: neon service started
[2025-04-12 16:06:02] Production.INFO: neon service started
[2025-04-12 16:06:02] Production.INFO: ==19759== Releasing lock...
[2025-04-12 16:06:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 16:06:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 15:06:02] Production.INFO: ==19763== Lock acquired, processing the job...
[2025-04-12 15:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 15:06:02] Production.INFO: ==19763== Releasing lock...
[2025-04-12 15:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 15:06:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 11:06:02] Production.INFO: ==19761== Lock acquired, processing the job...
[2025-04-12 11:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 11:06:03] Production.INFO: ==19761== Releasing lock...
[2025-04-12 11:06:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 11:06:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 11:06:04] Production.INFO: ==19766== Lock acquired, processing the job...
[2025-04-12 11:06:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 11:06:04] Production.INFO: ==19768== Lock acquired, processing the job...
[2025-04-12 11:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 11:06:04] Production.INFO: ==19770== Lock acquired, processing the job...
[2025-04-12 11:06:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 11:06:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 11:06:04] Production.INFO: ==19772== Lock acquired, processing the job...
[2025-04-12 11:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 11:06:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 11:06:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 11:06:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 11:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 11:06:04] Production.INFO: Account Balance Start.
[2025-04-12 11:06:04] Production.INFO: CreateAllLog Start
[2025-04-12 11:06:04] Production.INFO: 117
[2025-04-12 11:06:04] Production.INFO: Date 2025-04-08
[2025-04-12 11:06:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:06:04] Production.INFO: Date 2025-04-09
[2025-04-12 11:06:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:06:04] Production.INFO: ==19776== Lock acquired, processing the job...
[2025-04-12 11:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 11:06:04] Production.INFO: ==19774== Lock acquired, processing the job...
[2025-04-12 11:06:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 11:06:04] Production.INFO: Date 2025-04-10
[2025-04-12 11:06:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:06:04] Production.INFO: Date 2025-04-11
[2025-04-12 11:06:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:06:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 11:06:04] Production.INFO: Date 2025-04-12
[2025-04-12 11: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-12 11:06:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:06:04] Production.INFO: Total Charge 0
[2025-04-12 11:06:04] Production.INFO: CreateAllLog End
[2025-04-12 11:06:04] Production.INFO: count ==12
[2025-04-12 11: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-12 11:06:04] Production.INFO: ==19768== Releasing lock...
[2025-04-12 11:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 11:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 11:06:04] Production.INFO: count ==23
[2025-04-12 11:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891141') start
[2025-04-12 11:06:05] Production.ERROR: PBX CALL prc_importPBXExtension('14891141') end
[2025-04-12 11:06:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 11:06:05] Production.INFO: 1
[2025-04-12 11:06:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 11:06:05] Production.INFO: ==19776== Releasing lock...
[2025-04-12 11:06:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 11:06:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 11:06:05] Production.ERROR: done
[2025-04-12 11:06:05] Production.INFO: Account Balance End.
[2025-04-12 11:06:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 11:06:05] Production.ERROR: CronJobId end 12
[2025-04-12 11:06:05] Production.INFO: ==19772== Releasing lock...
[2025-04-12 11:06:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 11:06:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 11:06:05] Production.ERROR: done
[2025-04-12 11:06:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 08:06:06
[end_date_ymd] => 2025-04-12 11:06:06
[RateCDR] => 1
)
[2025-04-12 11: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-12 08:06:06' and `end` < '2025-04-12 11: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-12 11:06:13] Production.ERROR: CronJobId end10
[2025-04-12 11:06:13] Production.INFO: ==19770== Releasing lock...
[2025-04-12 11:06:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 11:06:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 11:06:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 11:06:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 11:06:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 11:06:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 11:06:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 11:06:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 11:06:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 11:06:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 11:06:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 11:06:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 11:06:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 11:06:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 11:06:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 11:06:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 11:06:16] Production.INFO: call_cost start
[2025-04-12 11:06:16] Production.INFO: call_cost end
[2025-04-12 11:06:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 11:06:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 11:06:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 11:06:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 11:06:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 11:06:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 11:06:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 11:06:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 11:06:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 11:06:17] Production.INFO: ==19766== Releasing lock...
[2025-04-12 11:06:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 11:06:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 11:06:19] Production.INFO: count ==947
[2025-04-12 11:06:19] Production.ERROR: pbx CDR StartTime 2025-04-12 08:06:06 - End Time 2025-04-12 11:06:06
[2025-04-12 11:06:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 11:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891142', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891142', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891142', 'tblTempVendorCDR_20' ) start
[2025-04-12 11:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891142', 'tblTempVendorCDR_20' ) end
[2025-04-12 11:06:19] Production.INFO: ProcessCDR(1,14891142,1,1,2)
[2025-04-12 11:06:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891142,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:06:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891142,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:06:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891142,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:06:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891142,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:06:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891142', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:06:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891142', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:06:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 11:06:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 11:06:25] Production.INFO: ==19774== Releasing lock...
[2025-04-12 11:06:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 11:06:25] Production.INFO: 36 MB #Memory Used#
[2025-04-12 16:07:01] Production.INFO: ==19829== Lock acquired, processing the job...
[2025-04-12 16:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 16:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 16:07:01] Production.INFO: neon service started
[2025-04-12 16:07:01] Production.INFO: neon service started
[2025-04-12 16:07:01] Production.INFO: ==19829== Releasing lock...
[2025-04-12 16:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 16:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 15:07:02] Production.INFO: ==19833== Lock acquired, processing the job...
[2025-04-12 15:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 15:07:02] Production.INFO: ==19833== Releasing lock...
[2025-04-12 15:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 15:07:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 11:07:02] Production.INFO: ==19831== Lock acquired, processing the job...
[2025-04-12 11:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 11:07:02] Production.INFO: ==19831== Releasing lock...
[2025-04-12 11:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 11:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 11:07:03] Production.INFO: ==19838== Lock acquired, processing the job...
[2025-04-12 11:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 11:07:03] Production.INFO: ==19846== Lock acquired, processing the job...
[2025-04-12 11:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 11:07:03] Production.INFO: ==19836== Lock acquired, processing the job...
[2025-04-12 11:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 11:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 11:07:03] Production.INFO: ==19838== Releasing lock...
[2025-04-12 11:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 11:07:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 11:07:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 11:07:03] Production.INFO: ==19840== Lock acquired, processing the job...
[2025-04-12 11:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 11:07:03] Production.INFO: ==19844== Lock acquired, processing the job...
[2025-04-12 11:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 11:07:03] Production.INFO: ==19842== Lock acquired, processing the job...
[2025-04-12 11:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 11:07:03] Production.INFO: count ==12
[2025-04-12 11: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-12 11:07:03] Production.INFO: count ==23
[2025-04-12 11:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 11:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891144') start
[2025-04-12 11:07:03] Production.INFO: Account Balance Start.
[2025-04-12 11:07:03] Production.INFO: CreateAllLog Start
[2025-04-12 11:07:03] Production.INFO: 117
[2025-04-12 11:07:03] Production.INFO: Date 2025-04-08
[2025-04-12 11:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 11:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 11:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 11:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 11:07:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:07:04] Production.INFO: Date 2025-04-09
[2025-04-12 11:07:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891144') end
[2025-04-12 11:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 11:07:04] Production.INFO: 1
[2025-04-12 11:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 11:07:04] Production.INFO: Date 2025-04-10
[2025-04-12 11:07:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:07:04] Production.INFO: Date 2025-04-11
[2025-04-12 11:07:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:07:04] Production.INFO: ==19846== Releasing lock...
[2025-04-12 11:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 11:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 11:07:04] Production.INFO: Date 2025-04-12
[2025-04-12 11:07:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:07:04] Production.INFO: Total Charge 0
[2025-04-12 11:07:04] Production.INFO: CreateAllLog End
[2025-04-12 11:07:04] Production.ERROR: done
[2025-04-12 11:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 11:07:04] Production.INFO: Account Balance End.
[2025-04-12 11:07:04] Production.ERROR: CronJobId end 12
[2025-04-12 11:07:04] Production.INFO: ==19842== Releasing lock...
[2025-04-12 11:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 11:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 11:07:04] Production.ERROR: done
[2025-04-12 11:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 08:07:05
[end_date_ymd] => 2025-04-12 11:07:05
[RateCDR] => 1
)
[2025-04-12 11:07:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 08:07:05' and `end` < '2025-04-12 11:07:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 11:07:12] Production.ERROR: CronJobId end10
[2025-04-12 11:07:12] Production.INFO: ==19840== Releasing lock...
[2025-04-12 11:07:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 11:07:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 11:07:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 11:07:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 11:07:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 11:07:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 11:07:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 11:07:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 11:07:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 11:07:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 11:07:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 11:07:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 11:07:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 11:07:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 11:07:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 11:07:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 11:07:15] Production.INFO: call_cost start
[2025-04-12 11:07:15] Production.INFO: call_cost end
[2025-04-12 11:07:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 11:07:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 11:07:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 11:07:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 11:07:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 11:07:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 11:07:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 11:07:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 11:07:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 11:07:16] Production.INFO: ==19836== Releasing lock...
[2025-04-12 11:07:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 11:07:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 11:07:18] Production.INFO: count ==952
[2025-04-12 11:07:19] Production.ERROR: pbx CDR StartTime 2025-04-12 08:07:05 - End Time 2025-04-12 11:07:05
[2025-04-12 11:07:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 11:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891147', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891147', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891147', 'tblTempVendorCDR_20' ) start
[2025-04-12 11:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891147', 'tblTempVendorCDR_20' ) end
[2025-04-12 11:07:19] Production.INFO: ProcessCDR(1,14891147,1,1,2)
[2025-04-12 11:07:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891147,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:07:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891147,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:07:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891147,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:07:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891147,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:07:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891147', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:07:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891147', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:07:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 11:07:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 11:07:24] Production.INFO: ==19844== Releasing lock...
[2025-04-12 11:07:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 11:07:24] Production.INFO: 35.75 MB #Memory Used#
[2025-04-12 16:08:02] Production.INFO: ==19979== Lock acquired, processing the job...
[2025-04-12 16:08:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 16:08:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 16:08:02] Production.INFO: neon service started
[2025-04-12 16:08:02] Production.INFO: neon service started
[2025-04-12 16:08:02] Production.INFO: ==19979== Releasing lock...
[2025-04-12 16:08:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 16:08:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 11:08:02] Production.INFO: ==19981== Lock acquired, processing the job...
[2025-04-12 11:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 11:08:02] Production.INFO: ==19981== Releasing lock...
[2025-04-12 11:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 11:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 15:08:02] Production.INFO: ==19983== Lock acquired, processing the job...
[2025-04-12 15:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 15:08:02] Production.INFO: ==19983== Releasing lock...
[2025-04-12 15:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 15:08:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 11:08:03] Production.INFO: ==19994== Lock acquired, processing the job...
[2025-04-12 11:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 11:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 11:08:03] Production.INFO: ==19986== Lock acquired, processing the job...
[2025-04-12 11:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 11:08:03] Production.INFO: ==19996== Lock acquired, processing the job...
[2025-04-12 11:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 11:08:03] Production.INFO: ==19988== Lock acquired, processing the job...
[2025-04-12 11:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 11:08:03] Production.INFO: ==19990== Lock acquired, processing the job...
[2025-04-12 11:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 11:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 11:08:04] Production.INFO: ==19992== Lock acquired, processing the job...
[2025-04-12 11:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 11:08:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 11:08:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 11:08:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 11:08:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 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-12 11:08:04] Production.INFO: Account Balance Start.
[2025-04-12 11:08:04] Production.INFO: CreateAllLog Start
[2025-04-12 11:08:04] Production.INFO: 117
[2025-04-12 11:08:04] Production.INFO: Date 2025-04-08
[2025-04-12 11:08:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:08:04] Production.INFO: count ==12
[2025-04-12 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-12 11:08:04] Production.INFO: count ==23
[2025-04-12 11:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891150') start
[2025-04-12 11:08:04] Production.ERROR: done
[2025-04-12 11:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 11:08:04] Production.INFO: Date 2025-04-09
[2025-04-12 11:08:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:08:04] Production.INFO: ==19988== Releasing lock...
[2025-04-12 11:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 11:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 11:08:04] Production.ERROR: done
[2025-04-12 11:08:04] Production.INFO: Date 2025-04-10
[2025-04-12 11:08:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891150') end
[2025-04-12 11:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 11:08:04] Production.INFO: 1
[2025-04-12 11:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 11:08:04] Production.INFO: Date 2025-04-11
[2025-04-12 11:08:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:08:04] Production.INFO: ==19996== Releasing lock...
[2025-04-12 11:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 11:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 11:08:04] Production.INFO: Date 2025-04-12
[2025-04-12 11:08:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:08:04] Production.INFO: Total Charge 0
[2025-04-12 11:08:04] Production.INFO: CreateAllLog End
[2025-04-12 11:08:04] Production.INFO: Account Balance End.
[2025-04-12 11:08:05] Production.ERROR: CronJobId end 12
[2025-04-12 11:08:05] Production.INFO: ==19992== Releasing lock...
[2025-04-12 11:08:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 11:08:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 11:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 08:08:05
[end_date_ymd] => 2025-04-12 11:08:05
[RateCDR] => 1
)
[2025-04-12 11:08:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 08:08:05' and `end` < '2025-04-12 11:08:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 11:08:11] Production.ERROR: CronJobId end10
[2025-04-12 11:08:11] Production.INFO: ==19990== Releasing lock...
[2025-04-12 11:08:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 11:08:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 11:08:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 11:08:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 11:08:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 11:08:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 11:08:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 11:08:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 11:08:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 11:08:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 11:08:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 11:08:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 11:08:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 11:08:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 11:08:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 11:08:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 11:08:14] Production.INFO: call_cost start
[2025-04-12 11:08:14] Production.INFO: call_cost end
[2025-04-12 11:08:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 11:08:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 11:08:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 11:08:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 11:08:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 11:08:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 11:08:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 11:08:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 11:08:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 11:08:15] Production.INFO: ==19986== Releasing lock...
[2025-04-12 11:08:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 11:08:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 11:08:18] Production.INFO: count ==954
[2025-04-12 11:08:19] Production.ERROR: pbx CDR StartTime 2025-04-12 08:08:05 - End Time 2025-04-12 11:08:05
[2025-04-12 11:08:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 11:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891152', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891152', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891152', 'tblTempVendorCDR_20' ) start
[2025-04-12 11:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891152', 'tblTempVendorCDR_20' ) end
[2025-04-12 11:08:19] Production.INFO: ProcessCDR(1,14891152,1,1,2)
[2025-04-12 11:08:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891152,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:08:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891152,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:08:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891152,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:08:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891152,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:08:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891152', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:08:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891152', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:08:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 11:08:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 11:08:24] Production.INFO: ==19994== Releasing lock...
[2025-04-12 11:08:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 11:08:24] Production.INFO: 35.75 MB #Memory Used#
[2025-04-12 16:09:01] Production.INFO: ==20056== Lock acquired, processing the job...
[2025-04-12 16:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 16:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 16:09:01] Production.INFO: neon service started
[2025-04-12 16:09:01] Production.INFO: neon service started
[2025-04-12 16:09:01] Production.INFO: ==20056== Releasing lock...
[2025-04-12 16:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 16:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 15:09:01] Production.INFO: ==20060== Lock acquired, processing the job...
[2025-04-12 15:09:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 15:09:01] Production.INFO: ==20060== Releasing lock...
[2025-04-12 15:09:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 15:09:01] Production.INFO: 25 MB #Memory Used#
[2025-04-12 11:09:02] Production.INFO: ==20058== Lock acquired, processing the job...
[2025-04-12 11:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 11:09:02] Production.INFO: ==20058== Releasing lock...
[2025-04-12 11:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 11:09:02] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 11:09:03] Production.INFO: ==20063== Lock acquired, processing the job...
[2025-04-12 11:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 11:09:03] Production.INFO: ==20065== Lock acquired, processing the job...
[2025-04-12 11:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 11:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 11:09:03] Production.INFO: ==20067== Lock acquired, processing the job...
[2025-04-12 11:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 11:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 11:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 11:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 11:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 11:09:03] Production.INFO: ==20069== Lock acquired, processing the job...
[2025-04-12 11:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 11:09:03] Production.INFO: ==20071== Lock acquired, processing the job...
[2025-04-12 11:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 11:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 11:09:03] Production.INFO: Account Balance Start.
[2025-04-12 11:09:03] Production.INFO: CreateAllLog Start
[2025-04-12 11:09:03] Production.INFO: 117
[2025-04-12 11:09:03] Production.INFO: ==20073== Lock acquired, processing the job...
[2025-04-12 11:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 11:09:03] Production.INFO: Date 2025-04-08
[2025-04-12 11:09:03] Production.INFO: ==20065== Releasing lock...
[2025-04-12 11:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 11:09:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 11:09:03] Production.INFO: Reseller ==> 0
[2025-04-12 11:09:03] Production.INFO: Date 2025-04-09
[2025-04-12 11:09:03] Production.INFO: Reseller ==> 0
[2025-04-12 11:09:04] Production.INFO: Date 2025-04-10
[2025-04-12 11:09:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:09:04] Production.INFO: Date 2025-04-11
[2025-04-12 11:09:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:09:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 11:09:04] Production.INFO: count ==12
[2025-04-12 11:09:04] Production.INFO: Date 2025-04-12
[2025-04-12 11:09:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 11:09:04] Production.INFO: count ==23
[2025-04-12 11:09:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:09:04] Production.ERROR: done
[2025-04-12 11:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 11:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891156') start
[2025-04-12 11:09:04] Production.INFO: Total Charge 0
[2025-04-12 11:09:04] Production.INFO: CreateAllLog End
[2025-04-12 11:09:04] Production.ERROR: done
[2025-04-12 11:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891156') end
[2025-04-12 11:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 11:09:04] Production.INFO: 1
[2025-04-12 11:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 11:09:04] Production.INFO: Account Balance End.
[2025-04-12 11:09:04] Production.INFO: ==20073== Releasing lock...
[2025-04-12 11:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 11:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 11:09:04] Production.ERROR: CronJobId end 12
[2025-04-12 11:09:04] Production.INFO: ==20069== Releasing lock...
[2025-04-12 11:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 11:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 11:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 08:09:05
[end_date_ymd] => 2025-04-12 11:09:05
[RateCDR] => 1
)
[2025-04-12 11:09:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 08:09:05' and `end` < '2025-04-12 11:09:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 11:09:12] Production.ERROR: CronJobId end10
[2025-04-12 11:09:12] Production.INFO: ==20067== Releasing lock...
[2025-04-12 11:09:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 11:09:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 11:09:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 11:09:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 11:09:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 11:09:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 11:09:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 11:09:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 11:09:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 11:09:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 11:09:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 11:09:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 11:09:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 11:09:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 11:09:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 11:09:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 11:09:14] Production.INFO: call_cost start
[2025-04-12 11:09:14] Production.INFO: call_cost end
[2025-04-12 11:09:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 11:09:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 11:09:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 11:09:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 11:09:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 11:09:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 11:09:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 11:09:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 11:09:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 11:09:15] Production.INFO: ==20063== Releasing lock...
[2025-04-12 11:09:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 11:09:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 11:09:18] Production.INFO: count ==955
[2025-04-12 11:09:18] Production.ERROR: pbx CDR StartTime 2025-04-12 08:09:05 - End Time 2025-04-12 11:09:05
[2025-04-12 11:09:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 11:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891157', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891157', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891157', 'tblTempVendorCDR_20' ) start
[2025-04-12 11:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891157', 'tblTempVendorCDR_20' ) end
[2025-04-12 11:09:18] Production.INFO: ProcessCDR(1,14891157,1,1,2)
[2025-04-12 11:09:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891157,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:09:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891157,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:09:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891157,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:09:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891157,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:09:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891157', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:09:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891157', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:09:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 11:09:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 11:09:23] Production.INFO: ==20071== Releasing lock...
[2025-04-12 11:09:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 11:09:23] Production.INFO: 35.75 MB #Memory Used#
[2025-04-12 16:10:02] Production.INFO: ==20127== Lock acquired, processing the job...
[2025-04-12 16:10:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 16:10:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 16:10:02] Production.INFO: neon service started
[2025-04-12 16:10:02] Production.INFO: neon service started
[2025-04-12 16:10:02] Production.INFO: ==20127== Releasing lock...
[2025-04-12 16:10:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 16:10:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 15:10:02] Production.INFO: ==20131== Lock acquired, processing the job...
[2025-04-12 11:10:02] Production.INFO: ==20129== Lock acquired, processing the job...
[2025-04-12 11:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 15:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 15:10:02] Production.INFO: ==20131== Releasing lock...
[2025-04-12 15:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 15:10:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 11:10:03] Production.INFO: ==20129== Releasing lock...
[2025-04-12 11:10:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 11:10:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 11:10:04] Production.INFO: ==20136== Lock acquired, processing the job...
[2025-04-12 11:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 11:10:04] Production.INFO: ==20134== Lock acquired, processing the job...
[2025-04-12 11:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 11:10:04] Production.INFO: ==20140== Lock acquired, processing the job...
[2025-04-12 11:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 11:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 11:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 11:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 11:10:04] Production.ERROR: CronJob PID - 20136
[2025-04-12 11:10:04] Production.ERROR: CronJob Title - System Alerts
[2025-04-12 11:10:04] Production.ERROR: CronJob ID - 5
[2025-04-12 11:10:04] Production.ERROR: CronJob Last Run Time 2025-04-12 11:10:00
[2025-04-12 11:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 11:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 11:10:04] Production.INFO: ==20142== Lock acquired, processing the job...
[2025-04-12 11:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 11:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 11:10:04] Production.INFO: ==20134== Releasing lock...
[2025-04-12 11:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 11:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 11:10:04] Production.INFO: ==20138== Lock acquired, processing the job...
[2025-04-12 11:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 11:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 11:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 11:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 11:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 11:10:04] Production.INFO: Account Balance Start.
[2025-04-12 11:10:04] Production.INFO: CreateAllLog Start
[2025-04-12 11:10:04] Production.INFO: 117
[2025-04-12 11:10:04] Production.INFO: Date 2025-04-08
[2025-04-12 11:10:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:10:04] Production.INFO: ==20144== Lock acquired, processing the job...
[2025-04-12 11:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 11:10:04] Production.INFO: Date 2025-04-09
[2025-04-12 11:10:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:10:04] Production.INFO: Date 2025-04-10
[2025-04-12 11:10:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:10:04] Production.INFO: ==20146== Lock acquired, processing the job...
[2025-04-12 11:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 11:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 11:10:04] Production.INFO: Date 2025-04-11
[2025-04-12 11:10:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:10:04] Production.INFO: ==20148== Lock acquired, processing the job...
[2025-04-12 11:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 11:10:04] Production.INFO: Date 2025-04-12
[2025-04-12 11:10:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:10:05] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 11:10:05] Production.INFO: Total Charge 0
[2025-04-12 11:10:05] Production.INFO: ==20138== Releasing lock...
[2025-04-12 11:10:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 11:10:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 11:10:05] Production.INFO: CreateAllLog End
[2025-04-12 11: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-12 11:10:05] Production.ERROR: done
[2025-04-12 11:10:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 11:10:05] Production.INFO: count ==12
[2025-04-12 11:10:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 11:10:05] Production.INFO: count ==23
[2025-04-12 11:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14891161') start
[2025-04-12 11:10:05] Production.ERROR: done
[2025-04-12 11:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14891161') end
[2025-04-12 11:10:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 11:10:05] Production.INFO: 1
[2025-04-12 11:10:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 11:10:05] Production.INFO: ==20148== Releasing lock...
[2025-04-12 11:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 11:10:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 11:10:05] Production.ERROR: done
[2025-04-12 11:10:05] Production.INFO: Account Balance End.
[2025-04-12 11:10:05] Production.ERROR: CronJobId end 12
[2025-04-12 11:10:05] Production.INFO: ==20142== Releasing lock...
[2025-04-12 11:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 11:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 11:10:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 11:10:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14891163', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 11:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 08:10:06
[end_date_ymd] => 2025-04-12 11:10:06
[RateCDR] => 1
)
[2025-04-12 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-12 08:10:06' and `end` < '2025-04-12 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-12 11:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14891163', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 11:10:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 11:10:09] Production.INFO: ProcessCDR(1,14891163,1,1,2)
[2025-04-12 11:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14891163,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14891163,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 11:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 11:10:09] Production.INFO: ==20146== Releasing lock...
[2025-04-12 11:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 11:10:09] Production.INFO: 26 MB #Memory Used#
[2025-04-12 11:10:13] Production.ERROR: CronJobId end10
[2025-04-12 11:10:13] Production.INFO: ==20140== Releasing lock...
[2025-04-12 11:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 11:10:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 11:10:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 11:10:16] Production.INFO: ============== Balance Warning START===========
[2025-04-12 11:10:16] Production.INFO: ============== Balance Warning END===========
[2025-04-12 11:10:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 11:10:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 11:10:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 11:10:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 11:10:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 11:10:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 11:10:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 11:10:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 11:10:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 11:10:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 11:10:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 11:10:16] Production.INFO: call_cost start
[2025-04-12 11:10:16] Production.INFO: call_cost end
[2025-04-12 11:10:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 11:10:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 11:10:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 11:10:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 11:10:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 11:10:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 11:10:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 11:10:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 11:10:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 11:10:17] Production.INFO: ==20136== Releasing lock...
[2025-04-12 11:10:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 11:10:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 11:10:19] Production.INFO: count ==965
[2025-04-12 11:10:20] Production.ERROR: pbx CDR StartTime 2025-04-12 08:10:06 - End Time 2025-04-12 11:10:06
[2025-04-12 11:10:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 11:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891162', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891162', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891162', 'tblTempVendorCDR_20' ) start
[2025-04-12 11:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891162', 'tblTempVendorCDR_20' ) end
[2025-04-12 11:10:20] Production.INFO: ProcessCDR(1,14891162,1,1,2)
[2025-04-12 11:10:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891162,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:10:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891162,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:10:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891162,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:10:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891162,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:10:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891162', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:10:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891162', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:10:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 11:10:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 11:10:25] Production.INFO: ==20144== Releasing lock...
[2025-04-12 11:10:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 11:10:25] Production.INFO: 35.75 MB #Memory Used#
[2025-04-12 16:11:01] Production.INFO: ==20208== Lock acquired, processing the job...
[2025-04-12 16:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 16:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 16:11:01] Production.INFO: neon service started
[2025-04-12 16:11:01] Production.INFO: neon service started
[2025-04-12 16:11:01] Production.INFO: ==20208== Releasing lock...
[2025-04-12 16:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 16:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 11:11:02] Production.INFO: ==20210== Lock acquired, processing the job...
[2025-04-12 11:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 15:11:02] Production.INFO: ==20212== Lock acquired, processing the job...
[2025-04-12 15:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 15:11:02] Production.INFO: ==20212== Releasing lock...
[2025-04-12 15:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 15:11:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 11:11:02] Production.INFO: ==20210== Releasing lock...
[2025-04-12 11:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 11:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 11:11:03] Production.INFO: ==20217== Lock acquired, processing the job...
[2025-04-12 11:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 11:11:03] Production.INFO: ==20215== Lock acquired, processing the job...
[2025-04-12 11:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 11:11:03] Production.INFO: ==20223== Lock acquired, processing the job...
[2025-04-12 11:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 11:11:03] Production.INFO: ==20219== Lock acquired, processing the job...
[2025-04-12 11:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 11:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 11:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 11:11:03] Production.INFO: ==20221== Lock acquired, processing the job...
[2025-04-12 11:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 11:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 11:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 11:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 11:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 11:11:03] Production.INFO: ==20225== Lock acquired, processing the job...
[2025-04-12 11:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 11:11:03] Production.INFO: ==20217== Releasing lock...
[2025-04-12 11:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 11:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 11:11:03] Production.INFO: Account Balance Start.
[2025-04-12 11:11:03] Production.INFO: CreateAllLog Start
[2025-04-12 11:11:04] Production.INFO: 117
[2025-04-12 11:11:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 11:11:04] Production.INFO: Date 2025-04-08
[2025-04-12 11:11:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:11:04] Production.INFO: count ==12
[2025-04-12 11:11:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 11:11:04] Production.INFO: count ==23
[2025-04-12 11:11:04] Production.ERROR: done
[2025-04-12 11:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 11:11:04] Production.INFO: Date 2025-04-09
[2025-04-12 11:11:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891167') start
[2025-04-12 11:11:04] Production.INFO: Date 2025-04-10
[2025-04-12 11:11:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:11:04] Production.INFO: Date 2025-04-11
[2025-04-12 11:11:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:11:04] Production.INFO: Date 2025-04-12
[2025-04-12 11:11:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891167') end
[2025-04-12 11:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 11:11:04] Production.INFO: 1
[2025-04-12 11:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 11:11:04] Production.ERROR: done
[2025-04-12 11:11:04] Production.INFO: Total Charge 0
[2025-04-12 11:11:04] Production.INFO: CreateAllLog End
[2025-04-12 11:11:04] Production.INFO: ==20225== Releasing lock...
[2025-04-12 11:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 11:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 11:11:04] Production.INFO: Account Balance End.
[2025-04-12 11:11:04] Production.ERROR: CronJobId end 12
[2025-04-12 11:11:04] Production.INFO: ==20221== Releasing lock...
[2025-04-12 11:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 11:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 11:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 08:11:05
[end_date_ymd] => 2025-04-12 11:11:05
[RateCDR] => 1
)
[2025-04-12 11:11:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 08:11:05' and `end` < '2025-04-12 11:11:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 11:11:11] Production.ERROR: CronJobId end10
[2025-04-12 11:11:11] Production.INFO: ==20219== Releasing lock...
[2025-04-12 11:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 11:11:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 11:11:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 11:11:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 11:11:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 11:11:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 11:11:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 11:11:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 11:11:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 11:11:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 11:11:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 11:11:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 11:11:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 11:11:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 11:11:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 11:11:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 11:11:14] Production.INFO: call_cost start
[2025-04-12 11:11:14] Production.INFO: call_cost end
[2025-04-12 11:11:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 11:11:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 11:11:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 11:11:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 11:11:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 11:11:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 11:11:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 11:11:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 11:11:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 11:11:15] Production.INFO: ==20215== Releasing lock...
[2025-04-12 11:11:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 11:11:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 11:11:18] Production.INFO: count ==1015
[2025-04-12 11:11:18] Production.ERROR: pbx CDR StartTime 2025-04-12 08:11:05 - End Time 2025-04-12 11:11:05
[2025-04-12 11:11:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 11:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891168', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891168', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891168', 'tblTempVendorCDR_20' ) start
[2025-04-12 11:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891168', 'tblTempVendorCDR_20' ) end
[2025-04-12 11:11:18] Production.INFO: ProcessCDR(1,14891168,1,1,2)
[2025-04-12 11:11:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891168,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:11:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891168,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:11:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891168,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:11:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891168,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:11:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891168', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:11:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891168', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:11:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 11:11:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 11:11:23] Production.INFO: ==20223== Releasing lock...
[2025-04-12 11:11:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 11:11:23] Production.INFO: 36.25 MB #Memory Used#
[2025-04-12 16:12:02] Production.INFO: ==20357== Lock acquired, processing the job...
[2025-04-12 16:12:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 16:12:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 16:12:02] Production.INFO: neon service started
[2025-04-12 16:12:02] Production.INFO: neon service started
[2025-04-12 16:12:02] Production.INFO: ==20357== Releasing lock...
[2025-04-12 16:12:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 16:12:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 11:12:02] Production.INFO: ==20359== Lock acquired, processing the job...
[2025-04-12 11:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 11:12:02] Production.INFO: ==20359== Releasing lock...
[2025-04-12 11:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 11:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 15:12:03] Production.INFO: ==20361== Lock acquired, processing the job...
[2025-04-12 15:12:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 15:12:03] Production.INFO: ==20361== Releasing lock...
[2025-04-12 15:12:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 15:12:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 11:12:03] Production.INFO: ==20368== Lock acquired, processing the job...
[2025-04-12 11:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 11:12:03] Production.INFO: ==20374== Lock acquired, processing the job...
[2025-04-12 11:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 11:12:04] Production.INFO: ==20364== Lock acquired, processing the job...
[2025-04-12 11:12:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 11:12:04] Production.INFO: ==20366== Lock acquired, processing the job...
[2025-04-12 11:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 11:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 11:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 11:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 11:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 11:12:04] Production.INFO: ==20372== Lock acquired, processing the job...
[2025-04-12 11:12:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 11:12:04] Production.INFO: ==20370== Lock acquired, processing the job...
[2025-04-12 11:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 11:12:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 11:12:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 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-12 11:12:04] Production.INFO: count ==12
[2025-04-12 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-12 11:12:04] Production.INFO: count ==23
[2025-04-12 11:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891169') start
[2025-04-12 11:12:04] Production.INFO: Account Balance Start.
[2025-04-12 11:12:04] Production.INFO: CreateAllLog Start
[2025-04-12 11:12:04] Production.INFO: 117
[2025-04-12 11:12:04] Production.INFO: Date 2025-04-08
[2025-04-12 11:12:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891169') end
[2025-04-12 11:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 11:12:04] Production.INFO: 1
[2025-04-12 11:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 11:12:04] Production.INFO: Date 2025-04-09
[2025-04-12 11:12:04] Production.INFO: ==20374== Releasing lock...
[2025-04-12 11:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 11:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 11:12:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:12:04] Production.ERROR: done
[2025-04-12 11:12:04] Production.INFO: ==20366== Releasing lock...
[2025-04-12 11:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 11:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 11:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 11:12:04] Production.INFO: Date 2025-04-10
[2025-04-12 11:12:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:12:04] Production.INFO: Date 2025-04-11
[2025-04-12 11:12:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:12:04] Production.ERROR: done
[2025-04-12 11:12:04] Production.INFO: Date 2025-04-12
[2025-04-12 11:12:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:12:04] Production.INFO: Total Charge 0
[2025-04-12 11:12:04] Production.INFO: CreateAllLog End
[2025-04-12 11:12:04] Production.INFO: Account Balance End.
[2025-04-12 11:12:05] Production.ERROR: CronJobId end 12
[2025-04-12 11:12:05] Production.INFO: ==20370== Releasing lock...
[2025-04-12 11:12:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 11:12:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 11:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 08:12:05
[end_date_ymd] => 2025-04-12 11:12:05
[RateCDR] => 1
)
[2025-04-12 11:12:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 08:12:05' and `end` < '2025-04-12 11:12:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 11:12:12] Production.ERROR: CronJobId end10
[2025-04-12 11:12:12] Production.INFO: ==20368== Releasing lock...
[2025-04-12 11:12:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 11:12:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 11:12:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 11:12:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 11:12:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 11:12:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 11:12:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 11:12:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 11:12:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 11:12:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 11:12:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 11:12:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 11:12:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 11:12:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 11:12:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 11:12:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 11:12:16] Production.INFO: call_cost start
[2025-04-12 11:12:16] Production.INFO: call_cost end
[2025-04-12 11:12:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 11:12:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 11:12:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 11:12:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 11:12:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 11:12:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 11:12:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 11:12:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 11:12:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 11:12:17] Production.INFO: ==20364== Releasing lock...
[2025-04-12 11:12:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 11:12:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 11:12:18] Production.INFO: count ==1017
[2025-04-12 11:12:19] Production.ERROR: pbx CDR StartTime 2025-04-12 08:12:05 - End Time 2025-04-12 11:12:05
[2025-04-12 11:12:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 11:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891173', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891173', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891173', 'tblTempVendorCDR_20' ) start
[2025-04-12 11:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891173', 'tblTempVendorCDR_20' ) end
[2025-04-12 11:12:19] Production.INFO: ProcessCDR(1,14891173,1,1,2)
[2025-04-12 11:12:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891173,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:12:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891173,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:12:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891173,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:12:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891173,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:12:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891173', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:12:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891173', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:12:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 11:12:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 11:12:23] Production.INFO: ==20372== Releasing lock...
[2025-04-12 11:12:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 11:12:23] Production.INFO: 36.25 MB #Memory Used#
[2025-04-12 16:13:01] Production.INFO: ==20466== Lock acquired, processing the job...
[2025-04-12 16:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 16:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 16:13:01] Production.INFO: neon service started
[2025-04-12 16:13:01] Production.INFO: neon service started
[2025-04-12 16:13:01] Production.INFO: ==20466== Releasing lock...
[2025-04-12 16:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 16:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 11:13:02] Production.INFO: ==20468== Lock acquired, processing the job...
[2025-04-12 11:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 11:13:02] Production.INFO: ==20468== Releasing lock...
[2025-04-12 11:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 11:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 15:13:02] Production.INFO: ==20470== Lock acquired, processing the job...
[2025-04-12 15:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 15:13:02] Production.INFO: ==20470== Releasing lock...
[2025-04-12 15:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 15:13:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 11:13:03] Production.INFO: ==20473== Lock acquired, processing the job...
[2025-04-12 11:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 11:13:03] Production.INFO: ==20475== Lock acquired, processing the job...
[2025-04-12 11:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 11:13:03] Production.INFO: ==20481== Lock acquired, processing the job...
[2025-04-12 11:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 11:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 11:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 11:13:03] Production.INFO: ==20477== Lock acquired, processing the job...
[2025-04-12 11:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 11:13:03] Production.INFO: ==20479== Lock acquired, processing the job...
[2025-04-12 11:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 11:13:03] Production.INFO: ==20483== Lock acquired, processing the job...
[2025-04-12 11:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 11:13:03] Production.INFO: ==20475== Releasing lock...
[2025-04-12 11:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 11:13:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 11:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 11:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 11:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 11:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 11:13:03] Production.ERROR: done
[2025-04-12 11:13:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 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-12 11:13:03] Production.INFO: Account Balance Start.
[2025-04-12 11:13:03] Production.INFO: CreateAllLog Start
[2025-04-12 11:13:03] Production.INFO: 117
[2025-04-12 11:13:03] Production.INFO: count ==12
[2025-04-12 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-12 11:13:03] Production.INFO: count ==23
[2025-04-12 11:13:03] Production.INFO: Date 2025-04-08
[2025-04-12 11:13:03] Production.INFO: Reseller ==> 0
[2025-04-12 11:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891177') start
[2025-04-12 11:13:04] Production.INFO: Date 2025-04-09
[2025-04-12 11:13:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:13:04] Production.INFO: Date 2025-04-10
[2025-04-12 11:13:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:13:04] Production.INFO: Date 2025-04-11
[2025-04-12 11:13:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:13:04] Production.INFO: Date 2025-04-12
[2025-04-12 11:13:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891177') end
[2025-04-12 11:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 11:13:04] Production.INFO: 1
[2025-04-12 11:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 11:13:04] Production.ERROR: done
[2025-04-12 11:13:04] Production.INFO: ==20483== Releasing lock...
[2025-04-12 11:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 11:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 11:13:04] Production.INFO: Total Charge 0
[2025-04-12 11:13:04] Production.INFO: CreateAllLog End
[2025-04-12 11:13:04] Production.INFO: Account Balance End.
[2025-04-12 11:13:04] Production.ERROR: CronJobId end 12
[2025-04-12 11:13:04] Production.INFO: ==20479== Releasing lock...
[2025-04-12 11:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 11:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 11:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 08:13:05
[end_date_ymd] => 2025-04-12 11:13:05
[RateCDR] => 1
)
[2025-04-12 11:13:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 08:13:05' and `end` < '2025-04-12 11:13:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 11:13:12] Production.ERROR: CronJobId end10
[2025-04-12 11:13:12] Production.INFO: ==20477== Releasing lock...
[2025-04-12 11:13:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 11:13:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 11:13:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 11:13:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 11:13:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 11:13:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 11:13:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 11:13:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 11:13:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 11:13:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 11:13:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 11:13:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 11:13:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 11:13:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 11:13:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 11:13:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 11:13:14] Production.INFO: call_cost start
[2025-04-12 11:13:14] Production.INFO: call_cost end
[2025-04-12 11:13:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 11:13:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 11:13:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 11:13:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 11:13:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 11:13:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 11:13:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 11:13:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 11:13:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 11:13:15] Production.INFO: ==20473== Releasing lock...
[2025-04-12 11:13:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 11:13:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 11:13:18] Production.INFO: count ==1014
[2025-04-12 11:13:18] Production.ERROR: pbx CDR StartTime 2025-04-12 08:13:05 - End Time 2025-04-12 11:13:05
[2025-04-12 11:13:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 11:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891178', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891178', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891178', 'tblTempVendorCDR_20' ) start
[2025-04-12 11:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891178', 'tblTempVendorCDR_20' ) end
[2025-04-12 11:13:18] Production.INFO: ProcessCDR(1,14891178,1,1,2)
[2025-04-12 11:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891178,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:13:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891178,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:13:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891178,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:13:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891178,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891178', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891178', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:13:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 11:13:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 11:13:22] Production.INFO: ==20481== Releasing lock...
[2025-04-12 11:13:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 11:13:22] Production.INFO: 36 MB #Memory Used#
[2025-04-12 16:14:02] Production.INFO: ==20545== Lock acquired, processing the job...
[2025-04-12 16:14:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 16:14:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 16:14:02] Production.INFO: neon service started
[2025-04-12 16:14:02] Production.INFO: neon service started
[2025-04-12 16:14:02] Production.INFO: ==20545== Releasing lock...
[2025-04-12 16:14:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 16:14:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 11:14:02] Production.INFO: ==20547== Lock acquired, processing the job...
[2025-04-12 11:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 11:14:02] Production.INFO: ==20547== Releasing lock...
[2025-04-12 11:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 11:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 15:14:02] Production.INFO: ==20549== Lock acquired, processing the job...
[2025-04-12 15:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 15:14:03] Production.INFO: ==20549== Releasing lock...
[2025-04-12 15:14:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 15:14:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 11:14:03] Production.INFO: ==20556== Lock acquired, processing the job...
[2025-04-12 11:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 11:14:03] Production.INFO: ==20560== Lock acquired, processing the job...
[2025-04-12 11:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 11:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 11:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 11:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 11:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 11:14:03] Production.INFO: ==20552== Lock acquired, processing the job...
[2025-04-12 11:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 11:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 11:14:03] Production.INFO: ==20554== Lock acquired, processing the job...
[2025-04-12 11:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 11:14:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 11:14:04] Production.INFO: ==20558== Lock acquired, processing the job...
[2025-04-12 11:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 11:14:04] Production.INFO: ==20562== Lock acquired, processing the job...
[2025-04-12 11:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 11:14:04] Production.INFO: Account Balance Start.
[2025-04-12 11:14:04] Production.INFO: CreateAllLog Start
[2025-04-12 11:14:04] Production.INFO: 117
[2025-04-12 11:14:04] Production.INFO: Date 2025-04-08
[2025-04-12 11:14:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 11:14:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:14:04] Production.INFO: count ==12
[2025-04-12 11:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 11:14:04] Production.INFO: count ==23
[2025-04-12 11:14:04] Production.INFO: Date 2025-04-09
[2025-04-12 11:14:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891181') start
[2025-04-12 11:14:04] Production.INFO: Date 2025-04-10
[2025-04-12 11:14:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:14:04] Production.ERROR: done
[2025-04-12 11:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 11:14:04] Production.INFO: Date 2025-04-11
[2025-04-12 11:14:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891181') end
[2025-04-12 11:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 11:14:04] Production.INFO: 1
[2025-04-12 11:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 11:14:04] Production.INFO: Date 2025-04-12
[2025-04-12 11:14:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:14:04] Production.INFO: Total Charge 0
[2025-04-12 11:14:04] Production.INFO: CreateAllLog End
[2025-04-12 11:14:04] Production.INFO: ==20562== Releasing lock...
[2025-04-12 11:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 11:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 11:14:04] Production.ERROR: done
[2025-04-12 11:14:04] Production.INFO: ==20554== Releasing lock...
[2025-04-12 11:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 11:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 11:14:04] Production.INFO: Account Balance End.
[2025-04-12 11:14:04] Production.ERROR: CronJobId end 12
[2025-04-12 11:14:04] Production.INFO: ==20558== Releasing lock...
[2025-04-12 11:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 11:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 11:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 08:14:05
[end_date_ymd] => 2025-04-12 11:14:05
[RateCDR] => 1
)
[2025-04-12 11:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 08:14:05' and `end` < '2025-04-12 11:14:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 11:14:12] Production.ERROR: CronJobId end10
[2025-04-12 11:14:12] Production.INFO: ==20556== Releasing lock...
[2025-04-12 11:14:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 11:14:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 11:14:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 11:14:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 11:14:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 11:14:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 11:14:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 11:14:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 11:14:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 11:14:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 11:14:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 11:14:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 11:14:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 11:14:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 11:14:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 11:14:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 11:14:15] Production.INFO: call_cost start
[2025-04-12 11:14:15] Production.INFO: call_cost end
[2025-04-12 11:14:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 11:14:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 11:14:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 11:14:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 11:14:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 11:14:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 11:14:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 11:14:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 11:14:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 11:14:16] Production.INFO: ==20552== Releasing lock...
[2025-04-12 11:14:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 11:14:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 11:14:18] Production.INFO: count ==1025
[2025-04-12 11:14:18] Production.ERROR: pbx CDR StartTime 2025-04-12 08:14:05 - End Time 2025-04-12 11:14:05
[2025-04-12 11:14:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 11:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891183', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891183', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891183', 'tblTempVendorCDR_20' ) start
[2025-04-12 11:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891183', 'tblTempVendorCDR_20' ) end
[2025-04-12 11:14:19] Production.INFO: ProcessCDR(1,14891183,1,1,2)
[2025-04-12 11:14:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891183,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:14:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891183,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:14:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891183,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:14:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891183,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:14:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891183', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:14:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891183', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:14:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 11:14:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 11:14:24] Production.INFO: ==20560== Releasing lock...
[2025-04-12 11:14:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 11:14:24] Production.INFO: 36.25 MB #Memory Used#
[2025-04-12 16:15:01] Production.INFO: ==20696== Lock acquired, processing the job...
[2025-04-12 16:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 16:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 16:15:01] Production.INFO: neon service started
[2025-04-12 16:15:01] Production.INFO: neon service started
[2025-04-12 16:15:01] Production.INFO: ==20696== Releasing lock...
[2025-04-12 16:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 16:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 11:15:02] Production.INFO: ==20698== Lock acquired, processing the job...
[2025-04-12 11:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 11:15:02] Production.INFO: ==20698== Releasing lock...
[2025-04-12 11:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 11:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 15:15:02] Production.INFO: ==20700== Lock acquired, processing the job...
[2025-04-12 15:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 15:15:02] Production.INFO: ==20700== Releasing lock...
[2025-04-12 15:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 15:15:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 11:15:03] Production.INFO: ==20707== Lock acquired, processing the job...
[2025-04-12 11:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 11:15:03] Production.INFO: ==20711== Lock acquired, processing the job...
[2025-04-12 11:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 11:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 11:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 11:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 11:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 11:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 11:15:03] Production.INFO: ==20703== Lock acquired, processing the job...
[2025-04-12 11:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 11:15:03] Production.INFO: ==20705== Lock acquired, processing the job...
[2025-04-12 11:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 11:15:03] Production.INFO: ==20709== Lock acquired, processing the job...
[2025-04-12 11:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 11:15:03] Production.INFO: ==20713== Lock acquired, processing the job...
[2025-04-12 11:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 11:15:03] Production.INFO: Account Balance Start.
[2025-04-12 11:15:03] Production.INFO: CreateAllLog Start
[2025-04-12 11:15:03] Production.INFO: 117
[2025-04-12 11:15:03] Production.ERROR: done
[2025-04-12 11:15:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 11:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 11:15:03] Production.INFO: Date 2025-04-08
[2025-04-12 11: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-12 11:15:03] Production.INFO: Reseller ==> 0
[2025-04-12 11:15:03] Production.INFO: Date 2025-04-09
[2025-04-12 11:15:03] Production.INFO: Reseller ==> 0
[2025-04-12 11:15:03] Production.INFO: count ==12
[2025-04-12 11: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-12 11:15:03] Production.INFO: count ==23
[2025-04-12 11:15:04] Production.ERROR: done
[2025-04-12 11:15:04] Production.INFO: Date 2025-04-10
[2025-04-12 11:15:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891186') start
[2025-04-12 11:15:04] Production.INFO: Date 2025-04-11
[2025-04-12 11:15:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891186') end
[2025-04-12 11:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 11:15:04] Production.INFO: 1
[2025-04-12 11:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 11:15:04] Production.INFO: Date 2025-04-12
[2025-04-12 11:15:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:15:04] Production.INFO: ==20713== Releasing lock...
[2025-04-12 11:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 11:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 11:15:04] Production.INFO: ==20705== Releasing lock...
[2025-04-12 11:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 11:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 11:15:04] Production.INFO: Total Charge 0
[2025-04-12 11:15:04] Production.INFO: CreateAllLog End
[2025-04-12 11:15:04] Production.INFO: Account Balance End.
[2025-04-12 11:15:04] Production.ERROR: CronJobId end 12
[2025-04-12 11:15:04] Production.INFO: ==20709== Releasing lock...
[2025-04-12 11:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 11:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 11:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 08:15:05
[end_date_ymd] => 2025-04-12 11:15:05
[RateCDR] => 1
)
[2025-04-12 11:15:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 08:15:05' and `end` < '2025-04-12 11:15:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 11:15:12] Production.ERROR: CronJobId end10
[2025-04-12 11:15:12] Production.INFO: ==20707== Releasing lock...
[2025-04-12 11:15:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 11:15:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 11:15:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 11:15:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 11:15:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 11:15:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 11:15:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 11:15:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 11:15:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 11:15:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 11:15:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 11:15:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 11:15:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 11:15:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 11:15:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 11:15:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 11:15:14] Production.INFO: call_cost start
[2025-04-12 11:15:14] Production.INFO: call_cost end
[2025-04-12 11:15:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 11:15:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 11:15:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 11:15:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 11:15:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 11:15:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 11:15:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 11:15:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 11:15:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 11:15:15] Production.INFO: ==20703== Releasing lock...
[2025-04-12 11:15:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 11:15:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 11:15:18] Production.INFO: count ==1025
[2025-04-12 11:15:18] Production.ERROR: pbx CDR StartTime 2025-04-12 08:15:05 - End Time 2025-04-12 11:15:05
[2025-04-12 11:15:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 11:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891188', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891188', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891188', 'tblTempVendorCDR_20' ) start
[2025-04-12 11:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891188', 'tblTempVendorCDR_20' ) end
[2025-04-12 11:15:18] Production.INFO: ProcessCDR(1,14891188,1,1,2)
[2025-04-12 11:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891188,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:15:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891188,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:15:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891188,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:15:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891188,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891188', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891188', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:15:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 11:15:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 11:15:21] Production.INFO: ==20711== Releasing lock...
[2025-04-12 11:15:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 11:15:21] Production.INFO: 36.25 MB #Memory Used#
[2025-04-12 16:16:02] Production.INFO: ==20773== Lock acquired, processing the job...
[2025-04-12 16:16:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 16:16:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 16:16:02] Production.INFO: neon service started
[2025-04-12 16:16:02] Production.INFO: neon service started
[2025-04-12 16:16:02] Production.INFO: ==20773== Releasing lock...
[2025-04-12 16:16:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 16:16:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 11:16:02] Production.INFO: ==20776== Lock acquired, processing the job...
[2025-04-12 11:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 11:16:02] Production.INFO: ==20776== Releasing lock...
[2025-04-12 11:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 11:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 15:16:02] Production.INFO: ==20778== Lock acquired, processing the job...
[2025-04-12 15:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 15:16:03] Production.INFO: ==20778== Releasing lock...
[2025-04-12 15:16:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 15:16:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 11:16:03] Production.INFO: ==20784== Lock acquired, processing the job...
[2025-04-12 11:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 11:16:03] Production.INFO: ==20788== Lock acquired, processing the job...
[2025-04-12 11:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 11:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 11:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 11:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 11:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 11:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 11:16:03] Production.INFO: ==20780== Lock acquired, processing the job...
[2025-04-12 11:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 11:16:04] Production.INFO: ==20782== Lock acquired, processing the job...
[2025-04-12 11:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 11:16:04] Production.INFO: ==20786== Lock acquired, processing the job...
[2025-04-12 11:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 11:16:04] Production.INFO: ==20790== Lock acquired, processing the job...
[2025-04-12 11:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 11:16:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 11:16:04] Production.INFO: Account Balance Start.
[2025-04-12 11:16:04] Production.INFO: CreateAllLog Start
[2025-04-12 11:16:04] Production.INFO: 117
[2025-04-12 11:16:04] Production.INFO: Date 2025-04-08
[2025-04-12 11:16:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:16:04] Production.INFO: Date 2025-04-09
[2025-04-12 11:16:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:16:04] Production.INFO: Date 2025-04-10
[2025-04-12 11:16:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:16:04] Production.ERROR: done
[2025-04-12 11:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 11:16:04] Production.INFO: Date 2025-04-11
[2025-04-12 11:16:04] Production.INFO: Reseller ==> 0
[2025-04-12 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-12 11:16:04] Production.INFO: Date 2025-04-12
[2025-04-12 11:16:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:16:04] Production.INFO: Total Charge 0
[2025-04-12 11:16:04] Production.INFO: CreateAllLog End
[2025-04-12 11:16:04] Production.INFO: count ==12
[2025-04-12 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-12 11:16:04] Production.INFO: ==20782== Releasing lock...
[2025-04-12 11:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 11:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 11:16:04] Production.INFO: count ==23
[2025-04-12 11:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891192') start
[2025-04-12 11:16:04] Production.ERROR: done
[2025-04-12 11:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891192') end
[2025-04-12 11:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 11:16:04] Production.INFO: 1
[2025-04-12 11:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 11:16:04] Production.INFO: Account Balance End.
[2025-04-12 11:16:04] Production.INFO: ==20790== Releasing lock...
[2025-04-12 11:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 11:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 11:16:04] Production.ERROR: CronJobId end 12
[2025-04-12 11:16:04] Production.INFO: ==20786== Releasing lock...
[2025-04-12 11:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 11:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 11:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 08:16:05
[end_date_ymd] => 2025-04-12 11:16:05
[RateCDR] => 1
)
[2025-04-12 11:16:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 08:16:05' and `end` < '2025-04-12 11:16:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 11:16:12] Production.ERROR: CronJobId end10
[2025-04-12 11:16:12] Production.INFO: ==20784== Releasing lock...
[2025-04-12 11:16:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 11:16:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 11:16:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 11:16:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 11:16:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 11:16:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 11:16:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 11:16:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 11:16:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 11:16:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 11:16:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 11:16:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 11:16:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 11:16:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 11:16:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 11:16:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 11:16:15] Production.INFO: call_cost start
[2025-04-12 11:16:15] Production.INFO: call_cost end
[2025-04-12 11:16:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 11:16:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 11:16:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 11:16:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 11:16:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 11:16:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 11:16:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 11:16:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 11:16:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 11:16:16] Production.INFO: ==20780== Releasing lock...
[2025-04-12 11:16:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 11:16:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 11:16:18] Production.INFO: count ==1027
[2025-04-12 11:16:19] Production.ERROR: pbx CDR StartTime 2025-04-12 08:16:05 - End Time 2025-04-12 11:16:05
[2025-04-12 11:16:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 11:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891193', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891193', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891193', 'tblTempVendorCDR_20' ) start
[2025-04-12 11:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891193', 'tblTempVendorCDR_20' ) end
[2025-04-12 11:16:19] Production.INFO: ProcessCDR(1,14891193,1,1,2)
[2025-04-12 11:16:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891193,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:16:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891193,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:16:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891193,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:16:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891193,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:16:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891193', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:16:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891193', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:16:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 11:16:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 11:16:24] Production.INFO: ==20788== Releasing lock...
[2025-04-12 11:16:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 11:16:24] Production.INFO: 36.25 MB #Memory Used#
[2025-04-12 16:17:01] Production.INFO: ==20847== Lock acquired, processing the job...
[2025-04-12 16:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 16:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 16:17:01] Production.INFO: neon service started
[2025-04-12 16:17:01] Production.INFO: neon service started
[2025-04-12 16:17:01] Production.INFO: ==20847== Releasing lock...
[2025-04-12 16:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 16:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 11:17:01] Production.INFO: ==20849== Lock acquired, processing the job...
[2025-04-12 11:17:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 11:17:02] Production.INFO: ==20849== Releasing lock...
[2025-04-12 11:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 11:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 15:17:02] Production.INFO: ==20851== Lock acquired, processing the job...
[2025-04-12 15:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 15:17:02] Production.INFO: ==20851== Releasing lock...
[2025-04-12 15:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 15:17:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 11:17:03] Production.INFO: ==20854== Lock acquired, processing the job...
[2025-04-12 11:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 11:17:03] Production.INFO: ==20860== Lock acquired, processing the job...
[2025-04-12 11:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 11:17:03] Production.INFO: ==20856== Lock acquired, processing the job...
[2025-04-12 11:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 11:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 11:17:03] Production.INFO: ==20862== Lock acquired, processing the job...
[2025-04-12 11:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 11:17:03] Production.INFO: ==20858== Lock acquired, processing the job...
[2025-04-12 11:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 11:17:03] Production.INFO: Account Balance Start.
[2025-04-12 11:17:03] Production.INFO: CreateAllLog Start
[2025-04-12 11:17:03] Production.INFO: 117
[2025-04-12 11:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 11:17:03] Production.INFO: Date 2025-04-08
[2025-04-12 11:17:03] Production.INFO: Reseller ==> 0
[2025-04-12 11:17:03] Production.INFO: ==20864== Lock acquired, processing the job...
[2025-04-12 11:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 11:17:03] Production.INFO: Date 2025-04-09
[2025-04-12 11:17:03] Production.INFO: Reseller ==> 0
[2025-04-12 11:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 11:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 11:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 11:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 11:17:03] Production.INFO: Date 2025-04-10
[2025-04-12 11:17:03] Production.INFO: Reseller ==> 0
[2025-04-12 11:17:03] Production.INFO: Date 2025-04-11
[2025-04-12 11:17:03] Production.INFO: Reseller ==> 0
[2025-04-12 11:17:03] Production.INFO: Date 2025-04-12
[2025-04-12 11:17:03] Production.INFO: Reseller ==> 0
[2025-04-12 11:17:03] Production.INFO: Total Charge 0
[2025-04-12 11:17:03] Production.INFO: ==20856== Releasing lock...
[2025-04-12 11:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 11:17:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 11:17:03] Production.INFO: CreateAllLog End
[2025-04-12 11: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-12 11:17:03] Production.ERROR: done
[2025-04-12 11:17:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 11:17:03] Production.INFO: count ==12
[2025-04-12 11: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-12 11:17:03] Production.INFO: count ==23
[2025-04-12 11:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891197') start
[2025-04-12 11:17:03] Production.ERROR: done
[2025-04-12 11:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891197') end
[2025-04-12 11:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 11:17:04] Production.INFO: 1
[2025-04-12 11:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 11:17:04] Production.INFO: Account Balance End.
[2025-04-12 11:17:04] Production.INFO: ==20864== Releasing lock...
[2025-04-12 11:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 11:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 11:17:04] Production.ERROR: CronJobId end 12
[2025-04-12 11:17:04] Production.INFO: ==20860== Releasing lock...
[2025-04-12 11:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 11:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 11:17:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 08:17:04
[end_date_ymd] => 2025-04-12 11:17:04
[RateCDR] => 1
)
[2025-04-12 11: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-12 08:17:04' and `end` < '2025-04-12 11: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-12 11:17:11] Production.ERROR: CronJobId end10
[2025-04-12 11:17:11] Production.INFO: ==20858== Releasing lock...
[2025-04-12 11:17:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 11:17:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 11:17:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 11:17:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 11:17:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 11:17:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 11:17:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 11:17:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 11:17:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 11:17:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 11:17:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 11:17:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 11:17:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 11:17:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 11:17:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 11:17:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 11:17:14] Production.INFO: call_cost start
[2025-04-12 11:17:14] Production.INFO: call_cost end
[2025-04-12 11:17:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 11:17:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 11:17:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 11:17:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 11:17:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 11:17:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 11:17:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 11:17:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 11:17:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 11:17:15] Production.INFO: ==20854== Releasing lock...
[2025-04-12 11:17:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 11:17:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 11:17:17] Production.INFO: count ==1030
[2025-04-12 11:17:18] Production.ERROR: pbx CDR StartTime 2025-04-12 08:17:04 - End Time 2025-04-12 11:17:04
[2025-04-12 11:17:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 11:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891198', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891198', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891198', 'tblTempVendorCDR_20' ) start
[2025-04-12 11:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891198', 'tblTempVendorCDR_20' ) end
[2025-04-12 11:17:18] Production.INFO: ProcessCDR(1,14891198,1,1,2)
[2025-04-12 11:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891198,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:17:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891198,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:17:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891198,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:17:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891198,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891198', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891198', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:17:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 11:17:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 11:17:22] Production.INFO: ==20862== Releasing lock...
[2025-04-12 11:17:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 11:17:22] Production.INFO: 36.25 MB #Memory Used#
[2025-04-12 16:18:02] Production.INFO: ==20923== Lock acquired, processing the job...
[2025-04-12 16:18:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 16:18:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 16:18:02] Production.INFO: neon service started
[2025-04-12 16:18:02] Production.INFO: neon service started
[2025-04-12 16:18:02] Production.INFO: ==20923== Releasing lock...
[2025-04-12 16:18:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 16:18:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 15:18:02] Production.INFO: ==20928== Lock acquired, processing the job...
[2025-04-12 15:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 15:18:02] Production.INFO: ==20928== Releasing lock...
[2025-04-12 15:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 15:18:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 11:18:02] Production.INFO: ==20926== Lock acquired, processing the job...
[2025-04-12 11:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 11:18:02] Production.INFO: ==20926== Releasing lock...
[2025-04-12 11:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 11:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 11:18:03] Production.INFO: ==20930== Lock acquired, processing the job...
[2025-04-12 11:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 11:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 11:18:03] Production.INFO: ==20934== Lock acquired, processing the job...
[2025-04-12 11:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 11:18:03] Production.INFO: ==20938== Lock acquired, processing the job...
[2025-04-12 11:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 11:18:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 11:18:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 11:18:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 11:18:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 11:18:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 11:18:04] Production.INFO: ==20932== Lock acquired, processing the job...
[2025-04-12 11:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 11:18:04] Production.INFO: ==20936== Lock acquired, processing the job...
[2025-04-12 11:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 11:18:04] Production.INFO: ==20940== Lock acquired, processing the job...
[2025-04-12 11:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 11:18:04] Production.INFO: Account Balance Start.
[2025-04-12 11:18:04] Production.INFO: CreateAllLog Start
[2025-04-12 11:18:04] Production.INFO: 117
[2025-04-12 11:18:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 11:18:04] Production.INFO: Date 2025-04-08
[2025-04-12 11:18:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:18:04] Production.INFO: count ==12
[2025-04-12 11:18:04] Production.INFO: Date 2025-04-09
[2025-04-12 11:18:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 11:18:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:18:04] Production.INFO: count ==23
[2025-04-12 11:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891201') start
[2025-04-12 11:18:04] Production.ERROR: done
[2025-04-12 11:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 11:18:04] Production.INFO: Date 2025-04-10
[2025-04-12 11:18:04] Production.INFO: ==20932== Releasing lock...
[2025-04-12 11:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 11:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 11:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891201') end
[2025-04-12 11:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 11:18:04] Production.INFO: 1
[2025-04-12 11:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 11:18:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:18:04] Production.INFO: Date 2025-04-11
[2025-04-12 11:18:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:18:04] Production.INFO: Date 2025-04-12
[2025-04-12 11:18:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:18:04] Production.INFO: Total Charge 0
[2025-04-12 11:18:04] Production.INFO: CreateAllLog End
[2025-04-12 11:18:04] Production.INFO: ==20940== Releasing lock...
[2025-04-12 11:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 11:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 11:18:04] Production.ERROR: done
[2025-04-12 11:18:05] Production.INFO: Account Balance End.
[2025-04-12 11:18:05] Production.ERROR: CronJobId end 12
[2025-04-12 11:18:05] Production.INFO: ==20936== Releasing lock...
[2025-04-12 11:18:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 11:18:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 11:18:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 08:18:06
[end_date_ymd] => 2025-04-12 11:18:06
[RateCDR] => 1
)
[2025-04-12 11: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-12 08:18:06' and `end` < '2025-04-12 11: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-12 11:18:13] Production.ERROR: CronJobId end10
[2025-04-12 11:18:13] Production.INFO: ==20934== Releasing lock...
[2025-04-12 11:18:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 11:18:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 11:18:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 11:18:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 11:18:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 11:18:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 11:18:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 11:18:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 11:18:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 11:18:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 11:18:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 11:18:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 11:18:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 11:18:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 11:18:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 11:18:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 11:18:15] Production.INFO: call_cost start
[2025-04-12 11:18:15] Production.INFO: call_cost end
[2025-04-12 11:18:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 11:18:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 11:18:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 11:18:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 11:18:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 11:18:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 11:18:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 11:18:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 11:18:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 11:18:16] Production.INFO: ==20930== Releasing lock...
[2025-04-12 11:18:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 11:18:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 11:18:19] Production.INFO: count ==1033
[2025-04-12 11:18:19] Production.ERROR: pbx CDR StartTime 2025-04-12 08:18:06 - End Time 2025-04-12 11:18:06
[2025-04-12 11:18:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 11:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891203', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891203', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891203', 'tblTempVendorCDR_20' ) start
[2025-04-12 11:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891203', 'tblTempVendorCDR_20' ) end
[2025-04-12 11:18:19] Production.INFO: ProcessCDR(1,14891203,1,1,2)
[2025-04-12 11:18:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891203,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:18:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891203,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:18:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891203,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:18:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891203,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:18:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891203', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:18:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891203', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:18:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 11:18:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 11:18:24] Production.INFO: ==20938== Releasing lock...
[2025-04-12 11:18:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 11:18:24] Production.INFO: 36 MB #Memory Used#
[2025-04-12 16:19:01] Production.INFO: ==21001== Lock acquired, processing the job...
[2025-04-12 16:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 16:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 16:19:01] Production.INFO: neon service started
[2025-04-12 16:19:01] Production.INFO: neon service started
[2025-04-12 16:19:01] Production.INFO: ==21001== Releasing lock...
[2025-04-12 16:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 16:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 11:19:01] Production.INFO: ==21003== Lock acquired, processing the job...
[2025-04-12 11:19:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 11:19:02] Production.INFO: ==21003== Releasing lock...
[2025-04-12 11:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 11:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 15:19:02] Production.INFO: ==21005== Lock acquired, processing the job...
[2025-04-12 15:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 15:19:02] Production.INFO: ==21005== Releasing lock...
[2025-04-12 15:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 15:19:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 11:19:02] Production.INFO: ==21008== Lock acquired, processing the job...
[2025-04-12 11:19:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 11:19:02] Production.INFO: ==21012== Lock acquired, processing the job...
[2025-04-12 11:19:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 11:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 11:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 11:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 11:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 11:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 11:19:03] Production.INFO: ==21014== Lock acquired, processing the job...
[2025-04-12 11:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 11:19:03] Production.INFO: Account Balance Start.
[2025-04-12 11:19:03] Production.INFO: CreateAllLog Start
[2025-04-12 11:19:03] Production.INFO: 117
[2025-04-12 11:19:03] Production.INFO: Date 2025-04-08
[2025-04-12 11:19:03] Production.INFO: Reseller ==> 0
[2025-04-12 11:19:03] Production.INFO: Date 2025-04-09
[2025-04-12 11:19:03] Production.INFO: Reseller ==> 0
[2025-04-12 11:19:03] Production.INFO: Date 2025-04-10
[2025-04-12 11:19:03] Production.INFO: Reseller ==> 0
[2025-04-12 11:19:03] Production.INFO: Date 2025-04-11
[2025-04-12 11:19:03] Production.INFO: Reseller ==> 0
[2025-04-12 11:19:03] Production.INFO: Date 2025-04-12
[2025-04-12 11:19:03] Production.INFO: Reseller ==> 0
[2025-04-12 11:19:03] Production.INFO: Total Charge 0
[2025-04-12 11:19:03] Production.INFO: CreateAllLog End
[2025-04-12 11:19:03] Production.INFO: ==21010== Lock acquired, processing the job...
[2025-04-12 11:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 11:19:03] Production.INFO: Account Balance End.
[2025-04-12 11:19:03] Production.ERROR: CronJobId end 12
[2025-04-12 11:19:03] Production.INFO: ==21014== Releasing lock...
[2025-04-12 11:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 11:19:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 11:19:03] Production.INFO: ==21018== Lock acquired, processing the job...
[2025-04-12 11:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 11:19:03] Production.INFO: ==21016== Lock acquired, processing the job...
[2025-04-12 11:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 11:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 11:19:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 11:19:03] Production.INFO: count ==12
[2025-04-12 11:19:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 11:19:03] Production.INFO: count ==23
[2025-04-12 11:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891207') start
[2025-04-12 11:19:03] Production.INFO: ==21010== Releasing lock...
[2025-04-12 11:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 11:19:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 11:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891207') end
[2025-04-12 11:19:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 11:19:03] Production.INFO: 1
[2025-04-12 11:19:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 11:19:04] Production.ERROR: done
[2025-04-12 11:19:04] Production.INFO: ==21018== Releasing lock...
[2025-04-12 11:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 11:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 11:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 11:19:04] Production.ERROR: done
[2025-04-12 11:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 08:19:05
[end_date_ymd] => 2025-04-12 11:19:05
[RateCDR] => 1
)
[2025-04-12 11:19:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 08:19:05' and `end` < '2025-04-12 11:19:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 11:19:11] Production.ERROR: CronJobId end10
[2025-04-12 11:19:11] Production.INFO: ==21012== Releasing lock...
[2025-04-12 11:19:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 11:19:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 11:19:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 11:19:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 11:19:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 11:19:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 11:19:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 11:19:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 11:19:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 11:19:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 11:19:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 11:19:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 11:19:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 11:19:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 11:19:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 11:19:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 11:19:14] Production.INFO: call_cost start
[2025-04-12 11:19:14] Production.INFO: call_cost end
[2025-04-12 11:19:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 11:19:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 11:19:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 11:19:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 11:19:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 11:19:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 11:19:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 11:19:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 11:19:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 11:19:15] Production.INFO: ==21008== Releasing lock...
[2025-04-12 11:19:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 11:19:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 11:19:18] Production.INFO: count ==1040
[2025-04-12 11:19:18] Production.ERROR: pbx CDR StartTime 2025-04-12 08:19:05 - End Time 2025-04-12 11:19:05
[2025-04-12 11:19:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 11:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891208', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891208', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891208', 'tblTempVendorCDR_20' ) start
[2025-04-12 11:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891208', 'tblTempVendorCDR_20' ) end
[2025-04-12 11:19:18] Production.INFO: ProcessCDR(1,14891208,1,1,2)
[2025-04-12 11:19:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891208,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:19:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891208,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:19:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891208,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:19:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891208,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:19:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891208', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:19:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891208', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:19:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 11:19:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 11:19:23] Production.INFO: ==21016== Releasing lock...
[2025-04-12 11:19:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 11:19:23] Production.INFO: 36 MB #Memory Used#
[2025-04-12 16:20:01] Production.INFO: ==21071== Lock acquired, processing the job...
[2025-04-12 16:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 16:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 16:20:02] Production.INFO: neon service started
[2025-04-12 16:20:02] Production.INFO: neon service started
[2025-04-12 16:20:02] Production.INFO: ==21071== Releasing lock...
[2025-04-12 16:20:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 16:20:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 11:20:02] Production.INFO: ==21073== Lock acquired, processing the job...
[2025-04-12 11:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 11:20:02] Production.INFO: ==21073== Releasing lock...
[2025-04-12 11:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 11:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 15:20:02] Production.INFO: ==21075== Lock acquired, processing the job...
[2025-04-12 15:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 15:20:02] Production.INFO: ==21075== Releasing lock...
[2025-04-12 15:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 15:20:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 11:20:03] Production.INFO: ==21082== Lock acquired, processing the job...
[2025-04-12 11:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 11:20:03] Production.INFO: ==21080== Lock acquired, processing the job...
[2025-04-12 11:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 11:20:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 11:20:03] Production.INFO: ==21084== Lock acquired, processing the job...
[2025-04-12 11:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 11:20:04] Production.INFO: ==21078== Lock acquired, processing the job...
[2025-04-12 11:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 11:20:04] Production.INFO: ==21088== Lock acquired, processing the job...
[2025-04-12 11:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 11:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 11:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 11:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 11:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 11:20:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 11:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 11:20:04] Production.ERROR: CronJob PID - 21080
[2025-04-12 11:20:04] Production.ERROR: CronJob Title - System Alerts
[2025-04-12 11:20:04] Production.ERROR: CronJob ID - 5
[2025-04-12 11:20:04] Production.ERROR: CronJob Last Run Time 2025-04-12 11:20:00
[2025-04-12 11:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 11:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 11:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 11:20:04] Production.ERROR: CronJob PID - 21082
[2025-04-12 11:20:04] Production.ERROR: CronJob Title - Account Block
[2025-04-12 11:20:04] Production.ERROR: CronJob ID - 7
[2025-04-12 11:20:04] Production.ERROR: CronJob Last Run Time 2025-04-12 11:20:00
[2025-04-12 11:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 11:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 11:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 11:20:04] Production.ERROR: CronJob PID - 21084
[2025-04-12 11:20:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-04-12 11:20:04] Production.ERROR: CronJob ID - 10
[2025-04-12 11:20:04] Production.ERROR: CronJob Last Run Time 2025-04-12 11:20:00
[2025-04-12 11:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 11:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 11:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 11:20:04] Production.ERROR: CronJob PID - 21088
[2025-04-12 11:20:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-04-12 11:20:04] Production.ERROR: CronJob ID - 16
[2025-04-12 11:20:04] Production.ERROR: CronJob Last Run Time 2025-04-12 11:20:00
[2025-04-12 11:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 11:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 11:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 11:20:04] Production.INFO: ==21086== Lock acquired, processing the job...
[2025-04-12 11:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 11:20:04] Production.INFO: ==21082== Releasing lock...
[2025-04-12 11:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 11:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 11:20:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 11:20:04] Production.INFO: ==21078== Releasing lock...
[2025-04-12 11:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 11:20:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 11:20:04] Production.INFO: ==21090== Lock acquired, processing the job...
[2025-04-12 11:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 11:20:04] Production.INFO: ==21092== Lock acquired, processing the job...
[2025-04-12 11:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 11:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 11:20:04] Production.INFO: Account Balance Start.
[2025-04-12 11:20:04] Production.INFO: CreateAllLog Start
[2025-04-12 11:20:04] Production.INFO: 117
[2025-04-12 11:20:04] Production.INFO: Date 2025-04-08
[2025-04-12 11:20:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 11:20:04] Production.INFO: Date 2025-04-09
[2025-04-12 11:20:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:20:04] Production.INFO: count ==12
[2025-04-12 11:20:04] Production.ERROR: done
[2025-04-12 11:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 11:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 11:20:04] Production.INFO: count ==23
[2025-04-12 11:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891212') start
[2025-04-12 11:20:04] Production.INFO: Date 2025-04-10
[2025-04-12 11:20:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:20:04] Production.ERROR: done
[2025-04-12 11:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891212') end
[2025-04-12 11:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 11:20:04] Production.INFO: 1
[2025-04-12 11:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 11:20:04] Production.ERROR: done
[2025-04-12 11:20:04] Production.INFO: ==21092== Releasing lock...
[2025-04-12 11:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 11:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 11:20:04] Production.INFO: Date 2025-04-11
[2025-04-12 11:20:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 11:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14891213', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 11:20:04] Production.INFO: Date 2025-04-12
[2025-04-12 11:20:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:20:05] Production.INFO: Total Charge 0
[2025-04-12 11:20:05] Production.INFO: CreateAllLog End
[2025-04-12 11:20:05] Production.INFO: Account Balance End.
[2025-04-12 11:20:05] Production.ERROR: CronJobId end 12
[2025-04-12 11:20:05] Production.INFO: ==21086== Releasing lock...
[2025-04-12 11:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 11:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 11:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 08:20:06
[end_date_ymd] => 2025-04-12 11:20:06
[RateCDR] => 1
)
[2025-04-12 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-12 08:20:06' and `end` < '2025-04-12 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-12 11:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14891213', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 11:20:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 11:20:09] Production.INFO: ProcessCDR(1,14891213,1,1,2)
[2025-04-12 11:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14891213,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14891213,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:20:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 11:20:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 11:20:09] Production.INFO: ==21090== Releasing lock...
[2025-04-12 11:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 11:20:09] Production.INFO: 26 MB #Memory Used#
[2025-04-12 11:20:13] Production.ERROR: CronJobId end10
[2025-04-12 11:20:13] Production.INFO: ==21084== Releasing lock...
[2025-04-12 11:20:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 11:20:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 11:20:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 11:20:16] Production.INFO: ============== Balance Warning START===========
[2025-04-12 11:20:16] Production.INFO: ============== Balance Warning END===========
[2025-04-12 11:20:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 11:20:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 11:20:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 11:20:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 11:20:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 11:20:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 11:20:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 11:20:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 11:20:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 11:20:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 11:20:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 11:20:16] Production.INFO: call_cost start
[2025-04-12 11:20:16] Production.INFO: call_cost end
[2025-04-12 11:20:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 11:20:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 11:20:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 11:20:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 11:20:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 11:20:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 11:20:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 11:20:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 11:20:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 11:20:17] Production.INFO: ==21080== Releasing lock...
[2025-04-12 11:20:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 11:20:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 11:20:19] Production.INFO: count ==1042
[2025-04-12 11:20:19] Production.ERROR: pbx CDR StartTime 2025-04-12 08:20:06 - End Time 2025-04-12 11:20:06
[2025-04-12 11:20:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 11:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891214', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891214', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891214', 'tblTempVendorCDR_20' ) start
[2025-04-12 11:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891214', 'tblTempVendorCDR_20' ) end
[2025-04-12 11:20:19] Production.INFO: ProcessCDR(1,14891214,1,1,2)
[2025-04-12 11:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891214,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:20:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891214,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:20:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891214,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:20:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891214,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:20:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891214', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:20:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891214', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:20:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 11:20:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 11:20:24] Production.INFO: ==21088== Releasing lock...
[2025-04-12 11:20:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 11:20:24] Production.INFO: 36.25 MB #Memory Used#
[2025-04-12 16:21:01] Production.INFO: ==21147== Lock acquired, processing the job...
[2025-04-12 16:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 16:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 16:21:01] Production.INFO: neon service started
[2025-04-12 16:21:01] Production.INFO: neon service started
[2025-04-12 16:21:01] Production.INFO: ==21147== Releasing lock...
[2025-04-12 16:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 16:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 11:21:01] Production.INFO: ==21149== Lock acquired, processing the job...
[2025-04-12 11:21:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 11:21:02] Production.INFO: ==21149== Releasing lock...
[2025-04-12 11:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 11:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 15:21:02] Production.INFO: ==21151== Lock acquired, processing the job...
[2025-04-12 15:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 15:21:02] Production.INFO: ==21151== Releasing lock...
[2025-04-12 15:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 15:21:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 11:21:03] Production.INFO: ==21157== Lock acquired, processing the job...
[2025-04-12 11:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 11:21:03] Production.INFO: ==21153== Lock acquired, processing the job...
[2025-04-12 11:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 11:21:03] Production.INFO: ==21161== Lock acquired, processing the job...
[2025-04-12 11:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 11:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 11:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 11:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 11:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 11:21:03] Production.INFO: ==21155== Lock acquired, processing the job...
[2025-04-12 11:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 11:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 11:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 11:21:03] Production.INFO: ==21159== Lock acquired, processing the job...
[2025-04-12 11:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 11:21:03] Production.INFO: ==21163== Lock acquired, processing the job...
[2025-04-12 11:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 11:21:03] Production.INFO: Account Balance Start.
[2025-04-12 11:21:03] Production.INFO: CreateAllLog Start
[2025-04-12 11:21:03] Production.INFO: 117
[2025-04-12 11:21:03] Production.INFO: Date 2025-04-08
[2025-04-12 11:21:03] Production.INFO: Reseller ==> 0
[2025-04-12 11:21:03] Production.INFO: Date 2025-04-09
[2025-04-12 11:21:03] Production.INFO: Reseller ==> 0
[2025-04-12 11:21:03] Production.INFO: Date 2025-04-10
[2025-04-12 11:21:03] Production.INFO: Reseller ==> 0
[2025-04-12 11:21:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 11:21:03] Production.INFO: Date 2025-04-11
[2025-04-12 11:21:03] Production.INFO: Reseller ==> 0
[2025-04-12 11:21:03] Production.INFO: Date 2025-04-12
[2025-04-12 11:21:03] Production.INFO: Reseller ==> 0
[2025-04-12 11:21:03] Production.INFO: count ==12
[2025-04-12 11:21:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 11:21:03] Production.INFO: count ==23
[2025-04-12 11:21:03] Production.INFO: Total Charge 0
[2025-04-12 11:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891218') start
[2025-04-12 11:21:03] Production.INFO: CreateAllLog End
[2025-04-12 11:21:03] Production.INFO: ==21155== Releasing lock...
[2025-04-12 11:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 11:21:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 11:21:03] Production.ERROR: done
[2025-04-12 11:21:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 11:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891218') end
[2025-04-12 11:21:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 11:21:03] Production.INFO: 1
[2025-04-12 11:21:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 11:21:03] Production.INFO: ==21163== Releasing lock...
[2025-04-12 11:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 11:21:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 11:21:03] Production.ERROR: done
[2025-04-12 11:21:03] Production.INFO: Account Balance End.
[2025-04-12 11:21:04] Production.ERROR: CronJobId end 12
[2025-04-12 11:21:04] Production.INFO: ==21159== Releasing lock...
[2025-04-12 11:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 11:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 11:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 08:21:05
[end_date_ymd] => 2025-04-12 11:21:05
[RateCDR] => 1
)
[2025-04-12 11:21:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 08:21:05' and `end` < '2025-04-12 11:21:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 11:21:11] Production.ERROR: CronJobId end10
[2025-04-12 11:21:11] Production.INFO: ==21157== Releasing lock...
[2025-04-12 11:21:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 11:21:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 11:21:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 11:21:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 11:21:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 11:21:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 11:21:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 11:21:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 11:21:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 11:21:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 11:21:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 11:21:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 11:21:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 11:21:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 11:21:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 11:21:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 11:21:13] Production.INFO: call_cost start
[2025-04-12 11:21:13] Production.INFO: call_cost end
[2025-04-12 11:21:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 11:21:14] Production.INFO: ============== Report Schedule START===========
[2025-04-12 11:21:14] Production.INFO: ============== Report Schedule END===========
[2025-04-12 11:21:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 11:21:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 11:21:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 11:21:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 11:21:14] Production.INFO: ============== Deal alert START===========
[2025-04-12 11:21:14] Production.INFO: ============== Deal alert END===========
[2025-04-12 11:21:14] Production.INFO: ==21153== Releasing lock...
[2025-04-12 11:21:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 11:21:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 11:21:18] Production.INFO: count ==1095
[2025-04-12 11:21:18] Production.ERROR: pbx CDR StartTime 2025-04-12 08:21:05 - End Time 2025-04-12 11:21:05
[2025-04-12 11:21:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 11:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891219', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891219', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891219', 'tblTempVendorCDR_20' ) start
[2025-04-12 11:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891219', 'tblTempVendorCDR_20' ) end
[2025-04-12 11:21:18] Production.INFO: ProcessCDR(1,14891219,1,1,2)
[2025-04-12 11:21:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891219,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:21:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891219,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:21:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891219,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:21:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891219,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:21:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891219', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:21:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891219', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:21:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 11:21:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 11:21:23] Production.INFO: ==21161== Releasing lock...
[2025-04-12 11:21:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 11:21:23] Production.INFO: 36.5 MB #Memory Used#
[2025-04-12 16:22:01] Production.INFO: ==21218== Lock acquired, processing the job...
[2025-04-12 16:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 16:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 16:22:01] Production.INFO: neon service started
[2025-04-12 16:22:01] Production.INFO: neon service started
[2025-04-12 16:22:01] Production.INFO: ==21218== Releasing lock...
[2025-04-12 16:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 16:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 15:22:02] Production.INFO: ==21222== Lock acquired, processing the job...
[2025-04-12 15:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 15:22:02] Production.INFO: ==21222== Releasing lock...
[2025-04-12 15:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 15:22:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 11:22:02] Production.INFO: ==21220== Lock acquired, processing the job...
[2025-04-12 11:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 11:22:02] Production.INFO: ==21220== Releasing lock...
[2025-04-12 11:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 11:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 11:22:03] Production.INFO: ==21224== Lock acquired, processing the job...
[2025-04-12 11:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 11:22:03] Production.INFO: ==21232== Lock acquired, processing the job...
[2025-04-12 11:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 11:22:03] Production.INFO: ==21230== Lock acquired, processing the job...
[2025-04-12 11:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 11:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 11:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 11:22:03] Production.INFO: Account Balance Start.
[2025-04-12 11:22:03] Production.INFO: CreateAllLog Start
[2025-04-12 11:22:03] Production.INFO: 117
[2025-04-12 11:22:03] Production.INFO: Date 2025-04-08
[2025-04-12 11:22:03] Production.INFO: Reseller ==> 0
[2025-04-12 11:22:03] Production.INFO: Date 2025-04-09
[2025-04-12 11:22:03] Production.INFO: Reseller ==> 0
[2025-04-12 11:22:03] Production.INFO: ==21226== Lock acquired, processing the job...
[2025-04-12 11:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 11:22:03] Production.INFO: Date 2025-04-10
[2025-04-12 11:22:03] Production.INFO: Reseller ==> 0
[2025-04-12 11:22:03] Production.INFO: Date 2025-04-11
[2025-04-12 11:22:03] Production.INFO: Reseller ==> 0
[2025-04-12 11:22:03] Production.INFO: ==21228== Lock acquired, processing the job...
[2025-04-12 11:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 11:22:04] Production.INFO: Date 2025-04-12
[2025-04-12 11:22:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:22:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 11:22:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 11:22:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 11:22:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 11:22:04] Production.INFO: Total Charge 0
[2025-04-12 11:22:04] Production.INFO: ==21235== Lock acquired, processing the job...
[2025-04-12 11:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 11:22:04] Production.INFO: CreateAllLog End
[2025-04-12 11:22:04] Production.INFO: ==21226== Releasing lock...
[2025-04-12 11:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 11:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 11:22:04] Production.ERROR: done
[2025-04-12 11:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 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-12 11:22:04] Production.INFO: Account Balance End.
[2025-04-12 11:22:04] Production.INFO: count ==12
[2025-04-12 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-12 11:22:04] Production.INFO: count ==23
[2025-04-12 11:22:04] Production.ERROR: CronJobId end 12
[2025-04-12 11:22:04] Production.INFO: ==21230== Releasing lock...
[2025-04-12 11:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 11:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 11:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891223') start
[2025-04-12 11:22:04] Production.ERROR: done
[2025-04-12 11:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891223') end
[2025-04-12 11:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 11:22:04] Production.INFO: 1
[2025-04-12 11:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 11:22:04] Production.INFO: ==21235== Releasing lock...
[2025-04-12 11:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 11:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 11:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 08:22:05
[end_date_ymd] => 2025-04-12 11:22:05
[RateCDR] => 1
)
[2025-04-12 11:22:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 08:22:05' and `end` < '2025-04-12 11:22:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 11:22:12] Production.ERROR: CronJobId end10
[2025-04-12 11:22:12] Production.INFO: ==21228== Releasing lock...
[2025-04-12 11:22:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 11:22:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 11:22:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 11:22:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 11:22:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 11:22:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 11:22:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 11:22:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 11:22:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 11:22:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 11:22:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 11:22:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 11:22:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 11:22:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 11:22:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 11:22:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 11:22:15] Production.INFO: call_cost start
[2025-04-12 11:22:15] Production.INFO: call_cost end
[2025-04-12 11:22:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 11:22:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 11:22:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 11:22:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 11:22:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 11:22:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 11:22:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 11:22:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 11:22:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 11:22:15] Production.INFO: ==21224== Releasing lock...
[2025-04-12 11:22:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 11:22:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 11:22:18] Production.INFO: count ==1098
[2025-04-12 11:22:18] Production.ERROR: pbx CDR StartTime 2025-04-12 08:22:05 - End Time 2025-04-12 11:22:05
[2025-04-12 11:22:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 11:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891224', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891224', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891224', 'tblTempVendorCDR_20' ) start
[2025-04-12 11:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891224', 'tblTempVendorCDR_20' ) end
[2025-04-12 11:22:18] Production.INFO: ProcessCDR(1,14891224,1,1,2)
[2025-04-12 11:22:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891224,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:22:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891224,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:22:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891224,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:22:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891224,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:22:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891224', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:22:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891224', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:22:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 11:22:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 11:22:23] Production.INFO: ==21232== Releasing lock...
[2025-04-12 11:22:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 11:22:23] Production.INFO: 37 MB #Memory Used#
[2025-04-12 16:23:01] Production.INFO: ==21295== Lock acquired, processing the job...
[2025-04-12 16:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 16:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 16:23:01] Production.INFO: neon service started
[2025-04-12 16:23:01] Production.INFO: neon service started
[2025-04-12 16:23:01] Production.INFO: ==21295== Releasing lock...
[2025-04-12 16:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 16:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 11:23:01] Production.INFO: ==21297== Lock acquired, processing the job...
[2025-04-12 11:23:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 11:23:02] Production.INFO: ==21297== Releasing lock...
[2025-04-12 11:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 11:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 15:23:02] Production.INFO: ==21299== Lock acquired, processing the job...
[2025-04-12 15:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 15:23:02] Production.INFO: ==21299== Releasing lock...
[2025-04-12 15:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 15:23:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 11:23:02] Production.INFO: ==21309== Lock acquired, processing the job...
[2025-04-12 11:23:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 11:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 11:23:03] Production.INFO: ==21311== Lock acquired, processing the job...
[2025-04-12 11:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 11:23:03] Production.INFO: ==21301== Lock acquired, processing the job...
[2025-04-12 11:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 11:23:03] Production.INFO: ==21303== Lock acquired, processing the job...
[2025-04-12 11:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 11:23:03] Production.INFO: ==21305== Lock acquired, processing the job...
[2025-04-12 11:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 11:23:03] Production.INFO: ==21307== Lock acquired, processing the job...
[2025-04-12 11:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 11:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 11:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 11:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 11:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 11:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 11:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 11:23:03] Production.INFO: count ==12
[2025-04-12 11:23:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 11:23:03] Production.INFO: count ==23
[2025-04-12 11:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891225') start
[2025-04-12 11:23:03] Production.ERROR: done
[2025-04-12 11:23:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 11:23:03] Production.INFO: Account Balance Start.
[2025-04-12 11:23:03] Production.INFO: CreateAllLog Start
[2025-04-12 11:23:03] Production.INFO: 117
[2025-04-12 11:23:03] Production.INFO: Date 2025-04-08
[2025-04-12 11:23:03] Production.INFO: Reseller ==> 0
[2025-04-12 11:23:03] Production.INFO: Date 2025-04-09
[2025-04-12 11:23:03] Production.INFO: Reseller ==> 0
[2025-04-12 11:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891225') end
[2025-04-12 11:23:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 11:23:03] Production.INFO: 1
[2025-04-12 11:23:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 11:23:03] Production.INFO: ==21311== Releasing lock...
[2025-04-12 11:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 11:23:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 11:23:03] Production.ERROR: done
[2025-04-12 11:23:03] Production.INFO: Date 2025-04-10
[2025-04-12 11:23:03] Production.INFO: Reseller ==> 0
[2025-04-12 11:23:03] Production.INFO: ==21303== Releasing lock...
[2025-04-12 11:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 11:23:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 11:23:03] Production.INFO: Date 2025-04-11
[2025-04-12 11:23:03] Production.INFO: Reseller ==> 0
[2025-04-12 11:23:03] Production.INFO: Date 2025-04-12
[2025-04-12 11:23:03] Production.INFO: Reseller ==> 0
[2025-04-12 11:23:03] Production.INFO: Total Charge 0
[2025-04-12 11:23:03] Production.INFO: CreateAllLog End
[2025-04-12 11:23:04] Production.INFO: Account Balance End.
[2025-04-12 11:23:04] Production.ERROR: CronJobId end 12
[2025-04-12 11:23:04] Production.INFO: ==21307== Releasing lock...
[2025-04-12 11:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 11:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 11:23:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 08:23:04
[end_date_ymd] => 2025-04-12 11:23:04
[RateCDR] => 1
)
[2025-04-12 11:23:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 08:23:04' and `end` < '2025-04-12 11:23:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 11:23:11] Production.ERROR: CronJobId end10
[2025-04-12 11:23:11] Production.INFO: ==21305== Releasing lock...
[2025-04-12 11:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 11:23:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 11:23:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 11:23:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 11:23:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 11:23:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 11:23:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 11:23:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 11:23:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 11:23:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 11:23:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 11:23:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 11:23:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 11:23:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 11:23:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 11:23:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 11:23:14] Production.INFO: call_cost start
[2025-04-12 11:23:14] Production.INFO: call_cost end
[2025-04-12 11:23:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 11:23:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 11:23:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 11:23:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 11:23:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 11:23:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 11:23:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 11:23:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 11:23:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 11:23:15] Production.INFO: ==21301== Releasing lock...
[2025-04-12 11:23:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 11:23:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 11:23:17] Production.INFO: count ==1099
[2025-04-12 11:23:18] Production.ERROR: pbx CDR StartTime 2025-04-12 08:23:04 - End Time 2025-04-12 11:23:04
[2025-04-12 11:23:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 11:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891229', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891229', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891229', 'tblTempVendorCDR_20' ) start
[2025-04-12 11:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891229', 'tblTempVendorCDR_20' ) end
[2025-04-12 11:23:18] Production.INFO: ProcessCDR(1,14891229,1,1,2)
[2025-04-12 11:23:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891229,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:23:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891229,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:23:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891229,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:23:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891229,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891229', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891229', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:23:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 11:23:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 11:23:21] Production.INFO: ==21309== Releasing lock...
[2025-04-12 11:23:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 11:23:21] Production.INFO: 36.75 MB #Memory Used#
[2025-04-12 16:24:01] Production.INFO: ==21372== Lock acquired, processing the job...
[2025-04-12 16:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 16:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 16:24:01] Production.INFO: neon service started
[2025-04-12 16:24:01] Production.INFO: neon service started
[2025-04-12 16:24:01] Production.INFO: ==21372== Releasing lock...
[2025-04-12 16:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 16:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 11:24:02] Production.INFO: ==21374== Lock acquired, processing the job...
[2025-04-12 11:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 11:24:02] Production.INFO: ==21374== Releasing lock...
[2025-04-12 11:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 11:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 15:24:02] Production.INFO: ==21376== Lock acquired, processing the job...
[2025-04-12 15:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 15:24:02] Production.INFO: ==21376== Releasing lock...
[2025-04-12 15:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 15:24:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 11:24:03] Production.INFO: ==21380== Lock acquired, processing the job...
[2025-04-12 11:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 11:24:03] Production.INFO: ==21384== Lock acquired, processing the job...
[2025-04-12 11:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 11:24:03] Production.INFO: ==21378== Lock acquired, processing the job...
[2025-04-12 11:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 11:24:03] Production.INFO: Account Balance Start.
[2025-04-12 11:24:03] Production.INFO: CreateAllLog Start
[2025-04-12 11:24:03] Production.INFO: 117
[2025-04-12 11:24:03] Production.INFO: Date 2025-04-08
[2025-04-12 11:24:03] Production.INFO: Reseller ==> 0
[2025-04-12 11:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 11:24:03] Production.INFO: ==21380== Releasing lock...
[2025-04-12 11:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 11:24:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 11:24:03] Production.INFO: Date 2025-04-09
[2025-04-12 11:24:03] Production.INFO: ==21382== Lock acquired, processing the job...
[2025-04-12 11:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 11:24:03] Production.INFO: Reseller ==> 0
[2025-04-12 11:24:04] Production.INFO: Date 2025-04-10
[2025-04-12 11:24:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:24:04] Production.INFO: ==21386== Lock acquired, processing the job...
[2025-04-12 11:24:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 11:24:04] Production.INFO: Date 2025-04-11
[2025-04-12 11:24:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:24:04] Production.INFO: Date 2025-04-12
[2025-04-12 11:24:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:24:04] Production.INFO: ==21389== Lock acquired, processing the job...
[2025-04-12 11:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 11:24:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 11:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 11:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 11:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 11:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 11:24:04] Production.INFO: Total Charge 0
[2025-04-12 11:24:04] Production.INFO: CreateAllLog End
[2025-04-12 11:24:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 11:24:04] Production.INFO: count ==12
[2025-04-12 11:24:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 11:24:04] Production.INFO: count ==23
[2025-04-12 11:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891233') start
[2025-04-12 11:24:04] Production.INFO: Account Balance End.
[2025-04-12 11:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891233') end
[2025-04-12 11:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 11:24:04] Production.INFO: 1
[2025-04-12 11:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 11:24:04] Production.ERROR: CronJobId end 12
[2025-04-12 11:24:04] Production.INFO: ==21384== Releasing lock...
[2025-04-12 11:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 11:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 11:24:04] Production.INFO: ==21389== Releasing lock...
[2025-04-12 11:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 11:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 11:24:04] Production.ERROR: done
[2025-04-12 11:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 11:24:04] Production.ERROR: done
[2025-04-12 11:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 08:24:05
[end_date_ymd] => 2025-04-12 11:24:05
[RateCDR] => 1
)
[2025-04-12 11:24:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 08:24:05' and `end` < '2025-04-12 11:24:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 11:24:12] Production.ERROR: CronJobId end10
[2025-04-12 11:24:12] Production.INFO: ==21382== Releasing lock...
[2025-04-12 11:24:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 11:24:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 11:24:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 11:24:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 11:24:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 11:24:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 11:24:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 11:24:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 11:24:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 11:24:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 11:24:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 11:24:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 11:24:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 11:24:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 11:24:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 11:24:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 11:24:14] Production.INFO: call_cost start
[2025-04-12 11:24:14] Production.INFO: call_cost end
[2025-04-12 11:24:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 11:24:14] Production.INFO: ============== Report Schedule START===========
[2025-04-12 11:24:14] Production.INFO: ============== Report Schedule END===========
[2025-04-12 11:24:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 11:24:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 11:24:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 11:24:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 11:24:14] Production.INFO: ============== Deal alert START===========
[2025-04-12 11:24:14] Production.INFO: ============== Deal alert END===========
[2025-04-12 11:24:14] Production.INFO: ==21378== Releasing lock...
[2025-04-12 11:24:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 11:24:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 11:24:18] Production.INFO: count ==1107
[2025-04-12 11:24:18] Production.ERROR: pbx CDR StartTime 2025-04-12 08:24:05 - End Time 2025-04-12 11:24:05
[2025-04-12 11:24:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 11:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891234', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891234', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891234', 'tblTempVendorCDR_20' ) start
[2025-04-12 11:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891234', 'tblTempVendorCDR_20' ) end
[2025-04-12 11:24:18] Production.INFO: ProcessCDR(1,14891234,1,1,2)
[2025-04-12 11:24:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891234,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:24:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891234,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:24:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891234,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:24:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891234,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:24:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891234', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:24:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891234', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:24:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 11:24:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 11:24:23] Production.INFO: ==21386== Releasing lock...
[2025-04-12 11:24:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 11:24:23] Production.INFO: 36.5 MB #Memory Used#
[2025-04-12 16:25:02] Production.INFO: ==21443== Lock acquired, processing the job...
[2025-04-12 16:25:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 16:25:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 16:25:02] Production.INFO: neon service started
[2025-04-12 16:25:02] Production.INFO: neon service started
[2025-04-12 16:25:02] Production.INFO: ==21443== Releasing lock...
[2025-04-12 16:25:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 16:25:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 11:25:02] Production.INFO: ==21445== Lock acquired, processing the job...
[2025-04-12 11:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 11:25:02] Production.INFO: ==21445== Releasing lock...
[2025-04-12 11:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 11:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 15:25:03] Production.INFO: ==21447== Lock acquired, processing the job...
[2025-04-12 15:25:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 15:25:03] Production.INFO: ==21447== Releasing lock...
[2025-04-12 15:25:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 15:25:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 11:25:03] Production.INFO: ==21449== Lock acquired, processing the job...
[2025-04-12 11:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 11:25:03] Production.INFO: ==21451== Lock acquired, processing the job...
[2025-04-12 11:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 11:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 11:25:03] Production.INFO: ==21455== Lock acquired, processing the job...
[2025-04-12 11:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 11:25:04] Production.INFO: Account Balance Start.
[2025-04-12 11:25:04] Production.INFO: CreateAllLog Start
[2025-04-12 11:25:04] Production.INFO: 117
[2025-04-12 11:25:04] Production.INFO: Date 2025-04-08
[2025-04-12 11:25:04] Production.INFO: ==21453== Lock acquired, processing the job...
[2025-04-12 11:25:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 11:25:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:25:04] Production.INFO: Date 2025-04-09
[2025-04-12 11:25:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:25:04] Production.INFO: ==21457== Lock acquired, processing the job...
[2025-04-12 11:25:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 11:25:04] Production.INFO: ==21451== Releasing lock...
[2025-04-12 11:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 11:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 11:25:04] Production.INFO: Date 2025-04-10
[2025-04-12 11:25:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:25:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 11:25:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 11:25:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 11:25:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 11:25:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 11:25:04] Production.INFO: ==21459== Lock acquired, processing the job...
[2025-04-12 11:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 11:25:04] Production.INFO: Date 2025-04-11
[2025-04-12 11:25:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:25:04] Production.INFO: Date 2025-04-12
[2025-04-12 11:25:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:25:04] Production.INFO: Total Charge 0
[2025-04-12 11:25:04] Production.INFO: CreateAllLog End
[2025-04-12 11:25:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 11:25:04] Production.INFO: count ==12
[2025-04-12 11:25:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 11:25:04] Production.INFO: count ==23
[2025-04-12 11:25:04] Production.ERROR: done
[2025-04-12 11:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891238') start
[2025-04-12 11:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 11:25:04] Production.INFO: Account Balance End.
[2025-04-12 11:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891238') end
[2025-04-12 11:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 11:25:04] Production.INFO: 1
[2025-04-12 11:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 11:25:04] Production.ERROR: CronJobId end 12
[2025-04-12 11:25:04] Production.INFO: ==21455== Releasing lock...
[2025-04-12 11:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 11:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 11:25:05] Production.INFO: ==21459== Releasing lock...
[2025-04-12 11:25:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 11:25:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 11:25:05] Production.ERROR: done
[2025-04-12 11:25:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 08:25:06
[end_date_ymd] => 2025-04-12 11:25:06
[RateCDR] => 1
)
[2025-04-12 11:25:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 08:25:06' and `end` < '2025-04-12 11:25:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 11:25:12] Production.ERROR: CronJobId end10
[2025-04-12 11:25:12] Production.INFO: ==21453== Releasing lock...
[2025-04-12 11:25:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 11:25:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 11:25:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 11:25:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 11:25:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 11:25:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 11:25:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 11:25:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 11:25:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 11:25:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 11:25:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 11:25:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 11:25:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 11:25:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 11:25:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 11:25:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 11:25:15] Production.INFO: call_cost start
[2025-04-12 11:25:15] Production.INFO: call_cost end
[2025-04-12 11:25:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 11:25:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 11:25:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 11:25:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 11:25:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 11:25:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 11:25:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 11:25:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 11:25:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 11:25:16] Production.INFO: ==21449== Releasing lock...
[2025-04-12 11:25:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 11:25:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 11:25:19] Production.INFO: count ==1109
[2025-04-12 11:25:19] Production.ERROR: pbx CDR StartTime 2025-04-12 08:25:06 - End Time 2025-04-12 11:25:06
[2025-04-12 11:25:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 11:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891239', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891239', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891239', 'tblTempVendorCDR_20' ) start
[2025-04-12 11:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891239', 'tblTempVendorCDR_20' ) end
[2025-04-12 11:25:19] Production.INFO: ProcessCDR(1,14891239,1,1,2)
[2025-04-12 11:25:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891239,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:25:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891239,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:25:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891239,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:25:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891239,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:25:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891239', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:25:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891239', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:25:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 11:25:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 11:25:24] Production.INFO: ==21457== Releasing lock...
[2025-04-12 11:25:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 11:25:24] Production.INFO: 36.75 MB #Memory Used#
[2025-04-12 16:26:01] Production.INFO: ==21518== Lock acquired, processing the job...
[2025-04-12 16:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 16:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 16:26:01] Production.INFO: neon service started
[2025-04-12 16:26:01] Production.INFO: neon service started
[2025-04-12 16:26:01] Production.INFO: ==21518== Releasing lock...
[2025-04-12 16:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 16:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 15:26:02] Production.INFO: ==21522== Lock acquired, processing the job...
[2025-04-12 15:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 15:26:02] Production.INFO: ==21522== Releasing lock...
[2025-04-12 15:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 15:26:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 11:26:02] Production.INFO: ==21520== Lock acquired, processing the job...
[2025-04-12 11:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 11:26:02] Production.INFO: ==21520== Releasing lock...
[2025-04-12 11:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 11:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 11:26:03] Production.INFO: ==21525== Lock acquired, processing the job...
[2025-04-12 11:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 11:26:03] Production.INFO: ==21527== Lock acquired, processing the job...
[2025-04-12 11:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 11:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 11:26:03] Production.INFO: ==21529== Lock acquired, processing the job...
[2025-04-12 11:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 11:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 11:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 11:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 11:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 11:26:03] Production.INFO: ==21531== Lock acquired, processing the job...
[2025-04-12 11:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 11:26:03] Production.INFO: ==21533== Lock acquired, processing the job...
[2025-04-12 11:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 11:26:04] Production.INFO: ==21535== Lock acquired, processing the job...
[2025-04-12 11:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 11:26:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 11:26:04] Production.INFO: ==21527== Releasing lock...
[2025-04-12 11:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 11:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 11:26:04] Production.INFO: Account Balance Start.
[2025-04-12 11:26:04] Production.INFO: CreateAllLog Start
[2025-04-12 11:26:04] Production.INFO: 117
[2025-04-12 11:26:04] Production.INFO: Date 2025-04-08
[2025-04-12 11:26:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:26:04] Production.INFO: Date 2025-04-09
[2025-04-12 11:26:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:26:04] Production.INFO: Date 2025-04-10
[2025-04-12 11:26:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:26:04] Production.INFO: Date 2025-04-11
[2025-04-12 11:26:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:26:04] Production.INFO: Date 2025-04-12
[2025-04-12 11:26:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:26:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 11:26:04] Production.INFO: Total Charge 0
[2025-04-12 11:26:04] Production.INFO: count ==12
[2025-04-12 11:26:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 11:26:04] Production.INFO: count ==23
[2025-04-12 11:26:04] Production.INFO: CreateAllLog End
[2025-04-12 11:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891243') start
[2025-04-12 11:26:04] Production.ERROR: done
[2025-04-12 11:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 11:26:04] Production.INFO: Account Balance End.
[2025-04-12 11:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891243') end
[2025-04-12 11:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 11:26:04] Production.INFO: 1
[2025-04-12 11:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 11:26:04] Production.ERROR: CronJobId end 12
[2025-04-12 11:26:04] Production.INFO: ==21531== Releasing lock...
[2025-04-12 11:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 11:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 11:26:04] Production.INFO: ==21535== Releasing lock...
[2025-04-12 11:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 11:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 11:26:04] Production.ERROR: done
[2025-04-12 11:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 08:26:05
[end_date_ymd] => 2025-04-12 11:26:05
[RateCDR] => 1
)
[2025-04-12 11:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 08:26:05' and `end` < '2025-04-12 11:26:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 11:26:12] Production.ERROR: CronJobId end10
[2025-04-12 11:26:12] Production.INFO: ==21529== Releasing lock...
[2025-04-12 11:26:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 11:26:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 11:26:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 11:26:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 11:26:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 11:26:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 11:26:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 11:26:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 11:26:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 11:26:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 11:26:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 11:26:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 11:26:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 11:26:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 11:26:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 11:26:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 11:26:15] Production.INFO: call_cost start
[2025-04-12 11:26:15] Production.INFO: call_cost end
[2025-04-12 11:26:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 11:26:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 11:26:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 11:26:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 11:26:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 11:26:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 11:26:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 11:26:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 11:26:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 11:26:16] Production.INFO: ==21525== Releasing lock...
[2025-04-12 11:26:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 11:26:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 11:26:18] Production.INFO: count ==1111
[2025-04-12 11:26:18] Production.ERROR: pbx CDR StartTime 2025-04-12 08:26:05 - End Time 2025-04-12 11:26:05
[2025-04-12 11:26:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 11:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891244', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891244', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891244', 'tblTempVendorCDR_20' ) start
[2025-04-12 11:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891244', 'tblTempVendorCDR_20' ) end
[2025-04-12 11:26:19] Production.INFO: ProcessCDR(1,14891244,1,1,2)
[2025-04-12 11:26:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891244,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:26:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891244,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:26:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891244,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:26:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891244,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:26:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891244', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:26:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891244', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:26:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 11:26:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 11:26:24] Production.INFO: ==21533== Releasing lock...
[2025-04-12 11:26:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 11:26:24] Production.INFO: 36.75 MB #Memory Used#
[2025-04-12 16:27:02] Production.INFO: ==21589== Lock acquired, processing the job...
[2025-04-12 16:27:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 16:27:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 16:27:02] Production.INFO: neon service started
[2025-04-12 16:27:02] Production.INFO: neon service started
[2025-04-12 16:27:02] Production.INFO: ==21589== Releasing lock...
[2025-04-12 16:27:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 16:27:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 11:27:02] Production.INFO: ==21592== Lock acquired, processing the job...
[2025-04-12 11:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 11:27:02] Production.INFO: ==21592== Releasing lock...
[2025-04-12 11:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 11:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 15:27:03] Production.INFO: ==21594== Lock acquired, processing the job...
[2025-04-12 15:27:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 15:27:03] Production.INFO: ==21594== Releasing lock...
[2025-04-12 15:27:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 15:27:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 11:27:03] Production.INFO: ==21600== Lock acquired, processing the job...
[2025-04-12 11:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 11:27:03] Production.INFO: ==21604== Lock acquired, processing the job...
[2025-04-12 11:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 11:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 11:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 11:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 11:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 11:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 11:27:04] Production.INFO: ==21596== Lock acquired, processing the job...
[2025-04-12 11:27:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 11:27:04] Production.INFO: ==21598== Lock acquired, processing the job...
[2025-04-12 11:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 11:27:04] Production.INFO: ==21602== Lock acquired, processing the job...
[2025-04-12 11:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 11:27:04] Production.INFO: ==21606== Lock acquired, processing the job...
[2025-04-12 11:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 11:27:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 11:27:04] Production.INFO: Account Balance Start.
[2025-04-12 11:27:04] Production.INFO: CreateAllLog Start
[2025-04-12 11:27:04] Production.INFO: 117
[2025-04-12 11:27:04] Production.INFO: Date 2025-04-08
[2025-04-12 11:27:04] Production.ERROR: done
[2025-04-12 11:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 11:27:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 11:27:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:27:04] Production.INFO: count ==12
[2025-04-12 11:27:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 11:27:04] Production.INFO: count ==23
[2025-04-12 11:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891248') start
[2025-04-12 11:27:04] Production.ERROR: done
[2025-04-12 11:27:04] Production.INFO: Date 2025-04-09
[2025-04-12 11:27:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:27:04] Production.INFO: Date 2025-04-10
[2025-04-12 11:27:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:27:04] Production.INFO: ==21598== Releasing lock...
[2025-04-12 11:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 11:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 11:27:04] Production.INFO: Date 2025-04-11
[2025-04-12 11:27:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891248') end
[2025-04-12 11:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 11:27:04] Production.INFO: 1
[2025-04-12 11:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 11:27:04] Production.INFO: Date 2025-04-12
[2025-04-12 11:27:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:27:04] Production.INFO: Total Charge 0
[2025-04-12 11:27:04] Production.INFO: CreateAllLog End
[2025-04-12 11:27:04] Production.INFO: ==21606== Releasing lock...
[2025-04-12 11:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 11:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 11:27:04] Production.INFO: Account Balance End.
[2025-04-12 11:27:04] Production.ERROR: CronJobId end 12
[2025-04-12 11:27:04] Production.INFO: ==21602== Releasing lock...
[2025-04-12 11:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 11:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 11:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 08:27:05
[end_date_ymd] => 2025-04-12 11:27:05
[RateCDR] => 1
)
[2025-04-12 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-12 08:27:05' and `end` < '2025-04-12 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-12 11:27:12] Production.ERROR: CronJobId end10
[2025-04-12 11:27:12] Production.INFO: ==21600== Releasing lock...
[2025-04-12 11:27:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 11:27:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 11:27:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 11:27:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 11:27:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 11:27:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 11:27:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 11:27:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 11:27:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 11:27:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 11:27:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 11:27:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 11:27:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 11:27:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 11:27:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 11:27:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 11:27:15] Production.INFO: call_cost start
[2025-04-12 11:27:15] Production.INFO: call_cost end
[2025-04-12 11:27:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 11:27:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 11:27:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 11:27:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 11:27:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 11:27:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 11:27:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 11:27:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 11:27:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 11:27:16] Production.INFO: ==21596== Releasing lock...
[2025-04-12 11:27:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 11:27:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 11:27:18] Production.INFO: count ==1111
[2025-04-12 11:27:18] Production.ERROR: pbx CDR StartTime 2025-04-12 08:27:05 - End Time 2025-04-12 11:27:05
[2025-04-12 11:27:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 11:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891249', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891249', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891249', 'tblTempVendorCDR_20' ) start
[2025-04-12 11:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891249', 'tblTempVendorCDR_20' ) end
[2025-04-12 11:27:18] Production.INFO: ProcessCDR(1,14891249,1,1,2)
[2025-04-12 11:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891249,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:27:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891249,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:27:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891249,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:27:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891249,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891249', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891249', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:27:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 11:27:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 11:27:22] Production.INFO: ==21604== Releasing lock...
[2025-04-12 11:27:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 11:27:22] Production.INFO: 36.75 MB #Memory Used#
[2025-04-12 16:28:01] Production.INFO: ==21703== Lock acquired, processing the job...
[2025-04-12 16:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 16:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 16:28:01] Production.INFO: neon service started
[2025-04-12 16:28:01] Production.INFO: neon service started
[2025-04-12 16:28:01] Production.INFO: ==21703== Releasing lock...
[2025-04-12 16:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 16:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 15:28:02] Production.INFO: ==21707== Lock acquired, processing the job...
[2025-04-12 15:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 15:28:02] Production.INFO: ==21707== Releasing lock...
[2025-04-12 15:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 15:28:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 11:28:02] Production.INFO: ==21705== Lock acquired, processing the job...
[2025-04-12 11:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 11:28:02] Production.INFO: ==21705== Releasing lock...
[2025-04-12 11:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 11:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 11:28:03] Production.INFO: ==21710== Lock acquired, processing the job...
[2025-04-12 11:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 11:28:03] Production.INFO: ==21714== Lock acquired, processing the job...
[2025-04-12 11:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 11:28:03] Production.INFO: ==21712== Lock acquired, processing the job...
[2025-04-12 11:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 11:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 11:28:03] Production.INFO: ==21718== Lock acquired, processing the job...
[2025-04-12 11:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 11:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 11:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 11:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 11:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 11:28:03] Production.INFO: ==21716== Lock acquired, processing the job...
[2025-04-12 11:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 11:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 11:28:03] Production.INFO: ==21720== Lock acquired, processing the job...
[2025-04-12 11:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 11:28:04] Production.INFO: Account Balance Start.
[2025-04-12 11:28:04] Production.INFO: CreateAllLog Start
[2025-04-12 11:28:04] Production.INFO: 117
[2025-04-12 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-12 11:28:04] Production.INFO: Date 2025-04-08
[2025-04-12 11:28:04] Production.INFO: count ==12
[2025-04-12 11:28:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:28:04] Production.ERROR: done
[2025-04-12 11:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 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-12 11:28:04] Production.INFO: count ==23
[2025-04-12 11:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891253') start
[2025-04-12 11:28:04] Production.INFO: Date 2025-04-09
[2025-04-12 11:28:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:28:04] Production.INFO: ==21712== Releasing lock...
[2025-04-12 11:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 11:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 11:28:04] Production.INFO: Date 2025-04-10
[2025-04-12 11:28:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:28:04] Production.ERROR: done
[2025-04-12 11:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891253') end
[2025-04-12 11:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 11:28:04] Production.INFO: 1
[2025-04-12 11:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 11:28:04] Production.INFO: Date 2025-04-11
[2025-04-12 11:28:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:28:04] Production.INFO: ==21720== Releasing lock...
[2025-04-12 11:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 11:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 11:28:04] Production.INFO: Date 2025-04-12
[2025-04-12 11:28:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:28:04] Production.INFO: Total Charge 0
[2025-04-12 11:28:04] Production.INFO: CreateAllLog End
[2025-04-12 11:28:04] Production.INFO: Account Balance End.
[2025-04-12 11:28:04] Production.ERROR: CronJobId end 12
[2025-04-12 11:28:04] Production.INFO: ==21716== Releasing lock...
[2025-04-12 11:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 11:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 11:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 08:28:05
[end_date_ymd] => 2025-04-12 11:28:05
[RateCDR] => 1
)
[2025-04-12 11:28:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 08:28:05' and `end` < '2025-04-12 11:28:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 11:28:11] Production.ERROR: CronJobId end10
[2025-04-12 11:28:11] Production.INFO: ==21714== Releasing lock...
[2025-04-12 11:28:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 11:28:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 11:28:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 11:28:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 11:28:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 11:28:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 11:28:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 11:28:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 11:28:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 11:28:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 11:28:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 11:28:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 11:28:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 11:28:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 11:28:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 11:28:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 11:28:14] Production.INFO: call_cost start
[2025-04-12 11:28:14] Production.INFO: call_cost end
[2025-04-12 11:28:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 11:28:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 11:28:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 11:28:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 11:28:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 11:28:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 11:28:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 11:28:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 11:28:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 11:28:15] Production.INFO: ==21710== Releasing lock...
[2025-04-12 11:28:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 11:28:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 11:28:18] Production.INFO: count ==1112
[2025-04-12 11:28:18] Production.ERROR: pbx CDR StartTime 2025-04-12 08:28:05 - End Time 2025-04-12 11:28:05
[2025-04-12 11:28:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 11:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891254', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891254', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891254', 'tblTempVendorCDR_20' ) start
[2025-04-12 11:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891254', 'tblTempVendorCDR_20' ) end
[2025-04-12 11:28:18] Production.INFO: ProcessCDR(1,14891254,1,1,2)
[2025-04-12 11:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891254,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:28:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891254,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:28:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891254,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:28:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891254,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:28:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891254', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:28:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891254', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:28:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 11:28:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 11:28:23] Production.INFO: ==21718== Releasing lock...
[2025-04-12 11:28:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 11:28:23] Production.INFO: 37 MB #Memory Used#
[2025-04-12 16:29:02] Production.INFO: ==21785== Lock acquired, processing the job...
[2025-04-12 16:29:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 16:29:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 16:29:02] Production.INFO: neon service started
[2025-04-12 16:29:02] Production.INFO: neon service started
[2025-04-12 16:29:02] Production.INFO: ==21785== Releasing lock...
[2025-04-12 16:29:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 16:29:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 11:29:02] Production.INFO: ==21787== Lock acquired, processing the job...
[2025-04-12 11:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 11:29:02] Production.INFO: ==21787== Releasing lock...
[2025-04-12 11:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 11:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 15:29:03] Production.INFO: ==21789== Lock acquired, processing the job...
[2025-04-12 15:29:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 15:29:03] Production.INFO: ==21789== Releasing lock...
[2025-04-12 15:29:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 15:29:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 11:29:03] Production.INFO: ==21792== Lock acquired, processing the job...
[2025-04-12 11:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 11:29:03] Production.INFO: ==21802== Lock acquired, processing the job...
[2025-04-12 11:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 11:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 11:29:04] Production.INFO: ==21794== Lock acquired, processing the job...
[2025-04-12 11:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 11:29:04] Production.INFO: ==21796== Lock acquired, processing the job...
[2025-04-12 11:29:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 11:29:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 11:29:04] Production.INFO: ==21798== Lock acquired, processing the job...
[2025-04-12 11:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 11:29:04] Production.INFO: count ==12
[2025-04-12 11:29:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 11:29:04] Production.INFO: count ==23
[2025-04-12 11:29:04] Production.INFO: ==21800== Lock acquired, processing the job...
[2025-04-12 11:29:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 11:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891256') start
[2025-04-12 11:29:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 11:29:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 11:29:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 11:29:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 11:29:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 11:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891256') end
[2025-04-12 11:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 11:29:04] Production.INFO: 1
[2025-04-12 11:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 11:29:04] Production.INFO: Account Balance Start.
[2025-04-12 11:29:04] Production.INFO: CreateAllLog Start
[2025-04-12 11:29:04] Production.INFO: 117
[2025-04-12 11:29:04] Production.INFO: ==21802== Releasing lock...
[2025-04-12 11:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 11:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 11:29:04] Production.INFO: Date 2025-04-08
[2025-04-12 11:29:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:29:04] Production.INFO: ==21794== Releasing lock...
[2025-04-12 11:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 11:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 11:29:04] Production.INFO: Date 2025-04-09
[2025-04-12 11:29:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:29:04] Production.INFO: Date 2025-04-10
[2025-04-12 11:29:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:29:04] Production.ERROR: done
[2025-04-12 11:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 11:29:04] Production.INFO: Date 2025-04-11
[2025-04-12 11:29:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:29:04] Production.INFO: Date 2025-04-12
[2025-04-12 11:29:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:29:04] Production.INFO: Total Charge 0
[2025-04-12 11:29:04] Production.INFO: CreateAllLog End
[2025-04-12 11:29:04] Production.ERROR: done
[2025-04-12 11:29:04] Production.INFO: Account Balance End.
[2025-04-12 11:29:05] Production.ERROR: CronJobId end 12
[2025-04-12 11:29:05] Production.INFO: ==21798== Releasing lock...
[2025-04-12 11:29:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 11:29:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 11:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 08:29:05
[end_date_ymd] => 2025-04-12 11:29:05
[RateCDR] => 1
)
[2025-04-12 11:29:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 08:29:05' and `end` < '2025-04-12 11:29:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 11:29:12] Production.ERROR: CronJobId end10
[2025-04-12 11:29:12] Production.INFO: ==21796== Releasing lock...
[2025-04-12 11:29:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 11:29:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 11:29:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 11:29:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 11:29:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 11:29:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 11:29:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 11:29:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 11:29:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 11:29:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 11:29:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 11:29:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 11:29:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 11:29:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 11:29:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 11:29:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 11:29:14] Production.INFO: call_cost start
[2025-04-12 11:29:14] Production.INFO: call_cost end
[2025-04-12 11:29:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 11:29:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 11:29:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 11:29:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 11:29:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 11:29:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 11:29:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 11:29:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 11:29:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 11:29:15] Production.INFO: ==21792== Releasing lock...
[2025-04-12 11:29:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 11:29:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 11:29:18] Production.INFO: count ==1112
[2025-04-12 11:29:19] Production.ERROR: pbx CDR StartTime 2025-04-12 08:29:05 - End Time 2025-04-12 11:29:05
[2025-04-12 11:29:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 11:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891259', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891259', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891259', 'tblTempVendorCDR_20' ) start
[2025-04-12 11:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891259', 'tblTempVendorCDR_20' ) end
[2025-04-12 11:29:19] Production.INFO: ProcessCDR(1,14891259,1,1,2)
[2025-04-12 11:29:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891259,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:29:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891259,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:29:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891259,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:29:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891259,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891259', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891259', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:29:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 11:29:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 11:29:22] Production.INFO: ==21800== Releasing lock...
[2025-04-12 11:29:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 11:29:22] Production.INFO: 37 MB #Memory Used#
[2025-04-12 16:30:01] Production.INFO: ==21861== Lock acquired, processing the job...
[2025-04-12 16:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 16:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 16:30:01] Production.INFO: neon service started
[2025-04-12 16:30:01] Production.INFO: neon service started
[2025-04-12 16:30:01] Production.INFO: ==21861== Releasing lock...
[2025-04-12 16:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 16:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 11:30:02] Production.INFO: ==21863== Lock acquired, processing the job...
[2025-04-12 11:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 15:30:02] Production.INFO: ==21865== Lock acquired, processing the job...
[2025-04-12 15:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 15:30:02] Production.INFO: ==21865== Releasing lock...
[2025-04-12 15:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 15:30:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 11:30:02] Production.INFO: ==21863== Releasing lock...
[2025-04-12 11:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 11:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 11:30:03] Production.INFO: ==21868== Lock acquired, processing the job...
[2025-04-12 11:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 11:30:03] Production.INFO: ==21870== Lock acquired, processing the job...
[2025-04-12 11:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 11:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 11:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 11:30:03] Production.ERROR: CronJob PID - 21870
[2025-04-12 11:30:03] Production.ERROR: CronJob Title - System Alerts
[2025-04-12 11:30:03] Production.ERROR: CronJob ID - 5
[2025-04-12 11:30:03] Production.ERROR: CronJob Last Run Time 2025-04-12 11:30:00
[2025-04-12 11:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 11:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 11:30:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 11:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 11:30:03] Production.INFO: ==21868== Releasing lock...
[2025-04-12 11:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 11:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 11:30:04] Production.INFO: ==21877== Lock acquired, processing the job...
[2025-04-12 11:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 11:30:04] Production.INFO: ==21881== Lock acquired, processing the job...
[2025-04-12 11:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 11:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 11:30:04] Production.INFO: ==21872== Lock acquired, processing the job...
[2025-04-12 11:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 11:30:04] Production.INFO: Account Balance Start.
[2025-04-12 11:30:04] Production.INFO: CreateAllLog Start
[2025-04-12 11:30:04] Production.INFO: 117
[2025-04-12 11:30:04] Production.INFO: Date 2025-04-08
[2025-04-12 11:30:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:30:04] Production.INFO: Date 2025-04-09
[2025-04-12 11:30:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:30:04] Production.INFO: ==21875== Lock acquired, processing the job...
[2025-04-12 11:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 11:30:04] Production.INFO: ==21879== Lock acquired, processing the job...
[2025-04-12 11:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 11:30:04] Production.INFO: Date 2025-04-10
[2025-04-12 11:30:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 11:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 11:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 11:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 11:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 11:30:04] Production.INFO: ==21883== Lock acquired, processing the job...
[2025-04-12 11:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 11:30:04] Production.INFO: Date 2025-04-11
[2025-04-12 11:30:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:30:04] Production.INFO: Date 2025-04-12
[2025-04-12 11:30:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:30:04] Production.ERROR: done
[2025-04-12 11:30:04] Production.INFO: Total Charge 0
[2025-04-12 11:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 11:30:04] Production.INFO: CreateAllLog End
[2025-04-12 11:30:04] Production.INFO: count ==12
[2025-04-12 11:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 11:30:04] Production.INFO: count ==23
[2025-04-12 11:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 11:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14891264', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 11:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891263') start
[2025-04-12 11:30:04] Production.INFO: ==21872== Releasing lock...
[2025-04-12 11:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 11:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 11:30:04] Production.ERROR: done
[2025-04-12 11:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 11:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891263') end
[2025-04-12 11:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 11:30:04] Production.INFO: 1
[2025-04-12 11:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 11:30:05] Production.INFO: ==21883== Releasing lock...
[2025-04-12 11:30:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 11:30:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 11:30:05] Production.INFO: Account Balance End.
[2025-04-12 11:30:05] Production.ERROR: done
[2025-04-12 11:30:05] Production.ERROR: CronJobId end 12
[2025-04-12 11:30:05] Production.INFO: ==21877== Releasing lock...
[2025-04-12 11:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 11:30:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 11:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 08:30:06
[end_date_ymd] => 2025-04-12 11:30:06
[RateCDR] => 1
)
[2025-04-12 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-12 08:30:06' and `end` < '2025-04-12 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-12 11:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14891264', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 11:30:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 11:30:09] Production.INFO: ProcessCDR(1,14891264,1,1,2)
[2025-04-12 11:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14891264,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14891264,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 11:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 11:30:09] Production.INFO: ==21881== Releasing lock...
[2025-04-12 11:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 11:30:09] Production.INFO: 26 MB #Memory Used#
[2025-04-12 11:30:14] Production.ERROR: CronJobId end10
[2025-04-12 11:30:14] Production.INFO: ==21875== Releasing lock...
[2025-04-12 11:30:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 11:30:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 11:30:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 11:30:16] Production.INFO: ============== Balance Warning START===========
[2025-04-12 11:30:16] Production.INFO: ============== Balance Warning END===========
[2025-04-12 11:30:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 11:30:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 11:30:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 11:30:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 11:30:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 11:30:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 11:30:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 11:30:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 11:30:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 11:30:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 11:30:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 11:30:17] Production.INFO: call_cost start
[2025-04-12 11:30:17] Production.INFO: call_cost end
[2025-04-12 11:30:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 11:30:18] Production.INFO: ============== Report Schedule START===========
[2025-04-12 11:30:18] Production.INFO: ============== Report Schedule END===========
[2025-04-12 11:30:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 11:30:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 11:30:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 11:30:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 11:30:18] Production.INFO: ============== Deal alert START===========
[2025-04-12 11:30:18] Production.INFO: ============== Deal alert END===========
[2025-04-12 11:30:18] Production.INFO: ==21870== Releasing lock...
[2025-04-12 11:30:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 11:30:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 11:30:19] Production.INFO: count ==1116
[2025-04-12 11:30:19] Production.ERROR: pbx CDR StartTime 2025-04-12 08:30:06 - End Time 2025-04-12 11:30:06
[2025-04-12 11:30:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 11:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891265', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891265', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891265', 'tblTempVendorCDR_20' ) start
[2025-04-12 11:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891265', 'tblTempVendorCDR_20' ) end
[2025-04-12 11:30:19] Production.INFO: ProcessCDR(1,14891265,1,1,2)
[2025-04-12 11:30:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891265,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:30:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891265,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:30:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891265,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:30:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891265,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:30:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891265', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:30:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891265', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:30:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 11:30:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 11:30:23] Production.INFO: ==21879== Releasing lock...
[2025-04-12 11:30:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 11:30:23] Production.INFO: 36.75 MB #Memory Used#
[2025-04-12 16:31:02] Production.INFO: ==21939== Lock acquired, processing the job...
[2025-04-12 16:31:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 16:31:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 16:31:02] Production.INFO: neon service started
[2025-04-12 16:31:02] Production.INFO: neon service started
[2025-04-12 16:31:02] Production.INFO: ==21939== Releasing lock...
[2025-04-12 16:31:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 16:31:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 11:31:02] Production.INFO: ==21941== Lock acquired, processing the job...
[2025-04-12 11:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 11:31:02] Production.INFO: ==21941== Releasing lock...
[2025-04-12 11:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 11:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 15:31:03] Production.INFO: ==21943== Lock acquired, processing the job...
[2025-04-12 15:31:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 15:31:03] Production.INFO: ==21943== Releasing lock...
[2025-04-12 15:31:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 15:31:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 11:31:03] Production.INFO: ==21956== Lock acquired, processing the job...
[2025-04-12 11:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 11:31:03] Production.INFO: ==21946== Lock acquired, processing the job...
[2025-04-12 11:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 11:31:03] Production.INFO: ==21954== Lock acquired, processing the job...
[2025-04-12 11:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 11:31:03] Production.INFO: ==21950== Lock acquired, processing the job...
[2025-04-12 11:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 11: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-12 11:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 11:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 11:31:03] Production.INFO: count ==12
[2025-04-12 11:31:03] Production.INFO: ==21948== Lock acquired, processing the job...
[2025-04-12 11:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 11: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-12 11:31:03] Production.INFO: count ==23
[2025-04-12 11:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891266') start
[2025-04-12 11:31:03] Production.INFO: ==21952== Lock acquired, processing the job...
[2025-04-12 11:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 11:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 11:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 11:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 11:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 11:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891266') end
[2025-04-12 11:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 11:31:04] Production.INFO: 1
[2025-04-12 11:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 11:31:04] Production.INFO: ==21956== Releasing lock...
[2025-04-12 11:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 11:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 11:31:04] Production.INFO: Account Balance Start.
[2025-04-12 11:31:04] Production.INFO: CreateAllLog Start
[2025-04-12 11:31:04] Production.INFO: 117
[2025-04-12 11:31:04] Production.ERROR: done
[2025-04-12 11:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 11:31:04] Production.INFO: Date 2025-04-08
[2025-04-12 11:31:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:31:04] Production.ERROR: done
[2025-04-12 11:31:04] Production.INFO: ==21948== Releasing lock...
[2025-04-12 11:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 11:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 11:31:04] Production.INFO: Date 2025-04-09
[2025-04-12 11:31:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:31:04] Production.INFO: Date 2025-04-10
[2025-04-12 11:31:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:31:04] Production.INFO: Date 2025-04-11
[2025-04-12 11:31:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:31:04] Production.INFO: Date 2025-04-12
[2025-04-12 11:31:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:31:04] Production.INFO: Total Charge 0
[2025-04-12 11:31:04] Production.INFO: CreateAllLog End
[2025-04-12 11:31:04] Production.INFO: Account Balance End.
[2025-04-12 11:31:04] Production.ERROR: CronJobId end 12
[2025-04-12 11:31:04] Production.INFO: ==21952== Releasing lock...
[2025-04-12 11:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 11:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 11:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 08:31:05
[end_date_ymd] => 2025-04-12 11:31:05
[RateCDR] => 1
)
[2025-04-12 11:31:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 08:31:05' and `end` < '2025-04-12 11:31:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 11:31:12] Production.ERROR: CronJobId end10
[2025-04-12 11:31:12] Production.INFO: ==21950== Releasing lock...
[2025-04-12 11:31:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 11:31:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 11:31:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 11:31:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 11:31:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 11:31:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 11:31:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 11:31:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 11:31:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 11:31:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 11:31:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 11:31:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 11:31:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 11:31:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 11:31:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 11:31:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 11:31:14] Production.INFO: call_cost start
[2025-04-12 11:31:14] Production.INFO: call_cost end
[2025-04-12 11:31:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 11:31:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 11:31:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 11:31:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 11:31:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 11:31:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 11:31:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 11:31:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 11:31:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 11:31:15] Production.INFO: ==21946== Releasing lock...
[2025-04-12 11:31:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 11:31:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 11:31:18] Production.INFO: count ==1183
[2025-04-12 11:31:18] Production.ERROR: pbx CDR StartTime 2025-04-12 08:31:05 - End Time 2025-04-12 11:31:05
[2025-04-12 11:31:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 11:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891270', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891270', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891270', 'tblTempVendorCDR_20' ) start
[2025-04-12 11:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891270', 'tblTempVendorCDR_20' ) end
[2025-04-12 11:31:18] Production.INFO: ProcessCDR(1,14891270,1,1,2)
[2025-04-12 11:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891270,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:31:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891270,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:31:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891270,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:31:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891270,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:31:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891270', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:31:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891270', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:31:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 11:31:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 11:31:23] Production.INFO: ==21954== Releasing lock...
[2025-04-12 11:31:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 11:31:23] Production.INFO: 37.75 MB #Memory Used#
[2025-04-12 16:32:01] Production.INFO: ==22015== Lock acquired, processing the job...
[2025-04-12 16:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 16:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 16:32:01] Production.INFO: neon service started
[2025-04-12 16:32:01] Production.INFO: neon service started
[2025-04-12 16:32:01] Production.INFO: ==22015== Releasing lock...
[2025-04-12 16:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 16:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 15:32:02] Production.INFO: ==22019== Lock acquired, processing the job...
[2025-04-12 15:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 15:32:02] Production.INFO: ==22019== Releasing lock...
[2025-04-12 15:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 15:32:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 11:32:02] Production.INFO: ==22017== Lock acquired, processing the job...
[2025-04-12 11:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 11:32:02] Production.INFO: ==22017== Releasing lock...
[2025-04-12 11:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 11:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 11:32:03] Production.INFO: ==22022== Lock acquired, processing the job...
[2025-04-12 11:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 11:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 11:32:03] Production.INFO: ==22028== Lock acquired, processing the job...
[2025-04-12 11:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 11:32:03] Production.INFO: ==22030== Lock acquired, processing the job...
[2025-04-12 11:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 11:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 11:32:03] Production.INFO: Account Balance Start.
[2025-04-12 11:32:03] Production.INFO: CreateAllLog Start
[2025-04-12 11:32:03] Production.INFO: 117
[2025-04-12 11:32:03] Production.INFO: ==22032== Lock acquired, processing the job...
[2025-04-12 11:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 11:32:03] Production.INFO: Date 2025-04-08
[2025-04-12 11:32:03] Production.INFO: Reseller ==> 0
[2025-04-12 11:32:03] Production.INFO: ==22024== Lock acquired, processing the job...
[2025-04-12 11:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 11:32:03] Production.INFO: Date 2025-04-09
[2025-04-12 11:32:03] Production.INFO: Reseller ==> 0
[2025-04-12 11:32:03] Production.INFO: Date 2025-04-10
[2025-04-12 11:32:03] Production.INFO: Reseller ==> 0
[2025-04-12 11:32:03] Production.INFO: Date 2025-04-11
[2025-04-12 11:32:03] Production.INFO: Reseller ==> 0
[2025-04-12 11:32:03] Production.INFO: Date 2025-04-12
[2025-04-12 11:32:03] Production.INFO: Reseller ==> 0
[2025-04-12 11:32:03] Production.INFO: ==22026== Lock acquired, processing the job...
[2025-04-12 11:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 11:32:03] Production.INFO: Total Charge 0
[2025-04-12 11:32:03] Production.INFO: CreateAllLog End
[2025-04-12 11:32:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 11:32:04] Production.INFO: count ==12
[2025-04-12 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-12 11:32:04] Production.INFO: count ==23
[2025-04-12 11:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 11:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 11:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 11:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 11:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891273') start
[2025-04-12 11:32:04] Production.ERROR: done
[2025-04-12 11:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 11:32:04] Production.INFO: Account Balance End.
[2025-04-12 11:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891273') end
[2025-04-12 11:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 11:32:04] Production.INFO: 1
[2025-04-12 11:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 11:32:04] Production.INFO: ==22032== Releasing lock...
[2025-04-12 11:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 11:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 11:32:04] Production.ERROR: CronJobId end 12
[2025-04-12 11:32:04] Production.INFO: ==22028== Releasing lock...
[2025-04-12 11:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 11:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 11:32:04] Production.INFO: ==22024== Releasing lock...
[2025-04-12 11:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 11:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 11:32:04] Production.ERROR: done
[2025-04-12 11:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 08:32:05
[end_date_ymd] => 2025-04-12 11:32:05
[RateCDR] => 1
)
[2025-04-12 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-12 08:32:05' and `end` < '2025-04-12 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-12 11:32:12] Production.ERROR: CronJobId end10
[2025-04-12 11:32:12] Production.INFO: ==22026== Releasing lock...
[2025-04-12 11:32:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 11:32:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 11:32:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 11:32:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 11:32:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 11:32:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 11:32:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 11:32:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 11:32:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 11:32:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 11:32:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 11:32:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 11:32:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 11:32:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 11:32:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 11:32:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 11:32:15] Production.INFO: call_cost start
[2025-04-12 11:32:15] Production.INFO: call_cost end
[2025-04-12 11:32:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 11:32:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 11:32:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 11:32:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 11:32:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 11:32:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 11:32:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 11:32:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 11:32:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 11:32:16] Production.INFO: ==22022== Releasing lock...
[2025-04-12 11:32:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 11:32:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 11:32:18] Production.INFO: count ==1203
[2025-04-12 11:32:18] Production.ERROR: pbx CDR StartTime 2025-04-12 08:32:05 - End Time 2025-04-12 11:32:05
[2025-04-12 11:32:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 11:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891275', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891275', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891275', 'tblTempVendorCDR_20' ) start
[2025-04-12 11:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891275', 'tblTempVendorCDR_20' ) end
[2025-04-12 11:32:18] Production.INFO: ProcessCDR(1,14891275,1,1,2)
[2025-04-12 11:32:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891275,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:32:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891275,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:32:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891275,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:32:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891275,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:32:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891275', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:32:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891275', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:32:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 11:32:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 11:32:24] Production.INFO: ==22030== Releasing lock...
[2025-04-12 11:32:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 11:32:24] Production.INFO: 37.75 MB #Memory Used#
[2025-04-12 16:33:02] Production.INFO: ==22086== Lock acquired, processing the job...
[2025-04-12 16:33:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 16:33:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 16:33:02] Production.INFO: neon service started
[2025-04-12 16:33:02] Production.INFO: neon service started
[2025-04-12 16:33:02] Production.INFO: ==22086== Releasing lock...
[2025-04-12 16:33:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 16:33:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 15:33:02] Production.INFO: ==22090== Lock acquired, processing the job...
[2025-04-12 15:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 15:33:02] Production.INFO: ==22090== Releasing lock...
[2025-04-12 15:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 15:33:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 11:33:02] Production.INFO: ==22088== Lock acquired, processing the job...
[2025-04-12 11:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 11:33:02] Production.INFO: ==22088== Releasing lock...
[2025-04-12 11:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 11:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 11:33:03] Production.INFO: ==22095== Lock acquired, processing the job...
[2025-04-12 11:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 11:33:03] Production.INFO: ==22099== Lock acquired, processing the job...
[2025-04-12 11:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 11:33:03] Production.INFO: ==22101== Lock acquired, processing the job...
[2025-04-12 11:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 11:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 11:33:03] Production.INFO: Account Balance Start.
[2025-04-12 11:33:03] Production.INFO: CreateAllLog Start
[2025-04-12 11:33:03] Production.INFO: 117
[2025-04-12 11:33:03] Production.INFO: Date 2025-04-08
[2025-04-12 11:33:03] Production.INFO: Reseller ==> 0
[2025-04-12 11:33:03] Production.INFO: ==22093== Lock acquired, processing the job...
[2025-04-12 11:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 11:33:03] Production.INFO: ==22097== Lock acquired, processing the job...
[2025-04-12 11:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 11:33:03] Production.INFO: Date 2025-04-09
[2025-04-12 11:33:03] Production.INFO: Reseller ==> 0
[2025-04-12 11:33:04] Production.INFO: Date 2025-04-10
[2025-04-12 11:33:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:33:04] Production.INFO: ==22103== Lock acquired, processing the job...
[2025-04-12 11:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 11:33:04] Production.INFO: Date 2025-04-11
[2025-04-12 11:33:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:33:04] Production.INFO: ==22095== Releasing lock...
[2025-04-12 11:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 11:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 11:33:04] Production.INFO: Date 2025-04-12
[2025-04-12 11:33:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:33:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 11:33:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 11:33:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 11:33:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 11:33:04] Production.INFO: Total Charge 0
[2025-04-12 11:33:04] Production.INFO: CreateAllLog End
[2025-04-12 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-12 11:33:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 11:33:04] Production.INFO: count ==12
[2025-04-12 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-12 11:33:04] Production.INFO: count ==23
[2025-04-12 11:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891278') start
[2025-04-12 11:33:04] Production.ERROR: done
[2025-04-12 11:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 11:33:04] Production.ERROR: done
[2025-04-12 11:33:04] Production.INFO: Account Balance End.
[2025-04-12 11:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891278') end
[2025-04-12 11:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 11:33:04] Production.INFO: 1
[2025-04-12 11:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 11:33:04] Production.ERROR: CronJobId end 12
[2025-04-12 11:33:04] Production.INFO: ==22099== Releasing lock...
[2025-04-12 11:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 11:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 11:33:04] Production.INFO: ==22103== Releasing lock...
[2025-04-12 11:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 11:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 11:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 08:33:05
[end_date_ymd] => 2025-04-12 11:33:05
[RateCDR] => 1
)
[2025-04-12 11:33:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 08:33:05' and `end` < '2025-04-12 11:33:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 11:33:12] Production.ERROR: CronJobId end10
[2025-04-12 11:33:12] Production.INFO: ==22097== Releasing lock...
[2025-04-12 11:33:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 11:33:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 11:33:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 11:33:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 11:33:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 11:33:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 11:33:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 11:33:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 11:33:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 11:33:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 11:33:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 11:33:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 11:33:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 11:33:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 11:33:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 11:33:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 11:33:15] Production.INFO: call_cost start
[2025-04-12 11:33:15] Production.INFO: call_cost end
[2025-04-12 11:33:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 11:33:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 11:33:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 11:33:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 11:33:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 11:33:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 11:33:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 11:33:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 11:33:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 11:33:16] Production.INFO: ==22093== Releasing lock...
[2025-04-12 11:33:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 11:33:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 11:33:18] Production.INFO: count ==1199
[2025-04-12 11:33:19] Production.ERROR: pbx CDR StartTime 2025-04-12 08:33:05 - End Time 2025-04-12 11:33:05
[2025-04-12 11:33:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 11:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891280', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891280', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891280', 'tblTempVendorCDR_20' ) start
[2025-04-12 11:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891280', 'tblTempVendorCDR_20' ) end
[2025-04-12 11:33:19] Production.INFO: ProcessCDR(1,14891280,1,1,2)
[2025-04-12 11:33:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891280,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:33:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891280,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:33:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891280,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:33:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891280,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:33:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891280', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:33:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891280', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:33:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 11:33:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 11:33:24] Production.INFO: ==22101== Releasing lock...
[2025-04-12 11:33:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 11:33:24] Production.INFO: 37.5 MB #Memory Used#
[2025-04-12 16:34:01] Production.INFO: ==22162== Lock acquired, processing the job...
[2025-04-12 16:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 16:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 16:34:01] Production.INFO: neon service started
[2025-04-12 16:34:01] Production.INFO: neon service started
[2025-04-12 16:34:01] Production.INFO: ==22162== Releasing lock...
[2025-04-12 16:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 16:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 15:34:02] Production.INFO: ==22166== Lock acquired, processing the job...
[2025-04-12 15:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 15:34:02] Production.INFO: ==22166== Releasing lock...
[2025-04-12 15:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 15:34:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 11:34:02] Production.INFO: ==22164== Lock acquired, processing the job...
[2025-04-12 11:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 11:34:02] Production.INFO: ==22164== Releasing lock...
[2025-04-12 11:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 11:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 11:34:03] Production.INFO: ==22169== Lock acquired, processing the job...
[2025-04-12 11:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 11:34:03] Production.INFO: ==22171== Lock acquired, processing the job...
[2025-04-12 11:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 11:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 11:34:03] Production.INFO: ==22175== Lock acquired, processing the job...
[2025-04-12 11:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 11:34:03] Production.INFO: Account Balance Start.
[2025-04-12 11:34:03] Production.INFO: CreateAllLog Start
[2025-04-12 11:34:03] Production.INFO: 117
[2025-04-12 11:34:03] Production.INFO: Date 2025-04-08
[2025-04-12 11:34:03] Production.INFO: Reseller ==> 0
[2025-04-12 11:34:03] Production.INFO: Date 2025-04-09
[2025-04-12 11:34:03] Production.INFO: Reseller ==> 0
[2025-04-12 11:34:03] Production.INFO: Date 2025-04-10
[2025-04-12 11:34:03] Production.INFO: Reseller ==> 0
[2025-04-12 11:34:03] Production.INFO: Date 2025-04-11
[2025-04-12 11:34:03] Production.INFO: Reseller ==> 0
[2025-04-12 11:34:03] Production.INFO: ==22173== Lock acquired, processing the job...
[2025-04-12 11:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 11:34:03] Production.INFO: ==22177== Lock acquired, processing the job...
[2025-04-12 11:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 11:34:03] Production.INFO: Date 2025-04-12
[2025-04-12 11:34:03] Production.INFO: Reseller ==> 0
[2025-04-12 11:34:03] Production.INFO: ==22179== Lock acquired, processing the job...
[2025-04-12 11:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 11:34:03] Production.INFO: Total Charge 0
[2025-04-12 11:34:03] Production.INFO: CreateAllLog End
[2025-04-12 11:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 11:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 11:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 11:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 11:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 11:34:03] Production.INFO: ==22171== Releasing lock...
[2025-04-12 11:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 11:34:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 11:34:04] Production.ERROR: done
[2025-04-12 11:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 11:34:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 11:34:04] Production.INFO: Account Balance End.
[2025-04-12 11:34:04] Production.INFO: count ==12
[2025-04-12 11:34:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 11:34:04] Production.INFO: count ==23
[2025-04-12 11:34:04] Production.ERROR: done
[2025-04-12 11:34:04] Production.ERROR: CronJobId end 12
[2025-04-12 11:34:04] Production.INFO: ==22175== Releasing lock...
[2025-04-12 11:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 11:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 11:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891284') start
[2025-04-12 11:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891284') end
[2025-04-12 11:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 11:34:04] Production.INFO: 1
[2025-04-12 11:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 11:34:04] Production.INFO: ==22179== Releasing lock...
[2025-04-12 11:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 11:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 11:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 08:34:05
[end_date_ymd] => 2025-04-12 11:34:05
[RateCDR] => 1
)
[2025-04-12 11:34:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 08:34:05' and `end` < '2025-04-12 11:34:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 11:34:12] Production.ERROR: CronJobId end10
[2025-04-12 11:34:12] Production.INFO: ==22173== Releasing lock...
[2025-04-12 11:34:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 11:34:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 11:34:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 11:34:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 11:34:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 11:34:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 11:34:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 11:34:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 11:34:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 11:34:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 11:34:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 11:34:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 11:34:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 11:34:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 11:34:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 11:34:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 11:34:14] Production.INFO: call_cost start
[2025-04-12 11:34:14] Production.INFO: call_cost end
[2025-04-12 11:34:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 11:34:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 11:34:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 11:34:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 11:34:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 11:34:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 11:34:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 11:34:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 11:34:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 11:34:15] Production.INFO: ==22169== Releasing lock...
[2025-04-12 11:34:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 11:34:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 11:34:18] Production.INFO: count ==1200
[2025-04-12 11:34:18] Production.ERROR: pbx CDR StartTime 2025-04-12 08:34:05 - End Time 2025-04-12 11:34:05
[2025-04-12 11:34:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 11:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891285', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891285', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891285', 'tblTempVendorCDR_20' ) start
[2025-04-12 11:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891285', 'tblTempVendorCDR_20' ) end
[2025-04-12 11:34:18] Production.INFO: ProcessCDR(1,14891285,1,1,2)
[2025-04-12 11:34:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891285,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:34:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891285,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:34:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891285,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:34:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891285,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891285', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891285', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:34:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 11:34:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 11:34:21] Production.INFO: ==22177== Releasing lock...
[2025-04-12 11:34:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 11:34:21] Production.INFO: 37.25 MB #Memory Used#
[2025-04-12 16:35:02] Production.INFO: ==22242== Lock acquired, processing the job...
[2025-04-12 16:35:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 16:35:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 16:35:02] Production.INFO: neon service started
[2025-04-12 16:35:02] Production.INFO: neon service started
[2025-04-12 16:35:02] Production.INFO: ==22242== Releasing lock...
[2025-04-12 16:35:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 16:35:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 15:35:02] Production.INFO: ==22246== Lock acquired, processing the job...
[2025-04-12 15:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 15:35:02] Production.INFO: ==22246== Releasing lock...
[2025-04-12 15:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 15:35:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 11:35:02] Production.INFO: ==22244== Lock acquired, processing the job...
[2025-04-12 11:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 11:35:02] Production.INFO: ==22244== Releasing lock...
[2025-04-12 11:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 11:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 11:35:03] Production.INFO: ==22249== Lock acquired, processing the job...
[2025-04-12 11:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 11:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 11:35:03] Production.INFO: ==22251== Lock acquired, processing the job...
[2025-04-12 11:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 11:35:03] Production.INFO: ==22259== Lock acquired, processing the job...
[2025-04-12 11:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 11:35:03] Production.INFO: ==22253== Lock acquired, processing the job...
[2025-04-12 11:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 11:35:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 11:35:03] Production.INFO: ==22251== Releasing lock...
[2025-04-12 11:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 11:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 11:35:04] Production.INFO: ==22257== Lock acquired, processing the job...
[2025-04-12 11:35:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 11:35:04] Production.INFO: count ==12
[2025-04-12 11:35:04] Production.INFO: ==22255== Lock acquired, processing the job...
[2025-04-12 11:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 11:35:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 11:35:04] Production.INFO: count ==23
[2025-04-12 11:35:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 11:35:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 11:35:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 11:35:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 11:35:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 11:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891288') start
[2025-04-12 11:35:04] Production.INFO: Account Balance Start.
[2025-04-12 11:35:04] Production.INFO: CreateAllLog Start
[2025-04-12 11:35:04] Production.INFO: 117
[2025-04-12 11:35:04] Production.INFO: Date 2025-04-08
[2025-04-12 11:35:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:35:04] Production.INFO: Date 2025-04-09
[2025-04-12 11:35:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:35:04] Production.INFO: Date 2025-04-10
[2025-04-12 11:35:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:35:04] Production.INFO: Date 2025-04-11
[2025-04-12 11:35:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891288') end
[2025-04-12 11:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 11:35:04] Production.INFO: 1
[2025-04-12 11:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 11:35:04] Production.INFO: Date 2025-04-12
[2025-04-12 11:35:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:35:04] Production.ERROR: done
[2025-04-12 11:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 11:35:04] Production.INFO: Total Charge 0
[2025-04-12 11:35:04] Production.INFO: CreateAllLog End
[2025-04-12 11:35:04] Production.INFO: ==22259== Releasing lock...
[2025-04-12 11:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 11:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 11:35:04] Production.ERROR: done
[2025-04-12 11:35:04] Production.INFO: Account Balance End.
[2025-04-12 11:35:04] Production.ERROR: CronJobId end 12
[2025-04-12 11:35:04] Production.INFO: ==22255== Releasing lock...
[2025-04-12 11:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 11:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 11:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 08:35:05
[end_date_ymd] => 2025-04-12 11:35:05
[RateCDR] => 1
)
[2025-04-12 11:35:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 08:35:05' and `end` < '2025-04-12 11:35:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 11:35:11] Production.ERROR: CronJobId end10
[2025-04-12 11:35:11] Production.INFO: ==22253== Releasing lock...
[2025-04-12 11:35:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 11:35:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 11:35:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 11:35:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 11:35:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 11:35:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 11:35:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 11:35:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 11:35:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 11:35:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 11:35:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 11:35:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 11:35:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 11:35:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 11:35:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 11:35:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 11:35:14] Production.INFO: call_cost start
[2025-04-12 11:35:14] Production.INFO: call_cost end
[2025-04-12 11:35:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 11:35:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 11:35:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 11:35:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 11:35:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 11:35:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 11:35:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 11:35:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 11:35:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 11:35:15] Production.INFO: ==22249== Releasing lock...
[2025-04-12 11:35:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 11:35:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 11:35:19] Production.INFO: count ==1208
[2025-04-12 11:35:19] Production.ERROR: pbx CDR StartTime 2025-04-12 08:35:05 - End Time 2025-04-12 11:35:05
[2025-04-12 11:35:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 11:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891290', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891290', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891290', 'tblTempVendorCDR_20' ) start
[2025-04-12 11:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891290', 'tblTempVendorCDR_20' ) end
[2025-04-12 11:35:19] Production.INFO: ProcessCDR(1,14891290,1,1,2)
[2025-04-12 11:35:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891290,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:35:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891290,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:35:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891290,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:35:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891290,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:35:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891290', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:35:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891290', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:35:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 11:35:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 11:35:22] Production.INFO: ==22257== Releasing lock...
[2025-04-12 11:35:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 11:35:22] Production.INFO: 37.75 MB #Memory Used#
[2025-04-12 16:36:01] Production.INFO: ==22320== Lock acquired, processing the job...
[2025-04-12 16:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 16:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 16:36:01] Production.INFO: neon service started
[2025-04-12 16:36:01] Production.INFO: neon service started
[2025-04-12 16:36:01] Production.INFO: ==22320== Releasing lock...
[2025-04-12 16:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 16:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 15:36:01] Production.INFO: ==22324== Lock acquired, processing the job...
[2025-04-12 15:36:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 15:36:01] Production.INFO: ==22324== Releasing lock...
[2025-04-12 15:36:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 15:36:01] Production.INFO: 25 MB #Memory Used#
[2025-04-12 11:36:02] Production.INFO: ==22322== Lock acquired, processing the job...
[2025-04-12 11:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 11:36:02] Production.INFO: ==22322== Releasing lock...
[2025-04-12 11:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 11:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 11:36:03] Production.INFO: ==22327== Lock acquired, processing the job...
[2025-04-12 11:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 11:36:03] Production.INFO: ==22331== Lock acquired, processing the job...
[2025-04-12 11:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 11:36:03] Production.INFO: ==22333== Lock acquired, processing the job...
[2025-04-12 11:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 11:36:03] Production.INFO: ==22329== Lock acquired, processing the job...
[2025-04-12 11:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 11:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 11:36:03] Production.INFO: Account Balance Start.
[2025-04-12 11:36:03] Production.INFO: CreateAllLog Start
[2025-04-12 11:36:03] Production.INFO: 117
[2025-04-12 11:36:03] Production.INFO: Date 2025-04-08
[2025-04-12 11:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 11:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 11:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 11:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 11:36:03] Production.INFO: Reseller ==> 0
[2025-04-12 11:36:03] Production.INFO: Date 2025-04-09
[2025-04-12 11:36:03] Production.INFO: Reseller ==> 0
[2025-04-12 11:36:03] Production.INFO: Date 2025-04-10
[2025-04-12 11:36:03] Production.INFO: Reseller ==> 0
[2025-04-12 11:36:03] Production.INFO: ==22335== Lock acquired, processing the job...
[2025-04-12 11:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 11:36:03] Production.INFO: Date 2025-04-11
[2025-04-12 11:36:03] Production.INFO: Reseller ==> 0
[2025-04-12 11:36:03] Production.INFO: ==22337== Lock acquired, processing the job...
[2025-04-12 11:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 11:36:03] Production.INFO: Date 2025-04-12
[2025-04-12 11:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 11:36:03] Production.INFO: Reseller ==> 0
[2025-04-12 11:36:03] Production.INFO: Total Charge 0
[2025-04-12 11:36:03] Production.INFO: CreateAllLog End
[2025-04-12 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-12 11:36:03] Production.INFO: count ==12
[2025-04-12 11:36:03] Production.INFO: ==22329== Releasing lock...
[2025-04-12 11:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 11:36:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 11:36:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 11:36:03] Production.INFO: count ==23
[2025-04-12 11:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891294') start
[2025-04-12 11:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891294') end
[2025-04-12 11:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 11:36:04] Production.INFO: 1
[2025-04-12 11:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 11:36:04] Production.INFO: ==22337== Releasing lock...
[2025-04-12 11:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 11:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 11:36:04] Production.ERROR: done
[2025-04-12 11:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 11:36:04] Production.INFO: Account Balance End.
[2025-04-12 11:36:04] Production.ERROR: CronJobId end 12
[2025-04-12 11:36:04] Production.INFO: ==22333== Releasing lock...
[2025-04-12 11:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 11:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 11:36:04] Production.ERROR: done
[2025-04-12 11:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 08:36:05
[end_date_ymd] => 2025-04-12 11:36:05
[RateCDR] => 1
)
[2025-04-12 11:36:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 08:36:05' and `end` < '2025-04-12 11:36:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 11:36:11] Production.ERROR: CronJobId end10
[2025-04-12 11:36:11] Production.INFO: ==22331== Releasing lock...
[2025-04-12 11:36:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 11:36:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 11:36:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 11:36:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 11:36:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 11:36:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 11:36:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 11:36:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 11:36:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 11:36:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 11:36:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 11:36:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 11:36:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 11:36:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 11:36:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 11:36:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 11:36:14] Production.INFO: call_cost start
[2025-04-12 11:36:14] Production.INFO: call_cost end
[2025-04-12 11:36:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 11:36:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 11:36:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 11:36:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 11:36:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 11:36:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 11:36:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 11:36:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 11:36:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 11:36:15] Production.INFO: ==22327== Releasing lock...
[2025-04-12 11:36:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 11:36:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 11:36:18] Production.INFO: count ==1211
[2025-04-12 11:36:18] Production.ERROR: pbx CDR StartTime 2025-04-12 08:36:05 - End Time 2025-04-12 11:36:05
[2025-04-12 11:36:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 11:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891295', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891295', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891295', 'tblTempVendorCDR_20' ) start
[2025-04-12 11:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891295', 'tblTempVendorCDR_20' ) end
[2025-04-12 11:36:18] Production.INFO: ProcessCDR(1,14891295,1,1,2)
[2025-04-12 11:36:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891295,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:36:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891295,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:36:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891295,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:36:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891295,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:36:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891295', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:36:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891295', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:36:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 11:36:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 11:36:23] Production.INFO: ==22335== Releasing lock...
[2025-04-12 11:36:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 11:36:23] Production.INFO: 37.5 MB #Memory Used#
[2025-04-12 16:37:01] Production.INFO: ==22408== Lock acquired, processing the job...
[2025-04-12 16:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 16:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 16:37:01] Production.INFO: neon service started
[2025-04-12 16:37:01] Production.INFO: neon service started
[2025-04-12 16:37:01] Production.INFO: ==22408== Releasing lock...
[2025-04-12 16:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 16:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 15:37:02] Production.INFO: ==22412== Lock acquired, processing the job...
[2025-04-12 15:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 15:37:02] Production.INFO: ==22412== Releasing lock...
[2025-04-12 15:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 15:37:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 11:37:02] Production.INFO: ==22410== Lock acquired, processing the job...
[2025-04-12 11:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 11:37:02] Production.INFO: ==22410== Releasing lock...
[2025-04-12 11:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 11:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 11:37:03] Production.INFO: ==22415== Lock acquired, processing the job...
[2025-04-12 11:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 11:37:03] Production.INFO: ==22417== Lock acquired, processing the job...
[2025-04-12 11:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 11:37:03] Production.INFO: ==22421== Lock acquired, processing the job...
[2025-04-12 11:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 11:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 11:37:03] Production.INFO: Account Balance Start.
[2025-04-12 11:37:03] Production.INFO: CreateAllLog Start
[2025-04-12 11:37:03] Production.INFO: 117
[2025-04-12 11:37:03] Production.INFO: Date 2025-04-08
[2025-04-12 11:37:03] Production.INFO: Reseller ==> 0
[2025-04-12 11:37:03] Production.INFO: Date 2025-04-09
[2025-04-12 11:37:03] Production.INFO: Reseller ==> 0
[2025-04-12 11:37:03] Production.INFO: ==22419== Lock acquired, processing the job...
[2025-04-12 11:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 11:37:03] Production.INFO: Date 2025-04-10
[2025-04-12 11:37:03] Production.INFO: Reseller ==> 0
[2025-04-12 11:37:03] Production.INFO: ==22423== Lock acquired, processing the job...
[2025-04-12 11:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 11:37:03] Production.INFO: ==22417== Releasing lock...
[2025-04-12 11:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 11:37:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 11:37:03] Production.INFO: Date 2025-04-11
[2025-04-12 11:37:03] Production.INFO: Reseller ==> 0
[2025-04-12 11:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 11:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 11:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 11:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 11:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 11:37:03] Production.INFO: ==22425== Lock acquired, processing the job...
[2025-04-12 11:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 11:37:04] Production.INFO: Date 2025-04-12
[2025-04-12 11:37:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:37:04] Production.INFO: Total Charge 0
[2025-04-12 11:37:04] Production.INFO: CreateAllLog End
[2025-04-12 11:37:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 11:37:04] Production.INFO: count ==12
[2025-04-12 11:37:04] Production.ERROR: done
[2025-04-12 11:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 11:37:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 11:37:04] Production.INFO: count ==23
[2025-04-12 11:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891299') start
[2025-04-12 11:37:04] Production.ERROR: done
[2025-04-12 11:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891299') end
[2025-04-12 11:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 11:37:04] Production.INFO: 1
[2025-04-12 11:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 11:37:04] Production.INFO: Account Balance End.
[2025-04-12 11:37:04] Production.ERROR: CronJobId end 12
[2025-04-12 11:37:04] Production.INFO: ==22421== Releasing lock...
[2025-04-12 11:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 11:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 11:37:04] Production.INFO: ==22425== Releasing lock...
[2025-04-12 11:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 11:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 11:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 08:37:05
[end_date_ymd] => 2025-04-12 11:37:05
[RateCDR] => 1
)
[2025-04-12 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-12 08:37:05' and `end` < '2025-04-12 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-12 11:37:15] Production.ERROR: CronJobId end10
[2025-04-12 11:37:15] Production.INFO: ==22419== Releasing lock...
[2025-04-12 11:37:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 11:37:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 11:37:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 11:37:16] Production.INFO: ============== Balance Warning START===========
[2025-04-12 11:37:16] Production.INFO: ============== Balance Warning END===========
[2025-04-12 11:37:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 11:37:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 11:37:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 11:37:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 11:37:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 11:37:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 11:37:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 11:37:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 11:37:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 11:37:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 11:37:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 11:37:16] Production.INFO: call_cost start
[2025-04-12 11:37:16] Production.INFO: call_cost end
[2025-04-12 11:37:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 11:37:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 11:37:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 11:37:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 11:37:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 11:37:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 11:37:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 11:37:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 11:37:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 11:37:17] Production.INFO: ==22415== Releasing lock...
[2025-04-12 11:37:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 11:37:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 11:37:18] Production.INFO: count ==1212
[2025-04-12 11:37:18] Production.ERROR: pbx CDR StartTime 2025-04-12 08:37:05 - End Time 2025-04-12 11:37:05
[2025-04-12 11:37:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 11:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891300', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891300', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891300', 'tblTempVendorCDR_20' ) start
[2025-04-12 11:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891300', 'tblTempVendorCDR_20' ) end
[2025-04-12 11:37:18] Production.INFO: ProcessCDR(1,14891300,1,1,2)
[2025-04-12 11:37:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891300,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:37:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891300,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:37:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891300,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:37:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891300,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:37:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891300', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:37:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891300', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:37:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 11:37:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 11:37:23] Production.INFO: ==22423== Releasing lock...
[2025-04-12 11:37:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 11:37:23] Production.INFO: 37.25 MB #Memory Used#
[2025-04-12 16:38:02] Production.INFO: ==22480== Lock acquired, processing the job...
[2025-04-12 16:38:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 16:38:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 16:38:02] Production.INFO: neon service started
[2025-04-12 16:38:02] Production.INFO: neon service started
[2025-04-12 16:38:02] Production.INFO: ==22480== Releasing lock...
[2025-04-12 16:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 16:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 11:38:02] Production.INFO: ==22482== Lock acquired, processing the job...
[2025-04-12 11:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 11:38:03] Production.INFO: ==22482== Releasing lock...
[2025-04-12 11:38:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 11:38:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 15:38:03] Production.INFO: ==22484== Lock acquired, processing the job...
[2025-04-12 15:38:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 15:38:03] Production.INFO: ==22484== Releasing lock...
[2025-04-12 15:38:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 15:38:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 11:38:04] Production.INFO: ==22493== Lock acquired, processing the job...
[2025-04-12 11:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 11:38:04] Production.INFO: Account Balance Start.
[2025-04-12 11:38:04] Production.INFO: CreateAllLog Start
[2025-04-12 11:38:04] Production.INFO: 117
[2025-04-12 11:38:04] Production.INFO: Date 2025-04-08
[2025-04-12 11:38:04] Production.INFO: ==22487== Lock acquired, processing the job...
[2025-04-12 11:38:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 11:38:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:38:04] Production.INFO: Date 2025-04-09
[2025-04-12 11:38:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:38:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 11:38:04] Production.INFO: ==22489== Lock acquired, processing the job...
[2025-04-12 11:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 11:38:04] Production.INFO: Date 2025-04-10
[2025-04-12 11:38:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:38:04] Production.INFO: Date 2025-04-11
[2025-04-12 11:38:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:38:04] Production.INFO: ==22491== Lock acquired, processing the job...
[2025-04-12 11:38:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 11:38:04] Production.INFO: Date 2025-04-12
[2025-04-12 11:38:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:38:04] Production.INFO: ==22495== Lock acquired, processing the job...
[2025-04-12 11:38:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 11:38:04] Production.INFO: Total Charge 0
[2025-04-12 11:38:04] Production.INFO: ==22497== Lock acquired, processing the job...
[2025-04-12 11:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 11:38:04] Production.INFO: CreateAllLog End
[2025-04-12 11:38:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 11:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 11:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 11:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 11:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 11:38:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 11:38:04] Production.INFO: count ==12
[2025-04-12 11:38:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 11:38:04] Production.INFO: count ==23
[2025-04-12 11:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891304') start
[2025-04-12 11:38:04] Production.INFO: ==22489== Releasing lock...
[2025-04-12 11:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 11:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 11:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891304') end
[2025-04-12 11:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 11:38:04] Production.INFO: 1
[2025-04-12 11:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 11:38:04] Production.INFO: Account Balance End.
[2025-04-12 11:38:05] Production.INFO: ==22497== Releasing lock...
[2025-04-12 11:38:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 11:38:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 11:38:05] Production.ERROR: done
[2025-04-12 11:38:05] Production.ERROR: CronJobId end 12
[2025-04-12 11:38:05] Production.INFO: ==22493== Releasing lock...
[2025-04-12 11:38:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 11:38:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 11:38:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 11:38:05] Production.ERROR: done
[2025-04-12 11:38:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 08:38:06
[end_date_ymd] => 2025-04-12 11:38:06
[RateCDR] => 1
)
[2025-04-12 11:38:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 08:38:06' and `end` < '2025-04-12 11:38:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 11:38:14] Production.ERROR: CronJobId end10
[2025-04-12 11:38:14] Production.INFO: ==22491== Releasing lock...
[2025-04-12 11:38:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 11:38:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 11:38:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 11:38:16] Production.INFO: ============== Balance Warning START===========
[2025-04-12 11:38:16] Production.INFO: ============== Balance Warning END===========
[2025-04-12 11:38:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 11:38:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 11:38:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 11:38:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 11:38:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 11:38:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 11:38:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 11:38:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 11:38:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 11:38:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 11:38:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 11:38:16] Production.INFO: call_cost start
[2025-04-12 11:38:16] Production.INFO: call_cost end
[2025-04-12 11:38:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 11:38:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 11:38:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 11:38:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 11:38:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 11:38:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 11:38:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 11:38:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 11:38:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 11:38:17] Production.INFO: ==22487== Releasing lock...
[2025-04-12 11:38:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 11:38:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 11:38:19] Production.INFO: count ==1212
[2025-04-12 11:38:19] Production.ERROR: pbx CDR StartTime 2025-04-12 08:38:06 - End Time 2025-04-12 11:38:06
[2025-04-12 11:38:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 11:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891305', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891305', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891305', 'tblTempVendorCDR_20' ) start
[2025-04-12 11:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891305', 'tblTempVendorCDR_20' ) end
[2025-04-12 11:38:19] Production.INFO: ProcessCDR(1,14891305,1,1,2)
[2025-04-12 11:38:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891305,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:38:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891305,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:38:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891305,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:38:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891305,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891305', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891305', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:38:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 11:38:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 11:38:22] Production.INFO: ==22495== Releasing lock...
[2025-04-12 11:38:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 11:38:22] Production.INFO: 37.25 MB #Memory Used#
[2025-04-12 16:39:01] Production.INFO: ==22557== Lock acquired, processing the job...
[2025-04-12 16:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 16:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 16:39:01] Production.INFO: neon service started
[2025-04-12 16:39:01] Production.INFO: neon service started
[2025-04-12 16:39:01] Production.INFO: ==22557== Releasing lock...
[2025-04-12 16:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 16:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 11:39:02] Production.INFO: ==22559== Lock acquired, processing the job...
[2025-04-12 11:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 11:39:02] Production.INFO: ==22559== Releasing lock...
[2025-04-12 11:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 11:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 15:39:02] Production.INFO: ==22561== Lock acquired, processing the job...
[2025-04-12 15:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 15:39:02] Production.INFO: ==22561== Releasing lock...
[2025-04-12 15:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 15:39:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 11:39:03] Production.INFO: ==22567== Lock acquired, processing the job...
[2025-04-12 11:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 11:39:03] Production.INFO: ==22565== Lock acquired, processing the job...
[2025-04-12 11:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 11:39:03] Production.INFO: ==22571== Lock acquired, processing the job...
[2025-04-12 11:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 11:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 11:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 11:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 11:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 11:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 11:39:03] Production.INFO: ==22563== Lock acquired, processing the job...
[2025-04-12 11:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 11:39:03] Production.INFO: ==22569== Lock acquired, processing the job...
[2025-04-12 11:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 11:39:03] Production.INFO: ==22573== Lock acquired, processing the job...
[2025-04-12 11:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 11:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 11:39:03] Production.INFO: Account Balance Start.
[2025-04-12 11:39:03] Production.INFO: CreateAllLog Start
[2025-04-12 11:39:03] Production.INFO: 117
[2025-04-12 11:39:03] Production.INFO: Date 2025-04-08
[2025-04-12 11:39:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 11:39:03] Production.INFO: Reseller ==> 0
[2025-04-12 11:39:03] Production.INFO: count ==12
[2025-04-12 11:39:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 11:39:03] Production.INFO: count ==23
[2025-04-12 11:39:03] Production.INFO: Date 2025-04-09
[2025-04-12 11:39:03] Production.INFO: Reseller ==> 0
[2025-04-12 11:39:03] Production.ERROR: done
[2025-04-12 11:39:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 11:39:04] Production.INFO: Date 2025-04-10
[2025-04-12 11:39:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891308') start
[2025-04-12 11:39:04] Production.INFO: Date 2025-04-11
[2025-04-12 11:39:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:39:04] Production.INFO: Date 2025-04-12
[2025-04-12 11:39:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:39:04] Production.INFO: Total Charge 0
[2025-04-12 11:39:04] Production.INFO: CreateAllLog End
[2025-04-12 11:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891308') end
[2025-04-12 11:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 11:39:04] Production.INFO: 1
[2025-04-12 11:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 11:39:04] Production.ERROR: done
[2025-04-12 11:39:04] Production.INFO: ==22573== Releasing lock...
[2025-04-12 11:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 11:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 11:39:04] Production.INFO: ==22565== Releasing lock...
[2025-04-12 11:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 11:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 11:39:04] Production.INFO: Account Balance End.
[2025-04-12 11:39:04] Production.ERROR: CronJobId end 12
[2025-04-12 11:39:04] Production.INFO: ==22569== Releasing lock...
[2025-04-12 11:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 11:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 11:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 08:39:05
[end_date_ymd] => 2025-04-12 11:39:05
[RateCDR] => 1
)
[2025-04-12 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-12 08:39:05' and `end` < '2025-04-12 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-12 11:39:11] Production.ERROR: CronJobId end10
[2025-04-12 11:39:11] Production.INFO: ==22567== Releasing lock...
[2025-04-12 11:39:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 11:39:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 11:39:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 11:39:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 11:39:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 11:39:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 11:39:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 11:39:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 11:39:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 11:39:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 11:39:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 11:39:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 11:39:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 11:39:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 11:39:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 11:39:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 11:39:15] Production.INFO: call_cost start
[2025-04-12 11:39:15] Production.INFO: call_cost end
[2025-04-12 11:39:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 11:39:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 11:39:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 11:39:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 11:39:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 11:39:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 11:39:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 11:39:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 11:39:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 11:39:16] Production.INFO: ==22563== Releasing lock...
[2025-04-12 11:39:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 11:39:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 11:39:18] Production.INFO: count ==1215
[2025-04-12 11:39:18] Production.ERROR: pbx CDR StartTime 2025-04-12 08:39:05 - End Time 2025-04-12 11:39:05
[2025-04-12 11:39:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 11:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891310', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891310', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891310', 'tblTempVendorCDR_20' ) start
[2025-04-12 11:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891310', 'tblTempVendorCDR_20' ) end
[2025-04-12 11:39:18] Production.INFO: ProcessCDR(1,14891310,1,1,2)
[2025-04-12 11:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891310,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:39:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891310,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:39:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891310,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:39:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891310,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891310', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891310', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:39:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 11:39:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 11:39:21] Production.INFO: ==22571== Releasing lock...
[2025-04-12 11:39:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 11:39:21] Production.INFO: 37.5 MB #Memory Used#
[2025-04-12 16:40:02] Production.INFO: ==22630== Lock acquired, processing the job...
[2025-04-12 16:40:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 16:40:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 16:40:02] Production.INFO: neon service started
[2025-04-12 16:40:02] Production.INFO: neon service started
[2025-04-12 16:40:02] Production.INFO: ==22630== Releasing lock...
[2025-04-12 16:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 16:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 11:40:03] Production.INFO: ==22632== Lock acquired, processing the job...
[2025-04-12 11:40:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 15:40:03] Production.INFO: ==22634== Lock acquired, processing the job...
[2025-04-12 15:40:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 15:40:03] Production.INFO: ==22634== Releasing lock...
[2025-04-12 15:40:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 15:40:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 11:40:03] Production.INFO: ==22632== Releasing lock...
[2025-04-12 11:40:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 11:40:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 11:40:04] Production.INFO: ==22639== Lock acquired, processing the job...
[2025-04-12 11:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 11:40:04] Production.INFO: ==22637== Lock acquired, processing the job...
[2025-04-12 11:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 11:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 11:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 11:40:04] Production.ERROR: CronJob PID - 22639
[2025-04-12 11:40:04] Production.ERROR: CronJob Title - System Alerts
[2025-04-12 11:40:04] Production.ERROR: CronJob ID - 5
[2025-04-12 11:40:04] Production.ERROR: CronJob Last Run Time 2025-04-12 11:40:00
[2025-04-12 11:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 11:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 11:40:04] Production.INFO: ==22643== Lock acquired, processing the job...
[2025-04-12 11:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 11:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 11:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 11:40:04] Production.INFO: ==22637== Releasing lock...
[2025-04-12 11:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 11:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 11:40:04] Production.INFO: ==22641== Lock acquired, processing the job...
[2025-04-12 11:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 11:40:04] Production.INFO: ==22647== Lock acquired, processing the job...
[2025-04-12 11:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 11:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 11:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 11:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 11:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 11:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 11:40:04] Production.INFO: ==22645== Lock acquired, processing the job...
[2025-04-12 11:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 11:40:05] Production.INFO: ==22649== Lock acquired, processing the job...
[2025-04-12 11:40:05] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 11:40:05] Production.INFO: ==22651== Lock acquired, processing the job...
[2025-04-12 11:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 11:40:05] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 11:40:05] Production.INFO: Account Balance Start.
[2025-04-12 11:40:05] Production.INFO: CreateAllLog Start
[2025-04-12 11:40:05] Production.INFO: 117
[2025-04-12 11:40:05] Production.INFO: Date 2025-04-08
[2025-04-12 11:40:05] Production.INFO: Reseller ==> 0
[2025-04-12 11:40:05] Production.INFO: Date 2025-04-09
[2025-04-12 11:40:05] Production.INFO: Reseller ==> 0
[2025-04-12 11:40:05] Production.INFO: Date 2025-04-10
[2025-04-12 11:40:05] Production.INFO: Reseller ==> 0
[2025-04-12 11:40:05] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 11:40:05] Production.INFO: Date 2025-04-11
[2025-04-12 11:40:05] Production.INFO: Reseller ==> 0
[2025-04-12 11:40:05] Production.INFO: count ==12
[2025-04-12 11:40:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 11:40:05] Production.INFO: count ==23
[2025-04-12 11:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14891314') start
[2025-04-12 11:40:05] Production.INFO: Date 2025-04-12
[2025-04-12 11:40:05] Production.INFO: Reseller ==> 0
[2025-04-12 11:40:05] Production.INFO: ==22641== Releasing lock...
[2025-04-12 11:40:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 11:40:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 11:40:05] Production.INFO: Total Charge 0
[2025-04-12 11:40:05] Production.INFO: CreateAllLog End
[2025-04-12 11:40:05] Production.ERROR: done
[2025-04-12 11:40:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 11:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14891314') end
[2025-04-12 11:40:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 11:40:05] Production.INFO: 1
[2025-04-12 11:40:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 11:40:05] Production.ERROR: done
[2025-04-12 11:40:05] Production.INFO: ==22651== Releasing lock...
[2025-04-12 11:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 11:40:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 11:40:05] Production.INFO: Account Balance End.
[2025-04-12 11:40:05] Production.ERROR: done
[2025-04-12 11:40:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 11:40:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14891315', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 11:40:05] Production.ERROR: CronJobId end 12
[2025-04-12 11:40:05] Production.INFO: ==22645== Releasing lock...
[2025-04-12 11:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 11:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 11:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 08:40:06
[end_date_ymd] => 2025-04-12 11:40:06
[RateCDR] => 1
)
[2025-04-12 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-12 08:40:06' and `end` < '2025-04-12 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-12 11:40:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14891315', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 11:40:10] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 11:40:10] Production.INFO: ProcessCDR(1,14891315,1,1,2)
[2025-04-12 11:40:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14891315,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:40:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14891315,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:40:10] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 11:40:10] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 11:40:10] Production.INFO: ==22649== Releasing lock...
[2025-04-12 11:40:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 11:40:10] Production.INFO: 26 MB #Memory Used#
[2025-04-12 11:40:14] Production.ERROR: CronJobId end10
[2025-04-12 11:40:14] Production.INFO: ==22643== Releasing lock...
[2025-04-12 11:40:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 11:40:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 11:40:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 11:40:16] Production.INFO: ============== Balance Warning START===========
[2025-04-12 11:40:16] Production.INFO: ============== Balance Warning END===========
[2025-04-12 11:40:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 11:40:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 11:40:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 11:40:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 11:40:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 11:40:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 11:40:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 11:40:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 11:40:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 11:40:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 11:40:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 11:40:16] Production.INFO: call_cost start
[2025-04-12 11:40:16] Production.INFO: call_cost end
[2025-04-12 11:40:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 11:40:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 11:40:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 11:40:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 11:40:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 11:40:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 11:40:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 11:40:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 11:40:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 11:40:17] Production.INFO: ==22639== Releasing lock...
[2025-04-12 11:40:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 11:40:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 11:40:19] Production.INFO: count ==1222
[2025-04-12 11:40:20] Production.ERROR: pbx CDR StartTime 2025-04-12 08:40:06 - End Time 2025-04-12 11:40:06
[2025-04-12 11:40:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 11:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891316', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891316', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891316', 'tblTempVendorCDR_20' ) start
[2025-04-12 11:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891316', 'tblTempVendorCDR_20' ) end
[2025-04-12 11:40:20] Production.INFO: ProcessCDR(1,14891316,1,1,2)
[2025-04-12 11:40:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891316,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:40:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891316,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:40:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891316,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:40:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891316,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891316', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891316', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:40:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 11:40:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 11:40:23] Production.INFO: ==22647== Releasing lock...
[2025-04-12 11:40:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 11:40:23] Production.INFO: 37.75 MB #Memory Used#
[2025-04-12 16:41:01] Production.INFO: ==22714== Lock acquired, processing the job...
[2025-04-12 16:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 16:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 16:41:01] Production.INFO: neon service started
[2025-04-12 16:41:02] Production.INFO: neon service started
[2025-04-12 16:41:02] Production.INFO: ==22714== Releasing lock...
[2025-04-12 16:41:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 16:41:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 11:41:02] Production.INFO: ==22716== Lock acquired, processing the job...
[2025-04-12 11:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 15:41:02] Production.INFO: ==22718== Lock acquired, processing the job...
[2025-04-12 15:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 15:41:02] Production.INFO: ==22718== Releasing lock...
[2025-04-12 15:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 15:41:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 11:41:03] Production.INFO: ==22716== Releasing lock...
[2025-04-12 11:41:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 11:41:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 11:41:04] Production.INFO: ==22727== Lock acquired, processing the job...
[2025-04-12 11:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 11:41:04] Production.INFO: ==22729== Lock acquired, processing the job...
[2025-04-12 11:41:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 11:41:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 11:41:04] Production.INFO: Account Balance Start.
[2025-04-12 11:41:04] Production.INFO: CreateAllLog Start
[2025-04-12 11:41:04] Production.INFO: 117
[2025-04-12 11:41:04] Production.INFO: Date 2025-04-08
[2025-04-12 11:41:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:41:04] Production.INFO: ==22721== Lock acquired, processing the job...
[2025-04-12 11:41:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 11:41:04] Production.INFO: ==22723== Lock acquired, processing the job...
[2025-04-12 11:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 11:41:04] Production.INFO: Date 2025-04-09
[2025-04-12 11:41:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:41:04] Production.INFO: Date 2025-04-10
[2025-04-12 11:41:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:41:04] Production.INFO: ==22725== Lock acquired, processing the job...
[2025-04-12 11:41:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 11:41:04] Production.INFO: Date 2025-04-11
[2025-04-12 11:41:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:41:04] Production.INFO: ==22731== Lock acquired, processing the job...
[2025-04-12 11:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 11:41:04] Production.INFO: Date 2025-04-12
[2025-04-12 11:41:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:41:04] Production.ERROR: done
[2025-04-12 11:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 11:41:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 11:41:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 11:41:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 11:41:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 11:41:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 11:41:04] Production.INFO: Total Charge 0
[2025-04-12 11:41:04] Production.INFO: CreateAllLog End
[2025-04-12 11:41:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 11:41:04] Production.ERROR: done
[2025-04-12 11:41:04] Production.INFO: count ==12
[2025-04-12 11:41:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 11:41:04] Production.INFO: count ==23
[2025-04-12 11:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891320') start
[2025-04-12 11:41:04] Production.INFO: Account Balance End.
[2025-04-12 11:41:04] Production.ERROR: CronJobId end 12
[2025-04-12 11:41:04] Production.INFO: ==22727== Releasing lock...
[2025-04-12 11:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 11:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 11:41:04] Production.INFO: ==22723== Releasing lock...
[2025-04-12 11:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 11:41:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 11:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891320') end
[2025-04-12 11:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 11:41:04] Production.INFO: 1
[2025-04-12 11:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 11:41:04] Production.INFO: ==22731== Releasing lock...
[2025-04-12 11:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 11:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 11:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 08:41:05
[end_date_ymd] => 2025-04-12 11:41:05
[RateCDR] => 1
)
[2025-04-12 11:41:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 08:41:05' and `end` < '2025-04-12 11:41:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 11:41:12] Production.ERROR: CronJobId end10
[2025-04-12 11:41:12] Production.INFO: ==22725== Releasing lock...
[2025-04-12 11:41:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 11:41:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 11:41:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 11:41:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 11:41:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 11:41:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 11:41:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 11:41:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 11:41:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 11:41:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 11:41:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 11:41:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 11:41:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 11:41:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 11:41:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 11:41:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 11:41:15] Production.INFO: call_cost start
[2025-04-12 11:41:15] Production.INFO: call_cost end
[2025-04-12 11:41:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 11:41:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 11:41:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 11:41:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 11:41:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 11:41:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 11:41:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 11:41:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 11:41:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 11:41:16] Production.INFO: ==22721== Releasing lock...
[2025-04-12 11:41:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 11:41:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 11:41:18] Production.INFO: count ==1254
[2025-04-12 11:41:19] Production.ERROR: pbx CDR StartTime 2025-04-12 08:41:05 - End Time 2025-04-12 11:41:05
[2025-04-12 11:41:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 11:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891321', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891321', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891321', 'tblTempVendorCDR_20' ) start
[2025-04-12 11:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891321', 'tblTempVendorCDR_20' ) end
[2025-04-12 11:41:19] Production.INFO: ProcessCDR(1,14891321,1,1,2)
[2025-04-12 11:41:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891321,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:41:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891321,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:41:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891321,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:41:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891321,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:41:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891321', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:41:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891321', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:41:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 11:41:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 11:41:24] Production.INFO: ==22729== Releasing lock...
[2025-04-12 11:41:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 11:41:24] Production.INFO: 37.5 MB #Memory Used#
[2025-04-12 16:42:01] Production.INFO: ==22791== Lock acquired, processing the job...
[2025-04-12 16:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 16:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 16:42:01] Production.INFO: neon service started
[2025-04-12 16:42:01] Production.INFO: neon service started
[2025-04-12 16:42:01] Production.INFO: ==22791== Releasing lock...
[2025-04-12 16:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 16:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 11:42:01] Production.INFO: ==22793== Lock acquired, processing the job...
[2025-04-12 11:42:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 11:42:02] Production.INFO: ==22793== Releasing lock...
[2025-04-12 11:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 11:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 15:42:02] Production.INFO: ==22795== Lock acquired, processing the job...
[2025-04-12 15:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 15:42:02] Production.INFO: ==22795== Releasing lock...
[2025-04-12 15:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 15:42:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 11:42:03] Production.INFO: ==22804== Lock acquired, processing the job...
[2025-04-12 11:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 11:42:03] Production.INFO: ==22808== Lock acquired, processing the job...
[2025-04-12 11:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 11:42:03] Production.INFO: ==22797== Lock acquired, processing the job...
[2025-04-12 11:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 11:42:03] Production.INFO: ==22799== Lock acquired, processing the job...
[2025-04-12 11:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 11:42:03] Production.INFO: Account Balance Start.
[2025-04-12 11:42:03] Production.INFO: CreateAllLog Start
[2025-04-12 11:42:03] Production.INFO: 117
[2025-04-12 11:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 11:42:03] Production.INFO: Date 2025-04-08
[2025-04-12 11:42:03] Production.INFO: ==22806== Lock acquired, processing the job...
[2025-04-12 11:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 11:42:03] Production.INFO: ==22802== Lock acquired, processing the job...
[2025-04-12 11:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 11:42:03] Production.INFO: Reseller ==> 0
[2025-04-12 11:42:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 11:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 11:42:03] Production.INFO: count ==12
[2025-04-12 11:42:03] Production.INFO: Date 2025-04-09
[2025-04-12 11:42:03] Production.INFO: Reseller ==> 0
[2025-04-12 11:42:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 11:42:03] Production.INFO: count ==23
[2025-04-12 11:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891323') start
[2025-04-12 11:42:03] Production.INFO: Date 2025-04-10
[2025-04-12 11:42:03] Production.INFO: Reseller ==> 0
[2025-04-12 11:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 11:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 11:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 11:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 11:42:03] Production.INFO: Date 2025-04-11
[2025-04-12 11:42:03] Production.INFO: Reseller ==> 0
[2025-04-12 11:42:03] Production.INFO: Date 2025-04-12
[2025-04-12 11:42:03] Production.INFO: Reseller ==> 0
[2025-04-12 11:42:03] Production.INFO: Total Charge 0
[2025-04-12 11:42:03] Production.INFO: CreateAllLog End
[2025-04-12 11:42:03] Production.INFO: ==22799== Releasing lock...
[2025-04-12 11:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 11:42:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 11:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891323') end
[2025-04-12 11:42:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 11:42:03] Production.INFO: 1
[2025-04-12 11:42:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 11:42:03] Production.INFO: ==22808== Releasing lock...
[2025-04-12 11:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 11:42:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 11:42:03] Production.ERROR: done
[2025-04-12 11:42:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 11:42:04] Production.INFO: Account Balance End.
[2025-04-12 11:42:04] Production.ERROR: done
[2025-04-12 11:42:04] Production.ERROR: CronJobId end 12
[2025-04-12 11:42:04] Production.INFO: ==22804== Releasing lock...
[2025-04-12 11:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 11:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 11:42:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 08:42:04
[end_date_ymd] => 2025-04-12 11:42:04
[RateCDR] => 1
)
[2025-04-12 11: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-12 08:42:04' and `end` < '2025-04-12 11: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-12 11:42:10] Production.ERROR: CronJobId end10
[2025-04-12 11:42:10] Production.INFO: ==22802== Releasing lock...
[2025-04-12 11:42:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 11:42:10] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 11:42:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 11:42:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 11:42:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 11:42:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 11:42:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 11:42:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 11:42:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 11:42:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 11:42:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 11:42:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 11:42:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 11:42:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 11:42:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 11:42:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 11:42:14] Production.INFO: call_cost start
[2025-04-12 11:42:14] Production.INFO: call_cost end
[2025-04-12 11:42:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 11:42:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 11:42:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 11:42:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 11:42:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 11:42:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 11:42:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 11:42:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 11:42:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 11:42:15] Production.INFO: ==22797== Releasing lock...
[2025-04-12 11:42:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 11:42:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 11:42:17] Production.INFO: count ==1257
[2025-04-12 11:42:18] Production.ERROR: pbx CDR StartTime 2025-04-12 08:42:04 - End Time 2025-04-12 11:42:04
[2025-04-12 11:42:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 11:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891326', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891326', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891326', 'tblTempVendorCDR_20' ) start
[2025-04-12 11:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891326', 'tblTempVendorCDR_20' ) end
[2025-04-12 11:42:18] Production.INFO: ProcessCDR(1,14891326,1,1,2)
[2025-04-12 11:42:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891326,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:42:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891326,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:42:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891326,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:42:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891326,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891326', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891326', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:42:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 11:42:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 11:42:21] Production.INFO: ==22806== Releasing lock...
[2025-04-12 11:42:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 11:42:21] Production.INFO: 38 MB #Memory Used#
[2025-04-12 16:43:01] Production.INFO: ==22867== Lock acquired, processing the job...
[2025-04-12 16:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 16:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 16:43:01] Production.INFO: neon service started
[2025-04-12 16:43:01] Production.INFO: neon service started
[2025-04-12 16:43:01] Production.INFO: ==22867== Releasing lock...
[2025-04-12 16:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 16:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 15:43:02] Production.INFO: ==22871== Lock acquired, processing the job...
[2025-04-12 15:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 15:43:02] Production.INFO: ==22871== Releasing lock...
[2025-04-12 15:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 15:43:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 11:43:02] Production.INFO: ==22869== Lock acquired, processing the job...
[2025-04-12 11:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 11:43:02] Production.INFO: ==22869== Releasing lock...
[2025-04-12 11:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 11:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 11:43:03] Production.INFO: ==22880== Lock acquired, processing the job...
[2025-04-12 11:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 11:43:03] Production.INFO: Account Balance Start.
[2025-04-12 11:43:03] Production.INFO: CreateAllLog Start
[2025-04-12 11:43:03] Production.INFO: 117
[2025-04-12 11:43:03] Production.INFO: Date 2025-04-08
[2025-04-12 11:43:03] Production.INFO: Reseller ==> 0
[2025-04-12 11:43:03] Production.INFO: ==22874== Lock acquired, processing the job...
[2025-04-12 11:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 11:43:03] Production.INFO: ==22884== Lock acquired, processing the job...
[2025-04-12 11:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 11:43:03] Production.INFO: Date 2025-04-09
[2025-04-12 11:43:03] Production.INFO: Reseller ==> 0
[2025-04-12 11:43:03] Production.INFO: Date 2025-04-10
[2025-04-12 11:43:03] Production.INFO: Reseller ==> 0
[2025-04-12 11:43:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 11:43:04] Production.INFO: ==22876== Lock acquired, processing the job...
[2025-04-12 11:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 11: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-12 11:43:04] Production.INFO: Date 2025-04-11
[2025-04-12 11:43:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:43:04] Production.INFO: ==22878== Lock acquired, processing the job...
[2025-04-12 11:43:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 11:43:04] Production.INFO: ==22882== Lock acquired, processing the job...
[2025-04-12 11:43:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 11:43:04] Production.INFO: count ==12
[2025-04-12 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-12 11:43:04] Production.INFO: count ==23
[2025-04-12 11:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891328') start
[2025-04-12 11:43:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 11:43:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 11:43:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 11:43:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 11:43:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 11:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891328') end
[2025-04-12 11:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 11:43:04] Production.INFO: 1
[2025-04-12 11:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 11:43:04] Production.INFO: Date 2025-04-12
[2025-04-12 11:43:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:43:04] Production.INFO: Total Charge 0
[2025-04-12 11:43:04] Production.INFO: CreateAllLog End
[2025-04-12 11:43:04] Production.INFO: ==22884== Releasing lock...
[2025-04-12 11:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 11:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 11:43:04] Production.INFO: ==22876== Releasing lock...
[2025-04-12 11:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 11:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 11:43:04] Production.ERROR: done
[2025-04-12 11:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 11:43:04] Production.INFO: Account Balance End.
[2025-04-12 11:43:04] Production.ERROR: CronJobId end 12
[2025-04-12 11:43:04] Production.INFO: ==22880== Releasing lock...
[2025-04-12 11:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 11:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 11:43:04] Production.ERROR: done
[2025-04-12 11:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 08:43:05
[end_date_ymd] => 2025-04-12 11:43:05
[RateCDR] => 1
)
[2025-04-12 11:43:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 08:43:05' and `end` < '2025-04-12 11:43:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 11:43:13] Production.ERROR: CronJobId end10
[2025-04-12 11:43:13] Production.INFO: ==22878== Releasing lock...
[2025-04-12 11:43:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 11:43:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 11:43:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 11:43:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 11:43:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 11:43:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 11:43:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 11:43:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 11:43:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 11:43:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 11:43:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 11:43:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 11:43:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 11:43:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 11:43:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 11:43:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 11:43:15] Production.INFO: call_cost start
[2025-04-12 11:43:15] Production.INFO: call_cost end
[2025-04-12 11:43:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 11:43:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 11:43:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 11:43:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 11:43:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 11:43:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 11:43:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 11:43:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 11:43:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 11:43:16] Production.INFO: ==22874== Releasing lock...
[2025-04-12 11:43:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 11:43:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 11:43:18] Production.INFO: count ==1257
[2025-04-12 11:43:19] Production.ERROR: pbx CDR StartTime 2025-04-12 08:43:05 - End Time 2025-04-12 11:43:05
[2025-04-12 11:43:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 11:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891331', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891331', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891331', 'tblTempVendorCDR_20' ) start
[2025-04-12 11:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891331', 'tblTempVendorCDR_20' ) end
[2025-04-12 11:43:19] Production.INFO: ProcessCDR(1,14891331,1,1,2)
[2025-04-12 11:43:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891331,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:43:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891331,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:43:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891331,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:43:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891331,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:43:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891331', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:43:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891331', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:43:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 11:43:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 11:43:24] Production.INFO: ==22882== Releasing lock...
[2025-04-12 11:43:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 11:43:24] Production.INFO: 37.5 MB #Memory Used#
[2025-04-12 16:44:02] Production.INFO: ==22979== Lock acquired, processing the job...
[2025-04-12 16:44:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 16:44:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 16:44:02] Production.INFO: neon service started
[2025-04-12 16:44:02] Production.INFO: neon service started
[2025-04-12 16:44:02] Production.INFO: ==22979== Releasing lock...
[2025-04-12 16:44:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 16:44:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 11:44:02] Production.INFO: ==22981== Lock acquired, processing the job...
[2025-04-12 11:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 15:44:02] Production.INFO: ==22983== Lock acquired, processing the job...
[2025-04-12 15:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 15:44:03] Production.INFO: ==22983== Releasing lock...
[2025-04-12 15:44:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 15:44:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 11:44:03] Production.INFO: ==22981== Releasing lock...
[2025-04-12 11:44:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 11:44:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 11:44:04] Production.INFO: ==22986== Lock acquired, processing the job...
[2025-04-12 11:44:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 11:44:04] Production.INFO: ==22988== Lock acquired, processing the job...
[2025-04-12 11:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 11:44:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 11:44:04] Production.INFO: ==22990== Lock acquired, processing the job...
[2025-04-12 11:44:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 11:44:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 11:44:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 11:44:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 11:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 11:44:04] Production.INFO: ==22992== Lock acquired, processing the job...
[2025-04-12 11:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 11:44:04] Production.INFO: ==22996== Lock acquired, processing the job...
[2025-04-12 11:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 11:44:04] Production.INFO: Account Balance Start.
[2025-04-12 11:44:04] Production.INFO: CreateAllLog Start
[2025-04-12 11:44:04] Production.INFO: 117
[2025-04-12 11:44:04] Production.INFO: Date 2025-04-08
[2025-04-12 11:44:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:44:04] Production.INFO: Date 2025-04-09
[2025-04-12 11:44:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:44:04] Production.INFO: ==22994== Lock acquired, processing the job...
[2025-04-12 11:44:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 11:44:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 11:44:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 11:44:04] Production.INFO: ==22988== Releasing lock...
[2025-04-12 11:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 11:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 11:44:04] Production.INFO: count ==12
[2025-04-12 11:44:04] Production.INFO: Date 2025-04-10
[2025-04-12 11:44:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 11:44:04] Production.INFO: count ==23
[2025-04-12 11:44:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891335') start
[2025-04-12 11:44:04] Production.INFO: Date 2025-04-11
[2025-04-12 11:44:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891335') end
[2025-04-12 11:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 11:44:04] Production.INFO: 1
[2025-04-12 11:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 11:44:04] Production.INFO: Date 2025-04-12
[2025-04-12 11:44:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:44:04] Production.INFO: Total Charge 0
[2025-04-12 11:44:04] Production.INFO: CreateAllLog End
[2025-04-12 11:44:04] Production.INFO: ==22996== Releasing lock...
[2025-04-12 11:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 11:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 11:44:04] Production.ERROR: done
[2025-04-12 11:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 11:44:05] Production.ERROR: done
[2025-04-12 11:44:05] Production.INFO: Account Balance End.
[2025-04-12 11:44:05] Production.ERROR: CronJobId end 12
[2025-04-12 11:44:05] Production.INFO: ==22992== Releasing lock...
[2025-04-12 11:44:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 11:44:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 11:44:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 08:44:06
[end_date_ymd] => 2025-04-12 11:44:06
[RateCDR] => 1
)
[2025-04-12 11: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-12 08:44:06' and `end` < '2025-04-12 11: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-12 11:44:12] Production.ERROR: CronJobId end10
[2025-04-12 11:44:12] Production.INFO: ==22990== Releasing lock...
[2025-04-12 11:44:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 11:44:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 11:44:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 11:44:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 11:44:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 11:44:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 11:44:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 11:44:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 11:44:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 11:44:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 11:44:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 11:44:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 11:44:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 11:44:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 11:44:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 11:44:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 11:44:15] Production.INFO: call_cost start
[2025-04-12 11:44:15] Production.INFO: call_cost end
[2025-04-12 11:44:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 11:44:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 11:44:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 11:44:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 11:44:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 11:44:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 11:44:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 11:44:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 11:44:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 11:44:16] Production.INFO: ==22986== Releasing lock...
[2025-04-12 11:44:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 11:44:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 11:44:19] Production.INFO: count ==1259
[2025-04-12 11:44:19] Production.ERROR: pbx CDR StartTime 2025-04-12 08:44:06 - End Time 2025-04-12 11:44:06
[2025-04-12 11:44:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 11:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891336', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891336', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891336', 'tblTempVendorCDR_20' ) start
[2025-04-12 11:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891336', 'tblTempVendorCDR_20' ) end
[2025-04-12 11:44:19] Production.INFO: ProcessCDR(1,14891336,1,1,2)
[2025-04-12 11:44:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891336,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:44:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891336,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:44:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891336,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:44:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891336,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:44:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891336', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:44:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891336', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:44:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 11:44:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 11:44:24] Production.INFO: ==22994== Releasing lock...
[2025-04-12 11:44:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 11:44:24] Production.INFO: 38 MB #Memory Used#
[2025-04-12 16:45:01] Production.INFO: ==23054== Lock acquired, processing the job...
[2025-04-12 16:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 16:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 16:45:01] Production.INFO: neon service started
[2025-04-12 16:45:01] Production.INFO: neon service started
[2025-04-12 16:45:01] Production.INFO: ==23054== Releasing lock...
[2025-04-12 16:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 16:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 11:45:02] Production.INFO: ==23056== Lock acquired, processing the job...
[2025-04-12 11:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 15:45:02] Production.INFO: ==23058== Lock acquired, processing the job...
[2025-04-12 15:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 15:45:02] Production.INFO: ==23058== Releasing lock...
[2025-04-12 15:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 15:45:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 11:45:02] Production.INFO: ==23056== Releasing lock...
[2025-04-12 11:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 11:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 11:45:03] Production.INFO: ==23061== Lock acquired, processing the job...
[2025-04-12 11:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 11:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 11:45:03] Production.INFO: ==23063== Lock acquired, processing the job...
[2025-04-12 11:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 11:45:03] Production.INFO: ==23065== Lock acquired, processing the job...
[2025-04-12 11:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 11:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 11:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 11:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 11:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 11:45:03] Production.INFO: ==23069== Lock acquired, processing the job...
[2025-04-12 11:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 11:45:03] Production.INFO: ==23067== Lock acquired, processing the job...
[2025-04-12 11:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 11:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 11:45:03] Production.INFO: ==23063== Releasing lock...
[2025-04-12 11:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 11:45:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 11:45:03] Production.INFO: ==23071== Lock acquired, processing the job...
[2025-04-12 11:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 11:45:04] Production.INFO: Account Balance Start.
[2025-04-12 11:45:04] Production.INFO: CreateAllLog Start
[2025-04-12 11:45:04] Production.INFO: 117
[2025-04-12 11:45:04] Production.INFO: Date 2025-04-08
[2025-04-12 11:45:04] Production.INFO: Reseller ==> 0
[2025-04-12 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-12 11:45:04] Production.INFO: Date 2025-04-09
[2025-04-12 11:45:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:45:04] Production.INFO: count ==12
[2025-04-12 11:45:04] Production.ERROR: done
[2025-04-12 11:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 11:45:04] Production.INFO: Date 2025-04-10
[2025-04-12 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-12 11:45:04] Production.INFO: count ==23
[2025-04-12 11:45:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891340') start
[2025-04-12 11:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891340') end
[2025-04-12 11:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 11:45:04] Production.INFO: 1
[2025-04-12 11:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 11:45:04] Production.ERROR: done
[2025-04-12 11:45:04] Production.INFO: ==23071== Releasing lock...
[2025-04-12 11:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 11:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 11:45:04] Production.INFO: Date 2025-04-11
[2025-04-12 11:45:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:45:04] Production.INFO: Date 2025-04-12
[2025-04-12 11:45:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:45:04] Production.INFO: Total Charge 0
[2025-04-12 11:45:04] Production.INFO: CreateAllLog End
[2025-04-12 11:45:04] Production.INFO: Account Balance End.
[2025-04-12 11:45:04] Production.ERROR: CronJobId end 12
[2025-04-12 11:45:04] Production.INFO: ==23067== Releasing lock...
[2025-04-12 11:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 11:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 11:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 08:45:05
[end_date_ymd] => 2025-04-12 11:45:05
[RateCDR] => 1
)
[2025-04-12 11:45:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 08:45:05' and `end` < '2025-04-12 11:45:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 11:45:12] Production.ERROR: CronJobId end10
[2025-04-12 11:45:12] Production.INFO: ==23065== Releasing lock...
[2025-04-12 11:45:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 11:45:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 11:45:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 11:45:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 11:45:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 11:45:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 11:45:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 11:45:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 11:45:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 11:45:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 11:45:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 11:45:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 11:45:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 11:45:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 11:45:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 11:45:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 11:45:15] Production.INFO: call_cost start
[2025-04-12 11:45:15] Production.INFO: call_cost end
[2025-04-12 11:45:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 11:45:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 11:45:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 11:45:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 11:45:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 11:45:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 11:45:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 11:45:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 11:45:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 11:45:16] Production.INFO: ==23061== Releasing lock...
[2025-04-12 11:45:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 11:45:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 11:45:18] Production.INFO: count ==1272
[2025-04-12 11:45:18] Production.ERROR: pbx CDR StartTime 2025-04-12 08:45:05 - End Time 2025-04-12 11:45:05
[2025-04-12 11:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 11:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891341', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891341', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891341', 'tblTempVendorCDR_20' ) start
[2025-04-12 11:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891341', 'tblTempVendorCDR_20' ) end
[2025-04-12 11:45:18] Production.INFO: ProcessCDR(1,14891341,1,1,2)
[2025-04-12 11:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891341,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:45:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891341,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:45:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891341,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:45:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891341,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:45:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891341', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:45:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891341', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:45:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 11:45:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 11:45:23] Production.INFO: ==23069== Releasing lock...
[2025-04-12 11:45:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 11:45:23] Production.INFO: 37.25 MB #Memory Used#
[2025-04-12 16:46:02] Production.INFO: ==23129== Lock acquired, processing the job...
[2025-04-12 16:46:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 16:46:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 16:46:02] Production.INFO: neon service started
[2025-04-12 16:46:02] Production.INFO: neon service started
[2025-04-12 16:46:02] Production.INFO: ==23129== Releasing lock...
[2025-04-12 16:46:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 16:46:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 11:46:03] Production.INFO: ==23131== Lock acquired, processing the job...
[2025-04-12 11:46:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 15:46:03] Production.INFO: ==23133== Lock acquired, processing the job...
[2025-04-12 15:46:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 15:46:03] Production.INFO: ==23133== Releasing lock...
[2025-04-12 15:46:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 15:46:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 11:46:03] Production.INFO: ==23131== Releasing lock...
[2025-04-12 11:46:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 11:46:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 11:46:04] Production.INFO: ==23138== Lock acquired, processing the job...
[2025-04-12 11:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 11:46:04] Production.INFO: ==23136== Lock acquired, processing the job...
[2025-04-12 11:46:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 11:46:04] Production.INFO: ==23144== Lock acquired, processing the job...
[2025-04-12 11:46:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 11:46:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 11:46:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 11:46:04] Production.INFO: ==23142== Lock acquired, processing the job...
[2025-04-12 11:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 11:46:04] Production.INFO: ==23140== Lock acquired, processing the job...
[2025-04-12 11:46:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 11:46:04] Production.INFO: ==23146== Lock acquired, processing the job...
[2025-04-12 11:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 11:46:04] Production.INFO: ==23138== Releasing lock...
[2025-04-12 11:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 11:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 11:46:04] Production.INFO: Account Balance Start.
[2025-04-12 11:46:04] Production.INFO: CreateAllLog Start
[2025-04-12 11:46:04] Production.INFO: 117
[2025-04-12 11:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 11:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 11:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 11:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 11:46:04] Production.INFO: Date 2025-04-08
[2025-04-12 11:46:04] Production.INFO: Reseller ==> 0
[2025-04-12 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-12 11:46:04] Production.INFO: Date 2025-04-09
[2025-04-12 11:46:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:46:04] Production.INFO: count ==12
[2025-04-12 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-12 11:46:04] Production.INFO: Date 2025-04-10
[2025-04-12 11:46:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:46:04] Production.ERROR: done
[2025-04-12 11:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 11:46:04] Production.INFO: count ==23
[2025-04-12 11:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891345') start
[2025-04-12 11:46:04] Production.INFO: Date 2025-04-11
[2025-04-12 11:46:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:46:04] Production.INFO: Date 2025-04-12
[2025-04-12 11:46:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:46:04] Production.INFO: Total Charge 0
[2025-04-12 11:46:04] Production.INFO: CreateAllLog End
[2025-04-12 11:46:04] Production.ERROR: done
[2025-04-12 11:46:05] Production.ERROR: PBX CALL prc_importPBXExtension('14891345') end
[2025-04-12 11:46:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 11:46:05] Production.INFO: 1
[2025-04-12 11:46:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 11:46:05] Production.INFO: ==23146== Releasing lock...
[2025-04-12 11:46:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 11:46:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 11:46:05] Production.INFO: Account Balance End.
[2025-04-12 11:46:05] Production.ERROR: CronJobId end 12
[2025-04-12 11:46:05] Production.INFO: ==23142== Releasing lock...
[2025-04-12 11:46:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 11:46:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 11:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 08:46:05
[end_date_ymd] => 2025-04-12 11:46:05
[RateCDR] => 1
)
[2025-04-12 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-12 08:46:05' and `end` < '2025-04-12 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-12 11:46:12] Production.ERROR: CronJobId end10
[2025-04-12 11:46:12] Production.INFO: ==23140== Releasing lock...
[2025-04-12 11:46:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 11:46:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 11:46:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 11:46:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 11:46:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 11:46:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 11:46:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 11:46:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 11:46:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 11:46:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 11:46:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 11:46:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 11:46:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 11:46:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 11:46:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 11:46:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 11:46:15] Production.INFO: call_cost start
[2025-04-12 11:46:15] Production.INFO: call_cost end
[2025-04-12 11:46:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 11:46:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 11:46:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 11:46:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 11:46:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 11:46:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 11:46:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 11:46:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 11:46:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 11:46:16] Production.INFO: ==23136== Releasing lock...
[2025-04-12 11:46:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 11:46:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 11:46:18] Production.INFO: count ==1276
[2025-04-12 11:46:19] Production.ERROR: pbx CDR StartTime 2025-04-12 08:46:05 - End Time 2025-04-12 11:46:05
[2025-04-12 11:46:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 11:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891346', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891346', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891346', 'tblTempVendorCDR_20' ) start
[2025-04-12 11:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891346', 'tblTempVendorCDR_20' ) end
[2025-04-12 11:46:19] Production.INFO: ProcessCDR(1,14891346,1,1,2)
[2025-04-12 11:46:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891346,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:46:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891346,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:46:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891346,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:46:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891346,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891346', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891346', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:46:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 11:46:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 11:46:22] Production.INFO: ==23144== Releasing lock...
[2025-04-12 11:46:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 11:46:22] Production.INFO: 37.5 MB #Memory Used#
[2025-04-12 16:47:01] Production.INFO: ==23213== Lock acquired, processing the job...
[2025-04-12 16:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 16:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 16:47:01] Production.INFO: neon service started
[2025-04-12 16:47:01] Production.INFO: neon service started
[2025-04-12 16:47:01] Production.INFO: ==23213== Releasing lock...
[2025-04-12 16:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 16:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 11:47:02] Production.INFO: ==23215== Lock acquired, processing the job...
[2025-04-12 11:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 11:47:02] Production.INFO: ==23215== Releasing lock...
[2025-04-12 11:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 11:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 15:47:02] Production.INFO: ==23217== Lock acquired, processing the job...
[2025-04-12 15:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 15:47:02] Production.INFO: ==23217== Releasing lock...
[2025-04-12 15:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 15:47:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 11:47:03] Production.INFO: ==23223== Lock acquired, processing the job...
[2025-04-12 11:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 11:47:03] Production.INFO: ==23229== Lock acquired, processing the job...
[2025-04-12 11:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 11:47:03] Production.INFO: ==23221== Lock acquired, processing the job...
[2025-04-12 11:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 11:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 11:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 11:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 11:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 11:47:03] Production.INFO: ==23219== Lock acquired, processing the job...
[2025-04-12 11:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 11:47:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 11:47:03] Production.INFO: count ==12
[2025-04-12 11:47:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 11:47:03] Production.INFO: ==23227== Lock acquired, processing the job...
[2025-04-12 11:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 11:47:03] Production.INFO: count ==23
[2025-04-12 11:47:03] Production.INFO: ==23225== Lock acquired, processing the job...
[2025-04-12 11:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 11:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891347') start
[2025-04-12 11:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 11:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 11:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891347') end
[2025-04-12 11:47:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 11:47:03] Production.INFO: 1
[2025-04-12 11:47:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 11:47:03] Production.INFO: Account Balance Start.
[2025-04-12 11:47:03] Production.INFO: CreateAllLog Start
[2025-04-12 11:47:03] Production.INFO: 117
[2025-04-12 11:47:03] Production.INFO: ==23229== Releasing lock...
[2025-04-12 11:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 11:47:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 11:47:03] Production.INFO: Date 2025-04-08
[2025-04-12 11:47:03] Production.INFO: Reseller ==> 0
[2025-04-12 11:47:03] Production.INFO: ==23221== Releasing lock...
[2025-04-12 11:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 11:47:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 11:47:04] Production.ERROR: done
[2025-04-12 11:47:04] Production.INFO: Date 2025-04-09
[2025-04-12 11:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 11:47:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:47:04] Production.INFO: Date 2025-04-10
[2025-04-12 11:47:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:47:04] Production.INFO: Date 2025-04-11
[2025-04-12 11:47:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:47:04] Production.ERROR: done
[2025-04-12 11:47:04] Production.INFO: Date 2025-04-12
[2025-04-12 11:47:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:47:04] Production.INFO: Total Charge 0
[2025-04-12 11:47:04] Production.INFO: CreateAllLog End
[2025-04-12 11:47:04] Production.INFO: Account Balance End.
[2025-04-12 11:47:04] Production.ERROR: CronJobId end 12
[2025-04-12 11:47:04] Production.INFO: ==23225== Releasing lock...
[2025-04-12 11:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 11:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 11:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 08:47:05
[end_date_ymd] => 2025-04-12 11:47:05
[RateCDR] => 1
)
[2025-04-12 11:47:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 08:47:05' and `end` < '2025-04-12 11:47:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 11:47:12] Production.ERROR: CronJobId end10
[2025-04-12 11:47:12] Production.INFO: ==23223== Releasing lock...
[2025-04-12 11:47:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 11:47:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 11:47:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 11:47:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 11:47:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 11:47:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 11:47:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 11:47:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 11:47:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 11:47:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 11:47:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 11:47:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 11:47:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 11:47:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 11:47:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 11:47:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 11:47:14] Production.INFO: call_cost start
[2025-04-12 11:47:14] Production.INFO: call_cost end
[2025-04-12 11:47:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 11:47:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 11:47:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 11:47:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 11:47:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 11:47:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 11:47:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 11:47:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 11:47:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 11:47:15] Production.INFO: ==23219== Releasing lock...
[2025-04-12 11:47:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 11:47:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 11:47:18] Production.INFO: count ==1274
[2025-04-12 11:47:18] Production.ERROR: pbx CDR StartTime 2025-04-12 08:47:05 - End Time 2025-04-12 11:47:05
[2025-04-12 11:47:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 11:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891351', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891351', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891351', 'tblTempVendorCDR_20' ) start
[2025-04-12 11:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891351', 'tblTempVendorCDR_20' ) end
[2025-04-12 11:47:18] Production.INFO: ProcessCDR(1,14891351,1,1,2)
[2025-04-12 11:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891351,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:47:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891351,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:47:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891351,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:47:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891351,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891351', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891351', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:47:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 11:47:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 11:47:22] Production.INFO: ==23227== Releasing lock...
[2025-04-12 11:47:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 11:47:22] Production.INFO: 37.75 MB #Memory Used#
[2025-04-12 16:48:02] Production.INFO: ==23291== Lock acquired, processing the job...
[2025-04-12 16:48:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 16:48:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 16:48:02] Production.INFO: neon service started
[2025-04-12 16:48:02] Production.INFO: neon service started
[2025-04-12 16:48:02] Production.INFO: ==23291== Releasing lock...
[2025-04-12 16:48:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 16:48:02] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 15:48:02] Production.INFO: ==23295== Lock acquired, processing the job...
[2025-04-12 15:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 15:48:02] Production.INFO: ==23295== Releasing lock...
[2025-04-12 15:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 15:48:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 11:48:02] Production.INFO: ==23293== Lock acquired, processing the job...
[2025-04-12 11:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 11:48:03] Production.INFO: ==23293== Releasing lock...
[2025-04-12 11:48:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 11:48:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 11:48:04] Production.INFO: ==23306== Lock acquired, processing the job...
[2025-04-12 11:48:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 11:48:04] Production.INFO: ==23304== Lock acquired, processing the job...
[2025-04-12 11:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 11:48:04] Production.INFO: ==23297== Lock acquired, processing the job...
[2025-04-12 11:48:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 11:48:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 11:48:04] Production.INFO: ==23299== Lock acquired, processing the job...
[2025-04-12 11:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 11:48:04] Production.INFO: Account Balance Start.
[2025-04-12 11:48:04] Production.INFO: CreateAllLog Start
[2025-04-12 11:48:04] Production.INFO: 117
[2025-04-12 11:48:04] Production.INFO: Date 2025-04-08
[2025-04-12 11:48:04] Production.INFO: ==23302== Lock acquired, processing the job...
[2025-04-12 11:48:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 11:48:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:48:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 11:48:04] Production.INFO: ==23308== Lock acquired, processing the job...
[2025-04-12 11:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 11:48:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 11:48:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 11:48:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 11:48:04] Production.INFO: Date 2025-04-09
[2025-04-12 11:48:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:48:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 11:48:04] Production.INFO: Date 2025-04-10
[2025-04-12 11:48:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:48:04] Production.INFO: Date 2025-04-11
[2025-04-12 11:48:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:48:04] Production.INFO: Date 2025-04-12
[2025-04-12 11:48:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:48:04] Production.INFO: Total Charge 0
[2025-04-12 11:48:04] Production.ERROR: done
[2025-04-12 11:48:04] Production.INFO: CreateAllLog End
[2025-04-12 11:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 11:48:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 11:48:04] Production.INFO: count ==12
[2025-04-12 11:48:04] Production.INFO: ==23299== Releasing lock...
[2025-04-12 11:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 11:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 11:48:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 11:48:04] Production.ERROR: done
[2025-04-12 11:48:04] Production.INFO: count ==23
[2025-04-12 11:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891355') start
[2025-04-12 11:48:04] Production.INFO: Account Balance End.
[2025-04-12 11:48:04] Production.ERROR: CronJobId end 12
[2025-04-12 11:48:04] Production.INFO: ==23304== Releasing lock...
[2025-04-12 11:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 11:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 11:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891355') end
[2025-04-12 11:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 11:48:04] Production.INFO: 1
[2025-04-12 11:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 11:48:05] Production.INFO: ==23308== Releasing lock...
[2025-04-12 11:48:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 11:48:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 11:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 08:48:05
[end_date_ymd] => 2025-04-12 11:48:05
[RateCDR] => 1
)
[2025-04-12 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-12 08:48:05' and `end` < '2025-04-12 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-12 11:48:12] Production.ERROR: CronJobId end10
[2025-04-12 11:48:12] Production.INFO: ==23302== Releasing lock...
[2025-04-12 11:48:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 11:48:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 11:48:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 11:48:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 11:48:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 11:48:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 11:48:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 11:48:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 11:48:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 11:48:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 11:48:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 11:48:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 11:48:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 11:48:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 11:48:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 11:48:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 11:48:15] Production.INFO: call_cost start
[2025-04-12 11:48:15] Production.INFO: call_cost end
[2025-04-12 11:48:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 11:48:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 11:48:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 11:48:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 11:48:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 11:48:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 11:48:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 11:48:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 11:48:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 11:48:16] Production.INFO: ==23297== Releasing lock...
[2025-04-12 11:48:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 11:48:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 11:48:18] Production.INFO: count ==1276
[2025-04-12 11:48:18] Production.ERROR: pbx CDR StartTime 2025-04-12 08:48:05 - End Time 2025-04-12 11:48:05
[2025-04-12 11:48:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 11:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891356', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891356', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891356', 'tblTempVendorCDR_20' ) start
[2025-04-12 11:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891356', 'tblTempVendorCDR_20' ) end
[2025-04-12 11:48:18] Production.INFO: ProcessCDR(1,14891356,1,1,2)
[2025-04-12 11:48:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891356,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:48:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891356,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:48:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891356,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:48:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891356,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:48:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891356', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:48:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891356', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:48:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 11:48:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 11:48:23] Production.INFO: ==23306== Releasing lock...
[2025-04-12 11:48:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 11:48:23] Production.INFO: 37.75 MB #Memory Used#
[2025-04-12 16:49:01] Production.INFO: ==23364== Lock acquired, processing the job...
[2025-04-12 16:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 16:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 16:49:01] Production.INFO: neon service started
[2025-04-12 16:49:01] Production.INFO: neon service started
[2025-04-12 16:49:01] Production.INFO: ==23364== Releasing lock...
[2025-04-12 16:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 16:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 11:49:02] Production.INFO: ==23366== Lock acquired, processing the job...
[2025-04-12 11:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 15:49:02] Production.INFO: ==23368== Lock acquired, processing the job...
[2025-04-12 15:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 15:49:02] Production.INFO: ==23368== Releasing lock...
[2025-04-12 15:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 15:49:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 11:49:02] Production.INFO: ==23366== Releasing lock...
[2025-04-12 11:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 11:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 11:49:03] Production.INFO: ==23381== Lock acquired, processing the job...
[2025-04-12 11:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 11:49:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 11:49:03] Production.INFO: count ==12
[2025-04-12 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-12 11:49:03] Production.INFO: count ==23
[2025-04-12 11:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891357') start
[2025-04-12 11:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891357') end
[2025-04-12 11:49:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 11:49:03] Production.INFO: 1
[2025-04-12 11:49:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 11:49:03] Production.INFO: ==23371== Lock acquired, processing the job...
[2025-04-12 11:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 11:49:03] Production.INFO: ==23381== Releasing lock...
[2025-04-12 11:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 11:49:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 11:49:03] Production.INFO: ==23373== Lock acquired, processing the job...
[2025-04-12 11:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 11:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 11:49:03] Production.INFO: ==23375== Lock acquired, processing the job...
[2025-04-12 11:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 11:49:03] Production.INFO: ==23377== Lock acquired, processing the job...
[2025-04-12 11:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 11:49:03] Production.INFO: ==23379== Lock acquired, processing the job...
[2025-04-12 11:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 11:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 11:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 11:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 11:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 11:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 11:49:03] Production.INFO: Account Balance Start.
[2025-04-12 11:49:03] Production.INFO: CreateAllLog Start
[2025-04-12 11:49:03] Production.INFO: 117
[2025-04-12 11:49:04] Production.INFO: Date 2025-04-08
[2025-04-12 11:49:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:49:04] Production.INFO: Date 2025-04-09
[2025-04-12 11:49:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:49:04] Production.INFO: ==23373== Releasing lock...
[2025-04-12 11:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 11:49:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 11:49:04] Production.INFO: Date 2025-04-10
[2025-04-12 11:49:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:49:04] Production.INFO: Date 2025-04-11
[2025-04-12 11:49:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:49:04] Production.INFO: Date 2025-04-12
[2025-04-12 11:49:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:49:04] Production.ERROR: done
[2025-04-12 11:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 11:49:04] Production.INFO: Total Charge 0
[2025-04-12 11:49:04] Production.INFO: CreateAllLog End
[2025-04-12 11:49:04] Production.ERROR: done
[2025-04-12 11:49:04] Production.INFO: Account Balance End.
[2025-04-12 11:49:04] Production.ERROR: CronJobId end 12
[2025-04-12 11:49:04] Production.INFO: ==23377== Releasing lock...
[2025-04-12 11:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 11:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 11:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 08:49:05
[end_date_ymd] => 2025-04-12 11:49:05
[RateCDR] => 1
)
[2025-04-12 11:49:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 08:49:05' and `end` < '2025-04-12 11:49:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 11:49:11] Production.ERROR: CronJobId end10
[2025-04-12 11:49:11] Production.INFO: ==23375== Releasing lock...
[2025-04-12 11:49:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 11:49:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 11:49:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 11:49:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 11:49:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 11:49:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 11:49:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 11:49:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 11:49:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 11:49:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 11:49:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 11:49:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 11:49:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 11:49:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 11:49:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 11:49:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 11:49:14] Production.INFO: call_cost start
[2025-04-12 11:49:14] Production.INFO: call_cost end
[2025-04-12 11:49:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 11:49:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 11:49:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 11:49:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 11:49:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 11:49:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 11:49:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 11:49:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 11:49:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 11:49:15] Production.INFO: ==23371== Releasing lock...
[2025-04-12 11:49:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 11:49:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 11:49:18] Production.INFO: count ==1288
[2025-04-12 11:49:18] Production.ERROR: pbx CDR StartTime 2025-04-12 08:49:05 - End Time 2025-04-12 11:49:05
[2025-04-12 11:49:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 11:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891361', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891361', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891361', 'tblTempVendorCDR_20' ) start
[2025-04-12 11:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891361', 'tblTempVendorCDR_20' ) end
[2025-04-12 11:49:18] Production.INFO: ProcessCDR(1,14891361,1,1,2)
[2025-04-12 11:49:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891361,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:49:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891361,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:49:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891361,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:49:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891361,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:49:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891361', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:49:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891361', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:49:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 11:49:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 11:49:23] Production.INFO: ==23379== Releasing lock...
[2025-04-12 11:49:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 11:49:23] Production.INFO: 38 MB #Memory Used#
[2025-04-12 16:50:02] Production.INFO: ==23442== Lock acquired, processing the job...
[2025-04-12 16:50:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 16:50:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 16:50:02] Production.INFO: neon service started
[2025-04-12 16:50:02] Production.INFO: neon service started
[2025-04-12 16:50:02] Production.INFO: ==23442== Releasing lock...
[2025-04-12 16:50:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 16:50:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 15:50:02] Production.INFO: ==23446== Lock acquired, processing the job...
[2025-04-12 15:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 15:50:02] Production.INFO: ==23446== Releasing lock...
[2025-04-12 15:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 15:50:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 11:50:02] Production.INFO: ==23444== Lock acquired, processing the job...
[2025-04-12 11:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 11:50:03] Production.INFO: ==23444== Releasing lock...
[2025-04-12 11:50:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 11:50:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 11:50:04] Production.INFO: ==23452== Lock acquired, processing the job...
[2025-04-12 11:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 11:50:04] Production.INFO: ==23458== Lock acquired, processing the job...
[2025-04-12 11:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 11:50:04] Production.INFO: ==23463== Lock acquired, processing the job...
[2025-04-12 11:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 11:50:04] Production.INFO: ==23450== Lock acquired, processing the job...
[2025-04-12 11:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 11:50:04] Production.INFO: ==23448== Lock acquired, processing the job...
[2025-04-12 11:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 11:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 11:50:04] Production.INFO: ==23454== Lock acquired, processing the job...
[2025-04-12 11:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 11:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 11:50:04] Production.INFO: ==23456== Lock acquired, processing the job...
[2025-04-12 11:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 11:50:04] Production.INFO: count ==12
[2025-04-12 11:50:04] Production.INFO: ==23460== Lock acquired, processing the job...
[2025-04-12 11:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 11:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 11:50:04] Production.INFO: count ==23
[2025-04-12 11:50:04] Production.INFO: ==23452== Releasing lock...
[2025-04-12 11:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 11:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 11:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891363') start
[2025-04-12 11:50:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 11:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 11:50:04] Production.ERROR: CronJob PID - 23450
[2025-04-12 11:50:04] Production.ERROR: CronJob Title - System Alerts
[2025-04-12 11:50:04] Production.ERROR: CronJob ID - 5
[2025-04-12 11:50:04] Production.ERROR: CronJob Last Run Time 2025-04-12 11:50:00
[2025-04-12 11:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 11:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 11:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 11:50:04] Production.ERROR: CronJob PID - 23454
[2025-04-12 11:50:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-04-12 11:50:04] Production.ERROR: CronJob ID - 10
[2025-04-12 11:50:04] Production.ERROR: CronJob Last Run Time 2025-04-12 11:50:00
[2025-04-12 11:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 11:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 11:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 11:50:04] Production.ERROR: CronJob PID - 23456
[2025-04-12 11:50:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-04-12 11:50:04] Production.ERROR: CronJob ID - 12
[2025-04-12 11:50:04] Production.ERROR: CronJob Last Run Time 2025-04-12 11:50:00
[2025-04-12 11:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 11:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 11:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 11:50:04] Production.ERROR: CronJob PID - 23458
[2025-04-12 11:50:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-04-12 11:50:04] Production.ERROR: CronJob ID - 16
[2025-04-12 11:50:04] Production.ERROR: CronJob Last Run Time 2025-04-12 11:50:00
[2025-04-12 11:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 11:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 11:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 11:50:04] Production.ERROR: CronJob PID - 23463
[2025-04-12 11:50:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-04-12 11:50:04] Production.ERROR: CronJob ID - 19
[2025-04-12 11:50:04] Production.ERROR: CronJob Last Run Time 2025-04-12 11:50:00
[2025-04-12 11:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 11:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 11:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 11:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 11:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 11:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 11:50:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 11:50:04] Production.INFO: ==23448== Releasing lock...
[2025-04-12 11:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 11:50:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 11:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 11:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 11:50:04] Production.INFO: Account Balance Start.
[2025-04-12 11:50:04] Production.INFO: CreateAllLog Start
[2025-04-12 11:50:04] Production.INFO: 117
[2025-04-12 11:50:04] Production.INFO: Date 2025-04-08
[2025-04-12 11:50:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:50:04] Production.INFO: Date 2025-04-09
[2025-04-12 11:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891363') end
[2025-04-12 11:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 11:50:04] Production.INFO: 1
[2025-04-12 11:50:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 11:50:04] Production.INFO: Date 2025-04-10
[2025-04-12 11:50:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:50:04] Production.ERROR: done
[2025-04-12 11:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 11:50:04] Production.INFO: ==23463== Releasing lock...
[2025-04-12 11:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 11:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 11:50:04] Production.INFO: Date 2025-04-11
[2025-04-12 11:50:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:50:04] Production.INFO: Date 2025-04-12
[2025-04-12 11:50:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:50:05] Production.ERROR: done
[2025-04-12 11:50:05] Production.INFO: Total Charge 0
[2025-04-12 11:50:05] Production.ERROR: done
[2025-04-12 11:50:05] Production.INFO: CreateAllLog End
[2025-04-12 11:50:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 11:50:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14891366', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 11:50:05] Production.INFO: Account Balance End.
[2025-04-12 11:50:05] Production.ERROR: CronJobId end 12
[2025-04-12 11:50:05] Production.INFO: ==23456== Releasing lock...
[2025-04-12 11:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 11:50:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 11:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 08:50:06
[end_date_ymd] => 2025-04-12 11:50:06
[RateCDR] => 1
)
[2025-04-12 11:50:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 08:50:06' and `end` < '2025-04-12 11:50:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 11:50:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14891366', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 11:50:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 11:50:09] Production.INFO: ProcessCDR(1,14891366,1,1,2)
[2025-04-12 11:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14891366,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14891366,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:50:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 11:50:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 11:50:09] Production.INFO: ==23460== Releasing lock...
[2025-04-12 11:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 11:50:09] Production.INFO: 26 MB #Memory Used#
[2025-04-12 11:50:13] Production.ERROR: CronJobId end10
[2025-04-12 11:50:13] Production.INFO: ==23454== Releasing lock...
[2025-04-12 11:50:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 11:50:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 11:50:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 11:50:16] Production.INFO: ============== Balance Warning START===========
[2025-04-12 11:50:16] Production.INFO: ============== Balance Warning END===========
[2025-04-12 11:50:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 11:50:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 11:50:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 11:50:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 11:50:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 11:50:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 11:50:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 11:50:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 11:50:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 11:50:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 11:50:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 11:50:16] Production.INFO: call_cost start
[2025-04-12 11:50:16] Production.INFO: call_cost end
[2025-04-12 11:50:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 11:50:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 11:50:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 11:50:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 11:50:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 11:50:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 11:50:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 11:50:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 11:50:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 11:50:17] Production.INFO: ==23450== Releasing lock...
[2025-04-12 11:50:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 11:50:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 11:50:19] Production.INFO: count ==1289
[2025-04-12 11:50:19] Production.ERROR: pbx CDR StartTime 2025-04-12 08:50:06 - End Time 2025-04-12 11:50:06
[2025-04-12 11:50:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 11:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891367', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891367', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891367', 'tblTempVendorCDR_20' ) start
[2025-04-12 11:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891367', 'tblTempVendorCDR_20' ) end
[2025-04-12 11:50:19] Production.INFO: ProcessCDR(1,14891367,1,1,2)
[2025-04-12 11:50:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891367,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:50:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891367,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:50:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891367,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:50:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891367,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:50:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891367', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:50:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891367', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:50:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 11:50:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 11:50:24] Production.INFO: ==23458== Releasing lock...
[2025-04-12 11:50:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 11:50:24] Production.INFO: 37.75 MB #Memory Used#
[2025-04-12 16:51:01] Production.INFO: ==23516== Lock acquired, processing the job...
[2025-04-12 16:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 16:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 16:51:01] Production.INFO: neon service started
[2025-04-12 16:51:01] Production.INFO: neon service started
[2025-04-12 16:51:01] Production.INFO: ==23516== Releasing lock...
[2025-04-12 16:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 16:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 11:51:02] Production.INFO: ==23518== Lock acquired, processing the job...
[2025-04-12 11:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 15:51:02] Production.INFO: ==23520== Lock acquired, processing the job...
[2025-04-12 15:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 15:51:02] Production.INFO: ==23520== Releasing lock...
[2025-04-12 15:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 15:51:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 11:51:02] Production.INFO: ==23518== Releasing lock...
[2025-04-12 11:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 11:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 11:51:03] Production.INFO: ==23523== Lock acquired, processing the job...
[2025-04-12 11:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 11:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 11:51:03] Production.INFO: ==23525== Lock acquired, processing the job...
[2025-04-12 11:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 11:51:03] Production.INFO: ==23527== Lock acquired, processing the job...
[2025-04-12 11:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 11:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 11:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 11:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 11:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 11:51:03] Production.INFO: ==23531== Lock acquired, processing the job...
[2025-04-12 11:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 11:51:03] Production.INFO: ==23529== Lock acquired, processing the job...
[2025-04-12 11:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 11:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 11:51:03] Production.INFO: ==23525== Releasing lock...
[2025-04-12 11:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 11:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 11:51:03] Production.INFO: ==23533== Lock acquired, processing the job...
[2025-04-12 11:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 11:51:03] Production.INFO: Account Balance Start.
[2025-04-12 11:51:03] Production.INFO: CreateAllLog Start
[2025-04-12 11:51:03] Production.INFO: 117
[2025-04-12 11:51:04] Production.INFO: Date 2025-04-08
[2025-04-12 11:51:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:51:04] Production.INFO: Date 2025-04-09
[2025-04-12 11:51:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:51:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 11:51:04] Production.INFO: count ==12
[2025-04-12 11:51:04] Production.INFO: Date 2025-04-10
[2025-04-12 11:51:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:51:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 11:51:04] Production.INFO: count ==23
[2025-04-12 11:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891371') start
[2025-04-12 11:51:04] Production.ERROR: done
[2025-04-12 11:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 11:51:04] Production.INFO: Date 2025-04-11
[2025-04-12 11:51:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:51:04] Production.INFO: Date 2025-04-12
[2025-04-12 11:51:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891371') end
[2025-04-12 11:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 11:51:04] Production.INFO: 1
[2025-04-12 11:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 11:51:04] Production.ERROR: done
[2025-04-12 11:51:04] Production.INFO: ==23533== Releasing lock...
[2025-04-12 11:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 11:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 11:51:04] Production.INFO: Total Charge 0
[2025-04-12 11:51:04] Production.INFO: CreateAllLog End
[2025-04-12 11:51:04] Production.INFO: Account Balance End.
[2025-04-12 11:51:04] Production.ERROR: CronJobId end 12
[2025-04-12 11:51:04] Production.INFO: ==23529== Releasing lock...
[2025-04-12 11:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 11:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 11:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 08:51:05
[end_date_ymd] => 2025-04-12 11:51:05
[RateCDR] => 1
)
[2025-04-12 11:51:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 08:51:05' and `end` < '2025-04-12 11:51:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 11:51:11] Production.ERROR: CronJobId end10
[2025-04-12 11:51:11] Production.INFO: ==23527== Releasing lock...
[2025-04-12 11:51:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 11:51:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 11:51:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 11:51:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 11:51:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 11:51:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 11:51:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 11:51:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 11:51:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 11:51:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 11:51:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 11:51:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 11:51:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 11:51:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 11:51:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 11:51:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 11:51:14] Production.INFO: call_cost start
[2025-04-12 11:51:14] Production.INFO: call_cost end
[2025-04-12 11:51:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 11:51:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 11:51:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 11:51:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 11:51:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 11:51:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 11:51:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 11:51:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 11:51:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 11:51:15] Production.INFO: ==23523== Releasing lock...
[2025-04-12 11:51:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 11:51:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 11:51:18] Production.INFO: count ==1318
[2025-04-12 11:51:18] Production.ERROR: pbx CDR StartTime 2025-04-12 08:51:05 - End Time 2025-04-12 11:51:05
[2025-04-12 11:51:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 11:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891372', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891372', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891372', 'tblTempVendorCDR_20' ) start
[2025-04-12 11:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891372', 'tblTempVendorCDR_20' ) end
[2025-04-12 11:51:18] Production.INFO: ProcessCDR(1,14891372,1,1,2)
[2025-04-12 11:51:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891372,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:51:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891372,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:51:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891372,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:51:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891372,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:51:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891372', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:51:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891372', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:51:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 11:51:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 11:51:23] Production.INFO: ==23531== Releasing lock...
[2025-04-12 11:51:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 11:51:23] Production.INFO: 38.25 MB #Memory Used#
[2025-04-12 16:52:02] Production.INFO: ==23595== Lock acquired, processing the job...
[2025-04-12 16:52:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 16:52:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 16:52:02] Production.INFO: neon service started
[2025-04-12 16:52:02] Production.INFO: neon service started
[2025-04-12 16:52:02] Production.INFO: ==23595== Releasing lock...
[2025-04-12 16:52:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 16:52:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 11:52:02] Production.INFO: ==23597== Lock acquired, processing the job...
[2025-04-12 11:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 11:52:02] Production.INFO: ==23597== Releasing lock...
[2025-04-12 11:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 11:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 15:52:02] Production.INFO: ==23599== Lock acquired, processing the job...
[2025-04-12 15:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 15:52:03] Production.INFO: ==23599== Releasing lock...
[2025-04-12 15:52:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 15:52:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 11:52:03] Production.INFO: ==23603== Lock acquired, processing the job...
[2025-04-12 11:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 11:52:03] Production.INFO: ==23601== Lock acquired, processing the job...
[2025-04-12 11:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 11:52:03] Production.INFO: ==23609== Lock acquired, processing the job...
[2025-04-12 11:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 11:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 11:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 11:52:03] Production.INFO: ==23605== Lock acquired, processing the job...
[2025-04-12 11:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 11:52:03] Production.INFO: ==23607== Lock acquired, processing the job...
[2025-04-12 11:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 11:52:03] Production.INFO: ==23611== Lock acquired, processing the job...
[2025-04-12 11:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 11:52:04] Production.INFO: ==23603== Releasing lock...
[2025-04-12 11:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 11:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 11:52:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 11:52:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 11:52:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 11:52:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 11:52:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 11:52:04] Production.INFO: Account Balance Start.
[2025-04-12 11:52:04] Production.INFO: CreateAllLog Start
[2025-04-12 11:52:04] Production.INFO: 117
[2025-04-12 11:52:04] Production.INFO: Date 2025-04-08
[2025-04-12 11:52:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:52:04] Production.INFO: count ==12
[2025-04-12 11:52:04] Production.ERROR: done
[2025-04-12 11:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 11:52:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 11:52:04] Production.INFO: count ==23
[2025-04-12 11:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891376') start
[2025-04-12 11:52:04] Production.INFO: Date 2025-04-09
[2025-04-12 11:52:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:52:04] Production.INFO: Date 2025-04-10
[2025-04-12 11:52:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:52:04] Production.INFO: Date 2025-04-11
[2025-04-12 11:52:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:52:04] Production.INFO: Date 2025-04-12
[2025-04-12 11:52:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891376') end
[2025-04-12 11:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 11:52:04] Production.INFO: 1
[2025-04-12 11:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 11:52:04] Production.ERROR: done
[2025-04-12 11:52:04] Production.INFO: Total Charge 0
[2025-04-12 11:52:04] Production.INFO: ==23611== Releasing lock...
[2025-04-12 11:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 11:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 11:52:04] Production.INFO: CreateAllLog End
[2025-04-12 11:52:04] Production.INFO: Account Balance End.
[2025-04-12 11:52:04] Production.ERROR: CronJobId end 12
[2025-04-12 11:52:04] Production.INFO: ==23607== Releasing lock...
[2025-04-12 11:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 11:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 11:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 08:52:05
[end_date_ymd] => 2025-04-12 11:52:05
[RateCDR] => 1
)
[2025-04-12 11:52:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 08:52:05' and `end` < '2025-04-12 11:52:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 11:52:11] Production.ERROR: CronJobId end10
[2025-04-12 11:52:11] Production.INFO: ==23605== Releasing lock...
[2025-04-12 11:52:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 11:52:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 11:52:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 11:52:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 11:52:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 11:52:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 11:52:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 11:52:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 11:52:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 11:52:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 11:52:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 11:52:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 11:52:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 11:52:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 11:52:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 11:52:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 11:52:14] Production.INFO: call_cost start
[2025-04-12 11:52:14] Production.INFO: call_cost end
[2025-04-12 11:52:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 11:52:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 11:52:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 11:52:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 11:52:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 11:52:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 11:52:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 11:52:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 11:52:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 11:52:15] Production.INFO: ==23601== Releasing lock...
[2025-04-12 11:52:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 11:52:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 11:52:18] Production.INFO: count ==1332
[2025-04-12 11:52:18] Production.ERROR: pbx CDR StartTime 2025-04-12 08:52:05 - End Time 2025-04-12 11:52:05
[2025-04-12 11:52:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 11:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891377', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891377', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891377', 'tblTempVendorCDR_20' ) start
[2025-04-12 11:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891377', 'tblTempVendorCDR_20' ) end
[2025-04-12 11:52:18] Production.INFO: ProcessCDR(1,14891377,1,1,2)
[2025-04-12 11:52:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891377,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:52:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891377,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:52:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891377,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:52:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891377,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:52:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891377', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:52:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891377', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:52:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 11:52:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 11:52:23] Production.INFO: ==23609== Releasing lock...
[2025-04-12 11:52:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 11:52:23] Production.INFO: 38 MB #Memory Used#
[2025-04-12 16:53:01] Production.INFO: ==23670== Lock acquired, processing the job...
[2025-04-12 16:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 16:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 16:53:01] Production.INFO: neon service started
[2025-04-12 16:53:01] Production.INFO: neon service started
[2025-04-12 16:53:01] Production.INFO: ==23670== Releasing lock...
[2025-04-12 16:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 16:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 11:53:01] Production.INFO: ==23672== Lock acquired, processing the job...
[2025-04-12 11:53:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 11:53:02] Production.INFO: ==23672== Releasing lock...
[2025-04-12 11:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 11:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 15:53:02] Production.INFO: ==23674== Lock acquired, processing the job...
[2025-04-12 15:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 15:53:02] Production.INFO: ==23674== Releasing lock...
[2025-04-12 15:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 15:53:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 11:53:03] Production.INFO: ==23676== Lock acquired, processing the job...
[2025-04-12 11:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 11:53:03] Production.INFO: ==23678== Lock acquired, processing the job...
[2025-04-12 11:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 11:53:03] Production.INFO: ==23680== Lock acquired, processing the job...
[2025-04-12 11:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 11:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 11:53:03] Production.INFO: ==23682== Lock acquired, processing the job...
[2025-04-12 11:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 11:53:03] Production.INFO: ==23684== Lock acquired, processing the job...
[2025-04-12 11:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 11:53:03] Production.INFO: ==23687== Lock acquired, processing the job...
[2025-04-12 11:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 11:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 11:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 11:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 11:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 11:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 11:53:03] Production.INFO: Account Balance Start.
[2025-04-12 11:53:03] Production.INFO: CreateAllLog Start
[2025-04-12 11:53:03] Production.INFO: 117
[2025-04-12 11:53:03] Production.INFO: Date 2025-04-08
[2025-04-12 11:53:03] Production.INFO: Reseller ==> 0
[2025-04-12 11:53:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 11:53:03] Production.INFO: count ==12
[2025-04-12 11:53:03] Production.INFO: Date 2025-04-09
[2025-04-12 11:53:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 11:53:03] Production.INFO: count ==23
[2025-04-12 11:53:03] Production.INFO: Reseller ==> 0
[2025-04-12 11:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891381') start
[2025-04-12 11:53:03] Production.ERROR: done
[2025-04-12 11:53:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 11:53:03] Production.INFO: Date 2025-04-10
[2025-04-12 11:53:03] Production.INFO: Reseller ==> 0
[2025-04-12 11:53:03] Production.INFO: Date 2025-04-11
[2025-04-12 11:53:03] Production.INFO: Reseller ==> 0
[2025-04-12 11:53:03] Production.INFO: ==23678== Releasing lock...
[2025-04-12 11:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 11:53:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 11:53:03] Production.ERROR: done
[2025-04-12 11:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891381') end
[2025-04-12 11:53:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 11:53:03] Production.INFO: 1
[2025-04-12 11:53:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 11:53:03] Production.INFO: ==23687== Releasing lock...
[2025-04-12 11:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 11:53:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 11:53:03] Production.INFO: Date 2025-04-12
[2025-04-12 11:53:03] Production.INFO: Reseller ==> 0
[2025-04-12 11:53:04] Production.INFO: Total Charge 0
[2025-04-12 11:53:04] Production.INFO: CreateAllLog End
[2025-04-12 11:53:04] Production.INFO: Account Balance End.
[2025-04-12 11:53:04] Production.ERROR: CronJobId end 12
[2025-04-12 11:53:04] Production.INFO: ==23682== Releasing lock...
[2025-04-12 11:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 11:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 11:53:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 08:53:04
[end_date_ymd] => 2025-04-12 11:53:04
[RateCDR] => 1
)
[2025-04-12 11: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-12 08:53:04' and `end` < '2025-04-12 11: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-12 11:53:11] Production.ERROR: CronJobId end10
[2025-04-12 11:53:11] Production.INFO: ==23680== Releasing lock...
[2025-04-12 11:53:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 11:53:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 11:53:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 11:53:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 11:53:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 11:53:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 11:53:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 11:53:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 11:53:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 11:53:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 11:53:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 11:53:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 11:53:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 11:53:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 11:53:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 11:53:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 11:53:14] Production.INFO: call_cost start
[2025-04-12 11:53:14] Production.INFO: call_cost end
[2025-04-12 11:53:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 11:53:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 11:53:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 11:53:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 11:53:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 11:53:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 11:53:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 11:53:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 11:53:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 11:53:15] Production.INFO: ==23676== Releasing lock...
[2025-04-12 11:53:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 11:53:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 11:53:17] Production.INFO: count ==1334
[2025-04-12 11:53:17] Production.ERROR: pbx CDR StartTime 2025-04-12 08:53:04 - End Time 2025-04-12 11:53:04
[2025-04-12 11:53:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 11:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891382', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891382', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891382', 'tblTempVendorCDR_20' ) start
[2025-04-12 11:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891382', 'tblTempVendorCDR_20' ) end
[2025-04-12 11:53:17] Production.INFO: ProcessCDR(1,14891382,1,1,2)
[2025-04-12 11:53:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891382,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:53:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891382,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:53:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891382,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:53:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891382,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891382', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891382', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:53:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 11:53:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 11:53:22] Production.INFO: ==23684== Releasing lock...
[2025-04-12 11:53:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 11:53:22] Production.INFO: 38.75 MB #Memory Used#
[2025-04-12 16:54:02] Production.INFO: ==23741== Lock acquired, processing the job...
[2025-04-12 16:54:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 16:54:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 16:54:02] Production.INFO: neon service started
[2025-04-12 16:54:02] Production.INFO: neon service started
[2025-04-12 16:54:02] Production.INFO: ==23741== Releasing lock...
[2025-04-12 16:54:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 16:54:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 11:54:02] Production.INFO: ==23744== Lock acquired, processing the job...
[2025-04-12 11:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 11:54:02] Production.INFO: ==23744== Releasing lock...
[2025-04-12 11:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 11:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 15:54:02] Production.INFO: ==23746== Lock acquired, processing the job...
[2025-04-12 15:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 15:54:02] Production.INFO: ==23746== Releasing lock...
[2025-04-12 15:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 15:54:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 11:54:03] Production.INFO: ==23756== Lock acquired, processing the job...
[2025-04-12 11:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 11:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 11:54:03] Production.INFO: ==23748== Lock acquired, processing the job...
[2025-04-12 11:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 11:54:03] Production.INFO: ==23758== Lock acquired, processing the job...
[2025-04-12 11:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 11:54:03] Production.INFO: ==23750== Lock acquired, processing the job...
[2025-04-12 11:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 11:54:03] Production.INFO: ==23752== Lock acquired, processing the job...
[2025-04-12 11:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 11:54:04] Production.INFO: ==23754== Lock acquired, processing the job...
[2025-04-12 11:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 11:54:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 11:54:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 11:54:04] Production.INFO: count ==12
[2025-04-12 11:54:04] Production.INFO: Account Balance Start.
[2025-04-12 11:54:04] Production.INFO: CreateAllLog Start
[2025-04-12 11:54:04] Production.INFO: 117
[2025-04-12 11:54:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 11:54:04] Production.INFO: count ==23
[2025-04-12 11:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891383') start
[2025-04-12 11:54:04] Production.ERROR: done
[2025-04-12 11:54:04] Production.INFO: Date 2025-04-08
[2025-04-12 11:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 11:54:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 11:54:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:54:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 11:54:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 11:54:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 11:54:04] Production.INFO: Date 2025-04-09
[2025-04-12 11:54:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:54:04] Production.INFO: Date 2025-04-10
[2025-04-12 11:54:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891383') end
[2025-04-12 11:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 11:54:04] Production.INFO: 1
[2025-04-12 11:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 11:54:04] Production.INFO: Date 2025-04-11
[2025-04-12 11:54:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:54:04] Production.INFO: Date 2025-04-12
[2025-04-12 11:54:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:54:04] Production.INFO: ==23758== Releasing lock...
[2025-04-12 11:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 11:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 11:54:04] Production.INFO: Total Charge 0
[2025-04-12 11:54:04] Production.INFO: ==23750== Releasing lock...
[2025-04-12 11:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 11:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 11:54:04] Production.INFO: CreateAllLog End
[2025-04-12 11:54:04] Production.ERROR: done
[2025-04-12 11:54:04] Production.INFO: Account Balance End.
[2025-04-12 11:54:04] Production.ERROR: CronJobId end 12
[2025-04-12 11:54:04] Production.INFO: ==23754== Releasing lock...
[2025-04-12 11:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 11:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 11:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 08:54:05
[end_date_ymd] => 2025-04-12 11:54:05
[RateCDR] => 1
)
[2025-04-12 11:54:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 08:54:05' and `end` < '2025-04-12 11:54:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 11:54:12] Production.ERROR: CronJobId end10
[2025-04-12 11:54:12] Production.INFO: ==23752== Releasing lock...
[2025-04-12 11:54:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 11:54:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 11:54:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 11:54:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 11:54:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 11:54:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 11:54:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 11:54:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 11:54:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 11:54:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 11:54:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 11:54:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 11:54:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 11:54:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 11:54:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 11:54:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 11:54:14] Production.INFO: call_cost start
[2025-04-12 11:54:14] Production.INFO: call_cost end
[2025-04-12 11:54:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 11:54:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 11:54:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 11:54:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 11:54:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 11:54:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 11:54:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 11:54:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 11:54:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 11:54:15] Production.INFO: ==23748== Releasing lock...
[2025-04-12 11:54:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 11:54:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 11:54:18] Production.INFO: count ==1327
[2025-04-12 11:54:18] Production.ERROR: pbx CDR StartTime 2025-04-12 08:54:05 - End Time 2025-04-12 11:54:05
[2025-04-12 11:54:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 11:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891387', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891387', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891387', 'tblTempVendorCDR_20' ) start
[2025-04-12 11:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891387', 'tblTempVendorCDR_20' ) end
[2025-04-12 11:54:18] Production.INFO: ProcessCDR(1,14891387,1,1,2)
[2025-04-12 11:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891387,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:54:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891387,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:54:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891387,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:54:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891387,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:54:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891387', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:54:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891387', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:54:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 11:54:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 11:54:24] Production.INFO: ==23756== Releasing lock...
[2025-04-12 11:54:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 11:54:24] Production.INFO: 38.5 MB #Memory Used#
[2025-04-12 16:55:01] Production.INFO: ==23826== Lock acquired, processing the job...
[2025-04-12 16:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 16:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 16:55:01] Production.INFO: neon service started
[2025-04-12 16:55:01] Production.INFO: neon service started
[2025-04-12 16:55:01] Production.INFO: ==23826== Releasing lock...
[2025-04-12 16:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 16:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 11:55:01] Production.INFO: ==23828== Lock acquired, processing the job...
[2025-04-12 11:55:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 11:55:02] Production.INFO: ==23828== Releasing lock...
[2025-04-12 11:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 11:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 15:55:02] Production.INFO: ==23830== Lock acquired, processing the job...
[2025-04-12 15:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 15:55:02] Production.INFO: ==23830== Releasing lock...
[2025-04-12 15:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 15:55:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 11:55:03] Production.INFO: ==23838== Lock acquired, processing the job...
[2025-04-12 11:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 11:55:03] Production.INFO: ==23842== Lock acquired, processing the job...
[2025-04-12 11:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 11:55:03] Production.INFO: ==23832== Lock acquired, processing the job...
[2025-04-12 11:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 11:55:03] Production.INFO: ==23834== Lock acquired, processing the job...
[2025-04-12 11:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 11:55:03] Production.INFO: Account Balance Start.
[2025-04-12 11:55:03] Production.INFO: CreateAllLog Start
[2025-04-12 11:55:03] Production.INFO: 117
[2025-04-12 11:55:03] Production.INFO: ==23840== Lock acquired, processing the job...
[2025-04-12 11:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 11:55:03] Production.INFO: ==23836== Lock acquired, processing the job...
[2025-04-12 11:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 11:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 11:55:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 11:55:03] Production.INFO: count ==12
[2025-04-12 11:55:03] Production.INFO: Date 2025-04-08
[2025-04-12 11:55:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 11:55:03] Production.INFO: count ==23
[2025-04-12 11:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 11:55:03] Production.INFO: Reseller ==> 0
[2025-04-12 11:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891388') start
[2025-04-12 11:55:03] Production.INFO: Date 2025-04-09
[2025-04-12 11:55:03] Production.INFO: Reseller ==> 0
[2025-04-12 11:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 11:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 11:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 11:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 11:55:03] Production.INFO: Date 2025-04-10
[2025-04-12 11:55:03] Production.INFO: Reseller ==> 0
[2025-04-12 11:55:03] Production.INFO: Date 2025-04-11
[2025-04-12 11:55:03] Production.INFO: Reseller ==> 0
[2025-04-12 11:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891388') end
[2025-04-12 11:55:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 11:55:03] Production.INFO: 1
[2025-04-12 11:55:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 11:55:03] Production.INFO: Date 2025-04-12
[2025-04-12 11:55:03] Production.INFO: Reseller ==> 0
[2025-04-12 11:55:03] Production.INFO: Total Charge 0
[2025-04-12 11:55:03] Production.INFO: CreateAllLog End
[2025-04-12 11:55:03] Production.INFO: ==23842== Releasing lock...
[2025-04-12 11:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 11:55:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 11:55:03] Production.ERROR: done
[2025-04-12 11:55:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 11:55:03] Production.INFO: ==23834== Releasing lock...
[2025-04-12 11:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 11:55:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 11:55:04] Production.ERROR: done
[2025-04-12 11:55:04] Production.INFO: Account Balance End.
[2025-04-12 11:55:04] Production.ERROR: CronJobId end 12
[2025-04-12 11:55:04] Production.INFO: ==23838== Releasing lock...
[2025-04-12 11:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 11:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 11:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 08:55:05
[end_date_ymd] => 2025-04-12 11:55:05
[RateCDR] => 1
)
[2025-04-12 11:55:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 08:55:05' and `end` < '2025-04-12 11:55:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 11:55:11] Production.ERROR: CronJobId end10
[2025-04-12 11:55:11] Production.INFO: ==23836== Releasing lock...
[2025-04-12 11:55:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 11:55:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 11:55:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 11:55:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 11:55:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 11:55:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 11:55:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 11:55:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 11:55:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 11:55:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 11:55:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 11:55:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 11:55:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 11:55:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 11:55:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 11:55:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 11:55:14] Production.INFO: call_cost start
[2025-04-12 11:55:14] Production.INFO: call_cost end
[2025-04-12 11:55:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 11:55:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 11:55:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 11:55:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 11:55:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 11:55:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 11:55:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 11:55:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 11:55:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 11:55:15] Production.INFO: ==23832== Releasing lock...
[2025-04-12 11:55:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 11:55:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 11:55:18] Production.INFO: count ==1329
[2025-04-12 11:55:18] Production.ERROR: pbx CDR StartTime 2025-04-12 08:55:05 - End Time 2025-04-12 11:55:05
[2025-04-12 11:55:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 11:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891392', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891392', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891392', 'tblTempVendorCDR_20' ) start
[2025-04-12 11:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891392', 'tblTempVendorCDR_20' ) end
[2025-04-12 11:55:18] Production.INFO: ProcessCDR(1,14891392,1,1,2)
[2025-04-12 11:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891392,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:55:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891392,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:55:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891392,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:55:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891392,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:55:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891392', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:55:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891392', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:55:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 11:55:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 11:55:23] Production.INFO: ==23840== Releasing lock...
[2025-04-12 11:55:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 11:55:23] Production.INFO: 37.75 MB #Memory Used#
[2025-04-12 16:56:02] Production.INFO: ==23899== Lock acquired, processing the job...
[2025-04-12 16:56:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 16:56:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 16:56:02] Production.INFO: neon service started
[2025-04-12 16:56:02] Production.INFO: neon service started
[2025-04-12 16:56:02] Production.INFO: ==23899== Releasing lock...
[2025-04-12 16:56:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 16:56:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 11:56:02] Production.INFO: ==23902== Lock acquired, processing the job...
[2025-04-12 11:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 15:56:02] Production.INFO: ==23904== Lock acquired, processing the job...
[2025-04-12 15:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 15:56:02] Production.INFO: ==23904== Releasing lock...
[2025-04-12 15:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 15:56:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 11:56:02] Production.INFO: ==23902== Releasing lock...
[2025-04-12 11:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 11:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 11:56:03] Production.INFO: ==23908== Lock acquired, processing the job...
[2025-04-12 11:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 11:56:03] Production.INFO: ==23910== Lock acquired, processing the job...
[2025-04-12 11:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 11:56:03] Production.INFO: ==23912== Lock acquired, processing the job...
[2025-04-12 11:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 11:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 11:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 11:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 11:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 11:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 11:56:03] Production.INFO: ==23916== Lock acquired, processing the job...
[2025-04-12 11:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 11:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 11:56:03] Production.INFO: ==23914== Lock acquired, processing the job...
[2025-04-12 11:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 11:56:03] Production.INFO: ==23918== Lock acquired, processing the job...
[2025-04-12 11:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 11:56:04] Production.INFO: ==23910== Releasing lock...
[2025-04-12 11:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 11:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 11:56:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 11:56:04] Production.INFO: Account Balance Start.
[2025-04-12 11:56:04] Production.INFO: CreateAllLog Start
[2025-04-12 11:56:04] Production.INFO: 117
[2025-04-12 11:56:04] Production.INFO: count ==12
[2025-04-12 11:56:04] Production.INFO: Date 2025-04-08
[2025-04-12 11:56:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 11:56:04] Production.ERROR: done
[2025-04-12 11:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 11:56:04] Production.INFO: count ==23
[2025-04-12 11:56:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891396') start
[2025-04-12 11:56:04] Production.INFO: Date 2025-04-09
[2025-04-12 11:56:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:56:04] Production.INFO: Date 2025-04-10
[2025-04-12 11:56:04] Production.ERROR: done
[2025-04-12 11:56:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891396') end
[2025-04-12 11:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 11:56:04] Production.INFO: 1
[2025-04-12 11:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 11:56:04] Production.INFO: ==23918== Releasing lock...
[2025-04-12 11:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 11:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 11:56:04] Production.INFO: Date 2025-04-11
[2025-04-12 11:56:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:56:04] Production.INFO: Date 2025-04-12
[2025-04-12 11:56:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:56:04] Production.INFO: Total Charge 0
[2025-04-12 11:56:04] Production.INFO: CreateAllLog End
[2025-04-12 11:56:04] Production.INFO: Account Balance End.
[2025-04-12 11:56:04] Production.ERROR: CronJobId end 12
[2025-04-12 11:56:04] Production.INFO: ==23914== Releasing lock...
[2025-04-12 11:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 11:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 11:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 08:56:05
[end_date_ymd] => 2025-04-12 11:56:05
[RateCDR] => 1
)
[2025-04-12 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-12 08:56:05' and `end` < '2025-04-12 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-12 11:56:12] Production.ERROR: CronJobId end10
[2025-04-12 11:56:12] Production.INFO: ==23912== Releasing lock...
[2025-04-12 11:56:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 11:56:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 11:56:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 11:56:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 11:56:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 11:56:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 11:56:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 11:56:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 11:56:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 11:56:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 11:56:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 11:56:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 11:56:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 11:56:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 11:56:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 11:56:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 11:56:15] Production.INFO: call_cost start
[2025-04-12 11:56:15] Production.INFO: call_cost end
[2025-04-12 11:56:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 11:56:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 11:56:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 11:56:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 11:56:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 11:56:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 11:56:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 11:56:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 11:56:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 11:56:16] Production.INFO: ==23908== Releasing lock...
[2025-04-12 11:56:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 11:56:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 11:56:18] Production.INFO: count ==1332
[2025-04-12 11:56:18] Production.ERROR: pbx CDR StartTime 2025-04-12 08:56:05 - End Time 2025-04-12 11:56:05
[2025-04-12 11:56:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 11:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891397', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891397', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891397', 'tblTempVendorCDR_20' ) start
[2025-04-12 11:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891397', 'tblTempVendorCDR_20' ) end
[2025-04-12 11:56:18] Production.INFO: ProcessCDR(1,14891397,1,1,2)
[2025-04-12 11:56:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891397,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:56:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891397,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:56:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891397,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:56:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891397,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:56:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891397', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:56:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891397', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:56:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 11:56:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 11:56:23] Production.INFO: ==23916== Releasing lock...
[2025-04-12 11:56:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 11:56:23] Production.INFO: 38.25 MB #Memory Used#
[2025-04-12 16:57:01] Production.INFO: ==23973== Lock acquired, processing the job...
[2025-04-12 16:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 16:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 16:57:01] Production.INFO: neon service started
[2025-04-12 16:57:01] Production.INFO: neon service started
[2025-04-12 16:57:01] Production.INFO: ==23973== Releasing lock...
[2025-04-12 16:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 16:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 11:57:02] Production.INFO: ==23975== Lock acquired, processing the job...
[2025-04-12 15:57:02] Production.INFO: ==23977== Lock acquired, processing the job...
[2025-04-12 15:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 11:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 15:57:02] Production.INFO: ==23977== Releasing lock...
[2025-04-12 15:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 15:57:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 11:57:02] Production.INFO: ==23975== Releasing lock...
[2025-04-12 11:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 11:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 11:57:03] Production.INFO: ==23980== Lock acquired, processing the job...
[2025-04-12 11:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 11:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 11:57:03] Production.INFO: ==23990== Lock acquired, processing the job...
[2025-04-12 11:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 11:57:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 11:57:03] Production.INFO: ==23982== Lock acquired, processing the job...
[2025-04-12 11:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 11:57:03] Production.INFO: ==23984== Lock acquired, processing the job...
[2025-04-12 11:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 11:57:03] Production.INFO: ==23986== Lock acquired, processing the job...
[2025-04-12 11:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 11:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 11:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 11:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 11:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 11:57:03] Production.INFO: count ==12
[2025-04-12 11:57:03] Production.INFO: ==23988== Lock acquired, processing the job...
[2025-04-12 11:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 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-12 11:57:04] Production.INFO: count ==23
[2025-04-12 11:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891399') start
[2025-04-12 11:57:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 11:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891399') end
[2025-04-12 11:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 11:57:04] Production.INFO: 1
[2025-04-12 11:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 11:57:04] Production.INFO: Account Balance Start.
[2025-04-12 11:57:04] Production.INFO: CreateAllLog Start
[2025-04-12 11:57:04] Production.INFO: 117
[2025-04-12 11:57:04] Production.INFO: Date 2025-04-08
[2025-04-12 11:57:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:57:04] Production.INFO: ==23990== Releasing lock...
[2025-04-12 11:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 11:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 11:57:04] Production.INFO: Date 2025-04-09
[2025-04-12 11:57:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:57:04] Production.INFO: Date 2025-04-10
[2025-04-12 11:57:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:57:04] Production.INFO: Date 2025-04-11
[2025-04-12 11:57:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:57:04] Production.INFO: Date 2025-04-12
[2025-04-12 11:57:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:57:04] Production.INFO: Total Charge 0
[2025-04-12 11:57:04] Production.INFO: CreateAllLog End
[2025-04-12 11:57:04] Production.INFO: ==23982== Releasing lock...
[2025-04-12 11:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 11:57:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 11:57:04] Production.ERROR: done
[2025-04-12 11:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 11:57:04] Production.ERROR: done
[2025-04-12 11:57:04] Production.INFO: Account Balance End.
[2025-04-12 11:57:04] Production.ERROR: CronJobId end 12
[2025-04-12 11:57:04] Production.INFO: ==23986== Releasing lock...
[2025-04-12 11:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 11:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 11:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 08:57:05
[end_date_ymd] => 2025-04-12 11:57:05
[RateCDR] => 1
)
[2025-04-12 11:57:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 08:57:05' and `end` < '2025-04-12 11:57:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 11:57:12] Production.ERROR: CronJobId end10
[2025-04-12 11:57:12] Production.INFO: ==23984== Releasing lock...
[2025-04-12 11:57:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 11:57:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 11:57:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 11:57:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 11:57:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 11:57:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 11:57:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 11:57:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 11:57:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 11:57:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 11:57:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 11:57:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 11:57:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 11:57:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 11:57:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 11:57:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 11:57:14] Production.INFO: call_cost start
[2025-04-12 11:57:14] Production.INFO: call_cost end
[2025-04-12 11:57:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 11:57:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 11:57:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 11:57:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 11:57:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 11:57:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 11:57:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 11:57:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 11:57:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 11:57:15] Production.INFO: ==23980== Releasing lock...
[2025-04-12 11:57:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 11:57:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 11:57:18] Production.INFO: count ==1342
[2025-04-12 11:57:19] Production.ERROR: pbx CDR StartTime 2025-04-12 08:57:05 - End Time 2025-04-12 11:57:05
[2025-04-12 11:57:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 11:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891402', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891402', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891402', 'tblTempVendorCDR_20' ) start
[2025-04-12 11:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891402', 'tblTempVendorCDR_20' ) end
[2025-04-12 11:57:19] Production.INFO: ProcessCDR(1,14891402,1,1,2)
[2025-04-12 11:57:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891402,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:57:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891402,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:57:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891402,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:57:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891402,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891402', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891402', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:57:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 11:57:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 11:57:22] Production.INFO: ==23988== Releasing lock...
[2025-04-12 11:57:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 11:57:22] Production.INFO: 38 MB #Memory Used#
[2025-04-12 16:58:02] Production.INFO: ==24046== Lock acquired, processing the job...
[2025-04-12 16:58:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 16:58:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 16:58:02] Production.INFO: neon service started
[2025-04-12 16:58:02] Production.INFO: neon service started
[2025-04-12 16:58:02] Production.INFO: ==24046== Releasing lock...
[2025-04-12 16:58:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 16:58:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 11:58:03] Production.INFO: ==24049== Lock acquired, processing the job...
[2025-04-12 11:58:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 15:58:03] Production.INFO: ==24051== Lock acquired, processing the job...
[2025-04-12 15:58:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 15:58:03] Production.INFO: ==24051== Releasing lock...
[2025-04-12 15:58:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 15:58:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 11:58:03] Production.INFO: ==24049== Releasing lock...
[2025-04-12 11:58:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 11:58:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 11:58:04] Production.INFO: ==24056== Lock acquired, processing the job...
[2025-04-12 11:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 11:58:04] Production.INFO: ==24054== Lock acquired, processing the job...
[2025-04-12 11:58:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 11:58:04] Production.INFO: ==24062== Lock acquired, processing the job...
[2025-04-12 11:58:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 11:58:04] Production.INFO: ==24058== Lock acquired, processing the job...
[2025-04-12 11:58:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 11:58:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 11:58:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 11:58:04] Production.INFO: ==24060== Lock acquired, processing the job...
[2025-04-12 11:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 11:58:04] Production.INFO: ==24064== Lock acquired, processing the job...
[2025-04-12 11:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 11:58:04] Production.INFO: Account Balance Start.
[2025-04-12 11:58:04] Production.INFO: CreateAllLog Start
[2025-04-12 11:58:04] Production.INFO: 117
[2025-04-12 11:58:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 11:58:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 11:58:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 11:58:04] Production.INFO: Date 2025-04-08
[2025-04-12 11:58:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 11:58:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:58:04] Production.INFO: Date 2025-04-09
[2025-04-12 11:58:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:58:04] Production.INFO: Date 2025-04-10
[2025-04-12 11:58:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:58:04] Production.INFO: Date 2025-04-11
[2025-04-12 11:58:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:58:04] Production.INFO: Date 2025-04-12
[2025-04-12 11:58:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:58:04] Production.INFO: ==24056== Releasing lock...
[2025-04-12 11:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 11:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 11:58:04] Production.INFO: Total Charge 0
[2025-04-12 11:58:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 11:58:04] Production.INFO: CreateAllLog End
[2025-04-12 11:58:04] Production.ERROR: done
[2025-04-12 11:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 11:58:04] Production.INFO: count ==12
[2025-04-12 11:58:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 11:58:04] Production.INFO: count ==23
[2025-04-12 11:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891406') start
[2025-04-12 11:58:05] Production.ERROR: done
[2025-04-12 11:58:05] Production.ERROR: PBX CALL prc_importPBXExtension('14891406') end
[2025-04-12 11:58:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 11:58:05] Production.INFO: 1
[2025-04-12 11:58:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 11:58:05] Production.INFO: Account Balance End.
[2025-04-12 11:58:05] Production.INFO: ==24064== Releasing lock...
[2025-04-12 11:58:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 11:58:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 11:58:05] Production.ERROR: CronJobId end 12
[2025-04-12 11:58:05] Production.INFO: ==24060== Releasing lock...
[2025-04-12 11:58:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 11:58:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 11:58:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 08:58:06
[end_date_ymd] => 2025-04-12 11:58:06
[RateCDR] => 1
)
[2025-04-12 11: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-12 08:58:06' and `end` < '2025-04-12 11: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-12 11:58:12] Production.ERROR: CronJobId end10
[2025-04-12 11:58:12] Production.INFO: ==24058== Releasing lock...
[2025-04-12 11:58:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 11:58:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 11:58:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 11:58:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 11:58:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 11:58:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 11:58:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 11:58:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 11:58:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 11:58:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 11:58:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 11:58:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 11:58:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 11:58:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 11:58:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 11:58:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 11:58:14] Production.INFO: call_cost start
[2025-04-12 11:58:14] Production.INFO: call_cost end
[2025-04-12 11:58:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 11:58:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 11:58:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 11:58:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 11:58:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 11:58:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 11:58:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 11:58:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 11:58:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 11:58:15] Production.INFO: ==24054== Releasing lock...
[2025-04-12 11:58:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 11:58:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 11:58:19] Production.INFO: count ==1344
[2025-04-12 11:58:19] Production.ERROR: pbx CDR StartTime 2025-04-12 08:58:06 - End Time 2025-04-12 11:58:06
[2025-04-12 11:58:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 11:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891407', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891407', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891407', 'tblTempVendorCDR_20' ) start
[2025-04-12 11:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891407', 'tblTempVendorCDR_20' ) end
[2025-04-12 11:58:19] Production.INFO: ProcessCDR(1,14891407,1,1,2)
[2025-04-12 11:58:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891407,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:58:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891407,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:58:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891407,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:58:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891407,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:58:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891407', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:58:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891407', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:58:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 11:58:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 11:58:24] Production.INFO: ==24062== Releasing lock...
[2025-04-12 11:58:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 11:58:24] Production.INFO: 38.75 MB #Memory Used#
[2025-04-12 16:59:01] Production.INFO: ==24164== Lock acquired, processing the job...
[2025-04-12 16:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 16:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 16:59:01] Production.INFO: neon service started
[2025-04-12 16:59:01] Production.INFO: neon service started
[2025-04-12 16:59:01] Production.INFO: ==24164== Releasing lock...
[2025-04-12 16:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 16:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 11:59:02] Production.INFO: ==24166== Lock acquired, processing the job...
[2025-04-12 11:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 15:59:02] Production.INFO: ==24168== Lock acquired, processing the job...
[2025-04-12 15:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 15:59:02] Production.INFO: ==24168== Releasing lock...
[2025-04-12 15:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 15:59:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 11:59:02] Production.INFO: ==24166== Releasing lock...
[2025-04-12 11:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 11:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 11:59:03] Production.INFO: ==24171== Lock acquired, processing the job...
[2025-04-12 11:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 11:59:03] Production.INFO: ==24173== Lock acquired, processing the job...
[2025-04-12 11:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 11:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 11:59:03] Production.INFO: ==24179== Lock acquired, processing the job...
[2025-04-12 11:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 11:59:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 11:59:04] Production.INFO: ==24177== Lock acquired, processing the job...
[2025-04-12 11:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 11:59:04] Production.INFO: ==24175== Lock acquired, processing the job...
[2025-04-12 11:59:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 11:59:04] Production.INFO: ==24181== Lock acquired, processing the job...
[2025-04-12 11:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 11:59:04] Production.INFO: ==24173== Releasing lock...
[2025-04-12 11:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 11:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 11:59:04] Production.INFO: Account Balance Start.
[2025-04-12 11:59:04] Production.INFO: CreateAllLog Start
[2025-04-12 11:59:04] Production.INFO: 117
[2025-04-12 11:59:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 11:59:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 11:59:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 11:59:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 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-12 11:59:04] Production.INFO: count ==12
[2025-04-12 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-12 11:59:04] Production.INFO: count ==23
[2025-04-12 11:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891410') start
[2025-04-12 11:59:04] Production.INFO: Date 2025-04-08
[2025-04-12 11:59:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:59:04] Production.ERROR: done
[2025-04-12 11:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 11:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891410') end
[2025-04-12 11:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 11:59:04] Production.INFO: 1
[2025-04-12 11:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 11:59:04] Production.INFO: Date 2025-04-09
[2025-04-12 11:59:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:59:04] Production.INFO: Date 2025-04-10
[2025-04-12 11:59:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:59:04] Production.INFO: Date 2025-04-11
[2025-04-12 11:59:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:59:04] Production.INFO: Date 2025-04-12
[2025-04-12 11:59:04] Production.INFO: Reseller ==> 0
[2025-04-12 11:59:04] Production.INFO: Total Charge 0
[2025-04-12 11:59:04] Production.INFO: CreateAllLog End
[2025-04-12 11:59:04] Production.INFO: ==24181== Releasing lock...
[2025-04-12 11:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 11:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 11:59:04] Production.ERROR: done
[2025-04-12 11:59:04] Production.INFO: Account Balance End.
[2025-04-12 11:59:04] Production.ERROR: CronJobId end 12
[2025-04-12 11:59:04] Production.INFO: ==24177== Releasing lock...
[2025-04-12 11:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 11:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 11:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 08:59:05
[end_date_ymd] => 2025-04-12 11:59:05
[RateCDR] => 1
)
[2025-04-12 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-12 08:59:05' and `end` < '2025-04-12 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-12 11:59:13] Production.ERROR: CronJobId end10
[2025-04-12 11:59:13] Production.INFO: ==24175== Releasing lock...
[2025-04-12 11:59:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 11:59:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 11:59:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 11:59:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 11:59:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 11:59:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 11:59:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 11:59:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 11:59:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 11:59:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 11:59:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 11:59:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 11:59:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 11:59:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 11:59:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 11:59:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 11:59:15] Production.INFO: call_cost start
[2025-04-12 11:59:15] Production.INFO: call_cost end
[2025-04-12 11:59:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 11:59:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 11:59:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 11:59:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 11:59:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 11:59:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 11:59:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 11:59:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 11:59:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 11:59:16] Production.INFO: ==24171== Releasing lock...
[2025-04-12 11:59:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 11:59:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 11:59:18] Production.INFO: count ==1346
[2025-04-12 11:59:19] Production.ERROR: pbx CDR StartTime 2025-04-12 08:59:05 - End Time 2025-04-12 11:59:05
[2025-04-12 11:59:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 11:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891412', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891412', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891412', 'tblTempVendorCDR_20' ) start
[2025-04-12 11:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891412', 'tblTempVendorCDR_20' ) end
[2025-04-12 11:59:19] Production.INFO: ProcessCDR(1,14891412,1,1,2)
[2025-04-12 11:59:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891412,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:59:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891412,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 11:59:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891412,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:59:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891412,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 11:59:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891412', 'tblTempUsageDetail_20' ) start
[2025-04-12 11:59:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891412', 'tblTempUsageDetail_20' ) end
[2025-04-12 11:59:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 11:59:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 11:59:24] Production.INFO: ==24179== Releasing lock...
[2025-04-12 11:59:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 11:59:24] Production.INFO: 38.25 MB #Memory Used#
[2025-04-12 17:00:02] Production.INFO: ==24238== Lock acquired, processing the job...
[2025-04-12 17:00:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 17:00:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 17:00:02] Production.INFO: neon service started
[2025-04-12 17:00:02] Production.INFO: neon service started
[2025-04-12 17:00:02] Production.INFO: ==24238== Releasing lock...
[2025-04-12 17:00:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 17:00:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 12:00:02] Production.INFO: ==24241== Lock acquired, processing the job...
[2025-04-12 12:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 12:00:03] Production.INFO: ==24241== Releasing lock...
[2025-04-12 12:00:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 12:00:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 16:00:03] Production.INFO: ==24243== Lock acquired, processing the job...
[2025-04-12 16:00:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 16:00:03] Production.INFO: ==24243== Releasing lock...
[2025-04-12 16:00:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 16:00:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 12:00:03] Production.INFO: ==24245== Lock acquired, processing the job...
[2025-04-12 12:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 12:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 12:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 12:00:04] Production.INFO: ==24245== Releasing lock...
[2025-04-12 12:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 12:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 12:00:04] Production.INFO: ==24247== Lock acquired, processing the job...
[2025-04-12 12:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 12:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 12:00:04] Production.INFO: ==24253== Lock acquired, processing the job...
[2025-04-12 12:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 12:00:04] Production.INFO: ==24249== Lock acquired, processing the job...
[2025-04-12 12:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 12:00:04] Production.INFO: ==24255== Lock acquired, processing the job...
[2025-04-12 12:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 12:00:04] Production.INFO: Account Balance Start.
[2025-04-12 12:00:04] Production.INFO: CreateAllLog Start
[2025-04-12 12:00:04] Production.INFO: 117
[2025-04-12 12:00:04] Production.INFO: Date 2025-04-08
[2025-04-12 12:00:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 12:00:04] Production.INFO: ==24251== Lock acquired, processing the job...
[2025-04-12 12:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 12:00:04] Production.INFO: ==24259== Lock acquired, processing the job...
[2025-04-12 12:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 12:00:04] Production.INFO: ==24257== Lock acquired, processing the job...
[2025-04-12 12:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 12:00:04] Production.INFO: Date 2025-04-09
[2025-04-12 12:00:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:00:04] Production.INFO: Date 2025-04-10
[2025-04-12 12:00:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:00:04] Production.INFO: Date 2025-04-11
[2025-04-12 12:00:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 12:00:04] Production.INFO: Date 2025-04-12
[2025-04-12 12:00:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 12:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 12:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 12:00:04] Production.INFO: Total Charge 0
[2025-04-12 12:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 12:00:04] Production.INFO: CreateAllLog End
[2025-04-12 12:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 12:00:04] Production.ERROR: done
[2025-04-12 12:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 12:00:04] Production.INFO: count ==12
[2025-04-12 12:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 12:00:04] Production.INFO: count ==23
[2025-04-12 12:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891416') start
[2025-04-12 12:00:04] Production.INFO: ==24249== Releasing lock...
[2025-04-12 12:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 12:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 12:00:05] Production.ERROR: done
[2025-04-12 12:00:05] Production.INFO: Account Balance End.
[2025-04-12 12:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14891416') end
[2025-04-12 12:00:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 12:00:05] Production.INFO: 1
[2025-04-12 12:00:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 12:00:05] Production.ERROR: CronJobId end 12
[2025-04-12 12:00:05] Production.INFO: ==24259== Releasing lock...
[2025-04-12 12:00:05] Production.INFO: ==24253== Releasing lock...
[2025-04-12 12:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 12:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 12:00:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 12:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 12:00:05] Production.ERROR: done
[2025-04-12 12:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 12:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14891418', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 12:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 09:00:06
[end_date_ymd] => 2025-04-12 12:00:06
[RateCDR] => 1
)
[2025-04-12 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-12 09:00:06' and `end` < '2025-04-12 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-12 12:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14891418', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 12:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 12:00:09] Production.INFO: ProcessCDR(1,14891418,1,1,2)
[2025-04-12 12:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14891418,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14891418,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 12:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 12:00:10] Production.INFO: ==24257== Releasing lock...
[2025-04-12 12:00:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 12:00:10] Production.INFO: 26 MB #Memory Used#
[2025-04-12 12:00:13] Production.ERROR: CronJobId end10
[2025-04-12 12:00:13] Production.INFO: ==24251== Releasing lock...
[2025-04-12 12:00:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 12:00:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 12:00:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 12:00:16] Production.INFO: ============== Balance Warning START===========
[2025-04-12 12:00:16] Production.INFO: ============== Balance Warning END===========
[2025-04-12 12:00:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 12:00:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 12:00:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 12:00:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 12:00:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 12:00:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 12:00:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 12:00:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 12:00:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 12:00:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 12:00:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 12:00:16] Production.INFO: call_cost start
[2025-04-12 12:00:16] Production.INFO: call_cost end
[2025-04-12 12:00:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 12:00:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 12:00:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 12:00:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 12:00:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 12:00:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 12:00:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 12:00:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 12:00:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 12:00:17] Production.INFO: ==24247== Releasing lock...
[2025-04-12 12:00:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 12:00:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 12:00:19] Production.INFO: count ==1347
[2025-04-12 12:00:19] Production.ERROR: pbx CDR StartTime 2025-04-12 09:00:06 - End Time 2025-04-12 12:00:06
[2025-04-12 12:00:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 12:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891417', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891417', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891417', 'tblTempVendorCDR_20' ) start
[2025-04-12 12:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891417', 'tblTempVendorCDR_20' ) end
[2025-04-12 12:00:19] Production.INFO: ProcessCDR(1,14891417,1,1,2)
[2025-04-12 12:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891417,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:00:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891417,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:00:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891417,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:00:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891417,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:00:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891417', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:00:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891417', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:00:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 12:00:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 12:00:24] Production.INFO: ==24255== Releasing lock...
[2025-04-12 12:00:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 12:00:24] Production.INFO: 38.5 MB #Memory Used#
[2025-04-12 17:01:01] Production.INFO: ==24325== Lock acquired, processing the job...
[2025-04-12 17:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 17:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 17:01:01] Production.INFO: neon service started
[2025-04-12 17:01:01] Production.INFO: neon service started
[2025-04-12 17:01:01] Production.INFO: ==24325== Releasing lock...
[2025-04-12 17:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 17:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 12:01:02] Production.INFO: ==24330== Lock acquired, processing the job...
[2025-04-12 12:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 16:01:02] Production.INFO: ==24332== Lock acquired, processing the job...
[2025-04-12 16:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 16:01:02] Production.INFO: ==24332== Releasing lock...
[2025-04-12 16:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 16:01:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 12:01:02] Production.INFO: ==24330== Releasing lock...
[2025-04-12 12:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 12:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 12:01:03] Production.INFO: ==24341== Lock acquired, processing the job...
[2025-04-12 12:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 12:01:03] Production.INFO: ==24339== Lock acquired, processing the job...
[2025-04-12 12:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 12:01:03] Production.INFO: ==24335== Lock acquired, processing the job...
[2025-04-12 12:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 12:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 12:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 12:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 12:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 12:01:03] Production.INFO: Account Balance Start.
[2025-04-12 12:01:03] Production.INFO: CreateAllLog Start
[2025-04-12 12:01:03] Production.INFO: 117
[2025-04-12 12:01:03] Production.INFO: ==24337== Lock acquired, processing the job...
[2025-04-12 12:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 12:01:03] Production.INFO: Date 2025-04-08
[2025-04-12 12:01:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 12:01:03] Production.INFO: Date 2025-04-09
[2025-04-12 12:01:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:01:03] Production.INFO: Date 2025-04-10
[2025-04-12 12:01:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:01:03] Production.INFO: ==24343== Lock acquired, processing the job...
[2025-04-12 12:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 12:01:03] Production.INFO: Date 2025-04-11
[2025-04-12 12:01:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 12:01:03] Production.INFO: Date 2025-04-12
[2025-04-12 12:01:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:01:03] Production.INFO: ==24345== Lock acquired, processing the job...
[2025-04-12 12:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 12:01:04] Production.INFO: Total Charge 0
[2025-04-12 12:01:04] Production.INFO: CreateAllLog End
[2025-04-12 12:01:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 12:01:04] Production.INFO: count ==12
[2025-04-12 12:01:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 12:01:04] Production.INFO: count ==23
[2025-04-12 12:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891422') start
[2025-04-12 12:01:04] Production.ERROR: done
[2025-04-12 12:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 12:01:04] Production.INFO: ==24337== Releasing lock...
[2025-04-12 12:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 12:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 12:01:04] Production.ERROR: done
[2025-04-12 12:01:04] Production.INFO: Account Balance End.
[2025-04-12 12:01:04] Production.ERROR: CronJobId end 12
[2025-04-12 12:01:04] Production.INFO: ==24341== Releasing lock...
[2025-04-12 12:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 12:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 12:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891422') end
[2025-04-12 12:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 12:01:04] Production.INFO: 1
[2025-04-12 12:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 12:01:04] Production.INFO: ==24345== Releasing lock...
[2025-04-12 12:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 12:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 12:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 09:01:05
[end_date_ymd] => 2025-04-12 12:01:05
[RateCDR] => 1
)
[2025-04-12 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-12 09:01:05' and `end` < '2025-04-12 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-12 12:01:13] Production.ERROR: CronJobId end10
[2025-04-12 12:01:13] Production.INFO: ==24339== Releasing lock...
[2025-04-12 12:01:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 12:01:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 12:01:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 12:01:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 12:01:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 12:01:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 12:01:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 12:01:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 12:01:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 12:01:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 12:01:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 12:01:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 12:01:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 12:01:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 12:01:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 12:01:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 12:01:15] Production.INFO: call_cost start
[2025-04-12 12:01:15] Production.INFO: call_cost end
[2025-04-12 12:01:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 12:01:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 12:01:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 12:01:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 12:01:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 12:01:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 12:01:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 12:01:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 12:01:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 12:01:16] Production.INFO: ==24335== Releasing lock...
[2025-04-12 12:01:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 12:01:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 12:01:18] Production.INFO: count ==1399
[2025-04-12 12:01:18] Production.ERROR: pbx CDR StartTime 2025-04-12 09:01:05 - End Time 2025-04-12 12:01:05
[2025-04-12 12:01:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 12:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891423', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891423', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891423', 'tblTempVendorCDR_20' ) start
[2025-04-12 12:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891423', 'tblTempVendorCDR_20' ) end
[2025-04-12 12:01:18] Production.INFO: ProcessCDR(1,14891423,1,1,2)
[2025-04-12 12:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891423,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:01:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891423,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:01:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891423,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:01:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891423,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:01:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891423', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:01:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891423', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:01:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 12:01:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 12:01:23] Production.INFO: ==24343== Releasing lock...
[2025-04-12 12:01:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 12:01:23] Production.INFO: 38.5 MB #Memory Used#
[2025-04-12 17:02:02] Production.INFO: ==24400== Lock acquired, processing the job...
[2025-04-12 17:02:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 17:02:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 17:02:02] Production.INFO: neon service started
[2025-04-12 17:02:02] Production.INFO: neon service started
[2025-04-12 17:02:02] Production.INFO: ==24400== Releasing lock...
[2025-04-12 17:02:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 17:02:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 16:02:02] Production.INFO: ==24404== Lock acquired, processing the job...
[2025-04-12 16:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 16:02:02] Production.INFO: ==24404== Releasing lock...
[2025-04-12 16:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 16:02:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 12:02:02] Production.INFO: ==24402== Lock acquired, processing the job...
[2025-04-12 12:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 12:02:03] Production.INFO: ==24402== Releasing lock...
[2025-04-12 12:02:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 12:02:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 12:02:03] Production.INFO: ==24406== Lock acquired, processing the job...
[2025-04-12 12:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 12:02:03] Production.INFO: ==24408== Lock acquired, processing the job...
[2025-04-12 12:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 12:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 12:02:03] Production.INFO: ==24415== Lock acquired, processing the job...
[2025-04-12 12:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 12:02:04] Production.INFO: ==24417== Lock acquired, processing the job...
[2025-04-12 12:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 12:02:04] Production.INFO: ==24410== Lock acquired, processing the job...
[2025-04-12 12:02:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 12:02:04] Production.INFO: ==24412== Lock acquired, processing the job...
[2025-04-12 12:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 12:02:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 12:02:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 12:02:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 12:02:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 12:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 12:02:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 12:02:04] Production.INFO: ==24408== Releasing lock...
[2025-04-12 12:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 12:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 12:02:04] Production.INFO: count ==12
[2025-04-12 12:02:04] Production.INFO: Account Balance Start.
[2025-04-12 12:02:04] Production.INFO: CreateAllLog Start
[2025-04-12 12:02:04] Production.INFO: 117
[2025-04-12 12:02:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 12:02:04] Production.INFO: count ==23
[2025-04-12 12:02:04] Production.INFO: Date 2025-04-08
[2025-04-12 12:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891426') start
[2025-04-12 12:02:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:02:04] Production.INFO: Date 2025-04-09
[2025-04-12 12:02:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:02:04] Production.INFO: Date 2025-04-10
[2025-04-12 12:02:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891426') end
[2025-04-12 12:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 12:02:04] Production.INFO: 1
[2025-04-12 12:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 12:02:04] Production.INFO: Date 2025-04-11
[2025-04-12 12:02:04] Production.ERROR: done
[2025-04-12 12:02:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 12:02:04] Production.INFO: ==24417== Releasing lock...
[2025-04-12 12:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 12:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 12:02:04] Production.INFO: Date 2025-04-12
[2025-04-12 12:02:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:02:04] Production.INFO: Total Charge 0
[2025-04-12 12:02:04] Production.INFO: CreateAllLog End
[2025-04-12 12:02:04] Production.ERROR: done
[2025-04-12 12:02:04] Production.INFO: Account Balance End.
[2025-04-12 12:02:04] Production.ERROR: CronJobId end 12
[2025-04-12 12:02:04] Production.INFO: ==24412== Releasing lock...
[2025-04-12 12:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 12:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 12:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 09:02:05
[end_date_ymd] => 2025-04-12 12:02:05
[RateCDR] => 1
)
[2025-04-12 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-12 09:02:05' and `end` < '2025-04-12 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-12 12:02:11] Production.ERROR: CronJobId end10
[2025-04-12 12:02:11] Production.INFO: ==24410== Releasing lock...
[2025-04-12 12:02:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 12:02:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 12:02:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 12:02:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 12:02:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 12:02:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 12:02:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 12:02:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 12:02:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 12:02:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 12:02:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 12:02:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 12:02:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 12:02:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 12:02:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 12:02:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 12:02:14] Production.INFO: call_cost start
[2025-04-12 12:02:14] Production.INFO: call_cost end
[2025-04-12 12:02:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 12:02:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 12:02:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 12:02:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 12:02:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 12:02:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 12:02:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 12:02:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 12:02:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 12:02:15] Production.INFO: ==24406== Releasing lock...
[2025-04-12 12:02:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 12:02:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 12:02:18] Production.INFO: count ==1398
[2025-04-12 12:02:19] Production.ERROR: pbx CDR StartTime 2025-04-12 09:02:05 - End Time 2025-04-12 12:02:05
[2025-04-12 12:02:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 12:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891428', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891428', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891428', 'tblTempVendorCDR_20' ) start
[2025-04-12 12:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891428', 'tblTempVendorCDR_20' ) end
[2025-04-12 12:02:19] Production.INFO: ProcessCDR(1,14891428,1,1,2)
[2025-04-12 12:02:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891428,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:02:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891428,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:02:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891428,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:02:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891428,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891428', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891428', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:02:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 12:02:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 12:02:22] Production.INFO: ==24415== Releasing lock...
[2025-04-12 12:02:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 12:02:22] Production.INFO: 38.25 MB #Memory Used#
[2025-04-12 17:03:01] Production.INFO: ==24472== Lock acquired, processing the job...
[2025-04-12 17:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 17:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 17:03:01] Production.INFO: neon service started
[2025-04-12 17:03:01] Production.INFO: neon service started
[2025-04-12 17:03:01] Production.INFO: ==24472== Releasing lock...
[2025-04-12 17:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 17:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 12:03:02] Production.INFO: ==24474== Lock acquired, processing the job...
[2025-04-12 12:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 12:03:02] Production.INFO: ==24474== Releasing lock...
[2025-04-12 12:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 12:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 16:03:02] Production.INFO: ==24476== Lock acquired, processing the job...
[2025-04-12 16:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 16:03:02] Production.INFO: ==24476== Releasing lock...
[2025-04-12 16:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 16:03:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 12:03:03] Production.INFO: ==24483== Lock acquired, processing the job...
[2025-04-12 12:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 12:03:03] Production.INFO: ==24489== Lock acquired, processing the job...
[2025-04-12 12:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 12:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 12:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 12:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 12:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 12: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-12 12:03:03] Production.INFO: count ==12
[2025-04-12 12: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-12 12:03:03] Production.INFO: count ==23
[2025-04-12 12:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891429') start
[2025-04-12 12:03:03] Production.INFO: ==24479== Lock acquired, processing the job...
[2025-04-12 12:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 12:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891429') end
[2025-04-12 12:03:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 12:03:03] Production.INFO: 1
[2025-04-12 12:03:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 12:03:03] Production.INFO: ==24489== Releasing lock...
[2025-04-12 12:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 12:03:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 12:03:03] Production.INFO: ==24481== Lock acquired, processing the job...
[2025-04-12 12:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 12:03:03] Production.INFO: ==24485== Lock acquired, processing the job...
[2025-04-12 12:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 12:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 12:03:03] Production.INFO: ==24487== Lock acquired, processing the job...
[2025-04-12 12:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 12:03:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 12:03:04] Production.INFO: Account Balance Start.
[2025-04-12 12:03:04] Production.INFO: CreateAllLog Start
[2025-04-12 12:03:04] Production.INFO: 117
[2025-04-12 12:03:04] Production.INFO: Date 2025-04-08
[2025-04-12 12:03:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:03:04] Production.INFO: Date 2025-04-09
[2025-04-12 12:03:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:03:04] Production.INFO: Date 2025-04-10
[2025-04-12 12:03:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:03:04] Production.INFO: Date 2025-04-11
[2025-04-12 12:03:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:03:04] Production.INFO: Date 2025-04-12
[2025-04-12 12:03:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:03:04] Production.INFO: Total Charge 0
[2025-04-12 12:03:04] Production.INFO: ==24481== Releasing lock...
[2025-04-12 12:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 12:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 12:03:04] Production.INFO: CreateAllLog End
[2025-04-12 12:03:04] Production.ERROR: done
[2025-04-12 12:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 12:03:04] Production.INFO: Account Balance End.
[2025-04-12 12:03:04] Production.ERROR: CronJobId end 12
[2025-04-12 12:03:04] Production.INFO: ==24485== Releasing lock...
[2025-04-12 12:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 12:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 12:03:04] Production.ERROR: done
[2025-04-12 12:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 09:03:05
[end_date_ymd] => 2025-04-12 12:03:05
[RateCDR] => 1
)
[2025-04-12 12:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 09:03:05' and `end` < '2025-04-12 12:03:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 12:03:12] Production.ERROR: CronJobId end10
[2025-04-12 12:03:12] Production.INFO: ==24483== Releasing lock...
[2025-04-12 12:03:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 12:03:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 12:03:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 12:03:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 12:03:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 12:03:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 12:03:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 12:03:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 12:03:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 12:03:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 12:03:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 12:03:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 12:03:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 12:03:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 12:03:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 12:03:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 12:03:15] Production.INFO: call_cost start
[2025-04-12 12:03:15] Production.INFO: call_cost end
[2025-04-12 12:03:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 12:03:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 12:03:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 12:03:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 12:03:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 12:03:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 12:03:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 12:03:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 12:03:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 12:03:15] Production.INFO: ==24479== Releasing lock...
[2025-04-12 12:03:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 12:03:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 12:03:18] Production.INFO: count ==1406
[2025-04-12 12:03:18] Production.ERROR: pbx CDR StartTime 2025-04-12 09:03:05 - End Time 2025-04-12 12:03:05
[2025-04-12 12:03:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 12:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891433', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891433', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891433', 'tblTempVendorCDR_20' ) start
[2025-04-12 12:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891433', 'tblTempVendorCDR_20' ) end
[2025-04-12 12:03:18] Production.INFO: ProcessCDR(1,14891433,1,1,2)
[2025-04-12 12:03:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891433,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:03:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891433,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:03:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891433,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:03:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891433,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:03:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891433', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:03:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891433', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:03:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 12:03:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 12:03:23] Production.INFO: ==24487== Releasing lock...
[2025-04-12 12:03:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 12:03:23] Production.INFO: 38.5 MB #Memory Used#
[2025-04-12 17:04:02] Production.INFO: ==24546== Lock acquired, processing the job...
[2025-04-12 17:04:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 17:04:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 17:04:02] Production.INFO: neon service started
[2025-04-12 17:04:02] Production.INFO: neon service started
[2025-04-12 17:04:02] Production.INFO: ==24546== Releasing lock...
[2025-04-12 17:04:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 17:04:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 16:04:02] Production.INFO: ==24550== Lock acquired, processing the job...
[2025-04-12 16:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 16:04:02] Production.INFO: ==24550== Releasing lock...
[2025-04-12 16:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 16:04:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 12:04:02] Production.INFO: ==24548== Lock acquired, processing the job...
[2025-04-12 12:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 12:04:03] Production.INFO: ==24548== Releasing lock...
[2025-04-12 12:04:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 12:04:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 12:04:03] Production.INFO: ==24560== Lock acquired, processing the job...
[2025-04-12 12:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 12:04:04] Production.INFO: ==24562== Lock acquired, processing the job...
[2025-04-12 12:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 12:04:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 12:04:04] Production.INFO: ==24552== Lock acquired, processing the job...
[2025-04-12 12:04:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 12:04:04] Production.INFO: ==24554== Lock acquired, processing the job...
[2025-04-12 12:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 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-12 12:04:04] Production.INFO: count ==12
[2025-04-12 12:04:04] Production.INFO: ==24556== Lock acquired, processing the job...
[2025-04-12 12:04:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 12:04:04] Production.INFO: ==24558== Lock acquired, processing the job...
[2025-04-12 12:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 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-12 12:04:04] Production.INFO: count ==23
[2025-04-12 12:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891434') start
[2025-04-12 12:04:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 12:04:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 12:04:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 12:04:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 12:04:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 12:04:04] Production.INFO: Account Balance Start.
[2025-04-12 12:04:04] Production.INFO: CreateAllLog Start
[2025-04-12 12:04:04] Production.INFO: 117
[2025-04-12 12:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891434') end
[2025-04-12 12:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 12:04:04] Production.INFO: 1
[2025-04-12 12:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 12:04:04] Production.INFO: Date 2025-04-08
[2025-04-12 12:04:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:04:04] Production.INFO: ==24562== Releasing lock...
[2025-04-12 12:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 12:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 12:04:04] Production.ERROR: done
[2025-04-12 12:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 12:04:04] Production.INFO: Date 2025-04-09
[2025-04-12 12:04:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:04:04] Production.INFO: Date 2025-04-10
[2025-04-12 12:04:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:04:04] Production.INFO: Date 2025-04-11
[2025-04-12 12:04:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:04:04] Production.INFO: Date 2025-04-12
[2025-04-12 12:04:04] Production.ERROR: done
[2025-04-12 12:04:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:04:04] Production.INFO: ==24554== Releasing lock...
[2025-04-12 12:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 12:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 12:04:04] Production.INFO: Total Charge 0
[2025-04-12 12:04:04] Production.INFO: CreateAllLog End
[2025-04-12 12:04:04] Production.INFO: Account Balance End.
[2025-04-12 12:04:04] Production.ERROR: CronJobId end 12
[2025-04-12 12:04:04] Production.INFO: ==24558== Releasing lock...
[2025-04-12 12:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 12:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 12:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 09:04:05
[end_date_ymd] => 2025-04-12 12:04:05
[RateCDR] => 1
)
[2025-04-12 12:04:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 09:04:05' and `end` < '2025-04-12 12:04:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 12:04:13] Production.ERROR: CronJobId end10
[2025-04-12 12:04:13] Production.INFO: ==24556== Releasing lock...
[2025-04-12 12:04:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 12:04:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 12:04:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 12:04:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 12:04:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 12:04:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 12:04:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 12:04:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 12:04:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 12:04:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 12:04:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 12:04:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 12:04:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 12:04:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 12:04:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 12:04:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 12:04:14] Production.INFO: call_cost start
[2025-04-12 12:04:14] Production.INFO: call_cost end
[2025-04-12 12:04:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 12:04:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 12:04:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 12:04:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 12:04:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 12:04:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 12:04:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 12:04:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 12:04:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 12:04:15] Production.INFO: ==24552== Releasing lock...
[2025-04-12 12:04:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 12:04:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 12:04:18] Production.INFO: count ==1412
[2025-04-12 12:04:19] Production.ERROR: pbx CDR StartTime 2025-04-12 09:04:05 - End Time 2025-04-12 12:04:05
[2025-04-12 12:04:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 12:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891438', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891438', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891438', 'tblTempVendorCDR_20' ) start
[2025-04-12 12:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891438', 'tblTempVendorCDR_20' ) end
[2025-04-12 12:04:19] Production.INFO: ProcessCDR(1,14891438,1,1,2)
[2025-04-12 12:04:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891438,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:04:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891438,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:04:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891438,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:04:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891438,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:04:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891438', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:04:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891438', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:04:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 12:04:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 12:04:24] Production.INFO: ==24560== Releasing lock...
[2025-04-12 12:04:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 12:04:24] Production.INFO: 38.5 MB #Memory Used#
[2025-04-12 17:05:01] Production.INFO: ==24622== Lock acquired, processing the job...
[2025-04-12 17:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 17:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 17:05:01] Production.INFO: neon service started
[2025-04-12 17:05:01] Production.INFO: neon service started
[2025-04-12 17:05:01] Production.INFO: ==24622== Releasing lock...
[2025-04-12 17:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 17:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 12:05:02] Production.INFO: ==24624== Lock acquired, processing the job...
[2025-04-12 12:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 12:05:02] Production.INFO: ==24624== Releasing lock...
[2025-04-12 12:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 12:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 16:05:02] Production.INFO: ==24626== Lock acquired, processing the job...
[2025-04-12 16:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 16:05:02] Production.INFO: ==24626== Releasing lock...
[2025-04-12 16:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 16:05:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 12:05:03] Production.INFO: ==24636== Lock acquired, processing the job...
[2025-04-12 12:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 12:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 12:05:03] Production.INFO: ==24638== Lock acquired, processing the job...
[2025-04-12 12:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 12:05:03] Production.INFO: ==24628== Lock acquired, processing the job...
[2025-04-12 12:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 12:05:03] Production.INFO: ==24630== Lock acquired, processing the job...
[2025-04-12 12:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 12:05:03] Production.INFO: ==24632== Lock acquired, processing the job...
[2025-04-12 12:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 12:05:03] Production.INFO: ==24634== Lock acquired, processing the job...
[2025-04-12 12:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 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-12 12:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 12:05:03] Production.INFO: count ==12
[2025-04-12 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-12 12:05:03] Production.INFO: count ==23
[2025-04-12 12:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891439') start
[2025-04-12 12:05:04] Production.ERROR: done
[2025-04-12 12:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 12:05:04] Production.INFO: Account Balance Start.
[2025-04-12 12:05:04] Production.INFO: CreateAllLog Start
[2025-04-12 12:05:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 12:05:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 12:05:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 12:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891439') end
[2025-04-12 12:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 12:05:04] Production.INFO: 1
[2025-04-12 12:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 12:05:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 12:05:04] Production.INFO: 117
[2025-04-12 12:05:04] Production.INFO: ==24638== Releasing lock...
[2025-04-12 12:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 12:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 12:05:04] Production.INFO: Date 2025-04-08
[2025-04-12 12:05:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:05:04] Production.ERROR: done
[2025-04-12 12:05:04] Production.INFO: Date 2025-04-09
[2025-04-12 12:05:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:05:04] Production.INFO: ==24630== Releasing lock...
[2025-04-12 12:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 12:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 12:05:04] Production.INFO: Date 2025-04-10
[2025-04-12 12:05:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:05:04] Production.INFO: Date 2025-04-11
[2025-04-12 12:05:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:05:04] Production.INFO: Date 2025-04-12
[2025-04-12 12:05:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:05:04] Production.INFO: Total Charge 0
[2025-04-12 12:05:04] Production.INFO: CreateAllLog End
[2025-04-12 12:05:04] Production.INFO: Account Balance End.
[2025-04-12 12:05:04] Production.ERROR: CronJobId end 12
[2025-04-12 12:05:04] Production.INFO: ==24634== Releasing lock...
[2025-04-12 12:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 12:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 12:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 09:05:05
[end_date_ymd] => 2025-04-12 12:05:05
[RateCDR] => 1
)
[2025-04-12 12:05:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 09:05:05' and `end` < '2025-04-12 12:05:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 12:05:12] Production.ERROR: CronJobId end10
[2025-04-12 12:05:12] Production.INFO: ==24632== Releasing lock...
[2025-04-12 12:05:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 12:05:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 12:05:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 12:05:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 12:05:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 12:05:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 12:05:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 12:05:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 12:05:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 12:05:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 12:05:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 12:05:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 12:05:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 12:05:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 12:05:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 12:05:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 12:05:14] Production.INFO: call_cost start
[2025-04-12 12:05:14] Production.INFO: call_cost end
[2025-04-12 12:05:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 12:05:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 12:05:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 12:05:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 12:05:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 12:05:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 12:05:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 12:05:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 12:05:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 12:05:15] Production.INFO: ==24628== Releasing lock...
[2025-04-12 12:05:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 12:05:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 12:05:18] Production.INFO: count ==1407
[2025-04-12 12:05:18] Production.ERROR: pbx CDR StartTime 2025-04-12 09:05:05 - End Time 2025-04-12 12:05:05
[2025-04-12 12:05:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 12:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891443', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891443', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891443', 'tblTempVendorCDR_20' ) start
[2025-04-12 12:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891443', 'tblTempVendorCDR_20' ) end
[2025-04-12 12:05:18] Production.INFO: ProcessCDR(1,14891443,1,1,2)
[2025-04-12 12:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891443,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:05:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891443,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:05:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891443,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:05:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891443,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:05:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891443', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:05:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891443', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:05:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 12:05:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 12:05:23] Production.INFO: ==24636== Releasing lock...
[2025-04-12 12:05:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 12:05:23] Production.INFO: 38.25 MB #Memory Used#
[2025-04-12 17:06:02] Production.INFO: ==24696== Lock acquired, processing the job...
[2025-04-12 17:06:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 17:06:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 17:06:02] Production.INFO: neon service started
[2025-04-12 17:06:02] Production.INFO: neon service started
[2025-04-12 17:06:02] Production.INFO: ==24696== Releasing lock...
[2025-04-12 17:06:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 17:06:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 16:06:02] Production.INFO: ==24700== Lock acquired, processing the job...
[2025-04-12 16:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 16:06:02] Production.INFO: ==24700== Releasing lock...
[2025-04-12 16:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 16:06:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 12:06:02] Production.INFO: ==24698== Lock acquired, processing the job...
[2025-04-12 12:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 12:06:03] Production.INFO: ==24698== Releasing lock...
[2025-04-12 12:06:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 12:06:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 12:06:03] Production.INFO: ==24705== Lock acquired, processing the job...
[2025-04-12 12:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 12:06:03] Production.INFO: ==24703== Lock acquired, processing the job...
[2025-04-12 12:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 12:06:03] Production.INFO: ==24713== Lock acquired, processing the job...
[2025-04-12 12:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 12:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 12:06:04] Production.INFO: ==24707== Lock acquired, processing the job...
[2025-04-12 12:06:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 12:06:04] Production.INFO: ==24709== Lock acquired, processing the job...
[2025-04-12 12:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 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-12 12:06:04] Production.INFO: ==24711== Lock acquired, processing the job...
[2025-04-12 12:06:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 12:06:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 12:06:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 12:06:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 12:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 12:06:04] Production.INFO: count ==12
[2025-04-12 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-12 12:06:04] Production.INFO: count ==23
[2025-04-12 12:06:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 12:06:04] Production.INFO: Account Balance Start.
[2025-04-12 12:06:04] Production.INFO: CreateAllLog Start
[2025-04-12 12:06:04] Production.INFO: 117
[2025-04-12 12:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891446') start
[2025-04-12 12:06:04] Production.INFO: Date 2025-04-08
[2025-04-12 12:06:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:06:04] Production.INFO: Date 2025-04-09
[2025-04-12 12:06:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:06:04] Production.INFO: ==24705== Releasing lock...
[2025-04-12 12:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 12:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 12:06:04] Production.INFO: Date 2025-04-10
[2025-04-12 12:06:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891446') end
[2025-04-12 12:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 12:06:04] Production.INFO: 1
[2025-04-12 12:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 12:06:04] Production.INFO: Date 2025-04-11
[2025-04-12 12:06:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:06:04] Production.INFO: ==24713== Releasing lock...
[2025-04-12 12:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 12:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 12:06:04] Production.INFO: Date 2025-04-12
[2025-04-12 12:06:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:06:04] Production.ERROR: done
[2025-04-12 12:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 12:06:04] Production.INFO: Total Charge 0
[2025-04-12 12:06:04] Production.INFO: CreateAllLog End
[2025-04-12 12:06:04] Production.ERROR: done
[2025-04-12 12:06:04] Production.INFO: Account Balance End.
[2025-04-12 12:06:04] Production.ERROR: CronJobId end 12
[2025-04-12 12:06:04] Production.INFO: ==24709== Releasing lock...
[2025-04-12 12:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 12:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 12:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 09:06:05
[end_date_ymd] => 2025-04-12 12:06:05
[RateCDR] => 1
)
[2025-04-12 12:06:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 09:06:05' and `end` < '2025-04-12 12:06:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 12:06:12] Production.ERROR: CronJobId end10
[2025-04-12 12:06:12] Production.INFO: ==24707== Releasing lock...
[2025-04-12 12:06:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 12:06:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 12:06:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 12:06:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 12:06:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 12:06:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 12:06:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 12:06:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 12:06:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 12:06:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 12:06:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 12:06:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 12:06:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 12:06:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 12:06:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 12:06:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 12:06:14] Production.INFO: call_cost start
[2025-04-12 12:06:14] Production.INFO: call_cost end
[2025-04-12 12:06:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 12:06:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 12:06:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 12:06:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 12:06:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 12:06:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 12:06:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 12:06:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 12:06:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 12:06:15] Production.INFO: ==24703== Releasing lock...
[2025-04-12 12:06:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 12:06:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 12:06:19] Production.INFO: count ==1404
[2025-04-12 12:06:19] Production.ERROR: pbx CDR StartTime 2025-04-12 09:06:05 - End Time 2025-04-12 12:06:05
[2025-04-12 12:06:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 12:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891448', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891448', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891448', 'tblTempVendorCDR_20' ) start
[2025-04-12 12:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891448', 'tblTempVendorCDR_20' ) end
[2025-04-12 12:06:19] Production.INFO: ProcessCDR(1,14891448,1,1,2)
[2025-04-12 12:06:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891448,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:06:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891448,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:06:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891448,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:06:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891448,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:06:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891448', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:06:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891448', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:06:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 12:06:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 12:06:24] Production.INFO: ==24711== Releasing lock...
[2025-04-12 12:06:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 12:06:24] Production.INFO: 38.5 MB #Memory Used#
[2025-04-12 17:07:01] Production.INFO: ==24768== Lock acquired, processing the job...
[2025-04-12 17:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 17:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 17:07:01] Production.INFO: neon service started
[2025-04-12 17:07:01] Production.INFO: neon service started
[2025-04-12 17:07:01] Production.INFO: ==24768== Releasing lock...
[2025-04-12 17:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 17:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 12:07:02] Production.INFO: ==24771== Lock acquired, processing the job...
[2025-04-12 12:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 12:07:02] Production.INFO: ==24771== Releasing lock...
[2025-04-12 12:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 12:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 16:07:02] Production.INFO: ==24773== Lock acquired, processing the job...
[2025-04-12 16:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 16:07:02] Production.INFO: ==24773== Releasing lock...
[2025-04-12 16:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 16:07:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 12:07:03] Production.INFO: ==24775== Lock acquired, processing the job...
[2025-04-12 12:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 12:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 12:07:03] Production.INFO: ==24779== Lock acquired, processing the job...
[2025-04-12 12:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 12:07:03] Production.INFO: ==24781== Lock acquired, processing the job...
[2025-04-12 12:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 12:07:03] Production.INFO: Account Balance Start.
[2025-04-12 12:07:03] Production.INFO: CreateAllLog Start
[2025-04-12 12:07:03] Production.INFO: 117
[2025-04-12 12:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 12:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 12:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 12:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 12:07:03] Production.INFO: Date 2025-04-08
[2025-04-12 12:07:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:07:03] Production.INFO: Date 2025-04-09
[2025-04-12 12:07:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:07:03] Production.INFO: Date 2025-04-10
[2025-04-12 12:07:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:07:03] Production.INFO: Date 2025-04-11
[2025-04-12 12:07:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:07:03] Production.INFO: ==24777== Lock acquired, processing the job...
[2025-04-12 12:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 12:07:03] Production.INFO: Date 2025-04-12
[2025-04-12 12:07:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:07:03] Production.INFO: Total Charge 0
[2025-04-12 12:07:03] Production.INFO: CreateAllLog End
[2025-04-12 12:07:03] Production.INFO: ==24783== Lock acquired, processing the job...
[2025-04-12 12:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 12:07:03] Production.INFO: ==24785== Lock acquired, processing the job...
[2025-04-12 12:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 12:07:03] Production.INFO: Account Balance End.
[2025-04-12 12:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 12:07:03] Production.ERROR: CronJobId end 12
[2025-04-12 12:07:03] Production.INFO: ==24781== Releasing lock...
[2025-04-12 12:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 12:07:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 12:07:03] Production.INFO: ==24777== Releasing lock...
[2025-04-12 12:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 12:07:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 12:07:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 12:07:04] Production.INFO: count ==12
[2025-04-12 12:07:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 12:07:04] Production.INFO: count ==23
[2025-04-12 12:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891452') start
[2025-04-12 12:07:04] Production.ERROR: done
[2025-04-12 12:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 12:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891452') end
[2025-04-12 12:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 12:07:04] Production.INFO: 1
[2025-04-12 12:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 12:07:04] Production.INFO: ==24785== Releasing lock...
[2025-04-12 12:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 12:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 12:07:04] Production.ERROR: done
[2025-04-12 12:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 09:07:05
[end_date_ymd] => 2025-04-12 12:07:05
[RateCDR] => 1
)
[2025-04-12 12:07:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 09:07:05' and `end` < '2025-04-12 12:07:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 12:07:12] Production.ERROR: CronJobId end10
[2025-04-12 12:07:12] Production.INFO: ==24779== Releasing lock...
[2025-04-12 12:07:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 12:07:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 12:07:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 12:07:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 12:07:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 12:07:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 12:07:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 12:07:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 12:07:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 12:07:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 12:07:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 12:07:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 12:07:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 12:07:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 12:07:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 12:07:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 12:07:14] Production.INFO: call_cost start
[2025-04-12 12:07:14] Production.INFO: call_cost end
[2025-04-12 12:07:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 12:07:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 12:07:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 12:07:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 12:07:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 12:07:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 12:07:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 12:07:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 12:07:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 12:07:15] Production.INFO: ==24775== Releasing lock...
[2025-04-12 12:07:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 12:07:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 12:07:18] Production.INFO: count ==1407
[2025-04-12 12:07:18] Production.ERROR: pbx CDR StartTime 2025-04-12 09:07:05 - End Time 2025-04-12 12:07:05
[2025-04-12 12:07:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 12:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891453', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891453', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891453', 'tblTempVendorCDR_20' ) start
[2025-04-12 12:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891453', 'tblTempVendorCDR_20' ) end
[2025-04-12 12:07:18] Production.INFO: ProcessCDR(1,14891453,1,1,2)
[2025-04-12 12:07:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891453,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:07:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891453,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:07:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891453,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:07:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891453,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:07:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891453', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:07:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891453', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:07:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 12:07:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 12:07:23] Production.INFO: ==24783== Releasing lock...
[2025-04-12 12:07:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 12:07:23] Production.INFO: 38.5 MB #Memory Used#
[2025-04-12 17:08:02] Production.INFO: ==24844== Lock acquired, processing the job...
[2025-04-12 17:08:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 17:08:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 17:08:02] Production.INFO: neon service started
[2025-04-12 17:08:02] Production.INFO: neon service started
[2025-04-12 17:08:02] Production.INFO: ==24844== Releasing lock...
[2025-04-12 17:08:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 17:08:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 12:08:02] Production.INFO: ==24846== Lock acquired, processing the job...
[2025-04-12 12:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 12:08:02] Production.INFO: ==24846== Releasing lock...
[2025-04-12 12:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 12:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 16:08:03] Production.INFO: ==24848== Lock acquired, processing the job...
[2025-04-12 16:08:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 16:08:03] Production.INFO: ==24848== Releasing lock...
[2025-04-12 16:08:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 16:08:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 12:08:03] Production.INFO: ==24851== Lock acquired, processing the job...
[2025-04-12 12:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 12:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 12:08:03] Production.INFO: ==24853== Lock acquired, processing the job...
[2025-04-12 12:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 12:08:03] Production.INFO: ==24861== Lock acquired, processing the job...
[2025-04-12 12:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 12:08:03] Production.INFO: ==24857== Lock acquired, processing the job...
[2025-04-12 12:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 12:08:04] Production.INFO: Account Balance Start.
[2025-04-12 12:08:04] Production.INFO: CreateAllLog Start
[2025-04-12 12:08:04] Production.INFO: 117
[2025-04-12 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-12 12:08:04] Production.INFO: Date 2025-04-08
[2025-04-12 12:08:04] Production.INFO: count ==12
[2025-04-12 12:08:04] Production.INFO: ==24859== Lock acquired, processing the job...
[2025-04-12 12:08:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 12:08:04] Production.INFO: ==24855== Lock acquired, processing the job...
[2025-04-12 12:08:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 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-12 12:08:04] Production.INFO: count ==23
[2025-04-12 12:08:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:08:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 12:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891455') start
[2025-04-12 12:08:04] Production.INFO: Date 2025-04-09
[2025-04-12 12:08:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:08:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 12:08:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 12:08:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 12:08:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 12:08:04] Production.INFO: Date 2025-04-10
[2025-04-12 12:08:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:08:04] Production.INFO: Date 2025-04-11
[2025-04-12 12:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891455') end
[2025-04-12 12:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 12:08:04] Production.INFO: 1
[2025-04-12 12:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 12:08:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:08:04] Production.INFO: ==24853== Releasing lock...
[2025-04-12 12:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 12:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 12:08:04] Production.INFO: Date 2025-04-12
[2025-04-12 12:08:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:08:04] Production.INFO: Total Charge 0
[2025-04-12 12:08:04] Production.INFO: CreateAllLog End
[2025-04-12 12:08:04] Production.INFO: ==24861== Releasing lock...
[2025-04-12 12:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 12:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 12:08:04] Production.ERROR: done
[2025-04-12 12:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 12:08:04] Production.ERROR: done
[2025-04-12 12:08:05] Production.INFO: Account Balance End.
[2025-04-12 12:08:05] Production.ERROR: CronJobId end 12
[2025-04-12 12:08:05] Production.INFO: ==24857== Releasing lock...
[2025-04-12 12:08:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 12:08:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 12:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 09:08:05
[end_date_ymd] => 2025-04-12 12:08:05
[RateCDR] => 1
)
[2025-04-12 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-12 09:08:05' and `end` < '2025-04-12 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-12 12:08:13] Production.ERROR: CronJobId end10
[2025-04-12 12:08:13] Production.INFO: ==24855== Releasing lock...
[2025-04-12 12:08:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 12:08:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 12:08:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 12:08:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 12:08:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 12:08:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 12:08:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 12:08:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 12:08:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 12:08:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 12:08:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 12:08:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 12:08:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 12:08:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 12:08:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 12:08:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 12:08:14] Production.INFO: call_cost start
[2025-04-12 12:08:14] Production.INFO: call_cost end
[2025-04-12 12:08:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 12:08:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 12:08:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 12:08:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 12:08:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 12:08:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 12:08:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 12:08:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 12:08:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 12:08:15] Production.INFO: ==24851== Releasing lock...
[2025-04-12 12:08:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 12:08:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 12:08:18] Production.INFO: count ==1408
[2025-04-12 12:08:19] Production.ERROR: pbx CDR StartTime 2025-04-12 09:08:05 - End Time 2025-04-12 12:08:05
[2025-04-12 12:08:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 12:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891458', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891458', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891458', 'tblTempVendorCDR_20' ) start
[2025-04-12 12:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891458', 'tblTempVendorCDR_20' ) end
[2025-04-12 12:08:19] Production.INFO: ProcessCDR(1,14891458,1,1,2)
[2025-04-12 12:08:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891458,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:08:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891458,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:08:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891458,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:08:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891458,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:08:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891458', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:08:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891458', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:08:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 12:08:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 12:08:24] Production.INFO: ==24859== Releasing lock...
[2025-04-12 12:08:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 12:08:24] Production.INFO: 38.75 MB #Memory Used#
[2025-04-12 17:09:01] Production.INFO: ==24922== Lock acquired, processing the job...
[2025-04-12 17:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 17:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 17:09:01] Production.INFO: neon service started
[2025-04-12 17:09:01] Production.INFO: neon service started
[2025-04-12 17:09:01] Production.INFO: ==24922== Releasing lock...
[2025-04-12 17:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 17:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 12:09:02] Production.INFO: ==24924== Lock acquired, processing the job...
[2025-04-12 12:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 16:09:02] Production.INFO: ==24926== Lock acquired, processing the job...
[2025-04-12 16:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 16:09:02] Production.INFO: ==24926== Releasing lock...
[2025-04-12 16:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 16:09:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 12:09:02] Production.INFO: ==24924== Releasing lock...
[2025-04-12 12:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 12:09:02] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 12:09:03] Production.INFO: ==24931== Lock acquired, processing the job...
[2025-04-12 12:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 12:09:03] Production.INFO: ==24933== Lock acquired, processing the job...
[2025-04-12 12:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 12:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 12:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 12:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 12:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 12:09:03] Production.INFO: ==24937== Lock acquired, processing the job...
[2025-04-12 12:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 12:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 12:09:03] Production.INFO: ==24929== Lock acquired, processing the job...
[2025-04-12 12:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 12:09:03] Production.INFO: ==24935== Lock acquired, processing the job...
[2025-04-12 12:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 12:09:03] Production.INFO: ==24939== Lock acquired, processing the job...
[2025-04-12 12:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 12:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 12:09:03] Production.INFO: Account Balance Start.
[2025-04-12 12:09:03] Production.INFO: CreateAllLog Start
[2025-04-12 12:09:03] Production.INFO: 117
[2025-04-12 12:09:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 12:09:03] Production.INFO: ==24931== Releasing lock...
[2025-04-12 12:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 12:09:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 12:09:03] Production.INFO: Date 2025-04-08
[2025-04-12 12:09:03] Production.INFO: count ==12
[2025-04-12 12:09:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:09:03] Production.INFO: Date 2025-04-09
[2025-04-12 12:09:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:09:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 12:09:04] Production.INFO: count ==23
[2025-04-12 12:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891461') start
[2025-04-12 12:09:04] Production.ERROR: done
[2025-04-12 12:09:04] Production.INFO: Date 2025-04-10
[2025-04-12 12:09:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 12:09:04] Production.INFO: Date 2025-04-11
[2025-04-12 12:09:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891461') end
[2025-04-12 12:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 12:09:04] Production.INFO: 1
[2025-04-12 12:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 12:09:04] Production.INFO: Date 2025-04-12
[2025-04-12 12:09:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:09:04] Production.INFO: Total Charge 0
[2025-04-12 12:09:04] Production.INFO: CreateAllLog End
[2025-04-12 12:09:04] Production.INFO: ==24939== Releasing lock...
[2025-04-12 12:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 12:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 12:09:04] Production.ERROR: done
[2025-04-12 12:09:04] Production.INFO: Account Balance End.
[2025-04-12 12:09:04] Production.ERROR: CronJobId end 12
[2025-04-12 12:09:04] Production.INFO: ==24935== Releasing lock...
[2025-04-12 12:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 12:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 12:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 09:09:05
[end_date_ymd] => 2025-04-12 12:09:05
[RateCDR] => 1
)
[2025-04-12 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-12 09:09:05' and `end` < '2025-04-12 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-12 12:09:11] Production.ERROR: CronJobId end10
[2025-04-12 12:09:11] Production.INFO: ==24933== Releasing lock...
[2025-04-12 12:09:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 12:09:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 12:09:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 12:09:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 12:09:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 12:09:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 12:09:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 12:09:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 12:09:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 12:09:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 12:09:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 12:09:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 12:09:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 12:09:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 12:09:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 12:09:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 12:09:14] Production.INFO: call_cost start
[2025-04-12 12:09:14] Production.INFO: call_cost end
[2025-04-12 12:09:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 12:09:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 12:09:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 12:09:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 12:09:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 12:09:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 12:09:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 12:09:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 12:09:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 12:09:15] Production.INFO: ==24929== Releasing lock...
[2025-04-12 12:09:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 12:09:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 12:09:18] Production.INFO: count ==1409
[2025-04-12 12:09:18] Production.ERROR: pbx CDR StartTime 2025-04-12 09:09:05 - End Time 2025-04-12 12:09:05
[2025-04-12 12:09:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 12:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891463', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891463', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891463', 'tblTempVendorCDR_20' ) start
[2025-04-12 12:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891463', 'tblTempVendorCDR_20' ) end
[2025-04-12 12:09:18] Production.INFO: ProcessCDR(1,14891463,1,1,2)
[2025-04-12 12:09:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891463,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:09:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891463,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:09:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891463,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:09:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891463,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:09:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891463', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:09:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891463', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:09:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 12:09:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 12:09:23] Production.INFO: ==24937== Releasing lock...
[2025-04-12 12:09:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 12:09:23] Production.INFO: 38.5 MB #Memory Used#
[2025-04-12 17:10:02] Production.INFO: ==24998== Lock acquired, processing the job...
[2025-04-12 17:10:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 17:10:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 17:10:02] Production.INFO: neon service started
[2025-04-12 17:10:02] Production.INFO: neon service started
[2025-04-12 17:10:02] Production.INFO: ==24998== Releasing lock...
[2025-04-12 17:10:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 17:10:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 16:10:02] Production.INFO: ==25003== Lock acquired, processing the job...
[2025-04-12 16:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 16:10:02] Production.INFO: ==25003== Releasing lock...
[2025-04-12 16:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 16:10:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 12:10:02] Production.INFO: ==25001== Lock acquired, processing the job...
[2025-04-12 12:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 12:10:03] Production.INFO: ==25001== Releasing lock...
[2025-04-12 12:10:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 12:10:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 12:10:03] Production.INFO: ==25005== Lock acquired, processing the job...
[2025-04-12 12:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 12:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 12:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 12:10:04] Production.INFO: ==25005== Releasing lock...
[2025-04-12 12:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 12:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 12:10:04] Production.INFO: ==25007== Lock acquired, processing the job...
[2025-04-12 12:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 12:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 12:10:04] Production.INFO: ==25009== Lock acquired, processing the job...
[2025-04-12 12:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 12:10:04] Production.INFO: ==25017== Lock acquired, processing the job...
[2025-04-12 12:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 12:10:04] Production.INFO: ==25011== Lock acquired, processing the job...
[2025-04-12 12:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 12:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 12:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 12:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 12:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 12:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 12:10:04] Production.INFO: ==25013== Lock acquired, processing the job...
[2025-04-12 12:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 12:10:04] Production.INFO: ==25015== Lock acquired, processing the job...
[2025-04-12 12:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 12:10:04] Production.INFO: ==25019== Lock acquired, processing the job...
[2025-04-12 12:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 12:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 12:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 12:10:04] Production.INFO: count ==12
[2025-04-12 12:10:04] Production.ERROR: done
[2025-04-12 12:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 12:10:04] Production.INFO: Account Balance Start.
[2025-04-12 12:10:04] Production.INFO: CreateAllLog Start
[2025-04-12 12:10:04] Production.INFO: 117
[2025-04-12 12:10:04] Production.INFO: count ==23
[2025-04-12 12:10:04] Production.INFO: Date 2025-04-08
[2025-04-12 12:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891466') start
[2025-04-12 12:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 12:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14891468', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 12:10:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:10:04] Production.INFO: ==25009== Releasing lock...
[2025-04-12 12:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 12:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 12:10:04] Production.INFO: Date 2025-04-09
[2025-04-12 12:10:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:10:04] Production.INFO: Date 2025-04-10
[2025-04-12 12:10:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891466') end
[2025-04-12 12:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 12:10:04] Production.INFO: 1
[2025-04-12 12:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 12:10:04] Production.INFO: Date 2025-04-11
[2025-04-12 12:10:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:10:04] Production.INFO: Date 2025-04-12
[2025-04-12 12:10:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:10:05] Production.INFO: ==25019== Releasing lock...
[2025-04-12 12:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 12:10:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 12:10:05] Production.ERROR: done
[2025-04-12 12:10:05] Production.INFO: Total Charge 0
[2025-04-12 12:10:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 12:10:05] Production.INFO: CreateAllLog End
[2025-04-12 12:10:05] Production.ERROR: done
[2025-04-12 12:10:05] Production.INFO: Account Balance End.
[2025-04-12 12:10:05] Production.ERROR: CronJobId end 12
[2025-04-12 12:10:05] Production.INFO: ==25013== Releasing lock...
[2025-04-12 12:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 12:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 12:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 09:10:06
[end_date_ymd] => 2025-04-12 12:10:06
[RateCDR] => 1
)
[2025-04-12 12:10:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 09:10:06' and `end` < '2025-04-12 12:10:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 12:10:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14891468', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 12:10:10] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 12:10:10] Production.INFO: ProcessCDR(1,14891468,1,1,2)
[2025-04-12 12:10:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14891468,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:10:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14891468,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:10:10] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 12:10:10] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 12:10:10] Production.INFO: ==25017== Releasing lock...
[2025-04-12 12:10:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 12:10:10] Production.INFO: 26 MB #Memory Used#
[2025-04-12 12:10:15] Production.ERROR: CronJobId end10
[2025-04-12 12:10:15] Production.INFO: ==25011== Releasing lock...
[2025-04-12 12:10:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 12:10:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 12:10:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 12:10:16] Production.INFO: ============== Balance Warning START===========
[2025-04-12 12:10:16] Production.INFO: ============== Balance Warning END===========
[2025-04-12 12:10:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 12:10:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 12:10:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 12:10:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 12:10:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 12:10:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 12:10:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 12:10:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 12:10:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 12:10:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 12:10:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 12:10:17] Production.INFO: call_cost start
[2025-04-12 12:10:17] Production.INFO: call_cost end
[2025-04-12 12:10:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 12:10:18] Production.INFO: ============== Report Schedule START===========
[2025-04-12 12:10:18] Production.INFO: ============== Report Schedule END===========
[2025-04-12 12:10:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 12:10:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 12:10:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 12:10:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 12:10:18] Production.INFO: ============== Deal alert START===========
[2025-04-12 12:10:18] Production.INFO: ============== Deal alert END===========
[2025-04-12 12:10:18] Production.INFO: ==25007== Releasing lock...
[2025-04-12 12:10:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 12:10:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 12:10:19] Production.INFO: count ==1409
[2025-04-12 12:10:19] Production.ERROR: pbx CDR StartTime 2025-04-12 09:10:06 - End Time 2025-04-12 12:10:06
[2025-04-12 12:10:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 12:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891469', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891469', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891469', 'tblTempVendorCDR_20' ) start
[2025-04-12 12:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891469', 'tblTempVendorCDR_20' ) end
[2025-04-12 12:10:19] Production.INFO: ProcessCDR(1,14891469,1,1,2)
[2025-04-12 12:10:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891469,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:10:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891469,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:10:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891469,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:10:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891469,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:10:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891469', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:10:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891469', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:10:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 12:10:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 12:10:23] Production.INFO: ==25015== Releasing lock...
[2025-04-12 12:10:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 12:10:23] Production.INFO: 38.5 MB #Memory Used#
[2025-04-12 17:11:01] Production.INFO: ==25075== Lock acquired, processing the job...
[2025-04-12 17:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 17:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 17:11:01] Production.INFO: neon service started
[2025-04-12 17:11:01] Production.INFO: neon service started
[2025-04-12 17:11:01] Production.INFO: ==25075== Releasing lock...
[2025-04-12 17:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 17:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 12:11:01] Production.INFO: ==25077== Lock acquired, processing the job...
[2025-04-12 12:11:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 16:11:02] Production.INFO: ==25079== Lock acquired, processing the job...
[2025-04-12 16:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 12:11:02] Production.INFO: ==25077== Releasing lock...
[2025-04-12 12:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 12:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 16:11:02] Production.INFO: ==25079== Releasing lock...
[2025-04-12 16:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 16:11:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 12:11:03] Production.INFO: ==25087== Lock acquired, processing the job...
[2025-04-12 12:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 12:11:03] Production.INFO: ==25085== Lock acquired, processing the job...
[2025-04-12 12:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 12:11:03] Production.INFO: Account Balance Start.
[2025-04-12 12:11:03] Production.INFO: CreateAllLog Start
[2025-04-12 12:11:03] Production.INFO: 117
[2025-04-12 12:11:03] Production.INFO: Date 2025-04-08
[2025-04-12 12:11:03] Production.INFO: ==25091== Lock acquired, processing the job...
[2025-04-12 12:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 12:11:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 12:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 12:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 12:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 12:11:03] Production.INFO: Date 2025-04-09
[2025-04-12 12:11:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:11:03] Production.INFO: Date 2025-04-10
[2025-04-12 12:11:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:11:03] Production.INFO: ==25081== Lock acquired, processing the job...
[2025-04-12 12:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 12:11:03] Production.INFO: Date 2025-04-11
[2025-04-12 12:11:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:11:03] Production.INFO: Date 2025-04-12
[2025-04-12 12:11:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:11:03] Production.INFO: ==25083== Lock acquired, processing the job...
[2025-04-12 12:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 12:11:03] Production.INFO: Total Charge 0
[2025-04-12 12:11:03] Production.INFO: CreateAllLog End
[2025-04-12 12:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 12:11:03] Production.INFO: ==25089== Lock acquired, processing the job...
[2025-04-12 12:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 12:11:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 12:11:03] Production.INFO: count ==12
[2025-04-12 12:11:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 12:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 12:11:03] Production.INFO: count ==23
[2025-04-12 12:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891471') start
[2025-04-12 12:11:03] Production.INFO: Account Balance End.
[2025-04-12 12:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891471') end
[2025-04-12 12:11:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 12:11:03] Production.INFO: 1
[2025-04-12 12:11:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 12:11:03] Production.ERROR: CronJobId end 12
[2025-04-12 12:11:03] Production.INFO: ==25087== Releasing lock...
[2025-04-12 12:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 12:11:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 12:11:03] Production.INFO: ==25091== Releasing lock...
[2025-04-12 12:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 12:11:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 12:11:03] Production.INFO: ==25083== Releasing lock...
[2025-04-12 12:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 12:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 12:11:03] Production.ERROR: done
[2025-04-12 12:11:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 12:11:04] Production.ERROR: done
[2025-04-12 12:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 09:11:05
[end_date_ymd] => 2025-04-12 12:11:05
[RateCDR] => 1
)
[2025-04-12 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-12 09:11:05' and `end` < '2025-04-12 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-12 12:11:11] Production.ERROR: CronJobId end10
[2025-04-12 12:11:11] Production.INFO: ==25085== Releasing lock...
[2025-04-12 12:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 12:11:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 12:11:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 12:11:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 12:11:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 12:11:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 12:11:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 12:11:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 12:11:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 12:11:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 12:11:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 12:11:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 12:11:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 12:11:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 12:11:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 12:11:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 12:11:14] Production.INFO: call_cost start
[2025-04-12 12:11:14] Production.INFO: call_cost end
[2025-04-12 12:11:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 12:11:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 12:11:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 12:11:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 12:11:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 12:11:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 12:11:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 12:11:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 12:11:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 12:11:15] Production.INFO: ==25081== Releasing lock...
[2025-04-12 12:11:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 12:11:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 12:11:18] Production.INFO: count ==1430
[2025-04-12 12:11:18] Production.ERROR: pbx CDR StartTime 2025-04-12 09:11:05 - End Time 2025-04-12 12:11:05
[2025-04-12 12:11:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 12:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891474', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891474', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891474', 'tblTempVendorCDR_20' ) start
[2025-04-12 12:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891474', 'tblTempVendorCDR_20' ) end
[2025-04-12 12:11:18] Production.INFO: ProcessCDR(1,14891474,1,1,2)
[2025-04-12 12:11:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891474,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:11:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891474,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:11:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891474,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:11:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891474,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:11:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891474', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:11:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891474', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:11:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 12:11:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 12:11:23] Production.INFO: ==25089== Releasing lock...
[2025-04-12 12:11:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 12:11:23] Production.INFO: 38.75 MB #Memory Used#
[2025-04-12 17:12:01] Production.INFO: ==25150== Lock acquired, processing the job...
[2025-04-12 17:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 17:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 17:12:02] Production.INFO: neon service started
[2025-04-12 17:12:02] Production.INFO: neon service started
[2025-04-12 17:12:02] Production.INFO: ==25150== Releasing lock...
[2025-04-12 17:12:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 17:12:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 16:12:02] Production.INFO: ==25154== Lock acquired, processing the job...
[2025-04-12 16:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 16:12:02] Production.INFO: ==25154== Releasing lock...
[2025-04-12 16:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 16:12:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 12:12:02] Production.INFO: ==25152== Lock acquired, processing the job...
[2025-04-12 12:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 12:12:02] Production.INFO: ==25152== Releasing lock...
[2025-04-12 12:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 12:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 12:12:03] Production.INFO: ==25159== Lock acquired, processing the job...
[2025-04-12 12:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 12:12:03] Production.INFO: ==25161== Lock acquired, processing the job...
[2025-04-12 12:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 12:12:03] Production.INFO: ==25163== Lock acquired, processing the job...
[2025-04-12 12:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 12:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 12:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 12:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 12:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 12:12:03] Production.INFO: ==25157== Lock acquired, processing the job...
[2025-04-12 12:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 12:12:03] Production.INFO: Account Balance Start.
[2025-04-12 12:12:03] Production.INFO: CreateAllLog Start
[2025-04-12 12:12:03] Production.INFO: 117
[2025-04-12 12:12:03] Production.INFO: Date 2025-04-08
[2025-04-12 12:12:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 12:12:03] Production.INFO: ==25159== Releasing lock...
[2025-04-12 12:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 12:12:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 12:12:03] Production.INFO: Date 2025-04-09
[2025-04-12 12:12:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:12:03] Production.INFO: Date 2025-04-10
[2025-04-12 12:12:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:12:03] Production.INFO: Date 2025-04-11
[2025-04-12 12:12:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:12:04] Production.INFO: Date 2025-04-12
[2025-04-12 12:12:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:12:04] Production.INFO: ==25165== Lock acquired, processing the job...
[2025-04-12 12:12:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 12:12:04] Production.INFO: ==25167== Lock acquired, processing the job...
[2025-04-12 12:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 12:12:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 12:12:04] Production.INFO: Total Charge 0
[2025-04-12 12:12:04] Production.INFO: CreateAllLog End
[2025-04-12 12:12:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 12:12:04] Production.INFO: count ==12
[2025-04-12 12:12:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 12:12:04] Production.ERROR: done
[2025-04-12 12:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 12:12:04] Production.INFO: count ==23
[2025-04-12 12:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891478') start
[2025-04-12 12:12:04] Production.INFO: Account Balance End.
[2025-04-12 12:12:04] Production.ERROR: CronJobId end 12
[2025-04-12 12:12:04] Production.INFO: ==25163== Releasing lock...
[2025-04-12 12:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 12:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 12:12:04] Production.ERROR: done
[2025-04-12 12:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891478') end
[2025-04-12 12:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 12:12:04] Production.INFO: 1
[2025-04-12 12:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 12:12:04] Production.INFO: ==25167== Releasing lock...
[2025-04-12 12:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 12:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 12:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 09:12:05
[end_date_ymd] => 2025-04-12 12:12:05
[RateCDR] => 1
)
[2025-04-12 12:12:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 09:12:05' and `end` < '2025-04-12 12:12:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 12:12:11] Production.ERROR: CronJobId end10
[2025-04-12 12:12:11] Production.INFO: ==25161== Releasing lock...
[2025-04-12 12:12:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 12:12:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 12:12:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 12:12:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 12:12:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 12:12:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 12:12:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 12:12:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 12:12:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 12:12:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 12:12:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 12:12:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 12:12:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 12:12:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 12:12:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 12:12:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 12:12:14] Production.INFO: call_cost start
[2025-04-12 12:12:14] Production.INFO: call_cost end
[2025-04-12 12:12:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 12:12:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 12:12:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 12:12:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 12:12:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 12:12:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 12:12:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 12:12:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 12:12:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 12:12:15] Production.INFO: ==25157== Releasing lock...
[2025-04-12 12:12:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 12:12:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 12:12:18] Production.INFO: count ==1431
[2025-04-12 12:12:19] Production.ERROR: pbx CDR StartTime 2025-04-12 09:12:05 - End Time 2025-04-12 12:12:05
[2025-04-12 12:12:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 12:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891479', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891479', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891479', 'tblTempVendorCDR_20' ) start
[2025-04-12 12:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891479', 'tblTempVendorCDR_20' ) end
[2025-04-12 12:12:19] Production.INFO: ProcessCDR(1,14891479,1,1,2)
[2025-04-12 12:12:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891479,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:12:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891479,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:12:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891479,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:12:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891479,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:12:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891479', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:12:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891479', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:12:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 12:12:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 12:12:24] Production.INFO: ==25165== Releasing lock...
[2025-04-12 12:12:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 12:12:24] Production.INFO: 38.75 MB #Memory Used#
[2025-04-12 17:13:01] Production.INFO: ==25220== Lock acquired, processing the job...
[2025-04-12 17:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 17:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 17:13:01] Production.INFO: neon service started
[2025-04-12 17:13:01] Production.INFO: neon service started
[2025-04-12 17:13:01] Production.INFO: ==25220== Releasing lock...
[2025-04-12 17:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 17:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 16:13:01] Production.INFO: ==25224== Lock acquired, processing the job...
[2025-04-12 16:13:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 16:13:01] Production.INFO: ==25224== Releasing lock...
[2025-04-12 16:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 16:13:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 12:13:02] Production.INFO: ==25222== Lock acquired, processing the job...
[2025-04-12 12:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 12:13:02] Production.INFO: ==25222== Releasing lock...
[2025-04-12 12:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 12:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 12:13:03] Production.INFO: ==25235== Lock acquired, processing the job...
[2025-04-12 12:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 12:13:03] Production.INFO: ==25237== Lock acquired, processing the job...
[2025-04-12 12:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 12:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 12:13:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 12:13:03] Production.INFO: ==25227== Lock acquired, processing the job...
[2025-04-12 12:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 12:13:03] Production.INFO: count ==12
[2025-04-12 12:13:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 12:13:03] Production.INFO: count ==23
[2025-04-12 12:13:03] Production.INFO: ==25233== Lock acquired, processing the job...
[2025-04-12 12:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 12:13:03] Production.INFO: ==25229== Lock acquired, processing the job...
[2025-04-12 12:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 12:13:03] Production.INFO: ==25231== Lock acquired, processing the job...
[2025-04-12 12:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 12:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891480') start
[2025-04-12 12:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 12:13:03] Production.ERROR: done
[2025-04-12 12:13:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 12:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 12:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 12:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 12:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 12:13:03] Production.INFO: Account Balance Start.
[2025-04-12 12:13:03] Production.INFO: CreateAllLog Start
[2025-04-12 12:13:03] Production.INFO: 117
[2025-04-12 12:13:03] Production.INFO: Date 2025-04-08
[2025-04-12 12:13:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891480') end
[2025-04-12 12:13:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 12:13:03] Production.INFO: 1
[2025-04-12 12:13:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 12:13:03] Production.INFO: ==25237== Releasing lock...
[2025-04-12 12:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 12:13:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 12:13:03] Production.ERROR: done
[2025-04-12 12:13:03] Production.INFO: Date 2025-04-09
[2025-04-12 12:13:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:13:04] Production.INFO: Date 2025-04-10
[2025-04-12 12:13:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:13:04] Production.INFO: Date 2025-04-11
[2025-04-12 12:13:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:13:04] Production.INFO: Date 2025-04-12
[2025-04-12 12:13:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:13:04] Production.INFO: ==25229== Releasing lock...
[2025-04-12 12:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 12:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 12:13:04] Production.INFO: Total Charge 0
[2025-04-12 12:13:04] Production.INFO: CreateAllLog End
[2025-04-12 12:13:04] Production.INFO: Account Balance End.
[2025-04-12 12:13:04] Production.ERROR: CronJobId end 12
[2025-04-12 12:13:04] Production.INFO: ==25233== Releasing lock...
[2025-04-12 12:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 12:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 12:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 09:13:05
[end_date_ymd] => 2025-04-12 12:13:05
[RateCDR] => 1
)
[2025-04-12 12:13:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 09:13:05' and `end` < '2025-04-12 12:13:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 12:13:12] Production.ERROR: CronJobId end10
[2025-04-12 12:13:12] Production.INFO: ==25231== Releasing lock...
[2025-04-12 12:13:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 12:13:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 12:13:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 12:13:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 12:13:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 12:13:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 12:13:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 12:13:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 12:13:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 12:13:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 12:13:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 12:13:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 12:13:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 12:13:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 12:13:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 12:13:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 12:13:14] Production.INFO: call_cost start
[2025-04-12 12:13:14] Production.INFO: call_cost end
[2025-04-12 12:13:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 12:13:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 12:13:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 12:13:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 12:13:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 12:13:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 12:13:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 12:13:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 12:13:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 12:13:15] Production.INFO: ==25227== Releasing lock...
[2025-04-12 12:13:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 12:13:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 12:13:18] Production.INFO: count ==1419
[2025-04-12 12:13:18] Production.ERROR: pbx CDR StartTime 2025-04-12 09:13:05 - End Time 2025-04-12 12:13:05
[2025-04-12 12:13:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 12:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891484', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891484', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891484', 'tblTempVendorCDR_20' ) start
[2025-04-12 12:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891484', 'tblTempVendorCDR_20' ) end
[2025-04-12 12:13:18] Production.INFO: ProcessCDR(1,14891484,1,1,2)
[2025-04-12 12:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891484,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:13:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891484,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:13:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891484,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:13:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891484,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891484', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891484', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:13:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 12:13:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 12:13:21] Production.INFO: ==25235== Releasing lock...
[2025-04-12 12:13:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 12:13:21] Production.INFO: 39 MB #Memory Used#
[2025-04-12 17:14:02] Production.INFO: ==25300== Lock acquired, processing the job...
[2025-04-12 17:14:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 17:14:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 17:14:02] Production.INFO: neon service started
[2025-04-12 17:14:02] Production.INFO: neon service started
[2025-04-12 17:14:02] Production.INFO: ==25300== Releasing lock...
[2025-04-12 17:14:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 17:14:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 12:14:02] Production.INFO: ==25302== Lock acquired, processing the job...
[2025-04-12 12:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 12:14:02] Production.INFO: ==25302== Releasing lock...
[2025-04-12 12:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 12:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 16:14:02] Production.INFO: ==25304== Lock acquired, processing the job...
[2025-04-12 16:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 16:14:02] Production.INFO: ==25304== Releasing lock...
[2025-04-12 16:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 16:14:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 12:14:03] Production.INFO: ==25311== Lock acquired, processing the job...
[2025-04-12 12:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 12:14:03] Production.INFO: ==25315== Lock acquired, processing the job...
[2025-04-12 12:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 12:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 12:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 12:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 12:14:03] Production.INFO: ==25307== Lock acquired, processing the job...
[2025-04-12 12:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 12:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 12:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 12:14:04] Production.INFO: ==25309== Lock acquired, processing the job...
[2025-04-12 12:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 12:14:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 12:14:04] Production.INFO: ==25313== Lock acquired, processing the job...
[2025-04-12 12:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 12:14:04] Production.INFO: ==25317== Lock acquired, processing the job...
[2025-04-12 12:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 12:14:04] Production.INFO: Account Balance Start.
[2025-04-12 12:14:04] Production.INFO: CreateAllLog Start
[2025-04-12 12:14:04] Production.INFO: 117
[2025-04-12 12:14:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 12:14:04] Production.ERROR: done
[2025-04-12 12:14:04] Production.INFO: Date 2025-04-08
[2025-04-12 12:14:04] Production.INFO: count ==12
[2025-04-12 12:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 12:14:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 12:14:04] Production.INFO: count ==23
[2025-04-12 12:14:04] Production.INFO: Date 2025-04-09
[2025-04-12 12:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891488') start
[2025-04-12 12:14:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:14:04] Production.INFO: Date 2025-04-10
[2025-04-12 12:14:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:14:04] Production.ERROR: done
[2025-04-12 12:14:04] Production.INFO: Date 2025-04-11
[2025-04-12 12:14:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891488') end
[2025-04-12 12:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 12:14:04] Production.INFO: 1
[2025-04-12 12:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 12:14:04] Production.INFO: Date 2025-04-12
[2025-04-12 12:14:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:14:04] Production.INFO: Total Charge 0
[2025-04-12 12:14:04] Production.INFO: ==25317== Releasing lock...
[2025-04-12 12:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 12:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 12:14:04] Production.INFO: CreateAllLog End
[2025-04-12 12:14:04] Production.INFO: ==25309== Releasing lock...
[2025-04-12 12:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 12:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 12:14:04] Production.INFO: Account Balance End.
[2025-04-12 12:14:04] Production.ERROR: CronJobId end 12
[2025-04-12 12:14:04] Production.INFO: ==25313== Releasing lock...
[2025-04-12 12:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 12:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 12:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 09:14:05
[end_date_ymd] => 2025-04-12 12:14:05
[RateCDR] => 1
)
[2025-04-12 12:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 09:14:05' and `end` < '2025-04-12 12:14:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 12:14:11] Production.ERROR: CronJobId end10
[2025-04-12 12:14:11] Production.INFO: ==25311== Releasing lock...
[2025-04-12 12:14:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 12:14:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 12:14:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 12:14:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 12:14:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 12:14:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 12:14:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 12:14:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 12:14:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 12:14:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 12:14:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 12:14:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 12:14:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 12:14:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 12:14:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 12:14:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 12:14:15] Production.INFO: call_cost start
[2025-04-12 12:14:15] Production.INFO: call_cost end
[2025-04-12 12:14:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 12:14:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 12:14:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 12:14:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 12:14:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 12:14:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 12:14:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 12:14:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 12:14:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 12:14:16] Production.INFO: ==25307== Releasing lock...
[2025-04-12 12:14:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 12:14:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 12:14:18] Production.INFO: count ==1425
[2025-04-12 12:14:18] Production.ERROR: pbx CDR StartTime 2025-04-12 09:14:05 - End Time 2025-04-12 12:14:05
[2025-04-12 12:14:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 12:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891489', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891489', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891489', 'tblTempVendorCDR_20' ) start
[2025-04-12 12:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891489', 'tblTempVendorCDR_20' ) end
[2025-04-12 12:14:18] Production.INFO: ProcessCDR(1,14891489,1,1,2)
[2025-04-12 12:14:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891489,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:14:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891489,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:14:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891489,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:14:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891489,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:14:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891489', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:14:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891489', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:14:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 12:14:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 12:14:24] Production.INFO: ==25315== Releasing lock...
[2025-04-12 12:14:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 12:14:24] Production.INFO: 38.5 MB #Memory Used#
[2025-04-12 17:15:01] Production.INFO: ==25416== Lock acquired, processing the job...
[2025-04-12 17:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 17:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 17:15:01] Production.INFO: neon service started
[2025-04-12 17:15:01] Production.INFO: neon service started
[2025-04-12 17:15:01] Production.INFO: ==25416== Releasing lock...
[2025-04-12 17:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 17:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 12:15:02] Production.INFO: ==25418== Lock acquired, processing the job...
[2025-04-12 12:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 16:15:02] Production.INFO: ==25420== Lock acquired, processing the job...
[2025-04-12 16:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 12:15:02] Production.INFO: ==25418== Releasing lock...
[2025-04-12 12:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 12:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 16:15:02] Production.INFO: ==25420== Releasing lock...
[2025-04-12 16:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 16:15:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 12:15:03] Production.INFO: ==25429== Lock acquired, processing the job...
[2025-04-12 12:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 12:15:03] Production.INFO: ==25433== Lock acquired, processing the job...
[2025-04-12 12:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 12:15:03] Production.INFO: ==25422== Lock acquired, processing the job...
[2025-04-12 12:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 12:15:03] Production.INFO: Account Balance Start.
[2025-04-12 12:15:03] Production.INFO: CreateAllLog Start
[2025-04-12 12:15:03] Production.INFO: 117
[2025-04-12 12:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 12:15:03] Production.INFO: Date 2025-04-08
[2025-04-12 12:15:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 12:15:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:15:03] Production.INFO: count ==12
[2025-04-12 12:15:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 12:15:03] Production.INFO: count ==23
[2025-04-12 12:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891491') start
[2025-04-12 12:15:03] Production.INFO: Date 2025-04-09
[2025-04-12 12:15:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:15:03] Production.INFO: ==25424== Lock acquired, processing the job...
[2025-04-12 12:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 12:15:03] Production.INFO: ==25426== Lock acquired, processing the job...
[2025-04-12 12:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 12:15:03] Production.INFO: Date 2025-04-10
[2025-04-12 12:15:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:15:03] Production.INFO: ==25431== Lock acquired, processing the job...
[2025-04-12 12:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891491') end
[2025-04-12 12:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 12:15:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 12:15:03] Production.INFO: 1
[2025-04-12 12:15:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 12:15:03] Production.INFO: Date 2025-04-11
[2025-04-12 12:15:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:15:03] Production.INFO: ==25433== Releasing lock...
[2025-04-12 12:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 12:15:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 12:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 12:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 12:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 12:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 12:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 12:15:03] Production.INFO: Date 2025-04-12
[2025-04-12 12:15:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:15:03] Production.INFO: Total Charge 0
[2025-04-12 12:15:03] Production.INFO: CreateAllLog End
[2025-04-12 12:15:04] Production.INFO: ==25424== Releasing lock...
[2025-04-12 12:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 12:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 12:15:04] Production.INFO: Account Balance End.
[2025-04-12 12:15:04] Production.ERROR: done
[2025-04-12 12:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 12:15:04] Production.ERROR: done
[2025-04-12 12:15:04] Production.ERROR: CronJobId end 12
[2025-04-12 12:15:04] Production.INFO: ==25429== Releasing lock...
[2025-04-12 12:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 12:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 12:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 09:15:05
[end_date_ymd] => 2025-04-12 12:15:05
[RateCDR] => 1
)
[2025-04-12 12:15:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 09:15:05' and `end` < '2025-04-12 12:15:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 12:15:12] Production.ERROR: CronJobId end10
[2025-04-12 12:15:12] Production.INFO: ==25426== Releasing lock...
[2025-04-12 12:15:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 12:15:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 12:15:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 12:15:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 12:15:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 12:15:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 12:15:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 12:15:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 12:15:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 12:15:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 12:15:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 12:15:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 12:15:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 12:15:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 12:15:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 12:15:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 12:15:15] Production.INFO: call_cost start
[2025-04-12 12:15:15] Production.INFO: call_cost end
[2025-04-12 12:15:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 12:15:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 12:15:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 12:15:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 12:15:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 12:15:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 12:15:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 12:15:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 12:15:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 12:15:15] Production.INFO: ==25422== Releasing lock...
[2025-04-12 12:15:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 12:15:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 12:15:18] Production.INFO: count ==1424
[2025-04-12 12:15:18] Production.ERROR: pbx CDR StartTime 2025-04-12 09:15:05 - End Time 2025-04-12 12:15:05
[2025-04-12 12:15:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 12:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891494', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891494', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891494', 'tblTempVendorCDR_20' ) start
[2025-04-12 12:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891494', 'tblTempVendorCDR_20' ) end
[2025-04-12 12:15:18] Production.INFO: ProcessCDR(1,14891494,1,1,2)
[2025-04-12 12:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891494,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:15:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891494,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:15:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891494,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:15:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891494,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891494', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891494', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:15:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 12:15:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 12:15:21] Production.INFO: ==25431== Releasing lock...
[2025-04-12 12:15:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 12:15:21] Production.INFO: 38.5 MB #Memory Used#
[2025-04-12 17:16:02] Production.INFO: ==25487== Lock acquired, processing the job...
[2025-04-12 17:16:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 17:16:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 17:16:02] Production.INFO: neon service started
[2025-04-12 17:16:02] Production.INFO: neon service started
[2025-04-12 17:16:02] Production.INFO: ==25487== Releasing lock...
[2025-04-12 17:16:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 17:16:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 12:16:02] Production.INFO: ==25489== Lock acquired, processing the job...
[2025-04-12 12:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 12:16:02] Production.INFO: ==25489== Releasing lock...
[2025-04-12 12:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 12:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 16:16:02] Production.INFO: ==25491== Lock acquired, processing the job...
[2025-04-12 16:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 16:16:02] Production.INFO: ==25491== Releasing lock...
[2025-04-12 16:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 16:16:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 12:16:03] Production.INFO: ==25504== Lock acquired, processing the job...
[2025-04-12 12:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 12:16:03] Production.INFO: ==25502== Lock acquired, processing the job...
[2025-04-12 12:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 12:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 12:16:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 12:16:03] Production.INFO: ==25496== Lock acquired, processing the job...
[2025-04-12 12:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 12:16:03] Production.INFO: ==25494== Lock acquired, processing the job...
[2025-04-12 12:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 12:16:03] Production.INFO: count ==12
[2025-04-12 12:16:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 12:16:04] Production.INFO: count ==23
[2025-04-12 12:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891495') start
[2025-04-12 12:16:04] Production.INFO: ==25498== Lock acquired, processing the job...
[2025-04-12 12:16:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 12:16:04] Production.INFO: ==25500== Lock acquired, processing the job...
[2025-04-12 12:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 12:16:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 12:16:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 12:16:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 12:16:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 12:16:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 12:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891495') end
[2025-04-12 12:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 12:16:04] Production.INFO: 1
[2025-04-12 12:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 12:16:04] Production.INFO: ==25504== Releasing lock...
[2025-04-12 12:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 12:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 12:16:04] Production.INFO: Account Balance Start.
[2025-04-12 12:16:04] Production.INFO: CreateAllLog Start
[2025-04-12 12:16:04] Production.INFO: 117
[2025-04-12 12:16:04] Production.ERROR: done
[2025-04-12 12:16:04] Production.INFO: Date 2025-04-08
[2025-04-12 12:16:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 12:16:04] Production.INFO: Date 2025-04-09
[2025-04-12 12:16:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:16:04] Production.INFO: Date 2025-04-10
[2025-04-12 12:16:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:16:04] Production.INFO: Date 2025-04-11
[2025-04-12 12:16:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:16:04] Production.INFO: Date 2025-04-12
[2025-04-12 12:16:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:16:04] Production.INFO: ==25496== Releasing lock...
[2025-04-12 12:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 12:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 12:16:04] Production.INFO: Total Charge 0
[2025-04-12 12:16:04] Production.ERROR: done
[2025-04-12 12:16:04] Production.INFO: CreateAllLog End
[2025-04-12 12:16:04] Production.INFO: Account Balance End.
[2025-04-12 12:16:04] Production.ERROR: CronJobId end 12
[2025-04-12 12:16:04] Production.INFO: ==25500== Releasing lock...
[2025-04-12 12:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 12:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 12:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 09:16:05
[end_date_ymd] => 2025-04-12 12:16:05
[RateCDR] => 1
)
[2025-04-12 12:16:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 09:16:05' and `end` < '2025-04-12 12:16:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 12:16:12] Production.ERROR: CronJobId end10
[2025-04-12 12:16:12] Production.INFO: ==25498== Releasing lock...
[2025-04-12 12:16:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 12:16:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 12:16:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 12:16:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 12:16:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 12:16:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 12:16:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 12:16:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 12:16:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 12:16:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 12:16:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 12:16:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 12:16:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 12:16:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 12:16:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 12:16:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 12:16:15] Production.INFO: call_cost start
[2025-04-12 12:16:15] Production.INFO: call_cost end
[2025-04-12 12:16:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 12:16:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 12:16:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 12:16:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 12:16:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 12:16:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 12:16:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 12:16:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 12:16:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 12:16:16] Production.INFO: ==25494== Releasing lock...
[2025-04-12 12:16:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 12:16:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 12:16:18] Production.INFO: count ==1425
[2025-04-12 12:16:19] Production.ERROR: pbx CDR StartTime 2025-04-12 09:16:05 - End Time 2025-04-12 12:16:05
[2025-04-12 12:16:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 12:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891499', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891499', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891499', 'tblTempVendorCDR_20' ) start
[2025-04-12 12:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891499', 'tblTempVendorCDR_20' ) end
[2025-04-12 12:16:19] Production.INFO: ProcessCDR(1,14891499,1,1,2)
[2025-04-12 12:16:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891499,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:16:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891499,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:16:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891499,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:16:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891499,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:16:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891499', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:16:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891499', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:16:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 12:16:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 12:16:24] Production.INFO: ==25502== Releasing lock...
[2025-04-12 12:16:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 12:16:24] Production.INFO: 38.75 MB #Memory Used#
[2025-04-12 17:17:01] Production.INFO: ==25564== Lock acquired, processing the job...
[2025-04-12 17:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 17:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 17:17:01] Production.INFO: neon service started
[2025-04-12 17:17:01] Production.INFO: neon service started
[2025-04-12 17:17:01] Production.INFO: ==25564== Releasing lock...
[2025-04-12 17:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 17:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 12:17:01] Production.INFO: ==25566== Lock acquired, processing the job...
[2025-04-12 12:17:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 12:17:02] Production.INFO: ==25566== Releasing lock...
[2025-04-12 12:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 12:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 16:17:02] Production.INFO: ==25568== Lock acquired, processing the job...
[2025-04-12 16:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 16:17:02] Production.INFO: ==25568== Releasing lock...
[2025-04-12 16:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 16:17:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 12:17:03] Production.INFO: ==25570== Lock acquired, processing the job...
[2025-04-12 12:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 12:17:03] Production.INFO: ==25572== Lock acquired, processing the job...
[2025-04-12 12:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 12:17:03] Production.INFO: ==25574== Lock acquired, processing the job...
[2025-04-12 12:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 12:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 12:17:03] Production.INFO: ==25578== Lock acquired, processing the job...
[2025-04-12 12:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 12:17:03] Production.INFO: ==25576== Lock acquired, processing the job...
[2025-04-12 12:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 12:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 12:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 12:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 12:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 12:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 12:17:03] Production.INFO: ==25580== Lock acquired, processing the job...
[2025-04-12 12:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 12:17:03] Production.INFO: Account Balance Start.
[2025-04-12 12:17:03] Production.INFO: CreateAllLog Start
[2025-04-12 12:17:03] Production.INFO: 117
[2025-04-12 12:17:03] Production.INFO: Date 2025-04-08
[2025-04-12 12:17:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:17:03] Production.INFO: Date 2025-04-09
[2025-04-12 12:17:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:17:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 12:17:03] Production.INFO: ==25572== Releasing lock...
[2025-04-12 12:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 12:17:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 12:17:03] Production.INFO: count ==12
[2025-04-12 12:17:03] Production.INFO: Date 2025-04-10
[2025-04-12 12:17:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:17:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 12:17:03] Production.INFO: count ==23
[2025-04-12 12:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891503') start
[2025-04-12 12:17:03] Production.INFO: Date 2025-04-11
[2025-04-12 12:17:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:17:03] Production.ERROR: done
[2025-04-12 12:17:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 12:17:03] Production.INFO: Date 2025-04-12
[2025-04-12 12:17:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891503') end
[2025-04-12 12:17:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 12:17:03] Production.INFO: 1
[2025-04-12 12:17:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 12:17:03] Production.INFO: ==25580== Releasing lock...
[2025-04-12 12:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 12:17:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 12:17:03] Production.ERROR: done
[2025-04-12 12:17:03] Production.INFO: Total Charge 0
[2025-04-12 12:17:03] Production.INFO: CreateAllLog End
[2025-04-12 12:17:04] Production.INFO: Account Balance End.
[2025-04-12 12:17:04] Production.ERROR: CronJobId end 12
[2025-04-12 12:17:04] Production.INFO: ==25576== Releasing lock...
[2025-04-12 12:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 12:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 12:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 09:17:05
[end_date_ymd] => 2025-04-12 12:17:05
[RateCDR] => 1
)
[2025-04-12 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-12 09:17:05' and `end` < '2025-04-12 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-12 12:17:11] Production.ERROR: CronJobId end10
[2025-04-12 12:17:11] Production.INFO: ==25574== Releasing lock...
[2025-04-12 12:17:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 12:17:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 12:17:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 12:17:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 12:17:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 12:17:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 12:17:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 12:17:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 12:17:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 12:17:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 12:17:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 12:17:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 12:17:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 12:17:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 12:17:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 12:17:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 12:17:14] Production.INFO: call_cost start
[2025-04-12 12:17:14] Production.INFO: call_cost end
[2025-04-12 12:17:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 12:17:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 12:17:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 12:17:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 12:17:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 12:17:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 12:17:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 12:17:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 12:17:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 12:17:15] Production.INFO: ==25570== Releasing lock...
[2025-04-12 12:17:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 12:17:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 12:17:18] Production.INFO: count ==1425
[2025-04-12 12:17:18] Production.ERROR: pbx CDR StartTime 2025-04-12 09:17:05 - End Time 2025-04-12 12:17:05
[2025-04-12 12:17:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 12:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891504', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891504', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891504', 'tblTempVendorCDR_20' ) start
[2025-04-12 12:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891504', 'tblTempVendorCDR_20' ) end
[2025-04-12 12:17:18] Production.INFO: ProcessCDR(1,14891504,1,1,2)
[2025-04-12 12:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891504,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:17:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891504,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:17:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891504,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:17:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891504,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:17:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891504', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:17:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891504', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:17:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 12:17:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 12:17:23] Production.INFO: ==25578== Releasing lock...
[2025-04-12 12:17:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 12:17:23] Production.INFO: 38.75 MB #Memory Used#
[2025-04-12 17:18:01] Production.INFO: ==25637== Lock acquired, processing the job...
[2025-04-12 17:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 17:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 17:18:01] Production.INFO: neon service started
[2025-04-12 17:18:01] Production.INFO: neon service started
[2025-04-12 17:18:01] Production.INFO: ==25637== Releasing lock...
[2025-04-12 17:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 17:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 12:18:02] Production.INFO: ==25639== Lock acquired, processing the job...
[2025-04-12 12:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 16:18:02] Production.INFO: ==25641== Lock acquired, processing the job...
[2025-04-12 16:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 16:18:02] Production.INFO: ==25641== Releasing lock...
[2025-04-12 16:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 16:18:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 12:18:02] Production.INFO: ==25639== Releasing lock...
[2025-04-12 12:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 12:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 12:18:03] Production.INFO: ==25644== Lock acquired, processing the job...
[2025-04-12 12:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 12:18:03] Production.INFO: ==25648== Lock acquired, processing the job...
[2025-04-12 12:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 12:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 12:18:03] Production.INFO: ==25652== Lock acquired, processing the job...
[2025-04-12 12:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 12:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 12:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 12:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 12:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 12:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 12:18:03] Production.INFO: ==25646== Lock acquired, processing the job...
[2025-04-12 12:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 12:18:04] Production.INFO: ==25650== Lock acquired, processing the job...
[2025-04-12 12:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 12:18:04] Production.INFO: ==25654== Lock acquired, processing the job...
[2025-04-12 12:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 12:18:04] Production.ERROR: done
[2025-04-12 12:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 12:18:04] Production.INFO: Account Balance Start.
[2025-04-12 12:18:04] Production.INFO: CreateAllLog Start
[2025-04-12 12:18:04] Production.INFO: 117
[2025-04-12 12:18:04] Production.INFO: Date 2025-04-08
[2025-04-12 12:18:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:18:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 12:18:04] Production.INFO: count ==12
[2025-04-12 12:18:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 12:18:04] Production.INFO: count ==23
[2025-04-12 12:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891508') start
[2025-04-12 12:18:04] Production.INFO: Date 2025-04-09
[2025-04-12 12:18:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:18:04] Production.INFO: Date 2025-04-10
[2025-04-12 12:18:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:18:04] Production.INFO: Date 2025-04-11
[2025-04-12 12:18:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:18:04] Production.INFO: Date 2025-04-12
[2025-04-12 12:18:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:18:04] Production.INFO: Total Charge 0
[2025-04-12 12:18:04] Production.INFO: ==25646== Releasing lock...
[2025-04-12 12:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 12:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 12:18:04] Production.INFO: CreateAllLog End
[2025-04-12 12:18:04] Production.ERROR: done
[2025-04-12 12:18:04] Production.INFO: Account Balance End.
[2025-04-12 12:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891508') end
[2025-04-12 12:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 12:18:04] Production.INFO: 1
[2025-04-12 12:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 12:18:04] Production.ERROR: CronJobId end 12
[2025-04-12 12:18:04] Production.INFO: ==25650== Releasing lock...
[2025-04-12 12:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 12:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 12:18:04] Production.INFO: ==25654== Releasing lock...
[2025-04-12 12:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 12:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 12:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 09:18:05
[end_date_ymd] => 2025-04-12 12:18:05
[RateCDR] => 1
)
[2025-04-12 12:18:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 09:18:05' and `end` < '2025-04-12 12:18:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 12:18:11] Production.ERROR: CronJobId end10
[2025-04-12 12:18:11] Production.INFO: ==25648== Releasing lock...
[2025-04-12 12:18:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 12:18:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 12:18:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 12:18:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 12:18:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 12:18:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 12:18:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 12:18:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 12:18:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 12:18:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 12:18:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 12:18:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 12:18:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 12:18:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 12:18:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 12:18:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 12:18:14] Production.INFO: call_cost start
[2025-04-12 12:18:14] Production.INFO: call_cost end
[2025-04-12 12:18:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 12:18:14] Production.INFO: ============== Report Schedule START===========
[2025-04-12 12:18:14] Production.INFO: ============== Report Schedule END===========
[2025-04-12 12:18:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 12:18:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 12:18:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 12:18:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 12:18:14] Production.INFO: ============== Deal alert START===========
[2025-04-12 12:18:14] Production.INFO: ============== Deal alert END===========
[2025-04-12 12:18:14] Production.INFO: ==25644== Releasing lock...
[2025-04-12 12:18:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 12:18:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 12:18:18] Production.INFO: count ==1428
[2025-04-12 12:18:18] Production.ERROR: pbx CDR StartTime 2025-04-12 09:18:05 - End Time 2025-04-12 12:18:05
[2025-04-12 12:18:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 12:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891509', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891509', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891509', 'tblTempVendorCDR_20' ) start
[2025-04-12 12:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891509', 'tblTempVendorCDR_20' ) end
[2025-04-12 12:18:18] Production.INFO: ProcessCDR(1,14891509,1,1,2)
[2025-04-12 12:18:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891509,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:18:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891509,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:18:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891509,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:18:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891509,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:18:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891509', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:18:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891509', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:18:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 12:18:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 12:18:23] Production.INFO: ==25652== Releasing lock...
[2025-04-12 12:18:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 12:18:23] Production.INFO: 38.75 MB #Memory Used#
[2025-04-12 17:19:02] Production.INFO: ==25715== Lock acquired, processing the job...
[2025-04-12 17:19:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 17:19:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 17:19:02] Production.INFO: neon service started
[2025-04-12 17:19:02] Production.INFO: neon service started
[2025-04-12 17:19:02] Production.INFO: ==25715== Releasing lock...
[2025-04-12 17:19:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 17:19:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 12:19:02] Production.INFO: ==25717== Lock acquired, processing the job...
[2025-04-12 12:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 12:19:03] Production.INFO: ==25717== Releasing lock...
[2025-04-12 12:19:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 12:19:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 16:19:03] Production.INFO: ==25719== Lock acquired, processing the job...
[2025-04-12 16:19:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 16:19:03] Production.INFO: ==25719== Releasing lock...
[2025-04-12 16:19:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 16:19:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 12:19:04] Production.INFO: ==25723== Lock acquired, processing the job...
[2025-04-12 12:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 12:19:04] Production.INFO: ==25725== Lock acquired, processing the job...
[2025-04-12 12:19:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 12:19:04] Production.INFO: ==25732== Lock acquired, processing the job...
[2025-04-12 12:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 12:19:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 12:19:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 12:19:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 12:19:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 12:19:04] Production.INFO: ==25721== Lock acquired, processing the job...
[2025-04-12 12:19:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 12:19:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 12:19:04] Production.INFO: count ==12
[2025-04-12 12:19:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 12:19:04] Production.INFO: count ==23
[2025-04-12 12:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891511') start
[2025-04-12 12:19:04] Production.INFO: ==25727== Lock acquired, processing the job...
[2025-04-12 12:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 12:19:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 12:19:04] Production.INFO: ==25730== Lock acquired, processing the job...
[2025-04-12 12:19:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 12:19:04] Production.INFO: ==25723== Releasing lock...
[2025-04-12 12:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 12:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 12:19:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 12:19:04] Production.INFO: Account Balance Start.
[2025-04-12 12:19:04] Production.INFO: CreateAllLog Start
[2025-04-12 12:19:04] Production.INFO: 117
[2025-04-12 12:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891511') end
[2025-04-12 12:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 12:19:04] Production.INFO: 1
[2025-04-12 12:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 12:19:04] Production.INFO: Date 2025-04-08
[2025-04-12 12:19:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:19:04] Production.INFO: ==25732== Releasing lock...
[2025-04-12 12:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 12:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 12:19:04] Production.INFO: Date 2025-04-09
[2025-04-12 12:19:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:19:04] Production.INFO: Date 2025-04-10
[2025-04-12 12:19:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:19:04] Production.ERROR: done
[2025-04-12 12:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 12:19:04] Production.INFO: Date 2025-04-11
[2025-04-12 12:19:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:19:04] Production.INFO: Date 2025-04-12
[2025-04-12 12:19:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:19:05] Production.ERROR: done
[2025-04-12 12:19:05] Production.INFO: Total Charge 0
[2025-04-12 12:19:05] Production.INFO: CreateAllLog End
[2025-04-12 12:19:05] Production.INFO: Account Balance End.
[2025-04-12 12:19:05] Production.ERROR: CronJobId end 12
[2025-04-12 12:19:05] Production.INFO: ==25727== Releasing lock...
[2025-04-12 12:19:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 12:19:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 12:19:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 09:19:06
[end_date_ymd] => 2025-04-12 12:19:06
[RateCDR] => 1
)
[2025-04-12 12: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-12 09:19:06' and `end` < '2025-04-12 12: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-12 12:19:13] Production.ERROR: CronJobId end10
[2025-04-12 12:19:13] Production.INFO: ==25725== Releasing lock...
[2025-04-12 12:19:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 12:19:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 12:19:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 12:19:16] Production.INFO: ============== Balance Warning START===========
[2025-04-12 12:19:16] Production.INFO: ============== Balance Warning END===========
[2025-04-12 12:19:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 12:19:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 12:19:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 12:19:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 12:19:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 12:19:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 12:19:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 12:19:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 12:19:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 12:19:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 12:19:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 12:19:16] Production.INFO: call_cost start
[2025-04-12 12:19:16] Production.INFO: call_cost end
[2025-04-12 12:19:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 12:19:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 12:19:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 12:19:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 12:19:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 12:19:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 12:19:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 12:19:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 12:19:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 12:19:17] Production.INFO: ==25721== Releasing lock...
[2025-04-12 12:19:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 12:19:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 12:19:19] Production.INFO: count ==1429
[2025-04-12 12:19:19] Production.ERROR: pbx CDR StartTime 2025-04-12 09:19:06 - End Time 2025-04-12 12:19:06
[2025-04-12 12:19:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 12:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891514', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891514', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891514', 'tblTempVendorCDR_20' ) start
[2025-04-12 12:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891514', 'tblTempVendorCDR_20' ) end
[2025-04-12 12:19:19] Production.INFO: ProcessCDR(1,14891514,1,1,2)
[2025-04-12 12:19:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891514,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:19:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891514,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:19:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891514,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:19:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891514,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:19:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891514', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:19:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891514', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:19:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 12:19:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 12:19:24] Production.INFO: ==25730== Releasing lock...
[2025-04-12 12:19:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 12:19:24] Production.INFO: 38.5 MB #Memory Used#
[2025-04-12 17:20:01] Production.INFO: ==25789== Lock acquired, processing the job...
[2025-04-12 17:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 17:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 17:20:01] Production.INFO: neon service started
[2025-04-12 17:20:01] Production.INFO: neon service started
[2025-04-12 17:20:01] Production.INFO: ==25789== Releasing lock...
[2025-04-12 17:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 17:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 12:20:02] Production.INFO: ==25791== Lock acquired, processing the job...
[2025-04-12 12:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 16:20:02] Production.INFO: ==25793== Lock acquired, processing the job...
[2025-04-12 16:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 12:20:02] Production.INFO: ==25791== Releasing lock...
[2025-04-12 12:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 12:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 16:20:02] Production.INFO: ==25793== Releasing lock...
[2025-04-12 16:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 16:20:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 12:20:03] Production.INFO: ==25799== Lock acquired, processing the job...
[2025-04-12 12:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 12:20:03] Production.INFO: ==25795== Lock acquired, processing the job...
[2025-04-12 12:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 12:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 12:20:03] Production.INFO: ==25797== Lock acquired, processing the job...
[2025-04-12 12:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 12:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 12:20:03] Production.ERROR: CronJob PID - 25799
[2025-04-12 12:20:03] Production.ERROR: CronJob Title - Account Block
[2025-04-12 12:20:03] Production.ERROR: CronJob ID - 7
[2025-04-12 12:20:03] Production.ERROR: CronJob Last Run Time 2025-04-12 12:20:00
[2025-04-12 12:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 12:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 12:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 12:20:03] Production.INFO: ==25795== Releasing lock...
[2025-04-12 12:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 12:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 12:20:03] Production.INFO: ==25808== Lock acquired, processing the job...
[2025-04-12 12:20:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 12:20:03] Production.INFO: ==25810== Lock acquired, processing the job...
[2025-04-12 12:20:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 12:20:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 12:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 12:20:04] Production.INFO: ==25801== Lock acquired, processing the job...
[2025-04-12 12:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 12:20:04] Production.INFO: ==25803== Lock acquired, processing the job...
[2025-04-12 12:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 12:20:04] Production.INFO: ==25799== Releasing lock...
[2025-04-12 12:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 12:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 12:20:04] Production.INFO: ==25806== Lock acquired, processing the job...
[2025-04-12 12:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 12:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 12:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 12:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 12:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 12:20:04] Production.INFO: Account Balance Start.
[2025-04-12 12:20:04] Production.INFO: CreateAllLog Start
[2025-04-12 12:20:04] Production.INFO: 117
[2025-04-12 12:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 12:20:04] Production.INFO: Date 2025-04-08
[2025-04-12 12:20:04] Production.INFO: count ==12
[2025-04-12 12:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 12:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 12:20:04] Production.INFO: count ==23
[2025-04-12 12:20:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891517') start
[2025-04-12 12:20:04] Production.INFO: Date 2025-04-09
[2025-04-12 12:20:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891517') end
[2025-04-12 12:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 12:20:04] Production.INFO: 1
[2025-04-12 12:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 12:20:04] Production.ERROR: done
[2025-04-12 12:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 12:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14891519', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 12:20:04] Production.INFO: Date 2025-04-10
[2025-04-12 12:20:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:20:04] Production.INFO: ==25810== Releasing lock...
[2025-04-12 12:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 12:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 12:20:04] Production.ERROR: done
[2025-04-12 12:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 12:20:04] Production.ERROR: done
[2025-04-12 12:20:04] Production.INFO: Date 2025-04-11
[2025-04-12 12:20:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:20:04] Production.INFO: Date 2025-04-12
[2025-04-12 12:20:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:20:05] Production.INFO: Total Charge 0
[2025-04-12 12:20:05] Production.INFO: CreateAllLog End
[2025-04-12 12:20:05] Production.INFO: Account Balance End.
[2025-04-12 12:20:05] Production.ERROR: CronJobId end 12
[2025-04-12 12:20:05] Production.INFO: ==25803== Releasing lock...
[2025-04-12 12:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 12:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 12:20:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 09:20:05
[end_date_ymd] => 2025-04-12 12:20:05
[RateCDR] => 1
)
[2025-04-12 12:20:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 09:20:05' and `end` < '2025-04-12 12:20:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 12:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14891519', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 12:20:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 12:20:08] Production.INFO: ProcessCDR(1,14891519,1,1,2)
[2025-04-12 12:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14891519,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:20:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14891519,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:20:08] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 12:20:08] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 12:20:08] Production.INFO: ==25808== Releasing lock...
[2025-04-12 12:20:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 12:20:08] Production.INFO: 26 MB #Memory Used#
[2025-04-12 12:20:13] Production.ERROR: CronJobId end10
[2025-04-12 12:20:13] Production.INFO: ==25801== Releasing lock...
[2025-04-12 12:20:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 12:20:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 12:20:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 12:20:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 12:20:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 12:20:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 12:20:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 12:20:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 12:20:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 12:20:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 12:20:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 12:20:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 12:20:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 12:20:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 12:20:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 12:20:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 12:20:16] Production.INFO: call_cost start
[2025-04-12 12:20:16] Production.INFO: call_cost end
[2025-04-12 12:20:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 12:20:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 12:20:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 12:20:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 12:20:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 12:20:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 12:20:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 12:20:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 12:20:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 12:20:17] Production.INFO: ==25797== Releasing lock...
[2025-04-12 12:20:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 12:20:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 12:20:18] Production.INFO: count ==1433
[2025-04-12 12:20:19] Production.ERROR: pbx CDR StartTime 2025-04-12 09:20:05 - End Time 2025-04-12 12:20:05
[2025-04-12 12:20:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 12:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891520', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891520', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891520', 'tblTempVendorCDR_20' ) start
[2025-04-12 12:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891520', 'tblTempVendorCDR_20' ) end
[2025-04-12 12:20:19] Production.INFO: ProcessCDR(1,14891520,1,1,2)
[2025-04-12 12:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891520,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:20:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891520,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:20:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891520,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:20:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891520,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:20:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891520', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:20:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891520', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:20:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 12:20:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 12:20:24] Production.INFO: ==25806== Releasing lock...
[2025-04-12 12:20:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 12:20:24] Production.INFO: 39 MB #Memory Used#
[2025-04-12 17:21:02] Production.INFO: ==25866== Lock acquired, processing the job...
[2025-04-12 17:21:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 17:21:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 17:21:02] Production.INFO: neon service started
[2025-04-12 17:21:02] Production.INFO: neon service started
[2025-04-12 17:21:02] Production.INFO: ==25866== Releasing lock...
[2025-04-12 17:21:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 17:21:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 12:21:02] Production.INFO: ==25868== Lock acquired, processing the job...
[2025-04-12 12:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 16:21:02] Production.INFO: ==25870== Lock acquired, processing the job...
[2025-04-12 16:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 16:21:03] Production.INFO: ==25870== Releasing lock...
[2025-04-12 16:21:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 16:21:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 12:21:03] Production.INFO: ==25868== Releasing lock...
[2025-04-12 12:21:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 12:21:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 12:21:04] Production.INFO: ==25873== Lock acquired, processing the job...
[2025-04-12 12:21:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 12:21:04] Production.INFO: ==25877== Lock acquired, processing the job...
[2025-04-12 12:21:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 12:21:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 12:21:04] Production.INFO: ==25879== Lock acquired, processing the job...
[2025-04-12 12:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 12:21:04] Production.INFO: Account Balance Start.
[2025-04-12 12:21:04] Production.INFO: CreateAllLog Start
[2025-04-12 12:21:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 12:21:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 12:21:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 12:21:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 12:21:04] Production.INFO: 117
[2025-04-12 12:21:04] Production.INFO: Date 2025-04-08
[2025-04-12 12:21:04] Production.INFO: ==25875== Lock acquired, processing the job...
[2025-04-12 12:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 12:21:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:21:04] Production.INFO: Date 2025-04-09
[2025-04-12 12:21:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:21:04] Production.INFO: Date 2025-04-10
[2025-04-12 12:21:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:21:04] Production.INFO: ==25881== Lock acquired, processing the job...
[2025-04-12 12:21:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 12:21:04] Production.INFO: Date 2025-04-11
[2025-04-12 12:21:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:21:04] Production.INFO: ==25883== Lock acquired, processing the job...
[2025-04-12 12:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 12:21:04] Production.INFO: Date 2025-04-12
[2025-04-12 12:21:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:21:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 12:21:04] Production.INFO: Total Charge 0
[2025-04-12 12:21:04] Production.INFO: CreateAllLog End
[2025-04-12 12:21:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 12:21:04] Production.INFO: ==25875== Releasing lock...
[2025-04-12 12:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 12:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 12:21:04] Production.INFO: count ==12
[2025-04-12 12:21:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 12:21:04] Production.INFO: count ==23
[2025-04-12 12:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891524') start
[2025-04-12 12:21:05] Production.INFO: Account Balance End.
[2025-04-12 12:21:05] Production.ERROR: PBX CALL prc_importPBXExtension('14891524') end
[2025-04-12 12:21:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 12:21:05] Production.INFO: 1
[2025-04-12 12:21:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 12:21:05] Production.ERROR: CronJobId end 12
[2025-04-12 12:21:05] Production.INFO: ==25883== Releasing lock...
[2025-04-12 12:21:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 12:21:05] Production.INFO: ==25879== Releasing lock...
[2025-04-12 12:21:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 12:21:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 12:21:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 12:21:05] Production.ERROR: done
[2025-04-12 12:21:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 12:21:05] Production.ERROR: done
[2025-04-12 12:21:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 09:21:06
[end_date_ymd] => 2025-04-12 12:21:06
[RateCDR] => 1
)
[2025-04-12 12: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-12 09:21:06' and `end` < '2025-04-12 12: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-12 12:21:12] Production.ERROR: CronJobId end10
[2025-04-12 12:21:12] Production.INFO: ==25877== Releasing lock...
[2025-04-12 12:21:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 12:21:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 12:21:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 12:21:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 12:21:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 12:21:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 12:21:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 12:21:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 12:21:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 12:21:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 12:21:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 12:21:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 12:21:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 12:21:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 12:21:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 12:21:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 12:21:14] Production.INFO: call_cost start
[2025-04-12 12:21:14] Production.INFO: call_cost end
[2025-04-12 12:21:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 12:21:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 12:21:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 12:21:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 12:21:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 12:21:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 12:21:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 12:21:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 12:21:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 12:21:15] Production.INFO: ==25873== Releasing lock...
[2025-04-12 12:21:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 12:21:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 12:21:19] Production.INFO: count ==1491
[2025-04-12 12:21:19] Production.ERROR: pbx CDR StartTime 2025-04-12 09:21:06 - End Time 2025-04-12 12:21:06
[2025-04-12 12:21:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 12:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891525', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891525', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891525', 'tblTempVendorCDR_20' ) start
[2025-04-12 12:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891525', 'tblTempVendorCDR_20' ) end
[2025-04-12 12:21:19] Production.INFO: ProcessCDR(1,14891525,1,1,2)
[2025-04-12 12:21:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891525,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:21:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891525,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:21:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891525,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:21:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891525,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:21:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891525', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:21:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891525', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:21:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 12:21:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 12:21:24] Production.INFO: ==25881== Releasing lock...
[2025-04-12 12:21:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 12:21:24] Production.INFO: 39.25 MB #Memory Used#
[2025-04-12 17:22:01] Production.INFO: ==25941== Lock acquired, processing the job...
[2025-04-12 17:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 17:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 17:22:01] Production.INFO: neon service started
[2025-04-12 17:22:01] Production.INFO: neon service started
[2025-04-12 17:22:01] Production.INFO: ==25941== Releasing lock...
[2025-04-12 17:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 17:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 12:22:02] Production.INFO: ==25943== Lock acquired, processing the job...
[2025-04-12 12:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 12:22:02] Production.INFO: ==25943== Releasing lock...
[2025-04-12 12:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 12:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 16:22:02] Production.INFO: ==25945== Lock acquired, processing the job...
[2025-04-12 16:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 16:22:02] Production.INFO: ==25945== Releasing lock...
[2025-04-12 16:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 16:22:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 12:22:03] Production.INFO: ==25953== Lock acquired, processing the job...
[2025-04-12 12:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 12:22:03] Production.INFO: ==25947== Lock acquired, processing the job...
[2025-04-12 12:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 12:22:03] Production.INFO: ==25957== Lock acquired, processing the job...
[2025-04-12 12:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 12:22:03] Production.INFO: ==25949== Lock acquired, processing the job...
[2025-04-12 12:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 12:22:03] Production.INFO: Account Balance Start.
[2025-04-12 12:22:03] Production.INFO: CreateAllLog Start
[2025-04-12 12:22:03] Production.INFO: 117
[2025-04-12 12:22:03] Production.INFO: Date 2025-04-08
[2025-04-12 12:22:03] Production.INFO: ==25951== Lock acquired, processing the job...
[2025-04-12 12:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 12:22:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 12:22:03] Production.INFO: Date 2025-04-09
[2025-04-12 12:22:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:22:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 12:22:03] Production.INFO: count ==12
[2025-04-12 12:22:03] Production.INFO: Date 2025-04-10
[2025-04-12 12:22:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:22:03] Production.INFO: ==25955== Lock acquired, processing the job...
[2025-04-12 12:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 12:22:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 12:22:03] Production.INFO: count ==23
[2025-04-12 12:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 12:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 12:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 12:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 12:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891527') start
[2025-04-12 12:22:03] Production.INFO: Date 2025-04-11
[2025-04-12 12:22:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:22:03] Production.INFO: Date 2025-04-12
[2025-04-12 12:22:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 12:22:03] Production.INFO: Total Charge 0
[2025-04-12 12:22:03] Production.INFO: CreateAllLog End
[2025-04-12 12:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891527') end
[2025-04-12 12:22:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 12:22:03] Production.INFO: 1
[2025-04-12 12:22:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 12:22:03] Production.INFO: ==25957== Releasing lock...
[2025-04-12 12:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 12:22:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 12:22:03] Production.INFO: ==25949== Releasing lock...
[2025-04-12 12:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 12:22:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 12:22:04] Production.INFO: Account Balance End.
[2025-04-12 12:22:04] Production.ERROR: CronJobId end 12
[2025-04-12 12:22:04] Production.INFO: ==25953== Releasing lock...
[2025-04-12 12:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 12:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 12:22:04] Production.ERROR: done
[2025-04-12 12:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 12:22:04] Production.ERROR: done
[2025-04-12 12:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 09:22:05
[end_date_ymd] => 2025-04-12 12:22:05
[RateCDR] => 1
)
[2025-04-12 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-12 09:22:05' and `end` < '2025-04-12 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-12 12:22:11] Production.ERROR: CronJobId end10
[2025-04-12 12:22:11] Production.INFO: ==25951== Releasing lock...
[2025-04-12 12:22:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 12:22:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 12:22:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 12:22:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 12:22:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 12:22:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 12:22:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 12:22:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 12:22:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 12:22:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 12:22:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 12:22:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 12:22:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 12:22:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 12:22:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 12:22:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 12:22:14] Production.INFO: call_cost start
[2025-04-12 12:22:14] Production.INFO: call_cost end
[2025-04-12 12:22:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 12:22:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 12:22:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 12:22:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 12:22:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 12:22:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 12:22:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 12:22:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 12:22:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 12:22:15] Production.INFO: ==25947== Releasing lock...
[2025-04-12 12:22:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 12:22:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 12:22:18] Production.INFO: count ==1492
[2025-04-12 12:22:18] Production.ERROR: pbx CDR StartTime 2025-04-12 09:22:05 - End Time 2025-04-12 12:22:05
[2025-04-12 12:22:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 12:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891530', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891530', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891530', 'tblTempVendorCDR_20' ) start
[2025-04-12 12:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891530', 'tblTempVendorCDR_20' ) end
[2025-04-12 12:22:18] Production.INFO: ProcessCDR(1,14891530,1,1,2)
[2025-04-12 12:22:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891530,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:22:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891530,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:22:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891530,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:22:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891530,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891530', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891530', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:22:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 12:22:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 12:22:22] Production.INFO: ==25955== Releasing lock...
[2025-04-12 12:22:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 12:22:22] Production.INFO: 39.25 MB #Memory Used#
[2025-04-12 17:23:02] Production.INFO: ==26016== Lock acquired, processing the job...
[2025-04-12 17:23:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 17:23:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 17:23:02] Production.INFO: neon service started
[2025-04-12 17:23:02] Production.INFO: neon service started
[2025-04-12 17:23:02] Production.INFO: ==26016== Releasing lock...
[2025-04-12 17:23:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 17:23:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 12:23:02] Production.INFO: ==26018== Lock acquired, processing the job...
[2025-04-12 12:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 16:23:02] Production.INFO: ==26020== Lock acquired, processing the job...
[2025-04-12 16:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 16:23:02] Production.INFO: ==26020== Releasing lock...
[2025-04-12 16:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 16:23:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 12:23:03] Production.INFO: ==26018== Releasing lock...
[2025-04-12 12:23:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 12:23:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 12:23:03] Production.INFO: ==26022== Lock acquired, processing the job...
[2025-04-12 12:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 12:23:03] Production.INFO: ==26026== Lock acquired, processing the job...
[2025-04-12 12:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 12:23:03] Production.INFO: ==26032== Lock acquired, processing the job...
[2025-04-12 12:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 12:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 12:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 12:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 12:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 12:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 12:23:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 12:23:04] Production.INFO: ==26030== Lock acquired, processing the job...
[2025-04-12 12:23:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 12:23:04] Production.INFO: ==26028== Lock acquired, processing the job...
[2025-04-12 12:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 12:23:04] Production.INFO: count ==12
[2025-04-12 12:23:04] Production.INFO: ==26024== Lock acquired, processing the job...
[2025-04-12 12:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 12:23:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 12:23:04] Production.INFO: count ==23
[2025-04-12 12:23:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 12:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891532') start
[2025-04-12 12:23:04] Production.INFO: Account Balance Start.
[2025-04-12 12:23:04] Production.INFO: CreateAllLog Start
[2025-04-12 12:23:04] Production.INFO: 117
[2025-04-12 12:23:04] Production.INFO: Date 2025-04-08
[2025-04-12 12:23:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:23:04] Production.INFO: Date 2025-04-09
[2025-04-12 12:23:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891532') end
[2025-04-12 12:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 12:23:04] Production.INFO: 1
[2025-04-12 12:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 12:23:04] Production.INFO: Date 2025-04-10
[2025-04-12 12:23:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:23:04] Production.INFO: Date 2025-04-11
[2025-04-12 12:23:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:23:04] Production.INFO: Date 2025-04-12
[2025-04-12 12:23:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:23:04] Production.INFO: ==26032== Releasing lock...
[2025-04-12 12:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 12:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 12:23:04] Production.ERROR: done
[2025-04-12 12:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 12:23:04] Production.INFO: Total Charge 0
[2025-04-12 12:23:04] Production.INFO: CreateAllLog End
[2025-04-12 12:23:04] Production.INFO: ==26024== Releasing lock...
[2025-04-12 12:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 12:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 12:23:04] Production.ERROR: done
[2025-04-12 12:23:05] Production.INFO: Account Balance End.
[2025-04-12 12:23:05] Production.ERROR: CronJobId end 12
[2025-04-12 12:23:05] Production.INFO: ==26028== Releasing lock...
[2025-04-12 12:23:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 12:23:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 12:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 09:23:05
[end_date_ymd] => 2025-04-12 12:23:05
[RateCDR] => 1
)
[2025-04-12 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-12 09:23:05' and `end` < '2025-04-12 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-12 12:23:12] Production.ERROR: CronJobId end10
[2025-04-12 12:23:12] Production.INFO: ==26026== Releasing lock...
[2025-04-12 12:23:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 12:23:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 12:23:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 12:23:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 12:23:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 12:23:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 12:23:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 12:23:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 12:23:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 12:23:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 12:23:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 12:23:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 12:23:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 12:23:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 12:23:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 12:23:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 12:23:14] Production.INFO: call_cost start
[2025-04-12 12:23:14] Production.INFO: call_cost end
[2025-04-12 12:23:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 12:23:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 12:23:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 12:23:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 12:23:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 12:23:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 12:23:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 12:23:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 12:23:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 12:23:15] Production.INFO: ==26022== Releasing lock...
[2025-04-12 12:23:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 12:23:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 12:23:18] Production.INFO: count ==1486
[2025-04-12 12:23:19] Production.ERROR: pbx CDR StartTime 2025-04-12 09:23:05 - End Time 2025-04-12 12:23:05
[2025-04-12 12:23:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 12:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891535', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891535', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891535', 'tblTempVendorCDR_20' ) start
[2025-04-12 12:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891535', 'tblTempVendorCDR_20' ) end
[2025-04-12 12:23:19] Production.INFO: ProcessCDR(1,14891535,1,1,2)
[2025-04-12 12:23:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891535,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:23:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891535,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:23:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891535,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:23:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891535,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891535', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891535', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:23:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 12:23:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 12:23:22] Production.INFO: ==26030== Releasing lock...
[2025-04-12 12:23:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 12:23:22] Production.INFO: 39.5 MB #Memory Used#
[2025-04-12 17:24:01] Production.INFO: ==26093== Lock acquired, processing the job...
[2025-04-12 17:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 17:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 17:24:01] Production.INFO: neon service started
[2025-04-12 17:24:01] Production.INFO: neon service started
[2025-04-12 17:24:01] Production.INFO: ==26093== Releasing lock...
[2025-04-12 17:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 17:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 16:24:02] Production.INFO: ==26097== Lock acquired, processing the job...
[2025-04-12 16:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 16:24:02] Production.INFO: ==26097== Releasing lock...
[2025-04-12 16:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 16:24:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 12:24:02] Production.INFO: ==26095== Lock acquired, processing the job...
[2025-04-12 12:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 12:24:02] Production.INFO: ==26095== Releasing lock...
[2025-04-12 12:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 12:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 12:24:03] Production.INFO: ==26099== Lock acquired, processing the job...
[2025-04-12 12:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 12:24:03] Production.INFO: ==26101== Lock acquired, processing the job...
[2025-04-12 12:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 12:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 12:24:03] Production.INFO: ==26110== Lock acquired, processing the job...
[2025-04-12 12:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 12:24:03] Production.INFO: ==26103== Lock acquired, processing the job...
[2025-04-12 12:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 12:24:03] Production.INFO: ==26106== Lock acquired, processing the job...
[2025-04-12 12:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 12:24:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 12:24:03] Production.INFO: ==26108== Lock acquired, processing the job...
[2025-04-12 12:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 12:24:03] Production.INFO: count ==12
[2025-04-12 12:24:03] Production.INFO: Account Balance Start.
[2025-04-12 12:24:03] Production.INFO: CreateAllLog Start
[2025-04-12 12:24:03] Production.INFO: 117
[2025-04-12 12:24:03] Production.INFO: ==26101== Releasing lock...
[2025-04-12 12:24:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 12:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 12:24:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 12:24:03] Production.INFO: count ==23
[2025-04-12 12:24:03] Production.INFO: Date 2025-04-08
[2025-04-12 12:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 12:24:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 12:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 12:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891538') start
[2025-04-12 12:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 12:24:03] Production.INFO: Date 2025-04-09
[2025-04-12 12:24:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:24:03] Production.INFO: Date 2025-04-10
[2025-04-12 12:24:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 12:24:04] Production.INFO: Date 2025-04-11
[2025-04-12 12:24:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:24:04] Production.INFO: Date 2025-04-12
[2025-04-12 12:24:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:24:04] Production.INFO: Total Charge 0
[2025-04-12 12:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891538') end
[2025-04-12 12:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 12:24:04] Production.INFO: 1
[2025-04-12 12:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 12:24:04] Production.INFO: CreateAllLog End
[2025-04-12 12:24:04] Production.INFO: ==26110== Releasing lock...
[2025-04-12 12:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 12:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 12:24:04] Production.INFO: Account Balance End.
[2025-04-12 12:24:04] Production.ERROR: CronJobId end 12
[2025-04-12 12:24:04] Production.INFO: ==26106== Releasing lock...
[2025-04-12 12:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 12:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 12:24:04] Production.ERROR: done
[2025-04-12 12:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 12:24:04] Production.ERROR: done
[2025-04-12 12:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 09:24:05
[end_date_ymd] => 2025-04-12 12:24:05
[RateCDR] => 1
)
[2025-04-12 12:24:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 09:24:05' and `end` < '2025-04-12 12:24:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 12:24:12] Production.ERROR: CronJobId end10
[2025-04-12 12:24:12] Production.INFO: ==26103== Releasing lock...
[2025-04-12 12:24:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 12:24:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 12:24:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 12:24:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 12:24:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 12:24:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 12:24:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 12:24:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 12:24:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 12:24:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 12:24:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 12:24:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 12:24:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 12:24:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 12:24:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 12:24:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 12:24:15] Production.INFO: call_cost start
[2025-04-12 12:24:15] Production.INFO: call_cost end
[2025-04-12 12:24:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 12:24:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 12:24:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 12:24:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 12:24:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 12:24:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 12:24:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 12:24:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 12:24:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 12:24:15] Production.INFO: ==26099== Releasing lock...
[2025-04-12 12:24:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 12:24:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 12:24:18] Production.INFO: count ==1484
[2025-04-12 12:24:19] Production.ERROR: pbx CDR StartTime 2025-04-12 09:24:05 - End Time 2025-04-12 12:24:05
[2025-04-12 12:24:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 12:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891540', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891540', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891540', 'tblTempVendorCDR_20' ) start
[2025-04-12 12:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891540', 'tblTempVendorCDR_20' ) end
[2025-04-12 12:24:19] Production.INFO: ProcessCDR(1,14891540,1,1,2)
[2025-04-12 12:24:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891540,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:24:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891540,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:24:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891540,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:24:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891540,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891540', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891540', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:24:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 12:24:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 12:24:22] Production.INFO: ==26108== Releasing lock...
[2025-04-12 12:24:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 12:24:22] Production.INFO: 39 MB #Memory Used#
[2025-04-12 17:25:02] Production.INFO: ==26169== Lock acquired, processing the job...
[2025-04-12 17:25:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 17:25:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 17:25:02] Production.INFO: neon service started
[2025-04-12 17:25:02] Production.INFO: neon service started
[2025-04-12 17:25:02] Production.INFO: ==26169== Releasing lock...
[2025-04-12 17:25:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 17:25:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 12:25:02] Production.INFO: ==26172== Lock acquired, processing the job...
[2025-04-12 12:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 12:25:02] Production.INFO: ==26172== Releasing lock...
[2025-04-12 12:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 16:25:02] Production.INFO: ==26174== Lock acquired, processing the job...
[2025-04-12 12:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 16:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 16:25:02] Production.INFO: ==26174== Releasing lock...
[2025-04-12 16:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 16:25:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 12:25:03] Production.INFO: ==26182== Lock acquired, processing the job...
[2025-04-12 12:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 12:25:03] Production.INFO: ==26186== Lock acquired, processing the job...
[2025-04-12 12:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 12:25:03] Production.INFO: Account Balance Start.
[2025-04-12 12:25:03] Production.INFO: CreateAllLog Start
[2025-04-12 12:25:03] Production.INFO: 117
[2025-04-12 12:25:03] Production.INFO: Date 2025-04-08
[2025-04-12 12:25:03] Production.INFO: ==26176== Lock acquired, processing the job...
[2025-04-12 12:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 12:25:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:25:03] Production.INFO: Date 2025-04-09
[2025-04-12 12:25:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:25:03] Production.INFO: Date 2025-04-10
[2025-04-12 12:25:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 12:25:03] Production.INFO: ==26178== Lock acquired, processing the job...
[2025-04-12 12:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 12:25:03] Production.INFO: Date 2025-04-11
[2025-04-12 12:25:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:25:03] Production.INFO: Date 2025-04-12
[2025-04-12 12:25:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:25:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 12:25:04] Production.INFO: count ==12
[2025-04-12 12:25:04] Production.INFO: Total Charge 0
[2025-04-12 12:25:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 12:25:04] Production.INFO: ==26180== Lock acquired, processing the job...
[2025-04-12 12:25:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 12:25:04] Production.INFO: count ==23
[2025-04-12 12:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891543') start
[2025-04-12 12:25:04] Production.INFO: ==26184== Lock acquired, processing the job...
[2025-04-12 12:25:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 12:25:04] Production.INFO: CreateAllLog End
[2025-04-12 12:25:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 12:25:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 12:25:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 12:25:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 12:25:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 12:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891543') end
[2025-04-12 12:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 12:25:04] Production.INFO: 1
[2025-04-12 12:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 12:25:04] Production.INFO: Account Balance End.
[2025-04-12 12:25:04] Production.INFO: ==26186== Releasing lock...
[2025-04-12 12:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 12:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 12:25:04] Production.ERROR: CronJobId end 12
[2025-04-12 12:25:04] Production.INFO: ==26182== Releasing lock...
[2025-04-12 12:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 12:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 12:25:04] Production.INFO: ==26178== Releasing lock...
[2025-04-12 12:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 12:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 12:25:04] Production.ERROR: done
[2025-04-12 12:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 12:25:04] Production.ERROR: done
[2025-04-12 12:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 09:25:05
[end_date_ymd] => 2025-04-12 12:25:05
[RateCDR] => 1
)
[2025-04-12 12:25:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 09:25:05' and `end` < '2025-04-12 12:25:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 12:25:12] Production.ERROR: CronJobId end10
[2025-04-12 12:25:12] Production.INFO: ==26180== Releasing lock...
[2025-04-12 12:25:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 12:25:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 12:25:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 12:25:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 12:25:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 12:25:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 12:25:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 12:25:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 12:25:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 12:25:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 12:25:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 12:25:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 12:25:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 12:25:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 12:25:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 12:25:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 12:25:15] Production.INFO: call_cost start
[2025-04-12 12:25:15] Production.INFO: call_cost end
[2025-04-12 12:25:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 12:25:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 12:25:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 12:25:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 12:25:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 12:25:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 12:25:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 12:25:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 12:25:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 12:25:16] Production.INFO: ==26176== Releasing lock...
[2025-04-12 12:25:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 12:25:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 12:25:18] Production.INFO: count ==1479
[2025-04-12 12:25:19] Production.ERROR: pbx CDR StartTime 2025-04-12 09:25:05 - End Time 2025-04-12 12:25:05
[2025-04-12 12:25:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 12:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891545', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891545', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891545', 'tblTempVendorCDR_20' ) start
[2025-04-12 12:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891545', 'tblTempVendorCDR_20' ) end
[2025-04-12 12:25:19] Production.INFO: ProcessCDR(1,14891545,1,1,2)
[2025-04-12 12:25:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891545,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:25:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891545,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:25:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891545,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:25:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891545,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891545', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891545', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:25:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 12:25:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 12:25:22] Production.INFO: ==26184== Releasing lock...
[2025-04-12 12:25:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 12:25:22] Production.INFO: 39.25 MB #Memory Used#
[2025-04-12 17:26:01] Production.INFO: ==26244== Lock acquired, processing the job...
[2025-04-12 17:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 17:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 17:26:01] Production.INFO: neon service started
[2025-04-12 17:26:01] Production.INFO: neon service started
[2025-04-12 17:26:01] Production.INFO: ==26244== Releasing lock...
[2025-04-12 17:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 17:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 12:26:02] Production.INFO: ==26246== Lock acquired, processing the job...
[2025-04-12 12:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 16:26:02] Production.INFO: ==26248== Lock acquired, processing the job...
[2025-04-12 16:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 16:26:02] Production.INFO: ==26248== Releasing lock...
[2025-04-12 16:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 16:26:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 12:26:02] Production.INFO: ==26246== Releasing lock...
[2025-04-12 12:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 12:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 12:26:03] Production.INFO: ==26255== Lock acquired, processing the job...
[2025-04-12 12:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 12:26:03] Production.INFO: ==26257== Lock acquired, processing the job...
[2025-04-12 12:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 12:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 12:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 12:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 12:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 12:26:03] Production.INFO: ==26261== Lock acquired, processing the job...
[2025-04-12 12:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 12:26:03] Production.INFO: Account Balance Start.
[2025-04-12 12:26:03] Production.INFO: CreateAllLog Start
[2025-04-12 12:26:03] Production.INFO: 117
[2025-04-12 12:26:03] Production.INFO: Date 2025-04-08
[2025-04-12 12:26:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:26:03] Production.INFO: Date 2025-04-09
[2025-04-12 12:26:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:26:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 12:26:03] Production.INFO: count ==12
[2025-04-12 12:26:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 12:26:03] Production.INFO: count ==23
[2025-04-12 12:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891547') start
[2025-04-12 12:26:03] Production.INFO: ==26251== Lock acquired, processing the job...
[2025-04-12 12:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 12:26:03] Production.INFO: Date 2025-04-10
[2025-04-12 12:26:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:26:03] Production.INFO: ==26253== Lock acquired, processing the job...
[2025-04-12 12:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 12:26:03] Production.INFO: Date 2025-04-11
[2025-04-12 12:26:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:26:03] Production.INFO: Date 2025-04-12
[2025-04-12 12:26:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:26:03] Production.INFO: ==26259== Lock acquired, processing the job...
[2025-04-12 12:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 12:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891547') end
[2025-04-12 12:26:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 12:26:03] Production.INFO: 1
[2025-04-12 12:26:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 12:26:03] Production.INFO: ==26261== Releasing lock...
[2025-04-12 12:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 12:26:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 12:26:03] Production.INFO: Total Charge 0
[2025-04-12 12:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 12:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 12:26:03] Production.INFO: CreateAllLog End
[2025-04-12 12:26:04] Production.INFO: Account Balance End.
[2025-04-12 12:26:04] Production.ERROR: CronJobId end 12
[2025-04-12 12:26:04] Production.INFO: ==26257== Releasing lock...
[2025-04-12 12:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 12:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 12:26:04] Production.INFO: ==26253== Releasing lock...
[2025-04-12 12:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 12:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 12:26:04] Production.ERROR: done
[2025-04-12 12:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 12:26:04] Production.ERROR: done
[2025-04-12 12:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 09:26:05
[end_date_ymd] => 2025-04-12 12:26:05
[RateCDR] => 1
)
[2025-04-12 12:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 09:26:05' and `end` < '2025-04-12 12:26:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 12:26:12] Production.ERROR: CronJobId end10
[2025-04-12 12:26:12] Production.INFO: ==26255== Releasing lock...
[2025-04-12 12:26:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 12:26:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 12:26:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 12:26:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 12:26:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 12:26:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 12:26:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 12:26:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 12:26:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 12:26:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 12:26:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 12:26:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 12:26:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 12:26:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 12:26:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 12:26:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 12:26:14] Production.INFO: call_cost start
[2025-04-12 12:26:14] Production.INFO: call_cost end
[2025-04-12 12:26:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 12:26:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 12:26:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 12:26:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 12:26:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 12:26:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 12:26:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 12:26:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 12:26:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 12:26:15] Production.INFO: ==26251== Releasing lock...
[2025-04-12 12:26:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 12:26:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 12:26:18] Production.INFO: count ==1477
[2025-04-12 12:26:19] Production.ERROR: pbx CDR StartTime 2025-04-12 09:26:05 - End Time 2025-04-12 12:26:05
[2025-04-12 12:26:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 12:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891550', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891550', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891550', 'tblTempVendorCDR_20' ) start
[2025-04-12 12:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891550', 'tblTempVendorCDR_20' ) end
[2025-04-12 12:26:19] Production.INFO: ProcessCDR(1,14891550,1,1,2)
[2025-04-12 12:26:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891550,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:26:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891550,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:26:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891550,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:26:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891550,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:26:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891550', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:26:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891550', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:26:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 12:26:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 12:26:24] Production.INFO: ==26259== Releasing lock...
[2025-04-12 12:26:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 12:26:24] Production.INFO: 39.5 MB #Memory Used#
[2025-04-12 17:27:02] Production.INFO: ==26317== Lock acquired, processing the job...
[2025-04-12 17:27:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 17:27:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 17:27:02] Production.INFO: neon service started
[2025-04-12 17:27:02] Production.INFO: neon service started
[2025-04-12 17:27:02] Production.INFO: ==26317== Releasing lock...
[2025-04-12 17:27:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 17:27:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 12:27:02] Production.INFO: ==26320== Lock acquired, processing the job...
[2025-04-12 12:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 12:27:02] Production.INFO: ==26320== Releasing lock...
[2025-04-12 12:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 12:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 16:27:02] Production.INFO: ==26322== Lock acquired, processing the job...
[2025-04-12 16:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 16:27:02] Production.INFO: ==26322== Releasing lock...
[2025-04-12 16:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 16:27:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 12:27:03] Production.INFO: ==26330== Lock acquired, processing the job...
[2025-04-12 12:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 12:27:03] Production.INFO: ==26334== Lock acquired, processing the job...
[2025-04-12 12:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 12:27:03] Production.INFO: Account Balance Start.
[2025-04-12 12:27:03] Production.INFO: CreateAllLog Start
[2025-04-12 12:27:03] Production.INFO: 117
[2025-04-12 12:27:03] Production.INFO: Date 2025-04-08
[2025-04-12 12:27:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 12:27:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:27:03] Production.INFO: count ==12
[2025-04-12 12:27:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 12:27:03] Production.INFO: count ==23
[2025-04-12 12:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891552') start
[2025-04-12 12:27:03] Production.INFO: ==26324== Lock acquired, processing the job...
[2025-04-12 12:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 12:27:03] Production.INFO: Date 2025-04-09
[2025-04-12 12:27:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:27:03] Production.INFO: Date 2025-04-10
[2025-04-12 12:27:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:27:04] Production.INFO: ==26326== Lock acquired, processing the job...
[2025-04-12 12:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 12:27:04] Production.INFO: Date 2025-04-11
[2025-04-12 12:27:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:27:04] Production.INFO: Date 2025-04-12
[2025-04-12 12:27:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:27:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 12:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891552') end
[2025-04-12 12:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 12:27:04] Production.INFO: 1
[2025-04-12 12:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 12:27:04] Production.INFO: ==26328== Lock acquired, processing the job...
[2025-04-12 12:27:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 12:27:04] Production.INFO: ==26334== Releasing lock...
[2025-04-12 12:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 12:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 12:27:04] Production.INFO: Total Charge 0
[2025-04-12 12:27:04] Production.INFO: CreateAllLog End
[2025-04-12 12:27:04] Production.INFO: ==26332== Lock acquired, processing the job...
[2025-04-12 12:27:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 12:27:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 12:27:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 12:27:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 12:27:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 12:27:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 12:27:04] Production.INFO: Account Balance End.
[2025-04-12 12:27:04] Production.INFO: ==26326== Releasing lock...
[2025-04-12 12:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 12:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 12:27:04] Production.ERROR: CronJobId end 12
[2025-04-12 12:27:04] Production.INFO: ==26330== Releasing lock...
[2025-04-12 12:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 12:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 12:27:04] Production.ERROR: done
[2025-04-12 12:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 12:27:04] Production.ERROR: done
[2025-04-12 12:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 09:27:05
[end_date_ymd] => 2025-04-12 12:27:05
[RateCDR] => 1
)
[2025-04-12 12:27:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 09:27:05' and `end` < '2025-04-12 12:27:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 12:27:11] Production.ERROR: CronJobId end10
[2025-04-12 12:27:11] Production.INFO: ==26328== Releasing lock...
[2025-04-12 12:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 12:27:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 12:27:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 12:27:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 12:27:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 12:27:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 12:27:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 12:27:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 12:27:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 12:27:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 12:27:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 12:27:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 12:27:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 12:27:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 12:27:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 12:27:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 12:27:14] Production.INFO: call_cost start
[2025-04-12 12:27:14] Production.INFO: call_cost end
[2025-04-12 12:27:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 12:27:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 12:27:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 12:27:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 12:27:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 12:27:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 12:27:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 12:27:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 12:27:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 12:27:15] Production.INFO: ==26324== Releasing lock...
[2025-04-12 12:27:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 12:27:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 12:27:19] Production.INFO: count ==1475
[2025-04-12 12:27:19] Production.ERROR: pbx CDR StartTime 2025-04-12 09:27:05 - End Time 2025-04-12 12:27:05
[2025-04-12 12:27:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 12:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891555', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891555', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891555', 'tblTempVendorCDR_20' ) start
[2025-04-12 12:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891555', 'tblTempVendorCDR_20' ) end
[2025-04-12 12:27:19] Production.INFO: ProcessCDR(1,14891555,1,1,2)
[2025-04-12 12:27:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891555,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:27:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891555,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:27:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891555,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:27:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891555,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891555', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891555', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:27:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 12:27:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 12:27:22] Production.INFO: ==26332== Releasing lock...
[2025-04-12 12:27:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 12:27:22] Production.INFO: 39 MB #Memory Used#
[2025-04-12 17:28:01] Production.INFO: ==26396== Lock acquired, processing the job...
[2025-04-12 17:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 17:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 17:28:01] Production.INFO: neon service started
[2025-04-12 17:28:01] Production.INFO: neon service started
[2025-04-12 17:28:01] Production.INFO: ==26396== Releasing lock...
[2025-04-12 17:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 17:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 12:28:01] Production.INFO: ==26398== Lock acquired, processing the job...
[2025-04-12 12:28:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 12:28:02] Production.INFO: ==26398== Releasing lock...
[2025-04-12 12:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 12:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 16:28:02] Production.INFO: ==26400== Lock acquired, processing the job...
[2025-04-12 16:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 16:28:02] Production.INFO: ==26400== Releasing lock...
[2025-04-12 16:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 16:28:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 12:28:03] Production.INFO: ==26402== Lock acquired, processing the job...
[2025-04-12 12:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 12:28:03] Production.INFO: ==26404== Lock acquired, processing the job...
[2025-04-12 12:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 12:28:03] Production.INFO: ==26406== Lock acquired, processing the job...
[2025-04-12 12:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 12:28:03] Production.INFO: ==26413== Lock acquired, processing the job...
[2025-04-12 12:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 12:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 12:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 12:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 12:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 12:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 12:28:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 12:28:03] Production.INFO: ==26408== Lock acquired, processing the job...
[2025-04-12 12:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 12:28:03] Production.INFO: count ==12
[2025-04-12 12:28:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 12:28:03] Production.INFO: count ==23
[2025-04-12 12:28:03] Production.INFO: ==26410== Lock acquired, processing the job...
[2025-04-12 12:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 12:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891557') start
[2025-04-12 12:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 12:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891557') end
[2025-04-12 12:28:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 12:28:03] Production.INFO: 1
[2025-04-12 12:28:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 12:28:03] Production.INFO: Account Balance Start.
[2025-04-12 12:28:03] Production.INFO: CreateAllLog Start
[2025-04-12 12:28:03] Production.INFO: 117
[2025-04-12 12:28:03] Production.INFO: Date 2025-04-08
[2025-04-12 12:28:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:28:03] Production.INFO: Date 2025-04-09
[2025-04-12 12:28:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:28:03] Production.INFO: Date 2025-04-10
[2025-04-12 12:28:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:28:03] Production.INFO: ==26413== Releasing lock...
[2025-04-12 12:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 12:28:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 12:28:03] Production.INFO: Date 2025-04-11
[2025-04-12 12:28:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:28:03] Production.INFO: Date 2025-04-12
[2025-04-12 12:28:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:28:03] Production.INFO: Total Charge 0
[2025-04-12 12:28:03] Production.INFO: CreateAllLog End
[2025-04-12 12:28:04] Production.INFO: ==26404== Releasing lock...
[2025-04-12 12:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 12:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 12:28:04] Production.ERROR: done
[2025-04-12 12:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 12:28:04] Production.ERROR: done
[2025-04-12 12:28:04] Production.INFO: Account Balance End.
[2025-04-12 12:28:04] Production.ERROR: CronJobId end 12
[2025-04-12 12:28:04] Production.INFO: ==26408== Releasing lock...
[2025-04-12 12:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 12:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 12:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 09:28:05
[end_date_ymd] => 2025-04-12 12:28:05
[RateCDR] => 1
)
[2025-04-12 12:28:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 09:28:05' and `end` < '2025-04-12 12:28:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 12:28:13] Production.ERROR: CronJobId end10
[2025-04-12 12:28:13] Production.INFO: ==26406== Releasing lock...
[2025-04-12 12:28:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 12:28:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 12:28:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 12:28:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 12:28:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 12:28:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 12:28:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 12:28:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 12:28:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 12:28:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 12:28:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 12:28:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 12:28:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 12:28:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 12:28:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 12:28:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 12:28:15] Production.INFO: call_cost start
[2025-04-12 12:28:15] Production.INFO: call_cost end
[2025-04-12 12:28:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 12:28:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 12:28:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 12:28:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 12:28:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 12:28:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 12:28:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 12:28:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 12:28:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 12:28:16] Production.INFO: ==26402== Releasing lock...
[2025-04-12 12:28:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 12:28:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 12:28:18] Production.INFO: count ==1475
[2025-04-12 12:28:18] Production.ERROR: pbx CDR StartTime 2025-04-12 09:28:05 - End Time 2025-04-12 12:28:05
[2025-04-12 12:28:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 12:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891560', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891560', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891560', 'tblTempVendorCDR_20' ) start
[2025-04-12 12:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891560', 'tblTempVendorCDR_20' ) end
[2025-04-12 12:28:18] Production.INFO: ProcessCDR(1,14891560,1,1,2)
[2025-04-12 12:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891560,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:28:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891560,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:28:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891560,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:28:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891560,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891560', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891560', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:28:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 12:28:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 12:28:22] Production.INFO: ==26410== Releasing lock...
[2025-04-12 12:28:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 12:28:22] Production.INFO: 39 MB #Memory Used#
[2025-04-12 17:29:02] Production.INFO: ==26484== Lock acquired, processing the job...
[2025-04-12 17:29:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 17:29:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 17:29:02] Production.INFO: neon service started
[2025-04-12 17:29:02] Production.INFO: neon service started
[2025-04-12 17:29:02] Production.INFO: ==26484== Releasing lock...
[2025-04-12 17:29:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 17:29:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 16:29:02] Production.INFO: ==26488== Lock acquired, processing the job...
[2025-04-12 16:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 16:29:02] Production.INFO: ==26488== Releasing lock...
[2025-04-12 16:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 16:29:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 12:29:02] Production.INFO: ==26486== Lock acquired, processing the job...
[2025-04-12 12:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 12:29:02] Production.INFO: ==26486== Releasing lock...
[2025-04-12 12:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 12:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 12:29:03] Production.INFO: ==26490== Lock acquired, processing the job...
[2025-04-12 12:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 12:29:03] Production.INFO: ==26497== Lock acquired, processing the job...
[2025-04-12 12:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 12:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 12:29:03] Production.INFO: ==26499== Lock acquired, processing the job...
[2025-04-12 12:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 12:29:03] Production.INFO: Account Balance Start.
[2025-04-12 12:29:03] Production.INFO: CreateAllLog Start
[2025-04-12 12:29:03] Production.INFO: 117
[2025-04-12 12:29:03] Production.INFO: Date 2025-04-08
[2025-04-12 12:29:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:29:03] Production.INFO: Date 2025-04-09
[2025-04-12 12:29:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 12:29:03] Production.INFO: Date 2025-04-10
[2025-04-12 12:29:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:29:03] Production.INFO: ==26492== Lock acquired, processing the job...
[2025-04-12 12:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 12:29:04] Production.INFO: Date 2025-04-11
[2025-04-12 12:29:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:29:04] Production.INFO: ==26495== Lock acquired, processing the job...
[2025-04-12 12:29:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 12:29:04] Production.INFO: ==26501== Lock acquired, processing the job...
[2025-04-12 12:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 12:29:04] Production.INFO: Date 2025-04-12
[2025-04-12 12:29:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:29:04] Production.INFO: Total Charge 0
[2025-04-12 12:29:04] Production.INFO: CreateAllLog End
[2025-04-12 12:29:04] Production.ERROR: done
[2025-04-12 12:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 12:29:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 12:29:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 12:29:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 12:29:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 12:29:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 12:29:04] Production.INFO: count ==12
[2025-04-12 12:29:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 12:29:04] Production.INFO: count ==23
[2025-04-12 12:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891563') start
[2025-04-12 12:29:04] Production.ERROR: done
[2025-04-12 12:29:04] Production.INFO: Account Balance End.
[2025-04-12 12:29:04] Production.ERROR: CronJobId end 12
[2025-04-12 12:29:04] Production.INFO: ==26497== Releasing lock...
[2025-04-12 12:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 12:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 12:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891563') end
[2025-04-12 12:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 12:29:04] Production.INFO: 1
[2025-04-12 12:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 12:29:04] Production.INFO: ==26501== Releasing lock...
[2025-04-12 12:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 12:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 12:29:04] Production.INFO: ==26492== Releasing lock...
[2025-04-12 12:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 12:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 12:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 09:29:05
[end_date_ymd] => 2025-04-12 12:29:05
[RateCDR] => 1
)
[2025-04-12 12:29:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 09:29:05' and `end` < '2025-04-12 12:29:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 12:29:12] Production.ERROR: CronJobId end10
[2025-04-12 12:29:12] Production.INFO: ==26495== Releasing lock...
[2025-04-12 12:29:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 12:29:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 12:29:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 12:29:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 12:29:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 12:29:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 12:29:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 12:29:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 12:29:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 12:29:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 12:29:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 12:29:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 12:29:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 12:29:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 12:29:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 12:29:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 12:29:15] Production.INFO: call_cost start
[2025-04-12 12:29:15] Production.INFO: call_cost end
[2025-04-12 12:29:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 12:29:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 12:29:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 12:29:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 12:29:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 12:29:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 12:29:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 12:29:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 12:29:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 12:29:16] Production.INFO: ==26490== Releasing lock...
[2025-04-12 12:29:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 12:29:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 12:29:18] Production.INFO: count ==1483
[2025-04-12 12:29:18] Production.ERROR: pbx CDR StartTime 2025-04-12 09:29:05 - End Time 2025-04-12 12:29:05
[2025-04-12 12:29:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 12:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891565', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891565', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891565', 'tblTempVendorCDR_20' ) start
[2025-04-12 12:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891565', 'tblTempVendorCDR_20' ) end
[2025-04-12 12:29:19] Production.INFO: ProcessCDR(1,14891565,1,1,2)
[2025-04-12 12:29:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891565,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:29:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891565,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:29:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891565,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:29:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891565,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891565', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891565', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:29:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 12:29:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 12:29:22] Production.INFO: ==26499== Releasing lock...
[2025-04-12 12:29:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 12:29:22] Production.INFO: 39 MB #Memory Used#
[2025-04-12 17:30:01] Production.INFO: ==26608== Lock acquired, processing the job...
[2025-04-12 17:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 17:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 17:30:01] Production.INFO: neon service started
[2025-04-12 17:30:01] Production.INFO: neon service started
[2025-04-12 17:30:01] Production.INFO: ==26608== Releasing lock...
[2025-04-12 17:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 17:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 16:30:01] Production.INFO: ==26613== Lock acquired, processing the job...
[2025-04-12 16:30:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 16:30:02] Production.INFO: ==26613== Releasing lock...
[2025-04-12 16:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 16:30:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 12:30:02] Production.INFO: ==26611== Lock acquired, processing the job...
[2025-04-12 12:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 12:30:02] Production.INFO: ==26611== Releasing lock...
[2025-04-12 12:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 12:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 12:30:03] Production.INFO: ==26619== Lock acquired, processing the job...
[2025-04-12 12:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 12:30:03] Production.INFO: ==26621== Lock acquired, processing the job...
[2025-04-12 12:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 12:30:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 12:30:03] Production.INFO: ==26619== Releasing lock...
[2025-04-12 12:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 12:30:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 12:30:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 12:30:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 12:30:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 12:30:03] Production.INFO: ==26627== Lock acquired, processing the job...
[2025-04-12 12:30:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 12:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 12:30:03] Production.INFO: ==26629== Lock acquired, processing the job...
[2025-04-12 12:30:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 12:30:03] Production.ERROR: done
[2025-04-12 12:30:03] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 12:30:03] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14891567', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 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-12 12:30:04] Production.INFO: ==26615== Lock acquired, processing the job...
[2025-04-12 12:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 12:30:04] Production.INFO: ==26617== Lock acquired, processing the job...
[2025-04-12 12:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 12:30:04] Production.INFO: count ==12
[2025-04-12 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-12 12:30:04] Production.INFO: count ==23
[2025-04-12 12:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891568') start
[2025-04-12 12:30:04] Production.INFO: ==26623== Lock acquired, processing the job...
[2025-04-12 12:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 12:30:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 12:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 12:30:04] Production.ERROR: CronJob PID - 26617
[2025-04-12 12:30:04] Production.ERROR: CronJob Title - System Alerts
[2025-04-12 12:30:04] Production.ERROR: CronJob ID - 5
[2025-04-12 12:30:04] Production.ERROR: CronJob Last Run Time 2025-04-12 12:30:00
[2025-04-12 12:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 12:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 12:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 12:30:04] Production.ERROR: CronJob PID - 26621
[2025-04-12 12:30:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-04-12 12:30:04] Production.ERROR: CronJob ID - 10
[2025-04-12 12:30:04] Production.ERROR: CronJob Last Run Time 2025-04-12 12:30:00
[2025-04-12 12:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 12:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 12:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 12:30:04] Production.ERROR: CronJob PID - 26627
[2025-04-12 12:30:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-04-12 12:30:04] Production.ERROR: CronJob ID - 17
[2025-04-12 12:30:04] Production.ERROR: CronJob Last Run Time 2025-04-12 12:30:00
[2025-04-12 12:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 12:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 12:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 12:30:04] Production.ERROR: CronJob PID - 26629
[2025-04-12 12:30:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-04-12 12:30:04] Production.ERROR: CronJob ID - 19
[2025-04-12 12:30:04] Production.ERROR: CronJob Last Run Time 2025-04-12 12:30:00
[2025-04-12 12:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 12:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 12:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 12:30:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 12:30:04] Production.INFO: ==26615== Releasing lock...
[2025-04-12 12:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 12:30:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 12:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891568') end
[2025-04-12 12:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 12:30:04] Production.INFO: 1
[2025-04-12 12:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 12:30:04] Production.INFO: ==26625== Lock acquired, processing the job...
[2025-04-12 12:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 12:30:04] Production.INFO: ==26629== Releasing lock...
[2025-04-12 12:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 12:30:04] Production.INFO: Account Balance Start.
[2025-04-12 12:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 12:30:04] Production.INFO: CreateAllLog Start
[2025-04-12 12:30:04] Production.INFO: 117
[2025-04-12 12:30:04] Production.INFO: Date 2025-04-08
[2025-04-12 12:30:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 12:30:04] Production.INFO: Date 2025-04-09
[2025-04-12 12:30:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:30:04] Production.INFO: Date 2025-04-10
[2025-04-12 12:30:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:30:04] Production.INFO: Date 2025-04-11
[2025-04-12 12:30:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:30:04] Production.INFO: Date 2025-04-12
[2025-04-12 12:30:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:30:04] Production.INFO: Total Charge 0
[2025-04-12 12:30:04] Production.INFO: CreateAllLog End
[2025-04-12 12:30:04] Production.ERROR: done
[2025-04-12 12:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 12:30:04] Production.ERROR: done
[2025-04-12 12:30:05] Production.INFO: Account Balance End.
[2025-04-12 12:30:05] Production.ERROR: CronJobId end 12
[2025-04-12 12:30:05] Production.INFO: ==26623== Releasing lock...
[2025-04-12 12:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 12:30:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 12:30:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 09:30:05
[end_date_ymd] => 2025-04-12 12:30:05
[RateCDR] => 1
)
[2025-04-12 12:30:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 09:30:05' and `end` < '2025-04-12 12:30:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 12:30:07] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14891567', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 12:30:07] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 12:30:07] Production.INFO: ProcessCDR(1,14891567,1,1,2)
[2025-04-12 12:30:07] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14891567,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:30:07] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14891567,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:30:07] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 12:30:07] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 12:30:07] Production.INFO: ==26627== Releasing lock...
[2025-04-12 12:30:07] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 12:30:07] Production.INFO: 26 MB #Memory Used#
[2025-04-12 12:30:14] Production.ERROR: CronJobId end10
[2025-04-12 12:30:14] Production.INFO: ==26621== Releasing lock...
[2025-04-12 12:30:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 12:30:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 12:30:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 12:30:16] Production.INFO: ============== Balance Warning START===========
[2025-04-12 12:30:16] Production.INFO: ============== Balance Warning END===========
[2025-04-12 12:30:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 12:30:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 12:30:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 12:30:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 12:30:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 12:30:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 12:30:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 12:30:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 12:30:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 12:30:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 12:30:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 12:30:16] Production.INFO: call_cost start
[2025-04-12 12:30:16] Production.INFO: call_cost end
[2025-04-12 12:30:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 12:30:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 12:30:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 12:30:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 12:30:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 12:30:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 12:30:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 12:30:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 12:30:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 12:30:17] Production.INFO: ==26617== Releasing lock...
[2025-04-12 12:30:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 12:30:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 12:30:18] Production.INFO: count ==1492
[2025-04-12 12:30:19] Production.ERROR: pbx CDR StartTime 2025-04-12 09:30:05 - End Time 2025-04-12 12:30:05
[2025-04-12 12:30:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 12:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891571', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891571', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891571', 'tblTempVendorCDR_20' ) start
[2025-04-12 12:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891571', 'tblTempVendorCDR_20' ) end
[2025-04-12 12:30:19] Production.INFO: ProcessCDR(1,14891571,1,1,2)
[2025-04-12 12:30:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891571,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:30:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891571,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:30:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891571,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:30:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891571,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:30:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891571', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:30:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891571', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:30:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 12:30:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 12:30:24] Production.INFO: ==26625== Releasing lock...
[2025-04-12 12:30:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 12:30:24] Production.INFO: 39.5 MB #Memory Used#
[2025-04-12 17:31:01] Production.INFO: ==26695== Lock acquired, processing the job...
[2025-04-12 17:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 17:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 17:31:02] Production.INFO: neon service started
[2025-04-12 17:31:02] Production.INFO: neon service started
[2025-04-12 17:31:02] Production.INFO: ==26695== Releasing lock...
[2025-04-12 17:31:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 17:31:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 12:31:02] Production.INFO: ==26697== Lock acquired, processing the job...
[2025-04-12 12:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 12:31:02] Production.INFO: ==26697== Releasing lock...
[2025-04-12 12:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 12:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 16:31:02] Production.INFO: ==26699== Lock acquired, processing the job...
[2025-04-12 16:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 16:31:02] Production.INFO: ==26699== Releasing lock...
[2025-04-12 16:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 16:31:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 12:31:03] Production.INFO: ==26708== Lock acquired, processing the job...
[2025-04-12 12:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 12:31:03] Production.INFO: Account Balance Start.
[2025-04-12 12:31:03] Production.INFO: CreateAllLog Start
[2025-04-12 12:31:03] Production.INFO: 117
[2025-04-12 12:31:03] Production.INFO: Date 2025-04-08
[2025-04-12 12:31:03] Production.INFO: ==26712== Lock acquired, processing the job...
[2025-04-12 12:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 12:31:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:31:03] Production.INFO: Date 2025-04-09
[2025-04-12 12:31:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:31:03] Production.INFO: Date 2025-04-10
[2025-04-12 12:31:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:31:03] Production.INFO: ==26702== Lock acquired, processing the job...
[2025-04-12 12:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 12:31:03] Production.INFO: Date 2025-04-11
[2025-04-12 12:31:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:31:03] Production.INFO: ==26706== Lock acquired, processing the job...
[2025-04-12 12:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 12:31:03] Production.INFO: ==26704== Lock acquired, processing the job...
[2025-04-12 12:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 12:31:03] Production.INFO: Date 2025-04-12
[2025-04-12 12:31:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:31:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 12:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 12:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 12:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 12:31:03] Production.INFO: ==26710== Lock acquired, processing the job...
[2025-04-12 12:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 12:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 12:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 12:31:03] Production.INFO: count ==12
[2025-04-12 12:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 12:31:03] Production.INFO: Total Charge 0
[2025-04-12 12:31:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 12:31:03] Production.INFO: count ==23
[2025-04-12 12:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891573') start
[2025-04-12 12:31:03] Production.INFO: CreateAllLog End
[2025-04-12 12:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891573') end
[2025-04-12 12:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 12:31:04] Production.INFO: 1
[2025-04-12 12:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 12:31:04] Production.INFO: ==26712== Releasing lock...
[2025-04-12 12:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 12:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 12:31:04] Production.ERROR: done
[2025-04-12 12:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 12:31:04] Production.INFO: Account Balance End.
[2025-04-12 12:31:04] Production.ERROR: CronJobId end 12
[2025-04-12 12:31:04] Production.INFO: ==26708== Releasing lock...
[2025-04-12 12:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 12:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 12:31:04] Production.INFO: ==26704== Releasing lock...
[2025-04-12 12:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 12:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 12:31:04] Production.ERROR: done
[2025-04-12 12:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 09:31:05
[end_date_ymd] => 2025-04-12 12:31:05
[RateCDR] => 1
)
[2025-04-12 12:31:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 09:31:05' and `end` < '2025-04-12 12:31:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 12:31:11] Production.ERROR: CronJobId end10
[2025-04-12 12:31:11] Production.INFO: ==26706== Releasing lock...
[2025-04-12 12:31:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 12:31:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 12:31:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 12:31:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 12:31:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 12:31:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 12:31:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 12:31:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 12:31:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 12:31:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 12:31:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 12:31:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 12:31:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 12:31:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 12:31:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 12:31:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 12:31:14] Production.INFO: call_cost start
[2025-04-12 12:31:14] Production.INFO: call_cost end
[2025-04-12 12:31:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 12:31:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 12:31:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 12:31:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 12:31:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 12:31:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 12:31:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 12:31:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 12:31:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 12:31:15] Production.INFO: ==26702== Releasing lock...
[2025-04-12 12:31:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 12:31:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 12:31:18] Production.INFO: count ==1503
[2025-04-12 12:31:18] Production.ERROR: pbx CDR StartTime 2025-04-12 09:31:05 - End Time 2025-04-12 12:31:05
[2025-04-12 12:31:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 12:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891576', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891576', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891576', 'tblTempVendorCDR_20' ) start
[2025-04-12 12:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891576', 'tblTempVendorCDR_20' ) end
[2025-04-12 12:31:18] Production.INFO: ProcessCDR(1,14891576,1,1,2)
[2025-04-12 12:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891576,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:31:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891576,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:31:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891576,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:31:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891576,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891576', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891576', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:31:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 12:31:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 12:31:22] Production.INFO: ==26710== Releasing lock...
[2025-04-12 12:31:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 12:31:22] Production.INFO: 39.25 MB #Memory Used#
[2025-04-12 17:32:01] Production.INFO: ==26777== Lock acquired, processing the job...
[2025-04-12 17:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 17:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 17:32:01] Production.INFO: neon service started
[2025-04-12 17:32:01] Production.INFO: neon service started
[2025-04-12 17:32:01] Production.INFO: ==26777== Releasing lock...
[2025-04-12 17:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 17:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 16:32:01] Production.INFO: ==26781== Lock acquired, processing the job...
[2025-04-12 16:32:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 16:32:01] Production.INFO: ==26781== Releasing lock...
[2025-04-12 16:32:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 16:32:01] Production.INFO: 25 MB #Memory Used#
[2025-04-12 12:32:02] Production.INFO: ==26779== Lock acquired, processing the job...
[2025-04-12 12:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 12:32:02] Production.INFO: ==26779== Releasing lock...
[2025-04-12 12:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 12:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 12:32:03] Production.INFO: ==26788== Lock acquired, processing the job...
[2025-04-12 12:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 12:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 12:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 12:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 12:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 12:32:03] Production.INFO: ==26794== Lock acquired, processing the job...
[2025-04-12 12:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 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-12 12:32:03] Production.INFO: ==26784== Lock acquired, processing the job...
[2025-04-12 12:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 12:32:03] Production.INFO: count ==12
[2025-04-12 12:32:03] Production.INFO: ==26786== Lock acquired, processing the job...
[2025-04-12 12:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 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-12 12:32:03] Production.INFO: count ==23
[2025-04-12 12:32:03] Production.INFO: ==26790== Lock acquired, processing the job...
[2025-04-12 12:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 12:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891577') start
[2025-04-12 12:32:03] Production.INFO: ==26792== Lock acquired, processing the job...
[2025-04-12 12:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 12:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891577') end
[2025-04-12 12:32:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 12:32:03] Production.INFO: 1
[2025-04-12 12:32:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 12:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 12:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 12:32:03] Production.INFO: Account Balance Start.
[2025-04-12 12:32:03] Production.INFO: CreateAllLog Start
[2025-04-12 12:32:03] Production.INFO: 117
[2025-04-12 12:32:04] Production.INFO: Date 2025-04-08
[2025-04-12 12:32:04] Production.INFO: ==26794== Releasing lock...
[2025-04-12 12:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 12:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 12:32:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:32:04] Production.INFO: Date 2025-04-09
[2025-04-12 12:32:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:32:04] Production.INFO: Date 2025-04-10
[2025-04-12 12:32:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:32:04] Production.INFO: Date 2025-04-11
[2025-04-12 12:32:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:32:04] Production.INFO: Date 2025-04-12
[2025-04-12 12:32:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:32:04] Production.INFO: ==26786== Releasing lock...
[2025-04-12 12:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 12:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 12:32:04] Production.INFO: Total Charge 0
[2025-04-12 12:32:04] Production.INFO: CreateAllLog End
[2025-04-12 12:32:04] Production.ERROR: done
[2025-04-12 12:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 12:32:04] Production.ERROR: done
[2025-04-12 12:32:04] Production.INFO: Account Balance End.
[2025-04-12 12:32:04] Production.ERROR: CronJobId end 12
[2025-04-12 12:32:04] Production.INFO: ==26790== Releasing lock...
[2025-04-12 12:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 12:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 12:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 09:32:05
[end_date_ymd] => 2025-04-12 12:32:05
[RateCDR] => 1
)
[2025-04-12 12:32:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 09:32:05' and `end` < '2025-04-12 12:32:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 12:32:11] Production.ERROR: CronJobId end10
[2025-04-12 12:32:11] Production.INFO: ==26788== Releasing lock...
[2025-04-12 12:32:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 12:32:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 12:32:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 12:32:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 12:32:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 12:32:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 12:32:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 12:32:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 12:32:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 12:32:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 12:32:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 12:32:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 12:32:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 12:32:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 12:32:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 12:32:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 12:32:15] Production.INFO: call_cost start
[2025-04-12 12:32:15] Production.INFO: call_cost end
[2025-04-12 12:32:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 12:32:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 12:32:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 12:32:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 12:32:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 12:32:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 12:32:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 12:32:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 12:32:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 12:32:16] Production.INFO: ==26784== Releasing lock...
[2025-04-12 12:32:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 12:32:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 12:32:18] Production.INFO: count ==1502
[2025-04-12 12:32:19] Production.ERROR: pbx CDR StartTime 2025-04-12 09:32:05 - End Time 2025-04-12 12:32:05
[2025-04-12 12:32:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 12:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891581', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891581', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891581', 'tblTempVendorCDR_20' ) start
[2025-04-12 12:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891581', 'tblTempVendorCDR_20' ) end
[2025-04-12 12:32:19] Production.INFO: ProcessCDR(1,14891581,1,1,2)
[2025-04-12 12:32:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891581,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:32:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891581,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:32:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891581,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:32:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891581,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891581', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891581', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:32:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 12:32:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 12:32:22] Production.INFO: ==26792== Releasing lock...
[2025-04-12 12:32:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 12:32:22] Production.INFO: 39 MB #Memory Used#
[2025-04-12 17:33:01] Production.INFO: ==26857== Lock acquired, processing the job...
[2025-04-12 17:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 17:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 17:33:01] Production.INFO: neon service started
[2025-04-12 17:33:01] Production.INFO: neon service started
[2025-04-12 17:33:01] Production.INFO: ==26857== Releasing lock...
[2025-04-12 17:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 17:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 12:33:02] Production.INFO: ==26859== Lock acquired, processing the job...
[2025-04-12 12:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 16:33:02] Production.INFO: ==26861== Lock acquired, processing the job...
[2025-04-12 16:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 16:33:02] Production.INFO: ==26861== Releasing lock...
[2025-04-12 16:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 16:33:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 12:33:02] Production.INFO: ==26859== Releasing lock...
[2025-04-12 12:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 12:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 12:33:03] Production.INFO: ==26866== Lock acquired, processing the job...
[2025-04-12 12:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 12:33:03] Production.INFO: ==26868== Lock acquired, processing the job...
[2025-04-12 12:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 12:33:03] Production.INFO: ==26872== Lock acquired, processing the job...
[2025-04-12 12:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 12:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 12:33:03] Production.INFO: Account Balance Start.
[2025-04-12 12:33:03] Production.INFO: CreateAllLog Start
[2025-04-12 12:33:03] Production.INFO: 117
[2025-04-12 12:33:03] Production.INFO: Date 2025-04-08
[2025-04-12 12:33:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:33:03] Production.INFO: Date 2025-04-09
[2025-04-12 12:33:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:33:03] Production.INFO: Date 2025-04-10
[2025-04-12 12:33:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:33:03] Production.INFO: Date 2025-04-11
[2025-04-12 12:33:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:33:03] Production.INFO: Date 2025-04-12
[2025-04-12 12:33:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:33:03] Production.INFO: ==26870== Lock acquired, processing the job...
[2025-04-12 12:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 12:33:03] Production.INFO: ==26868== Releasing lock...
[2025-04-12 12:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 12:33:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 12:33:03] Production.INFO: Total Charge 0
[2025-04-12 12:33:03] Production.INFO: CreateAllLog End
[2025-04-12 12:33:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 12:33:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 12:33:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 12:33:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 12:33:04] Production.INFO: Account Balance End.
[2025-04-12 12:33:04] Production.INFO: ==26874== Lock acquired, processing the job...
[2025-04-12 12:33:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 12:33:04] Production.ERROR: CronJobId end 12
[2025-04-12 12:33:04] Production.INFO: ==26872== Releasing lock...
[2025-04-12 12:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 12:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 12:33:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 12:33:04] Production.INFO: ==26876== Lock acquired, processing the job...
[2025-04-12 12:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 12: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-12 12:33:04] Production.INFO: count ==12
[2025-04-12 12: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-12 12:33:04] Production.INFO: count ==23
[2025-04-12 12:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891585') start
[2025-04-12 12:33:04] Production.ERROR: done
[2025-04-12 12:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 12:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891585') end
[2025-04-12 12:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 12:33:04] Production.INFO: 1
[2025-04-12 12:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 12:33:04] Production.ERROR: done
[2025-04-12 12:33:04] Production.INFO: ==26876== Releasing lock...
[2025-04-12 12:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 12:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 12:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 09:33:05
[end_date_ymd] => 2025-04-12 12:33:05
[RateCDR] => 1
)
[2025-04-12 12:33:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 09:33:05' and `end` < '2025-04-12 12:33:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 12:33:12] Production.ERROR: CronJobId end10
[2025-04-12 12:33:12] Production.INFO: ==26870== Releasing lock...
[2025-04-12 12:33:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 12:33:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 12:33:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 12:33:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 12:33:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 12:33:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 12:33:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 12:33:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 12:33:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 12:33:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 12:33:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 12:33:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 12:33:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 12:33:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 12:33:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 12:33:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 12:33:15] Production.INFO: call_cost start
[2025-04-12 12:33:15] Production.INFO: call_cost end
[2025-04-12 12:33:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 12:33:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 12:33:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 12:33:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 12:33:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 12:33:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 12:33:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 12:33:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 12:33:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 12:33:16] Production.INFO: ==26866== Releasing lock...
[2025-04-12 12:33:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 12:33:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 12:33:18] Production.INFO: count ==1508
[2025-04-12 12:33:19] Production.ERROR: pbx CDR StartTime 2025-04-12 09:33:05 - End Time 2025-04-12 12:33:05
[2025-04-12 12:33:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 12:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891586', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891586', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891586', 'tblTempVendorCDR_20' ) start
[2025-04-12 12:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891586', 'tblTempVendorCDR_20' ) end
[2025-04-12 12:33:19] Production.INFO: ProcessCDR(1,14891586,1,1,2)
[2025-04-12 12:33:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891586,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:33:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891586,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:33:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891586,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:33:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891586,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891586', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891586', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:33:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 12:33:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 12:33:22] Production.INFO: ==26874== Releasing lock...
[2025-04-12 12:33:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 12:33:22] Production.INFO: 39.25 MB #Memory Used#
[2025-04-12 17:34:02] Production.INFO: ==26945== Lock acquired, processing the job...
[2025-04-12 17:34:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 17:34:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 17:34:02] Production.INFO: neon service started
[2025-04-12 17:34:02] Production.INFO: neon service started
[2025-04-12 17:34:02] Production.INFO: ==26945== Releasing lock...
[2025-04-12 17:34:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 17:34:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 12:34:02] Production.INFO: ==26947== Lock acquired, processing the job...
[2025-04-12 12:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 12:34:03] Production.INFO: ==26947== Releasing lock...
[2025-04-12 12:34:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 12:34:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 16:34:03] Production.INFO: ==26949== Lock acquired, processing the job...
[2025-04-12 16:34:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 16:34:03] Production.INFO: ==26949== Releasing lock...
[2025-04-12 16:34:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 16:34:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 12:34:04] Production.INFO: ==26962== Lock acquired, processing the job...
[2025-04-12 12:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 12:34:04] Production.INFO: ==26960== Lock acquired, processing the job...
[2025-04-12 12:34:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 12:34:04] Production.INFO: ==26951== Lock acquired, processing the job...
[2025-04-12 12:34:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 12:34:04] Production.INFO: ==26953== Lock acquired, processing the job...
[2025-04-12 12:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 12:34:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 12:34:04] Production.INFO: ==26955== Lock acquired, processing the job...
[2025-04-12 12:34:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 12:34:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 12:34:04] Production.INFO: ==26957== Lock acquired, processing the job...
[2025-04-12 12:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 12:34:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 12:34:04] Production.INFO: count ==12
[2025-04-12 12:34:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 12:34:04] Production.INFO: count ==23
[2025-04-12 12:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891587') start
[2025-04-12 12:34:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 12:34:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 12:34:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 12:34:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 12:34:04] Production.INFO: Account Balance Start.
[2025-04-12 12:34:04] Production.INFO: CreateAllLog Start
[2025-04-12 12:34:04] Production.INFO: 117
[2025-04-12 12:34:04] Production.INFO: Date 2025-04-08
[2025-04-12 12:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891587') end
[2025-04-12 12:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 12:34:04] Production.INFO: 1
[2025-04-12 12:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 12:34:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:34:04] Production.INFO: Date 2025-04-09
[2025-04-12 12:34:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:34:04] Production.INFO: Date 2025-04-10
[2025-04-12 12:34:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:34:04] Production.INFO: ==26962== Releasing lock...
[2025-04-12 12:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 12:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 12:34:04] Production.ERROR: done
[2025-04-12 12:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 12:34:04] Production.INFO: Date 2025-04-11
[2025-04-12 12:34:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:34:04] Production.INFO: Date 2025-04-12
[2025-04-12 12:34:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:34:04] Production.INFO: ==26953== Releasing lock...
[2025-04-12 12:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 12:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 12:34:04] Production.INFO: Total Charge 0
[2025-04-12 12:34:04] Production.INFO: CreateAllLog End
[2025-04-12 12:34:04] Production.ERROR: done
[2025-04-12 12:34:04] Production.INFO: Account Balance End.
[2025-04-12 12:34:05] Production.ERROR: CronJobId end 12
[2025-04-12 12:34:05] Production.INFO: ==26957== Releasing lock...
[2025-04-12 12:34:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 12:34:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 12:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 09:34:05
[end_date_ymd] => 2025-04-12 12:34:05
[RateCDR] => 1
)
[2025-04-12 12:34:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 09:34:05' and `end` < '2025-04-12 12:34:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 12:34:13] Production.ERROR: CronJobId end10
[2025-04-12 12:34:13] Production.INFO: ==26955== Releasing lock...
[2025-04-12 12:34:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 12:34:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 12:34:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 12:34:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 12:34:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 12:34:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 12:34:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 12:34:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 12:34:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 12:34:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 12:34:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 12:34:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 12:34:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 12:34:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 12:34:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 12:34:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 12:34:15] Production.INFO: call_cost start
[2025-04-12 12:34:15] Production.INFO: call_cost end
[2025-04-12 12:34:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 12:34:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 12:34:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 12:34:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 12:34:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 12:34:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 12:34:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 12:34:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 12:34:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 12:34:16] Production.INFO: ==26951== Releasing lock...
[2025-04-12 12:34:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 12:34:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 12:34:18] Production.INFO: count ==1505
[2025-04-12 12:34:18] Production.ERROR: pbx CDR StartTime 2025-04-12 09:34:05 - End Time 2025-04-12 12:34:05
[2025-04-12 12:34:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 12:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891591', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891591', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891591', 'tblTempVendorCDR_20' ) start
[2025-04-12 12:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891591', 'tblTempVendorCDR_20' ) end
[2025-04-12 12:34:18] Production.INFO: ProcessCDR(1,14891591,1,1,2)
[2025-04-12 12:34:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891591,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:34:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891591,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:34:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891591,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:34:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891591,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891591', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891591', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:34:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 12:34:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 12:34:22] Production.INFO: ==26960== Releasing lock...
[2025-04-12 12:34:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 12:34:22] Production.INFO: 39.5 MB #Memory Used#
[2025-04-12 17:35:01] Production.INFO: ==27021== Lock acquired, processing the job...
[2025-04-12 17:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 17:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 17:35:01] Production.INFO: neon service started
[2025-04-12 17:35:01] Production.INFO: neon service started
[2025-04-12 17:35:01] Production.INFO: ==27021== Releasing lock...
[2025-04-12 17:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 17:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 12:35:02] Production.INFO: ==27023== Lock acquired, processing the job...
[2025-04-12 12:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 12:35:02] Production.INFO: ==27023== Releasing lock...
[2025-04-12 12:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 12:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 16:35:02] Production.INFO: ==27025== Lock acquired, processing the job...
[2025-04-12 16:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 16:35:02] Production.INFO: ==27025== Releasing lock...
[2025-04-12 16:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 16:35:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 12:35:03] Production.INFO: ==27027== Lock acquired, processing the job...
[2025-04-12 12:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 12:35:03] Production.INFO: ==27029== Lock acquired, processing the job...
[2025-04-12 12:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 12:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 12:35:03] Production.INFO: ==27035== Lock acquired, processing the job...
[2025-04-12 12:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 12:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 12:35:03] Production.INFO: ==27031== Lock acquired, processing the job...
[2025-04-12 12:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 12:35:03] Production.INFO: ==27033== Lock acquired, processing the job...
[2025-04-12 12:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 12:35:03] Production.INFO: ==27037== Lock acquired, processing the job...
[2025-04-12 12:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 12:35:03] Production.INFO: ==27029== Releasing lock...
[2025-04-12 12:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 12:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 12:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 12:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 12:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 12:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 12:35:03] Production.INFO: Account Balance Start.
[2025-04-12 12:35:03] Production.INFO: CreateAllLog Start
[2025-04-12 12:35:03] Production.INFO: 117
[2025-04-12 12:35:03] Production.INFO: Date 2025-04-08
[2025-04-12 12:35:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:35:04] Production.INFO: Date 2025-04-09
[2025-04-12 12:35:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:35:04] Production.INFO: Date 2025-04-10
[2025-04-12 12:35:04] Production.INFO: Reseller ==> 0
[2025-04-12 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-12 12:35:04] Production.INFO: Date 2025-04-11
[2025-04-12 12:35:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:35:04] Production.INFO: Date 2025-04-12
[2025-04-12 12:35:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:35:04] Production.ERROR: done
[2025-04-12 12:35:04] Production.INFO: Total Charge 0
[2025-04-12 12:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 12:35:04] Production.INFO: count ==12
[2025-04-12 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-12 12:35:04] Production.INFO: CreateAllLog End
[2025-04-12 12:35:04] Production.INFO: count ==23
[2025-04-12 12:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891594') start
[2025-04-12 12:35:04] Production.ERROR: done
[2025-04-12 12:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891594') end
[2025-04-12 12:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 12:35:04] Production.INFO: 1
[2025-04-12 12:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 12:35:04] Production.INFO: Account Balance End.
[2025-04-12 12:35:04] Production.INFO: ==27037== Releasing lock...
[2025-04-12 12:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 12:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 12:35:04] Production.ERROR: CronJobId end 12
[2025-04-12 12:35:04] Production.INFO: ==27033== Releasing lock...
[2025-04-12 12:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 12:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 12:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 09:35:05
[end_date_ymd] => 2025-04-12 12:35:05
[RateCDR] => 1
)
[2025-04-12 12:35:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 09:35:05' and `end` < '2025-04-12 12:35:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 12:35:12] Production.ERROR: CronJobId end10
[2025-04-12 12:35:12] Production.INFO: ==27031== Releasing lock...
[2025-04-12 12:35:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 12:35:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 12:35:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 12:35:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 12:35:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 12:35:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 12:35:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 12:35:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 12:35:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 12:35:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 12:35:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 12:35:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 12:35:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 12:35:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 12:35:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 12:35:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 12:35:14] Production.INFO: call_cost start
[2025-04-12 12:35:14] Production.INFO: call_cost end
[2025-04-12 12:35:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 12:35:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 12:35:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 12:35:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 12:35:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 12:35:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 12:35:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 12:35:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 12:35:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 12:35:15] Production.INFO: ==27027== Releasing lock...
[2025-04-12 12:35:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 12:35:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 12:35:18] Production.INFO: count ==1503
[2025-04-12 12:35:18] Production.ERROR: pbx CDR StartTime 2025-04-12 09:35:05 - End Time 2025-04-12 12:35:05
[2025-04-12 12:35:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 12:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891596', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891596', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891596', 'tblTempVendorCDR_20' ) start
[2025-04-12 12:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891596', 'tblTempVendorCDR_20' ) end
[2025-04-12 12:35:18] Production.INFO: ProcessCDR(1,14891596,1,1,2)
[2025-04-12 12:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891596,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:35:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891596,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:35:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891596,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:35:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891596,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:35:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891596', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:35:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891596', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:35:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 12:35:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 12:35:22] Production.INFO: ==27035== Releasing lock...
[2025-04-12 12:35:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 12:35:22] Production.INFO: 39.25 MB #Memory Used#
[2025-04-12 17:36:01] Production.INFO: ==27098== Lock acquired, processing the job...
[2025-04-12 17:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 17:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 17:36:01] Production.INFO: neon service started
[2025-04-12 17:36:01] Production.INFO: neon service started
[2025-04-12 17:36:01] Production.INFO: ==27098== Releasing lock...
[2025-04-12 17:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 17:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 12:36:02] Production.INFO: ==27101== Lock acquired, processing the job...
[2025-04-12 12:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 16:36:02] Production.INFO: ==27103== Lock acquired, processing the job...
[2025-04-12 16:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 16:36:02] Production.INFO: ==27103== Releasing lock...
[2025-04-12 16:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 16:36:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 12:36:02] Production.INFO: ==27101== Releasing lock...
[2025-04-12 12:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 12:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 12:36:03] Production.INFO: ==27109== Lock acquired, processing the job...
[2025-04-12 12:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 12:36:03] Production.INFO: ==27105== Lock acquired, processing the job...
[2025-04-12 12:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 12:36:03] Production.INFO: ==27113== Lock acquired, processing the job...
[2025-04-12 12:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 12:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 12:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 12:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 12:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 12:36:03] Production.INFO: ==27107== Lock acquired, processing the job...
[2025-04-12 12:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 12:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 12:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 12:36:03] Production.INFO: ==27111== Lock acquired, processing the job...
[2025-04-12 12:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 12:36:03] Production.INFO: ==27115== Lock acquired, processing the job...
[2025-04-12 12:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 12:36:03] Production.INFO: Account Balance Start.
[2025-04-12 12:36:03] Production.INFO: CreateAllLog Start
[2025-04-12 12:36:03] Production.INFO: 117
[2025-04-12 12:36:03] Production.INFO: Date 2025-04-08
[2025-04-12 12:36:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:36:03] Production.INFO: Date 2025-04-09
[2025-04-12 12:36:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:36:03] Production.ERROR: done
[2025-04-12 12:36:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 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-12 12:36:03] Production.INFO: Date 2025-04-10
[2025-04-12 12:36:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:36:03] Production.INFO: count ==12
[2025-04-12 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-12 12:36:03] Production.INFO: count ==23
[2025-04-12 12:36:03] Production.INFO: Date 2025-04-11
[2025-04-12 12:36:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891600') start
[2025-04-12 12:36:03] Production.INFO: Date 2025-04-12
[2025-04-12 12:36:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:36:04] Production.INFO: Total Charge 0
[2025-04-12 12:36:04] Production.INFO: CreateAllLog End
[2025-04-12 12:36:04] Production.INFO: ==27107== Releasing lock...
[2025-04-12 12:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 12:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 12:36:04] Production.ERROR: done
[2025-04-12 12:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891600') end
[2025-04-12 12:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 12:36:04] Production.INFO: 1
[2025-04-12 12:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 12:36:04] Production.INFO: ==27115== Releasing lock...
[2025-04-12 12:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 12:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 12:36:04] Production.INFO: Account Balance End.
[2025-04-12 12:36:04] Production.ERROR: CronJobId end 12
[2025-04-12 12:36:04] Production.INFO: ==27111== Releasing lock...
[2025-04-12 12:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 12:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 12:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 09:36:05
[end_date_ymd] => 2025-04-12 12:36:05
[RateCDR] => 1
)
[2025-04-12 12:36:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 09:36:05' and `end` < '2025-04-12 12:36:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 12:36:10] Production.ERROR: CronJobId end10
[2025-04-12 12:36:10] Production.INFO: ==27109== Releasing lock...
[2025-04-12 12:36:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 12:36:10] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 12:36:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 12:36:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 12:36:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 12:36:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 12:36:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 12:36:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 12:36:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 12:36:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 12:36:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 12:36:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 12:36:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 12:36:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 12:36:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 12:36:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 12:36:13] Production.INFO: call_cost start
[2025-04-12 12:36:13] Production.INFO: call_cost end
[2025-04-12 12:36:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 12:36:14] Production.INFO: ============== Report Schedule START===========
[2025-04-12 12:36:14] Production.INFO: ============== Report Schedule END===========
[2025-04-12 12:36:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 12:36:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 12:36:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 12:36:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 12:36:14] Production.INFO: ============== Deal alert START===========
[2025-04-12 12:36:14] Production.INFO: ============== Deal alert END===========
[2025-04-12 12:36:14] Production.INFO: ==27105== Releasing lock...
[2025-04-12 12:36:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 12:36:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 12:36:18] Production.INFO: count ==1498
[2025-04-12 12:36:18] Production.ERROR: pbx CDR StartTime 2025-04-12 09:36:05 - End Time 2025-04-12 12:36:05
[2025-04-12 12:36:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 12:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891601', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891601', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891601', 'tblTempVendorCDR_20' ) start
[2025-04-12 12:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891601', 'tblTempVendorCDR_20' ) end
[2025-04-12 12:36:18] Production.INFO: ProcessCDR(1,14891601,1,1,2)
[2025-04-12 12:36:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891601,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:36:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891601,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:36:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891601,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:36:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891601,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:36:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891601', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:36:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891601', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:36:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 12:36:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 12:36:23] Production.INFO: ==27113== Releasing lock...
[2025-04-12 12:36:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 12:36:23] Production.INFO: 39.25 MB #Memory Used#
[2025-04-12 17:37:01] Production.INFO: ==27168== Lock acquired, processing the job...
[2025-04-12 17:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 17:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 17:37:01] Production.INFO: neon service started
[2025-04-12 17:37:01] Production.INFO: neon service started
[2025-04-12 17:37:01] Production.INFO: ==27168== Releasing lock...
[2025-04-12 17:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 17:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 12:37:02] Production.INFO: ==27170== Lock acquired, processing the job...
[2025-04-12 12:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 16:37:02] Production.INFO: ==27172== Lock acquired, processing the job...
[2025-04-12 16:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 16:37:02] Production.INFO: ==27172== Releasing lock...
[2025-04-12 16:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 16:37:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 12:37:02] Production.INFO: ==27170== Releasing lock...
[2025-04-12 12:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 12:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 12:37:03] Production.INFO: ==27179== Lock acquired, processing the job...
[2025-04-12 12:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 12:37:03] Production.INFO: ==27177== Lock acquired, processing the job...
[2025-04-12 12:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 12:37:03] Production.INFO: ==27175== Lock acquired, processing the job...
[2025-04-12 12:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 12:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 12:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 12:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 12:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 12:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 12:37:03] Production.INFO: ==27181== Lock acquired, processing the job...
[2025-04-12 12:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 12:37:03] Production.INFO: ==27183== Lock acquired, processing the job...
[2025-04-12 12:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 12:37:04] Production.INFO: ==27185== Lock acquired, processing the job...
[2025-04-12 12:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 12:37:04] Production.INFO: Account Balance Start.
[2025-04-12 12:37:04] Production.INFO: CreateAllLog Start
[2025-04-12 12:37:04] Production.INFO: 117
[2025-04-12 12:37:04] Production.INFO: Date 2025-04-08
[2025-04-12 12:37:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:37:04] Production.INFO: ==27177== Releasing lock...
[2025-04-12 12:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 12:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 12:37:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 12:37:04] Production.INFO: Date 2025-04-09
[2025-04-12 12:37:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:37:04] Production.INFO: Date 2025-04-10
[2025-04-12 12:37:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:37:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 12:37:04] Production.INFO: count ==12
[2025-04-12 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-12 12:37:04] Production.INFO: count ==23
[2025-04-12 12:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891605') start
[2025-04-12 12:37:04] Production.INFO: Date 2025-04-11
[2025-04-12 12:37:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:37:04] Production.INFO: Date 2025-04-12
[2025-04-12 12:37:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:37:04] Production.INFO: Total Charge 0
[2025-04-12 12:37:04] Production.INFO: CreateAllLog End
[2025-04-12 12:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891605') end
[2025-04-12 12:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 12:37:04] Production.INFO: 1
[2025-04-12 12:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 12:37:04] Production.INFO: ==27185== Releasing lock...
[2025-04-12 12:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 12:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 12:37:04] Production.ERROR: done
[2025-04-12 12:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 12:37:04] Production.INFO: Account Balance End.
[2025-04-12 12:37:04] Production.ERROR: CronJobId end 12
[2025-04-12 12:37:04] Production.INFO: ==27181== Releasing lock...
[2025-04-12 12:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 12:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 12:37:04] Production.ERROR: done
[2025-04-12 12:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 09:37:05
[end_date_ymd] => 2025-04-12 12:37:05
[RateCDR] => 1
)
[2025-04-12 12:37:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 09:37:05' and `end` < '2025-04-12 12:37:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 12:37:12] Production.ERROR: CronJobId end10
[2025-04-12 12:37:12] Production.INFO: ==27179== Releasing lock...
[2025-04-12 12:37:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 12:37:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 12:37:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 12:37:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 12:37:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 12:37:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 12:37:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 12:37:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 12:37:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 12:37:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 12:37:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 12:37:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 12:37:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 12:37:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 12:37:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 12:37:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 12:37:14] Production.INFO: call_cost start
[2025-04-12 12:37:14] Production.INFO: call_cost end
[2025-04-12 12:37:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 12:37:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 12:37:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 12:37:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 12:37:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 12:37:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 12:37:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 12:37:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 12:37:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 12:37:15] Production.INFO: ==27175== Releasing lock...
[2025-04-12 12:37:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 12:37:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 12:37:18] Production.INFO: count ==1491
[2025-04-12 12:37:19] Production.ERROR: pbx CDR StartTime 2025-04-12 09:37:05 - End Time 2025-04-12 12:37:05
[2025-04-12 12:37:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 12:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891606', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891606', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891606', 'tblTempVendorCDR_20' ) start
[2025-04-12 12:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891606', 'tblTempVendorCDR_20' ) end
[2025-04-12 12:37:19] Production.INFO: ProcessCDR(1,14891606,1,1,2)
[2025-04-12 12:37:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891606,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:37:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891606,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:37:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891606,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:37:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891606,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891606', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891606', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:37:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 12:37:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 12:37:22] Production.INFO: ==27183== Releasing lock...
[2025-04-12 12:37:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 12:37:22] Production.INFO: 39.25 MB #Memory Used#
[2025-04-12 17:38:02] Production.INFO: ==27246== Lock acquired, processing the job...
[2025-04-12 17:38:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 17:38:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 17:38:02] Production.INFO: neon service started
[2025-04-12 17:38:02] Production.INFO: neon service started
[2025-04-12 17:38:02] Production.INFO: ==27246== Releasing lock...
[2025-04-12 17:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 17:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 16:38:02] Production.INFO: ==27250== Lock acquired, processing the job...
[2025-04-12 16:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 16:38:02] Production.INFO: ==27250== Releasing lock...
[2025-04-12 16:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 16:38:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 12:38:02] Production.INFO: ==27248== Lock acquired, processing the job...
[2025-04-12 12:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 12:38:03] Production.INFO: ==27248== Releasing lock...
[2025-04-12 12:38:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 12:38:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 12:38:03] Production.INFO: ==27252== Lock acquired, processing the job...
[2025-04-12 12:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 12:38:03] Production.INFO: ==27254== Lock acquired, processing the job...
[2025-04-12 12:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 12:38:03] Production.INFO: ==27256== Lock acquired, processing the job...
[2025-04-12 12:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 12:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 12:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 12:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 12:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 12:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 12:38:04] Production.INFO: ==27258== Lock acquired, processing the job...
[2025-04-12 12:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 12:38:04] Production.INFO: ==27254== Releasing lock...
[2025-04-12 12:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 12:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 12:38:04] Production.INFO: ==27260== Lock acquired, processing the job...
[2025-04-12 12:38:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 12:38:04] Production.INFO: Account Balance Start.
[2025-04-12 12:38:04] Production.INFO: CreateAllLog Start
[2025-04-12 12:38:04] Production.INFO: 117
[2025-04-12 12:38:04] Production.INFO: ==27263== Lock acquired, processing the job...
[2025-04-12 12:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 12:38:04] Production.INFO: Date 2025-04-08
[2025-04-12 12:38:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:38:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 12:38:04] Production.INFO: Date 2025-04-09
[2025-04-12 12:38:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:38:04] Production.INFO: Date 2025-04-10
[2025-04-12 12:38:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:38:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 12:38:04] Production.INFO: Date 2025-04-11
[2025-04-12 12:38:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:38:04] Production.INFO: count ==12
[2025-04-12 12:38:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 12:38:04] Production.INFO: count ==23
[2025-04-12 12:38:04] Production.INFO: Date 2025-04-12
[2025-04-12 12:38:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891610') start
[2025-04-12 12:38:04] Production.INFO: Total Charge 0
[2025-04-12 12:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891610') end
[2025-04-12 12:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 12:38:04] Production.INFO: 1
[2025-04-12 12:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 12:38:04] Production.INFO: CreateAllLog End
[2025-04-12 12:38:04] Production.INFO: ==27263== Releasing lock...
[2025-04-12 12:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 12:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 12:38:04] Production.ERROR: done
[2025-04-12 12:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 12:38:04] Production.ERROR: done
[2025-04-12 12:38:04] Production.INFO: Account Balance End.
[2025-04-12 12:38:05] Production.ERROR: CronJobId end 12
[2025-04-12 12:38:05] Production.INFO: ==27258== Releasing lock...
[2025-04-12 12:38:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 12:38:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 12:38:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 09:38:06
[end_date_ymd] => 2025-04-12 12:38:06
[RateCDR] => 1
)
[2025-04-12 12:38:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 09:38:06' and `end` < '2025-04-12 12:38:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 12:38:12] Production.ERROR: CronJobId end10
[2025-04-12 12:38:12] Production.INFO: ==27256== Releasing lock...
[2025-04-12 12:38:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 12:38:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 12:38:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 12:38:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 12:38:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 12:38:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 12:38:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 12:38:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 12:38:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 12:38:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 12:38:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 12:38:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 12:38:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 12:38:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 12:38:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 12:38:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 12:38:14] Production.INFO: call_cost start
[2025-04-12 12:38:14] Production.INFO: call_cost end
[2025-04-12 12:38:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 12:38:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 12:38:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 12:38:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 12:38:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 12:38:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 12:38:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 12:38:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 12:38:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 12:38:15] Production.INFO: ==27252== Releasing lock...
[2025-04-12 12:38:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 12:38:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 12:38:19] Production.INFO: count ==1486
[2025-04-12 12:38:19] Production.ERROR: pbx CDR StartTime 2025-04-12 09:38:06 - End Time 2025-04-12 12:38:06
[2025-04-12 12:38:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 12:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891611', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891611', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891611', 'tblTempVendorCDR_20' ) start
[2025-04-12 12:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891611', 'tblTempVendorCDR_20' ) end
[2025-04-12 12:38:19] Production.INFO: ProcessCDR(1,14891611,1,1,2)
[2025-04-12 12:38:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891611,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:38:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891611,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:38:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891611,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:38:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891611,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:38:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891611', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:38:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891611', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:38:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 12:38:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 12:38:23] Production.INFO: ==27260== Releasing lock...
[2025-04-12 12:38:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 12:38:23] Production.INFO: 39 MB #Memory Used#
[2025-04-12 17:39:01] Production.INFO: ==27328== Lock acquired, processing the job...
[2025-04-12 17:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 17:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 17:39:01] Production.INFO: neon service started
[2025-04-12 17:39:01] Production.INFO: neon service started
[2025-04-12 17:39:01] Production.INFO: ==27328== Releasing lock...
[2025-04-12 17:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 17:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 12:39:01] Production.INFO: ==27330== Lock acquired, processing the job...
[2025-04-12 12:39:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 12:39:02] Production.INFO: ==27330== Releasing lock...
[2025-04-12 12:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 12:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 16:39:02] Production.INFO: ==27332== Lock acquired, processing the job...
[2025-04-12 16:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 16:39:02] Production.INFO: ==27332== Releasing lock...
[2025-04-12 16:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 16:39:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 12:39:03] Production.INFO: ==27334== Lock acquired, processing the job...
[2025-04-12 12:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 12:39:03] Production.INFO: ==27342== Lock acquired, processing the job...
[2025-04-12 12:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 12:39:03] Production.INFO: ==27336== Lock acquired, processing the job...
[2025-04-12 12:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 12:39:03] Production.INFO: ==27345== Lock acquired, processing the job...
[2025-04-12 12:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 12:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 12:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 12:39:03] Production.INFO: ==27338== Lock acquired, processing the job...
[2025-04-12 12:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 12:39:03] Production.INFO: ==27340== Lock acquired, processing the job...
[2025-04-12 12:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 12:39:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 12:39:03] Production.INFO: count ==12
[2025-04-12 12:39:03] Production.INFO: Account Balance Start.
[2025-04-12 12:39:03] Production.INFO: CreateAllLog Start
[2025-04-12 12:39:03] Production.INFO: 117
[2025-04-12 12:39:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 12:39:03] Production.INFO: count ==23
[2025-04-12 12:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891613') start
[2025-04-12 12:39:03] Production.INFO: Date 2025-04-08
[2025-04-12 12:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 12:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 12:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 12:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 12:39:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:39:03] Production.INFO: Date 2025-04-09
[2025-04-12 12:39:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:39:03] Production.INFO: Date 2025-04-10
[2025-04-12 12:39:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:39:03] Production.INFO: Date 2025-04-11
[2025-04-12 12:39:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:39:03] Production.INFO: Date 2025-04-12
[2025-04-12 12:39:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:39:03] Production.INFO: Total Charge 0
[2025-04-12 12:39:03] Production.INFO: CreateAllLog End
[2025-04-12 12:39:03] Production.ERROR: done
[2025-04-12 12:39:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 12:39:03] Production.INFO: ==27336== Releasing lock...
[2025-04-12 12:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 12:39:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 12:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891613') end
[2025-04-12 12:39:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 12:39:03] Production.INFO: 1
[2025-04-12 12:39:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 12:39:03] Production.ERROR: done
[2025-04-12 12:39:03] Production.INFO: ==27345== Releasing lock...
[2025-04-12 12:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 12:39:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 12:39:04] Production.INFO: Account Balance End.
[2025-04-12 12:39:04] Production.ERROR: CronJobId end 12
[2025-04-12 12:39:04] Production.INFO: ==27340== Releasing lock...
[2025-04-12 12:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 12:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 12:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 09:39:05
[end_date_ymd] => 2025-04-12 12:39:05
[RateCDR] => 1
)
[2025-04-12 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-12 09:39:05' and `end` < '2025-04-12 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-12 12:39:12] Production.ERROR: CronJobId end10
[2025-04-12 12:39:12] Production.INFO: ==27338== Releasing lock...
[2025-04-12 12:39:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 12:39:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 12:39:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 12:39:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 12:39:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 12:39:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 12:39:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 12:39:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 12:39:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 12:39:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 12:39:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 12:39:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 12:39:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 12:39:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 12:39:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 12:39:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 12:39:14] Production.INFO: call_cost start
[2025-04-12 12:39:14] Production.INFO: call_cost end
[2025-04-12 12:39:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 12:39:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 12:39:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 12:39:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 12:39:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 12:39:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 12:39:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 12:39:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 12:39:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 12:39:15] Production.INFO: ==27334== Releasing lock...
[2025-04-12 12:39:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 12:39:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 12:39:18] Production.INFO: count ==1485
[2025-04-12 12:39:18] Production.ERROR: pbx CDR StartTime 2025-04-12 09:39:05 - End Time 2025-04-12 12:39:05
[2025-04-12 12:39:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 12:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891616', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891616', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891616', 'tblTempVendorCDR_20' ) start
[2025-04-12 12:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891616', 'tblTempVendorCDR_20' ) end
[2025-04-12 12:39:18] Production.INFO: ProcessCDR(1,14891616,1,1,2)
[2025-04-12 12:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891616,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:39:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891616,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:39:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891616,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:39:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891616,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891616', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891616', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:39:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 12:39:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 12:39:21] Production.INFO: ==27342== Releasing lock...
[2025-04-12 12:39:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 12:39:21] Production.INFO: 39.25 MB #Memory Used#
[2025-04-12 17:40:02] Production.INFO: ==27405== Lock acquired, processing the job...
[2025-04-12 17:40:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 17:40:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 17:40:02] Production.INFO: neon service started
[2025-04-12 17:40:02] Production.INFO: neon service started
[2025-04-12 17:40:02] Production.INFO: ==27405== Releasing lock...
[2025-04-12 17:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 17:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 12:40:02] Production.INFO: ==27407== Lock acquired, processing the job...
[2025-04-12 12:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 16:40:02] Production.INFO: ==27409== Lock acquired, processing the job...
[2025-04-12 16:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 12:40:02] Production.INFO: ==27407== Releasing lock...
[2025-04-12 12:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 12:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 16:40:02] Production.INFO: ==27409== Releasing lock...
[2025-04-12 16:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 16:40:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 12:40:03] Production.INFO: ==27411== Lock acquired, processing the job...
[2025-04-12 12:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 12:40:03] Production.INFO: ==27413== Lock acquired, processing the job...
[2025-04-12 12:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 12:40:03] Production.INFO: ==27415== Lock acquired, processing the job...
[2025-04-12 12:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 12:40:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 12:40:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 12:40:03] Production.ERROR: CronJob PID - 27413
[2025-04-12 12:40:03] Production.ERROR: CronJob Title - System Alerts
[2025-04-12 12:40:03] Production.ERROR: CronJob ID - 5
[2025-04-12 12:40:03] Production.ERROR: CronJob Last Run Time 2025-04-12 12:40:00
[2025-04-12 12:40:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 12:40:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 12:40:03] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 12:40:03] Production.INFO: ==27411== Releasing lock...
[2025-04-12 12:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 12:40:03] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 12:40:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 12:40:03] Production.INFO: ==27417== Lock acquired, processing the job...
[2025-04-12 12:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 12:40:04] Production.INFO: ==27415== Releasing lock...
[2025-04-12 12:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 12:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 12:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 12:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 12:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 12:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 12:40:04] Production.INFO: ==27419== Lock acquired, processing the job...
[2025-04-12 12:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 12:40:04] Production.INFO: ==27421== Lock acquired, processing the job...
[2025-04-12 12:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 12:40:04] Production.INFO: ==27423== Lock acquired, processing the job...
[2025-04-12 12:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 12:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 12:40:04] Production.INFO: Account Balance Start.
[2025-04-12 12:40:04] Production.INFO: CreateAllLog Start
[2025-04-12 12:40:04] Production.INFO: 117
[2025-04-12 12:40:04] Production.INFO: ==27426== Lock acquired, processing the job...
[2025-04-12 12:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 12:40:04] Production.INFO: Date 2025-04-08
[2025-04-12 12:40:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:40:04] Production.INFO: Date 2025-04-09
[2025-04-12 12:40:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:40:04] Production.INFO: Date 2025-04-10
[2025-04-12 12:40:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 12:40:04] Production.INFO: Date 2025-04-11
[2025-04-12 12:40:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:40:04] Production.INFO: Date 2025-04-12
[2025-04-12 12:40:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:40:04] Production.INFO: Total Charge 0
[2025-04-12 12:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 12:40:04] Production.INFO: CreateAllLog End
[2025-04-12 12:40:04] Production.INFO: count ==12
[2025-04-12 12:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 12:40:04] Production.INFO: count ==23
[2025-04-12 12:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891620') start
[2025-04-12 12:40:04] Production.ERROR: done
[2025-04-12 12:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 12:40:05] Production.ERROR: done
[2025-04-12 12:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14891620') end
[2025-04-12 12:40:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 12:40:05] Production.INFO: 1
[2025-04-12 12:40:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 12:40:05] Production.ERROR: done
[2025-04-12 12:40:05] Production.INFO: ==27426== Releasing lock...
[2025-04-12 12:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 12:40:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 12:40:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 12:40:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14891621', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 12:40:05] Production.INFO: Account Balance End.
[2025-04-12 12:40:05] Production.ERROR: CronJobId end 12
[2025-04-12 12:40:05] Production.INFO: ==27419== Releasing lock...
[2025-04-12 12:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 12:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 12:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 09:40:06
[end_date_ymd] => 2025-04-12 12:40:06
[RateCDR] => 1
)
[2025-04-12 12:40:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 09:40:06' and `end` < '2025-04-12 12:40:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 12:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14891621', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 12:40:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 12:40:09] Production.INFO: ProcessCDR(1,14891621,1,1,2)
[2025-04-12 12:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14891621,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14891621,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 12:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 12:40:09] Production.INFO: ==27423== Releasing lock...
[2025-04-12 12:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 12:40:09] Production.INFO: 26 MB #Memory Used#
[2025-04-12 12:40:13] Production.ERROR: CronJobId end10
[2025-04-12 12:40:13] Production.INFO: ==27417== Releasing lock...
[2025-04-12 12:40:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 12:40:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 12:40:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 12:40:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 12:40:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 12:40:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 12:40:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 12:40:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 12:40:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 12:40:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 12:40:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 12:40:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 12:40:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 12:40:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 12:40:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 12:40:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 12:40:16] Production.INFO: call_cost start
[2025-04-12 12:40:16] Production.INFO: call_cost end
[2025-04-12 12:40:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 12:40:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 12:40:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 12:40:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 12:40:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 12:40:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 12:40:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 12:40:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 12:40:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 12:40:17] Production.INFO: ==27413== Releasing lock...
[2025-04-12 12:40:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 12:40:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 12:40:19] Production.INFO: count ==1497
[2025-04-12 12:40:20] Production.ERROR: pbx CDR StartTime 2025-04-12 09:40:06 - End Time 2025-04-12 12:40:06
[2025-04-12 12:40:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 12:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891622', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891622', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891622', 'tblTempVendorCDR_20' ) start
[2025-04-12 12:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891622', 'tblTempVendorCDR_20' ) end
[2025-04-12 12:40:20] Production.INFO: ProcessCDR(1,14891622,1,1,2)
[2025-04-12 12:40:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891622,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:40:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891622,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:40:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891622,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:40:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891622,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:40:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891622', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:40:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891622', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:40:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 12:40:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 12:40:25] Production.INFO: ==27421== Releasing lock...
[2025-04-12 12:40:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 12:40:25] Production.INFO: 39.25 MB #Memory Used#
[2025-04-12 17:41:01] Production.INFO: ==27480== Lock acquired, processing the job...
[2025-04-12 17:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 17:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 17:41:01] Production.INFO: neon service started
[2025-04-12 17:41:01] Production.INFO: neon service started
[2025-04-12 17:41:01] Production.INFO: ==27480== Releasing lock...
[2025-04-12 17:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 17:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 12:41:01] Production.INFO: ==27482== Lock acquired, processing the job...
[2025-04-12 12:41:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 12:41:02] Production.INFO: ==27482== Releasing lock...
[2025-04-12 12:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 12:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 16:41:02] Production.INFO: ==27484== Lock acquired, processing the job...
[2025-04-12 16:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 16:41:02] Production.INFO: ==27484== Releasing lock...
[2025-04-12 16:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 16:41:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 12:41:03] Production.INFO: ==27490== Lock acquired, processing the job...
[2025-04-12 12:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 12:41:03] Production.INFO: ==27486== Lock acquired, processing the job...
[2025-04-12 12:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 12:41:03] Production.INFO: ==27496== Lock acquired, processing the job...
[2025-04-12 12:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 12:41:03] Production.INFO: ==27488== Lock acquired, processing the job...
[2025-04-12 12:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 12:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 12:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 12:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 12:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 12:41:03] Production.INFO: ==27492== Lock acquired, processing the job...
[2025-04-12 12:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 12:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 12:41:03] Production.INFO: Account Balance Start.
[2025-04-12 12:41:03] Production.INFO: CreateAllLog Start
[2025-04-12 12:41:03] Production.INFO: ==27494== Lock acquired, processing the job...
[2025-04-12 12:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 12:41:03] Production.INFO: 117
[2025-04-12 12:41:03] Production.INFO: Date 2025-04-08
[2025-04-12 12:41:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 12:41:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:41:03] Production.INFO: count ==12
[2025-04-12 12:41:03] Production.INFO: Date 2025-04-09
[2025-04-12 12:41:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:41:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 12:41:03] Production.INFO: count ==23
[2025-04-12 12:41:03] Production.INFO: Date 2025-04-10
[2025-04-12 12:41:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891624') start
[2025-04-12 12:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 12:41:03] Production.INFO: Date 2025-04-11
[2025-04-12 12:41:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:41:03] Production.INFO: Date 2025-04-12
[2025-04-12 12:41:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:41:03] Production.INFO: Total Charge 0
[2025-04-12 12:41:03] Production.INFO: ==27488== Releasing lock...
[2025-04-12 12:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 12:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 12:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891624') end
[2025-04-12 12:41:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 12:41:03] Production.INFO: 1
[2025-04-12 12:41:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 12:41:03] Production.INFO: CreateAllLog End
[2025-04-12 12:41:03] Production.INFO: ==27496== Releasing lock...
[2025-04-12 12:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 12:41:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 12:41:04] Production.INFO: Account Balance End.
[2025-04-12 12:41:04] Production.ERROR: done
[2025-04-12 12:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 12:41:04] Production.ERROR: CronJobId end 12
[2025-04-12 12:41:04] Production.INFO: ==27492== Releasing lock...
[2025-04-12 12:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 12:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 12:41:04] Production.ERROR: done
[2025-04-12 12:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 09:41:05
[end_date_ymd] => 2025-04-12 12:41:05
[RateCDR] => 1
)
[2025-04-12 12:41:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 09:41:05' and `end` < '2025-04-12 12:41:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 12:41:11] Production.ERROR: CronJobId end10
[2025-04-12 12:41:11] Production.INFO: ==27490== Releasing lock...
[2025-04-12 12:41:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 12:41:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 12:41:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 12:41:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 12:41:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 12:41:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 12:41:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 12:41:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 12:41:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 12:41:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 12:41:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 12:41:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 12:41:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 12:41:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 12:41:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 12:41:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 12:41:14] Production.INFO: call_cost start
[2025-04-12 12:41:14] Production.INFO: call_cost end
[2025-04-12 12:41:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 12:41:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 12:41:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 12:41:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 12:41:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 12:41:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 12:41:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 12:41:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 12:41:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 12:41:15] Production.INFO: ==27486== Releasing lock...
[2025-04-12 12:41:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 12:41:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 12:41:18] Production.INFO: count ==1522
[2025-04-12 12:41:18] Production.ERROR: pbx CDR StartTime 2025-04-12 09:41:05 - End Time 2025-04-12 12:41:05
[2025-04-12 12:41:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 12:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891627', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891627', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891627', 'tblTempVendorCDR_20' ) start
[2025-04-12 12:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891627', 'tblTempVendorCDR_20' ) end
[2025-04-12 12:41:18] Production.INFO: ProcessCDR(1,14891627,1,1,2)
[2025-04-12 12:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891627,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:41:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891627,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:41:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891627,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:41:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891627,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:41:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891627', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:41:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891627', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:41:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 12:41:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 12:41:23] Production.INFO: ==27494== Releasing lock...
[2025-04-12 12:41:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 12:41:23] Production.INFO: 39.5 MB #Memory Used#
[2025-04-12 17:42:02] Production.INFO: ==27550== Lock acquired, processing the job...
[2025-04-12 17:42:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 17:42:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 17:42:02] Production.INFO: neon service started
[2025-04-12 17:42:02] Production.INFO: neon service started
[2025-04-12 17:42:02] Production.INFO: ==27550== Releasing lock...
[2025-04-12 17:42:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 17:42:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 12:42:02] Production.INFO: ==27552== Lock acquired, processing the job...
[2025-04-12 12:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 16:42:02] Production.INFO: ==27554== Lock acquired, processing the job...
[2025-04-12 16:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 16:42:02] Production.INFO: ==27554== Releasing lock...
[2025-04-12 16:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 16:42:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 12:42:03] Production.INFO: ==27552== Releasing lock...
[2025-04-12 12:42:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 12:42:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 12:42:03] Production.INFO: ==27559== Lock acquired, processing the job...
[2025-04-12 12:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 12:42:03] Production.INFO: ==27557== Lock acquired, processing the job...
[2025-04-12 12:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 12:42:04] Production.INFO: ==27565== Lock acquired, processing the job...
[2025-04-12 12:42:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 12:42:04] Production.INFO: ==27561== Lock acquired, processing the job...
[2025-04-12 12:42:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 12:42:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 12:42:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 12:42:04] Production.INFO: ==27563== Lock acquired, processing the job...
[2025-04-12 12:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 12:42:04] Production.INFO: ==27567== Lock acquired, processing the job...
[2025-04-12 12:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 12:42:04] Production.INFO: ==27559== Releasing lock...
[2025-04-12 12:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 12:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 12:42:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 12:42:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 12:42:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 12:42:04] Production.INFO: Account Balance Start.
[2025-04-12 12:42:04] Production.INFO: CreateAllLog Start
[2025-04-12 12:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 12:42:04] Production.INFO: 117
[2025-04-12 12:42:04] Production.INFO: Date 2025-04-08
[2025-04-12 12:42:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:42:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 12:42:04] Production.INFO: count ==12
[2025-04-12 12:42:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 12:42:04] Production.INFO: count ==23
[2025-04-12 12:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891631') start
[2025-04-12 12:42:04] Production.INFO: Date 2025-04-09
[2025-04-12 12:42:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:42:04] Production.ERROR: done
[2025-04-12 12:42:04] Production.INFO: Date 2025-04-10
[2025-04-12 12:42:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 12:42:04] Production.INFO: Date 2025-04-11
[2025-04-12 12:42:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891631') end
[2025-04-12 12:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 12:42:04] Production.INFO: 1
[2025-04-12 12:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 12:42:04] Production.INFO: Date 2025-04-12
[2025-04-12 12:42:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:42:04] Production.INFO: Total Charge 0
[2025-04-12 12:42:04] Production.INFO: CreateAllLog End
[2025-04-12 12:42:04] Production.INFO: ==27567== Releasing lock...
[2025-04-12 12:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 12:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 12:42:04] Production.ERROR: done
[2025-04-12 12:42:04] Production.INFO: Account Balance End.
[2025-04-12 12:42:04] Production.ERROR: CronJobId end 12
[2025-04-12 12:42:04] Production.INFO: ==27563== Releasing lock...
[2025-04-12 12:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 12:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 12:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 09:42:05
[end_date_ymd] => 2025-04-12 12:42:05
[RateCDR] => 1
)
[2025-04-12 12:42:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 09:42:05' and `end` < '2025-04-12 12:42:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 12:42:13] Production.ERROR: CronJobId end10
[2025-04-12 12:42:13] Production.INFO: ==27561== Releasing lock...
[2025-04-12 12:42:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 12:42:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 12:42:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 12:42:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 12:42:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 12:42:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 12:42:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 12:42:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 12:42:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 12:42:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 12:42:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 12:42:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 12:42:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 12:42:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 12:42:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 12:42:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 12:42:14] Production.INFO: call_cost start
[2025-04-12 12:42:14] Production.INFO: call_cost end
[2025-04-12 12:42:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 12:42:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 12:42:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 12:42:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 12:42:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 12:42:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 12:42:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 12:42:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 12:42:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 12:42:15] Production.INFO: ==27557== Releasing lock...
[2025-04-12 12:42:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 12:42:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 12:42:18] Production.INFO: count ==1521
[2025-04-12 12:42:19] Production.ERROR: pbx CDR StartTime 2025-04-12 09:42:05 - End Time 2025-04-12 12:42:05
[2025-04-12 12:42:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 12:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891632', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891632', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891632', 'tblTempVendorCDR_20' ) start
[2025-04-12 12:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891632', 'tblTempVendorCDR_20' ) end
[2025-04-12 12:42:19] Production.INFO: ProcessCDR(1,14891632,1,1,2)
[2025-04-12 12:42:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891632,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:42:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891632,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:42:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891632,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:42:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891632,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:42:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891632', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:42:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891632', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:42:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 12:42:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 12:42:24] Production.INFO: ==27565== Releasing lock...
[2025-04-12 12:42:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 12:42:24] Production.INFO: 39.5 MB #Memory Used#
[2025-04-12 17:43:01] Production.INFO: ==27622== Lock acquired, processing the job...
[2025-04-12 17:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 17:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 17:43:01] Production.INFO: neon service started
[2025-04-12 17:43:01] Production.INFO: neon service started
[2025-04-12 17:43:01] Production.INFO: ==27622== Releasing lock...
[2025-04-12 17:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 17:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 12:43:01] Production.INFO: ==27624== Lock acquired, processing the job...
[2025-04-12 12:43:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 12:43:02] Production.INFO: ==27624== Releasing lock...
[2025-04-12 12:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 12:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 16:43:02] Production.INFO: ==27626== Lock acquired, processing the job...
[2025-04-12 16:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 16:43:02] Production.INFO: ==27626== Releasing lock...
[2025-04-12 16:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 16:43:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 12:43:03] Production.INFO: ==27637== Lock acquired, processing the job...
[2025-04-12 12:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 12:43:03] Production.INFO: ==27629== Lock acquired, processing the job...
[2025-04-12 12:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 12:43:03] Production.INFO: ==27639== Lock acquired, processing the job...
[2025-04-12 12:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 12:43:03] Production.INFO: ==27631== Lock acquired, processing the job...
[2025-04-12 12:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 12:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 12:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 12:43:03] Production.INFO: ==27633== Lock acquired, processing the job...
[2025-04-12 12:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 12:43:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 12:43:03] Production.INFO: ==27635== Lock acquired, processing the job...
[2025-04-12 12:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 12:43:03] Production.INFO: count ==12
[2025-04-12 12:43:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 12:43:03] Production.INFO: count ==23
[2025-04-12 12:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891634') start
[2025-04-12 12:43:03] Production.INFO: Account Balance Start.
[2025-04-12 12:43:03] Production.INFO: CreateAllLog Start
[2025-04-12 12:43:03] Production.INFO: 117
[2025-04-12 12:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 12:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 12:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 12:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 12:43:03] Production.INFO: Date 2025-04-08
[2025-04-12 12:43:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891634') end
[2025-04-12 12:43:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 12:43:03] Production.INFO: 1
[2025-04-12 12:43:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 12:43:03] Production.INFO: Date 2025-04-09
[2025-04-12 12:43:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:43:03] Production.INFO: Date 2025-04-10
[2025-04-12 12:43:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:43:03] Production.INFO: ==27631== Releasing lock...
[2025-04-12 12:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 12:43:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 12:43:03] Production.INFO: ==27639== Releasing lock...
[2025-04-12 12:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 12:43:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 12:43:03] Production.INFO: Date 2025-04-11
[2025-04-12 12:43:03] Production.ERROR: done
[2025-04-12 12:43:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:43:03] Production.INFO: Date 2025-04-12
[2025-04-12 12:43:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 12:43:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:43:03] Production.INFO: Total Charge 0
[2025-04-12 12:43:03] Production.INFO: CreateAllLog End
[2025-04-12 12:43:03] Production.ERROR: done
[2025-04-12 12:43:03] Production.INFO: Account Balance End.
[2025-04-12 12:43:04] Production.ERROR: CronJobId end 12
[2025-04-12 12:43:04] Production.INFO: ==27635== Releasing lock...
[2025-04-12 12:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 12:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 12:43:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 09:43:04
[end_date_ymd] => 2025-04-12 12:43:04
[RateCDR] => 1
)
[2025-04-12 12:43:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 09:43:04' and `end` < '2025-04-12 12:43:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 12:43:12] Production.ERROR: CronJobId end10
[2025-04-12 12:43:12] Production.INFO: ==27633== Releasing lock...
[2025-04-12 12:43:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 12:43:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 12:43:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 12:43:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 12:43:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 12:43:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 12:43:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 12:43:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 12:43:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 12:43:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 12:43:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 12:43:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 12:43:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 12:43:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 12:43:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 12:43:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 12:43:15] Production.INFO: call_cost start
[2025-04-12 12:43:15] Production.INFO: call_cost end
[2025-04-12 12:43:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 12:43:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 12:43:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 12:43:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 12:43:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 12:43:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 12:43:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 12:43:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 12:43:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 12:43:16] Production.INFO: ==27629== Releasing lock...
[2025-04-12 12:43:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 12:43:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 12:43:17] Production.INFO: count ==1519
[2025-04-12 12:43:18] Production.ERROR: pbx CDR StartTime 2025-04-12 09:43:04 - End Time 2025-04-12 12:43:04
[2025-04-12 12:43:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 12:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891637', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891637', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891637', 'tblTempVendorCDR_20' ) start
[2025-04-12 12:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891637', 'tblTempVendorCDR_20' ) end
[2025-04-12 12:43:18] Production.INFO: ProcessCDR(1,14891637,1,1,2)
[2025-04-12 12:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891637,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:43:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891637,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:43:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891637,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:43:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891637,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891637', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891637', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:43:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 12:43:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 12:43:21] Production.INFO: ==27637== Releasing lock...
[2025-04-12 12:43:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 12:43:21] Production.INFO: 39.25 MB #Memory Used#
[2025-04-12 17:44:01] Production.INFO: ==27701== Lock acquired, processing the job...
[2025-04-12 17:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 17:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 17:44:01] Production.INFO: neon service started
[2025-04-12 17:44:01] Production.INFO: neon service started
[2025-04-12 17:44:01] Production.INFO: ==27701== Releasing lock...
[2025-04-12 17:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 17:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 12:44:02] Production.INFO: ==27703== Lock acquired, processing the job...
[2025-04-12 12:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 16:44:02] Production.INFO: ==27705== Lock acquired, processing the job...
[2025-04-12 16:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 16:44:02] Production.INFO: ==27705== Releasing lock...
[2025-04-12 16:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 16:44:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 12:44:02] Production.INFO: ==27703== Releasing lock...
[2025-04-12 12:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 12:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 12:44:03] Production.INFO: ==27708== Lock acquired, processing the job...
[2025-04-12 12:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 12:44:03] Production.INFO: ==27716== Lock acquired, processing the job...
[2025-04-12 12:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 12:44:03] Production.INFO: ==27712== Lock acquired, processing the job...
[2025-04-12 12:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 12:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 12:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 12:44:03] Production.INFO: ==27710== Lock acquired, processing the job...
[2025-04-12 12:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 12:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 12:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 12:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 12:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 12:44:03] Production.INFO: ==27714== Lock acquired, processing the job...
[2025-04-12 12:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 12:44:03] Production.INFO: ==27718== Lock acquired, processing the job...
[2025-04-12 12:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 12:44:03] Production.INFO: Account Balance Start.
[2025-04-12 12:44:03] Production.INFO: CreateAllLog Start
[2025-04-12 12:44:03] Production.INFO: 117
[2025-04-12 12:44:04] Production.INFO: Date 2025-04-08
[2025-04-12 12:44:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:44:04] Production.ERROR: done
[2025-04-12 12:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 12:44:04] Production.INFO: Date 2025-04-09
[2025-04-12 12:44:04] Production.ERROR: done
[2025-04-12 12:44:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:44:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 12:44:04] Production.INFO: Date 2025-04-10
[2025-04-12 12:44:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:44:04] Production.INFO: count ==12
[2025-04-12 12:44:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 12:44:04] Production.INFO: count ==23
[2025-04-12 12:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891641') start
[2025-04-12 12:44:04] Production.INFO: Date 2025-04-11
[2025-04-12 12:44:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:44:04] Production.INFO: ==27710== Releasing lock...
[2025-04-12 12:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 12:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 12:44:04] Production.INFO: Date 2025-04-12
[2025-04-12 12:44:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:44:04] Production.INFO: Total Charge 0
[2025-04-12 12:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891641') end
[2025-04-12 12:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 12:44:04] Production.INFO: 1
[2025-04-12 12:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 12:44:04] Production.INFO: CreateAllLog End
[2025-04-12 12:44:04] Production.INFO: ==27718== Releasing lock...
[2025-04-12 12:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 12:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 12:44:04] Production.INFO: Account Balance End.
[2025-04-12 12:44:04] Production.ERROR: CronJobId end 12
[2025-04-12 12:44:04] Production.INFO: ==27714== Releasing lock...
[2025-04-12 12:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 12:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 12:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 09:44:05
[end_date_ymd] => 2025-04-12 12:44:05
[RateCDR] => 1
)
[2025-04-12 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-12 09:44:05' and `end` < '2025-04-12 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-12 12:44:12] Production.ERROR: CronJobId end10
[2025-04-12 12:44:12] Production.INFO: ==27712== Releasing lock...
[2025-04-12 12:44:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 12:44:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 12:44:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 12:44:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 12:44:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 12:44:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 12:44:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 12:44:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 12:44:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 12:44:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 12:44:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 12:44:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 12:44:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 12:44:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 12:44:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 12:44:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 12:44:15] Production.INFO: call_cost start
[2025-04-12 12:44:15] Production.INFO: call_cost end
[2025-04-12 12:44:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 12:44:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 12:44:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 12:44:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 12:44:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 12:44:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 12:44:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 12:44:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 12:44:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 12:44:16] Production.INFO: ==27708== Releasing lock...
[2025-04-12 12:44:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 12:44:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 12:44:18] Production.INFO: count ==1520
[2025-04-12 12:44:18] Production.ERROR: pbx CDR StartTime 2025-04-12 09:44:05 - End Time 2025-04-12 12:44:05
[2025-04-12 12:44:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 12:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891642', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891642', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891642', 'tblTempVendorCDR_20' ) start
[2025-04-12 12:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891642', 'tblTempVendorCDR_20' ) end
[2025-04-12 12:44:18] Production.INFO: ProcessCDR(1,14891642,1,1,2)
[2025-04-12 12:44:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891642,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:44:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891642,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:44:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891642,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:44:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891642,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:44:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891642', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:44:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891642', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:44:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 12:44:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 12:44:23] Production.INFO: ==27716== Releasing lock...
[2025-04-12 12:44:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 12:44:23] Production.INFO: 39.5 MB #Memory Used#
[2025-04-12 17:45:01] Production.INFO: ==27780== Lock acquired, processing the job...
[2025-04-12 17:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 17:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 17:45:01] Production.INFO: neon service started
[2025-04-12 17:45:01] Production.INFO: neon service started
[2025-04-12 17:45:01] Production.INFO: ==27780== Releasing lock...
[2025-04-12 17:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 17:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 12:45:02] Production.INFO: ==27782== Lock acquired, processing the job...
[2025-04-12 12:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 16:45:02] Production.INFO: ==27784== Lock acquired, processing the job...
[2025-04-12 16:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 16:45:02] Production.INFO: ==27784== Releasing lock...
[2025-04-12 16:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 16:45:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 12:45:02] Production.INFO: ==27782== Releasing lock...
[2025-04-12 12:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 12:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 12:45:03] Production.INFO: ==27789== Lock acquired, processing the job...
[2025-04-12 12:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 12:45:03] Production.INFO: ==27791== Lock acquired, processing the job...
[2025-04-12 12:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 12:45:03] Production.INFO: ==27787== Lock acquired, processing the job...
[2025-04-12 12:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 12:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 12:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 12:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 12:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 12:45:03] Production.INFO: ==27793== Lock acquired, processing the job...
[2025-04-12 12:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 12:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 12:45:03] Production.INFO: ==27795== Lock acquired, processing the job...
[2025-04-12 12:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 12:45:03] Production.INFO: ==27797== Lock acquired, processing the job...
[2025-04-12 12:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 12:45:03] Production.INFO: Account Balance Start.
[2025-04-12 12:45:03] Production.INFO: CreateAllLog Start
[2025-04-12 12:45:03] Production.INFO: 117
[2025-04-12 12:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 12:45:03] Production.INFO: ==27789== Releasing lock...
[2025-04-12 12:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 12:45:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 12:45:03] Production.INFO: Date 2025-04-08
[2025-04-12 12:45:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:45:03] Production.INFO: Date 2025-04-09
[2025-04-12 12:45:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:45:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 12:45:03] Production.INFO: count ==12
[2025-04-12 12:45:03] Production.INFO: Date 2025-04-10
[2025-04-12 12:45:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 12:45:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:45:03] Production.INFO: count ==23
[2025-04-12 12:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891646') start
[2025-04-12 12:45:03] Production.INFO: Date 2025-04-11
[2025-04-12 12:45:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:45:04] Production.INFO: Date 2025-04-12
[2025-04-12 12:45:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891646') end
[2025-04-12 12:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 12:45:04] Production.INFO: 1
[2025-04-12 12:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 12:45:04] Production.INFO: Total Charge 0
[2025-04-12 12:45:04] Production.INFO: CreateAllLog End
[2025-04-12 12:45:04] Production.INFO: ==27797== Releasing lock...
[2025-04-12 12:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 12:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 12:45:04] Production.ERROR: done
[2025-04-12 12:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 12:45:04] Production.INFO: Account Balance End.
[2025-04-12 12:45:04] Production.ERROR: CronJobId end 12
[2025-04-12 12:45:04] Production.INFO: ==27793== Releasing lock...
[2025-04-12 12:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 12:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 12:45:04] Production.ERROR: done
[2025-04-12 12:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 09:45:05
[end_date_ymd] => 2025-04-12 12:45:05
[RateCDR] => 1
)
[2025-04-12 12:45:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 09:45:05' and `end` < '2025-04-12 12:45:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 12:45:11] Production.ERROR: CronJobId end10
[2025-04-12 12:45:11] Production.INFO: ==27791== Releasing lock...
[2025-04-12 12:45:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 12:45:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 12:45:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 12:45:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 12:45:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 12:45:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 12:45:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 12:45:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 12:45:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 12:45:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 12:45:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 12:45:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 12:45:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 12:45:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 12:45:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 12:45:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 12:45:14] Production.INFO: call_cost start
[2025-04-12 12:45:14] Production.INFO: call_cost end
[2025-04-12 12:45:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 12:45:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 12:45:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 12:45:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 12:45:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 12:45:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 12:45:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 12:45:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 12:45:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 12:45:15] Production.INFO: ==27787== Releasing lock...
[2025-04-12 12:45:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 12:45:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 12:45:18] Production.INFO: count ==1517
[2025-04-12 12:45:18] Production.ERROR: pbx CDR StartTime 2025-04-12 09:45:05 - End Time 2025-04-12 12:45:05
[2025-04-12 12:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 12:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891647', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891647', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891647', 'tblTempVendorCDR_20' ) start
[2025-04-12 12:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891647', 'tblTempVendorCDR_20' ) end
[2025-04-12 12:45:18] Production.INFO: ProcessCDR(1,14891647,1,1,2)
[2025-04-12 12:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891647,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:45:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891647,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:45:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891647,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:45:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891647,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:45:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891647', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:45:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891647', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:45:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 12:45:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 12:45:23] Production.INFO: ==27795== Releasing lock...
[2025-04-12 12:45:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 12:45:23] Production.INFO: 39.25 MB #Memory Used#
[2025-04-12 17:46:01] Production.INFO: ==27892== Lock acquired, processing the job...
[2025-04-12 17:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 17:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 17:46:01] Production.INFO: neon service started
[2025-04-12 17:46:02] Production.INFO: neon service started
[2025-04-12 17:46:02] Production.INFO: ==27892== Releasing lock...
[2025-04-12 17:46:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 17:46:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 12:46:02] Production.INFO: ==27894== Lock acquired, processing the job...
[2025-04-12 12:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 16:46:02] Production.INFO: ==27896== Lock acquired, processing the job...
[2025-04-12 16:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 16:46:02] Production.INFO: ==27896== Releasing lock...
[2025-04-12 16:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 16:46:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 12:46:02] Production.INFO: ==27894== Releasing lock...
[2025-04-12 12:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 12:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 12:46:03] Production.INFO: ==27899== Lock acquired, processing the job...
[2025-04-12 12:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 12:46:04] Production.INFO: ==27901== Lock acquired, processing the job...
[2025-04-12 12:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 12:46:04] Production.INFO: ==27903== Lock acquired, processing the job...
[2025-04-12 12:46:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 12:46:04] Production.INFO: ==27905== Lock acquired, processing the job...
[2025-04-12 12:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 12:46:04] Production.INFO: ==27909== Lock acquired, processing the job...
[2025-04-12 12:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 12:46:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 12:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 12:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 12:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 12:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 12:46:04] Production.INFO: ==27907== Lock acquired, processing the job...
[2025-04-12 12:46:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 12:46:04] Production.INFO: Account Balance Start.
[2025-04-12 12:46:04] Production.INFO: CreateAllLog Start
[2025-04-12 12:46:04] Production.INFO: 117
[2025-04-12 12:46:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 12:46:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 12:46:04] Production.INFO: count ==12
[2025-04-12 12:46:04] Production.INFO: Date 2025-04-08
[2025-04-12 12:46:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 12:46:04] Production.INFO: count ==23
[2025-04-12 12:46:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891649') start
[2025-04-12 12:46:04] Production.INFO: ==27901== Releasing lock...
[2025-04-12 12:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 12:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 12:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891649') end
[2025-04-12 12:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 12:46:04] Production.INFO: 1
[2025-04-12 12:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 12:46:04] Production.INFO: Date 2025-04-09
[2025-04-12 12:46:04] Production.ERROR: done
[2025-04-12 12:46:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 12:46:04] Production.INFO: ==27909== Releasing lock...
[2025-04-12 12:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 12:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 12:46:04] Production.INFO: Date 2025-04-10
[2025-04-12 12:46:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:46:04] Production.INFO: Date 2025-04-11
[2025-04-12 12:46:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:46:04] Production.INFO: Date 2025-04-12
[2025-04-12 12:46:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:46:04] Production.INFO: Total Charge 0
[2025-04-12 12:46:04] Production.INFO: CreateAllLog End
[2025-04-12 12:46:04] Production.ERROR: done
[2025-04-12 12:46:04] Production.INFO: Account Balance End.
[2025-04-12 12:46:05] Production.ERROR: CronJobId end 12
[2025-04-12 12:46:05] Production.INFO: ==27905== Releasing lock...
[2025-04-12 12:46:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 12:46:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 12:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 09:46:05
[end_date_ymd] => 2025-04-12 12:46:05
[RateCDR] => 1
)
[2025-04-12 12:46:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 09:46:05' and `end` < '2025-04-12 12:46:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 12:46:11] Production.ERROR: CronJobId end10
[2025-04-12 12:46:11] Production.INFO: ==27903== Releasing lock...
[2025-04-12 12:46:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 12:46:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 12:46:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 12:46:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 12:46:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 12:46:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 12:46:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 12:46:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 12:46:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 12:46:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 12:46:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 12:46:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 12:46:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 12:46:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 12:46:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 12:46:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 12:46:15] Production.INFO: call_cost start
[2025-04-12 12:46:15] Production.INFO: call_cost end
[2025-04-12 12:46:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 12:46:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 12:46:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 12:46:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 12:46:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 12:46:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 12:46:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 12:46:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 12:46:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 12:46:15] Production.INFO: ==27899== Releasing lock...
[2025-04-12 12:46:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 12:46:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 12:46:18] Production.INFO: count ==1516
[2025-04-12 12:46:19] Production.ERROR: pbx CDR StartTime 2025-04-12 09:46:05 - End Time 2025-04-12 12:46:05
[2025-04-12 12:46:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 12:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891652', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891652', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891652', 'tblTempVendorCDR_20' ) start
[2025-04-12 12:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891652', 'tblTempVendorCDR_20' ) end
[2025-04-12 12:46:19] Production.INFO: ProcessCDR(1,14891652,1,1,2)
[2025-04-12 12:46:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891652,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:46:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891652,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:46:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891652,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:46:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891652,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891652', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891652', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:46:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 12:46:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 12:46:22] Production.INFO: ==27907== Releasing lock...
[2025-04-12 12:46:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 12:46:22] Production.INFO: 39.5 MB #Memory Used#
[2025-04-12 17:47:01] Production.INFO: ==27965== Lock acquired, processing the job...
[2025-04-12 17:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 17:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 17:47:01] Production.INFO: neon service started
[2025-04-12 17:47:01] Production.INFO: neon service started
[2025-04-12 17:47:01] Production.INFO: ==27965== Releasing lock...
[2025-04-12 17:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 17:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 12:47:02] Production.INFO: ==27967== Lock acquired, processing the job...
[2025-04-12 12:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 16:47:02] Production.INFO: ==27969== Lock acquired, processing the job...
[2025-04-12 16:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 16:47:02] Production.INFO: ==27969== Releasing lock...
[2025-04-12 16:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 16:47:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 12:47:02] Production.INFO: ==27967== Releasing lock...
[2025-04-12 12:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 12:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 12:47:03] Production.INFO: ==27972== Lock acquired, processing the job...
[2025-04-12 12:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 12:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 12:47:03] Production.INFO: ==27974== Lock acquired, processing the job...
[2025-04-12 12:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 12:47:03] Production.INFO: ==27978== Lock acquired, processing the job...
[2025-04-12 12:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 12:47:03] Production.INFO: Account Balance Start.
[2025-04-12 12:47:03] Production.INFO: CreateAllLog Start
[2025-04-12 12:47:03] Production.INFO: 117
[2025-04-12 12:47:03] Production.INFO: Date 2025-04-08
[2025-04-12 12:47:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:47:03] Production.INFO: Date 2025-04-09
[2025-04-12 12:47:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:47:03] Production.INFO: Date 2025-04-10
[2025-04-12 12:47:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:47:03] Production.INFO: Date 2025-04-11
[2025-04-12 12:47:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:47:03] Production.INFO: Date 2025-04-12
[2025-04-12 12:47:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:47:03] Production.INFO: Total Charge 0
[2025-04-12 12:47:03] Production.INFO: CreateAllLog End
[2025-04-12 12:47:03] Production.INFO: Account Balance End.
[2025-04-12 12:47:03] Production.INFO: ==27976== Lock acquired, processing the job...
[2025-04-12 12:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 12:47:03] Production.INFO: ==27974== Releasing lock...
[2025-04-12 12:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 12:47:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 12:47:03] Production.ERROR: CronJobId end 12
[2025-04-12 12:47:03] Production.INFO: ==27978== Releasing lock...
[2025-04-12 12:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 12:47:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 12:47:03] Production.INFO: ==27982== Lock acquired, processing the job...
[2025-04-12 12:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 12:47:03] Production.INFO: ==27980== Lock acquired, processing the job...
[2025-04-12 12:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 12:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 12:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 12:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 12:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 12:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 12:47:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 12:47:03] Production.INFO: count ==12
[2025-04-12 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-12 12:47:04] Production.INFO: count ==23
[2025-04-12 12:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891656') start
[2025-04-12 12:47:04] Production.ERROR: done
[2025-04-12 12:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 12:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891656') end
[2025-04-12 12:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 12:47:04] Production.INFO: 1
[2025-04-12 12:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 12:47:04] Production.INFO: ==27982== Releasing lock...
[2025-04-12 12:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 12:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 12:47:04] Production.ERROR: done
[2025-04-12 12:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 09:47:05
[end_date_ymd] => 2025-04-12 12:47:05
[RateCDR] => 1
)
[2025-04-12 12:47:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 09:47:05' and `end` < '2025-04-12 12:47:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 12:47:11] Production.ERROR: CronJobId end10
[2025-04-12 12:47:11] Production.INFO: ==27976== Releasing lock...
[2025-04-12 12:47:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 12:47:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 12:47:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 12:47:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 12:47:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 12:47:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 12:47:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 12:47:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 12:47:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 12:47:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 12:47:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 12:47:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 12:47:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 12:47:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 12:47:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 12:47:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 12:47:14] Production.INFO: call_cost start
[2025-04-12 12:47:14] Production.INFO: call_cost end
[2025-04-12 12:47:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 12:47:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 12:47:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 12:47:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 12:47:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 12:47:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 12:47:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 12:47:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 12:47:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 12:47:15] Production.INFO: ==27972== Releasing lock...
[2025-04-12 12:47:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 12:47:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 12:47:18] Production.INFO: count ==1519
[2025-04-12 12:47:18] Production.ERROR: pbx CDR StartTime 2025-04-12 09:47:05 - End Time 2025-04-12 12:47:05
[2025-04-12 12:47:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 12:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891657', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891657', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891657', 'tblTempVendorCDR_20' ) start
[2025-04-12 12:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891657', 'tblTempVendorCDR_20' ) end
[2025-04-12 12:47:18] Production.INFO: ProcessCDR(1,14891657,1,1,2)
[2025-04-12 12:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891657,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:47:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891657,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:47:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891657,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:47:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891657,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:47:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891657', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:47:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891657', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:47:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 12:47:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 12:47:23] Production.INFO: ==27980== Releasing lock...
[2025-04-12 12:47:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 12:47:23] Production.INFO: 39.25 MB #Memory Used#
[2025-04-12 17:48:01] Production.INFO: ==28036== Lock acquired, processing the job...
[2025-04-12 17:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 17:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 17:48:01] Production.INFO: neon service started
[2025-04-12 17:48:01] Production.INFO: neon service started
[2025-04-12 17:48:01] Production.INFO: ==28036== Releasing lock...
[2025-04-12 17:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 17:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 12:48:02] Production.INFO: ==28038== Lock acquired, processing the job...
[2025-04-12 12:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 16:48:02] Production.INFO: ==28040== Lock acquired, processing the job...
[2025-04-12 16:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 12:48:02] Production.INFO: ==28038== Releasing lock...
[2025-04-12 12:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 12:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 16:48:02] Production.INFO: ==28040== Releasing lock...
[2025-04-12 16:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 16:48:02] Production.INFO: 26 MB #Memory Used#
[2025-04-12 12:48:03] Production.INFO: ==28043== Lock acquired, processing the job...
[2025-04-12 12:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 12:48:03] Production.INFO: ==28053== Lock acquired, processing the job...
[2025-04-12 12:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 12:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 12:48:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 12:48:03] Production.INFO: ==28045== Lock acquired, processing the job...
[2025-04-12 12:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 12:48:03] Production.INFO: count ==12
[2025-04-12 12:48:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 12:48:03] Production.INFO: ==28047== Lock acquired, processing the job...
[2025-04-12 12:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 12:48:03] Production.INFO: count ==23
[2025-04-12 12:48:03] Production.INFO: ==28049== Lock acquired, processing the job...
[2025-04-12 12:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 12:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891659') start
[2025-04-12 12:48:03] Production.INFO: ==28051== Lock acquired, processing the job...
[2025-04-12 12:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 12:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 12:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 12:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 12:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 12:48:03] Production.INFO: Account Balance Start.
[2025-04-12 12:48:03] Production.INFO: CreateAllLog Start
[2025-04-12 12:48:03] Production.INFO: 117
[2025-04-12 12:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 12:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891659') end
[2025-04-12 12:48:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 12:48:03] Production.INFO: 1
[2025-04-12 12:48:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 12:48:03] Production.INFO: Date 2025-04-08
[2025-04-12 12:48:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:48:03] Production.INFO: ==28053== Releasing lock...
[2025-04-12 12:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 12:48:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 12:48:03] Production.INFO: ==28045== Releasing lock...
[2025-04-12 12:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 12:48:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 12:48:03] Production.INFO: Date 2025-04-09
[2025-04-12 12:48:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:48:04] Production.INFO: Date 2025-04-10
[2025-04-12 12:48:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:48:04] Production.INFO: Date 2025-04-11
[2025-04-12 12:48:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:48:04] Production.INFO: Date 2025-04-12
[2025-04-12 12:48:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:48:04] Production.INFO: Total Charge 0
[2025-04-12 12:48:04] Production.INFO: CreateAllLog End
[2025-04-12 12:48:04] Production.ERROR: done
[2025-04-12 12:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 12:48:04] Production.ERROR: done
[2025-04-12 12:48:04] Production.INFO: Account Balance End.
[2025-04-12 12:48:04] Production.ERROR: CronJobId end 12
[2025-04-12 12:48:04] Production.INFO: ==28049== Releasing lock...
[2025-04-12 12:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 12:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 12:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 09:48:05
[end_date_ymd] => 2025-04-12 12:48:05
[RateCDR] => 1
)
[2025-04-12 12:48:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 09:48:05' and `end` < '2025-04-12 12:48:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 12:48:12] Production.ERROR: CronJobId end10
[2025-04-12 12:48:12] Production.INFO: ==28047== Releasing lock...
[2025-04-12 12:48:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 12:48:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 12:48:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 12:48:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 12:48:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 12:48:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 12:48:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 12:48:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 12:48:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 12:48:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 12:48:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 12:48:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 12:48:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 12:48:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 12:48:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 12:48:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 12:48:14] Production.INFO: call_cost start
[2025-04-12 12:48:14] Production.INFO: call_cost end
[2025-04-12 12:48:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 12:48:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 12:48:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 12:48:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 12:48:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 12:48:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 12:48:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 12:48:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 12:48:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 12:48:15] Production.INFO: ==28043== Releasing lock...
[2025-04-12 12:48:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 12:48:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 12:48:18] Production.INFO: count ==1519
[2025-04-12 12:48:18] Production.ERROR: pbx CDR StartTime 2025-04-12 09:48:05 - End Time 2025-04-12 12:48:05
[2025-04-12 12:48:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 12:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891662', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891662', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891662', 'tblTempVendorCDR_20' ) start
[2025-04-12 12:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891662', 'tblTempVendorCDR_20' ) end
[2025-04-12 12:48:18] Production.INFO: ProcessCDR(1,14891662,1,1,2)
[2025-04-12 12:48:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891662,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:48:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891662,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:48:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891662,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:48:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891662,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:48:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891662', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:48:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891662', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:48:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 12:48:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 12:48:23] Production.INFO: ==28051== Releasing lock...
[2025-04-12 12:48:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 12:48:23] Production.INFO: 39.5 MB #Memory Used#
[2025-04-12 17:49:02] Production.INFO: ==28114== Lock acquired, processing the job...
[2025-04-12 17:49:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 17:49:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 17:49:02] Production.INFO: neon service started
[2025-04-12 17:49:02] Production.INFO: neon service started
[2025-04-12 17:49:02] Production.INFO: ==28114== Releasing lock...
[2025-04-12 17:49:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 17:49:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 12:49:02] Production.INFO: ==28116== Lock acquired, processing the job...
[2025-04-12 12:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 16:49:03] Production.INFO: ==28118== Lock acquired, processing the job...
[2025-04-12 16:49:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 16:49:03] Production.INFO: ==28118== Releasing lock...
[2025-04-12 16:49:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 16:49:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 12:49:03] Production.INFO: ==28116== Releasing lock...
[2025-04-12 12:49:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 12:49:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 12:49:04] Production.INFO: ==28131== Lock acquired, processing the job...
[2025-04-12 12:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 12:49:04] Production.INFO: ==28129== Lock acquired, processing the job...
[2025-04-12 12:49:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 12:49:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 12:49:04] Production.INFO: ==28120== Lock acquired, processing the job...
[2025-04-12 12:49:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 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-12 12:49:04] Production.INFO: ==28122== Lock acquired, processing the job...
[2025-04-12 12:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 12:49:04] Production.INFO: count ==12
[2025-04-12 12:49:04] Production.INFO: ==28124== Lock acquired, processing the job...
[2025-04-12 12:49:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 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-12 12:49:04] Production.INFO: count ==23
[2025-04-12 12:49:04] Production.INFO: ==28127== Lock acquired, processing the job...
[2025-04-12 12:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 12:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891663') start
[2025-04-12 12:49:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 12:49:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 12:49:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 12:49:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 12:49:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 12:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891663') end
[2025-04-12 12:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 12:49:04] Production.INFO: 1
[2025-04-12 12:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 12:49:04] Production.INFO: Account Balance Start.
[2025-04-12 12:49:04] Production.INFO: CreateAllLog Start
[2025-04-12 12:49:04] Production.INFO: 117
[2025-04-12 12:49:04] Production.INFO: ==28131== Releasing lock...
[2025-04-12 12:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 12:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 12:49:04] Production.ERROR: done
[2025-04-12 12:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 12:49:04] Production.INFO: Date 2025-04-08
[2025-04-12 12:49:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:49:04] Production.INFO: Date 2025-04-09
[2025-04-12 12:49:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:49:04] Production.INFO: Date 2025-04-10
[2025-04-12 12:49:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:49:04] Production.INFO: Date 2025-04-11
[2025-04-12 12:49:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:49:04] Production.INFO: Date 2025-04-12
[2025-04-12 12:49:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:49:04] Production.INFO: Total Charge 0
[2025-04-12 12:49:04] Production.INFO: CreateAllLog End
[2025-04-12 12:49:04] Production.INFO: ==28122== Releasing lock...
[2025-04-12 12:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 12:49:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 12:49:04] Production.ERROR: done
[2025-04-12 12:49:05] Production.INFO: Account Balance End.
[2025-04-12 12:49:05] Production.ERROR: CronJobId end 12
[2025-04-12 12:49:05] Production.INFO: ==28127== Releasing lock...
[2025-04-12 12:49:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 12:49:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 12:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 09:49:05
[end_date_ymd] => 2025-04-12 12:49:05
[RateCDR] => 1
)
[2025-04-12 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-12 09:49:05' and `end` < '2025-04-12 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-12 12:49:12] Production.ERROR: CronJobId end10
[2025-04-12 12:49:12] Production.INFO: ==28124== Releasing lock...
[2025-04-12 12:49:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 12:49:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 12:49:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 12:49:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 12:49:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 12:49:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 12:49:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 12:49:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 12:49:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 12:49:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 12:49:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 12:49:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 12:49:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 12:49:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 12:49:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 12:49:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 12:49:14] Production.INFO: call_cost start
[2025-04-12 12:49:14] Production.INFO: call_cost end
[2025-04-12 12:49:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 12:49:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 12:49:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 12:49:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 12:49:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 12:49:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 12:49:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 12:49:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 12:49:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 12:49:15] Production.INFO: ==28120== Releasing lock...
[2025-04-12 12:49:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 12:49:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 12:49:18] Production.INFO: count ==1521
[2025-04-12 12:49:19] Production.ERROR: pbx CDR StartTime 2025-04-12 09:49:05 - End Time 2025-04-12 12:49:05
[2025-04-12 12:49:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 12:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891667', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891667', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891667', 'tblTempVendorCDR_20' ) start
[2025-04-12 12:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891667', 'tblTempVendorCDR_20' ) end
[2025-04-12 12:49:19] Production.INFO: ProcessCDR(1,14891667,1,1,2)
[2025-04-12 12:49:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891667,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:49:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891667,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:49:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891667,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:49:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891667,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:49:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891667', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:49:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891667', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:49:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 12:49:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 12:49:23] Production.INFO: ==28129== Releasing lock...
[2025-04-12 12:49:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 12:49:23] Production.INFO: 39.75 MB #Memory Used#
[2025-04-12 17:50:01] Production.INFO: ==28190== Lock acquired, processing the job...
[2025-04-12 17:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 17:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 17:50:01] Production.INFO: neon service started
[2025-04-12 17:50:01] Production.INFO: neon service started
[2025-04-12 17:50:01] Production.INFO: ==28190== Releasing lock...
[2025-04-12 17:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 17:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 16:50:02] Production.INFO: ==28194== Lock acquired, processing the job...
[2025-04-12 16:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 16:50:02] Production.INFO: ==28194== Releasing lock...
[2025-04-12 16:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 16:50:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 12:50:02] Production.INFO: ==28192== Lock acquired, processing the job...
[2025-04-12 12:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 12:50:02] Production.INFO: ==28192== Releasing lock...
[2025-04-12 12:50:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 12:50:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 12:50:03] Production.INFO: ==28203== Lock acquired, processing the job...
[2025-04-12 12:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 12:50:04] Production.INFO: ==28199== Lock acquired, processing the job...
[2025-04-12 12:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 12:50:04] Production.INFO: ==28197== Lock acquired, processing the job...
[2025-04-12 12:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 12:50:04] Production.INFO: ==28201== Lock acquired, processing the job...
[2025-04-12 12:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 12:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 12:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 12:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 12:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 12:50:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 12:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 12:50:04] Production.ERROR: CronJob PID - 28199
[2025-04-12 12:50:04] Production.ERROR: CronJob Title - System Alerts
[2025-04-12 12:50:04] Production.ERROR: CronJob ID - 5
[2025-04-12 12:50:04] Production.ERROR: CronJob Last Run Time 2025-04-12 12:50:00
[2025-04-12 12:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 12:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 12:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 12:50:04] Production.ERROR: CronJob PID - 28201
[2025-04-12 12:50:04] Production.ERROR: CronJob Title - Account Block
[2025-04-12 12:50:04] Production.ERROR: CronJob ID - 7
[2025-04-12 12:50:04] Production.ERROR: CronJob Last Run Time 2025-04-12 12:50:00
[2025-04-12 12:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 12:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 12:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 12:50:04] Production.ERROR: CronJob PID - 28203
[2025-04-12 12:50:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-04-12 12:50:04] Production.ERROR: CronJob ID - 10
[2025-04-12 12:50:04] Production.ERROR: CronJob Last Run Time 2025-04-12 12:50:00
[2025-04-12 12:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 12:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 12:50:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 12:50:04] Production.INFO: ==28197== Releasing lock...
[2025-04-12 12:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 12:50:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 12:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 12:50:04] Production.INFO: ==28205== Lock acquired, processing the job...
[2025-04-12 12:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 12:50:04] Production.INFO: ==28207== Lock acquired, processing the job...
[2025-04-12 12:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 12:50:04] Production.INFO: ==28209== Lock acquired, processing the job...
[2025-04-12 12:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 12:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 12:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 12:50:04] Production.INFO: Account Balance Start.
[2025-04-12 12:50:04] Production.INFO: CreateAllLog Start
[2025-04-12 12:50:04] Production.INFO: 117
[2025-04-12 12:50:04] Production.INFO: ==28211== Lock acquired, processing the job...
[2025-04-12 12:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 12:50:04] Production.INFO: Date 2025-04-08
[2025-04-12 12:50:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:50:04] Production.INFO: Date 2025-04-09
[2025-04-12 12:50:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:50:04] Production.INFO: Date 2025-04-10
[2025-04-12 12:50:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:50:04] Production.INFO: ==28201== Releasing lock...
[2025-04-12 12:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 12:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 12:50:04] Production.INFO: Date 2025-04-11
[2025-04-12 12:50:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 12:50:04] Production.INFO: Date 2025-04-12
[2025-04-12 12:50:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:50:04] Production.INFO: Total Charge 0
[2025-04-12 12:50:04] Production.INFO: CreateAllLog End
[2025-04-12 12:50:04] Production.ERROR: done
[2025-04-12 12:50:04] Production.INFO: count ==12
[2025-04-12 12:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 12:50:04] Production.INFO: count ==23
[2025-04-12 12:50:04] Production.ERROR: done
[2025-04-12 12:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891671') start
[2025-04-12 12:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 12:50:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 12:50:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14891672', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 12:50:05] Production.ERROR: PBX CALL prc_importPBXExtension('14891671') end
[2025-04-12 12:50:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 12:50:05] Production.INFO: 1
[2025-04-12 12:50:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 12:50:05] Production.INFO: Account Balance End.
[2025-04-12 12:50:05] Production.ERROR: CronJobId end 12
[2025-04-12 12:50:05] Production.INFO: ==28205== Releasing lock...
[2025-04-12 12:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 12:50:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 12:50:05] Production.INFO: ==28211== Releasing lock...
[2025-04-12 12:50:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 12:50:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 12:50:05] Production.ERROR: done
[2025-04-12 12:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 09:50:06
[end_date_ymd] => 2025-04-12 12:50:06
[RateCDR] => 1
)
[2025-04-12 12:50:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 09:50:06' and `end` < '2025-04-12 12:50:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 12:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14891672', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 12:50:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 12:50:09] Production.INFO: ProcessCDR(1,14891672,1,1,2)
[2025-04-12 12:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14891672,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14891672,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:50:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 12:50:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 12:50:09] Production.INFO: ==28209== Releasing lock...
[2025-04-12 12:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 12:50:09] Production.INFO: 26 MB #Memory Used#
[2025-04-12 12:50:14] Production.ERROR: CronJobId end10
[2025-04-12 12:50:14] Production.INFO: ==28203== Releasing lock...
[2025-04-12 12:50:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 12:50:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 12:50:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 12:50:16] Production.INFO: ============== Balance Warning START===========
[2025-04-12 12:50:16] Production.INFO: ============== Balance Warning END===========
[2025-04-12 12:50:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 12:50:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 12:50:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 12:50:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 12:50:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 12:50:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 12:50:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 12:50:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 12:50:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 12:50:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 12:50:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 12:50:16] Production.INFO: call_cost start
[2025-04-12 12:50:16] Production.INFO: call_cost end
[2025-04-12 12:50:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 12:50:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 12:50:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 12:50:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 12:50:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 12:50:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 12:50:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 12:50:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 12:50:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 12:50:17] Production.INFO: ==28199== Releasing lock...
[2025-04-12 12:50:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 12:50:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 12:50:19] Production.INFO: count ==1510
[2025-04-12 12:50:19] Production.ERROR: pbx CDR StartTime 2025-04-12 09:50:06 - End Time 2025-04-12 12:50:06
[2025-04-12 12:50:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 12:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891673', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:50:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891673', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:50:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891673', 'tblTempVendorCDR_20' ) start
[2025-04-12 12:50:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891673', 'tblTempVendorCDR_20' ) end
[2025-04-12 12:50:20] Production.INFO: ProcessCDR(1,14891673,1,1,2)
[2025-04-12 12:50:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891673,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:50:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891673,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:50:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891673,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:50:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891673,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:50:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891673', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:50:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891673', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:50:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 12:50:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 12:50:23] Production.INFO: ==28207== Releasing lock...
[2025-04-12 12:50:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 12:50:23] Production.INFO: 39.75 MB #Memory Used#
[2025-04-12 17:51:01] Production.INFO: ==28271== Lock acquired, processing the job...
[2025-04-12 17:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 17:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 17:51:01] Production.INFO: neon service started
[2025-04-12 17:51:01] Production.INFO: neon service started
[2025-04-12 17:51:01] Production.INFO: ==28271== Releasing lock...
[2025-04-12 17:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 17:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 12:51:01] Production.INFO: ==28273== Lock acquired, processing the job...
[2025-04-12 12:51:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 12:51:01] Production.INFO: ==28273== Releasing lock...
[2025-04-12 12:51:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 12:51:01] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 16:51:02] Production.INFO: ==28275== Lock acquired, processing the job...
[2025-04-12 16:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 16:51:02] Production.INFO: ==28275== Releasing lock...
[2025-04-12 16:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 16:51:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 12:51:02] Production.INFO: ==28277== Lock acquired, processing the job...
[2025-04-12 12:51:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 12:51:03] Production.INFO: ==28279== Lock acquired, processing the job...
[2025-04-12 12:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 12:51:03] Production.INFO: ==28281== Lock acquired, processing the job...
[2025-04-12 12:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 12:51:03] Production.INFO: ==28283== Lock acquired, processing the job...
[2025-04-12 12:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 12:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 12:51:03] Production.INFO: ==28287== Lock acquired, processing the job...
[2025-04-12 12:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 12:51:03] Production.INFO: Account Balance Start.
[2025-04-12 12:51:03] Production.INFO: CreateAllLog Start
[2025-04-12 12:51:03] Production.INFO: 117
[2025-04-12 12:51:03] Production.INFO: Date 2025-04-08
[2025-04-12 12:51:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 12:51:03] Production.INFO: ==28285== Lock acquired, processing the job...
[2025-04-12 12:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 12:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 12:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 12:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 12:51:03] Production.INFO: Date 2025-04-09
[2025-04-12 12:51:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:51:03] Production.INFO: Date 2025-04-10
[2025-04-12 12:51:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:51:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 12:51:03] Production.INFO: Date 2025-04-11
[2025-04-12 12:51:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 12:51:03] Production.INFO: count ==12
[2025-04-12 12:51:03] Production.INFO: Date 2025-04-12
[2025-04-12 12:51:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 12:51:03] Production.INFO: count ==23
[2025-04-12 12:51:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891677') start
[2025-04-12 12:51:03] Production.INFO: Total Charge 0
[2025-04-12 12:51:03] Production.INFO: CreateAllLog End
[2025-04-12 12:51:03] Production.INFO: ==28279== Releasing lock...
[2025-04-12 12:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 12:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 12:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891677') end
[2025-04-12 12:51:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 12:51:03] Production.INFO: 1
[2025-04-12 12:51:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 12:51:03] Production.ERROR: done
[2025-04-12 12:51:03] Production.INFO: ==28287== Releasing lock...
[2025-04-12 12:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 12:51:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 12:51:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 12:51:03] Production.ERROR: done
[2025-04-12 12:51:03] Production.INFO: Account Balance End.
[2025-04-12 12:51:03] Production.ERROR: CronJobId end 12
[2025-04-12 12:51:03] Production.INFO: ==28283== Releasing lock...
[2025-04-12 12:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 12:51:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 12:51:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 09:51:04
[end_date_ymd] => 2025-04-12 12:51:04
[RateCDR] => 1
)
[2025-04-12 12:51:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 09:51:04' and `end` < '2025-04-12 12:51:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 12:51:12] Production.ERROR: CronJobId end10
[2025-04-12 12:51:12] Production.INFO: ==28281== Releasing lock...
[2025-04-12 12:51:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 12:51:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 12:51:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 12:51:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 12:51:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 12:51:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 12:51:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 12:51:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 12:51:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 12:51:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 12:51:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 12:51:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 12:51:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 12:51:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 12:51:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 12:51:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 12:51:13] Production.INFO: call_cost start
[2025-04-12 12:51:13] Production.INFO: call_cost end
[2025-04-12 12:51:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 12:51:14] Production.INFO: ============== Report Schedule START===========
[2025-04-12 12:51:14] Production.INFO: ============== Report Schedule END===========
[2025-04-12 12:51:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 12:51:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 12:51:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 12:51:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 12:51:14] Production.INFO: ============== Deal alert START===========
[2025-04-12 12:51:14] Production.INFO: ============== Deal alert END===========
[2025-04-12 12:51:14] Production.INFO: ==28277== Releasing lock...
[2025-04-12 12:51:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 12:51:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 12:51:17] Production.INFO: count ==1501
[2025-04-12 12:51:18] Production.ERROR: pbx CDR StartTime 2025-04-12 09:51:04 - End Time 2025-04-12 12:51:04
[2025-04-12 12:51:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 12:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891678', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891678', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891678', 'tblTempVendorCDR_20' ) start
[2025-04-12 12:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891678', 'tblTempVendorCDR_20' ) end
[2025-04-12 12:51:18] Production.INFO: ProcessCDR(1,14891678,1,1,2)
[2025-04-12 12:51:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891678,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:51:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891678,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:51:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891678,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:51:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891678,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891678', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891678', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:51:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 12:51:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 12:51:21] Production.INFO: ==28285== Releasing lock...
[2025-04-12 12:51:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 12:51:21] Production.INFO: 39 MB #Memory Used#
[2025-04-12 17:52:01] Production.INFO: ==28344== Lock acquired, processing the job...
[2025-04-12 17:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 17:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 17:52:01] Production.INFO: neon service started
[2025-04-12 17:52:01] Production.INFO: neon service started
[2025-04-12 17:52:01] Production.INFO: ==28344== Releasing lock...
[2025-04-12 17:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 17:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 16:52:02] Production.INFO: ==28349== Lock acquired, processing the job...
[2025-04-12 16:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 12:52:02] Production.INFO: ==28346== Lock acquired, processing the job...
[2025-04-12 12:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 16:52:02] Production.INFO: ==28349== Releasing lock...
[2025-04-12 16:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 16:52:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 12:52:02] Production.INFO: ==28346== Releasing lock...
[2025-04-12 12:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 12:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 12:52:03] Production.INFO: ==28351== Lock acquired, processing the job...
[2025-04-12 12:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 12:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 12:52:03] Production.INFO: ==28355== Lock acquired, processing the job...
[2025-04-12 12:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 12:52:03] Production.INFO: ==28357== Lock acquired, processing the job...
[2025-04-12 12:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 12:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 12:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 12:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 12:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 12:52:03] Production.INFO: Account Balance Start.
[2025-04-12 12:52:03] Production.INFO: CreateAllLog Start
[2025-04-12 12:52:03] Production.INFO: 117
[2025-04-12 12:52:03] Production.INFO: ==28353== Lock acquired, processing the job...
[2025-04-12 12:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 12:52:03] Production.INFO: Date 2025-04-08
[2025-04-12 12:52:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:52:03] Production.INFO: Date 2025-04-09
[2025-04-12 12:52:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:52:03] Production.INFO: Date 2025-04-10
[2025-04-12 12:52:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:52:03] Production.INFO: ==28359== Lock acquired, processing the job...
[2025-04-12 12:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 12:52:03] Production.INFO: Date 2025-04-11
[2025-04-12 12:52:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:52:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 12:52:04] Production.INFO: ==28361== Lock acquired, processing the job...
[2025-04-12 12:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 12:52:04] Production.INFO: Date 2025-04-12
[2025-04-12 12:52:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:52:04] Production.INFO: Total Charge 0
[2025-04-12 12:52:04] Production.INFO: CreateAllLog End
[2025-04-12 12:52:04] Production.INFO: ==28353== Releasing lock...
[2025-04-12 12:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 12:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 12:52:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 12:52:04] Production.INFO: count ==12
[2025-04-12 12:52:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 12:52:04] Production.ERROR: done
[2025-04-12 12:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 12:52:04] Production.INFO: count ==23
[2025-04-12 12:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891682') start
[2025-04-12 12:52:04] Production.INFO: Account Balance End.
[2025-04-12 12:52:04] Production.ERROR: CronJobId end 12
[2025-04-12 12:52:04] Production.INFO: ==28357== Releasing lock...
[2025-04-12 12:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 12:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 12:52:04] Production.ERROR: done
[2025-04-12 12:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891682') end
[2025-04-12 12:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 12:52:04] Production.INFO: 1
[2025-04-12 12:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 12:52:04] Production.INFO: ==28361== Releasing lock...
[2025-04-12 12:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 12:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 12:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 09:52:05
[end_date_ymd] => 2025-04-12 12:52:05
[RateCDR] => 1
)
[2025-04-12 12:52:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 09:52:05' and `end` < '2025-04-12 12:52:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 12:52:11] Production.ERROR: CronJobId end10
[2025-04-12 12:52:11] Production.INFO: ==28355== Releasing lock...
[2025-04-12 12:52:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 12:52:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 12:52:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 12:52:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 12:52:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 12:52:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 12:52:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 12:52:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 12:52:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 12:52:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 12:52:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 12:52:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 12:52:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 12:52:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 12:52:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 12:52:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 12:52:14] Production.INFO: call_cost start
[2025-04-12 12:52:14] Production.INFO: call_cost end
[2025-04-12 12:52:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 12:52:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 12:52:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 12:52:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 12:52:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 12:52:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 12:52:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 12:52:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 12:52:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 12:52:15] Production.INFO: ==28351== Releasing lock...
[2025-04-12 12:52:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 12:52:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 12:52:18] Production.INFO: count ==1505
[2025-04-12 12:52:18] Production.ERROR: pbx CDR StartTime 2025-04-12 09:52:05 - End Time 2025-04-12 12:52:05
[2025-04-12 12:52:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 12:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891683', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891683', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891683', 'tblTempVendorCDR_20' ) start
[2025-04-12 12:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891683', 'tblTempVendorCDR_20' ) end
[2025-04-12 12:52:18] Production.INFO: ProcessCDR(1,14891683,1,1,2)
[2025-04-12 12:52:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891683,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:52:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891683,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:52:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891683,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:52:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891683,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:52:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891683', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:52:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891683', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:52:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 12:52:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 12:52:23] Production.INFO: ==28359== Releasing lock...
[2025-04-12 12:52:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 12:52:23] Production.INFO: 39.25 MB #Memory Used#
[2025-04-12 17:53:02] Production.INFO: ==28418== Lock acquired, processing the job...
[2025-04-12 17:53:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 17:53:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 17:53:02] Production.INFO: neon service started
[2025-04-12 17:53:02] Production.INFO: neon service started
[2025-04-12 17:53:02] Production.INFO: ==28418== Releasing lock...
[2025-04-12 17:53:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 17:53:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 12:53:02] Production.INFO: ==28420== Lock acquired, processing the job...
[2025-04-12 12:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 16:53:02] Production.INFO: ==28422== Lock acquired, processing the job...
[2025-04-12 16:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 16:53:02] Production.INFO: ==28422== Releasing lock...
[2025-04-12 16:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 16:53:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 12:53:03] Production.INFO: ==28420== Releasing lock...
[2025-04-12 12:53:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 12:53:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 12:53:03] Production.INFO: ==28431== Lock acquired, processing the job...
[2025-04-12 12:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 12:53:04] Production.INFO: ==28433== Lock acquired, processing the job...
[2025-04-12 12:53:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 12:53:04] Production.INFO: Account Balance Start.
[2025-04-12 12:53:04] Production.INFO: CreateAllLog Start
[2025-04-12 12:53:04] Production.INFO: 117
[2025-04-12 12:53:04] Production.INFO: Date 2025-04-08
[2025-04-12 12:53:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 12:53:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:53:04] Production.INFO: ==28425== Lock acquired, processing the job...
[2025-04-12 12:53:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 12:53:04] Production.INFO: ==28429== Lock acquired, processing the job...
[2025-04-12 12:53:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 12:53:04] Production.INFO: ==28427== Lock acquired, processing the job...
[2025-04-12 12:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 12:53:04] Production.INFO: Date 2025-04-09
[2025-04-12 12:53:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:53:04] Production.INFO: Date 2025-04-10
[2025-04-12 12:53:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:53:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 12:53:04] Production.INFO: Date 2025-04-11
[2025-04-12 12:53:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:53:04] Production.INFO: ==28435== Lock acquired, processing the job...
[2025-04-12 12:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 12:53:04] Production.INFO: Date 2025-04-12
[2025-04-12 12:53:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:53:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 12:53:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 12:53:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 12:53:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 12:53:04] Production.INFO: Total Charge 0
[2025-04-12 12:53:04] Production.INFO: CreateAllLog End
[2025-04-12 12:53:04] Production.ERROR: done
[2025-04-12 12:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 12:53:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 12:53:04] Production.INFO: count ==12
[2025-04-12 12:53:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 12:53:04] Production.INFO: count ==23
[2025-04-12 12:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891687') start
[2025-04-12 12:53:04] Production.INFO: ==28427== Releasing lock...
[2025-04-12 12:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 12:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 12:53:04] Production.ERROR: done
[2025-04-12 12:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891687') end
[2025-04-12 12:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 12:53:04] Production.INFO: 1
[2025-04-12 12:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 12:53:04] Production.INFO: Account Balance End.
[2025-04-12 12:53:04] Production.ERROR: CronJobId end 12
[2025-04-12 12:53:04] Production.INFO: ==28431== Releasing lock...
[2025-04-12 12:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 12:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 12:53:04] Production.INFO: ==28435== Releasing lock...
[2025-04-12 12:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 12:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 12:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 09:53:05
[end_date_ymd] => 2025-04-12 12:53:05
[RateCDR] => 1
)
[2025-04-12 12:53:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 09:53:05' and `end` < '2025-04-12 12:53:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 12:53:12] Production.ERROR: CronJobId end10
[2025-04-12 12:53:12] Production.INFO: ==28429== Releasing lock...
[2025-04-12 12:53:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 12:53:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 12:53:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 12:53:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 12:53:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 12:53:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 12:53:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 12:53:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 12:53:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 12:53:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 12:53:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 12:53:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 12:53:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 12:53:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 12:53:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 12:53:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 12:53:14] Production.INFO: call_cost start
[2025-04-12 12:53:14] Production.INFO: call_cost end
[2025-04-12 12:53:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 12:53:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 12:53:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 12:53:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 12:53:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 12:53:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 12:53:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 12:53:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 12:53:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 12:53:15] Production.INFO: ==28425== Releasing lock...
[2025-04-12 12:53:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 12:53:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 12:53:18] Production.INFO: count ==1499
[2025-04-12 12:53:19] Production.ERROR: pbx CDR StartTime 2025-04-12 09:53:05 - End Time 2025-04-12 12:53:05
[2025-04-12 12:53:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 12:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891688', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891688', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891688', 'tblTempVendorCDR_20' ) start
[2025-04-12 12:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891688', 'tblTempVendorCDR_20' ) end
[2025-04-12 12:53:19] Production.INFO: ProcessCDR(1,14891688,1,1,2)
[2025-04-12 12:53:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891688,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:53:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891688,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:53:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891688,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:53:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891688,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891688', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891688', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:53:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 12:53:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 12:53:22] Production.INFO: ==28433== Releasing lock...
[2025-04-12 12:53:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 12:53:22] Production.INFO: 39.25 MB #Memory Used#
[2025-04-12 17:54:01] Production.INFO: ==28488== Lock acquired, processing the job...
[2025-04-12 17:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 17:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 17:54:01] Production.INFO: neon service started
[2025-04-12 17:54:01] Production.INFO: neon service started
[2025-04-12 17:54:01] Production.INFO: ==28488== Releasing lock...
[2025-04-12 17:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 17:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 12:54:01] Production.INFO: ==28490== Lock acquired, processing the job...
[2025-04-12 12:54:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 12:54:02] Production.INFO: ==28490== Releasing lock...
[2025-04-12 12:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 12:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 16:54:02] Production.INFO: ==28492== Lock acquired, processing the job...
[2025-04-12 16:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 16:54:02] Production.INFO: ==28492== Releasing lock...
[2025-04-12 16:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 16:54:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 12:54:03] Production.INFO: ==28495== Lock acquired, processing the job...
[2025-04-12 12:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 12:54:03] Production.INFO: ==28497== Lock acquired, processing the job...
[2025-04-12 12:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 12:54:03] Production.INFO: ==28503== Lock acquired, processing the job...
[2025-04-12 12:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 12:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 12:54:03] Production.INFO: ==28499== Lock acquired, processing the job...
[2025-04-12 12:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 12:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 12:54:03] Production.INFO: ==28501== Lock acquired, processing the job...
[2025-04-12 12:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 12:54:03] Production.INFO: ==28505== Lock acquired, processing the job...
[2025-04-12 12:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 12:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 12:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 12:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 12:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 12:54:03] Production.INFO: ==28497== Releasing lock...
[2025-04-12 12:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 12:54:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 12:54:03] Production.INFO: Account Balance Start.
[2025-04-12 12:54:03] Production.INFO: CreateAllLog Start
[2025-04-12 12:54:03] Production.INFO: 117
[2025-04-12 12:54:03] Production.INFO: Date 2025-04-08
[2025-04-12 12:54:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 12:54:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:54:03] Production.INFO: count ==12
[2025-04-12 12:54:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 12:54:03] Production.INFO: count ==23
[2025-04-12 12:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891692') start
[2025-04-12 12:54:03] Production.INFO: Date 2025-04-09
[2025-04-12 12:54:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:54:03] Production.INFO: Date 2025-04-10
[2025-04-12 12:54:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:54:03] Production.INFO: Date 2025-04-11
[2025-04-12 12:54:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:54:03] Production.ERROR: done
[2025-04-12 12:54:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 12:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891692') end
[2025-04-12 12:54:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 12:54:03] Production.INFO: 1
[2025-04-12 12:54:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 12:54:03] Production.INFO: ==28505== Releasing lock...
[2025-04-12 12:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 12:54:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 12:54:03] Production.INFO: Date 2025-04-12
[2025-04-12 12:54:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:54:03] Production.INFO: Total Charge 0
[2025-04-12 12:54:03] Production.INFO: CreateAllLog End
[2025-04-12 12:54:04] Production.ERROR: done
[2025-04-12 12:54:04] Production.INFO: Account Balance End.
[2025-04-12 12:54:04] Production.ERROR: CronJobId end 12
[2025-04-12 12:54:04] Production.INFO: ==28501== Releasing lock...
[2025-04-12 12:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 12:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 12:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 09:54:05
[end_date_ymd] => 2025-04-12 12:54:05
[RateCDR] => 1
)
[2025-04-12 12:54:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 09:54:05' and `end` < '2025-04-12 12:54:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 12:54:11] Production.ERROR: CronJobId end10
[2025-04-12 12:54:11] Production.INFO: ==28499== Releasing lock...
[2025-04-12 12:54:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 12:54:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 12:54:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 12:54:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 12:54:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 12:54:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 12:54:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 12:54:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 12:54:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 12:54:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 12:54:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 12:54:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 12:54:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 12:54:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 12:54:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 12:54:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 12:54:14] Production.INFO: call_cost start
[2025-04-12 12:54:14] Production.INFO: call_cost end
[2025-04-12 12:54:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 12:54:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 12:54:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 12:54:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 12:54:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 12:54:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 12:54:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 12:54:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 12:54:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 12:54:15] Production.INFO: ==28495== Releasing lock...
[2025-04-12 12:54:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 12:54:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 12:54:18] Production.INFO: count ==1499
[2025-04-12 12:54:18] Production.ERROR: pbx CDR StartTime 2025-04-12 09:54:05 - End Time 2025-04-12 12:54:05
[2025-04-12 12:54:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 12:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891693', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891693', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891693', 'tblTempVendorCDR_20' ) start
[2025-04-12 12:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891693', 'tblTempVendorCDR_20' ) end
[2025-04-12 12:54:18] Production.INFO: ProcessCDR(1,14891693,1,1,2)
[2025-04-12 12:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891693,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:54:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891693,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:54:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891693,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:54:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891693,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891693', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891693', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:54:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 12:54:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 12:54:21] Production.INFO: ==28503== Releasing lock...
[2025-04-12 12:54:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 12:54:21] Production.INFO: 39.25 MB #Memory Used#
[2025-04-12 17:55:01] Production.INFO: ==28564== Lock acquired, processing the job...
[2025-04-12 17:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 17:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 17:55:01] Production.INFO: neon service started
[2025-04-12 17:55:02] Production.INFO: neon service started
[2025-04-12 17:55:02] Production.INFO: ==28564== Releasing lock...
[2025-04-12 17:55:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 17:55:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 12:55:02] Production.INFO: ==28566== Lock acquired, processing the job...
[2025-04-12 12:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 12:55:02] Production.INFO: ==28566== Releasing lock...
[2025-04-12 12:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 12:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 16:55:02] Production.INFO: ==28568== Lock acquired, processing the job...
[2025-04-12 16:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 16:55:02] Production.INFO: ==28568== Releasing lock...
[2025-04-12 16:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 16:55:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 12:55:03] Production.INFO: ==28570== Lock acquired, processing the job...
[2025-04-12 12:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 12:55:03] Production.INFO: ==28574== Lock acquired, processing the job...
[2025-04-12 12:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 12:55:03] Production.INFO: ==28576== Lock acquired, processing the job...
[2025-04-12 12:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 12:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 12:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 12:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 12:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 12:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 12:55:03] Production.INFO: ==28572== Lock acquired, processing the job...
[2025-04-12 12:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 12:55:03] Production.INFO: Account Balance Start.
[2025-04-12 12:55:03] Production.INFO: CreateAllLog Start
[2025-04-12 12:55:03] Production.INFO: 117
[2025-04-12 12:55:03] Production.INFO: Date 2025-04-08
[2025-04-12 12:55:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:55:03] Production.INFO: ==28580== Lock acquired, processing the job...
[2025-04-12 12:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 12:55:03] Production.INFO: ==28578== Lock acquired, processing the job...
[2025-04-12 12:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 12:55:03] Production.INFO: Date 2025-04-09
[2025-04-12 12:55:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 12:55:03] Production.INFO: Date 2025-04-10
[2025-04-12 12:55:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:55:03] Production.INFO: Date 2025-04-11
[2025-04-12 12:55:03] Production.INFO: Reseller ==> 0
[2025-04-12 12: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-12 12:55:04] Production.INFO: Date 2025-04-12
[2025-04-12 12:55:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:55:04] Production.INFO: count ==12
[2025-04-12 12:55:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 12:55:04] Production.INFO: count ==23
[2025-04-12 12:55:04] Production.INFO: Total Charge 0
[2025-04-12 12:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891697') start
[2025-04-12 12:55:04] Production.INFO: CreateAllLog End
[2025-04-12 12:55:04] Production.INFO: ==28572== Releasing lock...
[2025-04-12 12:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 12:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 12:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891697') end
[2025-04-12 12:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 12:55:04] Production.INFO: 1
[2025-04-12 12:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 12:55:04] Production.INFO: ==28580== Releasing lock...
[2025-04-12 12:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 12:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 12:55:04] Production.ERROR: done
[2025-04-12 12:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 12:55:04] Production.ERROR: done
[2025-04-12 12:55:04] Production.INFO: Account Balance End.
[2025-04-12 12:55:04] Production.ERROR: CronJobId end 12
[2025-04-12 12:55:04] Production.INFO: ==28576== Releasing lock...
[2025-04-12 12:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 12:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 12:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 09:55:05
[end_date_ymd] => 2025-04-12 12:55:05
[RateCDR] => 1
)
[2025-04-12 12:55:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 09:55:05' and `end` < '2025-04-12 12:55:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 12:55:12] Production.ERROR: CronJobId end10
[2025-04-12 12:55:12] Production.INFO: ==28574== Releasing lock...
[2025-04-12 12:55:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 12:55:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 12:55:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 12:55:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 12:55:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 12:55:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 12:55:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 12:55:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 12:55:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 12:55:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 12:55:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 12:55:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 12:55:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 12:55:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 12:55:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 12:55:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 12:55:15] Production.INFO: call_cost start
[2025-04-12 12:55:15] Production.INFO: call_cost end
[2025-04-12 12:55:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 12:55:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 12:55:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 12:55:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 12:55:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 12:55:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 12:55:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 12:55:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 12:55:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 12:55:16] Production.INFO: ==28570== Releasing lock...
[2025-04-12 12:55:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 12:55:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 12:55:18] Production.INFO: count ==1495
[2025-04-12 12:55:19] Production.ERROR: pbx CDR StartTime 2025-04-12 09:55:05 - End Time 2025-04-12 12:55:05
[2025-04-12 12:55:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 12:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891698', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891698', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891698', 'tblTempVendorCDR_20' ) start
[2025-04-12 12:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891698', 'tblTempVendorCDR_20' ) end
[2025-04-12 12:55:19] Production.INFO: ProcessCDR(1,14891698,1,1,2)
[2025-04-12 12:55:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891698,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:55:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891698,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:55:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891698,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:55:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891698,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:55:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891698', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:55:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891698', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:55:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 12:55:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 12:55:23] Production.INFO: ==28578== Releasing lock...
[2025-04-12 12:55:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 12:55:23] Production.INFO: 39 MB #Memory Used#
[2025-04-12 17:56:01] Production.INFO: ==28635== Lock acquired, processing the job...
[2025-04-12 17:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 17:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 17:56:01] Production.INFO: neon service started
[2025-04-12 17:56:01] Production.INFO: neon service started
[2025-04-12 17:56:01] Production.INFO: ==28635== Releasing lock...
[2025-04-12 17:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 17:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 16:56:02] Production.INFO: ==28639== Lock acquired, processing the job...
[2025-04-12 16:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 16:56:02] Production.INFO: ==28639== Releasing lock...
[2025-04-12 16:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 16:56:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 12:56:02] Production.INFO: ==28637== Lock acquired, processing the job...
[2025-04-12 12:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 12:56:02] Production.INFO: ==28637== Releasing lock...
[2025-04-12 12:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 12:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 12:56:03] Production.INFO: ==28642== Lock acquired, processing the job...
[2025-04-12 12:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 12:56:03] Production.INFO: ==28644== Lock acquired, processing the job...
[2025-04-12 12:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 12:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 12:56:03] Production.INFO: ==28648== Lock acquired, processing the job...
[2025-04-12 12:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 12:56:03] Production.INFO: ==28646== Lock acquired, processing the job...
[2025-04-12 12:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 12:56:03] Production.INFO: ==28650== Lock acquired, processing the job...
[2025-04-12 12:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 12:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 12:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 12:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 12:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 12:56:03] Production.INFO: Account Balance Start.
[2025-04-12 12:56:03] Production.INFO: CreateAllLog Start
[2025-04-12 12:56:03] Production.INFO: 117
[2025-04-12 12:56:03] Production.INFO: Date 2025-04-08
[2025-04-12 12:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 12:56:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:56:03] Production.INFO: ==28652== Lock acquired, processing the job...
[2025-04-12 12:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 12:56:03] Production.INFO: Date 2025-04-09
[2025-04-12 12:56:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:56:03] Production.INFO: ==28644== Releasing lock...
[2025-04-12 12:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 12:56:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 12:56:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 12:56:04] Production.INFO: Date 2025-04-10
[2025-04-12 12:56:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:56:04] Production.INFO: count ==12
[2025-04-12 12:56:04] Production.INFO: Date 2025-04-11
[2025-04-12 12:56:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:56:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 12:56:04] Production.ERROR: done
[2025-04-12 12:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 12:56:04] Production.INFO: count ==23
[2025-04-12 12:56:04] Production.INFO: Date 2025-04-12
[2025-04-12 12:56:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891702') start
[2025-04-12 12:56:04] Production.INFO: Total Charge 0
[2025-04-12 12:56:04] Production.INFO: CreateAllLog End
[2025-04-12 12:56:04] Production.ERROR: done
[2025-04-12 12:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891702') end
[2025-04-12 12:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 12:56:04] Production.INFO: 1
[2025-04-12 12:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 12:56:04] Production.INFO: ==28652== Releasing lock...
[2025-04-12 12:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 12:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 12:56:04] Production.INFO: Account Balance End.
[2025-04-12 12:56:04] Production.ERROR: CronJobId end 12
[2025-04-12 12:56:04] Production.INFO: ==28648== Releasing lock...
[2025-04-12 12:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 12:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 12:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 09:56:05
[end_date_ymd] => 2025-04-12 12:56:05
[RateCDR] => 1
)
[2025-04-12 12:56:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 09:56:05' and `end` < '2025-04-12 12:56:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 12:56:11] Production.ERROR: CronJobId end10
[2025-04-12 12:56:11] Production.INFO: ==28646== Releasing lock...
[2025-04-12 12:56:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 12:56:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 12:56:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 12:56:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 12:56:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 12:56:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 12:56:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 12:56:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 12:56:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 12:56:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 12:56:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 12:56:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 12:56:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 12:56:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 12:56:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 12:56:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 12:56:13] Production.INFO: call_cost start
[2025-04-12 12:56:13] Production.INFO: call_cost end
[2025-04-12 12:56:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 12:56:14] Production.INFO: ============== Report Schedule START===========
[2025-04-12 12:56:14] Production.INFO: ============== Report Schedule END===========
[2025-04-12 12:56:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 12:56:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 12:56:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 12:56:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 12:56:14] Production.INFO: ============== Deal alert START===========
[2025-04-12 12:56:14] Production.INFO: ============== Deal alert END===========
[2025-04-12 12:56:14] Production.INFO: ==28642== Releasing lock...
[2025-04-12 12:56:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 12:56:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 12:56:18] Production.INFO: count ==1493
[2025-04-12 12:56:18] Production.ERROR: pbx CDR StartTime 2025-04-12 09:56:05 - End Time 2025-04-12 12:56:05
[2025-04-12 12:56:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 12:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891703', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891703', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891703', 'tblTempVendorCDR_20' ) start
[2025-04-12 12:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891703', 'tblTempVendorCDR_20' ) end
[2025-04-12 12:56:18] Production.INFO: ProcessCDR(1,14891703,1,1,2)
[2025-04-12 12:56:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891703,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:56:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891703,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:56:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891703,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:56:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891703,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891703', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891703', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:56:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 12:56:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 12:56:22] Production.INFO: ==28650== Releasing lock...
[2025-04-12 12:56:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 12:56:22] Production.INFO: 39 MB #Memory Used#
[2025-04-12 17:57:01] Production.INFO: ==28708== Lock acquired, processing the job...
[2025-04-12 17:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 17:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 17:57:01] Production.INFO: neon service started
[2025-04-12 17:57:01] Production.INFO: neon service started
[2025-04-12 17:57:01] Production.INFO: ==28708== Releasing lock...
[2025-04-12 17:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 17:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 12:57:02] Production.INFO: ==28710== Lock acquired, processing the job...
[2025-04-12 12:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 12:57:02] Production.INFO: ==28710== Releasing lock...
[2025-04-12 12:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 12:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 16:57:02] Production.INFO: ==28712== Lock acquired, processing the job...
[2025-04-12 16:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 16:57:02] Production.INFO: ==28712== Releasing lock...
[2025-04-12 16:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 16:57:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 12:57:03] Production.INFO: ==28721== Lock acquired, processing the job...
[2025-04-12 12:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 12:57:03] Production.INFO: ==28723== Lock acquired, processing the job...
[2025-04-12 12:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 12:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 12:57:03] Production.INFO: ==28715== Lock acquired, processing the job...
[2025-04-12 12:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 12:57:03] Production.INFO: ==28717== Lock acquired, processing the job...
[2025-04-12 12:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 12:57:03] Production.INFO: ==28719== Lock acquired, processing the job...
[2025-04-12 12:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 12:57:03] Production.INFO: Account Balance Start.
[2025-04-12 12:57:03] Production.INFO: CreateAllLog Start
[2025-04-12 12:57:03] Production.INFO: 117
[2025-04-12 12:57:03] Production.INFO: ==28725== Lock acquired, processing the job...
[2025-04-12 12:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 12:57:03] Production.INFO: Date 2025-04-08
[2025-04-12 12:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 12:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 12:57:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 12:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 12:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 12:57:03] Production.INFO: Date 2025-04-09
[2025-04-12 12:57:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:57:03] Production.INFO: Date 2025-04-10
[2025-04-12 12:57:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:57:03] Production.INFO: Date 2025-04-11
[2025-04-12 12:57:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:57:04] Production.INFO: Date 2025-04-12
[2025-04-12 12:57:04] Production.INFO: Reseller ==> 0
[2025-04-12 12:57:04] Production.ERROR: done
[2025-04-12 12:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 12:57:04] Production.INFO: Total Charge 0
[2025-04-12 12:57:04] Production.INFO: ==28717== Releasing lock...
[2025-04-12 12:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 12:57:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 12:57:04] Production.INFO: CreateAllLog End
[2025-04-12 12:57:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 12:57:04] Production.INFO: count ==12
[2025-04-12 12:57:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 12:57:04] Production.INFO: count ==23
[2025-04-12 12:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891707') start
[2025-04-12 12:57:04] Production.ERROR: done
[2025-04-12 12:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891707') end
[2025-04-12 12:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 12:57:04] Production.INFO: 1
[2025-04-12 12:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 12:57:04] Production.INFO: Account Balance End.
[2025-04-12 12:57:04] Production.INFO: ==28725== Releasing lock...
[2025-04-12 12:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 12:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 12:57:04] Production.ERROR: CronJobId end 12
[2025-04-12 12:57:04] Production.INFO: ==28721== Releasing lock...
[2025-04-12 12:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 12:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 12:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 09:57:05
[end_date_ymd] => 2025-04-12 12:57:05
[RateCDR] => 1
)
[2025-04-12 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-12 09:57:05' and `end` < '2025-04-12 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-12 12:57:12] Production.ERROR: CronJobId end10
[2025-04-12 12:57:12] Production.INFO: ==28719== Releasing lock...
[2025-04-12 12:57:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 12:57:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 12:57:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 12:57:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 12:57:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 12:57:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 12:57:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 12:57:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 12:57:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 12:57:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 12:57:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 12:57:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 12:57:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 12:57:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 12:57:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 12:57:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 12:57:15] Production.INFO: call_cost start
[2025-04-12 12:57:15] Production.INFO: call_cost end
[2025-04-12 12:57:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 12:57:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 12:57:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 12:57:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 12:57:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 12:57:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 12:57:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 12:57:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 12:57:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 12:57:16] Production.INFO: ==28715== Releasing lock...
[2025-04-12 12:57:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 12:57:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 12:57:18] Production.INFO: count ==1492
[2025-04-12 12:57:18] Production.ERROR: pbx CDR StartTime 2025-04-12 09:57:05 - End Time 2025-04-12 12:57:05
[2025-04-12 12:57:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 12:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891708', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891708', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891708', 'tblTempVendorCDR_20' ) start
[2025-04-12 12:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891708', 'tblTempVendorCDR_20' ) end
[2025-04-12 12:57:18] Production.INFO: ProcessCDR(1,14891708,1,1,2)
[2025-04-12 12:57:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891708,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:57:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891708,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:57:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891708,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:57:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891708,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891708', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891708', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:57:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 12:57:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 12:57:22] Production.INFO: ==28723== Releasing lock...
[2025-04-12 12:57:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 12:57:22] Production.INFO: 39.25 MB #Memory Used#
[2025-04-12 17:58:01] Production.INFO: ==28784== Lock acquired, processing the job...
[2025-04-12 17:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 17:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 17:58:01] Production.INFO: neon service started
[2025-04-12 17:58:01] Production.INFO: neon service started
[2025-04-12 17:58:01] Production.INFO: ==28784== Releasing lock...
[2025-04-12 17:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 17:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 16:58:01] Production.INFO: ==28788== Lock acquired, processing the job...
[2025-04-12 16:58:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 16:58:01] Production.INFO: ==28788== Releasing lock...
[2025-04-12 16:58:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 16:58:01] Production.INFO: 25 MB #Memory Used#
[2025-04-12 12:58:01] Production.INFO: ==28786== Lock acquired, processing the job...
[2025-04-12 12:58:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 12:58:02] Production.INFO: ==28786== Releasing lock...
[2025-04-12 12:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 12:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 12:58:03] Production.INFO: ==28791== Lock acquired, processing the job...
[2025-04-12 12:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 12:58:03] Production.INFO: ==28793== Lock acquired, processing the job...
[2025-04-12 12:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 12:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 12:58:03] Production.INFO: ==28799== Lock acquired, processing the job...
[2025-04-12 12:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 12:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 12:58:03] Production.INFO: ==28795== Lock acquired, processing the job...
[2025-04-12 12:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 12:58:03] Production.INFO: ==28797== Lock acquired, processing the job...
[2025-04-12 12:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 12:58:03] Production.INFO: ==28793== Releasing lock...
[2025-04-12 12:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 12:58:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 12:58:03] Production.INFO: ==28801== Lock acquired, processing the job...
[2025-04-12 12:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 12:58:03] Production.INFO: Account Balance Start.
[2025-04-12 12:58:03] Production.INFO: CreateAllLog Start
[2025-04-12 12:58:03] Production.INFO: 117
[2025-04-12 12:58:03] Production.INFO: Date 2025-04-08
[2025-04-12 12:58:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:58:03] Production.INFO: Date 2025-04-09
[2025-04-12 12:58:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 12:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 12:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 12:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 12:58:03] Production.INFO: Date 2025-04-10
[2025-04-12 12:58:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:58:03] Production.INFO: Date 2025-04-11
[2025-04-12 12:58:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:58:03] Production.ERROR: done
[2025-04-12 12:58:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 12:58:03] Production.INFO: Date 2025-04-12
[2025-04-12 12:58:03] Production.INFO: Reseller ==> 0
[2025-04-12 12: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-12 12:58:03] Production.INFO: count ==12
[2025-04-12 12: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-12 12:58:03] Production.INFO: count ==23
[2025-04-12 12:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891712') start
[2025-04-12 12:58:03] Production.INFO: Total Charge 0
[2025-04-12 12:58:03] Production.INFO: CreateAllLog End
[2025-04-12 12:58:03] Production.ERROR: done
[2025-04-12 12:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891712') end
[2025-04-12 12:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 12:58:04] Production.INFO: 1
[2025-04-12 12:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 12:58:04] Production.INFO: Account Balance End.
[2025-04-12 12:58:04] Production.ERROR: CronJobId end 12
[2025-04-12 12:58:04] Production.INFO: ==28797== Releasing lock...
[2025-04-12 12:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 12:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 12:58:04] Production.INFO: ==28801== Releasing lock...
[2025-04-12 12:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 12:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 12:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 09:58:05
[end_date_ymd] => 2025-04-12 12:58:05
[RateCDR] => 1
)
[2025-04-12 12:58:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 09:58:05' and `end` < '2025-04-12 12:58:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 12:58:12] Production.ERROR: CronJobId end10
[2025-04-12 12:58:12] Production.INFO: ==28795== Releasing lock...
[2025-04-12 12:58:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 12:58:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 12:58:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 12:58:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 12:58:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 12:58:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 12:58:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 12:58:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 12:58:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 12:58:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 12:58:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 12:58:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 12:58:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 12:58:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 12:58:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 12:58:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 12:58:15] Production.INFO: call_cost start
[2025-04-12 12:58:15] Production.INFO: call_cost end
[2025-04-12 12:58:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 12:58:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 12:58:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 12:58:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 12:58:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 12:58:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 12:58:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 12:58:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 12:58:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 12:58:16] Production.INFO: ==28791== Releasing lock...
[2025-04-12 12:58:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 12:58:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 12:58:18] Production.INFO: count ==1489
[2025-04-12 12:58:18] Production.ERROR: pbx CDR StartTime 2025-04-12 09:58:05 - End Time 2025-04-12 12:58:05
[2025-04-12 12:58:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 12:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891713', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891713', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891713', 'tblTempVendorCDR_20' ) start
[2025-04-12 12:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891713', 'tblTempVendorCDR_20' ) end
[2025-04-12 12:58:18] Production.INFO: ProcessCDR(1,14891713,1,1,2)
[2025-04-12 12:58:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891713,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:58:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891713,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:58:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891713,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:58:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891713,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891713', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891713', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:58:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 12:58:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 12:58:22] Production.INFO: ==28799== Releasing lock...
[2025-04-12 12:58:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 12:58:22] Production.INFO: 39 MB #Memory Used#
[2025-04-12 17:59:01] Production.INFO: ==28856== Lock acquired, processing the job...
[2025-04-12 17:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 17:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 17:59:01] Production.INFO: neon service started
[2025-04-12 17:59:01] Production.INFO: neon service started
[2025-04-12 17:59:01] Production.INFO: ==28856== Releasing lock...
[2025-04-12 17:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 17:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 12:59:02] Production.INFO: ==28858== Lock acquired, processing the job...
[2025-04-12 12:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 16:59:02] Production.INFO: ==28860== Lock acquired, processing the job...
[2025-04-12 16:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 16:59:02] Production.INFO: ==28860== Releasing lock...
[2025-04-12 16:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 16:59:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 12:59:02] Production.INFO: ==28858== Releasing lock...
[2025-04-12 12:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 12:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 12:59:03] Production.INFO: ==28862== Lock acquired, processing the job...
[2025-04-12 12:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 12:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 12:59:03] Production.INFO: ==28864== Lock acquired, processing the job...
[2025-04-12 12:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 12:59:03] Production.INFO: ==28870== Lock acquired, processing the job...
[2025-04-12 12:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 12:59:03] Production.INFO: ==28868== Lock acquired, processing the job...
[2025-04-12 12:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 12:59:03] Production.INFO: ==28866== Lock acquired, processing the job...
[2025-04-12 12:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 12:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 12:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 12:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 12:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 12:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 12:59:03] Production.INFO: ==28873== Lock acquired, processing the job...
[2025-04-12 12:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 12:59:03] Production.INFO: Account Balance Start.
[2025-04-12 12:59:03] Production.INFO: CreateAllLog Start
[2025-04-12 12:59:03] Production.INFO: 117
[2025-04-12 12:59:03] Production.INFO: Date 2025-04-08
[2025-04-12 12:59:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:59:03] Production.INFO: Date 2025-04-09
[2025-04-12 12:59:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:59:03] Production.INFO: Date 2025-04-10
[2025-04-12 12:59:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:59:03] Production.INFO: Date 2025-04-11
[2025-04-12 12:59:03] Production.INFO: Reseller ==> 0
[2025-04-12 12:59:03] Production.INFO: Date 2025-04-12
[2025-04-12 12:59:03] Production.INFO: Reseller ==> 0
[2025-04-12 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-12 12:59:03] Production.INFO: Total Charge 0
[2025-04-12 12:59:03] Production.INFO: count ==12
[2025-04-12 12:59:03] Production.INFO: CreateAllLog End
[2025-04-12 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-12 12:59:03] Production.INFO: count ==23
[2025-04-12 12:59:03] Production.INFO: ==28864== Releasing lock...
[2025-04-12 12:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 12:59:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 12:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891717') start
[2025-04-12 12:59:04] Production.ERROR: done
[2025-04-12 12:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 12:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891717') end
[2025-04-12 12:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 12:59:04] Production.INFO: 1
[2025-04-12 12:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 12:59:04] Production.ERROR: done
[2025-04-12 12:59:04] Production.INFO: ==28873== Releasing lock...
[2025-04-12 12:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 12:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 12:59:04] Production.INFO: Account Balance End.
[2025-04-12 12:59:04] Production.ERROR: CronJobId end 12
[2025-04-12 12:59:04] Production.INFO: ==28868== Releasing lock...
[2025-04-12 12:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 12:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 12:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 09:59:05
[end_date_ymd] => 2025-04-12 12:59:05
[RateCDR] => 1
)
[2025-04-12 12:59:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 09:59:05' and `end` < '2025-04-12 12:59:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 12:59:11] Production.ERROR: CronJobId end10
[2025-04-12 12:59:11] Production.INFO: ==28866== Releasing lock...
[2025-04-12 12:59:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 12:59:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 12:59:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 12:59:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 12:59:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 12:59:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 12:59:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 12:59:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 12:59:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 12:59:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 12:59:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 12:59:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 12:59:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 12:59:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 12:59:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 12:59:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 12:59:13] Production.INFO: call_cost start
[2025-04-12 12:59:13] Production.INFO: call_cost end
[2025-04-12 12:59:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 12:59:14] Production.INFO: ============== Report Schedule START===========
[2025-04-12 12:59:14] Production.INFO: ============== Report Schedule END===========
[2025-04-12 12:59:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 12:59:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 12:59:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 12:59:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 12:59:14] Production.INFO: ============== Deal alert START===========
[2025-04-12 12:59:14] Production.INFO: ============== Deal alert END===========
[2025-04-12 12:59:14] Production.INFO: ==28862== Releasing lock...
[2025-04-12 12:59:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 12:59:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 12:59:18] Production.INFO: count ==1512
[2025-04-12 12:59:18] Production.ERROR: pbx CDR StartTime 2025-04-12 09:59:05 - End Time 2025-04-12 12:59:05
[2025-04-12 12:59:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 12:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891718', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891718', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891718', 'tblTempVendorCDR_20' ) start
[2025-04-12 12:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891718', 'tblTempVendorCDR_20' ) end
[2025-04-12 12:59:18] Production.INFO: ProcessCDR(1,14891718,1,1,2)
[2025-04-12 12:59:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891718,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:59:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891718,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 12:59:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891718,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:59:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891718,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 12:59:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891718', 'tblTempUsageDetail_20' ) start
[2025-04-12 12:59:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891718', 'tblTempUsageDetail_20' ) end
[2025-04-12 12:59:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 12:59:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 12:59:23] Production.INFO: ==28870== Releasing lock...
[2025-04-12 12:59:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 12:59:23] Production.INFO: 39.5 MB #Memory Used#
[2025-04-12 18:00:02] Production.INFO: ==28930== Lock acquired, processing the job...
[2025-04-12 18:00:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 18:00:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 18:00:02] Production.INFO: neon service started
[2025-04-12 18:00:02] Production.INFO: neon service started
[2025-04-12 18:00:02] Production.INFO: ==28930== Releasing lock...
[2025-04-12 18:00:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 18:00:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 13:00:03] Production.INFO: ==28932== Lock acquired, processing the job...
[2025-04-12 13:00:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 17:00:03] Production.INFO: ==28934== Lock acquired, processing the job...
[2025-04-12 17:00:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 17:00:03] Production.INFO: ==28934== Releasing lock...
[2025-04-12 17:00:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 17:00:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 13:00:03] Production.INFO: ==28932== Releasing lock...
[2025-04-12 13:00:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 13:00:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 13:00:04] Production.INFO: ==28941== Lock acquired, processing the job...
[2025-04-12 13:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 13:00:04] Production.INFO: ==28945== Lock acquired, processing the job...
[2025-04-12 13:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 13:00:04] Production.INFO: ==28949== Lock acquired, processing the job...
[2025-04-12 13:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 13:00:04] Production.INFO: ==28937== Lock acquired, processing the job...
[2025-04-12 13:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 13:00:04] Production.INFO: ==28939== Lock acquired, processing the job...
[2025-04-12 13:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 13:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 13:00:04] Production.INFO: Account Balance Start.
[2025-04-12 13:00:04] Production.INFO: CreateAllLog Start
[2025-04-12 13:00:04] Production.INFO: 117
[2025-04-12 13:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 13:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 13:00:04] Production.ERROR: CronJob PID - 28939
[2025-04-12 13:00:04] Production.ERROR: CronJob Title - System Alerts
[2025-04-12 13:00:04] Production.ERROR: CronJob ID - 5
[2025-04-12 13:00:04] Production.ERROR: CronJob Last Run Time 2025-04-12 13:00:00
[2025-04-12 13:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 13:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 13:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 13:00:04] Production.ERROR: CronJob PID - 28941
[2025-04-12 13:00:04] Production.ERROR: CronJob Title - Account Block
[2025-04-12 13:00:04] Production.ERROR: CronJob ID - 7
[2025-04-12 13:00:04] Production.ERROR: CronJob Last Run Time 2025-04-12 13:00:00
[2025-04-12 13:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 13:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 13:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 13:00:04] Production.ERROR: CronJob PID - 28945
[2025-04-12 13:00:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-04-12 13:00:04] Production.ERROR: CronJob ID - 12
[2025-04-12 13:00:04] Production.ERROR: CronJob Last Run Time 2025-04-12 13:00:00
[2025-04-12 13:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 13:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 13:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 13:00:04] Production.ERROR: CronJob PID - 28949
[2025-04-12 13:00:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-04-12 13:00:04] Production.ERROR: CronJob ID - 17
[2025-04-12 13:00:04] Production.ERROR: CronJob Last Run Time 2025-04-12 13:00:00
[2025-04-12 13:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 13:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 13:00:04] Production.INFO: Date 2025-04-08
[2025-04-12 13:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 13:00:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 13:00:04] Production.INFO: ==28937== Releasing lock...
[2025-04-12 13:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 13:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 13:00:04] Production.INFO: ==28943== Lock acquired, processing the job...
[2025-04-12 13:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 13:00:04] Production.INFO: Date 2025-04-09
[2025-04-12 13:00:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:00:04] Production.INFO: ==28947== Lock acquired, processing the job...
[2025-04-12 13:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 13:00:04] Production.INFO: ==28941== Releasing lock...
[2025-04-12 13:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 13:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 13:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 13:00:05] Production.INFO: ==28951== Lock acquired, processing the job...
[2025-04-12 13:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 13:00:05] Production.INFO: Date 2025-04-10
[2025-04-12 13:00:05] Production.INFO: Reseller ==> 0
[2025-04-12 13:00:05] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 13:00:05] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 13:00:05] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 13:00:05] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 13:00:05] Production.ERROR: done
[2025-04-12 13:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 13:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14891722', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 13:00:05] Production.INFO: Date 2025-04-11
[2025-04-12 13:00:05] Production.INFO: Reseller ==> 0
[2025-04-12 13:00:05] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 13:00:05] Production.INFO: count ==12
[2025-04-12 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-12 13:00:05] Production.INFO: count ==23
[2025-04-12 13:00:05] Production.ERROR: done
[2025-04-12 13:00:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 13:00:05] Production.INFO: Date 2025-04-12
[2025-04-12 13:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14891723') start
[2025-04-12 13:00:05] Production.INFO: Reseller ==> 0
[2025-04-12 13:00:05] Production.INFO: Total Charge 0
[2025-04-12 13:00:05] Production.INFO: CreateAllLog End
[2025-04-12 13:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14891723') end
[2025-04-12 13:00:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 13:00:05] Production.INFO: 1
[2025-04-12 13:00:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 13:00:05] Production.INFO: ==28951== Releasing lock...
[2025-04-12 13:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 13:00:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 13:00:05] Production.ERROR: done
[2025-04-12 13:00:05] Production.INFO: Account Balance End.
[2025-04-12 13:00:05] Production.ERROR: CronJobId end 12
[2025-04-12 13:00:05] Production.INFO: ==28945== Releasing lock...
[2025-04-12 13:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 13:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 13:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 10:00:06
[end_date_ymd] => 2025-04-12 13:00:06
[RateCDR] => 1
)
[2025-04-12 13:00:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 10:00:06' and `end` < '2025-04-12 13:00:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 13:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14891722', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 13:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 13:00:09] Production.INFO: ProcessCDR(1,14891722,1,1,2)
[2025-04-12 13:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14891722,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14891722,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 13:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 13:00:09] Production.INFO: ==28949== Releasing lock...
[2025-04-12 13:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 13:00:09] Production.INFO: 26 MB #Memory Used#
[2025-04-12 13:00:14] Production.ERROR: CronJobId end10
[2025-04-12 13:00:14] Production.INFO: ==28943== Releasing lock...
[2025-04-12 13:00:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 13:00:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 13:00:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 13:00:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 13:00:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 13:00:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 13:00:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 13:00:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 13:00:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 13:00:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 13:00:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 13:00:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 13:00:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 13:00:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 13:00:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 13:00:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 13:00:15] Production.INFO: call_cost start
[2025-04-12 13:00:15] Production.INFO: call_cost end
[2025-04-12 13:00:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 13:00:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 13:00:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 13:00:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 13:00:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 13:00:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 13:00:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 13:00:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 13:00:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 13:00:16] Production.INFO: ==28939== Releasing lock...
[2025-04-12 13:00:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 13:00:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 13:00:19] Production.INFO: count ==1510
[2025-04-12 13:00:19] Production.ERROR: pbx CDR StartTime 2025-04-12 10:00:06 - End Time 2025-04-12 13:00:06
[2025-04-12 13:00:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 13:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891724', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891724', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891724', 'tblTempVendorCDR_20' ) start
[2025-04-12 13:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891724', 'tblTempVendorCDR_20' ) end
[2025-04-12 13:00:19] Production.INFO: ProcessCDR(1,14891724,1,1,2)
[2025-04-12 13:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891724,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:00:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891724,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:00:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891724,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:00:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891724,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891724', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891724', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:00:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 13:00:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 13:00:23] Production.INFO: ==28947== Releasing lock...
[2025-04-12 13:00:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 13:00:23] Production.INFO: 39 MB #Memory Used#
[2025-04-12 18:01:01] Production.INFO: ==29045== Lock acquired, processing the job...
[2025-04-12 18:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 18:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 18:01:01] Production.INFO: neon service started
[2025-04-12 18:01:01] Production.INFO: neon service started
[2025-04-12 18:01:01] Production.INFO: ==29045== Releasing lock...
[2025-04-12 18:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 18:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 13:01:02] Production.INFO: ==29057== Lock acquired, processing the job...
[2025-04-12 13:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 17:01:02] Production.INFO: ==29059== Lock acquired, processing the job...
[2025-04-12 17:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 13:01:02] Production.INFO: ==29057== Releasing lock...
[2025-04-12 13:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 13:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 17:01:02] Production.INFO: ==29059== Releasing lock...
[2025-04-12 17:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 17:01:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 13:01:03] Production.INFO: ==29067== Lock acquired, processing the job...
[2025-04-12 13:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 13:01:03] Production.INFO: ==29069== Lock acquired, processing the job...
[2025-04-12 13:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 13:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 13:01:03] Production.INFO: Account Balance Start.
[2025-04-12 13:01:03] Production.INFO: CreateAllLog Start
[2025-04-12 13:01:03] Production.INFO: 117
[2025-04-12 13:01:03] Production.INFO: Date 2025-04-08
[2025-04-12 13:01:03] Production.INFO: ==29061== Lock acquired, processing the job...
[2025-04-12 13:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 13:01:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:01:03] Production.INFO: ==29063== Lock acquired, processing the job...
[2025-04-12 13:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 13:01:03] Production.INFO: Date 2025-04-09
[2025-04-12 13:01:03] Production.INFO: ==29065== Lock acquired, processing the job...
[2025-04-12 13:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 13:01:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:01:03] Production.INFO: ==29071== Lock acquired, processing the job...
[2025-04-12 13:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 13:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 13:01:03] Production.INFO: Date 2025-04-10
[2025-04-12 13:01:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 13:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 13:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 13:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 13: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-12 13:01:03] Production.INFO: Date 2025-04-11
[2025-04-12 13:01:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:01:03] Production.INFO: count ==12
[2025-04-12 13: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-12 13:01:03] Production.INFO: count ==23
[2025-04-12 13:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891727') start
[2025-04-12 13:01:03] Production.INFO: Date 2025-04-12
[2025-04-12 13:01:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:01:03] Production.ERROR: done
[2025-04-12 13:01:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 13:01:04] Production.INFO: Total Charge 0
[2025-04-12 13:01:04] Production.INFO: CreateAllLog End
[2025-04-12 13:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891727') end
[2025-04-12 13:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 13:01:04] Production.INFO: 1
[2025-04-12 13:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 13:01:04] Production.INFO: ==29063== Releasing lock...
[2025-04-12 13:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 13:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 13:01:04] Production.INFO: ==29071== Releasing lock...
[2025-04-12 13:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 13:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 13:01:04] Production.ERROR: done
[2025-04-12 13:01:04] Production.INFO: Account Balance End.
[2025-04-12 13:01:04] Production.ERROR: CronJobId end 12
[2025-04-12 13:01:04] Production.INFO: ==29067== Releasing lock...
[2025-04-12 13:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 13:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 13:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 10:01:05
[end_date_ymd] => 2025-04-12 13:01:05
[RateCDR] => 1
)
[2025-04-12 13:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 10:01:05' and `end` < '2025-04-12 13:01:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 13:01:12] Production.ERROR: CronJobId end10
[2025-04-12 13:01:12] Production.INFO: ==29065== Releasing lock...
[2025-04-12 13:01:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 13:01:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 13:01:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 13:01:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 13:01:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 13:01:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 13:01:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 13:01:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 13:01:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 13:01:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 13:01:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 13:01:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 13:01:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 13:01:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 13:01:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 13:01:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 13:01:15] Production.INFO: call_cost start
[2025-04-12 13:01:15] Production.INFO: call_cost end
[2025-04-12 13:01:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 13:01:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 13:01:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 13:01:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 13:01:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 13:01:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 13:01:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 13:01:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 13:01:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 13:01:16] Production.INFO: ==29061== Releasing lock...
[2025-04-12 13:01:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 13:01:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 13:01:18] Production.INFO: count ==1538
[2025-04-12 13:01:18] Production.ERROR: pbx CDR StartTime 2025-04-12 10:01:05 - End Time 2025-04-12 13:01:05
[2025-04-12 13:01:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 13:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891729', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891729', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891729', 'tblTempVendorCDR_20' ) start
[2025-04-12 13:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891729', 'tblTempVendorCDR_20' ) end
[2025-04-12 13:01:18] Production.INFO: ProcessCDR(1,14891729,1,1,2)
[2025-04-12 13:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891729,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:01:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891729,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:01:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891729,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:01:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891729,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:01:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891729', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:01:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891729', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:01:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 13:01:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 13:01:24] Production.INFO: ==29069== Releasing lock...
[2025-04-12 13:01:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 13:01:24] Production.INFO: 39.25 MB #Memory Used#
[2025-04-12 18:02:02] Production.INFO: ==29125== Lock acquired, processing the job...
[2025-04-12 18:02:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 18:02:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 18:02:02] Production.INFO: neon service started
[2025-04-12 18:02:02] Production.INFO: neon service started
[2025-04-12 18:02:02] Production.INFO: ==29125== Releasing lock...
[2025-04-12 18:02:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 18:02:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 13:02:02] Production.INFO: ==29128== Lock acquired, processing the job...
[2025-04-12 13:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 17:02:03] Production.INFO: ==29130== Lock acquired, processing the job...
[2025-04-12 17:02:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 17:02:03] Production.INFO: ==29130== Releasing lock...
[2025-04-12 17:02:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 17:02:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 13:02:03] Production.INFO: ==29128== Releasing lock...
[2025-04-12 13:02:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 13:02:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 13:02:03] Production.INFO: ==29132== Lock acquired, processing the job...
[2025-04-12 13:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 13:02:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 13:02:04] Production.INFO: ==29136== Lock acquired, processing the job...
[2025-04-12 13:02:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 13:02:04] Production.INFO: ==29142== Lock acquired, processing the job...
[2025-04-12 13:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 13:02:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 13:02:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 13:02:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 13:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 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-12 13:02:04] Production.INFO: count ==12
[2025-04-12 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-12 13:02:04] Production.INFO: count ==23
[2025-04-12 13:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891731') start
[2025-04-12 13:02:04] Production.INFO: ==29134== Lock acquired, processing the job...
[2025-04-12 13:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 13:02:04] Production.INFO: ==29140== Lock acquired, processing the job...
[2025-04-12 13:02:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 13:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891731') end
[2025-04-12 13:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 13:02:04] Production.INFO: 1
[2025-04-12 13:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 13:02:04] Production.INFO: ==29138== Lock acquired, processing the job...
[2025-04-12 13:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 13:02:04] Production.INFO: ==29142== Releasing lock...
[2025-04-12 13:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 13:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 13:02:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 13:02:04] Production.INFO: Account Balance Start.
[2025-04-12 13:02:04] Production.INFO: CreateAllLog Start
[2025-04-12 13:02:04] Production.INFO: 117
[2025-04-12 13:02:04] Production.INFO: Date 2025-04-08
[2025-04-12 13:02:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:02:05] Production.INFO: Date 2025-04-09
[2025-04-12 13:02:05] Production.INFO: Reseller ==> 0
[2025-04-12 13:02:05] Production.INFO: ==29134== Releasing lock...
[2025-04-12 13:02:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 13:02:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 13:02:05] Production.ERROR: done
[2025-04-12 13:02:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 13:02:05] Production.INFO: Date 2025-04-10
[2025-04-12 13:02:05] Production.INFO: Reseller ==> 0
[2025-04-12 13:02:05] Production.INFO: Date 2025-04-11
[2025-04-12 13:02:05] Production.INFO: Reseller ==> 0
[2025-04-12 13:02:05] Production.INFO: Date 2025-04-12
[2025-04-12 13:02:05] Production.INFO: Reseller ==> 0
[2025-04-12 13:02:05] Production.INFO: Total Charge 0
[2025-04-12 13:02:05] Production.INFO: CreateAllLog End
[2025-04-12 13:02:05] Production.ERROR: done
[2025-04-12 13:02:05] Production.INFO: Account Balance End.
[2025-04-12 13:02:05] Production.ERROR: CronJobId end 12
[2025-04-12 13:02:05] Production.INFO: ==29138== Releasing lock...
[2025-04-12 13:02:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 13:02:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 13:02:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 10:02:06
[end_date_ymd] => 2025-04-12 13:02:06
[RateCDR] => 1
)
[2025-04-12 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-12 10:02:06' and `end` < '2025-04-12 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-12 13:02:13] Production.ERROR: CronJobId end10
[2025-04-12 13:02:13] Production.INFO: ==29136== Releasing lock...
[2025-04-12 13:02:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 13:02:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 13:02:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 13:02:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 13:02:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 13:02:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 13:02:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 13:02:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 13:02:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 13:02:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 13:02:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 13:02:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 13:02:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 13:02:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 13:02:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 13:02:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 13:02:15] Production.INFO: call_cost start
[2025-04-12 13:02:15] Production.INFO: call_cost end
[2025-04-12 13:02:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 13:02:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 13:02:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 13:02:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 13:02:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 13:02:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 13:02:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 13:02:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 13:02:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 13:02:16] Production.INFO: ==29132== Releasing lock...
[2025-04-12 13:02:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 13:02:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 13:02:19] Production.INFO: count ==1537
[2025-04-12 13:02:19] Production.ERROR: pbx CDR StartTime 2025-04-12 10:02:06 - End Time 2025-04-12 13:02:06
[2025-04-12 13:02:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 13:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891734', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891734', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891734', 'tblTempVendorCDR_20' ) start
[2025-04-12 13:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891734', 'tblTempVendorCDR_20' ) end
[2025-04-12 13:02:19] Production.INFO: ProcessCDR(1,14891734,1,1,2)
[2025-04-12 13:02:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891734,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:02:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891734,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:02:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891734,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:02:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891734,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:02:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891734', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:02:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891734', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:02:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 13:02:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 13:02:23] Production.INFO: ==29140== Releasing lock...
[2025-04-12 13:02:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 13:02:23] Production.INFO: 39.5 MB #Memory Used#
[2025-04-12 18:03:01] Production.INFO: ==29205== Lock acquired, processing the job...
[2025-04-12 18:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 18:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 18:03:01] Production.INFO: neon service started
[2025-04-12 18:03:01] Production.INFO: neon service started
[2025-04-12 18:03:01] Production.INFO: ==29205== Releasing lock...
[2025-04-12 18:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 18:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 13:03:02] Production.INFO: ==29207== Lock acquired, processing the job...
[2025-04-12 13:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 13:03:02] Production.INFO: ==29207== Releasing lock...
[2025-04-12 13:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 13:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 17:03:02] Production.INFO: ==29210== Lock acquired, processing the job...
[2025-04-12 17:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 17:03:02] Production.INFO: ==29210== Releasing lock...
[2025-04-12 17:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 17:03:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 13:03:03] Production.INFO: ==29212== Lock acquired, processing the job...
[2025-04-12 13:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 13:03:03] Production.INFO: ==29216== Lock acquired, processing the job...
[2025-04-12 13:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 13:03:03] Production.INFO: ==29218== Lock acquired, processing the job...
[2025-04-12 13:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 13:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 13:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 13:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 13:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 13:03:03] Production.INFO: Account Balance Start.
[2025-04-12 13:03:03] Production.INFO: CreateAllLog Start
[2025-04-12 13:03:03] Production.INFO: 117
[2025-04-12 13:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 13:03:03] Production.INFO: Date 2025-04-08
[2025-04-12 13:03:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:03:03] Production.INFO: Date 2025-04-09
[2025-04-12 13:03:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:03:03] Production.INFO: ==29214== Lock acquired, processing the job...
[2025-04-12 13:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 13:03:03] Production.INFO: Date 2025-04-10
[2025-04-12 13:03:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:03:03] Production.INFO: Date 2025-04-11
[2025-04-12 13:03:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:03:03] Production.INFO: Date 2025-04-12
[2025-04-12 13:03:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:03:03] Production.INFO: ==29222== Lock acquired, processing the job...
[2025-04-12 13:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 13:03:03] Production.INFO: Total Charge 0
[2025-04-12 13:03:03] Production.INFO: ==29220== Lock acquired, processing the job...
[2025-04-12 13:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 13:03:03] Production.INFO: CreateAllLog End
[2025-04-12 13:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 13: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-12 13:03:03] Production.INFO: count ==12
[2025-04-12 13: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-12 13:03:03] Production.INFO: count ==23
[2025-04-12 13:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891738') start
[2025-04-12 13:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891738') end
[2025-04-12 13:03:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 13:03:03] Production.INFO: 1
[2025-04-12 13:03:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 13:03:03] Production.INFO: ==29214== Releasing lock...
[2025-04-12 13:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 13:03:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 13:03:03] Production.INFO: Account Balance End.
[2025-04-12 13:03:03] Production.INFO: ==29222== Releasing lock...
[2025-04-12 13:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 13:03:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 13:03:03] Production.ERROR: CronJobId end 12
[2025-04-12 13:03:03] Production.INFO: ==29218== Releasing lock...
[2025-04-12 13:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 13:03:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 13:03:04] Production.ERROR: done
[2025-04-12 13:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 13:03:04] Production.ERROR: done
[2025-04-12 13:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 10:03:05
[end_date_ymd] => 2025-04-12 13:03:05
[RateCDR] => 1
)
[2025-04-12 13:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 10:03:05' and `end` < '2025-04-12 13:03:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 13:03:11] Production.ERROR: CronJobId end10
[2025-04-12 13:03:11] Production.INFO: ==29216== Releasing lock...
[2025-04-12 13:03:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 13:03:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 13:03:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 13:03:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 13:03:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 13:03:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 13:03:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 13:03:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 13:03:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 13:03:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 13:03:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 13:03:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 13:03:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 13:03:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 13:03:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 13:03:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 13:03:14] Production.INFO: call_cost start
[2025-04-12 13:03:14] Production.INFO: call_cost end
[2025-04-12 13:03:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 13:03:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 13:03:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 13:03:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 13:03:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 13:03:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 13:03:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 13:03:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 13:03:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 13:03:15] Production.INFO: ==29212== Releasing lock...
[2025-04-12 13:03:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 13:03:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 13:03:18] Production.INFO: count ==1533
[2025-04-12 13:03:18] Production.ERROR: pbx CDR StartTime 2025-04-12 10:03:05 - End Time 2025-04-12 13:03:05
[2025-04-12 13:03:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 13:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891739', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891739', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891739', 'tblTempVendorCDR_20' ) start
[2025-04-12 13:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891739', 'tblTempVendorCDR_20' ) end
[2025-04-12 13:03:18] Production.INFO: ProcessCDR(1,14891739,1,1,2)
[2025-04-12 13:03:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891739,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:03:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891739,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:03:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891739,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:03:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891739,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:03:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891739', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:03:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891739', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:03:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 13:03:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 13:03:23] Production.INFO: ==29220== Releasing lock...
[2025-04-12 13:03:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 13:03:23] Production.INFO: 39.5 MB #Memory Used#
[2025-04-12 18:04:02] Production.INFO: ==29280== Lock acquired, processing the job...
[2025-04-12 18:04:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 18:04:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 18:04:02] Production.INFO: neon service started
[2025-04-12 18:04:02] Production.INFO: neon service started
[2025-04-12 18:04:02] Production.INFO: ==29280== Releasing lock...
[2025-04-12 18:04:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 18:04:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 17:04:02] Production.INFO: ==29284== Lock acquired, processing the job...
[2025-04-12 17:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 17:04:02] Production.INFO: ==29284== Releasing lock...
[2025-04-12 17:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 17:04:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 13:04:02] Production.INFO: ==29282== Lock acquired, processing the job...
[2025-04-12 13:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 13:04:03] Production.INFO: ==29282== Releasing lock...
[2025-04-12 13:04:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 13:04:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 13:04:03] Production.INFO: ==29291== Lock acquired, processing the job...
[2025-04-12 13:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 13:04:03] Production.INFO: ==29295== Lock acquired, processing the job...
[2025-04-12 13:04:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 13:04:04] Production.INFO: ==29287== Lock acquired, processing the job...
[2025-04-12 13:04:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 13:04:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 13:04:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 13:04:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 13:04:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 13:04:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 13:04:04] Production.INFO: ==29289== Lock acquired, processing the job...
[2025-04-12 13:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 13:04:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 13:04:04] Production.INFO: ==29293== Lock acquired, processing the job...
[2025-04-12 13:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 13:04:04] Production.INFO: ==29297== Lock acquired, processing the job...
[2025-04-12 13:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 13:04:04] Production.INFO: Account Balance Start.
[2025-04-12 13:04:04] Production.INFO: CreateAllLog Start
[2025-04-12 13:04:04] Production.INFO: 117
[2025-04-12 13:04:04] Production.INFO: Date 2025-04-08
[2025-04-12 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-12 13:04:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:04:04] Production.INFO: ==29289== Releasing lock...
[2025-04-12 13:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 13:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 13:04:04] Production.INFO: count ==12
[2025-04-12 13:04:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 13:04:04] Production.INFO: count ==23
[2025-04-12 13:04:04] Production.ERROR: done
[2025-04-12 13:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891742') start
[2025-04-12 13:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 13:04:04] Production.INFO: Date 2025-04-09
[2025-04-12 13:04:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:04:04] Production.ERROR: done
[2025-04-12 13:04:04] Production.INFO: Date 2025-04-10
[2025-04-12 13:04:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891742') end
[2025-04-12 13:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 13:04:04] Production.INFO: 1
[2025-04-12 13:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 13:04:04] Production.INFO: Date 2025-04-11
[2025-04-12 13:04:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:04:04] Production.INFO: Date 2025-04-12
[2025-04-12 13:04:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:04:04] Production.INFO: ==29297== Releasing lock...
[2025-04-12 13:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 13:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 13:04:04] Production.INFO: Total Charge 0
[2025-04-12 13:04:04] Production.INFO: CreateAllLog End
[2025-04-12 13:04:05] Production.INFO: Account Balance End.
[2025-04-12 13:04:05] Production.ERROR: CronJobId end 12
[2025-04-12 13:04:05] Production.INFO: ==29293== Releasing lock...
[2025-04-12 13:04:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 13:04:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 13:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 10:04:05
[end_date_ymd] => 2025-04-12 13:04:05
[RateCDR] => 1
)
[2025-04-12 13:04:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 10:04:05' and `end` < '2025-04-12 13:04:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 13:04:12] Production.ERROR: CronJobId end10
[2025-04-12 13:04:12] Production.INFO: ==29291== Releasing lock...
[2025-04-12 13:04:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 13:04:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 13:04:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 13:04:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 13:04:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 13:04:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 13:04:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 13:04:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 13:04:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 13:04:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 13:04:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 13:04:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 13:04:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 13:04:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 13:04:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 13:04:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 13:04:15] Production.INFO: call_cost start
[2025-04-12 13:04:15] Production.INFO: call_cost end
[2025-04-12 13:04:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 13:04:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 13:04:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 13:04:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 13:04:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 13:04:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 13:04:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 13:04:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 13:04:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 13:04:16] Production.INFO: ==29287== Releasing lock...
[2025-04-12 13:04:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 13:04:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 13:04:18] Production.INFO: count ==1567
[2025-04-12 13:04:19] Production.ERROR: pbx CDR StartTime 2025-04-12 10:04:05 - End Time 2025-04-12 13:04:05
[2025-04-12 13:04:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 13:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891744', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891744', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891744', 'tblTempVendorCDR_20' ) start
[2025-04-12 13:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891744', 'tblTempVendorCDR_20' ) end
[2025-04-12 13:04:19] Production.INFO: ProcessCDR(1,14891744,1,1,2)
[2025-04-12 13:04:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891744,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:04:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891744,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:04:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891744,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:04:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891744,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:04:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891744', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:04:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891744', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:04:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 13:04:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 13:04:24] Production.INFO: ==29295== Releasing lock...
[2025-04-12 13:04:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 13:04:24] Production.INFO: 39.75 MB #Memory Used#
[2025-04-12 18:05:01] Production.INFO: ==29353== Lock acquired, processing the job...
[2025-04-12 18:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 18:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 18:05:01] Production.INFO: neon service started
[2025-04-12 18:05:01] Production.INFO: neon service started
[2025-04-12 18:05:01] Production.INFO: ==29353== Releasing lock...
[2025-04-12 18:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 18:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 17:05:02] Production.INFO: ==29357== Lock acquired, processing the job...
[2025-04-12 17:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 17:05:02] Production.INFO: ==29357== Releasing lock...
[2025-04-12 17:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 17:05:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 13:05:02] Production.INFO: ==29355== Lock acquired, processing the job...
[2025-04-12 13:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 13:05:02] Production.INFO: ==29355== Releasing lock...
[2025-04-12 13:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 13:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 13:05:03] Production.INFO: ==29364== Lock acquired, processing the job...
[2025-04-12 13:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 13:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 13:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 13:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 13:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 13:05:03] Production.INFO: ==29360== Lock acquired, processing the job...
[2025-04-12 13:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 13:05:03] Production.INFO: ==29370== Lock acquired, processing the job...
[2025-04-12 13:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 13:05:03] Production.INFO: ==29362== Lock acquired, processing the job...
[2025-04-12 13:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 13:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 13:05:03] Production.INFO: ==29366== Lock acquired, processing the job...
[2025-04-12 13:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 13: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-12 13:05:03] Production.INFO: ==29368== Lock acquired, processing the job...
[2025-04-12 13:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 13:05:03] Production.INFO: count ==12
[2025-04-12 13: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-12 13:05:03] Production.INFO: count ==23
[2025-04-12 13:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 13:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891746') start
[2025-04-12 13:05:04] Production.INFO: Account Balance Start.
[2025-04-12 13:05:04] Production.INFO: CreateAllLog Start
[2025-04-12 13:05:04] Production.INFO: 117
[2025-04-12 13:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891746') end
[2025-04-12 13:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 13:05:04] Production.INFO: 1
[2025-04-12 13:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 13:05:04] Production.INFO: Date 2025-04-08
[2025-04-12 13:05:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:05:04] Production.INFO: ==29370== Releasing lock...
[2025-04-12 13:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 13:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 13:05:04] Production.INFO: Date 2025-04-09
[2025-04-12 13:05:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:05:04] Production.INFO: Date 2025-04-10
[2025-04-12 13:05:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:05:04] Production.INFO: Date 2025-04-11
[2025-04-12 13:05:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:05:04] Production.INFO: Date 2025-04-12
[2025-04-12 13:05:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:05:04] Production.INFO: ==29362== Releasing lock...
[2025-04-12 13:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 13:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 13:05:04] Production.INFO: Total Charge 0
[2025-04-12 13:05:04] Production.ERROR: done
[2025-04-12 13:05:04] Production.INFO: CreateAllLog End
[2025-04-12 13:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 13:05:04] Production.ERROR: done
[2025-04-12 13:05:04] Production.INFO: Account Balance End.
[2025-04-12 13:05:04] Production.ERROR: CronJobId end 12
[2025-04-12 13:05:04] Production.INFO: ==29366== Releasing lock...
[2025-04-12 13:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 13:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 13:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 10:05:05
[end_date_ymd] => 2025-04-12 13:05:05
[RateCDR] => 1
)
[2025-04-12 13:05:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 10:05:05' and `end` < '2025-04-12 13:05:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 13:05:12] Production.ERROR: CronJobId end10
[2025-04-12 13:05:12] Production.INFO: ==29364== Releasing lock...
[2025-04-12 13:05:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 13:05:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 13:05:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 13:05:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 13:05:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 13:05:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 13:05:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 13:05:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 13:05:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 13:05:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 13:05:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 13:05:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 13:05:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 13:05:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 13:05:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 13:05:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 13:05:15] Production.INFO: call_cost start
[2025-04-12 13:05:15] Production.INFO: call_cost end
[2025-04-12 13:05:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 13:05:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 13:05:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 13:05:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 13:05:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 13:05:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 13:05:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 13:05:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 13:05:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 13:05:16] Production.INFO: ==29360== Releasing lock...
[2025-04-12 13:05:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 13:05:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 13:05:18] Production.INFO: count ==1561
[2025-04-12 13:05:19] Production.ERROR: pbx CDR StartTime 2025-04-12 10:05:05 - End Time 2025-04-12 13:05:05
[2025-04-12 13:05:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 13:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891749', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891749', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891749', 'tblTempVendorCDR_20' ) start
[2025-04-12 13:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891749', 'tblTempVendorCDR_20' ) end
[2025-04-12 13:05:19] Production.INFO: ProcessCDR(1,14891749,1,1,2)
[2025-04-12 13:05:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891749,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:05:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891749,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:05:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891749,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:05:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891749,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:05:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891749', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:05:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891749', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:05:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 13:05:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 13:05:24] Production.INFO: ==29368== Releasing lock...
[2025-04-12 13:05:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 13:05:24] Production.INFO: 39.5 MB #Memory Used#
[2025-04-12 18:06:02] Production.INFO: ==29426== Lock acquired, processing the job...
[2025-04-12 18:06:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 18:06:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 18:06:02] Production.INFO: neon service started
[2025-04-12 18:06:02] Production.INFO: neon service started
[2025-04-12 18:06:02] Production.INFO: ==29426== Releasing lock...
[2025-04-12 18:06:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 18:06:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 17:06:02] Production.INFO: ==29430== Lock acquired, processing the job...
[2025-04-12 17:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 17:06:02] Production.INFO: ==29430== Releasing lock...
[2025-04-12 17:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 17:06:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 13:06:02] Production.INFO: ==29428== Lock acquired, processing the job...
[2025-04-12 13:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 13:06:02] Production.INFO: ==29428== Releasing lock...
[2025-04-12 13:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 13:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 13:06:03] Production.INFO: ==29432== Lock acquired, processing the job...
[2025-04-12 13:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 13:06:03] Production.INFO: ==29438== Lock acquired, processing the job...
[2025-04-12 13:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 13:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 13:06:03] Production.INFO: Account Balance Start.
[2025-04-12 13:06:03] Production.INFO: CreateAllLog Start
[2025-04-12 13:06:03] Production.INFO: 117
[2025-04-12 13:06:03] Production.INFO: Date 2025-04-08
[2025-04-12 13:06:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:06:03] Production.INFO: ==29434== Lock acquired, processing the job...
[2025-04-12 13:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 13:06:03] Production.INFO: Date 2025-04-09
[2025-04-12 13:06:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:06:03] Production.INFO: ==29436== Lock acquired, processing the job...
[2025-04-12 13:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 13:06:03] Production.INFO: Date 2025-04-10
[2025-04-12 13:06:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:06:03] Production.INFO: Date 2025-04-11
[2025-04-12 13:06:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:06:04] Production.INFO: Date 2025-04-12
[2025-04-12 13:06:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:06:04] Production.INFO: ==29442== Lock acquired, processing the job...
[2025-04-12 13:06:04] Production.INFO: ==29440== Lock acquired, processing the job...
[2025-04-12 13:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 13:06:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 13:06:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 13:06:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 13:06:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 13:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 13:06:04] Production.INFO: Total Charge 0
[2025-04-12 13:06:04] Production.INFO: CreateAllLog End
[2025-04-12 13:06:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 13:06:04] Production.INFO: ==29434== Releasing lock...
[2025-04-12 13:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 13:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 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-12 13:06:04] Production.INFO: count ==12
[2025-04-12 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-12 13:06:04] Production.INFO: count ==23
[2025-04-12 13:06:04] Production.INFO: Account Balance End.
[2025-04-12 13:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891753') start
[2025-04-12 13:06:04] Production.ERROR: CronJobId end 12
[2025-04-12 13:06:04] Production.INFO: ==29438== Releasing lock...
[2025-04-12 13:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 13:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 13:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891753') end
[2025-04-12 13:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 13:06:04] Production.INFO: 1
[2025-04-12 13:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 13:06:04] Production.ERROR: done
[2025-04-12 13:06:04] Production.INFO: ==29442== Releasing lock...
[2025-04-12 13:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 13:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 13:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 13:06:04] Production.ERROR: done
[2025-04-12 13:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 10:06:05
[end_date_ymd] => 2025-04-12 13:06:05
[RateCDR] => 1
)
[2025-04-12 13:06:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 10:06:05' and `end` < '2025-04-12 13:06:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 13:06:12] Production.ERROR: CronJobId end10
[2025-04-12 13:06:12] Production.INFO: ==29436== Releasing lock...
[2025-04-12 13:06:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 13:06:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 13:06:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 13:06:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 13:06:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 13:06:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 13:06:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 13:06:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 13:06:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 13:06:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 13:06:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 13:06:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 13:06:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 13:06:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 13:06:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 13:06:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 13:06:14] Production.INFO: call_cost start
[2025-04-12 13:06:14] Production.INFO: call_cost end
[2025-04-12 13:06:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 13:06:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 13:06:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 13:06:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 13:06:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 13:06:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 13:06:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 13:06:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 13:06:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 13:06:15] Production.INFO: ==29432== Releasing lock...
[2025-04-12 13:06:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 13:06:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 13:06:18] Production.INFO: count ==1562
[2025-04-12 13:06:19] Production.ERROR: pbx CDR StartTime 2025-04-12 10:06:05 - End Time 2025-04-12 13:06:05
[2025-04-12 13:06:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 13:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891754', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891754', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891754', 'tblTempVendorCDR_20' ) start
[2025-04-12 13:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891754', 'tblTempVendorCDR_20' ) end
[2025-04-12 13:06:19] Production.INFO: ProcessCDR(1,14891754,1,1,2)
[2025-04-12 13:06:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891754,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:06:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891754,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:06:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891754,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:06:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891754,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:06:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891754', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:06:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891754', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:06:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 13:06:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 13:06:24] Production.INFO: ==29440== Releasing lock...
[2025-04-12 13:06:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 13:06:24] Production.INFO: 39.75 MB #Memory Used#
[2025-04-12 18:07:01] Production.INFO: ==29496== Lock acquired, processing the job...
[2025-04-12 18:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 18:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 18:07:01] Production.INFO: neon service started
[2025-04-12 18:07:01] Production.INFO: neon service started
[2025-04-12 18:07:01] Production.INFO: ==29496== Releasing lock...
[2025-04-12 18:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 18:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 13:07:02] Production.INFO: ==29498== Lock acquired, processing the job...
[2025-04-12 13:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 17:07:02] Production.INFO: ==29500== Lock acquired, processing the job...
[2025-04-12 17:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 17:07:02] Production.INFO: ==29500== Releasing lock...
[2025-04-12 17:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 17:07:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 13:07:02] Production.INFO: ==29498== Releasing lock...
[2025-04-12 13:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 13:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 13:07:03] Production.INFO: ==29511== Lock acquired, processing the job...
[2025-04-12 13:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 13:07:03] Production.INFO: ==29513== Lock acquired, processing the job...
[2025-04-12 13:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 13:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 13:07:03] Production.INFO: ==29502== Lock acquired, processing the job...
[2025-04-12 13:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 13:07:03] Production.INFO: ==29505== Lock acquired, processing the job...
[2025-04-12 13:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 13:07:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 13:07:03] Production.INFO: ==29507== Lock acquired, processing the job...
[2025-04-12 13:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 13:07:03] Production.INFO: ==29509== Lock acquired, processing the job...
[2025-04-12 13:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 13:07:03] Production.INFO: count ==12
[2025-04-12 13:07:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 13:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 13:07:03] Production.INFO: count ==23
[2025-04-12 13:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891755') start
[2025-04-12 13:07:03] Production.ERROR: done
[2025-04-12 13:07:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 13:07:03] Production.INFO: Account Balance Start.
[2025-04-12 13:07:03] Production.INFO: CreateAllLog Start
[2025-04-12 13:07:03] Production.INFO: 117
[2025-04-12 13:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891755') end
[2025-04-12 13:07:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 13:07:03] Production.INFO: 1
[2025-04-12 13:07:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 13:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 13:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 13:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 13:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 13:07:03] Production.INFO: Date 2025-04-08
[2025-04-12 13:07:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:07:03] Production.INFO: ==29505== Releasing lock...
[2025-04-12 13:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 13:07:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 13:07:03] Production.INFO: ==29513== Releasing lock...
[2025-04-12 13:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 13:07:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 13:07:04] Production.ERROR: done
[2025-04-12 13:07:04] Production.INFO: Date 2025-04-09
[2025-04-12 13:07:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:07:04] Production.INFO: Date 2025-04-10
[2025-04-12 13:07:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:07:04] Production.INFO: Date 2025-04-11
[2025-04-12 13:07:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:07:04] Production.INFO: Date 2025-04-12
[2025-04-12 13:07:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:07:04] Production.INFO: Total Charge 0
[2025-04-12 13:07:04] Production.INFO: CreateAllLog End
[2025-04-12 13:07:04] Production.INFO: Account Balance End.
[2025-04-12 13:07:04] Production.ERROR: CronJobId end 12
[2025-04-12 13:07:04] Production.INFO: ==29509== Releasing lock...
[2025-04-12 13:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 13:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 13:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 10:07:05
[end_date_ymd] => 2025-04-12 13:07:05
[RateCDR] => 1
)
[2025-04-12 13:07:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 10:07:05' and `end` < '2025-04-12 13:07:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 13:07:12] Production.ERROR: CronJobId end10
[2025-04-12 13:07:12] Production.INFO: ==29507== Releasing lock...
[2025-04-12 13:07:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 13:07:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 13:07:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 13:07:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 13:07:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 13:07:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 13:07:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 13:07:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 13:07:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 13:07:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 13:07:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 13:07:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 13:07:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 13:07:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 13:07:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 13:07:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 13:07:14] Production.INFO: call_cost start
[2025-04-12 13:07:14] Production.INFO: call_cost end
[2025-04-12 13:07:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 13:07:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 13:07:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 13:07:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 13:07:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 13:07:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 13:07:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 13:07:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 13:07:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 13:07:15] Production.INFO: ==29502== Releasing lock...
[2025-04-12 13:07:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 13:07:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 13:07:18] Production.INFO: count ==1574
[2025-04-12 13:07:18] Production.ERROR: pbx CDR StartTime 2025-04-12 10:07:05 - End Time 2025-04-12 13:07:05
[2025-04-12 13:07:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 13:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891759', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891759', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891759', 'tblTempVendorCDR_20' ) start
[2025-04-12 13:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891759', 'tblTempVendorCDR_20' ) end
[2025-04-12 13:07:18] Production.INFO: ProcessCDR(1,14891759,1,1,2)
[2025-04-12 13:07:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891759,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:07:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891759,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:07:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891759,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:07:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891759,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:07:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891759', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:07:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891759', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:07:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 13:07:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 13:07:23] Production.INFO: ==29511== Releasing lock...
[2025-04-12 13:07:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 13:07:23] Production.INFO: 39.75 MB #Memory Used#
[2025-04-12 18:08:02] Production.INFO: ==29575== Lock acquired, processing the job...
[2025-04-12 18:08:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 18:08:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 18:08:02] Production.INFO: neon service started
[2025-04-12 18:08:02] Production.INFO: neon service started
[2025-04-12 18:08:02] Production.INFO: ==29575== Releasing lock...
[2025-04-12 18:08:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 18:08:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 17:08:02] Production.INFO: ==29579== Lock acquired, processing the job...
[2025-04-12 17:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 17:08:02] Production.INFO: ==29579== Releasing lock...
[2025-04-12 17:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 17:08:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 13:08:02] Production.INFO: ==29577== Lock acquired, processing the job...
[2025-04-12 13:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 13:08:03] Production.INFO: ==29577== Releasing lock...
[2025-04-12 13:08:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 13:08:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 13:08:03] Production.INFO: ==29584== Lock acquired, processing the job...
[2025-04-12 13:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 13:08:03] Production.INFO: ==29588== Lock acquired, processing the job...
[2025-04-12 13:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 13:08:03] Production.INFO: ==29586== Lock acquired, processing the job...
[2025-04-12 13:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 13:08:03] Production.INFO: Account Balance Start.
[2025-04-12 13:08:03] Production.INFO: CreateAllLog Start
[2025-04-12 13:08:03] Production.INFO: 117
[2025-04-12 13:08:03] Production.INFO: Date 2025-04-08
[2025-04-12 13:08:03] Production.INFO: ==29582== Lock acquired, processing the job...
[2025-04-12 13:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 13:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 13:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 13:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 13:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 13:08:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:08:04] Production.INFO: ==29590== Lock acquired, processing the job...
[2025-04-12 13:08:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 13:08:04] Production.INFO: ==29592== Lock acquired, processing the job...
[2025-04-12 13:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 13:08:04] Production.INFO: Date 2025-04-09
[2025-04-12 13:08:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:08:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 13:08:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 13:08:04] Production.INFO: ==29584== Releasing lock...
[2025-04-12 13:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 13:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 13:08:04] Production.INFO: Date 2025-04-10
[2025-04-12 13:08:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:08:04] Production.INFO: Date 2025-04-11
[2025-04-12 13:08:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:08:04] Production.INFO: Date 2025-04-12
[2025-04-12 13:08:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:08:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 13:08:04] Production.INFO: Total Charge 0
[2025-04-12 13:08:04] Production.INFO: CreateAllLog End
[2025-04-12 13:08:04] Production.INFO: count ==12
[2025-04-12 13:08:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 13:08:04] Production.ERROR: done
[2025-04-12 13:08:04] Production.INFO: count ==23
[2025-04-12 13:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 13:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891763') start
[2025-04-12 13:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891763') end
[2025-04-12 13:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 13:08:04] Production.INFO: 1
[2025-04-12 13:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 13:08:04] Production.INFO: ==29592== Releasing lock...
[2025-04-12 13:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 13:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 13:08:04] Production.INFO: Account Balance End.
[2025-04-12 13:08:04] Production.ERROR: CronJobId end 12
[2025-04-12 13:08:04] Production.INFO: ==29588== Releasing lock...
[2025-04-12 13:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 13:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 13:08:04] Production.ERROR: done
[2025-04-12 13:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 10:08:05
[end_date_ymd] => 2025-04-12 13:08:05
[RateCDR] => 1
)
[2025-04-12 13:08:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 10:08:05' and `end` < '2025-04-12 13:08:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 13:08:12] Production.ERROR: CronJobId end10
[2025-04-12 13:08:12] Production.INFO: ==29586== Releasing lock...
[2025-04-12 13:08:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 13:08:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 13:08:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 13:08:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 13:08:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 13:08:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 13:08:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 13:08:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 13:08:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 13:08:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 13:08:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 13:08:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 13:08:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 13:08:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 13:08:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 13:08:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 13:08:14] Production.INFO: call_cost start
[2025-04-12 13:08:14] Production.INFO: call_cost end
[2025-04-12 13:08:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 13:08:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 13:08:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 13:08:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 13:08:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 13:08:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 13:08:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 13:08:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 13:08:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 13:08:15] Production.INFO: ==29582== Releasing lock...
[2025-04-12 13:08:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 13:08:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 13:08:18] Production.INFO: count ==1570
[2025-04-12 13:08:19] Production.ERROR: pbx CDR StartTime 2025-04-12 10:08:05 - End Time 2025-04-12 13:08:05
[2025-04-12 13:08:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 13:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891764', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891764', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891764', 'tblTempVendorCDR_20' ) start
[2025-04-12 13:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891764', 'tblTempVendorCDR_20' ) end
[2025-04-12 13:08:19] Production.INFO: ProcessCDR(1,14891764,1,1,2)
[2025-04-12 13:08:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891764,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:08:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891764,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:08:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891764,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:08:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891764,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:08:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891764', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:08:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891764', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:08:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 13:08:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 13:08:24] Production.INFO: ==29590== Releasing lock...
[2025-04-12 13:08:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 13:08:24] Production.INFO: 39.75 MB #Memory Used#
[2025-04-12 18:09:01] Production.INFO: ==29650== Lock acquired, processing the job...
[2025-04-12 18:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 18:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 18:09:01] Production.INFO: neon service started
[2025-04-12 18:09:01] Production.INFO: neon service started
[2025-04-12 18:09:01] Production.INFO: ==29650== Releasing lock...
[2025-04-12 18:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 18:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 13:09:02] Production.INFO: ==29652== Lock acquired, processing the job...
[2025-04-12 13:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 17:09:02] Production.INFO: ==29654== Lock acquired, processing the job...
[2025-04-12 17:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 17:09:02] Production.INFO: ==29654== Releasing lock...
[2025-04-12 17:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 17:09:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 13:09:02] Production.INFO: ==29652== Releasing lock...
[2025-04-12 13:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 13:09:02] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 13:09:03] Production.INFO: ==29663== Lock acquired, processing the job...
[2025-04-12 13:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 13:09:03] Production.INFO: ==29665== Lock acquired, processing the job...
[2025-04-12 13:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 13:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 13:09:03] Production.INFO: ==29657== Lock acquired, processing the job...
[2025-04-12 13:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 13:09:03] Production.INFO: ==29659== Lock acquired, processing the job...
[2025-04-12 13:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 13:09:03] Production.INFO: Account Balance Start.
[2025-04-12 13:09:03] Production.INFO: CreateAllLog Start
[2025-04-12 13:09:03] Production.INFO: 117
[2025-04-12 13:09:03] Production.INFO: ==29661== Lock acquired, processing the job...
[2025-04-12 13:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 13:09:03] Production.INFO: ==29667== Lock acquired, processing the job...
[2025-04-12 13:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 13:09:03] Production.INFO: Date 2025-04-08
[2025-04-12 13:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 13:09:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 13:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 13:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 13:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 13:09:03] Production.INFO: Date 2025-04-09
[2025-04-12 13:09:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:09:04] Production.ERROR: done
[2025-04-12 13:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 13:09:04] Production.INFO: Date 2025-04-10
[2025-04-12 13:09:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 13:09:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:09:04] Production.INFO: count ==12
[2025-04-12 13:09:04] Production.INFO: Date 2025-04-11
[2025-04-12 13:09:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:09:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 13:09:04] Production.INFO: count ==23
[2025-04-12 13:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891768') start
[2025-04-12 13:09:04] Production.INFO: Date 2025-04-12
[2025-04-12 13:09:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:09:04] Production.ERROR: done
[2025-04-12 13:09:04] Production.INFO: ==29659== Releasing lock...
[2025-04-12 13:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 13:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 13:09:04] Production.INFO: Total Charge 0
[2025-04-12 13:09:04] Production.INFO: CreateAllLog End
[2025-04-12 13:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891768') end
[2025-04-12 13:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 13:09:04] Production.INFO: 1
[2025-04-12 13:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 13:09:04] Production.INFO: ==29667== Releasing lock...
[2025-04-12 13:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 13:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 13:09:04] Production.INFO: Account Balance End.
[2025-04-12 13:09:04] Production.ERROR: CronJobId end 12
[2025-04-12 13:09:04] Production.INFO: ==29663== Releasing lock...
[2025-04-12 13:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 13:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 13:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 10:09:05
[end_date_ymd] => 2025-04-12 13:09:05
[RateCDR] => 1
)
[2025-04-12 13:09:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 10:09:05' and `end` < '2025-04-12 13:09:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 13:09:12] Production.ERROR: CronJobId end10
[2025-04-12 13:09:12] Production.INFO: ==29661== Releasing lock...
[2025-04-12 13:09:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 13:09:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 13:09:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 13:09:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 13:09:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 13:09:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 13:09:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 13:09:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 13:09:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 13:09:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 13:09:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 13:09:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 13:09:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 13:09:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 13:09:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 13:09:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 13:09:15] Production.INFO: call_cost start
[2025-04-12 13:09:15] Production.INFO: call_cost end
[2025-04-12 13:09:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 13:09:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 13:09:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 13:09:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 13:09:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 13:09:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 13:09:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 13:09:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 13:09:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 13:09:16] Production.INFO: ==29657== Releasing lock...
[2025-04-12 13:09:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 13:09:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 13:09:18] Production.INFO: count ==1566
[2025-04-12 13:09:18] Production.ERROR: pbx CDR StartTime 2025-04-12 10:09:05 - End Time 2025-04-12 13:09:05
[2025-04-12 13:09:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 13:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891769', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891769', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891769', 'tblTempVendorCDR_20' ) start
[2025-04-12 13:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891769', 'tblTempVendorCDR_20' ) end
[2025-04-12 13:09:18] Production.INFO: ProcessCDR(1,14891769,1,1,2)
[2025-04-12 13:09:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891769,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:09:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891769,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:09:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891769,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:09:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891769,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891769', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891769', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:09:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 13:09:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 13:09:22] Production.INFO: ==29665== Releasing lock...
[2025-04-12 13:09:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 13:09:22] Production.INFO: 39.75 MB #Memory Used#
[2025-04-12 18:10:02] Production.INFO: ==29726== Lock acquired, processing the job...
[2025-04-12 18:10:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 18:10:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 18:10:02] Production.INFO: neon service started
[2025-04-12 18:10:02] Production.INFO: neon service started
[2025-04-12 18:10:02] Production.INFO: ==29726== Releasing lock...
[2025-04-12 18:10:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 18:10:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 13:10:02] Production.INFO: ==29728== Lock acquired, processing the job...
[2025-04-12 13:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 17:10:02] Production.INFO: ==29730== Lock acquired, processing the job...
[2025-04-12 17:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 17:10:02] Production.INFO: ==29730== Releasing lock...
[2025-04-12 17:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 17:10:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 13:10:03] Production.INFO: ==29728== Releasing lock...
[2025-04-12 13:10:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 13:10:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 13:10:03] Production.INFO: ==29732== Lock acquired, processing the job...
[2025-04-12 13:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 13:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 13:10:03] Production.INFO: ==29736== Lock acquired, processing the job...
[2025-04-12 13:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 13:10:03] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 13:10:03] Production.INFO: ==29732== Releasing lock...
[2025-04-12 13:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 13:10:03] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 13:10:04] Production.INFO: ==29734== Lock acquired, processing the job...
[2025-04-12 13:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 13:10:04] Production.INFO: ==29741== Lock acquired, processing the job...
[2025-04-12 13:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 13:10:04] Production.INFO: ==29743== Lock acquired, processing the job...
[2025-04-12 13:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 13:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 13:10:04] Production.INFO: ==29738== Lock acquired, processing the job...
[2025-04-12 13:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 13:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 13:10:04] Production.INFO: Account Balance Start.
[2025-04-12 13:10:04] Production.INFO: CreateAllLog Start
[2025-04-12 13:10:04] Production.INFO: 117
[2025-04-12 13:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 13:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 13:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 13:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 13:10:04] Production.INFO: Date 2025-04-08
[2025-04-12 13:10:04] Production.INFO: ==29736== Releasing lock...
[2025-04-12 13:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 13:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 13:10:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:10:04] Production.INFO: ==29745== Lock acquired, processing the job...
[2025-04-12 13:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 13:10:04] Production.INFO: Date 2025-04-09
[2025-04-12 13:10:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:10:04] Production.INFO: ==29747== Lock acquired, processing the job...
[2025-04-12 13:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 13:10:04] Production.INFO: Date 2025-04-10
[2025-04-12 13:10:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 13:10:04] Production.INFO: Date 2025-04-11
[2025-04-12 13:10:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 13:10:04] Production.INFO: count ==12
[2025-04-12 13:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 13:10:04] Production.INFO: count ==23
[2025-04-12 13:10:04] Production.INFO: Date 2025-04-12
[2025-04-12 13:10:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891773') start
[2025-04-12 13:10:04] Production.ERROR: done
[2025-04-12 13:10:04] Production.INFO: Total Charge 0
[2025-04-12 13:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 13:10:04] Production.INFO: CreateAllLog End
[2025-04-12 13:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891773') end
[2025-04-12 13:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 13:10:04] Production.INFO: 1
[2025-04-12 13:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 13:10:05] Production.INFO: ==29747== Releasing lock...
[2025-04-12 13:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 13:10:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 13:10:05] Production.ERROR: done
[2025-04-12 13:10:05] Production.ERROR: done
[2025-04-12 13:10:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 13:10:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14891775', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 13:10:05] Production.INFO: Account Balance End.
[2025-04-12 13:10:05] Production.ERROR: CronJobId end 12
[2025-04-12 13:10:05] Production.INFO: ==29741== Releasing lock...
[2025-04-12 13:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 13:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 13:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 10:10:06
[end_date_ymd] => 2025-04-12 13:10:06
[RateCDR] => 1
)
[2025-04-12 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-12 10:10:06' and `end` < '2025-04-12 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-12 13:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14891775', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 13:10:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 13:10:09] Production.INFO: ProcessCDR(1,14891775,1,1,2)
[2025-04-12 13:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14891775,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:10:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14891775,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:10:10] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 13:10:10] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 13:10:10] Production.INFO: ==29745== Releasing lock...
[2025-04-12 13:10:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 13:10:10] Production.INFO: 26 MB #Memory Used#
[2025-04-12 13:10:15] Production.ERROR: CronJobId end10
[2025-04-12 13:10:15] Production.INFO: ==29738== Releasing lock...
[2025-04-12 13:10:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 13:10:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 13:10:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 13:10:17] Production.INFO: ============== Balance Warning START===========
[2025-04-12 13:10:17] Production.INFO: ============== Balance Warning END===========
[2025-04-12 13:10:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 13:10:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 13:10:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 13:10:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 13:10:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 13:10:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 13:10:17] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 13:10:17] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 13:10:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 13:10:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 13:10:17] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 13:10:17] Production.INFO: call_cost start
[2025-04-12 13:10:17] Production.INFO: call_cost end
[2025-04-12 13:10:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 13:10:18] Production.INFO: ============== Report Schedule START===========
[2025-04-12 13:10:18] Production.INFO: ============== Report Schedule END===========
[2025-04-12 13:10:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 13:10:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 13:10:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 13:10:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 13:10:18] Production.INFO: ============== Deal alert START===========
[2025-04-12 13:10:18] Production.INFO: ============== Deal alert END===========
[2025-04-12 13:10:18] Production.INFO: ==29734== Releasing lock...
[2025-04-12 13:10:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 13:10:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 13:10:19] Production.INFO: count ==1565
[2025-04-12 13:10:19] Production.ERROR: pbx CDR StartTime 2025-04-12 10:10:06 - End Time 2025-04-12 13:10:06
[2025-04-12 13:10:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 13:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891774', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891774', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891774', 'tblTempVendorCDR_20' ) start
[2025-04-12 13:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891774', 'tblTempVendorCDR_20' ) end
[2025-04-12 13:10:19] Production.INFO: ProcessCDR(1,14891774,1,1,2)
[2025-04-12 13:10:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891774,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:10:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891774,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:10:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891774,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:10:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891774,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:10:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891774', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:10:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891774', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:10:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 13:10:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 13:10:23] Production.INFO: ==29743== Releasing lock...
[2025-04-12 13:10:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 13:10:23] Production.INFO: 39.5 MB #Memory Used#
[2025-04-12 18:11:01] Production.INFO: ==29800== Lock acquired, processing the job...
[2025-04-12 18:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 18:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 18:11:01] Production.INFO: neon service started
[2025-04-12 18:11:01] Production.INFO: neon service started
[2025-04-12 18:11:01] Production.INFO: ==29800== Releasing lock...
[2025-04-12 18:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 18:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 17:11:01] Production.INFO: ==29804== Lock acquired, processing the job...
[2025-04-12 17:11:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 17:11:01] Production.INFO: ==29804== Releasing lock...
[2025-04-12 17:11:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 17:11:01] Production.INFO: 25 MB #Memory Used#
[2025-04-12 13:11:02] Production.INFO: ==29802== Lock acquired, processing the job...
[2025-04-12 13:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 13:11:02] Production.INFO: ==29802== Releasing lock...
[2025-04-12 13:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 13:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 13:11:03] Production.INFO: ==29813== Lock acquired, processing the job...
[2025-04-12 13:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 13:11:03] Production.INFO: ==29817== Lock acquired, processing the job...
[2025-04-12 13:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 13:11:03] Production.INFO: Account Balance Start.
[2025-04-12 13:11:03] Production.INFO: CreateAllLog Start
[2025-04-12 13:11:03] Production.INFO: 117
[2025-04-12 13:11:03] Production.INFO: Date 2025-04-08
[2025-04-12 13:11:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:11:03] Production.INFO: Date 2025-04-09
[2025-04-12 13:11:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:11:03] Production.INFO: Date 2025-04-10
[2025-04-12 13:11:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:11:03] Production.INFO: ==29807== Lock acquired, processing the job...
[2025-04-12 13:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 13:11:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 13:11:03] Production.INFO: Date 2025-04-11
[2025-04-12 13:11:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:11:03] Production.INFO: ==29809== Lock acquired, processing the job...
[2025-04-12 13:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 13:11:03] Production.INFO: ==29811== Lock acquired, processing the job...
[2025-04-12 13:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 13:11:03] Production.INFO: Date 2025-04-12
[2025-04-12 13:11:03] Production.INFO: count ==12
[2025-04-12 13:11:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:11:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 13:11:03] Production.INFO: count ==23
[2025-04-12 13:11:03] Production.INFO: Total Charge 0
[2025-04-12 13:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891777') start
[2025-04-12 13:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 13:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 13:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 13:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 13:11:03] Production.INFO: ==29815== Lock acquired, processing the job...
[2025-04-12 13:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 13:11:03] Production.INFO: CreateAllLog End
[2025-04-12 13:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 13:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 13:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891777') end
[2025-04-12 13:11:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 13:11:03] Production.INFO: 1
[2025-04-12 13:11:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 13:11:03] Production.INFO: ==29817== Releasing lock...
[2025-04-12 13:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 13:11:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 13:11:03] Production.INFO: Account Balance End.
[2025-04-12 13:11:03] Production.INFO: ==29809== Releasing lock...
[2025-04-12 13:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 13:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 13:11:03] Production.ERROR: CronJobId end 12
[2025-04-12 13:11:03] Production.INFO: ==29813== Releasing lock...
[2025-04-12 13:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 13:11:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 13:11:04] Production.ERROR: done
[2025-04-12 13:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 13:11:04] Production.ERROR: done
[2025-04-12 13:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 10:11:05
[end_date_ymd] => 2025-04-12 13:11:05
[RateCDR] => 1
)
[2025-04-12 13:11:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 10:11:05' and `end` < '2025-04-12 13:11:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 13:11:11] Production.ERROR: CronJobId end10
[2025-04-12 13:11:11] Production.INFO: ==29811== Releasing lock...
[2025-04-12 13:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 13:11:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 13:11:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 13:11:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 13:11:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 13:11:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 13:11:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 13:11:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 13:11:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 13:11:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 13:11:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 13:11:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 13:11:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 13:11:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 13:11:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 13:11:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 13:11:14] Production.INFO: call_cost start
[2025-04-12 13:11:14] Production.INFO: call_cost end
[2025-04-12 13:11:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 13:11:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 13:11:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 13:11:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 13:11:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 13:11:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 13:11:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 13:11:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 13:11:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 13:11:15] Production.INFO: ==29807== Releasing lock...
[2025-04-12 13:11:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 13:11:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 13:11:18] Production.INFO: count ==1590
[2025-04-12 13:11:18] Production.ERROR: pbx CDR StartTime 2025-04-12 10:11:05 - End Time 2025-04-12 13:11:05
[2025-04-12 13:11:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 13:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891780', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891780', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891780', 'tblTempVendorCDR_20' ) start
[2025-04-12 13:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891780', 'tblTempVendorCDR_20' ) end
[2025-04-12 13:11:18] Production.INFO: ProcessCDR(1,14891780,1,1,2)
[2025-04-12 13:11:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891780,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:11:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891780,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:11:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891780,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:11:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891780,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:11:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891780', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:11:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891780', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:11:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 13:11:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 13:11:23] Production.INFO: ==29815== Releasing lock...
[2025-04-12 13:11:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 13:11:23] Production.INFO: 40.25 MB #Memory Used#
[2025-04-12 18:12:01] Production.INFO: ==29874== Lock acquired, processing the job...
[2025-04-12 18:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 18:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 18:12:01] Production.INFO: neon service started
[2025-04-12 18:12:02] Production.INFO: neon service started
[2025-04-12 18:12:02] Production.INFO: ==29874== Releasing lock...
[2025-04-12 18:12:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 18:12:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 13:12:02] Production.INFO: ==29876== Lock acquired, processing the job...
[2025-04-12 13:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 13:12:02] Production.INFO: ==29876== Releasing lock...
[2025-04-12 13:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 13:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 17:12:03] Production.INFO: ==29878== Lock acquired, processing the job...
[2025-04-12 17:12:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 17:12:03] Production.INFO: ==29878== Releasing lock...
[2025-04-12 17:12:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 17:12:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 13:12:03] Production.INFO: ==29886== Lock acquired, processing the job...
[2025-04-12 13:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 13:12:03] Production.INFO: ==29890== Lock acquired, processing the job...
[2025-04-12 13:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 13:12:03] Production.INFO: Account Balance Start.
[2025-04-12 13:12:03] Production.INFO: CreateAllLog Start
[2025-04-12 13:12:03] Production.INFO: 117
[2025-04-12 13:12:03] Production.INFO: Date 2025-04-08
[2025-04-12 13:12:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:12:03] Production.INFO: Date 2025-04-09
[2025-04-12 13:12:03] Production.INFO: Reseller ==> 0
[2025-04-12 13: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-12 13:12:03] Production.INFO: Date 2025-04-10
[2025-04-12 13:12:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:12:03] Production.INFO: count ==12
[2025-04-12 13:12:03] Production.INFO: ==29880== Lock acquired, processing the job...
[2025-04-12 13:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 13: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-12 13:12:03] Production.INFO: count ==23
[2025-04-12 13:12:03] Production.INFO: Date 2025-04-11
[2025-04-12 13:12:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891782') start
[2025-04-12 13:12:03] Production.INFO: Date 2025-04-12
[2025-04-12 13:12:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:12:03] Production.INFO: Total Charge 0
[2025-04-12 13:12:03] Production.INFO: ==29882== Lock acquired, processing the job...
[2025-04-12 13:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 13:12:03] Production.INFO: CreateAllLog End
[2025-04-12 13:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891782') end
[2025-04-12 13:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 13:12:04] Production.INFO: 1
[2025-04-12 13:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 13:12:04] Production.INFO: ==29884== Lock acquired, processing the job...
[2025-04-12 13:12:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 13:12:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 13:12:04] Production.INFO: ==29890== Releasing lock...
[2025-04-12 13:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 13:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 13:12:04] Production.INFO: ==29888== Lock acquired, processing the job...
[2025-04-12 13:12:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 13:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 13:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 13:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 13:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 13:12:04] Production.INFO: Account Balance End.
[2025-04-12 13:12:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 13:12:04] Production.ERROR: CronJobId end 12
[2025-04-12 13:12:04] Production.INFO: ==29886== Releasing lock...
[2025-04-12 13:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 13:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 13:12:04] Production.INFO: ==29882== Releasing lock...
[2025-04-12 13:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 13:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 13:12:04] Production.ERROR: done
[2025-04-12 13:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 13:12:04] Production.ERROR: done
[2025-04-12 13:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 10:12:05
[end_date_ymd] => 2025-04-12 13:12:05
[RateCDR] => 1
)
[2025-04-12 13:12:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 10:12:05' and `end` < '2025-04-12 13:12:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 13:12:12] Production.ERROR: CronJobId end10
[2025-04-12 13:12:12] Production.INFO: ==29884== Releasing lock...
[2025-04-12 13:12:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 13:12:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 13:12:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 13:12:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 13:12:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 13:12:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 13:12:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 13:12:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 13:12:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 13:12:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 13:12:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 13:12:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 13:12:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 13:12:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 13:12:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 13:12:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 13:12:14] Production.INFO: call_cost start
[2025-04-12 13:12:14] Production.INFO: call_cost end
[2025-04-12 13:12:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 13:12:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 13:12:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 13:12:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 13:12:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 13:12:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 13:12:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 13:12:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 13:12:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 13:12:15] Production.INFO: ==29880== Releasing lock...
[2025-04-12 13:12:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 13:12:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 13:12:18] Production.INFO: count ==1590
[2025-04-12 13:12:18] Production.ERROR: pbx CDR StartTime 2025-04-12 10:12:05 - End Time 2025-04-12 13:12:05
[2025-04-12 13:12:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 13:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891785', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891785', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891785', 'tblTempVendorCDR_20' ) start
[2025-04-12 13:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891785', 'tblTempVendorCDR_20' ) end
[2025-04-12 13:12:19] Production.INFO: ProcessCDR(1,14891785,1,1,2)
[2025-04-12 13:12:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891785,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:12:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891785,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:12:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891785,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:12:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891785,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:12:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891785', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:12:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891785', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:12:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 13:12:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 13:12:22] Production.INFO: ==29888== Releasing lock...
[2025-04-12 13:12:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 13:12:22] Production.INFO: 40.25 MB #Memory Used#
[2025-04-12 18:13:01] Production.INFO: ==29946== Lock acquired, processing the job...
[2025-04-12 18:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 18:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 18:13:01] Production.INFO: neon service started
[2025-04-12 18:13:01] Production.INFO: neon service started
[2025-04-12 18:13:01] Production.INFO: ==29946== Releasing lock...
[2025-04-12 18:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 18:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 13:13:02] Production.INFO: ==29948== Lock acquired, processing the job...
[2025-04-12 13:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 17:13:02] Production.INFO: ==29950== Lock acquired, processing the job...
[2025-04-12 17:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 17:13:02] Production.INFO: ==29950== Releasing lock...
[2025-04-12 17:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 17:13:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 13:13:02] Production.INFO: ==29948== Releasing lock...
[2025-04-12 13:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 13:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 13:13:03] Production.INFO: ==29953== Lock acquired, processing the job...
[2025-04-12 13:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 13:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 13:13:03] Production.INFO: ==29959== Lock acquired, processing the job...
[2025-04-12 13:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 13:13:03] Production.INFO: ==29961== Lock acquired, processing the job...
[2025-04-12 13:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 13:13:03] Production.INFO: ==29955== Lock acquired, processing the job...
[2025-04-12 13:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 13:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 13:13:03] Production.INFO: Account Balance Start.
[2025-04-12 13:13:03] Production.INFO: CreateAllLog Start
[2025-04-12 13:13:03] Production.INFO: 117
[2025-04-12 13:13:03] Production.INFO: Date 2025-04-08
[2025-04-12 13:13:03] Production.INFO: ==29957== Lock acquired, processing the job...
[2025-04-12 13:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 13:13:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 13:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 13:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 13:13:03] Production.INFO: Date 2025-04-09
[2025-04-12 13:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 13:13:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:13:03] Production.INFO: Date 2025-04-10
[2025-04-12 13:13:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:13:03] Production.INFO: Date 2025-04-11
[2025-04-12 13:13:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:13:03] Production.INFO: Date 2025-04-12
[2025-04-12 13:13:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:13:03] Production.INFO: ==29963== Lock acquired, processing the job...
[2025-04-12 13:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 13:13:03] Production.INFO: Total Charge 0
[2025-04-12 13:13:03] Production.INFO: ==29955== Releasing lock...
[2025-04-12 13:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 13:13:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 13:13:03] Production.INFO: CreateAllLog End
[2025-04-12 13:13:04] Production.ERROR: done
[2025-04-12 13:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 13:13:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 13:13:04] Production.INFO: Account Balance End.
[2025-04-12 13:13:04] Production.INFO: count ==12
[2025-04-12 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-12 13:13:04] Production.ERROR: CronJobId end 12
[2025-04-12 13:13:04] Production.INFO: ==29959== Releasing lock...
[2025-04-12 13:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 13:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 13:13:04] Production.INFO: count ==23
[2025-04-12 13:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891789') start
[2025-04-12 13:13:04] Production.ERROR: done
[2025-04-12 13:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891789') end
[2025-04-12 13:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 13:13:04] Production.INFO: 1
[2025-04-12 13:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 13:13:04] Production.INFO: ==29963== Releasing lock...
[2025-04-12 13:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 13:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 13:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 10:13:05
[end_date_ymd] => 2025-04-12 13:13:05
[RateCDR] => 1
)
[2025-04-12 13:13:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 10:13:05' and `end` < '2025-04-12 13:13:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 13:13:10] Production.ERROR: CronJobId end10
[2025-04-12 13:13:10] Production.INFO: ==29957== Releasing lock...
[2025-04-12 13:13:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 13:13:10] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 13:13:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 13:13:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 13:13:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 13:13:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 13:13:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 13:13:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 13:13:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 13:13:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 13:13:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 13:13:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 13:13:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 13:13:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 13:13:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 13:13:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 13:13:13] Production.INFO: call_cost start
[2025-04-12 13:13:13] Production.INFO: call_cost end
[2025-04-12 13:13:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 13:13:14] Production.INFO: ============== Report Schedule START===========
[2025-04-12 13:13:14] Production.INFO: ============== Report Schedule END===========
[2025-04-12 13:13:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 13:13:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 13:13:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 13:13:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 13:13:14] Production.INFO: ============== Deal alert START===========
[2025-04-12 13:13:14] Production.INFO: ============== Deal alert END===========
[2025-04-12 13:13:14] Production.INFO: ==29953== Releasing lock...
[2025-04-12 13:13:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 13:13:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 13:13:18] Production.INFO: count ==1601
[2025-04-12 13:13:18] Production.ERROR: pbx CDR StartTime 2025-04-12 10:13:05 - End Time 2025-04-12 13:13:05
[2025-04-12 13:13:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 13:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891790', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891790', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891790', 'tblTempVendorCDR_20' ) start
[2025-04-12 13:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891790', 'tblTempVendorCDR_20' ) end
[2025-04-12 13:13:18] Production.INFO: ProcessCDR(1,14891790,1,1,2)
[2025-04-12 13:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891790,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:13:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891790,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:13:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891790,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:13:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891790,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:13:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891790', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:13:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891790', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:13:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 13:13:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 13:13:23] Production.INFO: ==29961== Releasing lock...
[2025-04-12 13:13:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 13:13:23] Production.INFO: 40 MB #Memory Used#
[2025-04-12 18:14:01] Production.INFO: ==30022== Lock acquired, processing the job...
[2025-04-12 18:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 18:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 18:14:01] Production.INFO: neon service started
[2025-04-12 18:14:01] Production.INFO: neon service started
[2025-04-12 18:14:01] Production.INFO: ==30022== Releasing lock...
[2025-04-12 18:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 18:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 13:14:02] Production.INFO: ==30024== Lock acquired, processing the job...
[2025-04-12 13:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 17:14:02] Production.INFO: ==30026== Lock acquired, processing the job...
[2025-04-12 17:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 17:14:02] Production.INFO: ==30026== Releasing lock...
[2025-04-12 17:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 17:14:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 13:14:02] Production.INFO: ==30024== Releasing lock...
[2025-04-12 13:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 13:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 13:14:03] Production.INFO: ==30029== Lock acquired, processing the job...
[2025-04-12 13:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 13:14:03] Production.INFO: ==30039== Lock acquired, processing the job...
[2025-04-12 13:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 13:14:03] Production.INFO: ==30031== Lock acquired, processing the job...
[2025-04-12 13:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 13:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 13:14:03] Production.INFO: ==30033== Lock acquired, processing the job...
[2025-04-12 13:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 13:14:03] Production.INFO: ==30035== Lock acquired, processing the job...
[2025-04-12 13:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 13:14:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 13:14:03] Production.INFO: ==30037== Lock acquired, processing the job...
[2025-04-12 13:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 13:14:03] Production.INFO: count ==12
[2025-04-12 13:14:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 13:14:03] Production.INFO: count ==23
[2025-04-12 13:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891791') start
[2025-04-12 13:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 13:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 13:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 13:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 13:14:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 13:14:04] Production.INFO: Account Balance Start.
[2025-04-12 13:14:04] Production.INFO: CreateAllLog Start
[2025-04-12 13:14:04] Production.INFO: 117
[2025-04-12 13:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891791') end
[2025-04-12 13:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 13:14:04] Production.INFO: 1
[2025-04-12 13:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 13:14:04] Production.INFO: Date 2025-04-08
[2025-04-12 13:14:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:14:04] Production.INFO: ==30039== Releasing lock...
[2025-04-12 13:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 13:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 13:14:04] Production.INFO: Date 2025-04-09
[2025-04-12 13:14:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:14:04] Production.INFO: Date 2025-04-10
[2025-04-12 13:14:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:14:04] Production.ERROR: done
[2025-04-12 13:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 13:14:04] Production.INFO: ==30031== Releasing lock...
[2025-04-12 13:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 13:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 13:14:04] Production.INFO: Date 2025-04-11
[2025-04-12 13:14:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:14:04] Production.INFO: Date 2025-04-12
[2025-04-12 13:14:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:14:04] Production.INFO: Total Charge 0
[2025-04-12 13:14:04] Production.INFO: CreateAllLog End
[2025-04-12 13:14:04] Production.ERROR: done
[2025-04-12 13:14:04] Production.INFO: Account Balance End.
[2025-04-12 13:14:04] Production.ERROR: CronJobId end 12
[2025-04-12 13:14:04] Production.INFO: ==30035== Releasing lock...
[2025-04-12 13:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 13:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 13:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 10:14:05
[end_date_ymd] => 2025-04-12 13:14:05
[RateCDR] => 1
)
[2025-04-12 13:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 10:14:05' and `end` < '2025-04-12 13:14:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 13:14:12] Production.ERROR: CronJobId end10
[2025-04-12 13:14:12] Production.INFO: ==30033== Releasing lock...
[2025-04-12 13:14:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 13:14:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 13:14:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 13:14:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 13:14:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 13:14:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 13:14:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 13:14:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 13:14:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 13:14:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 13:14:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 13:14:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 13:14:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 13:14:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 13:14:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 13:14:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 13:14:14] Production.INFO: call_cost start
[2025-04-12 13:14:14] Production.INFO: call_cost end
[2025-04-12 13:14:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 13:14:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 13:14:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 13:14:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 13:14:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 13:14:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 13:14:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 13:14:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 13:14:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 13:14:15] Production.INFO: ==30029== Releasing lock...
[2025-04-12 13:14:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 13:14:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 13:14:18] Production.INFO: count ==1607
[2025-04-12 13:14:19] Production.ERROR: pbx CDR StartTime 2025-04-12 10:14:05 - End Time 2025-04-12 13:14:05
[2025-04-12 13:14:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 13:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891795', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891795', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891795', 'tblTempVendorCDR_20' ) start
[2025-04-12 13:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891795', 'tblTempVendorCDR_20' ) end
[2025-04-12 13:14:19] Production.INFO: ProcessCDR(1,14891795,1,1,2)
[2025-04-12 13:14:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891795,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:14:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891795,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:14:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891795,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:14:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891795,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891795', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891795', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:14:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 13:14:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 13:14:22] Production.INFO: ==30037== Releasing lock...
[2025-04-12 13:14:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 13:14:22] Production.INFO: 39.75 MB #Memory Used#
[2025-04-12 18:15:02] Production.INFO: ==30093== Lock acquired, processing the job...
[2025-04-12 18:15:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 18:15:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 18:15:02] Production.INFO: neon service started
[2025-04-12 18:15:02] Production.INFO: neon service started
[2025-04-12 18:15:02] Production.INFO: ==30093== Releasing lock...
[2025-04-12 18:15:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 18:15:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 17:15:02] Production.INFO: ==30097== Lock acquired, processing the job...
[2025-04-12 17:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 17:15:02] Production.INFO: ==30097== Releasing lock...
[2025-04-12 17:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 17:15:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 13:15:02] Production.INFO: ==30095== Lock acquired, processing the job...
[2025-04-12 13:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 13:15:03] Production.INFO: ==30095== Releasing lock...
[2025-04-12 13:15:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 13:15:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 13:15:03] Production.INFO: ==30100== Lock acquired, processing the job...
[2025-04-12 13:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 13:15:03] Production.INFO: ==30102== Lock acquired, processing the job...
[2025-04-12 13:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 13:15:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 13:15:04] Production.INFO: ==30110== Lock acquired, processing the job...
[2025-04-12 13:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 13:15:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 13:15:04] Production.INFO: count ==12
[2025-04-12 13:15:04] Production.INFO: ==30102== Releasing lock...
[2025-04-12 13:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 13:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 13:15:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 13:15:04] Production.INFO: count ==23
[2025-04-12 13:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891798') start
[2025-04-12 13:15:04] Production.INFO: ==30104== Lock acquired, processing the job...
[2025-04-12 13:15:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 13:15:04] Production.INFO: ==30106== Lock acquired, processing the job...
[2025-04-12 13:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 13:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891798') end
[2025-04-12 13:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 13:15:04] Production.INFO: 1
[2025-04-12 13:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 13:15:04] Production.INFO: ==30110== Releasing lock...
[2025-04-12 13:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 13:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 13:15:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 13:15:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 13:15:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 13:15:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 13:15:04] Production.INFO: ==30108== Lock acquired, processing the job...
[2025-04-12 13:15:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 13:15:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 13:15:04] Production.INFO: Account Balance Start.
[2025-04-12 13:15:04] Production.INFO: CreateAllLog Start
[2025-04-12 13:15:04] Production.INFO: 117
[2025-04-12 13:15:04] Production.INFO: Date 2025-04-08
[2025-04-12 13:15:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:15:04] Production.INFO: Date 2025-04-09
[2025-04-12 13:15:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:15:04] Production.INFO: Date 2025-04-10
[2025-04-12 13:15:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:15:04] Production.INFO: Date 2025-04-11
[2025-04-12 13:15:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:15:04] Production.INFO: Date 2025-04-12
[2025-04-12 13:15:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:15:04] Production.INFO: Total Charge 0
[2025-04-12 13:15:04] Production.INFO: CreateAllLog End
[2025-04-12 13:15:04] Production.ERROR: done
[2025-04-12 13:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 13:15:05] Production.INFO: Account Balance End.
[2025-04-12 13:15:05] Production.ERROR: done
[2025-04-12 13:15:05] Production.ERROR: CronJobId end 12
[2025-04-12 13:15:05] Production.INFO: ==30106== Releasing lock...
[2025-04-12 13:15:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 13:15:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 13:15:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 10:15:06
[end_date_ymd] => 2025-04-12 13:15:06
[RateCDR] => 1
)
[2025-04-12 13:15:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 10:15:06' and `end` < '2025-04-12 13: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-12 13:15:12] Production.ERROR: CronJobId end10
[2025-04-12 13:15:12] Production.INFO: ==30104== Releasing lock...
[2025-04-12 13:15:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 13:15:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 13:15:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 13:15:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 13:15:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 13:15:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 13:15:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 13:15:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 13:15:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 13:15:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 13:15:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 13:15:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 13:15:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 13:15:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 13:15:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 13:15:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 13:15:14] Production.INFO: call_cost start
[2025-04-12 13:15:14] Production.INFO: call_cost end
[2025-04-12 13:15:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 13:15:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 13:15:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 13:15:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 13:15:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 13:15:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 13:15:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 13:15:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 13:15:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 13:15:15] Production.INFO: ==30100== Releasing lock...
[2025-04-12 13:15:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 13:15:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 13:15:19] Production.INFO: count ==1606
[2025-04-12 13:15:19] Production.ERROR: pbx CDR StartTime 2025-04-12 10:15:06 - End Time 2025-04-12 13:15:06
[2025-04-12 13:15:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 13:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891800', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891800', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891800', 'tblTempVendorCDR_20' ) start
[2025-04-12 13:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891800', 'tblTempVendorCDR_20' ) end
[2025-04-12 13:15:19] Production.INFO: ProcessCDR(1,14891800,1,1,2)
[2025-04-12 13:15:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891800,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:15:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891800,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:15:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891800,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:15:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891800,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891800', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891800', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:15:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 13:15:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 13:15:23] Production.INFO: ==30108== Releasing lock...
[2025-04-12 13:15:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 13:15:23] Production.INFO: 39.75 MB #Memory Used#
[2025-04-12 18:16:01] Production.INFO: ==30165== Lock acquired, processing the job...
[2025-04-12 18:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 18:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 18:16:01] Production.INFO: neon service started
[2025-04-12 18:16:01] Production.INFO: neon service started
[2025-04-12 18:16:01] Production.INFO: ==30165== Releasing lock...
[2025-04-12 18:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 18:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 13:16:02] Production.INFO: ==30167== Lock acquired, processing the job...
[2025-04-12 13:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 13:16:02] Production.INFO: ==30167== Releasing lock...
[2025-04-12 13:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 13:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 17:16:02] Production.INFO: ==30169== Lock acquired, processing the job...
[2025-04-12 17:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 17:16:02] Production.INFO: ==30169== Releasing lock...
[2025-04-12 17:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 17:16:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 13:16:03] Production.INFO: ==30172== Lock acquired, processing the job...
[2025-04-12 13:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 13:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 13:16:03] Production.INFO: ==30174== Lock acquired, processing the job...
[2025-04-12 13:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 13:16:03] Production.INFO: ==30176== Lock acquired, processing the job...
[2025-04-12 13:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 13:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 13:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 13:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 13:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 13:16:03] Production.INFO: ==30178== Lock acquired, processing the job...
[2025-04-12 13:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 13:16:03] Production.INFO: Account Balance Start.
[2025-04-12 13:16:03] Production.INFO: CreateAllLog Start
[2025-04-12 13:16:03] Production.INFO: 117
[2025-04-12 13:16:03] Production.INFO: Date 2025-04-08
[2025-04-12 13:16:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:16:03] Production.INFO: ==30180== Lock acquired, processing the job...
[2025-04-12 13:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 13:16:04] Production.INFO: ==30182== Lock acquired, processing the job...
[2025-04-12 13:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 13:16:04] Production.INFO: Date 2025-04-09
[2025-04-12 13:16:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:16:04] Production.INFO: ==30174== Releasing lock...
[2025-04-12 13:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 13:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 13:16:04] Production.INFO: Date 2025-04-10
[2025-04-12 13:16:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:16:04] Production.INFO: Date 2025-04-11
[2025-04-12 13:16:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:16:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 13:16:04] Production.INFO: Date 2025-04-12
[2025-04-12 13:16:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:16:04] Production.INFO: Total Charge 0
[2025-04-12 13:16:04] Production.INFO: CreateAllLog End
[2025-04-12 13:16:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 13:16:04] Production.INFO: count ==12
[2025-04-12 13:16:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 13:16:04] Production.INFO: count ==23
[2025-04-12 13:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891804') start
[2025-04-12 13:16:04] Production.INFO: Account Balance End.
[2025-04-12 13:16:04] Production.ERROR: done
[2025-04-12 13:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 13:16:04] Production.ERROR: CronJobId end 12
[2025-04-12 13:16:04] Production.INFO: ==30178== Releasing lock...
[2025-04-12 13:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 13:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 13:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891804') end
[2025-04-12 13:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 13:16:04] Production.INFO: 1
[2025-04-12 13:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 13:16:04] Production.INFO: ==30182== Releasing lock...
[2025-04-12 13:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 13:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 13:16:04] Production.ERROR: done
[2025-04-12 13:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 10:16:05
[end_date_ymd] => 2025-04-12 13:16:05
[RateCDR] => 1
)
[2025-04-12 13:16:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 10:16:05' and `end` < '2025-04-12 13:16:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 13:16:12] Production.ERROR: CronJobId end10
[2025-04-12 13:16:12] Production.INFO: ==30176== Releasing lock...
[2025-04-12 13:16:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 13:16:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 13:16:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 13:16:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 13:16:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 13:16:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 13:16:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 13:16:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 13:16:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 13:16:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 13:16:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 13:16:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 13:16:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 13:16:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 13:16:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 13:16:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 13:16:14] Production.INFO: call_cost start
[2025-04-12 13:16:14] Production.INFO: call_cost end
[2025-04-12 13:16:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 13:16:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 13:16:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 13:16:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 13:16:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 13:16:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 13:16:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 13:16:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 13:16:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 13:16:15] Production.INFO: ==30172== Releasing lock...
[2025-04-12 13:16:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 13:16:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 13:16:18] Production.INFO: count ==1604
[2025-04-12 13:16:19] Production.ERROR: pbx CDR StartTime 2025-04-12 10:16:05 - End Time 2025-04-12 13:16:05
[2025-04-12 13:16:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 13:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891805', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891805', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891805', 'tblTempVendorCDR_20' ) start
[2025-04-12 13:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891805', 'tblTempVendorCDR_20' ) end
[2025-04-12 13:16:19] Production.INFO: ProcessCDR(1,14891805,1,1,2)
[2025-04-12 13:16:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891805,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:16:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891805,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:16:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891805,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:16:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891805,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891805', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891805', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:16:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 13:16:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 13:16:22] Production.INFO: ==30180== Releasing lock...
[2025-04-12 13:16:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 13:16:22] Production.INFO: 40 MB #Memory Used#
[2025-04-12 18:17:02] Production.INFO: ==30282== Lock acquired, processing the job...
[2025-04-12 18:17:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 18:17:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 18:17:02] Production.INFO: neon service started
[2025-04-12 18:17:02] Production.INFO: neon service started
[2025-04-12 18:17:02] Production.INFO: ==30282== Releasing lock...
[2025-04-12 18:17:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 18:17:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 17:17:02] Production.INFO: ==30286== Lock acquired, processing the job...
[2025-04-12 17:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 17:17:02] Production.INFO: ==30286== Releasing lock...
[2025-04-12 17:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 17:17:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 13:17:02] Production.INFO: ==30284== Lock acquired, processing the job...
[2025-04-12 13:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 13:17:03] Production.INFO: ==30284== Releasing lock...
[2025-04-12 13:17:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 13:17:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 13:17:03] Production.INFO: ==30288== Lock acquired, processing the job...
[2025-04-12 13:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 13:17:03] Production.INFO: ==30292== Lock acquired, processing the job...
[2025-04-12 13:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 13:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 13:17:03] Production.INFO: ==30298== Lock acquired, processing the job...
[2025-04-12 13:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 13:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 13:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 13:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 13:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 13:17:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 13:17:03] Production.INFO: count ==12
[2025-04-12 13:17:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 13:17:03] Production.INFO: count ==23
[2025-04-12 13:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891807') start
[2025-04-12 13:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891807') end
[2025-04-12 13:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 13:17:04] Production.INFO: 1
[2025-04-12 13:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 13:17:04] Production.INFO: ==30298== Releasing lock...
[2025-04-12 13:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 13:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 13:17:04] Production.INFO: ==30290== Lock acquired, processing the job...
[2025-04-12 13:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 13:17:04] Production.INFO: ==30294== Lock acquired, processing the job...
[2025-04-12 13:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 13:17:04] Production.INFO: ==30296== Lock acquired, processing the job...
[2025-04-12 13:17:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 13:17:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 13:17:04] Production.INFO: Account Balance Start.
[2025-04-12 13:17:04] Production.INFO: CreateAllLog Start
[2025-04-12 13:17:04] Production.INFO: 117
[2025-04-12 13:17:04] Production.INFO: Date 2025-04-08
[2025-04-12 13:17:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:17:04] Production.INFO: Date 2025-04-09
[2025-04-12 13:17:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:17:04] Production.INFO: Date 2025-04-10
[2025-04-12 13:17:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:17:04] Production.INFO: Date 2025-04-11
[2025-04-12 13:17:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:17:04] Production.INFO: Date 2025-04-12
[2025-04-12 13:17:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:17:04] Production.INFO: ==30290== Releasing lock...
[2025-04-12 13:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 13:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 13:17:04] Production.ERROR: done
[2025-04-12 13:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 13:17:04] Production.INFO: Total Charge 0
[2025-04-12 13:17:05] Production.INFO: CreateAllLog End
[2025-04-12 13:17:05] Production.ERROR: done
[2025-04-12 13:17:05] Production.INFO: Account Balance End.
[2025-04-12 13:17:05] Production.ERROR: CronJobId end 12
[2025-04-12 13:17:05] Production.INFO: ==30294== Releasing lock...
[2025-04-12 13:17:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 13:17:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 13:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 10:17:05
[end_date_ymd] => 2025-04-12 13:17:05
[RateCDR] => 1
)
[2025-04-12 13:17:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 10:17:05' and `end` < '2025-04-12 13:17:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 13:17:12] Production.ERROR: CronJobId end10
[2025-04-12 13:17:12] Production.INFO: ==30292== Releasing lock...
[2025-04-12 13:17:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 13:17:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 13:17:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 13:17:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 13:17:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 13:17:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 13:17:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 13:17:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 13:17:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 13:17:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 13:17:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 13:17:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 13:17:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 13:17:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 13:17:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 13:17:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 13:17:14] Production.INFO: call_cost start
[2025-04-12 13:17:14] Production.INFO: call_cost end
[2025-04-12 13:17:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 13:17:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 13:17:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 13:17:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 13:17:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 13:17:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 13:17:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 13:17:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 13:17:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 13:17:15] Production.INFO: ==30288== Releasing lock...
[2025-04-12 13:17:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 13:17:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 13:17:18] Production.INFO: count ==1602
[2025-04-12 13:17:19] Production.ERROR: pbx CDR StartTime 2025-04-12 10:17:05 - End Time 2025-04-12 13:17:05
[2025-04-12 13:17:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 13:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891810', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891810', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891810', 'tblTempVendorCDR_20' ) start
[2025-04-12 13:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891810', 'tblTempVendorCDR_20' ) end
[2025-04-12 13:17:19] Production.INFO: ProcessCDR(1,14891810,1,1,2)
[2025-04-12 13:17:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891810,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:17:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891810,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:17:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891810,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:17:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891810,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891810', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891810', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:17:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 13:17:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 13:17:22] Production.INFO: ==30296== Releasing lock...
[2025-04-12 13:17:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 13:17:22] Production.INFO: 40 MB #Memory Used#
[2025-04-12 18:18:01] Production.INFO: ==30367== Lock acquired, processing the job...
[2025-04-12 18:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 18:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 18:18:01] Production.INFO: neon service started
[2025-04-12 18:18:01] Production.INFO: neon service started
[2025-04-12 18:18:01] Production.INFO: ==30367== Releasing lock...
[2025-04-12 18:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 18:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 13:18:02] Production.INFO: ==30369== Lock acquired, processing the job...
[2025-04-12 13:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 13:18:02] Production.INFO: ==30369== Releasing lock...
[2025-04-12 13:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 13:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 17:18:02] Production.INFO: ==30371== Lock acquired, processing the job...
[2025-04-12 17:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 17:18:02] Production.INFO: ==30371== Releasing lock...
[2025-04-12 17:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 17:18:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 13:18:03] Production.INFO: ==30381== Lock acquired, processing the job...
[2025-04-12 13:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 13:18:03] Production.INFO: ==30373== Lock acquired, processing the job...
[2025-04-12 13:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 13:18:03] Production.INFO: ==30383== Lock acquired, processing the job...
[2025-04-12 13:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 13:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 13:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 13:18:03] Production.INFO: ==30375== Lock acquired, processing the job...
[2025-04-12 13:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 13:18:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 13:18:03] Production.INFO: ==30377== Lock acquired, processing the job...
[2025-04-12 13:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 13:18:03] Production.INFO: count ==12
[2025-04-12 13:18:03] Production.INFO: ==30379== Lock acquired, processing the job...
[2025-04-12 13:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 13:18:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 13:18:03] Production.INFO: count ==23
[2025-04-12 13:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891812') start
[2025-04-12 13:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 13:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 13:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 13:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 13:18:03] Production.INFO: Account Balance Start.
[2025-04-12 13:18:03] Production.INFO: CreateAllLog Start
[2025-04-12 13:18:03] Production.INFO: 117
[2025-04-12 13:18:03] Production.ERROR: done
[2025-04-12 13:18:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 13:18:03] Production.INFO: Date 2025-04-08
[2025-04-12 13:18:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891812') end
[2025-04-12 13:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 13:18:04] Production.INFO: 1
[2025-04-12 13:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 13:18:04] Production.INFO: Date 2025-04-09
[2025-04-12 13:18:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:18:04] Production.INFO: ==30375== Releasing lock...
[2025-04-12 13:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 13:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 13:18:04] Production.INFO: Date 2025-04-10
[2025-04-12 13:18:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:18:04] Production.ERROR: done
[2025-04-12 13:18:04] Production.INFO: ==30383== Releasing lock...
[2025-04-12 13:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 13:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 13:18:04] Production.INFO: Date 2025-04-11
[2025-04-12 13:18:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:18:04] Production.INFO: Date 2025-04-12
[2025-04-12 13:18:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:18:04] Production.INFO: Total Charge 0
[2025-04-12 13:18:04] Production.INFO: CreateAllLog End
[2025-04-12 13:18:04] Production.INFO: Account Balance End.
[2025-04-12 13:18:04] Production.ERROR: CronJobId end 12
[2025-04-12 13:18:04] Production.INFO: ==30379== Releasing lock...
[2025-04-12 13:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 13:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 13:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 10:18:05
[end_date_ymd] => 2025-04-12 13:18:05
[RateCDR] => 1
)
[2025-04-12 13:18:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 10:18:05' and `end` < '2025-04-12 13:18:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 13:18:12] Production.ERROR: CronJobId end10
[2025-04-12 13:18:12] Production.INFO: ==30377== Releasing lock...
[2025-04-12 13:18:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 13:18:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 13:18:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 13:18:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 13:18:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 13:18:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 13:18:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 13:18:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 13:18:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 13:18:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 13:18:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 13:18:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 13:18:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 13:18:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 13:18:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 13:18:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 13:18:15] Production.INFO: call_cost start
[2025-04-12 13:18:15] Production.INFO: call_cost end
[2025-04-12 13:18:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 13:18:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 13:18:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 13:18:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 13:18:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 13:18:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 13:18:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 13:18:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 13:18:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 13:18:16] Production.INFO: ==30373== Releasing lock...
[2025-04-12 13:18:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 13:18:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 13:18:18] Production.INFO: count ==1610
[2025-04-12 13:18:18] Production.ERROR: pbx CDR StartTime 2025-04-12 10:18:05 - End Time 2025-04-12 13:18:05
[2025-04-12 13:18:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 13:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891815', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891815', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891815', 'tblTempVendorCDR_20' ) start
[2025-04-12 13:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891815', 'tblTempVendorCDR_20' ) end
[2025-04-12 13:18:18] Production.INFO: ProcessCDR(1,14891815,1,1,2)
[2025-04-12 13:18:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891815,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:18:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891815,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:18:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891815,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:18:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891815,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:18:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891815', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:18:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891815', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:18:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 13:18:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 13:18:24] Production.INFO: ==30381== Releasing lock...
[2025-04-12 13:18:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 13:18:24] Production.INFO: 40 MB #Memory Used#
[2025-04-12 18:19:02] Production.INFO: ==30441== Lock acquired, processing the job...
[2025-04-12 18:19:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 18:19:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 18:19:02] Production.INFO: neon service started
[2025-04-12 18:19:02] Production.INFO: neon service started
[2025-04-12 18:19:02] Production.INFO: ==30441== Releasing lock...
[2025-04-12 18:19:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 18:19:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 17:19:02] Production.INFO: ==30446== Lock acquired, processing the job...
[2025-04-12 17:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 17:19:02] Production.INFO: ==30446== Releasing lock...
[2025-04-12 17:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 17:19:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 13:19:02] Production.INFO: ==30444== Lock acquired, processing the job...
[2025-04-12 13:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 13:19:03] Production.INFO: ==30444== Releasing lock...
[2025-04-12 13:19:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 13:19:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 13:19:03] Production.INFO: ==30448== Lock acquired, processing the job...
[2025-04-12 13:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 13:19:03] Production.INFO: ==30450== Lock acquired, processing the job...
[2025-04-12 13:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 13:19:03] Production.INFO: ==30452== Lock acquired, processing the job...
[2025-04-12 13:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 13:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 13:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 13:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 13:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 13:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 13:19:04] Production.INFO: ==30454== Lock acquired, processing the job...
[2025-04-12 13:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 13:19:04] Production.INFO: Account Balance Start.
[2025-04-12 13:19:04] Production.INFO: CreateAllLog Start
[2025-04-12 13:19:04] Production.INFO: 117
[2025-04-12 13:19:04] Production.INFO: Date 2025-04-08
[2025-04-12 13:19:04] Production.INFO: ==30456== Lock acquired, processing the job...
[2025-04-12 13:19:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 13:19:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:19:04] Production.INFO: ==30458== Lock acquired, processing the job...
[2025-04-12 13:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 13:19:04] Production.INFO: Date 2025-04-09
[2025-04-12 13:19:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:19:04] Production.INFO: Date 2025-04-10
[2025-04-12 13:19:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:19:04] Production.INFO: Date 2025-04-11
[2025-04-12 13:19:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:19:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 13:19:04] Production.INFO: Date 2025-04-12
[2025-04-12 13:19:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:19:04] Production.INFO: ==30450== Releasing lock...
[2025-04-12 13:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 13:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 13:19:04] Production.INFO: Total Charge 0
[2025-04-12 13:19:04] Production.INFO: CreateAllLog End
[2025-04-12 13:19:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 13:19:04] Production.INFO: count ==12
[2025-04-12 13:19:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 13:19:04] Production.INFO: count ==23
[2025-04-12 13:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891819') start
[2025-04-12 13:19:04] Production.ERROR: done
[2025-04-12 13:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 13:19:04] Production.INFO: Account Balance End.
[2025-04-12 13:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891819') end
[2025-04-12 13:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 13:19:04] Production.INFO: 1
[2025-04-12 13:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 13:19:05] Production.ERROR: done
[2025-04-12 13:19:05] Production.INFO: ==30458== Releasing lock...
[2025-04-12 13:19:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 13:19:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 13:19:05] Production.ERROR: CronJobId end 12
[2025-04-12 13:19:05] Production.INFO: ==30454== Releasing lock...
[2025-04-12 13:19:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 13:19:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 13:19:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 10:19:06
[end_date_ymd] => 2025-04-12 13:19:06
[RateCDR] => 1
)
[2025-04-12 13:19:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 10:19:06' and `end` < '2025-04-12 13:19:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 13:19:12] Production.ERROR: CronJobId end10
[2025-04-12 13:19:12] Production.INFO: ==30452== Releasing lock...
[2025-04-12 13:19:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 13:19:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 13:19:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 13:19:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 13:19:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 13:19:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 13:19:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 13:19:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 13:19:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 13:19:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 13:19:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 13:19:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 13:19:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 13:19:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 13:19:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 13:19:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 13:19:15] Production.INFO: call_cost start
[2025-04-12 13:19:15] Production.INFO: call_cost end
[2025-04-12 13:19:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 13:19:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 13:19:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 13:19:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 13:19:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 13:19:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 13:19:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 13:19:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 13:19:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 13:19:16] Production.INFO: ==30448== Releasing lock...
[2025-04-12 13:19:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 13:19:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 13:19:19] Production.INFO: count ==1606
[2025-04-12 13:19:19] Production.ERROR: pbx CDR StartTime 2025-04-12 10:19:06 - End Time 2025-04-12 13:19:06
[2025-04-12 13:19:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 13:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891820', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891820', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891820', 'tblTempVendorCDR_20' ) start
[2025-04-12 13:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891820', 'tblTempVendorCDR_20' ) end
[2025-04-12 13:19:19] Production.INFO: ProcessCDR(1,14891820,1,1,2)
[2025-04-12 13:19:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891820,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:19:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891820,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:19:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891820,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:19:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891820,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:19:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891820', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:19:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891820', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:19:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 13:19:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 13:19:24] Production.INFO: ==30456== Releasing lock...
[2025-04-12 13:19:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 13:19:24] Production.INFO: 40 MB #Memory Used#
[2025-04-12 18:20:01] Production.INFO: ==30513== Lock acquired, processing the job...
[2025-04-12 18:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 18:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 18:20:01] Production.INFO: neon service started
[2025-04-12 18:20:01] Production.INFO: neon service started
[2025-04-12 18:20:01] Production.INFO: ==30513== Releasing lock...
[2025-04-12 18:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 18:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 13:20:02] Production.INFO: ==30516== Lock acquired, processing the job...
[2025-04-12 13:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 13:20:02] Production.INFO: ==30516== Releasing lock...
[2025-04-12 13:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 13:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 17:20:02] Production.INFO: ==30518== Lock acquired, processing the job...
[2025-04-12 17:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 17:20:02] Production.INFO: ==30518== Releasing lock...
[2025-04-12 17:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 17:20:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 13:20:03] Production.INFO: ==30520== Lock acquired, processing the job...
[2025-04-12 13:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 13:20:03] Production.INFO: ==30522== Lock acquired, processing the job...
[2025-04-12 13:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 13:20:03] Production.INFO: ==30524== Lock acquired, processing the job...
[2025-04-12 13:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 13:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 13:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 13:20:03] Production.ERROR: CronJob PID - 30522
[2025-04-12 13:20:03] Production.ERROR: CronJob Title - System Alerts
[2025-04-12 13:20:03] Production.ERROR: CronJob ID - 5
[2025-04-12 13:20:03] Production.ERROR: CronJob Last Run Time 2025-04-12 13:20:00
[2025-04-12 13:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 13:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 13:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 13:20:03] Production.INFO: ==30520== Releasing lock...
[2025-04-12 13:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 13:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 13:20:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 13:20:03] Production.INFO: ==30532== Lock acquired, processing the job...
[2025-04-12 13:20:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 13:20:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 13:20:03] Production.INFO: ==30526== Lock acquired, processing the job...
[2025-04-12 13:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 13:20:03] Production.INFO: ==30530== Lock acquired, processing the job...
[2025-04-12 13:20:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 13:20:03] Production.INFO: ==30528== Lock acquired, processing the job...
[2025-04-12 13:20:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 13:20:04] Production.INFO: ==30534== Lock acquired, processing the job...
[2025-04-12 13:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 13:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 13:20:04] Production.INFO: ==30524== Releasing lock...
[2025-04-12 13:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 13:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 13:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 13:20:04] Production.INFO: Account Balance Start.
[2025-04-12 13:20:04] Production.INFO: CreateAllLog Start
[2025-04-12 13:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 13:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 13:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 13:20:04] Production.INFO: 117
[2025-04-12 13:20:04] Production.INFO: Date 2025-04-08
[2025-04-12 13:20:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:20:04] Production.ERROR: done
[2025-04-12 13:20:04] Production.INFO: Date 2025-04-09
[2025-04-12 13:20:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 13:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 13:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14891825', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 13:20:04] Production.INFO: Date 2025-04-10
[2025-04-12 13:20:04] Production.INFO: count ==12
[2025-04-12 13:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 13:20:04] Production.INFO: count ==23
[2025-04-12 13:20:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891824') start
[2025-04-12 13:20:04] Production.INFO: Date 2025-04-11
[2025-04-12 13:20:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:20:04] Production.ERROR: done
[2025-04-12 13:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 13:20:04] Production.INFO: Date 2025-04-12
[2025-04-12 13:20:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:20:04] Production.INFO: Total Charge 0
[2025-04-12 13:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891824') end
[2025-04-12 13:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 13:20:04] Production.INFO: 1
[2025-04-12 13:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 13:20:04] Production.INFO: CreateAllLog End
[2025-04-12 13:20:04] Production.INFO: ==30534== Releasing lock...
[2025-04-12 13:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 13:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 13:20:04] Production.ERROR: done
[2025-04-12 13:20:04] Production.INFO: Account Balance End.
[2025-04-12 13:20:04] Production.ERROR: CronJobId end 12
[2025-04-12 13:20:04] Production.INFO: ==30528== Releasing lock...
[2025-04-12 13:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 13:20:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 13:20:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 10:20:05
[end_date_ymd] => 2025-04-12 13:20:05
[RateCDR] => 1
)
[2025-04-12 13:20:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 10:20:05' and `end` < '2025-04-12 13:20:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 13:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14891825', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 13:20:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 13:20:09] Production.INFO: ProcessCDR(1,14891825,1,1,2)
[2025-04-12 13:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14891825,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14891825,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:20:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 13:20:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 13:20:09] Production.INFO: ==30532== Releasing lock...
[2025-04-12 13:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 13:20:09] Production.INFO: 26 MB #Memory Used#
[2025-04-12 13:20:14] Production.ERROR: CronJobId end10
[2025-04-12 13:20:14] Production.INFO: ==30526== Releasing lock...
[2025-04-12 13:20:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 13:20:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 13:20:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 13:20:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 13:20:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 13:20:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 13:20:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 13:20:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 13:20:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 13:20:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 13:20:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 13:20:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 13:20:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 13:20:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 13:20:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 13:20:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 13:20:16] Production.INFO: call_cost start
[2025-04-12 13:20:16] Production.INFO: call_cost end
[2025-04-12 13:20:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 13:20:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 13:20:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 13:20:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 13:20:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 13:20:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 13:20:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 13:20:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 13:20:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 13:20:17] Production.INFO: ==30522== Releasing lock...
[2025-04-12 13:20:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 13:20:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 13:20:18] Production.INFO: count ==1605
[2025-04-12 13:20:19] Production.ERROR: pbx CDR StartTime 2025-04-12 10:20:05 - End Time 2025-04-12 13:20:05
[2025-04-12 13:20:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 13:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891826', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891826', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891826', 'tblTempVendorCDR_20' ) start
[2025-04-12 13:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891826', 'tblTempVendorCDR_20' ) end
[2025-04-12 13:20:19] Production.INFO: ProcessCDR(1,14891826,1,1,2)
[2025-04-12 13:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891826,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:20:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891826,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:20:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891826,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:20:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891826,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:20:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891826', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:20:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891826', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:20:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 13:20:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 13:20:24] Production.INFO: ==30530== Releasing lock...
[2025-04-12 13:20:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 13:20:24] Production.INFO: 40 MB #Memory Used#
[2025-04-12 18:21:02] Production.INFO: ==30589== Lock acquired, processing the job...
[2025-04-12 18:21:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 18:21:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 18:21:02] Production.INFO: neon service started
[2025-04-12 18:21:02] Production.INFO: neon service started
[2025-04-12 18:21:02] Production.INFO: ==30589== Releasing lock...
[2025-04-12 18:21:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 18:21:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 17:21:02] Production.INFO: ==30593== Lock acquired, processing the job...
[2025-04-12 17:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 17:21:02] Production.INFO: ==30593== Releasing lock...
[2025-04-12 17:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 17:21:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 13:21:02] Production.INFO: ==30591== Lock acquired, processing the job...
[2025-04-12 13:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 13:21:02] Production.INFO: ==30591== Releasing lock...
[2025-04-12 13:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 13:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 13:21:03] Production.INFO: ==30596== Lock acquired, processing the job...
[2025-04-12 13:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 13:21:03] Production.INFO: ==30600== Lock acquired, processing the job...
[2025-04-12 13:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 13:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 13:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 13:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 13:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 13:21:03] Production.INFO: ==30606== Lock acquired, processing the job...
[2025-04-12 13:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 13:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 13:21:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 13:21:03] Production.INFO: count ==12
[2025-04-12 13:21:03] Production.INFO: ==30598== Lock acquired, processing the job...
[2025-04-12 13:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 13: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-12 13:21:03] Production.INFO: count ==23
[2025-04-12 13:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891828') start
[2025-04-12 13:21:04] Production.INFO: ==30602== Lock acquired, processing the job...
[2025-04-12 13:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 13:21:04] Production.INFO: ==30604== Lock acquired, processing the job...
[2025-04-12 13:21:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 13:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891828') end
[2025-04-12 13:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 13:21:04] Production.INFO: 1
[2025-04-12 13:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 13:21:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 13:21:04] Production.INFO: Account Balance Start.
[2025-04-12 13:21:04] Production.INFO: CreateAllLog Start
[2025-04-12 13:21:04] Production.INFO: ==30606== Releasing lock...
[2025-04-12 13:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 13:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 13:21:04] Production.INFO: 117
[2025-04-12 13:21:04] Production.INFO: Date 2025-04-08
[2025-04-12 13:21:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:21:04] Production.INFO: Date 2025-04-09
[2025-04-12 13:21:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:21:04] Production.INFO: ==30598== Releasing lock...
[2025-04-12 13:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 13:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 13:21:04] Production.INFO: Date 2025-04-10
[2025-04-12 13:21:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:21:04] Production.INFO: Date 2025-04-11
[2025-04-12 13:21:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:21:04] Production.ERROR: done
[2025-04-12 13:21:04] Production.INFO: Date 2025-04-12
[2025-04-12 13:21:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 13:21:04] Production.INFO: Total Charge 0
[2025-04-12 13:21:04] Production.INFO: CreateAllLog End
[2025-04-12 13:21:04] Production.ERROR: done
[2025-04-12 13:21:04] Production.INFO: Account Balance End.
[2025-04-12 13:21:05] Production.ERROR: CronJobId end 12
[2025-04-12 13:21:05] Production.INFO: ==30602== Releasing lock...
[2025-04-12 13:21:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 13:21:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 13:21:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 10:21:06
[end_date_ymd] => 2025-04-12 13:21:06
[RateCDR] => 1
)
[2025-04-12 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-12 10:21:06' and `end` < '2025-04-12 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-12 13:21:12] Production.ERROR: CronJobId end10
[2025-04-12 13:21:12] Production.INFO: ==30600== Releasing lock...
[2025-04-12 13:21:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 13:21:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 13:21:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 13:21:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 13:21:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 13:21:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 13:21:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 13:21:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 13:21:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 13:21:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 13:21:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 13:21:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 13:21:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 13:21:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 13:21:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 13:21:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 13:21:14] Production.INFO: call_cost start
[2025-04-12 13:21:14] Production.INFO: call_cost end
[2025-04-12 13:21:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 13:21:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 13:21:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 13:21:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 13:21:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 13:21:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 13:21:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 13:21:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 13:21:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 13:21:15] Production.INFO: ==30596== Releasing lock...
[2025-04-12 13:21:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 13:21:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 13:21:19] Production.INFO: count ==1624
[2025-04-12 13:21:19] Production.ERROR: pbx CDR StartTime 2025-04-12 10:21:06 - End Time 2025-04-12 13:21:06
[2025-04-12 13:21:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 13:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891831', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891831', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891831', 'tblTempVendorCDR_20' ) start
[2025-04-12 13:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891831', 'tblTempVendorCDR_20' ) end
[2025-04-12 13:21:19] Production.INFO: ProcessCDR(1,14891831,1,1,2)
[2025-04-12 13:21:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891831,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:21:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891831,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:21:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891831,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:21:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891831,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:21:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891831', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:21:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891831', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:21:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 13:21:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 13:21:25] Production.INFO: ==30604== Releasing lock...
[2025-04-12 13:21:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 13:21:25] Production.INFO: 40.25 MB #Memory Used#
[2025-04-12 18:22:01] Production.INFO: ==30663== Lock acquired, processing the job...
[2025-04-12 18:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 18:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 18:22:01] Production.INFO: neon service started
[2025-04-12 18:22:01] Production.INFO: neon service started
[2025-04-12 18:22:01] Production.INFO: ==30663== Releasing lock...
[2025-04-12 18:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 18:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 13:22:01] Production.INFO: ==30665== Lock acquired, processing the job...
[2025-04-12 13:22:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 13:22:02] Production.INFO: ==30665== Releasing lock...
[2025-04-12 13:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 13:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 17:22:02] Production.INFO: ==30667== Lock acquired, processing the job...
[2025-04-12 17:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 17:22:02] Production.INFO: ==30667== Releasing lock...
[2025-04-12 17:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 17:22:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 13:22:03] Production.INFO: ==30669== Lock acquired, processing the job...
[2025-04-12 13:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 13:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 13:22:03] Production.INFO: ==30673== Lock acquired, processing the job...
[2025-04-12 13:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 13:22:03] Production.INFO: ==30676== Lock acquired, processing the job...
[2025-04-12 13:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 13:22:03] Production.INFO: Account Balance Start.
[2025-04-12 13:22:03] Production.INFO: CreateAllLog Start
[2025-04-12 13:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 13:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 13:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 13:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 13:22:03] Production.INFO: 117
[2025-04-12 13:22:03] Production.INFO: Date 2025-04-08
[2025-04-12 13:22:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:22:03] Production.INFO: Date 2025-04-09
[2025-04-12 13:22:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:22:03] Production.INFO: ==30671== Lock acquired, processing the job...
[2025-04-12 13:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 13:22:03] Production.INFO: Date 2025-04-10
[2025-04-12 13:22:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:22:03] Production.INFO: Date 2025-04-11
[2025-04-12 13:22:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:22:03] Production.INFO: Date 2025-04-12
[2025-04-12 13:22:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:22:03] Production.INFO: Total Charge 0
[2025-04-12 13:22:03] Production.INFO: ==30678== Lock acquired, processing the job...
[2025-04-12 13:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 13:22:03] Production.INFO: ==30680== Lock acquired, processing the job...
[2025-04-12 13:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 13:22:03] Production.INFO: CreateAllLog End
[2025-04-12 13:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 13:22:03] Production.INFO: Account Balance End.
[2025-04-12 13:22:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 13:22:04] Production.INFO: count ==12
[2025-04-12 13:22:04] Production.ERROR: CronJobId end 12
[2025-04-12 13:22:04] Production.INFO: ==30676== Releasing lock...
[2025-04-12 13:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 13:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 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-12 13:22:04] Production.INFO: ==30671== Releasing lock...
[2025-04-12 13:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 13:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 13:22:04] Production.INFO: count ==23
[2025-04-12 13:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891835') start
[2025-04-12 13:22:04] Production.ERROR: done
[2025-04-12 13:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891835') end
[2025-04-12 13:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 13:22:04] Production.INFO: 1
[2025-04-12 13:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 13:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 13:22:04] Production.INFO: ==30680== Releasing lock...
[2025-04-12 13:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 13:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 13:22:04] Production.ERROR: done
[2025-04-12 13:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 10:22:05
[end_date_ymd] => 2025-04-12 13:22:05
[RateCDR] => 1
)
[2025-04-12 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-12 10:22:05' and `end` < '2025-04-12 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-12 13:22:13] Production.ERROR: CronJobId end10
[2025-04-12 13:22:13] Production.INFO: ==30673== Releasing lock...
[2025-04-12 13:22:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 13:22:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 13:22:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 13:22:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 13:22:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 13:22:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 13:22:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 13:22:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 13:22:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 13:22:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 13:22:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 13:22:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 13:22:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 13:22:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 13:22:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 13:22:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 13:22:14] Production.INFO: call_cost start
[2025-04-12 13:22:14] Production.INFO: call_cost end
[2025-04-12 13:22:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 13:22:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 13:22:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 13:22:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 13:22:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 13:22:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 13:22:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 13:22:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 13:22:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 13:22:15] Production.INFO: ==30669== Releasing lock...
[2025-04-12 13:22:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 13:22:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 13:22:18] Production.INFO: count ==1620
[2025-04-12 13:22:19] Production.ERROR: pbx CDR StartTime 2025-04-12 10:22:05 - End Time 2025-04-12 13:22:05
[2025-04-12 13:22:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 13:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891836', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891836', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891836', 'tblTempVendorCDR_20' ) start
[2025-04-12 13:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891836', 'tblTempVendorCDR_20' ) end
[2025-04-12 13:22:19] Production.INFO: ProcessCDR(1,14891836,1,1,2)
[2025-04-12 13:22:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891836,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:22:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891836,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:22:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891836,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:22:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891836,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891836', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891836', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:22:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 13:22:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 13:22:22] Production.INFO: ==30678== Releasing lock...
[2025-04-12 13:22:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 13:22:22] Production.INFO: 40.25 MB #Memory Used#
[2025-04-12 18:23:02] Production.INFO: ==30742== Lock acquired, processing the job...
[2025-04-12 18:23:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 18:23:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 18:23:02] Production.INFO: neon service started
[2025-04-12 18:23:02] Production.INFO: neon service started
[2025-04-12 18:23:02] Production.INFO: ==30742== Releasing lock...
[2025-04-12 18:23:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 18:23:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 13:23:02] Production.INFO: ==30744== Lock acquired, processing the job...
[2025-04-12 13:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 17:23:02] Production.INFO: ==30746== Lock acquired, processing the job...
[2025-04-12 17:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 13:23:02] Production.INFO: ==30744== Releasing lock...
[2025-04-12 13:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 13:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 17:23:02] Production.INFO: ==30746== Releasing lock...
[2025-04-12 17:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 17:23:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 13:23:03] Production.INFO: ==30753== Lock acquired, processing the job...
[2025-04-12 13:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 13:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 13:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 13:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 13:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 13:23:03] Production.INFO: ==30751== Lock acquired, processing the job...
[2025-04-12 13:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 13:23:03] Production.INFO: ==30759== Lock acquired, processing the job...
[2025-04-12 13:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 13:23:03] Production.INFO: ==30749== Lock acquired, processing the job...
[2025-04-12 13:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 13:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 13:23:04] Production.INFO: ==30755== Lock acquired, processing the job...
[2025-04-12 13:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 13:23:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 13:23:04] Production.INFO: count ==12
[2025-04-12 13:23:04] Production.INFO: ==30757== Lock acquired, processing the job...
[2025-04-12 13:23:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 13:23:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 13:23:04] Production.INFO: count ==23
[2025-04-12 13:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891837') start
[2025-04-12 13:23:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 13:23:04] Production.INFO: Account Balance Start.
[2025-04-12 13:23:04] Production.INFO: CreateAllLog Start
[2025-04-12 13:23:04] Production.INFO: 117
[2025-04-12 13:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891837') end
[2025-04-12 13:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 13:23:04] Production.INFO: 1
[2025-04-12 13:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 13:23:04] Production.INFO: Date 2025-04-08
[2025-04-12 13:23:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:23:04] Production.INFO: Date 2025-04-09
[2025-04-12 13:23:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:23:04] Production.INFO: Date 2025-04-10
[2025-04-12 13:23:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:23:04] Production.INFO: ==30751== Releasing lock...
[2025-04-12 13:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 13:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 13:23:04] Production.INFO: ==30759== Releasing lock...
[2025-04-12 13:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 13:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 13:23:04] Production.INFO: Date 2025-04-11
[2025-04-12 13:23:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:23:04] Production.INFO: Date 2025-04-12
[2025-04-12 13:23:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:23:04] Production.INFO: Total Charge 0
[2025-04-12 13:23:04] Production.INFO: CreateAllLog End
[2025-04-12 13:23:04] Production.ERROR: done
[2025-04-12 13:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 13:23:04] Production.INFO: Account Balance End.
[2025-04-12 13:23:04] Production.ERROR: CronJobId end 12
[2025-04-12 13:23:04] Production.INFO: ==30755== Releasing lock...
[2025-04-12 13:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 13:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 13:23:04] Production.ERROR: done
[2025-04-12 13:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 10:23:05
[end_date_ymd] => 2025-04-12 13:23:05
[RateCDR] => 1
)
[2025-04-12 13:23:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 10:23:05' and `end` < '2025-04-12 13:23:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 13:23:11] Production.ERROR: CronJobId end10
[2025-04-12 13:23:11] Production.INFO: ==30753== Releasing lock...
[2025-04-12 13:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 13:23:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 13:23:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 13:23:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 13:23:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 13:23:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 13:23:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 13:23:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 13:23:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 13:23:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 13:23:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 13:23:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 13:23:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 13:23:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 13:23:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 13:23:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 13:23:15] Production.INFO: call_cost start
[2025-04-12 13:23:15] Production.INFO: call_cost end
[2025-04-12 13:23:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 13:23:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 13:23:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 13:23:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 13:23:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 13:23:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 13:23:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 13:23:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 13:23:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 13:23:16] Production.INFO: ==30749== Releasing lock...
[2025-04-12 13:23:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 13:23:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 13:23:18] Production.INFO: count ==1626
[2025-04-12 13:23:19] Production.ERROR: pbx CDR StartTime 2025-04-12 10:23:05 - End Time 2025-04-12 13:23:05
[2025-04-12 13:23:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 13:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891841', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891841', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891841', 'tblTempVendorCDR_20' ) start
[2025-04-12 13:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891841', 'tblTempVendorCDR_20' ) end
[2025-04-12 13:23:19] Production.INFO: ProcessCDR(1,14891841,1,1,2)
[2025-04-12 13:23:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891841,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:23:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891841,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:23:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891841,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:23:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891841,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:23:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891841', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:23:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891841', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:23:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 13:23:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 13:23:23] Production.INFO: ==30757== Releasing lock...
[2025-04-12 13:23:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 13:23:23] Production.INFO: 40.25 MB #Memory Used#
[2025-04-12 18:24:01] Production.INFO: ==30815== Lock acquired, processing the job...
[2025-04-12 18:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 18:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 18:24:01] Production.INFO: neon service started
[2025-04-12 18:24:01] Production.INFO: neon service started
[2025-04-12 18:24:01] Production.INFO: ==30815== Releasing lock...
[2025-04-12 18:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 18:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 13:24:02] Production.INFO: ==30817== Lock acquired, processing the job...
[2025-04-12 13:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 17:24:02] Production.INFO: ==30820== Lock acquired, processing the job...
[2025-04-12 17:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 17:24:02] Production.INFO: ==30820== Releasing lock...
[2025-04-12 17:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 17:24:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 13:24:02] Production.INFO: ==30817== Releasing lock...
[2025-04-12 13:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 13:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 13:24:03] Production.INFO: ==30822== Lock acquired, processing the job...
[2025-04-12 13:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 13:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 13:24:03] Production.INFO: ==30830== Lock acquired, processing the job...
[2025-04-12 13:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 13:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 13:24:03] Production.INFO: ==30824== Lock acquired, processing the job...
[2025-04-12 13:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 13:24:03] Production.INFO: ==30826== Lock acquired, processing the job...
[2025-04-12 13:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 13:24:03] Production.INFO: ==30828== Lock acquired, processing the job...
[2025-04-12 13:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 13:24:03] Production.INFO: ==30832== Lock acquired, processing the job...
[2025-04-12 13:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 13:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 13:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 13:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 13:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 13:24:03] Production.INFO: Account Balance Start.
[2025-04-12 13:24:03] Production.INFO: CreateAllLog Start
[2025-04-12 13:24:03] Production.INFO: 117
[2025-04-12 13:24:03] Production.INFO: Date 2025-04-08
[2025-04-12 13:24:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:24:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 13:24:03] Production.INFO: count ==12
[2025-04-12 13:24:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 13:24:04] Production.INFO: count ==23
[2025-04-12 13:24:04] Production.INFO: Date 2025-04-09
[2025-04-12 13:24:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:24:04] Production.INFO: ==30824== Releasing lock...
[2025-04-12 13:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 13:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 13:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891845') start
[2025-04-12 13:24:04] Production.ERROR: done
[2025-04-12 13:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 13:24:04] Production.INFO: Date 2025-04-10
[2025-04-12 13:24:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:24:04] Production.INFO: Date 2025-04-11
[2025-04-12 13:24:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891845') end
[2025-04-12 13:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 13:24:04] Production.INFO: 1
[2025-04-12 13:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 13:24:04] Production.INFO: Date 2025-04-12
[2025-04-12 13:24:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:24:04] Production.INFO: ==30832== Releasing lock...
[2025-04-12 13:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 13:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 13:24:04] Production.ERROR: done
[2025-04-12 13:24:04] Production.INFO: Total Charge 0
[2025-04-12 13:24:04] Production.INFO: CreateAllLog End
[2025-04-12 13:24:04] Production.INFO: Account Balance End.
[2025-04-12 13:24:04] Production.ERROR: CronJobId end 12
[2025-04-12 13:24:04] Production.INFO: ==30828== Releasing lock...
[2025-04-12 13:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 13:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 13:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 10:24:05
[end_date_ymd] => 2025-04-12 13:24:05
[RateCDR] => 1
)
[2025-04-12 13:24:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 10:24:05' and `end` < '2025-04-12 13:24:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 13:24:12] Production.ERROR: CronJobId end10
[2025-04-12 13:24:12] Production.INFO: ==30826== Releasing lock...
[2025-04-12 13:24:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 13:24:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 13:24:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 13:24:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 13:24:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 13:24:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 13:24:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 13:24:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 13:24:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 13:24:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 13:24:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 13:24:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 13:24:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 13:24:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 13:24:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 13:24:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 13:24:14] Production.INFO: call_cost start
[2025-04-12 13:24:14] Production.INFO: call_cost end
[2025-04-12 13:24:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 13:24:14] Production.INFO: ============== Report Schedule START===========
[2025-04-12 13:24:14] Production.INFO: ============== Report Schedule END===========
[2025-04-12 13:24:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 13:24:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 13:24:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 13:24:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 13:24:14] Production.INFO: ============== Deal alert START===========
[2025-04-12 13:24:14] Production.INFO: ============== Deal alert END===========
[2025-04-12 13:24:14] Production.INFO: ==30822== Releasing lock...
[2025-04-12 13:24:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 13:24:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 13:24:18] Production.INFO: count ==1634
[2025-04-12 13:24:18] Production.ERROR: pbx CDR StartTime 2025-04-12 10:24:05 - End Time 2025-04-12 13:24:05
[2025-04-12 13:24:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 13:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891846', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891846', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891846', 'tblTempVendorCDR_20' ) start
[2025-04-12 13:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891846', 'tblTempVendorCDR_20' ) end
[2025-04-12 13:24:18] Production.INFO: ProcessCDR(1,14891846,1,1,2)
[2025-04-12 13:24:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891846,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:24:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891846,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:24:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891846,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:24:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891846,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:24:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891846', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:24:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891846', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:24:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 13:24:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 13:24:24] Production.INFO: ==30830== Releasing lock...
[2025-04-12 13:24:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 13:24:24] Production.INFO: 40 MB #Memory Used#
[2025-04-12 18:25:01] Production.INFO: ==30889== Lock acquired, processing the job...
[2025-04-12 18:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 18:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 18:25:01] Production.INFO: neon service started
[2025-04-12 18:25:02] Production.INFO: neon service started
[2025-04-12 18:25:02] Production.INFO: ==30889== Releasing lock...
[2025-04-12 18:25:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 18:25:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 13:25:02] Production.INFO: ==30891== Lock acquired, processing the job...
[2025-04-12 13:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 13:25:02] Production.INFO: ==30891== Releasing lock...
[2025-04-12 13:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 13:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 17:25:02] Production.INFO: ==30893== Lock acquired, processing the job...
[2025-04-12 17:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 17:25:02] Production.INFO: ==30893== Releasing lock...
[2025-04-12 17:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 17:25:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 13:25:03] Production.INFO: ==30895== Lock acquired, processing the job...
[2025-04-12 13:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 13:25:03] Production.INFO: ==30899== Lock acquired, processing the job...
[2025-04-12 13:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 13:25:03] Production.INFO: ==30897== Lock acquired, processing the job...
[2025-04-12 13:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 13:25:03] Production.INFO: ==30905== Lock acquired, processing the job...
[2025-04-12 13:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 13:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 13:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 13:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 13:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 13:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 13:25:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 13:25:03] Production.INFO: ==30901== Lock acquired, processing the job...
[2025-04-12 13:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 13:25:03] Production.INFO: ==30903== Lock acquired, processing the job...
[2025-04-12 13:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 13:25:03] Production.INFO: count ==12
[2025-04-12 13: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-12 13:25:03] Production.INFO: count ==23
[2025-04-12 13:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 13:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891848') start
[2025-04-12 13:25:03] Production.INFO: Account Balance Start.
[2025-04-12 13:25:03] Production.INFO: CreateAllLog Start
[2025-04-12 13:25:03] Production.INFO: 117
[2025-04-12 13:25:03] Production.INFO: Date 2025-04-08
[2025-04-12 13:25:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:25:03] Production.INFO: Date 2025-04-09
[2025-04-12 13:25:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:25:03] Production.INFO: Date 2025-04-10
[2025-04-12 13:25:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891848') end
[2025-04-12 13:25:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 13:25:03] Production.INFO: 1
[2025-04-12 13:25:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 13:25:03] Production.INFO: Date 2025-04-11
[2025-04-12 13:25:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:25:03] Production.INFO: Date 2025-04-12
[2025-04-12 13:25:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:25:03] Production.INFO: Total Charge 0
[2025-04-12 13:25:03] Production.INFO: CreateAllLog End
[2025-04-12 13:25:03] Production.INFO: ==30905== Releasing lock...
[2025-04-12 13:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 13:25:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 13:25:04] Production.INFO: ==30897== Releasing lock...
[2025-04-12 13:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 13:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 13:25:04] Production.ERROR: done
[2025-04-12 13:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 13:25:04] Production.INFO: Account Balance End.
[2025-04-12 13:25:04] Production.ERROR: CronJobId end 12
[2025-04-12 13:25:04] Production.INFO: ==30901== Releasing lock...
[2025-04-12 13:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 13:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 13:25:04] Production.ERROR: done
[2025-04-12 13:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 10:25:05
[end_date_ymd] => 2025-04-12 13:25:05
[RateCDR] => 1
)
[2025-04-12 13:25:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 10:25:05' and `end` < '2025-04-12 13:25:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 13:25:12] Production.ERROR: CronJobId end10
[2025-04-12 13:25:12] Production.INFO: ==30899== Releasing lock...
[2025-04-12 13:25:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 13:25:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 13:25:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 13:25:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 13:25:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 13:25:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 13:25:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 13:25:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 13:25:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 13:25:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 13:25:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 13:25:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 13:25:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 13:25:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 13:25:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 13:25:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 13:25:15] Production.INFO: call_cost start
[2025-04-12 13:25:15] Production.INFO: call_cost end
[2025-04-12 13:25:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 13:25:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 13:25:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 13:25:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 13:25:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 13:25:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 13:25:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 13:25:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 13:25:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 13:25:16] Production.INFO: ==30895== Releasing lock...
[2025-04-12 13:25:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 13:25:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 13:25:18] Production.INFO: count ==1626
[2025-04-12 13:25:18] Production.ERROR: pbx CDR StartTime 2025-04-12 10:25:05 - End Time 2025-04-12 13:25:05
[2025-04-12 13:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 13:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891851', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891851', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891851', 'tblTempVendorCDR_20' ) start
[2025-04-12 13:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891851', 'tblTempVendorCDR_20' ) end
[2025-04-12 13:25:18] Production.INFO: ProcessCDR(1,14891851,1,1,2)
[2025-04-12 13:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891851,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:25:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891851,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:25:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891851,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:25:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891851,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891851', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891851', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:25:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 13:25:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 13:25:22] Production.INFO: ==30903== Releasing lock...
[2025-04-12 13:25:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 13:25:22] Production.INFO: 40 MB #Memory Used#
[2025-04-12 18:26:01] Production.INFO: ==30961== Lock acquired, processing the job...
[2025-04-12 18:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 18:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 18:26:01] Production.INFO: neon service started
[2025-04-12 18:26:01] Production.INFO: neon service started
[2025-04-12 18:26:01] Production.INFO: ==30961== Releasing lock...
[2025-04-12 18:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 18:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 13:26:01] Production.INFO: ==30963== Lock acquired, processing the job...
[2025-04-12 13:26:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 13:26:02] Production.INFO: ==30963== Releasing lock...
[2025-04-12 13:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 13:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 17:26:02] Production.INFO: ==30965== Lock acquired, processing the job...
[2025-04-12 17:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 17:26:02] Production.INFO: ==30965== Releasing lock...
[2025-04-12 17:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 17:26:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 13:26:02] Production.INFO: ==30967== Lock acquired, processing the job...
[2025-04-12 13:26:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 13:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 13:26:03] Production.INFO: ==30975== Lock acquired, processing the job...
[2025-04-12 13:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 13:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 13:26:03] Production.INFO: ==30969== Lock acquired, processing the job...
[2025-04-12 13:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 13:26:03] Production.INFO: ==30971== Lock acquired, processing the job...
[2025-04-12 13:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 13:26:03] Production.INFO: ==30973== Lock acquired, processing the job...
[2025-04-12 13:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 13:26:03] Production.INFO: ==30977== Lock acquired, processing the job...
[2025-04-12 13:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 13:26:03] Production.INFO: Account Balance Start.
[2025-04-12 13:26:03] Production.INFO: CreateAllLog Start
[2025-04-12 13:26:03] Production.INFO: 117
[2025-04-12 13:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 13:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 13:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 13:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 13:26:03] Production.INFO: Date 2025-04-08
[2025-04-12 13:26:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:26:03] Production.INFO: Date 2025-04-09
[2025-04-12 13:26:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:26:03] Production.INFO: Date 2025-04-10
[2025-04-12 13:26:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:26:03] Production.INFO: ==30969== Releasing lock...
[2025-04-12 13:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 13:26:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 13:26:03] Production.INFO: Date 2025-04-11
[2025-04-12 13:26:03] Production.INFO: Reseller ==> 0
[2025-04-12 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-12 13:26:03] Production.INFO: Date 2025-04-12
[2025-04-12 13:26:03] Production.ERROR: done
[2025-04-12 13:26:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:26:03] Production.INFO: count ==12
[2025-04-12 13:26:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 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-12 13:26:03] Production.INFO: count ==23
[2025-04-12 13:26:03] Production.INFO: Total Charge 0
[2025-04-12 13:26:03] Production.INFO: CreateAllLog End
[2025-04-12 13:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891855') start
[2025-04-12 13:26:03] Production.ERROR: done
[2025-04-12 13:26:03] Production.INFO: Account Balance End.
[2025-04-12 13:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891855') end
[2025-04-12 13:26:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 13:26:03] Production.INFO: 1
[2025-04-12 13:26:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 13:26:04] Production.ERROR: CronJobId end 12
[2025-04-12 13:26:04] Production.INFO: ==30973== Releasing lock...
[2025-04-12 13:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 13:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 13:26:04] Production.INFO: ==30977== Releasing lock...
[2025-04-12 13:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 13:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 13:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 10:26:05
[end_date_ymd] => 2025-04-12 13:26:05
[RateCDR] => 1
)
[2025-04-12 13:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 10:26:05' and `end` < '2025-04-12 13:26:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 13:26:11] Production.ERROR: CronJobId end10
[2025-04-12 13:26:11] Production.INFO: ==30971== Releasing lock...
[2025-04-12 13:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 13:26:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 13:26:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 13:26:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 13:26:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 13:26:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 13:26:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 13:26:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 13:26:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 13:26:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 13:26:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 13:26:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 13:26:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 13:26:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 13:26:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 13:26:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 13:26:14] Production.INFO: call_cost start
[2025-04-12 13:26:14] Production.INFO: call_cost end
[2025-04-12 13:26:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 13:26:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 13:26:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 13:26:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 13:26:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 13:26:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 13:26:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 13:26:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 13:26:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 13:26:15] Production.INFO: ==30967== Releasing lock...
[2025-04-12 13:26:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 13:26:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 13:26:18] Production.INFO: count ==1625
[2025-04-12 13:26:18] Production.ERROR: pbx CDR StartTime 2025-04-12 10:26:05 - End Time 2025-04-12 13:26:05
[2025-04-12 13:26:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 13:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891856', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891856', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891856', 'tblTempVendorCDR_20' ) start
[2025-04-12 13:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891856', 'tblTempVendorCDR_20' ) end
[2025-04-12 13:26:18] Production.INFO: ProcessCDR(1,14891856,1,1,2)
[2025-04-12 13:26:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891856,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:26:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891856,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:26:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891856,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:26:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891856,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:26:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891856', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:26:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891856', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:26:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 13:26:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 13:26:23] Production.INFO: ==30975== Releasing lock...
[2025-04-12 13:26:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 13:26:23] Production.INFO: 40.25 MB #Memory Used#
[2025-04-12 18:27:01] Production.INFO: ==31031== Lock acquired, processing the job...
[2025-04-12 18:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 18:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 18:27:01] Production.INFO: neon service started
[2025-04-12 18:27:01] Production.INFO: neon service started
[2025-04-12 18:27:01] Production.INFO: ==31031== Releasing lock...
[2025-04-12 18:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 18:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 13:27:02] Production.INFO: ==31034== Lock acquired, processing the job...
[2025-04-12 13:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 13:27:02] Production.INFO: ==31034== Releasing lock...
[2025-04-12 13:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 13:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 17:27:02] Production.INFO: ==31036== Lock acquired, processing the job...
[2025-04-12 17:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 17:27:02] Production.INFO: ==31036== Releasing lock...
[2025-04-12 17:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 17:27:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 13:27:03] Production.INFO: ==31040== Lock acquired, processing the job...
[2025-04-12 13:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 13:27:03] Production.INFO: ==31048== Lock acquired, processing the job...
[2025-04-12 13:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 13:27:03] Production.INFO: ==31040== Releasing lock...
[2025-04-12 13:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 13:27:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 13:27:03] Production.INFO: ==31038== Lock acquired, processing the job...
[2025-04-12 13:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 13:27:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 13:27:03] Production.INFO: ==31042== Lock acquired, processing the job...
[2025-04-12 13:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 13:27:03] Production.INFO: count ==12
[2025-04-12 13: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-12 13:27:03] Production.INFO: count ==23
[2025-04-12 13:27:03] Production.INFO: ==31044== Lock acquired, processing the job...
[2025-04-12 13:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 13:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891858') start
[2025-04-12 13:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 13:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 13:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 13:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 13:27:03] Production.INFO: ==31046== Lock acquired, processing the job...
[2025-04-12 13:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 13:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 13:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891858') end
[2025-04-12 13:27:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 13:27:03] Production.INFO: 1
[2025-04-12 13:27:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 13:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 13:27:03] Production.INFO: Account Balance Start.
[2025-04-12 13:27:03] Production.INFO: CreateAllLog Start
[2025-04-12 13:27:03] Production.INFO: 117
[2025-04-12 13:27:03] Production.INFO: Date 2025-04-08
[2025-04-12 13:27:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:27:03] Production.INFO: Date 2025-04-09
[2025-04-12 13:27:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:27:03] Production.INFO: ==31048== Releasing lock...
[2025-04-12 13:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 13:27:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 13:27:03] Production.INFO: Date 2025-04-10
[2025-04-12 13:27:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:27:03] Production.INFO: Date 2025-04-11
[2025-04-12 13:27:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:27:04] Production.INFO: Date 2025-04-12
[2025-04-12 13:27:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:27:04] Production.INFO: Total Charge 0
[2025-04-12 13:27:04] Production.INFO: CreateAllLog End
[2025-04-12 13:27:04] Production.ERROR: done
[2025-04-12 13:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 13:27:04] Production.INFO: Account Balance End.
[2025-04-12 13:27:04] Production.ERROR: CronJobId end 12
[2025-04-12 13:27:04] Production.INFO: ==31044== Releasing lock...
[2025-04-12 13:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 13:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 13:27:04] Production.ERROR: done
[2025-04-12 13:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 10:27:05
[end_date_ymd] => 2025-04-12 13:27:05
[RateCDR] => 1
)
[2025-04-12 13:27:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 10:27:05' and `end` < '2025-04-12 13:27:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 13:27:12] Production.ERROR: CronJobId end10
[2025-04-12 13:27:12] Production.INFO: ==31042== Releasing lock...
[2025-04-12 13:27:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 13:27:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 13:27:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 13:27:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 13:27:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 13:27:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 13:27:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 13:27:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 13:27:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 13:27:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 13:27:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 13:27:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 13:27:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 13:27:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 13:27:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 13:27:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 13:27:15] Production.INFO: call_cost start
[2025-04-12 13:27:15] Production.INFO: call_cost end
[2025-04-12 13:27:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 13:27:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 13:27:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 13:27:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 13:27:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 13:27:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 13:27:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 13:27:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 13:27:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 13:27:16] Production.INFO: ==31038== Releasing lock...
[2025-04-12 13:27:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 13:27:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 13:27:18] Production.INFO: count ==1620
[2025-04-12 13:27:18] Production.ERROR: pbx CDR StartTime 2025-04-12 10:27:05 - End Time 2025-04-12 13:27:05
[2025-04-12 13:27:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 13:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891861', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891861', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891861', 'tblTempVendorCDR_20' ) start
[2025-04-12 13:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891861', 'tblTempVendorCDR_20' ) end
[2025-04-12 13:27:18] Production.INFO: ProcessCDR(1,14891861,1,1,2)
[2025-04-12 13:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891861,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:27:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891861,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:27:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891861,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:27:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891861,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:27:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891861', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:27:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891861', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:27:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 13:27:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 13:27:23] Production.INFO: ==31046== Releasing lock...
[2025-04-12 13:27:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 13:27:23] Production.INFO: 40.25 MB #Memory Used#
[2025-04-12 18:28:02] Production.INFO: ==31120== Lock acquired, processing the job...
[2025-04-12 18:28:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 18:28:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 18:28:02] Production.INFO: neon service started
[2025-04-12 18:28:02] Production.INFO: neon service started
[2025-04-12 18:28:02] Production.INFO: ==31120== Releasing lock...
[2025-04-12 18:28:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 18:28:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 13:28:02] Production.INFO: ==31122== Lock acquired, processing the job...
[2025-04-12 13:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 13:28:03] Production.INFO: ==31122== Releasing lock...
[2025-04-12 13:28:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 13:28:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 17:28:03] Production.INFO: ==31124== Lock acquired, processing the job...
[2025-04-12 17:28:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 17:28:03] Production.INFO: ==31124== Releasing lock...
[2025-04-12 17:28:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 17:28:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 13:28:03] Production.INFO: ==31126== Lock acquired, processing the job...
[2025-04-12 13:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 13:28:03] Production.INFO: ==31128== Lock acquired, processing the job...
[2025-04-12 13:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 13:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 13:28:03] Production.INFO: ==31130== Lock acquired, processing the job...
[2025-04-12 13:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 13:28:03] Production.INFO: ==31134== Lock acquired, processing the job...
[2025-04-12 13:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 13:28:03] Production.INFO: ==31132== Lock acquired, processing the job...
[2025-04-12 13:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 13:28:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 13:28:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 13:28:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 13:28:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 13:28:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 13:28:04] Production.INFO: Account Balance Start.
[2025-04-12 13:28:04] Production.INFO: CreateAllLog Start
[2025-04-12 13:28:04] Production.INFO: 117
[2025-04-12 13:28:04] Production.INFO: Date 2025-04-08
[2025-04-12 13:28:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:28:04] Production.INFO: Date 2025-04-09
[2025-04-12 13:28:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:28:04] Production.INFO: ==31136== Lock acquired, processing the job...
[2025-04-12 13:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 13:28:04] Production.INFO: ==31128== Releasing lock...
[2025-04-12 13:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 13:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 13:28:04] Production.INFO: Date 2025-04-10
[2025-04-12 13:28:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:28:04] Production.INFO: Date 2025-04-11
[2025-04-12 13:28:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:28:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 13:28:04] Production.INFO: Date 2025-04-12
[2025-04-12 13:28:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:28:04] Production.INFO: Total Charge 0
[2025-04-12 13:28:04] Production.INFO: count ==12
[2025-04-12 13:28:04] Production.INFO: CreateAllLog End
[2025-04-12 13:28:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 13:28:04] Production.INFO: count ==23
[2025-04-12 13:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891865') start
[2025-04-12 13:28:04] Production.ERROR: done
[2025-04-12 13:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 13:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891865') end
[2025-04-12 13:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 13:28:04] Production.INFO: 1
[2025-04-12 13:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 13:28:04] Production.ERROR: done
[2025-04-12 13:28:04] Production.INFO: Account Balance End.
[2025-04-12 13:28:04] Production.INFO: ==31136== Releasing lock...
[2025-04-12 13:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 13:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 13:28:04] Production.ERROR: CronJobId end 12
[2025-04-12 13:28:04] Production.INFO: ==31132== Releasing lock...
[2025-04-12 13:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 13:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 13:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 10:28:05
[end_date_ymd] => 2025-04-12 13:28:05
[RateCDR] => 1
)
[2025-04-12 13:28:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 10:28:05' and `end` < '2025-04-12 13:28:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 13:28:12] Production.ERROR: CronJobId end10
[2025-04-12 13:28:12] Production.INFO: ==31130== Releasing lock...
[2025-04-12 13:28:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 13:28:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 13:28:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 13:28:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 13:28:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 13:28:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 13:28:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 13:28:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 13:28:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 13:28:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 13:28:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 13:28:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 13:28:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 13:28:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 13:28:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 13:28:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 13:28:15] Production.INFO: call_cost start
[2025-04-12 13:28:15] Production.INFO: call_cost end
[2025-04-12 13:28:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 13:28:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 13:28:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 13:28:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 13:28:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 13:28:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 13:28:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 13:28:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 13:28:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 13:28:16] Production.INFO: ==31126== Releasing lock...
[2025-04-12 13:28:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 13:28:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 13:28:18] Production.INFO: count ==1628
[2025-04-12 13:28:19] Production.ERROR: pbx CDR StartTime 2025-04-12 10:28:05 - End Time 2025-04-12 13:28:05
[2025-04-12 13:28:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 13:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891866', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891866', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891866', 'tblTempVendorCDR_20' ) start
[2025-04-12 13:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891866', 'tblTempVendorCDR_20' ) end
[2025-04-12 13:28:19] Production.INFO: ProcessCDR(1,14891866,1,1,2)
[2025-04-12 13:28:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891866,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:28:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891866,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:28:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891866,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:28:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891866,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:28:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891866', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:28:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891866', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:28:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 13:28:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 13:28:24] Production.INFO: ==31134== Releasing lock...
[2025-04-12 13:28:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 13:28:24] Production.INFO: 40.25 MB #Memory Used#
[2025-04-12 18:29:01] Production.INFO: ==31196== Lock acquired, processing the job...
[2025-04-12 18:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 18:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 18:29:01] Production.INFO: neon service started
[2025-04-12 18:29:01] Production.INFO: neon service started
[2025-04-12 18:29:01] Production.INFO: ==31196== Releasing lock...
[2025-04-12 18:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 18:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 13:29:02] Production.INFO: ==31198== Lock acquired, processing the job...
[2025-04-12 13:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 13:29:02] Production.INFO: ==31198== Releasing lock...
[2025-04-12 13:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 13:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 17:29:02] Production.INFO: ==31200== Lock acquired, processing the job...
[2025-04-12 17:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 17:29:02] Production.INFO: ==31200== Releasing lock...
[2025-04-12 17:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 17:29:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 13:29:02] Production.INFO: ==31202== Lock acquired, processing the job...
[2025-04-12 13:29:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 13:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 13:29:03] Production.INFO: ==31204== Lock acquired, processing the job...
[2025-04-12 13:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 13:29:03] Production.INFO: ==31208== Lock acquired, processing the job...
[2025-04-12 13:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 13:29:03] Production.INFO: Account Balance Start.
[2025-04-12 13:29:03] Production.INFO: CreateAllLog Start
[2025-04-12 13:29:03] Production.INFO: 117
[2025-04-12 13:29:03] Production.INFO: Date 2025-04-08
[2025-04-12 13:29:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:29:03] Production.INFO: Date 2025-04-09
[2025-04-12 13:29:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:29:03] Production.INFO: Date 2025-04-10
[2025-04-12 13:29:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:29:03] Production.INFO: Date 2025-04-11
[2025-04-12 13:29:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:29:03] Production.INFO: Date 2025-04-12
[2025-04-12 13:29:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:29:03] Production.INFO: Total Charge 0
[2025-04-12 13:29:03] Production.INFO: CreateAllLog End
[2025-04-12 13:29:03] Production.INFO: ==31204== Releasing lock...
[2025-04-12 13:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 13:29:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 13:29:03] Production.INFO: Account Balance End.
[2025-04-12 13:29:03] Production.ERROR: CronJobId end 12
[2025-04-12 13:29:03] Production.INFO: ==31208== Releasing lock...
[2025-04-12 13:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 13:29:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 13:29:03] Production.INFO: ==31206== Lock acquired, processing the job...
[2025-04-12 13:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 13:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 13:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 13:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 13:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 13:29:03] Production.INFO: ==31212== Lock acquired, processing the job...
[2025-04-12 13:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 13:29:03] Production.INFO: ==31210== Lock acquired, processing the job...
[2025-04-12 13:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 13:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 13: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-12 13:29:03] Production.INFO: count ==12
[2025-04-12 13:29:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 13:29:04] Production.INFO: count ==23
[2025-04-12 13:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891870') start
[2025-04-12 13:29:04] Production.ERROR: done
[2025-04-12 13:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 13:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891870') end
[2025-04-12 13:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 13:29:04] Production.INFO: 1
[2025-04-12 13:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 13:29:04] Production.INFO: ==31212== Releasing lock...
[2025-04-12 13:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 13:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 13:29:04] Production.ERROR: done
[2025-04-12 13:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 10:29:05
[end_date_ymd] => 2025-04-12 13:29:05
[RateCDR] => 1
)
[2025-04-12 13:29:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 10:29:05' and `end` < '2025-04-12 13:29:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 13:29:11] Production.ERROR: CronJobId end10
[2025-04-12 13:29:11] Production.INFO: ==31206== Releasing lock...
[2025-04-12 13:29:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 13:29:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 13:29:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 13:29:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 13:29:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 13:29:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 13:29:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 13:29:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 13:29:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 13:29:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 13:29:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 13:29:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 13:29:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 13:29:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 13:29:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 13:29:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 13:29:13] Production.INFO: call_cost start
[2025-04-12 13:29:13] Production.INFO: call_cost end
[2025-04-12 13:29:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 13:29:14] Production.INFO: ============== Report Schedule START===========
[2025-04-12 13:29:14] Production.INFO: ============== Report Schedule END===========
[2025-04-12 13:29:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 13:29:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 13:29:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 13:29:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 13:29:14] Production.INFO: ============== Deal alert START===========
[2025-04-12 13:29:14] Production.INFO: ============== Deal alert END===========
[2025-04-12 13:29:14] Production.INFO: ==31202== Releasing lock...
[2025-04-12 13:29:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 13:29:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 13:29:18] Production.INFO: count ==1629
[2025-04-12 13:29:18] Production.ERROR: pbx CDR StartTime 2025-04-12 10:29:05 - End Time 2025-04-12 13:29:05
[2025-04-12 13:29:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 13:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891871', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891871', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891871', 'tblTempVendorCDR_20' ) start
[2025-04-12 13:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891871', 'tblTempVendorCDR_20' ) end
[2025-04-12 13:29:18] Production.INFO: ProcessCDR(1,14891871,1,1,2)
[2025-04-12 13:29:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891871,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:29:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891871,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:29:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891871,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:29:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891871,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:29:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891871', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:29:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891871', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:29:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 13:29:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 13:29:24] Production.INFO: ==31210== Releasing lock...
[2025-04-12 13:29:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 13:29:24] Production.INFO: 40.25 MB #Memory Used#
[2025-04-12 18:30:02] Production.INFO: ==31275== Lock acquired, processing the job...
[2025-04-12 18:30:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 18:30:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 18:30:02] Production.INFO: neon service started
[2025-04-12 18:30:02] Production.INFO: neon service started
[2025-04-12 18:30:02] Production.INFO: ==31275== Releasing lock...
[2025-04-12 18:30:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 18:30:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 13:30:02] Production.INFO: ==31277== Lock acquired, processing the job...
[2025-04-12 13:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 17:30:02] Production.INFO: ==31279== Lock acquired, processing the job...
[2025-04-12 17:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 17:30:02] Production.INFO: ==31279== Releasing lock...
[2025-04-12 17:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 17:30:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 13:30:03] Production.INFO: ==31277== Releasing lock...
[2025-04-12 13:30:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 13:30:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 13:30:04] Production.INFO: ==31282== Lock acquired, processing the job...
[2025-04-12 13:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 13:30:04] Production.INFO: ==31284== Lock acquired, processing the job...
[2025-04-12 13:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 13:30:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 13:30:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 13:30:04] Production.INFO: ==31282== Releasing lock...
[2025-04-12 13:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 13:30:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 13:30:04] Production.INFO: ==31288== Lock acquired, processing the job...
[2025-04-12 13:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 13:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 13:30:04] Production.INFO: ==31290== Lock acquired, processing the job...
[2025-04-12 13:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 13:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 13:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 13:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 13:30:04] Production.INFO: Account Balance Start.
[2025-04-12 13:30:04] Production.INFO: CreateAllLog Start
[2025-04-12 13:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 13:30:04] Production.INFO: 117
[2025-04-12 13:30:04] Production.INFO: Date 2025-04-08
[2025-04-12 13:30:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:30:04] Production.INFO: Date 2025-04-09
[2025-04-12 13:30:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:30:04] Production.INFO: ==31286== Lock acquired, processing the job...
[2025-04-12 13:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 13:30:04] Production.INFO: Date 2025-04-10
[2025-04-12 13:30:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:30:04] Production.INFO: Date 2025-04-11
[2025-04-12 13:30:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:30:04] Production.INFO: Date 2025-04-12
[2025-04-12 13:30:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:30:04] Production.INFO: Total Charge 0
[2025-04-12 13:30:04] Production.INFO: CreateAllLog End
[2025-04-12 13:30:04] Production.INFO: ==31292== Lock acquired, processing the job...
[2025-04-12 13:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 13:30:04] Production.INFO: ==31294== Lock acquired, processing the job...
[2025-04-12 13:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 13:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 13:30:04] Production.INFO: ==31297== Lock acquired, processing the job...
[2025-04-12 13:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 13:30:05] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 13:30:05] Production.INFO: ==31286== Releasing lock...
[2025-04-12 13:30:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 13:30:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 13:30:05] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 13:30:05] Production.INFO: count ==12
[2025-04-12 13:30:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 13:30:05] Production.INFO: count ==23
[2025-04-12 13:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14891875') start
[2025-04-12 13:30:05] Production.ERROR: done
[2025-04-12 13:30:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 13:30:05] Production.INFO: Account Balance End.
[2025-04-12 13:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14891875') end
[2025-04-12 13:30:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 13:30:05] Production.INFO: 1
[2025-04-12 13:30:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 13:30:05] Production.ERROR: CronJobId end 12
[2025-04-12 13:30:05] Production.INFO: ==31290== Releasing lock...
[2025-04-12 13:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 13:30:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 13:30:05] Production.INFO: ==31297== Releasing lock...
[2025-04-12 13:30:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 13:30:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 13:30:05] Production.ERROR: done
[2025-04-12 13:30:05] Production.ERROR: done
[2025-04-12 13:30:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 13:30:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14891876', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 13:30:07] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 10:30:07
[end_date_ymd] => 2025-04-12 13:30:07
[RateCDR] => 1
)
[2025-04-12 13: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-12 10:30:07' and `end` < '2025-04-12 13: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-12 13:30:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14891876', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 13:30:10] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 13:30:10] Production.INFO: ProcessCDR(1,14891876,1,1,2)
[2025-04-12 13:30:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14891876,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:30:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14891876,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:30:10] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 13:30:10] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 13:30:10] Production.INFO: ==31294== Releasing lock...
[2025-04-12 13:30:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 13:30:10] Production.INFO: 26 MB #Memory Used#
[2025-04-12 13:30:13] Production.ERROR: CronJobId end10
[2025-04-12 13:30:13] Production.INFO: ==31288== Releasing lock...
[2025-04-12 13:30:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 13:30:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 13:30:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 13:30:16] Production.INFO: ============== Balance Warning START===========
[2025-04-12 13:30:16] Production.INFO: ============== Balance Warning END===========
[2025-04-12 13:30:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 13:30:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 13:30:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 13:30:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 13:30:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 13:30:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 13:30:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 13:30:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 13:30:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 13:30:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 13:30:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 13:30:16] Production.INFO: call_cost start
[2025-04-12 13:30:16] Production.INFO: call_cost end
[2025-04-12 13:30:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 13:30:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 13:30:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 13:30:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 13:30:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 13:30:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 13:30:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 13:30:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 13:30:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 13:30:17] Production.INFO: ==31284== Releasing lock...
[2025-04-12 13:30:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 13:30:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 13:30:20] Production.INFO: count ==1638
[2025-04-12 13:30:20] Production.ERROR: pbx CDR StartTime 2025-04-12 10:30:07 - End Time 2025-04-12 13:30:07
[2025-04-12 13:30:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 13:30:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891877', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:30:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891877', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:30:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891877', 'tblTempVendorCDR_20' ) start
[2025-04-12 13:30:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891877', 'tblTempVendorCDR_20' ) end
[2025-04-12 13:30:20] Production.INFO: ProcessCDR(1,14891877,1,1,2)
[2025-04-12 13:30:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891877,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:30:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891877,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:30:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891877,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:30:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891877,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:30:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891877', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:30:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891877', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:30:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 13:30:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 13:30:26] Production.INFO: ==31292== Releasing lock...
[2025-04-12 13:30:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 13:30:26] Production.INFO: 40 MB #Memory Used#
[2025-04-12 18:31:01] Production.INFO: ==31350== Lock acquired, processing the job...
[2025-04-12 18:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 18:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 18:31:01] Production.INFO: neon service started
[2025-04-12 18:31:01] Production.INFO: neon service started
[2025-04-12 18:31:01] Production.INFO: ==31350== Releasing lock...
[2025-04-12 18:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 18:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 13:31:01] Production.INFO: ==31352== Lock acquired, processing the job...
[2025-04-12 13:31:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 13:31:02] Production.INFO: ==31352== Releasing lock...
[2025-04-12 13:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 13:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 17:31:02] Production.INFO: ==31354== Lock acquired, processing the job...
[2025-04-12 17:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 17:31:02] Production.INFO: ==31354== Releasing lock...
[2025-04-12 17:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 17:31:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 13:31:03] Production.INFO: ==31356== Lock acquired, processing the job...
[2025-04-12 13:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 13:31:03] Production.INFO: ==31362== Lock acquired, processing the job...
[2025-04-12 13:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 13:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 13:31:03] Production.INFO: ==31358== Lock acquired, processing the job...
[2025-04-12 13:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 13:31:03] Production.INFO: Account Balance Start.
[2025-04-12 13:31:03] Production.INFO: CreateAllLog Start
[2025-04-12 13:31:03] Production.INFO: 117
[2025-04-12 13:31:03] Production.INFO: Date 2025-04-08
[2025-04-12 13:31:03] Production.INFO: ==31360== Lock acquired, processing the job...
[2025-04-12 13:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 13:31:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:31:03] Production.INFO: Date 2025-04-09
[2025-04-12 13:31:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:31:03] Production.INFO: ==31364== Lock acquired, processing the job...
[2025-04-12 13:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 13:31:03] Production.INFO: ==31366== Lock acquired, processing the job...
[2025-04-12 13:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 13:31:03] Production.INFO: Date 2025-04-10
[2025-04-12 13:31:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 13:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 13:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 13:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 13:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 13:31:03] Production.INFO: Date 2025-04-11
[2025-04-12 13:31:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:31:03] Production.INFO: Date 2025-04-12
[2025-04-12 13:31:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:31:03] Production.INFO: Total Charge 0
[2025-04-12 13:31:03] Production.INFO: CreateAllLog End
[2025-04-12 13:31:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 13:31:03] Production.INFO: count ==12
[2025-04-12 13:31:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 13:31:03] Production.INFO: ==31358== Releasing lock...
[2025-04-12 13:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 13:31:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 13:31:03] Production.INFO: count ==23
[2025-04-12 13:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891881') start
[2025-04-12 13:31:04] Production.ERROR: done
[2025-04-12 13:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 13:31:04] Production.INFO: Account Balance End.
[2025-04-12 13:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891881') end
[2025-04-12 13:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 13:31:04] Production.INFO: 1
[2025-04-12 13:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 13:31:04] Production.INFO: ==31366== Releasing lock...
[2025-04-12 13:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 13:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 13:31:04] Production.ERROR: CronJobId end 12
[2025-04-12 13:31:04] Production.INFO: ==31362== Releasing lock...
[2025-04-12 13:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 13:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 13:31:04] Production.ERROR: done
[2025-04-12 13:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 10:31:05
[end_date_ymd] => 2025-04-12 13:31:05
[RateCDR] => 1
)
[2025-04-12 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-12 10:31:05' and `end` < '2025-04-12 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-12 13:31:11] Production.ERROR: CronJobId end10
[2025-04-12 13:31:11] Production.INFO: ==31360== Releasing lock...
[2025-04-12 13:31:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 13:31:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 13:31:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 13:31:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 13:31:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 13:31:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 13:31:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 13:31:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 13:31:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 13:31:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 13:31:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 13:31:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 13:31:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 13:31:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 13:31:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 13:31:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 13:31:14] Production.INFO: call_cost start
[2025-04-12 13:31:14] Production.INFO: call_cost end
[2025-04-12 13:31:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 13:31:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 13:31:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 13:31:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 13:31:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 13:31:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 13:31:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 13:31:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 13:31:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 13:31:15] Production.INFO: ==31356== Releasing lock...
[2025-04-12 13:31:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 13:31:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 13:31:18] Production.INFO: count ==1664
[2025-04-12 13:31:18] Production.ERROR: pbx CDR StartTime 2025-04-12 10:31:05 - End Time 2025-04-12 13:31:05
[2025-04-12 13:31:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 13:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891882', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891882', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891882', 'tblTempVendorCDR_20' ) start
[2025-04-12 13:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891882', 'tblTempVendorCDR_20' ) end
[2025-04-12 13:31:18] Production.INFO: ProcessCDR(1,14891882,1,1,2)
[2025-04-12 13:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891882,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:31:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891882,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:31:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891882,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:31:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891882,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:31:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891882', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:31:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891882', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:31:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 13:31:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 13:31:23] Production.INFO: ==31364== Releasing lock...
[2025-04-12 13:31:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 13:31:23] Production.INFO: 40.75 MB #Memory Used#
[2025-04-12 18:32:02] Production.INFO: ==31463== Lock acquired, processing the job...
[2025-04-12 18:32:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 18:32:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 18:32:02] Production.INFO: neon service started
[2025-04-12 18:32:02] Production.INFO: neon service started
[2025-04-12 18:32:02] Production.INFO: ==31463== Releasing lock...
[2025-04-12 18:32:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 18:32:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 13:32:02] Production.INFO: ==31465== Lock acquired, processing the job...
[2025-04-12 13:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 13:32:02] Production.INFO: ==31465== Releasing lock...
[2025-04-12 13:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 13:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 17:32:02] Production.INFO: ==31467== Lock acquired, processing the job...
[2025-04-12 17:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 17:32:03] Production.INFO: ==31467== Releasing lock...
[2025-04-12 17:32:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 17:32:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 13:32:03] Production.INFO: ==31476== Lock acquired, processing the job...
[2025-04-12 13:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 13:32:03] Production.INFO: ==31470== Lock acquired, processing the job...
[2025-04-12 13:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 13:32:03] Production.INFO: ==31480== Lock acquired, processing the job...
[2025-04-12 13:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 13:32:04] Production.INFO: ==31474== Lock acquired, processing the job...
[2025-04-12 13:32:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 13:32:04] Production.INFO: ==31472== Lock acquired, processing the job...
[2025-04-12 13:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 13:32:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 13:32:04] Production.INFO: Account Balance Start.
[2025-04-12 13:32:04] Production.INFO: CreateAllLog Start
[2025-04-12 13:32:04] Production.INFO: 117
[2025-04-12 13:32:04] Production.INFO: Date 2025-04-08
[2025-04-12 13:32:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:32:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 13:32:04] Production.INFO: count ==12
[2025-04-12 13:32:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 13:32:04] Production.INFO: count ==23
[2025-04-12 13:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891884') start
[2025-04-12 13:32:04] Production.INFO: Date 2025-04-09
[2025-04-12 13:32:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:32:04] Production.INFO: ==31478== Lock acquired, processing the job...
[2025-04-12 13:32:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 13:32:04] Production.INFO: Date 2025-04-10
[2025-04-12 13:32:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 13:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 13:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 13:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 13:32:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 13:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891884') end
[2025-04-12 13:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 13:32:04] Production.INFO: 1
[2025-04-12 13:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 13:32:04] Production.INFO: Date 2025-04-11
[2025-04-12 13:32:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:32:04] Production.INFO: Date 2025-04-12
[2025-04-12 13:32:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:32:04] Production.INFO: Total Charge 0
[2025-04-12 13:32:04] Production.INFO: CreateAllLog End
[2025-04-12 13:32:04] Production.INFO: ==31480== Releasing lock...
[2025-04-12 13:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 13:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 13:32:04] Production.INFO: ==31472== Releasing lock...
[2025-04-12 13:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 13:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 13:32:04] Production.INFO: Account Balance End.
[2025-04-12 13:32:04] Production.ERROR: done
[2025-04-12 13:32:04] Production.ERROR: CronJobId end 12
[2025-04-12 13:32:04] Production.INFO: ==31476== Releasing lock...
[2025-04-12 13:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 13:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 13:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 13:32:04] Production.ERROR: done
[2025-04-12 13:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 10:32:05
[end_date_ymd] => 2025-04-12 13:32:05
[RateCDR] => 1
)
[2025-04-12 13:32:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 10:32:05' and `end` < '2025-04-12 13:32:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 13:32:12] Production.ERROR: CronJobId end10
[2025-04-12 13:32:12] Production.INFO: ==31474== Releasing lock...
[2025-04-12 13:32:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 13:32:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 13:32:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 13:32:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 13:32:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 13:32:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 13:32:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 13:32:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 13:32:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 13:32:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 13:32:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 13:32:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 13:32:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 13:32:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 13:32:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 13:32:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 13:32:14] Production.INFO: call_cost start
[2025-04-12 13:32:14] Production.INFO: call_cost end
[2025-04-12 13:32:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 13:32:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 13:32:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 13:32:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 13:32:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 13:32:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 13:32:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 13:32:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 13:32:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 13:32:15] Production.INFO: ==31470== Releasing lock...
[2025-04-12 13:32:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 13:32:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 13:32:18] Production.INFO: count ==1663
[2025-04-12 13:32:19] Production.ERROR: pbx CDR StartTime 2025-04-12 10:32:05 - End Time 2025-04-12 13:32:05
[2025-04-12 13:32:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 13:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891887', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891887', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891887', 'tblTempVendorCDR_20' ) start
[2025-04-12 13:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891887', 'tblTempVendorCDR_20' ) end
[2025-04-12 13:32:19] Production.INFO: ProcessCDR(1,14891887,1,1,2)
[2025-04-12 13:32:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891887,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:32:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891887,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:32:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891887,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:32:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891887,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:32:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891887', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:32:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891887', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:32:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 13:32:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 13:32:24] Production.INFO: ==31478== Releasing lock...
[2025-04-12 13:32:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 13:32:24] Production.INFO: 40.5 MB #Memory Used#
[2025-04-12 18:33:01] Production.INFO: ==31534== Lock acquired, processing the job...
[2025-04-12 18:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 18:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 18:33:01] Production.INFO: neon service started
[2025-04-12 18:33:01] Production.INFO: neon service started
[2025-04-12 18:33:01] Production.INFO: ==31534== Releasing lock...
[2025-04-12 18:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 18:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 13:33:02] Production.INFO: ==31536== Lock acquired, processing the job...
[2025-04-12 13:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 17:33:02] Production.INFO: ==31538== Lock acquired, processing the job...
[2025-04-12 17:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 13:33:02] Production.INFO: ==31536== Releasing lock...
[2025-04-12 13:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 13:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 17:33:02] Production.INFO: ==31538== Releasing lock...
[2025-04-12 17:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 17:33:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 13:33:03] Production.INFO: ==31551== Lock acquired, processing the job...
[2025-04-12 13:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 13:33:03] Production.INFO: ==31549== Lock acquired, processing the job...
[2025-04-12 13:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 13:33:03] Production.INFO: ==31541== Lock acquired, processing the job...
[2025-04-12 13:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 13:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 13:33:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 13:33:03] Production.INFO: ==31545== Lock acquired, processing the job...
[2025-04-12 13:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 13:33:03] Production.INFO: count ==12
[2025-04-12 13:33:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 13:33:03] Production.INFO: ==31543== Lock acquired, processing the job...
[2025-04-12 13:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 13:33:03] Production.INFO: count ==23
[2025-04-12 13:33:03] Production.INFO: ==31547== Lock acquired, processing the job...
[2025-04-12 13:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 13:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 13:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891888') start
[2025-04-12 13:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 13:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 13:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 13:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 13:33:03] Production.INFO: Account Balance Start.
[2025-04-12 13:33:03] Production.INFO: CreateAllLog Start
[2025-04-12 13:33:03] Production.INFO: 117
[2025-04-12 13:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891888') end
[2025-04-12 13:33:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 13:33:03] Production.INFO: 1
[2025-04-12 13:33:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 13:33:03] Production.INFO: Date 2025-04-08
[2025-04-12 13:33:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:33:03] Production.INFO: ==31551== Releasing lock...
[2025-04-12 13:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 13:33:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 13:33:03] Production.INFO: Date 2025-04-09
[2025-04-12 13:33:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:33:03] Production.ERROR: done
[2025-04-12 13:33:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 13:33:03] Production.INFO: Date 2025-04-10
[2025-04-12 13:33:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:33:03] Production.INFO: Date 2025-04-11
[2025-04-12 13:33:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:33:04] Production.ERROR: done
[2025-04-12 13:33:04] Production.INFO: Date 2025-04-12
[2025-04-12 13:33:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:33:04] Production.INFO: ==31543== Releasing lock...
[2025-04-12 13:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 13:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 13:33:04] Production.INFO: Total Charge 0
[2025-04-12 13:33:04] Production.INFO: CreateAllLog End
[2025-04-12 13:33:04] Production.INFO: Account Balance End.
[2025-04-12 13:33:04] Production.ERROR: CronJobId end 12
[2025-04-12 13:33:04] Production.INFO: ==31547== Releasing lock...
[2025-04-12 13:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 13:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 13:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 10:33:05
[end_date_ymd] => 2025-04-12 13:33:05
[RateCDR] => 1
)
[2025-04-12 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-12 10:33:05' and `end` < '2025-04-12 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-12 13:33:11] Production.ERROR: CronJobId end10
[2025-04-12 13:33:11] Production.INFO: ==31545== Releasing lock...
[2025-04-12 13:33:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 13:33:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 13:33:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 13:33:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 13:33:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 13:33:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 13:33:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 13:33:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 13:33:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 13:33:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 13:33:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 13:33:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 13:33:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 13:33:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 13:33:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 13:33:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 13:33:14] Production.INFO: call_cost start
[2025-04-12 13:33:14] Production.INFO: call_cost end
[2025-04-12 13:33:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 13:33:14] Production.INFO: ============== Report Schedule START===========
[2025-04-12 13:33:14] Production.INFO: ============== Report Schedule END===========
[2025-04-12 13:33:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 13:33:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 13:33:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 13:33:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 13:33:14] Production.INFO: ============== Deal alert START===========
[2025-04-12 13:33:14] Production.INFO: ============== Deal alert END===========
[2025-04-12 13:33:14] Production.INFO: ==31541== Releasing lock...
[2025-04-12 13:33:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 13:33:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 13:33:18] Production.INFO: count ==1663
[2025-04-12 13:33:18] Production.ERROR: pbx CDR StartTime 2025-04-12 10:33:05 - End Time 2025-04-12 13:33:05
[2025-04-12 13:33:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 13:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891892', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891892', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891892', 'tblTempVendorCDR_20' ) start
[2025-04-12 13:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891892', 'tblTempVendorCDR_20' ) end
[2025-04-12 13:33:18] Production.INFO: ProcessCDR(1,14891892,1,1,2)
[2025-04-12 13:33:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891892,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:33:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891892,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:33:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891892,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:33:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891892,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:33:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891892', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:33:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891892', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:33:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 13:33:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 13:33:24] Production.INFO: ==31549== Releasing lock...
[2025-04-12 13:33:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 13:33:24] Production.INFO: 40.5 MB #Memory Used#
[2025-04-12 18:34:02] Production.INFO: ==31606== Lock acquired, processing the job...
[2025-04-12 18:34:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 18:34:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 18:34:02] Production.INFO: neon service started
[2025-04-12 18:34:02] Production.INFO: neon service started
[2025-04-12 18:34:02] Production.INFO: ==31606== Releasing lock...
[2025-04-12 18:34:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 18:34:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 17:34:02] Production.INFO: ==31611== Lock acquired, processing the job...
[2025-04-12 17:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 17:34:02] Production.INFO: ==31611== Releasing lock...
[2025-04-12 17:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 17:34:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 13:34:02] Production.INFO: ==31609== Lock acquired, processing the job...
[2025-04-12 13:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 13:34:02] Production.INFO: ==31609== Releasing lock...
[2025-04-12 13:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 13:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 13:34:03] Production.INFO: ==31613== Lock acquired, processing the job...
[2025-04-12 13:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 13:34:03] Production.INFO: ==31615== Lock acquired, processing the job...
[2025-04-12 13:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 13:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 13:34:03] Production.INFO: ==31619== Lock acquired, processing the job...
[2025-04-12 13:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 13:34:03] Production.INFO: ==31617== Lock acquired, processing the job...
[2025-04-12 13:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 13:34:04] Production.INFO: Account Balance Start.
[2025-04-12 13:34:04] Production.INFO: CreateAllLog Start
[2025-04-12 13:34:04] Production.INFO: 117
[2025-04-12 13:34:04] Production.INFO: Date 2025-04-08
[2025-04-12 13:34:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 13:34:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 13:34:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 13:34:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 13:34:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:34:04] Production.INFO: ==31621== Lock acquired, processing the job...
[2025-04-12 13:34:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 13:34:04] Production.INFO: ==31623== Lock acquired, processing the job...
[2025-04-12 13:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 13:34:04] Production.INFO: ==31615== Releasing lock...
[2025-04-12 13:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 13:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 13:34:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 13:34:04] Production.INFO: Date 2025-04-09
[2025-04-12 13:34:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:34:04] Production.INFO: Date 2025-04-10
[2025-04-12 13:34:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:34:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 13:34:04] Production.INFO: Date 2025-04-11
[2025-04-12 13:34:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:34:04] Production.INFO: count ==12
[2025-04-12 13:34:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 13:34:04] Production.INFO: count ==23
[2025-04-12 13:34:04] Production.ERROR: done
[2025-04-12 13:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 13:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891896') start
[2025-04-12 13:34:04] Production.INFO: Date 2025-04-12
[2025-04-12 13:34:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:34:04] Production.INFO: Total Charge 0
[2025-04-12 13:34:04] Production.INFO: CreateAllLog End
[2025-04-12 13:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891896') end
[2025-04-12 13:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 13:34:04] Production.INFO: 1
[2025-04-12 13:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 13:34:04] Production.INFO: ==31623== Releasing lock...
[2025-04-12 13:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 13:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 13:34:04] Production.ERROR: done
[2025-04-12 13:34:04] Production.INFO: Account Balance End.
[2025-04-12 13:34:04] Production.ERROR: CronJobId end 12
[2025-04-12 13:34:04] Production.INFO: ==31619== Releasing lock...
[2025-04-12 13:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 13:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 13:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 10:34:05
[end_date_ymd] => 2025-04-12 13:34:05
[RateCDR] => 1
)
[2025-04-12 13:34:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 10:34:05' and `end` < '2025-04-12 13:34:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 13:34:12] Production.ERROR: CronJobId end10
[2025-04-12 13:34:12] Production.INFO: ==31617== Releasing lock...
[2025-04-12 13:34:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 13:34:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 13:34:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 13:34:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 13:34:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 13:34:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 13:34:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 13:34:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 13:34:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 13:34:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 13:34:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 13:34:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 13:34:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 13:34:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 13:34:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 13:34:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 13:34:14] Production.INFO: call_cost start
[2025-04-12 13:34:14] Production.INFO: call_cost end
[2025-04-12 13:34:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 13:34:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 13:34:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 13:34:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 13:34:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 13:34:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 13:34:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 13:34:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 13:34:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 13:34:15] Production.INFO: ==31613== Releasing lock...
[2025-04-12 13:34:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 13:34:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 13:34:18] Production.INFO: count ==1665
[2025-04-12 13:34:19] Production.ERROR: pbx CDR StartTime 2025-04-12 10:34:05 - End Time 2025-04-12 13:34:05
[2025-04-12 13:34:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 13:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891897', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891897', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891897', 'tblTempVendorCDR_20' ) start
[2025-04-12 13:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891897', 'tblTempVendorCDR_20' ) end
[2025-04-12 13:34:19] Production.INFO: ProcessCDR(1,14891897,1,1,2)
[2025-04-12 13:34:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891897,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:34:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891897,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:34:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891897,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:34:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891897,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891897', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891897', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:34:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 13:34:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 13:34:22] Production.INFO: ==31621== Releasing lock...
[2025-04-12 13:34:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 13:34:22] Production.INFO: 40.5 MB #Memory Used#
[2025-04-12 18:35:01] Production.INFO: ==31682== Lock acquired, processing the job...
[2025-04-12 18:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 18:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 18:35:01] Production.INFO: neon service started
[2025-04-12 18:35:01] Production.INFO: neon service started
[2025-04-12 18:35:01] Production.INFO: ==31682== Releasing lock...
[2025-04-12 18:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 18:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 13:35:01] Production.INFO: ==31684== Lock acquired, processing the job...
[2025-04-12 13:35:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 13:35:02] Production.INFO: ==31684== Releasing lock...
[2025-04-12 13:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 13:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 17:35:02] Production.INFO: ==31687== Lock acquired, processing the job...
[2025-04-12 17:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 17:35:02] Production.INFO: ==31687== Releasing lock...
[2025-04-12 17:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 17:35:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 13:35:03] Production.INFO: ==31689== Lock acquired, processing the job...
[2025-04-12 13:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 13:35:03] Production.INFO: ==31691== Lock acquired, processing the job...
[2025-04-12 13:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 13:35:03] Production.INFO: ==31693== Lock acquired, processing the job...
[2025-04-12 13:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 13:35:03] Production.INFO: ==31699== Lock acquired, processing the job...
[2025-04-12 13:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 13:35:03] Production.INFO: ==31695== Lock acquired, processing the job...
[2025-04-12 13:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 13:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 13:35:03] Production.INFO: ==31697== Lock acquired, processing the job...
[2025-04-12 13:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 13:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 13:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 13:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 13:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 13:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 13:35:03] Production.INFO: Account Balance Start.
[2025-04-12 13:35:03] Production.INFO: CreateAllLog Start
[2025-04-12 13:35:03] Production.INFO: 117
[2025-04-12 13:35:03] Production.INFO: Date 2025-04-08
[2025-04-12 13:35:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:35:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 13:35:03] Production.INFO: Date 2025-04-09
[2025-04-12 13:35:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:35:03] Production.INFO: count ==12
[2025-04-12 13:35:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 13:35:03] Production.INFO: ==31691== Releasing lock...
[2025-04-12 13:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 13:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 13:35:03] Production.INFO: count ==23
[2025-04-12 13:35:03] Production.INFO: Date 2025-04-10
[2025-04-12 13:35:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891900') start
[2025-04-12 13:35:03] Production.ERROR: done
[2025-04-12 13:35:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 13:35:03] Production.INFO: Date 2025-04-11
[2025-04-12 13:35:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891900') end
[2025-04-12 13:35:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 13:35:03] Production.INFO: 1
[2025-04-12 13:35:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 13:35:03] Production.INFO: Date 2025-04-12
[2025-04-12 13:35:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:35:03] Production.INFO: Total Charge 0
[2025-04-12 13:35:03] Production.INFO: CreateAllLog End
[2025-04-12 13:35:03] Production.INFO: ==31699== Releasing lock...
[2025-04-12 13:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 13:35:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 13:35:03] Production.ERROR: done
[2025-04-12 13:35:04] Production.INFO: Account Balance End.
[2025-04-12 13:35:04] Production.ERROR: CronJobId end 12
[2025-04-12 13:35:04] Production.INFO: ==31695== Releasing lock...
[2025-04-12 13:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 13:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 13:35:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 10:35:04
[end_date_ymd] => 2025-04-12 13:35:04
[RateCDR] => 1
)
[2025-04-12 13:35:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 10:35:04' and `end` < '2025-04-12 13:35:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 13:35:11] Production.ERROR: CronJobId end10
[2025-04-12 13:35:11] Production.INFO: ==31693== Releasing lock...
[2025-04-12 13:35:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 13:35:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 13:35:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 13:35:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 13:35:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 13:35:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 13:35:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 13:35:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 13:35:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 13:35:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 13:35:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 13:35:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 13:35:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 13:35:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 13:35:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 13:35:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 13:35:13] Production.INFO: call_cost start
[2025-04-12 13:35:13] Production.INFO: call_cost end
[2025-04-12 13:35:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 13:35:14] Production.INFO: ============== Report Schedule START===========
[2025-04-12 13:35:14] Production.INFO: ============== Report Schedule END===========
[2025-04-12 13:35:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 13:35:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 13:35:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 13:35:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 13:35:14] Production.INFO: ============== Deal alert START===========
[2025-04-12 13:35:14] Production.INFO: ============== Deal alert END===========
[2025-04-12 13:35:14] Production.INFO: ==31689== Releasing lock...
[2025-04-12 13:35:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 13:35:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 13:35:18] Production.INFO: count ==1660
[2025-04-12 13:35:18] Production.ERROR: pbx CDR StartTime 2025-04-12 10:35:04 - End Time 2025-04-12 13:35:04
[2025-04-12 13:35:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 13:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891902', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891902', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891902', 'tblTempVendorCDR_20' ) start
[2025-04-12 13:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891902', 'tblTempVendorCDR_20' ) end
[2025-04-12 13:35:18] Production.INFO: ProcessCDR(1,14891902,1,1,2)
[2025-04-12 13:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891902,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:35:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891902,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:35:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891902,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:35:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891902,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:35:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891902', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:35:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891902', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:35:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 13:35:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 13:35:23] Production.INFO: ==31697== Releasing lock...
[2025-04-12 13:35:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 13:35:23] Production.INFO: 40.5 MB #Memory Used#
[2025-04-12 18:36:01] Production.INFO: ==31755== Lock acquired, processing the job...
[2025-04-12 18:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 18:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 18:36:02] Production.INFO: neon service started
[2025-04-12 18:36:02] Production.INFO: neon service started
[2025-04-12 18:36:02] Production.INFO: ==31755== Releasing lock...
[2025-04-12 18:36:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 18:36:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 13:36:02] Production.INFO: ==31757== Lock acquired, processing the job...
[2025-04-12 13:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 17:36:02] Production.INFO: ==31759== Lock acquired, processing the job...
[2025-04-12 17:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 17:36:02] Production.INFO: ==31759== Releasing lock...
[2025-04-12 17:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 17:36:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 13:36:03] Production.INFO: ==31757== Releasing lock...
[2025-04-12 13:36:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 13:36:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 13:36:03] Production.INFO: ==31762== Lock acquired, processing the job...
[2025-04-12 13:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 13:36:03] Production.INFO: ==31764== Lock acquired, processing the job...
[2025-04-12 13:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 13:36:03] Production.INFO: ==31766== Lock acquired, processing the job...
[2025-04-12 13:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 13:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 13:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 13:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 13:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 13:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 13:36:04] Production.INFO: ==31768== Lock acquired, processing the job...
[2025-04-12 13:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 13:36:04] Production.INFO: ==31770== Lock acquired, processing the job...
[2025-04-12 13:36:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 13:36:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 13:36:04] Production.INFO: ==31772== Lock acquired, processing the job...
[2025-04-12 13:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 13:36:04] Production.INFO: Account Balance Start.
[2025-04-12 13:36:04] Production.INFO: CreateAllLog Start
[2025-04-12 13:36:04] Production.INFO: 117
[2025-04-12 13:36:04] Production.INFO: Date 2025-04-08
[2025-04-12 13:36:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:36:04] Production.INFO: ==31764== Releasing lock...
[2025-04-12 13:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 13:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 13:36:04] Production.INFO: Date 2025-04-09
[2025-04-12 13:36:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:36:04] Production.INFO: Date 2025-04-10
[2025-04-12 13:36:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:36:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 13:36:04] Production.INFO: Date 2025-04-11
[2025-04-12 13:36:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:36:04] Production.INFO: Date 2025-04-12
[2025-04-12 13:36:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:36:04] Production.INFO: count ==12
[2025-04-12 13:36:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 13:36:04] Production.INFO: count ==23
[2025-04-12 13:36:04] Production.ERROR: done
[2025-04-12 13:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891906') start
[2025-04-12 13:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 13:36:04] Production.INFO: Total Charge 0
[2025-04-12 13:36:04] Production.INFO: CreateAllLog End
[2025-04-12 13:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891906') end
[2025-04-12 13:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 13:36:04] Production.INFO: 1
[2025-04-12 13:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 13:36:04] Production.INFO: ==31772== Releasing lock...
[2025-04-12 13:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 13:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 13:36:04] Production.ERROR: done
[2025-04-12 13:36:04] Production.INFO: Account Balance End.
[2025-04-12 13:36:04] Production.ERROR: CronJobId end 12
[2025-04-12 13:36:04] Production.INFO: ==31768== Releasing lock...
[2025-04-12 13:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 13:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 13:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 10:36:05
[end_date_ymd] => 2025-04-12 13:36:05
[RateCDR] => 1
)
[2025-04-12 13:36:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 10:36:05' and `end` < '2025-04-12 13:36:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 13:36:11] Production.ERROR: CronJobId end10
[2025-04-12 13:36:11] Production.INFO: ==31766== Releasing lock...
[2025-04-12 13:36:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 13:36:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 13:36:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 13:36:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 13:36:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 13:36:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 13:36:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 13:36:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 13:36:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 13:36:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 13:36:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 13:36:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 13:36:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 13:36:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 13:36:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 13:36:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 13:36:13] Production.INFO: call_cost start
[2025-04-12 13:36:13] Production.INFO: call_cost end
[2025-04-12 13:36:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 13:36:14] Production.INFO: ============== Report Schedule START===========
[2025-04-12 13:36:14] Production.INFO: ============== Report Schedule END===========
[2025-04-12 13:36:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 13:36:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 13:36:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 13:36:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 13:36:14] Production.INFO: ============== Deal alert START===========
[2025-04-12 13:36:14] Production.INFO: ============== Deal alert END===========
[2025-04-12 13:36:14] Production.INFO: ==31762== Releasing lock...
[2025-04-12 13:36:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 13:36:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 13:36:19] Production.INFO: count ==1655
[2025-04-12 13:36:19] Production.ERROR: pbx CDR StartTime 2025-04-12 10:36:05 - End Time 2025-04-12 13:36:05
[2025-04-12 13:36:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 13:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891907', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891907', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891907', 'tblTempVendorCDR_20' ) start
[2025-04-12 13:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891907', 'tblTempVendorCDR_20' ) end
[2025-04-12 13:36:19] Production.INFO: ProcessCDR(1,14891907,1,1,2)
[2025-04-12 13:36:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891907,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:36:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891907,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:36:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891907,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:36:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891907,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:36:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891907', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:36:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891907', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:36:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 13:36:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 13:36:24] Production.INFO: ==31770== Releasing lock...
[2025-04-12 13:36:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 13:36:24] Production.INFO: 40.5 MB #Memory Used#
[2025-04-12 18:37:01] Production.INFO: ==31827== Lock acquired, processing the job...
[2025-04-12 18:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 18:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 18:37:01] Production.INFO: neon service started
[2025-04-12 18:37:01] Production.INFO: neon service started
[2025-04-12 18:37:01] Production.INFO: ==31827== Releasing lock...
[2025-04-12 18:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 18:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 13:37:02] Production.INFO: ==31829== Lock acquired, processing the job...
[2025-04-12 13:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 17:37:02] Production.INFO: ==31831== Lock acquired, processing the job...
[2025-04-12 17:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 17:37:02] Production.INFO: ==31831== Releasing lock...
[2025-04-12 17:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 17:37:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 13:37:02] Production.INFO: ==31829== Releasing lock...
[2025-04-12 13:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 13:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 13:37:03] Production.INFO: ==31838== Lock acquired, processing the job...
[2025-04-12 13:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 13:37:03] Production.INFO: ==31842== Lock acquired, processing the job...
[2025-04-12 13:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 13:37:03] Production.INFO: ==31834== Lock acquired, processing the job...
[2025-04-12 13:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 13:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 13:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 13:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 13:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 13:37:03] Production.INFO: ==31836== Lock acquired, processing the job...
[2025-04-12 13:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 13:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 13:37:03] Production.INFO: ==31840== Lock acquired, processing the job...
[2025-04-12 13:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 13:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 13:37:03] Production.INFO: ==31844== Lock acquired, processing the job...
[2025-04-12 13:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 13:37:03] Production.INFO: Account Balance Start.
[2025-04-12 13:37:03] Production.INFO: CreateAllLog Start
[2025-04-12 13:37:03] Production.INFO: 117
[2025-04-12 13:37:03] Production.INFO: Date 2025-04-08
[2025-04-12 13:37:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:37:03] Production.INFO: Date 2025-04-09
[2025-04-12 13:37:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:37:03] Production.INFO: Date 2025-04-10
[2025-04-12 13:37:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:37:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 13:37:03] Production.ERROR: done
[2025-04-12 13:37:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 13:37:03] Production.INFO: ==31836== Releasing lock...
[2025-04-12 13:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 13:37:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 13:37:03] Production.INFO: Date 2025-04-11
[2025-04-12 13:37:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:37:03] Production.INFO: Date 2025-04-12
[2025-04-12 13:37:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:37:03] Production.INFO: count ==12
[2025-04-12 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-12 13:37:04] Production.INFO: count ==23
[2025-04-12 13:37:04] Production.INFO: Total Charge 0
[2025-04-12 13:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891911') start
[2025-04-12 13:37:04] Production.INFO: CreateAllLog End
[2025-04-12 13:37:04] Production.ERROR: done
[2025-04-12 13:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891911') end
[2025-04-12 13:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 13:37:04] Production.INFO: 1
[2025-04-12 13:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 13:37:04] Production.INFO: Account Balance End.
[2025-04-12 13:37:04] Production.INFO: ==31844== Releasing lock...
[2025-04-12 13:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 13:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 13:37:04] Production.ERROR: CronJobId end 12
[2025-04-12 13:37:04] Production.INFO: ==31840== Releasing lock...
[2025-04-12 13:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 13:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 13:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 10:37:05
[end_date_ymd] => 2025-04-12 13:37:05
[RateCDR] => 1
)
[2025-04-12 13:37:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 10:37:05' and `end` < '2025-04-12 13:37:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 13:37:12] Production.ERROR: CronJobId end10
[2025-04-12 13:37:12] Production.INFO: ==31838== Releasing lock...
[2025-04-12 13:37:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 13:37:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 13:37:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 13:37:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 13:37:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 13:37:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 13:37:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 13:37:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 13:37:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 13:37:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 13:37:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 13:37:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 13:37:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 13:37:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 13:37:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 13:37:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 13:37:14] Production.INFO: call_cost start
[2025-04-12 13:37:14] Production.INFO: call_cost end
[2025-04-12 13:37:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 13:37:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 13:37:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 13:37:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 13:37:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 13:37:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 13:37:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 13:37:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 13:37:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 13:37:15] Production.INFO: ==31834== Releasing lock...
[2025-04-12 13:37:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 13:37:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 13:37:18] Production.INFO: count ==1657
[2025-04-12 13:37:18] Production.ERROR: pbx CDR StartTime 2025-04-12 10:37:05 - End Time 2025-04-12 13:37:05
[2025-04-12 13:37:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 13:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891912', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891912', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891912', 'tblTempVendorCDR_20' ) start
[2025-04-12 13:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891912', 'tblTempVendorCDR_20' ) end
[2025-04-12 13:37:19] Production.INFO: ProcessCDR(1,14891912,1,1,2)
[2025-04-12 13:37:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891912,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:37:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891912,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:37:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891912,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:37:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891912,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:37:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891912', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:37:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891912', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:37:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 13:37:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 13:37:23] Production.INFO: ==31842== Releasing lock...
[2025-04-12 13:37:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 13:37:23] Production.INFO: 40.75 MB #Memory Used#
[2025-04-12 18:38:02] Production.INFO: ==31902== Lock acquired, processing the job...
[2025-04-12 18:38:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 18:38:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 18:38:02] Production.INFO: neon service started
[2025-04-12 18:38:02] Production.INFO: neon service started
[2025-04-12 18:38:02] Production.INFO: ==31902== Releasing lock...
[2025-04-12 18:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 18:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 13:38:02] Production.INFO: ==31904== Lock acquired, processing the job...
[2025-04-12 13:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 13:38:02] Production.INFO: ==31904== Releasing lock...
[2025-04-12 13:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 13:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 17:38:02] Production.INFO: ==31906== Lock acquired, processing the job...
[2025-04-12 17:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 17:38:02] Production.INFO: ==31906== Releasing lock...
[2025-04-12 17:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 17:38:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 13:38:03] Production.INFO: ==31919== Lock acquired, processing the job...
[2025-04-12 13:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 13:38:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 13:38:03] Production.INFO: count ==12
[2025-04-12 13:38:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 13:38:03] Production.INFO: count ==23
[2025-04-12 13:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891913') start
[2025-04-12 13:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891913') end
[2025-04-12 13:38:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 13:38:03] Production.INFO: 1
[2025-04-12 13:38:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 13:38:03] Production.INFO: ==31919== Releasing lock...
[2025-04-12 13:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 13:38:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 13:38:04] Production.INFO: ==31917== Lock acquired, processing the job...
[2025-04-12 13:38:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 13:38:04] Production.INFO: ==31909== Lock acquired, processing the job...
[2025-04-12 13:38:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 13:38:04] Production.INFO: ==31911== Lock acquired, processing the job...
[2025-04-12 13:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 13:38:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 13:38:04] Production.INFO: ==31913== Lock acquired, processing the job...
[2025-04-12 13:38:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 13:38:04] Production.INFO: ==31915== Lock acquired, processing the job...
[2025-04-12 13:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 13:38:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 13:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 13:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 13:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 13:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 13:38:04] Production.INFO: Account Balance Start.
[2025-04-12 13:38:04] Production.INFO: CreateAllLog Start
[2025-04-12 13:38:04] Production.INFO: 117
[2025-04-12 13:38:04] Production.INFO: Date 2025-04-08
[2025-04-12 13:38:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:38:04] Production.INFO: Date 2025-04-09
[2025-04-12 13:38:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:38:04] Production.INFO: Date 2025-04-10
[2025-04-12 13:38:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:38:04] Production.INFO: Date 2025-04-11
[2025-04-12 13:38:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:38:04] Production.INFO: Date 2025-04-12
[2025-04-12 13:38:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:38:04] Production.INFO: Total Charge 0
[2025-04-12 13:38:04] Production.ERROR: done
[2025-04-12 13:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 13:38:04] Production.INFO: CreateAllLog End
[2025-04-12 13:38:04] Production.INFO: ==31911== Releasing lock...
[2025-04-12 13:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 13:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 13:38:04] Production.ERROR: done
[2025-04-12 13:38:04] Production.INFO: Account Balance End.
[2025-04-12 13:38:04] Production.ERROR: CronJobId end 12
[2025-04-12 13:38:04] Production.INFO: ==31915== Releasing lock...
[2025-04-12 13:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 13:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 13:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 10:38:05
[end_date_ymd] => 2025-04-12 13:38:05
[RateCDR] => 1
)
[2025-04-12 13:38:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 10:38:05' and `end` < '2025-04-12 13:38:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 13:38:12] Production.ERROR: CronJobId end10
[2025-04-12 13:38:12] Production.INFO: ==31913== Releasing lock...
[2025-04-12 13:38:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 13:38:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 13:38:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 13:38:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 13:38:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 13:38:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 13:38:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 13:38:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 13:38:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 13:38:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 13:38:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 13:38:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 13:38:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 13:38:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 13:38:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 13:38:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 13:38:15] Production.INFO: call_cost start
[2025-04-12 13:38:15] Production.INFO: call_cost end
[2025-04-12 13:38:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 13:38:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 13:38:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 13:38:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 13:38:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 13:38:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 13:38:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 13:38:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 13:38:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 13:38:16] Production.INFO: ==31909== Releasing lock...
[2025-04-12 13:38:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 13:38:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 13:38:18] Production.INFO: count ==1654
[2025-04-12 13:38:19] Production.ERROR: pbx CDR StartTime 2025-04-12 10:38:05 - End Time 2025-04-12 13:38:05
[2025-04-12 13:38:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 13:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891917', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891917', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891917', 'tblTempVendorCDR_20' ) start
[2025-04-12 13:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891917', 'tblTempVendorCDR_20' ) end
[2025-04-12 13:38:19] Production.INFO: ProcessCDR(1,14891917,1,1,2)
[2025-04-12 13:38:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891917,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:38:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891917,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:38:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891917,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:38:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891917,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:38:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891917', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:38:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891917', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:38:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 13:38:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 13:38:24] Production.INFO: ==31917== Releasing lock...
[2025-04-12 13:38:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 13:38:24] Production.INFO: 40.25 MB #Memory Used#
[2025-04-12 18:39:01] Production.INFO: ==31973== Lock acquired, processing the job...
[2025-04-12 18:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 18:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 18:39:01] Production.INFO: neon service started
[2025-04-12 18:39:01] Production.INFO: neon service started
[2025-04-12 18:39:01] Production.INFO: ==31973== Releasing lock...
[2025-04-12 18:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 18:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 17:39:01] Production.INFO: ==31977== Lock acquired, processing the job...
[2025-04-12 17:39:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 17:39:01] Production.INFO: ==31977== Releasing lock...
[2025-04-12 17:39:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 17:39:01] Production.INFO: 25 MB #Memory Used#
[2025-04-12 13:39:02] Production.INFO: ==31975== Lock acquired, processing the job...
[2025-04-12 13:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 13:39:02] Production.INFO: ==31975== Releasing lock...
[2025-04-12 13:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 13:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 13:39:03] Production.INFO: ==31982== Lock acquired, processing the job...
[2025-04-12 13:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 13:39:03] Production.INFO: ==31986== Lock acquired, processing the job...
[2025-04-12 13:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 13:39:03] Production.INFO: ==31984== Lock acquired, processing the job...
[2025-04-12 13:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 13:39:03] Production.INFO: Account Balance Start.
[2025-04-12 13:39:03] Production.INFO: CreateAllLog Start
[2025-04-12 13:39:03] Production.INFO: 117
[2025-04-12 13:39:03] Production.INFO: Date 2025-04-08
[2025-04-12 13:39:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 13:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 13:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 13:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 13:39:03] Production.INFO: Date 2025-04-09
[2025-04-12 13:39:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:39:03] Production.INFO: ==31988== Lock acquired, processing the job...
[2025-04-12 13:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 13:39:03] Production.INFO: Date 2025-04-10
[2025-04-12 13:39:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:39:03] Production.INFO: Date 2025-04-11
[2025-04-12 13:39:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 13:39:03] Production.INFO: Date 2025-04-12
[2025-04-12 13:39:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:39:03] Production.INFO: Total Charge 0
[2025-04-12 13:39:03] Production.INFO: CreateAllLog End
[2025-04-12 13:39:03] Production.INFO: ==31980== Lock acquired, processing the job...
[2025-04-12 13:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 13:39:03] Production.INFO: ==31990== Lock acquired, processing the job...
[2025-04-12 13:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 13:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 13:39:03] Production.INFO: ==31982== Releasing lock...
[2025-04-12 13:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 13:39:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 13:39:03] Production.ERROR: done
[2025-04-12 13:39:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 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-12 13:39:03] Production.INFO: count ==12
[2025-04-12 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-12 13:39:03] Production.INFO: count ==23
[2025-04-12 13:39:03] Production.ERROR: done
[2025-04-12 13:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891921') start
[2025-04-12 13:39:04] Production.INFO: Account Balance End.
[2025-04-12 13:39:04] Production.ERROR: CronJobId end 12
[2025-04-12 13:39:04] Production.INFO: ==31986== Releasing lock...
[2025-04-12 13:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 13:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 13:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891921') end
[2025-04-12 13:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 13:39:04] Production.INFO: 1
[2025-04-12 13:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 13:39:04] Production.INFO: ==31990== Releasing lock...
[2025-04-12 13:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 13:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 13:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 10:39:05
[end_date_ymd] => 2025-04-12 13:39:05
[RateCDR] => 1
)
[2025-04-12 13:39:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 10:39:05' and `end` < '2025-04-12 13:39:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 13:39:11] Production.ERROR: CronJobId end10
[2025-04-12 13:39:11] Production.INFO: ==31984== Releasing lock...
[2025-04-12 13:39:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 13:39:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 13:39:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 13:39:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 13:39:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 13:39:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 13:39:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 13:39:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 13:39:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 13:39:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 13:39:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 13:39:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 13:39:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 13:39:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 13:39:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 13:39:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 13:39:14] Production.INFO: call_cost start
[2025-04-12 13:39:14] Production.INFO: call_cost end
[2025-04-12 13:39:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 13:39:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 13:39:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 13:39:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 13:39:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 13:39:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 13:39:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 13:39:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 13:39:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 13:39:15] Production.INFO: ==31980== Releasing lock...
[2025-04-12 13:39:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 13:39:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 13:39:18] Production.INFO: count ==1663
[2025-04-12 13:39:18] Production.ERROR: pbx CDR StartTime 2025-04-12 10:39:05 - End Time 2025-04-12 13:39:05
[2025-04-12 13:39:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 13:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891922', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891922', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891922', 'tblTempVendorCDR_20' ) start
[2025-04-12 13:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891922', 'tblTempVendorCDR_20' ) end
[2025-04-12 13:39:18] Production.INFO: ProcessCDR(1,14891922,1,1,2)
[2025-04-12 13:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891922,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:39:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891922,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:39:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891922,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:39:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891922,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891922', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891922', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:39:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 13:39:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 13:39:21] Production.INFO: ==31988== Releasing lock...
[2025-04-12 13:39:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 13:39:21] Production.INFO: 40.25 MB #Memory Used#
[2025-04-12 18:40:02] Production.INFO: ==32046== Lock acquired, processing the job...
[2025-04-12 18:40:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 18:40:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 18:40:02] Production.INFO: neon service started
[2025-04-12 18:40:02] Production.INFO: neon service started
[2025-04-12 18:40:02] Production.INFO: ==32046== Releasing lock...
[2025-04-12 18:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 18:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 13:40:02] Production.INFO: ==32048== Lock acquired, processing the job...
[2025-04-12 13:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 17:40:02] Production.INFO: ==32050== Lock acquired, processing the job...
[2025-04-12 17:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 13:40:02] Production.INFO: ==32048== Releasing lock...
[2025-04-12 13:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 13:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 17:40:02] Production.INFO: ==32050== Releasing lock...
[2025-04-12 17:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 17:40:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 13:40:03] Production.INFO: ==32059== Lock acquired, processing the job...
[2025-04-12 13:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 13:40:04] Production.INFO: ==32063== Lock acquired, processing the job...
[2025-04-12 13:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 13:40:04] Production.INFO: ==32067== Lock acquired, processing the job...
[2025-04-12 13:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 13:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 13:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 13:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 13:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 13:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 13:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 13:40:04] Production.INFO: count ==12
[2025-04-12 13:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 13:40:04] Production.INFO: count ==23
[2025-04-12 13:40:04] Production.INFO: ==32053== Lock acquired, processing the job...
[2025-04-12 13:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 13:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891923') start
[2025-04-12 13:40:04] Production.INFO: ==32055== Lock acquired, processing the job...
[2025-04-12 13:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 13:40:04] Production.INFO: ==32057== Lock acquired, processing the job...
[2025-04-12 13:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 13:40:04] Production.INFO: ==32061== Lock acquired, processing the job...
[2025-04-12 13:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 13:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891923') end
[2025-04-12 13:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 13:40:04] Production.INFO: 1
[2025-04-12 13:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 13:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 13:40:04] Production.INFO: ==32065== Lock acquired, processing the job...
[2025-04-12 13:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 13:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 13:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 13:40:04] Production.ERROR: CronJob PID - 32055
[2025-04-12 13:40:04] Production.ERROR: CronJob Title - System Alerts
[2025-04-12 13:40:04] Production.ERROR: CronJob ID - 5
[2025-04-12 13:40:04] Production.ERROR: CronJob Last Run Time 2025-04-12 13:40:00
[2025-04-12 13:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 13:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 13:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 13:40:04] Production.ERROR: CronJob PID - 32057
[2025-04-12 13:40:04] Production.ERROR: CronJob Title - Account Block
[2025-04-12 13:40:04] Production.ERROR: CronJob ID - 7
[2025-04-12 13:40:04] Production.ERROR: CronJob Last Run Time 2025-04-12 13:40:00
[2025-04-12 13:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 13:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 13:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 13:40:04] Production.ERROR: CronJob PID - 32059
[2025-04-12 13:40:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-04-12 13:40:04] Production.ERROR: CronJob ID - 10
[2025-04-12 13:40:04] Production.ERROR: CronJob Last Run Time 2025-04-12 13:40:00
[2025-04-12 13:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 13:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 13:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 13:40:04] Production.ERROR: CronJob PID - 32063
[2025-04-12 13:40:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-04-12 13:40:04] Production.ERROR: CronJob ID - 16
[2025-04-12 13:40:04] Production.ERROR: CronJob Last Run Time 2025-04-12 13:40:00
[2025-04-12 13:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 13:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 13:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 13:40:04] Production.ERROR: CronJob PID - 32067
[2025-04-12 13:40:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-04-12 13:40:04] Production.ERROR: CronJob ID - 19
[2025-04-12 13:40:04] Production.ERROR: CronJob Last Run Time 2025-04-12 13:40:00
[2025-04-12 13:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 13:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 13:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 13:40:04] Production.INFO: ==32053== Releasing lock...
[2025-04-12 13:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 13:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 13:40:04] Production.INFO: ==32067== Releasing lock...
[2025-04-12 13:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 13:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 13:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 13:40:04] Production.ERROR: done
[2025-04-12 13:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 13:40:04] Production.INFO: Account Balance Start.
[2025-04-12 13:40:04] Production.INFO: CreateAllLog Start
[2025-04-12 13:40:04] Production.INFO: 117
[2025-04-12 13:40:04] Production.INFO: Date 2025-04-08
[2025-04-12 13:40:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:40:04] Production.INFO: Date 2025-04-09
[2025-04-12 13:40:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:40:04] Production.INFO: Date 2025-04-10
[2025-04-12 13:40:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:40:04] Production.INFO: Date 2025-04-11
[2025-04-12 13:40:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:40:04] Production.INFO: Date 2025-04-12
[2025-04-12 13:40:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:40:04] Production.INFO: ==32057== Releasing lock...
[2025-04-12 13:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 13:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 13:40:04] Production.INFO: Total Charge 0
[2025-04-12 13:40:04] Production.ERROR: done
[2025-04-12 13:40:04] Production.INFO: CreateAllLog End
[2025-04-12 13:40:05] Production.ERROR: done
[2025-04-12 13:40:05] Production.INFO: Account Balance End.
[2025-04-12 13:40:05] Production.ERROR: CronJobId end 12
[2025-04-12 13:40:05] Production.INFO: ==32061== Releasing lock...
[2025-04-12 13:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 13:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 13:40:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 13:40:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14891928', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 13:40:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 10:40:05
[end_date_ymd] => 2025-04-12 13:40:05
[RateCDR] => 1
)
[2025-04-12 13:40:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 10:40:05' and `end` < '2025-04-12 13:40:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 13:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14891928', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 13:40:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 13:40:09] Production.INFO: ProcessCDR(1,14891928,1,1,2)
[2025-04-12 13:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14891928,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14891928,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 13:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 13:40:09] Production.INFO: ==32065== Releasing lock...
[2025-04-12 13:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 13:40:09] Production.INFO: 26 MB #Memory Used#
[2025-04-12 13:40:12] Production.ERROR: CronJobId end10
[2025-04-12 13:40:12] Production.INFO: ==32059== Releasing lock...
[2025-04-12 13:40:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 13:40:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 13:40:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 13:40:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 13:40:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 13:40:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 13:40:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 13:40:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 13:40:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 13:40:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 13:40:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 13:40:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 13:40:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 13:40:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 13:40:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 13:40:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 13:40:16] Production.INFO: call_cost start
[2025-04-12 13:40:16] Production.INFO: call_cost end
[2025-04-12 13:40:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 13:40:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 13:40:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 13:40:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 13:40:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 13:40:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 13:40:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 13:40:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 13:40:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 13:40:17] Production.INFO: ==32055== Releasing lock...
[2025-04-12 13:40:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 13:40:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 13:40:19] Production.INFO: count ==1664
[2025-04-12 13:40:19] Production.ERROR: pbx CDR StartTime 2025-04-12 10:40:05 - End Time 2025-04-12 13:40:05
[2025-04-12 13:40:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 13:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891927', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891927', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891927', 'tblTempVendorCDR_20' ) start
[2025-04-12 13:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891927', 'tblTempVendorCDR_20' ) end
[2025-04-12 13:40:19] Production.INFO: ProcessCDR(1,14891927,1,1,2)
[2025-04-12 13:40:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891927,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:40:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891927,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:40:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891927,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:40:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891927,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:40:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891927', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:40:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891927', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:40:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 13:40:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 13:40:24] Production.INFO: ==32063== Releasing lock...
[2025-04-12 13:40:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 13:40:24] Production.INFO: 40.75 MB #Memory Used#
[2025-04-12 18:41:01] Production.INFO: ==32123== Lock acquired, processing the job...
[2025-04-12 18:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 18:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 18:41:01] Production.INFO: neon service started
[2025-04-12 18:41:01] Production.INFO: neon service started
[2025-04-12 18:41:01] Production.INFO: ==32123== Releasing lock...
[2025-04-12 18:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 18:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 17:41:01] Production.INFO: ==32127== Lock acquired, processing the job...
[2025-04-12 17:41:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 17:41:01] Production.INFO: ==32127== Releasing lock...
[2025-04-12 17:41:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 17:41:01] Production.INFO: 25 MB #Memory Used#
[2025-04-12 13:41:01] Production.INFO: ==32125== Lock acquired, processing the job...
[2025-04-12 13:41:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 13:41:02] Production.INFO: ==32125== Releasing lock...
[2025-04-12 13:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 13:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 13:41:03] Production.INFO: ==32133== Lock acquired, processing the job...
[2025-04-12 13:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 13:41:03] Production.INFO: ==32140== Lock acquired, processing the job...
[2025-04-12 13:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 13:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 13:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 13:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 13:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 13:41:03] Production.INFO: ==32129== Lock acquired, processing the job...
[2025-04-12 13:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 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-12 13:41:03] Production.INFO: count ==12
[2025-04-12 13:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 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-12 13:41:03] Production.INFO: count ==23
[2025-04-12 13:41:03] Production.INFO: ==32131== Lock acquired, processing the job...
[2025-04-12 13:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 13:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891929') start
[2025-04-12 13:41:03] Production.INFO: ==32135== Lock acquired, processing the job...
[2025-04-12 13:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 13:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891929') end
[2025-04-12 13:41:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 13:41:03] Production.INFO: 1
[2025-04-12 13:41:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 13:41:03] Production.INFO: ==32137== Lock acquired, processing the job...
[2025-04-12 13:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 13:41:03] Production.INFO: ==32140== Releasing lock...
[2025-04-12 13:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 13:41:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 13:41:03] Production.INFO: Account Balance Start.
[2025-04-12 13:41:03] Production.INFO: CreateAllLog Start
[2025-04-12 13:41:03] Production.INFO: 117
[2025-04-12 13:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 13:41:03] Production.INFO: Date 2025-04-08
[2025-04-12 13:41:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:41:03] Production.INFO: Date 2025-04-09
[2025-04-12 13:41:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:41:03] Production.INFO: Date 2025-04-10
[2025-04-12 13:41:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:41:04] Production.INFO: Date 2025-04-11
[2025-04-12 13:41:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:41:04] Production.INFO: Date 2025-04-12
[2025-04-12 13:41:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:41:04] Production.INFO: ==32131== Releasing lock...
[2025-04-12 13:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 13:41:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 13:41:04] Production.INFO: Total Charge 0
[2025-04-12 13:41:04] Production.INFO: CreateAllLog End
[2025-04-12 13:41:04] Production.ERROR: done
[2025-04-12 13:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 13:41:04] Production.INFO: Account Balance End.
[2025-04-12 13:41:04] Production.ERROR: done
[2025-04-12 13:41:04] Production.ERROR: CronJobId end 12
[2025-04-12 13:41:04] Production.INFO: ==32135== Releasing lock...
[2025-04-12 13:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 13:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 13:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 10:41:05
[end_date_ymd] => 2025-04-12 13:41:05
[RateCDR] => 1
)
[2025-04-12 13:41:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 10:41:05' and `end` < '2025-04-12 13:41:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 13:41:12] Production.ERROR: CronJobId end10
[2025-04-12 13:41:12] Production.INFO: ==32133== Releasing lock...
[2025-04-12 13:41:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 13:41:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 13:41:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 13:41:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 13:41:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 13:41:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 13:41:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 13:41:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 13:41:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 13:41:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 13:41:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 13:41:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 13:41:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 13:41:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 13:41:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 13:41:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 13:41:15] Production.INFO: call_cost start
[2025-04-12 13:41:15] Production.INFO: call_cost end
[2025-04-12 13:41:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 13:41:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 13:41:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 13:41:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 13:41:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 13:41:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 13:41:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 13:41:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 13:41:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 13:41:16] Production.INFO: ==32129== Releasing lock...
[2025-04-12 13:41:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 13:41:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 13:41:18] Production.INFO: count ==1667
[2025-04-12 13:41:18] Production.ERROR: pbx CDR StartTime 2025-04-12 10:41:05 - End Time 2025-04-12 13:41:05
[2025-04-12 13:41:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 13:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891933', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891933', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891933', 'tblTempVendorCDR_20' ) start
[2025-04-12 13:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891933', 'tblTempVendorCDR_20' ) end
[2025-04-12 13:41:19] Production.INFO: ProcessCDR(1,14891933,1,1,2)
[2025-04-12 13:41:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891933,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:41:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891933,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:41:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891933,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:41:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891933,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:41:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891933', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:41:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891933', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:41:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 13:41:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 13:41:24] Production.INFO: ==32137== Releasing lock...
[2025-04-12 13:41:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 13:41:24] Production.INFO: 40.25 MB #Memory Used#
[2025-04-12 18:42:01] Production.INFO: ==32203== Lock acquired, processing the job...
[2025-04-12 18:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 18:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 18:42:01] Production.INFO: neon service started
[2025-04-12 18:42:01] Production.INFO: neon service started
[2025-04-12 18:42:01] Production.INFO: ==32203== Releasing lock...
[2025-04-12 18:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 18:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 13:42:02] Production.INFO: ==32206== Lock acquired, processing the job...
[2025-04-12 13:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 13:42:02] Production.INFO: ==32206== Releasing lock...
[2025-04-12 13:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 13:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 17:42:02] Production.INFO: ==32208== Lock acquired, processing the job...
[2025-04-12 17:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 17:42:02] Production.INFO: ==32208== Releasing lock...
[2025-04-12 17:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 17:42:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 13:42:03] Production.INFO: ==32212== Lock acquired, processing the job...
[2025-04-12 13:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 13:42:03] Production.INFO: ==32218== Lock acquired, processing the job...
[2025-04-12 13:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 13:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 13:42:03] Production.INFO: ==32210== Lock acquired, processing the job...
[2025-04-12 13:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 13:42:03] Production.INFO: ==32214== Lock acquired, processing the job...
[2025-04-12 13:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 13:42:03] Production.INFO: ==32216== Lock acquired, processing the job...
[2025-04-12 13:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 13:42:03] Production.INFO: ==32212== Releasing lock...
[2025-04-12 13:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 13:42:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 13:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 13:42:03] Production.INFO: ==32220== Lock acquired, processing the job...
[2025-04-12 13:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 13:42:03] Production.INFO: Account Balance Start.
[2025-04-12 13:42:03] Production.INFO: CreateAllLog Start
[2025-04-12 13:42:03] Production.INFO: 117
[2025-04-12 13:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 13:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 13:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 13:42:03] Production.INFO: Date 2025-04-08
[2025-04-12 13:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 13:42:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:42:04] Production.INFO: Date 2025-04-09
[2025-04-12 13:42:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:42:04] Production.INFO: Date 2025-04-10
[2025-04-12 13:42:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:42:04] Production.INFO: Date 2025-04-11
[2025-04-12 13:42:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:42:04] Production.ERROR: done
[2025-04-12 13:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 13:42:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 13:42:04] Production.INFO: Date 2025-04-12
[2025-04-12 13:42:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:42:04] Production.INFO: Total Charge 0
[2025-04-12 13:42:04] Production.INFO: CreateAllLog End
[2025-04-12 13:42:04] Production.INFO: count ==12
[2025-04-12 13:42:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 13:42:04] Production.INFO: count ==23
[2025-04-12 13:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891937') start
[2025-04-12 13:42:04] Production.ERROR: done
[2025-04-12 13:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891937') end
[2025-04-12 13:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 13:42:04] Production.INFO: 1
[2025-04-12 13:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 13:42:04] Production.INFO: ==32220== Releasing lock...
[2025-04-12 13:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 13:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 13:42:04] Production.INFO: Account Balance End.
[2025-04-12 13:42:04] Production.ERROR: CronJobId end 12
[2025-04-12 13:42:04] Production.INFO: ==32216== Releasing lock...
[2025-04-12 13:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 13:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 13:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 10:42:05
[end_date_ymd] => 2025-04-12 13:42:05
[RateCDR] => 1
)
[2025-04-12 13:42:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 10:42:05' and `end` < '2025-04-12 13:42:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 13:42:12] Production.ERROR: CronJobId end10
[2025-04-12 13:42:12] Production.INFO: ==32214== Releasing lock...
[2025-04-12 13:42:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 13:42:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 13:42:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 13:42:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 13:42:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 13:42:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 13:42:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 13:42:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 13:42:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 13:42:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 13:42:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 13:42:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 13:42:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 13:42:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 13:42:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 13:42:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 13:42:15] Production.INFO: call_cost start
[2025-04-12 13:42:15] Production.INFO: call_cost end
[2025-04-12 13:42:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 13:42:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 13:42:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 13:42:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 13:42:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 13:42:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 13:42:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 13:42:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 13:42:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 13:42:16] Production.INFO: ==32210== Releasing lock...
[2025-04-12 13:42:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 13:42:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 13:42:18] Production.INFO: count ==1680
[2025-04-12 13:42:18] Production.ERROR: pbx CDR StartTime 2025-04-12 10:42:05 - End Time 2025-04-12 13:42:05
[2025-04-12 13:42:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 13:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891938', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891938', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891938', 'tblTempVendorCDR_20' ) start
[2025-04-12 13:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891938', 'tblTempVendorCDR_20' ) end
[2025-04-12 13:42:19] Production.INFO: ProcessCDR(1,14891938,1,1,2)
[2025-04-12 13:42:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891938,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:42:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891938,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:42:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891938,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:42:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891938,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891938', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891938', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:42:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 13:42:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 13:42:22] Production.INFO: ==32218== Releasing lock...
[2025-04-12 13:42:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 13:42:22] Production.INFO: 40.75 MB #Memory Used#
[2025-04-12 18:43:02] Production.INFO: ==32278== Lock acquired, processing the job...
[2025-04-12 18:43:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 18:43:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 18:43:02] Production.INFO: neon service started
[2025-04-12 18:43:02] Production.INFO: neon service started
[2025-04-12 18:43:02] Production.INFO: ==32278== Releasing lock...
[2025-04-12 18:43:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 18:43:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 13:43:02] Production.INFO: ==32280== Lock acquired, processing the job...
[2025-04-12 13:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 13:43:02] Production.INFO: ==32280== Releasing lock...
[2025-04-12 13:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 13:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 17:43:03] Production.INFO: ==32282== Lock acquired, processing the job...
[2025-04-12 17:43:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 17:43:03] Production.INFO: ==32282== Releasing lock...
[2025-04-12 17:43:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 17:43:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 13:43:03] Production.INFO: ==32284== Lock acquired, processing the job...
[2025-04-12 13:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 13:43:03] Production.INFO: ==32286== Lock acquired, processing the job...
[2025-04-12 13:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 13:43:03] Production.INFO: ==32291== Lock acquired, processing the job...
[2025-04-12 13:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 13:43:04] Production.INFO: ==32289== Lock acquired, processing the job...
[2025-04-12 13:43:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 13:43:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 13:43:04] Production.INFO: Account Balance Start.
[2025-04-12 13:43:04] Production.INFO: CreateAllLog Start
[2025-04-12 13:43:04] Production.INFO: 117
[2025-04-12 13:43:04] Production.INFO: ==32293== Lock acquired, processing the job...
[2025-04-12 13:43:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 13:43:04] Production.INFO: Date 2025-04-08
[2025-04-12 13:43:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:43:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 13:43:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 13:43:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 13:43:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 13:43:04] Production.INFO: ==32295== Lock acquired, processing the job...
[2025-04-12 13:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 13:43:04] Production.INFO: Date 2025-04-09
[2025-04-12 13:43:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:43:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 13:43:04] Production.INFO: Date 2025-04-10
[2025-04-12 13:43:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:43:04] Production.INFO: Date 2025-04-11
[2025-04-12 13:43:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:43:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 13:43:04] Production.INFO: Date 2025-04-12
[2025-04-12 13:43:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:43:04] Production.INFO: count ==12
[2025-04-12 13:43:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 13:43:04] Production.INFO: ==32286== Releasing lock...
[2025-04-12 13:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 13:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 13:43:04] Production.INFO: count ==23
[2025-04-12 13:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891942') start
[2025-04-12 13:43:04] Production.INFO: Total Charge 0
[2025-04-12 13:43:04] Production.INFO: CreateAllLog End
[2025-04-12 13:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891942') end
[2025-04-12 13:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 13:43:04] Production.INFO: 1
[2025-04-12 13:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 13:43:04] Production.INFO: ==32295== Releasing lock...
[2025-04-12 13:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 13:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 13:43:04] Production.ERROR: done
[2025-04-12 13:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 13:43:04] Production.INFO: Account Balance End.
[2025-04-12 13:43:04] Production.ERROR: CronJobId end 12
[2025-04-12 13:43:04] Production.INFO: ==32291== Releasing lock...
[2025-04-12 13:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 13:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 13:43:04] Production.ERROR: done
[2025-04-12 13:43:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 10:43:06
[end_date_ymd] => 2025-04-12 13:43:06
[RateCDR] => 1
)
[2025-04-12 13: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-12 10:43:06' and `end` < '2025-04-12 13: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-12 13:43:13] Production.ERROR: CronJobId end10
[2025-04-12 13:43:13] Production.INFO: ==32289== Releasing lock...
[2025-04-12 13:43:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 13:43:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 13:43:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 13:43:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 13:43:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 13:43:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 13:43:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 13:43:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 13:43:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 13:43:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 13:43:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 13:43:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 13:43:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 13:43:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 13:43:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 13:43:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 13:43:14] Production.INFO: call_cost start
[2025-04-12 13:43:14] Production.INFO: call_cost end
[2025-04-12 13:43:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 13:43:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 13:43:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 13:43:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 13:43:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 13:43:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 13:43:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 13:43:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 13:43:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 13:43:15] Production.INFO: ==32284== Releasing lock...
[2025-04-12 13:43:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 13:43:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 13:43:19] Production.INFO: count ==1681
[2025-04-12 13:43:19] Production.ERROR: pbx CDR StartTime 2025-04-12 10:43:06 - End Time 2025-04-12 13:43:06
[2025-04-12 13:43:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 13:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891943', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891943', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891943', 'tblTempVendorCDR_20' ) start
[2025-04-12 13:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891943', 'tblTempVendorCDR_20' ) end
[2025-04-12 13:43:19] Production.INFO: ProcessCDR(1,14891943,1,1,2)
[2025-04-12 13:43:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891943,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:43:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891943,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:43:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891943,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:43:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891943,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:43:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891943', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:43:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891943', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:43:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 13:43:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 13:43:23] Production.INFO: ==32293== Releasing lock...
[2025-04-12 13:43:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 13:43:23] Production.INFO: 40.75 MB #Memory Used#
[2025-04-12 18:44:01] Production.INFO: ==32357== Lock acquired, processing the job...
[2025-04-12 18:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 18:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 18:44:01] Production.INFO: neon service started
[2025-04-12 18:44:01] Production.INFO: neon service started
[2025-04-12 18:44:01] Production.INFO: ==32357== Releasing lock...
[2025-04-12 18:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 18:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 17:44:02] Production.INFO: ==32361== Lock acquired, processing the job...
[2025-04-12 17:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 17:44:02] Production.INFO: ==32361== Releasing lock...
[2025-04-12 17:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 17:44:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 13:44:02] Production.INFO: ==32359== Lock acquired, processing the job...
[2025-04-12 13:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 13:44:02] Production.INFO: ==32359== Releasing lock...
[2025-04-12 13:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 13:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 13:44:03] Production.INFO: ==32364== Lock acquired, processing the job...
[2025-04-12 13:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 13:44:03] Production.INFO: ==32366== Lock acquired, processing the job...
[2025-04-12 13:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 13:44:03] Production.INFO: ==32368== Lock acquired, processing the job...
[2025-04-12 13:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 13:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 13:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 13:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 13:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 13:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 13:44:03] Production.INFO: ==32370== Lock acquired, processing the job...
[2025-04-12 13:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 13:44:03] Production.INFO: ==32366== Releasing lock...
[2025-04-12 13:44:03] Production.INFO: ==32372== Lock acquired, processing the job...
[2025-04-12 13:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 13:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 13:44:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 13:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 13:44:03] Production.INFO: Account Balance Start.
[2025-04-12 13:44:03] Production.INFO: CreateAllLog Start
[2025-04-12 13:44:03] Production.INFO: 117
[2025-04-12 13:44:03] Production.INFO: Date 2025-04-08
[2025-04-12 13:44:03] Production.INFO: ==32374== Lock acquired, processing the job...
[2025-04-12 13:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 13:44:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:44:04] Production.INFO: Date 2025-04-09
[2025-04-12 13:44:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:44:04] Production.INFO: Date 2025-04-10
[2025-04-12 13:44:04] Production.INFO: Reseller ==> 0
[2025-04-12 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-12 13:44:04] Production.INFO: count ==12
[2025-04-12 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-12 13:44:04] Production.INFO: count ==23
[2025-04-12 13:44:04] Production.INFO: Date 2025-04-11
[2025-04-12 13:44:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891947') start
[2025-04-12 13:44:04] Production.INFO: Date 2025-04-12
[2025-04-12 13:44:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891947') end
[2025-04-12 13:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 13:44:04] Production.INFO: 1
[2025-04-12 13:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 13:44:04] Production.INFO: Total Charge 0
[2025-04-12 13:44:04] Production.ERROR: done
[2025-04-12 13:44:04] Production.INFO: ==32374== Releasing lock...
[2025-04-12 13:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 13:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 13:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 13:44:04] Production.INFO: CreateAllLog End
[2025-04-12 13:44:04] Production.ERROR: done
[2025-04-12 13:44:04] Production.INFO: Account Balance End.
[2025-04-12 13:44:04] Production.ERROR: CronJobId end 12
[2025-04-12 13:44:04] Production.INFO: ==32370== Releasing lock...
[2025-04-12 13:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 13:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 13:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 10:44:05
[end_date_ymd] => 2025-04-12 13:44:05
[RateCDR] => 1
)
[2025-04-12 13:44:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 10:44:05' and `end` < '2025-04-12 13:44:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 13:44:11] Production.ERROR: CronJobId end10
[2025-04-12 13:44:11] Production.INFO: ==32368== Releasing lock...
[2025-04-12 13:44:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 13:44:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 13:44:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 13:44:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 13:44:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 13:44:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 13:44:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 13:44:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 13:44:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 13:44:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 13:44:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 13:44:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 13:44:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 13:44:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 13:44:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 13:44:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 13:44:14] Production.INFO: call_cost start
[2025-04-12 13:44:14] Production.INFO: call_cost end
[2025-04-12 13:44:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 13:44:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 13:44:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 13:44:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 13:44:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 13:44:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 13:44:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 13:44:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 13:44:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 13:44:15] Production.INFO: ==32364== Releasing lock...
[2025-04-12 13:44:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 13:44:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 13:44:18] Production.INFO: count ==1679
[2025-04-12 13:44:18] Production.ERROR: pbx CDR StartTime 2025-04-12 10:44:05 - End Time 2025-04-12 13:44:05
[2025-04-12 13:44:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 13:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891948', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891948', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891948', 'tblTempVendorCDR_20' ) start
[2025-04-12 13:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891948', 'tblTempVendorCDR_20' ) end
[2025-04-12 13:44:18] Production.INFO: ProcessCDR(1,14891948,1,1,2)
[2025-04-12 13:44:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891948,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:44:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891948,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:44:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891948,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:44:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891948,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:44:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891948', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:44:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891948', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:44:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 13:44:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 13:44:23] Production.INFO: ==32372== Releasing lock...
[2025-04-12 13:44:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 13:44:23] Production.INFO: 40.75 MB #Memory Used#
[2025-04-12 18:45:02] Production.INFO: ==32433== Lock acquired, processing the job...
[2025-04-12 18:45:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 18:45:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 18:45:02] Production.INFO: neon service started
[2025-04-12 18:45:02] Production.INFO: neon service started
[2025-04-12 18:45:02] Production.INFO: ==32433== Releasing lock...
[2025-04-12 18:45:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 18:45:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 13:45:02] Production.INFO: ==32435== Lock acquired, processing the job...
[2025-04-12 13:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 13:45:02] Production.INFO: ==32435== Releasing lock...
[2025-04-12 13:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 13:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 17:45:02] Production.INFO: ==32437== Lock acquired, processing the job...
[2025-04-12 17:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 17:45:03] Production.INFO: ==32437== Releasing lock...
[2025-04-12 17:45:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 17:45:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 13:45:03] Production.INFO: ==32442== Lock acquired, processing the job...
[2025-04-12 13:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 13:45:03] Production.INFO: ==32440== Lock acquired, processing the job...
[2025-04-12 13:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 13:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 13:45:03] Production.INFO: ==32444== Lock acquired, processing the job...
[2025-04-12 13:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 13:45:03] Production.INFO: ==32450== Lock acquired, processing the job...
[2025-04-12 13:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 13:45:04] Production.INFO: ==32446== Lock acquired, processing the job...
[2025-04-12 13:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 13:45:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 13:45:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 13:45:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 13:45:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 13:45:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 13:45:04] Production.INFO: ==32448== Lock acquired, processing the job...
[2025-04-12 13:45:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 13:45:04] Production.INFO: ==32442== Releasing lock...
[2025-04-12 13:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 13:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 13:45:04] Production.INFO: count ==12
[2025-04-12 13:45:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 13:45:04] Production.INFO: count ==23
[2025-04-12 13:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891951') start
[2025-04-12 13:45:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 13:45:04] Production.INFO: Account Balance Start.
[2025-04-12 13:45:04] Production.INFO: CreateAllLog Start
[2025-04-12 13:45:04] Production.INFO: 117
[2025-04-12 13:45:04] Production.INFO: Date 2025-04-08
[2025-04-12 13:45:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:45:04] Production.INFO: Date 2025-04-09
[2025-04-12 13:45:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891951') end
[2025-04-12 13:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 13:45:04] Production.INFO: 1
[2025-04-12 13:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 13:45:04] Production.INFO: Date 2025-04-10
[2025-04-12 13:45:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:45:04] Production.INFO: Date 2025-04-11
[2025-04-12 13:45:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:45:04] Production.INFO: ==32450== Releasing lock...
[2025-04-12 13:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 13:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 13:45:04] Production.INFO: Date 2025-04-12
[2025-04-12 13:45:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:45:04] Production.INFO: Total Charge 0
[2025-04-12 13:45:04] Production.INFO: CreateAllLog End
[2025-04-12 13:45:04] Production.ERROR: done
[2025-04-12 13:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 13:45:04] Production.INFO: Account Balance End.
[2025-04-12 13:45:04] Production.ERROR: CronJobId end 12
[2025-04-12 13:45:04] Production.INFO: ==32446== Releasing lock...
[2025-04-12 13:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 13:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 13:45:04] Production.ERROR: done
[2025-04-12 13:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 10:45:05
[end_date_ymd] => 2025-04-12 13:45:05
[RateCDR] => 1
)
[2025-04-12 13:45:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 10:45:05' and `end` < '2025-04-12 13:45:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 13:45:12] Production.ERROR: CronJobId end10
[2025-04-12 13:45:12] Production.INFO: ==32444== Releasing lock...
[2025-04-12 13:45:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 13:45:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 13:45:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 13:45:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 13:45:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 13:45:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 13:45:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 13:45:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 13:45:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 13:45:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 13:45:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 13:45:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 13:45:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 13:45:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 13:45:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 13:45:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 13:45:15] Production.INFO: call_cost start
[2025-04-12 13:45:15] Production.INFO: call_cost end
[2025-04-12 13:45:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 13:45:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 13:45:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 13:45:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 13:45:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 13:45:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 13:45:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 13:45:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 13:45:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 13:45:16] Production.INFO: ==32440== Releasing lock...
[2025-04-12 13:45:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 13:45:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 13:45:18] Production.INFO: count ==1677
[2025-04-12 13:45:19] Production.ERROR: pbx CDR StartTime 2025-04-12 10:45:05 - End Time 2025-04-12 13:45:05
[2025-04-12 13:45:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 13:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891953', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891953', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891953', 'tblTempVendorCDR_20' ) start
[2025-04-12 13:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891953', 'tblTempVendorCDR_20' ) end
[2025-04-12 13:45:19] Production.INFO: ProcessCDR(1,14891953,1,1,2)
[2025-04-12 13:45:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891953,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:45:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891953,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:45:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891953,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:45:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891953,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:45:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891953', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:45:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891953', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:45:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 13:45:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 13:45:24] Production.INFO: ==32448== Releasing lock...
[2025-04-12 13:45:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 13:45:24] Production.INFO: 40.75 MB #Memory Used#
[2025-04-12 18:46:01] Production.INFO: ==32503== Lock acquired, processing the job...
[2025-04-12 18:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 18:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 18:46:01] Production.INFO: neon service started
[2025-04-12 18:46:01] Production.INFO: neon service started
[2025-04-12 18:46:01] Production.INFO: ==32503== Releasing lock...
[2025-04-12 18:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 18:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 13:46:02] Production.INFO: ==32505== Lock acquired, processing the job...
[2025-04-12 13:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 17:46:02] Production.INFO: ==32507== Lock acquired, processing the job...
[2025-04-12 17:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 17:46:02] Production.INFO: ==32507== Releasing lock...
[2025-04-12 17:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 17:46:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 13:46:02] Production.INFO: ==32505== Releasing lock...
[2025-04-12 13:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 13:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 13:46:03] Production.INFO: ==32514== Lock acquired, processing the job...
[2025-04-12 13:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 13:46:03] Production.INFO: ==32520== Lock acquired, processing the job...
[2025-04-12 13:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 13:46:03] Production.INFO: ==32510== Lock acquired, processing the job...
[2025-04-12 13:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 13:46:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 13:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 13:46:03] Production.INFO: count ==12
[2025-04-12 13:46:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 13:46:03] Production.INFO: count ==23
[2025-04-12 13:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 13:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 13:46:04] Production.INFO: ==32512== Lock acquired, processing the job...
[2025-04-12 13:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 13:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 13:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891954') start
[2025-04-12 13:46:04] Production.INFO: ==32516== Lock acquired, processing the job...
[2025-04-12 13:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 13:46:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 13:46:04] Production.INFO: ==32518== Lock acquired, processing the job...
[2025-04-12 13:46:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 13:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891954') end
[2025-04-12 13:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 13:46:04] Production.INFO: 1
[2025-04-12 13:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 13:46:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 13:46:04] Production.INFO: ==32520== Releasing lock...
[2025-04-12 13:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 13:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 13:46:04] Production.INFO: Account Balance Start.
[2025-04-12 13:46:04] Production.INFO: CreateAllLog Start
[2025-04-12 13:46:04] Production.INFO: 117
[2025-04-12 13:46:04] Production.INFO: Date 2025-04-08
[2025-04-12 13:46:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:46:04] Production.INFO: Date 2025-04-09
[2025-04-12 13:46:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:46:04] Production.INFO: ==32512== Releasing lock...
[2025-04-12 13:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 13:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 13:46:04] Production.INFO: Date 2025-04-10
[2025-04-12 13:46:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:46:04] Production.ERROR: done
[2025-04-12 13:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 13:46:04] Production.INFO: Date 2025-04-11
[2025-04-12 13:46:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:46:04] Production.INFO: Date 2025-04-12
[2025-04-12 13:46:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:46:04] Production.ERROR: done
[2025-04-12 13:46:04] Production.INFO: Total Charge 0
[2025-04-12 13:46:04] Production.INFO: CreateAllLog End
[2025-04-12 13:46:05] Production.INFO: Account Balance End.
[2025-04-12 13:46:05] Production.ERROR: CronJobId end 12
[2025-04-12 13:46:05] Production.INFO: ==32516== Releasing lock...
[2025-04-12 13:46:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 13:46:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 13:46:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 10:46:06
[end_date_ymd] => 2025-04-12 13:46:06
[RateCDR] => 1
)
[2025-04-12 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-12 10:46:06' and `end` < '2025-04-12 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-12 13:46:13] Production.ERROR: CronJobId end10
[2025-04-12 13:46:13] Production.INFO: ==32514== Releasing lock...
[2025-04-12 13:46:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 13:46:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 13:46:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 13:46:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 13:46:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 13:46:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 13:46:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 13:46:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 13:46:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 13:46:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 13:46:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 13:46:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 13:46:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 13:46:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 13:46:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 13:46:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 13:46:14] Production.INFO: call_cost start
[2025-04-12 13:46:14] Production.INFO: call_cost end
[2025-04-12 13:46:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 13:46:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 13:46:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 13:46:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 13:46:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 13:46:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 13:46:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 13:46:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 13:46:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 13:46:15] Production.INFO: ==32510== Releasing lock...
[2025-04-12 13:46:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 13:46:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 13:46:19] Production.INFO: count ==1671
[2025-04-12 13:46:19] Production.ERROR: pbx CDR StartTime 2025-04-12 10:46:06 - End Time 2025-04-12 13:46:06
[2025-04-12 13:46:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 13:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891958', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891958', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891958', 'tblTempVendorCDR_20' ) start
[2025-04-12 13:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891958', 'tblTempVendorCDR_20' ) end
[2025-04-12 13:46:19] Production.INFO: ProcessCDR(1,14891958,1,1,2)
[2025-04-12 13:46:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891958,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:46:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891958,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:46:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891958,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:46:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891958,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891958', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891958', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:46:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 13:46:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 13:46:23] Production.INFO: ==32518== Releasing lock...
[2025-04-12 13:46:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 13:46:23] Production.INFO: 40.5 MB #Memory Used#
[2025-04-12 18:47:02] Production.INFO: ==32577== Lock acquired, processing the job...
[2025-04-12 18:47:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 18:47:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 18:47:02] Production.INFO: neon service started
[2025-04-12 18:47:02] Production.INFO: neon service started
[2025-04-12 18:47:02] Production.INFO: ==32577== Releasing lock...
[2025-04-12 18:47:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 18:47:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 13:47:02] Production.INFO: ==32579== Lock acquired, processing the job...
[2025-04-12 13:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 17:47:02] Production.INFO: ==32581== Lock acquired, processing the job...
[2025-04-12 17:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 13:47:02] Production.INFO: ==32579== Releasing lock...
[2025-04-12 13:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 13:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 17:47:03] Production.INFO: ==32581== Releasing lock...
[2025-04-12 17:47:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 17:47:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 13:47:03] Production.INFO: ==32590== Lock acquired, processing the job...
[2025-04-12 13:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 13:47:03] Production.INFO: Account Balance Start.
[2025-04-12 13:47:03] Production.INFO: CreateAllLog Start
[2025-04-12 13:47:03] Production.INFO: 117
[2025-04-12 13:47:03] Production.INFO: Date 2025-04-08
[2025-04-12 13:47:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:47:03] Production.INFO: Date 2025-04-09
[2025-04-12 13:47:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:47:03] Production.INFO: ==32594== Lock acquired, processing the job...
[2025-04-12 13:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 13:47:03] Production.INFO: Date 2025-04-10
[2025-04-12 13:47:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:47:03] Production.INFO: Date 2025-04-11
[2025-04-12 13:47:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:47:03] Production.INFO: ==32584== Lock acquired, processing the job...
[2025-04-12 13:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 13:47:03] Production.INFO: Date 2025-04-12
[2025-04-12 13:47:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:47:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 13:47:04] Production.INFO: Total Charge 0
[2025-04-12 13:47:04] Production.INFO: count ==12
[2025-04-12 13:47:04] Production.INFO: CreateAllLog End
[2025-04-12 13:47:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 13:47:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 13:47:04] Production.INFO: count ==23
[2025-04-12 13:47:04] Production.INFO: ==32586== Lock acquired, processing the job...
[2025-04-12 13:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 13:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891960') start
[2025-04-12 13:47:04] Production.INFO: ==32588== Lock acquired, processing the job...
[2025-04-12 13:47:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 13:47:04] Production.INFO: ==32592== Lock acquired, processing the job...
[2025-04-12 13:47:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 13:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891960') end
[2025-04-12 13:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 13:47:04] Production.INFO: 1
[2025-04-12 13:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 13:47:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 13:47:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 13:47:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 13:47:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 13:47:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 13:47:04] Production.INFO: ==32594== Releasing lock...
[2025-04-12 13:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 13:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 13:47:04] Production.INFO: Account Balance End.
[2025-04-12 13:47:04] Production.INFO: ==32586== Releasing lock...
[2025-04-12 13:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 13:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 13:47:04] Production.ERROR: CronJobId end 12
[2025-04-12 13:47:04] Production.INFO: ==32590== Releasing lock...
[2025-04-12 13:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 13:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 13:47:04] Production.ERROR: done
[2025-04-12 13:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 13:47:04] Production.ERROR: done
[2025-04-12 13:47:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 10:47:06
[end_date_ymd] => 2025-04-12 13:47:06
[RateCDR] => 1
)
[2025-04-12 13: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-12 10:47:06' and `end` < '2025-04-12 13: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-12 13:47:12] Production.ERROR: CronJobId end10
[2025-04-12 13:47:12] Production.INFO: ==32588== Releasing lock...
[2025-04-12 13:47:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 13:47:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 13:47:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 13:47:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 13:47:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 13:47:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 13:47:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 13:47:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 13:47:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 13:47:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 13:47:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 13:47:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 13:47:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 13:47:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 13:47:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 13:47:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 13:47:15] Production.INFO: call_cost start
[2025-04-12 13:47:15] Production.INFO: call_cost end
[2025-04-12 13:47:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 13:47:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 13:47:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 13:47:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 13:47:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 13:47:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 13:47:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 13:47:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 13:47:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 13:47:16] Production.INFO: ==32584== Releasing lock...
[2025-04-12 13:47:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 13:47:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 13:47:19] Production.INFO: count ==1667
[2025-04-12 13:47:19] Production.ERROR: pbx CDR StartTime 2025-04-12 10:47:06 - End Time 2025-04-12 13:47:06
[2025-04-12 13:47:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 13:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891963', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891963', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891963', 'tblTempVendorCDR_20' ) start
[2025-04-12 13:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891963', 'tblTempVendorCDR_20' ) end
[2025-04-12 13:47:19] Production.INFO: ProcessCDR(1,14891963,1,1,2)
[2025-04-12 13:47:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891963,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:47:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891963,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:47:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891963,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:47:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891963,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891963', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891963', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:47:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 13:47:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 13:47:22] Production.INFO: ==32592== Releasing lock...
[2025-04-12 13:47:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 13:47:22] Production.INFO: 40.5 MB #Memory Used#
[2025-04-12 18:48:01] Production.INFO: ==32689== Lock acquired, processing the job...
[2025-04-12 18:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 18:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 18:48:01] Production.INFO: neon service started
[2025-04-12 18:48:01] Production.INFO: neon service started
[2025-04-12 18:48:01] Production.INFO: ==32689== Releasing lock...
[2025-04-12 18:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 18:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 13:48:02] Production.INFO: ==32691== Lock acquired, processing the job...
[2025-04-12 13:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 17:48:02] Production.INFO: ==32693== Lock acquired, processing the job...
[2025-04-12 17:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 17:48:02] Production.INFO: ==32693== Releasing lock...
[2025-04-12 17:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 17:48:02] Production.INFO: 26 MB #Memory Used#
[2025-04-12 13:48:02] Production.INFO: ==32691== Releasing lock...
[2025-04-12 13:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 13:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 13:48:03] Production.INFO: ==32695== Lock acquired, processing the job...
[2025-04-12 13:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 13:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 13:48:03] Production.INFO: ==32703== Lock acquired, processing the job...
[2025-04-12 13:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 13:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 13:48:03] Production.INFO: ==32705== Lock acquired, processing the job...
[2025-04-12 13:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 13:48:03] Production.INFO: ==32699== Lock acquired, processing the job...
[2025-04-12 13:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 13:48:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 13:48:03] Production.INFO: count ==12
[2025-04-12 13:48:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 13:48:03] Production.INFO: ==32697== Lock acquired, processing the job...
[2025-04-12 13:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 13:48:03] Production.INFO: count ==23
[2025-04-12 13:48:03] Production.ERROR: done
[2025-04-12 13:48:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 13:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891965') start
[2025-04-12 13:48:03] Production.INFO: ==32701== Lock acquired, processing the job...
[2025-04-12 13:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 13:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 13:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 13:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 13:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 13:48:03] Production.ERROR: done
[2025-04-12 13:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891965') end
[2025-04-12 13:48:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 13:48:03] Production.INFO: 1
[2025-04-12 13:48:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 13:48:03] Production.INFO: Account Balance Start.
[2025-04-12 13:48:03] Production.INFO: CreateAllLog Start
[2025-04-12 13:48:03] Production.INFO: 117
[2025-04-12 13:48:03] Production.INFO: ==32705== Releasing lock...
[2025-04-12 13:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 13:48:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 13:48:03] Production.INFO: Date 2025-04-08
[2025-04-12 13:48:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:48:03] Production.INFO: Date 2025-04-09
[2025-04-12 13:48:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:48:03] Production.INFO: Date 2025-04-10
[2025-04-12 13:48:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:48:04] Production.INFO: Date 2025-04-11
[2025-04-12 13:48:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:48:04] Production.INFO: Date 2025-04-12
[2025-04-12 13:48:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:48:04] Production.INFO: Total Charge 0
[2025-04-12 13:48:04] Production.INFO: ==32697== Releasing lock...
[2025-04-12 13:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 13:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 13:48:04] Production.INFO: CreateAllLog End
[2025-04-12 13:48:04] Production.INFO: Account Balance End.
[2025-04-12 13:48:04] Production.ERROR: CronJobId end 12
[2025-04-12 13:48:04] Production.INFO: ==32701== Releasing lock...
[2025-04-12 13:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 13:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 13:48:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 10:48:04
[end_date_ymd] => 2025-04-12 13:48:04
[RateCDR] => 1
)
[2025-04-12 13:48:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 10:48:04' and `end` < '2025-04-12 13:48:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 13:48:12] Production.ERROR: CronJobId end10
[2025-04-12 13:48:12] Production.INFO: ==32699== Releasing lock...
[2025-04-12 13:48:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 13:48:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 13:48:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 13:48:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 13:48:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 13:48:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 13:48:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 13:48:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 13:48:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 13:48:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 13:48:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 13:48:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 13:48:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 13:48:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 13:48:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 13:48:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 13:48:14] Production.INFO: call_cost start
[2025-04-12 13:48:14] Production.INFO: call_cost end
[2025-04-12 13:48:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 13:48:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 13:48:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 13:48:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 13:48:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 13:48:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 13:48:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 13:48:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 13:48:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 13:48:15] Production.INFO: ==32695== Releasing lock...
[2025-04-12 13:48:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 13:48:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 13:48:17] Production.INFO: count ==1666
[2025-04-12 13:48:18] Production.ERROR: pbx CDR StartTime 2025-04-12 10:48:04 - End Time 2025-04-12 13:48:04
[2025-04-12 13:48:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 13:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891967', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891967', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891967', 'tblTempVendorCDR_20' ) start
[2025-04-12 13:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891967', 'tblTempVendorCDR_20' ) end
[2025-04-12 13:48:18] Production.INFO: ProcessCDR(1,14891967,1,1,2)
[2025-04-12 13:48:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891967,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:48:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891967,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:48:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891967,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:48:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891967,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:48:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891967', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:48:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891967', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:48:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 13:48:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 13:48:23] Production.INFO: ==32703== Releasing lock...
[2025-04-12 13:48:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 13:48:23] Production.INFO: 40.25 MB #Memory Used#
[2025-04-12 18:49:02] Production.INFO: ==32760== Lock acquired, processing the job...
[2025-04-12 18:49:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 18:49:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 18:49:02] Production.INFO: neon service started
[2025-04-12 18:49:02] Production.INFO: neon service started
[2025-04-12 18:49:02] Production.INFO: ==32760== Releasing lock...
[2025-04-12 18:49:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 18:49:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 13:49:02] Production.INFO: ==32762== Lock acquired, processing the job...
[2025-04-12 13:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 13:49:02] Production.INFO: ==32762== Releasing lock...
[2025-04-12 13:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 13:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 17:49:02] Production.INFO: ==32764== Lock acquired, processing the job...
[2025-04-12 17:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 17:49:02] Production.INFO: ==32764== Releasing lock...
[2025-04-12 17:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 17:49:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 13:49:03] Production.INFO: ==304== Lock acquired, processing the job...
[2025-04-12 13:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 13:49:03] Production.INFO: Account Balance Start.
[2025-04-12 13:49:03] Production.INFO: CreateAllLog Start
[2025-04-12 13:49:03] Production.INFO: 117
[2025-04-12 13:49:03] Production.INFO: Date 2025-04-08
[2025-04-12 13:49:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:49:03] Production.INFO: Date 2025-04-09
[2025-04-12 13:49:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:49:03] Production.INFO: Date 2025-04-10
[2025-04-12 13:49:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:49:03] Production.INFO: Date 2025-04-11
[2025-04-12 13:49:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:49:03] Production.INFO: Date 2025-04-12
[2025-04-12 13:49:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:49:03] Production.INFO: Total Charge 0
[2025-04-12 13:49:03] Production.INFO: ==32766== Lock acquired, processing the job...
[2025-04-12 13:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 13:49:03] Production.INFO: CreateAllLog End
[2025-04-12 13:49:03] Production.INFO: ==300== Lock acquired, processing the job...
[2025-04-12 13:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 13:49:03] Production.INFO: Account Balance End.
[2025-04-12 13:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 13:49:04] Production.ERROR: CronJobId end 12
[2025-04-12 13:49:04] Production.INFO: ==304== Releasing lock...
[2025-04-12 13:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 13:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 13:49:04] Production.INFO: ==302== Lock acquired, processing the job...
[2025-04-12 13:49:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 13:49:04] Production.INFO: ==307== Lock acquired, processing the job...
[2025-04-12 13:49:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 13:49:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 13:49:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 13:49:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 13:49:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 13:49:04] Production.INFO: ==316== Lock acquired, processing the job...
[2025-04-12 13:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 13:49:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 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-12 13:49:04] Production.INFO: count ==12
[2025-04-12 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-12 13:49:04] Production.INFO: count ==23
[2025-04-12 13:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891972') start
[2025-04-12 13:49:04] Production.INFO: ==300== Releasing lock...
[2025-04-12 13:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 13:49:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 13:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891972') end
[2025-04-12 13:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 13:49:04] Production.INFO: 1
[2025-04-12 13:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 13:49:04] Production.INFO: ==316== Releasing lock...
[2025-04-12 13:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 13:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 13:49:04] Production.ERROR: done
[2025-04-12 13:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 13:49:05] Production.ERROR: done
[2025-04-12 13:49:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 10:49:06
[end_date_ymd] => 2025-04-12 13:49:06
[RateCDR] => 1
)
[2025-04-12 13: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-12 10:49:06' and `end` < '2025-04-12 13: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-12 13:49:11] Production.ERROR: CronJobId end10
[2025-04-12 13:49:11] Production.INFO: ==302== Releasing lock...
[2025-04-12 13:49:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 13:49:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 13:49:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 13:49:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 13:49:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 13:49:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 13:49:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 13:49:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 13:49:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 13:49:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 13:49:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 13:49:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 13:49:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 13:49:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 13:49:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 13:49:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 13:49:14] Production.INFO: call_cost start
[2025-04-12 13:49:14] Production.INFO: call_cost end
[2025-04-12 13:49:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 13:49:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 13:49:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 13:49:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 13:49:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 13:49:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 13:49:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 13:49:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 13:49:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 13:49:15] Production.INFO: ==32766== Releasing lock...
[2025-04-12 13:49:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 13:49:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 13:49:19] Production.INFO: count ==1667
[2025-04-12 13:49:19] Production.ERROR: pbx CDR StartTime 2025-04-12 10:49:06 - End Time 2025-04-12 13:49:06
[2025-04-12 13:49:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 13:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891973', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891973', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891973', 'tblTempVendorCDR_20' ) start
[2025-04-12 13:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891973', 'tblTempVendorCDR_20' ) end
[2025-04-12 13:49:19] Production.INFO: ProcessCDR(1,14891973,1,1,2)
[2025-04-12 13:49:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891973,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:49:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891973,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:49:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891973,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:49:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891973,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:49:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891973', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:49:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891973', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:49:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 13:49:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 13:49:24] Production.INFO: ==307== Releasing lock...
[2025-04-12 13:49:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 13:49:24] Production.INFO: 40.5 MB #Memory Used#
[2025-04-12 18:50:01] Production.INFO: ==384== Lock acquired, processing the job...
[2025-04-12 18:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 18:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 18:50:01] Production.INFO: neon service started
[2025-04-12 18:50:01] Production.INFO: neon service started
[2025-04-12 18:50:01] Production.INFO: ==384== Releasing lock...
[2025-04-12 18:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 18:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 13:50:02] Production.INFO: ==386== Lock acquired, processing the job...
[2025-04-12 13:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 13:50:02] Production.INFO: ==386== Releasing lock...
[2025-04-12 13:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 13:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 17:50:02] Production.INFO: ==388== Lock acquired, processing the job...
[2025-04-12 17:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 17:50:02] Production.INFO: ==388== Releasing lock...
[2025-04-12 17:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 17:50:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 13:50:03] Production.INFO: ==403== Lock acquired, processing the job...
[2025-04-12 13:50:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 13:50:03] Production.INFO: ==392== Lock acquired, processing the job...
[2025-04-12 13:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 13:50:03] Production.INFO: ==390== Lock acquired, processing the job...
[2025-04-12 13:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 13:50:03] Production.INFO: ==398== Lock acquired, processing the job...
[2025-04-12 13:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 13:50:03] Production.INFO: ==394== Lock acquired, processing the job...
[2025-04-12 13:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 13:50:03] Production.INFO: ==401== Lock acquired, processing the job...
[2025-04-12 13:50:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 13:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 13:50:03] Production.INFO: ==396== Lock acquired, processing the job...
[2025-04-12 13:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 13:50:03] Production.INFO: Account Balance Start.
[2025-04-12 13:50:03] Production.INFO: CreateAllLog Start
[2025-04-12 13:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 13:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 13:50:03] Production.ERROR: CronJob PID - 392
[2025-04-12 13:50:03] Production.ERROR: CronJob Title - System Alerts
[2025-04-12 13:50:03] Production.ERROR: CronJob ID - 5
[2025-04-12 13:50:03] Production.ERROR: CronJob Last Run Time 2025-04-12 13:50:00
[2025-04-12 13:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 13:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 13:50:03] Production.INFO: 117
[2025-04-12 13:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 13:50:03] Production.ERROR: CronJob PID - 394
[2025-04-12 13:50:03] Production.ERROR: CronJob Title - Account Block
[2025-04-12 13:50:03] Production.ERROR: CronJob ID - 7
[2025-04-12 13:50:03] Production.ERROR: CronJob Last Run Time 2025-04-12 13:50:00
[2025-04-12 13:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 13:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 13:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 13:50:03] Production.ERROR: CronJob PID - 398
[2025-04-12 13:50:03] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-04-12 13:50:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 13:50:03] Production.ERROR: CronJob ID - 12
[2025-04-12 13:50:03] Production.ERROR: CronJob Last Run Time 2025-04-12 13:50:00
[2025-04-12 13:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 13:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 13:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 13:50:03] Production.ERROR: CronJob PID - 401
[2025-04-12 13:50:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-04-12 13:50:03] Production.ERROR: CronJob ID - 16
[2025-04-12 13:50:03] Production.ERROR: CronJob Last Run Time 2025-04-12 13:50:00
[2025-04-12 13:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 13:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 13:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 13:50:03] Production.ERROR: CronJob PID - 403
[2025-04-12 13:50:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-04-12 13:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 13:50:03] Production.ERROR: CronJob ID - 17
[2025-04-12 13:50:03] Production.ERROR: CronJob Last Run Time 2025-04-12 13:50:00
[2025-04-12 13:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 13:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 13:50:04] Production.INFO: Date 2025-04-08
[2025-04-12 13:50:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:50:04] Production.INFO: ==405== Lock acquired, processing the job...
[2025-04-12 13:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 13:50:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 13:50:04] Production.INFO: ==390== Releasing lock...
[2025-04-12 13:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 13:50:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 13:50:04] Production.INFO: Date 2025-04-09
[2025-04-12 13:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 13:50:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 13:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 13:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 13:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 13:50:04] Production.INFO: count ==12
[2025-04-12 13:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 13:50:04] Production.INFO: count ==23
[2025-04-12 13:50:04] Production.INFO: ==394== Releasing lock...
[2025-04-12 13:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 13:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 13:50:04] Production.INFO: Date 2025-04-10
[2025-04-12 13:50:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891977') start
[2025-04-12 13:50:04] Production.ERROR: done
[2025-04-12 13:50:04] Production.ERROR: done
[2025-04-12 13:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 13:50:04] Production.INFO: Date 2025-04-11
[2025-04-12 13:50:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 13:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14891978', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 13:50:04] Production.INFO: Date 2025-04-12
[2025-04-12 13:50:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891977') end
[2025-04-12 13:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 13:50:04] Production.INFO: 1
[2025-04-12 13:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 13:50:04] Production.INFO: Total Charge 0
[2025-04-12 13:50:04] Production.INFO: ==405== Releasing lock...
[2025-04-12 13:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 13:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 13:50:04] Production.ERROR: done
[2025-04-12 13:50:04] Production.INFO: CreateAllLog End
[2025-04-12 13:50:05] Production.INFO: Account Balance End.
[2025-04-12 13:50:05] Production.ERROR: CronJobId end 12
[2025-04-12 13:50:05] Production.INFO: ==398== Releasing lock...
[2025-04-12 13:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 13:50:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 13:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 10:50:06
[end_date_ymd] => 2025-04-12 13:50:06
[RateCDR] => 1
)
[2025-04-12 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-12 10:50:06' and `end` < '2025-04-12 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-12 13:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14891978', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 13:50:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 13:50:09] Production.INFO: ProcessCDR(1,14891978,1,1,2)
[2025-04-12 13:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14891978,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14891978,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:50:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 13:50:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 13:50:09] Production.INFO: ==403== Releasing lock...
[2025-04-12 13:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 13:50:09] Production.INFO: 26 MB #Memory Used#
[2025-04-12 13:50:14] Production.ERROR: CronJobId end10
[2025-04-12 13:50:14] Production.INFO: ==396== Releasing lock...
[2025-04-12 13:50:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 13:50:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 13:50:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 13:50:17] Production.INFO: ============== Balance Warning START===========
[2025-04-12 13:50:17] Production.INFO: ============== Balance Warning END===========
[2025-04-12 13:50:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 13:50:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 13:50:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 13:50:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 13:50:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 13:50:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 13:50:17] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 13:50:17] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 13:50:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 13:50:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 13:50:17] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 13:50:17] Production.INFO: call_cost start
[2025-04-12 13:50:17] Production.INFO: call_cost end
[2025-04-12 13:50:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 13:50:18] Production.INFO: ============== Report Schedule START===========
[2025-04-12 13:50:18] Production.INFO: ============== Report Schedule END===========
[2025-04-12 13:50:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 13:50:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 13:50:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 13:50:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 13:50:18] Production.INFO: ============== Deal alert START===========
[2025-04-12 13:50:18] Production.INFO: ============== Deal alert END===========
[2025-04-12 13:50:18] Production.INFO: ==392== Releasing lock...
[2025-04-12 13:50:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 13:50:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 13:50:19] Production.INFO: count ==1667
[2025-04-12 13:50:19] Production.ERROR: pbx CDR StartTime 2025-04-12 10:50:06 - End Time 2025-04-12 13:50:06
[2025-04-12 13:50:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 13:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891979', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891979', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891979', 'tblTempVendorCDR_20' ) start
[2025-04-12 13:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891979', 'tblTempVendorCDR_20' ) end
[2025-04-12 13:50:19] Production.INFO: ProcessCDR(1,14891979,1,1,2)
[2025-04-12 13:50:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891979,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:50:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891979,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:50:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891979,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:50:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891979,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:50:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891979', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:50:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891979', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:50:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 13:50:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 13:50:24] Production.INFO: ==401== Releasing lock...
[2025-04-12 13:50:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 13:50:24] Production.INFO: 40.5 MB #Memory Used#
[2025-04-12 18:51:02] Production.INFO: ==459== Lock acquired, processing the job...
[2025-04-12 18:51:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 18:51:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 18:51:02] Production.INFO: neon service started
[2025-04-12 18:51:02] Production.INFO: neon service started
[2025-04-12 18:51:02] Production.INFO: ==459== Releasing lock...
[2025-04-12 18:51:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 18:51:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 13:51:02] Production.INFO: ==462== Lock acquired, processing the job...
[2025-04-12 13:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 13:51:02] Production.INFO: ==462== Releasing lock...
[2025-04-12 13:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 13:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 17:51:02] Production.INFO: ==464== Lock acquired, processing the job...
[2025-04-12 17:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 17:51:02] Production.INFO: ==464== Releasing lock...
[2025-04-12 17:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 17:51:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 13:51:03] Production.INFO: ==475== Lock acquired, processing the job...
[2025-04-12 13:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 13:51:03] Production.INFO: ==473== Lock acquired, processing the job...
[2025-04-12 13:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 13:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 13:51:03] Production.INFO: Account Balance Start.
[2025-04-12 13:51:03] Production.INFO: CreateAllLog Start
[2025-04-12 13:51:03] Production.INFO: 117
[2025-04-12 13:51:03] Production.INFO: Date 2025-04-08
[2025-04-12 13:51:03] Production.INFO: ==466== Lock acquired, processing the job...
[2025-04-12 13:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 13:51:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:51:03] Production.INFO: ==468== Lock acquired, processing the job...
[2025-04-12 13:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 13:51:03] Production.INFO: ==470== Lock acquired, processing the job...
[2025-04-12 13:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 13:51:03] Production.INFO: Date 2025-04-09
[2025-04-12 13:51:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 13:51:04] Production.INFO: Date 2025-04-10
[2025-04-12 13:51:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:51:04] Production.INFO: ==477== Lock acquired, processing the job...
[2025-04-12 13:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 13:51:04] Production.INFO: Date 2025-04-11
[2025-04-12 13:51:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:51:04] Production.ERROR: done
[2025-04-12 13:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 13:51:04] Production.INFO: Date 2025-04-12
[2025-04-12 13:51:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:51:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 13:51:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 13:51:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 13:51:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 13: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-12 13:51:04] Production.ERROR: done
[2025-04-12 13:51:04] Production.INFO: Total Charge 0
[2025-04-12 13:51:04] Production.INFO: count ==12
[2025-04-12 13:51:04] Production.INFO: CreateAllLog End
[2025-04-12 13:51:04] Production.INFO: ==468== Releasing lock...
[2025-04-12 13:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 13:51:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 13:51:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 13:51:04] Production.INFO: count ==23
[2025-04-12 13:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891983') start
[2025-04-12 13:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891983') end
[2025-04-12 13:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 13:51:04] Production.INFO: 1
[2025-04-12 13:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 13:51:04] Production.INFO: Account Balance End.
[2025-04-12 13:51:04] Production.ERROR: CronJobId end 12
[2025-04-12 13:51:04] Production.INFO: ==473== Releasing lock...
[2025-04-12 13:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 13:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 13:51:04] Production.INFO: ==477== Releasing lock...
[2025-04-12 13:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 13:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 13:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 10:51:05
[end_date_ymd] => 2025-04-12 13:51:05
[RateCDR] => 1
)
[2025-04-12 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-12 10:51:05' and `end` < '2025-04-12 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-12 13:51:12] Production.ERROR: CronJobId end10
[2025-04-12 13:51:12] Production.INFO: ==470== Releasing lock...
[2025-04-12 13:51:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 13:51:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 13:51:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 13:51:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 13:51:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 13:51:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 13:51:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 13:51:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 13:51:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 13:51:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 13:51:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 13:51:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 13:51:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 13:51:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 13:51:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 13:51:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 13:51:15] Production.INFO: call_cost start
[2025-04-12 13:51:15] Production.INFO: call_cost end
[2025-04-12 13:51:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 13:51:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 13:51:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 13:51:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 13:51:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 13:51:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 13:51:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 13:51:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 13:51:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 13:51:16] Production.INFO: ==466== Releasing lock...
[2025-04-12 13:51:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 13:51:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 13:51:18] Production.INFO: count ==1655
[2025-04-12 13:51:18] Production.ERROR: pbx CDR StartTime 2025-04-12 10:51:05 - End Time 2025-04-12 13:51:05
[2025-04-12 13:51:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 13:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891984', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891984', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891984', 'tblTempVendorCDR_20' ) start
[2025-04-12 13:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891984', 'tblTempVendorCDR_20' ) end
[2025-04-12 13:51:18] Production.INFO: ProcessCDR(1,14891984,1,1,2)
[2025-04-12 13:51:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891984,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:51:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891984,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:51:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891984,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:51:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891984,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891984', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891984', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:51:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 13:51:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 13:51:22] Production.INFO: ==475== Releasing lock...
[2025-04-12 13:51:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 13:51:22] Production.INFO: 40.25 MB #Memory Used#
[2025-04-12 18:52:01] Production.INFO: ==535== Lock acquired, processing the job...
[2025-04-12 18:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 18:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 18:52:01] Production.INFO: neon service started
[2025-04-12 18:52:01] Production.INFO: neon service started
[2025-04-12 18:52:01] Production.INFO: ==535== Releasing lock...
[2025-04-12 18:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 18:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 13:52:02] Production.INFO: ==537== Lock acquired, processing the job...
[2025-04-12 13:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 17:52:02] Production.INFO: ==539== Lock acquired, processing the job...
[2025-04-12 17:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 17:52:02] Production.INFO: ==539== Releasing lock...
[2025-04-12 17:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 17:52:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 13:52:02] Production.INFO: ==537== Releasing lock...
[2025-04-12 13:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 13:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 13:52:03] Production.INFO: ==542== Lock acquired, processing the job...
[2025-04-12 13:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 13:52:03] Production.INFO: ==544== Lock acquired, processing the job...
[2025-04-12 13:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 13:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 13:52:03] Production.INFO: ==546== Lock acquired, processing the job...
[2025-04-12 13:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 13:52:03] Production.INFO: ==548== Lock acquired, processing the job...
[2025-04-12 13:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 13:52:03] Production.INFO: ==550== Lock acquired, processing the job...
[2025-04-12 13:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 13:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 13:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 13:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 13:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 13:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 13:52:03] Production.INFO: Account Balance Start.
[2025-04-12 13:52:03] Production.INFO: CreateAllLog Start
[2025-04-12 13:52:03] Production.INFO: 117
[2025-04-12 13:52:03] Production.INFO: Date 2025-04-08
[2025-04-12 13:52:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:52:03] Production.INFO: ==552== Lock acquired, processing the job...
[2025-04-12 13:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 13:52:03] Production.INFO: Date 2025-04-09
[2025-04-12 13:52:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:52:03] Production.INFO: Date 2025-04-10
[2025-04-12 13:52:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:52:03] Production.INFO: ==544== Releasing lock...
[2025-04-12 13:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 13:52:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 13:52:03] Production.INFO: Date 2025-04-11
[2025-04-12 13:52:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:52:04] Production.INFO: Date 2025-04-12
[2025-04-12 13:52:04] Production.INFO: Reseller ==> 0
[2025-04-12 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-12 13:52:04] Production.INFO: Total Charge 0
[2025-04-12 13:52:04] Production.INFO: CreateAllLog End
[2025-04-12 13:52:04] Production.INFO: count ==12
[2025-04-12 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-12 13:52:04] Production.INFO: count ==23
[2025-04-12 13:52:04] Production.ERROR: done
[2025-04-12 13:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 13:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891988') start
[2025-04-12 13:52:04] Production.ERROR: done
[2025-04-12 13:52:04] Production.INFO: Account Balance End.
[2025-04-12 13:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891988') end
[2025-04-12 13:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 13:52:04] Production.INFO: 1
[2025-04-12 13:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 13:52:04] Production.ERROR: CronJobId end 12
[2025-04-12 13:52:04] Production.INFO: ==548== Releasing lock...
[2025-04-12 13:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 13:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 13:52:04] Production.INFO: ==552== Releasing lock...
[2025-04-12 13:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 13:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 13:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 10:52:05
[end_date_ymd] => 2025-04-12 13:52:05
[RateCDR] => 1
)
[2025-04-12 13:52:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 10:52:05' and `end` < '2025-04-12 13:52:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 13:52: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-12 13:52:12] Production.ERROR: CronJobId end10
[2025-04-12 13:52:12] Production.INFO: ==546== Releasing lock...
[2025-04-12 13:52:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 13:52:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 13:52:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 13:52:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 13:52:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 13:52:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 13:52:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 13:52:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 13:52:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 13:52:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 13:52:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 13:52:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 13:52:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 13:52:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 13:52:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 13:52:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 13:52:15] Production.INFO: call_cost start
[2025-04-12 13:52:15] Production.INFO: call_cost end
[2025-04-12 13:52:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 13:52:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 13:52:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 13:52:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 13:52:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 13:52:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 13:52:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 13:52:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 13:52:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 13:52:16] Production.INFO: ==542== Releasing lock...
[2025-04-12 13:52:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 13:52:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 13:52:18] Production.INFO: count ==1658
[2025-04-12 13:52:19] Production.ERROR: pbx CDR StartTime 2025-04-12 10:52:05 - End Time 2025-04-12 13:52:05
[2025-04-12 13:52:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 13:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891989', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891989', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891989', 'tblTempVendorCDR_20' ) start
[2025-04-12 13:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891989', 'tblTempVendorCDR_20' ) end
[2025-04-12 13:52:19] Production.INFO: ProcessCDR(1,14891989,1,1,2)
[2025-04-12 13:52:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891989,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:52:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891989,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:52:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891989,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:52:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891989,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:52:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891989', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:52:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891989', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:52:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 13:52:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 13:52:24] Production.INFO: ==550== Releasing lock...
[2025-04-12 13:52:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 13:52:24] Production.INFO: 40.25 MB #Memory Used#
[2025-04-12 18:53:01] Production.INFO: ==611== Lock acquired, processing the job...
[2025-04-12 18:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 18:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 18:53:01] Production.INFO: neon service started
[2025-04-12 18:53:01] Production.INFO: neon service started
[2025-04-12 18:53:01] Production.INFO: ==611== Releasing lock...
[2025-04-12 18:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 18:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 17:53:02] Production.INFO: ==617== Lock acquired, processing the job...
[2025-04-12 17:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 17:53:02] Production.INFO: ==617== Releasing lock...
[2025-04-12 17:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 17:53:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 13:53:02] Production.INFO: ==615== Lock acquired, processing the job...
[2025-04-12 13:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 13:53:02] Production.INFO: ==615== Releasing lock...
[2025-04-12 13:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 13:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 13:53:03] Production.INFO: ==620== Lock acquired, processing the job...
[2025-04-12 13:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 13:53:03] Production.INFO: ==626== Lock acquired, processing the job...
[2025-04-12 13:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 13:53:03] Production.INFO: ==628== Lock acquired, processing the job...
[2025-04-12 13:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 13:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 13:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 13:53:03] Production.INFO: Account Balance Start.
[2025-04-12 13:53:03] Production.INFO: CreateAllLog Start
[2025-04-12 13:53:03] Production.INFO: 117
[2025-04-12 13:53:03] Production.INFO: Date 2025-04-08
[2025-04-12 13:53:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:53:03] Production.INFO: Date 2025-04-09
[2025-04-12 13:53:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:53:03] Production.INFO: Date 2025-04-10
[2025-04-12 13:53:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:53:03] Production.INFO: ==622== Lock acquired, processing the job...
[2025-04-12 13:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 13:53:03] Production.INFO: ==624== Lock acquired, processing the job...
[2025-04-12 13:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 13:53:03] Production.INFO: ==630== Lock acquired, processing the job...
[2025-04-12 13:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 13:53:03] Production.INFO: Date 2025-04-11
[2025-04-12 13:53:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:53:03] Production.INFO: Date 2025-04-12
[2025-04-12 13:53:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:53:04] Production.INFO: Total Charge 0
[2025-04-12 13:53:04] Production.INFO: CreateAllLog End
[2025-04-12 13:53:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 13:53:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 13:53:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 13:53:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 13:53:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 13:53:04] Production.INFO: count ==12
[2025-04-12 13:53:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 13:53:04] Production.ERROR: done
[2025-04-12 13:53:04] Production.INFO: count ==23
[2025-04-12 13:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 13:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891993') start
[2025-04-12 13:53:04] Production.INFO: Account Balance End.
[2025-04-12 13:53:04] Production.ERROR: CronJobId end 12
[2025-04-12 13:53:04] Production.INFO: ==626== Releasing lock...
[2025-04-12 13:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 13:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 13:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14891993') end
[2025-04-12 13:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 13:53:04] Production.INFO: 1
[2025-04-12 13:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 13:53:04] Production.ERROR: done
[2025-04-12 13:53:04] Production.INFO: ==622== Releasing lock...
[2025-04-12 13:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 13:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 13:53:04] Production.INFO: ==630== Releasing lock...
[2025-04-12 13:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 13:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 13:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 10:53:05
[end_date_ymd] => 2025-04-12 13:53:05
[RateCDR] => 1
)
[2025-04-12 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-12 10:53:05' and `end` < '2025-04-12 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-12 13:53:12] Production.ERROR: CronJobId end10
[2025-04-12 13:53:12] Production.INFO: ==624== Releasing lock...
[2025-04-12 13:53:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 13:53:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 13:53:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 13:53:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 13:53:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 13:53:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 13:53:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 13:53:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 13:53:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 13:53:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 13:53:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 13:53:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 13:53:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 13:53:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 13:53:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 13:53:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 13:53:15] Production.INFO: call_cost start
[2025-04-12 13:53:15] Production.INFO: call_cost end
[2025-04-12 13:53:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 13:53:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 13:53:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 13:53:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 13:53:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 13:53:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 13:53:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 13:53:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 13:53:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 13:53:16] Production.INFO: ==620== Releasing lock...
[2025-04-12 13:53:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 13:53:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 13:53:18] Production.INFO: count ==1650
[2025-04-12 13:53:18] Production.ERROR: pbx CDR StartTime 2025-04-12 10:53:05 - End Time 2025-04-12 13:53:05
[2025-04-12 13:53:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 13:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891994', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891994', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891994', 'tblTempVendorCDR_20' ) start
[2025-04-12 13:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891994', 'tblTempVendorCDR_20' ) end
[2025-04-12 13:53:19] Production.INFO: ProcessCDR(1,14891994,1,1,2)
[2025-04-12 13:53:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891994,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:53:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891994,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:53:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891994,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:53:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891994,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:53:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891994', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:53:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891994', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:53:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 13:53:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 13:53:23] Production.INFO: ==628== Releasing lock...
[2025-04-12 13:53:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 13:53:23] Production.INFO: 40.25 MB #Memory Used#
[2025-04-12 18:54:01] Production.INFO: ==711== Lock acquired, processing the job...
[2025-04-12 18:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 18:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 18:54:01] Production.INFO: neon service started
[2025-04-12 18:54:01] Production.INFO: neon service started
[2025-04-12 18:54:01] Production.INFO: ==711== Releasing lock...
[2025-04-12 18:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 18:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 13:54:01] Production.INFO: ==713== Lock acquired, processing the job...
[2025-04-12 13:54:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 13:54:02] Production.INFO: ==713== Releasing lock...
[2025-04-12 13:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 13:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 17:54:02] Production.INFO: ==715== Lock acquired, processing the job...
[2025-04-12 17:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 17:54:02] Production.INFO: ==715== Releasing lock...
[2025-04-12 17:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 17:54:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 13:54:02] Production.INFO: ==728== Lock acquired, processing the job...
[2025-04-12 13:54:02] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 13:54:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 13:54:03] Production.INFO: count ==12
[2025-04-12 13:54:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 13:54:03] Production.INFO: count ==23
[2025-04-12 13:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891995') start
[2025-04-12 13:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14891995') end
[2025-04-12 13:54:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 13:54:03] Production.INFO: 1
[2025-04-12 13:54:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 13:54:03] Production.INFO: ==728== Releasing lock...
[2025-04-12 13:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 13:54:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 13:54:03] Production.INFO: ==726== Lock acquired, processing the job...
[2025-04-12 13:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 13:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 13:54:03] Production.INFO: ==718== Lock acquired, processing the job...
[2025-04-12 13:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 13:54:03] Production.INFO: ==720== Lock acquired, processing the job...
[2025-04-12 13:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 13:54:03] Production.INFO: ==722== Lock acquired, processing the job...
[2025-04-12 13:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 13:54:03] Production.INFO: ==724== Lock acquired, processing the job...
[2025-04-12 13:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 13:54:03] Production.INFO: Account Balance Start.
[2025-04-12 13:54:03] Production.INFO: CreateAllLog Start
[2025-04-12 13:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 13:54:03] Production.INFO: 117
[2025-04-12 13:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 13:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 13:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 13:54:03] Production.INFO: Date 2025-04-08
[2025-04-12 13:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 13:54:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:54:03] Production.INFO: Date 2025-04-09
[2025-04-12 13:54:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:54:03] Production.ERROR: done
[2025-04-12 13:54:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 13:54:03] Production.INFO: Date 2025-04-10
[2025-04-12 13:54:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:54:03] Production.INFO: Date 2025-04-11
[2025-04-12 13:54:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:54:03] Production.INFO: Date 2025-04-12
[2025-04-12 13:54:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:54:04] Production.ERROR: done
[2025-04-12 13:54:04] Production.INFO: ==720== Releasing lock...
[2025-04-12 13:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 13:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 13:54:04] Production.INFO: Total Charge 0
[2025-04-12 13:54:04] Production.INFO: CreateAllLog End
[2025-04-12 13:54:04] Production.INFO: Account Balance End.
[2025-04-12 13:54:04] Production.ERROR: CronJobId end 12
[2025-04-12 13:54:04] Production.INFO: ==724== Releasing lock...
[2025-04-12 13:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 13:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 13:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 10:54:05
[end_date_ymd] => 2025-04-12 13:54:05
[RateCDR] => 1
)
[2025-04-12 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-12 10:54:05' and `end` < '2025-04-12 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-12 13:54:11] Production.ERROR: CronJobId end10
[2025-04-12 13:54:11] Production.INFO: ==722== Releasing lock...
[2025-04-12 13:54:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 13:54:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 13:54:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 13:54:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 13:54:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 13:54:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 13:54:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 13:54:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 13:54:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 13:54:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 13:54:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 13:54:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 13:54:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 13:54:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 13:54:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 13:54:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 13:54:14] Production.INFO: call_cost start
[2025-04-12 13:54:14] Production.INFO: call_cost end
[2025-04-12 13:54:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 13:54:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 13:54:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 13:54:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 13:54:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 13:54:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 13:54:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 13:54:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 13:54:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 13:54:15] Production.INFO: ==718== Releasing lock...
[2025-04-12 13:54:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 13:54:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 13:54:18] Production.INFO: count ==1650
[2025-04-12 13:54:18] Production.ERROR: pbx CDR StartTime 2025-04-12 10:54:05 - End Time 2025-04-12 13:54:05
[2025-04-12 13:54:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 13:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891999', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14891999', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891999', 'tblTempVendorCDR_20' ) start
[2025-04-12 13:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14891999', 'tblTempVendorCDR_20' ) end
[2025-04-12 13:54:18] Production.INFO: ProcessCDR(1,14891999,1,1,2)
[2025-04-12 13:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14891999,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:54:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14891999,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:54:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14891999,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:54:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14891999,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:54:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891999', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:54:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14891999', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:54:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 13:54:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 13:54:23] Production.INFO: ==726== Releasing lock...
[2025-04-12 13:54:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 13:54:23] Production.INFO: 40.5 MB #Memory Used#
[2025-04-12 18:55:01] Production.INFO: ==789== Lock acquired, processing the job...
[2025-04-12 18:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 18:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 18:55:01] Production.INFO: neon service started
[2025-04-12 18:55:01] Production.INFO: neon service started
[2025-04-12 18:55:01] Production.INFO: ==789== Releasing lock...
[2025-04-12 18:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 18:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 13:55:02] Production.INFO: ==791== Lock acquired, processing the job...
[2025-04-12 13:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 17:55:02] Production.INFO: ==793== Lock acquired, processing the job...
[2025-04-12 17:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 17:55:02] Production.INFO: ==793== Releasing lock...
[2025-04-12 17:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 17:55:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 13:55:02] Production.INFO: ==791== Releasing lock...
[2025-04-12 13:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 13:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 13:55:03] Production.INFO: ==798== Lock acquired, processing the job...
[2025-04-12 13:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 13:55:03] Production.INFO: ==796== Lock acquired, processing the job...
[2025-04-12 13:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 13:55:04] Production.INFO: ==804== Lock acquired, processing the job...
[2025-04-12 13:55:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 13:55:04] Production.INFO: ==800== Lock acquired, processing the job...
[2025-04-12 13:55:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 13:55:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 13:55:04] Production.INFO: ==802== Lock acquired, processing the job...
[2025-04-12 13:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 13:55:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 13:55:04] Production.INFO: ==806== Lock acquired, processing the job...
[2025-04-12 13:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 13:55:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 13:55:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 13:55:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 13:55:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 13:55:04] Production.INFO: Account Balance Start.
[2025-04-12 13:55:04] Production.INFO: CreateAllLog Start
[2025-04-12 13:55:04] Production.INFO: 117
[2025-04-12 13:55:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 13:55:04] Production.INFO: Date 2025-04-08
[2025-04-12 13:55:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:55:04] Production.INFO: count ==12
[2025-04-12 13:55:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 13:55:04] Production.INFO: count ==23
[2025-04-12 13:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892003') start
[2025-04-12 13:55:04] Production.INFO: Date 2025-04-09
[2025-04-12 13:55:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:55:04] Production.INFO: Date 2025-04-10
[2025-04-12 13:55:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892003') end
[2025-04-12 13:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 13:55:04] Production.INFO: 1
[2025-04-12 13:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 13:55:04] Production.INFO: ==798== Releasing lock...
[2025-04-12 13:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 13:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 13:55:04] Production.ERROR: done
[2025-04-12 13:55:04] Production.INFO: Date 2025-04-11
[2025-04-12 13:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 13:55:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:55:04] Production.INFO: ==806== Releasing lock...
[2025-04-12 13:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 13:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 13:55:04] Production.INFO: Date 2025-04-12
[2025-04-12 13:55:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:55:04] Production.INFO: Total Charge 0
[2025-04-12 13:55:04] Production.INFO: CreateAllLog End
[2025-04-12 13:55:04] Production.ERROR: done
[2025-04-12 13:55:04] Production.INFO: Account Balance End.
[2025-04-12 13:55:04] Production.ERROR: CronJobId end 12
[2025-04-12 13:55:04] Production.INFO: ==802== Releasing lock...
[2025-04-12 13:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 13:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 13:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 10:55:05
[end_date_ymd] => 2025-04-12 13:55:05
[RateCDR] => 1
)
[2025-04-12 13:55:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 10:55:05' and `end` < '2025-04-12 13:55:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 13:55:13] Production.ERROR: CronJobId end10
[2025-04-12 13:55:13] Production.INFO: ==800== Releasing lock...
[2025-04-12 13:55:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 13:55:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 13:55:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 13:55:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 13:55:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 13:55:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 13:55:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 13:55:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 13:55:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 13:55:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 13:55:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 13:55:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 13:55:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 13:55:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 13:55:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 13:55:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 13:55:15] Production.INFO: call_cost start
[2025-04-12 13:55:15] Production.INFO: call_cost end
[2025-04-12 13:55:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 13:55:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 13:55:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 13:55:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 13:55:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 13:55:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 13:55:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 13:55:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 13:55:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 13:55:16] Production.INFO: ==796== Releasing lock...
[2025-04-12 13:55:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 13:55:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 13:55:18] Production.INFO: count ==1644
[2025-04-12 13:55:19] Production.ERROR: pbx CDR StartTime 2025-04-12 10:55:05 - End Time 2025-04-12 13:55:05
[2025-04-12 13:55:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 13:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892004', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892004', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892004', 'tblTempVendorCDR_20' ) start
[2025-04-12 13:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892004', 'tblTempVendorCDR_20' ) end
[2025-04-12 13:55:19] Production.INFO: ProcessCDR(1,14892004,1,1,2)
[2025-04-12 13:55:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892004,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:55:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892004,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:55:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892004,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:55:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892004,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892004', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892004', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:55:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 13:55:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 13:55:22] Production.INFO: ==804== Releasing lock...
[2025-04-12 13:55:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 13:55:22] Production.INFO: 40.5 MB #Memory Used#
[2025-04-12 18:56:01] Production.INFO: ==860== Lock acquired, processing the job...
[2025-04-12 18:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 18:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 18:56:01] Production.INFO: neon service started
[2025-04-12 18:56:01] Production.INFO: neon service started
[2025-04-12 18:56:01] Production.INFO: ==860== Releasing lock...
[2025-04-12 18:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 18:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 13:56:01] Production.INFO: ==862== Lock acquired, processing the job...
[2025-04-12 13:56:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 13:56:02] Production.INFO: ==862== Releasing lock...
[2025-04-12 13:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 13:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 17:56:02] Production.INFO: ==864== Lock acquired, processing the job...
[2025-04-12 17:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 17:56:02] Production.INFO: ==864== Releasing lock...
[2025-04-12 17:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 17:56:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 13:56:03] Production.INFO: ==871== Lock acquired, processing the job...
[2025-04-12 13:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 13:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 13:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 13:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 13:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 13:56:03] Production.INFO: ==867== Lock acquired, processing the job...
[2025-04-12 13:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 13:56:03] Production.INFO: ==869== Lock acquired, processing the job...
[2025-04-12 13:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 13:56:03] Production.INFO: ==877== Lock acquired, processing the job...
[2025-04-12 13:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 13:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 13:56:03] Production.INFO: ==873== Lock acquired, processing the job...
[2025-04-12 13:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 13:56:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 13:56:03] Production.INFO: count ==12
[2025-04-12 13:56:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 13:56:03] Production.INFO: ==875== Lock acquired, processing the job...
[2025-04-12 13:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 13:56:03] Production.INFO: count ==23
[2025-04-12 13:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14892006') start
[2025-04-12 13:56:04] Production.INFO: Account Balance Start.
[2025-04-12 13:56:04] Production.INFO: CreateAllLog Start
[2025-04-12 13:56:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 13:56:04] Production.INFO: 117
[2025-04-12 13:56:04] Production.INFO: Date 2025-04-08
[2025-04-12 13:56:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892006') end
[2025-04-12 13:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 13:56:04] Production.INFO: 1
[2025-04-12 13:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 13:56:04] Production.INFO: Date 2025-04-09
[2025-04-12 13:56:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:56:04] Production.INFO: ==877== Releasing lock...
[2025-04-12 13:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 13:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 13:56:04] Production.INFO: ==869== Releasing lock...
[2025-04-12 13:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 13:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 13:56:04] Production.INFO: Date 2025-04-10
[2025-04-12 13:56:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:56:04] Production.INFO: Date 2025-04-11
[2025-04-12 13:56:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:56:04] Production.INFO: Date 2025-04-12
[2025-04-12 13:56:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:56:04] Production.INFO: Total Charge 0
[2025-04-12 13:56:04] Production.INFO: CreateAllLog End
[2025-04-12 13:56:04] Production.ERROR: done
[2025-04-12 13:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 13:56:04] Production.ERROR: done
[2025-04-12 13:56:04] Production.INFO: Account Balance End.
[2025-04-12 13:56:04] Production.ERROR: CronJobId end 12
[2025-04-12 13:56:04] Production.INFO: ==873== Releasing lock...
[2025-04-12 13:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 13:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 13:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 10:56:05
[end_date_ymd] => 2025-04-12 13:56:05
[RateCDR] => 1
)
[2025-04-12 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-12 10:56:05' and `end` < '2025-04-12 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-12 13:56:12] Production.ERROR: CronJobId end10
[2025-04-12 13:56:12] Production.INFO: ==871== Releasing lock...
[2025-04-12 13:56:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 13:56:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 13:56:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 13:56:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 13:56:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 13:56:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 13:56:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 13:56:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 13:56:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 13:56:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 13:56:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 13:56:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 13:56:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 13:56:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 13:56:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 13:56:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 13:56:14] Production.INFO: call_cost start
[2025-04-12 13:56:15] Production.INFO: call_cost end
[2025-04-12 13:56:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 13:56:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 13:56:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 13:56:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 13:56:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 13:56:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 13:56:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 13:56:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 13:56:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 13:56:15] Production.INFO: ==867== Releasing lock...
[2025-04-12 13:56:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 13:56:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 13:56:18] Production.INFO: count ==1640
[2025-04-12 13:56:19] Production.ERROR: pbx CDR StartTime 2025-04-12 10:56:05 - End Time 2025-04-12 13:56:05
[2025-04-12 13:56:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 13:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892009', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892009', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892009', 'tblTempVendorCDR_20' ) start
[2025-04-12 13:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892009', 'tblTempVendorCDR_20' ) end
[2025-04-12 13:56:19] Production.INFO: ProcessCDR(1,14892009,1,1,2)
[2025-04-12 13:56:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892009,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:56:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892009,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:56:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892009,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:56:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892009,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:56:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892009', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:56:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892009', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:56:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 13:56:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 13:56:24] Production.INFO: ==875== Releasing lock...
[2025-04-12 13:56:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 13:56:24] Production.INFO: 40 MB #Memory Used#
[2025-04-12 18:57:01] Production.INFO: ==936== Lock acquired, processing the job...
[2025-04-12 18:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 18:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 18:57:01] Production.INFO: neon service started
[2025-04-12 18:57:02] Production.INFO: neon service started
[2025-04-12 18:57:02] Production.INFO: ==936== Releasing lock...
[2025-04-12 18:57:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 18:57:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 13:57:02] Production.INFO: ==938== Lock acquired, processing the job...
[2025-04-12 13:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 13:57:02] Production.INFO: ==938== Releasing lock...
[2025-04-12 13:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 13:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 17:57:02] Production.INFO: ==940== Lock acquired, processing the job...
[2025-04-12 17:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 17:57:02] Production.INFO: ==940== Releasing lock...
[2025-04-12 17:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 17:57:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 13:57:03] Production.INFO: ==944== Lock acquired, processing the job...
[2025-04-12 13:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 13:57:03] Production.INFO: ==948== Lock acquired, processing the job...
[2025-04-12 13:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 13:57:03] Production.INFO: ==942== Lock acquired, processing the job...
[2025-04-12 13:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 13:57:03] Production.INFO: Account Balance Start.
[2025-04-12 13:57:03] Production.INFO: CreateAllLog Start
[2025-04-12 13:57:03] Production.INFO: 117
[2025-04-12 13:57:03] Production.INFO: Date 2025-04-08
[2025-04-12 13:57:03] Production.INFO: ==946== Lock acquired, processing the job...
[2025-04-12 13:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 13:57:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 13:57:04] Production.INFO: Date 2025-04-09
[2025-04-12 13:57:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 13:57:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 13:57:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 13:57:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:57:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 13:57:04] Production.INFO: ==944== Releasing lock...
[2025-04-12 13:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 13:57:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 13:57:04] Production.INFO: Date 2025-04-10
[2025-04-12 13:57:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:57:04] Production.INFO: ==950== Lock acquired, processing the job...
[2025-04-12 13:57:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 13:57:04] Production.INFO: ==953== Lock acquired, processing the job...
[2025-04-12 13:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 13:57:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 13:57:04] Production.INFO: Date 2025-04-11
[2025-04-12 13:57:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:57:04] Production.INFO: Date 2025-04-12
[2025-04-12 13:57:04] Production.INFO: Reseller ==> 0
[2025-04-12 13: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-12 13:57:04] Production.INFO: Total Charge 0
[2025-04-12 13:57:04] Production.INFO: CreateAllLog End
[2025-04-12 13:57:04] Production.INFO: count ==12
[2025-04-12 13: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-12 13:57:04] Production.INFO: count ==23
[2025-04-12 13:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892013') start
[2025-04-12 13:57:04] Production.ERROR: done
[2025-04-12 13:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892013') end
[2025-04-12 13:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 13:57:04] Production.INFO: 1
[2025-04-12 13:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 13:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 13:57:04] Production.INFO: ==953== Releasing lock...
[2025-04-12 13:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 13:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 13:57:04] Production.ERROR: done
[2025-04-12 13:57:04] Production.INFO: Account Balance End.
[2025-04-12 13:57:04] Production.ERROR: CronJobId end 12
[2025-04-12 13:57:04] Production.INFO: ==948== Releasing lock...
[2025-04-12 13:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 13:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 13:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 10:57:05
[end_date_ymd] => 2025-04-12 13:57:05
[RateCDR] => 1
)
[2025-04-12 13:57:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 10:57:05' and `end` < '2025-04-12 13:57:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 13:57:12] Production.ERROR: CronJobId end10
[2025-04-12 13:57:12] Production.INFO: ==946== Releasing lock...
[2025-04-12 13:57:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 13:57:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 13:57:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 13:57:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 13:57:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 13:57:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 13:57:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 13:57:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 13:57:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 13:57:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 13:57:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 13:57:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 13:57:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 13:57:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 13:57:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 13:57:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 13:57:16] Production.INFO: call_cost start
[2025-04-12 13:57:16] Production.INFO: call_cost end
[2025-04-12 13:57:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 13:57:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 13:57:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 13:57:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 13:57:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 13:57:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 13:57:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 13:57:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 13:57:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 13:57:17] Production.INFO: ==942== Releasing lock...
[2025-04-12 13:57:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 13:57:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 13:57:18] Production.INFO: count ==1642
[2025-04-12 13:57:18] Production.ERROR: pbx CDR StartTime 2025-04-12 10:57:05 - End Time 2025-04-12 13:57:05
[2025-04-12 13:57:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 13:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892014', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892014', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892014', 'tblTempVendorCDR_20' ) start
[2025-04-12 13:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892014', 'tblTempVendorCDR_20' ) end
[2025-04-12 13:57:19] Production.INFO: ProcessCDR(1,14892014,1,1,2)
[2025-04-12 13:57:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892014,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:57:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892014,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:57:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892014,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:57:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892014,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:57:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892014', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:57:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892014', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:57:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 13:57:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 13:57:24] Production.INFO: ==950== Releasing lock...
[2025-04-12 13:57:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 13:57:24] Production.INFO: 40.25 MB #Memory Used#
[2025-04-12 18:58:01] Production.INFO: ==1009== Lock acquired, processing the job...
[2025-04-12 18:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 18:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 18:58:01] Production.INFO: neon service started
[2025-04-12 18:58:01] Production.INFO: neon service started
[2025-04-12 18:58:01] Production.INFO: ==1009== Releasing lock...
[2025-04-12 18:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 18:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 17:58:01] Production.INFO: ==1013== Lock acquired, processing the job...
[2025-04-12 17:58:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 17:58:01] Production.INFO: ==1013== Releasing lock...
[2025-04-12 17:58:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 17:58:01] Production.INFO: 25 MB #Memory Used#
[2025-04-12 13:58:01] Production.INFO: ==1011== Lock acquired, processing the job...
[2025-04-12 13:58:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 13:58:02] Production.INFO: ==1011== Releasing lock...
[2025-04-12 13:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 13:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 13:58:03] Production.INFO: ==1022== Lock acquired, processing the job...
[2025-04-12 13:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 13:58:03] Production.INFO: ==1026== Lock acquired, processing the job...
[2025-04-12 13:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 13:58:03] Production.INFO: ==1016== Lock acquired, processing the job...
[2025-04-12 13:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 13:58:03] Production.INFO: Account Balance Start.
[2025-04-12 13:58:03] Production.INFO: CreateAllLog Start
[2025-04-12 13:58:03] Production.INFO: 117
[2025-04-12 13:58:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 13:58:03] Production.INFO: Date 2025-04-08
[2025-04-12 13:58:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:58:03] Production.INFO: ==1018== Lock acquired, processing the job...
[2025-04-12 13:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 13:58:03] Production.INFO: count ==12
[2025-04-12 13:58:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 13:58:03] Production.INFO: ==1020== Lock acquired, processing the job...
[2025-04-12 13:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 13:58:03] Production.INFO: count ==23
[2025-04-12 13:58:03] Production.INFO: ==1024== Lock acquired, processing the job...
[2025-04-12 13:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 13:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 13:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14892015') start
[2025-04-12 13:58:03] Production.INFO: Date 2025-04-09
[2025-04-12 13:58:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 13:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 13:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 13:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 13:58:03] Production.INFO: Date 2025-04-10
[2025-04-12 13:58:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:58:03] Production.INFO: Date 2025-04-11
[2025-04-12 13:58:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 13:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14892015') end
[2025-04-12 13:58:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 13:58:03] Production.INFO: 1
[2025-04-12 13:58:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 13:58:03] Production.INFO: ==1026== Releasing lock...
[2025-04-12 13:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 13:58:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 13:58:03] Production.INFO: Date 2025-04-12
[2025-04-12 13:58:03] Production.INFO: Reseller ==> 0
[2025-04-12 13:58:03] Production.INFO: Total Charge 0
[2025-04-12 13:58:03] Production.INFO: CreateAllLog End
[2025-04-12 13:58:03] Production.ERROR: done
[2025-04-12 13:58:03] Production.INFO: ==1018== Releasing lock...
[2025-04-12 13:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 13:58:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 13:58:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 13:58:04] Production.INFO: Account Balance End.
[2025-04-12 13:58:04] Production.ERROR: done
[2025-04-12 13:58:04] Production.ERROR: CronJobId end 12
[2025-04-12 13:58:04] Production.INFO: ==1022== Releasing lock...
[2025-04-12 13:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 13:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 13:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 10:58:05
[end_date_ymd] => 2025-04-12 13:58:05
[RateCDR] => 1
)
[2025-04-12 13:58:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 10:58:05' and `end` < '2025-04-12 13:58:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 13:58:12] Production.ERROR: CronJobId end10
[2025-04-12 13:58:12] Production.INFO: ==1020== Releasing lock...
[2025-04-12 13:58:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 13:58:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 13:58:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 13:58:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 13:58:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 13:58:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 13:58:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 13:58:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 13:58:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 13:58:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 13:58:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 13:58:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 13:58:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 13:58:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 13:58:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 13:58:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 13:58:15] Production.INFO: call_cost start
[2025-04-12 13:58:15] Production.INFO: call_cost end
[2025-04-12 13:58:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 13:58:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 13:58:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 13:58:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 13:58:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 13:58:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 13:58:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 13:58:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 13:58:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 13:58:16] Production.INFO: ==1016== Releasing lock...
[2025-04-12 13:58:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 13:58:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 13:58:18] Production.INFO: count ==1639
[2025-04-12 13:58:18] Production.ERROR: pbx CDR StartTime 2025-04-12 10:58:05 - End Time 2025-04-12 13:58:05
[2025-04-12 13:58:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 13:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892019', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892019', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892019', 'tblTempVendorCDR_20' ) start
[2025-04-12 13:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892019', 'tblTempVendorCDR_20' ) end
[2025-04-12 13:58:18] Production.INFO: ProcessCDR(1,14892019,1,1,2)
[2025-04-12 13:58:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892019,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:58:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892019,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:58:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892019,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:58:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892019,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:58:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892019', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:58:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892019', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:58:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 13:58:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 13:58:24] Production.INFO: ==1024== Releasing lock...
[2025-04-12 13:58:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 13:58:24] Production.INFO: 40.25 MB #Memory Used#
[2025-04-12 18:59:01] Production.INFO: ==1083== Lock acquired, processing the job...
[2025-04-12 18:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 18:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 18:59:01] Production.INFO: neon service started
[2025-04-12 18:59:01] Production.INFO: neon service started
[2025-04-12 18:59:01] Production.INFO: ==1083== Releasing lock...
[2025-04-12 18:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 18:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 13:59:02] Production.INFO: ==1085== Lock acquired, processing the job...
[2025-04-12 13:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 13:59:02] Production.INFO: ==1085== Releasing lock...
[2025-04-12 13:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 13:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 17:59:02] Production.INFO: ==1087== Lock acquired, processing the job...
[2025-04-12 17:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 17:59:02] Production.INFO: ==1087== Releasing lock...
[2025-04-12 17:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 17:59:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 13:59:03] Production.INFO: ==1090== Lock acquired, processing the job...
[2025-04-12 13:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 13:59:03] Production.INFO: ==1092== Lock acquired, processing the job...
[2025-04-12 13:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 13:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 13:59:03] Production.INFO: ==1100== Lock acquired, processing the job...
[2025-04-12 13:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 13:59:03] Production.INFO: ==1092== Releasing lock...
[2025-04-12 13:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 13:59:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 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-12 13:59:03] Production.INFO: ==1094== Lock acquired, processing the job...
[2025-04-12 13:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 13:59:03] Production.INFO: count ==12
[2025-04-12 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-12 13:59:03] Production.INFO: count ==23
[2025-04-12 13:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14892022') start
[2025-04-12 13:59:03] Production.INFO: ==1096== Lock acquired, processing the job...
[2025-04-12 13:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 13:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 13:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 13:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 13:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 13:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14892022') end
[2025-04-12 13:59:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 13:59:03] Production.INFO: 1
[2025-04-12 13:59:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 13:59:03] Production.INFO: ==1098== Lock acquired, processing the job...
[2025-04-12 13:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 13:59:03] Production.INFO: ==1100== Releasing lock...
[2025-04-12 13:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 13:59:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 13:59:04] Production.INFO: Account Balance Start.
[2025-04-12 13:59:04] Production.INFO: CreateAllLog Start
[2025-04-12 13:59:04] Production.INFO: 117
[2025-04-12 13:59:04] Production.INFO: Date 2025-04-08
[2025-04-12 13:59:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:59:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 13:59:04] Production.INFO: Date 2025-04-09
[2025-04-12 13:59:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:59:04] Production.INFO: Date 2025-04-10
[2025-04-12 13:59:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:59:04] Production.INFO: Date 2025-04-11
[2025-04-12 13:59:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:59:04] Production.INFO: Date 2025-04-12
[2025-04-12 13:59:04] Production.INFO: Reseller ==> 0
[2025-04-12 13:59:04] Production.INFO: Total Charge 0
[2025-04-12 13:59:04] Production.INFO: CreateAllLog End
[2025-04-12 13:59:04] Production.ERROR: done
[2025-04-12 13:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 13:59:04] Production.ERROR: done
[2025-04-12 13:59:04] Production.INFO: Account Balance End.
[2025-04-12 13:59:04] Production.ERROR: CronJobId end 12
[2025-04-12 13:59:04] Production.INFO: ==1096== Releasing lock...
[2025-04-12 13:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 13:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 13:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 10:59:05
[end_date_ymd] => 2025-04-12 13:59:05
[RateCDR] => 1
)
[2025-04-12 13:59:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 10:59:05' and `end` < '2025-04-12 13:59:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 13:59:12] Production.ERROR: CronJobId end10
[2025-04-12 13:59:12] Production.INFO: ==1094== Releasing lock...
[2025-04-12 13:59:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 13:59:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 13:59:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 13:59:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 13:59:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 13:59:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 13:59:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 13:59:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 13:59:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 13:59:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 13:59:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 13:59:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 13:59:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 13:59:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 13:59:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 13:59:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 13:59:15] Production.INFO: call_cost start
[2025-04-12 13:59:15] Production.INFO: call_cost end
[2025-04-12 13:59:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 13:59:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 13:59:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 13:59:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 13:59:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 13:59:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 13:59:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 13:59:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 13:59:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 13:59:15] Production.INFO: ==1090== Releasing lock...
[2025-04-12 13:59:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 13:59:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 13:59:18] Production.INFO: count ==1642
[2025-04-12 13:59:19] Production.ERROR: pbx CDR StartTime 2025-04-12 10:59:05 - End Time 2025-04-12 13:59:05
[2025-04-12 13:59:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 13:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892024', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892024', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892024', 'tblTempVendorCDR_20' ) start
[2025-04-12 13:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892024', 'tblTempVendorCDR_20' ) end
[2025-04-12 13:59:19] Production.INFO: ProcessCDR(1,14892024,1,1,2)
[2025-04-12 13:59:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892024,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:59:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892024,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 13:59:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892024,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:59:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892024,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 13:59:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892024', 'tblTempUsageDetail_20' ) start
[2025-04-12 13:59:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892024', 'tblTempUsageDetail_20' ) end
[2025-04-12 13:59:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 13:59:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 13:59:24] Production.INFO: ==1098== Releasing lock...
[2025-04-12 13:59:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 13:59:24] Production.INFO: 40 MB #Memory Used#
[2025-04-12 19:00:02] Production.INFO: ==1157== Lock acquired, processing the job...
[2025-04-12 19:00:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 19:00:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 19:00:02] Production.INFO: neon service started
[2025-04-12 19:00:02] Production.INFO: neon service started
[2025-04-12 19:00:02] Production.INFO: ==1157== Releasing lock...
[2025-04-12 19:00:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 19:00:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 14:00:02] Production.INFO: ==1159== Lock acquired, processing the job...
[2025-04-12 14:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 18:00:03] Production.INFO: ==1161== Lock acquired, processing the job...
[2025-04-12 18:00:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 18:00:03] Production.INFO: ==1161== Releasing lock...
[2025-04-12 18:00:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 18:00:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 14:00:03] Production.INFO: ==1159== Releasing lock...
[2025-04-12 14:00:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 14:00:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 14:00:04] Production.INFO: ==1164== Lock acquired, processing the job...
[2025-04-12 14:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 14:00:04] Production.INFO: ==1174== Lock acquired, processing the job...
[2025-04-12 14:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 14:00:04] Production.INFO: ==1178== Lock acquired, processing the job...
[2025-04-12 14:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 14:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 14:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 14:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 14:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 14:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 14:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 14:00:04] Production.ERROR: CronJob PID - 1174
[2025-04-12 14:00:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-04-12 14:00:04] Production.ERROR: CronJob ID - 10
[2025-04-12 14:00:04] Production.ERROR: CronJob Last Run Time 2025-04-12 14:00:00
[2025-04-12 14:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 14:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 14:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 14:00:04] Production.ERROR: CronJob PID - 1178
[2025-04-12 14:00:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-04-12 14:00:04] Production.ERROR: CronJob ID - 16
[2025-04-12 14:00:04] Production.ERROR: CronJob Last Run Time 2025-04-12 14:00:00
[2025-04-12 14:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 14:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 14:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 14:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 14:00:04] Production.INFO: ==1164== Releasing lock...
[2025-04-12 14:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 14:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 14:00:04] Production.INFO: ==1168== Lock acquired, processing the job...
[2025-04-12 14:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 14:00:04] Production.INFO: ==1170== Lock acquired, processing the job...
[2025-04-12 14:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 14:00:04] Production.INFO: ==1176== Lock acquired, processing the job...
[2025-04-12 14:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 14:00:04] Production.INFO: ==1180== Lock acquired, processing the job...
[2025-04-12 14:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 14:00:04] Production.INFO: ==1182== Lock acquired, processing the job...
[2025-04-12 14:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 14:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 14:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 14:00:04] Production.ERROR: done
[2025-04-12 14:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 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-12 14:00:04] Production.ERROR: done
[2025-04-12 14:00:04] Production.INFO: Account Balance Start.
[2025-04-12 14:00:04] Production.INFO: CreateAllLog Start
[2025-04-12 14:00:04] Production.INFO: 117
[2025-04-12 14:00:04] Production.INFO: Date 2025-04-08
[2025-04-12 14:00:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:00:04] Production.INFO: count ==12
[2025-04-12 14: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-12 14:00:05] Production.INFO: count ==23
[2025-04-12 14:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14892027') start
[2025-04-12 14:00:05] Production.ERROR: done
[2025-04-12 14:00:05] Production.INFO: Date 2025-04-09
[2025-04-12 14:00:05] Production.INFO: Reseller ==> 0
[2025-04-12 14:00:05] Production.INFO: ==1170== Releasing lock...
[2025-04-12 14:00:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 14:00:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 14:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 14:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14892030', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 14:00:05] Production.INFO: Date 2025-04-10
[2025-04-12 14:00:05] Production.INFO: Reseller ==> 0
[2025-04-12 14:00:05] Production.INFO: Date 2025-04-11
[2025-04-12 14:00:05] Production.INFO: Reseller ==> 0
[2025-04-12 14:00:05] Production.INFO: Date 2025-04-12
[2025-04-12 14:00:05] Production.INFO: Reseller ==> 0
[2025-04-12 14:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14892027') end
[2025-04-12 14:00:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 14:00:05] Production.INFO: 1
[2025-04-12 14:00:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 14:00:05] Production.INFO: Total Charge 0
[2025-04-12 14:00:05] Production.INFO: CreateAllLog End
[2025-04-12 14:00:05] Production.INFO: ==1182== Releasing lock...
[2025-04-12 14:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 14:00:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 14:00:05] Production.INFO: Account Balance End.
[2025-04-12 14:00:05] Production.ERROR: CronJobId end 12
[2025-04-12 14:00:05] Production.INFO: ==1176== Releasing lock...
[2025-04-12 14:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 14:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 14:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 11:00:06
[end_date_ymd] => 2025-04-12 14:00:06
[RateCDR] => 1
)
[2025-04-12 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-12 11:00:06' and `end` < '2025-04-12 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-12 14:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14892030', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 14:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 14:00:09] Production.INFO: ProcessCDR(1,14892030,1,1,2)
[2025-04-12 14:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14892030,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14892030,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 14:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 14:00:09] Production.INFO: ==1180== Releasing lock...
[2025-04-12 14:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 14:00:09] Production.INFO: 26 MB #Memory Used#
[2025-04-12 14:00:14] Production.ERROR: CronJobId end10
[2025-04-12 14:00:14] Production.INFO: ==1174== Releasing lock...
[2025-04-12 14:00:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 14:00:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 14:00:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 14:00:17] Production.INFO: ============== Balance Warning START===========
[2025-04-12 14:00:17] Production.INFO: ============== Balance Warning END===========
[2025-04-12 14:00:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 14:00:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 14:00:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 14:00:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 14:00:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 14:00:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 14:00:17] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 14:00:17] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 14:00:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 14:00:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 14:00:17] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 14:00:17] Production.INFO: call_cost start
[2025-04-12 14:00:17] Production.INFO: call_cost end
[2025-04-12 14:00:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 14:00:18] Production.INFO: ============== Report Schedule START===========
[2025-04-12 14:00:18] Production.INFO: ============== Report Schedule END===========
[2025-04-12 14:00:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 14:00:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 14:00:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 14:00:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 14:00:18] Production.INFO: ============== Deal alert START===========
[2025-04-12 14:00:18] Production.INFO: ============== Deal alert END===========
[2025-04-12 14:00:18] Production.INFO: ==1168== Releasing lock...
[2025-04-12 14:00:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 14:00:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 14:00:19] Production.INFO: count ==1644
[2025-04-12 14:00:19] Production.ERROR: pbx CDR StartTime 2025-04-12 11:00:06 - End Time 2025-04-12 14:00:06
[2025-04-12 14:00:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 14:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892029', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892029', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892029', 'tblTempVendorCDR_20' ) start
[2025-04-12 14:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892029', 'tblTempVendorCDR_20' ) end
[2025-04-12 14:00:19] Production.INFO: ProcessCDR(1,14892029,1,1,2)
[2025-04-12 14:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892029,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:00:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892029,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:00:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892029,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:00:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892029,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:00:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892029', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:00:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892029', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:00:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 14:00:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 14:00:24] Production.INFO: ==1178== Releasing lock...
[2025-04-12 14:00:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 14:00:24] Production.INFO: 40.25 MB #Memory Used#
[2025-04-12 19:01:01] Production.INFO: ==1245== Lock acquired, processing the job...
[2025-04-12 19:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 19:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 19:01:01] Production.INFO: neon service started
[2025-04-12 19:01:01] Production.INFO: neon service started
[2025-04-12 19:01:01] Production.INFO: ==1245== Releasing lock...
[2025-04-12 19:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 19:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 14:01:02] Production.INFO: ==1264== Lock acquired, processing the job...
[2025-04-12 14:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 18:01:02] Production.INFO: ==1267== Lock acquired, processing the job...
[2025-04-12 18:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 18:01:02] Production.INFO: ==1267== Releasing lock...
[2025-04-12 18:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 18:01:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 14:01:03] Production.INFO: ==1264== Releasing lock...
[2025-04-12 14:01:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 14:01:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 14:01:03] Production.INFO: ==1276== Lock acquired, processing the job...
[2025-04-12 14:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 14:01:03] Production.INFO: ==1278== Lock acquired, processing the job...
[2025-04-12 14:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 14:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 14:01:04] Production.INFO: ==1270== Lock acquired, processing the job...
[2025-04-12 14:01:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 14:01:04] Production.INFO: ==1272== Lock acquired, processing the job...
[2025-04-12 14:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 14:01:04] Production.INFO: Account Balance Start.
[2025-04-12 14:01:04] Production.INFO: CreateAllLog Start
[2025-04-12 14:01:04] Production.INFO: 117
[2025-04-12 14:01:04] Production.INFO: Date 2025-04-08
[2025-04-12 14:01:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 14:01:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:01:04] Production.INFO: ==1280== Lock acquired, processing the job...
[2025-04-12 14:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 14:01:04] Production.INFO: ==1274== Lock acquired, processing the job...
[2025-04-12 14:01:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 14:01:04] Production.INFO: Date 2025-04-09
[2025-04-12 14:01:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:01:04] Production.INFO: Date 2025-04-10
[2025-04-12 14:01:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:01:04] Production.ERROR: done
[2025-04-12 14:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 14:01:04] Production.INFO: Date 2025-04-11
[2025-04-12 14:01:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:01:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 14:01:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 14:01:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 14:01:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 14:01:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 14:01:04] Production.INFO: Date 2025-04-12
[2025-04-12 14:01:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:01:04] Production.INFO: count ==12
[2025-04-12 14:01:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 14:01:04] Production.INFO: count ==23
[2025-04-12 14:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892034') start
[2025-04-12 14:01:04] Production.INFO: Total Charge 0
[2025-04-12 14:01:04] Production.INFO: CreateAllLog End
[2025-04-12 14:01:04] Production.ERROR: done
[2025-04-12 14:01:04] Production.INFO: ==1272== Releasing lock...
[2025-04-12 14:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 14:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 14:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892034') end
[2025-04-12 14:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 14:01:04] Production.INFO: 1
[2025-04-12 14:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 14:01:04] Production.INFO: ==1280== Releasing lock...
[2025-04-12 14:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 14:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 14:01:04] Production.INFO: Account Balance End.
[2025-04-12 14:01:04] Production.ERROR: CronJobId end 12
[2025-04-12 14:01:04] Production.INFO: ==1276== Releasing lock...
[2025-04-12 14:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 14:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 14:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 11:01:05
[end_date_ymd] => 2025-04-12 14:01:05
[RateCDR] => 1
)
[2025-04-12 14:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 11:01:05' and `end` < '2025-04-12 14:01:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 14:01:13] Production.ERROR: CronJobId end10
[2025-04-12 14:01:13] Production.INFO: ==1274== Releasing lock...
[2025-04-12 14:01:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 14:01:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 14:01:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 14:01:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 14:01:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 14:01:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 14:01:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 14:01:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 14:01:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 14:01:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 14:01:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 14:01:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 14:01:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 14:01:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 14:01:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 14:01:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 14:01:15] Production.INFO: call_cost start
[2025-04-12 14:01:15] Production.INFO: call_cost end
[2025-04-12 14:01:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 14:01:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 14:01:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 14:01:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 14:01:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 14:01:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 14:01:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 14:01:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 14:01:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 14:01:16] Production.INFO: ==1270== Releasing lock...
[2025-04-12 14:01:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 14:01:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 14:01:18] Production.INFO: count ==1660
[2025-04-12 14:01:19] Production.ERROR: pbx CDR StartTime 2025-04-12 11:01:05 - End Time 2025-04-12 14:01:05
[2025-04-12 14:01:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 14:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892035', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892035', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892035', 'tblTempVendorCDR_20' ) start
[2025-04-12 14:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892035', 'tblTempVendorCDR_20' ) end
[2025-04-12 14:01:19] Production.INFO: ProcessCDR(1,14892035,1,1,2)
[2025-04-12 14:01:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892035,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:01:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892035,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:01:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892035,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:01:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892035,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:01:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892035', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:01:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892035', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:01:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 14:01:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 14:01:24] Production.INFO: ==1278== Releasing lock...
[2025-04-12 14:01:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 14:01:24] Production.INFO: 40.5 MB #Memory Used#
[2025-04-12 19:02:02] Production.INFO: ==1332== Lock acquired, processing the job...
[2025-04-12 19:02:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 19:02:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 19:02:02] Production.INFO: neon service started
[2025-04-12 19:02:02] Production.INFO: neon service started
[2025-04-12 19:02:02] Production.INFO: ==1332== Releasing lock...
[2025-04-12 19:02:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 19:02:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 14:02:02] Production.INFO: ==1334== Lock acquired, processing the job...
[2025-04-12 14:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 18:02:02] Production.INFO: ==1336== Lock acquired, processing the job...
[2025-04-12 18:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 18:02:02] Production.INFO: ==1336== Releasing lock...
[2025-04-12 18:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 18:02:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 14:02:03] Production.INFO: ==1334== Releasing lock...
[2025-04-12 14:02:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 14:02:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 14:02:04] Production.INFO: ==1339== Lock acquired, processing the job...
[2025-04-12 14:02:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 14:02:04] Production.INFO: ==1343== Lock acquired, processing the job...
[2025-04-12 14:02:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 14:02:04] Production.INFO: ==1347== Lock acquired, processing the job...
[2025-04-12 14:02:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 14:02:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 14:02:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 14:02:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 14:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 14:02:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 14:02:04] Production.INFO: ==1341== Lock acquired, processing the job...
[2025-04-12 14:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 14:02:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 14:02:04] Production.INFO: ==1349== Lock acquired, processing the job...
[2025-04-12 14:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 14:02:04] Production.INFO: ==1345== Lock acquired, processing the job...
[2025-04-12 14:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 14:02:04] Production.INFO: Account Balance Start.
[2025-04-12 14:02:04] Production.INFO: CreateAllLog Start
[2025-04-12 14:02:04] Production.INFO: 117
[2025-04-12 14:02:04] Production.INFO: Date 2025-04-08
[2025-04-12 14:02:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:02:04] Production.INFO: Date 2025-04-09
[2025-04-12 14:02:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:02:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 14:02:04] Production.INFO: Date 2025-04-10
[2025-04-12 14:02:04] Production.INFO: count ==12
[2025-04-12 14:02:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:02:04] Production.ERROR: done
[2025-04-12 14:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 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-12 14:02:04] Production.INFO: Date 2025-04-11
[2025-04-12 14:02:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:02:04] Production.INFO: count ==23
[2025-04-12 14:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892038') start
[2025-04-12 14:02:04] Production.INFO: Date 2025-04-12
[2025-04-12 14:02:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:02:04] Production.INFO: Total Charge 0
[2025-04-12 14:02:04] Production.INFO: CreateAllLog End
[2025-04-12 14:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892038') end
[2025-04-12 14:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 14:02:04] Production.INFO: 1
[2025-04-12 14:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 14:02:04] Production.ERROR: done
[2025-04-12 14:02:04] Production.INFO: ==1349== Releasing lock...
[2025-04-12 14:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 14:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 14:02:05] Production.INFO: ==1341== Releasing lock...
[2025-04-12 14:02:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 14:02:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 14:02:05] Production.INFO: Account Balance End.
[2025-04-12 14:02:05] Production.ERROR: CronJobId end 12
[2025-04-12 14:02:05] Production.INFO: ==1345== Releasing lock...
[2025-04-12 14:02:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 14:02:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 14:02:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 11:02:06
[end_date_ymd] => 2025-04-12 14:02:06
[RateCDR] => 1
)
[2025-04-12 14:02:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 11:02:06' and `end` < '2025-04-12 14:02:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 14:02:12] Production.ERROR: CronJobId end10
[2025-04-12 14:02:12] Production.INFO: ==1343== Releasing lock...
[2025-04-12 14:02:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 14:02:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 14:02:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 14:02:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 14:02:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 14:02:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 14:02:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 14:02:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 14:02:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 14:02:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 14:02:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 14:02:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 14:02:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 14:02:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 14:02:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 14:02:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 14:02:15] Production.INFO: call_cost start
[2025-04-12 14:02:15] Production.INFO: call_cost end
[2025-04-12 14:02:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 14:02:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 14:02:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 14:02:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 14:02:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 14:02:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 14:02:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 14:02:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 14:02:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 14:02:16] Production.INFO: ==1339== Releasing lock...
[2025-04-12 14:02:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 14:02:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 14:02:19] Production.INFO: count ==1660
[2025-04-12 14:02:19] Production.ERROR: pbx CDR StartTime 2025-04-12 11:02:06 - End Time 2025-04-12 14:02:06
[2025-04-12 14:02:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 14:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892040', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892040', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892040', 'tblTempVendorCDR_20' ) start
[2025-04-12 14:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892040', 'tblTempVendorCDR_20' ) end
[2025-04-12 14:02:19] Production.INFO: ProcessCDR(1,14892040,1,1,2)
[2025-04-12 14:02:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892040,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:02:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892040,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:02:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892040,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:02:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892040,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:02:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892040', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:02:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892040', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:02:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 14:02:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 14:02:24] Production.INFO: ==1347== Releasing lock...
[2025-04-12 14:02:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 14:02:24] Production.INFO: 40.5 MB #Memory Used#
[2025-04-12 19:03:01] Production.INFO: ==1448== Lock acquired, processing the job...
[2025-04-12 19:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 19:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 19:03:01] Production.INFO: neon service started
[2025-04-12 19:03:01] Production.INFO: neon service started
[2025-04-12 19:03:01] Production.INFO: ==1448== Releasing lock...
[2025-04-12 19:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 19:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 14:03:02] Production.INFO: ==1450== Lock acquired, processing the job...
[2025-04-12 14:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 14:03:02] Production.INFO: ==1450== Releasing lock...
[2025-04-12 14:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 14:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 18:03:02] Production.INFO: ==1452== Lock acquired, processing the job...
[2025-04-12 18:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 18:03:02] Production.INFO: ==1452== Releasing lock...
[2025-04-12 18:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 18:03:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 14:03:03] Production.INFO: ==1463== Lock acquired, processing the job...
[2025-04-12 14:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 14:03:03] Production.INFO: ==1465== Lock acquired, processing the job...
[2025-04-12 14:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 14:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 14:03:03] Production.INFO: ==1457== Lock acquired, processing the job...
[2025-04-12 14:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 14:03:03] Production.INFO: ==1455== Lock acquired, processing the job...
[2025-04-12 14:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 14:03:03] Production.INFO: ==1459== Lock acquired, processing the job...
[2025-04-12 14:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 14:03:03] Production.INFO: ==1461== Lock acquired, processing the job...
[2025-04-12 14:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 14:03:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 14:03:03] Production.INFO: count ==12
[2025-04-12 14:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 14:03:03] Production.INFO: Account Balance Start.
[2025-04-12 14:03:03] Production.INFO: CreateAllLog Start
[2025-04-12 14:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 14:03:03] Production.INFO: 117
[2025-04-12 14:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 14:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 14:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 14:03:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 14:03:03] Production.INFO: count ==23
[2025-04-12 14:03:03] Production.INFO: Date 2025-04-08
[2025-04-12 14:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14892041') start
[2025-04-12 14:03:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:03:04] Production.INFO: Date 2025-04-09
[2025-04-12 14:03:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892041') end
[2025-04-12 14:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 14:03:04] Production.INFO: 1
[2025-04-12 14:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 14:03:04] Production.INFO: ==1465== Releasing lock...
[2025-04-12 14:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 14:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 14:03:04] Production.INFO: Date 2025-04-10
[2025-04-12 14:03:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:03:04] Production.ERROR: done
[2025-04-12 14:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 14:03:04] Production.INFO: Date 2025-04-11
[2025-04-12 14:03:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:03:04] Production.INFO: Date 2025-04-12
[2025-04-12 14:03:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:03:04] Production.INFO: Total Charge 0
[2025-04-12 14:03:04] Production.INFO: CreateAllLog End
[2025-04-12 14:03:04] Production.INFO: ==1457== Releasing lock...
[2025-04-12 14:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 14:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 14:03:04] Production.ERROR: done
[2025-04-12 14:03:04] Production.INFO: Account Balance End.
[2025-04-12 14:03:04] Production.ERROR: CronJobId end 12
[2025-04-12 14:03:04] Production.INFO: ==1461== Releasing lock...
[2025-04-12 14:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 14:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 14:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 11:03:05
[end_date_ymd] => 2025-04-12 14:03:05
[RateCDR] => 1
)
[2025-04-12 14:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 11:03:05' and `end` < '2025-04-12 14:03:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 14:03:12] Production.ERROR: CronJobId end10
[2025-04-12 14:03:12] Production.INFO: ==1459== Releasing lock...
[2025-04-12 14:03:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 14:03:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 14:03:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 14:03:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 14:03:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 14:03:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 14:03:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 14:03:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 14:03:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 14:03:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 14:03:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 14:03:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 14:03:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 14:03:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 14:03:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 14:03:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 14:03:15] Production.INFO: call_cost start
[2025-04-12 14:03:15] Production.INFO: call_cost end
[2025-04-12 14:03:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 14:03:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 14:03:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 14:03:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 14:03:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 14:03:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 14:03:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 14:03:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 14:03:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 14:03:16] Production.INFO: ==1455== Releasing lock...
[2025-04-12 14:03:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 14:03:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 14:03:18] Production.INFO: count ==1668
[2025-04-12 14:03:19] Production.ERROR: pbx CDR StartTime 2025-04-12 11:03:05 - End Time 2025-04-12 14:03:05
[2025-04-12 14:03:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 14:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892045', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892045', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892045', 'tblTempVendorCDR_20' ) start
[2025-04-12 14:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892045', 'tblTempVendorCDR_20' ) end
[2025-04-12 14:03:19] Production.INFO: ProcessCDR(1,14892045,1,1,2)
[2025-04-12 14:03:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892045,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:03:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892045,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:03:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892045,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:03:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892045,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:03:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892045', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:03:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892045', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:03:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 14:03:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 14:03:24] Production.INFO: ==1463== Releasing lock...
[2025-04-12 14:03:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 14:03:24] Production.INFO: 40.5 MB #Memory Used#
[2025-04-12 19:04:02] Production.INFO: ==1559== Lock acquired, processing the job...
[2025-04-12 19:04:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 19:04:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 19:04:02] Production.INFO: neon service started
[2025-04-12 19:04:02] Production.INFO: neon service started
[2025-04-12 19:04:02] Production.INFO: ==1559== Releasing lock...
[2025-04-12 19:04:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 19:04:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 14:04:02] Production.INFO: ==1561== Lock acquired, processing the job...
[2025-04-12 14:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 18:04:02] Production.INFO: ==1563== Lock acquired, processing the job...
[2025-04-12 18:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 18:04:03] Production.INFO: ==1563== Releasing lock...
[2025-04-12 18:04:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 18:04:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 14:04:03] Production.INFO: ==1561== Releasing lock...
[2025-04-12 14:04:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 14:04:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 14:04:03] Production.INFO: ==1566== Lock acquired, processing the job...
[2025-04-12 14:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 14:04:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 14:04:04] Production.INFO: ==1574== Lock acquired, processing the job...
[2025-04-12 14:04:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 14:04:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 14:04:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 14:04:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 14:04:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 14:04:04] Production.INFO: ==1578== Lock acquired, processing the job...
[2025-04-12 14:04:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 14:04:04] Production.INFO: ==1572== Lock acquired, processing the job...
[2025-04-12 14:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 14:04:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 14:04:04] Production.INFO: ==1576== Lock acquired, processing the job...
[2025-04-12 14:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 14:04:04] Production.INFO: ==1580== Lock acquired, processing the job...
[2025-04-12 14:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 14:04:04] Production.ERROR: done
[2025-04-12 14:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 14:04:04] Production.INFO: Account Balance Start.
[2025-04-12 14:04:04] Production.INFO: CreateAllLog Start
[2025-04-12 14:04:04] Production.INFO: 117
[2025-04-12 14:04:04] Production.INFO: Date 2025-04-08
[2025-04-12 14:04:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:04:04] Production.INFO: Date 2025-04-09
[2025-04-12 14:04:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:04:04] Production.INFO: ==1572== Releasing lock...
[2025-04-12 14:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 14:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 14:04:04] Production.INFO: Date 2025-04-10
[2025-04-12 14:04:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:04:04] Production.INFO: Date 2025-04-11
[2025-04-12 14:04:04] Production.INFO: Reseller ==> 0
[2025-04-12 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-12 14:04:04] Production.INFO: Date 2025-04-12
[2025-04-12 14:04:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:04:04] Production.INFO: Total Charge 0
[2025-04-12 14:04:04] Production.INFO: count ==12
[2025-04-12 14:04:04] Production.INFO: CreateAllLog End
[2025-04-12 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-12 14:04:04] Production.ERROR: done
[2025-04-12 14:04:04] Production.INFO: count ==23
[2025-04-12 14:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892049') start
[2025-04-12 14:04:05] Production.ERROR: PBX CALL prc_importPBXExtension('14892049') end
[2025-04-12 14:04:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 14:04:05] Production.INFO: 1
[2025-04-12 14:04:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 14:04:05] Production.INFO: ==1580== Releasing lock...
[2025-04-12 14:04:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 14:04:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 14:04:05] Production.INFO: Account Balance End.
[2025-04-12 14:04:05] Production.ERROR: CronJobId end 12
[2025-04-12 14:04:05] Production.INFO: ==1576== Releasing lock...
[2025-04-12 14:04:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 14:04:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 14:04:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 11:04:06
[end_date_ymd] => 2025-04-12 14:04:06
[RateCDR] => 1
)
[2025-04-12 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-12 11:04:06' and `end` < '2025-04-12 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-12 14:04:13] Production.ERROR: CronJobId end10
[2025-04-12 14:04:13] Production.INFO: ==1574== Releasing lock...
[2025-04-12 14:04:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 14:04:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 14:04:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 14:04:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 14:04:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 14:04:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 14:04:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 14:04:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 14:04:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 14:04:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 14:04:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 14:04:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 14:04:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 14:04:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 14:04:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 14:04:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 14:04:15] Production.INFO: call_cost start
[2025-04-12 14:04:15] Production.INFO: call_cost end
[2025-04-12 14:04:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 14:04:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 14:04:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 14:04:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 14:04:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 14:04:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 14:04:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 14:04:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 14:04:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 14:04:16] Production.INFO: ==1566== Releasing lock...
[2025-04-12 14:04:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 14:04:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 14:04:19] Production.INFO: count ==1667
[2025-04-12 14:04:19] Production.ERROR: pbx CDR StartTime 2025-04-12 11:04:06 - End Time 2025-04-12 14:04:06
[2025-04-12 14:04:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 14:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892050', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892050', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892050', 'tblTempVendorCDR_20' ) start
[2025-04-12 14:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892050', 'tblTempVendorCDR_20' ) end
[2025-04-12 14:04:19] Production.INFO: ProcessCDR(1,14892050,1,1,2)
[2025-04-12 14:04:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892050,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:04:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892050,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:04:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892050,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:04:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892050,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:04:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892050', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:04:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892050', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:04:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 14:04:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 14:04:23] Production.INFO: ==1578== Releasing lock...
[2025-04-12 14:04:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 14:04:23] Production.INFO: 40.75 MB #Memory Used#
[2025-04-12 19:05:01] Production.INFO: ==1637== Lock acquired, processing the job...
[2025-04-12 19:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 19:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 19:05:01] Production.INFO: neon service started
[2025-04-12 19:05:01] Production.INFO: neon service started
[2025-04-12 19:05:01] Production.INFO: ==1637== Releasing lock...
[2025-04-12 19:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 19:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 18:05:02] Production.INFO: ==1641== Lock acquired, processing the job...
[2025-04-12 18:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 18:05:02] Production.INFO: ==1641== Releasing lock...
[2025-04-12 18:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 18:05:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 14:05:02] Production.INFO: ==1639== Lock acquired, processing the job...
[2025-04-12 14:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 14:05:02] Production.INFO: ==1639== Releasing lock...
[2025-04-12 14:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 14:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 14:05:03] Production.INFO: ==1645== Lock acquired, processing the job...
[2025-04-12 14:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 14:05:03] Production.INFO: ==1643== Lock acquired, processing the job...
[2025-04-12 14:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 14:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 14:05:03] Production.INFO: ==1654== Lock acquired, processing the job...
[2025-04-12 14:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 14:05:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 14:05:03] Production.INFO: ==1645== Releasing lock...
[2025-04-12 14:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 14:05:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 14:05:03] Production.INFO: count ==12
[2025-04-12 14:05:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 14:05:03] Production.INFO: count ==23
[2025-04-12 14:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14892053') start
[2025-04-12 14:05:03] Production.INFO: ==1647== Lock acquired, processing the job...
[2025-04-12 14:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 14:05:03] Production.INFO: ==1649== Lock acquired, processing the job...
[2025-04-12 14:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 14:05:03] Production.INFO: ==1652== Lock acquired, processing the job...
[2025-04-12 14:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 14:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14892053') end
[2025-04-12 14:05:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 14:05:03] Production.INFO: 1
[2025-04-12 14:05:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 14:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 14:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 14:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 14:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 14:05:03] Production.INFO: ==1654== Releasing lock...
[2025-04-12 14:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 14:05:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 14:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 14:05:03] Production.INFO: Account Balance Start.
[2025-04-12 14:05:03] Production.INFO: CreateAllLog Start
[2025-04-12 14:05:03] Production.INFO: 117
[2025-04-12 14:05:04] Production.INFO: Date 2025-04-08
[2025-04-12 14:05:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:05:04] Production.INFO: Date 2025-04-09
[2025-04-12 14:05:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:05:04] Production.INFO: Date 2025-04-10
[2025-04-12 14:05:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:05:04] Production.INFO: Date 2025-04-11
[2025-04-12 14:05:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:05:04] Production.INFO: Date 2025-04-12
[2025-04-12 14:05:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:05:04] Production.ERROR: done
[2025-04-12 14:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 14:05:04] Production.INFO: Total Charge 0
[2025-04-12 14:05:04] Production.INFO: CreateAllLog End
[2025-04-12 14:05:04] Production.ERROR: done
[2025-04-12 14:05:04] Production.INFO: Account Balance End.
[2025-04-12 14:05:05] Production.ERROR: CronJobId end 12
[2025-04-12 14:05:05] Production.INFO: ==1649== Releasing lock...
[2025-04-12 14:05:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 14:05:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 14:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 11:05:05
[end_date_ymd] => 2025-04-12 14:05:05
[RateCDR] => 1
)
[2025-04-12 14:05:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 11:05:05' and `end` < '2025-04-12 14:05:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 14:05:11] Production.ERROR: CronJobId end10
[2025-04-12 14:05:11] Production.INFO: ==1647== Releasing lock...
[2025-04-12 14:05:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 14:05:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 14:05:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 14:05:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 14:05:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 14:05:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 14:05:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 14:05:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 14:05:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 14:05:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 14:05:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 14:05:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 14:05:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 14:05:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 14:05:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 14:05:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 14:05:14] Production.INFO: call_cost start
[2025-04-12 14:05:14] Production.INFO: call_cost end
[2025-04-12 14:05:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 14:05:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 14:05:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 14:05:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 14:05:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 14:05:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 14:05:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 14:05:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 14:05:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 14:05:15] Production.INFO: ==1643== Releasing lock...
[2025-04-12 14:05:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 14:05:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 14:05:18] Production.INFO: count ==1667
[2025-04-12 14:05:19] Production.ERROR: pbx CDR StartTime 2025-04-12 11:05:05 - End Time 2025-04-12 14:05:05
[2025-04-12 14:05:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 14:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892055', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892055', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892055', 'tblTempVendorCDR_20' ) start
[2025-04-12 14:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892055', 'tblTempVendorCDR_20' ) end
[2025-04-12 14:05:19] Production.INFO: ProcessCDR(1,14892055,1,1,2)
[2025-04-12 14:05:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892055,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:05:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892055,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:05:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892055,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:05:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892055,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:05:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892055', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:05:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892055', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:05:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 14:05:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 14:05:24] Production.INFO: ==1652== Releasing lock...
[2025-04-12 14:05:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 14:05:24] Production.INFO: 40.5 MB #Memory Used#
[2025-04-12 19:06:02] Production.INFO: ==1707== Lock acquired, processing the job...
[2025-04-12 19:06:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 19:06:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 19:06:02] Production.INFO: neon service started
[2025-04-12 19:06:02] Production.INFO: neon service started
[2025-04-12 19:06:02] Production.INFO: ==1707== Releasing lock...
[2025-04-12 19:06:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 19:06:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 18:06:02] Production.INFO: ==1711== Lock acquired, processing the job...
[2025-04-12 18:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 18:06:02] Production.INFO: ==1711== Releasing lock...
[2025-04-12 18:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 18:06:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 14:06:02] Production.INFO: ==1709== Lock acquired, processing the job...
[2025-04-12 14:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 14:06:03] Production.INFO: ==1709== Releasing lock...
[2025-04-12 14:06:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 14:06:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 14:06:03] Production.INFO: ==1718== Lock acquired, processing the job...
[2025-04-12 14:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 14:06:04] Production.INFO: ==1724== Lock acquired, processing the job...
[2025-04-12 14:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 14:06:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 14:06:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 14:06:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 14:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 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-12 14:06:04] Production.INFO: count ==12
[2025-04-12 14:06:04] Production.INFO: ==1722== Lock acquired, processing the job...
[2025-04-12 14:06:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 14:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 14:06:04] Production.INFO: ==1716== Lock acquired, processing the job...
[2025-04-12 14:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 14:06:04] Production.INFO: count ==23
[2025-04-12 14:06:04] Production.INFO: ==1714== Lock acquired, processing the job...
[2025-04-12 14:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892056') start
[2025-04-12 14:06:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 14:06:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 14:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892056') end
[2025-04-12 14:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 14:06:04] Production.INFO: 1
[2025-04-12 14:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 14:06:04] Production.INFO: ==1720== Lock acquired, processing the job...
[2025-04-12 14:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 14:06:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 14:06:04] Production.INFO: ==1724== Releasing lock...
[2025-04-12 14:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 14:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 14:06:04] Production.INFO: Account Balance Start.
[2025-04-12 14:06:04] Production.INFO: CreateAllLog Start
[2025-04-12 14:06:04] Production.INFO: 117
[2025-04-12 14:06:04] Production.INFO: Date 2025-04-08
[2025-04-12 14:06:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:06:04] Production.INFO: Date 2025-04-09
[2025-04-12 14:06:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:06:04] Production.ERROR: done
[2025-04-12 14:06:04] Production.INFO: ==1716== Releasing lock...
[2025-04-12 14:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 14:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 14:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 14:06:04] Production.INFO: Date 2025-04-10
[2025-04-12 14:06:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:06:04] Production.INFO: Date 2025-04-11
[2025-04-12 14:06:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:06:04] Production.INFO: Date 2025-04-12
[2025-04-12 14:06:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:06:04] Production.INFO: Total Charge 0
[2025-04-12 14:06:04] Production.INFO: CreateAllLog End
[2025-04-12 14:06:04] Production.ERROR: done
[2025-04-12 14:06:05] Production.INFO: Account Balance End.
[2025-04-12 14:06:05] Production.ERROR: CronJobId end 12
[2025-04-12 14:06:05] Production.INFO: ==1720== Releasing lock...
[2025-04-12 14:06:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 14:06:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 14:06:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 11:06:05
[end_date_ymd] => 2025-04-12 14:06:05
[RateCDR] => 1
)
[2025-04-12 14: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-12 11:06:05' and `end` < '2025-04-12 14:06:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 14:06:12] Production.ERROR: CronJobId end10
[2025-04-12 14:06:12] Production.INFO: ==1718== Releasing lock...
[2025-04-12 14:06:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 14:06:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 14:06:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 14:06:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 14:06:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 14:06:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 14:06:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 14:06:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 14:06:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 14:06:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 14:06:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 14:06:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 14:06:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 14:06:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 14:06:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 14:06:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 14:06:15] Production.INFO: call_cost start
[2025-04-12 14:06:15] Production.INFO: call_cost end
[2025-04-12 14:06:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 14:06:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 14:06:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 14:06:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 14:06:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 14:06:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 14:06:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 14:06:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 14:06:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 14:06:16] Production.INFO: ==1714== Releasing lock...
[2025-04-12 14:06:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 14:06:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 14:06:19] Production.INFO: count ==1667
[2025-04-12 14:06:19] Production.ERROR: pbx CDR StartTime 2025-04-12 11:06:05 - End Time 2025-04-12 14:06:05
[2025-04-12 14:06:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 14:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892060', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892060', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892060', 'tblTempVendorCDR_20' ) start
[2025-04-12 14:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892060', 'tblTempVendorCDR_20' ) end
[2025-04-12 14:06:19] Production.INFO: ProcessCDR(1,14892060,1,1,2)
[2025-04-12 14:06:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892060,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:06:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892060,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:06:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892060,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:06:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892060,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:06:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892060', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:06:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892060', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:06:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 14:06:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 14:06:24] Production.INFO: ==1722== Releasing lock...
[2025-04-12 14:06:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 14:06:24] Production.INFO: 40.5 MB #Memory Used#
[2025-04-12 19:07:01] Production.INFO: ==1779== Lock acquired, processing the job...
[2025-04-12 19:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 19:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 19:07:01] Production.INFO: neon service started
[2025-04-12 19:07:01] Production.INFO: neon service started
[2025-04-12 19:07:01] Production.INFO: ==1779== Releasing lock...
[2025-04-12 19:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 19:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 14:07:01] Production.INFO: ==1781== Lock acquired, processing the job...
[2025-04-12 14:07:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 14:07:02] Production.INFO: ==1781== Releasing lock...
[2025-04-12 14:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 14:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 18:07:02] Production.INFO: ==1783== Lock acquired, processing the job...
[2025-04-12 18:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 18:07:02] Production.INFO: ==1783== Releasing lock...
[2025-04-12 18:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 18:07:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 14:07:02] Production.INFO: ==1788== Lock acquired, processing the job...
[2025-04-12 14:07:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 14:07:03] Production.INFO: ==1790== Lock acquired, processing the job...
[2025-04-12 14:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 14:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 14:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 14:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 14:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 14:07:03] Production.INFO: ==1794== Lock acquired, processing the job...
[2025-04-12 14:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 14:07:03] Production.INFO: ==1788== Releasing lock...
[2025-04-12 14:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 14:07:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 14:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 14:07:03] Production.INFO: ==1786== Lock acquired, processing the job...
[2025-04-12 14:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 14:07:03] Production.INFO: ==1792== Lock acquired, processing the job...
[2025-04-12 14:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 14:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 14:07:03] Production.INFO: ==1796== Lock acquired, processing the job...
[2025-04-12 14:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 14:07:03] Production.ERROR: done
[2025-04-12 14:07:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 14:07:03] Production.INFO: Account Balance Start.
[2025-04-12 14:07:03] Production.INFO: CreateAllLog Start
[2025-04-12 14:07:03] Production.INFO: 117
[2025-04-12 14:07:03] Production.INFO: Date 2025-04-08
[2025-04-12 14:07:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:07:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 14:07:03] Production.ERROR: done
[2025-04-12 14:07:03] Production.INFO: Date 2025-04-09
[2025-04-12 14:07:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:07:03] Production.INFO: count ==12
[2025-04-12 14:07:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 14:07:03] Production.INFO: count ==23
[2025-04-12 14:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14892064') start
[2025-04-12 14:07:03] Production.INFO: Date 2025-04-10
[2025-04-12 14:07:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:07:03] Production.INFO: Date 2025-04-11
[2025-04-12 14:07:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:07:03] Production.INFO: Date 2025-04-12
[2025-04-12 14:07:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14892064') end
[2025-04-12 14:07:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 14:07:03] Production.INFO: 1
[2025-04-12 14:07:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 14:07:03] Production.INFO: Total Charge 0
[2025-04-12 14:07:03] Production.INFO: CreateAllLog End
[2025-04-12 14:07:03] Production.INFO: ==1796== Releasing lock...
[2025-04-12 14:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 14:07:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 14:07:04] Production.INFO: Account Balance End.
[2025-04-12 14:07:04] Production.ERROR: CronJobId end 12
[2025-04-12 14:07:04] Production.INFO: ==1792== Releasing lock...
[2025-04-12 14:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 14:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 14:07:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 11:07:04
[end_date_ymd] => 2025-04-12 14:07:04
[RateCDR] => 1
)
[2025-04-12 14: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-12 11:07:04' and `end` < '2025-04-12 14: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-12 14:07:11] Production.ERROR: CronJobId end10
[2025-04-12 14:07:11] Production.INFO: ==1790== Releasing lock...
[2025-04-12 14:07:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 14:07:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 14:07:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 14:07:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 14:07:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 14:07:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 14:07:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 14:07:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 14:07:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 14:07:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 14:07:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 14:07:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 14:07:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 14:07:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 14:07:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 14:07:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 14:07:14] Production.INFO: call_cost start
[2025-04-12 14:07:14] Production.INFO: call_cost end
[2025-04-12 14:07:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 14:07:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 14:07:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 14:07:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 14:07:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 14:07:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 14:07:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 14:07:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 14:07:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 14:07:15] Production.INFO: ==1786== Releasing lock...
[2025-04-12 14:07:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 14:07:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 14:07:17] Production.INFO: count ==1663
[2025-04-12 14:07:18] Production.ERROR: pbx CDR StartTime 2025-04-12 11:07:04 - End Time 2025-04-12 14:07:04
[2025-04-12 14:07:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 14:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892065', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892065', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892065', 'tblTempVendorCDR_20' ) start
[2025-04-12 14:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892065', 'tblTempVendorCDR_20' ) end
[2025-04-12 14:07:18] Production.INFO: ProcessCDR(1,14892065,1,1,2)
[2025-04-12 14:07:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892065,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:07:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892065,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:07:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892065,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:07:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892065,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:07:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892065', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:07:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892065', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:07:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 14:07:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 14:07:23] Production.INFO: ==1794== Releasing lock...
[2025-04-12 14:07:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 14:07:23] Production.INFO: 40.5 MB #Memory Used#
[2025-04-12 19:08:02] Production.INFO: ==1854== Lock acquired, processing the job...
[2025-04-12 19:08:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 19:08:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 19:08:02] Production.INFO: neon service started
[2025-04-12 19:08:02] Production.INFO: neon service started
[2025-04-12 19:08:02] Production.INFO: ==1854== Releasing lock...
[2025-04-12 19:08:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 19:08:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 14:08:02] Production.INFO: ==1856== Lock acquired, processing the job...
[2025-04-12 14:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 18:08:02] Production.INFO: ==1858== Lock acquired, processing the job...
[2025-04-12 18:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 18:08:02] Production.INFO: ==1858== Releasing lock...
[2025-04-12 18:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 18:08:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 14:08:03] Production.INFO: ==1856== Releasing lock...
[2025-04-12 14:08:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 14:08:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 14:08:03] Production.INFO: ==1861== Lock acquired, processing the job...
[2025-04-12 14:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 14:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 14:08:03] Production.INFO: ==1865== Lock acquired, processing the job...
[2025-04-12 14:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 14:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 14:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 14:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 14:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 14:08:03] Production.INFO: ==1871== Lock acquired, processing the job...
[2025-04-12 14:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 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-12 14:08:04] Production.INFO: count ==12
[2025-04-12 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-12 14:08:04] Production.INFO: count ==23
[2025-04-12 14:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892067') start
[2025-04-12 14:08:04] Production.INFO: ==1863== Lock acquired, processing the job...
[2025-04-12 14:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 14:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892067') end
[2025-04-12 14:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 14:08:04] Production.INFO: 1
[2025-04-12 14:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 14:08:04] Production.INFO: ==1871== Releasing lock...
[2025-04-12 14:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 14:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 14:08:04] Production.INFO: ==1867== Lock acquired, processing the job...
[2025-04-12 14:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 14:08:04] Production.INFO: ==1869== Lock acquired, processing the job...
[2025-04-12 14:08:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 14:08:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 14:08:04] Production.INFO: Account Balance Start.
[2025-04-12 14:08:04] Production.INFO: CreateAllLog Start
[2025-04-12 14:08:04] Production.INFO: 117
[2025-04-12 14:08:04] Production.INFO: Date 2025-04-08
[2025-04-12 14:08:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:08:04] Production.INFO: Date 2025-04-09
[2025-04-12 14:08:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:08:04] Production.INFO: Date 2025-04-10
[2025-04-12 14:08:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:08:04] Production.INFO: Date 2025-04-11
[2025-04-12 14:08:04] Production.INFO: ==1863== Releasing lock...
[2025-04-12 14:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 14:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 14:08:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:08:04] Production.INFO: Date 2025-04-12
[2025-04-12 14:08:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:08:04] Production.INFO: Total Charge 0
[2025-04-12 14:08:05] Production.INFO: CreateAllLog End
[2025-04-12 14:08:05] Production.ERROR: done
[2025-04-12 14:08:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 14:08:05] Production.INFO: Account Balance End.
[2025-04-12 14:08:05] Production.ERROR: CronJobId end 12
[2025-04-12 14:08:05] Production.INFO: ==1867== Releasing lock...
[2025-04-12 14:08:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 14:08:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 14:08:05] Production.ERROR: done
[2025-04-12 14:08:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 11:08:06
[end_date_ymd] => 2025-04-12 14:08:06
[RateCDR] => 1
)
[2025-04-12 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-12 11:08:06' and `end` < '2025-04-12 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-12 14:08:12] Production.ERROR: CronJobId end10
[2025-04-12 14:08:12] Production.INFO: ==1865== Releasing lock...
[2025-04-12 14:08:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 14:08:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 14:08:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 14:08:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 14:08:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 14:08:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 14:08:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 14:08:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 14:08:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 14:08:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 14:08:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 14:08:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 14:08:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 14:08:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 14:08:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 14:08:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 14:08:14] Production.INFO: call_cost start
[2025-04-12 14:08:14] Production.INFO: call_cost end
[2025-04-12 14:08:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 14:08:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 14:08:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 14:08:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 14:08:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 14:08:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 14:08:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 14:08:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 14:08:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 14:08:15] Production.INFO: ==1861== Releasing lock...
[2025-04-12 14:08:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 14:08:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 14:08:19] Production.INFO: count ==1673
[2025-04-12 14:08:19] Production.ERROR: pbx CDR StartTime 2025-04-12 11:08:06 - End Time 2025-04-12 14:08:06
[2025-04-12 14:08:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 14:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892070', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892070', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892070', 'tblTempVendorCDR_20' ) start
[2025-04-12 14:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892070', 'tblTempVendorCDR_20' ) end
[2025-04-12 14:08:19] Production.INFO: ProcessCDR(1,14892070,1,1,2)
[2025-04-12 14:08:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892070,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:08:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892070,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:08:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892070,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:08:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892070,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:08:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892070', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:08:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892070', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:08:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 14:08:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 14:08:23] Production.INFO: ==1869== Releasing lock...
[2025-04-12 14:08:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 14:08:23] Production.INFO: 40.5 MB #Memory Used#
[2025-04-12 19:09:01] Production.INFO: ==1929== Lock acquired, processing the job...
[2025-04-12 19:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 19:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 19:09:01] Production.INFO: neon service started
[2025-04-12 19:09:01] Production.INFO: neon service started
[2025-04-12 19:09:01] Production.INFO: ==1929== Releasing lock...
[2025-04-12 19:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 19:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 14:09:01] Production.INFO: ==1931== Lock acquired, processing the job...
[2025-04-12 14:09:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 14:09:02] Production.INFO: ==1931== Releasing lock...
[2025-04-12 14:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 14:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 18:09:02] Production.INFO: ==1933== Lock acquired, processing the job...
[2025-04-12 18:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 18:09:02] Production.INFO: ==1933== Releasing lock...
[2025-04-12 18:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 18:09:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 14:09:03] Production.INFO: ==1937== Lock acquired, processing the job...
[2025-04-12 14:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 14:09:03] Production.INFO: ==1935== Lock acquired, processing the job...
[2025-04-12 14:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 14:09:03] Production.INFO: ==1939== Lock acquired, processing the job...
[2025-04-12 14:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 14:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 14:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 14:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 14:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 14:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 14:09:03] Production.INFO: ==1941== Lock acquired, processing the job...
[2025-04-12 14:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 14:09:03] Production.INFO: Account Balance Start.
[2025-04-12 14:09:03] Production.INFO: CreateAllLog Start
[2025-04-12 14:09:03] Production.INFO: 117
[2025-04-12 14:09:03] Production.INFO: Date 2025-04-08
[2025-04-12 14:09:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:09:03] Production.INFO: ==1937== Releasing lock...
[2025-04-12 14:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 14:09:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 14:09:03] Production.INFO: Date 2025-04-09
[2025-04-12 14:09:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:09:03] Production.INFO: Date 2025-04-10
[2025-04-12 14:09:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:09:03] Production.INFO: Date 2025-04-11
[2025-04-12 14:09:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:09:03] Production.INFO: ==1943== Lock acquired, processing the job...
[2025-04-12 14:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 14:09:03] Production.INFO: Date 2025-04-12
[2025-04-12 14:09:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:09:03] Production.INFO: ==1945== Lock acquired, processing the job...
[2025-04-12 14:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 14:09:03] Production.INFO: Total Charge 0
[2025-04-12 14:09:03] Production.INFO: CreateAllLog End
[2025-04-12 14:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 14:09:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 14:09:03] Production.INFO: count ==12
[2025-04-12 14:09:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 14:09:03] Production.INFO: count ==23
[2025-04-12 14:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14892074') start
[2025-04-12 14:09:04] Production.ERROR: done
[2025-04-12 14:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 14:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892074') end
[2025-04-12 14:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 14:09:04] Production.INFO: 1
[2025-04-12 14:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 14:09:04] Production.INFO: Account Balance End.
[2025-04-12 14:09:04] Production.INFO: ==1945== Releasing lock...
[2025-04-12 14:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 14:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 14:09:04] Production.ERROR: done
[2025-04-12 14:09:04] Production.ERROR: CronJobId end 12
[2025-04-12 14:09:04] Production.INFO: ==1941== Releasing lock...
[2025-04-12 14:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 14:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 14:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 11:09:05
[end_date_ymd] => 2025-04-12 14:09:05
[RateCDR] => 1
)
[2025-04-12 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-12 11:09:05' and `end` < '2025-04-12 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-12 14:09:12] Production.ERROR: CronJobId end10
[2025-04-12 14:09:12] Production.INFO: ==1939== Releasing lock...
[2025-04-12 14:09:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 14:09:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 14:09:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 14:09:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 14:09:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 14:09:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 14:09:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 14:09:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 14:09:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 14:09:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 14:09:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 14:09:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 14:09:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 14:09:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 14:09:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 14:09:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 14:09:14] Production.INFO: call_cost start
[2025-04-12 14:09:14] Production.INFO: call_cost end
[2025-04-12 14:09:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 14:09:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 14:09:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 14:09:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 14:09:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 14:09:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 14:09:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 14:09:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 14:09:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 14:09:15] Production.INFO: ==1935== Releasing lock...
[2025-04-12 14:09:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 14:09:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 14:09:18] Production.INFO: count ==1673
[2025-04-12 14:09:18] Production.ERROR: pbx CDR StartTime 2025-04-12 11:09:05 - End Time 2025-04-12 14:09:05
[2025-04-12 14:09:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 14:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892075', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892075', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892075', 'tblTempVendorCDR_20' ) start
[2025-04-12 14:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892075', 'tblTempVendorCDR_20' ) end
[2025-04-12 14:09:19] Production.INFO: ProcessCDR(1,14892075,1,1,2)
[2025-04-12 14:09:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892075,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:09:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892075,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:09:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892075,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:09:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892075,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:09:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892075', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:09:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892075', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:09:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 14:09:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 14:09:23] Production.INFO: ==1943== Releasing lock...
[2025-04-12 14:09:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 14:09:23] Production.INFO: 40.75 MB #Memory Used#
[2025-04-12 19:10:02] Production.INFO: ==2001== Lock acquired, processing the job...
[2025-04-12 19:10:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 19:10:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 19:10:02] Production.INFO: neon service started
[2025-04-12 19:10:02] Production.INFO: neon service started
[2025-04-12 19:10:02] Production.INFO: ==2001== Releasing lock...
[2025-04-12 19:10:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 19:10:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 14:10:02] Production.INFO: ==2004== Lock acquired, processing the job...
[2025-04-12 14:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 18:10:02] Production.INFO: ==2006== Lock acquired, processing the job...
[2025-04-12 18:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 18:10:02] Production.INFO: ==2006== Releasing lock...
[2025-04-12 18:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 18:10:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 14:10:03] Production.INFO: ==2004== Releasing lock...
[2025-04-12 14:10:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 14:10:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 14:10:04] Production.INFO: ==2010== Lock acquired, processing the job...
[2025-04-12 14:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 14:10:04] Production.INFO: ==2016== Lock acquired, processing the job...
[2025-04-12 14:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 14:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 14:10:04] Production.INFO: ==2008== Lock acquired, processing the job...
[2025-04-12 14:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 14:10:04] Production.INFO: ==2020== Lock acquired, processing the job...
[2025-04-12 14:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 14:10:04] Production.INFO: Account Balance Start.
[2025-04-12 14:10:04] Production.INFO: CreateAllLog Start
[2025-04-12 14:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 14:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 14:10:04] Production.ERROR: CronJob PID - 2010
[2025-04-12 14:10:04] Production.ERROR: CronJob Title - System Alerts
[2025-04-12 14:10:04] Production.ERROR: CronJob ID - 5
[2025-04-12 14:10:04] Production.ERROR: CronJob Last Run Time 2025-04-12 14:10:00
[2025-04-12 14:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 14:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 14:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 14:10:04] Production.ERROR: CronJob PID - 2016
[2025-04-12 14:10:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-04-12 14:10:04] Production.ERROR: CronJob ID - 12
[2025-04-12 14:10:04] Production.ERROR: CronJob Last Run Time 2025-04-12 14:10:00
[2025-04-12 14:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 14:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 14:10:04] Production.INFO: 117
[2025-04-12 14:10:04] Production.INFO: Date 2025-04-08
[2025-04-12 14:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 14:10:04] Production.INFO: ==2008== Releasing lock...
[2025-04-12 14:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 14:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 14:10:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 14:10:04] Production.INFO: Date 2025-04-09
[2025-04-12 14:10:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:10:04] Production.INFO: ==2012== Lock acquired, processing the job...
[2025-04-12 14:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 14:10:04] Production.INFO: ==2014== Lock acquired, processing the job...
[2025-04-12 14:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 14:10:04] Production.INFO: Date 2025-04-10
[2025-04-12 14:10:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:10:04] Production.INFO: ==2018== Lock acquired, processing the job...
[2025-04-12 14:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 14:10:04] Production.INFO: ==2022== Lock acquired, processing the job...
[2025-04-12 14:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 14:10:04] Production.INFO: Date 2025-04-11
[2025-04-12 14:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 14:10:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 14:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 14:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 14:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 14:10:04] Production.INFO: Date 2025-04-12
[2025-04-12 14:10:04] Production.INFO: Reseller ==> 0
[2025-04-12 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-12 14:10:04] Production.INFO: Total Charge 0
[2025-04-12 14:10:04] Production.INFO: CreateAllLog End
[2025-04-12 14:10:04] Production.INFO: count ==12
[2025-04-12 14:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 14:10:04] Production.INFO: count ==23
[2025-04-12 14:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892078') start
[2025-04-12 14:10:04] Production.ERROR: done
[2025-04-12 14:10:04] Production.INFO: ==2012== Releasing lock...
[2025-04-12 14:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 14:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 14:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14892078') end
[2025-04-12 14:10:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 14:10:05] Production.INFO: 1
[2025-04-12 14:10:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 14:10:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 14:10:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14892080', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 14:10:05] Production.INFO: ==2022== Releasing lock...
[2025-04-12 14:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 14:10:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 14:10:05] Production.INFO: Account Balance End.
[2025-04-12 14:10:05] Production.ERROR: done
[2025-04-12 14:10:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 14:10:05] Production.ERROR: CronJobId end 12
[2025-04-12 14:10:05] Production.INFO: ==2016== Releasing lock...
[2025-04-12 14:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 14:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 14:10:05] Production.ERROR: done
[2025-04-12 14:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 11:10:06
[end_date_ymd] => 2025-04-12 14:10:06
[RateCDR] => 1
)
[2025-04-12 14:10:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 11:10:06' and `end` < '2025-04-12 14:10:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 14:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14892080', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 14:10:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 14:10:09] Production.INFO: ProcessCDR(1,14892080,1,1,2)
[2025-04-12 14:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14892080,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14892080,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 14:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 14:10:09] Production.INFO: ==2020== Releasing lock...
[2025-04-12 14:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 14:10:09] Production.INFO: 26 MB #Memory Used#
[2025-04-12 14:10:13] Production.ERROR: CronJobId end10
[2025-04-12 14:10:13] Production.INFO: ==2014== Releasing lock...
[2025-04-12 14:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 14:10:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 14:10:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 14:10:16] Production.INFO: ============== Balance Warning START===========
[2025-04-12 14:10:16] Production.INFO: ============== Balance Warning END===========
[2025-04-12 14:10:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 14:10:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 14:10:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 14:10:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 14:10:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 14:10:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 14:10:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 14:10:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 14:10:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 14:10:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 14:10:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 14:10:16] Production.INFO: call_cost start
[2025-04-12 14:10:16] Production.INFO: call_cost end
[2025-04-12 14:10:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 14:10:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 14:10:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 14:10:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 14:10:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 14:10:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 14:10:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 14:10:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 14:10:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 14:10:17] Production.INFO: ==2010== Releasing lock...
[2025-04-12 14:10:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 14:10:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 14:10:19] Production.INFO: count ==1672
[2025-04-12 14:10:19] Production.ERROR: pbx CDR StartTime 2025-04-12 11:10:06 - End Time 2025-04-12 14:10:06
[2025-04-12 14:10:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 14:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892081', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892081', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892081', 'tblTempVendorCDR_20' ) start
[2025-04-12 14:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892081', 'tblTempVendorCDR_20' ) end
[2025-04-12 14:10:20] Production.INFO: ProcessCDR(1,14892081,1,1,2)
[2025-04-12 14:10:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892081,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:10:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892081,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:10:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892081,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:10:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892081,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:10:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892081', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:10:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892081', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:10:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 14:10:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 14:10:25] Production.INFO: ==2018== Releasing lock...
[2025-04-12 14:10:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 14:10:25] Production.INFO: 40.5 MB #Memory Used#
[2025-04-12 19:11:01] Production.INFO: ==2081== Lock acquired, processing the job...
[2025-04-12 19:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 19:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 19:11:01] Production.INFO: neon service started
[2025-04-12 19:11:01] Production.INFO: neon service started
[2025-04-12 19:11:01] Production.INFO: ==2081== Releasing lock...
[2025-04-12 19:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 19:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 14:11:01] Production.INFO: ==2083== Lock acquired, processing the job...
[2025-04-12 14:11:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 14:11:02] Production.INFO: ==2083== Releasing lock...
[2025-04-12 14:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 14:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 18:11:02] Production.INFO: ==2085== Lock acquired, processing the job...
[2025-04-12 18:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 18:11:02] Production.INFO: ==2085== Releasing lock...
[2025-04-12 18:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 18:11:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 14:11:02] Production.INFO: ==2091== Lock acquired, processing the job...
[2025-04-12 14:11:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 14:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 14:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 14:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 14:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 14:11:03] Production.INFO: ==2097== Lock acquired, processing the job...
[2025-04-12 14:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 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-12 14:11:03] Production.INFO: count ==12
[2025-04-12 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-12 14:11:03] Production.INFO: count ==23
[2025-04-12 14:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14892082') start
[2025-04-12 14:11:03] Production.INFO: ==2087== Lock acquired, processing the job...
[2025-04-12 14:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 14:11:03] Production.INFO: ==2089== Lock acquired, processing the job...
[2025-04-12 14:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 14:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14892082') end
[2025-04-12 14:11:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 14:11:03] Production.INFO: 1
[2025-04-12 14:11:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 14:11:03] Production.INFO: ==2093== Lock acquired, processing the job...
[2025-04-12 14:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 14:11:03] Production.INFO: ==2097== Releasing lock...
[2025-04-12 14:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 14:11:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 14:11:03] Production.INFO: ==2095== Lock acquired, processing the job...
[2025-04-12 14:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 14:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 14:11:03] Production.INFO: Account Balance Start.
[2025-04-12 14:11:03] Production.INFO: CreateAllLog Start
[2025-04-12 14:11:03] Production.INFO: 117
[2025-04-12 14:11:03] Production.INFO: Date 2025-04-08
[2025-04-12 14:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 14:11:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:11:03] Production.INFO: Date 2025-04-09
[2025-04-12 14:11:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:11:03] Production.INFO: Date 2025-04-10
[2025-04-12 14:11:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:11:03] Production.INFO: Date 2025-04-11
[2025-04-12 14:11:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:11:03] Production.INFO: Date 2025-04-12
[2025-04-12 14:11:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:11:03] Production.INFO: ==2089== Releasing lock...
[2025-04-12 14:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 14:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 14:11:04] Production.ERROR: done
[2025-04-12 14:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 14:11:04] Production.INFO: Total Charge 0
[2025-04-12 14:11:04] Production.INFO: CreateAllLog End
[2025-04-12 14:11:04] Production.ERROR: done
[2025-04-12 14:11:04] Production.INFO: Account Balance End.
[2025-04-12 14:11:04] Production.ERROR: CronJobId end 12
[2025-04-12 14:11:04] Production.INFO: ==2093== Releasing lock...
[2025-04-12 14:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 14:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 14:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 11:11:05
[end_date_ymd] => 2025-04-12 14:11:05
[RateCDR] => 1
)
[2025-04-12 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-12 11:11:05' and `end` < '2025-04-12 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-12 14:11:11] Production.ERROR: CronJobId end10
[2025-04-12 14:11:11] Production.INFO: ==2091== Releasing lock...
[2025-04-12 14:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 14:11:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 14:11:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 14:11:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 14:11:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 14:11:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 14:11:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 14:11:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 14:11:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 14:11:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 14:11:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 14:11:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 14:11:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 14:11:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 14:11:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 14:11:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 14:11:15] Production.INFO: call_cost start
[2025-04-12 14:11:15] Production.INFO: call_cost end
[2025-04-12 14:11:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 14:11:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 14:11:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 14:11:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 14:11:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 14:11:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 14:11:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 14:11:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 14:11:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 14:11:16] Production.INFO: ==2087== Releasing lock...
[2025-04-12 14:11:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 14:11:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 14:11:18] Production.INFO: count ==1641
[2025-04-12 14:11:18] Production.ERROR: pbx CDR StartTime 2025-04-12 11:11:05 - End Time 2025-04-12 14:11:05
[2025-04-12 14:11:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 14:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892086', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892086', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892086', 'tblTempVendorCDR_20' ) start
[2025-04-12 14:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892086', 'tblTempVendorCDR_20' ) end
[2025-04-12 14:11:18] Production.INFO: ProcessCDR(1,14892086,1,1,2)
[2025-04-12 14:11:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892086,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:11:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892086,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:11:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892086,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:11:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892086,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:11:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892086', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:11:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892086', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:11:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 14:11:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 14:11:23] Production.INFO: ==2095== Releasing lock...
[2025-04-12 14:11:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 14:11:23] Production.INFO: 40.25 MB #Memory Used#
[2025-04-12 19:12:01] Production.INFO: ==2156== Lock acquired, processing the job...
[2025-04-12 19:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 19:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 19:12:01] Production.INFO: neon service started
[2025-04-12 19:12:02] Production.INFO: neon service started
[2025-04-12 19:12:02] Production.INFO: ==2156== Releasing lock...
[2025-04-12 19:12:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 19:12:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 14:12:02] Production.INFO: ==2158== Lock acquired, processing the job...
[2025-04-12 14:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 18:12:02] Production.INFO: ==2160== Lock acquired, processing the job...
[2025-04-12 18:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 18:12:02] Production.INFO: ==2160== Releasing lock...
[2025-04-12 18:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 18:12:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 14:12:03] Production.INFO: ==2158== Releasing lock...
[2025-04-12 14:12:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 14:12:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 14:12:03] Production.INFO: ==2167== Lock acquired, processing the job...
[2025-04-12 14:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 14:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 14:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 14:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 14:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 14:12:03] Production.INFO: ==2174== Lock acquired, processing the job...
[2025-04-12 14:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 14:12:04] Production.INFO: ==2163== Lock acquired, processing the job...
[2025-04-12 14:12:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 14: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-12 14:12:04] Production.INFO: count ==12
[2025-04-12 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-12 14:12:04] Production.INFO: count ==23
[2025-04-12 14:12:04] Production.INFO: ==2165== Lock acquired, processing the job...
[2025-04-12 14:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 14:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892087') start
[2025-04-12 14:12:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 14:12:04] Production.INFO: ==2170== Lock acquired, processing the job...
[2025-04-12 14:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 14:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892087') end
[2025-04-12 14:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 14:12:04] Production.INFO: 1
[2025-04-12 14:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 14:12:04] Production.INFO: ==2174== Releasing lock...
[2025-04-12 14:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 14:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 14:12:04] Production.INFO: ==2172== Lock acquired, processing the job...
[2025-04-12 14:12:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 14:12:04] Production.INFO: Account Balance Start.
[2025-04-12 14:12:04] Production.INFO: CreateAllLog Start
[2025-04-12 14:12:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 14:12:04] Production.INFO: 117
[2025-04-12 14:12:04] Production.INFO: Date 2025-04-08
[2025-04-12 14:12:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:12:04] Production.INFO: Date 2025-04-09
[2025-04-12 14:12:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:12:04] Production.INFO: Date 2025-04-10
[2025-04-12 14:12:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:12:04] Production.INFO: Date 2025-04-11
[2025-04-12 14:12:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:12:04] Production.INFO: Date 2025-04-12
[2025-04-12 14:12:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:12:04] Production.INFO: ==2165== Releasing lock...
[2025-04-12 14:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 14:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 14:12:04] Production.INFO: Total Charge 0
[2025-04-12 14:12:04] Production.INFO: CreateAllLog End
[2025-04-12 14:12:04] Production.ERROR: done
[2025-04-12 14:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 14:12:05] Production.ERROR: done
[2025-04-12 14:12:05] Production.INFO: Account Balance End.
[2025-04-12 14:12:05] Production.ERROR: CronJobId end 12
[2025-04-12 14:12:05] Production.INFO: ==2170== Releasing lock...
[2025-04-12 14:12:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 14:12:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 14:12:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 11:12:06
[end_date_ymd] => 2025-04-12 14:12:06
[RateCDR] => 1
)
[2025-04-12 14: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-12 11:12:06' and `end` < '2025-04-12 14: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-12 14:12:12] Production.ERROR: CronJobId end10
[2025-04-12 14:12:12] Production.INFO: ==2167== Releasing lock...
[2025-04-12 14:12:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 14:12:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 14:12:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 14:12:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 14:12:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 14:12:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 14:12:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 14:12:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 14:12:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 14:12:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 14:12:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 14:12:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 14:12:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 14:12:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 14:12:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 14:12:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 14:12:15] Production.INFO: call_cost start
[2025-04-12 14:12:15] Production.INFO: call_cost end
[2025-04-12 14:12:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 14:12:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 14:12:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 14:12:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 14:12:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 14:12:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 14:12:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 14:12:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 14:12:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 14:12:16] Production.INFO: ==2163== Releasing lock...
[2025-04-12 14:12:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 14:12:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 14:12:18] Production.INFO: count ==1644
[2025-04-12 14:12:19] Production.ERROR: pbx CDR StartTime 2025-04-12 11:12:06 - End Time 2025-04-12 14:12:06
[2025-04-12 14:12:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 14:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892091', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892091', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892091', 'tblTempVendorCDR_20' ) start
[2025-04-12 14:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892091', 'tblTempVendorCDR_20' ) end
[2025-04-12 14:12:19] Production.INFO: ProcessCDR(1,14892091,1,1,2)
[2025-04-12 14:12:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892091,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:12:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892091,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:12:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892091,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:12:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892091,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:12:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892091', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:12:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892091', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:12:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 14:12:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 14:12:24] Production.INFO: ==2172== Releasing lock...
[2025-04-12 14:12:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 14:12:24] Production.INFO: 40.25 MB #Memory Used#
[2025-04-12 19:13:01] Production.INFO: ==2231== Lock acquired, processing the job...
[2025-04-12 19:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 19:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 19:13:01] Production.INFO: neon service started
[2025-04-12 19:13:01] Production.INFO: neon service started
[2025-04-12 19:13:01] Production.INFO: ==2231== Releasing lock...
[2025-04-12 19:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 19:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 14:13:02] Production.INFO: ==2233== Lock acquired, processing the job...
[2025-04-12 14:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 18:13:02] Production.INFO: ==2235== Lock acquired, processing the job...
[2025-04-12 18:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 18:13:02] Production.INFO: ==2235== Releasing lock...
[2025-04-12 18:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 18:13:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 14:13:02] Production.INFO: ==2233== Releasing lock...
[2025-04-12 14:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 14:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 14:13:03] Production.INFO: ==2242== Lock acquired, processing the job...
[2025-04-12 14:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 14:13:03] Production.INFO: ==2244== Lock acquired, processing the job...
[2025-04-12 14:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 14:13:03] Production.INFO: ==2238== Lock acquired, processing the job...
[2025-04-12 14:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 14:13:03] Production.INFO: ==2240== Lock acquired, processing the job...
[2025-04-12 14:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 14:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 14:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 14:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 14:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 14:13:03] Production.INFO: Account Balance Start.
[2025-04-12 14:13:03] Production.INFO: CreateAllLog Start
[2025-04-12 14:13:03] Production.INFO: 117
[2025-04-12 14:13:03] Production.INFO: Date 2025-04-08
[2025-04-12 14:13:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 14:13:03] Production.INFO: ==2246== Lock acquired, processing the job...
[2025-04-12 14:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 14:13:03] Production.INFO: ==2248== Lock acquired, processing the job...
[2025-04-12 14:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 14:13:03] Production.INFO: Date 2025-04-09
[2025-04-12 14:13:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:13:03] Production.INFO: Date 2025-04-10
[2025-04-12 14:13:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:13:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 14:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 14:13:03] Production.INFO: count ==12
[2025-04-12 14:13:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 14:13:03] Production.INFO: count ==23
[2025-04-12 14:13:03] Production.INFO: Date 2025-04-11
[2025-04-12 14:13:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14892095') start
[2025-04-12 14:13:03] Production.INFO: Date 2025-04-12
[2025-04-12 14:13:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:13:03] Production.INFO: Total Charge 0
[2025-04-12 14:13:03] Production.INFO: CreateAllLog End
[2025-04-12 14:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14892095') end
[2025-04-12 14:13:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 14:13:03] Production.INFO: 1
[2025-04-12 14:13:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 14:13:03] Production.ERROR: done
[2025-04-12 14:13:03] Production.INFO: ==2240== Releasing lock...
[2025-04-12 14:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 14:13:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 14:13:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 14:13:03] Production.INFO: ==2248== Releasing lock...
[2025-04-12 14:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 14:13:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 14:13:04] Production.INFO: Account Balance End.
[2025-04-12 14:13:04] Production.ERROR: done
[2025-04-12 14:13:04] Production.ERROR: CronJobId end 12
[2025-04-12 14:13:04] Production.INFO: ==2244== Releasing lock...
[2025-04-12 14:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 14:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 14:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 11:13:05
[end_date_ymd] => 2025-04-12 14:13:05
[RateCDR] => 1
)
[2025-04-12 14:13:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 11:13:05' and `end` < '2025-04-12 14:13:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 14:13:11] Production.ERROR: CronJobId end10
[2025-04-12 14:13:11] Production.INFO: ==2242== Releasing lock...
[2025-04-12 14:13:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 14:13:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 14:13:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 14:13:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 14:13:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 14:13:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 14:13:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 14:13:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 14:13:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 14:13:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 14:13:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 14:13:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 14:13:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 14:13:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 14:13:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 14:13:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 14:13:13] Production.INFO: call_cost start
[2025-04-12 14:13:13] Production.INFO: call_cost end
[2025-04-12 14:13:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 14:13:14] Production.INFO: ============== Report Schedule START===========
[2025-04-12 14:13:14] Production.INFO: ============== Report Schedule END===========
[2025-04-12 14:13:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 14:13:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 14:13:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 14:13:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 14:13:14] Production.INFO: ============== Deal alert START===========
[2025-04-12 14:13:14] Production.INFO: ============== Deal alert END===========
[2025-04-12 14:13:14] Production.INFO: ==2238== Releasing lock...
[2025-04-12 14:13:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 14:13:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 14:13:18] Production.INFO: count ==1636
[2025-04-12 14:13:18] Production.ERROR: pbx CDR StartTime 2025-04-12 11:13:05 - End Time 2025-04-12 14:13:05
[2025-04-12 14:13:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 14:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892096', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892096', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892096', 'tblTempVendorCDR_20' ) start
[2025-04-12 14:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892096', 'tblTempVendorCDR_20' ) end
[2025-04-12 14:13:18] Production.INFO: ProcessCDR(1,14892096,1,1,2)
[2025-04-12 14:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892096,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:13:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892096,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:13:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892096,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:13:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892096,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892096', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892096', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:13:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 14:13:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 14:13:22] Production.INFO: ==2246== Releasing lock...
[2025-04-12 14:13:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 14:13:22] Production.INFO: 40 MB #Memory Used#
[2025-04-12 19:14:01] Production.INFO: ==2302== Lock acquired, processing the job...
[2025-04-12 19:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 19:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 19:14:01] Production.INFO: neon service started
[2025-04-12 19:14:01] Production.INFO: neon service started
[2025-04-12 19:14:01] Production.INFO: ==2302== Releasing lock...
[2025-04-12 19:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 19:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 18:14:02] Production.INFO: ==2306== Lock acquired, processing the job...
[2025-04-12 18:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 18:14:02] Production.INFO: ==2306== Releasing lock...
[2025-04-12 18:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 18:14:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 14:14:02] Production.INFO: ==2304== Lock acquired, processing the job...
[2025-04-12 14:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 14:14:02] Production.INFO: ==2304== Releasing lock...
[2025-04-12 14:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 14:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 14:14:03] Production.INFO: ==2311== Lock acquired, processing the job...
[2025-04-12 14:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 14:14:03] Production.INFO: ==2309== Lock acquired, processing the job...
[2025-04-12 14:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 14:14:03] Production.INFO: ==2315== Lock acquired, processing the job...
[2025-04-12 14:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 14:14:03] Production.INFO: ==2313== Lock acquired, processing the job...
[2025-04-12 14:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 14:14:03] Production.INFO: Account Balance Start.
[2025-04-12 14:14:03] Production.INFO: CreateAllLog Start
[2025-04-12 14:14:03] Production.INFO: 117
[2025-04-12 14:14:03] Production.INFO: Date 2025-04-08
[2025-04-12 14:14:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 14:14:03] Production.INFO: Date 2025-04-09
[2025-04-12 14:14:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:14:03] Production.INFO: ==2317== Lock acquired, processing the job...
[2025-04-12 14:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 14:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 14:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 14:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 14:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 14:14:03] Production.INFO: Date 2025-04-10
[2025-04-12 14:14:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:14:03] Production.INFO: Date 2025-04-11
[2025-04-12 14:14:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 14:14:03] Production.INFO: ==2319== Lock acquired, processing the job...
[2025-04-12 14:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 14:14:04] Production.INFO: ==2311== Releasing lock...
[2025-04-12 14:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 14:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 14:14:04] Production.INFO: Date 2025-04-12
[2025-04-12 14:14:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:14:04] Production.INFO: Total Charge 0
[2025-04-12 14:14:04] Production.INFO: CreateAllLog End
[2025-04-12 14:14:04] Production.INFO: Account Balance End.
[2025-04-12 14:14:04] Production.ERROR: CronJobId end 12
[2025-04-12 14:14:04] Production.INFO: ==2315== Releasing lock...
[2025-04-12 14:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 14:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 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-12 14:14:04] Production.INFO: count ==12
[2025-04-12 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-12 14:14:04] Production.INFO: count ==23
[2025-04-12 14:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892100') start
[2025-04-12 14:14:04] Production.ERROR: done
[2025-04-12 14:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 14:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892100') end
[2025-04-12 14:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 14:14:04] Production.INFO: 1
[2025-04-12 14:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 14:14:04] Production.INFO: ==2319== Releasing lock...
[2025-04-12 14:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 14:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 14:14:04] Production.ERROR: done
[2025-04-12 14:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 11:14:05
[end_date_ymd] => 2025-04-12 14:14:05
[RateCDR] => 1
)
[2025-04-12 14:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 11:14:05' and `end` < '2025-04-12 14:14:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 14:14:11] Production.ERROR: CronJobId end10
[2025-04-12 14:14:11] Production.INFO: ==2313== Releasing lock...
[2025-04-12 14:14:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 14:14:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 14:14:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 14:14:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 14:14:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 14:14:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 14:14:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 14:14:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 14:14:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 14:14:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 14:14:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 14:14:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 14:14:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 14:14:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 14:14:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 14:14:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 14:14:14] Production.INFO: call_cost start
[2025-04-12 14:14:14] Production.INFO: call_cost end
[2025-04-12 14:14:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 14:14:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 14:14:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 14:14:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 14:14:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 14:14:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 14:14:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 14:14:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 14:14:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 14:14:15] Production.INFO: ==2309== Releasing lock...
[2025-04-12 14:14:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 14:14:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 14:14:18] Production.INFO: count ==1633
[2025-04-12 14:14:19] Production.ERROR: pbx CDR StartTime 2025-04-12 11:14:05 - End Time 2025-04-12 14:14:05
[2025-04-12 14:14:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 14:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892101', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892101', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892101', 'tblTempVendorCDR_20' ) start
[2025-04-12 14:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892101', 'tblTempVendorCDR_20' ) end
[2025-04-12 14:14:19] Production.INFO: ProcessCDR(1,14892101,1,1,2)
[2025-04-12 14:14:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892101,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:14:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892101,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:14:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892101,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:14:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892101,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:14:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892101', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:14:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892101', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:14:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 14:14:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 14:14:24] Production.INFO: ==2317== Releasing lock...
[2025-04-12 14:14:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 14:14:24] Production.INFO: 40 MB #Memory Used#
[2025-04-12 19:15:02] Production.INFO: ==2375== Lock acquired, processing the job...
[2025-04-12 19:15:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 19:15:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 19:15:02] Production.INFO: neon service started
[2025-04-12 19:15:02] Production.INFO: neon service started
[2025-04-12 19:15:02] Production.INFO: ==2375== Releasing lock...
[2025-04-12 19:15:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 19:15:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 18:15:02] Production.INFO: ==2379== Lock acquired, processing the job...
[2025-04-12 18:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 18:15:02] Production.INFO: ==2379== Releasing lock...
[2025-04-12 18:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 18:15:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 14:15:02] Production.INFO: ==2377== Lock acquired, processing the job...
[2025-04-12 14:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 14:15:03] Production.INFO: ==2377== Releasing lock...
[2025-04-12 14:15:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 14:15:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 14:15:03] Production.INFO: ==2381== Lock acquired, processing the job...
[2025-04-12 14:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 14:15:03] Production.INFO: ==2385== Lock acquired, processing the job...
[2025-04-12 14:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 14:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 14:15:03] Production.INFO: ==2383== Lock acquired, processing the job...
[2025-04-12 14:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 14:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 14:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 14:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 14:15:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 14:15:04] Production.INFO: ==2388== Lock acquired, processing the job...
[2025-04-12 14:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 14:15:04] Production.INFO: ==2390== Lock acquired, processing the job...
[2025-04-12 14:15:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 14:15:04] Production.INFO: Account Balance Start.
[2025-04-12 14:15:04] Production.INFO: CreateAllLog Start
[2025-04-12 14:15:04] Production.INFO: 117
[2025-04-12 14:15:04] Production.INFO: ==2383== Releasing lock...
[2025-04-12 14:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 14:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 14:15:04] Production.INFO: Date 2025-04-08
[2025-04-12 14:15:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 14:15:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:15:04] Production.INFO: Date 2025-04-09
[2025-04-12 14:15:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:15:04] Production.INFO: ==2392== Lock acquired, processing the job...
[2025-04-12 14:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 14:15:04] Production.INFO: Date 2025-04-10
[2025-04-12 14:15:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:15:04] Production.INFO: Date 2025-04-11
[2025-04-12 14:15:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:15:04] Production.INFO: Date 2025-04-12
[2025-04-12 14:15:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:15:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 14:15:04] Production.INFO: count ==12
[2025-04-12 14:15:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 14:15:04] Production.INFO: count ==23
[2025-04-12 14:15:04] Production.INFO: Total Charge 0
[2025-04-12 14:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892105') start
[2025-04-12 14:15:04] Production.INFO: CreateAllLog End
[2025-04-12 14:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892105') end
[2025-04-12 14:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 14:15:04] Production.INFO: 1
[2025-04-12 14:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 14:15:04] Production.ERROR: done
[2025-04-12 14:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 14:15:04] Production.INFO: ==2392== Releasing lock...
[2025-04-12 14:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 14:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 14:15:05] Production.ERROR: done
[2025-04-12 14:15:05] Production.INFO: Account Balance End.
[2025-04-12 14:15:05] Production.ERROR: CronJobId end 12
[2025-04-12 14:15:05] Production.INFO: ==2388== Releasing lock...
[2025-04-12 14:15:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 14:15:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 14:15:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 11:15:06
[end_date_ymd] => 2025-04-12 14:15:06
[RateCDR] => 1
)
[2025-04-12 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-12 11:15:06' and `end` < '2025-04-12 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-12 14:15:12] Production.ERROR: CronJobId end10
[2025-04-12 14:15:12] Production.INFO: ==2385== Releasing lock...
[2025-04-12 14:15:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 14:15:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 14:15:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 14:15:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 14:15:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 14:15:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 14:15:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 14:15:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 14:15:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 14:15:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 14:15:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 14:15:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 14:15:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 14:15:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 14:15:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 14:15:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 14:15:14] Production.INFO: call_cost start
[2025-04-12 14:15:14] Production.INFO: call_cost end
[2025-04-12 14:15:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 14:15:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 14:15:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 14:15:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 14:15:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 14:15:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 14:15:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 14:15:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 14:15:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 14:15:15] Production.INFO: ==2381== Releasing lock...
[2025-04-12 14:15:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 14:15:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 14:15:19] Production.INFO: count ==1631
[2025-04-12 14:15:19] Production.ERROR: pbx CDR StartTime 2025-04-12 11:15:06 - End Time 2025-04-12 14:15:06
[2025-04-12 14:15:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 14:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892106', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892106', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892106', 'tblTempVendorCDR_20' ) start
[2025-04-12 14:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892106', 'tblTempVendorCDR_20' ) end
[2025-04-12 14:15:19] Production.INFO: ProcessCDR(1,14892106,1,1,2)
[2025-04-12 14:15:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892106,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:15:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892106,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:15:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892106,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:15:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892106,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:15:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892106', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:15:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892106', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:15:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 14:15:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 14:15:23] Production.INFO: ==2390== Releasing lock...
[2025-04-12 14:15:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 14:15:23] Production.INFO: 40.25 MB #Memory Used#
[2025-04-12 19:16:01] Production.INFO: ==2450== Lock acquired, processing the job...
[2025-04-12 19:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 19:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 19:16:01] Production.INFO: neon service started
[2025-04-12 19:16:01] Production.INFO: neon service started
[2025-04-12 19:16:01] Production.INFO: ==2450== Releasing lock...
[2025-04-12 19:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 19:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 14:16:02] Production.INFO: ==2452== Lock acquired, processing the job...
[2025-04-12 14:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 14:16:02] Production.INFO: ==2452== Releasing lock...
[2025-04-12 14:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 14:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 18:16:02] Production.INFO: ==2454== Lock acquired, processing the job...
[2025-04-12 18:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 18:16:02] Production.INFO: ==2454== Releasing lock...
[2025-04-12 18:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 18:16:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 14:16:03] Production.INFO: ==2463== Lock acquired, processing the job...
[2025-04-12 14:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 14:16:03] Production.INFO: Account Balance Start.
[2025-04-12 14:16:03] Production.INFO: CreateAllLog Start
[2025-04-12 14:16:03] Production.INFO: 117
[2025-04-12 14:16:03] Production.INFO: Date 2025-04-08
[2025-04-12 14:16:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:16:03] Production.INFO: ==2457== Lock acquired, processing the job...
[2025-04-12 14:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 14:16:03] Production.INFO: Date 2025-04-09
[2025-04-12 14:16:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:16:03] Production.INFO: Date 2025-04-10
[2025-04-12 14:16:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 14:16:03] Production.INFO: Date 2025-04-11
[2025-04-12 14:16:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:16:03] Production.INFO: ==2465== Lock acquired, processing the job...
[2025-04-12 14:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 14:16:03] Production.INFO: ==2459== Lock acquired, processing the job...
[2025-04-12 14:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 14:16:03] Production.INFO: Date 2025-04-12
[2025-04-12 14:16:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:16:03] Production.INFO: ==2461== Lock acquired, processing the job...
[2025-04-12 14:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 14:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 14:16:03] Production.INFO: Total Charge 0
[2025-04-12 14:16:03] Production.INFO: CreateAllLog End
[2025-04-12 14:16:03] Production.INFO: ==2467== Lock acquired, processing the job...
[2025-04-12 14:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 14:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 14:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 14:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 14:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 14:16:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 14:16:03] Production.INFO: count ==12
[2025-04-12 14:16:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 14:16:04] Production.INFO: count ==23
[2025-04-12 14:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892110') start
[2025-04-12 14:16:04] Production.ERROR: done
[2025-04-12 14:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 14:16:04] Production.INFO: ==2459== Releasing lock...
[2025-04-12 14:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 14:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 14:16:04] Production.INFO: Account Balance End.
[2025-04-12 14:16:04] Production.ERROR: done
[2025-04-12 14:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892110') end
[2025-04-12 14:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 14:16:04] Production.INFO: 1
[2025-04-12 14:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 14:16:04] Production.ERROR: CronJobId end 12
[2025-04-12 14:16:04] Production.INFO: ==2463== Releasing lock...
[2025-04-12 14:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 14:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 14:16:04] Production.INFO: ==2467== Releasing lock...
[2025-04-12 14:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 14:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 14:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 11:16:05
[end_date_ymd] => 2025-04-12 14:16:05
[RateCDR] => 1
)
[2025-04-12 14:16:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 11:16:05' and `end` < '2025-04-12 14:16:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 14:16:12] Production.ERROR: CronJobId end10
[2025-04-12 14:16:12] Production.INFO: ==2461== Releasing lock...
[2025-04-12 14:16:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 14:16:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 14:16:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 14:16:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 14:16:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 14:16:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 14:16:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 14:16:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 14:16:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 14:16:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 14:16:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 14:16:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 14:16:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 14:16:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 14:16:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 14:16:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 14:16:15] Production.INFO: call_cost start
[2025-04-12 14:16:15] Production.INFO: call_cost end
[2025-04-12 14:16:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 14:16:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 14:16:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 14:16:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 14:16:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 14:16:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 14:16:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 14:16:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 14:16:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 14:16:16] Production.INFO: ==2457== Releasing lock...
[2025-04-12 14:16:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 14:16:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 14:16:18] Production.INFO: count ==1639
[2025-04-12 14:16:19] Production.ERROR: pbx CDR StartTime 2025-04-12 11:16:05 - End Time 2025-04-12 14:16:05
[2025-04-12 14:16:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 14:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892111', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892111', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892111', 'tblTempVendorCDR_20' ) start
[2025-04-12 14:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892111', 'tblTempVendorCDR_20' ) end
[2025-04-12 14:16:19] Production.INFO: ProcessCDR(1,14892111,1,1,2)
[2025-04-12 14:16:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892111,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:16:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892111,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:16:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892111,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:16:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892111,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892111', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892111', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:16:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 14:16:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 14:16:22] Production.INFO: ==2465== Releasing lock...
[2025-04-12 14:16:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 14:16:22] Production.INFO: 40.5 MB #Memory Used#
[2025-04-12 19:17:02] Production.INFO: ==2521== Lock acquired, processing the job...
[2025-04-12 19:17:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 19:17:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 19:17:02] Production.INFO: neon service started
[2025-04-12 19:17:02] Production.INFO: neon service started
[2025-04-12 19:17:02] Production.INFO: ==2521== Releasing lock...
[2025-04-12 19:17:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 19:17:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 14:17:03] Production.INFO: ==2523== Lock acquired, processing the job...
[2025-04-12 14:17:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 18:17:03] Production.INFO: ==2525== Lock acquired, processing the job...
[2025-04-12 18:17:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 18:17:03] Production.INFO: ==2525== Releasing lock...
[2025-04-12 18:17:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 18:17:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 14:17:03] Production.INFO: ==2523== Releasing lock...
[2025-04-12 14:17:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 14:17:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 14:17:04] Production.INFO: ==2532== Lock acquired, processing the job...
[2025-04-12 14:17:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 14:17:04] Production.INFO: ==2534== Lock acquired, processing the job...
[2025-04-12 14:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 14:17:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 14:17:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 14:17:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 14:17:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 14:17:04] Production.INFO: ==2528== Lock acquired, processing the job...
[2025-04-12 14:17:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 14:17:04] Production.INFO: ==2530== Lock acquired, processing the job...
[2025-04-12 14:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 14:17:04] Production.INFO: Account Balance Start.
[2025-04-12 14:17:04] Production.INFO: CreateAllLog Start
[2025-04-12 14:17:04] Production.INFO: 117
[2025-04-12 14:17:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 14:17:04] Production.INFO: Date 2025-04-08
[2025-04-12 14:17:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:17:04] Production.INFO: ==2536== Lock acquired, processing the job...
[2025-04-12 14:17:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 14:17:04] Production.INFO: Date 2025-04-09
[2025-04-12 14:17:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:17:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 14:17:04] Production.INFO: ==2538== Lock acquired, processing the job...
[2025-04-12 14:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 14:17:04] Production.INFO: Date 2025-04-10
[2025-04-12 14:17:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:17:04] Production.INFO: Date 2025-04-11
[2025-04-12 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-12 14:17:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:17:04] Production.INFO: count ==12
[2025-04-12 14:17:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 14:17:04] Production.INFO: count ==23
[2025-04-12 14:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892115') start
[2025-04-12 14:17:04] Production.INFO: Date 2025-04-12
[2025-04-12 14:17:04] Production.INFO: ==2530== Releasing lock...
[2025-04-12 14:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 14:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 14:17:04] Production.ERROR: done
[2025-04-12 14:17:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 14:17:05] Production.ERROR: PBX CALL prc_importPBXExtension('14892115') end
[2025-04-12 14:17:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 14:17:05] Production.INFO: 1
[2025-04-12 14:17:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 14:17:05] Production.ERROR: done
[2025-04-12 14:17:05] Production.INFO: Total Charge 0
[2025-04-12 14:17:05] Production.INFO: CreateAllLog End
[2025-04-12 14:17:05] Production.INFO: ==2538== Releasing lock...
[2025-04-12 14:17:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 14:17:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 14:17:05] Production.INFO: Account Balance End.
[2025-04-12 14:17:05] Production.ERROR: CronJobId end 12
[2025-04-12 14:17:05] Production.INFO: ==2534== Releasing lock...
[2025-04-12 14:17:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 14:17:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 14:17:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 11:17:06
[end_date_ymd] => 2025-04-12 14:17:06
[RateCDR] => 1
)
[2025-04-12 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-12 11:17:06' and `end` < '2025-04-12 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-12 14:17:13] Production.ERROR: CronJobId end10
[2025-04-12 14:17:13] Production.INFO: ==2532== Releasing lock...
[2025-04-12 14:17:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 14:17:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 14:17:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 14:17:16] Production.INFO: ============== Balance Warning START===========
[2025-04-12 14:17:16] Production.INFO: ============== Balance Warning END===========
[2025-04-12 14:17:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 14:17:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 14:17:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 14:17:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 14:17:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 14:17:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 14:17:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 14:17:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 14:17:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 14:17:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 14:17:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 14:17:16] Production.INFO: call_cost start
[2025-04-12 14:17:16] Production.INFO: call_cost end
[2025-04-12 14:17:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 14:17:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 14:17:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 14:17:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 14:17:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 14:17:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 14:17:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 14:17:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 14:17:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 14:17:17] Production.INFO: ==2528== Releasing lock...
[2025-04-12 14:17:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 14:17:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 14:17:19] Production.INFO: count ==1633
[2025-04-12 14:17:19] Production.ERROR: pbx CDR StartTime 2025-04-12 11:17:06 - End Time 2025-04-12 14:17:06
[2025-04-12 14:17:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 14:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892116', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892116', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892116', 'tblTempVendorCDR_20' ) start
[2025-04-12 14:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892116', 'tblTempVendorCDR_20' ) end
[2025-04-12 14:17:19] Production.INFO: ProcessCDR(1,14892116,1,1,2)
[2025-04-12 14:17:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892116,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:17:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892116,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:17:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892116,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:17:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892116,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:17:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892116', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:17:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892116', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:17:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 14:17:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 14:17:23] Production.INFO: ==2536== Releasing lock...
[2025-04-12 14:17:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 14:17:23] Production.INFO: 40.25 MB #Memory Used#
[2025-04-12 19:18:01] Production.INFO: ==2630== Lock acquired, processing the job...
[2025-04-12 19:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 19:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 19:18:01] Production.INFO: neon service started
[2025-04-12 19:18:01] Production.INFO: neon service started
[2025-04-12 19:18:01] Production.INFO: ==2630== Releasing lock...
[2025-04-12 19:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 19:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 14:18:02] Production.INFO: ==2632== Lock acquired, processing the job...
[2025-04-12 14:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 14:18:02] Production.INFO: ==2632== Releasing lock...
[2025-04-12 14:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 14:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 18:18:02] Production.INFO: ==2634== Lock acquired, processing the job...
[2025-04-12 18:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 18:18:02] Production.INFO: ==2634== Releasing lock...
[2025-04-12 18:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 18:18:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 14:18:03] Production.INFO: ==2636== Lock acquired, processing the job...
[2025-04-12 14:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 14:18:03] Production.INFO: ==2644== Lock acquired, processing the job...
[2025-04-12 14:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 14:18:03] Production.INFO: ==2646== Lock acquired, processing the job...
[2025-04-12 14:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 14:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 14:18:03] Production.INFO: ==2640== Lock acquired, processing the job...
[2025-04-12 14:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 14:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 14:18:03] Production.INFO: ==2638== Lock acquired, processing the job...
[2025-04-12 14:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 14:18:03] Production.INFO: ==2642== Lock acquired, processing the job...
[2025-04-12 14:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 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-12 14:18:03] Production.INFO: count ==12
[2025-04-12 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-12 14:18:03] Production.INFO: count ==23
[2025-04-12 14:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14892118') start
[2025-04-12 14:18:03] Production.ERROR: done
[2025-04-12 14:18:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 14:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 14:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 14:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 14:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14892118') end
[2025-04-12 14:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 14:18:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 14:18:03] Production.INFO: 1
[2025-04-12 14:18:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 14:18:03] Production.ERROR: done
[2025-04-12 14:18:03] Production.INFO: Account Balance Start.
[2025-04-12 14:18:03] Production.INFO: CreateAllLog Start
[2025-04-12 14:18:03] Production.INFO: 117
[2025-04-12 14:18:03] Production.INFO: Date 2025-04-08
[2025-04-12 14:18:03] Production.INFO: ==2646== Releasing lock...
[2025-04-12 14:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 14:18:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 14:18:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:18:03] Production.INFO: Date 2025-04-09
[2025-04-12 14:18:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:18:03] Production.INFO: Date 2025-04-10
[2025-04-12 14:18:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:18:04] Production.INFO: Date 2025-04-11
[2025-04-12 14:18:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:18:04] Production.INFO: Date 2025-04-12
[2025-04-12 14:18:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:18:04] Production.INFO: ==2638== Releasing lock...
[2025-04-12 14:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 14:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 14:18:04] Production.INFO: Total Charge 0
[2025-04-12 14:18:04] Production.INFO: CreateAllLog End
[2025-04-12 14:18:04] Production.INFO: Account Balance End.
[2025-04-12 14:18:04] Production.ERROR: CronJobId end 12
[2025-04-12 14:18:04] Production.INFO: ==2642== Releasing lock...
[2025-04-12 14:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 14:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 14:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 11:18:04
[end_date_ymd] => 2025-04-12 14:18:04
[RateCDR] => 1
)
[2025-04-12 14:18:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 11:18:04' and `end` < '2025-04-12 14: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-12 14:18:12] Production.ERROR: CronJobId end10
[2025-04-12 14:18:12] Production.INFO: ==2640== Releasing lock...
[2025-04-12 14:18:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 14:18:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 14:18:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 14:18:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 14:18:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 14:18:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 14:18:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 14:18:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 14:18:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 14:18:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 14:18:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 14:18:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 14:18:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 14:18:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 14:18:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 14:18:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 14:18:14] Production.INFO: call_cost start
[2025-04-12 14:18:14] Production.INFO: call_cost end
[2025-04-12 14:18:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 14:18:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 14:18:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 14:18:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 14:18:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 14:18:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 14:18:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 14:18:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 14:18:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 14:18:15] Production.INFO: ==2636== Releasing lock...
[2025-04-12 14:18:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 14:18:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 14:18:18] Production.INFO: count ==1627
[2025-04-12 14:18:18] Production.ERROR: pbx CDR StartTime 2025-04-12 11:18:04 - End Time 2025-04-12 14:18:04
[2025-04-12 14:18:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 14:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892121', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892121', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892121', 'tblTempVendorCDR_20' ) start
[2025-04-12 14:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892121', 'tblTempVendorCDR_20' ) end
[2025-04-12 14:18:18] Production.INFO: ProcessCDR(1,14892121,1,1,2)
[2025-04-12 14:18:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892121,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:18:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892121,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:18:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892121,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:18:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892121,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892121', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892121', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:18:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 14:18:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 14:18:21] Production.INFO: ==2644== Releasing lock...
[2025-04-12 14:18:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 14:18:21] Production.INFO: 40 MB #Memory Used#
[2025-04-12 19:19:02] Production.INFO: ==2705== Lock acquired, processing the job...
[2025-04-12 19:19:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 19:19:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 19:19:02] Production.INFO: neon service started
[2025-04-12 19:19:02] Production.INFO: neon service started
[2025-04-12 19:19:02] Production.INFO: ==2705== Releasing lock...
[2025-04-12 19:19:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 19:19:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 14:19:02] Production.INFO: ==2707== Lock acquired, processing the job...
[2025-04-12 14:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 14:19:02] Production.INFO: ==2707== Releasing lock...
[2025-04-12 14:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 14:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 18:19:02] Production.INFO: ==2709== Lock acquired, processing the job...
[2025-04-12 18:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 18:19:03] Production.INFO: ==2709== Releasing lock...
[2025-04-12 18:19:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 18:19:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 14:19:03] Production.INFO: ==2719== Lock acquired, processing the job...
[2025-04-12 14:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 14:19:03] Production.INFO: ==2713== Lock acquired, processing the job...
[2025-04-12 14:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 14:19:03] Production.INFO: Account Balance Start.
[2025-04-12 14:19:03] Production.INFO: CreateAllLog Start
[2025-04-12 14:19:03] Production.INFO: 117
[2025-04-12 14:19:03] Production.INFO: Date 2025-04-08
[2025-04-12 14:19:03] Production.INFO: ==2723== Lock acquired, processing the job...
[2025-04-12 14:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 14:19:03] Production.INFO: ==2715== Lock acquired, processing the job...
[2025-04-12 14:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 14:19:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:19:03] Production.INFO: ==2717== Lock acquired, processing the job...
[2025-04-12 14:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 14:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 14:19:04] Production.INFO: Date 2025-04-09
[2025-04-12 14:19:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:19:04] Production.INFO: Date 2025-04-10
[2025-04-12 14:19:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:19:04] Production.INFO: ==2721== Lock acquired, processing the job...
[2025-04-12 14:19:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 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-12 14:19:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 14:19:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 14:19:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 14:19:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 14:19:04] Production.INFO: count ==12
[2025-04-12 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-12 14:19:04] Production.INFO: count ==23
[2025-04-12 14:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892124') start
[2025-04-12 14:19:04] Production.INFO: Date 2025-04-11
[2025-04-12 14:19:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:19:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 14:19:04] Production.INFO: Date 2025-04-12
[2025-04-12 14:19:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:19:04] Production.INFO: Total Charge 0
[2025-04-12 14:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892124') end
[2025-04-12 14:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 14:19:04] Production.INFO: 1
[2025-04-12 14:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 14:19:04] Production.INFO: CreateAllLog End
[2025-04-12 14:19:04] Production.INFO: ==2723== Releasing lock...
[2025-04-12 14:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 14:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 14:19:04] Production.INFO: ==2715== Releasing lock...
[2025-04-12 14:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 14:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 14:19:04] Production.INFO: Account Balance End.
[2025-04-12 14:19:04] Production.ERROR: done
[2025-04-12 14:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 14:19:04] Production.ERROR: CronJobId end 12
[2025-04-12 14:19:04] Production.INFO: ==2719== Releasing lock...
[2025-04-12 14:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 14:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 14:19:04] Production.ERROR: done
[2025-04-12 14:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 11:19:05
[end_date_ymd] => 2025-04-12 14:19:05
[RateCDR] => 1
)
[2025-04-12 14:19:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 11:19:05' and `end` < '2025-04-12 14:19:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 14:19:12] Production.ERROR: CronJobId end10
[2025-04-12 14:19:12] Production.INFO: ==2717== Releasing lock...
[2025-04-12 14:19:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 14:19:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 14:19:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 14:19:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 14:19:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 14:19:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 14:19:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 14:19:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 14:19:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 14:19:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 14:19:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 14:19:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 14:19:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 14:19:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 14:19:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 14:19:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 14:19:15] Production.INFO: call_cost start
[2025-04-12 14:19:15] Production.INFO: call_cost end
[2025-04-12 14:19:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 14:19:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 14:19:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 14:19:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 14:19:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 14:19:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 14:19:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 14:19:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 14:19:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 14:19:15] Production.INFO: ==2713== Releasing lock...
[2025-04-12 14:19:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 14:19:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 14:19:18] Production.INFO: count ==1629
[2025-04-12 14:19:18] Production.ERROR: pbx CDR StartTime 2025-04-12 11:19:05 - End Time 2025-04-12 14:19:05
[2025-04-12 14:19:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 14:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892126', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892126', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892126', 'tblTempVendorCDR_20' ) start
[2025-04-12 14:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892126', 'tblTempVendorCDR_20' ) end
[2025-04-12 14:19:18] Production.INFO: ProcessCDR(1,14892126,1,1,2)
[2025-04-12 14:19:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892126,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:19:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892126,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:19:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892126,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:19:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892126,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:19:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892126', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:19:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892126', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:19:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 14:19:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 14:19:23] Production.INFO: ==2721== Releasing lock...
[2025-04-12 14:19:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 14:19:23] Production.INFO: 40 MB #Memory Used#
[2025-04-12 19:20:01] Production.INFO: ==2782== Lock acquired, processing the job...
[2025-04-12 19:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 19:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 19:20:01] Production.INFO: neon service started
[2025-04-12 19:20:01] Production.INFO: neon service started
[2025-04-12 19:20:01] Production.INFO: ==2782== Releasing lock...
[2025-04-12 19:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 19:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 18:20:01] Production.INFO: ==2786== Lock acquired, processing the job...
[2025-04-12 18:20:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 18:20:02] Production.INFO: ==2786== Releasing lock...
[2025-04-12 18:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 18:20:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 14:20:02] Production.INFO: ==2784== Lock acquired, processing the job...
[2025-04-12 14:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 14:20:02] Production.INFO: ==2784== Releasing lock...
[2025-04-12 14:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 14:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 14:20:03] Production.INFO: ==2788== Lock acquired, processing the job...
[2025-04-12 14:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 14:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 14:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 14:20:03] Production.INFO: ==2788== Releasing lock...
[2025-04-12 14:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 14:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 14:20:03] Production.INFO: ==2798== Lock acquired, processing the job...
[2025-04-12 14:20:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 14:20:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 14:20:03] Production.INFO: ==2803== Lock acquired, processing the job...
[2025-04-12 14:20:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 14:20:03] Production.INFO: ==2790== Lock acquired, processing the job...
[2025-04-12 14:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 14:20:03] Production.INFO: ==2792== Lock acquired, processing the job...
[2025-04-12 14:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 14:20:03] Production.INFO: ==2796== Lock acquired, processing the job...
[2025-04-12 14:20:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 14:20:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 14:20:04] Production.INFO: ==2794== Lock acquired, processing the job...
[2025-04-12 14:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 14:20:04] Production.INFO: count ==12
[2025-04-12 14:20:04] Production.INFO: ==2800== Lock acquired, processing the job...
[2025-04-12 14:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 14:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 14:20:04] Production.INFO: count ==23
[2025-04-12 14:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892127') start
[2025-04-12 14:20:04] Production.ERROR: done
[2025-04-12 14:20:04] Production.INFO: Account Balance Start.
[2025-04-12 14:20:04] Production.INFO: CreateAllLog Start
[2025-04-12 14:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 14:20:04] Production.INFO: 117
[2025-04-12 14:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 14:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 14:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 14:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 14:20:04] Production.INFO: Date 2025-04-08
[2025-04-12 14:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 14:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 14:20:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892127') end
[2025-04-12 14:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 14:20:04] Production.INFO: 1
[2025-04-12 14:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 14:20:04] Production.INFO: Date 2025-04-09
[2025-04-12 14:20:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:20:04] Production.INFO: Date 2025-04-10
[2025-04-12 14:20:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:20:04] Production.INFO: ==2803== Releasing lock...
[2025-04-12 14:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 14:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 14:20:04] Production.INFO: Date 2025-04-11
[2025-04-12 14:20:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:20:04] Production.INFO: Date 2025-04-12
[2025-04-12 14:20:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:20:04] Production.ERROR: done
[2025-04-12 14:20:04] Production.INFO: Total Charge 0
[2025-04-12 14:20:04] Production.INFO: CreateAllLog End
[2025-04-12 14:20:04] Production.INFO: ==2792== Releasing lock...
[2025-04-12 14:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 14:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 14:20:04] Production.ERROR: done
[2025-04-12 14:20:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 14:20:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14892132', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 14:20:05] Production.INFO: Account Balance End.
[2025-04-12 14:20:05] Production.ERROR: CronJobId end 12
[2025-04-12 14:20:05] Production.INFO: ==2796== Releasing lock...
[2025-04-12 14:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 14:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 14:20:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 11:20:05
[end_date_ymd] => 2025-04-12 14:20:05
[RateCDR] => 1
)
[2025-04-12 14: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-12 11:20:05' and `end` < '2025-04-12 14: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-12 14:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14892132', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 14:20:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 14:20:08] Production.INFO: ProcessCDR(1,14892132,1,1,2)
[2025-04-12 14:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14892132,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:20:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14892132,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:20:08] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 14:20:08] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 14:20:08] Production.INFO: ==2800== Releasing lock...
[2025-04-12 14:20:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 14:20:08] Production.INFO: 26 MB #Memory Used#
[2025-04-12 14:20:13] Production.ERROR: CronJobId end10
[2025-04-12 14:20:13] Production.INFO: ==2794== Releasing lock...
[2025-04-12 14:20:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 14:20:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 14:20:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 14:20:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 14:20:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 14:20:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 14:20:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 14:20:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 14:20:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 14:20:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 14:20:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 14:20:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 14:20:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 14:20:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 14:20:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 14:20:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 14:20:16] Production.INFO: call_cost start
[2025-04-12 14:20:16] Production.INFO: call_cost end
[2025-04-12 14:20:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 14:20:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 14:20:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 14:20:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 14:20:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 14:20:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 14:20:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 14:20:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 14:20:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 14:20:17] Production.INFO: ==2790== Releasing lock...
[2025-04-12 14:20:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 14:20:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 14:20:18] Production.INFO: count ==1625
[2025-04-12 14:20:19] Production.ERROR: pbx CDR StartTime 2025-04-12 11:20:05 - End Time 2025-04-12 14:20:05
[2025-04-12 14:20:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 14:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892131', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892131', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892131', 'tblTempVendorCDR_20' ) start
[2025-04-12 14:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892131', 'tblTempVendorCDR_20' ) end
[2025-04-12 14:20:19] Production.INFO: ProcessCDR(1,14892131,1,1,2)
[2025-04-12 14:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892131,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:20:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892131,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:20:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892131,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:20:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892131,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892131', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892131', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:20:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 14:20:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 14:20:22] Production.INFO: ==2798== Releasing lock...
[2025-04-12 14:20:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 14:20:22] Production.INFO: 40.25 MB #Memory Used#
[2025-04-12 19:21:02] Production.INFO: ==2860== Lock acquired, processing the job...
[2025-04-12 19:21:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 19:21:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 19:21:02] Production.INFO: neon service started
[2025-04-12 19:21:02] Production.INFO: neon service started
[2025-04-12 19:21:02] Production.INFO: ==2860== Releasing lock...
[2025-04-12 19:21:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 19:21:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 14:21:02] Production.INFO: ==2862== Lock acquired, processing the job...
[2025-04-12 14:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 14:21:02] Production.INFO: ==2862== Releasing lock...
[2025-04-12 14:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 14:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 18:21:02] Production.INFO: ==2864== Lock acquired, processing the job...
[2025-04-12 18:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 18:21:02] Production.INFO: ==2864== Releasing lock...
[2025-04-12 18:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 18:21:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 14:21:03] Production.INFO: ==2877== Lock acquired, processing the job...
[2025-04-12 14:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 14:21:03] Production.INFO: ==2870== Lock acquired, processing the job...
[2025-04-12 14:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 14:21:03] Production.INFO: ==2866== Lock acquired, processing the job...
[2025-04-12 14:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 14:21:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 14:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 14:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 14:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 14:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 14:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 14:21:03] Production.INFO: ==2868== Lock acquired, processing the job...
[2025-04-12 14:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 14:21:03] Production.INFO: count ==12
[2025-04-12 14:21:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 14:21:04] Production.INFO: count ==23
[2025-04-12 14:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892133') start
[2025-04-12 14:21:04] Production.INFO: ==2872== Lock acquired, processing the job...
[2025-04-12 14:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 14:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892133') end
[2025-04-12 14:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 14:21:04] Production.INFO: 1
[2025-04-12 14:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 14:21:04] Production.INFO: ==2874== Lock acquired, processing the job...
[2025-04-12 14:21:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 14:21:04] Production.INFO: ==2877== Releasing lock...
[2025-04-12 14:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 14:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 14:21:04] Production.INFO: Account Balance Start.
[2025-04-12 14:21:04] Production.INFO: CreateAllLog Start
[2025-04-12 14:21:04] Production.INFO: 117
[2025-04-12 14:21:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 14:21:04] Production.INFO: Date 2025-04-08
[2025-04-12 14:21:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:21:04] Production.INFO: Date 2025-04-09
[2025-04-12 14:21:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:21:04] Production.INFO: ==2868== Releasing lock...
[2025-04-12 14:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 14:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 14:21:04] Production.INFO: Date 2025-04-10
[2025-04-12 14:21:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:21:04] Production.INFO: Date 2025-04-11
[2025-04-12 14:21:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:21:04] Production.INFO: Date 2025-04-12
[2025-04-12 14:21:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:21:04] Production.INFO: Total Charge 0
[2025-04-12 14:21:04] Production.INFO: CreateAllLog End
[2025-04-12 14:21:04] Production.ERROR: done
[2025-04-12 14:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 14:21:04] Production.ERROR: done
[2025-04-12 14:21:04] Production.INFO: Account Balance End.
[2025-04-12 14:21:04] Production.ERROR: CronJobId end 12
[2025-04-12 14:21:04] Production.INFO: ==2872== Releasing lock...
[2025-04-12 14:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 14:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 14:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 11:21:05
[end_date_ymd] => 2025-04-12 14:21:05
[RateCDR] => 1
)
[2025-04-12 14:21:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 11:21:05' and `end` < '2025-04-12 14:21:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 14:21:12] Production.ERROR: CronJobId end10
[2025-04-12 14:21:12] Production.INFO: ==2870== Releasing lock...
[2025-04-12 14:21:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 14:21:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 14:21:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 14:21:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 14:21:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 14:21:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 14:21:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 14:21:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 14:21:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 14:21:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 14:21:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 14:21:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 14:21:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 14:21:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 14:21:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 14:21:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 14:21:14] Production.INFO: call_cost start
[2025-04-12 14:21:14] Production.INFO: call_cost end
[2025-04-12 14:21:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 14:21:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 14:21:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 14:21:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 14:21:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 14:21:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 14:21:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 14:21:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 14:21:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 14:21:15] Production.INFO: ==2866== Releasing lock...
[2025-04-12 14:21:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 14:21:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 14:21:18] Production.INFO: count ==1600
[2025-04-12 14:21:19] Production.ERROR: pbx CDR StartTime 2025-04-12 11:21:05 - End Time 2025-04-12 14:21:05
[2025-04-12 14:21:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 14:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892137', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892137', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892137', 'tblTempVendorCDR_20' ) start
[2025-04-12 14:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892137', 'tblTempVendorCDR_20' ) end
[2025-04-12 14:21:19] Production.INFO: ProcessCDR(1,14892137,1,1,2)
[2025-04-12 14:21:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892137,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:21:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892137,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:21:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892137,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:21:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892137,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:21:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892137', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:21:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892137', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:21:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 14:21:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 14:21:24] Production.INFO: ==2874== Releasing lock...
[2025-04-12 14:21:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 14:21:24] Production.INFO: 40 MB #Memory Used#
[2025-04-12 19:22:01] Production.INFO: ==2932== Lock acquired, processing the job...
[2025-04-12 19:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 19:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 19:22:01] Production.INFO: neon service started
[2025-04-12 19:22:01] Production.INFO: neon service started
[2025-04-12 19:22:01] Production.INFO: ==2932== Releasing lock...
[2025-04-12 19:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 19:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 14:22:02] Production.INFO: ==2935== Lock acquired, processing the job...
[2025-04-12 18:22:02] Production.INFO: ==2937== Lock acquired, processing the job...
[2025-04-12 14:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 18:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 18:22:02] Production.INFO: ==2937== Releasing lock...
[2025-04-12 18:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 18:22:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 14:22:02] Production.INFO: ==2935== Releasing lock...
[2025-04-12 14:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 14:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 14:22:03] Production.INFO: ==2939== Lock acquired, processing the job...
[2025-04-12 14:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 14:22:03] Production.INFO: ==2947== Lock acquired, processing the job...
[2025-04-12 14:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 14:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 14:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 14:22:03] Production.INFO: ==2941== Lock acquired, processing the job...
[2025-04-12 14:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 14:22:03] Production.INFO: ==2943== Lock acquired, processing the job...
[2025-04-12 14:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 14:22:03] Production.INFO: ==2945== Lock acquired, processing the job...
[2025-04-12 14:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 14:22:03] Production.INFO: ==2949== Lock acquired, processing the job...
[2025-04-12 14:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 14:22:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 14:22:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 14:22:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 14:22:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 14:22:04] Production.INFO: Account Balance Start.
[2025-04-12 14:22:04] Production.INFO: CreateAllLog Start
[2025-04-12 14:22:04] Production.INFO: 117
[2025-04-12 14:22:04] Production.INFO: Date 2025-04-08
[2025-04-12 14:22:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:22:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 14:22:04] Production.INFO: count ==12
[2025-04-12 14:22:04] Production.INFO: Date 2025-04-09
[2025-04-12 14:22:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 14:22:04] Production.INFO: count ==23
[2025-04-12 14:22:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892140') start
[2025-04-12 14:22:04] Production.ERROR: done
[2025-04-12 14:22:04] Production.INFO: Date 2025-04-10
[2025-04-12 14:22:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 14:22:04] Production.INFO: Date 2025-04-11
[2025-04-12 14:22:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:22:04] Production.INFO: Date 2025-04-12
[2025-04-12 14:22:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892140') end
[2025-04-12 14:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 14:22:04] Production.INFO: 1
[2025-04-12 14:22:04] Production.INFO: Total Charge 0
[2025-04-12 14:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 14:22:04] Production.INFO: CreateAllLog End
[2025-04-12 14:22:04] Production.INFO: ==2949== Releasing lock...
[2025-04-12 14:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 14:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 14:22:04] Production.INFO: ==2941== Releasing lock...
[2025-04-12 14:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 14:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 14:22:04] Production.ERROR: done
[2025-04-12 14:22:04] Production.INFO: Account Balance End.
[2025-04-12 14:22:04] Production.ERROR: CronJobId end 12
[2025-04-12 14:22:04] Production.INFO: ==2945== Releasing lock...
[2025-04-12 14:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 14:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 14:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 11:22:05
[end_date_ymd] => 2025-04-12 14:22:05
[RateCDR] => 1
)
[2025-04-12 14:22:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 11:22:05' and `end` < '2025-04-12 14:22:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 14:22:12] Production.ERROR: CronJobId end10
[2025-04-12 14:22:12] Production.INFO: ==2943== Releasing lock...
[2025-04-12 14:22:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 14:22:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 14:22:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 14:22:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 14:22:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 14:22:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 14:22:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 14:22:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 14:22:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 14:22:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 14:22:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 14:22:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 14:22:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 14:22:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 14:22:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 14:22:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 14:22:14] Production.INFO: call_cost start
[2025-04-12 14:22:14] Production.INFO: call_cost end
[2025-04-12 14:22:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 14:22:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 14:22:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 14:22:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 14:22:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 14:22:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 14:22:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 14:22:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 14:22:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 14:22:15] Production.INFO: ==2939== Releasing lock...
[2025-04-12 14:22:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 14:22:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 14:22:18] Production.INFO: count ==1594
[2025-04-12 14:22:18] Production.ERROR: pbx CDR StartTime 2025-04-12 11:22:05 - End Time 2025-04-12 14:22:05
[2025-04-12 14:22:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 14:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892142', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892142', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892142', 'tblTempVendorCDR_20' ) start
[2025-04-12 14:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892142', 'tblTempVendorCDR_20' ) end
[2025-04-12 14:22:18] Production.INFO: ProcessCDR(1,14892142,1,1,2)
[2025-04-12 14:22:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892142,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:22:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892142,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:22:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892142,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:22:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892142,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892142', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892142', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:22:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 14:22:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 14:22:22] Production.INFO: ==2947== Releasing lock...
[2025-04-12 14:22:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 14:22:22] Production.INFO: 40.25 MB #Memory Used#
[2025-04-12 19:23:01] Production.INFO: ==3002== Lock acquired, processing the job...
[2025-04-12 19:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 19:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 19:23:02] Production.INFO: neon service started
[2025-04-12 19:23:02] Production.INFO: neon service started
[2025-04-12 19:23:02] Production.INFO: ==3002== Releasing lock...
[2025-04-12 19:23:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 19:23:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 18:23:02] Production.INFO: ==3006== Lock acquired, processing the job...
[2025-04-12 18:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 18:23:02] Production.INFO: ==3006== Releasing lock...
[2025-04-12 18:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 18:23:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 14:23:02] Production.INFO: ==3004== Lock acquired, processing the job...
[2025-04-12 14:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 14:23:02] Production.INFO: ==3004== Releasing lock...
[2025-04-12 14:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 14:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 14:23:03] Production.INFO: ==3013== Lock acquired, processing the job...
[2025-04-12 14:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 14:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 14:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 14:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 14:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 14:23:03] Production.INFO: ==3009== Lock acquired, processing the job...
[2025-04-12 14:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 14:23:03] Production.INFO: ==3019== Lock acquired, processing the job...
[2025-04-12 14:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 14:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 14:23:03] Production.INFO: ==3011== Lock acquired, processing the job...
[2025-04-12 14:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 14:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 14:23:03] Production.INFO: count ==12
[2025-04-12 14:23:04] Production.INFO: ==3017== Lock acquired, processing the job...
[2025-04-12 14:23:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 14:23:04] Production.INFO: ==3015== Lock acquired, processing the job...
[2025-04-12 14:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 14:23:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 14:23:04] Production.INFO: count ==23
[2025-04-12 14:23:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 14:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892144') start
[2025-04-12 14:23:04] Production.INFO: Account Balance Start.
[2025-04-12 14:23:04] Production.INFO: CreateAllLog Start
[2025-04-12 14:23:04] Production.INFO: 117
[2025-04-12 14:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892144') end
[2025-04-12 14:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 14:23:04] Production.INFO: 1
[2025-04-12 14:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 14:23:04] Production.INFO: Date 2025-04-08
[2025-04-12 14:23:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:23:04] Production.INFO: Date 2025-04-09
[2025-04-12 14:23:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:23:04] Production.INFO: ==3019== Releasing lock...
[2025-04-12 14:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 14:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 14:23:04] Production.ERROR: done
[2025-04-12 14:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 14:23:04] Production.INFO: Date 2025-04-10
[2025-04-12 14:23:04] Production.INFO: ==3011== Releasing lock...
[2025-04-12 14:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 14:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 14:23:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:23:04] Production.INFO: Date 2025-04-11
[2025-04-12 14:23:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:23:04] Production.INFO: Date 2025-04-12
[2025-04-12 14:23:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:23:04] Production.INFO: Total Charge 0
[2025-04-12 14:23:04] Production.ERROR: done
[2025-04-12 14:23:04] Production.INFO: CreateAllLog End
[2025-04-12 14:23:04] Production.INFO: Account Balance End.
[2025-04-12 14:23:04] Production.ERROR: CronJobId end 12
[2025-04-12 14:23:04] Production.INFO: ==3015== Releasing lock...
[2025-04-12 14:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 14:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 14:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 11:23:05
[end_date_ymd] => 2025-04-12 14:23:05
[RateCDR] => 1
)
[2025-04-12 14:23:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 11:23:05' and `end` < '2025-04-12 14:23:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 14:23:12] Production.ERROR: CronJobId end10
[2025-04-12 14:23:12] Production.INFO: ==3013== Releasing lock...
[2025-04-12 14:23:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 14:23:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 14:23:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 14:23:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 14:23:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 14:23:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 14:23:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 14:23:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 14:23:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 14:23:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 14:23:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 14:23:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 14:23:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 14:23:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 14:23:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 14:23:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 14:23:15] Production.INFO: call_cost start
[2025-04-12 14:23:15] Production.INFO: call_cost end
[2025-04-12 14:23:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 14:23:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 14:23:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 14:23:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 14:23:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 14:23:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 14:23:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 14:23:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 14:23:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 14:23:16] Production.INFO: ==3009== Releasing lock...
[2025-04-12 14:23:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 14:23:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 14:23:18] Production.INFO: count ==1593
[2025-04-12 14:23:19] Production.ERROR: pbx CDR StartTime 2025-04-12 11:23:05 - End Time 2025-04-12 14:23:05
[2025-04-12 14:23:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 14:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892147', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892147', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892147', 'tblTempVendorCDR_20' ) start
[2025-04-12 14:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892147', 'tblTempVendorCDR_20' ) end
[2025-04-12 14:23:19] Production.INFO: ProcessCDR(1,14892147,1,1,2)
[2025-04-12 14:23:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892147,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:23:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892147,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:23:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892147,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:23:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892147,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:23:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892147', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:23:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892147', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:23:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 14:23:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 14:23:24] Production.INFO: ==3017== Releasing lock...
[2025-04-12 14:23:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 14:23:24] Production.INFO: 39.75 MB #Memory Used#
[2025-04-12 19:24:01] Production.INFO: ==3074== Lock acquired, processing the job...
[2025-04-12 19:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 19:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 19:24:01] Production.INFO: neon service started
[2025-04-12 19:24:01] Production.INFO: neon service started
[2025-04-12 19:24:01] Production.INFO: ==3074== Releasing lock...
[2025-04-12 19:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 19:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 14:24:01] Production.INFO: ==3076== Lock acquired, processing the job...
[2025-04-12 14:24:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 14:24:02] Production.INFO: ==3076== Releasing lock...
[2025-04-12 14:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 14:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 18:24:02] Production.INFO: ==3078== Lock acquired, processing the job...
[2025-04-12 18:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 18:24:02] Production.INFO: ==3078== Releasing lock...
[2025-04-12 18:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 18:24:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 14:24:03] Production.INFO: ==3087== Lock acquired, processing the job...
[2025-04-12 14:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 14:24:03] Production.INFO: Account Balance Start.
[2025-04-12 14:24:03] Production.INFO: CreateAllLog Start
[2025-04-12 14:24:03] Production.INFO: 117
[2025-04-12 14:24:03] Production.INFO: Date 2025-04-08
[2025-04-12 14:24:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:24:03] Production.INFO: ==3091== Lock acquired, processing the job...
[2025-04-12 14:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 14:24:03] Production.INFO: Date 2025-04-09
[2025-04-12 14:24:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:24:03] Production.INFO: Date 2025-04-10
[2025-04-12 14:24:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:24:03] Production.INFO: ==3081== Lock acquired, processing the job...
[2025-04-12 14:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 14:24:03] Production.INFO: Date 2025-04-11
[2025-04-12 14:24:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:24:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 14:24:03] Production.INFO: count ==12
[2025-04-12 14:24:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 14:24:03] Production.INFO: count ==23
[2025-04-12 14:24:03] Production.INFO: Date 2025-04-12
[2025-04-12 14:24:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14892149') start
[2025-04-12 14:24:03] Production.INFO: ==3085== Lock acquired, processing the job...
[2025-04-12 14:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 14:24:03] Production.INFO: ==3089== Lock acquired, processing the job...
[2025-04-12 14:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 14:24:03] Production.INFO: ==3083== Lock acquired, processing the job...
[2025-04-12 14:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 14:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 14:24:03] Production.INFO: Total Charge 0
[2025-04-12 14:24:03] Production.INFO: CreateAllLog End
[2025-04-12 14:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14892149') end
[2025-04-12 14:24:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 14:24:03] Production.INFO: 1
[2025-04-12 14:24:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 14:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 14:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 14:24:03] Production.INFO: ==3091== Releasing lock...
[2025-04-12 14:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 14:24:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 14:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 14:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 14:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 14:24:03] Production.INFO: ==3083== Releasing lock...
[2025-04-12 14:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 14:24:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 14:24:03] Production.INFO: Account Balance End.
[2025-04-12 14:24:03] Production.ERROR: CronJobId end 12
[2025-04-12 14:24:03] Production.INFO: ==3087== Releasing lock...
[2025-04-12 14:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 14:24:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 14:24:04] Production.ERROR: done
[2025-04-12 14:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 14:24:04] Production.ERROR: done
[2025-04-12 14:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 11:24:05
[end_date_ymd] => 2025-04-12 14:24:05
[RateCDR] => 1
)
[2025-04-12 14:24:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 11:24:05' and `end` < '2025-04-12 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-12 14:24:12] Production.ERROR: CronJobId end10
[2025-04-12 14:24:12] Production.INFO: ==3085== Releasing lock...
[2025-04-12 14:24:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 14:24:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 14:24:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 14:24:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 14:24:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 14:24:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 14:24:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 14:24:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 14:24:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 14:24:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 14:24:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 14:24:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 14:24:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 14:24:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 14:24:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 14:24:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 14:24:14] Production.INFO: call_cost start
[2025-04-12 14:24:14] Production.INFO: call_cost end
[2025-04-12 14:24:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 14:24:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 14:24:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 14:24:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 14:24:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 14:24:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 14:24:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 14:24:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 14:24:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 14:24:15] Production.INFO: ==3081== Releasing lock...
[2025-04-12 14:24:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 14:24:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 14:24:18] Production.INFO: count ==1589
[2025-04-12 14:24:18] Production.ERROR: pbx CDR StartTime 2025-04-12 11:24:05 - End Time 2025-04-12 14:24:05
[2025-04-12 14:24:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 14:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892152', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892152', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892152', 'tblTempVendorCDR_20' ) start
[2025-04-12 14:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892152', 'tblTempVendorCDR_20' ) end
[2025-04-12 14:24:18] Production.INFO: ProcessCDR(1,14892152,1,1,2)
[2025-04-12 14:24:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892152,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:24:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892152,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:24:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892152,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:24:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892152,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:24:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892152', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:24:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892152', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:24:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 14:24:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 14:24:23] Production.INFO: ==3089== Releasing lock...
[2025-04-12 14:24:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 14:24:23] Production.INFO: 39.75 MB #Memory Used#
[2025-04-12 19:25:01] Production.INFO: ==3157== Lock acquired, processing the job...
[2025-04-12 19:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 19:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 19:25:01] Production.INFO: neon service started
[2025-04-12 19:25:01] Production.INFO: neon service started
[2025-04-12 19:25:01] Production.INFO: ==3157== Releasing lock...
[2025-04-12 19:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 19:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 14:25:02] Production.INFO: ==3159== Lock acquired, processing the job...
[2025-04-12 14:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 14:25:02] Production.INFO: ==3159== Releasing lock...
[2025-04-12 14:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 14:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 18:25:02] Production.INFO: ==3161== Lock acquired, processing the job...
[2025-04-12 18:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 18:25:02] Production.INFO: ==3161== Releasing lock...
[2025-04-12 18:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 18:25:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 14:25:03] Production.INFO: ==3166== Lock acquired, processing the job...
[2025-04-12 14:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 14:25:03] Production.INFO: ==3164== Lock acquired, processing the job...
[2025-04-12 14:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 14:25:03] Production.INFO: ==3172== Lock acquired, processing the job...
[2025-04-12 14:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 14:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 14:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 14:25:03] Production.INFO: ==3168== Lock acquired, processing the job...
[2025-04-12 14:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 14:25:03] Production.INFO: ==3170== Lock acquired, processing the job...
[2025-04-12 14:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 14:25:03] Production.INFO: ==3174== Lock acquired, processing the job...
[2025-04-12 14:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 14:25:03] Production.INFO: Account Balance Start.
[2025-04-12 14:25:03] Production.INFO: CreateAllLog Start
[2025-04-12 14:25:03] Production.INFO: 117
[2025-04-12 14:25:03] Production.INFO: ==3166== Releasing lock...
[2025-04-12 14:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 14:25:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 14:25:03] Production.INFO: Date 2025-04-08
[2025-04-12 14:25:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:25:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 14:25:03] Production.INFO: count ==12
[2025-04-12 14:25:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 14:25:03] Production.INFO: Date 2025-04-09
[2025-04-12 14:25:03] Production.INFO: count ==23
[2025-04-12 14:25:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14892156') start
[2025-04-12 14:25:03] Production.INFO: Date 2025-04-10
[2025-04-12 14:25:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:25:03] Production.INFO: Date 2025-04-11
[2025-04-12 14:25:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 14:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 14:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 14:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 14:25:04] Production.INFO: Date 2025-04-12
[2025-04-12 14:25:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:25:04] Production.ERROR: done
[2025-04-12 14:25:04] Production.INFO: Total Charge 0
[2025-04-12 14:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 14:25:04] Production.INFO: CreateAllLog End
[2025-04-12 14:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892156') end
[2025-04-12 14:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 14:25:04] Production.INFO: 1
[2025-04-12 14:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 14:25:04] Production.INFO: ==3174== Releasing lock...
[2025-04-12 14:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 14:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 14:25:04] Production.ERROR: done
[2025-04-12 14:25:04] Production.INFO: Account Balance End.
[2025-04-12 14:25:04] Production.ERROR: CronJobId end 12
[2025-04-12 14:25:04] Production.INFO: ==3170== Releasing lock...
[2025-04-12 14:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 14:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 14:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 11:25:05
[end_date_ymd] => 2025-04-12 14:25:05
[RateCDR] => 1
)
[2025-04-12 14:25:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 11:25:05' and `end` < '2025-04-12 14:25:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 14:25:11] Production.ERROR: CronJobId end10
[2025-04-12 14:25:11] Production.INFO: ==3168== Releasing lock...
[2025-04-12 14:25:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 14:25:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 14:25:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 14:25:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 14:25:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 14:25:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 14:25:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 14:25:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 14:25:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 14:25:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 14:25:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 14:25:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 14:25:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 14:25:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 14:25:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 14:25:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 14:25:14] Production.INFO: call_cost start
[2025-04-12 14:25:14] Production.INFO: call_cost end
[2025-04-12 14:25:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 14:25:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 14:25:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 14:25:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 14:25:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 14:25:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 14:25:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 14:25:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 14:25:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 14:25:15] Production.INFO: ==3164== Releasing lock...
[2025-04-12 14:25:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 14:25:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 14:25:18] Production.INFO: count ==1578
[2025-04-12 14:25:18] Production.ERROR: pbx CDR StartTime 2025-04-12 11:25:05 - End Time 2025-04-12 14:25:05
[2025-04-12 14:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 14:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892157', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892157', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892157', 'tblTempVendorCDR_20' ) start
[2025-04-12 14:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892157', 'tblTempVendorCDR_20' ) end
[2025-04-12 14:25:18] Production.INFO: ProcessCDR(1,14892157,1,1,2)
[2025-04-12 14:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892157,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:25:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892157,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:25:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892157,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:25:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892157,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:25:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892157', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:25:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892157', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:25:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 14:25:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 14:25:23] Production.INFO: ==3172== Releasing lock...
[2025-04-12 14:25:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 14:25:23] Production.INFO: 40.25 MB #Memory Used#
[2025-04-12 19:26:02] Production.INFO: ==3231== Lock acquired, processing the job...
[2025-04-12 19:26:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 19:26:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 19:26:02] Production.INFO: neon service started
[2025-04-12 19:26:02] Production.INFO: neon service started
[2025-04-12 19:26:02] Production.INFO: ==3231== Releasing lock...
[2025-04-12 19:26:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 19:26:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 18:26:02] Production.INFO: ==3236== Lock acquired, processing the job...
[2025-04-12 18:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 18:26:02] Production.INFO: ==3236== Releasing lock...
[2025-04-12 18:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 18:26:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 14:26:02] Production.INFO: ==3234== Lock acquired, processing the job...
[2025-04-12 14:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 14:26:03] Production.INFO: ==3234== Releasing lock...
[2025-04-12 14:26:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 14:26:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 14:26:04] Production.INFO: ==3244== Lock acquired, processing the job...
[2025-04-12 14:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 14:26:04] Production.INFO: ==3246== Lock acquired, processing the job...
[2025-04-12 14:26:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 14:26:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 14:26:04] Production.INFO: Account Balance Start.
[2025-04-12 14:26:04] Production.INFO: CreateAllLog Start
[2025-04-12 14:26:04] Production.INFO: 117
[2025-04-12 14:26:04] Production.INFO: ==3238== Lock acquired, processing the job...
[2025-04-12 14:26:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 14:26:04] Production.INFO: Date 2025-04-08
[2025-04-12 14:26:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:26:04] Production.INFO: Date 2025-04-09
[2025-04-12 14:26:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:26:04] Production.INFO: Date 2025-04-10
[2025-04-12 14:26:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:26:04] Production.INFO: Date 2025-04-11
[2025-04-12 14:26:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:26:04] Production.INFO: ==3240== Lock acquired, processing the job...
[2025-04-12 14:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 14:26:04] Production.INFO: Date 2025-04-12
[2025-04-12 14:26:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:26:04] Production.INFO: ==3242== Lock acquired, processing the job...
[2025-04-12 14:26:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 14:26:04] Production.INFO: Total Charge 0
[2025-04-12 14:26:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 14:26:04] Production.INFO: CreateAllLog End
[2025-04-12 14:26:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 14:26:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 14:26:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 14:26:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 14:26:04] Production.INFO: ==3248== Lock acquired, processing the job...
[2025-04-12 14:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 14:26:04] Production.ERROR: done
[2025-04-12 14:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 14:26:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 14:26:04] Production.INFO: count ==12
[2025-04-12 14:26:05] Production.ERROR: done
[2025-04-12 14:26:05] Production.INFO: ==3240== Releasing lock...
[2025-04-12 14:26:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 14:26:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 14:26: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-12 14:26:05] Production.INFO: Account Balance End.
[2025-04-12 14:26:05] Production.INFO: count ==23
[2025-04-12 14:26:05] Production.ERROR: PBX CALL prc_importPBXExtension('14892161') start
[2025-04-12 14:26:05] Production.ERROR: CronJobId end 12
[2025-04-12 14:26:05] Production.INFO: ==3244== Releasing lock...
[2025-04-12 14:26:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 14:26:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 14:26:05] Production.ERROR: PBX CALL prc_importPBXExtension('14892161') end
[2025-04-12 14:26:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 14:26:05] Production.INFO: 1
[2025-04-12 14:26:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 14:26:05] Production.INFO: ==3248== Releasing lock...
[2025-04-12 14:26:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 14:26:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 14:26:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 11:26:06
[end_date_ymd] => 2025-04-12 14:26:06
[RateCDR] => 1
)
[2025-04-12 14:26:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 11:26:06' and `end` < '2025-04-12 14:26:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 14:26:12] Production.ERROR: CronJobId end10
[2025-04-12 14:26:12] Production.INFO: ==3242== Releasing lock...
[2025-04-12 14:26:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 14:26:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 14:26:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 14:26:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 14:26:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 14:26:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 14:26:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 14:26:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 14:26:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 14:26:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 14:26:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 14:26:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 14:26:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 14:26:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 14:26:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 14:26:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 14:26:15] Production.INFO: call_cost start
[2025-04-12 14:26:15] Production.INFO: call_cost end
[2025-04-12 14:26:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 14:26:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 14:26:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 14:26:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 14:26:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 14:26:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 14:26:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 14:26:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 14:26:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 14:26:16] Production.INFO: ==3238== Releasing lock...
[2025-04-12 14:26:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 14:26:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 14:26:19] Production.INFO: count ==1580
[2025-04-12 14:26:19] Production.ERROR: pbx CDR StartTime 2025-04-12 11:26:06 - End Time 2025-04-12 14:26:06
[2025-04-12 14:26:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 14:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892162', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892162', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892162', 'tblTempVendorCDR_20' ) start
[2025-04-12 14:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892162', 'tblTempVendorCDR_20' ) end
[2025-04-12 14:26:19] Production.INFO: ProcessCDR(1,14892162,1,1,2)
[2025-04-12 14:26:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892162,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:26:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892162,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:26:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892162,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:26:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892162,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:26:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892162', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:26:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892162', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:26:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 14:26:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 14:26:24] Production.INFO: ==3246== Releasing lock...
[2025-04-12 14:26:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 14:26:24] Production.INFO: 40.25 MB #Memory Used#
[2025-04-12 19:27:01] Production.INFO: ==3305== Lock acquired, processing the job...
[2025-04-12 19:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 19:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 19:27:01] Production.INFO: neon service started
[2025-04-12 19:27:01] Production.INFO: neon service started
[2025-04-12 19:27:01] Production.INFO: ==3305== Releasing lock...
[2025-04-12 19:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 19:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 18:27:02] Production.INFO: ==3309== Lock acquired, processing the job...
[2025-04-12 18:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 18:27:02] Production.INFO: ==3309== Releasing lock...
[2025-04-12 18:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 18:27:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 14:27:02] Production.INFO: ==3307== Lock acquired, processing the job...
[2025-04-12 14:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 14:27:02] Production.INFO: ==3307== Releasing lock...
[2025-04-12 14:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 14:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 14:27:03] Production.INFO: ==3315== Lock acquired, processing the job...
[2025-04-12 14:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 14:27:03] Production.INFO: ==3321== Lock acquired, processing the job...
[2025-04-12 14:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 14:27:03] Production.INFO: ==3311== Lock acquired, processing the job...
[2025-04-12 14:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 14:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 14:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 14:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 14:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 14:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 14: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-12 14:27:03] Production.INFO: ==3313== Lock acquired, processing the job...
[2025-04-12 14:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 14:27:03] Production.INFO: count ==12
[2025-04-12 14:27:03] Production.INFO: ==3319== Lock acquired, processing the job...
[2025-04-12 14:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 14: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-12 14:27:03] Production.INFO: count ==23
[2025-04-12 14:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14892163') start
[2025-04-12 14:27:03] Production.INFO: ==3317== Lock acquired, processing the job...
[2025-04-12 14:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 14:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 14:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892163') end
[2025-04-12 14:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 14:27:04] Production.INFO: 1
[2025-04-12 14:27:04] Production.INFO: Account Balance Start.
[2025-04-12 14:27:04] Production.INFO: CreateAllLog Start
[2025-04-12 14:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 14:27:04] Production.INFO: 117
[2025-04-12 14:27:04] Production.INFO: Date 2025-04-08
[2025-04-12 14:27:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:27:04] Production.INFO: ==3321== Releasing lock...
[2025-04-12 14:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 14:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 14:27:04] Production.ERROR: done
[2025-04-12 14:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 14:27:04] Production.INFO: Date 2025-04-09
[2025-04-12 14:27:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:27:04] Production.INFO: ==3313== Releasing lock...
[2025-04-12 14:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 14:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 14:27:04] Production.ERROR: done
[2025-04-12 14:27:04] Production.INFO: Date 2025-04-10
[2025-04-12 14:27:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:27:04] Production.INFO: Date 2025-04-11
[2025-04-12 14:27:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:27:04] Production.INFO: Date 2025-04-12
[2025-04-12 14:27:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:27:04] Production.INFO: Total Charge 0
[2025-04-12 14:27:04] Production.INFO: CreateAllLog End
[2025-04-12 14:27:04] Production.INFO: Account Balance End.
[2025-04-12 14:27:04] Production.ERROR: CronJobId end 12
[2025-04-12 14:27:04] Production.INFO: ==3317== Releasing lock...
[2025-04-12 14:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 14:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 14:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 11:27:05
[end_date_ymd] => 2025-04-12 14:27:05
[RateCDR] => 1
)
[2025-04-12 14:27:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 11:27:05' and `end` < '2025-04-12 14:27:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 14:27:12] Production.ERROR: CronJobId end10
[2025-04-12 14:27:12] Production.INFO: ==3315== Releasing lock...
[2025-04-12 14:27:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 14:27:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 14:27:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 14:27:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 14:27:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 14:27:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 14:27:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 14:27:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 14:27:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 14:27:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 14:27:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 14:27:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 14:27:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 14:27:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 14:27:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 14:27:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 14:27:15] Production.INFO: call_cost start
[2025-04-12 14:27:15] Production.INFO: call_cost end
[2025-04-12 14:27:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 14:27:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 14:27:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 14:27:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 14:27:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 14:27:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 14:27:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 14:27:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 14:27:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 14:27:16] Production.INFO: ==3311== Releasing lock...
[2025-04-12 14:27:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 14:27:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 14:27:18] Production.INFO: count ==1583
[2025-04-12 14:27:19] Production.ERROR: pbx CDR StartTime 2025-04-12 11:27:05 - End Time 2025-04-12 14:27:05
[2025-04-12 14:27:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 14:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892167', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892167', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892167', 'tblTempVendorCDR_20' ) start
[2025-04-12 14:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892167', 'tblTempVendorCDR_20' ) end
[2025-04-12 14:27:19] Production.INFO: ProcessCDR(1,14892167,1,1,2)
[2025-04-12 14:27:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892167,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:27:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892167,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:27:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892167,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:27:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892167,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:27:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892167', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:27:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892167', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:27:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 14:27:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 14:27:24] Production.INFO: ==3319== Releasing lock...
[2025-04-12 14:27:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 14:27:24] Production.INFO: 39.75 MB #Memory Used#
[2025-04-12 19:28:02] Production.INFO: ==3377== Lock acquired, processing the job...
[2025-04-12 19:28:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 19:28:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 19:28:02] Production.INFO: neon service started
[2025-04-12 19:28:02] Production.INFO: neon service started
[2025-04-12 19:28:02] Production.INFO: ==3377== Releasing lock...
[2025-04-12 19:28:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 19:28:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 14:28:02] Production.INFO: ==3379== Lock acquired, processing the job...
[2025-04-12 14:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 14:28:03] Production.INFO: ==3379== Releasing lock...
[2025-04-12 14:28:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 14:28:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 18:28:03] Production.INFO: ==3381== Lock acquired, processing the job...
[2025-04-12 18:28:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 18:28:03] Production.INFO: ==3381== Releasing lock...
[2025-04-12 18:28:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 18:28:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 14:28:03] Production.INFO: ==3384== Lock acquired, processing the job...
[2025-04-12 14:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 14:28:03] Production.INFO: ==3388== Lock acquired, processing the job...
[2025-04-12 14:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 14:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 14:28:03] Production.INFO: ==3392== Lock acquired, processing the job...
[2025-04-12 14:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 14:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 14:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 14:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 14:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 14:28:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 14:28:04] Production.INFO: ==3386== Lock acquired, processing the job...
[2025-04-12 14:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 14:28:04] Production.INFO: ==3390== Lock acquired, processing the job...
[2025-04-12 14:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 14:28:04] Production.INFO: ==3394== Lock acquired, processing the job...
[2025-04-12 14:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 14:28:04] Production.INFO: Account Balance Start.
[2025-04-12 14:28:04] Production.INFO: CreateAllLog Start
[2025-04-12 14:28:04] Production.INFO: 117
[2025-04-12 14:28:04] Production.INFO: Date 2025-04-08
[2025-04-12 14:28:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:28:04] Production.INFO: Date 2025-04-09
[2025-04-12 14:28:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:28:04] Production.INFO: Date 2025-04-10
[2025-04-12 14:28:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:28:04] Production.INFO: Date 2025-04-11
[2025-04-12 14:28:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:28:04] Production.INFO: Date 2025-04-12
[2025-04-12 14:28:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:28:04] Production.ERROR: done
[2025-04-12 14:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 14:28:04] Production.INFO: ==3386== Releasing lock...
[2025-04-12 14:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 14:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 14:28:04] Production.INFO: Total Charge 0
[2025-04-12 14:28:04] Production.INFO: CreateAllLog End
[2025-04-12 14:28:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 14:28:04] Production.INFO: count ==12
[2025-04-12 14:28:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 14:28:04] Production.INFO: count ==23
[2025-04-12 14:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892171') start
[2025-04-12 14:28:04] Production.ERROR: done
[2025-04-12 14:28:05] Production.ERROR: PBX CALL prc_importPBXExtension('14892171') end
[2025-04-12 14:28:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 14:28:05] Production.INFO: 1
[2025-04-12 14:28:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 14:28:05] Production.INFO: ==3394== Releasing lock...
[2025-04-12 14:28:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 14:28:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 14:28:05] Production.INFO: Account Balance End.
[2025-04-12 14:28:05] Production.ERROR: CronJobId end 12
[2025-04-12 14:28:05] Production.INFO: ==3390== Releasing lock...
[2025-04-12 14:28:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 14:28:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 14:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 11:28:05
[end_date_ymd] => 2025-04-12 14:28:05
[RateCDR] => 1
)
[2025-04-12 14:28:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 11:28:05' and `end` < '2025-04-12 14:28:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 14:28:12] Production.ERROR: CronJobId end10
[2025-04-12 14:28:12] Production.INFO: ==3388== Releasing lock...
[2025-04-12 14:28:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 14:28:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 14:28:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 14:28:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 14:28:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 14:28:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 14:28:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 14:28:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 14:28:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 14:28:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 14:28:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 14:28:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 14:28:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 14:28:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 14:28:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 14:28:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 14:28:15] Production.INFO: call_cost start
[2025-04-12 14:28:15] Production.INFO: call_cost end
[2025-04-12 14:28:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 14:28:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 14:28:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 14:28:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 14:28:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 14:28:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 14:28:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 14:28:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 14:28:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 14:28:16] Production.INFO: ==3384== Releasing lock...
[2025-04-12 14:28:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 14:28:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 14:28:19] Production.INFO: count ==1579
[2025-04-12 14:28:19] Production.ERROR: pbx CDR StartTime 2025-04-12 11:28:05 - End Time 2025-04-12 14:28:05
[2025-04-12 14:28:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 14:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892172', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892172', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892172', 'tblTempVendorCDR_20' ) start
[2025-04-12 14:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892172', 'tblTempVendorCDR_20' ) end
[2025-04-12 14:28:19] Production.INFO: ProcessCDR(1,14892172,1,1,2)
[2025-04-12 14:28:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892172,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:28:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892172,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:28:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892172,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:28:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892172,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:28:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892172', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:28:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892172', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:28:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 14:28:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 14:28:24] Production.INFO: ==3392== Releasing lock...
[2025-04-12 14:28:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 14:28:24] Production.INFO: 40.25 MB #Memory Used#
[2025-04-12 19:29:01] Production.INFO: ==3453== Lock acquired, processing the job...
[2025-04-12 19:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 19:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 19:29:01] Production.INFO: neon service started
[2025-04-12 19:29:01] Production.INFO: neon service started
[2025-04-12 19:29:01] Production.INFO: ==3453== Releasing lock...
[2025-04-12 19:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 19:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 14:29:02] Production.INFO: ==3455== Lock acquired, processing the job...
[2025-04-12 14:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 18:29:02] Production.INFO: ==3457== Lock acquired, processing the job...
[2025-04-12 18:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 18:29:02] Production.INFO: ==3457== Releasing lock...
[2025-04-12 18:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 18:29:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 14:29:02] Production.INFO: ==3455== Releasing lock...
[2025-04-12 14:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 14:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 14:29:03] Production.INFO: ==3462== Lock acquired, processing the job...
[2025-04-12 14:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 14:29:03] Production.INFO: ==3466== Lock acquired, processing the job...
[2025-04-12 14:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 14:29:03] Production.INFO: ==3460== Lock acquired, processing the job...
[2025-04-12 14:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 14:29:03] Production.INFO: Account Balance Start.
[2025-04-12 14:29:03] Production.INFO: CreateAllLog Start
[2025-04-12 14:29:03] Production.INFO: 117
[2025-04-12 14:29:03] Production.INFO: Date 2025-04-08
[2025-04-12 14:29:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:29:03] Production.INFO: Date 2025-04-09
[2025-04-12 14:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 14:29:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:29:03] Production.INFO: ==3464== Lock acquired, processing the job...
[2025-04-12 14:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 14:29:03] Production.INFO: Date 2025-04-10
[2025-04-12 14:29:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:29:03] Production.INFO: Date 2025-04-11
[2025-04-12 14:29:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:29:03] Production.INFO: Date 2025-04-12
[2025-04-12 14:29:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:29:03] Production.INFO: ==3468== Lock acquired, processing the job...
[2025-04-12 14:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 14:29:03] Production.INFO: ==3462== Releasing lock...
[2025-04-12 14:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 14:29:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 14:29:03] Production.INFO: ==3470== Lock acquired, processing the job...
[2025-04-12 14:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 14:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 14:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 14:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 14:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 14:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 14:29:03] Production.INFO: Total Charge 0
[2025-04-12 14:29:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 14:29:03] Production.INFO: CreateAllLog End
[2025-04-12 14:29:04] Production.INFO: count ==12
[2025-04-12 14:29:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 14:29:04] Production.INFO: count ==23
[2025-04-12 14:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892176') start
[2025-04-12 14:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892176') end
[2025-04-12 14:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 14:29:04] Production.INFO: 1
[2025-04-12 14:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 14:29:04] Production.INFO: Account Balance End.
[2025-04-12 14:29:04] Production.INFO: ==3470== Releasing lock...
[2025-04-12 14:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 14:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 14:29:04] Production.ERROR: CronJobId end 12
[2025-04-12 14:29:04] Production.INFO: ==3466== Releasing lock...
[2025-04-12 14:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 14:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 14:29:04] Production.ERROR: done
[2025-04-12 14:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 14:29:04] Production.ERROR: done
[2025-04-12 14:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 11:29:05
[end_date_ymd] => 2025-04-12 14:29:05
[RateCDR] => 1
)
[2025-04-12 14:29:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 11:29:05' and `end` < '2025-04-12 14:29:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 14:29:12] Production.ERROR: CronJobId end10
[2025-04-12 14:29:12] Production.INFO: ==3464== Releasing lock...
[2025-04-12 14:29:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 14:29:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 14:29:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 14:29:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 14:29:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 14:29:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 14:29:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 14:29:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 14:29:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 14:29:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 14:29:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 14:29:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 14:29:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 14:29:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 14:29:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 14:29:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 14:29:14] Production.INFO: call_cost start
[2025-04-12 14:29:14] Production.INFO: call_cost end
[2025-04-12 14:29:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 14:29:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 14:29:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 14:29:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 14:29:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 14:29:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 14:29:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 14:29:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 14:29:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 14:29:15] Production.INFO: ==3460== Releasing lock...
[2025-04-12 14:29:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 14:29:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 14:29:18] Production.INFO: count ==1580
[2025-04-12 14:29:19] Production.ERROR: pbx CDR StartTime 2025-04-12 11:29:05 - End Time 2025-04-12 14:29:05
[2025-04-12 14:29:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 14:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892177', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892177', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892177', 'tblTempVendorCDR_20' ) start
[2025-04-12 14:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892177', 'tblTempVendorCDR_20' ) end
[2025-04-12 14:29:19] Production.INFO: ProcessCDR(1,14892177,1,1,2)
[2025-04-12 14:29:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892177,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:29:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892177,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:29:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892177,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:29:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892177,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:29:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892177', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:29:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892177', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:29:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 14:29:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 14:29:24] Production.INFO: ==3468== Releasing lock...
[2025-04-12 14:29:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 14:29:24] Production.INFO: 39.75 MB #Memory Used#
[2025-04-12 19:30:02] Production.INFO: ==3525== Lock acquired, processing the job...
[2025-04-12 19:30:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 19:30:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 19:30:02] Production.INFO: neon service started
[2025-04-12 19:30:02] Production.INFO: neon service started
[2025-04-12 19:30:02] Production.INFO: ==3525== Releasing lock...
[2025-04-12 19:30:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 19:30:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 18:30:02] Production.INFO: ==3529== Lock acquired, processing the job...
[2025-04-12 18:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 18:30:02] Production.INFO: ==3529== Releasing lock...
[2025-04-12 18:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 18:30:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 14:30:02] Production.INFO: ==3527== Lock acquired, processing the job...
[2025-04-12 14:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 14:30:03] Production.INFO: ==3527== Releasing lock...
[2025-04-12 14:30:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 14:30:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 14:30:04] Production.INFO: ==3532== Lock acquired, processing the job...
[2025-04-12 14:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 14:30:04] Production.INFO: ==3538== Lock acquired, processing the job...
[2025-04-12 14:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 14:30:04] Production.INFO: ==3540== Lock acquired, processing the job...
[2025-04-12 14:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 14:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 14:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 14:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 14:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 14:30:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 14:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 14:30:04] Production.ERROR: CronJob PID - 3538
[2025-04-12 14:30:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-04-12 14:30:04] Production.ERROR: CronJob ID - 10
[2025-04-12 14:30:04] Production.ERROR: CronJob Last Run Time 2025-04-12 14:30:00
[2025-04-12 14:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 14:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 14:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 14:30:04] Production.ERROR: CronJob PID - 3540
[2025-04-12 14:30:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-04-12 14:30:04] Production.ERROR: CronJob ID - 12
[2025-04-12 14:30:04] Production.ERROR: CronJob Last Run Time 2025-04-12 14:30:00
[2025-04-12 14:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 14:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 14:30:04] Production.INFO: ==3534== Lock acquired, processing the job...
[2025-04-12 14:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 14:30:04] Production.INFO: ==3544== Lock acquired, processing the job...
[2025-04-12 14:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 14:30:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 14:30:04] Production.INFO: ==3532== Releasing lock...
[2025-04-12 14:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 14:30:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 14:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 14:30:04] Production.INFO: Account Balance Start.
[2025-04-12 14:30:04] Production.INFO: CreateAllLog Start
[2025-04-12 14:30:04] Production.INFO: 117
[2025-04-12 14:30:04] Production.INFO: Date 2025-04-08
[2025-04-12 14:30:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:30:04] Production.INFO: ==3536== Lock acquired, processing the job...
[2025-04-12 14:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 14:30:04] Production.INFO: Date 2025-04-09
[2025-04-12 14:30:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 14:30:04] Production.INFO: ==3542== Lock acquired, processing the job...
[2025-04-12 14:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 14:30:04] Production.INFO: Date 2025-04-10
[2025-04-12 14:30:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:30:04] Production.INFO: ==3546== Lock acquired, processing the job...
[2025-04-12 14:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 14:30:04] Production.INFO: Date 2025-04-11
[2025-04-12 14:30:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:30:04] Production.INFO: Date 2025-04-12
[2025-04-12 14:30:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 14:30:04] Production.INFO: Total Charge 0
[2025-04-12 14:30:04] Production.INFO: CreateAllLog End
[2025-04-12 14:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 14:30:04] Production.INFO: count ==12
[2025-04-12 14:30:04] Production.ERROR: done
[2025-04-12 14:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 14:30:04] Production.INFO: count ==23
[2025-04-12 14:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892180') start
[2025-04-12 14:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 14:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14892182', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 14:30:05] Production.ERROR: done
[2025-04-12 14:30:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 14:30:05] Production.INFO: ==3536== Releasing lock...
[2025-04-12 14:30:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 14:30:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 14:30:05] Production.INFO: Account Balance End.
[2025-04-12 14:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14892180') end
[2025-04-12 14:30:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 14:30:05] Production.INFO: 1
[2025-04-12 14:30:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 14:30:05] Production.INFO: ==3546== Releasing lock...
[2025-04-12 14:30:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 14:30:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 14:30:05] Production.ERROR: done
[2025-04-12 14:30:05] Production.ERROR: CronJobId end 12
[2025-04-12 14:30:05] Production.INFO: ==3540== Releasing lock...
[2025-04-12 14:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 14:30:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 14:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 11:30:06
[end_date_ymd] => 2025-04-12 14:30:06
[RateCDR] => 1
)
[2025-04-12 14:30:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 11:30:06' and `end` < '2025-04-12 14:30:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 14:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14892182', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 14:30:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 14:30:09] Production.INFO: ProcessCDR(1,14892182,1,1,2)
[2025-04-12 14:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14892182,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14892182,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 14:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 14:30:09] Production.INFO: ==3544== Releasing lock...
[2025-04-12 14:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 14:30:09] Production.INFO: 26 MB #Memory Used#
[2025-04-12 14:30:14] Production.ERROR: CronJobId end10
[2025-04-12 14:30:14] Production.INFO: ==3538== Releasing lock...
[2025-04-12 14:30:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 14:30:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 14:30:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 14:30:16] Production.INFO: ============== Balance Warning START===========
[2025-04-12 14:30:16] Production.INFO: ============== Balance Warning END===========
[2025-04-12 14:30:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 14:30:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 14:30:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 14:30:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 14:30:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 14:30:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 14:30:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 14:30:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 14:30:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 14:30:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 14:30:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 14:30:16] Production.INFO: call_cost start
[2025-04-12 14:30:16] Production.INFO: call_cost end
[2025-04-12 14:30:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 14:30:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 14:30:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 14:30:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 14:30:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 14:30:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 14:30:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 14:30:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 14:30:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 14:30:17] Production.INFO: ==3534== Releasing lock...
[2025-04-12 14:30:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 14:30:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 14:30:19] Production.INFO: count ==1581
[2025-04-12 14:30:19] Production.ERROR: pbx CDR StartTime 2025-04-12 11:30:06 - End Time 2025-04-12 14:30:06
[2025-04-12 14:30:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 14:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892183', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892183', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892183', 'tblTempVendorCDR_20' ) start
[2025-04-12 14:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892183', 'tblTempVendorCDR_20' ) end
[2025-04-12 14:30:19] Production.INFO: ProcessCDR(1,14892183,1,1,2)
[2025-04-12 14:30:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892183,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:30:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892183,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:30:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892183,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:30:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892183,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:30:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892183', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:30:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892183', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:30:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 14:30:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 14:30:24] Production.INFO: ==3542== Releasing lock...
[2025-04-12 14:30:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 14:30:24] Production.INFO: 40 MB #Memory Used#
[2025-04-12 19:31:01] Production.INFO: ==3608== Lock acquired, processing the job...
[2025-04-12 19:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 19:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 19:31:01] Production.INFO: neon service started
[2025-04-12 19:31:01] Production.INFO: neon service started
[2025-04-12 19:31:01] Production.INFO: ==3608== Releasing lock...
[2025-04-12 19:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 19:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 14:31:01] Production.INFO: ==3610== Lock acquired, processing the job...
[2025-04-12 14:31:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 14:31:02] Production.INFO: ==3610== Releasing lock...
[2025-04-12 14:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 14:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 18:31:02] Production.INFO: ==3612== Lock acquired, processing the job...
[2025-04-12 18:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 18:31:02] Production.INFO: ==3612== Releasing lock...
[2025-04-12 18:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 18:31:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 14:31:03] Production.INFO: ==3619== Lock acquired, processing the job...
[2025-04-12 14:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 14:31:03] Production.INFO: ==3621== Lock acquired, processing the job...
[2025-04-12 14:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 14:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 14:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 14:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 14:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 14:31:03] Production.INFO: ==3615== Lock acquired, processing the job...
[2025-04-12 14:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 14:31:03] Production.INFO: Account Balance Start.
[2025-04-12 14:31:03] Production.INFO: CreateAllLog Start
[2025-04-12 14:31:03] Production.INFO: 117
[2025-04-12 14:31:03] Production.INFO: Date 2025-04-08
[2025-04-12 14:31:03] Production.INFO: ==3617== Lock acquired, processing the job...
[2025-04-12 14:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 14:31:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:31:03] Production.INFO: Date 2025-04-09
[2025-04-12 14:31:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:31:03] Production.INFO: Date 2025-04-10
[2025-04-12 14:31:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 14:31:03] Production.INFO: Date 2025-04-11
[2025-04-12 14:31:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:31:03] Production.INFO: ==3623== Lock acquired, processing the job...
[2025-04-12 14:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 14:31:03] Production.INFO: Date 2025-04-12
[2025-04-12 14:31:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:31:03] Production.INFO: ==3625== Lock acquired, processing the job...
[2025-04-12 14:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 14:31:03] Production.INFO: Total Charge 0
[2025-04-12 14:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 14:31:03] Production.INFO: CreateAllLog End
[2025-04-12 14:31:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 14:31:03] Production.INFO: count ==12
[2025-04-12 14:31:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 14:31:03] Production.INFO: count ==23
[2025-04-12 14:31:03] Production.INFO: ==3617== Releasing lock...
[2025-04-12 14:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 14:31:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 14:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14892187') start
[2025-04-12 14:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14892187') end
[2025-04-12 14:31:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 14:31:03] Production.INFO: 1
[2025-04-12 14:31:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 14:31:04] Production.INFO: ==3625== Releasing lock...
[2025-04-12 14:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 14:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 14:31:04] Production.ERROR: done
[2025-04-12 14:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 14:31:04] Production.INFO: Account Balance End.
[2025-04-12 14:31:04] Production.ERROR: CronJobId end 12
[2025-04-12 14:31:04] Production.INFO: ==3621== Releasing lock...
[2025-04-12 14:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 14:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 14:31:04] Production.ERROR: done
[2025-04-12 14:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 11:31:05
[end_date_ymd] => 2025-04-12 14:31:05
[RateCDR] => 1
)
[2025-04-12 14:31:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 11:31:05' and `end` < '2025-04-12 14:31:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 14:31:12] Production.ERROR: CronJobId end10
[2025-04-12 14:31:12] Production.INFO: ==3619== Releasing lock...
[2025-04-12 14:31:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 14:31:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 14:31:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 14:31:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 14:31:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 14:31:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 14:31:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 14:31:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 14:31:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 14:31:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 14:31:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 14:31:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 14:31:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 14:31:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 14:31:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 14:31:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 14:31:14] Production.INFO: call_cost start
[2025-04-12 14:31:14] Production.INFO: call_cost end
[2025-04-12 14:31:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 14:31:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 14:31:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 14:31:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 14:31:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 14:31:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 14:31:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 14:31:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 14:31:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 14:31:15] Production.INFO: ==3615== Releasing lock...
[2025-04-12 14:31:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 14:31:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 14:31:18] Production.INFO: count ==1578
[2025-04-12 14:31:18] Production.ERROR: pbx CDR StartTime 2025-04-12 11:31:05 - End Time 2025-04-12 14:31:05
[2025-04-12 14:31:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 14:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892188', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892188', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892188', 'tblTempVendorCDR_20' ) start
[2025-04-12 14:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892188', 'tblTempVendorCDR_20' ) end
[2025-04-12 14:31:18] Production.INFO: ProcessCDR(1,14892188,1,1,2)
[2025-04-12 14:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892188,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:31:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892188,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:31:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892188,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:31:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892188,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:31:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892188', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:31:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892188', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:31:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 14:31:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 14:31:23] Production.INFO: ==3623== Releasing lock...
[2025-04-12 14:31:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 14:31:23] Production.INFO: 39.75 MB #Memory Used#
[2025-04-12 19:32:02] Production.INFO: ==3693== Lock acquired, processing the job...
[2025-04-12 19:32:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 19:32:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 19:32:02] Production.INFO: neon service started
[2025-04-12 19:32:02] Production.INFO: neon service started
[2025-04-12 19:32:02] Production.INFO: ==3693== Releasing lock...
[2025-04-12 19:32:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 19:32:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 14:32:02] Production.INFO: ==3695== Lock acquired, processing the job...
[2025-04-12 14:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 18:32:02] Production.INFO: ==3697== Lock acquired, processing the job...
[2025-04-12 18:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 18:32:03] Production.INFO: ==3697== Releasing lock...
[2025-04-12 18:32:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 18:32:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 14:32:03] Production.INFO: ==3695== Releasing lock...
[2025-04-12 14:32:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 14:32:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 14:32:04] Production.INFO: ==3701== Lock acquired, processing the job...
[2025-04-12 14:32:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 14:32:04] Production.INFO: ==3703== Lock acquired, processing the job...
[2025-04-12 14:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 14:32:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 14:32:04] Production.INFO: ==3705== Lock acquired, processing the job...
[2025-04-12 14:32:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 14:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 14:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 14:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 14:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 14:32:04] Production.INFO: ==3707== Lock acquired, processing the job...
[2025-04-12 14:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 14:32:04] Production.INFO: ==3709== Lock acquired, processing the job...
[2025-04-12 14:32:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 14:32:04] Production.INFO: Account Balance Start.
[2025-04-12 14:32:04] Production.INFO: CreateAllLog Start
[2025-04-12 14:32:04] Production.INFO: 117
[2025-04-12 14:32:04] Production.INFO: ==3711== Lock acquired, processing the job...
[2025-04-12 14:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 14:32:04] Production.INFO: Date 2025-04-08
[2025-04-12 14:32:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:32:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 14:32:04] Production.INFO: Date 2025-04-09
[2025-04-12 14:32:04] Production.INFO: Reseller ==> 0
[2025-04-12 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-12 14:32:04] Production.INFO: Date 2025-04-10
[2025-04-12 14:32:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:32:04] Production.INFO: Date 2025-04-11
[2025-04-12 14:32:04] Production.INFO: count ==12
[2025-04-12 14:32:04] Production.INFO: Reseller ==> 0
[2025-04-12 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-12 14:32:04] Production.INFO: count ==23
[2025-04-12 14:32:04] Production.INFO: ==3703== Releasing lock...
[2025-04-12 14:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 14:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 14:32:04] Production.INFO: Date 2025-04-12
[2025-04-12 14:32:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892192') start
[2025-04-12 14:32:04] Production.INFO: Total Charge 0
[2025-04-12 14:32:05] Production.INFO: CreateAllLog End
[2025-04-12 14:32:05] Production.ERROR: done
[2025-04-12 14:32:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 14:32:05] Production.ERROR: PBX CALL prc_importPBXExtension('14892192') end
[2025-04-12 14:32:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 14:32:05] Production.INFO: 1
[2025-04-12 14:32:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 14:32:05] Production.INFO: Account Balance End.
[2025-04-12 14:32:05] Production.INFO: ==3711== Releasing lock...
[2025-04-12 14:32:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 14:32:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 14:32:05] Production.ERROR: done
[2025-04-12 14:32:05] Production.ERROR: CronJobId end 12
[2025-04-12 14:32:05] Production.INFO: ==3707== Releasing lock...
[2025-04-12 14:32:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 14:32:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 14:32:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 11:32:06
[end_date_ymd] => 2025-04-12 14:32:06
[RateCDR] => 1
)
[2025-04-12 14:32:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 11:32:06' and `end` < '2025-04-12 14:32:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 14:32:13] Production.ERROR: CronJobId end10
[2025-04-12 14:32:13] Production.INFO: ==3705== Releasing lock...
[2025-04-12 14:32:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 14:32:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 14:32:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 14:32:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 14:32:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 14:32:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 14:32:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 14:32:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 14:32:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 14:32:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 14:32:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 14:32:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 14:32:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 14:32:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 14:32:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 14:32:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 14:32:15] Production.INFO: call_cost start
[2025-04-12 14:32:15] Production.INFO: call_cost end
[2025-04-12 14:32:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 14:32:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 14:32:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 14:32:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 14:32:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 14:32:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 14:32:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 14:32:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 14:32:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 14:32:16] Production.INFO: ==3701== Releasing lock...
[2025-04-12 14:32:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 14:32:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 14:32:19] Production.INFO: count ==1578
[2025-04-12 14:32:20] Production.ERROR: pbx CDR StartTime 2025-04-12 11:32:06 - End Time 2025-04-12 14:32:06
[2025-04-12 14:32:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 14:32:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892193', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:32:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892193', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:32:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892193', 'tblTempVendorCDR_20' ) start
[2025-04-12 14:32:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892193', 'tblTempVendorCDR_20' ) end
[2025-04-12 14:32:20] Production.INFO: ProcessCDR(1,14892193,1,1,2)
[2025-04-12 14:32:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892193,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:32:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892193,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:32:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892193,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:32:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892193,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:32:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892193', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:32:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892193', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:32:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 14:32:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 14:32:23] Production.INFO: ==3709== Releasing lock...
[2025-04-12 14:32:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 14:32:23] Production.INFO: 40 MB #Memory Used#
[2025-04-12 19:33:01] Production.INFO: ==3770== Lock acquired, processing the job...
[2025-04-12 19:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 19:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 19:33:01] Production.INFO: neon service started
[2025-04-12 19:33:01] Production.INFO: neon service started
[2025-04-12 19:33:01] Production.INFO: ==3770== Releasing lock...
[2025-04-12 19:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 19:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 14:33:01] Production.INFO: ==3772== Lock acquired, processing the job...
[2025-04-12 14:33:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 14:33:02] Production.INFO: ==3772== Releasing lock...
[2025-04-12 14:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 14:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 18:33:02] Production.INFO: ==3774== Lock acquired, processing the job...
[2025-04-12 18:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 18:33:02] Production.INFO: ==3774== Releasing lock...
[2025-04-12 18:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 18:33:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 14:33:03] Production.INFO: ==3784== Lock acquired, processing the job...
[2025-04-12 14:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 14:33:03] Production.INFO: ==3786== Lock acquired, processing the job...
[2025-04-12 14:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 14:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 14:33:03] Production.INFO: ==3776== Lock acquired, processing the job...
[2025-04-12 14:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 14:33:03] Production.INFO: ==3778== Lock acquired, processing the job...
[2025-04-12 14:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 14:33:03] Production.INFO: ==3782== Lock acquired, processing the job...
[2025-04-12 14:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 14:33:03] Production.INFO: ==3780== Lock acquired, processing the job...
[2025-04-12 14:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 14:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 14:33:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 14:33:03] Production.INFO: count ==12
[2025-04-12 14:33:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 14:33:03] Production.INFO: count ==23
[2025-04-12 14:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14892194') start
[2025-04-12 14:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 14:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 14:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 14:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 14:33:03] Production.INFO: Account Balance Start.
[2025-04-12 14:33:03] Production.INFO: CreateAllLog Start
[2025-04-12 14:33:03] Production.INFO: 117
[2025-04-12 14:33:03] Production.INFO: Date 2025-04-08
[2025-04-12 14:33:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14892194') end
[2025-04-12 14:33:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 14:33:03] Production.INFO: 1
[2025-04-12 14:33:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 14:33:03] Production.INFO: Date 2025-04-09
[2025-04-12 14:33:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:33:03] Production.INFO: Date 2025-04-10
[2025-04-12 14:33:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:33:03] Production.INFO: Date 2025-04-11
[2025-04-12 14:33:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:33:03] Production.INFO: Date 2025-04-12
[2025-04-12 14:33:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:33:03] Production.INFO: ==3786== Releasing lock...
[2025-04-12 14:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 14:33:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 14:33:03] Production.INFO: Total Charge 0
[2025-04-12 14:33:03] Production.INFO: CreateAllLog End
[2025-04-12 14:33:03] Production.ERROR: done
[2025-04-12 14:33:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 14:33:04] Production.INFO: ==3778== Releasing lock...
[2025-04-12 14:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 14:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 14:33:04] Production.ERROR: done
[2025-04-12 14:33:04] Production.INFO: Account Balance End.
[2025-04-12 14:33:04] Production.ERROR: CronJobId end 12
[2025-04-12 14:33:04] Production.INFO: ==3782== Releasing lock...
[2025-04-12 14:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 14:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 14:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 11:33:05
[end_date_ymd] => 2025-04-12 14:33:05
[RateCDR] => 1
)
[2025-04-12 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-12 11:33:05' and `end` < '2025-04-12 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-12 14:33:12] Production.ERROR: CronJobId end10
[2025-04-12 14:33:12] Production.INFO: ==3780== Releasing lock...
[2025-04-12 14:33:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 14:33:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 14:33:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 14:33:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 14:33:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 14:33:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 14:33:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 14:33:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 14:33:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 14:33:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 14:33:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 14:33:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 14:33:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 14:33:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 14:33:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 14:33:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 14:33:14] Production.INFO: call_cost start
[2025-04-12 14:33:14] Production.INFO: call_cost end
[2025-04-12 14:33:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 14:33:14] Production.INFO: ============== Report Schedule START===========
[2025-04-12 14:33:14] Production.INFO: ============== Report Schedule END===========
[2025-04-12 14:33:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 14:33:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 14:33:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 14:33:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 14:33:14] Production.INFO: ============== Deal alert START===========
[2025-04-12 14:33:14] Production.INFO: ============== Deal alert END===========
[2025-04-12 14:33:14] Production.INFO: ==3776== Releasing lock...
[2025-04-12 14:33:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 14:33:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 14:33:18] Production.INFO: count ==1572
[2025-04-12 14:33:18] Production.ERROR: pbx CDR StartTime 2025-04-12 11:33:05 - End Time 2025-04-12 14:33:05
[2025-04-12 14:33:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 14:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892198', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892198', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892198', 'tblTempVendorCDR_20' ) start
[2025-04-12 14:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892198', 'tblTempVendorCDR_20' ) end
[2025-04-12 14:33:18] Production.INFO: ProcessCDR(1,14892198,1,1,2)
[2025-04-12 14:33:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892198,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:33:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892198,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:33:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892198,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:33:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892198,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892198', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892198', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:33:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 14:33:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 14:33:21] Production.INFO: ==3784== Releasing lock...
[2025-04-12 14:33:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 14:33:21] Production.INFO: 39.75 MB #Memory Used#
[2025-04-12 19:34:02] Production.INFO: ==3883== Lock acquired, processing the job...
[2025-04-12 19:34:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 19:34:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 19:34:02] Production.INFO: neon service started
[2025-04-12 19:34:02] Production.INFO: neon service started
[2025-04-12 19:34:02] Production.INFO: ==3883== Releasing lock...
[2025-04-12 19:34:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 19:34:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 14:34:02] Production.INFO: ==3886== Lock acquired, processing the job...
[2025-04-12 14:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 18:34:02] Production.INFO: ==3888== Lock acquired, processing the job...
[2025-04-12 18:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 18:34:02] Production.INFO: ==3888== Releasing lock...
[2025-04-12 18:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 18:34:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 14:34:03] Production.INFO: ==3886== Releasing lock...
[2025-04-12 14:34:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 14:34:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 14:34:03] Production.INFO: ==3890== Lock acquired, processing the job...
[2025-04-12 14:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 14:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 14:34:03] Production.INFO: ==3896== Lock acquired, processing the job...
[2025-04-12 14:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 14:34:03] Production.INFO: ==3894== Lock acquired, processing the job...
[2025-04-12 14:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 14:34:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 14:34:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 14:34:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 14:34:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 14:34:04] Production.INFO: Account Balance Start.
[2025-04-12 14:34:04] Production.INFO: CreateAllLog Start
[2025-04-12 14:34:04] Production.INFO: 117
[2025-04-12 14:34:04] Production.INFO: ==3892== Lock acquired, processing the job...
[2025-04-12 14:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 14:34:04] Production.INFO: Date 2025-04-08
[2025-04-12 14:34:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:34:04] Production.INFO: ==3898== Lock acquired, processing the job...
[2025-04-12 14:34:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 14:34:04] Production.INFO: Date 2025-04-09
[2025-04-12 14:34:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:34:04] Production.INFO: Date 2025-04-10
[2025-04-12 14:34:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 14:34:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:34:04] Production.INFO: ==3900== Lock acquired, processing the job...
[2025-04-12 14:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 14:34:04] Production.INFO: Date 2025-04-11
[2025-04-12 14:34:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:34:04] Production.INFO: Date 2025-04-12
[2025-04-12 14:34:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:34:04] Production.INFO: Total Charge 0
[2025-04-12 14:34:04] Production.INFO: CreateAllLog End
[2025-04-12 14:34:04] Production.INFO: ==3892== Releasing lock...
[2025-04-12 14:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 14:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 14:34:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 14:34:04] Production.INFO: count ==12
[2025-04-12 14:34:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 14:34:04] Production.INFO: count ==23
[2025-04-12 14:34:04] Production.ERROR: done
[2025-04-12 14:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892202') start
[2025-04-12 14:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 14:34:04] Production.INFO: Account Balance End.
[2025-04-12 14:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892202') end
[2025-04-12 14:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 14:34:04] Production.INFO: 1
[2025-04-12 14:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 14:34:05] Production.ERROR: CronJobId end 12
[2025-04-12 14:34:05] Production.INFO: ==3896== Releasing lock...
[2025-04-12 14:34:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 14:34:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 14:34:05] Production.INFO: ==3900== Releasing lock...
[2025-04-12 14:34:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 14:34:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 14:34:05] Production.ERROR: done
[2025-04-12 14:34:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 11:34:06
[end_date_ymd] => 2025-04-12 14:34:06
[RateCDR] => 1
)
[2025-04-12 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-12 11:34:06' and `end` < '2025-04-12 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-12 14:34:12] Production.ERROR: CronJobId end10
[2025-04-12 14:34:12] Production.INFO: ==3894== Releasing lock...
[2025-04-12 14:34:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 14:34:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 14:34:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 14:34:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 14:34:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 14:34:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 14:34:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 14:34:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 14:34:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 14:34:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 14:34:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 14:34:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 14:34:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 14:34:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 14:34:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 14:34:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 14:34:14] Production.INFO: call_cost start
[2025-04-12 14:34:14] Production.INFO: call_cost end
[2025-04-12 14:34:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 14:34:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 14:34:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 14:34:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 14:34:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 14:34:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 14:34:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 14:34:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 14:34:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 14:34:15] Production.INFO: ==3890== Releasing lock...
[2025-04-12 14:34:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 14:34:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 14:34:19] Production.INFO: count ==1572
[2025-04-12 14:34:19] Production.ERROR: pbx CDR StartTime 2025-04-12 11:34:06 - End Time 2025-04-12 14:34:06
[2025-04-12 14:34:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 14:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892203', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892203', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892203', 'tblTempVendorCDR_20' ) start
[2025-04-12 14:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892203', 'tblTempVendorCDR_20' ) end
[2025-04-12 14:34:19] Production.INFO: ProcessCDR(1,14892203,1,1,2)
[2025-04-12 14:34:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892203,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:34:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892203,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:34:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892203,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:34:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892203,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892203', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892203', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:34:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 14:34:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 14:34:23] Production.INFO: ==3898== Releasing lock...
[2025-04-12 14:34:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 14:34:23] Production.INFO: 39.5 MB #Memory Used#
[2025-04-12 19:35:01] Production.INFO: ==3964== Lock acquired, processing the job...
[2025-04-12 19:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 19:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 19:35:01] Production.INFO: neon service started
[2025-04-12 19:35:01] Production.INFO: neon service started
[2025-04-12 19:35:01] Production.INFO: ==3964== Releasing lock...
[2025-04-12 19:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 19:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 14:35:01] Production.INFO: ==3966== Lock acquired, processing the job...
[2025-04-12 14:35:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 18:35:02] Production.INFO: ==3968== Lock acquired, processing the job...
[2025-04-12 18:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 18:35:02] Production.INFO: ==3968== Releasing lock...
[2025-04-12 18:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 18:35:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 14:35:02] Production.INFO: ==3966== Releasing lock...
[2025-04-12 14:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 14:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 14:35:03] Production.INFO: ==3972== Lock acquired, processing the job...
[2025-04-12 14:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 14:35:03] Production.INFO: ==3976== Lock acquired, processing the job...
[2025-04-12 14:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 14:35:03] Production.INFO: ==3970== Lock acquired, processing the job...
[2025-04-12 14:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 14:35:03] Production.INFO: Account Balance Start.
[2025-04-12 14:35:03] Production.INFO: CreateAllLog Start
[2025-04-12 14:35:03] Production.INFO: 117
[2025-04-12 14:35:03] Production.INFO: Date 2025-04-08
[2025-04-12 14:35:03] Production.INFO: ==3974== Lock acquired, processing the job...
[2025-04-12 14:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 14:35:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:35:03] Production.INFO: Date 2025-04-09
[2025-04-12 14:35:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 14:35:03] Production.INFO: Date 2025-04-10
[2025-04-12 14:35:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:35:03] Production.INFO: ==3979== Lock acquired, processing the job...
[2025-04-12 14:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 14:35:03] Production.INFO: Date 2025-04-11
[2025-04-12 14:35:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 14:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 14:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 14:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 14:35:03] Production.INFO: ==3981== Lock acquired, processing the job...
[2025-04-12 14:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 14:35:03] Production.INFO: Date 2025-04-12
[2025-04-12 14:35:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:35:03] Production.INFO: ==3972== Releasing lock...
[2025-04-12 14:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 14:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 14:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 14:35:03] Production.INFO: Total Charge 0
[2025-04-12 14:35:03] Production.INFO: CreateAllLog End
[2025-04-12 14:35:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 14:35:04] Production.INFO: count ==12
[2025-04-12 14:35:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 14:35:04] Production.INFO: count ==23
[2025-04-12 14:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892207') start
[2025-04-12 14:35:04] Production.INFO: Account Balance End.
[2025-04-12 14:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892207') end
[2025-04-12 14:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 14:35:04] Production.INFO: 1
[2025-04-12 14:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 14:35:04] Production.ERROR: done
[2025-04-12 14:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 14:35:04] Production.ERROR: CronJobId end 12
[2025-04-12 14:35:04] Production.INFO: ==3976== Releasing lock...
[2025-04-12 14:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 14:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 14:35:04] Production.INFO: ==3981== Releasing lock...
[2025-04-12 14:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 14:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 14:35:04] Production.ERROR: done
[2025-04-12 14:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 11:35:05
[end_date_ymd] => 2025-04-12 14:35:05
[RateCDR] => 1
)
[2025-04-12 14:35:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 11:35:05' and `end` < '2025-04-12 14:35:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 14:35:12] Production.ERROR: CronJobId end10
[2025-04-12 14:35:12] Production.INFO: ==3974== Releasing lock...
[2025-04-12 14:35:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 14:35:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 14:35:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 14:35:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 14:35:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 14:35:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 14:35:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 14:35:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 14:35:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 14:35:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 14:35:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 14:35:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 14:35:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 14:35:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 14:35:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 14:35:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 14:35:15] Production.INFO: call_cost start
[2025-04-12 14:35:15] Production.INFO: call_cost end
[2025-04-12 14:35:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 14:35:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 14:35:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 14:35:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 14:35:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 14:35:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 14:35:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 14:35:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 14:35:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 14:35:16] Production.INFO: ==3970== Releasing lock...
[2025-04-12 14:35:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 14:35:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 14:35:18] Production.INFO: count ==1569
[2025-04-12 14:35:18] Production.ERROR: pbx CDR StartTime 2025-04-12 11:35:05 - End Time 2025-04-12 14:35:05
[2025-04-12 14:35:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 14:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892208', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892208', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892208', 'tblTempVendorCDR_20' ) start
[2025-04-12 14:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892208', 'tblTempVendorCDR_20' ) end
[2025-04-12 14:35:19] Production.INFO: ProcessCDR(1,14892208,1,1,2)
[2025-04-12 14:35:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892208,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:35:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892208,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:35:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892208,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:35:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892208,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:35:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892208', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:35:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892208', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:35:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 14:35:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 14:35:24] Production.INFO: ==3979== Releasing lock...
[2025-04-12 14:35:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 14:35:24] Production.INFO: 39.5 MB #Memory Used#
[2025-04-12 19:36:01] Production.INFO: ==4039== Lock acquired, processing the job...
[2025-04-12 19:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 19:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 19:36:01] Production.INFO: neon service started
[2025-04-12 19:36:02] Production.INFO: neon service started
[2025-04-12 19:36:02] Production.INFO: ==4039== Releasing lock...
[2025-04-12 19:36:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 19:36:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 14:36:02] Production.INFO: ==4041== Lock acquired, processing the job...
[2025-04-12 14:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 14:36:02] Production.INFO: ==4041== Releasing lock...
[2025-04-12 14:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 14:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 18:36:02] Production.INFO: ==4043== Lock acquired, processing the job...
[2025-04-12 18:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 18:36:02] Production.INFO: ==4043== Releasing lock...
[2025-04-12 18:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 18:36:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 14:36:03] Production.INFO: ==4050== Lock acquired, processing the job...
[2025-04-12 14:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 14:36:03] Production.INFO: ==4052== Lock acquired, processing the job...
[2025-04-12 14:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 14:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 14:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 14:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 14:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 14:36:03] Production.INFO: ==4046== Lock acquired, processing the job...
[2025-04-12 14:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 14:36:03] Production.INFO: Account Balance Start.
[2025-04-12 14:36:03] Production.INFO: CreateAllLog Start
[2025-04-12 14:36:03] Production.INFO: 117
[2025-04-12 14:36:03] Production.INFO: ==4048== Lock acquired, processing the job...
[2025-04-12 14:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 14:36:03] Production.INFO: Date 2025-04-08
[2025-04-12 14:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 14:36:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:36:03] Production.INFO: Date 2025-04-09
[2025-04-12 14:36:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:36:03] Production.INFO: ==4054== Lock acquired, processing the job...
[2025-04-12 14:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 14:36:03] Production.INFO: ==4056== Lock acquired, processing the job...
[2025-04-12 14:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 14:36:04] Production.INFO: Date 2025-04-10
[2025-04-12 14:36:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:36:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 14:36:04] Production.INFO: Date 2025-04-11
[2025-04-12 14:36:04] Production.INFO: Reseller ==> 0
[2025-04-12 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-12 14:36:04] Production.INFO: count ==12
[2025-04-12 14:36:04] Production.INFO: ==4048== Releasing lock...
[2025-04-12 14:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 14:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 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-12 14:36:04] Production.INFO: count ==23
[2025-04-12 14:36:04] Production.INFO: Date 2025-04-12
[2025-04-12 14:36:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892212') start
[2025-04-12 14:36:04] Production.INFO: Total Charge 0
[2025-04-12 14:36:04] Production.INFO: CreateAllLog End
[2025-04-12 14:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892212') end
[2025-04-12 14:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 14:36:04] Production.INFO: 1
[2025-04-12 14:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 14:36:04] Production.ERROR: done
[2025-04-12 14:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 14:36:04] Production.INFO: ==4056== Releasing lock...
[2025-04-12 14:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 14:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 14:36:04] Production.INFO: Account Balance End.
[2025-04-12 14:36:04] Production.ERROR: CronJobId end 12
[2025-04-12 14:36:04] Production.INFO: ==4052== Releasing lock...
[2025-04-12 14:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 14:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 14:36:04] Production.ERROR: done
[2025-04-12 14:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 11:36:05
[end_date_ymd] => 2025-04-12 14:36:05
[RateCDR] => 1
)
[2025-04-12 14:36:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 11:36:05' and `end` < '2025-04-12 14:36:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 14:36:11] Production.ERROR: CronJobId end10
[2025-04-12 14:36:11] Production.INFO: ==4050== Releasing lock...
[2025-04-12 14:36:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 14:36:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 14:36:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 14:36:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 14:36:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 14:36:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 14:36:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 14:36:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 14:36:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 14:36:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 14:36:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 14:36:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 14:36:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 14:36:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 14:36:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 14:36:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 14:36:14] Production.INFO: call_cost start
[2025-04-12 14:36:14] Production.INFO: call_cost end
[2025-04-12 14:36:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 14:36:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 14:36:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 14:36:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 14:36:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 14:36:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 14:36:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 14:36:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 14:36:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 14:36:15] Production.INFO: ==4046== Releasing lock...
[2025-04-12 14:36:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 14:36:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 14:36:18] Production.INFO: count ==1570
[2025-04-12 14:36:19] Production.ERROR: pbx CDR StartTime 2025-04-12 11:36:05 - End Time 2025-04-12 14:36:05
[2025-04-12 14:36:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 14:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892213', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892213', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892213', 'tblTempVendorCDR_20' ) start
[2025-04-12 14:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892213', 'tblTempVendorCDR_20' ) end
[2025-04-12 14:36:19] Production.INFO: ProcessCDR(1,14892213,1,1,2)
[2025-04-12 14:36:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892213,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:36:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892213,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:36:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892213,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:36:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892213,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892213', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892213', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:36:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 14:36:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 14:36:22] Production.INFO: ==4054== Releasing lock...
[2025-04-12 14:36:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 14:36:22] Production.INFO: 40 MB #Memory Used#
[2025-04-12 19:37:01] Production.INFO: ==4114== Lock acquired, processing the job...
[2025-04-12 19:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 19:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 19:37:01] Production.INFO: neon service started
[2025-04-12 19:37:01] Production.INFO: neon service started
[2025-04-12 19:37:01] Production.INFO: ==4114== Releasing lock...
[2025-04-12 19:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 19:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 18:37:01] Production.INFO: ==4118== Lock acquired, processing the job...
[2025-04-12 18:37:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 18:37:01] Production.INFO: ==4118== Releasing lock...
[2025-04-12 18:37:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 18:37:01] Production.INFO: 25 MB #Memory Used#
[2025-04-12 14:37:02] Production.INFO: ==4116== Lock acquired, processing the job...
[2025-04-12 14:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 14:37:02] Production.INFO: ==4116== Releasing lock...
[2025-04-12 14:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 14:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 14:37:03] Production.INFO: ==4121== Lock acquired, processing the job...
[2025-04-12 14:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 14:37:03] Production.INFO: ==4125== Lock acquired, processing the job...
[2025-04-12 14:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 14:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 14:37:03] Production.INFO: ==4129== Lock acquired, processing the job...
[2025-04-12 14:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 14:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 14:37:03] Production.INFO: ==4123== Lock acquired, processing the job...
[2025-04-12 14:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 14:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 14:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 14:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 14:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 14:37:03] Production.INFO: ==4127== Lock acquired, processing the job...
[2025-04-12 14:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 14:37:03] Production.INFO: ==4131== Lock acquired, processing the job...
[2025-04-12 14:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 14:37:03] Production.INFO: Account Balance Start.
[2025-04-12 14:37:03] Production.INFO: CreateAllLog Start
[2025-04-12 14:37:03] Production.INFO: 117
[2025-04-12 14:37:03] Production.INFO: Date 2025-04-08
[2025-04-12 14:37:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:37:03] Production.ERROR: done
[2025-04-12 14:37:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 14:37:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 14:37:03] Production.INFO: Date 2025-04-09
[2025-04-12 14:37:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:37:04] Production.ERROR: done
[2025-04-12 14:37:04] Production.INFO: count ==12
[2025-04-12 14:37:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 14:37:04] Production.INFO: count ==23
[2025-04-12 14:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892216') start
[2025-04-12 14:37:04] Production.INFO: Date 2025-04-10
[2025-04-12 14:37:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:37:04] Production.INFO: Date 2025-04-11
[2025-04-12 14:37:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892216') end
[2025-04-12 14:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 14:37:04] Production.INFO: 1
[2025-04-12 14:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 14:37:04] Production.INFO: Date 2025-04-12
[2025-04-12 14:37:04] Production.INFO: ==4131== Releasing lock...
[2025-04-12 14:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 14:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 14:37:04] Production.INFO: ==4123== Releasing lock...
[2025-04-12 14:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 14:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 14:37:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:37:04] Production.INFO: Total Charge 0
[2025-04-12 14:37:04] Production.INFO: CreateAllLog End
[2025-04-12 14:37:04] Production.INFO: Account Balance End.
[2025-04-12 14:37:04] Production.ERROR: CronJobId end 12
[2025-04-12 14:37:04] Production.INFO: ==4127== Releasing lock...
[2025-04-12 14:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 14:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 14:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 11:37:05
[end_date_ymd] => 2025-04-12 14:37:05
[RateCDR] => 1
)
[2025-04-12 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-12 11:37:05' and `end` < '2025-04-12 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-12 14:37:11] Production.ERROR: CronJobId end10
[2025-04-12 14:37:11] Production.INFO: ==4125== Releasing lock...
[2025-04-12 14:37:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 14:37:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 14:37:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 14:37:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 14:37:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 14:37:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 14:37:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 14:37:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 14:37:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 14:37:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 14:37:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 14:37:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 14:37:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 14:37:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 14:37:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 14:37:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 14:37:14] Production.INFO: call_cost start
[2025-04-12 14:37:14] Production.INFO: call_cost end
[2025-04-12 14:37:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 14:37:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 14:37:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 14:37:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 14:37:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 14:37:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 14:37:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 14:37:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 14:37:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 14:37:15] Production.INFO: ==4121== Releasing lock...
[2025-04-12 14:37:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 14:37:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 14:37:18] Production.INFO: count ==1568
[2025-04-12 14:37:18] Production.ERROR: pbx CDR StartTime 2025-04-12 11:37:05 - End Time 2025-04-12 14:37:05
[2025-04-12 14:37:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 14:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892218', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892218', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892218', 'tblTempVendorCDR_20' ) start
[2025-04-12 14:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892218', 'tblTempVendorCDR_20' ) end
[2025-04-12 14:37:18] Production.INFO: ProcessCDR(1,14892218,1,1,2)
[2025-04-12 14:37:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892218,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:37:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892218,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:37:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892218,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:37:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892218,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892218', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892218', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:37:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 14:37:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 14:37:22] Production.INFO: ==4129== Releasing lock...
[2025-04-12 14:37:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 14:37:22] Production.INFO: 39.75 MB #Memory Used#
[2025-04-12 19:38:01] Production.INFO: ==4198== Lock acquired, processing the job...
[2025-04-12 19:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 19:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 19:38:01] Production.INFO: neon service started
[2025-04-12 19:38:01] Production.INFO: neon service started
[2025-04-12 19:38:01] Production.INFO: ==4198== Releasing lock...
[2025-04-12 19:38:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 19:38:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 14:38:02] Production.INFO: ==4200== Lock acquired, processing the job...
[2025-04-12 14:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 18:38:02] Production.INFO: ==4202== Lock acquired, processing the job...
[2025-04-12 18:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 18:38:02] Production.INFO: ==4202== Releasing lock...
[2025-04-12 18:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 18:38:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 14:38:03] Production.INFO: ==4200== Releasing lock...
[2025-04-12 14:38:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 14:38:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 14:38:03] Production.INFO: ==4205== Lock acquired, processing the job...
[2025-04-12 14:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 14:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 14:38:03] Production.INFO: ==4209== Lock acquired, processing the job...
[2025-04-12 14:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 14:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 14:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 14:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 14:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 14:38:04] Production.INFO: ==4207== Lock acquired, processing the job...
[2025-04-12 14:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 14:38:04] Production.INFO: ==4215== Lock acquired, processing the job...
[2025-04-12 14:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 14:38:04] Production.INFO: ==4211== Lock acquired, processing the job...
[2025-04-12 14:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 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-12 14:38:04] Production.INFO: ==4213== Lock acquired, processing the job...
[2025-04-12 14:38:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 14:38:04] Production.INFO: count ==12
[2025-04-12 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-12 14:38:04] Production.INFO: count ==23
[2025-04-12 14:38:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 14:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892220') start
[2025-04-12 14:38:04] Production.INFO: Account Balance Start.
[2025-04-12 14:38:04] Production.INFO: CreateAllLog Start
[2025-04-12 14:38:04] Production.INFO: 117
[2025-04-12 14:38:04] Production.INFO: Date 2025-04-08
[2025-04-12 14:38:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:38:04] Production.INFO: Date 2025-04-09
[2025-04-12 14:38:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:38:04] Production.INFO: Date 2025-04-10
[2025-04-12 14:38:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:38:04] Production.INFO: ==4207== Releasing lock...
[2025-04-12 14:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 14:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 14:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892220') end
[2025-04-12 14:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 14:38:04] Production.INFO: 1
[2025-04-12 14:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 14:38:04] Production.INFO: Date 2025-04-11
[2025-04-12 14:38:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:38:04] Production.INFO: Date 2025-04-12
[2025-04-12 14:38:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:38:04] Production.INFO: ==4215== Releasing lock...
[2025-04-12 14:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 14:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 14:38:04] Production.INFO: Total Charge 0
[2025-04-12 14:38:04] Production.INFO: CreateAllLog End
[2025-04-12 14:38:04] Production.ERROR: done
[2025-04-12 14:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 14:38:04] Production.INFO: Account Balance End.
[2025-04-12 14:38:05] Production.ERROR: CronJobId end 12
[2025-04-12 14:38:05] Production.INFO: ==4211== Releasing lock...
[2025-04-12 14:38:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 14:38:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 14:38:05] Production.ERROR: done
[2025-04-12 14:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 11:38:05
[end_date_ymd] => 2025-04-12 14:38:05
[RateCDR] => 1
)
[2025-04-12 14:38:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 11:38:05' and `end` < '2025-04-12 14:38:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 14:38:12] Production.ERROR: CronJobId end10
[2025-04-12 14:38:12] Production.INFO: ==4209== Releasing lock...
[2025-04-12 14:38:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 14:38:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 14:38:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 14:38:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 14:38:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 14:38:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 14:38:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 14:38:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 14:38:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 14:38:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 14:38:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 14:38:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 14:38:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 14:38:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 14:38:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 14:38:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 14:38:14] Production.INFO: call_cost start
[2025-04-12 14:38:14] Production.INFO: call_cost end
[2025-04-12 14:38:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 14:38:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 14:38:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 14:38:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 14:38:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 14:38:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 14:38:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 14:38:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 14:38:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 14:38:15] Production.INFO: ==4205== Releasing lock...
[2025-04-12 14:38:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 14:38:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 14:38:18] Production.INFO: count ==1566
[2025-04-12 14:38:19] Production.ERROR: pbx CDR StartTime 2025-04-12 11:38:05 - End Time 2025-04-12 14:38:05
[2025-04-12 14:38:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 14:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892223', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892223', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892223', 'tblTempVendorCDR_20' ) start
[2025-04-12 14:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892223', 'tblTempVendorCDR_20' ) end
[2025-04-12 14:38:19] Production.INFO: ProcessCDR(1,14892223,1,1,2)
[2025-04-12 14:38:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892223,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:38:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892223,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:38:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892223,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:38:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892223,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:38:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892223', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:38:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892223', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:38:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 14:38:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 14:38:24] Production.INFO: ==4213== Releasing lock...
[2025-04-12 14:38:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 14:38:24] Production.INFO: 39.75 MB #Memory Used#
[2025-04-12 19:39:01] Production.INFO: ==4280== Lock acquired, processing the job...
[2025-04-12 19:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 19:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 19:39:01] Production.INFO: neon service started
[2025-04-12 19:39:01] Production.INFO: neon service started
[2025-04-12 19:39:01] Production.INFO: ==4280== Releasing lock...
[2025-04-12 19:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 19:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 14:39:02] Production.INFO: ==4282== Lock acquired, processing the job...
[2025-04-12 14:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 18:39:02] Production.INFO: ==4284== Lock acquired, processing the job...
[2025-04-12 18:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 18:39:02] Production.INFO: ==4284== Releasing lock...
[2025-04-12 18:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 18:39:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 14:39:02] Production.INFO: ==4282== Releasing lock...
[2025-04-12 14:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 14:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 14:39:03] Production.INFO: ==4295== Lock acquired, processing the job...
[2025-04-12 14:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 14:39:03] Production.INFO: ==4293== Lock acquired, processing the job...
[2025-04-12 14:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 14:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 14:39:03] Production.INFO: ==4287== Lock acquired, processing the job...
[2025-04-12 14:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 14:39:03] Production.INFO: Account Balance Start.
[2025-04-12 14:39:03] Production.INFO: CreateAllLog Start
[2025-04-12 14:39:03] Production.INFO: 117
[2025-04-12 14:39:03] Production.INFO: ==4289== Lock acquired, processing the job...
[2025-04-12 14:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 14:39:03] Production.INFO: Date 2025-04-08
[2025-04-12 14:39:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:39:03] Production.INFO: Date 2025-04-09
[2025-04-12 14:39:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:39:03] Production.INFO: ==4291== Lock acquired, processing the job...
[2025-04-12 14:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 14:39:03] Production.INFO: ==4297== Lock acquired, processing the job...
[2025-04-12 14:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 14:39:03] Production.INFO: Date 2025-04-10
[2025-04-12 14:39:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 14:39:03] Production.INFO: Date 2025-04-11
[2025-04-12 14:39:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:39:03] Production.INFO: Date 2025-04-12
[2025-04-12 14:39:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 14:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 14:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 14:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 14:39:03] Production.INFO: Total Charge 0
[2025-04-12 14:39:03] Production.INFO: CreateAllLog End
[2025-04-12 14:39:03] Production.ERROR: done
[2025-04-12 14:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 14:39:04] Production.INFO: ==4289== Releasing lock...
[2025-04-12 14:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 14:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 14:39:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 14:39:04] Production.INFO: count ==12
[2025-04-12 14:39:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 14:39:04] Production.INFO: count ==23
[2025-04-12 14:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892227') start
[2025-04-12 14:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892227') end
[2025-04-12 14:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 14:39:04] Production.INFO: 1
[2025-04-12 14:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 14:39:04] Production.ERROR: done
[2025-04-12 14:39:04] Production.INFO: ==4297== Releasing lock...
[2025-04-12 14:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 14:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 14:39:04] Production.INFO: Account Balance End.
[2025-04-12 14:39:04] Production.ERROR: CronJobId end 12
[2025-04-12 14:39:04] Production.INFO: ==4293== Releasing lock...
[2025-04-12 14:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 14:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 14:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 11:39:05
[end_date_ymd] => 2025-04-12 14:39:05
[RateCDR] => 1
)
[2025-04-12 14:39:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 11:39:05' and `end` < '2025-04-12 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-12 14:39:12] Production.ERROR: CronJobId end10
[2025-04-12 14:39:12] Production.INFO: ==4291== Releasing lock...
[2025-04-12 14:39:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 14:39:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 14:39:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 14:39:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 14:39:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 14:39:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 14:39:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 14:39:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 14:39:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 14:39:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 14:39:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 14:39:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 14:39:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 14:39:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 14:39:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 14:39:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 14:39:13] Production.INFO: call_cost start
[2025-04-12 14:39:13] Production.INFO: call_cost end
[2025-04-12 14:39:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 14:39:14] Production.INFO: ============== Report Schedule START===========
[2025-04-12 14:39:14] Production.INFO: ============== Report Schedule END===========
[2025-04-12 14:39:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 14:39:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 14:39:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 14:39:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 14:39:14] Production.INFO: ============== Deal alert START===========
[2025-04-12 14:39:14] Production.INFO: ============== Deal alert END===========
[2025-04-12 14:39:14] Production.INFO: ==4287== Releasing lock...
[2025-04-12 14:39:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 14:39:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 14:39:18] Production.INFO: count ==1578
[2025-04-12 14:39:18] Production.ERROR: pbx CDR StartTime 2025-04-12 11:39:05 - End Time 2025-04-12 14:39:05
[2025-04-12 14:39:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 14:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892228', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892228', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892228', 'tblTempVendorCDR_20' ) start
[2025-04-12 14:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892228', 'tblTempVendorCDR_20' ) end
[2025-04-12 14:39:18] Production.INFO: ProcessCDR(1,14892228,1,1,2)
[2025-04-12 14:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892228,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:39:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892228,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:39:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892228,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:39:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892228,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:39:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892228', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:39:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892228', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:39:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 14:39:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 14:39:24] Production.INFO: ==4295== Releasing lock...
[2025-04-12 14:39:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 14:39:24] Production.INFO: 40 MB #Memory Used#
[2025-04-12 19:40:01] Production.INFO: ==4354== Lock acquired, processing the job...
[2025-04-12 19:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 19:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 19:40:01] Production.INFO: neon service started
[2025-04-12 19:40:01] Production.INFO: neon service started
[2025-04-12 19:40:01] Production.INFO: ==4354== Releasing lock...
[2025-04-12 19:40:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 19:40:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 14:40:02] Production.INFO: ==4356== Lock acquired, processing the job...
[2025-04-12 14:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 14:40:02] Production.INFO: ==4356== Releasing lock...
[2025-04-12 14:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 14:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 18:40:02] Production.INFO: ==4358== Lock acquired, processing the job...
[2025-04-12 18:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 18:40:02] Production.INFO: ==4358== Releasing lock...
[2025-04-12 18:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 18:40:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 14:40:03] Production.INFO: ==4362== Lock acquired, processing the job...
[2025-04-12 14:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 14:40:04] Production.INFO: ==4368== Lock acquired, processing the job...
[2025-04-12 14:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 14:40:04] Production.INFO: ==4374== Lock acquired, processing the job...
[2025-04-12 14:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 14:40:04] Production.INFO: ==4360== Lock acquired, processing the job...
[2025-04-12 14:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 14:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 14:40:04] Production.INFO: Account Balance Start.
[2025-04-12 14:40:04] Production.INFO: CreateAllLog Start
[2025-04-12 14:40:04] Production.INFO: 117
[2025-04-12 14:40:04] Production.INFO: Date 2025-04-08
[2025-04-12 14:40:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 14:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 14:40:04] Production.ERROR: CronJob PID - 4362
[2025-04-12 14:40:04] Production.ERROR: CronJob Title - System Alerts
[2025-04-12 14:40:04] Production.ERROR: CronJob ID - 5
[2025-04-12 14:40:04] Production.ERROR: CronJob Last Run Time 2025-04-12 14:40:00
[2025-04-12 14:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 14:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 14:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 14:40:04] Production.ERROR: CronJob PID - 4368
[2025-04-12 14:40:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-04-12 14:40:04] Production.ERROR: CronJob ID - 12
[2025-04-12 14:40:04] Production.ERROR: CronJob Last Run Time 2025-04-12 14:40:00
[2025-04-12 14:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 14:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 14:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 14:40:04] Production.ERROR: CronJob PID - 4374
[2025-04-12 14:40:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-04-12 14:40:04] Production.ERROR: CronJob ID - 19
[2025-04-12 14:40:04] Production.ERROR: CronJob Last Run Time 2025-04-12 14:40:00
[2025-04-12 14:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 14:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 14:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 14:40:04] Production.INFO: ==4360== Releasing lock...
[2025-04-12 14:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 14:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 14:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 14:40:04] Production.INFO: Date 2025-04-09
[2025-04-12 14:40:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:40:04] Production.INFO: count ==12
[2025-04-12 14:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 14:40:04] Production.INFO: count ==23
[2025-04-12 14:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892231') start
[2025-04-12 14:40:04] Production.INFO: Date 2025-04-10
[2025-04-12 14:40:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:40:04] Production.INFO: ==4364== Lock acquired, processing the job...
[2025-04-12 14:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 14:40:04] Production.INFO: Date 2025-04-11
[2025-04-12 14:40:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:40:04] Production.INFO: ==4366== Lock acquired, processing the job...
[2025-04-12 14:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 14:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892231') end
[2025-04-12 14:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 14:40:04] Production.INFO: 1
[2025-04-12 14:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 14:40:04] Production.INFO: ==4374== Releasing lock...
[2025-04-12 14:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 14:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 14:40:04] Production.INFO: Date 2025-04-12
[2025-04-12 14:40:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:40:04] Production.INFO: ==4370== Lock acquired, processing the job...
[2025-04-12 14:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 14:40:04] Production.INFO: Total Charge 0
[2025-04-12 14:40:04] Production.INFO: CreateAllLog End
[2025-04-12 14:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 14:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 14:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 14:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 14:40:04] Production.INFO: ==4372== Lock acquired, processing the job...
[2025-04-12 14:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 14:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 14:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 14:40:04] Production.INFO: Account Balance End.
[2025-04-12 14:40:04] Production.ERROR: CronJobId end 12
[2025-04-12 14:40:04] Production.INFO: ==4368== Releasing lock...
[2025-04-12 14:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 14:40:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 14:40:04] Production.INFO: ==4364== Releasing lock...
[2025-04-12 14:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 14:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 14:40:05] Production.ERROR: done
[2025-04-12 14:40:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 14:40:05] Production.ERROR: done
[2025-04-12 14:40:05] Production.ERROR: done
[2025-04-12 14:40:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 14:40:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14892233', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 14:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 11:40:06
[end_date_ymd] => 2025-04-12 14:40:06
[RateCDR] => 1
)
[2025-04-12 14:40:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 11:40:06' and `end` < '2025-04-12 14:40:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 14:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14892233', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 14:40:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 14:40:09] Production.INFO: ProcessCDR(1,14892233,1,1,2)
[2025-04-12 14:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14892233,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14892233,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 14:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 14:40:09] Production.INFO: ==4372== Releasing lock...
[2025-04-12 14:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 14:40:09] Production.INFO: 26 MB #Memory Used#
[2025-04-12 14:40:14] Production.ERROR: CronJobId end10
[2025-04-12 14:40:14] Production.INFO: ==4366== Releasing lock...
[2025-04-12 14:40:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 14:40:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 14:40:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 14:40:16] Production.INFO: ============== Balance Warning START===========
[2025-04-12 14:40:16] Production.INFO: ============== Balance Warning END===========
[2025-04-12 14:40:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 14:40:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 14:40:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 14:40:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 14:40:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 14:40:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 14:40:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 14:40:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 14:40:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 14:40:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 14:40:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 14:40:17] Production.INFO: call_cost start
[2025-04-12 14:40:17] Production.INFO: call_cost end
[2025-04-12 14:40:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 14:40:18] Production.INFO: ============== Report Schedule START===========
[2025-04-12 14:40:18] Production.INFO: ============== Report Schedule END===========
[2025-04-12 14:40:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 14:40:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 14:40:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 14:40:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 14:40:18] Production.INFO: ============== Deal alert START===========
[2025-04-12 14:40:18] Production.INFO: ============== Deal alert END===========
[2025-04-12 14:40:18] Production.INFO: ==4362== Releasing lock...
[2025-04-12 14:40:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 14:40:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 14:40:19] Production.INFO: count ==1577
[2025-04-12 14:40:20] Production.ERROR: pbx CDR StartTime 2025-04-12 11:40:06 - End Time 2025-04-12 14:40:06
[2025-04-12 14:40:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 14:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892234', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892234', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892234', 'tblTempVendorCDR_20' ) start
[2025-04-12 14:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892234', 'tblTempVendorCDR_20' ) end
[2025-04-12 14:40:20] Production.INFO: ProcessCDR(1,14892234,1,1,2)
[2025-04-12 14:40:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892234,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:40:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892234,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:40:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892234,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:40:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892234,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892234', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892234', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:40:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 14:40:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 14:40:23] Production.INFO: ==4370== Releasing lock...
[2025-04-12 14:40:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 14:40:23] Production.INFO: 39.75 MB #Memory Used#
[2025-04-12 19:41:01] Production.INFO: ==4429== Lock acquired, processing the job...
[2025-04-12 19:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 19:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 19:41:01] Production.INFO: neon service started
[2025-04-12 19:41:01] Production.INFO: neon service started
[2025-04-12 19:41:01] Production.INFO: ==4429== Releasing lock...
[2025-04-12 19:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 19:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 18:41:01] Production.INFO: ==4433== Lock acquired, processing the job...
[2025-04-12 18:41:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 18:41:01] Production.INFO: ==4433== Releasing lock...
[2025-04-12 18:41:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 18:41:01] Production.INFO: 25 MB #Memory Used#
[2025-04-12 14:41:02] Production.INFO: ==4431== Lock acquired, processing the job...
[2025-04-12 14:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 14:41:02] Production.INFO: ==4431== Releasing lock...
[2025-04-12 14:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 14:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 14:41:03] Production.INFO: ==4443== Lock acquired, processing the job...
[2025-04-12 14:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 14:41:03] Production.INFO: ==4437== Lock acquired, processing the job...
[2025-04-12 14:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 14:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 14:41:03] Production.INFO: ==4439== Lock acquired, processing the job...
[2025-04-12 14:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 14:41:03] Production.INFO: ==4448== Lock acquired, processing the job...
[2025-04-12 14:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 14:41:03] Production.INFO: ==4441== Lock acquired, processing the job...
[2025-04-12 14:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 14:41:03] Production.INFO: Account Balance Start.
[2025-04-12 14:41:03] Production.INFO: CreateAllLog Start
[2025-04-12 14:41:03] Production.INFO: 117
[2025-04-12 14:41:03] Production.INFO: Date 2025-04-08
[2025-04-12 14:41:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:41:03] Production.INFO: Date 2025-04-09
[2025-04-12 14:41:03] Production.INFO: ==4445== Lock acquired, processing the job...
[2025-04-12 14:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 14:41:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:41:03] Production.INFO: Date 2025-04-10
[2025-04-12 14:41:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:41:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 14:41:03] Production.INFO: count ==12
[2025-04-12 14:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 14:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 14:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 14:41:03] Production.INFO: Date 2025-04-11
[2025-04-12 14:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 14:41:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 14:41:03] Production.INFO: Date 2025-04-12
[2025-04-12 14:41:03] Production.INFO: Reseller ==> 0
[2025-04-12 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-12 14:41:03] Production.INFO: count ==23
[2025-04-12 14:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14892237') start
[2025-04-12 14:41:03] Production.INFO: Total Charge 0
[2025-04-12 14:41:03] Production.INFO: CreateAllLog End
[2025-04-12 14:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14892237') end
[2025-04-12 14:41:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 14:41:03] Production.INFO: 1
[2025-04-12 14:41:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 14:41:03] Production.INFO: ==4439== Releasing lock...
[2025-04-12 14:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 14:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 14:41:03] Production.INFO: Account Balance End.
[2025-04-12 14:41:03] Production.INFO: ==4448== Releasing lock...
[2025-04-12 14:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 14:41:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 14:41:03] Production.ERROR: CronJobId end 12
[2025-04-12 14:41:03] Production.INFO: ==4443== Releasing lock...
[2025-04-12 14:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 14:41:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 14:41:04] Production.ERROR: done
[2025-04-12 14:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 14:41:04] Production.ERROR: done
[2025-04-12 14:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 11:41:05
[end_date_ymd] => 2025-04-12 14:41:05
[RateCDR] => 1
)
[2025-04-12 14:41:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 11:41:05' and `end` < '2025-04-12 14:41:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 14:41:11] Production.ERROR: CronJobId end10
[2025-04-12 14:41:11] Production.INFO: ==4441== Releasing lock...
[2025-04-12 14:41:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 14:41:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 14:41:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 14:41:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 14:41:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 14:41:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 14:41:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 14:41:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 14:41:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 14:41:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 14:41:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 14:41:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 14:41:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 14:41:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 14:41:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 14:41:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 14:41:14] Production.INFO: call_cost start
[2025-04-12 14:41:14] Production.INFO: call_cost end
[2025-04-12 14:41:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 14:41:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 14:41:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 14:41:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 14:41:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 14:41:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 14:41:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 14:41:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 14:41:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 14:41:15] Production.INFO: ==4437== Releasing lock...
[2025-04-12 14:41:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 14:41:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 14:41:18] Production.INFO: count ==1587
[2025-04-12 14:41:18] Production.ERROR: pbx CDR StartTime 2025-04-12 11:41:05 - End Time 2025-04-12 14:41:05
[2025-04-12 14:41:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 14:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892239', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892239', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892239', 'tblTempVendorCDR_20' ) start
[2025-04-12 14:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892239', 'tblTempVendorCDR_20' ) end
[2025-04-12 14:41:18] Production.INFO: ProcessCDR(1,14892239,1,1,2)
[2025-04-12 14:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892239,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:41:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892239,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:41:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892239,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:41:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892239,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892239', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892239', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:41:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 14:41:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 14:41:22] Production.INFO: ==4445== Releasing lock...
[2025-04-12 14:41:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 14:41:22] Production.INFO: 39.75 MB #Memory Used#
[2025-04-12 19:42:01] Production.INFO: ==4503== Lock acquired, processing the job...
[2025-04-12 19:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 19:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 19:42:01] Production.INFO: neon service started
[2025-04-12 19:42:01] Production.INFO: neon service started
[2025-04-12 19:42:01] Production.INFO: ==4503== Releasing lock...
[2025-04-12 19:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 19:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 14:42:02] Production.INFO: ==4505== Lock acquired, processing the job...
[2025-04-12 14:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 18:42:02] Production.INFO: ==4507== Lock acquired, processing the job...
[2025-04-12 18:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 14:42:02] Production.INFO: ==4505== Releasing lock...
[2025-04-12 14:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 14:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 18:42:02] Production.INFO: ==4507== Releasing lock...
[2025-04-12 18:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 18:42:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 14:42:03] Production.INFO: ==4509== Lock acquired, processing the job...
[2025-04-12 14:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 14:42:03] Production.INFO: ==4511== Lock acquired, processing the job...
[2025-04-12 14:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 14:42:03] Production.INFO: ==4517== Lock acquired, processing the job...
[2025-04-12 14:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 14:42:03] Production.INFO: ==4513== Lock acquired, processing the job...
[2025-04-12 14:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 14:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 14:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 14:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 14:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 14:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 14:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 14:42:03] Production.INFO: ==4515== Lock acquired, processing the job...
[2025-04-12 14:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 14:42:04] Production.INFO: ==4520== Lock acquired, processing the job...
[2025-04-12 14:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 14:42:04] Production.INFO: Account Balance Start.
[2025-04-12 14:42:04] Production.INFO: CreateAllLog Start
[2025-04-12 14:42:04] Production.INFO: 117
[2025-04-12 14:42:04] Production.INFO: Date 2025-04-08
[2025-04-12 14:42:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:42:04] Production.INFO: Date 2025-04-09
[2025-04-12 14:42:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:42:04] Production.INFO: Date 2025-04-10
[2025-04-12 14:42:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:42:04] Production.INFO: Date 2025-04-11
[2025-04-12 14:42:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:42:04] Production.ERROR: done
[2025-04-12 14:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 14:42:04] Production.INFO: Date 2025-04-12
[2025-04-12 14:42:04] Production.INFO: ==4511== Releasing lock...
[2025-04-12 14:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 14:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 14:42:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:42:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 14:42:04] Production.INFO: Total Charge 0
[2025-04-12 14:42:04] Production.INFO: count ==12
[2025-04-12 14:42:04] Production.ERROR: done
[2025-04-12 14:42:04] Production.INFO: CreateAllLog End
[2025-04-12 14:42:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 14:42:04] Production.INFO: count ==23
[2025-04-12 14:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892243') start
[2025-04-12 14:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892243') end
[2025-04-12 14:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 14:42:04] Production.INFO: 1
[2025-04-12 14:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 14:42:04] Production.INFO: ==4520== Releasing lock...
[2025-04-12 14:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 14:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 14:42:04] Production.INFO: Account Balance End.
[2025-04-12 14:42:04] Production.ERROR: CronJobId end 12
[2025-04-12 14:42:04] Production.INFO: ==4515== Releasing lock...
[2025-04-12 14:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 14:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 14:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 11:42:05
[end_date_ymd] => 2025-04-12 14:42:05
[RateCDR] => 1
)
[2025-04-12 14:42:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 11:42:05' and `end` < '2025-04-12 14:42:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 14:42:12] Production.ERROR: CronJobId end10
[2025-04-12 14:42:12] Production.INFO: ==4513== Releasing lock...
[2025-04-12 14:42:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 14:42:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 14:42:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 14:42:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 14:42:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 14:42:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 14:42:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 14:42:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 14:42:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 14:42:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 14:42:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 14:42:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 14:42:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 14:42:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 14:42:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 14:42:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 14:42:15] Production.INFO: call_cost start
[2025-04-12 14:42:15] Production.INFO: call_cost end
[2025-04-12 14:42:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 14:42:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 14:42:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 14:42:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 14:42:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 14:42:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 14:42:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 14:42:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 14:42:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 14:42:16] Production.INFO: ==4509== Releasing lock...
[2025-04-12 14:42:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 14:42:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 14:42:18] Production.INFO: count ==1585
[2025-04-12 14:42:19] Production.ERROR: pbx CDR StartTime 2025-04-12 11:42:05 - End Time 2025-04-12 14:42:05
[2025-04-12 14:42:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 14:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892244', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892244', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892244', 'tblTempVendorCDR_20' ) start
[2025-04-12 14:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892244', 'tblTempVendorCDR_20' ) end
[2025-04-12 14:42:19] Production.INFO: ProcessCDR(1,14892244,1,1,2)
[2025-04-12 14:42:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892244,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:42:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892244,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:42:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892244,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:42:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892244,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892244', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892244', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:42:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 14:42:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 14:42:22] Production.INFO: ==4517== Releasing lock...
[2025-04-12 14:42:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 14:42:22] Production.INFO: 39.75 MB #Memory Used#
[2025-04-12 19:43:01] Production.INFO: ==4579== Lock acquired, processing the job...
[2025-04-12 19:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 19:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 19:43:01] Production.INFO: neon service started
[2025-04-12 19:43:01] Production.INFO: neon service started
[2025-04-12 19:43:01] Production.INFO: ==4579== Releasing lock...
[2025-04-12 19:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 19:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 14:43:02] Production.INFO: ==4583== Lock acquired, processing the job...
[2025-04-12 14:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 18:43:02] Production.INFO: ==4585== Lock acquired, processing the job...
[2025-04-12 18:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 18:43:02] Production.INFO: ==4585== Releasing lock...
[2025-04-12 18:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 18:43:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 14:43:02] Production.INFO: ==4583== Releasing lock...
[2025-04-12 14:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 14:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 14:43:03] Production.INFO: ==4588== Lock acquired, processing the job...
[2025-04-12 14:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 14:43:03] Production.INFO: ==4590== Lock acquired, processing the job...
[2025-04-12 14:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 14:43:03] Production.INFO: ==4596== Lock acquired, processing the job...
[2025-04-12 14:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 14:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 14:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 14:43:03] Production.INFO: ==4592== Lock acquired, processing the job...
[2025-04-12 14:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 14:43:03] Production.INFO: ==4590== Releasing lock...
[2025-04-12 14:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 14:43:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 14:43:03] Production.INFO: ==4594== Lock acquired, processing the job...
[2025-04-12 14:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 14:43:03] Production.INFO: ==4598== Lock acquired, processing the job...
[2025-04-12 14:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 14:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 14:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 14:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 14:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 14:43:03] Production.ERROR: done
[2025-04-12 14:43:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 14:43:03] Production.INFO: Account Balance Start.
[2025-04-12 14:43:03] Production.INFO: CreateAllLog Start
[2025-04-12 14:43:03] Production.INFO: 117
[2025-04-12 14:43:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 14:43:03] Production.INFO: Date 2025-04-08
[2025-04-12 14:43:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:43:03] Production.INFO: count ==12
[2025-04-12 14:43:03] Production.INFO: Date 2025-04-09
[2025-04-12 14:43:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:43:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 14:43:03] Production.INFO: count ==23
[2025-04-12 14:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14892247') start
[2025-04-12 14:43:03] Production.ERROR: done
[2025-04-12 14:43:03] Production.INFO: Date 2025-04-10
[2025-04-12 14:43:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:43:04] Production.INFO: Date 2025-04-11
[2025-04-12 14:43:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:43:04] Production.INFO: Date 2025-04-12
[2025-04-12 14:43:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892247') end
[2025-04-12 14:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 14:43:04] Production.INFO: 1
[2025-04-12 14:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 14:43:04] Production.INFO: ==4598== Releasing lock...
[2025-04-12 14:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 14:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 14:43:04] Production.INFO: Total Charge 0
[2025-04-12 14:43:04] Production.INFO: CreateAllLog End
[2025-04-12 14:43:04] Production.INFO: Account Balance End.
[2025-04-12 14:43:04] Production.ERROR: CronJobId end 12
[2025-04-12 14:43:04] Production.INFO: ==4594== Releasing lock...
[2025-04-12 14:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 14:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 14:43:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 11:43:04
[end_date_ymd] => 2025-04-12 14:43:04
[RateCDR] => 1
)
[2025-04-12 14: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-12 11:43:04' and `end` < '2025-04-12 14: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-12 14:43:10] Production.ERROR: CronJobId end10
[2025-04-12 14:43:10] Production.INFO: ==4592== Releasing lock...
[2025-04-12 14:43:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 14:43:10] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 14:43:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 14:43:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 14:43:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 14:43:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 14:43:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 14:43:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 14:43:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 14:43:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 14:43:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 14:43:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 14:43:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 14:43:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 14:43:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 14:43:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 14:43:14] Production.INFO: call_cost start
[2025-04-12 14:43:14] Production.INFO: call_cost end
[2025-04-12 14:43:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 14:43:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 14:43:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 14:43:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 14:43:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 14:43:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 14:43:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 14:43:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 14:43:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 14:43:15] Production.INFO: ==4588== Releasing lock...
[2025-04-12 14:43:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 14:43:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 14:43:18] Production.INFO: count ==1574
[2025-04-12 14:43:18] Production.ERROR: pbx CDR StartTime 2025-04-12 11:43:04 - End Time 2025-04-12 14:43:04
[2025-04-12 14:43:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 14:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892249', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892249', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892249', 'tblTempVendorCDR_20' ) start
[2025-04-12 14:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892249', 'tblTempVendorCDR_20' ) end
[2025-04-12 14:43:18] Production.INFO: ProcessCDR(1,14892249,1,1,2)
[2025-04-12 14:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892249,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:43:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892249,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:43:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892249,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:43:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892249,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892249', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892249', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:43:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 14:43:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 14:43:21] Production.INFO: ==4596== Releasing lock...
[2025-04-12 14:43:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 14:43:21] Production.INFO: 39.75 MB #Memory Used#
[2025-04-12 19:44:01] Production.INFO: ==4657== Lock acquired, processing the job...
[2025-04-12 19:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 19:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 19:44:01] Production.INFO: neon service started
[2025-04-12 19:44:01] Production.INFO: neon service started
[2025-04-12 19:44:01] Production.INFO: ==4657== Releasing lock...
[2025-04-12 19:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 19:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 14:44:02] Production.INFO: ==4659== Lock acquired, processing the job...
[2025-04-12 14:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 14:44:02] Production.INFO: ==4659== Releasing lock...
[2025-04-12 14:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 14:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 18:44:02] Production.INFO: ==4661== Lock acquired, processing the job...
[2025-04-12 18:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 18:44:02] Production.INFO: ==4661== Releasing lock...
[2025-04-12 18:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 18:44:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 14:44:03] Production.INFO: ==4671== Lock acquired, processing the job...
[2025-04-12 14:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 14:44:03] Production.INFO: ==4673== Lock acquired, processing the job...
[2025-04-12 14:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 14:44:03] Production.INFO: ==4663== Lock acquired, processing the job...
[2025-04-12 14:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 14:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 14:44:03] Production.INFO: ==4665== Lock acquired, processing the job...
[2025-04-12 14:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 14:44:03] Production.INFO: ==4667== Lock acquired, processing the job...
[2025-04-12 14:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 14:44:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 14:44:03] Production.INFO: ==4669== Lock acquired, processing the job...
[2025-04-12 14:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 14:44:03] Production.INFO: count ==12
[2025-04-12 14:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 14:44:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 14:44:03] Production.INFO: count ==23
[2025-04-12 14:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14892250') start
[2025-04-12 14:44:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 14:44:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 14:44:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 14:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 14:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892250') end
[2025-04-12 14:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 14:44:04] Production.INFO: 1
[2025-04-12 14:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 14:44:04] Production.INFO: Account Balance Start.
[2025-04-12 14:44:04] Production.INFO: CreateAllLog Start
[2025-04-12 14:44:04] Production.INFO: 117
[2025-04-12 14:44:04] Production.INFO: Date 2025-04-08
[2025-04-12 14:44:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:44:04] Production.INFO: ==4673== Releasing lock...
[2025-04-12 14:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 14:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 14:44:04] Production.ERROR: done
[2025-04-12 14:44:04] Production.INFO: Date 2025-04-09
[2025-04-12 14:44:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 14:44:04] Production.INFO: Date 2025-04-10
[2025-04-12 14:44:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:44:04] Production.INFO: Date 2025-04-11
[2025-04-12 14:44:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:44:04] Production.INFO: Date 2025-04-12
[2025-04-12 14:44:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:44:04] Production.INFO: Total Charge 0
[2025-04-12 14:44:04] Production.INFO: CreateAllLog End
[2025-04-12 14:44:04] Production.ERROR: done
[2025-04-12 14:44:04] Production.INFO: ==4665== Releasing lock...
[2025-04-12 14:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 14:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 14:44:04] Production.INFO: Account Balance End.
[2025-04-12 14:44:04] Production.ERROR: CronJobId end 12
[2025-04-12 14:44:04] Production.INFO: ==4669== Releasing lock...
[2025-04-12 14:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 14:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 14:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 11:44:05
[end_date_ymd] => 2025-04-12 14:44:05
[RateCDR] => 1
)
[2025-04-12 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-12 11:44:05' and `end` < '2025-04-12 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-12 14:44:12] Production.ERROR: CronJobId end10
[2025-04-12 14:44:12] Production.INFO: ==4667== Releasing lock...
[2025-04-12 14:44:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 14:44:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 14:44:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 14:44:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 14:44:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 14:44:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 14:44:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 14:44:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 14:44:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 14:44:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 14:44:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 14:44:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 14:44:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 14:44:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 14:44:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 14:44:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 14:44:15] Production.INFO: call_cost start
[2025-04-12 14:44:15] Production.INFO: call_cost end
[2025-04-12 14:44:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 14:44:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 14:44:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 14:44:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 14:44:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 14:44:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 14:44:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 14:44:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 14:44:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 14:44:16] Production.INFO: ==4663== Releasing lock...
[2025-04-12 14:44:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 14:44:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 14:44:18] Production.INFO: count ==1585
[2025-04-12 14:44:19] Production.ERROR: pbx CDR StartTime 2025-04-12 11:44:05 - End Time 2025-04-12 14:44:05
[2025-04-12 14:44:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 14:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892254', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892254', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892254', 'tblTempVendorCDR_20' ) start
[2025-04-12 14:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892254', 'tblTempVendorCDR_20' ) end
[2025-04-12 14:44:19] Production.INFO: ProcessCDR(1,14892254,1,1,2)
[2025-04-12 14:44:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892254,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:44:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892254,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:44:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892254,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:44:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892254,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:44:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892254', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:44:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892254', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:44:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 14:44:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 14:44:24] Production.INFO: ==4671== Releasing lock...
[2025-04-12 14:44:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 14:44:24] Production.INFO: 40 MB #Memory Used#
[2025-04-12 19:45:02] Production.INFO: ==4731== Lock acquired, processing the job...
[2025-04-12 19:45:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 19:45:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 19:45:02] Production.INFO: neon service started
[2025-04-12 19:45:02] Production.INFO: neon service started
[2025-04-12 19:45:02] Production.INFO: ==4731== Releasing lock...
[2025-04-12 19:45:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 19:45:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 14:45:02] Production.INFO: ==4733== Lock acquired, processing the job...
[2025-04-12 14:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 14:45:03] Production.INFO: ==4733== Releasing lock...
[2025-04-12 14:45:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 14:45:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 18:45:03] Production.INFO: ==4735== Lock acquired, processing the job...
[2025-04-12 18:45:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 18:45:03] Production.INFO: ==4735== Releasing lock...
[2025-04-12 18:45:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 18:45:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 14:45:03] Production.INFO: ==4737== Lock acquired, processing the job...
[2025-04-12 14:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 14:45:03] Production.INFO: ==4739== Lock acquired, processing the job...
[2025-04-12 14:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 14:45:03] Production.INFO: ==4741== Lock acquired, processing the job...
[2025-04-12 14:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 14:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 14:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 14:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 14:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 14:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 14:45:04] Production.INFO: ==4739== Releasing lock...
[2025-04-12 14:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 14:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 14:45:04] Production.INFO: ==4743== Lock acquired, processing the job...
[2025-04-12 14:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 14:45:04] Production.INFO: ==4745== Lock acquired, processing the job...
[2025-04-12 14:45:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 14:45:04] Production.INFO: ==4747== Lock acquired, processing the job...
[2025-04-12 14:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 14:45:04] Production.INFO: Account Balance Start.
[2025-04-12 14:45:04] Production.INFO: CreateAllLog Start
[2025-04-12 14:45:04] Production.INFO: 117
[2025-04-12 14:45:04] Production.INFO: Date 2025-04-08
[2025-04-12 14:45:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:45:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 14:45:04] Production.INFO: Date 2025-04-09
[2025-04-12 14:45:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:45:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 14:45:04] Production.INFO: count ==12
[2025-04-12 14:45:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 14:45:04] Production.INFO: count ==23
[2025-04-12 14:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892258') start
[2025-04-12 14:45:04] Production.INFO: Date 2025-04-10
[2025-04-12 14:45:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:45:04] Production.INFO: Date 2025-04-11
[2025-04-12 14:45:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892258') end
[2025-04-12 14:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 14:45:04] Production.INFO: 1
[2025-04-12 14:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 14:45:04] Production.INFO: Date 2025-04-12
[2025-04-12 14:45:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:45:04] Production.INFO: Total Charge 0
[2025-04-12 14:45:04] Production.INFO: CreateAllLog End
[2025-04-12 14:45:04] Production.INFO: ==4747== Releasing lock...
[2025-04-12 14:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 14:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 14:45:04] Production.ERROR: done
[2025-04-12 14:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 14:45:05] Production.ERROR: done
[2025-04-12 14:45:05] Production.INFO: Account Balance End.
[2025-04-12 14:45:05] Production.ERROR: CronJobId end 12
[2025-04-12 14:45:05] Production.INFO: ==4743== Releasing lock...
[2025-04-12 14:45:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 14:45:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 14:45:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 11:45:06
[end_date_ymd] => 2025-04-12 14:45:06
[RateCDR] => 1
)
[2025-04-12 14:45:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 11:45:06' and `end` < '2025-04-12 14:45:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 14:45:12] Production.ERROR: CronJobId end10
[2025-04-12 14:45:12] Production.INFO: ==4741== Releasing lock...
[2025-04-12 14:45:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 14:45:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 14:45:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 14:45:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 14:45:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 14:45:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 14:45:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 14:45:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 14:45:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 14:45:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 14:45:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 14:45:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 14:45:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 14:45:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 14:45:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 14:45:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 14:45:15] Production.INFO: call_cost start
[2025-04-12 14:45:15] Production.INFO: call_cost end
[2025-04-12 14:45:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 14:45:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 14:45:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 14:45:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 14:45:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 14:45:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 14:45:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 14:45:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 14:45:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 14:45:16] Production.INFO: ==4737== Releasing lock...
[2025-04-12 14:45:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 14:45:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 14:45:18] Production.INFO: count ==1577
[2025-04-12 14:45:19] Production.ERROR: pbx CDR StartTime 2025-04-12 11:45:06 - End Time 2025-04-12 14:45:06
[2025-04-12 14:45:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 14:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892259', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892259', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892259', 'tblTempVendorCDR_20' ) start
[2025-04-12 14:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892259', 'tblTempVendorCDR_20' ) end
[2025-04-12 14:45:19] Production.INFO: ProcessCDR(1,14892259,1,1,2)
[2025-04-12 14:45:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892259,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:45:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892259,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:45:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892259,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:45:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892259,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:45:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892259', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:45:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892259', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:45:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 14:45:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 14:45:24] Production.INFO: ==4745== Releasing lock...
[2025-04-12 14:45:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 14:45:24] Production.INFO: 40 MB #Memory Used#
[2025-04-12 19:46:01] Production.INFO: ==4812== Lock acquired, processing the job...
[2025-04-12 19:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 19:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 19:46:01] Production.INFO: neon service started
[2025-04-12 19:46:01] Production.INFO: neon service started
[2025-04-12 19:46:01] Production.INFO: ==4812== Releasing lock...
[2025-04-12 19:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 19:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 14:46:02] Production.INFO: ==4814== Lock acquired, processing the job...
[2025-04-12 14:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 18:46:02] Production.INFO: ==4816== Lock acquired, processing the job...
[2025-04-12 18:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 18:46:02] Production.INFO: ==4816== Releasing lock...
[2025-04-12 18:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 18:46:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 14:46:02] Production.INFO: ==4814== Releasing lock...
[2025-04-12 14:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 14:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 14:46:03] Production.INFO: ==4823== Lock acquired, processing the job...
[2025-04-12 14:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 14:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 14:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 14:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 14:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 14:46:03] Production.INFO: ==4819== Lock acquired, processing the job...
[2025-04-12 14:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 14:46:03] Production.INFO: ==4829== Lock acquired, processing the job...
[2025-04-12 14:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 14:46:03] Production.INFO: ==4821== Lock acquired, processing the job...
[2025-04-12 14:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 14:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 14:46:04] Production.INFO: ==4825== Lock acquired, processing the job...
[2025-04-12 14:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 14:46:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 14:46:04] Production.INFO: ==4827== Lock acquired, processing the job...
[2025-04-12 14:46:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 14:46:04] Production.INFO: Account Balance Start.
[2025-04-12 14:46:04] Production.INFO: CreateAllLog Start
[2025-04-12 14:46:04] Production.INFO: 117
[2025-04-12 14:46:04] Production.INFO: Date 2025-04-08
[2025-04-12 14:46:04] Production.INFO: count ==12
[2025-04-12 14:46:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 14:46:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:46:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 14:46:04] Production.INFO: count ==23
[2025-04-12 14:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892261') start
[2025-04-12 14:46:04] Production.INFO: Date 2025-04-09
[2025-04-12 14:46:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892261') end
[2025-04-12 14:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 14:46:04] Production.INFO: 1
[2025-04-12 14:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 14:46:04] Production.INFO: Date 2025-04-10
[2025-04-12 14:46:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:46:04] Production.INFO: Date 2025-04-11
[2025-04-12 14:46:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:46:04] Production.INFO: Date 2025-04-12
[2025-04-12 14:46:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:46:04] Production.INFO: ==4829== Releasing lock...
[2025-04-12 14:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 14:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 14:46:04] Production.INFO: ==4821== Releasing lock...
[2025-04-12 14:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 14:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 14:46:04] Production.ERROR: done
[2025-04-12 14:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 14:46:04] Production.INFO: Total Charge 0
[2025-04-12 14:46:04] Production.INFO: CreateAllLog End
[2025-04-12 14:46:04] Production.ERROR: done
[2025-04-12 14:46:04] Production.INFO: Account Balance End.
[2025-04-12 14:46:04] Production.ERROR: CronJobId end 12
[2025-04-12 14:46:04] Production.INFO: ==4825== Releasing lock...
[2025-04-12 14:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 14:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 14:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 11:46:05
[end_date_ymd] => 2025-04-12 14:46:05
[RateCDR] => 1
)
[2025-04-12 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-12 11:46:05' and `end` < '2025-04-12 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-12 14:46:11] Production.ERROR: CronJobId end10
[2025-04-12 14:46:11] Production.INFO: ==4823== Releasing lock...
[2025-04-12 14:46:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 14:46:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 14:46:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 14:46:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 14:46:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 14:46:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 14:46:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 14:46:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 14:46:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 14:46:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 14:46:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 14:46:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 14:46:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 14:46:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 14:46:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 14:46:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 14:46:14] Production.INFO: call_cost start
[2025-04-12 14:46:14] Production.INFO: call_cost end
[2025-04-12 14:46:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 14:46:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 14:46:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 14:46:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 14:46:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 14:46:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 14:46:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 14:46:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 14:46:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 14:46:15] Production.INFO: ==4819== Releasing lock...
[2025-04-12 14:46:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 14:46:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 14:46:18] Production.INFO: count ==1576
[2025-04-12 14:46:19] Production.ERROR: pbx CDR StartTime 2025-04-12 11:46:05 - End Time 2025-04-12 14:46:05
[2025-04-12 14:46:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 14:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892264', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892264', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892264', 'tblTempVendorCDR_20' ) start
[2025-04-12 14:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892264', 'tblTempVendorCDR_20' ) end
[2025-04-12 14:46:19] Production.INFO: ProcessCDR(1,14892264,1,1,2)
[2025-04-12 14:46:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892264,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:46:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892264,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:46:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892264,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:46:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892264,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892264', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892264', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:46:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 14:46:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 14:46:22] Production.INFO: ==4827== Releasing lock...
[2025-04-12 14:46:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 14:46:22] Production.INFO: 40 MB #Memory Used#
[2025-04-12 19:47:02] Production.INFO: ==4892== Lock acquired, processing the job...
[2025-04-12 19:47:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 19:47:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 19:47:02] Production.INFO: neon service started
[2025-04-12 19:47:02] Production.INFO: neon service started
[2025-04-12 19:47:02] Production.INFO: ==4892== Releasing lock...
[2025-04-12 19:47:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 19:47:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 14:47:02] Production.INFO: ==4894== Lock acquired, processing the job...
[2025-04-12 14:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 14:47:03] Production.INFO: ==4894== Releasing lock...
[2025-04-12 14:47:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 14:47:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 18:47:03] Production.INFO: ==4896== Lock acquired, processing the job...
[2025-04-12 18:47:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 18:47:03] Production.INFO: ==4896== Releasing lock...
[2025-04-12 18:47:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 18:47:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 14:47:04] Production.INFO: ==4902== Lock acquired, processing the job...
[2025-04-12 14:47:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 14:47:04] Production.INFO: ==4898== Lock acquired, processing the job...
[2025-04-12 14:47:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 14:47:04] Production.INFO: ==4906== Lock acquired, processing the job...
[2025-04-12 14:47:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 14:47:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 14:47:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 14:47:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 14:47:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 14:47:04] Production.INFO: ==4900== Lock acquired, processing the job...
[2025-04-12 14:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 14:47:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 14:47:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 14:47:04] Production.INFO: ==4904== Lock acquired, processing the job...
[2025-04-12 14:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 14:47:04] Production.INFO: ==4909== Lock acquired, processing the job...
[2025-04-12 14:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 14:47:04] Production.INFO: Account Balance Start.
[2025-04-12 14:47:04] Production.INFO: CreateAllLog Start
[2025-04-12 14:47:04] Production.INFO: 117
[2025-04-12 14:47:04] Production.INFO: Date 2025-04-08
[2025-04-12 14:47:04] Production.INFO: Reseller ==> 0
[2025-04-12 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-12 14:47:04] Production.INFO: Date 2025-04-09
[2025-04-12 14:47:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:47:04] Production.INFO: Date 2025-04-10
[2025-04-12 14:47:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:47:04] Production.INFO: Date 2025-04-11
[2025-04-12 14:47:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:47:04] Production.INFO: count ==12
[2025-04-12 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-12 14:47:04] Production.INFO: count ==23
[2025-04-12 14:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892268') start
[2025-04-12 14:47:04] Production.INFO: ==4900== Releasing lock...
[2025-04-12 14:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 14:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 14:47:04] Production.ERROR: done
[2025-04-12 14:47:04] Production.INFO: Date 2025-04-12
[2025-04-12 14:47:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 14:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892268') end
[2025-04-12 14:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 14:47:04] Production.INFO: 1
[2025-04-12 14:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 14:47:04] Production.INFO: Total Charge 0
[2025-04-12 14:47:04] Production.INFO: CreateAllLog End
[2025-04-12 14:47:04] Production.ERROR: done
[2025-04-12 14:47:04] Production.INFO: ==4909== Releasing lock...
[2025-04-12 14:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 14:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 14:47:05] Production.INFO: Account Balance End.
[2025-04-12 14:47:05] Production.ERROR: CronJobId end 12
[2025-04-12 14:47:05] Production.INFO: ==4904== Releasing lock...
[2025-04-12 14:47:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 14:47:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 14:47:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 11:47:06
[end_date_ymd] => 2025-04-12 14:47:06
[RateCDR] => 1
)
[2025-04-12 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-12 11:47:06' and `end` < '2025-04-12 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-12 14:47:12] Production.ERROR: CronJobId end10
[2025-04-12 14:47:12] Production.INFO: ==4902== Releasing lock...
[2025-04-12 14:47:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 14:47:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 14:47:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 14:47:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 14:47:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 14:47:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 14:47:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 14:47:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 14:47:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 14:47:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 14:47:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 14:47:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 14:47:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 14:47:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 14:47:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 14:47:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 14:47:15] Production.INFO: call_cost start
[2025-04-12 14:47:15] Production.INFO: call_cost end
[2025-04-12 14:47:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 14:47:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 14:47:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 14:47:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 14:47:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 14:47:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 14:47:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 14:47:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 14:47:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 14:47:16] Production.INFO: ==4898== Releasing lock...
[2025-04-12 14:47:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 14:47:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 14:47:19] Production.INFO: count ==1557
[2025-04-12 14:47:19] Production.ERROR: pbx CDR StartTime 2025-04-12 11:47:06 - End Time 2025-04-12 14:47:06
[2025-04-12 14:47:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 14:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892269', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892269', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892269', 'tblTempVendorCDR_20' ) start
[2025-04-12 14:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892269', 'tblTempVendorCDR_20' ) end
[2025-04-12 14:47:19] Production.INFO: ProcessCDR(1,14892269,1,1,2)
[2025-04-12 14:47:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892269,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:47:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892269,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:47:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892269,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:47:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892269,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:47:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892269', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:47:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892269', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:47:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 14:47:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 14:47:23] Production.INFO: ==4906== Releasing lock...
[2025-04-12 14:47:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 14:47:23] Production.INFO: 40.25 MB #Memory Used#
[2025-04-12 19:48:01] Production.INFO: ==4969== Lock acquired, processing the job...
[2025-04-12 19:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 19:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 19:48:01] Production.INFO: neon service started
[2025-04-12 19:48:01] Production.INFO: neon service started
[2025-04-12 19:48:01] Production.INFO: ==4969== Releasing lock...
[2025-04-12 19:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 19:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 14:48:02] Production.INFO: ==4971== Lock acquired, processing the job...
[2025-04-12 14:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 18:48:02] Production.INFO: ==4973== Lock acquired, processing the job...
[2025-04-12 18:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 18:48:02] Production.INFO: ==4973== Releasing lock...
[2025-04-12 18:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 18:48:02] Production.INFO: 26 MB #Memory Used#
[2025-04-12 14:48:02] Production.INFO: ==4971== Releasing lock...
[2025-04-12 14:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 14:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 14:48:03] Production.INFO: ==4980== Lock acquired, processing the job...
[2025-04-12 14:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 14:48:03] Production.INFO: ==4976== Lock acquired, processing the job...
[2025-04-12 14:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 14:48:03] Production.INFO: ==4986== Lock acquired, processing the job...
[2025-04-12 14:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 14:48:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 14:48:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 14:48:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 14:48:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 14:48:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 14:48:04] Production.INFO: ==4978== Lock acquired, processing the job...
[2025-04-12 14:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 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-12 14:48:04] Production.INFO: ==4982== Lock acquired, processing the job...
[2025-04-12 14:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 14:48:04] Production.INFO: ==4984== Lock acquired, processing the job...
[2025-04-12 14:48:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 14:48:04] Production.INFO: count ==12
[2025-04-12 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-12 14:48:04] Production.INFO: count ==23
[2025-04-12 14:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892271') start
[2025-04-12 14:48:04] Production.INFO: Account Balance Start.
[2025-04-12 14:48:04] Production.INFO: CreateAllLog Start
[2025-04-12 14:48:04] Production.INFO: 117
[2025-04-12 14:48:04] Production.INFO: Date 2025-04-08
[2025-04-12 14:48:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 14:48:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892271') end
[2025-04-12 14:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 14:48:04] Production.INFO: 1
[2025-04-12 14:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 14:48:04] Production.INFO: Date 2025-04-09
[2025-04-12 14:48:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:48:04] Production.INFO: ==4986== Releasing lock...
[2025-04-12 14:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 14:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 14:48:04] Production.INFO: Date 2025-04-10
[2025-04-12 14:48:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:48:04] Production.INFO: Date 2025-04-11
[2025-04-12 14:48:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:48:04] Production.INFO: ==4978== Releasing lock...
[2025-04-12 14:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 14:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 14:48:04] Production.INFO: Date 2025-04-12
[2025-04-12 14:48:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:48:04] Production.INFO: Total Charge 0
[2025-04-12 14:48:04] Production.INFO: CreateAllLog End
[2025-04-12 14:48:05] Production.ERROR: done
[2025-04-12 14:48:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 14:48:05] Production.INFO: Account Balance End.
[2025-04-12 14:48:05] Production.ERROR: CronJobId end 12
[2025-04-12 14:48:05] Production.INFO: ==4982== Releasing lock...
[2025-04-12 14:48:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 14:48:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 14:48:05] Production.ERROR: done
[2025-04-12 14:48:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 11:48:06
[end_date_ymd] => 2025-04-12 14:48:06
[RateCDR] => 1
)
[2025-04-12 14: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-12 11:48:06' and `end` < '2025-04-12 14: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-12 14:48:12] Production.ERROR: CronJobId end10
[2025-04-12 14:48:12] Production.INFO: ==4980== Releasing lock...
[2025-04-12 14:48:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 14:48:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 14:48:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 14:48:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 14:48:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 14:48:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 14:48:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 14:48:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 14:48:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 14:48:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 14:48:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 14:48:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 14:48:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 14:48:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 14:48:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 14:48:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 14:48:15] Production.INFO: call_cost start
[2025-04-12 14:48:15] Production.INFO: call_cost end
[2025-04-12 14:48:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 14:48:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 14:48:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 14:48:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 14:48:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 14:48:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 14:48:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 14:48:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 14:48:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 14:48:16] Production.INFO: ==4976== Releasing lock...
[2025-04-12 14:48:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 14:48:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 14:48:19] Production.INFO: count ==1550
[2025-04-12 14:48:19] Production.ERROR: pbx CDR StartTime 2025-04-12 11:48:06 - End Time 2025-04-12 14:48:06
[2025-04-12 14:48:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 14:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892274', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892274', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892274', 'tblTempVendorCDR_20' ) start
[2025-04-12 14:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892274', 'tblTempVendorCDR_20' ) end
[2025-04-12 14:48:19] Production.INFO: ProcessCDR(1,14892274,1,1,2)
[2025-04-12 14:48:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892274,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:48:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892274,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:48:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892274,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:48:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892274,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:48:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892274', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:48:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892274', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:48:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 14:48:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 14:48:23] Production.INFO: ==4984== Releasing lock...
[2025-04-12 14:48:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 14:48:23] Production.INFO: 39.5 MB #Memory Used#
[2025-04-12 19:49:02] Production.INFO: ==5084== Lock acquired, processing the job...
[2025-04-12 19:49:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 19:49:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 19:49:02] Production.INFO: neon service started
[2025-04-12 19:49:02] Production.INFO: neon service started
[2025-04-12 19:49:02] Production.INFO: ==5084== Releasing lock...
[2025-04-12 19:49:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 19:49:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 14:49:02] Production.INFO: ==5086== Lock acquired, processing the job...
[2025-04-12 14:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 18:49:02] Production.INFO: ==5088== Lock acquired, processing the job...
[2025-04-12 18:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 18:49:03] Production.INFO: ==5088== Releasing lock...
[2025-04-12 18:49:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 18:49:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 14:49:03] Production.INFO: ==5086== Releasing lock...
[2025-04-12 14:49:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 14:49:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 14:49:04] Production.INFO: ==5097== Lock acquired, processing the job...
[2025-04-12 14:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 14:49:04] Production.INFO: ==5101== Lock acquired, processing the job...
[2025-04-12 14:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 14:49:04] Production.INFO: Account Balance Start.
[2025-04-12 14:49:04] Production.INFO: CreateAllLog Start
[2025-04-12 14:49:04] Production.INFO: 117
[2025-04-12 14:49:04] Production.INFO: Date 2025-04-08
[2025-04-12 14:49:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:49:04] Production.INFO: ==5093== Lock acquired, processing the job...
[2025-04-12 14:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 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-12 14:49:04] Production.INFO: Date 2025-04-09
[2025-04-12 14:49:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:49:04] Production.INFO: count ==12
[2025-04-12 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-12 14:49:04] Production.INFO: ==5091== Lock acquired, processing the job...
[2025-04-12 14:49:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 14:49:04] Production.INFO: count ==23
[2025-04-12 14:49:04] Production.INFO: ==5095== Lock acquired, processing the job...
[2025-04-12 14:49:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 14:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892276') start
[2025-04-12 14:49:04] Production.INFO: Date 2025-04-10
[2025-04-12 14:49:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:49:04] Production.INFO: Date 2025-04-11
[2025-04-12 14:49:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:49:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 14:49:04] Production.INFO: ==5099== Lock acquired, processing the job...
[2025-04-12 14:49:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 14:49:04] Production.INFO: Date 2025-04-12
[2025-04-12 14:49:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:49:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 14:49:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 14:49:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 14:49:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 14:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892276') end
[2025-04-12 14:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 14:49:04] Production.INFO: 1
[2025-04-12 14:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 14:49:04] Production.INFO: Total Charge 0
[2025-04-12 14:49:04] Production.INFO: CreateAllLog End
[2025-04-12 14:49:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 14:49:04] Production.INFO: ==5101== Releasing lock...
[2025-04-12 14:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 14:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 14:49:04] Production.INFO: ==5093== Releasing lock...
[2025-04-12 14:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 14:49:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 14:49:05] Production.ERROR: done
[2025-04-12 14:49:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 14:49:05] Production.INFO: Account Balance End.
[2025-04-12 14:49:05] Production.ERROR: CronJobId end 12
[2025-04-12 14:49:05] Production.INFO: ==5097== Releasing lock...
[2025-04-12 14:49:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 14:49:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 14:49:05] Production.ERROR: done
[2025-04-12 14:49:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 11:49:06
[end_date_ymd] => 2025-04-12 14:49:06
[RateCDR] => 1
)
[2025-04-12 14:49:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 11:49:06' and `end` < '2025-04-12 14:49:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 14:49:14] Production.ERROR: CronJobId end10
[2025-04-12 14:49:14] Production.INFO: ==5095== Releasing lock...
[2025-04-12 14:49:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 14:49:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 14:49:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 14:49:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 14:49:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 14:49:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 14:49:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 14:49:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 14:49:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 14:49:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 14:49:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 14:49:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 14:49:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 14:49:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 14:49:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 14:49:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 14:49:14] Production.INFO: call_cost start
[2025-04-12 14:49:14] Production.INFO: call_cost end
[2025-04-12 14:49:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 14:49:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 14:49:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 14:49:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 14:49:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 14:49:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 14:49:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 14:49:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 14:49:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 14:49:15] Production.INFO: ==5091== Releasing lock...
[2025-04-12 14:49:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 14:49:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 14:49:19] Production.INFO: count ==1550
[2025-04-12 14:49:19] Production.ERROR: pbx CDR StartTime 2025-04-12 11:49:06 - End Time 2025-04-12 14:49:06
[2025-04-12 14:49:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 14:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892279', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892279', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892279', 'tblTempVendorCDR_20' ) start
[2025-04-12 14:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892279', 'tblTempVendorCDR_20' ) end
[2025-04-12 14:49:19] Production.INFO: ProcessCDR(1,14892279,1,1,2)
[2025-04-12 14:49:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892279,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:49:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892279,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:49:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892279,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:49:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892279,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:49:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892279', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:49:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892279', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:49:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 14:49:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 14:49:24] Production.INFO: ==5099== Releasing lock...
[2025-04-12 14:49:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 14:49:24] Production.INFO: 39.5 MB #Memory Used#
[2025-04-12 19:50:01] Production.INFO: ==5163== Lock acquired, processing the job...
[2025-04-12 19:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 19:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 19:50:01] Production.INFO: neon service started
[2025-04-12 19:50:01] Production.INFO: neon service started
[2025-04-12 19:50:01] Production.INFO: ==5163== Releasing lock...
[2025-04-12 19:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 19:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 14:50:02] Production.INFO: ==5165== Lock acquired, processing the job...
[2025-04-12 14:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 18:50:02] Production.INFO: ==5167== Lock acquired, processing the job...
[2025-04-12 18:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 18:50:02] Production.INFO: ==5167== Releasing lock...
[2025-04-12 18:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 18:50:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 14:50:02] Production.INFO: ==5165== Releasing lock...
[2025-04-12 14:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 14:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 14:50:03] Production.INFO: ==5178== Lock acquired, processing the job...
[2025-04-12 14:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 14:50:03] Production.INFO: ==5170== Lock acquired, processing the job...
[2025-04-12 14:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 14:50:03] Production.INFO: ==5180== Lock acquired, processing the job...
[2025-04-12 14:50:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 14:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 14:50:03] Production.INFO: ==5184== Lock acquired, processing the job...
[2025-04-12 14:50:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 14:50:03] Production.INFO: ==5174== Lock acquired, processing the job...
[2025-04-12 14:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 14:50:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 14:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 14:50:04] Production.ERROR: CronJob PID - 5178
[2025-04-12 14:50:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-04-12 14:50:04] Production.ERROR: CronJob ID - 12
[2025-04-12 14:50:04] Production.ERROR: CronJob Last Run Time 2025-04-12 14:50:00
[2025-04-12 14:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 14:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 14:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 14:50:04] Production.ERROR: CronJob PID - 5180
[2025-04-12 14:50:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-04-12 14:50:04] Production.ERROR: CronJob ID - 16
[2025-04-12 14:50:04] Production.ERROR: CronJob Last Run Time 2025-04-12 14:50:00
[2025-04-12 14:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 14:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 14:50:04] Production.INFO: Account Balance Start.
[2025-04-12 14:50:04] Production.INFO: CreateAllLog Start
[2025-04-12 14:50:04] Production.INFO: 117
[2025-04-12 14:50:04] Production.INFO: ==5172== Lock acquired, processing the job...
[2025-04-12 14:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 14:50:04] Production.INFO: Date 2025-04-08
[2025-04-12 14:50:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:50:04] Production.INFO: ==5176== Lock acquired, processing the job...
[2025-04-12 14:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 14:50:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 14:50:04] Production.INFO: ==5170== Releasing lock...
[2025-04-12 14:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 14:50:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 14:50:04] Production.INFO: ==5182== Lock acquired, processing the job...
[2025-04-12 14:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 14:50:04] Production.INFO: Date 2025-04-09
[2025-04-12 14:50:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 14:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 14:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 14:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 14:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 14:50:04] Production.INFO: Date 2025-04-10
[2025-04-12 14:50:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 14:50:04] Production.INFO: Date 2025-04-11
[2025-04-12 14:50:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:50:04] Production.INFO: count ==12
[2025-04-12 14:50:04] Production.INFO: Date 2025-04-12
[2025-04-12 14:50:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 14:50:04] Production.INFO: count ==23
[2025-04-12 14:50:04] Production.INFO: Total Charge 0
[2025-04-12 14:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892281') start
[2025-04-12 14:50:04] Production.INFO: CreateAllLog End
[2025-04-12 14:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 14:50:04] Production.ERROR: done
[2025-04-12 14:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892281') end
[2025-04-12 14:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 14:50:04] Production.INFO: 1
[2025-04-12 14:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 14:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 14:50:04] Production.INFO: ==5184== Releasing lock...
[2025-04-12 14:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 14:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 14:50:04] Production.INFO: ==5174== Releasing lock...
[2025-04-12 14:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 14:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 14:50:04] Production.ERROR: done
[2025-04-12 14:50:04] Production.ERROR: done
[2025-04-12 14:50:04] Production.INFO: Account Balance End.
[2025-04-12 14:50:04] Production.ERROR: CronJobId end 12
[2025-04-12 14:50:04] Production.INFO: ==5178== Releasing lock...
[2025-04-12 14:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 14:50:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 14:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 14:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14892285', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 14:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 11:50:06
[end_date_ymd] => 2025-04-12 14:50:06
[RateCDR] => 1
)
[2025-04-12 14:50:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 11:50:06' and `end` < '2025-04-12 14:50:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 14:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14892285', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 14:50:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 14:50:09] Production.INFO: ProcessCDR(1,14892285,1,1,2)
[2025-04-12 14:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14892285,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14892285,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:50:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 14:50:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 14:50:09] Production.INFO: ==5182== Releasing lock...
[2025-04-12 14:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 14:50:09] Production.INFO: 26 MB #Memory Used#
[2025-04-12 14:50:14] Production.ERROR: CronJobId end10
[2025-04-12 14:50:14] Production.INFO: ==5176== Releasing lock...
[2025-04-12 14:50:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 14:50:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 14:50:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 14:50:17] Production.INFO: ============== Balance Warning START===========
[2025-04-12 14:50:17] Production.INFO: ============== Balance Warning END===========
[2025-04-12 14:50:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 14:50:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 14:50:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 14:50:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 14:50:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 14:50:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 14:50:17] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 14:50:17] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 14:50:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 14:50:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 14:50:17] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 14:50:17] Production.INFO: call_cost start
[2025-04-12 14:50:17] Production.INFO: call_cost end
[2025-04-12 14:50:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 14:50:18] Production.INFO: ============== Report Schedule START===========
[2025-04-12 14:50:18] Production.INFO: ============== Report Schedule END===========
[2025-04-12 14:50:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 14:50:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 14:50:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 14:50:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 14:50:18] Production.INFO: ============== Deal alert START===========
[2025-04-12 14:50:18] Production.INFO: ============== Deal alert END===========
[2025-04-12 14:50:18] Production.INFO: ==5172== Releasing lock...
[2025-04-12 14:50:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 14:50:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 14:50:19] Production.INFO: count ==1549
[2025-04-12 14:50:19] Production.ERROR: pbx CDR StartTime 2025-04-12 11:50:06 - End Time 2025-04-12 14:50:06
[2025-04-12 14:50:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 14:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892284', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892284', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892284', 'tblTempVendorCDR_20' ) start
[2025-04-12 14:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892284', 'tblTempVendorCDR_20' ) end
[2025-04-12 14:50:19] Production.INFO: ProcessCDR(1,14892284,1,1,2)
[2025-04-12 14:50:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892284,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:50:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892284,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:50:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892284,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:50:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892284,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:50:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892284', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:50:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892284', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:50:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 14:50:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 14:50:25] Production.INFO: ==5180== Releasing lock...
[2025-04-12 14:50:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 14:50:25] Production.INFO: 39.5 MB #Memory Used#
[2025-04-12 19:51:02] Production.INFO: ==5249== Lock acquired, processing the job...
[2025-04-12 19:51:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 19:51:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 19:51:02] Production.INFO: neon service started
[2025-04-12 19:51:02] Production.INFO: neon service started
[2025-04-12 19:51:02] Production.INFO: ==5249== Releasing lock...
[2025-04-12 19:51:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 19:51:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 14:51:02] Production.INFO: ==5251== Lock acquired, processing the job...
[2025-04-12 14:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 14:51:03] Production.INFO: ==5251== Releasing lock...
[2025-04-12 14:51:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 14:51:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 18:51:03] Production.INFO: ==5253== Lock acquired, processing the job...
[2025-04-12 18:51:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 18:51:03] Production.INFO: ==5253== Releasing lock...
[2025-04-12 18:51:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 18:51:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 14:51:03] Production.INFO: ==5256== Lock acquired, processing the job...
[2025-04-12 14:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 14:51:03] Production.INFO: ==5260== Lock acquired, processing the job...
[2025-04-12 14:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 14:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 14:51:03] Production.INFO: ==5258== Lock acquired, processing the job...
[2025-04-12 14:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 14:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 14:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 14:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 14:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 14:51:04] Production.INFO: ==5264== Lock acquired, processing the job...
[2025-04-12 14:51:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 14:51:04] Production.INFO: ==5262== Lock acquired, processing the job...
[2025-04-12 14:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 14:51:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 14:51:04] Production.INFO: ==5266== Lock acquired, processing the job...
[2025-04-12 14:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 14:51:04] Production.INFO: Account Balance Start.
[2025-04-12 14:51:04] Production.INFO: CreateAllLog Start
[2025-04-12 14:51:04] Production.INFO: 117
[2025-04-12 14:51:04] Production.INFO: Date 2025-04-08
[2025-04-12 14:51:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:51:04] Production.INFO: Date 2025-04-09
[2025-04-12 14:51:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:51:04] Production.INFO: Date 2025-04-10
[2025-04-12 14:51:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:51:04] Production.INFO: Date 2025-04-11
[2025-04-12 14:51:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:51:04] Production.INFO: Date 2025-04-12
[2025-04-12 14:51:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:51:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 14:51:04] Production.INFO: Total Charge 0
[2025-04-12 14:51:04] Production.INFO: count ==12
[2025-04-12 14:51:04] Production.INFO: CreateAllLog End
[2025-04-12 14:51:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 14:51:04] Production.INFO: count ==23
[2025-04-12 14:51:04] Production.INFO: ==5258== Releasing lock...
[2025-04-12 14:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 14:51:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 14:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892289') start
[2025-04-12 14:51:04] Production.ERROR: done
[2025-04-12 14:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 14:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892289') end
[2025-04-12 14:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 14:51:04] Production.INFO: 1
[2025-04-12 14:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 14:51:04] Production.INFO: Account Balance End.
[2025-04-12 14:51:05] Production.INFO: ==5266== Releasing lock...
[2025-04-12 14:51:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 14:51:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 14:51:05] Production.ERROR: CronJobId end 12
[2025-04-12 14:51:05] Production.INFO: ==5262== Releasing lock...
[2025-04-12 14:51:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 14:51:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 14:51:05] Production.ERROR: done
[2025-04-12 14:51:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 11:51:06
[end_date_ymd] => 2025-04-12 14:51:06
[RateCDR] => 1
)
[2025-04-12 14:51:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 11:51:06' and `end` < '2025-04-12 14:51:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 14:51:13] Production.ERROR: CronJobId end10
[2025-04-12 14:51:13] Production.INFO: ==5260== Releasing lock...
[2025-04-12 14:51:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 14:51:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 14:51:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 14:51:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 14:51:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 14:51:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 14:51:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 14:51:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 14:51:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 14:51:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 14:51:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 14:51:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 14:51:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 14:51:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 14:51:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 14:51:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 14:51:14] Production.INFO: call_cost start
[2025-04-12 14:51:14] Production.INFO: call_cost end
[2025-04-12 14:51:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 14:51:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 14:51:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 14:51:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 14:51:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 14:51:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 14:51:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 14:51:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 14:51:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 14:51:15] Production.INFO: ==5256== Releasing lock...
[2025-04-12 14:51:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 14:51:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 14:51:19] Production.INFO: count ==1535
[2025-04-12 14:51:19] Production.ERROR: pbx CDR StartTime 2025-04-12 11:51:06 - End Time 2025-04-12 14:51:06
[2025-04-12 14:51:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 14:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892290', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892290', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892290', 'tblTempVendorCDR_20' ) start
[2025-04-12 14:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892290', 'tblTempVendorCDR_20' ) end
[2025-04-12 14:51:19] Production.INFO: ProcessCDR(1,14892290,1,1,2)
[2025-04-12 14:51:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892290,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:51:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892290,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:51:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892290,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:51:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892290,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:51:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892290', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:51:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892290', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:51:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 14:51:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 14:51:24] Production.INFO: ==5264== Releasing lock...
[2025-04-12 14:51:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 14:51:24] Production.INFO: 39.75 MB #Memory Used#
[2025-04-12 19:52:01] Production.INFO: ==5337== Lock acquired, processing the job...
[2025-04-12 19:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 19:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 19:52:01] Production.INFO: neon service started
[2025-04-12 19:52:01] Production.INFO: neon service started
[2025-04-12 19:52:01] Production.INFO: ==5337== Releasing lock...
[2025-04-12 19:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 19:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 14:52:02] Production.INFO: ==5339== Lock acquired, processing the job...
[2025-04-12 14:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 18:52:02] Production.INFO: ==5342== Lock acquired, processing the job...
[2025-04-12 18:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 18:52:02] Production.INFO: ==5342== Releasing lock...
[2025-04-12 18:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 18:52:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 14:52:02] Production.INFO: ==5339== Releasing lock...
[2025-04-12 14:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 14:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 14:52:03] Production.INFO: ==5348== Lock acquired, processing the job...
[2025-04-12 14:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 14:52:03] Production.INFO: ==5346== Lock acquired, processing the job...
[2025-04-12 14:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 14:52:03] Production.INFO: ==5344== Lock acquired, processing the job...
[2025-04-12 14:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 14:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 14:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 14:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 14:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 14:52:03] Production.INFO: ==5350== Lock acquired, processing the job...
[2025-04-12 14:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 14:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 14:52:03] Production.INFO: ==5352== Lock acquired, processing the job...
[2025-04-12 14:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 14:52:03] Production.INFO: ==5354== Lock acquired, processing the job...
[2025-04-12 14:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 14:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 14:52:03] Production.INFO: Account Balance Start.
[2025-04-12 14:52:03] Production.INFO: CreateAllLog Start
[2025-04-12 14:52:03] Production.INFO: 117
[2025-04-12 14:52:03] Production.INFO: Date 2025-04-08
[2025-04-12 14:52:03] Production.INFO: Reseller ==> 0
[2025-04-12 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-12 14:52:03] Production.INFO: count ==12
[2025-04-12 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-12 14:52:03] Production.INFO: count ==23
[2025-04-12 14:52:03] Production.INFO: ==5346== Releasing lock...
[2025-04-12 14:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 14:52:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 14:52:03] Production.INFO: Date 2025-04-09
[2025-04-12 14:52:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:52:03] Production.INFO: Date 2025-04-10
[2025-04-12 14:52:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892294') start
[2025-04-12 14:52:04] Production.INFO: Date 2025-04-11
[2025-04-12 14:52:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:52:04] Production.INFO: Date 2025-04-12
[2025-04-12 14:52:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:52:04] Production.INFO: Total Charge 0
[2025-04-12 14:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892294') end
[2025-04-12 14:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 14:52:04] Production.INFO: 1
[2025-04-12 14:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 14:52:04] Production.INFO: CreateAllLog End
[2025-04-12 14:52:04] Production.INFO: ==5354== Releasing lock...
[2025-04-12 14:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 14:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 14:52:04] Production.ERROR: done
[2025-04-12 14:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 14:52:04] Production.INFO: Account Balance End.
[2025-04-12 14:52:04] Production.ERROR: CronJobId end 12
[2025-04-12 14:52:04] Production.INFO: ==5350== Releasing lock...
[2025-04-12 14:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 14:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 14:52:04] Production.ERROR: done
[2025-04-12 14:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 11:52:05
[end_date_ymd] => 2025-04-12 14:52:05
[RateCDR] => 1
)
[2025-04-12 14:52:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 11:52:05' and `end` < '2025-04-12 14:52:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 14:52:11] Production.ERROR: CronJobId end10
[2025-04-12 14:52:11] Production.INFO: ==5348== Releasing lock...
[2025-04-12 14:52:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 14:52:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 14:52:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 14:52:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 14:52:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 14:52:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 14:52:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 14:52:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 14:52:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 14:52:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 14:52:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 14:52:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 14:52:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 14:52:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 14:52:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 14:52:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 14:52:14] Production.INFO: call_cost start
[2025-04-12 14:52:14] Production.INFO: call_cost end
[2025-04-12 14:52:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 14:52:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 14:52:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 14:52:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 14:52:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 14:52:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 14:52:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 14:52:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 14:52:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 14:52:15] Production.INFO: ==5344== Releasing lock...
[2025-04-12 14:52:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 14:52:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 14:52:18] Production.INFO: count ==1534
[2025-04-12 14:52:18] Production.ERROR: pbx CDR StartTime 2025-04-12 11:52:05 - End Time 2025-04-12 14:52:05
[2025-04-12 14:52:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 14:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892295', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892295', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892295', 'tblTempVendorCDR_20' ) start
[2025-04-12 14:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892295', 'tblTempVendorCDR_20' ) end
[2025-04-12 14:52:18] Production.INFO: ProcessCDR(1,14892295,1,1,2)
[2025-04-12 14:52:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892295,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:52:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892295,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:52:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892295,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:52:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892295,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892295', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892295', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:52:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 14:52:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 14:52:22] Production.INFO: ==5352== Releasing lock...
[2025-04-12 14:52:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 14:52:22] Production.INFO: 39.75 MB #Memory Used#
[2025-04-12 19:53:02] Production.INFO: ==5410== Lock acquired, processing the job...
[2025-04-12 19:53:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 19:53:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 19:53:02] Production.INFO: neon service started
[2025-04-12 19:53:02] Production.INFO: neon service started
[2025-04-12 19:53:02] Production.INFO: ==5410== Releasing lock...
[2025-04-12 19:53:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 19:53:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 18:53:02] Production.INFO: ==5414== Lock acquired, processing the job...
[2025-04-12 18:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 18:53:02] Production.INFO: ==5414== Releasing lock...
[2025-04-12 18:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 18:53:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 14:53:02] Production.INFO: ==5412== Lock acquired, processing the job...
[2025-04-12 14:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 14:53:03] Production.INFO: ==5412== Releasing lock...
[2025-04-12 14:53:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 14:53:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 14:53:03] Production.INFO: ==5419== Lock acquired, processing the job...
[2025-04-12 14:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 14:53:03] Production.INFO: ==5417== Lock acquired, processing the job...
[2025-04-12 14:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 14:53:04] Production.INFO: ==5423== Lock acquired, processing the job...
[2025-04-12 14:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 14:53:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 14:53:04] Production.INFO: ==5421== Lock acquired, processing the job...
[2025-04-12 14:53:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 14:53:04] Production.INFO: Account Balance Start.
[2025-04-12 14:53:04] Production.INFO: CreateAllLog Start
[2025-04-12 14:53:04] Production.INFO: 117
[2025-04-12 14:53:04] Production.INFO: Date 2025-04-08
[2025-04-12 14:53:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:53:04] Production.INFO: ==5425== Lock acquired, processing the job...
[2025-04-12 14:53:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 14:53:04] Production.INFO: Date 2025-04-09
[2025-04-12 14:53:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:53:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 14:53:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 14:53:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 14:53:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 14:53:04] Production.INFO: ==5419== Releasing lock...
[2025-04-12 14:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 14:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 14:53:04] Production.INFO: ==5427== Lock acquired, processing the job...
[2025-04-12 14:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 14:53:04] Production.INFO: Date 2025-04-10
[2025-04-12 14:53:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:53:04] Production.INFO: Date 2025-04-11
[2025-04-12 14:53:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:53:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 14:53:04] Production.INFO: Date 2025-04-12
[2025-04-12 14:53:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:53:04] Production.INFO: Total Charge 0
[2025-04-12 14:53:04] Production.INFO: CreateAllLog End
[2025-04-12 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-12 14:53:04] Production.INFO: count ==12
[2025-04-12 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-12 14:53:04] Production.ERROR: done
[2025-04-12 14:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 14:53:04] Production.INFO: count ==23
[2025-04-12 14:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892299') start
[2025-04-12 14:53:04] Production.INFO: Account Balance End.
[2025-04-12 14:53:05] Production.ERROR: CronJobId end 12
[2025-04-12 14:53:05] Production.INFO: ==5423== Releasing lock...
[2025-04-12 14:53:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 14:53:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 14:53:05] Production.ERROR: done
[2025-04-12 14:53:05] Production.ERROR: PBX CALL prc_importPBXExtension('14892299') end
[2025-04-12 14:53:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 14:53:05] Production.INFO: 1
[2025-04-12 14:53:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 14:53:05] Production.INFO: ==5427== Releasing lock...
[2025-04-12 14:53:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 14:53:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 14:53:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 11:53:06
[end_date_ymd] => 2025-04-12 14:53:06
[RateCDR] => 1
)
[2025-04-12 14: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-12 11:53:06' and `end` < '2025-04-12 14: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-12 14:53:12] Production.ERROR: CronJobId end10
[2025-04-12 14:53:12] Production.INFO: ==5421== Releasing lock...
[2025-04-12 14:53:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 14:53:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 14:53:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 14:53:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 14:53:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 14:53:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 14:53:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 14:53:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 14:53:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 14:53:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 14:53:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 14:53:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 14:53:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 14:53:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 14:53:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 14:53:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 14:53:15] Production.INFO: call_cost start
[2025-04-12 14:53:15] Production.INFO: call_cost end
[2025-04-12 14:53:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 14:53:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 14:53:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 14:53:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 14:53:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 14:53:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 14:53:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 14:53:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 14:53:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 14:53:16] Production.INFO: ==5417== Releasing lock...
[2025-04-12 14:53:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 14:53:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 14:53:19] Production.INFO: count ==1533
[2025-04-12 14:53:19] Production.ERROR: pbx CDR StartTime 2025-04-12 11:53:06 - End Time 2025-04-12 14:53:06
[2025-04-12 14:53:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 14:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892300', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892300', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892300', 'tblTempVendorCDR_20' ) start
[2025-04-12 14:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892300', 'tblTempVendorCDR_20' ) end
[2025-04-12 14:53:19] Production.INFO: ProcessCDR(1,14892300,1,1,2)
[2025-04-12 14:53:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892300,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:53:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892300,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:53:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892300,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:53:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892300,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:53:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892300', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:53:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892300', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:53:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 14:53:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 14:53:23] Production.INFO: ==5425== Releasing lock...
[2025-04-12 14:53:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 14:53:23] Production.INFO: 39.5 MB #Memory Used#
[2025-04-12 19:54:01] Production.INFO: ==5486== Lock acquired, processing the job...
[2025-04-12 19:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 19:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 19:54:01] Production.INFO: neon service started
[2025-04-12 19:54:01] Production.INFO: neon service started
[2025-04-12 19:54:01] Production.INFO: ==5486== Releasing lock...
[2025-04-12 19:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 19:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 14:54:02] Production.INFO: ==5488== Lock acquired, processing the job...
[2025-04-12 14:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 18:54:02] Production.INFO: ==5490== Lock acquired, processing the job...
[2025-04-12 18:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 18:54:02] Production.INFO: ==5490== Releasing lock...
[2025-04-12 18:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 18:54:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 14:54:02] Production.INFO: ==5488== Releasing lock...
[2025-04-12 14:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 14:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 14:54:03] Production.INFO: ==5493== Lock acquired, processing the job...
[2025-04-12 14:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 14:54:03] Production.INFO: ==5495== Lock acquired, processing the job...
[2025-04-12 14:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 14:54:03] Production.INFO: ==5497== Lock acquired, processing the job...
[2025-04-12 14:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 14:54:03] Production.INFO: ==5499== Lock acquired, processing the job...
[2025-04-12 14:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 14:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 14:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 14:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 14:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 14:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 14:54:03] Production.INFO: Account Balance Start.
[2025-04-12 14:54:03] Production.INFO: CreateAllLog Start
[2025-04-12 14:54:03] Production.INFO: 117
[2025-04-12 14:54:03] Production.INFO: Date 2025-04-08
[2025-04-12 14:54:03] Production.INFO: ==5503== Lock acquired, processing the job...
[2025-04-12 14:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 14:54:03] Production.INFO: ==5501== Lock acquired, processing the job...
[2025-04-12 14:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 14:54:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:54:03] Production.INFO: Date 2025-04-09
[2025-04-12 14:54:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:54:03] Production.INFO: ==5495== Releasing lock...
[2025-04-12 14:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 14:54:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 14:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 14:54:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 14:54:03] Production.INFO: Date 2025-04-10
[2025-04-12 14:54:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:54:03] Production.INFO: Date 2025-04-11
[2025-04-12 14:54:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:54:03] Production.INFO: Date 2025-04-12
[2025-04-12 14:54:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:54:03] Production.INFO: count ==12
[2025-04-12 14:54:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 14:54:03] Production.INFO: count ==23
[2025-04-12 14:54:03] Production.INFO: Total Charge 0
[2025-04-12 14:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14892304') start
[2025-04-12 14:54:04] Production.INFO: CreateAllLog End
[2025-04-12 14:54:04] Production.ERROR: done
[2025-04-12 14:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892304') end
[2025-04-12 14:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 14:54:04] Production.INFO: 1
[2025-04-12 14:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 14:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 14:54:04] Production.INFO: ==5503== Releasing lock...
[2025-04-12 14:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 14:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 14:54:04] Production.ERROR: done
[2025-04-12 14:54:04] Production.INFO: Account Balance End.
[2025-04-12 14:54:04] Production.ERROR: CronJobId end 12
[2025-04-12 14:54:04] Production.INFO: ==5499== Releasing lock...
[2025-04-12 14:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 14:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 14:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 11:54:05
[end_date_ymd] => 2025-04-12 14:54:05
[RateCDR] => 1
)
[2025-04-12 14:54:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 11:54:05' and `end` < '2025-04-12 14:54:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 14:54:12] Production.ERROR: CronJobId end10
[2025-04-12 14:54:12] Production.INFO: ==5497== Releasing lock...
[2025-04-12 14:54:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 14:54:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 14:54:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 14:54:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 14:54:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 14:54:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 14:54:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 14:54:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 14:54:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 14:54:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 14:54:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 14:54:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 14:54:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 14:54:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 14:54:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 14:54:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 14:54:14] Production.INFO: call_cost start
[2025-04-12 14:54:14] Production.INFO: call_cost end
[2025-04-12 14:54:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 14:54:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 14:54:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 14:54:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 14:54:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 14:54:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 14:54:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 14:54:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 14:54:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 14:54:15] Production.INFO: ==5493== Releasing lock...
[2025-04-12 14:54:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 14:54:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 14:54:18] Production.INFO: count ==1532
[2025-04-12 14:54:18] Production.ERROR: pbx CDR StartTime 2025-04-12 11:54:05 - End Time 2025-04-12 14:54:05
[2025-04-12 14:54:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 14:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892305', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892305', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892305', 'tblTempVendorCDR_20' ) start
[2025-04-12 14:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892305', 'tblTempVendorCDR_20' ) end
[2025-04-12 14:54:18] Production.INFO: ProcessCDR(1,14892305,1,1,2)
[2025-04-12 14:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892305,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:54:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892305,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:54:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892305,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:54:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892305,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:54:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892305', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:54:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892305', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:54:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 14:54:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 14:54:23] Production.INFO: ==5501== Releasing lock...
[2025-04-12 14:54:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 14:54:23] Production.INFO: 40 MB #Memory Used#
[2025-04-12 19:55:02] Production.INFO: ==5556== Lock acquired, processing the job...
[2025-04-12 19:55:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 19:55:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 19:55:02] Production.INFO: neon service started
[2025-04-12 19:55:02] Production.INFO: neon service started
[2025-04-12 19:55:02] Production.INFO: ==5556== Releasing lock...
[2025-04-12 19:55:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 19:55:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 14:55:02] Production.INFO: ==5558== Lock acquired, processing the job...
[2025-04-12 14:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 14:55:02] Production.INFO: ==5558== Releasing lock...
[2025-04-12 14:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 14:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 18:55:02] Production.INFO: ==5560== Lock acquired, processing the job...
[2025-04-12 18:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 18:55:03] Production.INFO: ==5560== Releasing lock...
[2025-04-12 18:55:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 18:55:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 14:55:03] Production.INFO: ==5573== Lock acquired, processing the job...
[2025-04-12 14:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 14:55:03] Production.INFO: ==5570== Lock acquired, processing the job...
[2025-04-12 14:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 14:55:03] Production.INFO: ==5562== Lock acquired, processing the job...
[2025-04-12 14:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 14:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 14:55:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 14:55:03] Production.INFO: count ==12
[2025-04-12 14:55:03] Production.INFO: ==5564== Lock acquired, processing the job...
[2025-04-12 14:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 14:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 14:55:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 14:55:04] Production.INFO: count ==23
[2025-04-12 14:55:04] Production.INFO: ==5566== Lock acquired, processing the job...
[2025-04-12 14:55:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 14:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892306') start
[2025-04-12 14:55:04] Production.INFO: ==5568== Lock acquired, processing the job...
[2025-04-12 14:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 14:55:04] Production.INFO: Account Balance Start.
[2025-04-12 14:55:04] Production.INFO: CreateAllLog Start
[2025-04-12 14:55:04] Production.INFO: 117
[2025-04-12 14:55:04] Production.INFO: Date 2025-04-08
[2025-04-12 14:55:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 14:55:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 14:55:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 14:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892306') end
[2025-04-12 14:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 14:55:04] Production.INFO: 1
[2025-04-12 14:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 14:55:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 14:55:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:55:04] Production.INFO: Date 2025-04-09
[2025-04-12 14:55:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:55:04] Production.INFO: Date 2025-04-10
[2025-04-12 14:55:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:55:04] Production.INFO: ==5573== Releasing lock...
[2025-04-12 14:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 14:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 14:55:04] Production.ERROR: done
[2025-04-12 14:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 14:55:04] Production.INFO: Date 2025-04-11
[2025-04-12 14:55:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:55:04] Production.INFO: Date 2025-04-12
[2025-04-12 14:55:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:55:04] Production.INFO: Total Charge 0
[2025-04-12 14:55:04] Production.INFO: CreateAllLog End
[2025-04-12 14:55:04] Production.INFO: ==5564== Releasing lock...
[2025-04-12 14:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 14:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 14:55:04] Production.ERROR: done
[2025-04-12 14:55:04] Production.INFO: Account Balance End.
[2025-04-12 14:55:04] Production.ERROR: CronJobId end 12
[2025-04-12 14:55:04] Production.INFO: ==5568== Releasing lock...
[2025-04-12 14:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 14:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 14:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 11:55:05
[end_date_ymd] => 2025-04-12 14:55:05
[RateCDR] => 1
)
[2025-04-12 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-12 11:55:05' and `end` < '2025-04-12 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-12 14:55:12] Production.ERROR: CronJobId end10
[2025-04-12 14:55:12] Production.INFO: ==5566== Releasing lock...
[2025-04-12 14:55:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 14:55:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 14:55:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 14:55:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 14:55:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 14:55:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 14:55:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 14:55:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 14:55:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 14:55:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 14:55:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 14:55:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 14:55:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 14:55:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 14:55:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 14:55:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 14:55:15] Production.INFO: call_cost start
[2025-04-12 14:55:15] Production.INFO: call_cost end
[2025-04-12 14:55:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 14:55:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 14:55:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 14:55:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 14:55:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 14:55:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 14:55:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 14:55:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 14:55:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 14:55:16] Production.INFO: ==5562== Releasing lock...
[2025-04-12 14:55:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 14:55:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 14:55:18] Production.INFO: count ==1529
[2025-04-12 14:55:19] Production.ERROR: pbx CDR StartTime 2025-04-12 11:55:05 - End Time 2025-04-12 14:55:05
[2025-04-12 14:55:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 14:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892310', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892310', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892310', 'tblTempVendorCDR_20' ) start
[2025-04-12 14:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892310', 'tblTempVendorCDR_20' ) end
[2025-04-12 14:55:19] Production.INFO: ProcessCDR(1,14892310,1,1,2)
[2025-04-12 14:55:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892310,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:55:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892310,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:55:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892310,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:55:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892310,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892310', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892310', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:55:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 14:55:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 14:55:22] Production.INFO: ==5570== Releasing lock...
[2025-04-12 14:55:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 14:55:22] Production.INFO: 40.25 MB #Memory Used#
[2025-04-12 19:56:01] Production.INFO: ==5628== Lock acquired, processing the job...
[2025-04-12 19:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 19:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 19:56:01] Production.INFO: neon service started
[2025-04-12 19:56:01] Production.INFO: neon service started
[2025-04-12 19:56:01] Production.INFO: ==5628== Releasing lock...
[2025-04-12 19:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 19:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 18:56:02] Production.INFO: ==5632== Lock acquired, processing the job...
[2025-04-12 18:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 18:56:02] Production.INFO: ==5632== Releasing lock...
[2025-04-12 18:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 18:56:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 14:56:02] Production.INFO: ==5630== Lock acquired, processing the job...
[2025-04-12 14:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 14:56:02] Production.INFO: ==5630== Releasing lock...
[2025-04-12 14:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 14:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 14:56:03] Production.INFO: ==5639== Lock acquired, processing the job...
[2025-04-12 14:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 14:56:03] Production.INFO: ==5645== Lock acquired, processing the job...
[2025-04-12 14:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 14:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 14:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 14:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 14:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 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-12 14:56:03] Production.INFO: ==5635== Lock acquired, processing the job...
[2025-04-12 14:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 14:56:03] Production.INFO: ==5637== Lock acquired, processing the job...
[2025-04-12 14:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 14:56:03] Production.INFO: count ==12
[2025-04-12 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-12 14:56:03] Production.INFO: count ==23
[2025-04-12 14:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14892311') start
[2025-04-12 14:56:03] Production.INFO: ==5641== Lock acquired, processing the job...
[2025-04-12 14:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 14:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14892311') end
[2025-04-12 14:56:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 14:56:03] Production.INFO: 1
[2025-04-12 14:56:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 14:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 14:56:03] Production.INFO: ==5643== Lock acquired, processing the job...
[2025-04-12 14:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 14:56:03] Production.INFO: ==5645== Releasing lock...
[2025-04-12 14:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 14:56:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 14:56:03] Production.INFO: Account Balance Start.
[2025-04-12 14:56:03] Production.INFO: CreateAllLog Start
[2025-04-12 14:56:03] Production.INFO: 117
[2025-04-12 14:56:03] Production.INFO: Date 2025-04-08
[2025-04-12 14:56:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 14:56:04] Production.INFO: Date 2025-04-09
[2025-04-12 14:56:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:56:04] Production.INFO: Date 2025-04-10
[2025-04-12 14:56:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:56:04] Production.INFO: ==5637== Releasing lock...
[2025-04-12 14:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 14:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 14:56:04] Production.INFO: Date 2025-04-11
[2025-04-12 14:56:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:56:04] Production.INFO: Date 2025-04-12
[2025-04-12 14:56:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:56:04] Production.INFO: Total Charge 0
[2025-04-12 14:56:04] Production.ERROR: done
[2025-04-12 14:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 14:56:04] Production.INFO: CreateAllLog End
[2025-04-12 14:56:04] Production.ERROR: done
[2025-04-12 14:56:04] Production.INFO: Account Balance End.
[2025-04-12 14:56:04] Production.ERROR: CronJobId end 12
[2025-04-12 14:56:04] Production.INFO: ==5641== Releasing lock...
[2025-04-12 14:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 14:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 14:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 11:56:05
[end_date_ymd] => 2025-04-12 14:56:05
[RateCDR] => 1
)
[2025-04-12 14:56:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 11:56:05' and `end` < '2025-04-12 14:56:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 14:56:12] Production.ERROR: CronJobId end10
[2025-04-12 14:56:12] Production.INFO: ==5639== Releasing lock...
[2025-04-12 14:56:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 14:56:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 14:56:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 14:56:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 14:56:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 14:56:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 14:56:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 14:56:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 14:56:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 14:56:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 14:56:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 14:56:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 14:56:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 14:56:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 14:56:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 14:56:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 14:56:15] Production.INFO: call_cost start
[2025-04-12 14:56:15] Production.INFO: call_cost end
[2025-04-12 14:56:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 14:56:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 14:56:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 14:56:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 14:56:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 14:56:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 14:56:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 14:56:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 14:56:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 14:56:16] Production.INFO: ==5635== Releasing lock...
[2025-04-12 14:56:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 14:56:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 14:56:18] Production.INFO: count ==1526
[2025-04-12 14:56:19] Production.ERROR: pbx CDR StartTime 2025-04-12 11:56:05 - End Time 2025-04-12 14:56:05
[2025-04-12 14:56:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 14:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892315', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892315', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892315', 'tblTempVendorCDR_20' ) start
[2025-04-12 14:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892315', 'tblTempVendorCDR_20' ) end
[2025-04-12 14:56:19] Production.INFO: ProcessCDR(1,14892315,1,1,2)
[2025-04-12 14:56:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892315,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:56:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892315,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:56:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892315,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:56:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892315,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:56:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892315', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:56:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892315', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:56:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 14:56:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 14:56:24] Production.INFO: ==5643== Releasing lock...
[2025-04-12 14:56:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 14:56:24] Production.INFO: 40 MB #Memory Used#
[2025-04-12 19:57:02] Production.INFO: ==5701== Lock acquired, processing the job...
[2025-04-12 19:57:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 19:57:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 19:57:02] Production.INFO: neon service started
[2025-04-12 19:57:02] Production.INFO: neon service started
[2025-04-12 19:57:02] Production.INFO: ==5701== Releasing lock...
[2025-04-12 19:57:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 19:57:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 14:57:02] Production.INFO: ==5703== Lock acquired, processing the job...
[2025-04-12 14:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 18:57:02] Production.INFO: ==5705== Lock acquired, processing the job...
[2025-04-12 18:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 18:57:02] Production.INFO: ==5705== Releasing lock...
[2025-04-12 18:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 18:57:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 14:57:03] Production.INFO: ==5703== Releasing lock...
[2025-04-12 14:57:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 14:57:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 14:57:03] Production.INFO: ==5710== Lock acquired, processing the job...
[2025-04-12 14:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 14:57:03] Production.INFO: ==5719== Lock acquired, processing the job...
[2025-04-12 14:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 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-12 14:57:04] Production.INFO: ==5708== Lock acquired, processing the job...
[2025-04-12 14:57:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 14:57:04] Production.INFO: count ==12
[2025-04-12 14:57:04] Production.INFO: ==5710== Releasing lock...
[2025-04-12 14:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 14:57:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 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-12 14:57:04] Production.INFO: count ==23
[2025-04-12 14:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892317') start
[2025-04-12 14:57:04] Production.INFO: ==5712== Lock acquired, processing the job...
[2025-04-12 14:57:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 14:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892317') end
[2025-04-12 14:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 14:57:04] Production.INFO: 1
[2025-04-12 14:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 14:57:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 14:57:04] Production.INFO: ==5714== Lock acquired, processing the job...
[2025-04-12 14:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 14:57:04] Production.INFO: ==5719== Releasing lock...
[2025-04-12 14:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 14:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 14:57:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 14:57:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 14:57:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 14:57:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 14:57:04] Production.INFO: ==5716== Lock acquired, processing the job...
[2025-04-12 14:57:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 14:57:04] Production.INFO: Account Balance Start.
[2025-04-12 14:57:04] Production.INFO: CreateAllLog Start
[2025-04-12 14:57:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 14:57:04] Production.INFO: 117
[2025-04-12 14:57:04] Production.INFO: Date 2025-04-08
[2025-04-12 14:57:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:57:04] Production.INFO: Date 2025-04-09
[2025-04-12 14:57:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:57:04] Production.INFO: Date 2025-04-10
[2025-04-12 14:57:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:57:04] Production.INFO: Date 2025-04-11
[2025-04-12 14:57:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:57:04] Production.INFO: Date 2025-04-12
[2025-04-12 14:57:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:57:04] Production.INFO: Total Charge 0
[2025-04-12 14:57:04] Production.INFO: CreateAllLog End
[2025-04-12 14:57:05] Production.ERROR: done
[2025-04-12 14:57:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 14:57:05] Production.INFO: Account Balance End.
[2025-04-12 14:57:05] Production.ERROR: done
[2025-04-12 14:57:05] Production.ERROR: CronJobId end 12
[2025-04-12 14:57:05] Production.INFO: ==5714== Releasing lock...
[2025-04-12 14:57:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 14:57:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 14:57:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 11:57:06
[end_date_ymd] => 2025-04-12 14:57:06
[RateCDR] => 1
)
[2025-04-12 14:57:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 11:57:06' and `end` < '2025-04-12 14:57:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 14:57:12] Production.ERROR: CronJobId end10
[2025-04-12 14:57:12] Production.INFO: ==5712== Releasing lock...
[2025-04-12 14:57:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 14:57:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 14:57:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 14:57:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 14:57:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 14:57:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 14:57:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 14:57:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 14:57:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 14:57:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 14:57:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 14:57:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 14:57:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 14:57:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 14:57:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 14:57:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 14:57:14] Production.INFO: call_cost start
[2025-04-12 14:57:14] Production.INFO: call_cost end
[2025-04-12 14:57:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 14:57:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 14:57:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 14:57:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 14:57:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 14:57:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 14:57:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 14:57:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 14:57:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 14:57:15] Production.INFO: ==5708== Releasing lock...
[2025-04-12 14:57:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 14:57:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 14:57:19] Production.INFO: count ==1525
[2025-04-12 14:57:19] Production.ERROR: pbx CDR StartTime 2025-04-12 11:57:06 - End Time 2025-04-12 14:57:06
[2025-04-12 14:57:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 14:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892320', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892320', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892320', 'tblTempVendorCDR_20' ) start
[2025-04-12 14:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892320', 'tblTempVendorCDR_20' ) end
[2025-04-12 14:57:19] Production.INFO: ProcessCDR(1,14892320,1,1,2)
[2025-04-12 14:57:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892320,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:57:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892320,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:57:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892320,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:57:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892320,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:57:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892320', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:57:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892320', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:57:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 14:57:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 14:57:23] Production.INFO: ==5716== Releasing lock...
[2025-04-12 14:57:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 14:57:23] Production.INFO: 40 MB #Memory Used#
[2025-04-12 19:58:01] Production.INFO: ==5778== Lock acquired, processing the job...
[2025-04-12 19:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 19:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 19:58:01] Production.INFO: neon service started
[2025-04-12 19:58:01] Production.INFO: neon service started
[2025-04-12 19:58:01] Production.INFO: ==5778== Releasing lock...
[2025-04-12 19:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 19:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 14:58:01] Production.INFO: ==5780== Lock acquired, processing the job...
[2025-04-12 14:58:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 18:58:02] Production.INFO: ==5782== Lock acquired, processing the job...
[2025-04-12 18:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 14:58:02] Production.INFO: ==5780== Releasing lock...
[2025-04-12 14:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 14:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 18:58:02] Production.INFO: ==5782== Releasing lock...
[2025-04-12 18:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 18:58:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 14:58:03] Production.INFO: ==5791== Lock acquired, processing the job...
[2025-04-12 14:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 14:58:03] Production.INFO: Account Balance Start.
[2025-04-12 14:58:03] Production.INFO: CreateAllLog Start
[2025-04-12 14:58:03] Production.INFO: 117
[2025-04-12 14:58:03] Production.INFO: Date 2025-04-08
[2025-04-12 14:58:03] Production.INFO: ==5785== Lock acquired, processing the job...
[2025-04-12 14:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 14:58:03] Production.INFO: ==5795== Lock acquired, processing the job...
[2025-04-12 14:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 14:58:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:58:03] Production.INFO: Date 2025-04-09
[2025-04-12 14:58:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:58:03] Production.INFO: Date 2025-04-10
[2025-04-12 14:58:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 14:58:03] Production.INFO: Date 2025-04-11
[2025-04-12 14:58:03] Production.INFO: Reseller ==> 0
[2025-04-12 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-12 14:58:03] Production.INFO: Date 2025-04-12
[2025-04-12 14:58:03] Production.INFO: count ==12
[2025-04-12 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-12 14:58:03] Production.INFO: count ==23
[2025-04-12 14:58:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:58:03] Production.INFO: ==5789== Lock acquired, processing the job...
[2025-04-12 14:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 14:58:03] Production.INFO: ==5787== Lock acquired, processing the job...
[2025-04-12 14:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 14:58:03] Production.INFO: ==5793== Lock acquired, processing the job...
[2025-04-12 14:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 14:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14892322') start
[2025-04-12 14:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 14:58:03] Production.INFO: Total Charge 0
[2025-04-12 14:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 14:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 14:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 14:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 14:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14892322') end
[2025-04-12 14:58:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 14:58:03] Production.INFO: 1
[2025-04-12 14:58:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 14:58:03] Production.INFO: CreateAllLog End
[2025-04-12 14:58:03] Production.INFO: ==5795== Releasing lock...
[2025-04-12 14:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 14:58:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 14:58:04] Production.ERROR: done
[2025-04-12 14:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 14:58:04] Production.INFO: ==5787== Releasing lock...
[2025-04-12 14:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 14:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 14:58:04] Production.ERROR: done
[2025-04-12 14:58:04] Production.INFO: Account Balance End.
[2025-04-12 14:58:04] Production.ERROR: CronJobId end 12
[2025-04-12 14:58:04] Production.INFO: ==5791== Releasing lock...
[2025-04-12 14:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 14:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 14:58:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 11:58:04
[end_date_ymd] => 2025-04-12 14:58:04
[RateCDR] => 1
)
[2025-04-12 14:58:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 11:58:04' and `end` < '2025-04-12 14:58:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 14:58:13] Production.ERROR: CronJobId end10
[2025-04-12 14:58:13] Production.INFO: ==5789== Releasing lock...
[2025-04-12 14:58:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 14:58:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 14:58:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 14:58:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 14:58:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 14:58:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 14:58:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 14:58:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 14:58:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 14:58:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 14:58:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 14:58:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 14:58:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 14:58:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 14:58:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 14:58:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 14:58:15] Production.INFO: call_cost start
[2025-04-12 14:58:15] Production.INFO: call_cost end
[2025-04-12 14:58:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 14:58:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 14:58:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 14:58:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 14:58:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 14:58:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 14:58:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 14:58:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 14:58:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 14:58:16] Production.INFO: ==5785== Releasing lock...
[2025-04-12 14:58:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 14:58:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 14:58:17] Production.INFO: count ==1523
[2025-04-12 14:58:18] Production.ERROR: pbx CDR StartTime 2025-04-12 11:58:04 - End Time 2025-04-12 14:58:04
[2025-04-12 14:58:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 14:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892325', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892325', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892325', 'tblTempVendorCDR_20' ) start
[2025-04-12 14:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892325', 'tblTempVendorCDR_20' ) end
[2025-04-12 14:58:18] Production.INFO: ProcessCDR(1,14892325,1,1,2)
[2025-04-12 14:58:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892325,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:58:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892325,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:58:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892325,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:58:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892325,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892325', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892325', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:58:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 14:58:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 14:58:22] Production.INFO: ==5793== Releasing lock...
[2025-04-12 14:58:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 14:58:22] Production.INFO: 40 MB #Memory Used#
[2025-04-12 19:59:01] Production.INFO: ==5851== Lock acquired, processing the job...
[2025-04-12 19:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 19:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 19:59:02] Production.INFO: neon service started
[2025-04-12 19:59:02] Production.INFO: neon service started
[2025-04-12 19:59:02] Production.INFO: ==5851== Releasing lock...
[2025-04-12 19:59:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 19:59:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 14:59:02] Production.INFO: ==5853== Lock acquired, processing the job...
[2025-04-12 14:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 14:59:02] Production.INFO: ==5853== Releasing lock...
[2025-04-12 14:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 14:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 18:59:02] Production.INFO: ==5855== Lock acquired, processing the job...
[2025-04-12 18:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 18:59:02] Production.INFO: ==5855== Releasing lock...
[2025-04-12 18:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 18:59:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 14:59:03] Production.INFO: ==5864== Lock acquired, processing the job...
[2025-04-12 14:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 14:59:03] Production.INFO: ==5866== Lock acquired, processing the job...
[2025-04-12 14:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 14:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 14:59:03] Production.INFO: ==5857== Lock acquired, processing the job...
[2025-04-12 14:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 14:59:03] Production.INFO: Account Balance Start.
[2025-04-12 14:59:03] Production.INFO: CreateAllLog Start
[2025-04-12 14:59:03] Production.INFO: 117
[2025-04-12 14:59:03] Production.INFO: ==5859== Lock acquired, processing the job...
[2025-04-12 14:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 14:59:03] Production.INFO: Date 2025-04-08
[2025-04-12 14:59:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:59:03] Production.INFO: Date 2025-04-09
[2025-04-12 14:59:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:59:03] Production.INFO: ==5861== Lock acquired, processing the job...
[2025-04-12 14:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 14:59:03] Production.INFO: Date 2025-04-10
[2025-04-12 14:59:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:59:03] Production.INFO: ==5868== Lock acquired, processing the job...
[2025-04-12 14:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 14:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 14:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 14:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 14:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 14:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 14:59:03] Production.INFO: Date 2025-04-11
[2025-04-12 14:59:03] Production.INFO: Reseller ==> 0
[2025-04-12 14:59:03] Production.ERROR: done
[2025-04-12 14:59:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 14:59:04] Production.INFO: Date 2025-04-12
[2025-04-12 14:59:04] Production.INFO: Reseller ==> 0
[2025-04-12 14:59:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 14:59:04] Production.INFO: Total Charge 0
[2025-04-12 14:59:04] Production.INFO: count ==12
[2025-04-12 14:59:04] Production.INFO: CreateAllLog End
[2025-04-12 14:59:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 14:59:04] Production.INFO: count ==23
[2025-04-12 14:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892329') start
[2025-04-12 14:59:04] Production.ERROR: done
[2025-04-12 14:59:04] Production.INFO: ==5859== Releasing lock...
[2025-04-12 14:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 14:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 14:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892329') end
[2025-04-12 14:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 14:59:04] Production.INFO: 1
[2025-04-12 14:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 14:59:04] Production.INFO: Account Balance End.
[2025-04-12 14:59:04] Production.INFO: ==5868== Releasing lock...
[2025-04-12 14:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 14:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 14:59:04] Production.ERROR: CronJobId end 12
[2025-04-12 14:59:04] Production.INFO: ==5864== Releasing lock...
[2025-04-12 14:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 14:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 14:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 11:59:05
[end_date_ymd] => 2025-04-12 14:59:05
[RateCDR] => 1
)
[2025-04-12 14:59:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 11:59:05' and `end` < '2025-04-12 14:59:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 14:59:12] Production.ERROR: CronJobId end10
[2025-04-12 14:59:12] Production.INFO: ==5861== Releasing lock...
[2025-04-12 14:59:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 14:59:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 14:59:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 14:59:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 14:59:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 14:59:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 14:59:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 14:59:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 14:59:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 14:59:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 14:59:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 14:59:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 14:59:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 14:59:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 14:59:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 14:59:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 14:59:15] Production.INFO: call_cost start
[2025-04-12 14:59:15] Production.INFO: call_cost end
[2025-04-12 14:59:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 14:59:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 14:59:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 14:59:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 14:59:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 14:59:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 14:59:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 14:59:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 14:59:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 14:59:16] Production.INFO: ==5857== Releasing lock...
[2025-04-12 14:59:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 14:59:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 14:59:18] Production.INFO: count ==1515
[2025-04-12 14:59:18] Production.ERROR: pbx CDR StartTime 2025-04-12 11:59:05 - End Time 2025-04-12 14:59:05
[2025-04-12 14:59:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 14:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892330', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892330', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892330', 'tblTempVendorCDR_20' ) start
[2025-04-12 14:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892330', 'tblTempVendorCDR_20' ) end
[2025-04-12 14:59:18] Production.INFO: ProcessCDR(1,14892330,1,1,2)
[2025-04-12 14:59:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892330,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:59:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892330,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 14:59:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892330,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:59:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892330,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 14:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892330', 'tblTempUsageDetail_20' ) start
[2025-04-12 14:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892330', 'tblTempUsageDetail_20' ) end
[2025-04-12 14:59:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 14:59:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 14:59:22] Production.INFO: ==5866== Releasing lock...
[2025-04-12 14:59:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 14:59:22] Production.INFO: 40 MB #Memory Used#
[2025-04-12 20:00:01] Production.INFO: ==5924== Lock acquired, processing the job...
[2025-04-12 20:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 20:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 20:00:01] Production.INFO: neon service started
[2025-04-12 20:00:01] Production.INFO: neon service started
[2025-04-12 20:00:01] Production.INFO: ==5924== Releasing lock...
[2025-04-12 20:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 20:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 15:00:02] Production.INFO: ==5926== Lock acquired, processing the job...
[2025-04-12 15:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 19:00:02] Production.INFO: ==5928== Lock acquired, processing the job...
[2025-04-12 19:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 19:00:02] Production.INFO: ==5928== Releasing lock...
[2025-04-12 19:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 19:00:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 15:00:02] Production.INFO: ==5926== Releasing lock...
[2025-04-12 15:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 15:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 15:00:03] Production.INFO: ==5935== Lock acquired, processing the job...
[2025-04-12 15:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 15:00:03] Production.INFO: ==5937== Lock acquired, processing the job...
[2025-04-12 15:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 15:00:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 15:00:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 15:00:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 15:00:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 15:00:03] Production.INFO: ==5935== Releasing lock...
[2025-04-12 15:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 15:00:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 15:00:04] Production.INFO: ==5945== Lock acquired, processing the job...
[2025-04-12 15:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 15:00:04] Production.INFO: ==5933== Lock acquired, processing the job...
[2025-04-12 15:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 15:00:04] Production.INFO: ==5931== Lock acquired, processing the job...
[2025-04-12 15:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 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-12 15:00:04] Production.INFO: count ==12
[2025-04-12 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-12 15:00:04] Production.INFO: count ==23
[2025-04-12 15:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892332') start
[2025-04-12 15:00:04] Production.INFO: ==5939== Lock acquired, processing the job...
[2025-04-12 15:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 15:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 15:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 15:00:04] Production.ERROR: CronJob PID - 5933
[2025-04-12 15:00:04] Production.ERROR: CronJob Title - System Alerts
[2025-04-12 15:00:04] Production.ERROR: CronJob ID - 5
[2025-04-12 15:00:04] Production.ERROR: CronJob Last Run Time 2025-04-12 15:00:00
[2025-04-12 15:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 15:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 15:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 15:00:04] Production.ERROR: CronJob PID - 5937
[2025-04-12 15:00:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-04-12 15:00:04] Production.ERROR: CronJob ID - 10
[2025-04-12 15:00:04] Production.ERROR: CronJob Last Run Time 2025-04-12 15:00:00
[2025-04-12 15:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 15:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 15:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 15:00:04] Production.ERROR: CronJob PID - 5945
[2025-04-12 15:00:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-04-12 15:00:04] Production.ERROR: CronJob ID - 19
[2025-04-12 15:00:04] Production.ERROR: CronJob Last Run Time 2025-04-12 15:00:00
[2025-04-12 15:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 15:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 15:00:04] Production.INFO: ==5941== Lock acquired, processing the job...
[2025-04-12 15:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 15:00:04] Production.INFO: ==5943== Lock acquired, processing the job...
[2025-04-12 15:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 15:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 15:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 15:00:04] Production.INFO: ==5931== Releasing lock...
[2025-04-12 15:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 15:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 15:00:04] Production.INFO: Account Balance Start.
[2025-04-12 15:00:04] Production.INFO: CreateAllLog Start
[2025-04-12 15:00:04] Production.INFO: 117
[2025-04-12 15:00:04] Production.INFO: Date 2025-04-08
[2025-04-12 15:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 15:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 15:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892332') end
[2025-04-12 15:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 15:00:04] Production.INFO: 1
[2025-04-12 15:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 15:00:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:00:04] Production.INFO: Date 2025-04-09
[2025-04-12 15:00:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:00:04] Production.INFO: Date 2025-04-10
[2025-04-12 15:00:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:00:04] Production.INFO: ==5945== Releasing lock...
[2025-04-12 15:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 15:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 15:00:04] Production.INFO: Date 2025-04-11
[2025-04-12 15:00:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:00:04] Production.INFO: Date 2025-04-12
[2025-04-12 15:00:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:00:04] Production.INFO: Total Charge 0
[2025-04-12 15:00:04] Production.INFO: CreateAllLog End
[2025-04-12 15:00:04] Production.ERROR: done
[2025-04-12 15:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 15:00:04] Production.ERROR: done
[2025-04-12 15:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 15:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14892335', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 15:00:05] Production.ERROR: done
[2025-04-12 15:00:05] Production.INFO: Account Balance End.
[2025-04-12 15:00:05] Production.ERROR: CronJobId end 12
[2025-04-12 15:00:05] Production.INFO: ==5939== Releasing lock...
[2025-04-12 15:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 15:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 15:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 12:00:06
[end_date_ymd] => 2025-04-12 15:00:06
[RateCDR] => 1
)
[2025-04-12 15:00:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 12:00:06' and `end` < '2025-04-12 15:00:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 15:00:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14892335', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 15:00:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 15:00:08] Production.INFO: ProcessCDR(1,14892335,1,1,2)
[2025-04-12 15:00:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14892335,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:00:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14892335,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:00:08] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 15:00:08] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 15:00:08] Production.INFO: ==5943== Releasing lock...
[2025-04-12 15:00:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 15:00:08] Production.INFO: 26 MB #Memory Used#
[2025-04-12 15:00:13] Production.ERROR: CronJobId end10
[2025-04-12 15:00:13] Production.INFO: ==5937== Releasing lock...
[2025-04-12 15:00:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 15:00:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 15:00:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 15:00:16] Production.INFO: ============== Balance Warning START===========
[2025-04-12 15:00:16] Production.INFO: ============== Balance Warning END===========
[2025-04-12 15:00:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 15:00:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 15:00:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 15:00:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 15:00:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 15:00:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 15:00:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 15:00:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 15:00:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 15:00:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 15:00:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 15:00:16] Production.INFO: call_cost start
[2025-04-12 15:00:16] Production.INFO: call_cost end
[2025-04-12 15:00:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 15:00:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 15:00:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 15:00:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 15:00:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 15:00:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 15:00:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 15:00:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 15:00:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 15:00:17] Production.INFO: ==5933== Releasing lock...
[2025-04-12 15:00:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 15:00:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 15:00:19] Production.INFO: count ==1514
[2025-04-12 15:00:19] Production.ERROR: pbx CDR StartTime 2025-04-12 12:00:06 - End Time 2025-04-12 15:00:06
[2025-04-12 15:00:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 15:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892336', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892336', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892336', 'tblTempVendorCDR_20' ) start
[2025-04-12 15:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892336', 'tblTempVendorCDR_20' ) end
[2025-04-12 15:00:19] Production.INFO: ProcessCDR(1,14892336,1,1,2)
[2025-04-12 15:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892336,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:00:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892336,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:00:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892336,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:00:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892336,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892336', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892336', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:00:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 15:00:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 15:00:23] Production.INFO: ==5941== Releasing lock...
[2025-04-12 15:00:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 15:00:23] Production.INFO: 40 MB #Memory Used#
[2025-04-12 20:01:01] Production.INFO: ==6048== Lock acquired, processing the job...
[2025-04-12 20:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 20:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 20:01:01] Production.INFO: neon service started
[2025-04-12 20:01:01] Production.INFO: neon service started
[2025-04-12 20:01:01] Production.INFO: ==6048== Releasing lock...
[2025-04-12 20:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 20:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 15:01:02] Production.INFO: ==6084== Lock acquired, processing the job...
[2025-04-12 15:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 19:01:02] Production.INFO: ==6089== Lock acquired, processing the job...
[2025-04-12 19:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 19:01:02] Production.INFO: ==6089== Releasing lock...
[2025-04-12 19:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 19:01:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 15:01:03] Production.INFO: ==6084== Releasing lock...
[2025-04-12 15:01:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 15:01:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 15:01:03] Production.INFO: ==6099== Lock acquired, processing the job...
[2025-04-12 15:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 15:01:03] Production.INFO: ==6101== Lock acquired, processing the job...
[2025-04-12 15:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 15:01:04] Production.INFO: ==6105== Lock acquired, processing the job...
[2025-04-12 15:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 15:01:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 15:01:04] Production.INFO: Account Balance Start.
[2025-04-12 15:01:04] Production.INFO: CreateAllLog Start
[2025-04-12 15:01:04] Production.INFO: 117
[2025-04-12 15:01:04] Production.INFO: Date 2025-04-08
[2025-04-12 15:01:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:01:04] Production.INFO: Date 2025-04-09
[2025-04-12 15:01:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:01:04] Production.INFO: Date 2025-04-10
[2025-04-12 15:01:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:01:04] Production.INFO: ==6103== Lock acquired, processing the job...
[2025-04-12 15:01:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 15:01:04] Production.INFO: Date 2025-04-11
[2025-04-12 15:01:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:01:04] Production.INFO: ==6101== Releasing lock...
[2025-04-12 15:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 15:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 15:01:04] Production.INFO: ==6107== Lock acquired, processing the job...
[2025-04-12 15:01:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 15:01:04] Production.INFO: Date 2025-04-12
[2025-04-12 15:01:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:01:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 15:01:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 15:01:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 15:01:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 15:01:04] Production.INFO: Total Charge 0
[2025-04-12 15:01:04] Production.INFO: ==6109== Lock acquired, processing the job...
[2025-04-12 15:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 15:01:04] Production.INFO: CreateAllLog End
[2025-04-12 15:01:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 15:01:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 15:01:04] Production.INFO: count ==12
[2025-04-12 15:01:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 15:01:04] Production.INFO: count ==23
[2025-04-12 15:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892340') start
[2025-04-12 15:01:04] Production.INFO: Account Balance End.
[2025-04-12 15:01:04] Production.ERROR: done
[2025-04-12 15:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892340') end
[2025-04-12 15:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 15:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 15:01:04] Production.INFO: 1
[2025-04-12 15:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 15:01:05] Production.ERROR: CronJobId end 12
[2025-04-12 15:01:05] Production.INFO: ==6105== Releasing lock...
[2025-04-12 15:01:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 15:01:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 15:01:05] Production.ERROR: done
[2025-04-12 15:01:05] Production.INFO: ==6109== Releasing lock...
[2025-04-12 15:01:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 15:01:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 15:01:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 12:01:06
[end_date_ymd] => 2025-04-12 15:01:06
[RateCDR] => 1
)
[2025-04-12 15:01:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 12:01:06' and `end` < '2025-04-12 15: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-12 15:01:12] Production.ERROR: CronJobId end10
[2025-04-12 15:01:12] Production.INFO: ==6103== Releasing lock...
[2025-04-12 15:01:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 15:01:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 15:01:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 15:01:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 15:01:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 15:01:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 15:01:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 15:01:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 15:01:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 15:01:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 15:01:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 15:01:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 15:01:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 15:01:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 15:01:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 15:01:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 15:01:16] Production.INFO: call_cost start
[2025-04-12 15:01:16] Production.INFO: call_cost end
[2025-04-12 15:01:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 15:01:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 15:01:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 15:01:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 15:01:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 15:01:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 15:01:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 15:01:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 15:01:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 15:01:17] Production.INFO: ==6099== Releasing lock...
[2025-04-12 15:01:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 15:01:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 15:01:19] Production.INFO: count ==1469
[2025-04-12 15:01:19] Production.ERROR: pbx CDR StartTime 2025-04-12 12:01:06 - End Time 2025-04-12 15:01:06
[2025-04-12 15:01:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 15:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892341', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892341', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892341', 'tblTempVendorCDR_20' ) start
[2025-04-12 15:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892341', 'tblTempVendorCDR_20' ) end
[2025-04-12 15:01:19] Production.INFO: ProcessCDR(1,14892341,1,1,2)
[2025-04-12 15:01:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892341,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:01:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892341,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:01:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892341,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:01:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892341,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:01:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892341', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:01:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892341', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:01:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 15:01:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 15:01:24] Production.INFO: ==6107== Releasing lock...
[2025-04-12 15:01:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 15:01:24] Production.INFO: 39.75 MB #Memory Used#
[2025-04-12 20:02:01] Production.INFO: ==6163== Lock acquired, processing the job...
[2025-04-12 20:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 20:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 20:02:01] Production.INFO: neon service started
[2025-04-12 20:02:01] Production.INFO: neon service started
[2025-04-12 20:02:01] Production.INFO: ==6163== Releasing lock...
[2025-04-12 20:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 20:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 15:02:01] Production.INFO: ==6166== Lock acquired, processing the job...
[2025-04-12 15:02:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 15:02:02] Production.INFO: ==6166== Releasing lock...
[2025-04-12 15:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 15:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 19:02:02] Production.INFO: ==6168== Lock acquired, processing the job...
[2025-04-12 19:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 19:02:02] Production.INFO: ==6168== Releasing lock...
[2025-04-12 19:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 19:02:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 15:02:03] Production.INFO: ==6174== Lock acquired, processing the job...
[2025-04-12 15:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 15:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 15:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 15:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 15:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 15:02:03] Production.INFO: ==6178== Lock acquired, processing the job...
[2025-04-12 15:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 15:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 15:02:03] Production.INFO: ==6172== Lock acquired, processing the job...
[2025-04-12 15:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 15:02:03] Production.INFO: ==6170== Lock acquired, processing the job...
[2025-04-12 15:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 15:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 15:02:03] Production.INFO: ==6176== Lock acquired, processing the job...
[2025-04-12 15:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 15:02:03] Production.INFO: ==6180== Lock acquired, processing the job...
[2025-04-12 15:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 15:02:03] Production.ERROR: done
[2025-04-12 15:02:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 15:02:03] Production.INFO: Account Balance Start.
[2025-04-12 15:02:03] Production.INFO: CreateAllLog Start
[2025-04-12 15:02:03] Production.INFO: 117
[2025-04-12 15:02:03] Production.INFO: Date 2025-04-08
[2025-04-12 15:02:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 15:02:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:02:03] Production.INFO: count ==12
[2025-04-12 15:02:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 15:02:03] Production.INFO: count ==23
[2025-04-12 15:02:03] Production.INFO: Date 2025-04-09
[2025-04-12 15:02:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14892345') start
[2025-04-12 15:02:03] Production.INFO: ==6172== Releasing lock...
[2025-04-12 15:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 15:02:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 15:02:04] Production.ERROR: done
[2025-04-12 15:02:04] Production.INFO: Date 2025-04-10
[2025-04-12 15:02:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:02:04] Production.INFO: Date 2025-04-11
[2025-04-12 15:02:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892345') end
[2025-04-12 15:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 15:02:04] Production.INFO: 1
[2025-04-12 15:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 15:02:04] Production.INFO: ==6180== Releasing lock...
[2025-04-12 15:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 15:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 15:02:04] Production.INFO: Date 2025-04-12
[2025-04-12 15:02:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:02:04] Production.INFO: Total Charge 0
[2025-04-12 15:02:04] Production.INFO: CreateAllLog End
[2025-04-12 15:02:04] Production.INFO: Account Balance End.
[2025-04-12 15:02:04] Production.ERROR: CronJobId end 12
[2025-04-12 15:02:04] Production.INFO: ==6176== Releasing lock...
[2025-04-12 15:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 15:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 15:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 12:02:05
[end_date_ymd] => 2025-04-12 15:02:05
[RateCDR] => 1
)
[2025-04-12 15:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 12:02:05' and `end` < '2025-04-12 15:02:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 15:02:13] Production.ERROR: CronJobId end10
[2025-04-12 15:02:13] Production.INFO: ==6174== Releasing lock...
[2025-04-12 15:02:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 15:02:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 15:02:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 15:02:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 15:02:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 15:02:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 15:02:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 15:02:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 15:02:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 15:02:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 15:02:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 15:02:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 15:02:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 15:02:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 15:02:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 15:02:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 15:02:16] Production.INFO: call_cost start
[2025-04-12 15:02:16] Production.INFO: call_cost end
[2025-04-12 15:02:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 15:02:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 15:02:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 15:02:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 15:02:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 15:02:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 15:02:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 15:02:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 15:02:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 15:02:17] Production.INFO: ==6170== Releasing lock...
[2025-04-12 15:02:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 15:02:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 15:02:18] Production.INFO: count ==1468
[2025-04-12 15:02:18] Production.ERROR: pbx CDR StartTime 2025-04-12 12:02:05 - End Time 2025-04-12 15:02:05
[2025-04-12 15:02:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 15:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892346', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892346', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892346', 'tblTempVendorCDR_20' ) start
[2025-04-12 15:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892346', 'tblTempVendorCDR_20' ) end
[2025-04-12 15:02:18] Production.INFO: ProcessCDR(1,14892346,1,1,2)
[2025-04-12 15:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892346,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:02:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892346,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:02:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892346,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:02:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892346,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892346', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892346', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:02:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 15:02:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 15:02:22] Production.INFO: ==6178== Releasing lock...
[2025-04-12 15:02:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 15:02:22] Production.INFO: 39.5 MB #Memory Used#
[2025-04-12 20:03:02] Production.INFO: ==6237== Lock acquired, processing the job...
[2025-04-12 20:03:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 20:03:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 20:03:02] Production.INFO: neon service started
[2025-04-12 20:03:02] Production.INFO: neon service started
[2025-04-12 20:03:02] Production.INFO: ==6237== Releasing lock...
[2025-04-12 20:03:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 20:03:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 15:03:02] Production.INFO: ==6239== Lock acquired, processing the job...
[2025-04-12 15:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 19:03:02] Production.INFO: ==6241== Lock acquired, processing the job...
[2025-04-12 19:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 15:03:02] Production.INFO: ==6239== Releasing lock...
[2025-04-12 15:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 15:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 19:03:02] Production.INFO: ==6241== Releasing lock...
[2025-04-12 19:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 19:03:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 15:03:03] Production.INFO: ==6246== Lock acquired, processing the job...
[2025-04-12 15:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 15:03:03] Production.INFO: ==6248== Lock acquired, processing the job...
[2025-04-12 15:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 15:03:03] Production.INFO: ==6250== Lock acquired, processing the job...
[2025-04-12 15:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 15:03:03] Production.INFO: ==6244== Lock acquired, processing the job...
[2025-04-12 15:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 15:03:03] Production.INFO: Account Balance Start.
[2025-04-12 15:03:03] Production.INFO: CreateAllLog Start
[2025-04-12 15:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 15:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 15:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 15:03:03] Production.INFO: 117
[2025-04-12 15:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 15:03:03] Production.INFO: Date 2025-04-08
[2025-04-12 15:03:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:03:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 15:03:04] Production.INFO: Date 2025-04-09
[2025-04-12 15:03:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:03:04] Production.INFO: ==6252== Lock acquired, processing the job...
[2025-04-12 15:03:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 15:03:04] Production.INFO: Date 2025-04-10
[2025-04-12 15:03:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:03:04] Production.INFO: ==6246== Releasing lock...
[2025-04-12 15:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 15:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 15:03:04] Production.INFO: Date 2025-04-11
[2025-04-12 15:03:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:03:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 15:03:04] Production.INFO: Date 2025-04-12
[2025-04-12 15:03:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:03:04] Production.INFO: ==6254== Lock acquired, processing the job...
[2025-04-12 15:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 15:03:04] Production.INFO: Total Charge 0
[2025-04-12 15:03:04] Production.INFO: CreateAllLog End
[2025-04-12 15:03:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 15:03:04] Production.INFO: count ==12
[2025-04-12 15:03:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 15:03:04] Production.INFO: count ==23
[2025-04-12 15:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892350') start
[2025-04-12 15:03:04] Production.ERROR: done
[2025-04-12 15:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 15:03:04] Production.INFO: Account Balance End.
[2025-04-12 15:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892350') end
[2025-04-12 15:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 15:03:04] Production.INFO: 1
[2025-04-12 15:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 15:03:04] Production.ERROR: CronJobId end 12
[2025-04-12 15:03:04] Production.INFO: ==6254== Releasing lock...
[2025-04-12 15:03:04] Production.INFO: ==6250== Releasing lock...
[2025-04-12 15:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 15:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 15:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 15:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 15:03:04] Production.ERROR: done
[2025-04-12 15:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 12:03:05
[end_date_ymd] => 2025-04-12 15:03:05
[RateCDR] => 1
)
[2025-04-12 15:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 12:03:05' and `end` < '2025-04-12 15:03:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 15:03:13] Production.ERROR: CronJobId end10
[2025-04-12 15:03:13] Production.INFO: ==6248== Releasing lock...
[2025-04-12 15:03:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 15:03:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 15:03:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 15:03:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 15:03:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 15:03:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 15:03:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 15:03:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 15:03:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 15:03:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 15:03:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 15:03:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 15:03:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 15:03:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 15:03:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 15:03:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 15:03:15] Production.INFO: call_cost start
[2025-04-12 15:03:15] Production.INFO: call_cost end
[2025-04-12 15:03:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 15:03:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 15:03:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 15:03:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 15:03:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 15:03:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 15:03:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 15:03:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 15:03:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 15:03:16] Production.INFO: ==6244== Releasing lock...
[2025-04-12 15:03:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 15:03:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 15:03:18] Production.INFO: count ==1462
[2025-04-12 15:03:19] Production.ERROR: pbx CDR StartTime 2025-04-12 12:03:05 - End Time 2025-04-12 15:03:05
[2025-04-12 15:03:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 15:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892351', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892351', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892351', 'tblTempVendorCDR_20' ) start
[2025-04-12 15:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892351', 'tblTempVendorCDR_20' ) end
[2025-04-12 15:03:19] Production.INFO: ProcessCDR(1,14892351,1,1,2)
[2025-04-12 15:03:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892351,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:03:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892351,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:03:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892351,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:03:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892351,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892351', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892351', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:03:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 15:03:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 15:03:22] Production.INFO: ==6252== Releasing lock...
[2025-04-12 15:03:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 15:03:22] Production.INFO: 39.25 MB #Memory Used#
[2025-04-12 20:04:01] Production.INFO: ==6310== Lock acquired, processing the job...
[2025-04-12 20:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 20:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 20:04:01] Production.INFO: neon service started
[2025-04-12 20:04:01] Production.INFO: neon service started
[2025-04-12 20:04:01] Production.INFO: ==6310== Releasing lock...
[2025-04-12 20:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 20:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 15:04:01] Production.INFO: ==6312== Lock acquired, processing the job...
[2025-04-12 15:04:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 15:04:02] Production.INFO: ==6312== Releasing lock...
[2025-04-12 15:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 15:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 19:04:02] Production.INFO: ==6314== Lock acquired, processing the job...
[2025-04-12 19:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 19:04:02] Production.INFO: ==6314== Releasing lock...
[2025-04-12 19:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 19:04:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 15:04:03] Production.INFO: ==6316== Lock acquired, processing the job...
[2025-04-12 15:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 15:04:03] Production.INFO: ==6318== Lock acquired, processing the job...
[2025-04-12 15:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 15:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 15:04:03] Production.INFO: ==6320== Lock acquired, processing the job...
[2025-04-12 15:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 15:04:03] Production.INFO: ==6326== Lock acquired, processing the job...
[2025-04-12 15:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 15:04:03] Production.INFO: ==6322== Lock acquired, processing the job...
[2025-04-12 15:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 15:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 15:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 15:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 15:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 15:04:03] Production.INFO: ==6324== Lock acquired, processing the job...
[2025-04-12 15:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 15:04:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 15:04:03] Production.INFO: Account Balance Start.
[2025-04-12 15:04:03] Production.INFO: CreateAllLog Start
[2025-04-12 15:04:03] Production.INFO: 117
[2025-04-12 15:04:03] Production.INFO: Date 2025-04-08
[2025-04-12 15:04:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 15:04:03] Production.INFO: count ==12
[2025-04-12 15:04:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 15:04:03] Production.INFO: count ==23
[2025-04-12 15:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14892354') start
[2025-04-12 15:04:03] Production.INFO: Date 2025-04-09
[2025-04-12 15:04:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:04:03] Production.INFO: ==6318== Releasing lock...
[2025-04-12 15:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 15:04:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 15:04:03] Production.INFO: Date 2025-04-10
[2025-04-12 15:04:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:04:03] Production.INFO: Date 2025-04-11
[2025-04-12 15:04:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:04:03] Production.INFO: Date 2025-04-12
[2025-04-12 15:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14892354') end
[2025-04-12 15:04:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 15:04:03] Production.INFO: 1
[2025-04-12 15:04:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 15:04:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:04:04] Production.INFO: ==6326== Releasing lock...
[2025-04-12 15:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 15:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 15:04:04] Production.ERROR: done
[2025-04-12 15:04:04] Production.INFO: Total Charge 0
[2025-04-12 15:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 15:04:04] Production.INFO: CreateAllLog End
[2025-04-12 15:04:04] Production.ERROR: done
[2025-04-12 15:04:04] Production.INFO: Account Balance End.
[2025-04-12 15:04:04] Production.ERROR: CronJobId end 12
[2025-04-12 15:04:04] Production.INFO: ==6322== Releasing lock...
[2025-04-12 15:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 15:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 15:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 12:04:05
[end_date_ymd] => 2025-04-12 15:04:05
[RateCDR] => 1
)
[2025-04-12 15: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-12 12:04:05' and `end` < '2025-04-12 15: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-12 15:04:12] Production.ERROR: CronJobId end10
[2025-04-12 15:04:12] Production.INFO: ==6320== Releasing lock...
[2025-04-12 15:04:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 15:04:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 15:04:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 15:04:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 15:04:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 15:04:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 15:04:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 15:04:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 15:04:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 15:04:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 15:04:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 15:04:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 15:04:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 15:04:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 15:04:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 15:04:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 15:04:15] Production.INFO: call_cost start
[2025-04-12 15:04:15] Production.INFO: call_cost end
[2025-04-12 15:04:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 15:04:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 15:04:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 15:04:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 15:04:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 15:04:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 15:04:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 15:04:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 15:04:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 15:04:16] Production.INFO: ==6316== Releasing lock...
[2025-04-12 15:04:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 15:04:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 15:04:18] Production.INFO: count ==1458
[2025-04-12 15:04:18] Production.ERROR: pbx CDR StartTime 2025-04-12 12:04:05 - End Time 2025-04-12 15:04:05
[2025-04-12 15:04:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 15:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892356', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892356', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892356', 'tblTempVendorCDR_20' ) start
[2025-04-12 15:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892356', 'tblTempVendorCDR_20' ) end
[2025-04-12 15:04:19] Production.INFO: ProcessCDR(1,14892356,1,1,2)
[2025-04-12 15:04:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892356,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:04:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892356,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:04:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892356,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:04:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892356,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:04:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892356', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:04:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892356', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:04:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 15:04:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 15:04:24] Production.INFO: ==6324== Releasing lock...
[2025-04-12 15:04:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 15:04:24] Production.INFO: 40 MB #Memory Used#
[2025-04-12 20:05:01] Production.INFO: ==6504== Lock acquired, processing the job...
[2025-04-12 20:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 20:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 20:05:01] Production.INFO: neon service started
[2025-04-12 20:05:01] Production.INFO: neon service started
[2025-04-12 20:05:01] Production.INFO: ==6504== Releasing lock...
[2025-04-12 20:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 20:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 15:05:02] Production.INFO: ==6506== Lock acquired, processing the job...
[2025-04-12 15:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 19:05:02] Production.INFO: ==6508== Lock acquired, processing the job...
[2025-04-12 19:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 15:05:02] Production.INFO: ==6506== Releasing lock...
[2025-04-12 15:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 15:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 19:05:02] Production.INFO: ==6508== Releasing lock...
[2025-04-12 19:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 19:05:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 15:05:03] Production.INFO: ==6514== Lock acquired, processing the job...
[2025-04-12 15:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 15:05:03] Production.INFO: ==6510== Lock acquired, processing the job...
[2025-04-12 15:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 15:05:03] Production.INFO: ==6512== Lock acquired, processing the job...
[2025-04-12 15:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 15:05:03] Production.INFO: ==6520== Lock acquired, processing the job...
[2025-04-12 15:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 15:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 15:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 15:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 15:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 15:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 15:05:03] Production.INFO: ==6516== Lock acquired, processing the job...
[2025-04-12 15:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 15:05:04] Production.INFO: ==6518== Lock acquired, processing the job...
[2025-04-12 15:05:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 15:05:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 15:05:04] Production.INFO: Account Balance Start.
[2025-04-12 15:05:04] Production.INFO: CreateAllLog Start
[2025-04-12 15:05:04] Production.INFO: 117
[2025-04-12 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-12 15:05:04] Production.INFO: Date 2025-04-08
[2025-04-12 15:05:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:05:04] Production.INFO: count ==12
[2025-04-12 15:05:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 15:05:04] Production.INFO: count ==23
[2025-04-12 15:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892359') start
[2025-04-12 15:05:04] Production.INFO: Date 2025-04-09
[2025-04-12 15:05:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:05:04] Production.INFO: Date 2025-04-10
[2025-04-12 15:05:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:05:04] Production.INFO: Date 2025-04-11
[2025-04-12 15:05:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892359') end
[2025-04-12 15:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 15:05:04] Production.INFO: 1
[2025-04-12 15:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 15:05:04] Production.INFO: Date 2025-04-12
[2025-04-12 15:05:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:05:04] Production.INFO: ==6512== Releasing lock...
[2025-04-12 15:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 15:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 15:05:04] Production.ERROR: done
[2025-04-12 15:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 15:05:04] Production.INFO: ==6520== Releasing lock...
[2025-04-12 15:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 15:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 15:05:04] Production.INFO: Total Charge 0
[2025-04-12 15:05:04] Production.INFO: CreateAllLog End
[2025-04-12 15:05:04] Production.ERROR: done
[2025-04-12 15:05:04] Production.INFO: Account Balance End.
[2025-04-12 15:05:04] Production.ERROR: CronJobId end 12
[2025-04-12 15:05:04] Production.INFO: ==6516== Releasing lock...
[2025-04-12 15:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 15:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 15:05:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 12:05:06
[end_date_ymd] => 2025-04-12 15:05:06
[RateCDR] => 1
)
[2025-04-12 15: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-12 12:05:06' and `end` < '2025-04-12 15: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-12 15:05:14] Production.ERROR: CronJobId end10
[2025-04-12 15:05:14] Production.INFO: ==6514== Releasing lock...
[2025-04-12 15:05:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 15:05:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 15:05:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 15:05:16] Production.INFO: ============== Balance Warning START===========
[2025-04-12 15:05:16] Production.INFO: ============== Balance Warning END===========
[2025-04-12 15:05:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 15:05:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 15:05:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 15:05:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 15:05:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 15:05:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 15:05:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 15:05:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 15:05:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 15:05:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 15:05:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 15:05:16] Production.INFO: call_cost start
[2025-04-12 15:05:16] Production.INFO: call_cost end
[2025-04-12 15:05:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 15:05:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 15:05:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 15:05:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 15:05:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 15:05:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 15:05:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 15:05:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 15:05:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 15:05:17] Production.INFO: ==6510== Releasing lock...
[2025-04-12 15:05:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 15:05:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 15:05:19] Production.INFO: count ==1456
[2025-04-12 15:05:19] Production.ERROR: pbx CDR StartTime 2025-04-12 12:05:06 - End Time 2025-04-12 15:05:06
[2025-04-12 15:05:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 15:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892361', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892361', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892361', 'tblTempVendorCDR_20' ) start
[2025-04-12 15:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892361', 'tblTempVendorCDR_20' ) end
[2025-04-12 15:05:19] Production.INFO: ProcessCDR(1,14892361,1,1,2)
[2025-04-12 15:05:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892361,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:05:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892361,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:05:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892361,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:05:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892361,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:05:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892361', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:05:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892361', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:05:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 15:05:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 15:05:24] Production.INFO: ==6518== Releasing lock...
[2025-04-12 15:05:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 15:05:24] Production.INFO: 39.5 MB #Memory Used#
[2025-04-12 20:06:01] Production.INFO: ==6584== Lock acquired, processing the job...
[2025-04-12 20:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 20:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 20:06:01] Production.INFO: neon service started
[2025-04-12 20:06:01] Production.INFO: neon service started
[2025-04-12 20:06:01] Production.INFO: ==6584== Releasing lock...
[2025-04-12 20:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 20:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 15:06:01] Production.INFO: ==6586== Lock acquired, processing the job...
[2025-04-12 15:06:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 15:06:02] Production.INFO: ==6586== Releasing lock...
[2025-04-12 15:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 15:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 19:06:02] Production.INFO: ==6588== Lock acquired, processing the job...
[2025-04-12 19:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 19:06:02] Production.INFO: ==6588== Releasing lock...
[2025-04-12 19:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 19:06:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 15:06:03] Production.INFO: ==6590== Lock acquired, processing the job...
[2025-04-12 15:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 15:06:03] Production.INFO: ==6592== Lock acquired, processing the job...
[2025-04-12 15:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 15:06:03] Production.INFO: ==6594== Lock acquired, processing the job...
[2025-04-12 15:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 15:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 15:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 15:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 15:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 15:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 15:06:03] Production.INFO: ==6596== Lock acquired, processing the job...
[2025-04-12 15:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 15:06:03] Production.INFO: ==6598== Lock acquired, processing the job...
[2025-04-12 15:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 15:06:03] Production.INFO: ==6601== Lock acquired, processing the job...
[2025-04-12 15:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 15:06:03] Production.INFO: Account Balance Start.
[2025-04-12 15:06:03] Production.INFO: CreateAllLog Start
[2025-04-12 15:06:03] Production.INFO: 117
[2025-04-12 15:06:03] Production.INFO: Date 2025-04-08
[2025-04-12 15:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 15:06:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:06:03] Production.INFO: ==6592== Releasing lock...
[2025-04-12 15:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 15:06:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 15:06:03] Production.INFO: Date 2025-04-09
[2025-04-12 15:06:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:06:03] Production.INFO: Date 2025-04-10
[2025-04-12 15:06:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:06:03] Production.INFO: Date 2025-04-11
[2025-04-12 15:06:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:06:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 15:06:03] Production.INFO: Date 2025-04-12
[2025-04-12 15:06:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:06:03] Production.INFO: count ==12
[2025-04-12 15:06:03] Production.INFO: Total Charge 0
[2025-04-12 15:06:03] Production.INFO: CreateAllLog End
[2025-04-12 15:06:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 15:06:03] Production.INFO: count ==23
[2025-04-12 15:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892365') start
[2025-04-12 15:06:04] Production.ERROR: done
[2025-04-12 15:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 15:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892365') end
[2025-04-12 15:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 15:06:04] Production.INFO: 1
[2025-04-12 15:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 15:06:04] Production.INFO: ==6601== Releasing lock...
[2025-04-12 15:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 15:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 15:06:04] Production.ERROR: done
[2025-04-12 15:06:04] Production.INFO: Account Balance End.
[2025-04-12 15:06:04] Production.ERROR: CronJobId end 12
[2025-04-12 15:06:04] Production.INFO: ==6596== Releasing lock...
[2025-04-12 15:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 15:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 15:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 12:06:05
[end_date_ymd] => 2025-04-12 15:06:05
[RateCDR] => 1
)
[2025-04-12 15:06:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 12:06:05' and `end` < '2025-04-12 15:06:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 15:06:12] Production.ERROR: CronJobId end10
[2025-04-12 15:06:12] Production.INFO: ==6594== Releasing lock...
[2025-04-12 15:06:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 15:06:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 15:06:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 15:06:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 15:06:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 15:06:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 15:06:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 15:06:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 15:06:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 15:06:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 15:06:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 15:06:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 15:06:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 15:06:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 15:06:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 15:06:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 15:06:15] Production.INFO: call_cost start
[2025-04-12 15:06:15] Production.INFO: call_cost end
[2025-04-12 15:06:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 15:06:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 15:06:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 15:06:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 15:06:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 15:06:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 15:06:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 15:06:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 15:06:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 15:06:16] Production.INFO: ==6590== Releasing lock...
[2025-04-12 15:06:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 15:06:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 15:06:18] Production.INFO: count ==1468
[2025-04-12 15:06:18] Production.ERROR: pbx CDR StartTime 2025-04-12 12:06:05 - End Time 2025-04-12 15:06:05
[2025-04-12 15:06:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 15:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892366', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892366', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892366', 'tblTempVendorCDR_20' ) start
[2025-04-12 15:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892366', 'tblTempVendorCDR_20' ) end
[2025-04-12 15:06:18] Production.INFO: ProcessCDR(1,14892366,1,1,2)
[2025-04-12 15:06:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892366,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:06:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892366,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:06:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892366,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:06:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892366,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892366', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892366', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:06:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 15:06:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 15:06:22] Production.INFO: ==6598== Releasing lock...
[2025-04-12 15:06:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 15:06:22] Production.INFO: 39.5 MB #Memory Used#
[2025-04-12 20:07:01] Production.INFO: ==6655== Lock acquired, processing the job...
[2025-04-12 20:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 20:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 20:07:01] Production.INFO: neon service started
[2025-04-12 20:07:01] Production.INFO: neon service started
[2025-04-12 20:07:01] Production.INFO: ==6655== Releasing lock...
[2025-04-12 20:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 20:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 15:07:02] Production.INFO: ==6657== Lock acquired, processing the job...
[2025-04-12 15:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 15:07:02] Production.INFO: ==6657== Releasing lock...
[2025-04-12 15:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 15:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 19:07:02] Production.INFO: ==6659== Lock acquired, processing the job...
[2025-04-12 19:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 19:07:02] Production.INFO: ==6659== Releasing lock...
[2025-04-12 19:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 19:07:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 15:07:03] Production.INFO: ==6661== Lock acquired, processing the job...
[2025-04-12 15:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 15:07:03] Production.INFO: ==6663== Lock acquired, processing the job...
[2025-04-12 15:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 15:07:03] Production.INFO: ==6665== Lock acquired, processing the job...
[2025-04-12 15:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 15:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 15:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 15:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 15:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 15:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 15:07:03] Production.INFO: ==6668== Lock acquired, processing the job...
[2025-04-12 15:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 15:07:03] Production.INFO: ==6663== Releasing lock...
[2025-04-12 15:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 15:07:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 15:07:03] Production.INFO: ==6670== Lock acquired, processing the job...
[2025-04-12 15:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 15:07:03] Production.INFO: ==6672== Lock acquired, processing the job...
[2025-04-12 15:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 15:07:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 15:07:04] Production.INFO: Account Balance Start.
[2025-04-12 15:07:04] Production.INFO: CreateAllLog Start
[2025-04-12 15:07:04] Production.INFO: 117
[2025-04-12 15:07:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 15:07:04] Production.INFO: Date 2025-04-08
[2025-04-12 15:07:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:07:04] Production.INFO: count ==12
[2025-04-12 15:07:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 15:07:04] Production.INFO: count ==23
[2025-04-12 15:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892370') start
[2025-04-12 15:07:04] Production.INFO: Date 2025-04-09
[2025-04-12 15:07:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:07:04] Production.INFO: Date 2025-04-10
[2025-04-12 15:07:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:07:04] Production.ERROR: done
[2025-04-12 15:07:04] Production.INFO: Date 2025-04-11
[2025-04-12 15:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 15:07:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:07:04] Production.INFO: Date 2025-04-12
[2025-04-12 15:07:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:07:04] Production.INFO: Total Charge 0
[2025-04-12 15:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892370') end
[2025-04-12 15:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 15:07:04] Production.INFO: 1
[2025-04-12 15:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 15:07:04] Production.INFO: CreateAllLog End
[2025-04-12 15:07:04] Production.INFO: ==6672== Releasing lock...
[2025-04-12 15:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 15:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 15:07:04] Production.ERROR: done
[2025-04-12 15:07:04] Production.INFO: Account Balance End.
[2025-04-12 15:07:04] Production.ERROR: CronJobId end 12
[2025-04-12 15:07:04] Production.INFO: ==6668== Releasing lock...
[2025-04-12 15:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 15:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 15:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 12:07:05
[end_date_ymd] => 2025-04-12 15:07:05
[RateCDR] => 1
)
[2025-04-12 15:07:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 12:07:05' and `end` < '2025-04-12 15:07:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 15:07:12] Production.ERROR: CronJobId end10
[2025-04-12 15:07:12] Production.INFO: ==6665== Releasing lock...
[2025-04-12 15:07:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 15:07:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 15:07:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 15:07:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 15:07:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 15:07:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 15:07:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 15:07:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 15:07:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 15:07:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 15:07:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 15:07:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 15:07:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 15:07:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 15:07:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 15:07:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 15:07:15] Production.INFO: call_cost start
[2025-04-12 15:07:15] Production.INFO: call_cost end
[2025-04-12 15:07:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 15:07:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 15:07:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 15:07:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 15:07:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 15:07:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 15:07:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 15:07:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 15:07:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 15:07:16] Production.INFO: ==6661== Releasing lock...
[2025-04-12 15:07:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 15:07:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 15:07:19] Production.INFO: count ==1492
[2025-04-12 15:07:19] Production.ERROR: pbx CDR StartTime 2025-04-12 12:07:05 - End Time 2025-04-12 15:07:05
[2025-04-12 15:07:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 15:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892371', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892371', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892371', 'tblTempVendorCDR_20' ) start
[2025-04-12 15:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892371', 'tblTempVendorCDR_20' ) end
[2025-04-12 15:07:19] Production.INFO: ProcessCDR(1,14892371,1,1,2)
[2025-04-12 15:07:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892371,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:07:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892371,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:07:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892371,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:07:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892371,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:07:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892371', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:07:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892371', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:07:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 15:07:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 15:07:23] Production.INFO: ==6670== Releasing lock...
[2025-04-12 15:07:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 15:07:23] Production.INFO: 39.25 MB #Memory Used#
[2025-04-12 20:08:01] Production.INFO: ==6805== Lock acquired, processing the job...
[2025-04-12 20:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 20:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 20:08:01] Production.INFO: neon service started
[2025-04-12 20:08:01] Production.INFO: neon service started
[2025-04-12 20:08:01] Production.INFO: ==6805== Releasing lock...
[2025-04-12 20:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 20:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 15:08:02] Production.INFO: ==6807== Lock acquired, processing the job...
[2025-04-12 15:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 19:08:02] Production.INFO: ==6809== Lock acquired, processing the job...
[2025-04-12 19:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 19:08:02] Production.INFO: ==6809== Releasing lock...
[2025-04-12 19:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 19:08:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 15:08:02] Production.INFO: ==6807== Releasing lock...
[2025-04-12 15:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 15:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 15:08:03] Production.INFO: ==6812== Lock acquired, processing the job...
[2025-04-12 15:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 15:08:03] Production.INFO: ==6814== Lock acquired, processing the job...
[2025-04-12 15:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 15:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 15:08:03] Production.INFO: ==6818== Lock acquired, processing the job...
[2025-04-12 15:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 15:08:03] Production.INFO: ==6816== Lock acquired, processing the job...
[2025-04-12 15:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 15:08:03] Production.INFO: Account Balance Start.
[2025-04-12 15:08:03] Production.INFO: CreateAllLog Start
[2025-04-12 15:08:03] Production.INFO: 117
[2025-04-12 15:08:03] Production.INFO: Date 2025-04-08
[2025-04-12 15:08:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:08:03] Production.INFO: Date 2025-04-09
[2025-04-12 15:08:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 15:08:03] Production.INFO: ==6820== Lock acquired, processing the job...
[2025-04-12 15:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 15:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 15:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 15:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 15:08:03] Production.INFO: Date 2025-04-10
[2025-04-12 15:08:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:08:03] Production.INFO: ==6822== Lock acquired, processing the job...
[2025-04-12 15:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 15:08:03] Production.INFO: Date 2025-04-11
[2025-04-12 15:08:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 15:08:03] Production.INFO: Date 2025-04-12
[2025-04-12 15:08:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:08:03] Production.INFO: Total Charge 0
[2025-04-12 15:08:03] Production.INFO: CreateAllLog End
[2025-04-12 15:08:04] Production.INFO: ==6814== Releasing lock...
[2025-04-12 15:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 15:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 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-12 15:08:04] Production.INFO: count ==12
[2025-04-12 15:08:04] Production.INFO: Account Balance End.
[2025-04-12 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-12 15:08:04] Production.INFO: count ==23
[2025-04-12 15:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892375') start
[2025-04-12 15:08:04] Production.ERROR: CronJobId end 12
[2025-04-12 15:08:04] Production.INFO: ==6818== Releasing lock...
[2025-04-12 15:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 15:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 15:08:04] Production.ERROR: done
[2025-04-12 15:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 15:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892375') end
[2025-04-12 15:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 15:08:04] Production.INFO: 1
[2025-04-12 15:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 15:08:04] Production.INFO: ==6822== Releasing lock...
[2025-04-12 15:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 15:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 15:08:04] Production.ERROR: done
[2025-04-12 15:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 12:08:05
[end_date_ymd] => 2025-04-12 15:08:05
[RateCDR] => 1
)
[2025-04-12 15:08:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 12:08:05' and `end` < '2025-04-12 15:08:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 15:08:11] Production.ERROR: CronJobId end10
[2025-04-12 15:08:11] Production.INFO: ==6816== Releasing lock...
[2025-04-12 15:08:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 15:08:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 15:08:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 15:08:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 15:08:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 15:08:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 15:08:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 15:08:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 15:08:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 15:08:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 15:08:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 15:08:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 15:08:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 15:08:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 15:08:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 15:08:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 15:08:14] Production.INFO: call_cost start
[2025-04-12 15:08:14] Production.INFO: call_cost end
[2025-04-12 15:08:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 15:08:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 15:08:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 15:08:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 15:08:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 15:08:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 15:08:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 15:08:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 15:08:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 15:08:15] Production.INFO: ==6812== Releasing lock...
[2025-04-12 15:08:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 15:08:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 15:08:18] Production.INFO: count ==1504
[2025-04-12 15:08:18] Production.ERROR: pbx CDR StartTime 2025-04-12 12:08:05 - End Time 2025-04-12 15:08:05
[2025-04-12 15:08:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 15:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892376', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892376', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892376', 'tblTempVendorCDR_20' ) start
[2025-04-12 15:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892376', 'tblTempVendorCDR_20' ) end
[2025-04-12 15:08:18] Production.INFO: ProcessCDR(1,14892376,1,1,2)
[2025-04-12 15:08:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892376,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:08:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892376,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:08:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892376,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:08:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892376,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:08:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892376', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:08:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892376', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:08:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 15:08:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 15:08:24] Production.INFO: ==6820== Releasing lock...
[2025-04-12 15:08:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 15:08:24] Production.INFO: 40 MB #Memory Used#
[2025-04-12 20:09:01] Production.INFO: ==6883== Lock acquired, processing the job...
[2025-04-12 20:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 20:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 20:09:01] Production.INFO: neon service started
[2025-04-12 20:09:01] Production.INFO: neon service started
[2025-04-12 20:09:01] Production.INFO: ==6883== Releasing lock...
[2025-04-12 20:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 20:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 15:09:02] Production.INFO: ==6885== Lock acquired, processing the job...
[2025-04-12 15:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 15:09:02] Production.INFO: ==6885== Releasing lock...
[2025-04-12 15:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 15:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 19:09:02] Production.INFO: ==6887== Lock acquired, processing the job...
[2025-04-12 19:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 19:09:02] Production.INFO: ==6887== Releasing lock...
[2025-04-12 19:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 19:09:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 15:09:03] Production.INFO: ==6890== Lock acquired, processing the job...
[2025-04-12 15:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 15:09:03] Production.INFO: ==6894== Lock acquired, processing the job...
[2025-04-12 15:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 15:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 15:09:03] Production.INFO: ==6896== Lock acquired, processing the job...
[2025-04-12 15:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 15:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 15:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 15:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 15:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 15:09:03] Production.INFO: Account Balance Start.
[2025-04-12 15:09:03] Production.INFO: CreateAllLog Start
[2025-04-12 15:09:03] Production.INFO: 117
[2025-04-12 15:09:03] Production.INFO: Date 2025-04-08
[2025-04-12 15:09:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:09:03] Production.INFO: Date 2025-04-09
[2025-04-12 15:09:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:09:03] Production.INFO: Date 2025-04-10
[2025-04-12 15:09:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:09:03] Production.INFO: ==6892== Lock acquired, processing the job...
[2025-04-12 15:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 15:09:03] Production.INFO: Date 2025-04-11
[2025-04-12 15:09:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:09:03] Production.INFO: Date 2025-04-12
[2025-04-12 15:09:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:09:03] Production.INFO: ==6898== Lock acquired, processing the job...
[2025-04-12 15:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 15:09:03] Production.INFO: ==6900== Lock acquired, processing the job...
[2025-04-12 15:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 15:09:03] Production.INFO: Total Charge 0
[2025-04-12 15:09:03] Production.INFO: CreateAllLog End
[2025-04-12 15:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 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-12 15:09:04] Production.INFO: count ==12
[2025-04-12 15:09:04] Production.INFO: ==6892== Releasing lock...
[2025-04-12 15:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 15:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 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-12 15:09:04] Production.INFO: count ==23
[2025-04-12 15:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892380') start
[2025-04-12 15:09:04] Production.ERROR: done
[2025-04-12 15:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 15:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892380') end
[2025-04-12 15:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 15:09:04] Production.INFO: 1
[2025-04-12 15:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 15:09:04] Production.ERROR: done
[2025-04-12 15:09:04] Production.INFO: ==6900== Releasing lock...
[2025-04-12 15:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 15:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 15:09:04] Production.INFO: Account Balance End.
[2025-04-12 15:09:04] Production.ERROR: CronJobId end 12
[2025-04-12 15:09:04] Production.INFO: ==6896== Releasing lock...
[2025-04-12 15:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 15:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 15:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 12:09:05
[end_date_ymd] => 2025-04-12 15:09:05
[RateCDR] => 1
)
[2025-04-12 15:09:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 12:09:05' and `end` < '2025-04-12 15:09:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 15:09:12] Production.ERROR: CronJobId end10
[2025-04-12 15:09:12] Production.INFO: ==6894== Releasing lock...
[2025-04-12 15:09:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 15:09:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 15:09:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 15:09:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 15:09:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 15:09:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 15:09:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 15:09:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 15:09:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 15:09:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 15:09:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 15:09:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 15:09:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 15:09:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 15:09:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 15:09:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 15:09:14] Production.INFO: call_cost start
[2025-04-12 15:09:14] Production.INFO: call_cost end
[2025-04-12 15:09:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 15:09:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 15:09:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 15:09:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 15:09:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 15:09:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 15:09:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 15:09:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 15:09:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 15:09:15] Production.INFO: ==6890== Releasing lock...
[2025-04-12 15:09:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 15:09:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 15:09:18] Production.INFO: count ==1512
[2025-04-12 15:09:19] Production.ERROR: pbx CDR StartTime 2025-04-12 12:09:05 - End Time 2025-04-12 15:09:05
[2025-04-12 15:09:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 15:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892381', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892381', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892381', 'tblTempVendorCDR_20' ) start
[2025-04-12 15:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892381', 'tblTempVendorCDR_20' ) end
[2025-04-12 15:09:19] Production.INFO: ProcessCDR(1,14892381,1,1,2)
[2025-04-12 15:09:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892381,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:09:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892381,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:09:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892381,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:09:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892381,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:09:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892381', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:09:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892381', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:09:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 15:09:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 15:09:24] Production.INFO: ==6898== Releasing lock...
[2025-04-12 15:09:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 15:09:24] Production.INFO: 40 MB #Memory Used#
[2025-04-12 20:10:02] Production.INFO: ==6960== Lock acquired, processing the job...
[2025-04-12 20:10:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 20:10:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 20:10:02] Production.INFO: neon service started
[2025-04-12 20:10:02] Production.INFO: neon service started
[2025-04-12 20:10:02] Production.INFO: ==6960== Releasing lock...
[2025-04-12 20:10:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 20:10:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 15:10:02] Production.INFO: ==6962== Lock acquired, processing the job...
[2025-04-12 15:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 19:10:02] Production.INFO: ==6964== Lock acquired, processing the job...
[2025-04-12 19:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 19:10:03] Production.INFO: ==6964== Releasing lock...
[2025-04-12 19:10:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 19:10:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 15:10:03] Production.INFO: ==6962== Releasing lock...
[2025-04-12 15:10:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 15:10:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 15:10:04] Production.INFO: ==6979== Lock acquired, processing the job...
[2025-04-12 15:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 15:10:04] Production.INFO: ==6976== Lock acquired, processing the job...
[2025-04-12 15:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 15:10:04] Production.INFO: ==6981== Lock acquired, processing the job...
[2025-04-12 15:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 15:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 15:10:04] Production.INFO: ==6968== Lock acquired, processing the job...
[2025-04-12 15:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 15:10:04] Production.INFO: ==6966== Lock acquired, processing the job...
[2025-04-12 15:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 15:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 15:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 15:10:04] Production.INFO: ==6970== Lock acquired, processing the job...
[2025-04-12 15:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 15:10:04] Production.INFO: count ==12
[2025-04-12 15:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 15:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 15:10:04] Production.INFO: count ==23
[2025-04-12 15:10:04] Production.INFO: ==6972== Lock acquired, processing the job...
[2025-04-12 15:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 15:10:04] Production.INFO: ==6974== Lock acquired, processing the job...
[2025-04-12 15:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 15:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892382') start
[2025-04-12 15:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 15:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 15:10:04] Production.ERROR: CronJob PID - 6968
[2025-04-12 15:10:04] Production.ERROR: CronJob Title - System Alerts
[2025-04-12 15:10:04] Production.ERROR: CronJob ID - 5
[2025-04-12 15:10:04] Production.ERROR: CronJob Last Run Time 2025-04-12 15:10:00
[2025-04-12 15:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 15:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 15:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 15:10:04] Production.ERROR: CronJob PID - 6970
[2025-04-12 15:10:04] Production.ERROR: CronJob Title - Account Block
[2025-04-12 15:10:04] Production.ERROR: CronJob ID - 7
[2025-04-12 15:10:04] Production.ERROR: CronJob Last Run Time 2025-04-12 15:10:00
[2025-04-12 15:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 15:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 15:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 15:10:04] Production.ERROR: CronJob PID - 6972
[2025-04-12 15:10:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-04-12 15:10:04] Production.ERROR: CronJob ID - 10
[2025-04-12 15:10:04] Production.ERROR: CronJob Last Run Time 2025-04-12 15:10:00
[2025-04-12 15:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 15:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 15:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 15:10:04] Production.ERROR: CronJob PID - 6974
[2025-04-12 15:10:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-04-12 15:10:04] Production.ERROR: CronJob ID - 12
[2025-04-12 15:10:04] Production.ERROR: CronJob Last Run Time 2025-04-12 15:10:00
[2025-04-12 15:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 15:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 15:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 15:10:04] Production.ERROR: CronJob PID - 6976
[2025-04-12 15:10:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-04-12 15:10:04] Production.ERROR: CronJob ID - 16
[2025-04-12 15:10:04] Production.ERROR: CronJob Last Run Time 2025-04-12 15:10:00
[2025-04-12 15:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 15:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 15:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 15:10:04] Production.ERROR: CronJob PID - 6979
[2025-04-12 15:10:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-04-12 15:10:04] Production.ERROR: CronJob ID - 17
[2025-04-12 15:10:04] Production.ERROR: CronJob Last Run Time 2025-04-12 15:10:00
[2025-04-12 15:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 15:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 15:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 15:10:04] Production.ERROR: CronJob PID - 6981
[2025-04-12 15:10:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-04-12 15:10:04] Production.ERROR: CronJob ID - 19
[2025-04-12 15:10:04] Production.INFO: Account Balance Start.
[2025-04-12 15:10:04] Production.INFO: CreateAllLog Start
[2025-04-12 15:10:04] Production.INFO: 117
[2025-04-12 15:10:04] Production.ERROR: CronJob Last Run Time 2025-04-12 15:10:00
[2025-04-12 15:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 15:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 15:10:04] Production.ERROR: done
[2025-04-12 15:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 15:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 15:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 15:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 15:10:04] Production.INFO: Date 2025-04-08
[2025-04-12 15:10:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 15:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14892386', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 15:10:04] Production.INFO: Date 2025-04-09
[2025-04-12 15:10:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 15:10:04] Production.INFO: ==6966== Releasing lock...
[2025-04-12 15:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 15:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 15:10:04] Production.ERROR: done
[2025-04-12 15:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14892382') end
[2025-04-12 15:10:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 15:10:05] Production.INFO: 1
[2025-04-12 15:10:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 15:10:05] Production.INFO: Date 2025-04-10
[2025-04-12 15:10:05] Production.INFO: Reseller ==> 0
[2025-04-12 15:10:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 15:10:05] Production.INFO: ==6981== Releasing lock...
[2025-04-12 15:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 15:10:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 15:10:05] Production.INFO: Date 2025-04-11
[2025-04-12 15:10:05] Production.INFO: Reseller ==> 0
[2025-04-12 15:10:05] Production.INFO: Date 2025-04-12
[2025-04-12 15:10:05] Production.INFO: Reseller ==> 0
[2025-04-12 15:10:05] Production.INFO: Total Charge 0
[2025-04-12 15:10:05] Production.INFO: CreateAllLog End
[2025-04-12 15:10:05] Production.ERROR: done
[2025-04-12 15:10:05] Production.INFO: ==6970== Releasing lock...
[2025-04-12 15:10:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 15:10:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 15:10:05] Production.INFO: Account Balance End.
[2025-04-12 15:10:05] Production.ERROR: CronJobId end 12
[2025-04-12 15:10:05] Production.INFO: ==6974== Releasing lock...
[2025-04-12 15:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 15:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 15:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 12:10:06
[end_date_ymd] => 2025-04-12 15:10:06
[RateCDR] => 1
)
[2025-04-12 15:10:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 12:10:06' and `end` < '2025-04-12 15:10:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 15:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14892386', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 15:10:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 15:10:09] Production.INFO: ProcessCDR(1,14892386,1,1,2)
[2025-04-12 15:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14892386,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14892386,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 15:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 15:10:09] Production.INFO: ==6979== Releasing lock...
[2025-04-12 15:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 15:10:09] Production.INFO: 26 MB #Memory Used#
[2025-04-12 15:10:14] Production.ERROR: CronJobId end10
[2025-04-12 15:10:14] Production.INFO: ==6972== Releasing lock...
[2025-04-12 15:10:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 15:10:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 15:10:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 15:10:17] Production.INFO: ============== Balance Warning START===========
[2025-04-12 15:10:17] Production.INFO: ============== Balance Warning END===========
[2025-04-12 15:10:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 15:10:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 15:10:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 15:10:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 15:10:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 15:10:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 15:10:17] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 15:10:17] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 15:10:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 15:10:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 15:10:17] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 15:10:18] Production.INFO: call_cost start
[2025-04-12 15:10:18] Production.INFO: call_cost end
[2025-04-12 15:10:19] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 15:10:19] Production.INFO: ============== Report Schedule START===========
[2025-04-12 15:10:19] Production.INFO: ============== Report Schedule END===========
[2025-04-12 15:10:19] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 15:10:19] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 15:10:19] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 15:10:19] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 15:10:19] Production.INFO: ============== Deal alert START===========
[2025-04-12 15:10:19] Production.INFO: ============== Deal alert END===========
[2025-04-12 15:10:19] Production.INFO: ==6968== Releasing lock...
[2025-04-12 15:10:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 15:10:19] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 15:10:19] Production.INFO: count ==1511
[2025-04-12 15:10:20] Production.ERROR: pbx CDR StartTime 2025-04-12 12:10:06 - End Time 2025-04-12 15:10:06
[2025-04-12 15:10:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 15:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892387', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892387', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892387', 'tblTempVendorCDR_20' ) start
[2025-04-12 15:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892387', 'tblTempVendorCDR_20' ) end
[2025-04-12 15:10:20] Production.INFO: ProcessCDR(1,14892387,1,1,2)
[2025-04-12 15:10:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892387,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:10:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892387,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:10:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892387,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:10:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892387,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:10:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892387', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:10:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892387', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:10:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 15:10:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 15:10:23] Production.INFO: ==6976== Releasing lock...
[2025-04-12 15:10:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 15:10:23] Production.INFO: 40.25 MB #Memory Used#
[2025-04-12 20:11:01] Production.INFO: ==7036== Lock acquired, processing the job...
[2025-04-12 20:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 20:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 20:11:01] Production.INFO: neon service started
[2025-04-12 20:11:01] Production.INFO: neon service started
[2025-04-12 20:11:01] Production.INFO: ==7036== Releasing lock...
[2025-04-12 20:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 20:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 15:11:02] Production.INFO: ==7038== Lock acquired, processing the job...
[2025-04-12 15:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 15:11:02] Production.INFO: ==7038== Releasing lock...
[2025-04-12 15:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 15:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 19:11:02] Production.INFO: ==7040== Lock acquired, processing the job...
[2025-04-12 19:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 19:11:02] Production.INFO: ==7040== Releasing lock...
[2025-04-12 19:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 19:11:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 15:11:03] Production.INFO: ==7042== Lock acquired, processing the job...
[2025-04-12 15:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 15:11:03] Production.INFO: ==7048== Lock acquired, processing the job...
[2025-04-12 15:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 15:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 15:11:03] Production.INFO: ==7044== Lock acquired, processing the job...
[2025-04-12 15:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 15:11:03] Production.INFO: Account Balance Start.
[2025-04-12 15:11:03] Production.INFO: CreateAllLog Start
[2025-04-12 15:11:03] Production.INFO: 117
[2025-04-12 15:11:03] Production.INFO: Date 2025-04-08
[2025-04-12 15:11:03] Production.INFO: ==7046== Lock acquired, processing the job...
[2025-04-12 15:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 15:11:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:11:03] Production.INFO: Date 2025-04-09
[2025-04-12 15:11:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:11:03] Production.INFO: ==7050== Lock acquired, processing the job...
[2025-04-12 15:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 15:11:03] Production.INFO: Date 2025-04-10
[2025-04-12 15:11:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:11:03] Production.INFO: ==7052== Lock acquired, processing the job...
[2025-04-12 15:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 15:11:03] Production.INFO: Date 2025-04-11
[2025-04-12 15:11:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 15:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 15:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 15:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 15:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 15:11:03] Production.INFO: Date 2025-04-12
[2025-04-12 15:11:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:11:03] Production.INFO: Total Charge 0
[2025-04-12 15:11:03] Production.INFO: CreateAllLog End
[2025-04-12 15:11:03] Production.INFO: ==7044== Releasing lock...
[2025-04-12 15:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 15:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 15:11:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 15:11:04] Production.INFO: count ==12
[2025-04-12 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-12 15:11:04] Production.INFO: count ==23
[2025-04-12 15:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892391') start
[2025-04-12 15:11:04] Production.ERROR: done
[2025-04-12 15:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 15:11:04] Production.ERROR: done
[2025-04-12 15:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892391') end
[2025-04-12 15:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 15:11:04] Production.INFO: 1
[2025-04-12 15:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 15:11:04] Production.INFO: Account Balance End.
[2025-04-12 15:11:04] Production.INFO: ==7052== Releasing lock...
[2025-04-12 15:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 15:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 15:11:04] Production.ERROR: CronJobId end 12
[2025-04-12 15:11:04] Production.INFO: ==7048== Releasing lock...
[2025-04-12 15:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 15:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 15:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 12:11:05
[end_date_ymd] => 2025-04-12 15:11:05
[RateCDR] => 1
)
[2025-04-12 15:11:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 12:11:05' and `end` < '2025-04-12 15:11:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 15:11:12] Production.ERROR: CronJobId end10
[2025-04-12 15:11:12] Production.INFO: ==7046== Releasing lock...
[2025-04-12 15:11:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 15:11:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 15:11:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 15:11:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 15:11:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 15:11:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 15:11:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 15:11:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 15:11:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 15:11:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 15:11:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 15:11:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 15:11:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 15:11:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 15:11:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 15:11:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 15:11:15] Production.INFO: call_cost start
[2025-04-12 15:11:15] Production.INFO: call_cost end
[2025-04-12 15:11:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 15:11:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 15:11:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 15:11:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 15:11:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 15:11:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 15:11:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 15:11:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 15:11:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 15:11:16] Production.INFO: ==7042== Releasing lock...
[2025-04-12 15:11:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 15:11:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 15:11:18] Production.INFO: count ==1511
[2025-04-12 15:11:18] Production.ERROR: pbx CDR StartTime 2025-04-12 12:11:05 - End Time 2025-04-12 15:11:05
[2025-04-12 15:11:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 15:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892392', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892392', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892392', 'tblTempVendorCDR_20' ) start
[2025-04-12 15:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892392', 'tblTempVendorCDR_20' ) end
[2025-04-12 15:11:18] Production.INFO: ProcessCDR(1,14892392,1,1,2)
[2025-04-12 15:11:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892392,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:11:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892392,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:11:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892392,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:11:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892392,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:11:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892392', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:11:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892392', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:11:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 15:11:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 15:11:23] Production.INFO: ==7050== Releasing lock...
[2025-04-12 15:11:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 15:11:23] Production.INFO: 40 MB #Memory Used#
[2025-04-12 20:12:02] Production.INFO: ==7189== Lock acquired, processing the job...
[2025-04-12 20:12:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 20:12:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 20:12:02] Production.INFO: neon service started
[2025-04-12 20:12:02] Production.INFO: neon service started
[2025-04-12 20:12:02] Production.INFO: ==7189== Releasing lock...
[2025-04-12 20:12:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 20:12:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 15:12:02] Production.INFO: ==7191== Lock acquired, processing the job...
[2025-04-12 15:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 15:12:02] Production.INFO: ==7191== Releasing lock...
[2025-04-12 15:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 15:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 19:12:03] Production.INFO: ==7193== Lock acquired, processing the job...
[2025-04-12 19:12:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 19:12:03] Production.INFO: ==7193== Releasing lock...
[2025-04-12 19:12:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 19:12:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 15:12:03] Production.INFO: ==7195== Lock acquired, processing the job...
[2025-04-12 15:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 15:12:03] Production.INFO: ==7199== Lock acquired, processing the job...
[2025-04-12 15:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 15:12:03] Production.INFO: ==7201== Lock acquired, processing the job...
[2025-04-12 15:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 15:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 15:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 15:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 15:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 15:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 15:12:03] Production.INFO: ==7197== Lock acquired, processing the job...
[2025-04-12 15:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 15:12:03] Production.INFO: ==7203== Lock acquired, processing the job...
[2025-04-12 15:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 15:12:03] Production.INFO: ==7205== Lock acquired, processing the job...
[2025-04-12 15:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 15:12:03] Production.INFO: Account Balance Start.
[2025-04-12 15:12:03] Production.INFO: CreateAllLog Start
[2025-04-12 15:12:03] Production.INFO: 117
[2025-04-12 15:12:03] Production.INFO: Date 2025-04-08
[2025-04-12 15:12:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:12:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 15:12:04] Production.INFO: Date 2025-04-09
[2025-04-12 15:12:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:12:04] Production.INFO: Date 2025-04-10
[2025-04-12 15:12:04] Production.INFO: Reseller ==> 0
[2025-04-12 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-12 15:12:04] Production.INFO: Date 2025-04-11
[2025-04-12 15:12:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:12:04] Production.INFO: count ==12
[2025-04-12 15:12:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 15:12:04] Production.INFO: count ==23
[2025-04-12 15:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892396') start
[2025-04-12 15:12:04] Production.INFO: Date 2025-04-12
[2025-04-12 15:12:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:12:04] Production.INFO: Total Charge 0
[2025-04-12 15:12:04] Production.INFO: CreateAllLog End
[2025-04-12 15:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892396') end
[2025-04-12 15:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 15:12:04] Production.INFO: 1
[2025-04-12 15:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 15:12:04] Production.INFO: ==7197== Releasing lock...
[2025-04-12 15:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 15:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 15:12:04] Production.ERROR: done
[2025-04-12 15:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 15:12:04] Production.INFO: ==7205== Releasing lock...
[2025-04-12 15:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 15:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 15:12:04] Production.ERROR: done
[2025-04-12 15:12:04] Production.INFO: Account Balance End.
[2025-04-12 15:12:04] Production.ERROR: CronJobId end 12
[2025-04-12 15:12:04] Production.INFO: ==7201== Releasing lock...
[2025-04-12 15:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 15:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 15:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 12:12:05
[end_date_ymd] => 2025-04-12 15:12:05
[RateCDR] => 1
)
[2025-04-12 15:12:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 12:12:05' and `end` < '2025-04-12 15:12:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 15:12:13] Production.ERROR: CronJobId end10
[2025-04-12 15:12:13] Production.INFO: ==7199== Releasing lock...
[2025-04-12 15:12:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 15:12:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 15:12:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 15:12:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 15:12:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 15:12:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 15:12:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 15:12:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 15:12:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 15:12:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 15:12:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 15:12:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 15:12:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 15:12:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 15:12:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 15:12:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 15:12:14] Production.INFO: call_cost start
[2025-04-12 15:12:14] Production.INFO: call_cost end
[2025-04-12 15:12:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 15:12:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 15:12:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 15:12:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 15:12:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 15:12:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 15:12:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 15:12:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 15:12:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 15:12:15] Production.INFO: ==7195== Releasing lock...
[2025-04-12 15:12:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 15:12:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 15:12:18] Production.INFO: count ==1510
[2025-04-12 15:12:19] Production.ERROR: pbx CDR StartTime 2025-04-12 12:12:05 - End Time 2025-04-12 15:12:05
[2025-04-12 15:12:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 15:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892397', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892397', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892397', 'tblTempVendorCDR_20' ) start
[2025-04-12 15:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892397', 'tblTempVendorCDR_20' ) end
[2025-04-12 15:12:19] Production.INFO: ProcessCDR(1,14892397,1,1,2)
[2025-04-12 15:12:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892397,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:12:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892397,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:12:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892397,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:12:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892397,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:12:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892397', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:12:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892397', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:12:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 15:12:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 15:12:22] Production.INFO: ==7203== Releasing lock...
[2025-04-12 15:12:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 15:12:22] Production.INFO: 39.75 MB #Memory Used#
[2025-04-12 20:13:01] Production.INFO: ==7258== Lock acquired, processing the job...
[2025-04-12 20:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 20:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 20:13:01] Production.INFO: neon service started
[2025-04-12 20:13:01] Production.INFO: neon service started
[2025-04-12 20:13:01] Production.INFO: ==7258== Releasing lock...
[2025-04-12 20:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 20:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 15:13:02] Production.INFO: ==7260== Lock acquired, processing the job...
[2025-04-12 15:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 15:13:02] Production.INFO: ==7260== Releasing lock...
[2025-04-12 15:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 15:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 19:13:02] Production.INFO: ==7262== Lock acquired, processing the job...
[2025-04-12 19:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 19:13:02] Production.INFO: ==7262== Releasing lock...
[2025-04-12 19:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 19:13:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 15:13:03] Production.INFO: ==7270== Lock acquired, processing the job...
[2025-04-12 15:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 15:13:03] Production.INFO: ==7272== Lock acquired, processing the job...
[2025-04-12 15:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 15:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 15:13:03] Production.INFO: ==7264== Lock acquired, processing the job...
[2025-04-12 15:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 15:13:03] Production.INFO: ==7266== Lock acquired, processing the job...
[2025-04-12 15:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 15:13:03] Production.INFO: ==7268== Lock acquired, processing the job...
[2025-04-12 15:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 15:13:03] Production.INFO: Account Balance Start.
[2025-04-12 15:13:03] Production.INFO: CreateAllLog Start
[2025-04-12 15:13:03] Production.INFO: 117
[2025-04-12 15:13:03] Production.INFO: ==7274== Lock acquired, processing the job...
[2025-04-12 15:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 15:13:03] Production.INFO: Date 2025-04-08
[2025-04-12 15:13:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 15:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 15:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 15:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 15:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 15:13:03] Production.INFO: Date 2025-04-09
[2025-04-12 15:13:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:13:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 15:13:03] Production.INFO: Date 2025-04-10
[2025-04-12 15:13:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:13:03] Production.INFO: count ==12
[2025-04-12 15:13:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 15:13:03] Production.INFO: count ==23
[2025-04-12 15:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14892400') start
[2025-04-12 15:13:03] Production.INFO: Date 2025-04-11
[2025-04-12 15:13:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:13:03] Production.ERROR: done
[2025-04-12 15:13:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 15:13:03] Production.INFO: Date 2025-04-12
[2025-04-12 15:13:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14892400') end
[2025-04-12 15:13:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 15:13:03] Production.INFO: 1
[2025-04-12 15:13:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 15:13:03] Production.INFO: Total Charge 0
[2025-04-12 15:13:03] Production.INFO: CreateAllLog End
[2025-04-12 15:13:03] Production.INFO: ==7274== Releasing lock...
[2025-04-12 15:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 15:13:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 15:13:03] Production.ERROR: done
[2025-04-12 15:13:03] Production.INFO: ==7266== Releasing lock...
[2025-04-12 15:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 15:13:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 15:13:04] Production.INFO: Account Balance End.
[2025-04-12 15:13:04] Production.ERROR: CronJobId end 12
[2025-04-12 15:13:04] Production.INFO: ==7270== Releasing lock...
[2025-04-12 15:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 15:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 15:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 12:13:05
[end_date_ymd] => 2025-04-12 15:13:05
[RateCDR] => 1
)
[2025-04-12 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-12 12:13:05' and `end` < '2025-04-12 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-12 15:13:12] Production.ERROR: CronJobId end10
[2025-04-12 15:13:12] Production.INFO: ==7268== Releasing lock...
[2025-04-12 15:13:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 15:13:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 15:13:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 15:13:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 15:13:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 15:13:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 15:13:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 15:13:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 15:13:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 15:13:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 15:13:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 15:13:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 15:13:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 15:13:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 15:13:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 15:13:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 15:13:15] Production.INFO: call_cost start
[2025-04-12 15:13:15] Production.INFO: call_cost end
[2025-04-12 15:13:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 15:13:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 15:13:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 15:13:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 15:13:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 15:13:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 15:13:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 15:13:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 15:13:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 15:13:16] Production.INFO: ==7264== Releasing lock...
[2025-04-12 15:13:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 15:13:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 15:13:18] Production.INFO: count ==1510
[2025-04-12 15:13:18] Production.ERROR: pbx CDR StartTime 2025-04-12 12:13:05 - End Time 2025-04-12 15:13:05
[2025-04-12 15:13:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 15:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892402', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892402', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892402', 'tblTempVendorCDR_20' ) start
[2025-04-12 15:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892402', 'tblTempVendorCDR_20' ) end
[2025-04-12 15:13:18] Production.INFO: ProcessCDR(1,14892402,1,1,2)
[2025-04-12 15:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892402,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:13:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892402,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:13:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892402,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:13:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892402,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:13:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892402', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:13:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892402', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:13:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 15:13:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 15:13:23] Production.INFO: ==7272== Releasing lock...
[2025-04-12 15:13:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 15:13:23] Production.INFO: 39.75 MB #Memory Used#
[2025-04-12 20:14:02] Production.INFO: ==7334== Lock acquired, processing the job...
[2025-04-12 20:14:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 20:14:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 20:14:02] Production.INFO: neon service started
[2025-04-12 20:14:02] Production.INFO: neon service started
[2025-04-12 20:14:02] Production.INFO: ==7334== Releasing lock...
[2025-04-12 20:14:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 20:14:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 15:14:02] Production.INFO: ==7336== Lock acquired, processing the job...
[2025-04-12 15:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 15:14:02] Production.INFO: ==7336== Releasing lock...
[2025-04-12 15:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 15:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 19:14:03] Production.INFO: ==7338== Lock acquired, processing the job...
[2025-04-12 19:14:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 19:14:03] Production.INFO: ==7338== Releasing lock...
[2025-04-12 19:14:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 19:14:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 15:14:03] Production.INFO: ==7342== Lock acquired, processing the job...
[2025-04-12 15:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 15:14:03] Production.INFO: ==7344== Lock acquired, processing the job...
[2025-04-12 15:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 15:14:03] Production.INFO: ==7346== Lock acquired, processing the job...
[2025-04-12 15:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 15:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 15:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 15:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 15:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 15:14:03] Production.INFO: Account Balance Start.
[2025-04-12 15:14:03] Production.INFO: CreateAllLog Start
[2025-04-12 15:14:03] Production.INFO: 117
[2025-04-12 15:14:03] Production.INFO: ==7342== Releasing lock...
[2025-04-12 15:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 15:14:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 15:14:03] Production.INFO: Date 2025-04-08
[2025-04-12 15:14:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:14:03] Production.INFO: Date 2025-04-09
[2025-04-12 15:14:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:14:03] Production.INFO: Date 2025-04-10
[2025-04-12 15:14:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:14:04] Production.INFO: ==7340== Lock acquired, processing the job...
[2025-04-12 15:14:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 15:14:04] Production.INFO: Date 2025-04-11
[2025-04-12 15:14:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:14:04] Production.INFO: ==7349== Lock acquired, processing the job...
[2025-04-12 15:14:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 15:14:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 15:14:04] Production.INFO: Date 2025-04-12
[2025-04-12 15:14:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:14:04] Production.INFO: ==7351== Lock acquired, processing the job...
[2025-04-12 15:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 15:14:04] Production.INFO: Total Charge 0
[2025-04-12 15:14:04] Production.INFO: CreateAllLog End
[2025-04-12 15:14:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 15:14:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 15:14:04] Production.INFO: count ==12
[2025-04-12 15:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 15:14:04] Production.INFO: count ==23
[2025-04-12 15:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892406') start
[2025-04-12 15:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892406') end
[2025-04-12 15:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 15:14:04] Production.INFO: 1
[2025-04-12 15:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 15:14:04] Production.INFO: Account Balance End.
[2025-04-12 15:14:04] Production.INFO: ==7351== Releasing lock...
[2025-04-12 15:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 15:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 15:14:04] Production.ERROR: CronJobId end 12
[2025-04-12 15:14:04] Production.INFO: ==7346== Releasing lock...
[2025-04-12 15:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 15:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 15:14:04] Production.ERROR: done
[2025-04-12 15:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 15:14:04] Production.ERROR: done
[2025-04-12 15:14:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 12:14:05
[end_date_ymd] => 2025-04-12 15:14:05
[RateCDR] => 1
)
[2025-04-12 15: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-12 12:14:05' and `end` < '2025-04-12 15:14:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 15:14:12] Production.ERROR: CronJobId end10
[2025-04-12 15:14:12] Production.INFO: ==7344== Releasing lock...
[2025-04-12 15:14:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 15:14:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 15:14:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 15:14:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 15:14:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 15:14:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 15:14:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 15:14:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 15:14:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 15:14:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 15:14:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 15:14:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 15:14:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 15:14:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 15:14:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 15:14:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 15:14:14] Production.INFO: call_cost start
[2025-04-12 15:14:14] Production.INFO: call_cost end
[2025-04-12 15:14:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 15:14:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 15:14:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 15:14:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 15:14:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 15:14:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 15:14:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 15:14:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 15:14:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 15:14:15] Production.INFO: ==7340== Releasing lock...
[2025-04-12 15:14:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 15:14:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 15:14:19] Production.INFO: count ==1504
[2025-04-12 15:14:19] Production.ERROR: pbx CDR StartTime 2025-04-12 12:14:05 - End Time 2025-04-12 15:14:05
[2025-04-12 15:14:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 15:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892407', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892407', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892407', 'tblTempVendorCDR_20' ) start
[2025-04-12 15:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892407', 'tblTempVendorCDR_20' ) end
[2025-04-12 15:14:19] Production.INFO: ProcessCDR(1,14892407,1,1,2)
[2025-04-12 15:14:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892407,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:14:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892407,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:14:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892407,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:14:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892407,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:14:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892407', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:14:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892407', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:14:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 15:14:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 15:14:24] Production.INFO: ==7349== Releasing lock...
[2025-04-12 15:14:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 15:14:24] Production.INFO: 39.5 MB #Memory Used#
[2025-04-12 20:15:01] Production.INFO: ==7482== Lock acquired, processing the job...
[2025-04-12 20:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 20:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 20:15:01] Production.INFO: neon service started
[2025-04-12 20:15:01] Production.INFO: neon service started
[2025-04-12 20:15:01] Production.INFO: ==7482== Releasing lock...
[2025-04-12 20:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 20:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 15:15:01] Production.INFO: ==7484== Lock acquired, processing the job...
[2025-04-12 15:15:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 15:15:02] Production.INFO: ==7484== Releasing lock...
[2025-04-12 15:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 15:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 19:15:02] Production.INFO: ==7486== Lock acquired, processing the job...
[2025-04-12 19:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 19:15:02] Production.INFO: ==7486== Releasing lock...
[2025-04-12 19:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 19:15:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 15:15:03] Production.INFO: ==7488== Lock acquired, processing the job...
[2025-04-12 15:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 15:15:03] Production.INFO: ==7494== Lock acquired, processing the job...
[2025-04-12 15:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 15:15:03] Production.INFO: ==7496== Lock acquired, processing the job...
[2025-04-12 15:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 15:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 15:15:03] Production.INFO: ==7490== Lock acquired, processing the job...
[2025-04-12 15:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 15:15:03] Production.INFO: Account Balance Start.
[2025-04-12 15:15:03] Production.INFO: CreateAllLog Start
[2025-04-12 15:15:03] Production.INFO: 117
[2025-04-12 15:15:03] Production.INFO: Date 2025-04-08
[2025-04-12 15:15:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:15:03] Production.INFO: ==7492== Lock acquired, processing the job...
[2025-04-12 15:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 15:15:03] Production.INFO: Date 2025-04-09
[2025-04-12 15:15:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 15:15:03] Production.INFO: Date 2025-04-10
[2025-04-12 15:15:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:15:03] Production.INFO: Date 2025-04-11
[2025-04-12 15:15:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:15:03] Production.INFO: ==7499== Lock acquired, processing the job...
[2025-04-12 15:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 15:15:03] Production.INFO: Date 2025-04-12
[2025-04-12 15:15:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:15:03] Production.INFO: Total Charge 0
[2025-04-12 15:15:03] Production.INFO: CreateAllLog End
[2025-04-12 15:15:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 15:15:03] Production.INFO: count ==12
[2025-04-12 15:15:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 15:15:03] Production.ERROR: done
[2025-04-12 15:15:03] Production.INFO: count ==23
[2025-04-12 15:15:03] Production.INFO: ==7490== Releasing lock...
[2025-04-12 15:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 15:15:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 15:15:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 15:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14892411') start
[2025-04-12 15:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 15:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 15:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 15:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 15:15:03] Production.INFO: Account Balance End.
[2025-04-12 15:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14892411') end
[2025-04-12 15:15:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 15:15:03] Production.INFO: 1
[2025-04-12 15:15:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 15:15:04] Production.ERROR: CronJobId end 12
[2025-04-12 15:15:04] Production.INFO: ==7494== Releasing lock...
[2025-04-12 15:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 15:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 15:15:04] Production.INFO: ==7499== Releasing lock...
[2025-04-12 15:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 15:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 15:15:04] Production.ERROR: done
[2025-04-12 15:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 12:15:05
[end_date_ymd] => 2025-04-12 15:15:05
[RateCDR] => 1
)
[2025-04-12 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-12 12:15:05' and `end` < '2025-04-12 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-12 15:15:11] Production.ERROR: CronJobId end10
[2025-04-12 15:15:11] Production.INFO: ==7492== Releasing lock...
[2025-04-12 15:15:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 15:15:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 15:15:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 15:15:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 15:15:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 15:15:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 15:15:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 15:15:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 15:15:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 15:15:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 15:15:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 15:15:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 15:15:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 15:15:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 15:15:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 15:15:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 15:15:13] Production.INFO: call_cost start
[2025-04-12 15:15:13] Production.INFO: call_cost end
[2025-04-12 15:15:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 15:15:14] Production.INFO: ============== Report Schedule START===========
[2025-04-12 15:15:14] Production.INFO: ============== Report Schedule END===========
[2025-04-12 15:15:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 15:15:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 15:15:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 15:15:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 15:15:14] Production.INFO: ============== Deal alert START===========
[2025-04-12 15:15:14] Production.INFO: ============== Deal alert END===========
[2025-04-12 15:15:14] Production.INFO: ==7488== Releasing lock...
[2025-04-12 15:15:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 15:15:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 15:15:18] Production.INFO: count ==1509
[2025-04-12 15:15:18] Production.ERROR: pbx CDR StartTime 2025-04-12 12:15:05 - End Time 2025-04-12 15:15:05
[2025-04-12 15:15:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 15:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892412', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892412', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892412', 'tblTempVendorCDR_20' ) start
[2025-04-12 15:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892412', 'tblTempVendorCDR_20' ) end
[2025-04-12 15:15:18] Production.INFO: ProcessCDR(1,14892412,1,1,2)
[2025-04-12 15:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892412,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:15:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892412,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:15:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892412,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:15:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892412,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:15:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892412', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:15:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892412', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:15:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 15:15:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 15:15:23] Production.INFO: ==7496== Releasing lock...
[2025-04-12 15:15:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 15:15:23] Production.INFO: 39.75 MB #Memory Used#
[2025-04-12 20:16:02] Production.INFO: ==7558== Lock acquired, processing the job...
[2025-04-12 20:16:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 20:16:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 20:16:02] Production.INFO: neon service started
[2025-04-12 20:16:02] Production.INFO: neon service started
[2025-04-12 20:16:02] Production.INFO: ==7558== Releasing lock...
[2025-04-12 20:16:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 20:16:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 15:16:02] Production.INFO: ==7561== Lock acquired, processing the job...
[2025-04-12 15:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 15:16:02] Production.INFO: ==7561== Releasing lock...
[2025-04-12 15:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 15:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 19:16:02] Production.INFO: ==7563== Lock acquired, processing the job...
[2025-04-12 19:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 19:16:02] Production.INFO: ==7563== Releasing lock...
[2025-04-12 19:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 19:16:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 15:16:03] Production.INFO: ==7567== Lock acquired, processing the job...
[2025-04-12 15:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 15:16:03] Production.INFO: ==7575== Lock acquired, processing the job...
[2025-04-12 15:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 15:16:03] Production.INFO: ==7565== Lock acquired, processing the job...
[2025-04-12 15:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 15:16:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 15:16:03] Production.INFO: ==7569== Lock acquired, processing the job...
[2025-04-12 15:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 15:16:03] Production.INFO: ==7571== Lock acquired, processing the job...
[2025-04-12 15:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 15:16:03] Production.INFO: ==7573== Lock acquired, processing the job...
[2025-04-12 15:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 15:16:03] Production.INFO: ==7567== Releasing lock...
[2025-04-12 15:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 15:16:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 15:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 15:16:03] Production.INFO: count ==12
[2025-04-12 15:16:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 15:16:03] Production.INFO: count ==23
[2025-04-12 15:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14892414') start
[2025-04-12 15:16:03] Production.INFO: Account Balance Start.
[2025-04-12 15:16:03] Production.INFO: CreateAllLog Start
[2025-04-12 15:16:03] Production.INFO: 117
[2025-04-12 15:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 15:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 15:16:03] Production.INFO: Date 2025-04-08
[2025-04-12 15:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 15:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 15:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 15:16:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892414') end
[2025-04-12 15:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 15:16:04] Production.INFO: 1
[2025-04-12 15:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 15:16:04] Production.INFO: Date 2025-04-09
[2025-04-12 15:16:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:16:04] Production.INFO: ==7575== Releasing lock...
[2025-04-12 15:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 15:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 15:16:04] Production.INFO: Date 2025-04-10
[2025-04-12 15:16:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:16:04] Production.INFO: Date 2025-04-11
[2025-04-12 15:16:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:16:04] Production.INFO: Date 2025-04-12
[2025-04-12 15:16:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:16:04] Production.INFO: Total Charge 0
[2025-04-12 15:16:04] Production.INFO: CreateAllLog End
[2025-04-12 15:16:04] Production.ERROR: done
[2025-04-12 15:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 15:16:04] Production.ERROR: done
[2025-04-12 15:16:04] Production.INFO: Account Balance End.
[2025-04-12 15:16:04] Production.ERROR: CronJobId end 12
[2025-04-12 15:16:04] Production.INFO: ==7571== Releasing lock...
[2025-04-12 15:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 15:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 15:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 12:16:05
[end_date_ymd] => 2025-04-12 15:16:05
[RateCDR] => 1
)
[2025-04-12 15:16:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 12:16:05' and `end` < '2025-04-12 15:16:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 15:16:12] Production.ERROR: CronJobId end10
[2025-04-12 15:16:12] Production.INFO: ==7569== Releasing lock...
[2025-04-12 15:16:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 15:16:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 15:16:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 15:16:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 15:16:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 15:16:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 15:16:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 15:16:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 15:16:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 15:16:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 15:16:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 15:16:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 15:16:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 15:16:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 15:16:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 15:16:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 15:16:15] Production.INFO: call_cost start
[2025-04-12 15:16:15] Production.INFO: call_cost end
[2025-04-12 15:16:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 15:16:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 15:16:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 15:16:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 15:16:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 15:16:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 15:16:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 15:16:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 15:16:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 15:16:16] Production.INFO: ==7565== Releasing lock...
[2025-04-12 15:16:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 15:16:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 15:16:18] Production.INFO: count ==1514
[2025-04-12 15:16:19] Production.ERROR: pbx CDR StartTime 2025-04-12 12:16:05 - End Time 2025-04-12 15:16:05
[2025-04-12 15:16:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 15:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892417', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892417', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892417', 'tblTempVendorCDR_20' ) start
[2025-04-12 15:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892417', 'tblTempVendorCDR_20' ) end
[2025-04-12 15:16:19] Production.INFO: ProcessCDR(1,14892417,1,1,2)
[2025-04-12 15:16:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892417,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:16:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892417,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:16:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892417,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:16:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892417,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892417', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892417', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:16:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 15:16:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 15:16:22] Production.INFO: ==7573== Releasing lock...
[2025-04-12 15:16:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 15:16:22] Production.INFO: 39.75 MB #Memory Used#
[2025-04-12 20:17:01] Production.INFO: ==7630== Lock acquired, processing the job...
[2025-04-12 20:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 20:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 20:17:01] Production.INFO: neon service started
[2025-04-12 20:17:01] Production.INFO: neon service started
[2025-04-12 20:17:01] Production.INFO: ==7630== Releasing lock...
[2025-04-12 20:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 20:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 15:17:01] Production.INFO: ==7632== Lock acquired, processing the job...
[2025-04-12 15:17:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 15:17:02] Production.INFO: ==7632== Releasing lock...
[2025-04-12 15:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 15:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 19:17:02] Production.INFO: ==7635== Lock acquired, processing the job...
[2025-04-12 19:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 19:17:02] Production.INFO: ==7635== Releasing lock...
[2025-04-12 19:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 19:17:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 15:17:02] Production.INFO: ==7645== Lock acquired, processing the job...
[2025-04-12 15:17:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 15:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 15:17:03] Production.INFO: ==7637== Lock acquired, processing the job...
[2025-04-12 15:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 15:17:03] Production.INFO: ==7641== Lock acquired, processing the job...
[2025-04-12 15:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 15:17:03] Production.INFO: ==7639== Lock acquired, processing the job...
[2025-04-12 15:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 15:17:03] Production.INFO: ==7643== Lock acquired, processing the job...
[2025-04-12 15:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 15:17:03] Production.INFO: ==7647== Lock acquired, processing the job...
[2025-04-12 15:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 15:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 15:17:03] Production.ERROR: done
[2025-04-12 15:17:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 15:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 15:17:03] Production.INFO: Account Balance Start.
[2025-04-12 15:17:03] Production.INFO: CreateAllLog Start
[2025-04-12 15:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 15:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 15:17:03] Production.INFO: 117
[2025-04-12 15:17:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 15:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 15:17:03] Production.INFO: count ==12
[2025-04-12 15:17:03] Production.INFO: Date 2025-04-08
[2025-04-12 15:17:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 15:17:03] Production.INFO: count ==23
[2025-04-12 15:17:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14892419') start
[2025-04-12 15:17:03] Production.ERROR: done
[2025-04-12 15:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14892419') end
[2025-04-12 15:17:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 15:17:03] Production.INFO: 1
[2025-04-12 15:17:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 15:17:03] Production.INFO: Date 2025-04-09
[2025-04-12 15:17:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:17:03] Production.INFO: Date 2025-04-10
[2025-04-12 15:17:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:17:03] Production.INFO: Date 2025-04-11
[2025-04-12 15:17:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:17:03] Production.INFO: ==7647== Releasing lock...
[2025-04-12 15:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 15:17:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 15:17:03] Production.INFO: ==7639== Releasing lock...
[2025-04-12 15:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 15:17:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 15:17:03] Production.INFO: Date 2025-04-12
[2025-04-12 15:17:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:17:03] Production.INFO: Total Charge 0
[2025-04-12 15:17:03] Production.INFO: CreateAllLog End
[2025-04-12 15:17:04] Production.INFO: Account Balance End.
[2025-04-12 15:17:04] Production.ERROR: CronJobId end 12
[2025-04-12 15:17:04] Production.INFO: ==7643== Releasing lock...
[2025-04-12 15:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 15:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 15:17:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 12:17:04
[end_date_ymd] => 2025-04-12 15:17:04
[RateCDR] => 1
)
[2025-04-12 15: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-12 12:17:04' and `end` < '2025-04-12 15: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-12 15:17:12] Production.ERROR: CronJobId end10
[2025-04-12 15:17:12] Production.INFO: ==7641== Releasing lock...
[2025-04-12 15:17:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 15:17:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 15:17:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 15:17:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 15:17:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 15:17:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 15:17:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 15:17:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 15:17:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 15:17:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 15:17:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 15:17:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 15:17:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 15:17:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 15:17:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 15:17:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 15:17:13] Production.INFO: call_cost start
[2025-04-12 15:17:13] Production.INFO: call_cost end
[2025-04-12 15:17:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 15:17:14] Production.INFO: ============== Report Schedule START===========
[2025-04-12 15:17:14] Production.INFO: ============== Report Schedule END===========
[2025-04-12 15:17:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 15:17:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 15:17:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 15:17:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 15:17:14] Production.INFO: ============== Deal alert START===========
[2025-04-12 15:17:14] Production.INFO: ============== Deal alert END===========
[2025-04-12 15:17:14] Production.INFO: ==7637== Releasing lock...
[2025-04-12 15:17:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 15:17:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 15:17:18] Production.INFO: count ==1507
[2025-04-12 15:17:18] Production.ERROR: pbx CDR StartTime 2025-04-12 12:17:04 - End Time 2025-04-12 15:17:04
[2025-04-12 15:17:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 15:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892422', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892422', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892422', 'tblTempVendorCDR_20' ) start
[2025-04-12 15:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892422', 'tblTempVendorCDR_20' ) end
[2025-04-12 15:17:18] Production.INFO: ProcessCDR(1,14892422,1,1,2)
[2025-04-12 15:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892422,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:17:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892422,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:17:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892422,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:17:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892422,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892422', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892422', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:17:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 15:17:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 15:17:22] Production.INFO: ==7645== Releasing lock...
[2025-04-12 15:17:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 15:17:22] Production.INFO: 40 MB #Memory Used#
[2025-04-12 20:18:02] Production.INFO: ==7706== Lock acquired, processing the job...
[2025-04-12 20:18:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 20:18:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 20:18:02] Production.INFO: neon service started
[2025-04-12 20:18:02] Production.INFO: neon service started
[2025-04-12 20:18:02] Production.INFO: ==7706== Releasing lock...
[2025-04-12 20:18:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 20:18:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 15:18:02] Production.INFO: ==7708== Lock acquired, processing the job...
[2025-04-12 15:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 15:18:02] Production.INFO: ==7708== Releasing lock...
[2025-04-12 15:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 15:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 19:18:02] Production.INFO: ==7710== Lock acquired, processing the job...
[2025-04-12 19:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 19:18:02] Production.INFO: ==7710== Releasing lock...
[2025-04-12 19:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 19:18:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 15:18:03] Production.INFO: ==7719== Lock acquired, processing the job...
[2025-04-12 15:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 15:18:03] Production.INFO: ==7723== Lock acquired, processing the job...
[2025-04-12 15:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 15:18:03] Production.INFO: Account Balance Start.
[2025-04-12 15:18:03] Production.INFO: CreateAllLog Start
[2025-04-12 15:18:03] Production.INFO: 117
[2025-04-12 15:18:03] Production.INFO: Date 2025-04-08
[2025-04-12 15:18:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:18:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 15:18:03] Production.INFO: ==7713== Lock acquired, processing the job...
[2025-04-12 15:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 15:18:03] Production.INFO: count ==12
[2025-04-12 15:18:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 15:18:03] Production.INFO: count ==23
[2025-04-12 15:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14892424') start
[2025-04-12 15:18:03] Production.INFO: Date 2025-04-09
[2025-04-12 15:18:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:18:03] Production.INFO: Date 2025-04-10
[2025-04-12 15:18:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 15:18:03] Production.INFO: ==7717== Lock acquired, processing the job...
[2025-04-12 15:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 15:18:03] Production.INFO: ==7715== Lock acquired, processing the job...
[2025-04-12 15:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 15:18:03] Production.INFO: Date 2025-04-11
[2025-04-12 15:18:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:18:03] Production.INFO: Date 2025-04-12
[2025-04-12 15:18:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14892424') end
[2025-04-12 15:18:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 15:18:03] Production.INFO: 1
[2025-04-12 15:18:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 15:18:03] Production.INFO: ==7721== Lock acquired, processing the job...
[2025-04-12 15:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 15:18:03] Production.INFO: ==7723== Releasing lock...
[2025-04-12 15:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 15:18:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 15:18:04] Production.INFO: Total Charge 0
[2025-04-12 15:18:04] Production.INFO: CreateAllLog End
[2025-04-12 15:18:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 15:18:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 15:18:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 15:18:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 15:18:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 15:18:04] Production.INFO: Account Balance End.
[2025-04-12 15:18:04] Production.ERROR: done
[2025-04-12 15:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 15:18:04] Production.ERROR: CronJobId end 12
[2025-04-12 15:18:04] Production.INFO: ==7719== Releasing lock...
[2025-04-12 15:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 15:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 15:18:04] Production.INFO: ==7715== Releasing lock...
[2025-04-12 15:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 15:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 15:18:04] Production.ERROR: done
[2025-04-12 15:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 12:18:05
[end_date_ymd] => 2025-04-12 15:18:05
[RateCDR] => 1
)
[2025-04-12 15:18:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 12:18:05' and `end` < '2025-04-12 15:18:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 15:18:11] Production.ERROR: CronJobId end10
[2025-04-12 15:18:11] Production.INFO: ==7717== Releasing lock...
[2025-04-12 15:18:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 15:18:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 15:18:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 15:18:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 15:18:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 15:18:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 15:18:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 15:18:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 15:18:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 15:18:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 15:18:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 15:18:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 15:18:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 15:18:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 15:18:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 15:18:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 15:18:14] Production.INFO: call_cost start
[2025-04-12 15:18:14] Production.INFO: call_cost end
[2025-04-12 15:18:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 15:18:14] Production.INFO: ============== Report Schedule START===========
[2025-04-12 15:18:14] Production.INFO: ============== Report Schedule END===========
[2025-04-12 15:18:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 15:18:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 15:18:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 15:18:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 15:18:14] Production.INFO: ============== Deal alert START===========
[2025-04-12 15:18:14] Production.INFO: ============== Deal alert END===========
[2025-04-12 15:18:14] Production.INFO: ==7713== Releasing lock...
[2025-04-12 15:18:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 15:18:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 15:18:18] Production.INFO: count ==1501
[2025-04-12 15:18:19] Production.ERROR: pbx CDR StartTime 2025-04-12 12:18:05 - End Time 2025-04-12 15:18:05
[2025-04-12 15:18:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 15:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892427', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892427', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892427', 'tblTempVendorCDR_20' ) start
[2025-04-12 15:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892427', 'tblTempVendorCDR_20' ) end
[2025-04-12 15:18:19] Production.INFO: ProcessCDR(1,14892427,1,1,2)
[2025-04-12 15:18:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892427,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:18:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892427,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:18:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892427,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:18:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892427,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892427', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892427', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:18:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 15:18:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 15:18:22] Production.INFO: ==7721== Releasing lock...
[2025-04-12 15:18:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 15:18:22] Production.INFO: 40 MB #Memory Used#
[2025-04-12 20:19:01] Production.INFO: ==7786== Lock acquired, processing the job...
[2025-04-12 20:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 20:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 20:19:01] Production.INFO: neon service started
[2025-04-12 20:19:01] Production.INFO: neon service started
[2025-04-12 20:19:01] Production.INFO: ==7786== Releasing lock...
[2025-04-12 20:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 20:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 15:19:01] Production.INFO: ==7788== Lock acquired, processing the job...
[2025-04-12 15:19:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 15:19:02] Production.INFO: ==7788== Releasing lock...
[2025-04-12 15:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 15:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 19:19:02] Production.INFO: ==7790== Lock acquired, processing the job...
[2025-04-12 19:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 19:19:02] Production.INFO: ==7790== Releasing lock...
[2025-04-12 19:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 19:19:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 15:19:03] Production.INFO: ==7803== Lock acquired, processing the job...
[2025-04-12 15:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 15:19:03] Production.INFO: ==7792== Lock acquired, processing the job...
[2025-04-12 15:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 15:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 15:19:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 15:19:03] Production.INFO: count ==12
[2025-04-12 15: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-12 15:19:03] Production.INFO: ==7794== Lock acquired, processing the job...
[2025-04-12 15:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 15:19:03] Production.INFO: count ==23
[2025-04-12 15:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14892428') start
[2025-04-12 15:19:03] Production.INFO: ==7796== Lock acquired, processing the job...
[2025-04-12 15:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 15:19:03] Production.INFO: ==7798== Lock acquired, processing the job...
[2025-04-12 15:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 15:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14892428') end
[2025-04-12 15:19:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 15:19:03] Production.INFO: 1
[2025-04-12 15:19:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 15:19:03] Production.INFO: ==7800== Lock acquired, processing the job...
[2025-04-12 15:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 15:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 15:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 15:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 15:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 15:19:03] Production.INFO: Account Balance Start.
[2025-04-12 15:19:03] Production.INFO: CreateAllLog Start
[2025-04-12 15:19:03] Production.INFO: 117
[2025-04-12 15:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 15:19:03] Production.INFO: ==7803== Releasing lock...
[2025-04-12 15:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 15:19:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 15:19:03] Production.INFO: Date 2025-04-08
[2025-04-12 15:19:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:19:03] Production.INFO: Date 2025-04-09
[2025-04-12 15:19:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:19:03] Production.INFO: Date 2025-04-10
[2025-04-12 15:19:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:19:03] Production.INFO: Date 2025-04-11
[2025-04-12 15:19:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:19:03] Production.INFO: Date 2025-04-12
[2025-04-12 15:19:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:19:03] Production.INFO: Total Charge 0
[2025-04-12 15:19:03] Production.INFO: CreateAllLog End
[2025-04-12 15:19:03] Production.ERROR: done
[2025-04-12 15:19:03] Production.INFO: ==7794== Releasing lock...
[2025-04-12 15:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 15:19:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 15:19:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 15:19:03] Production.INFO: Account Balance End.
[2025-04-12 15:19:04] Production.ERROR: CronJobId end 12
[2025-04-12 15:19:04] Production.INFO: ==7798== Releasing lock...
[2025-04-12 15:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 15:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 15:19:04] Production.ERROR: done
[2025-04-12 15:19:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 12:19:04
[end_date_ymd] => 2025-04-12 15:19:04
[RateCDR] => 1
)
[2025-04-12 15: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-12 12:19:04' and `end` < '2025-04-12 15: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-12 15:19:11] Production.ERROR: CronJobId end10
[2025-04-12 15:19:11] Production.INFO: ==7796== Releasing lock...
[2025-04-12 15:19:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 15:19:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 15:19:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 15:19:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 15:19:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 15:19:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 15:19:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 15:19:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 15:19:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 15:19:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 15:19:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 15:19:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 15:19:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 15:19:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 15:19:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 15:19:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 15:19:13] Production.INFO: call_cost start
[2025-04-12 15:19:13] Production.INFO: call_cost end
[2025-04-12 15:19:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 15:19:14] Production.INFO: ============== Report Schedule START===========
[2025-04-12 15:19:14] Production.INFO: ============== Report Schedule END===========
[2025-04-12 15:19:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 15:19:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 15:19:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 15:19:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 15:19:14] Production.INFO: ============== Deal alert START===========
[2025-04-12 15:19:14] Production.INFO: ============== Deal alert END===========
[2025-04-12 15:19:14] Production.INFO: ==7792== Releasing lock...
[2025-04-12 15:19:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 15:19:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 15:19:17] Production.INFO: count ==1502
[2025-04-12 15:19:18] Production.ERROR: pbx CDR StartTime 2025-04-12 12:19:04 - End Time 2025-04-12 15:19:04
[2025-04-12 15:19:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 15:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892432', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892432', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892432', 'tblTempVendorCDR_20' ) start
[2025-04-12 15:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892432', 'tblTempVendorCDR_20' ) end
[2025-04-12 15:19:18] Production.INFO: ProcessCDR(1,14892432,1,1,2)
[2025-04-12 15:19:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892432,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:19:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892432,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:19:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892432,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:19:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892432,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892432', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892432', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:19:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 15:19:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 15:19:21] Production.INFO: ==7800== Releasing lock...
[2025-04-12 15:19:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 15:19:21] Production.INFO: 39.75 MB #Memory Used#
[2025-04-12 20:20:01] Production.INFO: ==7901== Lock acquired, processing the job...
[2025-04-12 20:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 20:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 20:20:01] Production.INFO: neon service started
[2025-04-12 20:20:01] Production.INFO: neon service started
[2025-04-12 20:20:01] Production.INFO: ==7901== Releasing lock...
[2025-04-12 20:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 20:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 19:20:02] Production.INFO: ==7905== Lock acquired, processing the job...
[2025-04-12 19:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 19:20:02] Production.INFO: ==7905== Releasing lock...
[2025-04-12 19:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 19:20:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 15:20:02] Production.INFO: ==7903== Lock acquired, processing the job...
[2025-04-12 15:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 15:20:02] Production.INFO: ==7903== Releasing lock...
[2025-04-12 15:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 15:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 15:20:03] Production.INFO: ==7908== Lock acquired, processing the job...
[2025-04-12 15:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 15:20:03] Production.INFO: ==7910== Lock acquired, processing the job...
[2025-04-12 15:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 15:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 15:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 15:20:03] Production.ERROR: CronJob PID - 7910
[2025-04-12 15:20:03] Production.ERROR: CronJob Title - System Alerts
[2025-04-12 15:20:03] Production.ERROR: CronJob ID - 5
[2025-04-12 15:20:03] Production.ERROR: CronJob Last Run Time 2025-04-12 15:20:00
[2025-04-12 15:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 15:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 15:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 15:20:03] Production.INFO: ==7908== Releasing lock...
[2025-04-12 15:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 15:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 15:20:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 15:20:03] Production.INFO: ==7918== Lock acquired, processing the job...
[2025-04-12 15:20:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 15:20:03] Production.INFO: ==7912== Lock acquired, processing the job...
[2025-04-12 15:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 15:20:03] Production.INFO: ==7914== Lock acquired, processing the job...
[2025-04-12 15:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 15:20:04] Production.INFO: ==7920== Lock acquired, processing the job...
[2025-04-12 15:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 15:20:04] Production.INFO: ==7916== Lock acquired, processing the job...
[2025-04-12 15:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 15:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 15:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 15:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 15:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 15:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 15:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 15:20:04] Production.INFO: ==7922== Lock acquired, processing the job...
[2025-04-12 15:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 15:20:04] Production.INFO: Account Balance Start.
[2025-04-12 15:20:04] Production.INFO: CreateAllLog Start
[2025-04-12 15:20:04] Production.INFO: 117
[2025-04-12 15:20:04] Production.INFO: Date 2025-04-08
[2025-04-12 15:20:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 15:20:04] Production.INFO: count ==12
[2025-04-12 15:20:04] Production.INFO: Date 2025-04-09
[2025-04-12 15:20:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 15:20:04] Production.INFO: count ==23
[2025-04-12 15:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892436') start
[2025-04-12 15:20:04] Production.ERROR: done
[2025-04-12 15:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 15:20:04] Production.INFO: ==7912== Releasing lock...
[2025-04-12 15:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 15:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 15:20:04] Production.INFO: Date 2025-04-10
[2025-04-12 15:20:04] Production.ERROR: done
[2025-04-12 15:20:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:20:04] Production.INFO: Date 2025-04-11
[2025-04-12 15:20:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:20:04] Production.INFO: Date 2025-04-12
[2025-04-12 15:20:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 15:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14892437', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 15:20:04] Production.INFO: Total Charge 0
[2025-04-12 15:20:04] Production.INFO: CreateAllLog End
[2025-04-12 15:20:04] Production.ERROR: done
[2025-04-12 15:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892436') end
[2025-04-12 15:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 15:20:04] Production.INFO: 1
[2025-04-12 15:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 15:20:04] Production.INFO: ==7922== Releasing lock...
[2025-04-12 15:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 15:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 15:20:04] Production.INFO: Account Balance End.
[2025-04-12 15:20:05] Production.ERROR: CronJobId end 12
[2025-04-12 15:20:05] Production.INFO: ==7916== Releasing lock...
[2025-04-12 15:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 15:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 15:20:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 12:20:05
[end_date_ymd] => 2025-04-12 15:20:05
[RateCDR] => 1
)
[2025-04-12 15:20:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 12:20:05' and `end` < '2025-04-12 15:20:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 15:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14892437', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 15:20:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 15:20:08] Production.INFO: ProcessCDR(1,14892437,1,1,2)
[2025-04-12 15:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14892437,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14892437,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:20:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 15:20:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 15:20:09] Production.INFO: ==7920== Releasing lock...
[2025-04-12 15:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 15:20:09] Production.INFO: 26 MB #Memory Used#
[2025-04-12 15:20:14] Production.ERROR: CronJobId end10
[2025-04-12 15:20:14] Production.INFO: ==7914== Releasing lock...
[2025-04-12 15:20:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 15:20:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 15:20:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 15:20:16] Production.INFO: ============== Balance Warning START===========
[2025-04-12 15:20:16] Production.INFO: ============== Balance Warning END===========
[2025-04-12 15:20:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 15:20:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 15:20:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 15:20:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 15:20:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 15:20:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 15:20:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 15:20:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 15:20:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 15:20:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 15:20:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 15:20:16] Production.INFO: call_cost start
[2025-04-12 15:20:16] Production.INFO: call_cost end
[2025-04-12 15:20:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 15:20:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 15:20:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 15:20:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 15:20:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 15:20:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 15:20:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 15:20:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 15:20:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 15:20:17] Production.INFO: ==7910== Releasing lock...
[2025-04-12 15:20:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 15:20:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 15:20:18] Production.INFO: count ==1484
[2025-04-12 15:20:19] Production.ERROR: pbx CDR StartTime 2025-04-12 12:20:05 - End Time 2025-04-12 15:20:05
[2025-04-12 15:20:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 15:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892438', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892438', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892438', 'tblTempVendorCDR_20' ) start
[2025-04-12 15:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892438', 'tblTempVendorCDR_20' ) end
[2025-04-12 15:20:19] Production.INFO: ProcessCDR(1,14892438,1,1,2)
[2025-04-12 15:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892438,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:20:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892438,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:20:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892438,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:20:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892438,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:20:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892438', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:20:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892438', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:20:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 15:20:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 15:20:24] Production.INFO: ==7918== Releasing lock...
[2025-04-12 15:20:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 15:20:24] Production.INFO: 39.75 MB #Memory Used#
[2025-04-12 20:21:02] Production.INFO: ==7980== Lock acquired, processing the job...
[2025-04-12 20:21:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 20:21:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 20:21:02] Production.INFO: neon service started
[2025-04-12 20:21:02] Production.INFO: neon service started
[2025-04-12 20:21:02] Production.INFO: ==7980== Releasing lock...
[2025-04-12 20:21:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 20:21:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 15:21:02] Production.INFO: ==7983== Lock acquired, processing the job...
[2025-04-12 15:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 15:21:02] Production.INFO: ==7983== Releasing lock...
[2025-04-12 15:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 15:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 19:21:03] Production.INFO: ==7985== Lock acquired, processing the job...
[2025-04-12 19:21:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 19:21:03] Production.INFO: ==7985== Releasing lock...
[2025-04-12 19:21:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 19:21:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 15:21:03] Production.INFO: ==7995== Lock acquired, processing the job...
[2025-04-12 15:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 15:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 15:21:03] Production.INFO: ==7997== Lock acquired, processing the job...
[2025-04-12 15:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 15:21:04] Production.INFO: ==7987== Lock acquired, processing the job...
[2025-04-12 15:21:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 15:21:04] Production.INFO: ==7991== Lock acquired, processing the job...
[2025-04-12 15:21:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 15:21:04] Production.INFO: ==7989== Lock acquired, processing the job...
[2025-04-12 15:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 15:21:04] Production.INFO: ==7993== Lock acquired, processing the job...
[2025-04-12 15:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 15:21:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 15:21:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 15:21:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 15:21:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 15:21:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 15:21:04] Production.INFO: Account Balance Start.
[2025-04-12 15:21:04] Production.INFO: CreateAllLog Start
[2025-04-12 15:21:04] Production.INFO: 117
[2025-04-12 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-12 15:21:04] Production.INFO: Date 2025-04-08
[2025-04-12 15:21:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:21:04] Production.INFO: count ==12
[2025-04-12 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-12 15:21:04] Production.INFO: count ==23
[2025-04-12 15:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892442') start
[2025-04-12 15:21:04] Production.ERROR: done
[2025-04-12 15:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 15:21:04] Production.INFO: ==7989== Releasing lock...
[2025-04-12 15:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 15:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 15:21:04] Production.INFO: Date 2025-04-09
[2025-04-12 15:21:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892442') end
[2025-04-12 15:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 15:21:04] Production.INFO: 1
[2025-04-12 15:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 15:21:04] Production.INFO: Date 2025-04-10
[2025-04-12 15:21:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:21:04] Production.INFO: Date 2025-04-11
[2025-04-12 15:21:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:21:04] Production.INFO: Date 2025-04-12
[2025-04-12 15:21:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:21:04] Production.INFO: ==7997== Releasing lock...
[2025-04-12 15:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 15:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 15:21:04] Production.INFO: Total Charge 0
[2025-04-12 15:21:04] Production.INFO: CreateAllLog End
[2025-04-12 15:21:04] Production.ERROR: done
[2025-04-12 15:21:04] Production.INFO: Account Balance End.
[2025-04-12 15:21:04] Production.ERROR: CronJobId end 12
[2025-04-12 15:21:04] Production.INFO: ==7993== Releasing lock...
[2025-04-12 15:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 15:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 15:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 12:21:05
[end_date_ymd] => 2025-04-12 15:21:05
[RateCDR] => 1
)
[2025-04-12 15:21:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 12:21:05' and `end` < '2025-04-12 15:21:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 15:21:12] Production.ERROR: CronJobId end10
[2025-04-12 15:21:12] Production.INFO: ==7991== Releasing lock...
[2025-04-12 15:21:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 15:21:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 15:21:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 15:21:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 15:21:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 15:21:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 15:21:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 15:21:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 15:21:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 15:21:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 15:21:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 15:21:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 15:21:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 15:21:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 15:21:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 15:21:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 15:21:15] Production.INFO: call_cost start
[2025-04-12 15:21:15] Production.INFO: call_cost end
[2025-04-12 15:21:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 15:21:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 15:21:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 15:21:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 15:21:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 15:21:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 15:21:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 15:21:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 15:21:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 15:21:16] Production.INFO: ==7987== Releasing lock...
[2025-04-12 15:21:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 15:21:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 15:21:18] Production.INFO: count ==1480
[2025-04-12 15:21:19] Production.ERROR: pbx CDR StartTime 2025-04-12 12:21:05 - End Time 2025-04-12 15:21:05
[2025-04-12 15:21:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 15:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892443', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892443', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892443', 'tblTempVendorCDR_20' ) start
[2025-04-12 15:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892443', 'tblTempVendorCDR_20' ) end
[2025-04-12 15:21:19] Production.INFO: ProcessCDR(1,14892443,1,1,2)
[2025-04-12 15:21:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892443,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:21:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892443,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:21:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892443,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:21:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892443,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:21:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892443', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:21:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892443', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:21:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 15:21:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 15:21:24] Production.INFO: ==7995== Releasing lock...
[2025-04-12 15:21:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 15:21:24] Production.INFO: 39.75 MB #Memory Used#
[2025-04-12 20:22:01] Production.INFO: ==8053== Lock acquired, processing the job...
[2025-04-12 20:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 20:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 20:22:01] Production.INFO: neon service started
[2025-04-12 20:22:01] Production.INFO: neon service started
[2025-04-12 20:22:01] Production.INFO: ==8053== Releasing lock...
[2025-04-12 20:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 20:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 15:22:02] Production.INFO: ==8055== Lock acquired, processing the job...
[2025-04-12 15:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 19:22:02] Production.INFO: ==8057== Lock acquired, processing the job...
[2025-04-12 19:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 19:22:02] Production.INFO: ==8057== Releasing lock...
[2025-04-12 19:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 19:22:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 15:22:02] Production.INFO: ==8055== Releasing lock...
[2025-04-12 15:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 15:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 15:22:03] Production.INFO: ==8060== Lock acquired, processing the job...
[2025-04-12 15:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 15:22:03] Production.INFO: ==8062== Lock acquired, processing the job...
[2025-04-12 15:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 15:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 15:22:03] Production.INFO: ==8066== Lock acquired, processing the job...
[2025-04-12 15:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 15:22:03] Production.INFO: Account Balance Start.
[2025-04-12 15:22:03] Production.INFO: CreateAllLog Start
[2025-04-12 15:22:03] Production.INFO: 117
[2025-04-12 15:22:03] Production.INFO: Date 2025-04-08
[2025-04-12 15:22:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:22:03] Production.INFO: Date 2025-04-09
[2025-04-12 15:22:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:22:03] Production.INFO: ==8068== Lock acquired, processing the job...
[2025-04-12 15:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 15:22:03] Production.INFO: Date 2025-04-10
[2025-04-12 15:22:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:22:03] Production.INFO: ==8064== Lock acquired, processing the job...
[2025-04-12 15:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 15:22:03] Production.INFO: Date 2025-04-11
[2025-04-12 15:22:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:22:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 15:22:04] Production.INFO: ==8062== Releasing lock...
[2025-04-12 15:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 15:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 15:22:04] Production.INFO: Date 2025-04-12
[2025-04-12 15:22:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:22:04] Production.INFO: Total Charge 0
[2025-04-12 15:22:04] Production.INFO: CreateAllLog End
[2025-04-12 15:22:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 15:22:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 15:22:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 15:22:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 15:22:04] Production.INFO: ==8070== Lock acquired, processing the job...
[2025-04-12 15:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 15:22:04] Production.INFO: Account Balance End.
[2025-04-12 15:22:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 15:22:04] Production.INFO: count ==12
[2025-04-12 15:22:04] Production.ERROR: CronJobId end 12
[2025-04-12 15:22:04] Production.INFO: ==8066== Releasing lock...
[2025-04-12 15:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 15:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 15:22:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 15:22:04] Production.INFO: count ==23
[2025-04-12 15:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892447') start
[2025-04-12 15:22:04] Production.ERROR: done
[2025-04-12 15:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 15:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892447') end
[2025-04-12 15:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 15:22:04] Production.INFO: 1
[2025-04-12 15:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 15:22:04] Production.INFO: ==8070== Releasing lock...
[2025-04-12 15:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 15:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 15:22:04] Production.ERROR: done
[2025-04-12 15:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 12:22:05
[end_date_ymd] => 2025-04-12 15:22:05
[RateCDR] => 1
)
[2025-04-12 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-12 12:22:05' and `end` < '2025-04-12 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-12 15:22:13] Production.ERROR: CronJobId end10
[2025-04-12 15:22:13] Production.INFO: ==8064== Releasing lock...
[2025-04-12 15:22:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 15:22:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 15:22:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 15:22:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 15:22:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 15:22:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 15:22:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 15:22:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 15:22:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 15:22:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 15:22:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 15:22:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 15:22:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 15:22:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 15:22:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 15:22:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 15:22:14] Production.INFO: call_cost start
[2025-04-12 15:22:14] Production.INFO: call_cost end
[2025-04-12 15:22:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 15:22:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 15:22:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 15:22:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 15:22:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 15:22:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 15:22:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 15:22:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 15:22:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 15:22:15] Production.INFO: ==8060== Releasing lock...
[2025-04-12 15:22:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 15:22:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 15:22:18] Production.INFO: count ==1480
[2025-04-12 15:22:19] Production.ERROR: pbx CDR StartTime 2025-04-12 12:22:05 - End Time 2025-04-12 15:22:05
[2025-04-12 15:22:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 15:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892448', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892448', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892448', 'tblTempVendorCDR_20' ) start
[2025-04-12 15:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892448', 'tblTempVendorCDR_20' ) end
[2025-04-12 15:22:19] Production.INFO: ProcessCDR(1,14892448,1,1,2)
[2025-04-12 15:22:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892448,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:22:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892448,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:22:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892448,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:22:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892448,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:22:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892448', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:22:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892448', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:22:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 15:22:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 15:22:24] Production.INFO: ==8068== Releasing lock...
[2025-04-12 15:22:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 15:22:24] Production.INFO: 39.75 MB #Memory Used#
[2025-04-12 20:23:02] Production.INFO: ==8128== Lock acquired, processing the job...
[2025-04-12 20:23:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 20:23:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 20:23:02] Production.INFO: neon service started
[2025-04-12 20:23:02] Production.INFO: neon service started
[2025-04-12 20:23:02] Production.INFO: ==8128== Releasing lock...
[2025-04-12 20:23:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 20:23:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 15:23:02] Production.INFO: ==8130== Lock acquired, processing the job...
[2025-04-12 15:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 19:23:02] Production.INFO: ==8132== Lock acquired, processing the job...
[2025-04-12 19:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 19:23:02] Production.INFO: ==8132== Releasing lock...
[2025-04-12 19:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 19:23:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 15:23:03] Production.INFO: ==8130== Releasing lock...
[2025-04-12 15:23:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 15:23:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 15:23:03] Production.INFO: ==8141== Lock acquired, processing the job...
[2025-04-12 15:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 15:23:03] Production.INFO: ==8143== Lock acquired, processing the job...
[2025-04-12 15:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 15:23:04] Production.INFO: Account Balance Start.
[2025-04-12 15:23:04] Production.INFO: CreateAllLog Start
[2025-04-12 15:23:04] Production.INFO: 117
[2025-04-12 15:23:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 15:23:04] Production.INFO: Date 2025-04-08
[2025-04-12 15:23:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:23:04] Production.INFO: Date 2025-04-09
[2025-04-12 15:23:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:23:04] Production.INFO: Date 2025-04-10
[2025-04-12 15:23:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:23:04] Production.INFO: ==8135== Lock acquired, processing the job...
[2025-04-12 15:23:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 15:23:04] Production.INFO: Date 2025-04-11
[2025-04-12 15:23:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:23:04] Production.INFO: Date 2025-04-12
[2025-04-12 15:23:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:23:04] Production.INFO: ==8137== Lock acquired, processing the job...
[2025-04-12 15:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 15:23:04] Production.INFO: ==8139== Lock acquired, processing the job...
[2025-04-12 15:23:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 15:23:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 15:23:04] Production.INFO: Total Charge 0
[2025-04-12 15:23:04] Production.INFO: CreateAllLog End
[2025-04-12 15:23:04] Production.INFO: ==8145== Lock acquired, processing the job...
[2025-04-12 15:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 15:23:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 15:23:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 15:23:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 15:23:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 15:23:04] Production.ERROR: done
[2025-04-12 15:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 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-12 15:23:04] Production.INFO: count ==12
[2025-04-12 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-12 15:23:04] Production.INFO: count ==23
[2025-04-12 15:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892452') start
[2025-04-12 15:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892452') end
[2025-04-12 15:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 15:23:04] Production.INFO: 1
[2025-04-12 15:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 15:23:04] Production.INFO: ==8137== Releasing lock...
[2025-04-12 15:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 15:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 15:23:04] Production.ERROR: done
[2025-04-12 15:23:04] Production.INFO: Account Balance End.
[2025-04-12 15:23:04] Production.INFO: ==8145== Releasing lock...
[2025-04-12 15:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 15:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 15:23:04] Production.ERROR: CronJobId end 12
[2025-04-12 15:23:04] Production.INFO: ==8141== Releasing lock...
[2025-04-12 15:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 15:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 15:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 12:23:05
[end_date_ymd] => 2025-04-12 15:23:05
[RateCDR] => 1
)
[2025-04-12 15:23:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 12:23:05' and `end` < '2025-04-12 15:23:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 15:23:12] Production.ERROR: CronJobId end10
[2025-04-12 15:23:12] Production.INFO: ==8139== Releasing lock...
[2025-04-12 15:23:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 15:23:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 15:23:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 15:23:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 15:23:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 15:23:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 15:23:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 15:23:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 15:23:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 15:23:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 15:23:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 15:23:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 15:23:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 15:23:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 15:23:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 15:23:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 15:23:14] Production.INFO: call_cost start
[2025-04-12 15:23:14] Production.INFO: call_cost end
[2025-04-12 15:23:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 15:23:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 15:23:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 15:23:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 15:23:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 15:23:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 15:23:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 15:23:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 15:23:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 15:23:15] Production.INFO: ==8135== Releasing lock...
[2025-04-12 15:23:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 15:23:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 15:23:18] Production.INFO: count ==1481
[2025-04-12 15:23:19] Production.ERROR: pbx CDR StartTime 2025-04-12 12:23:05 - End Time 2025-04-12 15:23:05
[2025-04-12 15:23:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 15:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892453', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892453', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892453', 'tblTempVendorCDR_20' ) start
[2025-04-12 15:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892453', 'tblTempVendorCDR_20' ) end
[2025-04-12 15:23:19] Production.INFO: ProcessCDR(1,14892453,1,1,2)
[2025-04-12 15:23:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892453,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:23:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892453,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:23:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892453,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:23:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892453,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:23:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892453', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:23:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892453', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:23:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 15:23:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 15:23:24] Production.INFO: ==8143== Releasing lock...
[2025-04-12 15:23:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 15:23:24] Production.INFO: 39.75 MB #Memory Used#
[2025-04-12 20:24:01] Production.INFO: ==8199== Lock acquired, processing the job...
[2025-04-12 20:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 20:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 20:24:01] Production.INFO: neon service started
[2025-04-12 20:24:01] Production.INFO: neon service started
[2025-04-12 20:24:01] Production.INFO: ==8199== Releasing lock...
[2025-04-12 20:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 20:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 15:24:02] Production.INFO: ==8201== Lock acquired, processing the job...
[2025-04-12 15:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 19:24:02] Production.INFO: ==8203== Lock acquired, processing the job...
[2025-04-12 19:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 15:24:02] Production.INFO: ==8201== Releasing lock...
[2025-04-12 15:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 15:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 19:24:02] Production.INFO: ==8203== Releasing lock...
[2025-04-12 19:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 19:24:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 15:24:03] Production.INFO: ==8205== Lock acquired, processing the job...
[2025-04-12 15:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 15:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 15:24:03] Production.INFO: ==8209== Lock acquired, processing the job...
[2025-04-12 15:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 15:24:03] Production.INFO: ==8211== Lock acquired, processing the job...
[2025-04-12 15:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 15:24:03] Production.INFO: ==8207== Lock acquired, processing the job...
[2025-04-12 15:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 15:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 15:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 15:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 15:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 15:24:03] Production.INFO: Account Balance Start.
[2025-04-12 15:24:03] Production.INFO: CreateAllLog Start
[2025-04-12 15:24:03] Production.INFO: 117
[2025-04-12 15:24:03] Production.INFO: ==8213== Lock acquired, processing the job...
[2025-04-12 15:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 15:24:03] Production.INFO: Date 2025-04-08
[2025-04-12 15:24:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:24:03] Production.INFO: Date 2025-04-09
[2025-04-12 15:24:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 15:24:03] Production.INFO: ==8215== Lock acquired, processing the job...
[2025-04-12 15:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 15:24:03] Production.INFO: Date 2025-04-10
[2025-04-12 15:24:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:24:03] Production.INFO: Date 2025-04-11
[2025-04-12 15:24:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:24:03] Production.INFO: Date 2025-04-12
[2025-04-12 15:24:03] Production.INFO: Reseller ==> 0
[2025-04-12 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-12 15:24:03] Production.INFO: Total Charge 0
[2025-04-12 15:24:03] Production.INFO: CreateAllLog End
[2025-04-12 15:24:04] Production.INFO: count ==12
[2025-04-12 15:24:04] Production.INFO: ==8207== Releasing lock...
[2025-04-12 15:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 15:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 15:24:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 15:24:04] Production.INFO: count ==23
[2025-04-12 15:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892457') start
[2025-04-12 15:24:04] Production.ERROR: done
[2025-04-12 15:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 15:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892457') end
[2025-04-12 15:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 15:24:04] Production.INFO: 1
[2025-04-12 15:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 15:24:04] Production.INFO: Account Balance End.
[2025-04-12 15:24:04] Production.INFO: ==8215== Releasing lock...
[2025-04-12 15:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 15:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 15:24:04] Production.ERROR: CronJobId end 12
[2025-04-12 15:24:04] Production.INFO: ==8211== Releasing lock...
[2025-04-12 15:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 15:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 15:24:04] Production.ERROR: done
[2025-04-12 15:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 12:24:05
[end_date_ymd] => 2025-04-12 15:24:05
[RateCDR] => 1
)
[2025-04-12 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-12 12:24:05' and `end` < '2025-04-12 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-12 15:24:11] Production.ERROR: CronJobId end10
[2025-04-12 15:24:11] Production.INFO: ==8209== Releasing lock...
[2025-04-12 15:24:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 15:24:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 15:24:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 15:24:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 15:24:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 15:24:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 15:24:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 15:24:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 15:24:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 15:24:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 15:24:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 15:24:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 15:24:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 15:24:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 15:24:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 15:24:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 15:24:14] Production.INFO: call_cost start
[2025-04-12 15:24:14] Production.INFO: call_cost end
[2025-04-12 15:24:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 15:24:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 15:24:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 15:24:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 15:24:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 15:24:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 15:24:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 15:24:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 15:24:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 15:24:15] Production.INFO: ==8205== Releasing lock...
[2025-04-12 15:24:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 15:24:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 15:24:18] Production.INFO: count ==1483
[2025-04-12 15:24:19] Production.ERROR: pbx CDR StartTime 2025-04-12 12:24:05 - End Time 2025-04-12 15:24:05
[2025-04-12 15:24:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 15:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892458', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892458', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892458', 'tblTempVendorCDR_20' ) start
[2025-04-12 15:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892458', 'tblTempVendorCDR_20' ) end
[2025-04-12 15:24:19] Production.INFO: ProcessCDR(1,14892458,1,1,2)
[2025-04-12 15:24:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892458,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:24:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892458,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:24:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892458,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:24:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892458,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:24:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892458', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:24:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892458', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:24:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 15:24:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 15:24:24] Production.INFO: ==8213== Releasing lock...
[2025-04-12 15:24:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 15:24:24] Production.INFO: 39.5 MB #Memory Used#
[2025-04-12 20:25:02] Production.INFO: ==8271== Lock acquired, processing the job...
[2025-04-12 20:25:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 20:25:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 20:25:02] Production.INFO: neon service started
[2025-04-12 20:25:02] Production.INFO: neon service started
[2025-04-12 20:25:02] Production.INFO: ==8271== Releasing lock...
[2025-04-12 20:25:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 20:25:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 15:25:02] Production.INFO: ==8273== Lock acquired, processing the job...
[2025-04-12 15:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 15:25:02] Production.INFO: ==8273== Releasing lock...
[2025-04-12 15:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 15:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 19:25:02] Production.INFO: ==8275== Lock acquired, processing the job...
[2025-04-12 19:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 19:25:03] Production.INFO: ==8275== Releasing lock...
[2025-04-12 19:25:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 19:25:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 15:25:03] Production.INFO: ==8278== Lock acquired, processing the job...
[2025-04-12 15:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 15:25:03] Production.INFO: ==8280== Lock acquired, processing the job...
[2025-04-12 15:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 15:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 15:25:03] Production.INFO: ==8282== Lock acquired, processing the job...
[2025-04-12 15:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 15:25:03] Production.INFO: ==8286== Lock acquired, processing the job...
[2025-04-12 15:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 15:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 15:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 15:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 15:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 15:25:03] Production.INFO: ==8284== Lock acquired, processing the job...
[2025-04-12 15:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 15:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 15:25:03] Production.INFO: ==8288== Lock acquired, processing the job...
[2025-04-12 15:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 15:25:03] Production.INFO: Account Balance Start.
[2025-04-12 15:25:03] Production.INFO: CreateAllLog Start
[2025-04-12 15:25:03] Production.INFO: 117
[2025-04-12 15:25:03] Production.INFO: Date 2025-04-08
[2025-04-12 15:25:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:25:04] Production.INFO: Date 2025-04-09
[2025-04-12 15:25:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:25:04] Production.INFO: ==8280== Releasing lock...
[2025-04-12 15:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 15:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 15:25:04] Production.INFO: Date 2025-04-10
[2025-04-12 15:25:04] Production.INFO: Reseller ==> 0
[2025-04-12 15: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-12 15:25:04] Production.INFO: Date 2025-04-11
[2025-04-12 15:25:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:25:04] Production.INFO: Date 2025-04-12
[2025-04-12 15:25:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:25:04] Production.INFO: count ==12
[2025-04-12 15: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-12 15:25:04] Production.INFO: count ==23
[2025-04-12 15:25:04] Production.ERROR: done
[2025-04-12 15:25:04] Production.INFO: Total Charge 0
[2025-04-12 15:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 15:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892462') start
[2025-04-12 15:25:04] Production.INFO: CreateAllLog End
[2025-04-12 15:25:04] Production.ERROR: done
[2025-04-12 15:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892462') end
[2025-04-12 15:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 15:25:04] Production.INFO: 1
[2025-04-12 15:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 15:25:04] Production.INFO: ==8288== Releasing lock...
[2025-04-12 15:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 15:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 15:25:04] Production.INFO: Account Balance End.
[2025-04-12 15:25:04] Production.ERROR: CronJobId end 12
[2025-04-12 15:25:04] Production.INFO: ==8284== Releasing lock...
[2025-04-12 15:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 15:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 15:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 12:25:05
[end_date_ymd] => 2025-04-12 15:25:05
[RateCDR] => 1
)
[2025-04-12 15:25:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 12:25:05' and `end` < '2025-04-12 15:25:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 15:25:11] Production.ERROR: CronJobId end10
[2025-04-12 15:25:11] Production.INFO: ==8282== Releasing lock...
[2025-04-12 15:25:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 15:25:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 15:25:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 15:25:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 15:25:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 15:25:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 15:25:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 15:25:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 15:25:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 15:25:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 15:25:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 15:25:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 15:25:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 15:25:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 15:25:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 15:25:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 15:25:14] Production.INFO: call_cost start
[2025-04-12 15:25:14] Production.INFO: call_cost end
[2025-04-12 15:25:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 15:25:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 15:25:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 15:25:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 15:25:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 15:25:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 15:25:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 15:25:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 15:25:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 15:25:15] Production.INFO: ==8278== Releasing lock...
[2025-04-12 15:25:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 15:25:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 15:25:18] Production.INFO: count ==1489
[2025-04-12 15:25:18] Production.ERROR: pbx CDR StartTime 2025-04-12 12:25:05 - End Time 2025-04-12 15:25:05
[2025-04-12 15:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 15:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892463', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892463', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892463', 'tblTempVendorCDR_20' ) start
[2025-04-12 15:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892463', 'tblTempVendorCDR_20' ) end
[2025-04-12 15:25:18] Production.INFO: ProcessCDR(1,14892463,1,1,2)
[2025-04-12 15:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892463,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:25:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892463,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:25:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892463,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:25:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892463,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:25:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892463', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:25:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892463', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:25:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 15:25:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 15:25:24] Production.INFO: ==8286== Releasing lock...
[2025-04-12 15:25:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 15:25:24] Production.INFO: 39.5 MB #Memory Used#
[2025-04-12 20:26:01] Production.INFO: ==8341== Lock acquired, processing the job...
[2025-04-12 20:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 20:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 20:26:01] Production.INFO: neon service started
[2025-04-12 20:26:01] Production.INFO: neon service started
[2025-04-12 20:26:01] Production.INFO: ==8341== Releasing lock...
[2025-04-12 20:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 20:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 19:26:01] Production.INFO: ==8345== Lock acquired, processing the job...
[2025-04-12 19:26:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 19:26:02] Production.INFO: ==8345== Releasing lock...
[2025-04-12 19:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 19:26:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 15:26:02] Production.INFO: ==8343== Lock acquired, processing the job...
[2025-04-12 15:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 15:26:02] Production.INFO: ==8343== Releasing lock...
[2025-04-12 15:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 15:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 15:26:03] Production.INFO: ==8352== Lock acquired, processing the job...
[2025-04-12 15:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 15:26:03] Production.INFO: ==8358== Lock acquired, processing the job...
[2025-04-12 15:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 15:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 15:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 15:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 15:26:03] Production.INFO: ==8347== Lock acquired, processing the job...
[2025-04-12 15:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 15:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 15:26:03] Production.INFO: ==8350== Lock acquired, processing the job...
[2025-04-12 15:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 15:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 15:26:03] Production.INFO: ==8354== Lock acquired, processing the job...
[2025-04-12 15:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 15:26:03] Production.INFO: ==8356== Lock acquired, processing the job...
[2025-04-12 15:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 15:26:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 15:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 15:26:03] Production.INFO: Account Balance Start.
[2025-04-12 15:26:03] Production.INFO: CreateAllLog Start
[2025-04-12 15:26:03] Production.INFO: count ==12
[2025-04-12 15:26:03] Production.INFO: 117
[2025-04-12 15:26:03] Production.INFO: Date 2025-04-08
[2025-04-12 15:26:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 15:26:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:26:03] Production.INFO: count ==23
[2025-04-12 15:26:03] Production.INFO: Date 2025-04-09
[2025-04-12 15:26:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14892464') start
[2025-04-12 15:26:03] Production.INFO: Date 2025-04-10
[2025-04-12 15:26:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:26:03] Production.INFO: Date 2025-04-11
[2025-04-12 15:26:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:26:03] Production.INFO: Date 2025-04-12
[2025-04-12 15:26:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:26:03] Production.INFO: ==8350== Releasing lock...
[2025-04-12 15:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 15:26:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 15:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14892464') end
[2025-04-12 15:26:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 15:26:03] Production.INFO: 1
[2025-04-12 15:26:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 15:26:03] Production.INFO: Total Charge 0
[2025-04-12 15:26:03] Production.INFO: CreateAllLog End
[2025-04-12 15:26:04] Production.INFO: ==8358== Releasing lock...
[2025-04-12 15:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 15:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 15:26:04] Production.ERROR: done
[2025-04-12 15:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 15:26:04] Production.INFO: Account Balance End.
[2025-04-12 15:26:04] Production.ERROR: CronJobId end 12
[2025-04-12 15:26:04] Production.INFO: ==8354== Releasing lock...
[2025-04-12 15:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 15:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 15:26:04] Production.ERROR: done
[2025-04-12 15:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 12:26:05
[end_date_ymd] => 2025-04-12 15:26:05
[RateCDR] => 1
)
[2025-04-12 15:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 12:26:05' and `end` < '2025-04-12 15:26:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 15:26:11] Production.ERROR: CronJobId end10
[2025-04-12 15:26:11] Production.INFO: ==8352== Releasing lock...
[2025-04-12 15:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 15:26:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 15:26:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 15:26:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 15:26:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 15:26:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 15:26:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 15:26:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 15:26:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 15:26:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 15:26:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 15:26:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 15:26:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 15:26:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 15:26:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 15:26:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 15:26:15] Production.INFO: call_cost start
[2025-04-12 15:26:15] Production.INFO: call_cost end
[2025-04-12 15:26:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 15:26:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 15:26:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 15:26:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 15:26:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 15:26:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 15:26:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 15:26:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 15:26:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 15:26:16] Production.INFO: ==8347== Releasing lock...
[2025-04-12 15:26:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 15:26:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 15:26:18] Production.INFO: count ==1506
[2025-04-12 15:26:18] Production.ERROR: pbx CDR StartTime 2025-04-12 12:26:05 - End Time 2025-04-12 15:26:05
[2025-04-12 15:26:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 15:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892468', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892468', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892468', 'tblTempVendorCDR_20' ) start
[2025-04-12 15:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892468', 'tblTempVendorCDR_20' ) end
[2025-04-12 15:26:18] Production.INFO: ProcessCDR(1,14892468,1,1,2)
[2025-04-12 15:26:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892468,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:26:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892468,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:26:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892468,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:26:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892468,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:26:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892468', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:26:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892468', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:26:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 15:26:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 15:26:23] Production.INFO: ==8356== Releasing lock...
[2025-04-12 15:26:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 15:26:23] Production.INFO: 39.75 MB #Memory Used#
[2025-04-12 20:27:01] Production.INFO: ==8415== Lock acquired, processing the job...
[2025-04-12 20:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 20:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 20:27:02] Production.INFO: neon service started
[2025-04-12 20:27:02] Production.INFO: neon service started
[2025-04-12 20:27:02] Production.INFO: ==8415== Releasing lock...
[2025-04-12 20:27:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 20:27:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 19:27:02] Production.INFO: ==8419== Lock acquired, processing the job...
[2025-04-12 19:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 19:27:02] Production.INFO: ==8419== Releasing lock...
[2025-04-12 19:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 19:27:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 15:27:02] Production.INFO: ==8417== Lock acquired, processing the job...
[2025-04-12 15:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 15:27:02] Production.INFO: ==8417== Releasing lock...
[2025-04-12 15:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 15:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 15:27:03] Production.INFO: ==8423== Lock acquired, processing the job...
[2025-04-12 15:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 15:27:03] Production.INFO: ==8421== Lock acquired, processing the job...
[2025-04-12 15:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 15:27:03] Production.INFO: ==8432== Lock acquired, processing the job...
[2025-04-12 15:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 15:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 15:27:03] Production.INFO: ==8425== Lock acquired, processing the job...
[2025-04-12 15:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 15:27:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 15:27:03] Production.INFO: ==8423== Releasing lock...
[2025-04-12 15:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 15:27:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 15:27:03] Production.INFO: count ==12
[2025-04-12 15:27:03] Production.INFO: ==8427== Lock acquired, processing the job...
[2025-04-12 15:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 15:27:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 15:27:03] Production.INFO: count ==23
[2025-04-12 15:27:03] Production.INFO: ==8429== Lock acquired, processing the job...
[2025-04-12 15:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 15:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14892471') start
[2025-04-12 15:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 15:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 15:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 15:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 15:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892471') end
[2025-04-12 15:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 15:27:04] Production.INFO: 1
[2025-04-12 15:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 15:27:04] Production.INFO: Account Balance Start.
[2025-04-12 15:27:04] Production.INFO: CreateAllLog Start
[2025-04-12 15:27:04] Production.INFO: 117
[2025-04-12 15:27:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 15:27:04] Production.INFO: Date 2025-04-08
[2025-04-12 15:27:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:27:04] Production.INFO: ==8432== Releasing lock...
[2025-04-12 15:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 15:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 15:27:04] Production.INFO: Date 2025-04-09
[2025-04-12 15:27:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:27:04] Production.INFO: Date 2025-04-10
[2025-04-12 15:27:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:27:04] Production.INFO: Date 2025-04-11
[2025-04-12 15:27:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:27:04] Production.INFO: Date 2025-04-12
[2025-04-12 15:27:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:27:04] Production.INFO: Total Charge 0
[2025-04-12 15:27:04] Production.INFO: CreateAllLog End
[2025-04-12 15:27:04] Production.ERROR: done
[2025-04-12 15:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 15:27:04] Production.ERROR: done
[2025-04-12 15:27:04] Production.INFO: Account Balance End.
[2025-04-12 15:27:04] Production.ERROR: CronJobId end 12
[2025-04-12 15:27:04] Production.INFO: ==8427== Releasing lock...
[2025-04-12 15:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 15:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 15:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 12:27:05
[end_date_ymd] => 2025-04-12 15:27:05
[RateCDR] => 1
)
[2025-04-12 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-12 12:27:05' and `end` < '2025-04-12 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-12 15:27:11] Production.ERROR: CronJobId end10
[2025-04-12 15:27:11] Production.INFO: ==8425== Releasing lock...
[2025-04-12 15:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 15:27:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 15:27:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 15:27:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 15:27:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 15:27:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 15:27:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 15:27:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 15:27:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 15:27:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 15:27:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 15:27:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 15:27:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 15:27:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 15:27:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 15:27:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 15:27:15] Production.INFO: call_cost start
[2025-04-12 15:27:15] Production.INFO: call_cost end
[2025-04-12 15:27:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 15:27:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 15:27:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 15:27:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 15:27:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 15:27:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 15:27:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 15:27:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 15:27:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 15:27:16] Production.INFO: ==8421== Releasing lock...
[2025-04-12 15:27:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 15:27:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 15:27:18] Production.INFO: count ==1509
[2025-04-12 15:27:19] Production.ERROR: pbx CDR StartTime 2025-04-12 12:27:05 - End Time 2025-04-12 15:27:05
[2025-04-12 15:27:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 15:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892473', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892473', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892473', 'tblTempVendorCDR_20' ) start
[2025-04-12 15:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892473', 'tblTempVendorCDR_20' ) end
[2025-04-12 15:27:19] Production.INFO: ProcessCDR(1,14892473,1,1,2)
[2025-04-12 15:27:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892473,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:27:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892473,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:27:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892473,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:27:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892473,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:27:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892473', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:27:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892473', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:27:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 15:27:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 15:27:23] Production.INFO: ==8429== Releasing lock...
[2025-04-12 15:27:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 15:27:23] Production.INFO: 39.75 MB #Memory Used#
[2025-04-12 20:28:01] Production.INFO: ==8484== Lock acquired, processing the job...
[2025-04-12 20:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 20:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 20:28:01] Production.INFO: neon service started
[2025-04-12 20:28:01] Production.INFO: neon service started
[2025-04-12 20:28:01] Production.INFO: ==8484== Releasing lock...
[2025-04-12 20:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 20:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 19:28:01] Production.INFO: ==8488== Lock acquired, processing the job...
[2025-04-12 19:28:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 19:28:01] Production.INFO: ==8488== Releasing lock...
[2025-04-12 19:28:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 19:28:01] Production.INFO: 25 MB #Memory Used#
[2025-04-12 15:28:01] Production.INFO: ==8486== Lock acquired, processing the job...
[2025-04-12 15:28:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 15:28:02] Production.INFO: ==8486== Releasing lock...
[2025-04-12 15:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 15:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 15:28:03] Production.INFO: ==8493== Lock acquired, processing the job...
[2025-04-12 15:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 15:28:03] Production.INFO: ==8497== Lock acquired, processing the job...
[2025-04-12 15:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 15:28:03] Production.INFO: ==8495== Lock acquired, processing the job...
[2025-04-12 15:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 15:28:03] Production.INFO: Account Balance Start.
[2025-04-12 15:28:03] Production.INFO: CreateAllLog Start
[2025-04-12 15:28:03] Production.INFO: 117
[2025-04-12 15:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 15:28:03] Production.INFO: Date 2025-04-08
[2025-04-12 15:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 15:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 15:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 15:28:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:28:03] Production.INFO: Date 2025-04-09
[2025-04-12 15:28:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:28:03] Production.INFO: Date 2025-04-10
[2025-04-12 15:28:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:28:03] Production.INFO: ==8491== Lock acquired, processing the job...
[2025-04-12 15:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 15:28:03] Production.INFO: ==8493== Releasing lock...
[2025-04-12 15:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 15:28:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 15:28:03] Production.INFO: Date 2025-04-11
[2025-04-12 15:28:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:28:03] Production.INFO: Date 2025-04-12
[2025-04-12 15:28:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 15:28:03] Production.INFO: Total Charge 0
[2025-04-12 15:28:03] Production.INFO: ==8499== Lock acquired, processing the job...
[2025-04-12 15:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 15:28:03] Production.INFO: CreateAllLog End
[2025-04-12 15:28:03] Production.INFO: ==8501== Lock acquired, processing the job...
[2025-04-12 15:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 15:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 15:28:03] Production.INFO: Account Balance End.
[2025-04-12 15: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-12 15:28:03] Production.ERROR: CronJobId end 12
[2025-04-12 15:28:03] Production.INFO: ==8497== Releasing lock...
[2025-04-12 15:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 15:28:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 15:28:03] Production.INFO: count ==12
[2025-04-12 15: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-12 15:28:03] Production.INFO: count ==23
[2025-04-12 15:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14892477') start
[2025-04-12 15:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14892477') end
[2025-04-12 15:28:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 15:28:03] Production.INFO: 1
[2025-04-12 15:28:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 15:28:04] Production.INFO: ==8501== Releasing lock...
[2025-04-12 15:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 15:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 15:28:04] Production.ERROR: done
[2025-04-12 15:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 15:28:04] Production.ERROR: done
[2025-04-12 15:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 12:28:05
[end_date_ymd] => 2025-04-12 15:28:05
[RateCDR] => 1
)
[2025-04-12 15:28:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 12:28:05' and `end` < '2025-04-12 15:28:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 15:28:11] Production.ERROR: CronJobId end10
[2025-04-12 15:28:11] Production.INFO: ==8495== Releasing lock...
[2025-04-12 15:28:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 15:28:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 15:28:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 15:28:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 15:28:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 15:28:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 15:28:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 15:28:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 15:28:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 15:28:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 15:28:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 15:28:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 15:28:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 15:28:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 15:28:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 15:28:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 15:28:14] Production.INFO: call_cost start
[2025-04-12 15:28:14] Production.INFO: call_cost end
[2025-04-12 15:28:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 15:28:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 15:28:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 15:28:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 15:28:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 15:28:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 15:28:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 15:28:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 15:28:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 15:28:15] Production.INFO: ==8491== Releasing lock...
[2025-04-12 15:28:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 15:28:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 15:28:18] Production.INFO: count ==1490
[2025-04-12 15:28:18] Production.ERROR: pbx CDR StartTime 2025-04-12 12:28:05 - End Time 2025-04-12 15:28:05
[2025-04-12 15:28:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 15:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892478', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892478', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892478', 'tblTempVendorCDR_20' ) start
[2025-04-12 15:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892478', 'tblTempVendorCDR_20' ) end
[2025-04-12 15:28:18] Production.INFO: ProcessCDR(1,14892478,1,1,2)
[2025-04-12 15:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892478,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:28:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892478,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:28:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892478,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:28:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892478,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892478', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892478', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:28:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 15:28:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 15:28:22] Production.INFO: ==8499== Releasing lock...
[2025-04-12 15:28:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 15:28:22] Production.INFO: 39.5 MB #Memory Used#
[2025-04-12 20:29:01] Production.INFO: ==8558== Lock acquired, processing the job...
[2025-04-12 20:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 20:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 20:29:01] Production.INFO: neon service started
[2025-04-12 20:29:01] Production.INFO: neon service started
[2025-04-12 20:29:01] Production.INFO: ==8558== Releasing lock...
[2025-04-12 20:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 20:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 19:29:02] Production.INFO: ==8562== Lock acquired, processing the job...
[2025-04-12 19:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 19:29:02] Production.INFO: ==8562== Releasing lock...
[2025-04-12 19:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 19:29:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 15:29:02] Production.INFO: ==8560== Lock acquired, processing the job...
[2025-04-12 15:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 15:29:02] Production.INFO: ==8560== Releasing lock...
[2025-04-12 15:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 15:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 15:29:03] Production.INFO: ==8571== Lock acquired, processing the job...
[2025-04-12 15:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 15:29:03] Production.INFO: ==8573== Lock acquired, processing the job...
[2025-04-12 15:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 15:29:03] Production.INFO: ==8565== Lock acquired, processing the job...
[2025-04-12 15:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 15:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 15:29:03] Production.INFO: ==8567== Lock acquired, processing the job...
[2025-04-12 15:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 15:29:03] Production.INFO: ==8569== Lock acquired, processing the job...
[2025-04-12 15:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 15:29:03] Production.INFO: Account Balance Start.
[2025-04-12 15:29:03] Production.INFO: CreateAllLog Start
[2025-04-12 15:29:03] Production.INFO: 117
[2025-04-12 15:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 15:29:03] Production.INFO: Date 2025-04-08
[2025-04-12 15:29:03] Production.INFO: ==8575== Lock acquired, processing the job...
[2025-04-12 15:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 15:29:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 15:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 15:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 15:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 15:29:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 15:29:03] Production.INFO: count ==12
[2025-04-12 15:29:03] Production.INFO: Date 2025-04-09
[2025-04-12 15:29:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 15:29:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:29:03] Production.INFO: count ==23
[2025-04-12 15:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892482') start
[2025-04-12 15:29:04] Production.ERROR: done
[2025-04-12 15:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 15:29:04] Production.INFO: Date 2025-04-10
[2025-04-12 15:29:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:29:04] Production.INFO: Date 2025-04-11
[2025-04-12 15:29:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:29:04] Production.INFO: Date 2025-04-12
[2025-04-12 15:29:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892482') end
[2025-04-12 15:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 15:29:04] Production.INFO: 1
[2025-04-12 15:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 15:29:04] Production.INFO: Total Charge 0
[2025-04-12 15:29:04] Production.INFO: CreateAllLog End
[2025-04-12 15:29:04] Production.INFO: ==8575== Releasing lock...
[2025-04-12 15:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 15:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 15:29:04] Production.ERROR: done
[2025-04-12 15:29:04] Production.INFO: ==8567== Releasing lock...
[2025-04-12 15:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 15:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 15:29:04] Production.INFO: Account Balance End.
[2025-04-12 15:29:04] Production.ERROR: CronJobId end 12
[2025-04-12 15:29:04] Production.INFO: ==8571== Releasing lock...
[2025-04-12 15:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 15:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 15:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 12:29:05
[end_date_ymd] => 2025-04-12 15:29:05
[RateCDR] => 1
)
[2025-04-12 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-12 12:29:05' and `end` < '2025-04-12 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-12 15:29:13] Production.ERROR: CronJobId end10
[2025-04-12 15:29:13] Production.INFO: ==8569== Releasing lock...
[2025-04-12 15:29:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 15:29:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 15:29:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 15:29:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 15:29:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 15:29:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 15:29:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 15:29:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 15:29:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 15:29:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 15:29:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 15:29:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 15:29:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 15:29:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 15:29:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 15:29:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 15:29:15] Production.INFO: call_cost start
[2025-04-12 15:29:15] Production.INFO: call_cost end
[2025-04-12 15:29:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 15:29:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 15:29:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 15:29:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 15:29:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 15:29:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 15:29:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 15:29:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 15:29:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 15:29:16] Production.INFO: ==8565== Releasing lock...
[2025-04-12 15:29:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 15:29:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 15:29:18] Production.INFO: count ==1488
[2025-04-12 15:29:18] Production.ERROR: pbx CDR StartTime 2025-04-12 12:29:05 - End Time 2025-04-12 15:29:05
[2025-04-12 15:29:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 15:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892483', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892483', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892483', 'tblTempVendorCDR_20' ) start
[2025-04-12 15:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892483', 'tblTempVendorCDR_20' ) end
[2025-04-12 15:29:18] Production.INFO: ProcessCDR(1,14892483,1,1,2)
[2025-04-12 15:29:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892483,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:29:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892483,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:29:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892483,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:29:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892483,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:29:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892483', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:29:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892483', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:29:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 15:29:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 15:29:23] Production.INFO: ==8573== Releasing lock...
[2025-04-12 15:29:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 15:29:23] Production.INFO: 39.5 MB #Memory Used#
[2025-04-12 20:30:02] Production.INFO: ==8631== Lock acquired, processing the job...
[2025-04-12 20:30:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 20:30:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 20:30:02] Production.INFO: neon service started
[2025-04-12 20:30:02] Production.INFO: neon service started
[2025-04-12 20:30:02] Production.INFO: ==8631== Releasing lock...
[2025-04-12 20:30:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 20:30:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 19:30:02] Production.INFO: ==8635== Lock acquired, processing the job...
[2025-04-12 19:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 19:30:02] Production.INFO: ==8635== Releasing lock...
[2025-04-12 19:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 19:30:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 15:30:02] Production.INFO: ==8633== Lock acquired, processing the job...
[2025-04-12 15:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 15:30:03] Production.INFO: ==8633== Releasing lock...
[2025-04-12 15:30:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 15:30:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 15:30:04] Production.INFO: ==8641== Lock acquired, processing the job...
[2025-04-12 15:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 15:30:04] Production.INFO: ==8637== Lock acquired, processing the job...
[2025-04-12 15:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 15:30:04] Production.INFO: ==8646== Lock acquired, processing the job...
[2025-04-12 15:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 15:30:04] Production.INFO: ==8650== Lock acquired, processing the job...
[2025-04-12 15:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 15:30:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 15:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 15:30:04] Production.ERROR: CronJob PID - 8641
[2025-04-12 15:30:04] Production.ERROR: CronJob Title - Account Block
[2025-04-12 15:30:04] Production.ERROR: CronJob ID - 7
[2025-04-12 15:30:04] Production.ERROR: CronJob Last Run Time 2025-04-12 15:30:00
[2025-04-12 15:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 15:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 15:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 15:30:04] Production.ERROR: CronJob PID - 8646
[2025-04-12 15:30:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-04-12 15:30:04] Production.ERROR: CronJob ID - 12
[2025-04-12 15:30:04] Production.ERROR: CronJob Last Run Time 2025-04-12 15:30:00
[2025-04-12 15:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 15:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 15:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 15:30:04] Production.INFO: ==8639== Lock acquired, processing the job...
[2025-04-12 15:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 15:30:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 15:30:04] Production.INFO: ==8637== Releasing lock...
[2025-04-12 15:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 15:30:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 15:30:04] Production.INFO: Account Balance Start.
[2025-04-12 15:30:04] Production.INFO: CreateAllLog Start
[2025-04-12 15:30:04] Production.INFO: 117
[2025-04-12 15:30:04] Production.INFO: Date 2025-04-08
[2025-04-12 15:30:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:30:04] Production.INFO: ==8643== Lock acquired, processing the job...
[2025-04-12 15:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 15:30:04] Production.INFO: Date 2025-04-09
[2025-04-12 15:30:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:30:04] Production.INFO: Date 2025-04-10
[2025-04-12 15:30:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 15:30:04] Production.INFO: ==8641== Releasing lock...
[2025-04-12 15:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 15:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 15:30:04] Production.INFO: ==8648== Lock acquired, processing the job...
[2025-04-12 15:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 15:30:04] Production.INFO: ==8652== Lock acquired, processing the job...
[2025-04-12 15:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 15:30:04] Production.INFO: Date 2025-04-11
[2025-04-12 15:30:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 15:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 15:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 15:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 15:30:04] Production.INFO: Date 2025-04-12
[2025-04-12 15:30:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:30:04] Production.INFO: Total Charge 0
[2025-04-12 15:30:04] Production.INFO: CreateAllLog End
[2025-04-12 15:30:04] Production.ERROR: done
[2025-04-12 15:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 15:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 15:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 15:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14892488', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 15:30:04] Production.INFO: count ==12
[2025-04-12 15:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 15:30:04] Production.INFO: count ==23
[2025-04-12 15:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14892487') start
[2025-04-12 15:30:05] Production.INFO: Account Balance End.
[2025-04-12 15:30:05] Production.ERROR: CronJobId end 12
[2025-04-12 15:30:05] Production.INFO: ==8646== Releasing lock...
[2025-04-12 15:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 15:30:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 15:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14892487') end
[2025-04-12 15:30:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 15:30:05] Production.INFO: 1
[2025-04-12 15:30:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 15:30:05] Production.ERROR: done
[2025-04-12 15:30:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 15:30:05] Production.INFO: ==8652== Releasing lock...
[2025-04-12 15:30:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 15:30:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 15:30:05] Production.ERROR: done
[2025-04-12 15:30:07] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 12:30:07
[end_date_ymd] => 2025-04-12 15:30:07
[RateCDR] => 1
)
[2025-04-12 15: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-12 12:30:07' and `end` < '2025-04-12 15: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-12 15:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14892488', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 15:30:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 15:30:08] Production.INFO: ProcessCDR(1,14892488,1,1,2)
[2025-04-12 15:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14892488,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14892488,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 15:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 15:30:09] Production.INFO: ==8650== Releasing lock...
[2025-04-12 15:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 15:30:09] Production.INFO: 26 MB #Memory Used#
[2025-04-12 15:30:13] Production.ERROR: CronJobId end10
[2025-04-12 15:30:13] Production.INFO: ==8643== Releasing lock...
[2025-04-12 15:30:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 15:30:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 15:30:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 15:30:16] Production.INFO: ============== Balance Warning START===========
[2025-04-12 15:30:16] Production.INFO: ============== Balance Warning END===========
[2025-04-12 15:30:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 15:30:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 15:30:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 15:30:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 15:30:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 15:30:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 15:30:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 15:30:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 15:30:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 15:30:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 15:30:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 15:30:16] Production.INFO: call_cost start
[2025-04-12 15:30:16] Production.INFO: call_cost end
[2025-04-12 15:30:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 15:30:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 15:30:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 15:30:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 15:30:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 15:30:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 15:30:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 15:30:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 15:30:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 15:30:17] Production.INFO: ==8639== Releasing lock...
[2025-04-12 15:30:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 15:30:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 15:30:20] Production.INFO: count ==1485
[2025-04-12 15:30:20] Production.ERROR: pbx CDR StartTime 2025-04-12 12:30:07 - End Time 2025-04-12 15:30:07
[2025-04-12 15:30:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 15:30:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892489', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:30:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892489', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:30:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892489', 'tblTempVendorCDR_20' ) start
[2025-04-12 15:30:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892489', 'tblTempVendorCDR_20' ) end
[2025-04-12 15:30:20] Production.INFO: ProcessCDR(1,14892489,1,1,2)
[2025-04-12 15:30:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892489,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:30:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892489,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:30:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892489,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:30:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892489,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:30:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892489', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:30:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892489', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:30:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 15:30:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 15:30:25] Production.INFO: ==8648== Releasing lock...
[2025-04-12 15:30:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 15:30:25] Production.INFO: 39.75 MB #Memory Used#
[2025-04-12 20:31:01] Production.INFO: ==8709== Lock acquired, processing the job...
[2025-04-12 20:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 20:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 20:31:01] Production.INFO: neon service started
[2025-04-12 20:31:01] Production.INFO: neon service started
[2025-04-12 20:31:01] Production.INFO: ==8709== Releasing lock...
[2025-04-12 20:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 20:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 15:31:02] Production.INFO: ==8711== Lock acquired, processing the job...
[2025-04-12 15:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 19:31:02] Production.INFO: ==8713== Lock acquired, processing the job...
[2025-04-12 19:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 19:31:02] Production.INFO: ==8713== Releasing lock...
[2025-04-12 19:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 19:31:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 15:31:02] Production.INFO: ==8711== Releasing lock...
[2025-04-12 15:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 15:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 15:31:03] Production.INFO: ==8724== Lock acquired, processing the job...
[2025-04-12 15:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 15:31:03] Production.INFO: ==8726== Lock acquired, processing the job...
[2025-04-12 15:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 15:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 15:31:03] Production.INFO: ==8716== Lock acquired, processing the job...
[2025-04-12 15:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 15:31:03] Production.INFO: ==8718== Lock acquired, processing the job...
[2025-04-12 15:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 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-12 15:31:03] Production.INFO: ==8720== Lock acquired, processing the job...
[2025-04-12 15:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 15:31:03] Production.INFO: count ==12
[2025-04-12 15:31:03] Production.INFO: ==8722== Lock acquired, processing the job...
[2025-04-12 15:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 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-12 15:31:03] Production.INFO: count ==23
[2025-04-12 15:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14892490') start
[2025-04-12 15:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14892490') end
[2025-04-12 15:31:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 15:31:03] Production.INFO: 1
[2025-04-12 15:31:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 15:31:03] Production.INFO: Account Balance Start.
[2025-04-12 15:31:03] Production.INFO: CreateAllLog Start
[2025-04-12 15:31:03] Production.INFO: 117
[2025-04-12 15:31:03] Production.INFO: Date 2025-04-08
[2025-04-12 15:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 15:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 15:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 15:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 15:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 15:31:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:31:03] Production.INFO: Date 2025-04-09
[2025-04-12 15:31:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:31:03] Production.INFO: ==8726== Releasing lock...
[2025-04-12 15:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 15:31:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 15:31:03] Production.INFO: Date 2025-04-10
[2025-04-12 15:31:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:31:03] Production.ERROR: done
[2025-04-12 15:31:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 15:31:04] Production.INFO: Date 2025-04-11
[2025-04-12 15:31:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:31:04] Production.INFO: Date 2025-04-12
[2025-04-12 15:31:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:31:04] Production.INFO: Total Charge 0
[2025-04-12 15:31:04] Production.INFO: CreateAllLog End
[2025-04-12 15:31:04] Production.INFO: ==8718== Releasing lock...
[2025-04-12 15:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 15:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 15:31:04] Production.ERROR: done
[2025-04-12 15:31:04] Production.INFO: Account Balance End.
[2025-04-12 15:31:04] Production.ERROR: CronJobId end 12
[2025-04-12 15:31:04] Production.INFO: ==8722== Releasing lock...
[2025-04-12 15:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 15:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 15:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 12:31:05
[end_date_ymd] => 2025-04-12 15:31:05
[RateCDR] => 1
)
[2025-04-12 15:31:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 12:31:05' and `end` < '2025-04-12 15:31:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 15:31:10] Production.ERROR: CronJobId end10
[2025-04-12 15:31:10] Production.INFO: ==8720== Releasing lock...
[2025-04-12 15:31:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 15:31:10] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 15:31:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 15:31:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 15:31:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 15:31:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 15:31:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 15:31:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 15:31:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 15:31:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 15:31:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 15:31:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 15:31:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 15:31:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 15:31:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 15:31:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 15:31:14] Production.INFO: call_cost start
[2025-04-12 15:31:14] Production.INFO: call_cost end
[2025-04-12 15:31:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 15:31:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 15:31:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 15:31:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 15:31:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 15:31:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 15:31:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 15:31:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 15:31:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 15:31:15] Production.INFO: ==8716== Releasing lock...
[2025-04-12 15:31:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 15:31:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 15:31:18] Production.INFO: count ==1497
[2025-04-12 15:31:18] Production.ERROR: pbx CDR StartTime 2025-04-12 12:31:05 - End Time 2025-04-12 15:31:05
[2025-04-12 15:31:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 15:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892494', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892494', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892494', 'tblTempVendorCDR_20' ) start
[2025-04-12 15:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892494', 'tblTempVendorCDR_20' ) end
[2025-04-12 15:31:18] Production.INFO: ProcessCDR(1,14892494,1,1,2)
[2025-04-12 15:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892494,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:31:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892494,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:31:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892494,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:31:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892494,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:31:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892494', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:31:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892494', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:31:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 15:31:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 15:31:23] Production.INFO: ==8724== Releasing lock...
[2025-04-12 15:31:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 15:31:23] Production.INFO: 39.25 MB #Memory Used#
[2025-04-12 20:32:02] Production.INFO: ==8780== Lock acquired, processing the job...
[2025-04-12 20:32:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 20:32:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 20:32:02] Production.INFO: neon service started
[2025-04-12 20:32:02] Production.INFO: neon service started
[2025-04-12 20:32:02] Production.INFO: ==8780== Releasing lock...
[2025-04-12 20:32:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 20:32:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 15:32:02] Production.INFO: ==8782== Lock acquired, processing the job...
[2025-04-12 15:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 15:32:02] Production.INFO: ==8782== Releasing lock...
[2025-04-12 15:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 15:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 19:32:03] Production.INFO: ==8784== Lock acquired, processing the job...
[2025-04-12 19:32:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 19:32:03] Production.INFO: ==8784== Releasing lock...
[2025-04-12 19:32:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 19:32:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 15:32:03] Production.INFO: ==8792== Lock acquired, processing the job...
[2025-04-12 15:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 15:32:03] Production.INFO: ==8790== Lock acquired, processing the job...
[2025-04-12 15:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 15:32:03] Production.INFO: ==8786== Lock acquired, processing the job...
[2025-04-12 15:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 15:32:03] Production.INFO: ==8788== Lock acquired, processing the job...
[2025-04-12 15:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 15:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 15:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 15:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 15:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 15:32:03] Production.INFO: Account Balance Start.
[2025-04-12 15:32:03] Production.INFO: CreateAllLog Start
[2025-04-12 15:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 15:32:03] Production.INFO: 117
[2025-04-12 15:32:03] Production.INFO: Date 2025-04-08
[2025-04-12 15:32:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:32:03] Production.INFO: ==8794== Lock acquired, processing the job...
[2025-04-12 15:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 15:32:04] Production.INFO: Date 2025-04-09
[2025-04-12 15:32:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:32:04] Production.INFO: ==8796== Lock acquired, processing the job...
[2025-04-12 15:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 15:32:04] Production.INFO: Date 2025-04-10
[2025-04-12 15:32:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:32:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 15:32:04] Production.INFO: Date 2025-04-11
[2025-04-12 15:32:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:32:04] Production.INFO: Date 2025-04-12
[2025-04-12 15:32:04] Production.INFO: Reseller ==> 0
[2025-04-12 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-12 15:32:04] Production.INFO: Total Charge 0
[2025-04-12 15:32:04] Production.INFO: count ==12
[2025-04-12 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-12 15:32:04] Production.INFO: CreateAllLog End
[2025-04-12 15:32:04] Production.INFO: ==8788== Releasing lock...
[2025-04-12 15:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 15:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 15:32:04] Production.INFO: count ==23
[2025-04-12 15:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892498') start
[2025-04-12 15:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892498') end
[2025-04-12 15:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 15:32:04] Production.INFO: 1
[2025-04-12 15:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 15:32:04] Production.ERROR: done
[2025-04-12 15:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 15:32:04] Production.INFO: ==8796== Releasing lock...
[2025-04-12 15:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 15:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 15:32:04] Production.INFO: Account Balance End.
[2025-04-12 15:32:04] Production.ERROR: CronJobId end 12
[2025-04-12 15:32:04] Production.INFO: ==8792== Releasing lock...
[2025-04-12 15:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 15:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 15:32:04] Production.ERROR: done
[2025-04-12 15:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 12:32:05
[end_date_ymd] => 2025-04-12 15:32:05
[RateCDR] => 1
)
[2025-04-12 15:32:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 12:32:05' and `end` < '2025-04-12 15:32:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 15:32:12] Production.ERROR: CronJobId end10
[2025-04-12 15:32:12] Production.INFO: ==8790== Releasing lock...
[2025-04-12 15:32:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 15:32:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 15:32:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 15:32:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 15:32:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 15:32:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 15:32:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 15:32:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 15:32:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 15:32:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 15:32:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 15:32:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 15:32:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 15:32:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 15:32:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 15:32:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 15:32:14] Production.INFO: call_cost start
[2025-04-12 15:32:14] Production.INFO: call_cost end
[2025-04-12 15:32:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 15:32:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 15:32:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 15:32:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 15:32:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 15:32:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 15:32:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 15:32:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 15:32:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 15:32:15] Production.INFO: ==8786== Releasing lock...
[2025-04-12 15:32:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 15:32:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 15:32:18] Production.INFO: count ==1499
[2025-04-12 15:32:19] Production.ERROR: pbx CDR StartTime 2025-04-12 12:32:05 - End Time 2025-04-12 15:32:05
[2025-04-12 15:32:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 15:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892499', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892499', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892499', 'tblTempVendorCDR_20' ) start
[2025-04-12 15:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892499', 'tblTempVendorCDR_20' ) end
[2025-04-12 15:32:19] Production.INFO: ProcessCDR(1,14892499,1,1,2)
[2025-04-12 15:32:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892499,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:32:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892499,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:32:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892499,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:32:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892499,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:32:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892499', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:32:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892499', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:32:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 15:32:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 15:32:23] Production.INFO: ==8794== Releasing lock...
[2025-04-12 15:32:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 15:32:23] Production.INFO: 40 MB #Memory Used#
[2025-04-12 20:33:01] Production.INFO: ==8854== Lock acquired, processing the job...
[2025-04-12 20:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 20:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 20:33:01] Production.INFO: neon service started
[2025-04-12 20:33:01] Production.INFO: neon service started
[2025-04-12 20:33:01] Production.INFO: ==8854== Releasing lock...
[2025-04-12 20:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 20:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 19:33:01] Production.INFO: ==8858== Lock acquired, processing the job...
[2025-04-12 19:33:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 19:33:01] Production.INFO: ==8858== Releasing lock...
[2025-04-12 19:33:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 19:33:01] Production.INFO: 25 MB #Memory Used#
[2025-04-12 15:33:02] Production.INFO: ==8856== Lock acquired, processing the job...
[2025-04-12 15:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 15:33:02] Production.INFO: ==8856== Releasing lock...
[2025-04-12 15:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 15:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 15:33:03] Production.INFO: ==8869== Lock acquired, processing the job...
[2025-04-12 15:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 15:33:03] Production.INFO: ==8867== Lock acquired, processing the job...
[2025-04-12 15:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 15:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 15:33:03] Production.INFO: ==8863== Lock acquired, processing the job...
[2025-04-12 15:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 15:33:03] Production.INFO: ==8861== Lock acquired, processing the job...
[2025-04-12 15:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 15:33:03] Production.INFO: Account Balance Start.
[2025-04-12 15:33:03] Production.INFO: CreateAllLog Start
[2025-04-12 15:33:03] Production.INFO: 117
[2025-04-12 15:33:03] Production.INFO: ==8865== Lock acquired, processing the job...
[2025-04-12 15:33:03] Production.INFO: Date 2025-04-08
[2025-04-12 15:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 15:33:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:33:03] Production.INFO: Date 2025-04-09
[2025-04-12 15:33:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:33:03] Production.INFO: Date 2025-04-10
[2025-04-12 15:33:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:33:03] Production.INFO: ==8871== Lock acquired, processing the job...
[2025-04-12 15:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 15:33:03] Production.INFO: Date 2025-04-11
[2025-04-12 15:33:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 15:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 15:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 15:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 15:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 15:33:03] Production.INFO: Date 2025-04-12
[2025-04-12 15:33:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:33:03] Production.INFO: Total Charge 0
[2025-04-12 15:33:03] Production.INFO: CreateAllLog End
[2025-04-12 15:33:03] Production.ERROR: done
[2025-04-12 15:33:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 15:33:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 15:33:03] Production.INFO: count ==12
[2025-04-12 15:33:03] Production.INFO: ==8863== Releasing lock...
[2025-04-12 15:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 15:33:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 15:33:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 15:33:03] Production.INFO: count ==23
[2025-04-12 15:33:04] Production.ERROR: done
[2025-04-12 15:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892503') start
[2025-04-12 15:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892503') end
[2025-04-12 15:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 15:33:04] Production.INFO: 1
[2025-04-12 15:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 15:33:04] Production.INFO: Account Balance End.
[2025-04-12 15:33:04] Production.INFO: ==8871== Releasing lock...
[2025-04-12 15:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 15:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 15:33:04] Production.ERROR: CronJobId end 12
[2025-04-12 15:33:04] Production.INFO: ==8867== Releasing lock...
[2025-04-12 15:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 15:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 15:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 12:33:05
[end_date_ymd] => 2025-04-12 15:33:05
[RateCDR] => 1
)
[2025-04-12 15:33:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 12:33:05' and `end` < '2025-04-12 15:33:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 15:33:11] Production.ERROR: CronJobId end10
[2025-04-12 15:33:11] Production.INFO: ==8865== Releasing lock...
[2025-04-12 15:33:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 15:33:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 15:33:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 15:33:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 15:33:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 15:33:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 15:33:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 15:33:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 15:33:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 15:33:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 15:33:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 15:33:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 15:33:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 15:33:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 15:33:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 15:33:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 15:33:15] Production.INFO: call_cost start
[2025-04-12 15:33:15] Production.INFO: call_cost end
[2025-04-12 15:33:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 15:33:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 15:33:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 15:33:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 15:33:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 15:33:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 15:33:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 15:33:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 15:33:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 15:33:16] Production.INFO: ==8861== Releasing lock...
[2025-04-12 15:33:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 15:33:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 15:33:18] Production.INFO: count ==1499
[2025-04-12 15:33:18] Production.ERROR: pbx CDR StartTime 2025-04-12 12:33:05 - End Time 2025-04-12 15:33:05
[2025-04-12 15:33:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 15:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892504', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892504', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892504', 'tblTempVendorCDR_20' ) start
[2025-04-12 15:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892504', 'tblTempVendorCDR_20' ) end
[2025-04-12 15:33:18] Production.INFO: ProcessCDR(1,14892504,1,1,2)
[2025-04-12 15:33:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892504,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:33:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892504,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:33:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892504,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:33:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892504,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:33:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892504', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:33:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892504', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:33:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 15:33:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 15:33:23] Production.INFO: ==8869== Releasing lock...
[2025-04-12 15:33:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 15:33:23] Production.INFO: 39.75 MB #Memory Used#
[2025-04-12 20:34:02] Production.INFO: ==8932== Lock acquired, processing the job...
[2025-04-12 20:34:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 20:34:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 20:34:02] Production.INFO: neon service started
[2025-04-12 20:34:02] Production.INFO: neon service started
[2025-04-12 20:34:02] Production.INFO: ==8932== Releasing lock...
[2025-04-12 20:34:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 20:34:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 15:34:02] Production.INFO: ==8934== Lock acquired, processing the job...
[2025-04-12 15:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 15:34:02] Production.INFO: ==8934== Releasing lock...
[2025-04-12 15:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 15:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 19:34:02] Production.INFO: ==8936== Lock acquired, processing the job...
[2025-04-12 19:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 19:34:02] Production.INFO: ==8936== Releasing lock...
[2025-04-12 19:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 19:34:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 15:34:03] Production.INFO: ==8947== Lock acquired, processing the job...
[2025-04-12 15:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 15:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 15:34:03] Production.INFO: ==8949== Lock acquired, processing the job...
[2025-04-12 15:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 15:34:03] Production.INFO: ==8939== Lock acquired, processing the job...
[2025-04-12 15:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 15:34:03] Production.INFO: ==8941== Lock acquired, processing the job...
[2025-04-12 15:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 15:34:03] Production.INFO: ==8943== Lock acquired, processing the job...
[2025-04-12 15:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 15:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 15:34:03] Production.INFO: ==8945== Lock acquired, processing the job...
[2025-04-12 15:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 15:34:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 15:34:04] Production.INFO: count ==12
[2025-04-12 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-12 15:34:04] Production.INFO: count ==23
[2025-04-12 15:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892505') start
[2025-04-12 15:34:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 15:34:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 15:34:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 15:34:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 15:34:04] Production.ERROR: done
[2025-04-12 15:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 15:34:04] Production.INFO: Account Balance Start.
[2025-04-12 15:34:04] Production.INFO: CreateAllLog Start
[2025-04-12 15:34:04] Production.INFO: 117
[2025-04-12 15:34:04] Production.INFO: Date 2025-04-08
[2025-04-12 15:34:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:34:04] Production.INFO: Date 2025-04-09
[2025-04-12 15:34:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:34:04] Production.INFO: Date 2025-04-10
[2025-04-12 15:34:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:34:04] Production.INFO: Date 2025-04-11
[2025-04-12 15:34:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:34:04] Production.ERROR: done
[2025-04-12 15:34:04] Production.INFO: ==8941== Releasing lock...
[2025-04-12 15:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 15:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 15:34:04] Production.INFO: Date 2025-04-12
[2025-04-12 15:34:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892505') end
[2025-04-12 15:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 15:34:04] Production.INFO: 1
[2025-04-12 15:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 15:34:04] Production.INFO: Total Charge 0
[2025-04-12 15:34:04] Production.INFO: ==8949== Releasing lock...
[2025-04-12 15:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 15:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 15:34:04] Production.INFO: CreateAllLog End
[2025-04-12 15:34:04] Production.INFO: Account Balance End.
[2025-04-12 15:34:04] Production.ERROR: CronJobId end 12
[2025-04-12 15:34:04] Production.INFO: ==8945== Releasing lock...
[2025-04-12 15:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 15:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 15:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 12:34:05
[end_date_ymd] => 2025-04-12 15:34:05
[RateCDR] => 1
)
[2025-04-12 15: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-12 12:34:05' and `end` < '2025-04-12 15: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-12 15:34:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 15:34:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 15:34:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 15:34:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 15:34:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 15:34:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 15:34:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 15:34:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 15:34:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 15:34:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 15:34:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 15:34:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 15:34:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 15:34:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 15:34:14] Production.ERROR: CronJobId end10
[2025-04-12 15:34:14] Production.INFO: ==8943== Releasing lock...
[2025-04-12 15:34:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 15:34:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 15:34:14] Production.INFO: call_cost start
[2025-04-12 15:34:14] Production.INFO: call_cost end
[2025-04-12 15:34:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 15:34:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 15:34:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 15:34:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 15:34:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 15:34:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 15:34:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 15:34:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 15:34:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 15:34:15] Production.INFO: ==8939== Releasing lock...
[2025-04-12 15:34:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 15:34:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 15:34:18] Production.INFO: count ==1500
[2025-04-12 15:34:19] Production.ERROR: pbx CDR StartTime 2025-04-12 12:34:05 - End Time 2025-04-12 15:34:05
[2025-04-12 15:34:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 15:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892509', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892509', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892509', 'tblTempVendorCDR_20' ) start
[2025-04-12 15:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892509', 'tblTempVendorCDR_20' ) end
[2025-04-12 15:34:19] Production.INFO: ProcessCDR(1,14892509,1,1,2)
[2025-04-12 15:34:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892509,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:34:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892509,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:34:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892509,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:34:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892509,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:34:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892509', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:34:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892509', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:34:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 15:34:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 15:34:24] Production.INFO: ==8947== Releasing lock...
[2025-04-12 15:34:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 15:34:24] Production.INFO: 39.75 MB #Memory Used#
[2025-04-12 20:35:01] Production.INFO: ==9022== Lock acquired, processing the job...
[2025-04-12 20:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 20:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 20:35:01] Production.INFO: neon service started
[2025-04-12 20:35:01] Production.INFO: neon service started
[2025-04-12 20:35:01] Production.INFO: ==9022== Releasing lock...
[2025-04-12 20:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 20:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 15:35:02] Production.INFO: ==9025== Lock acquired, processing the job...
[2025-04-12 15:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 19:35:02] Production.INFO: ==9027== Lock acquired, processing the job...
[2025-04-12 19:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 19:35:02] Production.INFO: ==9027== Releasing lock...
[2025-04-12 19:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 19:35:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 15:35:02] Production.INFO: ==9025== Releasing lock...
[2025-04-12 15:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 15:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 15:35:03] Production.INFO: ==9035== Lock acquired, processing the job...
[2025-04-12 15:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 15:35:03] Production.INFO: Account Balance Start.
[2025-04-12 15:35:03] Production.INFO: CreateAllLog Start
[2025-04-12 15:35:03] Production.INFO: 117
[2025-04-12 15:35:03] Production.INFO: Date 2025-04-08
[2025-04-12 15:35:03] Production.INFO: ==9033== Lock acquired, processing the job...
[2025-04-12 15:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 15:35:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:35:03] Production.INFO: Date 2025-04-09
[2025-04-12 15:35:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 15:35:03] Production.INFO: Date 2025-04-10
[2025-04-12 15:35:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 15:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 15:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 15:35:03] Production.INFO: ==9037== Lock acquired, processing the job...
[2025-04-12 15:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 15:35:03] Production.INFO: Date 2025-04-11
[2025-04-12 15:35:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 15:35:03] Production.INFO: Date 2025-04-12
[2025-04-12 15:35:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:35:03] Production.INFO: ==9029== Lock acquired, processing the job...
[2025-04-12 15:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 15:35:03] Production.INFO: Total Charge 0
[2025-04-12 15:35:03] Production.INFO: CreateAllLog End
[2025-04-12 15:35:03] Production.INFO: ==9031== Lock acquired, processing the job...
[2025-04-12 15:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 15:35:03] Production.INFO: ==9039== Lock acquired, processing the job...
[2025-04-12 15:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 15:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 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-12 15:35:03] Production.INFO: count ==12
[2025-04-12 15:35:03] Production.ERROR: done
[2025-04-12 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-12 15:35:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 15:35:03] Production.INFO: count ==23
[2025-04-12 15:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14892513') start
[2025-04-12 15:35:04] Production.INFO: Account Balance End.
[2025-04-12 15:35:04] Production.ERROR: CronJobId end 12
[2025-04-12 15:35:04] Production.INFO: ==9035== Releasing lock...
[2025-04-12 15:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 15:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 15:35:04] Production.INFO: ==9031== Releasing lock...
[2025-04-12 15:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 15:35:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 15:35:04] Production.ERROR: done
[2025-04-12 15:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892513') end
[2025-04-12 15:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 15:35:04] Production.INFO: 1
[2025-04-12 15:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 15:35:04] Production.INFO: ==9039== Releasing lock...
[2025-04-12 15:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 15:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 15:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 12:35:05
[end_date_ymd] => 2025-04-12 15:35:05
[RateCDR] => 1
)
[2025-04-12 15:35:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 12:35:05' and `end` < '2025-04-12 15:35:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 15:35:11] Production.ERROR: CronJobId end10
[2025-04-12 15:35:11] Production.INFO: ==9033== Releasing lock...
[2025-04-12 15:35:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 15:35:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 15:35:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 15:35:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 15:35:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 15:35:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 15:35:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 15:35:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 15:35:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 15:35:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 15:35:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 15:35:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 15:35:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 15:35:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 15:35:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 15:35:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 15:35:15] Production.INFO: call_cost start
[2025-04-12 15:35:15] Production.INFO: call_cost end
[2025-04-12 15:35:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 15:35:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 15:35:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 15:35:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 15:35:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 15:35:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 15:35:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 15:35:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 15:35:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 15:35:16] Production.INFO: ==9029== Releasing lock...
[2025-04-12 15:35:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 15:35:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 15:35:18] Production.INFO: count ==1503
[2025-04-12 15:35:18] Production.ERROR: pbx CDR StartTime 2025-04-12 12:35:05 - End Time 2025-04-12 15:35:05
[2025-04-12 15:35:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 15:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892514', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892514', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892514', 'tblTempVendorCDR_20' ) start
[2025-04-12 15:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892514', 'tblTempVendorCDR_20' ) end
[2025-04-12 15:35:18] Production.INFO: ProcessCDR(1,14892514,1,1,2)
[2025-04-12 15:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892514,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:35:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892514,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:35:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892514,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:35:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892514,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:35:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892514', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:35:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892514', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:35:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 15:35:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 15:35:23] Production.INFO: ==9037== Releasing lock...
[2025-04-12 15:35:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 15:35:23] Production.INFO: 39.75 MB #Memory Used#
[2025-04-12 20:36:01] Production.INFO: ==9134== Lock acquired, processing the job...
[2025-04-12 20:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 20:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 20:36:02] Production.INFO: neon service started
[2025-04-12 20:36:02] Production.INFO: neon service started
[2025-04-12 20:36:02] Production.INFO: ==9134== Releasing lock...
[2025-04-12 20:36:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 20:36:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 15:36:02] Production.INFO: ==9136== Lock acquired, processing the job...
[2025-04-12 15:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 15:36:02] Production.INFO: ==9136== Releasing lock...
[2025-04-12 15:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 15:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 19:36:02] Production.INFO: ==9138== Lock acquired, processing the job...
[2025-04-12 19:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 19:36:03] Production.INFO: ==9138== Releasing lock...
[2025-04-12 19:36:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 19:36:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 15:36:03] Production.INFO: ==9141== Lock acquired, processing the job...
[2025-04-12 15:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 15:36:03] Production.INFO: ==9145== Lock acquired, processing the job...
[2025-04-12 15:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 15:36:03] Production.INFO: ==9151== Lock acquired, processing the job...
[2025-04-12 15:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 15:36:03] Production.INFO: ==9143== Lock acquired, processing the job...
[2025-04-12 15:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 15:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 15:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 15:36:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 15:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 15:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 15:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 15:36:03] Production.INFO: ==9147== Lock acquired, processing the job...
[2025-04-12 15:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 15:36:04] Production.INFO: count ==12
[2025-04-12 15:36:04] Production.INFO: ==9149== Lock acquired, processing the job...
[2025-04-12 15:36:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 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-12 15:36:04] Production.INFO: count ==23
[2025-04-12 15:36:04] Production.INFO: Account Balance Start.
[2025-04-12 15:36:04] Production.INFO: CreateAllLog Start
[2025-04-12 15:36:04] Production.INFO: 117
[2025-04-12 15:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892516') start
[2025-04-12 15:36:04] Production.INFO: Date 2025-04-08
[2025-04-12 15:36:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 15:36:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:36:04] Production.INFO: Date 2025-04-09
[2025-04-12 15:36:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:36:04] Production.INFO: Date 2025-04-10
[2025-04-12 15:36:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892516') end
[2025-04-12 15:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 15:36:04] Production.INFO: 1
[2025-04-12 15:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 15:36:04] Production.INFO: Date 2025-04-11
[2025-04-12 15:36:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:36:04] Production.INFO: ==9143== Releasing lock...
[2025-04-12 15:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 15:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 15:36:04] Production.INFO: Date 2025-04-12
[2025-04-12 15:36:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:36:04] Production.INFO: ==9151== Releasing lock...
[2025-04-12 15:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 15:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 15:36:04] Production.INFO: Total Charge 0
[2025-04-12 15:36:04] Production.ERROR: done
[2025-04-12 15:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 15:36:04] Production.INFO: CreateAllLog End
[2025-04-12 15:36:04] Production.ERROR: done
[2025-04-12 15:36:04] Production.INFO: Account Balance End.
[2025-04-12 15:36:05] Production.ERROR: CronJobId end 12
[2025-04-12 15:36:05] Production.INFO: ==9147== Releasing lock...
[2025-04-12 15:36:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 15:36:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 15:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 12:36:05
[end_date_ymd] => 2025-04-12 15:36:05
[RateCDR] => 1
)
[2025-04-12 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-12 12:36:05' and `end` < '2025-04-12 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-12 15:36:13] Production.ERROR: CronJobId end10
[2025-04-12 15:36:13] Production.INFO: ==9145== Releasing lock...
[2025-04-12 15:36:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 15:36:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 15:36:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 15:36:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 15:36:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 15:36:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 15:36:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 15:36:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 15:36:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 15:36:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 15:36:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 15:36:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 15:36:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 15:36:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 15:36:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 15:36:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 15:36:15] Production.INFO: call_cost start
[2025-04-12 15:36:15] Production.INFO: call_cost end
[2025-04-12 15:36:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 15:36:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 15:36:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 15:36:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 15:36:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 15:36:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 15:36:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 15:36:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 15:36:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 15:36:16] Production.INFO: ==9141== Releasing lock...
[2025-04-12 15:36:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 15:36:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 15:36:18] Production.INFO: count ==1501
[2025-04-12 15:36:19] Production.ERROR: pbx CDR StartTime 2025-04-12 12:36:05 - End Time 2025-04-12 15:36:05
[2025-04-12 15:36:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 15:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892519', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892519', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892519', 'tblTempVendorCDR_20' ) start
[2025-04-12 15:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892519', 'tblTempVendorCDR_20' ) end
[2025-04-12 15:36:19] Production.INFO: ProcessCDR(1,14892519,1,1,2)
[2025-04-12 15:36:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892519,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:36:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892519,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:36:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892519,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:36:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892519,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892519', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892519', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:36:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 15:36:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 15:36:22] Production.INFO: ==9149== Releasing lock...
[2025-04-12 15:36:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 15:36:22] Production.INFO: 39.5 MB #Memory Used#
[2025-04-12 20:37:01] Production.INFO: ==9205== Lock acquired, processing the job...
[2025-04-12 20:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 20:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 20:37:01] Production.INFO: neon service started
[2025-04-12 20:37:01] Production.INFO: neon service started
[2025-04-12 20:37:01] Production.INFO: ==9205== Releasing lock...
[2025-04-12 20:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 20:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 19:37:01] Production.INFO: ==9209== Lock acquired, processing the job...
[2025-04-12 19:37:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 19:37:01] Production.INFO: ==9209== Releasing lock...
[2025-04-12 19:37:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 19:37:01] Production.INFO: 25 MB #Memory Used#
[2025-04-12 15:37:01] Production.INFO: ==9207== Lock acquired, processing the job...
[2025-04-12 15:37:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 15:37:02] Production.INFO: ==9207== Releasing lock...
[2025-04-12 15:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 15:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 15:37:03] Production.INFO: ==9213== Lock acquired, processing the job...
[2025-04-12 15:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 15:37:03] Production.INFO: ==9215== Lock acquired, processing the job...
[2025-04-12 15:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 15:37:03] Production.INFO: ==9217== Lock acquired, processing the job...
[2025-04-12 15:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 15:37:03] Production.INFO: ==9211== Lock acquired, processing the job...
[2025-04-12 15:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 15:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 15:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 15:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 15:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 15:37:03] Production.INFO: ==9219== Lock acquired, processing the job...
[2025-04-12 15:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 15:37:03] Production.INFO: Account Balance Start.
[2025-04-12 15:37:03] Production.INFO: CreateAllLog Start
[2025-04-12 15:37:03] Production.INFO: 117
[2025-04-12 15:37:03] Production.INFO: Date 2025-04-08
[2025-04-12 15:37:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 15:37:03] Production.INFO: Date 2025-04-09
[2025-04-12 15:37:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 15:37:03] Production.INFO: Date 2025-04-10
[2025-04-12 15:37:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:37:03] Production.INFO: ==9213== Releasing lock...
[2025-04-12 15:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 15:37:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 15:37:03] Production.INFO: ==9221== Lock acquired, processing the job...
[2025-04-12 15:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 15:37:03] Production.INFO: Date 2025-04-11
[2025-04-12 15:37:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:37:03] Production.INFO: Date 2025-04-12
[2025-04-12 15:37:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:37:03] Production.INFO: Total Charge 0
[2025-04-12 15:37:03] Production.INFO: CreateAllLog End
[2025-04-12 15:37:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 15:37:03] Production.INFO: count ==12
[2025-04-12 15:37:03] Production.ERROR: done
[2025-04-12 15:37:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 15:37:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 15:37:03] Production.INFO: count ==23
[2025-04-12 15:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14892523') start
[2025-04-12 15:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892523') end
[2025-04-12 15:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 15:37:04] Production.INFO: 1
[2025-04-12 15:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 15:37:04] Production.ERROR: done
[2025-04-12 15:37:04] Production.INFO: Account Balance End.
[2025-04-12 15:37:04] Production.INFO: ==9221== Releasing lock...
[2025-04-12 15:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 15:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 15:37:04] Production.ERROR: CronJobId end 12
[2025-04-12 15:37:04] Production.INFO: ==9217== Releasing lock...
[2025-04-12 15:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 15:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 15:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 12:37:05
[end_date_ymd] => 2025-04-12 15:37:05
[RateCDR] => 1
)
[2025-04-12 15:37:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 12:37:05' and `end` < '2025-04-12 15:37:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 15:37:13] Production.ERROR: CronJobId end10
[2025-04-12 15:37:13] Production.INFO: ==9215== Releasing lock...
[2025-04-12 15:37:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 15:37:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 15:37:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 15:37:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 15:37:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 15:37:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 15:37:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 15:37:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 15:37:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 15:37:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 15:37:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 15:37:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 15:37:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 15:37:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 15:37:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 15:37:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 15:37:15] Production.INFO: call_cost start
[2025-04-12 15:37:15] Production.INFO: call_cost end
[2025-04-12 15:37:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 15:37:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 15:37:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 15:37:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 15:37:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 15:37:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 15:37:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 15:37:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 15:37:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 15:37:16] Production.INFO: ==9211== Releasing lock...
[2025-04-12 15:37:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 15:37:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 15:37:18] Production.INFO: count ==1496
[2025-04-12 15:37:18] Production.ERROR: pbx CDR StartTime 2025-04-12 12:37:05 - End Time 2025-04-12 15:37:05
[2025-04-12 15:37:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 15:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892524', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892524', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892524', 'tblTempVendorCDR_20' ) start
[2025-04-12 15:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892524', 'tblTempVendorCDR_20' ) end
[2025-04-12 15:37:18] Production.INFO: ProcessCDR(1,14892524,1,1,2)
[2025-04-12 15:37:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892524,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:37:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892524,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:37:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892524,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:37:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892524,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:37:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892524', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:37:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892524', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:37:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 15:37:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 15:37:23] Production.INFO: ==9219== Releasing lock...
[2025-04-12 15:37:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 15:37:23] Production.INFO: 39.25 MB #Memory Used#
[2025-04-12 20:38:01] Production.INFO: ==9278== Lock acquired, processing the job...
[2025-04-12 20:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 20:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 20:38:01] Production.INFO: neon service started
[2025-04-12 20:38:01] Production.INFO: neon service started
[2025-04-12 20:38:01] Production.INFO: ==9278== Releasing lock...
[2025-04-12 20:38:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 20:38:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 15:38:02] Production.INFO: ==9280== Lock acquired, processing the job...
[2025-04-12 15:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 15:38:02] Production.INFO: ==9280== Releasing lock...
[2025-04-12 15:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 15:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 19:38:02] Production.INFO: ==9282== Lock acquired, processing the job...
[2025-04-12 19:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 19:38:02] Production.INFO: ==9282== Releasing lock...
[2025-04-12 19:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 19:38:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 15:38:03] Production.INFO: ==9284== Lock acquired, processing the job...
[2025-04-12 15:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 15:38:03] Production.INFO: ==9286== Lock acquired, processing the job...
[2025-04-12 15:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 15:38:03] Production.INFO: ==9288== Lock acquired, processing the job...
[2025-04-12 15:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 15:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 15:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 15:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 15:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 15:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 15:38:03] Production.INFO: ==9290== Lock acquired, processing the job...
[2025-04-12 15:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 15:38:03] Production.INFO: ==9294== Lock acquired, processing the job...
[2025-04-12 15:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 15:38:03] Production.INFO: ==9286== Releasing lock...
[2025-04-12 15:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 15:38:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 15:38:03] Production.INFO: Account Balance Start.
[2025-04-12 15:38:03] Production.INFO: CreateAllLog Start
[2025-04-12 15:38:03] Production.INFO: 117
[2025-04-12 15:38:03] Production.INFO: ==9292== Lock acquired, processing the job...
[2025-04-12 15:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 15:38:03] Production.INFO: Date 2025-04-08
[2025-04-12 15:38:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:38:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 15:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 15:38:03] Production.INFO: count ==12
[2025-04-12 15:38:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 15:38:03] Production.INFO: count ==23
[2025-04-12 15:38:04] Production.INFO: Date 2025-04-09
[2025-04-12 15:38:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892528') start
[2025-04-12 15:38:04] Production.INFO: Date 2025-04-10
[2025-04-12 15:38:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892528') end
[2025-04-12 15:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 15:38:04] Production.INFO: 1
[2025-04-12 15:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 15:38:04] Production.INFO: Date 2025-04-11
[2025-04-12 15:38:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:38:04] Production.INFO: ==9294== Releasing lock...
[2025-04-12 15:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 15:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 15:38:04] Production.INFO: Date 2025-04-12
[2025-04-12 15:38:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:38:04] Production.ERROR: done
[2025-04-12 15:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 15:38:04] Production.INFO: Total Charge 0
[2025-04-12 15:38:04] Production.INFO: CreateAllLog End
[2025-04-12 15:38:04] Production.ERROR: done
[2025-04-12 15:38:04] Production.INFO: Account Balance End.
[2025-04-12 15:38:04] Production.ERROR: CronJobId end 12
[2025-04-12 15:38:04] Production.INFO: ==9290== Releasing lock...
[2025-04-12 15:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 15:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 15:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 12:38:05
[end_date_ymd] => 2025-04-12 15:38:05
[RateCDR] => 1
)
[2025-04-12 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-12 12:38:05' and `end` < '2025-04-12 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-12 15:38:12] Production.ERROR: CronJobId end10
[2025-04-12 15:38:12] Production.INFO: ==9288== Releasing lock...
[2025-04-12 15:38:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 15:38:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 15:38:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 15:38:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 15:38:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 15:38:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 15:38:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 15:38:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 15:38:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 15:38:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 15:38:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 15:38:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 15:38:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 15:38:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 15:38:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 15:38:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 15:38:14] Production.INFO: call_cost start
[2025-04-12 15:38:14] Production.INFO: call_cost end
[2025-04-12 15:38:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 15:38:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 15:38:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 15:38:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 15:38:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 15:38:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 15:38:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 15:38:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 15:38:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 15:38:15] Production.INFO: ==9284== Releasing lock...
[2025-04-12 15:38:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 15:38:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 15:38:18] Production.INFO: count ==1497
[2025-04-12 15:38:18] Production.ERROR: pbx CDR StartTime 2025-04-12 12:38:05 - End Time 2025-04-12 15:38:05
[2025-04-12 15:38:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 15:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892529', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892529', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892529', 'tblTempVendorCDR_20' ) start
[2025-04-12 15:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892529', 'tblTempVendorCDR_20' ) end
[2025-04-12 15:38:18] Production.INFO: ProcessCDR(1,14892529,1,1,2)
[2025-04-12 15:38:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892529,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:38:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892529,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:38:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892529,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:38:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892529,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892529', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892529', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:38:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 15:38:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 15:38:22] Production.INFO: ==9292== Releasing lock...
[2025-04-12 15:38:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 15:38:22] Production.INFO: 39.5 MB #Memory Used#
[2025-04-12 20:39:02] Production.INFO: ==9356== Lock acquired, processing the job...
[2025-04-12 20:39:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 20:39:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 20:39:02] Production.INFO: neon service started
[2025-04-12 20:39:02] Production.INFO: neon service started
[2025-04-12 20:39:02] Production.INFO: ==9356== Releasing lock...
[2025-04-12 20:39:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 20:39:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 15:39:03] Production.INFO: ==9359== Lock acquired, processing the job...
[2025-04-12 15:39:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 19:39:03] Production.INFO: ==9361== Lock acquired, processing the job...
[2025-04-12 19:39:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 19:39:03] Production.INFO: ==9361== Releasing lock...
[2025-04-12 19:39:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 19:39:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 15:39:03] Production.INFO: ==9359== Releasing lock...
[2025-04-12 15:39:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 15:39:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 15:39:04] Production.INFO: ==9370== Lock acquired, processing the job...
[2025-04-12 15:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 15:39:04] Production.INFO: ==9372== Lock acquired, processing the job...
[2025-04-12 15:39:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 15:39:04] Production.INFO: Account Balance Start.
[2025-04-12 15:39:04] Production.INFO: CreateAllLog Start
[2025-04-12 15:39:04] Production.INFO: 117
[2025-04-12 15:39:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 15:39:04] Production.INFO: Date 2025-04-08
[2025-04-12 15:39:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:39:04] Production.INFO: Date 2025-04-09
[2025-04-12 15:39:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:39:04] Production.INFO: Date 2025-04-10
[2025-04-12 15:39:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:39:04] Production.INFO: Date 2025-04-11
[2025-04-12 15:39:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:39:04] Production.INFO: Date 2025-04-12
[2025-04-12 15:39:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:39:04] Production.INFO: Total Charge 0
[2025-04-12 15:39:04] Production.INFO: ==9366== Lock acquired, processing the job...
[2025-04-12 15:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 15:39:04] Production.INFO: CreateAllLog End
[2025-04-12 15:39:04] Production.INFO: ==9368== Lock acquired, processing the job...
[2025-04-12 15:39:04] Production.INFO: ==9364== Lock acquired, processing the job...
[2025-04-12 15:39:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 15:39:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 15:39:04] Production.INFO: ==9374== Lock acquired, processing the job...
[2025-04-12 15:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 15:39:04] Production.ERROR: done
[2025-04-12 15:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 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-12 15:39:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 15:39:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 15:39:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 15:39:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 15:39:04] Production.INFO: count ==12
[2025-04-12 15:39:04] Production.INFO: Account Balance End.
[2025-04-12 15:39:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 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-12 15:39:04] Production.INFO: count ==23
[2025-04-12 15:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892531') start
[2025-04-12 15:39:04] Production.ERROR: CronJobId end 12
[2025-04-12 15:39:04] Production.INFO: ==9370== Releasing lock...
[2025-04-12 15:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 15:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 15:39:04] Production.ERROR: done
[2025-04-12 15:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892531') end
[2025-04-12 15:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 15:39:04] Production.INFO: 1
[2025-04-12 15:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 15:39:04] Production.INFO: ==9374== Releasing lock...
[2025-04-12 15:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 15:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 15:39:05] Production.INFO: ==9366== Releasing lock...
[2025-04-12 15:39:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 15:39:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 15:39:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 12:39:06
[end_date_ymd] => 2025-04-12 15:39:06
[RateCDR] => 1
)
[2025-04-12 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-12 12:39:06' and `end` < '2025-04-12 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-12 15:39:13] Production.ERROR: CronJobId end10
[2025-04-12 15:39:13] Production.INFO: ==9368== Releasing lock...
[2025-04-12 15:39:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 15:39:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 15:39:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 15:39:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 15:39:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 15:39:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 15:39:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 15:39:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 15:39:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 15:39:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 15:39:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 15:39:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 15:39:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 15:39:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 15:39:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 15:39:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 15:39:15] Production.INFO: call_cost start
[2025-04-12 15:39:15] Production.INFO: call_cost end
[2025-04-12 15:39:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 15:39:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 15:39:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 15:39:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 15:39:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 15:39:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 15:39:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 15:39:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 15:39:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 15:39:16] Production.INFO: ==9364== Releasing lock...
[2025-04-12 15:39:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 15:39:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 15:39:19] Production.INFO: count ==1498
[2025-04-12 15:39:19] Production.ERROR: pbx CDR StartTime 2025-04-12 12:39:06 - End Time 2025-04-12 15:39:06
[2025-04-12 15:39:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 15:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892534', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892534', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892534', 'tblTempVendorCDR_20' ) start
[2025-04-12 15:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892534', 'tblTempVendorCDR_20' ) end
[2025-04-12 15:39:19] Production.INFO: ProcessCDR(1,14892534,1,1,2)
[2025-04-12 15:39:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892534,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:39:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892534,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:39:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892534,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:39:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892534,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:39:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892534', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:39:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892534', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:39:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 15:39:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 15:39:24] Production.INFO: ==9372== Releasing lock...
[2025-04-12 15:39:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 15:39:24] Production.INFO: 40 MB #Memory Used#
[2025-04-12 20:40:01] Production.INFO: ==9427== Lock acquired, processing the job...
[2025-04-12 20:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 20:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 20:40:01] Production.INFO: neon service started
[2025-04-12 20:40:01] Production.INFO: neon service started
[2025-04-12 20:40:01] Production.INFO: ==9427== Releasing lock...
[2025-04-12 20:40:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 20:40:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 15:40:02] Production.INFO: ==9429== Lock acquired, processing the job...
[2025-04-12 15:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 15:40:02] Production.INFO: ==9429== Releasing lock...
[2025-04-12 15:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 15:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 19:40:02] Production.INFO: ==9431== Lock acquired, processing the job...
[2025-04-12 19:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 19:40:03] Production.INFO: ==9431== Releasing lock...
[2025-04-12 19:40:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 19:40:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 15:40:03] Production.INFO: ==9433== Lock acquired, processing the job...
[2025-04-12 15:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 15:40:03] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 15:40:03] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 15:40:03] Production.INFO: ==9433== Releasing lock...
[2025-04-12 15:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 15:40:03] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 15:40:03] Production.INFO: ==9435== Lock acquired, processing the job...
[2025-04-12 15:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 15:40:03] Production.INFO: ==9437== Lock acquired, processing the job...
[2025-04-12 15:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 15:40:04] Production.INFO: ==9439== Lock acquired, processing the job...
[2025-04-12 15:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 15:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 15:40:04] Production.INFO: ==9441== Lock acquired, processing the job...
[2025-04-12 15:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 15:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 15:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 15:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 15:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 15:40:04] Production.INFO: ==9447== Lock acquired, processing the job...
[2025-04-12 15:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 15:40:04] Production.INFO: ==9443== Lock acquired, processing the job...
[2025-04-12 15:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 15:40:04] Production.INFO: ==9445== Lock acquired, processing the job...
[2025-04-12 15:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 15:40:04] Production.INFO: Account Balance Start.
[2025-04-12 15:40:04] Production.INFO: CreateAllLog Start
[2025-04-12 15:40:04] Production.INFO: 117
[2025-04-12 15:40:04] Production.INFO: Date 2025-04-08
[2025-04-12 15:40:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 15:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 15:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 15:40:04] Production.INFO: Date 2025-04-09
[2025-04-12 15:40:04] Production.INFO: count ==12
[2025-04-12 15:40:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 15:40:04] Production.INFO: count ==23
[2025-04-12 15:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892538') start
[2025-04-12 15:40:04] Production.INFO: Date 2025-04-10
[2025-04-12 15:40:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892538') end
[2025-04-12 15:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 15:40:04] Production.INFO: 1
[2025-04-12 15:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 15:40:04] Production.INFO: ==9437== Releasing lock...
[2025-04-12 15:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 15:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 15:40:04] Production.INFO: ==9447== Releasing lock...
[2025-04-12 15:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 15:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 15:40:04] Production.INFO: Date 2025-04-11
[2025-04-12 15:40:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:40:04] Production.INFO: Date 2025-04-12
[2025-04-12 15:40:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:40:04] Production.INFO: Total Charge 0
[2025-04-12 15:40:04] Production.ERROR: done
[2025-04-12 15:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 15:40:04] Production.ERROR: done
[2025-04-12 15:40:04] Production.INFO: CreateAllLog End
[2025-04-12 15:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 15:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14892539', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 15:40:05] Production.ERROR: done
[2025-04-12 15:40:05] Production.INFO: Account Balance End.
[2025-04-12 15:40:05] Production.ERROR: CronJobId end 12
[2025-04-12 15:40:05] Production.INFO: ==9441== Releasing lock...
[2025-04-12 15:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 15:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 15:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 12:40:06
[end_date_ymd] => 2025-04-12 15:40:06
[RateCDR] => 1
)
[2025-04-12 15:40:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 12:40:06' and `end` < '2025-04-12 15:40:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 15:40:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14892539', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 15:40:10] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 15:40:10] Production.INFO: ProcessCDR(1,14892539,1,1,2)
[2025-04-12 15:40:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14892539,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:40:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14892539,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:40:10] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 15:40:10] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 15:40:10] Production.INFO: ==9445== Releasing lock...
[2025-04-12 15:40:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 15:40:10] Production.INFO: 26 MB #Memory Used#
[2025-04-12 15:40:14] Production.ERROR: CronJobId end10
[2025-04-12 15:40:14] Production.INFO: ==9439== Releasing lock...
[2025-04-12 15:40:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 15:40:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 15:40:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 15:40:16] Production.INFO: ============== Balance Warning START===========
[2025-04-12 15:40:16] Production.INFO: ============== Balance Warning END===========
[2025-04-12 15:40:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 15:40:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 15:40:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 15:40:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 15:40:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 15:40:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 15:40:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 15:40:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 15:40:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 15:40:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 15:40:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 15:40:17] Production.INFO: call_cost start
[2025-04-12 15:40:17] Production.INFO: call_cost end
[2025-04-12 15:40:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 15:40:18] Production.INFO: ============== Report Schedule START===========
[2025-04-12 15:40:18] Production.INFO: ============== Report Schedule END===========
[2025-04-12 15:40:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 15:40:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 15:40:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 15:40:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 15:40:18] Production.INFO: ============== Deal alert START===========
[2025-04-12 15:40:18] Production.INFO: ============== Deal alert END===========
[2025-04-12 15:40:18] Production.INFO: ==9435== Releasing lock...
[2025-04-12 15:40:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 15:40:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 15:40:19] Production.INFO: count ==1482
[2025-04-12 15:40:19] Production.ERROR: pbx CDR StartTime 2025-04-12 12:40:06 - End Time 2025-04-12 15:40:06
[2025-04-12 15:40:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 15:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892540', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892540', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892540', 'tblTempVendorCDR_20' ) start
[2025-04-12 15:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892540', 'tblTempVendorCDR_20' ) end
[2025-04-12 15:40:19] Production.INFO: ProcessCDR(1,14892540,1,1,2)
[2025-04-12 15:40:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892540,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:40:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892540,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:40:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892540,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:40:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892540,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892540', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892540', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:40:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 15:40:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 15:40:23] Production.INFO: ==9443== Releasing lock...
[2025-04-12 15:40:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 15:40:23] Production.INFO: 39.75 MB #Memory Used#
[2025-04-12 20:41:02] Production.INFO: ==9506== Lock acquired, processing the job...
[2025-04-12 20:41:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 20:41:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 20:41:02] Production.INFO: neon service started
[2025-04-12 20:41:02] Production.INFO: neon service started
[2025-04-12 20:41:02] Production.INFO: ==9506== Releasing lock...
[2025-04-12 20:41:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 20:41:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 15:41:02] Production.INFO: ==9508== Lock acquired, processing the job...
[2025-04-12 15:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 19:41:03] Production.INFO: ==9510== Lock acquired, processing the job...
[2025-04-12 19:41:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 19:41:03] Production.INFO: ==9510== Releasing lock...
[2025-04-12 19:41:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 19:41:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 15:41:03] Production.INFO: ==9508== Releasing lock...
[2025-04-12 15:41:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 15:41:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 15:41:04] Production.INFO: ==9521== Lock acquired, processing the job...
[2025-04-12 15:41:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 15:41:04] Production.INFO: ==9523== Lock acquired, processing the job...
[2025-04-12 15:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 15:41:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 15:41:04] Production.INFO: ==9513== Lock acquired, processing the job...
[2025-04-12 15:41:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 15:41:04] Production.INFO: ==9515== Lock acquired, processing the job...
[2025-04-12 15:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 15:41:04] Production.INFO: ==9517== Lock acquired, processing the job...
[2025-04-12 15:41:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 15:41:04] Production.INFO: ==9519== Lock acquired, processing the job...
[2025-04-12 15:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 15:41:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 15:41:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 15:41:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 15:41:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 15:41:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 15:41:04] Production.INFO: Account Balance Start.
[2025-04-12 15:41:04] Production.INFO: CreateAllLog Start
[2025-04-12 15:41:04] Production.INFO: 117
[2025-04-12 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-12 15:41:04] Production.INFO: Date 2025-04-08
[2025-04-12 15:41:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:41:04] Production.INFO: count ==12
[2025-04-12 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-12 15:41:04] Production.INFO: count ==23
[2025-04-12 15:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892541') start
[2025-04-12 15:41:04] Production.INFO: Date 2025-04-09
[2025-04-12 15:41:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:41:04] Production.INFO: Date 2025-04-10
[2025-04-12 15:41:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:41:04] Production.ERROR: done
[2025-04-12 15:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 15:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892541') end
[2025-04-12 15:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 15:41:04] Production.INFO: 1
[2025-04-12 15:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 15:41:04] Production.INFO: Date 2025-04-11
[2025-04-12 15:41:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:41:04] Production.INFO: ==9515== Releasing lock...
[2025-04-12 15:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 15:41:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 15:41:04] Production.INFO: ==9523== Releasing lock...
[2025-04-12 15:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 15:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 15:41:04] Production.ERROR: done
[2025-04-12 15:41:04] Production.INFO: Date 2025-04-12
[2025-04-12 15:41:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:41:04] Production.INFO: Total Charge 0
[2025-04-12 15:41:04] Production.INFO: CreateAllLog End
[2025-04-12 15:41:05] Production.INFO: Account Balance End.
[2025-04-12 15:41:05] Production.ERROR: CronJobId end 12
[2025-04-12 15:41:05] Production.INFO: ==9519== Releasing lock...
[2025-04-12 15:41:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 15:41:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 15:41:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 12:41:06
[end_date_ymd] => 2025-04-12 15:41:06
[RateCDR] => 1
)
[2025-04-12 15: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-12 12:41:06' and `end` < '2025-04-12 15: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-12 15:41:12] Production.ERROR: CronJobId end10
[2025-04-12 15:41:12] Production.INFO: ==9517== Releasing lock...
[2025-04-12 15:41:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 15:41:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 15:41:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 15:41:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 15:41:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 15:41:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 15:41:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 15:41:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 15:41:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 15:41:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 15:41:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 15:41:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 15:41:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 15:41:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 15:41:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 15:41:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 15:41:14] Production.INFO: call_cost start
[2025-04-12 15:41:14] Production.INFO: call_cost end
[2025-04-12 15:41:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 15:41:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 15:41:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 15:41:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 15:41:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 15:41:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 15:41:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 15:41:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 15:41:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 15:41:15] Production.INFO: ==9513== Releasing lock...
[2025-04-12 15:41:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 15:41:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 15:41:18] Production.INFO: count ==1456
[2025-04-12 15:41:19] Production.ERROR: pbx CDR StartTime 2025-04-12 12:41:06 - End Time 2025-04-12 15:41:06
[2025-04-12 15:41:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 15:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892545', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892545', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892545', 'tblTempVendorCDR_20' ) start
[2025-04-12 15:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892545', 'tblTempVendorCDR_20' ) end
[2025-04-12 15:41:19] Production.INFO: ProcessCDR(1,14892545,1,1,2)
[2025-04-12 15:41:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892545,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:41:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892545,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:41:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892545,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:41:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892545,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892545', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892545', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:41:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 15:41:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 15:41:22] Production.INFO: ==9521== Releasing lock...
[2025-04-12 15:41:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 15:41:22] Production.INFO: 39.75 MB #Memory Used#
[2025-04-12 20:42:01] Production.INFO: ==9579== Lock acquired, processing the job...
[2025-04-12 20:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 20:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 20:42:01] Production.INFO: neon service started
[2025-04-12 20:42:01] Production.INFO: neon service started
[2025-04-12 20:42:01] Production.INFO: ==9579== Releasing lock...
[2025-04-12 20:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 20:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 15:42:02] Production.INFO: ==9581== Lock acquired, processing the job...
[2025-04-12 15:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 19:42:02] Production.INFO: ==9583== Lock acquired, processing the job...
[2025-04-12 19:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 19:42:02] Production.INFO: ==9583== Releasing lock...
[2025-04-12 19:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 19:42:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 15:42:02] Production.INFO: ==9581== Releasing lock...
[2025-04-12 15:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 15:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 15:42:03] Production.INFO: ==9586== Lock acquired, processing the job...
[2025-04-12 15:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 15:42:03] Production.INFO: ==9592== Lock acquired, processing the job...
[2025-04-12 15:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 15:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 15:42:03] Production.INFO: Account Balance Start.
[2025-04-12 15:42:03] Production.INFO: CreateAllLog Start
[2025-04-12 15:42:03] Production.INFO: 117
[2025-04-12 15:42:03] Production.INFO: Date 2025-04-08
[2025-04-12 15:42:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:42:03] Production.INFO: ==9588== Lock acquired, processing the job...
[2025-04-12 15:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 15:42:03] Production.INFO: Date 2025-04-09
[2025-04-12 15:42:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:42:03] Production.INFO: Date 2025-04-10
[2025-04-12 15:42:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:42:03] Production.INFO: ==9590== Lock acquired, processing the job...
[2025-04-12 15:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 15:42:03] Production.INFO: Date 2025-04-11
[2025-04-12 15:42:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:42:03] Production.INFO: ==9594== Lock acquired, processing the job...
[2025-04-12 15:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 15:42:03] Production.INFO: Date 2025-04-12
[2025-04-12 15:42:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:42:03] Production.INFO: Total Charge 0
[2025-04-12 15:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 15:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 15:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 15:42:03] Production.INFO: CreateAllLog End
[2025-04-12 15:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 15:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 15:42:03] Production.INFO: ==9596== Lock acquired, processing the job...
[2025-04-12 15:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 15:42:04] Production.INFO: ==9588== Releasing lock...
[2025-04-12 15:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 15:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 15:42:04] Production.INFO: Account Balance End.
[2025-04-12 15:42:04] Production.ERROR: CronJobId end 12
[2025-04-12 15:42:04] Production.INFO: ==9592== Releasing lock...
[2025-04-12 15:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 15:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 15:42:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 15:42:04] Production.INFO: count ==12
[2025-04-12 15:42:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 15:42:04] Production.INFO: count ==23
[2025-04-12 15:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892549') start
[2025-04-12 15:42:04] Production.ERROR: done
[2025-04-12 15:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 15:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892549') end
[2025-04-12 15:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 15:42:04] Production.INFO: 1
[2025-04-12 15:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 15:42:04] Production.INFO: ==9596== Releasing lock...
[2025-04-12 15:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 15:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 15:42:04] Production.ERROR: done
[2025-04-12 15:42:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 12:42:06
[end_date_ymd] => 2025-04-12 15:42:06
[RateCDR] => 1
)
[2025-04-12 15:42:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 12:42:06' and `end` < '2025-04-12 15: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-12 15:42:12] Production.ERROR: CronJobId end10
[2025-04-12 15:42:12] Production.INFO: ==9590== Releasing lock...
[2025-04-12 15:42:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 15:42:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 15:42:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 15:42:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 15:42:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 15:42:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 15:42:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 15:42:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 15:42:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 15:42:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 15:42:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 15:42:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 15:42:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 15:42:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 15:42:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 15:42:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 15:42:14] Production.INFO: call_cost start
[2025-04-12 15:42:14] Production.INFO: call_cost end
[2025-04-12 15:42:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 15:42:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 15:42:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 15:42:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 15:42:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 15:42:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 15:42:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 15:42:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 15:42:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 15:42:15] Production.INFO: ==9586== Releasing lock...
[2025-04-12 15:42:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 15:42:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 15:42:19] Production.INFO: count ==1462
[2025-04-12 15:42:19] Production.ERROR: pbx CDR StartTime 2025-04-12 12:42:06 - End Time 2025-04-12 15:42:06
[2025-04-12 15:42:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 15:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892550', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892550', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892550', 'tblTempVendorCDR_20' ) start
[2025-04-12 15:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892550', 'tblTempVendorCDR_20' ) end
[2025-04-12 15:42:19] Production.INFO: ProcessCDR(1,14892550,1,1,2)
[2025-04-12 15:42:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892550,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:42:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892550,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:42:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892550,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:42:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892550,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892550', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892550', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:42:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 15:42:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 15:42:22] Production.INFO: ==9594== Releasing lock...
[2025-04-12 15:42:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 15:42:22] Production.INFO: 39.25 MB #Memory Used#
[2025-04-12 20:43:02] Production.INFO: ==9649== Lock acquired, processing the job...
[2025-04-12 20:43:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 20:43:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 20:43:02] Production.INFO: neon service started
[2025-04-12 20:43:02] Production.INFO: neon service started
[2025-04-12 20:43:02] Production.INFO: ==9649== Releasing lock...
[2025-04-12 20:43:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 20:43:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 15:43:02] Production.INFO: ==9651== Lock acquired, processing the job...
[2025-04-12 15:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 15:43:02] Production.INFO: ==9651== Releasing lock...
[2025-04-12 15:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 15:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 19:43:03] Production.INFO: ==9653== Lock acquired, processing the job...
[2025-04-12 19:43:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 19:43:03] Production.INFO: ==9653== Releasing lock...
[2025-04-12 19:43:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 19:43:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 15:43:03] Production.INFO: ==9656== Lock acquired, processing the job...
[2025-04-12 15:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 15:43:03] Production.INFO: ==9658== Lock acquired, processing the job...
[2025-04-12 15:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 15:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 15:43:03] Production.INFO: ==9664== Lock acquired, processing the job...
[2025-04-12 15:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 15:43:03] Production.INFO: ==9660== Lock acquired, processing the job...
[2025-04-12 15:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 15:43:03] Production.INFO: ==9662== Lock acquired, processing the job...
[2025-04-12 15:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 15:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 15:43:03] Production.INFO: Account Balance Start.
[2025-04-12 15:43:03] Production.INFO: CreateAllLog Start
[2025-04-12 15:43:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 15:43:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 15:43:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 15:43:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 15:43:04] Production.INFO: 117
[2025-04-12 15:43:04] Production.INFO: Date 2025-04-08
[2025-04-12 15:43:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:43:04] Production.INFO: ==9666== Lock acquired, processing the job...
[2025-04-12 15:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 15:43:04] Production.INFO: Date 2025-04-09
[2025-04-12 15:43:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:43:04] Production.INFO: Date 2025-04-10
[2025-04-12 15:43:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:43:04] Production.INFO: Date 2025-04-11
[2025-04-12 15:43:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:43:04] Production.ERROR: done
[2025-04-12 15:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 15:43:04] Production.INFO: Date 2025-04-12
[2025-04-12 15:43:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:43:04] Production.INFO: Total Charge 0
[2025-04-12 15:43:04] Production.INFO: CreateAllLog End
[2025-04-12 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-12 15:43:04] Production.INFO: count ==12
[2025-04-12 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-12 15:43:04] Production.INFO: count ==23
[2025-04-12 15:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892554') start
[2025-04-12 15:43:04] Production.INFO: ==9658== Releasing lock...
[2025-04-12 15:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 15:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 15:43:04] Production.ERROR: done
[2025-04-12 15:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892554') end
[2025-04-12 15:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 15:43:04] Production.INFO: 1
[2025-04-12 15:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 15:43:04] Production.INFO: Account Balance End.
[2025-04-12 15:43:04] Production.ERROR: CronJobId end 12
[2025-04-12 15:43:04] Production.INFO: ==9662== Releasing lock...
[2025-04-12 15:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 15:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 15:43:04] Production.INFO: ==9666== Releasing lock...
[2025-04-12 15:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 15:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 15:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 12:43:05
[end_date_ymd] => 2025-04-12 15:43:05
[RateCDR] => 1
)
[2025-04-12 15:43:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 12:43:05' and `end` < '2025-04-12 15:43:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 15:43:13] Production.ERROR: CronJobId end10
[2025-04-12 15:43:13] Production.INFO: ==9660== Releasing lock...
[2025-04-12 15:43:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 15:43:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 15:43:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 15:43:16] Production.INFO: ============== Balance Warning START===========
[2025-04-12 15:43:16] Production.INFO: ============== Balance Warning END===========
[2025-04-12 15:43:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 15:43:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 15:43:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 15:43:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 15:43:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 15:43:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 15:43:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 15:43:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 15:43:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 15:43:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 15:43:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 15:43:16] Production.INFO: call_cost start
[2025-04-12 15:43:16] Production.INFO: call_cost end
[2025-04-12 15:43:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 15:43:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 15:43:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 15:43:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 15:43:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 15:43:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 15:43:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 15:43:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 15:43:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 15:43:17] Production.INFO: ==9656== Releasing lock...
[2025-04-12 15:43:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 15:43:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 15:43:18] Production.INFO: count ==1462
[2025-04-12 15:43:18] Production.ERROR: pbx CDR StartTime 2025-04-12 12:43:05 - End Time 2025-04-12 15:43:05
[2025-04-12 15:43:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 15:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892555', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892555', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892555', 'tblTempVendorCDR_20' ) start
[2025-04-12 15:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892555', 'tblTempVendorCDR_20' ) end
[2025-04-12 15:43:19] Production.INFO: ProcessCDR(1,14892555,1,1,2)
[2025-04-12 15:43:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892555,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:43:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892555,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:43:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892555,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:43:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892555,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892555', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892555', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:43:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 15:43:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 15:43:22] Production.INFO: ==9664== Releasing lock...
[2025-04-12 15:43:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 15:43:22] Production.INFO: 39.25 MB #Memory Used#
[2025-04-12 20:44:01] Production.INFO: ==9719== Lock acquired, processing the job...
[2025-04-12 20:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 20:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 20:44:01] Production.INFO: neon service started
[2025-04-12 20:44:01] Production.INFO: neon service started
[2025-04-12 20:44:01] Production.INFO: ==9719== Releasing lock...
[2025-04-12 20:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 20:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 15:44:02] Production.INFO: ==9721== Lock acquired, processing the job...
[2025-04-12 15:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 19:44:02] Production.INFO: ==9723== Lock acquired, processing the job...
[2025-04-12 19:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 19:44:02] Production.INFO: ==9723== Releasing lock...
[2025-04-12 19:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 19:44:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 15:44:02] Production.INFO: ==9721== Releasing lock...
[2025-04-12 15:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 15:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 15:44:03] Production.INFO: ==9726== Lock acquired, processing the job...
[2025-04-12 15:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 15:44:03] Production.INFO: ==9728== Lock acquired, processing the job...
[2025-04-12 15:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 15:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 15:44:03] Production.INFO: ==9730== Lock acquired, processing the job...
[2025-04-12 15:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 15:44:03] Production.INFO: ==9734== Lock acquired, processing the job...
[2025-04-12 15:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 15:44:03] Production.INFO: ==9732== Lock acquired, processing the job...
[2025-04-12 15:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 15:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 15:44:03] Production.INFO: Account Balance Start.
[2025-04-12 15:44:03] Production.INFO: CreateAllLog Start
[2025-04-12 15:44:03] Production.INFO: 117
[2025-04-12 15:44:03] Production.INFO: Date 2025-04-08
[2025-04-12 15:44:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 15:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 15:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 15:44:03] Production.INFO: Date 2025-04-09
[2025-04-12 15:44:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 15:44:03] Production.INFO: Date 2025-04-10
[2025-04-12 15:44:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:44:03] Production.INFO: ==9736== Lock acquired, processing the job...
[2025-04-12 15:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 15:44:03] Production.INFO: ==9728== Releasing lock...
[2025-04-12 15:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 15:44:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 15:44:03] Production.INFO: Date 2025-04-11
[2025-04-12 15:44:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:44:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 15:44:04] Production.ERROR: done
[2025-04-12 15:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 15:44:04] Production.INFO: count ==12
[2025-04-12 15:44:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 15:44:04] Production.INFO: Date 2025-04-12
[2025-04-12 15:44:04] Production.INFO: count ==23
[2025-04-12 15:44:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892559') start
[2025-04-12 15:44:04] Production.INFO: Total Charge 0
[2025-04-12 15:44:04] Production.INFO: CreateAllLog End
[2025-04-12 15:44:04] Production.ERROR: done
[2025-04-12 15:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892559') end
[2025-04-12 15:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 15:44:04] Production.INFO: 1
[2025-04-12 15:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 15:44:04] Production.INFO: Account Balance End.
[2025-04-12 15:44:04] Production.INFO: ==9736== Releasing lock...
[2025-04-12 15:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 15:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 15:44:04] Production.ERROR: CronJobId end 12
[2025-04-12 15:44:04] Production.INFO: ==9732== Releasing lock...
[2025-04-12 15:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 15:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 15:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 12:44:05
[end_date_ymd] => 2025-04-12 15:44:05
[RateCDR] => 1
)
[2025-04-12 15:44:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 12:44:05' and `end` < '2025-04-12 15:44:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 15:44:12] Production.ERROR: CronJobId end10
[2025-04-12 15:44:12] Production.INFO: ==9730== Releasing lock...
[2025-04-12 15:44:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 15:44:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 15:44:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 15:44:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 15:44:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 15:44:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 15:44:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 15:44:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 15:44:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 15:44:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 15:44:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 15:44:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 15:44:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 15:44:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 15:44:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 15:44:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 15:44:15] Production.INFO: call_cost start
[2025-04-12 15:44:15] Production.INFO: call_cost end
[2025-04-12 15:44:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 15:44:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 15:44:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 15:44:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 15:44:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 15:44:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 15:44:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 15:44:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 15:44:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 15:44:16] Production.INFO: ==9726== Releasing lock...
[2025-04-12 15:44:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 15:44:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 15:44:18] Production.INFO: count ==1461
[2025-04-12 15:44:18] Production.ERROR: pbx CDR StartTime 2025-04-12 12:44:05 - End Time 2025-04-12 15:44:05
[2025-04-12 15:44:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 15:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892560', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892560', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892560', 'tblTempVendorCDR_20' ) start
[2025-04-12 15:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892560', 'tblTempVendorCDR_20' ) end
[2025-04-12 15:44:18] Production.INFO: ProcessCDR(1,14892560,1,1,2)
[2025-04-12 15:44:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892560,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:44:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892560,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:44:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892560,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:44:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892560,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892560', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892560', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:44:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 15:44:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 15:44:21] Production.INFO: ==9734== Releasing lock...
[2025-04-12 15:44:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 15:44:21] Production.INFO: 39.25 MB #Memory Used#
[2025-04-12 20:45:02] Production.INFO: ==9793== Lock acquired, processing the job...
[2025-04-12 20:45:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 20:45:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 20:45:02] Production.INFO: neon service started
[2025-04-12 20:45:02] Production.INFO: neon service started
[2025-04-12 20:45:02] Production.INFO: ==9793== Releasing lock...
[2025-04-12 20:45:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 20:45:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 15:45:02] Production.INFO: ==9795== Lock acquired, processing the job...
[2025-04-12 15:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 15:45:02] Production.INFO: ==9795== Releasing lock...
[2025-04-12 15:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 15:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 19:45:02] Production.INFO: ==9797== Lock acquired, processing the job...
[2025-04-12 19:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 19:45:03] Production.INFO: ==9797== Releasing lock...
[2025-04-12 19:45:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 19:45:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 15:45:03] Production.INFO: ==9799== Lock acquired, processing the job...
[2025-04-12 15:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 15:45:03] Production.INFO: ==9801== Lock acquired, processing the job...
[2025-04-12 15:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 15:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 15:45:03] Production.INFO: ==9808== Lock acquired, processing the job...
[2025-04-12 15:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 15:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 15:45:03] Production.INFO: ==9803== Lock acquired, processing the job...
[2025-04-12 15:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 15:45:04] Production.INFO: ==9801== Releasing lock...
[2025-04-12 15:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 15:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 15:45:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 15:45:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 15:45:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 15:45:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 15:45:04] Production.INFO: ==9806== Lock acquired, processing the job...
[2025-04-12 15:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 15:45:04] Production.INFO: ==9810== Lock acquired, processing the job...
[2025-04-12 15:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 15:45:04] Production.ERROR: done
[2025-04-12 15:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 15:45:04] Production.INFO: Account Balance Start.
[2025-04-12 15:45:04] Production.INFO: CreateAllLog Start
[2025-04-12 15:45:04] Production.INFO: 117
[2025-04-12 15:45:04] Production.INFO: Date 2025-04-08
[2025-04-12 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-12 15:45:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:45:04] Production.INFO: Date 2025-04-09
[2025-04-12 15:45:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:45:04] Production.INFO: Date 2025-04-10
[2025-04-12 15:45:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:45:04] Production.INFO: Date 2025-04-11
[2025-04-12 15:45:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:45:04] Production.INFO: Date 2025-04-12
[2025-04-12 15:45:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:45:04] Production.INFO: count ==12
[2025-04-12 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-12 15:45:04] Production.INFO: count ==23
[2025-04-12 15:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892564') start
[2025-04-12 15:45:04] Production.INFO: Total Charge 0
[2025-04-12 15:45:04] Production.ERROR: done
[2025-04-12 15:45:04] Production.INFO: CreateAllLog End
[2025-04-12 15:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892564') end
[2025-04-12 15:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 15:45:04] Production.INFO: 1
[2025-04-12 15:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 15:45:04] Production.INFO: ==9810== Releasing lock...
[2025-04-12 15:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 15:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 15:45:04] Production.INFO: Account Balance End.
[2025-04-12 15:45:04] Production.ERROR: CronJobId end 12
[2025-04-12 15:45:04] Production.INFO: ==9806== Releasing lock...
[2025-04-12 15:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 15:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 15:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 12:45:05
[end_date_ymd] => 2025-04-12 15:45:05
[RateCDR] => 1
)
[2025-04-12 15:45:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 12:45:05' and `end` < '2025-04-12 15:45:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 15:45:13] Production.ERROR: CronJobId end10
[2025-04-12 15:45:13] Production.INFO: ==9803== Releasing lock...
[2025-04-12 15:45:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 15:45:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 15:45:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 15:45:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 15:45:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 15:45:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 15:45:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 15:45:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 15:45:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 15:45:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 15:45:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 15:45:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 15:45:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 15:45:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 15:45:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 15:45:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 15:45:15] Production.INFO: call_cost start
[2025-04-12 15:45:16] Production.INFO: call_cost end
[2025-04-12 15:45:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 15:45:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 15:45:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 15:45:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 15:45:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 15:45:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 15:45:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 15:45:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 15:45:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 15:45:16] Production.INFO: ==9799== Releasing lock...
[2025-04-12 15:45:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 15:45:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 15:45:18] Production.INFO: count ==1457
[2025-04-12 15:45:18] Production.ERROR: pbx CDR StartTime 2025-04-12 12:45:05 - End Time 2025-04-12 15:45:05
[2025-04-12 15:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 15:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892565', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892565', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892565', 'tblTempVendorCDR_20' ) start
[2025-04-12 15:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892565', 'tblTempVendorCDR_20' ) end
[2025-04-12 15:45:19] Production.INFO: ProcessCDR(1,14892565,1,1,2)
[2025-04-12 15:45:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892565,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:45:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892565,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:45:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892565,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:45:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892565,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:45:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892565', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:45:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892565', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:45:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 15:45:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 15:45:22] Production.INFO: ==9808== Releasing lock...
[2025-04-12 15:45:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 15:45:22] Production.INFO: 39 MB #Memory Used#
[2025-04-12 20:46:01] Production.INFO: ==9869== Lock acquired, processing the job...
[2025-04-12 20:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 20:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 20:46:01] Production.INFO: neon service started
[2025-04-12 20:46:01] Production.INFO: neon service started
[2025-04-12 20:46:01] Production.INFO: ==9869== Releasing lock...
[2025-04-12 20:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 20:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 15:46:01] Production.INFO: ==9871== Lock acquired, processing the job...
[2025-04-12 15:46:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 15:46:02] Production.INFO: ==9871== Releasing lock...
[2025-04-12 15:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 15:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 19:46:02] Production.INFO: ==9873== Lock acquired, processing the job...
[2025-04-12 19:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 19:46:02] Production.INFO: ==9873== Releasing lock...
[2025-04-12 19:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 19:46:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 15:46:03] Production.INFO: ==9883== Lock acquired, processing the job...
[2025-04-12 15:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 15:46:03] Production.INFO: ==9879== Lock acquired, processing the job...
[2025-04-12 15:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 15:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 15:46:03] Production.INFO: ==9875== Lock acquired, processing the job...
[2025-04-12 15:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 15:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 15:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 15:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 15:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 15:46:03] Production.INFO: ==9877== Lock acquired, processing the job...
[2025-04-12 15:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 15:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 15:46:03] Production.INFO: ==9881== Lock acquired, processing the job...
[2025-04-12 15:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 15:46:03] Production.INFO: ==9885== Lock acquired, processing the job...
[2025-04-12 15:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 15:46:03] Production.ERROR: done
[2025-04-12 15:46:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 15:46:03] Production.INFO: ==9877== Releasing lock...
[2025-04-12 15:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 15:46:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 15:46:03] Production.INFO: Account Balance Start.
[2025-04-12 15:46:03] Production.INFO: CreateAllLog Start
[2025-04-12 15:46:03] Production.INFO: 117
[2025-04-12 15:46:03] Production.INFO: Date 2025-04-08
[2025-04-12 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-12 15:46:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:46:03] Production.INFO: count ==12
[2025-04-12 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-12 15:46:03] Production.INFO: count ==23
[2025-04-12 15:46:03] Production.INFO: Date 2025-04-09
[2025-04-12 15:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14892568') start
[2025-04-12 15:46:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:46:04] Production.ERROR: done
[2025-04-12 15:46:04] Production.INFO: Date 2025-04-10
[2025-04-12 15:46:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:46:04] Production.INFO: Date 2025-04-11
[2025-04-12 15:46:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892568') end
[2025-04-12 15:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 15:46:04] Production.INFO: 1
[2025-04-12 15:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 15:46:04] Production.INFO: Date 2025-04-12
[2025-04-12 15:46:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:46:04] Production.INFO: ==9885== Releasing lock...
[2025-04-12 15:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 15:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 15:46:04] Production.INFO: Total Charge 0
[2025-04-12 15:46:04] Production.INFO: CreateAllLog End
[2025-04-12 15:46:04] Production.INFO: Account Balance End.
[2025-04-12 15:46:04] Production.ERROR: CronJobId end 12
[2025-04-12 15:46:04] Production.INFO: ==9881== Releasing lock...
[2025-04-12 15:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 15:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 15:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 12:46:05
[end_date_ymd] => 2025-04-12 15:46:05
[RateCDR] => 1
)
[2025-04-12 15:46:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 12:46:05' and `end` < '2025-04-12 15:46:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 15:46:12] Production.ERROR: CronJobId end10
[2025-04-12 15:46:12] Production.INFO: ==9879== Releasing lock...
[2025-04-12 15:46:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 15:46:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 15:46:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 15:46:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 15:46:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 15:46:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 15:46:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 15:46:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 15:46:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 15:46:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 15:46:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 15:46:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 15:46:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 15:46:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 15:46:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 15:46:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 15:46:14] Production.INFO: call_cost start
[2025-04-12 15:46:14] Production.INFO: call_cost end
[2025-04-12 15:46:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 15:46:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 15:46:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 15:46:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 15:46:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 15:46:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 15:46:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 15:46:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 15:46:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 15:46:15] Production.INFO: ==9875== Releasing lock...
[2025-04-12 15:46:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 15:46:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 15:46:18] Production.INFO: count ==1457
[2025-04-12 15:46:18] Production.ERROR: pbx CDR StartTime 2025-04-12 12:46:05 - End Time 2025-04-12 15:46:05
[2025-04-12 15:46:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 15:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892570', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892570', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892570', 'tblTempVendorCDR_20' ) start
[2025-04-12 15:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892570', 'tblTempVendorCDR_20' ) end
[2025-04-12 15:46:18] Production.INFO: ProcessCDR(1,14892570,1,1,2)
[2025-04-12 15:46:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892570,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:46:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892570,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:46:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892570,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:46:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892570,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892570', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892570', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:46:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 15:46:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 15:46:22] Production.INFO: ==9883== Releasing lock...
[2025-04-12 15:46:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 15:46:22] Production.INFO: 39 MB #Memory Used#
[2025-04-12 20:47:02] Production.INFO: ==9940== Lock acquired, processing the job...
[2025-04-12 20:47:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 20:47:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 20:47:02] Production.INFO: neon service started
[2025-04-12 20:47:02] Production.INFO: neon service started
[2025-04-12 20:47:02] Production.INFO: ==9940== Releasing lock...
[2025-04-12 20:47:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 20:47:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 19:47:02] Production.INFO: ==9944== Lock acquired, processing the job...
[2025-04-12 19:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 19:47:02] Production.INFO: ==9944== Releasing lock...
[2025-04-12 19:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 19:47:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 15:47:02] Production.INFO: ==9942== Lock acquired, processing the job...
[2025-04-12 15:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 15:47:02] Production.INFO: ==9942== Releasing lock...
[2025-04-12 15:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 15:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 15:47:03] Production.INFO: ==9955== Lock acquired, processing the job...
[2025-04-12 15:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 15:47:03] Production.INFO: ==9950== Lock acquired, processing the job...
[2025-04-12 15:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 15:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 15:47:03] Production.INFO: ==9946== Lock acquired, processing the job...
[2025-04-12 15:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 15:47:03] Production.INFO: ==9948== Lock acquired, processing the job...
[2025-04-12 15:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 15:47:03] Production.INFO: ==9957== Lock acquired, processing the job...
[2025-04-12 15:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 15:47:03] Production.INFO: ==9952== Lock acquired, processing the job...
[2025-04-12 15:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 15:47:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 15:47:04] Production.ERROR: done
[2025-04-12 15:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 15:47:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 15:47:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 15:47:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 15:47:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 15:47:04] Production.INFO: Account Balance Start.
[2025-04-12 15:47:04] Production.INFO: CreateAllLog Start
[2025-04-12 15:47:04] Production.INFO: 117
[2025-04-12 15:47:04] Production.INFO: Date 2025-04-08
[2025-04-12 15:47:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:47:04] Production.ERROR: done
[2025-04-12 15:47:04] Production.INFO: Date 2025-04-09
[2025-04-12 15:47:04] Production.INFO: Reseller ==> 0
[2025-04-12 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-12 15:47:04] Production.INFO: count ==12
[2025-04-12 15:47:04] Production.INFO: Date 2025-04-10
[2025-04-12 15:47:04] Production.INFO: Reseller ==> 0
[2025-04-12 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-12 15:47:04] Production.INFO: count ==23
[2025-04-12 15:47:04] Production.INFO: Date 2025-04-11
[2025-04-12 15:47:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892574') start
[2025-04-12 15:47:04] Production.INFO: Date 2025-04-12
[2025-04-12 15:47:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:47:04] Production.INFO: Total Charge 0
[2025-04-12 15:47:04] Production.INFO: ==9948== Releasing lock...
[2025-04-12 15:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 15:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 15:47:04] Production.INFO: CreateAllLog End
[2025-04-12 15:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892574') end
[2025-04-12 15:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 15:47:04] Production.INFO: 1
[2025-04-12 15:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 15:47:04] Production.INFO: Account Balance End.
[2025-04-12 15:47:04] Production.INFO: ==9957== Releasing lock...
[2025-04-12 15:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 15:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 15:47:04] Production.ERROR: CronJobId end 12
[2025-04-12 15:47:04] Production.INFO: ==9952== Releasing lock...
[2025-04-12 15:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 15:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 15:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 12:47:05
[end_date_ymd] => 2025-04-12 15:47:05
[RateCDR] => 1
)
[2025-04-12 15:47:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 12:47:05' and `end` < '2025-04-12 15:47:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 15:47:12] Production.ERROR: CronJobId end10
[2025-04-12 15:47:12] Production.INFO: ==9950== Releasing lock...
[2025-04-12 15:47:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 15:47:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 15:47:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 15:47:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 15:47:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 15:47:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 15:47:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 15:47:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 15:47:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 15:47:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 15:47:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 15:47:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 15:47:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 15:47:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 15:47:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 15:47:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 15:47:15] Production.INFO: call_cost start
[2025-04-12 15:47:15] Production.INFO: call_cost end
[2025-04-12 15:47:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 15:47:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 15:47:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 15:47:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 15:47:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 15:47:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 15:47:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 15:47:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 15:47:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 15:47:16] Production.INFO: ==9946== Releasing lock...
[2025-04-12 15:47:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 15:47:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 15:47:18] Production.INFO: count ==1452
[2025-04-12 15:47:18] Production.ERROR: pbx CDR StartTime 2025-04-12 12:47:05 - End Time 2025-04-12 15:47:05
[2025-04-12 15:47:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 15:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892575', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892575', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892575', 'tblTempVendorCDR_20' ) start
[2025-04-12 15:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892575', 'tblTempVendorCDR_20' ) end
[2025-04-12 15:47:18] Production.INFO: ProcessCDR(1,14892575,1,1,2)
[2025-04-12 15:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892575,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:47:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892575,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:47:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892575,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:47:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892575,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:47:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892575', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:47:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892575', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:47:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 15:47:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 15:47:24] Production.INFO: ==9955== Releasing lock...
[2025-04-12 15:47:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 15:47:24] Production.INFO: 39.25 MB #Memory Used#
[2025-04-12 20:48:01] Production.INFO: ==10030== Lock acquired, processing the job...
[2025-04-12 20:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 20:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 20:48:01] Production.INFO: neon service started
[2025-04-12 20:48:01] Production.INFO: neon service started
[2025-04-12 20:48:01] Production.INFO: ==10030== Releasing lock...
[2025-04-12 20:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 20:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 19:48:01] Production.INFO: ==10034== Lock acquired, processing the job...
[2025-04-12 19:48:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 19:48:01] Production.INFO: ==10034== Releasing lock...
[2025-04-12 19:48:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 19:48:01] Production.INFO: 25 MB #Memory Used#
[2025-04-12 15:48:02] Production.INFO: ==10032== Lock acquired, processing the job...
[2025-04-12 15:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 15:48:02] Production.INFO: ==10032== Releasing lock...
[2025-04-12 15:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 15:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 15:48:03] Production.INFO: ==10038== Lock acquired, processing the job...
[2025-04-12 15:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 15:48:03] Production.INFO: ==10040== Lock acquired, processing the job...
[2025-04-12 15:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 15:48:03] Production.INFO: ==10042== Lock acquired, processing the job...
[2025-04-12 15:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 15:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 15:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 15:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 15:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 15:48:03] Production.INFO: Account Balance Start.
[2025-04-12 15:48:03] Production.INFO: CreateAllLog Start
[2025-04-12 15:48:03] Production.INFO: 117
[2025-04-12 15:48:03] Production.INFO: Date 2025-04-08
[2025-04-12 15:48:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:48:03] Production.INFO: Date 2025-04-09
[2025-04-12 15:48:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:48:03] Production.INFO: Date 2025-04-10
[2025-04-12 15:48:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:48:03] Production.INFO: ==10036== Lock acquired, processing the job...
[2025-04-12 15:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 15:48:03] Production.INFO: ==10044== Lock acquired, processing the job...
[2025-04-12 15:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 15:48:03] Production.INFO: Date 2025-04-11
[2025-04-12 15:48:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 15:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 15:48:03] Production.INFO: Date 2025-04-12
[2025-04-12 15:48:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:48:03] Production.INFO: ==10038== Releasing lock...
[2025-04-12 15:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 15:48:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 15:48:03] Production.INFO: Total Charge 0
[2025-04-12 15:48:03] Production.INFO: ==10047== Lock acquired, processing the job...
[2025-04-12 15:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 15:48:03] Production.INFO: CreateAllLog End
[2025-04-12 15:48:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 15:48:03] Production.INFO: count ==12
[2025-04-12 15:48:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 15:48:03] Production.INFO: count ==23
[2025-04-12 15:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14892579') start
[2025-04-12 15:48:03] Production.ERROR: done
[2025-04-12 15:48:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 15:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14892579') end
[2025-04-12 15:48:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 15:48:03] Production.INFO: 1
[2025-04-12 15:48:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 15:48:04] Production.INFO: Account Balance End.
[2025-04-12 15:48:04] Production.ERROR: CronJobId end 12
[2025-04-12 15:48:04] Production.INFO: ==10042== Releasing lock...
[2025-04-12 15:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 15:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 15:48:04] Production.INFO: ==10047== Releasing lock...
[2025-04-12 15:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 15:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 15:48:04] Production.ERROR: done
[2025-04-12 15:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 12:48:05
[end_date_ymd] => 2025-04-12 15:48:05
[RateCDR] => 1
)
[2025-04-12 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-12 12:48:05' and `end` < '2025-04-12 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-12 15:48:11] Production.ERROR: CronJobId end10
[2025-04-12 15:48:11] Production.INFO: ==10040== Releasing lock...
[2025-04-12 15:48:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 15:48:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 15:48:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 15:48:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 15:48:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 15:48:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 15:48:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 15:48:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 15:48:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 15:48:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 15:48:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 15:48:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 15:48:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 15:48:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 15:48:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 15:48:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 15:48:13] Production.INFO: call_cost start
[2025-04-12 15:48:13] Production.INFO: call_cost end
[2025-04-12 15:48:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 15:48:14] Production.INFO: ============== Report Schedule START===========
[2025-04-12 15:48:14] Production.INFO: ============== Report Schedule END===========
[2025-04-12 15:48:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 15:48:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 15:48:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 15:48:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 15:48:14] Production.INFO: ============== Deal alert START===========
[2025-04-12 15:48:14] Production.INFO: ============== Deal alert END===========
[2025-04-12 15:48:14] Production.INFO: ==10036== Releasing lock...
[2025-04-12 15:48:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 15:48:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 15:48:18] Production.INFO: count ==1444
[2025-04-12 15:48:18] Production.ERROR: pbx CDR StartTime 2025-04-12 12:48:05 - End Time 2025-04-12 15:48:05
[2025-04-12 15:48:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 15:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892580', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892580', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892580', 'tblTempVendorCDR_20' ) start
[2025-04-12 15:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892580', 'tblTempVendorCDR_20' ) end
[2025-04-12 15:48:18] Production.INFO: ProcessCDR(1,14892580,1,1,2)
[2025-04-12 15:48:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892580,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:48:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892580,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:48:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892580,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:48:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892580,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:48:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892580', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:48:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892580', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:48:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 15:48:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 15:48:23] Production.INFO: ==10044== Releasing lock...
[2025-04-12 15:48:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 15:48:23] Production.INFO: 39.75 MB #Memory Used#
[2025-04-12 20:49:01] Production.INFO: ==10106== Lock acquired, processing the job...
[2025-04-12 20:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 20:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 20:49:01] Production.INFO: neon service started
[2025-04-12 20:49:01] Production.INFO: neon service started
[2025-04-12 20:49:01] Production.INFO: ==10106== Releasing lock...
[2025-04-12 20:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 20:49:01] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 15:49:02] Production.INFO: ==10108== Lock acquired, processing the job...
[2025-04-12 15:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 15:49:02] Production.INFO: ==10108== Releasing lock...
[2025-04-12 15:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 15:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 19:49:02] Production.INFO: ==10110== Lock acquired, processing the job...
[2025-04-12 19:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 19:49:02] Production.INFO: ==10110== Releasing lock...
[2025-04-12 19:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 19:49:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 15:49:03] Production.INFO: ==10116== Lock acquired, processing the job...
[2025-04-12 15:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 15:49:03] Production.INFO: ==10120== Lock acquired, processing the job...
[2025-04-12 15:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 15:49:03] Production.INFO: ==10112== Lock acquired, processing the job...
[2025-04-12 15:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 15:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 15:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 15:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 15:49:03] Production.INFO: ==10114== Lock acquired, processing the job...
[2025-04-12 15:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 15:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 15:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 15:49:03] Production.INFO: ==10118== Lock acquired, processing the job...
[2025-04-12 15:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 15:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 15:49:03] Production.INFO: ==10122== Lock acquired, processing the job...
[2025-04-12 15:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 15:49:03] Production.INFO: Account Balance Start.
[2025-04-12 15:49:03] Production.INFO: CreateAllLog Start
[2025-04-12 15:49:03] Production.INFO: 117
[2025-04-12 15:49:03] Production.INFO: Date 2025-04-08
[2025-04-12 15:49:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:49:04] Production.INFO: Date 2025-04-09
[2025-04-12 15:49:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:49:04] Production.INFO: Date 2025-04-10
[2025-04-12 15:49:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:49:04] Production.INFO: Date 2025-04-11
[2025-04-12 15:49:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:49:04] Production.ERROR: done
[2025-04-12 15:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 15:49:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 15:49:04] Production.INFO: Date 2025-04-12
[2025-04-12 15:49:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:49:04] Production.INFO: count ==12
[2025-04-12 15:49:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 15:49:04] Production.INFO: count ==23
[2025-04-12 15:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892584') start
[2025-04-12 15:49:04] Production.INFO: Total Charge 0
[2025-04-12 15:49:04] Production.INFO: CreateAllLog End
[2025-04-12 15:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892584') end
[2025-04-12 15:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 15:49:04] Production.INFO: 1
[2025-04-12 15:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 15:49:04] Production.INFO: ==10122== Releasing lock...
[2025-04-12 15:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 15:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 15:49:04] Production.INFO: ==10114== Releasing lock...
[2025-04-12 15:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 15:49:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 15:49:04] Production.ERROR: done
[2025-04-12 15:49:04] Production.INFO: Account Balance End.
[2025-04-12 15:49:04] Production.ERROR: CronJobId end 12
[2025-04-12 15:49:04] Production.INFO: ==10118== Releasing lock...
[2025-04-12 15:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 15:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 15:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 12:49:05
[end_date_ymd] => 2025-04-12 15:49:05
[RateCDR] => 1
)
[2025-04-12 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-12 12:49:05' and `end` < '2025-04-12 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-12 15:49:11] Production.ERROR: CronJobId end10
[2025-04-12 15:49:11] Production.INFO: ==10116== Releasing lock...
[2025-04-12 15:49:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 15:49:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 15:49:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 15:49:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 15:49:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 15:49:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 15:49:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 15:49:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 15:49:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 15:49:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 15:49:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 15:49:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 15:49:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 15:49:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 15:49:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 15:49:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 15:49:14] Production.INFO: call_cost start
[2025-04-12 15:49:14] Production.INFO: call_cost end
[2025-04-12 15:49:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 15:49:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 15:49:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 15:49:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 15:49:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 15:49:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 15:49:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 15:49:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 15:49:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 15:49:15] Production.INFO: ==10112== Releasing lock...
[2025-04-12 15:49:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 15:49:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 15:49:18] Production.INFO: count ==1442
[2025-04-12 15:49:19] Production.ERROR: pbx CDR StartTime 2025-04-12 12:49:05 - End Time 2025-04-12 15:49:05
[2025-04-12 15:49:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 15:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892585', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892585', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892585', 'tblTempVendorCDR_20' ) start
[2025-04-12 15:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892585', 'tblTempVendorCDR_20' ) end
[2025-04-12 15:49:19] Production.INFO: ProcessCDR(1,14892585,1,1,2)
[2025-04-12 15:49:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892585,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:49:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892585,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:49:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892585,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:49:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892585,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892585', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892585', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:49:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 15:49:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 15:49:22] Production.INFO: ==10120== Releasing lock...
[2025-04-12 15:49:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 15:49:22] Production.INFO: 39.5 MB #Memory Used#
[2025-04-12 20:50:02] Production.INFO: ==10175== Lock acquired, processing the job...
[2025-04-12 20:50:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 20:50:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 20:50:02] Production.INFO: neon service started
[2025-04-12 20:50:02] Production.INFO: neon service started
[2025-04-12 20:50:02] Production.INFO: ==10175== Releasing lock...
[2025-04-12 20:50:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 20:50:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 15:50:03] Production.INFO: ==10178== Lock acquired, processing the job...
[2025-04-12 15:50:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 19:50:03] Production.INFO: ==10180== Lock acquired, processing the job...
[2025-04-12 19:50:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 19:50:03] Production.INFO: ==10180== Releasing lock...
[2025-04-12 19:50:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 19:50:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 15:50:03] Production.INFO: ==10178== Releasing lock...
[2025-04-12 15:50:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 15:50:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 15:50:04] Production.INFO: ==10188== Lock acquired, processing the job...
[2025-04-12 15:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 15:50:04] Production.INFO: ==10192== Lock acquired, processing the job...
[2025-04-12 15:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 15:50:04] Production.INFO: Account Balance Start.
[2025-04-12 15:50:04] Production.INFO: CreateAllLog Start
[2025-04-12 15:50:04] Production.INFO: 117
[2025-04-12 15:50:04] Production.INFO: Date 2025-04-08
[2025-04-12 15:50:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:50:04] Production.INFO: ==10184== Lock acquired, processing the job...
[2025-04-12 15:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 15:50:04] Production.INFO: ==10196== Lock acquired, processing the job...
[2025-04-12 15:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 15:50:04] Production.INFO: Date 2025-04-09
[2025-04-12 15:50:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:50:04] Production.INFO: ==10186== Lock acquired, processing the job...
[2025-04-12 15:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 15:50:04] Production.INFO: Date 2025-04-10
[2025-04-12 15:50:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 15:50:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 15:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 15:50:04] Production.ERROR: CronJob PID - 10188
[2025-04-12 15:50:04] Production.ERROR: CronJob Title - Account Block
[2025-04-12 15:50:04] Production.ERROR: CronJob ID - 7
[2025-04-12 15:50:04] Production.ERROR: CronJob Last Run Time 2025-04-12 15:50:00
[2025-04-12 15:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 15:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 15:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 15:50:04] Production.ERROR: CronJob PID - 10192
[2025-04-12 15:50:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-04-12 15:50:04] Production.ERROR: CronJob ID - 12
[2025-04-12 15:50:04] Production.ERROR: CronJob Last Run Time 2025-04-12 15:50:00
[2025-04-12 15:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 15:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 15:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 15:50:04] Production.ERROR: CronJob PID - 10196
[2025-04-12 15:50:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-04-12 15:50:04] Production.ERROR: CronJob ID - 17
[2025-04-12 15:50:04] Production.ERROR: CronJob Last Run Time 2025-04-12 15:50:00
[2025-04-12 15:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 15:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 15:50:04] Production.INFO: Date 2025-04-11
[2025-04-12 15:50:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:50:04] Production.INFO: ==10188== Releasing lock...
[2025-04-12 15:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 15:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 15:50:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 15:50:04] Production.INFO: ==10184== Releasing lock...
[2025-04-12 15:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 15:50:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 15:50:04] Production.INFO: Date 2025-04-12
[2025-04-12 15:50:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:50:04] Production.INFO: ==10190== Lock acquired, processing the job...
[2025-04-12 15:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 15:50:04] Production.INFO: Total Charge 0
[2025-04-12 15:50:04] Production.INFO: ==10194== Lock acquired, processing the job...
[2025-04-12 15:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 15:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 15:50:04] Production.INFO: ==10198== Lock acquired, processing the job...
[2025-04-12 15:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 15:50:04] Production.INFO: CreateAllLog End
[2025-04-12 15:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 15:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 15:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 15:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 15:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 15:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 15:50:05] Production.INFO: count ==12
[2025-04-12 15: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-12 15:50:05] Production.INFO: count ==23
[2025-04-12 15:50:05] Production.ERROR: PBX CALL prc_importPBXExtension('14892589') start
[2025-04-12 15:50:05] Production.ERROR: done
[2025-04-12 15:50:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 15:50:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14892590', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 15:50:05] Production.INFO: Account Balance End.
[2025-04-12 15:50:05] Production.ERROR: CronJobId end 12
[2025-04-12 15:50:05] Production.INFO: ==10192== Releasing lock...
[2025-04-12 15:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 15:50:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 15:50:05] Production.ERROR: PBX CALL prc_importPBXExtension('14892589') end
[2025-04-12 15:50:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 15:50:05] Production.INFO: 1
[2025-04-12 15:50:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 15:50:05] Production.ERROR: done
[2025-04-12 15:50:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 15:50:05] Production.INFO: ==10198== Releasing lock...
[2025-04-12 15:50:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 15:50:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 15:50:05] Production.ERROR: done
[2025-04-12 15:50:07] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 12:50:07
[end_date_ymd] => 2025-04-12 15:50:07
[RateCDR] => 1
)
[2025-04-12 15: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-12 12:50:07' and `end` < '2025-04-12 15: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-12 15:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14892590', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 15:50:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 15:50:09] Production.INFO: ProcessCDR(1,14892590,1,1,2)
[2025-04-12 15:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14892590,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14892590,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:50:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 15:50:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 15:50:09] Production.INFO: ==10196== Releasing lock...
[2025-04-12 15:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 15:50:09] Production.INFO: 26 MB #Memory Used#
[2025-04-12 15:50:14] Production.ERROR: CronJobId end10
[2025-04-12 15:50:14] Production.INFO: ==10190== Releasing lock...
[2025-04-12 15:50:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 15:50:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 15:50:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 15:50:16] Production.INFO: ============== Balance Warning START===========
[2025-04-12 15:50:16] Production.INFO: ============== Balance Warning END===========
[2025-04-12 15:50:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 15:50:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 15:50:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 15:50:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 15:50:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 15:50:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 15:50:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 15:50:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 15:50:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 15:50:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 15:50:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 15:50:17] Production.INFO: call_cost start
[2025-04-12 15:50:17] Production.INFO: call_cost end
[2025-04-12 15:50:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 15:50:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 15:50:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 15:50:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 15:50:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 15:50:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 15:50:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 15:50:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 15:50:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 15:50:17] Production.INFO: ==10186== Releasing lock...
[2025-04-12 15:50:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 15:50:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 15:50:20] Production.INFO: count ==1440
[2025-04-12 15:50:20] Production.ERROR: pbx CDR StartTime 2025-04-12 12:50:07 - End Time 2025-04-12 15:50:07
[2025-04-12 15:50:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 15:50:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892591', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:50:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892591', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:50:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892591', 'tblTempVendorCDR_20' ) start
[2025-04-12 15:50:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892591', 'tblTempVendorCDR_20' ) end
[2025-04-12 15:50:20] Production.INFO: ProcessCDR(1,14892591,1,1,2)
[2025-04-12 15:50:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892591,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:50:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892591,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:50:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892591,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:50:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892591,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:50:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892591', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:50:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892591', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:50:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 15:50:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 15:50:24] Production.INFO: ==10194== Releasing lock...
[2025-04-12 15:50:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 15:50:24] Production.INFO: 39 MB #Memory Used#
[2025-04-12 20:51:01] Production.INFO: ==10296== Lock acquired, processing the job...
[2025-04-12 20:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 20:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 20:51:01] Production.INFO: neon service started
[2025-04-12 20:51:01] Production.INFO: neon service started
[2025-04-12 20:51:01] Production.INFO: ==10296== Releasing lock...
[2025-04-12 20:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 20:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 15:51:02] Production.INFO: ==10298== Lock acquired, processing the job...
[2025-04-12 15:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 15:51:02] Production.INFO: ==10298== Releasing lock...
[2025-04-12 15:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 15:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 19:51:02] Production.INFO: ==10300== Lock acquired, processing the job...
[2025-04-12 19:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 19:51:02] Production.INFO: ==10300== Releasing lock...
[2025-04-12 19:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 19:51:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 15:51:03] Production.INFO: ==10309== Lock acquired, processing the job...
[2025-04-12 15:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 15:51:03] Production.INFO: ==10303== Lock acquired, processing the job...
[2025-04-12 15:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 15:51:03] Production.INFO: ==10305== Lock acquired, processing the job...
[2025-04-12 15:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 15:51:03] Production.INFO: ==10307== Lock acquired, processing the job...
[2025-04-12 15:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 15:51:03] Production.INFO: Account Balance Start.
[2025-04-12 15:51:03] Production.INFO: CreateAllLog Start
[2025-04-12 15:51:03] Production.INFO: 117
[2025-04-12 15:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 15:51:03] Production.INFO: ==10313== Lock acquired, processing the job...
[2025-04-12 15:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 15:51:03] Production.INFO: ==10311== Lock acquired, processing the job...
[2025-04-12 15:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 15:51:03] Production.INFO: Date 2025-04-08
[2025-04-12 15:51:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 15:51:03] Production.INFO: Date 2025-04-09
[2025-04-12 15:51:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 15:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 15:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 15:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 15:51:03] Production.INFO: Date 2025-04-10
[2025-04-12 15:51:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:51:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 15:51:03] Production.INFO: Date 2025-04-11
[2025-04-12 15:51:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:51:03] Production.INFO: count ==12
[2025-04-12 15:51:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 15:51:03] Production.INFO: count ==23
[2025-04-12 15:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14892595') start
[2025-04-12 15:51:04] Production.INFO: Date 2025-04-12
[2025-04-12 15:51:04] Production.INFO: ==10305== Releasing lock...
[2025-04-12 15:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 15:51:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 15:51:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:51:04] Production.ERROR: done
[2025-04-12 15:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892595') end
[2025-04-12 15:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 15:51:04] Production.INFO: 1
[2025-04-12 15:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 15:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 15:51:04] Production.INFO: ==10313== Releasing lock...
[2025-04-12 15:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 15:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 15:51:04] Production.INFO: Total Charge 0
[2025-04-12 15:51:04] Production.INFO: CreateAllLog End
[2025-04-12 15:51:04] Production.ERROR: done
[2025-04-12 15:51:04] Production.INFO: Account Balance End.
[2025-04-12 15:51:04] Production.ERROR: CronJobId end 12
[2025-04-12 15:51:04] Production.INFO: ==10309== Releasing lock...
[2025-04-12 15:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 15:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 15:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 12:51:05
[end_date_ymd] => 2025-04-12 15:51:05
[RateCDR] => 1
)
[2025-04-12 15:51:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 12:51:05' and `end` < '2025-04-12 15:51:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 15:51:12] Production.ERROR: CronJobId end10
[2025-04-12 15:51:12] Production.INFO: ==10307== Releasing lock...
[2025-04-12 15:51:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 15:51:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 15:51:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 15:51:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 15:51:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 15:51:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 15:51:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 15:51:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 15:51:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 15:51:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 15:51:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 15:51:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 15:51:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 15:51:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 15:51:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 15:51:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 15:51:14] Production.INFO: call_cost start
[2025-04-12 15:51:14] Production.INFO: call_cost end
[2025-04-12 15:51:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 15:51:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 15:51:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 15:51:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 15:51:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 15:51:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 15:51:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 15:51:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 15:51:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 15:51:15] Production.INFO: ==10303== Releasing lock...
[2025-04-12 15:51:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 15:51:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 15:51:18] Production.INFO: count ==1453
[2025-04-12 15:51:18] Production.ERROR: pbx CDR StartTime 2025-04-12 12:51:05 - End Time 2025-04-12 15:51:05
[2025-04-12 15:51:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 15:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892596', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892596', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892596', 'tblTempVendorCDR_20' ) start
[2025-04-12 15:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892596', 'tblTempVendorCDR_20' ) end
[2025-04-12 15:51:18] Production.INFO: ProcessCDR(1,14892596,1,1,2)
[2025-04-12 15:51:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892596,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:51:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892596,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:51:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892596,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:51:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892596,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892596', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892596', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:51:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 15:51:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 15:51:22] Production.INFO: ==10311== Releasing lock...
[2025-04-12 15:51:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 15:51:22] Production.INFO: 39.25 MB #Memory Used#
[2025-04-12 20:52:02] Production.INFO: ==10370== Lock acquired, processing the job...
[2025-04-12 20:52:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 20:52:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 20:52:02] Production.INFO: neon service started
[2025-04-12 20:52:02] Production.INFO: neon service started
[2025-04-12 20:52:02] Production.INFO: ==10370== Releasing lock...
[2025-04-12 20:52:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 20:52:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 15:52:02] Production.INFO: ==10372== Lock acquired, processing the job...
[2025-04-12 15:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 15:52:02] Production.INFO: ==10372== Releasing lock...
[2025-04-12 15:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 15:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 19:52:03] Production.INFO: ==10374== Lock acquired, processing the job...
[2025-04-12 19:52:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 19:52:03] Production.INFO: ==10374== Releasing lock...
[2025-04-12 19:52:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 19:52:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 15:52:03] Production.INFO: ==10378== Lock acquired, processing the job...
[2025-04-12 15:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 15:52:03] Production.INFO: ==10376== Lock acquired, processing the job...
[2025-04-12 15:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 15:52:03] Production.INFO: ==10380== Lock acquired, processing the job...
[2025-04-12 15:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 15:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 15:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 15:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 15:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 15:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 15:52:04] Production.INFO: ==10386== Lock acquired, processing the job...
[2025-04-12 15:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 15:52:04] Production.INFO: ==10382== Lock acquired, processing the job...
[2025-04-12 15:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 15:52:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 15:52:04] Production.INFO: ==10378== Releasing lock...
[2025-04-12 15:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 15:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 15:52:04] Production.INFO: count ==12
[2025-04-12 15:52:04] Production.INFO: ==10384== Lock acquired, processing the job...
[2025-04-12 15:52:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 15:52:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 15:52:04] Production.INFO: count ==23
[2025-04-12 15:52:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 15:52:04] Production.INFO: Account Balance Start.
[2025-04-12 15:52:04] Production.INFO: CreateAllLog Start
[2025-04-12 15:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892599') start
[2025-04-12 15:52:04] Production.INFO: 117
[2025-04-12 15:52:04] Production.INFO: Date 2025-04-08
[2025-04-12 15:52:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:52:04] Production.INFO: Date 2025-04-09
[2025-04-12 15:52:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892599') end
[2025-04-12 15:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 15:52:04] Production.INFO: 1
[2025-04-12 15:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 15:52:04] Production.INFO: Date 2025-04-10
[2025-04-12 15:52:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:52:04] Production.INFO: Date 2025-04-11
[2025-04-12 15:52:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:52:04] Production.INFO: ==10386== Releasing lock...
[2025-04-12 15:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 15:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 15:52:04] Production.INFO: Date 2025-04-12
[2025-04-12 15:52:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:52:04] Production.INFO: Total Charge 0
[2025-04-12 15:52:04] Production.INFO: CreateAllLog End
[2025-04-12 15:52:04] Production.ERROR: done
[2025-04-12 15:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 15:52:04] Production.INFO: Account Balance End.
[2025-04-12 15:52:05] Production.ERROR: CronJobId end 12
[2025-04-12 15:52:05] Production.INFO: ==10382== Releasing lock...
[2025-04-12 15:52:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 15:52:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 15:52:05] Production.ERROR: done
[2025-04-12 15:52:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 12:52:06
[end_date_ymd] => 2025-04-12 15:52:06
[RateCDR] => 1
)
[2025-04-12 15:52:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 12:52:06' and `end` < '2025-04-12 15:52:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 15:52:12] Production.ERROR: CronJobId end10
[2025-04-12 15:52:12] Production.INFO: ==10380== Releasing lock...
[2025-04-12 15:52:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 15:52:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 15:52:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 15:52:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 15:52:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 15:52:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 15:52:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 15:52:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 15:52:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 15:52:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 15:52:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 15:52:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 15:52:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 15:52:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 15:52:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 15:52:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 15:52:14] Production.INFO: call_cost start
[2025-04-12 15:52:14] Production.INFO: call_cost end
[2025-04-12 15:52:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 15:52:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 15:52:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 15:52:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 15:52:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 15:52:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 15:52:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 15:52:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 15:52:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 15:52:15] Production.INFO: ==10376== Releasing lock...
[2025-04-12 15:52:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 15:52:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 15:52:19] Production.INFO: count ==1449
[2025-04-12 15:52:19] Production.ERROR: pbx CDR StartTime 2025-04-12 12:52:06 - End Time 2025-04-12 15:52:06
[2025-04-12 15:52:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 15:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892601', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892601', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892601', 'tblTempVendorCDR_20' ) start
[2025-04-12 15:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892601', 'tblTempVendorCDR_20' ) end
[2025-04-12 15:52:19] Production.INFO: ProcessCDR(1,14892601,1,1,2)
[2025-04-12 15:52:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892601,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:52:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892601,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:52:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892601,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:52:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892601,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892601', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892601', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:52:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 15:52:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 15:52:22] Production.INFO: ==10384== Releasing lock...
[2025-04-12 15:52:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 15:52:22] Production.INFO: 39.5 MB #Memory Used#
[2025-04-12 20:53:01] Production.INFO: ==10440== Lock acquired, processing the job...
[2025-04-12 20:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 20:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 20:53:01] Production.INFO: neon service started
[2025-04-12 20:53:01] Production.INFO: neon service started
[2025-04-12 20:53:01] Production.INFO: ==10440== Releasing lock...
[2025-04-12 20:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 20:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 19:53:02] Production.INFO: ==10444== Lock acquired, processing the job...
[2025-04-12 19:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 19:53:02] Production.INFO: ==10444== Releasing lock...
[2025-04-12 19:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 19:53:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 15:53:02] Production.INFO: ==10442== Lock acquired, processing the job...
[2025-04-12 15:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 15:53:02] Production.INFO: ==10442== Releasing lock...
[2025-04-12 15:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 15:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 15:53:03] Production.INFO: ==10446== Lock acquired, processing the job...
[2025-04-12 15:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 15:53:03] Production.INFO: ==10448== Lock acquired, processing the job...
[2025-04-12 15:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 15:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 15:53:03] Production.INFO: ==10450== Lock acquired, processing the job...
[2025-04-12 15:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 15:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 15:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 15:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 15:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 15:53:03] Production.INFO: ==10452== Lock acquired, processing the job...
[2025-04-12 15:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 15:53:03] Production.INFO: ==10448== Releasing lock...
[2025-04-12 15:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 15:53:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 15:53:03] Production.INFO: ==10456== Lock acquired, processing the job...
[2025-04-12 15:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 15:53:03] Production.INFO: ==10454== Lock acquired, processing the job...
[2025-04-12 15:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 15:53:03] Production.INFO: Account Balance Start.
[2025-04-12 15:53:03] Production.INFO: CreateAllLog Start
[2025-04-12 15:53:03] Production.INFO: 117
[2025-04-12 15:53:03] Production.INFO: Date 2025-04-08
[2025-04-12 15:53:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 15:53:03] Production.INFO: Date 2025-04-09
[2025-04-12 15:53:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:53:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 15:53:03] Production.INFO: Date 2025-04-10
[2025-04-12 15:53:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:53:03] Production.INFO: count ==12
[2025-04-12 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-12 15:53:03] Production.INFO: count ==23
[2025-04-12 15:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14892605') start
[2025-04-12 15:53:03] Production.INFO: Date 2025-04-11
[2025-04-12 15:53:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:53:03] Production.INFO: Date 2025-04-12
[2025-04-12 15:53:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892605') end
[2025-04-12 15:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 15:53:04] Production.INFO: 1
[2025-04-12 15:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 15:53:04] Production.INFO: Total Charge 0
[2025-04-12 15:53:04] Production.INFO: ==10456== Releasing lock...
[2025-04-12 15:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 15:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 15:53:04] Production.INFO: CreateAllLog End
[2025-04-12 15:53:04] Production.ERROR: done
[2025-04-12 15:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 15:53:04] Production.ERROR: done
[2025-04-12 15:53:04] Production.INFO: Account Balance End.
[2025-04-12 15:53:04] Production.ERROR: CronJobId end 12
[2025-04-12 15:53:04] Production.INFO: ==10452== Releasing lock...
[2025-04-12 15:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 15:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 15:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 12:53:05
[end_date_ymd] => 2025-04-12 15:53:05
[RateCDR] => 1
)
[2025-04-12 15:53:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 12:53:05' and `end` < '2025-04-12 15:53:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 15:53:11] Production.ERROR: CronJobId end10
[2025-04-12 15:53:11] Production.INFO: ==10450== Releasing lock...
[2025-04-12 15:53:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 15:53:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 15:53:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 15:53:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 15:53:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 15:53:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 15:53:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 15:53:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 15:53:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 15:53:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 15:53:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 15:53:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 15:53:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 15:53:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 15:53:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 15:53:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 15:53:14] Production.INFO: call_cost start
[2025-04-12 15:53:14] Production.INFO: call_cost end
[2025-04-12 15:53:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 15:53:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 15:53:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 15:53:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 15:53:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 15:53:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 15:53:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 15:53:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 15:53:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 15:53:15] Production.INFO: ==10446== Releasing lock...
[2025-04-12 15:53:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 15:53:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 15:53:18] Production.INFO: count ==1449
[2025-04-12 15:53:18] Production.ERROR: pbx CDR StartTime 2025-04-12 12:53:05 - End Time 2025-04-12 15:53:05
[2025-04-12 15:53:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 15:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892606', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892606', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892606', 'tblTempVendorCDR_20' ) start
[2025-04-12 15:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892606', 'tblTempVendorCDR_20' ) end
[2025-04-12 15:53:18] Production.INFO: ProcessCDR(1,14892606,1,1,2)
[2025-04-12 15:53:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892606,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:53:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892606,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:53:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892606,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:53:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892606,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892606', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892606', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:53:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 15:53:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 15:53:22] Production.INFO: ==10454== Releasing lock...
[2025-04-12 15:53:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 15:53:22] Production.INFO: 39.25 MB #Memory Used#
[2025-04-12 20:54:02] Production.INFO: ==10518== Lock acquired, processing the job...
[2025-04-12 20:54:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 20:54:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 20:54:02] Production.INFO: neon service started
[2025-04-12 20:54:02] Production.INFO: neon service started
[2025-04-12 20:54:02] Production.INFO: ==10518== Releasing lock...
[2025-04-12 20:54:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 20:54:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 15:54:02] Production.INFO: ==10520== Lock acquired, processing the job...
[2025-04-12 15:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 19:54:02] Production.INFO: ==10522== Lock acquired, processing the job...
[2025-04-12 19:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 19:54:02] Production.INFO: ==10522== Releasing lock...
[2025-04-12 19:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 19:54:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 15:54:03] Production.INFO: ==10520== Releasing lock...
[2025-04-12 15:54:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 15:54:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 15:54:03] Production.INFO: ==10525== Lock acquired, processing the job...
[2025-04-12 15:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 15:54:03] Production.INFO: ==10527== Lock acquired, processing the job...
[2025-04-12 15:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 15:54:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 15:54:04] Production.INFO: ==10533== Lock acquired, processing the job...
[2025-04-12 15:54:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 15:54:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 15:54:04] Production.INFO: ==10531== Lock acquired, processing the job...
[2025-04-12 15:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 15:54:04] Production.INFO: ==10529== Lock acquired, processing the job...
[2025-04-12 15:54:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 15:54:04] Production.INFO: ==10535== Lock acquired, processing the job...
[2025-04-12 15:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 15:54:04] Production.INFO: ==10527== Releasing lock...
[2025-04-12 15:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 15:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 15:54:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 15:54:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 15:54:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 15:54:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 15:54:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 15:54:04] Production.INFO: Account Balance Start.
[2025-04-12 15:54:04] Production.INFO: CreateAllLog Start
[2025-04-12 15:54:04] Production.INFO: 117
[2025-04-12 15:54:04] Production.INFO: Date 2025-04-08
[2025-04-12 15:54:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:54:04] Production.INFO: count ==12
[2025-04-12 15:54:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 15:54:04] Production.ERROR: done
[2025-04-12 15:54:04] Production.INFO: Date 2025-04-09
[2025-04-12 15:54:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 15:54:04] Production.INFO: count ==23
[2025-04-12 15:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892610') start
[2025-04-12 15:54:04] Production.INFO: Date 2025-04-10
[2025-04-12 15:54:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:54:05] Production.INFO: Date 2025-04-11
[2025-04-12 15:54:05] Production.INFO: Reseller ==> 0
[2025-04-12 15:54:05] Production.ERROR: PBX CALL prc_importPBXExtension('14892610') end
[2025-04-12 15:54:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 15:54:05] Production.INFO: 1
[2025-04-12 15:54:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 15:54:05] Production.ERROR: done
[2025-04-12 15:54:05] Production.INFO: Date 2025-04-12
[2025-04-12 15:54:05] Production.INFO: Reseller ==> 0
[2025-04-12 15:54:05] Production.INFO: Total Charge 0
[2025-04-12 15:54:05] Production.INFO: ==10535== Releasing lock...
[2025-04-12 15:54:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 15:54:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 15:54:05] Production.INFO: CreateAllLog End
[2025-04-12 15:54:05] Production.INFO: Account Balance End.
[2025-04-12 15:54:05] Production.ERROR: CronJobId end 12
[2025-04-12 15:54:05] Production.INFO: ==10531== Releasing lock...
[2025-04-12 15:54:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 15:54:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 15:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 12:54:05
[end_date_ymd] => 2025-04-12 15:54:05
[RateCDR] => 1
)
[2025-04-12 15:54:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 12:54:05' and `end` < '2025-04-12 15:54:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 15:54:13] Production.ERROR: CronJobId end10
[2025-04-12 15:54:13] Production.INFO: ==10529== Releasing lock...
[2025-04-12 15:54:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 15:54:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 15:54:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 15:54:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 15:54:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 15:54:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 15:54:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 15:54:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 15:54:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 15:54:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 15:54:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 15:54:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 15:54:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 15:54:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 15:54:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 15:54:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 15:54:15] Production.INFO: call_cost start
[2025-04-12 15:54:15] Production.INFO: call_cost end
[2025-04-12 15:54:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 15:54:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 15:54:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 15:54:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 15:54:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 15:54:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 15:54:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 15:54:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 15:54:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 15:54:16] Production.INFO: ==10525== Releasing lock...
[2025-04-12 15:54:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 15:54:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 15:54:18] Production.INFO: count ==1448
[2025-04-12 15:54:19] Production.ERROR: pbx CDR StartTime 2025-04-12 12:54:05 - End Time 2025-04-12 15:54:05
[2025-04-12 15:54:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 15:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892611', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892611', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892611', 'tblTempVendorCDR_20' ) start
[2025-04-12 15:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892611', 'tblTempVendorCDR_20' ) end
[2025-04-12 15:54:19] Production.INFO: ProcessCDR(1,14892611,1,1,2)
[2025-04-12 15:54:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892611,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:54:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892611,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:54:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892611,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:54:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892611,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:54:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892611', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:54:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892611', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:54:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 15:54:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 15:54:24] Production.INFO: ==10533== Releasing lock...
[2025-04-12 15:54:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 15:54:24] Production.INFO: 39.25 MB #Memory Used#
[2025-04-12 20:55:01] Production.INFO: ==10597== Lock acquired, processing the job...
[2025-04-12 20:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 20:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 20:55:01] Production.INFO: neon service started
[2025-04-12 20:55:01] Production.INFO: neon service started
[2025-04-12 20:55:01] Production.INFO: ==10597== Releasing lock...
[2025-04-12 20:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 20:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 15:55:02] Production.INFO: ==10599== Lock acquired, processing the job...
[2025-04-12 15:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 19:55:02] Production.INFO: ==10601== Lock acquired, processing the job...
[2025-04-12 19:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 19:55:02] Production.INFO: ==10601== Releasing lock...
[2025-04-12 19:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 19:55:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 15:55:02] Production.INFO: ==10599== Releasing lock...
[2025-04-12 15:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 15:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 15:55:03] Production.INFO: ==10604== Lock acquired, processing the job...
[2025-04-12 15:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 15:55:03] Production.INFO: ==10614== Lock acquired, processing the job...
[2025-04-12 15:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 15:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 15: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-12 15:55:03] Production.INFO: ==10606== Lock acquired, processing the job...
[2025-04-12 15:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 15:55:03] Production.INFO: count ==12
[2025-04-12 15: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-12 15:55:03] Production.INFO: ==10608== Lock acquired, processing the job...
[2025-04-12 15:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 15:55:03] Production.INFO: count ==23
[2025-04-12 15:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14892613') start
[2025-04-12 15:55:03] Production.INFO: ==10610== Lock acquired, processing the job...
[2025-04-12 15:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 15:55:03] Production.INFO: ==10612== Lock acquired, processing the job...
[2025-04-12 15:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 15:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892613') end
[2025-04-12 15:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 15:55:04] Production.INFO: 1
[2025-04-12 15:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 15:55:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 15:55:04] Production.INFO: Account Balance Start.
[2025-04-12 15:55:04] Production.INFO: CreateAllLog Start
[2025-04-12 15:55:04] Production.INFO: 117
[2025-04-12 15:55:04] Production.INFO: Date 2025-04-08
[2025-04-12 15:55:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 15:55:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 15:55:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 15:55:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 15:55:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:55:04] Production.INFO: ==10614== Releasing lock...
[2025-04-12 15:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 15:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 15:55:04] Production.INFO: Date 2025-04-09
[2025-04-12 15:55:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:55:04] Production.INFO: ==10606== Releasing lock...
[2025-04-12 15:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 15:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 15:55:04] Production.ERROR: done
[2025-04-12 15:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 15:55:04] Production.INFO: Date 2025-04-10
[2025-04-12 15:55:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:55:04] Production.INFO: Date 2025-04-11
[2025-04-12 15:55:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:55:04] Production.ERROR: done
[2025-04-12 15:55:04] Production.INFO: Date 2025-04-12
[2025-04-12 15:55:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:55:04] Production.INFO: Total Charge 0
[2025-04-12 15:55:04] Production.INFO: CreateAllLog End
[2025-04-12 15:55:04] Production.INFO: Account Balance End.
[2025-04-12 15:55:04] Production.ERROR: CronJobId end 12
[2025-04-12 15:55:04] Production.INFO: ==10610== Releasing lock...
[2025-04-12 15:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 15:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 15:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 12:55:05
[end_date_ymd] => 2025-04-12 15:55:05
[RateCDR] => 1
)
[2025-04-12 15:55:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 12:55:05' and `end` < '2025-04-12 15:55:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 15:55:12] Production.ERROR: CronJobId end10
[2025-04-12 15:55:12] Production.INFO: ==10608== Releasing lock...
[2025-04-12 15:55:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 15:55:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 15:55:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 15:55:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 15:55:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 15:55:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 15:55:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 15:55:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 15:55:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 15:55:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 15:55:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 15:55:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 15:55:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 15:55:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 15:55:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 15:55:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 15:55:14] Production.INFO: call_cost start
[2025-04-12 15:55:14] Production.INFO: call_cost end
[2025-04-12 15:55:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 15:55:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 15:55:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 15:55:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 15:55:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 15:55:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 15:55:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 15:55:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 15:55:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 15:55:15] Production.INFO: ==10604== Releasing lock...
[2025-04-12 15:55:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 15:55:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 15:55:18] Production.INFO: count ==1445
[2025-04-12 15:55:18] Production.ERROR: pbx CDR StartTime 2025-04-12 12:55:05 - End Time 2025-04-12 15:55:05
[2025-04-12 15:55:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 15:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892616', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892616', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892616', 'tblTempVendorCDR_20' ) start
[2025-04-12 15:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892616', 'tblTempVendorCDR_20' ) end
[2025-04-12 15:55:18] Production.INFO: ProcessCDR(1,14892616,1,1,2)
[2025-04-12 15:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892616,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:55:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892616,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:55:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892616,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:55:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892616,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892616', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892616', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:55:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 15:55:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 15:55:22] Production.INFO: ==10612== Releasing lock...
[2025-04-12 15:55:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 15:55:22] Production.INFO: 39.5 MB #Memory Used#
[2025-04-12 20:56:02] Production.INFO: ==10676== Lock acquired, processing the job...
[2025-04-12 20:56:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 20:56:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 20:56:02] Production.INFO: neon service started
[2025-04-12 20:56:02] Production.INFO: neon service started
[2025-04-12 20:56:02] Production.INFO: ==10676== Releasing lock...
[2025-04-12 20:56:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 20:56:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 15:56:02] Production.INFO: ==10678== Lock acquired, processing the job...
[2025-04-12 15:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 15:56:02] Production.INFO: ==10678== Releasing lock...
[2025-04-12 15:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 15:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 19:56:03] Production.INFO: ==10680== Lock acquired, processing the job...
[2025-04-12 19:56:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 19:56:03] Production.INFO: ==10680== Releasing lock...
[2025-04-12 19:56:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 19:56:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 15:56:03] Production.INFO: ==10682== Lock acquired, processing the job...
[2025-04-12 15:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 15:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 15:56:03] Production.INFO: ==10687== Lock acquired, processing the job...
[2025-04-12 15:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 15:56:03] Production.INFO: ==10691== Lock acquired, processing the job...
[2025-04-12 15:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 15:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 15:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 15:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 15:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 15:56:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 15:56:04] Production.INFO: ==10684== Lock acquired, processing the job...
[2025-04-12 15:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 15:56:04] Production.INFO: ==10689== Lock acquired, processing the job...
[2025-04-12 15:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 15:56:04] Production.INFO: ==10693== Lock acquired, processing the job...
[2025-04-12 15:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 15:56:04] Production.ERROR: done
[2025-04-12 15:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 15:56:04] Production.INFO: Account Balance Start.
[2025-04-12 15:56:04] Production.INFO: CreateAllLog Start
[2025-04-12 15:56:04] Production.INFO: 117
[2025-04-12 15:56:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 15:56:04] Production.INFO: Date 2025-04-08
[2025-04-12 15:56:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:56:04] Production.INFO: count ==12
[2025-04-12 15:56:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 15:56:04] Production.INFO: count ==23
[2025-04-12 15:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892620') start
[2025-04-12 15:56:04] Production.ERROR: done
[2025-04-12 15:56:04] Production.INFO: Date 2025-04-09
[2025-04-12 15:56:04] Production.INFO: ==10684== Releasing lock...
[2025-04-12 15:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 15:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 15:56:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:56:04] Production.INFO: Date 2025-04-10
[2025-04-12 15:56:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892620') end
[2025-04-12 15:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 15:56:04] Production.INFO: 1
[2025-04-12 15:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 15:56:04] Production.INFO: Date 2025-04-11
[2025-04-12 15:56:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:56:04] Production.INFO: ==10693== Releasing lock...
[2025-04-12 15:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 15:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 15:56:04] Production.INFO: Date 2025-04-12
[2025-04-12 15:56:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:56:04] Production.INFO: Total Charge 0
[2025-04-12 15:56:05] Production.INFO: CreateAllLog End
[2025-04-12 15:56:05] Production.INFO: Account Balance End.
[2025-04-12 15:56:05] Production.ERROR: CronJobId end 12
[2025-04-12 15:56:05] Production.INFO: ==10689== Releasing lock...
[2025-04-12 15:56:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 15:56:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 15:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 12:56:05
[end_date_ymd] => 2025-04-12 15:56:05
[RateCDR] => 1
)
[2025-04-12 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-12 12:56:05' and `end` < '2025-04-12 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-12 15:56:13] Production.ERROR: CronJobId end10
[2025-04-12 15:56:13] Production.INFO: ==10687== Releasing lock...
[2025-04-12 15:56:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 15:56:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 15:56:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 15:56:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 15:56:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 15:56:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 15:56:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 15:56:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 15:56:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 15:56:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 15:56:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 15:56:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 15:56:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 15:56:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 15:56:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 15:56:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 15:56:15] Production.INFO: call_cost start
[2025-04-12 15:56:15] Production.INFO: call_cost end
[2025-04-12 15:56:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 15:56:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 15:56:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 15:56:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 15:56:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 15:56:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 15:56:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 15:56:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 15:56:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 15:56:16] Production.INFO: ==10682== Releasing lock...
[2025-04-12 15:56:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 15:56:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 15:56:18] Production.INFO: count ==1445
[2025-04-12 15:56:18] Production.ERROR: pbx CDR StartTime 2025-04-12 12:56:05 - End Time 2025-04-12 15:56:05
[2025-04-12 15:56:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 15:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892621', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892621', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892621', 'tblTempVendorCDR_20' ) start
[2025-04-12 15:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892621', 'tblTempVendorCDR_20' ) end
[2025-04-12 15:56:18] Production.INFO: ProcessCDR(1,14892621,1,1,2)
[2025-04-12 15:56:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892621,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:56:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892621,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:56:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892621,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:56:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892621,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892621', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892621', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:56:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 15:56:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 15:56:22] Production.INFO: ==10691== Releasing lock...
[2025-04-12 15:56:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 15:56:22] Production.INFO: 39.5 MB #Memory Used#
[2025-04-12 20:57:01] Production.INFO: ==10757== Lock acquired, processing the job...
[2025-04-12 20:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 20:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 20:57:01] Production.INFO: neon service started
[2025-04-12 20:57:01] Production.INFO: neon service started
[2025-04-12 20:57:01] Production.INFO: ==10757== Releasing lock...
[2025-04-12 20:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 20:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 15:57:02] Production.INFO: ==10759== Lock acquired, processing the job...
[2025-04-12 15:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 19:57:02] Production.INFO: ==10761== Lock acquired, processing the job...
[2025-04-12 19:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 19:57:02] Production.INFO: ==10761== Releasing lock...
[2025-04-12 19:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 19:57:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 15:57:02] Production.INFO: ==10759== Releasing lock...
[2025-04-12 15:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 15:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 15:57:03] Production.INFO: ==10764== Lock acquired, processing the job...
[2025-04-12 15:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 15:57:03] Production.INFO: ==10766== Lock acquired, processing the job...
[2025-04-12 15:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 15:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 15:57:03] Production.INFO: ==10770== Lock acquired, processing the job...
[2025-04-12 15:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 15:57:03] Production.INFO: ==10768== Lock acquired, processing the job...
[2025-04-12 15:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 15:57:03] Production.INFO: ==10766== Releasing lock...
[2025-04-12 15:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 15:57:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 15:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 15:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 15:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 15:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 15:57:03] Production.INFO: Account Balance Start.
[2025-04-12 15:57:03] Production.INFO: CreateAllLog Start
[2025-04-12 15:57:03] Production.INFO: 117
[2025-04-12 15:57:03] Production.INFO: Date 2025-04-08
[2025-04-12 15:57:04] Production.INFO: ==10772== Lock acquired, processing the job...
[2025-04-12 15:57:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 15:57:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:57:04] Production.INFO: Date 2025-04-09
[2025-04-12 15:57:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:57:04] Production.INFO: ==10774== Lock acquired, processing the job...
[2025-04-12 15:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 15:57:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 15:57:04] Production.INFO: Date 2025-04-10
[2025-04-12 15:57:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:57:04] Production.INFO: Date 2025-04-11
[2025-04-12 15:57:04] Production.INFO: Reseller ==> 0
[2025-04-12 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-12 15:57:04] Production.INFO: Date 2025-04-12
[2025-04-12 15:57:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:57:04] Production.INFO: Total Charge 0
[2025-04-12 15:57:04] Production.INFO: CreateAllLog End
[2025-04-12 15:57:04] Production.INFO: count ==12
[2025-04-12 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-12 15:57:04] Production.INFO: count ==23
[2025-04-12 15:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892625') start
[2025-04-12 15:57:04] Production.INFO: Account Balance End.
[2025-04-12 15:57:04] Production.ERROR: done
[2025-04-12 15:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 15:57:04] Production.ERROR: CronJobId end 12
[2025-04-12 15:57:04] Production.INFO: ==10770== Releasing lock...
[2025-04-12 15:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 15:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 15:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892625') end
[2025-04-12 15:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 15:57:04] Production.INFO: 1
[2025-04-12 15:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 15:57:04] Production.INFO: ==10774== Releasing lock...
[2025-04-12 15:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 15:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 15:57:04] Production.ERROR: done
[2025-04-12 15:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 12:57:05
[end_date_ymd] => 2025-04-12 15:57:05
[RateCDR] => 1
)
[2025-04-12 15:57:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 12:57:05' and `end` < '2025-04-12 15:57:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 15:57:11] Production.ERROR: CronJobId end10
[2025-04-12 15:57:11] Production.INFO: ==10768== Releasing lock...
[2025-04-12 15:57:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 15:57:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 15:57:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 15:57:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 15:57:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 15:57:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 15:57:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 15:57:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 15:57:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 15:57:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 15:57:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 15:57:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 15:57:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 15:57:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 15:57:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 15:57:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 15:57:14] Production.INFO: call_cost start
[2025-04-12 15:57:14] Production.INFO: call_cost end
[2025-04-12 15:57:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 15:57:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 15:57:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 15:57:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 15:57:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 15:57:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 15:57:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 15:57:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 15:57:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 15:57:15] Production.INFO: ==10764== Releasing lock...
[2025-04-12 15:57:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 15:57:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 15:57:18] Production.INFO: count ==1431
[2025-04-12 15:57:19] Production.ERROR: pbx CDR StartTime 2025-04-12 12:57:05 - End Time 2025-04-12 15:57:05
[2025-04-12 15:57:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 15:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892626', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892626', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892626', 'tblTempVendorCDR_20' ) start
[2025-04-12 15:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892626', 'tblTempVendorCDR_20' ) end
[2025-04-12 15:57:19] Production.INFO: ProcessCDR(1,14892626,1,1,2)
[2025-04-12 15:57:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892626,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:57:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892626,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:57:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892626,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:57:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892626,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892626', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892626', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:57:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 15:57:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 15:57:22] Production.INFO: ==10772== Releasing lock...
[2025-04-12 15:57:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 15:57:22] Production.INFO: 39 MB #Memory Used#
[2025-04-12 20:58:02] Production.INFO: ==10835== Lock acquired, processing the job...
[2025-04-12 20:58:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 20:58:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 20:58:02] Production.INFO: neon service started
[2025-04-12 20:58:02] Production.INFO: neon service started
[2025-04-12 20:58:02] Production.INFO: ==10835== Releasing lock...
[2025-04-12 20:58:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 20:58:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 15:58:02] Production.INFO: ==10837== Lock acquired, processing the job...
[2025-04-12 15:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 19:58:02] Production.INFO: ==10839== Lock acquired, processing the job...
[2025-04-12 19:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 19:58:02] Production.INFO: ==10839== Releasing lock...
[2025-04-12 19:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 19:58:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 15:58:03] Production.INFO: ==10837== Releasing lock...
[2025-04-12 15:58:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 15:58:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 15:58:04] Production.INFO: ==10848== Lock acquired, processing the job...
[2025-04-12 15:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 15:58:04] Production.INFO: ==10850== Lock acquired, processing the job...
[2025-04-12 15:58:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 15:58:04] Production.INFO: Account Balance Start.
[2025-04-12 15:58:04] Production.INFO: CreateAllLog Start
[2025-04-12 15:58:04] Production.INFO: 117
[2025-04-12 15:58:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 15:58:04] Production.INFO: Date 2025-04-08
[2025-04-12 15:58:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:58:04] Production.INFO: ==10842== Lock acquired, processing the job...
[2025-04-12 15:58:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 15:58:04] Production.INFO: Date 2025-04-09
[2025-04-12 15:58:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:58:04] Production.INFO: ==10846== Lock acquired, processing the job...
[2025-04-12 15:58:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 15:58:04] Production.INFO: Date 2025-04-10
[2025-04-12 15:58:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:58:04] Production.INFO: ==10844== Lock acquired, processing the job...
[2025-04-12 15:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 15:58:04] Production.INFO: ==10852== Lock acquired, processing the job...
[2025-04-12 15:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 15:58:04] Production.INFO: Date 2025-04-11
[2025-04-12 15:58:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:58:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 15:58:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 15:58:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 15:58:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 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-12 15:58:04] Production.INFO: Date 2025-04-12
[2025-04-12 15:58:04] Production.INFO: Reseller ==> 0
[2025-04-12 15:58:04] Production.INFO: count ==12
[2025-04-12 15:58:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 15:58:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 15:58:04] Production.INFO: count ==23
[2025-04-12 15:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892629') start
[2025-04-12 15:58:04] Production.INFO: Total Charge 0
[2025-04-12 15:58:04] Production.INFO: CreateAllLog End
[2025-04-12 15:58:04] Production.INFO: ==10844== Releasing lock...
[2025-04-12 15:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 15:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 15:58:04] Production.ERROR: done
[2025-04-12 15:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892629') end
[2025-04-12 15:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 15:58:04] Production.INFO: 1
[2025-04-12 15:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 15:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 15:58:04] Production.INFO: ==10852== Releasing lock...
[2025-04-12 15:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 15:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 15:58:04] Production.INFO: Account Balance End.
[2025-04-12 15:58:04] Production.ERROR: done
[2025-04-12 15:58:04] Production.ERROR: CronJobId end 12
[2025-04-12 15:58:04] Production.INFO: ==10848== Releasing lock...
[2025-04-12 15:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 15:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 15:58:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 12:58:06
[end_date_ymd] => 2025-04-12 15:58:06
[RateCDR] => 1
)
[2025-04-12 15:58:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 12:58:06' and `end` < '2025-04-12 15:58:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 15:58:12] Production.ERROR: CronJobId end10
[2025-04-12 15:58:12] Production.INFO: ==10846== Releasing lock...
[2025-04-12 15:58:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 15:58:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 15:58:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 15:58:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 15:58:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 15:58:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 15:58:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 15:58:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 15:58:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 15:58:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 15:58:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 15:58:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 15:58:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 15:58:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 15:58:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 15:58:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 15:58:15] Production.INFO: call_cost start
[2025-04-12 15:58:15] Production.INFO: call_cost end
[2025-04-12 15:58:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 15:58:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 15:58:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 15:58:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 15:58:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 15:58:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 15:58:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 15:58:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 15:58:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 15:58:15] Production.INFO: ==10842== Releasing lock...
[2025-04-12 15:58:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 15:58:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 15:58:19] Production.INFO: count ==1421
[2025-04-12 15:58:19] Production.ERROR: pbx CDR StartTime 2025-04-12 12:58:06 - End Time 2025-04-12 15:58:06
[2025-04-12 15:58:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 15:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892631', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892631', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892631', 'tblTempVendorCDR_20' ) start
[2025-04-12 15:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892631', 'tblTempVendorCDR_20' ) end
[2025-04-12 15:58:19] Production.INFO: ProcessCDR(1,14892631,1,1,2)
[2025-04-12 15:58:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892631,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:58:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892631,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:58:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892631,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:58:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892631,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:58:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892631', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:58:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892631', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:58:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 15:58:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 15:58:24] Production.INFO: ==10850== Releasing lock...
[2025-04-12 15:58:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 15:58:24] Production.INFO: 39.25 MB #Memory Used#
[2025-04-12 20:59:01] Production.INFO: ==10915== Lock acquired, processing the job...
[2025-04-12 20:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 20:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 20:59:01] Production.INFO: neon service started
[2025-04-12 20:59:01] Production.INFO: neon service started
[2025-04-12 20:59:01] Production.INFO: ==10915== Releasing lock...
[2025-04-12 20:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 20:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 15:59:02] Production.INFO: ==10917== Lock acquired, processing the job...
[2025-04-12 15:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 19:59:02] Production.INFO: ==10919== Lock acquired, processing the job...
[2025-04-12 19:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 19:59:02] Production.INFO: ==10919== Releasing lock...
[2025-04-12 19:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 19:59:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 15:59:02] Production.INFO: ==10917== Releasing lock...
[2025-04-12 15:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 15:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 15:59:03] Production.INFO: ==10928== Lock acquired, processing the job...
[2025-04-12 15:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 15:59:03] Production.INFO: Account Balance Start.
[2025-04-12 15:59:03] Production.INFO: CreateAllLog Start
[2025-04-12 15:59:03] Production.INFO: 117
[2025-04-12 15:59:03] Production.INFO: Date 2025-04-08
[2025-04-12 15:59:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:59:03] Production.INFO: Date 2025-04-09
[2025-04-12 15:59:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:59:03] Production.INFO: Date 2025-04-10
[2025-04-12 15:59:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:59:03] Production.INFO: Date 2025-04-11
[2025-04-12 15:59:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:59:03] Production.INFO: Date 2025-04-12
[2025-04-12 15:59:03] Production.INFO: Reseller ==> 0
[2025-04-12 15:59:03] Production.INFO: Total Charge 0
[2025-04-12 15:59:03] Production.INFO: CreateAllLog End
[2025-04-12 15:59:03] Production.INFO: ==10922== Lock acquired, processing the job...
[2025-04-12 15:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 15:59:03] Production.INFO: ==10924== Lock acquired, processing the job...
[2025-04-12 15:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 15:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 15:59:03] Production.INFO: ==10930== Lock acquired, processing the job...
[2025-04-12 15:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 15:59:03] Production.INFO: Account Balance End.
[2025-04-12 15:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 15:59:03] Production.ERROR: CronJobId end 12
[2025-04-12 15:59:03] Production.INFO: ==10928== Releasing lock...
[2025-04-12 15:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 15:59:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 15:59:03] Production.INFO: ==10926== Lock acquired, processing the job...
[2025-04-12 15:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 15:59:04] Production.INFO: ==10932== Lock acquired, processing the job...
[2025-04-12 15:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 15:59:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 15:59:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 15:59:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 15:59:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 15:59:04] Production.INFO: ==10924== Releasing lock...
[2025-04-12 15:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 15:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 15:59:04] Production.ERROR: done
[2025-04-12 15:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 15:59:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 15:59:04] Production.INFO: count ==12
[2025-04-12 15:59:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 15:59:04] Production.INFO: count ==23
[2025-04-12 15:59:04] Production.ERROR: done
[2025-04-12 15:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892635') start
[2025-04-12 15:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892635') end
[2025-04-12 15:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 15:59:04] Production.INFO: 1
[2025-04-12 15:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 15:59:04] Production.INFO: ==10932== Releasing lock...
[2025-04-12 15:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 15:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 15:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 12:59:05
[end_date_ymd] => 2025-04-12 15:59:05
[RateCDR] => 1
)
[2025-04-12 15:59:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 12:59:05' and `end` < '2025-04-12 15:59:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 15:59:12] Production.ERROR: CronJobId end10
[2025-04-12 15:59:12] Production.INFO: ==10926== Releasing lock...
[2025-04-12 15:59:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 15:59:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 15:59:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 15:59:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 15:59:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 15:59:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 15:59:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 15:59:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 15:59:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 15:59:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 15:59:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 15:59:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 15:59:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 15:59:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 15:59:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 15:59:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 15:59:15] Production.INFO: call_cost start
[2025-04-12 15:59:15] Production.INFO: call_cost end
[2025-04-12 15:59:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 15:59:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 15:59:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 15:59:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 15:59:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 15:59:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 15:59:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 15:59:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 15:59:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 15:59:16] Production.INFO: ==10922== Releasing lock...
[2025-04-12 15:59:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 15:59:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 15:59:18] Production.INFO: count ==1421
[2025-04-12 15:59:18] Production.ERROR: pbx CDR StartTime 2025-04-12 12:59:05 - End Time 2025-04-12 15:59:05
[2025-04-12 15:59:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 15:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892636', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892636', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892636', 'tblTempVendorCDR_20' ) start
[2025-04-12 15:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892636', 'tblTempVendorCDR_20' ) end
[2025-04-12 15:59:18] Production.INFO: ProcessCDR(1,14892636,1,1,2)
[2025-04-12 15:59:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892636,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:59:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892636,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 15:59:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892636,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:59:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892636,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 15:59:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892636', 'tblTempUsageDetail_20' ) start
[2025-04-12 15:59:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892636', 'tblTempUsageDetail_20' ) end
[2025-04-12 15:59:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 15:59:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 15:59:23] Production.INFO: ==10930== Releasing lock...
[2025-04-12 15:59:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 15:59:23] Production.INFO: 39.25 MB #Memory Used#
[2025-04-12 21:00:02] Production.INFO: ==11001== Lock acquired, processing the job...
[2025-04-12 21:00:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 21:00:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 21:00:02] Production.INFO: neon service started
[2025-04-12 21:00:02] Production.INFO: neon service started
[2025-04-12 21:00:02] Production.INFO: ==11001== Releasing lock...
[2025-04-12 21:00:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 21:00:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 20:00:02] Production.INFO: ==11005== Lock acquired, processing the job...
[2025-04-12 20:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 20:00:02] Production.INFO: ==11005== Releasing lock...
[2025-04-12 20:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 20:00:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 16:00:02] Production.INFO: ==11003== Lock acquired, processing the job...
[2025-04-12 16:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 16:00:03] Production.INFO: ==11003== Releasing lock...
[2025-04-12 16:00:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 16:00:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 16:00:04] Production.INFO: ==11007== Lock acquired, processing the job...
[2025-04-12 16:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 16:00:04] Production.INFO: ==11009== Lock acquired, processing the job...
[2025-04-12 16:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 16:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 16:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 16:00:04] Production.ERROR: CronJob PID - 11009
[2025-04-12 16:00:04] Production.ERROR: CronJob Title - System Alerts
[2025-04-12 16:00:04] Production.ERROR: CronJob ID - 5
[2025-04-12 16:00:04] Production.ERROR: CronJob Last Run Time 2025-04-12 16:00:00
[2025-04-12 16:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 16:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 16:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 16:00:04] Production.INFO: ==11007== Releasing lock...
[2025-04-12 16:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 16:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 16:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 16:00:04] Production.INFO: ==11015== Lock acquired, processing the job...
[2025-04-12 16:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 16:00:04] Production.INFO: ==11019== Lock acquired, processing the job...
[2025-04-12 16:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 16:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 16:00:04] Production.INFO: ==11011== Lock acquired, processing the job...
[2025-04-12 16:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 16:00:04] Production.INFO: Account Balance Start.
[2025-04-12 16:00:04] Production.INFO: CreateAllLog Start
[2025-04-12 16:00:04] Production.INFO: 117
[2025-04-12 16:00:04] Production.INFO: Date 2025-04-08
[2025-04-12 16:00:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:00:04] Production.INFO: ==11013== Lock acquired, processing the job...
[2025-04-12 16:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 16:00:04] Production.INFO: Date 2025-04-09
[2025-04-12 16:00:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:00:04] Production.INFO: Date 2025-04-10
[2025-04-12 16:00:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:00:04] Production.INFO: ==11017== Lock acquired, processing the job...
[2025-04-12 16:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 16:00:04] Production.INFO: Date 2025-04-11
[2025-04-12 16:00:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:00:04] Production.INFO: Date 2025-04-12
[2025-04-12 16:00:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:00:04] Production.INFO: Total Charge 0
[2025-04-12 16:00:04] Production.INFO: ==11022== Lock acquired, processing the job...
[2025-04-12 16:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 16:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 16:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 16:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 16:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 16:00:04] Production.INFO: CreateAllLog End
[2025-04-12 16:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 16:00:04] Production.ERROR: done
[2025-04-12 16:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 16:00:05] Production.INFO: count ==12
[2025-04-12 16:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 16:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14892641', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 16: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-12 16:00:05] Production.INFO: count ==23
[2025-04-12 16:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14892640') start
[2025-04-12 16:00:05] Production.INFO: ==11011== Releasing lock...
[2025-04-12 16:00:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 16:00:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 16:00:05] Production.INFO: Account Balance End.
[2025-04-12 16:00:05] Production.ERROR: done
[2025-04-12 16:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14892640') end
[2025-04-12 16:00:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 16:00:05] Production.INFO: 1
[2025-04-12 16:00:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 16:00:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 16:00:05] Production.ERROR: CronJobId end 12
[2025-04-12 16:00:05] Production.INFO: ==11015== Releasing lock...
[2025-04-12 16:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 16:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 16:00:05] Production.INFO: ==11022== Releasing lock...
[2025-04-12 16:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 16:00:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 16:00:05] Production.ERROR: done
[2025-04-12 16:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 13:00:06
[end_date_ymd] => 2025-04-12 16:00:06
[RateCDR] => 1
)
[2025-04-12 16:00:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 13:00:06' and `end` < '2025-04-12 16:00:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 16:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14892641', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 16:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 16:00:09] Production.INFO: ProcessCDR(1,14892641,1,1,2)
[2025-04-12 16:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14892641,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14892641,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 16:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 16:00:09] Production.INFO: ==11019== Releasing lock...
[2025-04-12 16:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 16:00:09] Production.INFO: 26 MB #Memory Used#
[2025-04-12 16:00:14] Production.ERROR: CronJobId end10
[2025-04-12 16:00:14] Production.INFO: ==11013== Releasing lock...
[2025-04-12 16:00:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 16:00:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 16:00:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 16:00:17] Production.INFO: ============== Balance Warning START===========
[2025-04-12 16:00:17] Production.INFO: ============== Balance Warning END===========
[2025-04-12 16:00:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 16:00:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 16:00:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 16:00:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 16:00:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 16:00:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 16:00:17] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 16:00:17] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 16:00:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 16:00:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 16:00:17] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 16:00:17] Production.INFO: call_cost start
[2025-04-12 16:00:17] Production.INFO: call_cost end
[2025-04-12 16:00:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 16:00:18] Production.INFO: ============== Report Schedule START===========
[2025-04-12 16:00:18] Production.INFO: ============== Report Schedule END===========
[2025-04-12 16:00:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 16:00:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 16:00:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 16:00:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 16:00:18] Production.INFO: ============== Deal alert START===========
[2025-04-12 16:00:18] Production.INFO: ============== Deal alert END===========
[2025-04-12 16:00:18] Production.INFO: ==11009== Releasing lock...
[2025-04-12 16:00:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 16:00:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 16:00:19] Production.INFO: count ==1422
[2025-04-12 16:00:20] Production.ERROR: pbx CDR StartTime 2025-04-12 13:00:06 - End Time 2025-04-12 16:00:06
[2025-04-12 16:00:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 16:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892642', 'tblTempUsageDetail_20' ) start
[2025-04-12 16:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892642', 'tblTempUsageDetail_20' ) end
[2025-04-12 16:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892642', 'tblTempVendorCDR_20' ) start
[2025-04-12 16:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892642', 'tblTempVendorCDR_20' ) end
[2025-04-12 16:00:20] Production.INFO: ProcessCDR(1,14892642,1,1,2)
[2025-04-12 16:00:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892642,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 16:00:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892642,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 16:00:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892642,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:00:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892642,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:00:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892642', 'tblTempUsageDetail_20' ) start
[2025-04-12 16:00:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892642', 'tblTempUsageDetail_20' ) end
[2025-04-12 16:00:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 16:00:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 16:00:25] Production.INFO: ==11017== Releasing lock...
[2025-04-12 16:00:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 16:00:25] Production.INFO: 39.5 MB #Memory Used#
[2025-04-12 21:01:01] Production.INFO: ==11086== Lock acquired, processing the job...
[2025-04-12 21:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 21:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 21:01:01] Production.INFO: neon service started
[2025-04-12 21:01:01] Production.INFO: neon service started
[2025-04-12 21:01:01] Production.INFO: ==11086== Releasing lock...
[2025-04-12 21:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 21:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 16:01:01] Production.INFO: ==11098== Lock acquired, processing the job...
[2025-04-12 16:01:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 16:01:02] Production.INFO: ==11098== Releasing lock...
[2025-04-12 16:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 16:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 20:01:02] Production.INFO: ==11100== Lock acquired, processing the job...
[2025-04-12 20:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 20:01:02] Production.INFO: ==11100== Releasing lock...
[2025-04-12 20:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 20:01:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 16:01:03] Production.INFO: ==11102== Lock acquired, processing the job...
[2025-04-12 16:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 16:01:03] Production.INFO: ==11104== Lock acquired, processing the job...
[2025-04-12 16:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 16:01:03] Production.INFO: ==11113== Lock acquired, processing the job...
[2025-04-12 16:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 16:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 16:01:03] Production.INFO: ==11106== Lock acquired, processing the job...
[2025-04-12 16:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 16:01:03] Production.INFO: ==11108== Lock acquired, processing the job...
[2025-04-12 16:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 16:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 16:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 16:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 16:01:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 16:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 16:01:03] Production.INFO: ==11110== Lock acquired, processing the job...
[2025-04-12 16:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 16:01:03] Production.INFO: Account Balance Start.
[2025-04-12 16:01:03] Production.INFO: CreateAllLog Start
[2025-04-12 16:01:03] Production.INFO: 117
[2025-04-12 16:01:03] Production.INFO: Date 2025-04-08
[2025-04-12 16:01:03] Production.INFO: Reseller ==> 0
[2025-04-12 16:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 16:01:03] Production.INFO: count ==12
[2025-04-12 16:01:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 16:01:03] Production.INFO: count ==23
[2025-04-12 16:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14892645') start
[2025-04-12 16:01:03] Production.INFO: Date 2025-04-09
[2025-04-12 16:01:03] Production.INFO: Reseller ==> 0
[2025-04-12 16:01:03] Production.INFO: ==11104== Releasing lock...
[2025-04-12 16:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 16:01:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 16:01:03] Production.INFO: Date 2025-04-10
[2025-04-12 16:01:03] Production.INFO: Reseller ==> 0
[2025-04-12 16:01:03] Production.INFO: Date 2025-04-11
[2025-04-12 16:01:03] Production.INFO: Reseller ==> 0
[2025-04-12 16:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14892645') end
[2025-04-12 16:01:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 16:01:03] Production.INFO: 1
[2025-04-12 16:01:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 16:01:03] Production.INFO: Date 2025-04-12
[2025-04-12 16:01:03] Production.INFO: Reseller ==> 0
[2025-04-12 16:01:03] Production.INFO: ==11113== Releasing lock...
[2025-04-12 16:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 16:01:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 16:01:03] Production.INFO: Total Charge 0
[2025-04-12 16:01:03] Production.INFO: CreateAllLog End
[2025-04-12 16:01:04] Production.ERROR: done
[2025-04-12 16:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 16:01:04] Production.INFO: Account Balance End.
[2025-04-12 16:01:04] Production.ERROR: CronJobId end 12
[2025-04-12 16:01:04] Production.INFO: ==11108== Releasing lock...
[2025-04-12 16:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 16:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 16:01:04] Production.ERROR: done
[2025-04-12 16:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 13:01:05
[end_date_ymd] => 2025-04-12 16:01:05
[RateCDR] => 1
)
[2025-04-12 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-12 13:01:05' and `end` < '2025-04-12 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-12 16:01:12] Production.ERROR: CronJobId end10
[2025-04-12 16:01:12] Production.INFO: ==11106== Releasing lock...
[2025-04-12 16:01:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 16:01:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 16:01:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 16:01:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 16:01:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 16:01:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 16:01:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 16:01:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 16:01:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 16:01:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 16:01:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 16:01:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 16:01:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 16:01:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 16:01:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 16:01:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 16:01:15] Production.INFO: call_cost start
[2025-04-12 16:01:15] Production.INFO: call_cost end
[2025-04-12 16:01:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 16:01:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 16:01:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 16:01:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 16:01:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 16:01:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 16:01:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 16:01:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 16:01:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 16:01:16] Production.INFO: ==11102== Releasing lock...
[2025-04-12 16:01:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 16:01:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 16:01:18] Production.INFO: count ==1418
[2025-04-12 16:01:18] Production.ERROR: pbx CDR StartTime 2025-04-12 13:01:05 - End Time 2025-04-12 16:01:05
[2025-04-12 16:01:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 16:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892647', 'tblTempUsageDetail_20' ) start
[2025-04-12 16:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892647', 'tblTempUsageDetail_20' ) end
[2025-04-12 16:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892647', 'tblTempVendorCDR_20' ) start
[2025-04-12 16:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892647', 'tblTempVendorCDR_20' ) end
[2025-04-12 16:01:18] Production.INFO: ProcessCDR(1,14892647,1,1,2)
[2025-04-12 16:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892647,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 16:01:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892647,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 16:01:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892647,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:01:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892647,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:01:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892647', 'tblTempUsageDetail_20' ) start
[2025-04-12 16:01:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892647', 'tblTempUsageDetail_20' ) end
[2025-04-12 16:01:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 16:01:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 16:01:24] Production.INFO: ==11110== Releasing lock...
[2025-04-12 16:01:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 16:01:24] Production.INFO: 39.5 MB #Memory Used#
[2025-04-12 21:02:02] Production.INFO: ==11174== Lock acquired, processing the job...
[2025-04-12 21:02:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 21:02:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 21:02:02] Production.INFO: neon service started
[2025-04-12 21:02:02] Production.INFO: neon service started
[2025-04-12 21:02:02] Production.INFO: ==11174== Releasing lock...
[2025-04-12 21:02:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 21:02:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 20:02:02] Production.INFO: ==11178== Lock acquired, processing the job...
[2025-04-12 20:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 20:02:02] Production.INFO: ==11178== Releasing lock...
[2025-04-12 20:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 20:02:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 16:02:02] Production.INFO: ==11176== Lock acquired, processing the job...
[2025-04-12 16:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 16:02:03] Production.INFO: ==11176== Releasing lock...
[2025-04-12 16:02:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 16:02:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 16:02:03] Production.INFO: ==11181== Lock acquired, processing the job...
[2025-04-12 16:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 16:02:04] Production.INFO: ==11183== Lock acquired, processing the job...
[2025-04-12 16:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 16:02:04] Production.INFO: ==11187== Lock acquired, processing the job...
[2025-04-12 16:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 16:02:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 16:02:04] Production.INFO: Account Balance Start.
[2025-04-12 16:02:04] Production.INFO: CreateAllLog Start
[2025-04-12 16:02:04] Production.INFO: 117
[2025-04-12 16:02:04] Production.INFO: Date 2025-04-08
[2025-04-12 16:02:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:02:04] Production.INFO: Date 2025-04-09
[2025-04-12 16:02:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:02:04] Production.INFO: ==11185== Lock acquired, processing the job...
[2025-04-12 16:02:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 16:02:04] Production.INFO: Date 2025-04-10
[2025-04-12 16:02:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:02:04] Production.INFO: Date 2025-04-11
[2025-04-12 16:02:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:02:04] Production.INFO: ==11189== Lock acquired, processing the job...
[2025-04-12 16:02:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 16:02:04] Production.INFO: Date 2025-04-12
[2025-04-12 16:02:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:02:04] Production.INFO: ==11183== Releasing lock...
[2025-04-12 16:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 16:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 16:02:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 16:02:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 16:02:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 16:02:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 16:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 16:02:04] Production.INFO: Total Charge 0
[2025-04-12 16:02:04] Production.INFO: CreateAllLog End
[2025-04-12 16:02:04] Production.INFO: ==11191== Lock acquired, processing the job...
[2025-04-12 16:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 16:02:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 16:02:04] Production.INFO: count ==12
[2025-04-12 16:02:04] Production.ERROR: done
[2025-04-12 16:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 16:02:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 16:02:04] Production.INFO: count ==23
[2025-04-12 16:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892651') start
[2025-04-12 16:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892651') end
[2025-04-12 16:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 16:02:04] Production.INFO: 1
[2025-04-12 16:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 16:02:05] Production.INFO: Account Balance End.
[2025-04-12 16:02:05] Production.INFO: ==11191== Releasing lock...
[2025-04-12 16:02:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 16:02:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 16:02:05] Production.ERROR: done
[2025-04-12 16:02:05] Production.ERROR: CronJobId end 12
[2025-04-12 16:02:05] Production.INFO: ==11187== Releasing lock...
[2025-04-12 16:02:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 16:02:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 16:02:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 13:02:06
[end_date_ymd] => 2025-04-12 16:02:06
[RateCDR] => 1
)
[2025-04-12 16:02:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 13:02:06' and `end` < '2025-04-12 16:02:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 16:02:12] Production.ERROR: CronJobId end10
[2025-04-12 16:02:12] Production.INFO: ==11185== Releasing lock...
[2025-04-12 16:02:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 16:02:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 16:02:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 16:02:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 16:02:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 16:02:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 16:02:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 16:02:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 16:02:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 16:02:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 16:02:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 16:02:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 16:02:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 16:02:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 16:02:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 16:02:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 16:02:16] Production.INFO: call_cost start
[2025-04-12 16:02:16] Production.INFO: call_cost end
[2025-04-12 16:02:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 16:02:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 16:02:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 16:02:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 16:02:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 16:02:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 16:02:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 16:02:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 16:02:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 16:02:17] Production.INFO: ==11181== Releasing lock...
[2025-04-12 16:02:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 16:02:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 16:02:19] Production.INFO: count ==1414
[2025-04-12 16:02:19] Production.ERROR: pbx CDR StartTime 2025-04-12 13:02:06 - End Time 2025-04-12 16:02:06
[2025-04-12 16:02:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 16:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892652', 'tblTempUsageDetail_20' ) start
[2025-04-12 16:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892652', 'tblTempUsageDetail_20' ) end
[2025-04-12 16:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892652', 'tblTempVendorCDR_20' ) start
[2025-04-12 16:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892652', 'tblTempVendorCDR_20' ) end
[2025-04-12 16:02:19] Production.INFO: ProcessCDR(1,14892652,1,1,2)
[2025-04-12 16:02:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892652,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 16:02:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892652,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 16:02:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892652,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:02:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892652,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:02:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892652', 'tblTempUsageDetail_20' ) start
[2025-04-12 16:02:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892652', 'tblTempUsageDetail_20' ) end
[2025-04-12 16:02:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 16:02:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 16:02:25] Production.INFO: ==11189== Releasing lock...
[2025-04-12 16:02:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 16:02:25] Production.INFO: 39.25 MB #Memory Used#
[2025-04-12 21:03:01] Production.INFO: ==11245== Lock acquired, processing the job...
[2025-04-12 21:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 21:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 21:03:01] Production.INFO: neon service started
[2025-04-12 21:03:01] Production.INFO: neon service started
[2025-04-12 21:03:01] Production.INFO: ==11245== Releasing lock...
[2025-04-12 21:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 21:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 16:03:02] Production.INFO: ==11247== Lock acquired, processing the job...
[2025-04-12 16:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 16:03:02] Production.INFO: ==11247== Releasing lock...
[2025-04-12 16:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 16:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 20:03:02] Production.INFO: ==11249== Lock acquired, processing the job...
[2025-04-12 20:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 20:03:02] Production.INFO: ==11249== Releasing lock...
[2025-04-12 20:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 20:03:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 16:03:03] Production.INFO: ==11260== Lock acquired, processing the job...
[2025-04-12 16:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 16:03:03] Production.INFO: ==11251== Lock acquired, processing the job...
[2025-04-12 16:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 16:03:03] Production.INFO: ==11257== Lock acquired, processing the job...
[2025-04-12 16:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 16:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 16:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 16:03:03] Production.INFO: ==11255== Lock acquired, processing the job...
[2025-04-12 16:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 16:03:03] Production.INFO: Account Balance Start.
[2025-04-12 16:03:03] Production.INFO: CreateAllLog Start
[2025-04-12 16:03:03] Production.INFO: 117
[2025-04-12 16:03:03] Production.INFO: ==11253== Lock acquired, processing the job...
[2025-04-12 16:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 16:03:03] Production.INFO: Date 2025-04-08
[2025-04-12 16:03:03] Production.INFO: Reseller ==> 0
[2025-04-12 16:03:03] Production.INFO: ==11262== Lock acquired, processing the job...
[2025-04-12 16:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 16:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 16:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 16:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 16:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 16:03:03] Production.INFO: Date 2025-04-09
[2025-04-12 16:03:03] Production.INFO: Reseller ==> 0
[2025-04-12 16:03:03] Production.INFO: Date 2025-04-10
[2025-04-12 16:03:03] Production.INFO: Reseller ==> 0
[2025-04-12 16:03:03] Production.INFO: Date 2025-04-11
[2025-04-12 16:03:03] Production.INFO: Reseller ==> 0
[2025-04-12 16:03:03] Production.INFO: Date 2025-04-12
[2025-04-12 16:03:03] Production.INFO: Reseller ==> 0
[2025-04-12 16:03:03] Production.INFO: Total Charge 0
[2025-04-12 16:03:03] Production.INFO: CreateAllLog End
[2025-04-12 16:03:04] Production.INFO: ==11253== Releasing lock...
[2025-04-12 16:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 16:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 16:03:04] Production.ERROR: done
[2025-04-12 16:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 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-12 16:03:04] Production.INFO: count ==12
[2025-04-12 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-12 16:03:04] Production.INFO: count ==23
[2025-04-12 16:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892656') start
[2025-04-12 16:03:04] Production.ERROR: done
[2025-04-12 16:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892656') end
[2025-04-12 16:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 16:03:04] Production.INFO: 1
[2025-04-12 16:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 16:03:04] Production.INFO: Account Balance End.
[2025-04-12 16:03:04] Production.ERROR: CronJobId end 12
[2025-04-12 16:03:04] Production.INFO: ==11257== Releasing lock...
[2025-04-12 16:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 16:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 16:03:04] Production.INFO: ==11262== Releasing lock...
[2025-04-12 16:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 16:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 16:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 13:03:05
[end_date_ymd] => 2025-04-12 16:03:05
[RateCDR] => 1
)
[2025-04-12 16:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 13:03:05' and `end` < '2025-04-12 16:03:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 16:03:12] Production.ERROR: CronJobId end10
[2025-04-12 16:03:12] Production.INFO: ==11255== Releasing lock...
[2025-04-12 16:03:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 16:03:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 16:03:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 16:03:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 16:03:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 16:03:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 16:03:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 16:03:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 16:03:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 16:03:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 16:03:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 16:03:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 16:03:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 16:03:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 16:03:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 16:03:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 16:03:15] Production.INFO: call_cost start
[2025-04-12 16:03:15] Production.INFO: call_cost end
[2025-04-12 16:03:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 16:03:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 16:03:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 16:03:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 16:03:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 16:03:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 16:03:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 16:03:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 16:03:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 16:03:16] Production.INFO: ==11251== Releasing lock...
[2025-04-12 16:03:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 16:03:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 16:03:18] Production.INFO: count ==1402
[2025-04-12 16:03:18] Production.ERROR: pbx CDR StartTime 2025-04-12 13:03:05 - End Time 2025-04-12 16:03:05
[2025-04-12 16:03:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 16:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892657', 'tblTempUsageDetail_20' ) start
[2025-04-12 16:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892657', 'tblTempUsageDetail_20' ) end
[2025-04-12 16:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892657', 'tblTempVendorCDR_20' ) start
[2025-04-12 16:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892657', 'tblTempVendorCDR_20' ) end
[2025-04-12 16:03:18] Production.INFO: ProcessCDR(1,14892657,1,1,2)
[2025-04-12 16:03:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892657,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 16:03:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892657,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 16:03:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892657,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:03:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892657,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:03:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892657', 'tblTempUsageDetail_20' ) start
[2025-04-12 16:03:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892657', 'tblTempUsageDetail_20' ) end
[2025-04-12 16:03:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 16:03:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 16:03:24] Production.INFO: ==11260== Releasing lock...
[2025-04-12 16:03:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 16:03:24] Production.INFO: 39 MB #Memory Used#
[2025-04-12 21:04:02] Production.INFO: ==11319== Lock acquired, processing the job...
[2025-04-12 21:04:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 21:04:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 21:04:02] Production.INFO: neon service started
[2025-04-12 21:04:02] Production.INFO: neon service started
[2025-04-12 21:04:02] Production.INFO: ==11319== Releasing lock...
[2025-04-12 21:04:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 21:04:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 16:04:02] Production.INFO: ==11322== Lock acquired, processing the job...
[2025-04-12 16:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 16:04:02] Production.INFO: ==11322== Releasing lock...
[2025-04-12 16:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 16:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 20:04:03] Production.INFO: ==11324== Lock acquired, processing the job...
[2025-04-12 20:04:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 20:04:03] Production.INFO: ==11324== Releasing lock...
[2025-04-12 20:04:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 20:04:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 16:04:04] Production.INFO: ==11332== Lock acquired, processing the job...
[2025-04-12 16:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 16:04:04] Production.INFO: ==11336== Lock acquired, processing the job...
[2025-04-12 16:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 16:04:04] Production.INFO: Account Balance Start.
[2025-04-12 16:04:04] Production.INFO: CreateAllLog Start
[2025-04-12 16:04:04] Production.INFO: 117
[2025-04-12 16:04:04] Production.INFO: Date 2025-04-08
[2025-04-12 16:04:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:04:04] Production.INFO: Date 2025-04-09
[2025-04-12 16:04:04] Production.INFO: ==11326== Lock acquired, processing the job...
[2025-04-12 16:04:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 16:04:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:04:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 16:04:04] Production.INFO: count ==12
[2025-04-12 16:04:04] Production.INFO: Date 2025-04-10
[2025-04-12 16:04:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:04:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 16:04:04] Production.INFO: Date 2025-04-11
[2025-04-12 16:04:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:04:04] Production.INFO: count ==23
[2025-04-12 16:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892659') start
[2025-04-12 16:04:04] Production.INFO: Date 2025-04-12
[2025-04-12 16:04:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:04:04] Production.INFO: ==11328== Lock acquired, processing the job...
[2025-04-12 16:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 16:04:04] Production.INFO: ==11330== Lock acquired, processing the job...
[2025-04-12 16:04:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 16:04:04] Production.INFO: ==11334== Lock acquired, processing the job...
[2025-04-12 16:04:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 16:04:04] Production.INFO: Total Charge 0
[2025-04-12 16:04:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 16:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892659') end
[2025-04-12 16:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 16:04:04] Production.INFO: 1
[2025-04-12 16:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 16:04:04] Production.INFO: CreateAllLog End
[2025-04-12 16:04:04] Production.INFO: ==11336== Releasing lock...
[2025-04-12 16:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 16:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 16:04:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 16:04:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 16:04:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 16:04:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 16:04:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 16:04:04] Production.INFO: Account Balance End.
[2025-04-12 16:04:05] Production.ERROR: CronJobId end 12
[2025-04-12 16:04:05] Production.INFO: ==11332== Releasing lock...
[2025-04-12 16:04:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 16:04:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 16:04:05] Production.INFO: ==11328== Releasing lock...
[2025-04-12 16:04:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 16:04:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 16:04:05] Production.ERROR: done
[2025-04-12 16:04:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 16:04:05] Production.ERROR: done
[2025-04-12 16:04:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 13:04:06
[end_date_ymd] => 2025-04-12 16:04:06
[RateCDR] => 1
)
[2025-04-12 16:04:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 13:04:06' and `end` < '2025-04-12 16:04:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 16:04:13] Production.ERROR: CronJobId end10
[2025-04-12 16:04:13] Production.INFO: ==11330== Releasing lock...
[2025-04-12 16:04:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 16:04:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 16:04:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 16:04:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 16:04:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 16:04:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 16:04:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 16:04:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 16:04:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 16:04:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 16:04:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 16:04:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 16:04:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 16:04:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 16:04:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 16:04:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 16:04:15] Production.INFO: call_cost start
[2025-04-12 16:04:15] Production.INFO: call_cost end
[2025-04-12 16:04:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 16:04:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 16:04:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 16:04:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 16:04:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 16:04:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 16:04:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 16:04:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 16:04:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 16:04:16] Production.INFO: ==11326== Releasing lock...
[2025-04-12 16:04:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 16:04:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 16:04:19] Production.INFO: count ==1395
[2025-04-12 16:04:20] Production.ERROR: pbx CDR StartTime 2025-04-12 13:04:06 - End Time 2025-04-12 16:04:06
[2025-04-12 16:04:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 16:04:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892662', 'tblTempUsageDetail_20' ) start
[2025-04-12 16:04:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892662', 'tblTempUsageDetail_20' ) end
[2025-04-12 16:04:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892662', 'tblTempVendorCDR_20' ) start
[2025-04-12 16:04:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892662', 'tblTempVendorCDR_20' ) end
[2025-04-12 16:04:20] Production.INFO: ProcessCDR(1,14892662,1,1,2)
[2025-04-12 16:04:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892662,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 16:04:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892662,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 16:04:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892662,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:04:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892662,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:04:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892662', 'tblTempUsageDetail_20' ) start
[2025-04-12 16:04:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892662', 'tblTempUsageDetail_20' ) end
[2025-04-12 16:04:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 16:04:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 16:04:26] Production.INFO: ==11334== Releasing lock...
[2025-04-12 16:04:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 16:04:26] Production.INFO: 39.75 MB #Memory Used#
[2025-04-12 21:05:01] Production.INFO: ==11392== Lock acquired, processing the job...
[2025-04-12 21:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 21:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 21:05:01] Production.INFO: neon service started
[2025-04-12 21:05:01] Production.INFO: neon service started
[2025-04-12 21:05:01] Production.INFO: ==11392== Releasing lock...
[2025-04-12 21:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 21:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 16:05:02] Production.INFO: ==11394== Lock acquired, processing the job...
[2025-04-12 16:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 16:05:02] Production.INFO: ==11394== Releasing lock...
[2025-04-12 16:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 16:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 20:05:02] Production.INFO: ==11396== Lock acquired, processing the job...
[2025-04-12 20:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 20:05:02] Production.INFO: ==11396== Releasing lock...
[2025-04-12 20:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 20:05:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 16:05:03] Production.INFO: ==11405== Lock acquired, processing the job...
[2025-04-12 16:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 16:05:03] Production.INFO: ==11409== Lock acquired, processing the job...
[2025-04-12 16:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 16:05:03] Production.INFO: ==11398== Lock acquired, processing the job...
[2025-04-12 16:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 16:05:03] Production.INFO: Account Balance Start.
[2025-04-12 16:05:03] Production.INFO: CreateAllLog Start
[2025-04-12 16:05:03] Production.INFO: 117
[2025-04-12 16:05:03] Production.INFO: ==11400== Lock acquired, processing the job...
[2025-04-12 16:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 16:05:03] Production.INFO: ==11402== Lock acquired, processing the job...
[2025-04-12 16:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 16:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 16:05:03] Production.INFO: Date 2025-04-08
[2025-04-12 16:05:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 16:05:03] Production.INFO: count ==12
[2025-04-12 16:05:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 16:05:03] Production.INFO: count ==23
[2025-04-12 16:05:03] Production.INFO: Reseller ==> 0
[2025-04-12 16:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14892664') start
[2025-04-12 16:05:03] Production.INFO: ==11407== Lock acquired, processing the job...
[2025-04-12 16:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 16:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 16:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 16:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 16:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 16:05:03] Production.INFO: Date 2025-04-09
[2025-04-12 16:05:03] Production.INFO: Reseller ==> 0
[2025-04-12 16:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14892664') end
[2025-04-12 16:05:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 16:05:03] Production.INFO: 1
[2025-04-12 16:05:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 16:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 16:05:03] Production.INFO: Date 2025-04-10
[2025-04-12 16:05:03] Production.INFO: Reseller ==> 0
[2025-04-12 16:05:03] Production.INFO: Date 2025-04-11
[2025-04-12 16:05:03] Production.INFO: Reseller ==> 0
[2025-04-12 16:05:04] Production.INFO: Date 2025-04-12
[2025-04-12 16:05:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:05:04] Production.INFO: Total Charge 0
[2025-04-12 16:05:04] Production.INFO: CreateAllLog End
[2025-04-12 16:05:04] Production.INFO: ==11409== Releasing lock...
[2025-04-12 16:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 16:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 16:05:04] Production.INFO: ==11400== Releasing lock...
[2025-04-12 16:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 16:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 16:05:04] Production.ERROR: done
[2025-04-12 16:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 16:05:04] Production.INFO: Account Balance End.
[2025-04-12 16:05:04] Production.ERROR: CronJobId end 12
[2025-04-12 16:05:04] Production.INFO: ==11405== Releasing lock...
[2025-04-12 16:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 16:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 16:05:04] Production.ERROR: done
[2025-04-12 16:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 13:05:05
[end_date_ymd] => 2025-04-12 16:05:05
[RateCDR] => 1
)
[2025-04-12 16:05:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 13:05:05' and `end` < '2025-04-12 16:05:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 16:05:12] Production.ERROR: CronJobId end10
[2025-04-12 16:05:12] Production.INFO: ==11402== Releasing lock...
[2025-04-12 16:05:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 16:05:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 16:05:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 16:05:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 16:05:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 16:05:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 16:05:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 16:05:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 16:05:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 16:05:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 16:05:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 16:05:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 16:05:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 16:05:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 16:05:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 16:05:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 16:05:15] Production.INFO: call_cost start
[2025-04-12 16:05:15] Production.INFO: call_cost end
[2025-04-12 16:05:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 16:05:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 16:05:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 16:05:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 16:05:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 16:05:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 16:05:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 16:05:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 16:05:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 16:05:16] Production.INFO: ==11398== Releasing lock...
[2025-04-12 16:05:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 16:05:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 16:05:18] Production.INFO: count ==1388
[2025-04-12 16:05:19] Production.ERROR: pbx CDR StartTime 2025-04-12 13:05:05 - End Time 2025-04-12 16:05:05
[2025-04-12 16:05:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 16:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892667', 'tblTempUsageDetail_20' ) start
[2025-04-12 16:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892667', 'tblTempUsageDetail_20' ) end
[2025-04-12 16:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892667', 'tblTempVendorCDR_20' ) start
[2025-04-12 16:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892667', 'tblTempVendorCDR_20' ) end
[2025-04-12 16:05:19] Production.INFO: ProcessCDR(1,14892667,1,1,2)
[2025-04-12 16:05:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892667,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 16:05:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892667,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 16:05:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892667,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:05:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892667,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:05:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892667', 'tblTempUsageDetail_20' ) start
[2025-04-12 16:05:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892667', 'tblTempUsageDetail_20' ) end
[2025-04-12 16:05:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 16:05:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 16:05:24] Production.INFO: ==11407== Releasing lock...
[2025-04-12 16:05:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 16:05:24] Production.INFO: 39.25 MB #Memory Used#
[2025-04-12 21:06:02] Production.INFO: ==11470== Lock acquired, processing the job...
[2025-04-12 21:06:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 21:06:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 21:06:02] Production.INFO: neon service started
[2025-04-12 21:06:02] Production.INFO: neon service started
[2025-04-12 21:06:02] Production.INFO: ==11470== Releasing lock...
[2025-04-12 21:06:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 21:06:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 20:06:02] Production.INFO: ==11474== Lock acquired, processing the job...
[2025-04-12 20:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 20:06:02] Production.INFO: ==11474== Releasing lock...
[2025-04-12 20:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 20:06:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 16:06:02] Production.INFO: ==11472== Lock acquired, processing the job...
[2025-04-12 16:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 16:06:03] Production.INFO: ==11472== Releasing lock...
[2025-04-12 16:06:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 16:06:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 16:06:04] Production.INFO: ==11477== Lock acquired, processing the job...
[2025-04-12 16:06:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 16:06:04] Production.INFO: ==11479== Lock acquired, processing the job...
[2025-04-12 16:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 16:06:04] Production.INFO: ==11485== Lock acquired, processing the job...
[2025-04-12 16:06:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 16:06:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 16:06:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 16:06:04] Production.INFO: ==11481== Lock acquired, processing the job...
[2025-04-12 16:06:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 16:06:04] Production.INFO: ==11483== Lock acquired, processing the job...
[2025-04-12 16:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 16:06:04] Production.INFO: ==11487== Lock acquired, processing the job...
[2025-04-12 16:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 16:06:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 16:06:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 16:06:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 16:06:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 16:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 16:06:04] Production.INFO: Account Balance Start.
[2025-04-12 16:06:04] Production.INFO: CreateAllLog Start
[2025-04-12 16:06:04] Production.INFO: 117
[2025-04-12 16:06:04] Production.INFO: count ==12
[2025-04-12 16:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 16:06:04] Production.INFO: count ==23
[2025-04-12 16:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892670') start
[2025-04-12 16:06:04] Production.INFO: Date 2025-04-08
[2025-04-12 16:06:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:06:04] Production.ERROR: done
[2025-04-12 16:06:04] Production.INFO: Date 2025-04-09
[2025-04-12 16:06:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892670') end
[2025-04-12 16:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 16:06:04] Production.INFO: 1
[2025-04-12 16:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 16:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 16:06:04] Production.INFO: ==11479== Releasing lock...
[2025-04-12 16:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 16:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 16:06:04] Production.INFO: ==11487== Releasing lock...
[2025-04-12 16:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 16:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 16:06:04] Production.INFO: Date 2025-04-10
[2025-04-12 16:06:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:06:04] Production.INFO: Date 2025-04-11
[2025-04-12 16:06:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:06:04] Production.INFO: Date 2025-04-12
[2025-04-12 16:06:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:06:04] Production.INFO: Total Charge 0
[2025-04-12 16:06:04] Production.INFO: CreateAllLog End
[2025-04-12 16:06:04] Production.ERROR: done
[2025-04-12 16:06:04] Production.INFO: Account Balance End.
[2025-04-12 16:06:05] Production.ERROR: CronJobId end 12
[2025-04-12 16:06:05] Production.INFO: ==11483== Releasing lock...
[2025-04-12 16:06:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 16:06:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 16:06:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 13:06:06
[end_date_ymd] => 2025-04-12 16:06:06
[RateCDR] => 1
)
[2025-04-12 16: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-12 13:06:06' and `end` < '2025-04-12 16: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-12 16:06:13] Production.ERROR: CronJobId end10
[2025-04-12 16:06:13] Production.INFO: ==11481== Releasing lock...
[2025-04-12 16:06:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 16:06:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 16:06:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 16:06:16] Production.INFO: ============== Balance Warning START===========
[2025-04-12 16:06:16] Production.INFO: ============== Balance Warning END===========
[2025-04-12 16:06:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 16:06:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 16:06:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 16:06:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 16:06:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 16:06:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 16:06:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 16:06:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 16:06:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 16:06:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 16:06:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 16:06:16] Production.INFO: call_cost start
[2025-04-12 16:06:16] Production.INFO: call_cost end
[2025-04-12 16:06:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 16:06:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 16:06:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 16:06:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 16:06:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 16:06:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 16:06:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 16:06:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 16:06:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 16:06:17] Production.INFO: ==11477== Releasing lock...
[2025-04-12 16:06:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 16:06:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 16:06:19] Production.INFO: count ==1387
[2025-04-12 16:06:19] Production.ERROR: pbx CDR StartTime 2025-04-12 13:06:06 - End Time 2025-04-12 16:06:06
[2025-04-12 16:06:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 16:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892672', 'tblTempUsageDetail_20' ) start
[2025-04-12 16:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892672', 'tblTempUsageDetail_20' ) end
[2025-04-12 16:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892672', 'tblTempVendorCDR_20' ) start
[2025-04-12 16:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892672', 'tblTempVendorCDR_20' ) end
[2025-04-12 16:06:19] Production.INFO: ProcessCDR(1,14892672,1,1,2)
[2025-04-12 16:06:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892672,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 16:06:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892672,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 16:06:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892672,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:06:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892672,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:06:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892672', 'tblTempUsageDetail_20' ) start
[2025-04-12 16:06:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892672', 'tblTempUsageDetail_20' ) end
[2025-04-12 16:06:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 16:06:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 16:06:24] Production.INFO: ==11485== Releasing lock...
[2025-04-12 16:06:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 16:06:24] Production.INFO: 39.25 MB #Memory Used#
[2025-04-12 21:07:01] Production.INFO: ==11586== Lock acquired, processing the job...
[2025-04-12 21:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 21:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 21:07:01] Production.INFO: neon service started
[2025-04-12 21:07:01] Production.INFO: neon service started
[2025-04-12 21:07:01] Production.INFO: ==11586== Releasing lock...
[2025-04-12 21:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 21:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 16:07:02] Production.INFO: ==11588== Lock acquired, processing the job...
[2025-04-12 16:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 16:07:02] Production.INFO: ==11588== Releasing lock...
[2025-04-12 16:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 16:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 20:07:02] Production.INFO: ==11590== Lock acquired, processing the job...
[2025-04-12 20:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 20:07:02] Production.INFO: ==11590== Releasing lock...
[2025-04-12 20:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 20:07:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 16:07:03] Production.INFO: ==11599== Lock acquired, processing the job...
[2025-04-12 16:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 16:07:03] Production.INFO: ==11595== Lock acquired, processing the job...
[2025-04-12 16:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 16:07:03] Production.INFO: ==11603== Lock acquired, processing the job...
[2025-04-12 16:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 16:07:03] Production.INFO: Account Balance Start.
[2025-04-12 16:07:03] Production.INFO: CreateAllLog Start
[2025-04-12 16:07:03] Production.INFO: 117
[2025-04-12 16:07:03] Production.INFO: ==11593== Lock acquired, processing the job...
[2025-04-12 16:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 16:07:03] Production.INFO: ==11597== Lock acquired, processing the job...
[2025-04-12 16:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 16:07:03] Production.INFO: Date 2025-04-08
[2025-04-12 16:07:03] Production.INFO: Reseller ==> 0
[2025-04-12 16:07:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 16:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 16:07:03] Production.INFO: count ==12
[2025-04-12 16:07:03] Production.INFO: Date 2025-04-09
[2025-04-12 16:07:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 16:07:03] Production.INFO: count ==23
[2025-04-12 16:07:03] Production.INFO: Reseller ==> 0
[2025-04-12 16:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 16:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 16:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 16:07:03] Production.INFO: ==11601== Lock acquired, processing the job...
[2025-04-12 16:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 16:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 16:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14892674') start
[2025-04-12 16:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 16:07:03] Production.INFO: Date 2025-04-10
[2025-04-12 16:07:03] Production.INFO: Reseller ==> 0
[2025-04-12 16:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14892674') end
[2025-04-12 16:07:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 16:07:03] Production.INFO: 1
[2025-04-12 16:07:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 16:07:03] Production.INFO: Date 2025-04-11
[2025-04-12 16:07:03] Production.INFO: Reseller ==> 0
[2025-04-12 16:07:03] Production.INFO: Date 2025-04-12
[2025-04-12 16:07:03] Production.INFO: Reseller ==> 0
[2025-04-12 16:07:03] Production.INFO: Total Charge 0
[2025-04-12 16:07:03] Production.INFO: CreateAllLog End
[2025-04-12 16:07:03] Production.INFO: ==11603== Releasing lock...
[2025-04-12 16:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 16:07:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 16:07:04] Production.INFO: ==11595== Releasing lock...
[2025-04-12 16:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 16:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 16:07:04] Production.INFO: Account Balance End.
[2025-04-12 16:07:04] Production.ERROR: done
[2025-04-12 16:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 16:07:04] Production.ERROR: CronJobId end 12
[2025-04-12 16:07:04] Production.INFO: ==11599== Releasing lock...
[2025-04-12 16:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 16:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 16:07:04] Production.ERROR: done
[2025-04-12 16:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 13:07:05
[end_date_ymd] => 2025-04-12 16:07:05
[RateCDR] => 1
)
[2025-04-12 16:07:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 13:07:05' and `end` < '2025-04-12 16:07:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 16:07:12] Production.ERROR: CronJobId end10
[2025-04-12 16:07:12] Production.INFO: ==11597== Releasing lock...
[2025-04-12 16:07:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 16:07:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 16:07:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 16:07:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 16:07:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 16:07:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 16:07:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 16:07:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 16:07:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 16:07:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 16:07:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 16:07:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 16:07:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 16:07:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 16:07:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 16:07:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 16:07:15] Production.INFO: call_cost start
[2025-04-12 16:07:15] Production.INFO: call_cost end
[2025-04-12 16:07:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 16:07:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 16:07:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 16:07:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 16:07:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 16:07:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 16:07:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 16:07:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 16:07:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 16:07:16] Production.INFO: ==11593== Releasing lock...
[2025-04-12 16:07:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 16:07:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 16:07:18] Production.INFO: count ==1386
[2025-04-12 16:07:18] Production.ERROR: pbx CDR StartTime 2025-04-12 13:07:05 - End Time 2025-04-12 16:07:05
[2025-04-12 16:07:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 16:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892677', 'tblTempUsageDetail_20' ) start
[2025-04-12 16:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892677', 'tblTempUsageDetail_20' ) end
[2025-04-12 16:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892677', 'tblTempVendorCDR_20' ) start
[2025-04-12 16:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892677', 'tblTempVendorCDR_20' ) end
[2025-04-12 16:07:19] Production.INFO: ProcessCDR(1,14892677,1,1,2)
[2025-04-12 16:07:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892677,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 16:07:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892677,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 16:07:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892677,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:07:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892677,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:07:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892677', 'tblTempUsageDetail_20' ) start
[2025-04-12 16:07:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892677', 'tblTempUsageDetail_20' ) end
[2025-04-12 16:07:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 16:07:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 16:07:24] Production.INFO: ==11601== Releasing lock...
[2025-04-12 16:07:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 16:07:24] Production.INFO: 39 MB #Memory Used#
[2025-04-12 21:08:02] Production.INFO: ==11668== Lock acquired, processing the job...
[2025-04-12 21:08:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 21:08:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 21:08:02] Production.INFO: neon service started
[2025-04-12 21:08:02] Production.INFO: neon service started
[2025-04-12 21:08:02] Production.INFO: ==11668== Releasing lock...
[2025-04-12 21:08:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 21:08:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 16:08:02] Production.INFO: ==11670== Lock acquired, processing the job...
[2025-04-12 16:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 16:08:02] Production.INFO: ==11670== Releasing lock...
[2025-04-12 16:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 16:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 20:08:03] Production.INFO: ==11672== Lock acquired, processing the job...
[2025-04-12 20:08:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 20:08:03] Production.INFO: ==11672== Releasing lock...
[2025-04-12 20:08:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 20:08:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 16:08:03] Production.INFO: ==11674== Lock acquired, processing the job...
[2025-04-12 16:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 16:08:03] Production.INFO: ==11676== Lock acquired, processing the job...
[2025-04-12 16:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 16:08:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 16:08:04] Production.INFO: ==11684== Lock acquired, processing the job...
[2025-04-12 16:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 16:08:04] Production.INFO: ==11678== Lock acquired, processing the job...
[2025-04-12 16:08:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 16:08:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 16:08:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 16:08:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 16:08:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 16:08:04] Production.INFO: ==11680== Lock acquired, processing the job...
[2025-04-12 16:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 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-12 16:08:04] Production.INFO: ==11682== Lock acquired, processing the job...
[2025-04-12 16:08:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 16:08:04] Production.INFO: count ==12
[2025-04-12 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-12 16:08:04] Production.INFO: count ==23
[2025-04-12 16:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892680') start
[2025-04-12 16:08:04] Production.INFO: Account Balance Start.
[2025-04-12 16:08:04] Production.INFO: CreateAllLog Start
[2025-04-12 16:08:04] Production.INFO: 117
[2025-04-12 16:08:04] Production.INFO: ==11676== Releasing lock...
[2025-04-12 16:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 16:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 16:08:04] Production.INFO: Date 2025-04-08
[2025-04-12 16:08:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:08:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 16:08:04] Production.INFO: Date 2025-04-09
[2025-04-12 16:08:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892680') end
[2025-04-12 16:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 16:08:04] Production.INFO: 1
[2025-04-12 16:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 16:08:04] Production.INFO: Date 2025-04-10
[2025-04-12 16:08:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:08:04] Production.INFO: Date 2025-04-11
[2025-04-12 16:08:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:08:04] Production.INFO: Date 2025-04-12
[2025-04-12 16:08:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:08:04] Production.INFO: ==11684== Releasing lock...
[2025-04-12 16:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 16:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 16:08:04] Production.INFO: Total Charge 0
[2025-04-12 16:08:04] Production.INFO: CreateAllLog End
[2025-04-12 16:08:04] Production.ERROR: done
[2025-04-12 16:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 16:08:04] Production.INFO: Account Balance End.
[2025-04-12 16:08:05] Production.ERROR: CronJobId end 12
[2025-04-12 16:08:05] Production.INFO: ==11680== Releasing lock...
[2025-04-12 16:08:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 16:08:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 16:08:05] Production.ERROR: done
[2025-04-12 16:08:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 13:08:06
[end_date_ymd] => 2025-04-12 16:08:06
[RateCDR] => 1
)
[2025-04-12 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-12 13:08:06' and `end` < '2025-04-12 16: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-12 16:08:13] Production.ERROR: CronJobId end10
[2025-04-12 16:08:13] Production.INFO: ==11678== Releasing lock...
[2025-04-12 16:08:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 16:08:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 16:08:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 16:08:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 16:08:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 16:08:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 16:08:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 16:08:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 16:08:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 16:08:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 16:08:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 16:08:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 16:08:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 16:08:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 16:08:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 16:08:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 16:08:15] Production.INFO: call_cost start
[2025-04-12 16:08:15] Production.INFO: call_cost end
[2025-04-12 16:08:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 16:08:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 16:08:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 16:08:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 16:08:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 16:08:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 16:08:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 16:08:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 16:08:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 16:08:16] Production.INFO: ==11674== Releasing lock...
[2025-04-12 16:08:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 16:08:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 16:08:19] Production.INFO: count ==1394
[2025-04-12 16:08:19] Production.ERROR: pbx CDR StartTime 2025-04-12 13:08:06 - End Time 2025-04-12 16:08:06
[2025-04-12 16:08:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 16:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892682', 'tblTempUsageDetail_20' ) start
[2025-04-12 16:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892682', 'tblTempUsageDetail_20' ) end
[2025-04-12 16:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892682', 'tblTempVendorCDR_20' ) start
[2025-04-12 16:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892682', 'tblTempVendorCDR_20' ) end
[2025-04-12 16:08:19] Production.INFO: ProcessCDR(1,14892682,1,1,2)
[2025-04-12 16:08:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892682,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 16:08:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892682,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 16:08:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892682,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:08:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892682,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:08:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892682', 'tblTempUsageDetail_20' ) start
[2025-04-12 16:08:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892682', 'tblTempUsageDetail_20' ) end
[2025-04-12 16:08:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 16:08:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 16:08:25] Production.INFO: ==11682== Releasing lock...
[2025-04-12 16:08:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 16:08:25] Production.INFO: 39.5 MB #Memory Used#
[2025-04-12 21:09:01] Production.INFO: ==11743== Lock acquired, processing the job...
[2025-04-12 21:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 21:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 21:09:01] Production.INFO: neon service started
[2025-04-12 21:09:01] Production.INFO: neon service started
[2025-04-12 21:09:01] Production.INFO: ==11743== Releasing lock...
[2025-04-12 21:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 21:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 20:09:02] Production.INFO: ==11747== Lock acquired, processing the job...
[2025-04-12 20:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 20:09:02] Production.INFO: ==11747== Releasing lock...
[2025-04-12 20:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 20:09:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 16:09:02] Production.INFO: ==11745== Lock acquired, processing the job...
[2025-04-12 16:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 16:09:02] Production.INFO: ==11745== Releasing lock...
[2025-04-12 16:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 16:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 16:09:03] Production.INFO: ==11754== Lock acquired, processing the job...
[2025-04-12 16:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 16:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 16:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 16:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 16:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 16:09:03] Production.INFO: ==11760== Lock acquired, processing the job...
[2025-04-12 16:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 16:09:03] Production.INFO: ==11750== Lock acquired, processing the job...
[2025-04-12 16:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 16:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 16:09:03] Production.INFO: ==11752== Lock acquired, processing the job...
[2025-04-12 16:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 16:09:03] Production.INFO: ==11756== Lock acquired, processing the job...
[2025-04-12 16:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 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-12 16:09:03] Production.INFO: ==11758== Lock acquired, processing the job...
[2025-04-12 16:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 16:09:03] Production.INFO: count ==12
[2025-04-12 16:09:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 16:09:04] Production.INFO: count ==23
[2025-04-12 16:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892683') start
[2025-04-12 16:09:04] Production.INFO: Account Balance Start.
[2025-04-12 16:09:04] Production.INFO: CreateAllLog Start
[2025-04-12 16:09:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 16:09:04] Production.INFO: 117
[2025-04-12 16:09:04] Production.INFO: Date 2025-04-08
[2025-04-12 16:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892683') end
[2025-04-12 16:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 16:09:04] Production.INFO: 1
[2025-04-12 16:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 16:09:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:09:04] Production.INFO: ==11760== Releasing lock...
[2025-04-12 16:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 16:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 16:09:04] Production.INFO: Date 2025-04-09
[2025-04-12 16:09:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:09:04] Production.INFO: Date 2025-04-10
[2025-04-12 16:09:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:09:04] Production.INFO: ==11752== Releasing lock...
[2025-04-12 16:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 16:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 16:09:04] Production.INFO: Date 2025-04-11
[2025-04-12 16:09:04] Production.ERROR: done
[2025-04-12 16:09:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 16:09:04] Production.INFO: Date 2025-04-12
[2025-04-12 16:09:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:09:04] Production.ERROR: done
[2025-04-12 16:09:04] Production.INFO: Total Charge 0
[2025-04-12 16:09:04] Production.INFO: CreateAllLog End
[2025-04-12 16:09:04] Production.INFO: Account Balance End.
[2025-04-12 16:09:04] Production.ERROR: CronJobId end 12
[2025-04-12 16:09:04] Production.INFO: ==11756== Releasing lock...
[2025-04-12 16:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 16:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 16:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 13:09:05
[end_date_ymd] => 2025-04-12 16:09:05
[RateCDR] => 1
)
[2025-04-12 16:09:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 13:09:05' and `end` < '2025-04-12 16:09:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 16:09:12] Production.ERROR: CronJobId end10
[2025-04-12 16:09:12] Production.INFO: ==11754== Releasing lock...
[2025-04-12 16:09:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 16:09:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 16:09:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 16:09:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 16:09:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 16:09:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 16:09:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 16:09:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 16:09:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 16:09:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 16:09:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 16:09:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 16:09:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 16:09:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 16:09:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 16:09:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 16:09:15] Production.INFO: call_cost start
[2025-04-12 16:09:15] Production.INFO: call_cost end
[2025-04-12 16:09:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 16:09:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 16:09:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 16:09:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 16:09:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 16:09:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 16:09:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 16:09:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 16:09:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 16:09:16] Production.INFO: ==11750== Releasing lock...
[2025-04-12 16:09:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 16:09:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 16:09:18] Production.INFO: count ==1392
[2025-04-12 16:09:19] Production.ERROR: pbx CDR StartTime 2025-04-12 13:09:05 - End Time 2025-04-12 16:09:05
[2025-04-12 16:09:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 16:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892687', 'tblTempUsageDetail_20' ) start
[2025-04-12 16:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892687', 'tblTempUsageDetail_20' ) end
[2025-04-12 16:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892687', 'tblTempVendorCDR_20' ) start
[2025-04-12 16:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892687', 'tblTempVendorCDR_20' ) end
[2025-04-12 16:09:19] Production.INFO: ProcessCDR(1,14892687,1,1,2)
[2025-04-12 16:09:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892687,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 16:09:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892687,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 16:09:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892687,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:09:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892687,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892687', 'tblTempUsageDetail_20' ) start
[2025-04-12 16:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892687', 'tblTempUsageDetail_20' ) end
[2025-04-12 16:09:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 16:09:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 16:09:22] Production.INFO: ==11758== Releasing lock...
[2025-04-12 16:09:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 16:09:22] Production.INFO: 39.25 MB #Memory Used#
[2025-04-12 21:10:02] Production.INFO: ==11816== Lock acquired, processing the job...
[2025-04-12 21:10:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 21:10:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 21:10:02] Production.INFO: neon service started
[2025-04-12 21:10:02] Production.INFO: neon service started
[2025-04-12 21:10:02] Production.INFO: ==11816== Releasing lock...
[2025-04-12 21:10:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 21:10:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 16:10:02] Production.INFO: ==11818== Lock acquired, processing the job...
[2025-04-12 16:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 20:10:02] Production.INFO: ==11820== Lock acquired, processing the job...
[2025-04-12 20:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 20:10:02] Production.INFO: ==11820== Releasing lock...
[2025-04-12 20:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 20:10:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 16:10:03] Production.INFO: ==11818== Releasing lock...
[2025-04-12 16:10:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 16:10:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 16:10:04] Production.INFO: ==11823== Lock acquired, processing the job...
[2025-04-12 16:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 16:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 16:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 16:10:04] Production.INFO: ==11823== Releasing lock...
[2025-04-12 16:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 16:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 16:10:04] Production.INFO: ==11831== Lock acquired, processing the job...
[2025-04-12 16:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 16:10:04] Production.INFO: ==11825== Lock acquired, processing the job...
[2025-04-12 16:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 16:10:04] Production.INFO: ==11837== Lock acquired, processing the job...
[2025-04-12 16:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 16:10:04] Production.INFO: ==11827== Lock acquired, processing the job...
[2025-04-12 16:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 16:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 16:10:04] Production.INFO: Account Balance Start.
[2025-04-12 16:10:04] Production.INFO: CreateAllLog Start
[2025-04-12 16:10:04] Production.INFO: ==11829== Lock acquired, processing the job...
[2025-04-12 16:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 16:10:04] Production.INFO: 117
[2025-04-12 16:10:04] Production.INFO: Date 2025-04-08
[2025-04-12 16:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 16:10:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:10:04] Production.INFO: count ==12
[2025-04-12 16:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 16:10:04] Production.INFO: count ==23
[2025-04-12 16:10:04] Production.INFO: Date 2025-04-09
[2025-04-12 16:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892690') start
[2025-04-12 16:10:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:10:04] Production.INFO: ==11835== Lock acquired, processing the job...
[2025-04-12 16:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 16:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 16:10:04] Production.INFO: Date 2025-04-10
[2025-04-12 16:10:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 16:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 16:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 16:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 16:10:04] Production.INFO: ==11833== Lock acquired, processing the job...
[2025-04-12 16:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 16:10:04] Production.INFO: Date 2025-04-11
[2025-04-12 16:10:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892690') end
[2025-04-12 16:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 16:10:04] Production.INFO: 1
[2025-04-12 16:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 16:10:05] Production.INFO: Date 2025-04-12
[2025-04-12 16:10:05] Production.INFO: Reseller ==> 0
[2025-04-12 16:10:05] Production.INFO: Total Charge 0
[2025-04-12 16:10:05] Production.INFO: ==11837== Releasing lock...
[2025-04-12 16:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 16:10:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 16:10:05] Production.INFO: ==11827== Releasing lock...
[2025-04-12 16:10:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 16:10:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 16:10:05] Production.INFO: CreateAllLog End
[2025-04-12 16:10:05] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 16:10:05] Production.ERROR: done
[2025-04-12 16:10:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 16:10:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14892692', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 16:10:05] Production.INFO: Account Balance End.
[2025-04-12 16:10:05] Production.ERROR: done
[2025-04-12 16:10:05] Production.ERROR: CronJobId end 12
[2025-04-12 16:10:05] Production.INFO: ==11831== Releasing lock...
[2025-04-12 16:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 16:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 16:10:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 16:10:05] Production.ERROR: done
[2025-04-12 16:10:07] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 13:10:07
[end_date_ymd] => 2025-04-12 16:10:07
[RateCDR] => 1
)
[2025-04-12 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-12 13:10:07' and `end` < '2025-04-12 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-12 16:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14892692', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 16:10:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 16:10:09] Production.INFO: ProcessCDR(1,14892692,1,1,2)
[2025-04-12 16:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14892692,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14892692,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 16:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 16:10:09] Production.INFO: ==11835== Releasing lock...
[2025-04-12 16:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 16:10:09] Production.INFO: 26 MB #Memory Used#
[2025-04-12 16:10:14] Production.ERROR: CronJobId end10
[2025-04-12 16:10:14] Production.INFO: ==11829== Releasing lock...
[2025-04-12 16:10:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 16:10:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 16:10:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 16:10:17] Production.INFO: ============== Balance Warning START===========
[2025-04-12 16:10:17] Production.INFO: ============== Balance Warning END===========
[2025-04-12 16:10:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 16:10:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 16:10:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 16:10:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 16:10:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 16:10:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 16:10:17] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 16:10:17] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 16:10:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 16:10:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 16:10:17] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 16:10:18] Production.INFO: call_cost start
[2025-04-12 16:10:18] Production.INFO: call_cost end
[2025-04-12 16:10:19] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 16:10:19] Production.INFO: ============== Report Schedule START===========
[2025-04-12 16:10:19] Production.INFO: ============== Report Schedule END===========
[2025-04-12 16:10:19] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 16:10:19] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 16:10:19] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 16:10:19] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 16:10:19] Production.INFO: ============== Deal alert START===========
[2025-04-12 16:10:19] Production.INFO: ============== Deal alert END===========
[2025-04-12 16:10:19] Production.INFO: ==11825== Releasing lock...
[2025-04-12 16:10:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 16:10:19] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 16:10:20] Production.INFO: count ==1389
[2025-04-12 16:10:20] Production.ERROR: pbx CDR StartTime 2025-04-12 13:10:07 - End Time 2025-04-12 16:10:07
[2025-04-12 16:10:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 16:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892693', 'tblTempUsageDetail_20' ) start
[2025-04-12 16:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892693', 'tblTempUsageDetail_20' ) end
[2025-04-12 16:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892693', 'tblTempVendorCDR_20' ) start
[2025-04-12 16:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892693', 'tblTempVendorCDR_20' ) end
[2025-04-12 16:10:20] Production.INFO: ProcessCDR(1,14892693,1,1,2)
[2025-04-12 16:10:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892693,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 16:10:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892693,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 16:10:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892693,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:10:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892693,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:10:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892693', 'tblTempUsageDetail_20' ) start
[2025-04-12 16:10:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892693', 'tblTempUsageDetail_20' ) end
[2025-04-12 16:10:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 16:10:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 16:10:24] Production.INFO: ==11833== Releasing lock...
[2025-04-12 16:10:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 16:10:24] Production.INFO: 39 MB #Memory Used#
[2025-04-12 21:11:01] Production.INFO: ==11891== Lock acquired, processing the job...
[2025-04-12 21:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 21:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 21:11:01] Production.INFO: neon service started
[2025-04-12 21:11:01] Production.INFO: neon service started
[2025-04-12 21:11:01] Production.INFO: ==11891== Releasing lock...
[2025-04-12 21:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 21:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 20:11:01] Production.INFO: ==11895== Lock acquired, processing the job...
[2025-04-12 20:11:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 20:11:02] Production.INFO: ==11895== Releasing lock...
[2025-04-12 20:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 20:11:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 16:11:02] Production.INFO: ==11893== Lock acquired, processing the job...
[2025-04-12 16:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 16:11:02] Production.INFO: ==11893== Releasing lock...
[2025-04-12 16:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 16:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 16:11:03] Production.INFO: ==11906== Lock acquired, processing the job...
[2025-04-12 16:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 16:11:03] Production.INFO: ==11904== Lock acquired, processing the job...
[2025-04-12 16:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 16:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 16:11:03] Production.INFO: ==11898== Lock acquired, processing the job...
[2025-04-12 16:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 16:11:03] Production.INFO: Account Balance Start.
[2025-04-12 16:11:03] Production.INFO: CreateAllLog Start
[2025-04-12 16:11:03] Production.INFO: 117
[2025-04-12 16:11:03] Production.INFO: ==11900== Lock acquired, processing the job...
[2025-04-12 16:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 16:11:03] Production.INFO: Date 2025-04-08
[2025-04-12 16:11:03] Production.INFO: Reseller ==> 0
[2025-04-12 16:11:03] Production.INFO: ==11902== Lock acquired, processing the job...
[2025-04-12 16:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 16:11:03] Production.INFO: Date 2025-04-09
[2025-04-12 16:11:03] Production.INFO: Reseller ==> 0
[2025-04-12 16:11:03] Production.INFO: ==11908== Lock acquired, processing the job...
[2025-04-12 16:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 16:11:03] Production.INFO: Date 2025-04-10
[2025-04-12 16:11:03] Production.INFO: Reseller ==> 0
[2025-04-12 16:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 16:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 16:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 16:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 16:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 16:11:03] Production.INFO: Date 2025-04-11
[2025-04-12 16:11:03] Production.INFO: Reseller ==> 0
[2025-04-12 16:11:03] Production.INFO: Date 2025-04-12
[2025-04-12 16:11:03] Production.INFO: Reseller ==> 0
[2025-04-12 16:11:03] Production.ERROR: done
[2025-04-12 16:11:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 16:11:03] Production.INFO: Total Charge 0
[2025-04-12 16:11:04] Production.INFO: CreateAllLog End
[2025-04-12 16:11:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 16:11:04] Production.INFO: count ==12
[2025-04-12 16:11:04] Production.INFO: ==11900== Releasing lock...
[2025-04-12 16:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 16:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 16:11:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 16:11:04] Production.INFO: count ==23
[2025-04-12 16:11:04] Production.ERROR: done
[2025-04-12 16:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892697') start
[2025-04-12 16:11:04] Production.INFO: Account Balance End.
[2025-04-12 16:11:04] Production.ERROR: CronJobId end 12
[2025-04-12 16:11:04] Production.INFO: ==11904== Releasing lock...
[2025-04-12 16:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 16:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 16:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892697') end
[2025-04-12 16:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 16:11:04] Production.INFO: 1
[2025-04-12 16:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 16:11:04] Production.INFO: ==11908== Releasing lock...
[2025-04-12 16:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 16:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 16:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 13:11:05
[end_date_ymd] => 2025-04-12 16:11:05
[RateCDR] => 1
)
[2025-04-12 16:11:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 13:11:05' and `end` < '2025-04-12 16:11:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 16:11:12] Production.ERROR: CronJobId end10
[2025-04-12 16:11:12] Production.INFO: ==11902== Releasing lock...
[2025-04-12 16:11:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 16:11:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 16:11:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 16:11:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 16:11:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 16:11:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 16:11:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 16:11:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 16:11:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 16:11:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 16:11:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 16:11:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 16:11:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 16:11:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 16:11:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 16:11:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 16:11:15] Production.INFO: call_cost start
[2025-04-12 16:11:15] Production.INFO: call_cost end
[2025-04-12 16:11:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 16:11:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 16:11:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 16:11:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 16:11:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 16:11:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 16:11:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 16:11:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 16:11:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 16:11:16] Production.INFO: ==11898== Releasing lock...
[2025-04-12 16:11:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 16:11:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 16:11:18] Production.INFO: count ==1373
[2025-04-12 16:11:18] Production.ERROR: pbx CDR StartTime 2025-04-12 13:11:05 - End Time 2025-04-12 16:11:05
[2025-04-12 16:11:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 16:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892698', 'tblTempUsageDetail_20' ) start
[2025-04-12 16:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892698', 'tblTempUsageDetail_20' ) end
[2025-04-12 16:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892698', 'tblTempVendorCDR_20' ) start
[2025-04-12 16:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892698', 'tblTempVendorCDR_20' ) end
[2025-04-12 16:11:18] Production.INFO: ProcessCDR(1,14892698,1,1,2)
[2025-04-12 16:11:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892698,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 16:11:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892698,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 16:11:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892698,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:11:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892698,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:11:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892698', 'tblTempUsageDetail_20' ) start
[2025-04-12 16:11:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892698', 'tblTempUsageDetail_20' ) end
[2025-04-12 16:11:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 16:11:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 16:11:24] Production.INFO: ==11906== Releasing lock...
[2025-04-12 16:11:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 16:11:24] Production.INFO: 39 MB #Memory Used#
[2025-04-12 21:12:02] Production.INFO: ==11966== Lock acquired, processing the job...
[2025-04-12 21:12:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 21:12:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 21:12:02] Production.INFO: neon service started
[2025-04-12 21:12:02] Production.INFO: neon service started
[2025-04-12 21:12:02] Production.INFO: ==11966== Releasing lock...
[2025-04-12 21:12:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 21:12:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 16:12:02] Production.INFO: ==11968== Lock acquired, processing the job...
[2025-04-12 16:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 20:12:02] Production.INFO: ==11970== Lock acquired, processing the job...
[2025-04-12 20:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 20:12:02] Production.INFO: ==11970== Releasing lock...
[2025-04-12 20:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 20:12:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 16:12:03] Production.INFO: ==11968== Releasing lock...
[2025-04-12 16:12:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 16:12:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 16:12:04] Production.INFO: ==11979== Lock acquired, processing the job...
[2025-04-12 16:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 16:12:04] Production.INFO: ==11977== Lock acquired, processing the job...
[2025-04-12 16:12:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 16:12:04] Production.INFO: Account Balance Start.
[2025-04-12 16:12:04] Production.INFO: CreateAllLog Start
[2025-04-12 16:12:04] Production.INFO: 117
[2025-04-12 16:12:04] Production.INFO: Date 2025-04-08
[2025-04-12 16:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 16:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 16:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 16:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 16:12:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:12:04] Production.INFO: Date 2025-04-09
[2025-04-12 16:12:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:12:04] Production.INFO: Date 2025-04-10
[2025-04-12 16:12:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:12:04] Production.INFO: ==11973== Lock acquired, processing the job...
[2025-04-12 16:12:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 16:12:04] Production.INFO: Date 2025-04-11
[2025-04-12 16:12:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:12:04] Production.INFO: Date 2025-04-12
[2025-04-12 16:12:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:12:04] Production.INFO: Total Charge 0
[2025-04-12 16:12:04] Production.INFO: ==11975== Lock acquired, processing the job...
[2025-04-12 16:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 16:12:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 16:12:04] Production.INFO: CreateAllLog End
[2025-04-12 16:12:04] Production.INFO: ==11981== Lock acquired, processing the job...
[2025-04-12 16:12:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 16:12:04] Production.INFO: Account Balance End.
[2025-04-12 16:12:04] Production.ERROR: CronJobId end 12
[2025-04-12 16:12:04] Production.INFO: ==11979== Releasing lock...
[2025-04-12 16:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 16:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 16:12:04] Production.INFO: ==11983== Lock acquired, processing the job...
[2025-04-12 16:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 16:12:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 16:12:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 16:12:04] Production.INFO: count ==12
[2025-04-12 16:12:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 16:12:04] Production.INFO: count ==23
[2025-04-12 16:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892702') start
[2025-04-12 16:12:04] Production.INFO: ==11975== Releasing lock...
[2025-04-12 16:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 16:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 16:12:05] Production.ERROR: done
[2025-04-12 16:12:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 16:12:05] Production.ERROR: PBX CALL prc_importPBXExtension('14892702') end
[2025-04-12 16:12:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 16:12:05] Production.INFO: 1
[2025-04-12 16:12:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 16:12:05] Production.INFO: ==11983== Releasing lock...
[2025-04-12 16:12:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 16:12:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 16:12:05] Production.ERROR: done
[2025-04-12 16:12:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 13:12:06
[end_date_ymd] => 2025-04-12 16:12:06
[RateCDR] => 1
)
[2025-04-12 16: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-12 13:12:06' and `end` < '2025-04-12 16: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-12 16:12:12] Production.ERROR: CronJobId end10
[2025-04-12 16:12:12] Production.INFO: ==11977== Releasing lock...
[2025-04-12 16:12:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 16:12:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 16:12:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 16:12:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 16:12:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 16:12:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 16:12:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 16:12:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 16:12:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 16:12:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 16:12:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 16:12:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 16:12:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 16:12:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 16:12:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 16:12:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 16:12:15] Production.INFO: call_cost start
[2025-04-12 16:12:15] Production.INFO: call_cost end
[2025-04-12 16:12:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 16:12:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 16:12:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 16:12:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 16:12:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 16:12:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 16:12:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 16:12:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 16:12:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 16:12:16] Production.INFO: ==11973== Releasing lock...
[2025-04-12 16:12:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 16:12:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 16:12:19] Production.INFO: count ==1363
[2025-04-12 16:12:19] Production.ERROR: pbx CDR StartTime 2025-04-12 13:12:06 - End Time 2025-04-12 16:12:06
[2025-04-12 16:12:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 16:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892703', 'tblTempUsageDetail_20' ) start
[2025-04-12 16:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892703', 'tblTempUsageDetail_20' ) end
[2025-04-12 16:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892703', 'tblTempVendorCDR_20' ) start
[2025-04-12 16:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892703', 'tblTempVendorCDR_20' ) end
[2025-04-12 16:12:19] Production.INFO: ProcessCDR(1,14892703,1,1,2)
[2025-04-12 16:12:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892703,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 16:12:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892703,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 16:12:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892703,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:12:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892703,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:12:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892703', 'tblTempUsageDetail_20' ) start
[2025-04-12 16:12:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892703', 'tblTempUsageDetail_20' ) end
[2025-04-12 16:12:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 16:12:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 16:12:24] Production.INFO: ==11981== Releasing lock...
[2025-04-12 16:12:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 16:12:24] Production.INFO: 39 MB #Memory Used#
[2025-04-12 21:13:01] Production.INFO: ==12040== Lock acquired, processing the job...
[2025-04-12 21:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 21:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 21:13:01] Production.INFO: neon service started
[2025-04-12 21:13:01] Production.INFO: neon service started
[2025-04-12 21:13:01] Production.INFO: ==12040== Releasing lock...
[2025-04-12 21:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 21:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 16:13:01] Production.INFO: ==12043== Lock acquired, processing the job...
[2025-04-12 16:13:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 16:13:02] Production.INFO: ==12043== Releasing lock...
[2025-04-12 16:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 16:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 20:13:02] Production.INFO: ==12045== Lock acquired, processing the job...
[2025-04-12 20:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 20:13:02] Production.INFO: ==12045== Releasing lock...
[2025-04-12 20:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 20:13:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 16:13:03] Production.INFO: ==12051== Lock acquired, processing the job...
[2025-04-12 16:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 16:13:03] Production.INFO: ==12057== Lock acquired, processing the job...
[2025-04-12 16:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 16:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 16:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 16:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 16:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 16:13:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 16:13:03] Production.INFO: count ==12
[2025-04-12 16:13:03] Production.INFO: ==12047== Lock acquired, processing the job...
[2025-04-12 16:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 16:13:03] Production.INFO: ==12049== Lock acquired, processing the job...
[2025-04-12 16:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 16:13:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 16:13:03] Production.INFO: count ==23
[2025-04-12 16:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14892704') start
[2025-04-12 16:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 16:13:03] Production.INFO: ==12053== Lock acquired, processing the job...
[2025-04-12 16:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 16:13:03] Production.INFO: ==12055== Lock acquired, processing the job...
[2025-04-12 16:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 16:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14892704') end
[2025-04-12 16:13:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 16:13:03] Production.INFO: 1
[2025-04-12 16:13:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 16:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 16:13:03] Production.INFO: Account Balance Start.
[2025-04-12 16:13:03] Production.INFO: ==12057== Releasing lock...
[2025-04-12 16:13:03] Production.INFO: CreateAllLog Start
[2025-04-12 16:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 16:13:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 16:13:03] Production.INFO: 117
[2025-04-12 16:13:03] Production.INFO: Date 2025-04-08
[2025-04-12 16:13:03] Production.INFO: Reseller ==> 0
[2025-04-12 16:13:03] Production.INFO: Date 2025-04-09
[2025-04-12 16:13:03] Production.INFO: Reseller ==> 0
[2025-04-12 16:13:03] Production.INFO: Date 2025-04-10
[2025-04-12 16:13:03] Production.INFO: Reseller ==> 0
[2025-04-12 16:13:03] Production.INFO: Date 2025-04-11
[2025-04-12 16:13:03] Production.INFO: Reseller ==> 0
[2025-04-12 16:13:03] Production.INFO: Date 2025-04-12
[2025-04-12 16:13:03] Production.INFO: Reseller ==> 0
[2025-04-12 16:13:03] Production.INFO: Total Charge 0
[2025-04-12 16:13:03] Production.INFO: CreateAllLog End
[2025-04-12 16:13:04] Production.ERROR: done
[2025-04-12 16:13:04] Production.INFO: ==12049== Releasing lock...
[2025-04-12 16:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 16:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 16:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 16:13:04] Production.INFO: Account Balance End.
[2025-04-12 16:13:04] Production.ERROR: done
[2025-04-12 16:13:04] Production.ERROR: CronJobId end 12
[2025-04-12 16:13:04] Production.INFO: ==12053== Releasing lock...
[2025-04-12 16:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 16:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 16:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 13:13:05
[end_date_ymd] => 2025-04-12 16:13:05
[RateCDR] => 1
)
[2025-04-12 16:13:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 13:13:05' and `end` < '2025-04-12 16:13:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 16:13:12] Production.ERROR: CronJobId end10
[2025-04-12 16:13:12] Production.INFO: ==12051== Releasing lock...
[2025-04-12 16:13:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 16:13:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 16:13:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 16:13:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 16:13:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 16:13:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 16:13:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 16:13:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 16:13:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 16:13:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 16:13:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 16:13:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 16:13:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 16:13:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 16:13:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 16:13:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 16:13:15] Production.INFO: call_cost start
[2025-04-12 16:13:15] Production.INFO: call_cost end
[2025-04-12 16:13:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 16:13:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 16:13:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 16:13:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 16:13:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 16:13:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 16:13:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 16:13:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 16:13:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 16:13:16] Production.INFO: ==12047== Releasing lock...
[2025-04-12 16:13:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 16:13:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 16:13:18] Production.INFO: count ==1359
[2025-04-12 16:13:18] Production.ERROR: pbx CDR StartTime 2025-04-12 13:13:05 - End Time 2025-04-12 16:13:05
[2025-04-12 16:13:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 16:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892708', 'tblTempUsageDetail_20' ) start
[2025-04-12 16:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892708', 'tblTempUsageDetail_20' ) end
[2025-04-12 16:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892708', 'tblTempVendorCDR_20' ) start
[2025-04-12 16:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892708', 'tblTempVendorCDR_20' ) end
[2025-04-12 16:13:18] Production.INFO: ProcessCDR(1,14892708,1,1,2)
[2025-04-12 16:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892708,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 16:13:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892708,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 16:13:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892708,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:13:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892708,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:13:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892708', 'tblTempUsageDetail_20' ) start
[2025-04-12 16:13:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892708', 'tblTempUsageDetail_20' ) end
[2025-04-12 16:13:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 16:13:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 16:13:23] Production.INFO: ==12055== Releasing lock...
[2025-04-12 16:13:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 16:13:23] Production.INFO: 38.75 MB #Memory Used#
[2025-04-12 21:14:01] Production.INFO: ==12123== Lock acquired, processing the job...
[2025-04-12 21:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 21:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 21:14:01] Production.INFO: neon service started
[2025-04-12 21:14:02] Production.INFO: neon service started
[2025-04-12 21:14:02] Production.INFO: ==12123== Releasing lock...
[2025-04-12 21:14:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 21:14:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 20:14:02] Production.INFO: ==12127== Lock acquired, processing the job...
[2025-04-12 20:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 16:14:02] Production.INFO: ==12125== Lock acquired, processing the job...
[2025-04-12 16:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 20:14:02] Production.INFO: ==12127== Releasing lock...
[2025-04-12 20:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 20:14:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 16:14:02] Production.INFO: ==12125== Releasing lock...
[2025-04-12 16:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 16:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 16:14:03] Production.INFO: ==12130== Lock acquired, processing the job...
[2025-04-12 16:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 16:14:03] Production.INFO: ==12132== Lock acquired, processing the job...
[2025-04-12 16:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 16:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 16:14:03] Production.INFO: ==12138== Lock acquired, processing the job...
[2025-04-12 16:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 16:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 16:14:04] Production.INFO: ==12136== Lock acquired, processing the job...
[2025-04-12 16:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 16:14:04] Production.INFO: ==12134== Lock acquired, processing the job...
[2025-04-12 16:14:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 16:14:04] Production.INFO: ==12132== Releasing lock...
[2025-04-12 16:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 16:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 16:14:04] Production.INFO: ==12140== Lock acquired, processing the job...
[2025-04-12 16:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 16:14:04] Production.INFO: Account Balance Start.
[2025-04-12 16:14:04] Production.INFO: CreateAllLog Start
[2025-04-12 16:14:04] Production.INFO: 117
[2025-04-12 16:14:04] Production.INFO: Date 2025-04-08
[2025-04-12 16:14:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 16:14:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 16:14:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 16:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 16:14:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:14:04] Production.INFO: Date 2025-04-09
[2025-04-12 16:14:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:14:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 16:14:04] Production.INFO: count ==12
[2025-04-12 16:14:04] Production.INFO: Date 2025-04-10
[2025-04-12 16:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 16:14:04] Production.INFO: count ==23
[2025-04-12 16:14:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:14:04] Production.ERROR: done
[2025-04-12 16:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 16:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892712') start
[2025-04-12 16:14:04] Production.INFO: Date 2025-04-11
[2025-04-12 16:14:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:14:04] Production.INFO: Date 2025-04-12
[2025-04-12 16:14:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892712') end
[2025-04-12 16:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 16:14:04] Production.INFO: 1
[2025-04-12 16:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 16:14:04] Production.INFO: Total Charge 0
[2025-04-12 16:14:04] Production.INFO: CreateAllLog End
[2025-04-12 16:14:04] Production.INFO: ==12140== Releasing lock...
[2025-04-12 16:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 16:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 16:14:04] Production.ERROR: done
[2025-04-12 16:14:04] Production.INFO: Account Balance End.
[2025-04-12 16:14:04] Production.ERROR: CronJobId end 12
[2025-04-12 16:14:04] Production.INFO: ==12136== Releasing lock...
[2025-04-12 16:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 16:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 16:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 13:14:05
[end_date_ymd] => 2025-04-12 16:14:05
[RateCDR] => 1
)
[2025-04-12 16:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 13:14:05' and `end` < '2025-04-12 16:14:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 16:14:12] Production.ERROR: CronJobId end10
[2025-04-12 16:14:12] Production.INFO: ==12134== Releasing lock...
[2025-04-12 16:14:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 16:14:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 16:14:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 16:14:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 16:14:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 16:14:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 16:14:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 16:14:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 16:14:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 16:14:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 16:14:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 16:14:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 16:14:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 16:14:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 16:14:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 16:14:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 16:14:15] Production.INFO: call_cost start
[2025-04-12 16:14:15] Production.INFO: call_cost end
[2025-04-12 16:14:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 16:14:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 16:14:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 16:14:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 16:14:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 16:14:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 16:14:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 16:14:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 16:14:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 16:14:15] Production.INFO: ==12130== Releasing lock...
[2025-04-12 16:14:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 16:14:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 16:14:18] Production.INFO: count ==1359
[2025-04-12 16:14:18] Production.ERROR: pbx CDR StartTime 2025-04-12 13:14:05 - End Time 2025-04-12 16:14:05
[2025-04-12 16:14:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 16:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892713', 'tblTempUsageDetail_20' ) start
[2025-04-12 16:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892713', 'tblTempUsageDetail_20' ) end
[2025-04-12 16:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892713', 'tblTempVendorCDR_20' ) start
[2025-04-12 16:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892713', 'tblTempVendorCDR_20' ) end
[2025-04-12 16:14:18] Production.INFO: ProcessCDR(1,14892713,1,1,2)
[2025-04-12 16:14:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892713,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 16:14:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892713,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 16:14:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892713,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:14:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892713,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892713', 'tblTempUsageDetail_20' ) start
[2025-04-12 16:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892713', 'tblTempUsageDetail_20' ) end
[2025-04-12 16:14:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 16:14:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 16:14:22] Production.INFO: ==12138== Releasing lock...
[2025-04-12 16:14:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 16:14:22] Production.INFO: 38.75 MB #Memory Used#
[2025-04-12 21:15:01] Production.INFO: ==12214== Lock acquired, processing the job...
[2025-04-12 21:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 21:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 21:15:01] Production.INFO: neon service started
[2025-04-12 21:15:01] Production.INFO: neon service started
[2025-04-12 21:15:01] Production.INFO: ==12214== Releasing lock...
[2025-04-12 21:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 21:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 16:15:02] Production.INFO: ==12216== Lock acquired, processing the job...
[2025-04-12 16:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 20:15:02] Production.INFO: ==12218== Lock acquired, processing the job...
[2025-04-12 20:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 20:15:02] Production.INFO: ==12218== Releasing lock...
[2025-04-12 20:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 20:15:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 16:15:02] Production.INFO: ==12216== Releasing lock...
[2025-04-12 16:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 16:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 16:15:03] Production.INFO: ==12222== Lock acquired, processing the job...
[2025-04-12 16:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 16:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 16:15:03] Production.INFO: ==12226== Lock acquired, processing the job...
[2025-04-12 16:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 16:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 16:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 16:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 16:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 16:15:03] Production.INFO: ==12230== Lock acquired, processing the job...
[2025-04-12 16:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 16:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 16:15:03] Production.INFO: ==12224== Lock acquired, processing the job...
[2025-04-12 16:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 16:15:03] Production.INFO: ==12228== Lock acquired, processing the job...
[2025-04-12 16:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 16:15:03] Production.INFO: ==12232== Lock acquired, processing the job...
[2025-04-12 16:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 16:15:03] Production.INFO: Account Balance Start.
[2025-04-12 16:15:03] Production.INFO: CreateAllLog Start
[2025-04-12 16:15:03] Production.INFO: 117
[2025-04-12 16:15:03] Production.INFO: Date 2025-04-08
[2025-04-12 16:15:03] Production.INFO: Reseller ==> 0
[2025-04-12 16:15:03] Production.INFO: Date 2025-04-09
[2025-04-12 16:15:03] Production.INFO: Reseller ==> 0
[2025-04-12 16:15:03] Production.INFO: Date 2025-04-10
[2025-04-12 16:15:03] Production.INFO: Reseller ==> 0
[2025-04-12 16:15:03] Production.INFO: Date 2025-04-11
[2025-04-12 16:15:03] Production.INFO: Reseller ==> 0
[2025-04-12 16:15:03] Production.ERROR: done
[2025-04-12 16:15:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 16:15:03] Production.INFO: Date 2025-04-12
[2025-04-12 16:15:03] Production.INFO: Reseller ==> 0
[2025-04-12 16:15:04] Production.INFO: Total Charge 0
[2025-04-12 16: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-12 16:15:04] Production.INFO: CreateAllLog End
[2025-04-12 16:15:04] Production.INFO: ==12224== Releasing lock...
[2025-04-12 16:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 16:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 16:15:04] Production.INFO: count ==12
[2025-04-12 16: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-12 16:15:04] Production.INFO: count ==23
[2025-04-12 16:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892717') start
[2025-04-12 16:15:04] Production.ERROR: done
[2025-04-12 16:15:04] Production.INFO: Account Balance End.
[2025-04-12 16:15:04] Production.ERROR: CronJobId end 12
[2025-04-12 16:15:04] Production.INFO: ==12228== Releasing lock...
[2025-04-12 16:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 16:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 16:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892717') end
[2025-04-12 16:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 16:15:04] Production.INFO: 1
[2025-04-12 16:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 16:15:04] Production.INFO: ==12232== Releasing lock...
[2025-04-12 16:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 16:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 16:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 13:15:05
[end_date_ymd] => 2025-04-12 16:15:05
[RateCDR] => 1
)
[2025-04-12 16:15:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 13:15:05' and `end` < '2025-04-12 16:15:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 16:15:14] Production.ERROR: CronJobId end10
[2025-04-12 16:15:14] Production.INFO: ==12226== Releasing lock...
[2025-04-12 16:15:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 16:15:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 16:15:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 16:15:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 16:15:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 16:15:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 16:15:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 16:15:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 16:15:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 16:15:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 16:15:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 16:15:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 16:15:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 16:15:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 16:15:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 16:15:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 16:15:15] Production.INFO: call_cost start
[2025-04-12 16:15:15] Production.INFO: call_cost end
[2025-04-12 16:15:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 16:15:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 16:15:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 16:15:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 16:15:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 16:15:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 16:15:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 16:15:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 16:15:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 16:15:16] Production.INFO: ==12222== Releasing lock...
[2025-04-12 16:15:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 16:15:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 16:15:18] Production.INFO: count ==1357
[2025-04-12 16:15:18] Production.ERROR: pbx CDR StartTime 2025-04-12 13:15:05 - End Time 2025-04-12 16:15:05
[2025-04-12 16:15:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 16:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892718', 'tblTempUsageDetail_20' ) start
[2025-04-12 16:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892718', 'tblTempUsageDetail_20' ) end
[2025-04-12 16:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892718', 'tblTempVendorCDR_20' ) start
[2025-04-12 16:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892718', 'tblTempVendorCDR_20' ) end
[2025-04-12 16:15:18] Production.INFO: ProcessCDR(1,14892718,1,1,2)
[2025-04-12 16:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892718,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 16:15:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892718,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 16:15:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892718,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:15:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892718,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:15:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892718', 'tblTempUsageDetail_20' ) start
[2025-04-12 16:15:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892718', 'tblTempUsageDetail_20' ) end
[2025-04-12 16:15:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 16:15:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 16:15:23] Production.INFO: ==12230== Releasing lock...
[2025-04-12 16:15:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 16:15:23] Production.INFO: 39 MB #Memory Used#
[2025-04-12 21:16:02] Production.INFO: ==12292== Lock acquired, processing the job...
[2025-04-12 21:16:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 21:16:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 21:16:02] Production.INFO: neon service started
[2025-04-12 21:16:02] Production.INFO: neon service started
[2025-04-12 21:16:02] Production.INFO: ==12292== Releasing lock...
[2025-04-12 21:16:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 21:16:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 16:16:02] Production.INFO: ==12294== Lock acquired, processing the job...
[2025-04-12 16:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 20:16:02] Production.INFO: ==12296== Lock acquired, processing the job...
[2025-04-12 20:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 20:16:02] Production.INFO: ==12296== Releasing lock...
[2025-04-12 20:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 20:16:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 16:16:03] Production.INFO: ==12294== Releasing lock...
[2025-04-12 16:16:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 16:16:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 16:16:03] Production.INFO: ==12301== Lock acquired, processing the job...
[2025-04-12 16:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 16:16:03] Production.INFO: ==12299== Lock acquired, processing the job...
[2025-04-12 16:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 16:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 16:16:04] Production.INFO: ==12305== Lock acquired, processing the job...
[2025-04-12 16:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 16:16:04] Production.INFO: Account Balance Start.
[2025-04-12 16:16:04] Production.INFO: CreateAllLog Start
[2025-04-12 16:16:04] Production.INFO: 117
[2025-04-12 16:16:04] Production.INFO: Date 2025-04-08
[2025-04-12 16:16:04] Production.INFO: ==12303== Lock acquired, processing the job...
[2025-04-12 16:16:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 16:16:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:16:04] Production.INFO: Date 2025-04-09
[2025-04-12 16:16:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:16:04] Production.INFO: Date 2025-04-10
[2025-04-12 16:16:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:16:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 16:16:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 16:16:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 16:16:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 16:16:04] Production.INFO: Date 2025-04-11
[2025-04-12 16:16:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:16:04] Production.INFO: ==12301== Releasing lock...
[2025-04-12 16:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 16:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 16:16:04] Production.INFO: Date 2025-04-12
[2025-04-12 16:16:04] Production.INFO: ==12307== Lock acquired, processing the job...
[2025-04-12 16:16:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:16:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 16:16:04] Production.INFO: ==12309== Lock acquired, processing the job...
[2025-04-12 16:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 16:16:04] Production.INFO: Total Charge 0
[2025-04-12 16:16:04] Production.INFO: CreateAllLog End
[2025-04-12 16:16:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 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-12 16:16:04] Production.INFO: Account Balance End.
[2025-04-12 16:16:04] Production.INFO: count ==12
[2025-04-12 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-12 16:16:04] Production.INFO: count ==23
[2025-04-12 16:16:04] Production.ERROR: CronJobId end 12
[2025-04-12 16:16:04] Production.INFO: ==12305== Releasing lock...
[2025-04-12 16:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 16:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 16:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892722') start
[2025-04-12 16:16:05] Production.ERROR: done
[2025-04-12 16:16:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 16:16:05] Production.ERROR: PBX CALL prc_importPBXExtension('14892722') end
[2025-04-12 16:16:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 16:16:05] Production.INFO: 1
[2025-04-12 16:16:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 16:16:05] Production.INFO: ==12309== Releasing lock...
[2025-04-12 16:16:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 16:16:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 16:16:05] Production.ERROR: done
[2025-04-12 16:16:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 13:16:06
[end_date_ymd] => 2025-04-12 16:16:06
[RateCDR] => 1
)
[2025-04-12 16: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-12 13:16:06' and `end` < '2025-04-12 16: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-12 16:16:15] Production.ERROR: CronJobId end10
[2025-04-12 16:16:15] Production.INFO: ==12303== Releasing lock...
[2025-04-12 16:16:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 16:16:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 16:16:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 16:16:16] Production.INFO: ============== Balance Warning START===========
[2025-04-12 16:16:16] Production.INFO: ============== Balance Warning END===========
[2025-04-12 16:16:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 16:16:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 16:16:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 16:16:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 16:16:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 16:16:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 16:16:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 16:16:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 16:16:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 16:16:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 16:16:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 16:16:16] Production.INFO: call_cost start
[2025-04-12 16:16:16] Production.INFO: call_cost end
[2025-04-12 16:16:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 16:16:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 16:16:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 16:16:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 16:16:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 16:16:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 16:16:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 16:16:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 16:16:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 16:16:17] Production.INFO: ==12299== Releasing lock...
[2025-04-12 16:16:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 16:16:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 16:16:19] Production.INFO: count ==1356
[2025-04-12 16:16:19] Production.ERROR: pbx CDR StartTime 2025-04-12 13:16:06 - End Time 2025-04-12 16:16:06
[2025-04-12 16:16:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 16:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892723', 'tblTempUsageDetail_20' ) start
[2025-04-12 16:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892723', 'tblTempUsageDetail_20' ) end
[2025-04-12 16:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892723', 'tblTempVendorCDR_20' ) start
[2025-04-12 16:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892723', 'tblTempVendorCDR_20' ) end
[2025-04-12 16:16:19] Production.INFO: ProcessCDR(1,14892723,1,1,2)
[2025-04-12 16:16:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892723,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 16:16:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892723,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 16:16:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892723,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:16:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892723,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:16:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892723', 'tblTempUsageDetail_20' ) start
[2025-04-12 16:16:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892723', 'tblTempUsageDetail_20' ) end
[2025-04-12 16:16:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 16:16:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 16:16:23] Production.INFO: ==12307== Releasing lock...
[2025-04-12 16:16:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 16:16:23] Production.INFO: 38.75 MB #Memory Used#
[2025-04-12 21:17:01] Production.INFO: ==12364== Lock acquired, processing the job...
[2025-04-12 21:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 21:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 21:17:01] Production.INFO: neon service started
[2025-04-12 21:17:01] Production.INFO: neon service started
[2025-04-12 21:17:01] Production.INFO: ==12364== Releasing lock...
[2025-04-12 21:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 21:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 16:17:02] Production.INFO: ==12366== Lock acquired, processing the job...
[2025-04-12 16:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 20:17:02] Production.INFO: ==12368== Lock acquired, processing the job...
[2025-04-12 20:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 20:17:02] Production.INFO: ==12368== Releasing lock...
[2025-04-12 20:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 20:17:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 16:17:02] Production.INFO: ==12366== Releasing lock...
[2025-04-12 16:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 16:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 16:17:03] Production.INFO: ==12374== Lock acquired, processing the job...
[2025-04-12 16:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 16:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 16:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 16:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 16:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 16:17:03] Production.INFO: ==12378== Lock acquired, processing the job...
[2025-04-12 16:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 16:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 16:17:03] Production.INFO: ==12370== Lock acquired, processing the job...
[2025-04-12 16:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 16:17:03] Production.INFO: ==12381== Lock acquired, processing the job...
[2025-04-12 16:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 16:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 16:17:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 16:17:03] Production.INFO: ==12372== Lock acquired, processing the job...
[2025-04-12 16:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 16:17:03] Production.INFO: count ==12
[2025-04-12 16:17:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 16:17:03] Production.INFO: count ==23
[2025-04-12 16:17:03] Production.INFO: ==12376== Lock acquired, processing the job...
[2025-04-12 16:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 16:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14892724') start
[2025-04-12 16:17:03] Production.ERROR: done
[2025-04-12 16:17:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 16:17:03] Production.INFO: Account Balance Start.
[2025-04-12 16:17:03] Production.INFO: CreateAllLog Start
[2025-04-12 16:17:03] Production.INFO: 117
[2025-04-12 16:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14892724') end
[2025-04-12 16:17:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 16:17:03] Production.INFO: 1
[2025-04-12 16:17:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 16:17:03] Production.INFO: Date 2025-04-08
[2025-04-12 16:17:03] Production.INFO: Reseller ==> 0
[2025-04-12 16:17:04] Production.INFO: ==12381== Releasing lock...
[2025-04-12 16:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 16:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 16:17:04] Production.INFO: Date 2025-04-09
[2025-04-12 16:17:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:17:04] Production.ERROR: done
[2025-04-12 16:17:04] Production.INFO: Date 2025-04-10
[2025-04-12 16:17:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:17:04] Production.INFO: Date 2025-04-11
[2025-04-12 16:17:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:17:04] Production.INFO: Date 2025-04-12
[2025-04-12 16:17:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:17:04] Production.INFO: Total Charge 0
[2025-04-12 16:17:04] Production.INFO: CreateAllLog End
[2025-04-12 16:17:04] Production.INFO: ==12372== Releasing lock...
[2025-04-12 16:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 16:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 16:17:04] Production.INFO: Account Balance End.
[2025-04-12 16:17:04] Production.ERROR: CronJobId end 12
[2025-04-12 16:17:04] Production.INFO: ==12376== Releasing lock...
[2025-04-12 16:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 16:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 16:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 13:17:05
[end_date_ymd] => 2025-04-12 16:17:05
[RateCDR] => 1
)
[2025-04-12 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-12 13:17:05' and `end` < '2025-04-12 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-12 16:17:11] Production.ERROR: CronJobId end10
[2025-04-12 16:17:11] Production.INFO: ==12374== Releasing lock...
[2025-04-12 16:17:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 16:17:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 16:17:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 16:17:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 16:17:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 16:17:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 16:17:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 16:17:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 16:17:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 16:17:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 16:17:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 16:17:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 16:17:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 16:17:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 16:17:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 16:17:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 16:17:14] Production.INFO: call_cost start
[2025-04-12 16:17:14] Production.INFO: call_cost end
[2025-04-12 16:17:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 16:17:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 16:17:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 16:17:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 16:17:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 16:17:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 16:17:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 16:17:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 16:17:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 16:17:15] Production.INFO: ==12370== Releasing lock...
[2025-04-12 16:17:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 16:17:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 16:17:18] Production.INFO: count ==1351
[2025-04-12 16:17:18] Production.ERROR: pbx CDR StartTime 2025-04-12 13:17:05 - End Time 2025-04-12 16:17:05
[2025-04-12 16:17:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 16:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892728', 'tblTempUsageDetail_20' ) start
[2025-04-12 16:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892728', 'tblTempUsageDetail_20' ) end
[2025-04-12 16:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892728', 'tblTempVendorCDR_20' ) start
[2025-04-12 16:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892728', 'tblTempVendorCDR_20' ) end
[2025-04-12 16:17:18] Production.INFO: ProcessCDR(1,14892728,1,1,2)
[2025-04-12 16:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892728,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 16:17:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892728,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 16:17:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892728,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:17:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892728,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892728', 'tblTempUsageDetail_20' ) start
[2025-04-12 16:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892728', 'tblTempUsageDetail_20' ) end
[2025-04-12 16:17:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 16:17:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 16:17:22] Production.INFO: ==12378== Releasing lock...
[2025-04-12 16:17:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 16:17:22] Production.INFO: 39.25 MB #Memory Used#
[2025-04-12 21:18:02] Production.INFO: ==12440== Lock acquired, processing the job...
[2025-04-12 21:18:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 21:18:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 21:18:02] Production.INFO: neon service started
[2025-04-12 21:18:02] Production.INFO: neon service started
[2025-04-12 21:18:02] Production.INFO: ==12440== Releasing lock...
[2025-04-12 21:18:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 21:18:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 16:18:02] Production.INFO: ==12442== Lock acquired, processing the job...
[2025-04-12 16:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 16:18:02] Production.INFO: ==12442== Releasing lock...
[2025-04-12 16:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 16:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 20:18:03] Production.INFO: ==12444== Lock acquired, processing the job...
[2025-04-12 20:18:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 20:18:03] Production.INFO: ==12444== Releasing lock...
[2025-04-12 20:18:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 20:18:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 16:18:03] Production.INFO: ==12448== Lock acquired, processing the job...
[2025-04-12 16:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 16:18:03] Production.INFO: ==12450== Lock acquired, processing the job...
[2025-04-12 16:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 16:18:04] Production.INFO: ==12454== Lock acquired, processing the job...
[2025-04-12 16:18:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 16:18:04] Production.INFO: ==12446== Lock acquired, processing the job...
[2025-04-12 16:18:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 16:18:04] Production.INFO: ==12452== Lock acquired, processing the job...
[2025-04-12 16:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 16:18:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 16:18:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 16:18:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 16:18:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 16:18:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 16:18:04] Production.INFO: Account Balance Start.
[2025-04-12 16:18:04] Production.INFO: CreateAllLog Start
[2025-04-12 16:18:04] Production.INFO: 117
[2025-04-12 16:18:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 16:18:04] Production.INFO: Date 2025-04-08
[2025-04-12 16:18:04] Production.INFO: ==12456== Lock acquired, processing the job...
[2025-04-12 16:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 16:18:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:18:04] Production.INFO: Date 2025-04-09
[2025-04-12 16:18:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:18:04] Production.INFO: Date 2025-04-10
[2025-04-12 16:18:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:18:04] Production.INFO: Date 2025-04-11
[2025-04-12 16:18:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:18:04] Production.INFO: Date 2025-04-12
[2025-04-12 16:18:04] Production.INFO: Reseller ==> 0
[2025-04-12 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-12 16:18:04] Production.INFO: Total Charge 0
[2025-04-12 16:18:04] Production.INFO: count ==12
[2025-04-12 16:18:04] Production.INFO: CreateAllLog End
[2025-04-12 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-12 16:18:04] Production.INFO: count ==23
[2025-04-12 16:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892732') start
[2025-04-12 16:18:04] Production.INFO: ==12448== Releasing lock...
[2025-04-12 16:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 16:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 16:18:04] Production.ERROR: done
[2025-04-12 16:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 16:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892732') end
[2025-04-12 16:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 16:18:04] Production.INFO: 1
[2025-04-12 16:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 16:18:04] Production.INFO: ==12456== Releasing lock...
[2025-04-12 16:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 16:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 16:18:04] Production.ERROR: done
[2025-04-12 16:18:04] Production.INFO: Account Balance End.
[2025-04-12 16:18:04] Production.ERROR: CronJobId end 12
[2025-04-12 16:18:04] Production.INFO: ==12452== Releasing lock...
[2025-04-12 16:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 16:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 16:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 13:18:05
[end_date_ymd] => 2025-04-12 16:18:05
[RateCDR] => 1
)
[2025-04-12 16:18:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 13:18:05' and `end` < '2025-04-12 16:18:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 16:18:11] Production.ERROR: CronJobId end10
[2025-04-12 16:18:11] Production.INFO: ==12450== Releasing lock...
[2025-04-12 16:18:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 16:18:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 16:18:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 16:18:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 16:18:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 16:18:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 16:18:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 16:18:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 16:18:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 16:18:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 16:18:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 16:18:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 16:18:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 16:18:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 16:18:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 16:18:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 16:18:15] Production.INFO: call_cost start
[2025-04-12 16:18:15] Production.INFO: call_cost end
[2025-04-12 16:18:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 16:18:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 16:18:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 16:18:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 16:18:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 16:18:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 16:18:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 16:18:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 16:18:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 16:18:16] Production.INFO: ==12446== Releasing lock...
[2025-04-12 16:18:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 16:18:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 16:18:18] Production.INFO: count ==1346
[2025-04-12 16:18:19] Production.ERROR: pbx CDR StartTime 2025-04-12 13:18:05 - End Time 2025-04-12 16:18:05
[2025-04-12 16:18:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 16:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892733', 'tblTempUsageDetail_20' ) start
[2025-04-12 16:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892733', 'tblTempUsageDetail_20' ) end
[2025-04-12 16:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892733', 'tblTempVendorCDR_20' ) start
[2025-04-12 16:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892733', 'tblTempVendorCDR_20' ) end
[2025-04-12 16:18:19] Production.INFO: ProcessCDR(1,14892733,1,1,2)
[2025-04-12 16:18:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892733,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 16:18:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892733,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 16:18:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892733,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:18:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892733,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892733', 'tblTempUsageDetail_20' ) start
[2025-04-12 16:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892733', 'tblTempUsageDetail_20' ) end
[2025-04-12 16:18:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 16:18:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 16:18:22] Production.INFO: ==12454== Releasing lock...
[2025-04-12 16:18:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 16:18:22] Production.INFO: 38.5 MB #Memory Used#
[2025-04-12 21:19:01] Production.INFO: ==12511== Lock acquired, processing the job...
[2025-04-12 21:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 21:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 21:19:01] Production.INFO: neon service started
[2025-04-12 21:19:01] Production.INFO: neon service started
[2025-04-12 21:19:01] Production.INFO: ==12511== Releasing lock...
[2025-04-12 21:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 21:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 16:19:02] Production.INFO: ==12513== Lock acquired, processing the job...
[2025-04-12 16:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 20:19:02] Production.INFO: ==12515== Lock acquired, processing the job...
[2025-04-12 20:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 20:19:02] Production.INFO: ==12515== Releasing lock...
[2025-04-12 20:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 20:19:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 16:19:02] Production.INFO: ==12513== Releasing lock...
[2025-04-12 16:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 16:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 16:19:03] Production.INFO: ==12518== Lock acquired, processing the job...
[2025-04-12 16:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 16:19:03] Production.INFO: ==12520== Lock acquired, processing the job...
[2025-04-12 16:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 16:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 16:19:03] Production.INFO: ==12522== Lock acquired, processing the job...
[2025-04-12 16:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 16:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 16:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 16:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 16:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 16:19:03] Production.INFO: ==12524== Lock acquired, processing the job...
[2025-04-12 16:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 16:19:03] Production.INFO: ==12528== Lock acquired, processing the job...
[2025-04-12 16:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 16:19:03] Production.INFO: ==12526== Lock acquired, processing the job...
[2025-04-12 16:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 16:19:04] Production.INFO: Account Balance Start.
[2025-04-12 16:19:04] Production.INFO: CreateAllLog Start
[2025-04-12 16:19:04] Production.INFO: 117
[2025-04-12 16:19:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 16:19:04] Production.INFO: Date 2025-04-08
[2025-04-12 16:19:04] Production.INFO: ==12520== Releasing lock...
[2025-04-12 16:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 16:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 16:19:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:19:04] Production.INFO: Date 2025-04-09
[2025-04-12 16:19:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:19:04] Production.INFO: Date 2025-04-10
[2025-04-12 16:19:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:19:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 16:19:04] Production.INFO: Date 2025-04-11
[2025-04-12 16:19:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:19:04] Production.INFO: count ==12
[2025-04-12 16:19:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 16:19:04] Production.INFO: count ==23
[2025-04-12 16:19:04] Production.INFO: Date 2025-04-12
[2025-04-12 16:19:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892737') start
[2025-04-12 16:19:04] Production.INFO: Total Charge 0
[2025-04-12 16:19:04] Production.INFO: CreateAllLog End
[2025-04-12 16:19:04] Production.ERROR: done
[2025-04-12 16:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 16:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892737') end
[2025-04-12 16:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 16:19:04] Production.INFO: 1
[2025-04-12 16:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 16:19:04] Production.INFO: Account Balance End.
[2025-04-12 16:19:04] Production.INFO: ==12528== Releasing lock...
[2025-04-12 16:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 16:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 16:19:04] Production.ERROR: CronJobId end 12
[2025-04-12 16:19:04] Production.INFO: ==12524== Releasing lock...
[2025-04-12 16:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 16:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 16:19:04] Production.ERROR: done
[2025-04-12 16:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 13:19:05
[end_date_ymd] => 2025-04-12 16:19:05
[RateCDR] => 1
)
[2025-04-12 16:19:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 13:19:05' and `end` < '2025-04-12 16:19:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 16:19:12] Production.ERROR: CronJobId end10
[2025-04-12 16:19:12] Production.INFO: ==12522== Releasing lock...
[2025-04-12 16:19:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 16:19:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 16:19:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 16:19:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 16:19:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 16:19:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 16:19:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 16:19:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 16:19:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 16:19:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 16:19:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 16:19:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 16:19:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 16:19:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 16:19:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 16:19:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 16:19:14] Production.INFO: call_cost start
[2025-04-12 16:19:14] Production.INFO: call_cost end
[2025-04-12 16:19:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 16:19:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 16:19:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 16:19:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 16:19:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 16:19:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 16:19:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 16:19:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 16:19:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 16:19:15] Production.INFO: ==12518== Releasing lock...
[2025-04-12 16:19:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 16:19:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 16:19:18] Production.INFO: count ==1345
[2025-04-12 16:19:19] Production.ERROR: pbx CDR StartTime 2025-04-12 13:19:05 - End Time 2025-04-12 16:19:05
[2025-04-12 16:19:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 16:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892738', 'tblTempUsageDetail_20' ) start
[2025-04-12 16:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892738', 'tblTempUsageDetail_20' ) end
[2025-04-12 16:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892738', 'tblTempVendorCDR_20' ) start
[2025-04-12 16:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892738', 'tblTempVendorCDR_20' ) end
[2025-04-12 16:19:19] Production.INFO: ProcessCDR(1,14892738,1,1,2)
[2025-04-12 16:19:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892738,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 16:19:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892738,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 16:19:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892738,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:19:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892738,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:19:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892738', 'tblTempUsageDetail_20' ) start
[2025-04-12 16:19:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892738', 'tblTempUsageDetail_20' ) end
[2025-04-12 16:19:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 16:19:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 16:19:23] Production.INFO: ==12526== Releasing lock...
[2025-04-12 16:19:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 16:19:23] Production.INFO: 38.5 MB #Memory Used#
[2025-04-12 21:20:02] Production.INFO: ==12595== Lock acquired, processing the job...
[2025-04-12 21:20:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 21:20:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 21:20:02] Production.INFO: neon service started
[2025-04-12 21:20:02] Production.INFO: neon service started
[2025-04-12 21:20:02] Production.INFO: ==12595== Releasing lock...
[2025-04-12 21:20:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 21:20:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 16:20:02] Production.INFO: ==12597== Lock acquired, processing the job...
[2025-04-12 16:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 16:20:03] Production.INFO: ==12597== Releasing lock...
[2025-04-12 16:20:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 16:20:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 20:20:03] Production.INFO: ==12599== Lock acquired, processing the job...
[2025-04-12 20:20:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 20:20:03] Production.INFO: ==12599== Releasing lock...
[2025-04-12 20:20:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 20:20:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 16:20:04] Production.INFO: ==12611== Lock acquired, processing the job...
[2025-04-12 16:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 16:20:04] Production.INFO: ==12613== Lock acquired, processing the job...
[2025-04-12 16:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 16:20:04] Production.INFO: ==12615== Lock acquired, processing the job...
[2025-04-12 16:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 16:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 16:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 16:20:04] Production.INFO: ==12601== Lock acquired, processing the job...
[2025-04-12 16:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 16:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 16:20:04] Production.INFO: count ==12
[2025-04-12 16:20:04] Production.INFO: ==12603== Lock acquired, processing the job...
[2025-04-12 16:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 16:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 16:20:04] Production.INFO: ==12605== Lock acquired, processing the job...
[2025-04-12 16:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 16:20:04] Production.INFO: count ==23
[2025-04-12 16:20:04] Production.INFO: ==12607== Lock acquired, processing the job...
[2025-04-12 16:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 16:20:04] Production.INFO: ==12609== Lock acquired, processing the job...
[2025-04-12 16:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 16:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892739') start
[2025-04-12 16:20:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 16:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 16:20:04] Production.ERROR: CronJob PID - 12603
[2025-04-12 16:20:04] Production.ERROR: CronJob Title - System Alerts
[2025-04-12 16:20:04] Production.ERROR: CronJob ID - 5
[2025-04-12 16:20:04] Production.ERROR: CronJob Last Run Time 2025-04-12 16:20:00
[2025-04-12 16:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 16:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 16:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 16:20:04] Production.ERROR: CronJob PID - 12605
[2025-04-12 16:20:04] Production.ERROR: CronJob Title - Account Block
[2025-04-12 16:20:04] Production.ERROR: CronJob ID - 7
[2025-04-12 16:20:04] Production.ERROR: CronJob Last Run Time 2025-04-12 16:20:00
[2025-04-12 16:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 16:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 16:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 16:20:04] Production.ERROR: CronJob PID - 12607
[2025-04-12 16:20:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-04-12 16:20:04] Production.ERROR: CronJob ID - 10
[2025-04-12 16:20:04] Production.ERROR: CronJob Last Run Time 2025-04-12 16:20:00
[2025-04-12 16:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 16:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 16:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 16:20:04] Production.ERROR: CronJob PID - 12609
[2025-04-12 16:20:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-04-12 16:20:04] Production.ERROR: CronJob ID - 12
[2025-04-12 16:20:04] Production.ERROR: CronJob Last Run Time 2025-04-12 16:20:00
[2025-04-12 16:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 16:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 16:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 16:20:04] Production.ERROR: CronJob PID - 12611
[2025-04-12 16:20:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-04-12 16:20:04] Production.ERROR: CronJob ID - 16
[2025-04-12 16:20:04] Production.ERROR: CronJob Last Run Time 2025-04-12 16:20:00
[2025-04-12 16:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 16:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 16:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 16:20:04] Production.ERROR: CronJob PID - 12613
[2025-04-12 16:20:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-04-12 16:20:04] Production.ERROR: CronJob ID - 17
[2025-04-12 16:20:04] Production.ERROR: CronJob Last Run Time 2025-04-12 16:20:00
[2025-04-12 16:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 16:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 16:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-04-12 16:20:04] Production.ERROR: CronJob PID - 12615
[2025-04-12 16:20:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-04-12 16:20:04] Production.ERROR: CronJob ID - 19
[2025-04-12 16:20:04] Production.ERROR: CronJob Last Run Time 2025-04-12 16:20:00
[2025-04-12 16:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-04-12 16:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-04-12 16:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 16:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892739') end
[2025-04-12 16:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 16:20:04] Production.INFO: 1
[2025-04-12 16:20:04] Production.INFO: Account Balance Start.
[2025-04-12 16:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 16:20:04] Production.INFO: CreateAllLog Start
[2025-04-12 16:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 16:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 16:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 16:20:04] Production.INFO: 117
[2025-04-12 16:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 16:20:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 16:20:04] Production.INFO: ==12601== Releasing lock...
[2025-04-12 16:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 16:20:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 16:20:04] Production.ERROR: done
[2025-04-12 16:20:04] Production.INFO: Date 2025-04-08
[2025-04-12 16:20:04] Production.INFO: ==12615== Releasing lock...
[2025-04-12 16:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 16:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 16:20:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:20:04] Production.INFO: Date 2025-04-09
[2025-04-12 16:20:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 16:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14892743', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 16:20:04] Production.ERROR: done
[2025-04-12 16:20:04] Production.INFO: Date 2025-04-10
[2025-04-12 16:20:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 16:20:05] Production.INFO: Date 2025-04-11
[2025-04-12 16:20:05] Production.INFO: Reseller ==> 0
[2025-04-12 16:20:05] Production.INFO: ==12605== Releasing lock...
[2025-04-12 16:20:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 16:20:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 16:20:05] Production.INFO: Date 2025-04-12
[2025-04-12 16:20:05] Production.INFO: Reseller ==> 0
[2025-04-12 16:20:05] Production.INFO: Total Charge 0
[2025-04-12 16:20:05] Production.INFO: CreateAllLog End
[2025-04-12 16:20:05] Production.ERROR: done
[2025-04-12 16:20:05] Production.INFO: Account Balance End.
[2025-04-12 16:20:05] Production.ERROR: CronJobId end 12
[2025-04-12 16:20:05] Production.INFO: ==12609== Releasing lock...
[2025-04-12 16:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 16:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 16:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 13:20:06
[end_date_ymd] => 2025-04-12 16:20:06
[RateCDR] => 1
)
[2025-04-12 16: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-12 13:20:06' and `end` < '2025-04-12 16: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-12 16:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14892743', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 16:20:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 16:20:09] Production.INFO: ProcessCDR(1,14892743,1,1,2)
[2025-04-12 16:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14892743,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14892743,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:20:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 16:20:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 16:20:09] Production.INFO: ==12613== Releasing lock...
[2025-04-12 16:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 16:20:09] Production.INFO: 26 MB #Memory Used#
[2025-04-12 16:20:14] Production.ERROR: CronJobId end10
[2025-04-12 16:20:14] Production.INFO: ==12607== Releasing lock...
[2025-04-12 16:20:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 16:20:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 16:20:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 16:20:17] Production.INFO: ============== Balance Warning START===========
[2025-04-12 16:20:17] Production.INFO: ============== Balance Warning END===========
[2025-04-12 16:20:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 16:20:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 16:20:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 16:20:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 16:20:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 16:20:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 16:20:17] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 16:20:17] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 16:20:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 16:20:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 16:20:17] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 16:20:17] Production.INFO: call_cost start
[2025-04-12 16:20:17] Production.INFO: call_cost end
[2025-04-12 16:20:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 16:20:18] Production.INFO: ============== Report Schedule START===========
[2025-04-12 16:20:18] Production.INFO: ============== Report Schedule END===========
[2025-04-12 16:20:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 16:20:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 16:20:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 16:20:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 16:20:18] Production.INFO: ============== Deal alert START===========
[2025-04-12 16:20:18] Production.INFO: ============== Deal alert END===========
[2025-04-12 16:20:18] Production.INFO: ==12603== Releasing lock...
[2025-04-12 16:20:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 16:20:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 16:20:19] Production.INFO: count ==1344
[2025-04-12 16:20:19] Production.ERROR: pbx CDR StartTime 2025-04-12 13:20:06 - End Time 2025-04-12 16:20:06
[2025-04-12 16:20:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 16:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892744', 'tblTempUsageDetail_20' ) start
[2025-04-12 16:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892744', 'tblTempUsageDetail_20' ) end
[2025-04-12 16:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892744', 'tblTempVendorCDR_20' ) start
[2025-04-12 16:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892744', 'tblTempVendorCDR_20' ) end
[2025-04-12 16:20:19] Production.INFO: ProcessCDR(1,14892744,1,1,2)
[2025-04-12 16:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892744,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 16:20:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892744,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 16:20:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892744,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:20:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892744,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:20:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892744', 'tblTempUsageDetail_20' ) start
[2025-04-12 16:20:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892744', 'tblTempUsageDetail_20' ) end
[2025-04-12 16:20:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 16:20:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 16:20:24] Production.INFO: ==12611== Releasing lock...
[2025-04-12 16:20:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 16:20:24] Production.INFO: 38.75 MB #Memory Used#
[2025-04-12 21:21:01] Production.INFO: ==12679== Lock acquired, processing the job...
[2025-04-12 21:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 21:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 21:21:01] Production.INFO: neon service started
[2025-04-12 21:21:01] Production.INFO: neon service started
[2025-04-12 21:21:01] Production.INFO: ==12679== Releasing lock...
[2025-04-12 21:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 21:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 16:21:02] Production.INFO: ==12681== Lock acquired, processing the job...
[2025-04-12 16:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 16:21:02] Production.INFO: ==12681== Releasing lock...
[2025-04-12 16:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 16:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 20:21:02] Production.INFO: ==12683== Lock acquired, processing the job...
[2025-04-12 20:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 20:21:02] Production.INFO: ==12683== Releasing lock...
[2025-04-12 20:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 20:21:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 16:21:03] Production.INFO: ==12686== Lock acquired, processing the job...
[2025-04-12 16:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 16:21:03] Production.INFO: ==12688== Lock acquired, processing the job...
[2025-04-12 16:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 16:21:03] Production.INFO: ==12690== Lock acquired, processing the job...
[2025-04-12 16:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 16:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 16:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 16:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 16:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 16:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 16:21:03] Production.INFO: ==12692== Lock acquired, processing the job...
[2025-04-12 16:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 16:21:03] Production.INFO: ==12694== Lock acquired, processing the job...
[2025-04-12 16:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 16:21:03] Production.INFO: ==12696== Lock acquired, processing the job...
[2025-04-12 16:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 16:21:03] Production.INFO: Account Balance Start.
[2025-04-12 16:21:03] Production.INFO: CreateAllLog Start
[2025-04-12 16:21:03] Production.INFO: 117
[2025-04-12 16:21:03] Production.INFO: Date 2025-04-08
[2025-04-12 16:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 16:21:03] Production.INFO: Reseller ==> 0
[2025-04-12 16:21:03] Production.INFO: Date 2025-04-09
[2025-04-12 16:21:03] Production.INFO: Reseller ==> 0
[2025-04-12 16:21:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 16:21:03] Production.INFO: count ==12
[2025-04-12 16:21:03] Production.INFO: Date 2025-04-10
[2025-04-12 16:21:03] Production.INFO: ==12688== Releasing lock...
[2025-04-12 16:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 16:21:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 16:21:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 16:21:03] Production.INFO: Reseller ==> 0
[2025-04-12 16:21:03] Production.INFO: count ==23
[2025-04-12 16:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14892748') start
[2025-04-12 16:21:03] Production.INFO: Date 2025-04-11
[2025-04-12 16:21:03] Production.INFO: Reseller ==> 0
[2025-04-12 16:21:03] Production.INFO: Date 2025-04-12
[2025-04-12 16:21:03] Production.INFO: Reseller ==> 0
[2025-04-12 16:21:04] Production.INFO: Total Charge 0
[2025-04-12 16:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892748') end
[2025-04-12 16:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 16:21:04] Production.INFO: 1
[2025-04-12 16:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 16:21:04] Production.ERROR: done
[2025-04-12 16:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 16:21:04] Production.INFO: CreateAllLog End
[2025-04-12 16:21:04] Production.INFO: ==12696== Releasing lock...
[2025-04-12 16:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 16:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 16:21:04] Production.ERROR: done
[2025-04-12 16:21:04] Production.INFO: Account Balance End.
[2025-04-12 16:21:04] Production.ERROR: CronJobId end 12
[2025-04-12 16:21:04] Production.INFO: ==12692== Releasing lock...
[2025-04-12 16:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 16:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 16:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 13:21:05
[end_date_ymd] => 2025-04-12 16:21:05
[RateCDR] => 1
)
[2025-04-12 16:21:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 13:21:05' and `end` < '2025-04-12 16:21:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 16:21:12] Production.ERROR: CronJobId end10
[2025-04-12 16:21:12] Production.INFO: ==12690== Releasing lock...
[2025-04-12 16:21:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 16:21:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 16:21:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 16:21:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 16:21:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 16:21:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 16:21:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 16:21:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 16:21:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 16:21:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 16:21:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 16:21:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 16:21:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 16:21:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 16:21:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 16:21:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 16:21:15] Production.INFO: call_cost start
[2025-04-12 16:21:15] Production.INFO: call_cost end
[2025-04-12 16:21:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 16:21:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 16:21:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 16:21:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 16:21:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 16:21:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 16:21:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 16:21:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 16:21:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 16:21:16] Production.INFO: ==12686== Releasing lock...
[2025-04-12 16:21:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 16:21:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 16:21:18] Production.INFO: count ==1330
[2025-04-12 16:21:18] Production.ERROR: pbx CDR StartTime 2025-04-12 13:21:05 - End Time 2025-04-12 16:21:05
[2025-04-12 16:21:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 16:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892749', 'tblTempUsageDetail_20' ) start
[2025-04-12 16:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892749', 'tblTempUsageDetail_20' ) end
[2025-04-12 16:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892749', 'tblTempVendorCDR_20' ) start
[2025-04-12 16:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892749', 'tblTempVendorCDR_20' ) end
[2025-04-12 16:21:18] Production.INFO: ProcessCDR(1,14892749,1,1,2)
[2025-04-12 16:21:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892749,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 16:21:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892749,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 16:21:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892749,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:21:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892749,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892749', 'tblTempUsageDetail_20' ) start
[2025-04-12 16:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892749', 'tblTempUsageDetail_20' ) end
[2025-04-12 16:21:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 16:21:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 16:21:22] Production.INFO: ==12694== Releasing lock...
[2025-04-12 16:21:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 16:21:22] Production.INFO: 38.5 MB #Memory Used#
[2025-04-12 21:22:02] Production.INFO: ==12800== Lock acquired, processing the job...
[2025-04-12 21:22:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 21:22:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 21:22:02] Production.INFO: neon service started
[2025-04-12 21:22:02] Production.INFO: neon service started
[2025-04-12 21:22:02] Production.INFO: ==12800== Releasing lock...
[2025-04-12 21:22:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 21:22:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 16:22:02] Production.INFO: ==12802== Lock acquired, processing the job...
[2025-04-12 16:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 16:22:02] Production.INFO: ==12802== Releasing lock...
[2025-04-12 16:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 16:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 20:22:03] Production.INFO: ==12804== Lock acquired, processing the job...
[2025-04-12 20:22:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 20:22:03] Production.INFO: ==12804== Releasing lock...
[2025-04-12 20:22:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 20:22:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 16:22:03] Production.INFO: ==12814== Lock acquired, processing the job...
[2025-04-12 16:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 16:22:03] Production.INFO: ==12812== Lock acquired, processing the job...
[2025-04-12 16:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 16:22:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 16:22:04] Production.INFO: Account Balance Start.
[2025-04-12 16:22:04] Production.INFO: CreateAllLog Start
[2025-04-12 16:22:04] Production.INFO: 117
[2025-04-12 16:22:04] Production.INFO: Date 2025-04-08
[2025-04-12 16:22:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:22:04] Production.INFO: ==12806== Lock acquired, processing the job...
[2025-04-12 16:22:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 16:22:04] Production.INFO: ==12808== Lock acquired, processing the job...
[2025-04-12 16:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 16:22:04] Production.INFO: Date 2025-04-09
[2025-04-12 16:22:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:22:04] Production.INFO: ==12810== Lock acquired, processing the job...
[2025-04-12 16:22:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 16:22:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 16:22:04] Production.INFO: ==12816== Lock acquired, processing the job...
[2025-04-12 16:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 16:22:04] Production.INFO: Date 2025-04-10
[2025-04-12 16:22:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:22:04] Production.INFO: Date 2025-04-11
[2025-04-12 16:22:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:22:04] Production.ERROR: done
[2025-04-12 16:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 16:22:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 16:22:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 16:22:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 16:22:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 16:22:04] Production.INFO: Date 2025-04-12
[2025-04-12 16:22:04] Production.INFO: Reseller ==> 0
[2025-04-12 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-12 16:22:04] Production.ERROR: done
[2025-04-12 16:22:04] Production.INFO: count ==12
[2025-04-12 16:22:04] Production.INFO: Total Charge 0
[2025-04-12 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-12 16:22:04] Production.INFO: CreateAllLog End
[2025-04-12 16:22:04] Production.INFO: count ==23
[2025-04-12 16:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892753') start
[2025-04-12 16:22:04] Production.INFO: ==12808== Releasing lock...
[2025-04-12 16:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 16:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 16:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892753') end
[2025-04-12 16:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 16:22:04] Production.INFO: 1
[2025-04-12 16:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 16:22:04] Production.INFO: Account Balance End.
[2025-04-12 16:22:04] Production.INFO: ==12816== Releasing lock...
[2025-04-12 16:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 16:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 16:22:04] Production.ERROR: CronJobId end 12
[2025-04-12 16:22:04] Production.INFO: ==12812== Releasing lock...
[2025-04-12 16:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 16:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 16:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 13:22:05
[end_date_ymd] => 2025-04-12 16:22:05
[RateCDR] => 1
)
[2025-04-12 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-12 13:22:05' and `end` < '2025-04-12 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-12 16:22:12] Production.ERROR: CronJobId end10
[2025-04-12 16:22:12] Production.INFO: ==12810== Releasing lock...
[2025-04-12 16:22:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 16:22:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 16:22:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 16:22:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 16:22:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 16:22:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 16:22:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 16:22:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 16:22:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 16:22:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 16:22:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 16:22:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 16:22:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 16:22:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 16:22:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 16:22:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 16:22:15] Production.INFO: call_cost start
[2025-04-12 16:22:15] Production.INFO: call_cost end
[2025-04-12 16:22:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 16:22:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 16:22:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 16:22:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 16:22:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 16:22:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 16:22:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 16:22:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 16:22:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 16:22:16] Production.INFO: ==12806== Releasing lock...
[2025-04-12 16:22:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 16:22:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 16:22:18] Production.INFO: count ==1326
[2025-04-12 16:22:18] Production.ERROR: pbx CDR StartTime 2025-04-12 13:22:05 - End Time 2025-04-12 16:22:05
[2025-04-12 16:22:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 16:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892754', 'tblTempUsageDetail_20' ) start
[2025-04-12 16:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892754', 'tblTempUsageDetail_20' ) end
[2025-04-12 16:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892754', 'tblTempVendorCDR_20' ) start
[2025-04-12 16:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892754', 'tblTempVendorCDR_20' ) end
[2025-04-12 16:22:18] Production.INFO: ProcessCDR(1,14892754,1,1,2)
[2025-04-12 16:22:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892754,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 16:22:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892754,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 16:22:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892754,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:22:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892754,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:22:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892754', 'tblTempUsageDetail_20' ) start
[2025-04-12 16:22:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892754', 'tblTempUsageDetail_20' ) end
[2025-04-12 16:22:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 16:22:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 16:22:24] Production.INFO: ==12814== Releasing lock...
[2025-04-12 16:22:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 16:22:24] Production.INFO: 38.5 MB #Memory Used#
[2025-04-12 21:23:01] Production.INFO: ==12871== Lock acquired, processing the job...
[2025-04-12 21:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 21:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 21:23:01] Production.INFO: neon service started
[2025-04-12 21:23:01] Production.INFO: neon service started
[2025-04-12 21:23:01] Production.INFO: ==12871== Releasing lock...
[2025-04-12 21:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 21:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 16:23:02] Production.INFO: ==12873== Lock acquired, processing the job...
[2025-04-12 16:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 20:23:02] Production.INFO: ==12875== Lock acquired, processing the job...
[2025-04-12 20:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 20:23:02] Production.INFO: ==12875== Releasing lock...
[2025-04-12 20:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 20:23:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 16:23:02] Production.INFO: ==12873== Releasing lock...
[2025-04-12 16:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 16:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 16:23:03] Production.INFO: ==12882== Lock acquired, processing the job...
[2025-04-12 16:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 16:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 16:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 16:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 16:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 16:23:03] Production.INFO: ==12878== Lock acquired, processing the job...
[2025-04-12 16:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 16:23:03] Production.INFO: ==12888== Lock acquired, processing the job...
[2025-04-12 16:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 16:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 16:23:04] Production.INFO: ==12880== Lock acquired, processing the job...
[2025-04-12 16:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 16: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-12 16:23:04] Production.INFO: count ==12
[2025-04-12 16: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-12 16:23:04] Production.INFO: ==12884== Lock acquired, processing the job...
[2025-04-12 16:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 16:23:04] Production.INFO: count ==23
[2025-04-12 16:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892756') start
[2025-04-12 16:23:04] Production.INFO: ==12886== Lock acquired, processing the job...
[2025-04-12 16:23:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 16:23:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 16:23:04] Production.INFO: Account Balance Start.
[2025-04-12 16:23:04] Production.INFO: CreateAllLog Start
[2025-04-12 16:23:04] Production.INFO: 117
[2025-04-12 16:23:04] Production.INFO: Date 2025-04-08
[2025-04-12 16:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892756') end
[2025-04-12 16:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 16:23:04] Production.INFO: 1
[2025-04-12 16:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 16:23:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:23:04] Production.INFO: Date 2025-04-09
[2025-04-12 16:23:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:23:04] Production.INFO: Date 2025-04-10
[2025-04-12 16:23:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:23:04] Production.INFO: ==12888== Releasing lock...
[2025-04-12 16:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 16:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 16:23:04] Production.INFO: Date 2025-04-11
[2025-04-12 16:23:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:23:04] Production.INFO: Date 2025-04-12
[2025-04-12 16:23:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:23:04] Production.INFO: Total Charge 0
[2025-04-12 16:23:04] Production.INFO: CreateAllLog End
[2025-04-12 16:23:04] Production.INFO: ==12880== Releasing lock...
[2025-04-12 16:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 16:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 16:23:04] Production.ERROR: done
[2025-04-12 16:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 16:23:04] Production.INFO: Account Balance End.
[2025-04-12 16:23:04] Production.ERROR: CronJobId end 12
[2025-04-12 16:23:04] Production.INFO: ==12884== Releasing lock...
[2025-04-12 16:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 16:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 16:23:04] Production.ERROR: done
[2025-04-12 16:23:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 13:23:06
[end_date_ymd] => 2025-04-12 16:23:06
[RateCDR] => 1
)
[2025-04-12 16: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-12 13:23:06' and `end` < '2025-04-12 16: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-12 16:23:11] Production.ERROR: CronJobId end10
[2025-04-12 16:23:11] Production.INFO: ==12882== Releasing lock...
[2025-04-12 16:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 16:23:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 16:23:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 16:23:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 16:23:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 16:23:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 16:23:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 16:23:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 16:23:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 16:23:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 16:23:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 16:23:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 16:23:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 16:23:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 16:23:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 16:23:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 16:23:15] Production.INFO: call_cost start
[2025-04-12 16:23:15] Production.INFO: call_cost end
[2025-04-12 16:23:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 16:23:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 16:23:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 16:23:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 16:23:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 16:23:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 16:23:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 16:23:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 16:23:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 16:23:16] Production.INFO: ==12878== Releasing lock...
[2025-04-12 16:23:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 16:23:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 16:23:19] Production.INFO: count ==1322
[2025-04-12 16:23:19] Production.ERROR: pbx CDR StartTime 2025-04-12 13:23:06 - End Time 2025-04-12 16:23:06
[2025-04-12 16:23:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 16:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892759', 'tblTempUsageDetail_20' ) start
[2025-04-12 16:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892759', 'tblTempUsageDetail_20' ) end
[2025-04-12 16:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892759', 'tblTempVendorCDR_20' ) start
[2025-04-12 16:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892759', 'tblTempVendorCDR_20' ) end
[2025-04-12 16:23:19] Production.INFO: ProcessCDR(1,14892759,1,1,2)
[2025-04-12 16:23:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892759,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 16:23:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892759,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 16:23:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892759,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:23:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892759,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:23:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892759', 'tblTempUsageDetail_20' ) start
[2025-04-12 16:23:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892759', 'tblTempUsageDetail_20' ) end
[2025-04-12 16:23:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 16:23:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 16:23:24] Production.INFO: ==12886== Releasing lock...
[2025-04-12 16:23:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 16:23:24] Production.INFO: 38.75 MB #Memory Used#
[2025-04-12 21:24:02] Production.INFO: ==12949== Lock acquired, processing the job...
[2025-04-12 21:24:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 21:24:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 21:24:02] Production.INFO: neon service started
[2025-04-12 21:24:02] Production.INFO: neon service started
[2025-04-12 21:24:02] Production.INFO: ==12949== Releasing lock...
[2025-04-12 21:24:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 21:24:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 16:24:02] Production.INFO: ==12951== Lock acquired, processing the job...
[2025-04-12 16:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 16:24:02] Production.INFO: ==12951== Releasing lock...
[2025-04-12 16:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 16:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 20:24:03] Production.INFO: ==12953== Lock acquired, processing the job...
[2025-04-12 20:24:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 20:24:03] Production.INFO: ==12953== Releasing lock...
[2025-04-12 20:24:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 20:24:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 16:24:03] Production.INFO: ==12963== Lock acquired, processing the job...
[2025-04-12 16:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 16:24:03] Production.INFO: ==12961== Lock acquired, processing the job...
[2025-04-12 16:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 16:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 16:24:03] Production.INFO: ==12955== Lock acquired, processing the job...
[2025-04-12 16:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 16:24:04] Production.INFO: ==12957== Lock acquired, processing the job...
[2025-04-12 16:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 16:24:04] Production.INFO: Account Balance Start.
[2025-04-12 16:24:04] Production.INFO: CreateAllLog Start
[2025-04-12 16:24:04] Production.INFO: 117
[2025-04-12 16:24:04] Production.INFO: ==12959== Lock acquired, processing the job...
[2025-04-12 16:24:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 16:24:04] Production.INFO: ==12965== Lock acquired, processing the job...
[2025-04-12 16:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 16:24:04] Production.INFO: Date 2025-04-08
[2025-04-12 16:24:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:24:04] Production.INFO: Date 2025-04-09
[2025-04-12 16:24:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:24:04] Production.INFO: Date 2025-04-10
[2025-04-12 16:24:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:24:04] Production.INFO: Date 2025-04-11
[2025-04-12 16:24:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 16:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 16:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 16:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 16:24:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 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-12 16:24:04] Production.INFO: Date 2025-04-12
[2025-04-12 16:24:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:24:04] Production.INFO: count ==12
[2025-04-12 16:24:04] Production.ERROR: done
[2025-04-12 16:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 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-12 16:24:04] Production.INFO: Total Charge 0
[2025-04-12 16:24:04] Production.INFO: count ==23
[2025-04-12 16:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892761') start
[2025-04-12 16:24:04] Production.INFO: CreateAllLog End
[2025-04-12 16:24:04] Production.ERROR: done
[2025-04-12 16:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892761') end
[2025-04-12 16:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 16:24:04] Production.INFO: 1
[2025-04-12 16:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 16:24:04] Production.INFO: ==12965== Releasing lock...
[2025-04-12 16:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 16:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 16:24:04] Production.INFO: ==12957== Releasing lock...
[2025-04-12 16:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 16:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 16:24:04] Production.INFO: Account Balance End.
[2025-04-12 16:24:05] Production.ERROR: CronJobId end 12
[2025-04-12 16:24:05] Production.INFO: ==12961== Releasing lock...
[2025-04-12 16:24:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 16:24:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 16:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 13:24:05
[end_date_ymd] => 2025-04-12 16:24:05
[RateCDR] => 1
)
[2025-04-12 16:24:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 13:24:05' and `end` < '2025-04-12 16:24:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 16:24:11] Production.ERROR: CronJobId end10
[2025-04-12 16:24:11] Production.INFO: ==12959== Releasing lock...
[2025-04-12 16:24:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 16:24:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 16:24:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 16:24:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 16:24:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 16:24:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 16:24:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 16:24:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 16:24:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 16:24:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 16:24:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 16:24:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 16:24:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 16:24:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 16:24:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 16:24:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 16:24:14] Production.INFO: call_cost start
[2025-04-12 16:24:14] Production.INFO: call_cost end
[2025-04-12 16:24:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 16:24:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 16:24:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 16:24:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 16:24:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 16:24:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 16:24:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 16:24:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 16:24:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 16:24:15] Production.INFO: ==12955== Releasing lock...
[2025-04-12 16:24:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 16:24:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 16:24:18] Production.INFO: count ==1321
[2025-04-12 16:24:18] Production.ERROR: pbx CDR StartTime 2025-04-12 13:24:05 - End Time 2025-04-12 16:24:05
[2025-04-12 16:24:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 16:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892764', 'tblTempUsageDetail_20' ) start
[2025-04-12 16:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892764', 'tblTempUsageDetail_20' ) end
[2025-04-12 16:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892764', 'tblTempVendorCDR_20' ) start
[2025-04-12 16:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892764', 'tblTempVendorCDR_20' ) end
[2025-04-12 16:24:18] Production.INFO: ProcessCDR(1,14892764,1,1,2)
[2025-04-12 16:24:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892764,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 16:24:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892764,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 16:24:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892764,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:24:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892764,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892764', 'tblTempUsageDetail_20' ) start
[2025-04-12 16:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892764', 'tblTempUsageDetail_20' ) end
[2025-04-12 16:24:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 16:24:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 16:24:22] Production.INFO: ==12963== Releasing lock...
[2025-04-12 16:24:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 16:24:22] Production.INFO: 38.25 MB #Memory Used#
[2025-04-12 21:25:01] Production.INFO: ==13031== Lock acquired, processing the job...
[2025-04-12 21:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 21:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 21:25:01] Production.INFO: neon service started
[2025-04-12 21:25:01] Production.INFO: neon service started
[2025-04-12 21:25:01] Production.INFO: ==13031== Releasing lock...
[2025-04-12 21:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 21:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 20:25:02] Production.INFO: ==13035== Lock acquired, processing the job...
[2025-04-12 20:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 20:25:02] Production.INFO: ==13035== Releasing lock...
[2025-04-12 20:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 20:25:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 16:25:02] Production.INFO: ==13033== Lock acquired, processing the job...
[2025-04-12 16:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 16:25:02] Production.INFO: ==13033== Releasing lock...
[2025-04-12 16:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 16:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 16:25:03] Production.INFO: ==13044== Lock acquired, processing the job...
[2025-04-12 16:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 16:25:03] Production.INFO: ==13038== Lock acquired, processing the job...
[2025-04-12 16:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 16:25:03] Production.INFO: ==13040== Lock acquired, processing the job...
[2025-04-12 16:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 16:25:03] Production.INFO: ==13048== Lock acquired, processing the job...
[2025-04-12 16:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 16:25:03] Production.INFO: ==13042== Lock acquired, processing the job...
[2025-04-12 16:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 16:25:03] Production.INFO: Account Balance Start.
[2025-04-12 16:25:03] Production.INFO: CreateAllLog Start
[2025-04-12 16:25:03] Production.INFO: 117
[2025-04-12 16:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 16:25:03] Production.INFO: Date 2025-04-08
[2025-04-12 16:25:03] Production.INFO: Reseller ==> 0
[2025-04-12 16:25:03] Production.INFO: ==13046== Lock acquired, processing the job...
[2025-04-12 16:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 16:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 16:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 16:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 16:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 16:25:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 16:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 16:25:03] Production.INFO: count ==12
[2025-04-12 16:25:03] Production.INFO: Date 2025-04-09
[2025-04-12 16:25:03] Production.INFO: Reseller ==> 0
[2025-04-12 16:25:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 16:25:04] Production.INFO: count ==23
[2025-04-12 16:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892767') start
[2025-04-12 16:25:04] Production.INFO: Date 2025-04-10
[2025-04-12 16:25:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:25:04] Production.INFO: Date 2025-04-11
[2025-04-12 16:25:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892767') end
[2025-04-12 16:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 16:25:04] Production.INFO: 1
[2025-04-12 16:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 16:25:04] Production.INFO: Date 2025-04-12
[2025-04-12 16:25:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:25:04] Production.INFO: Total Charge 0
[2025-04-12 16:25:04] Production.INFO: ==13048== Releasing lock...
[2025-04-12 16:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 16:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 16:25:04] Production.ERROR: done
[2025-04-12 16:25:04] Production.INFO: CreateAllLog End
[2025-04-12 16:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 16:25:04] Production.INFO: ==13040== Releasing lock...
[2025-04-12 16:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 16:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 16:25:04] Production.ERROR: done
[2025-04-12 16:25:04] Production.INFO: Account Balance End.
[2025-04-12 16:25:04] Production.ERROR: CronJobId end 12
[2025-04-12 16:25:04] Production.INFO: ==13044== Releasing lock...
[2025-04-12 16:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 16:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 16:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 13:25:05
[end_date_ymd] => 2025-04-12 16:25:05
[RateCDR] => 1
)
[2025-04-12 16:25:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 13:25:05' and `end` < '2025-04-12 16:25:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 16:25:11] Production.ERROR: CronJobId end10
[2025-04-12 16:25:11] Production.INFO: ==13042== Releasing lock...
[2025-04-12 16:25:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 16:25:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 16:25:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 16:25:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 16:25:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 16:25:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 16:25:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 16:25:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 16:25:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 16:25:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 16:25:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 16:25:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 16:25:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 16:25:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 16:25:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 16:25:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 16:25:14] Production.INFO: call_cost start
[2025-04-12 16:25:14] Production.INFO: call_cost end
[2025-04-12 16:25:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 16:25:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 16:25:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 16:25:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 16:25:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 16:25:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 16:25:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 16:25:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 16:25:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 16:25:15] Production.INFO: ==13038== Releasing lock...
[2025-04-12 16:25:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 16:25:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 16:25:18] Production.INFO: count ==1326
[2025-04-12 16:25:18] Production.ERROR: pbx CDR StartTime 2025-04-12 13:25:05 - End Time 2025-04-12 16:25:05
[2025-04-12 16:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 16:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892769', 'tblTempUsageDetail_20' ) start
[2025-04-12 16:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892769', 'tblTempUsageDetail_20' ) end
[2025-04-12 16:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892769', 'tblTempVendorCDR_20' ) start
[2025-04-12 16:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892769', 'tblTempVendorCDR_20' ) end
[2025-04-12 16:25:18] Production.INFO: ProcessCDR(1,14892769,1,1,2)
[2025-04-12 16:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892769,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 16:25:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892769,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 16:25:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892769,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:25:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892769,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:25:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892769', 'tblTempUsageDetail_20' ) start
[2025-04-12 16:25:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892769', 'tblTempUsageDetail_20' ) end
[2025-04-12 16:25:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 16:25:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 16:25:23] Production.INFO: ==13046== Releasing lock...
[2025-04-12 16:25:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 16:25:23] Production.INFO: 38.25 MB #Memory Used#
[2025-04-12 21:26:02] Production.INFO: ==13106== Lock acquired, processing the job...
[2025-04-12 21:26:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 21:26:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 21:26:02] Production.INFO: neon service started
[2025-04-12 21:26:02] Production.INFO: neon service started
[2025-04-12 21:26:02] Production.INFO: ==13106== Releasing lock...
[2025-04-12 21:26:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 21:26:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 20:26:02] Production.INFO: ==13110== Lock acquired, processing the job...
[2025-04-12 20:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 20:26:02] Production.INFO: ==13110== Releasing lock...
[2025-04-12 20:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 20:26:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 16:26:02] Production.INFO: ==13108== Lock acquired, processing the job...
[2025-04-12 16:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 16:26:03] Production.INFO: ==13108== Releasing lock...
[2025-04-12 16:26:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 16:26:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 16:26:04] Production.INFO: ==13121== Lock acquired, processing the job...
[2025-04-12 16:26:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 16:26:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 16:26:04] Production.INFO: ==13123== Lock acquired, processing the job...
[2025-04-12 16:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 16:26:04] Production.INFO: ==13113== Lock acquired, processing the job...
[2025-04-12 16:26:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 16:26:04] Production.INFO: ==13115== Lock acquired, processing the job...
[2025-04-12 16:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 16:26:04] Production.INFO: ==13117== Lock acquired, processing the job...
[2025-04-12 16:26:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 16:26:04] Production.INFO: ==13119== Lock acquired, processing the job...
[2025-04-12 16:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 16:26:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 16:26:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 16:26:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 16:26:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 16:26:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 16:26:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 16:26:04] Production.INFO: count ==12
[2025-04-12 16:26:04] Production.INFO: Account Balance Start.
[2025-04-12 16:26:04] Production.INFO: CreateAllLog Start
[2025-04-12 16:26:04] Production.INFO: 117
[2025-04-12 16:26:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 16:26:04] Production.INFO: count ==23
[2025-04-12 16:26:04] Production.INFO: Date 2025-04-08
[2025-04-12 16:26:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892770') start
[2025-04-12 16:26:04] Production.ERROR: done
[2025-04-12 16:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 16:26:04] Production.INFO: Date 2025-04-09
[2025-04-12 16:26:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:26:04] Production.INFO: Date 2025-04-10
[2025-04-12 16:26:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:26:05] Production.ERROR: PBX CALL prc_importPBXExtension('14892770') end
[2025-04-12 16:26:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 16:26:05] Production.INFO: 1
[2025-04-12 16:26:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 16:26:05] Production.INFO: Date 2025-04-11
[2025-04-12 16:26:05] Production.INFO: Reseller ==> 0
[2025-04-12 16:26:05] Production.INFO: ==13115== Releasing lock...
[2025-04-12 16:26:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 16:26:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 16:26:05] Production.INFO: Date 2025-04-12
[2025-04-12 16:26:05] Production.INFO: Reseller ==> 0
[2025-04-12 16:26:05] Production.INFO: Total Charge 0
[2025-04-12 16:26:05] Production.INFO: CreateAllLog End
[2025-04-12 16:26:05] Production.INFO: ==13123== Releasing lock...
[2025-04-12 16:26:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 16:26:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 16:26:05] Production.ERROR: done
[2025-04-12 16:26:05] Production.INFO: Account Balance End.
[2025-04-12 16:26:05] Production.ERROR: CronJobId end 12
[2025-04-12 16:26:05] Production.INFO: ==13119== Releasing lock...
[2025-04-12 16:26:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 16:26:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 16:26:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 13:26:06
[end_date_ymd] => 2025-04-12 16:26:06
[RateCDR] => 1
)
[2025-04-12 16: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-12 13:26:06' and `end` < '2025-04-12 16: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-12 16:26:13] Production.ERROR: CronJobId end10
[2025-04-12 16:26:13] Production.INFO: ==13117== Releasing lock...
[2025-04-12 16:26:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 16:26:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 16:26:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 16:26:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 16:26:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 16:26:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 16:26:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 16:26:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 16:26:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 16:26:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 16:26:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 16:26:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 16:26:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 16:26:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 16:26:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 16:26:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 16:26:16] Production.INFO: call_cost start
[2025-04-12 16:26:16] Production.INFO: call_cost end
[2025-04-12 16:26:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 16:26:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 16:26:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 16:26:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 16:26:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 16:26:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 16:26:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 16:26:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 16:26:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 16:26:17] Production.INFO: ==13113== Releasing lock...
[2025-04-12 16:26:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 16:26:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 16:26:19] Production.INFO: count ==1327
[2025-04-12 16:26:19] Production.ERROR: pbx CDR StartTime 2025-04-12 13:26:06 - End Time 2025-04-12 16:26:06
[2025-04-12 16:26:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 16:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892774', 'tblTempUsageDetail_20' ) start
[2025-04-12 16:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892774', 'tblTempUsageDetail_20' ) end
[2025-04-12 16:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892774', 'tblTempVendorCDR_20' ) start
[2025-04-12 16:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892774', 'tblTempVendorCDR_20' ) end
[2025-04-12 16:26:19] Production.INFO: ProcessCDR(1,14892774,1,1,2)
[2025-04-12 16:26:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892774,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 16:26:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892774,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 16:26:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892774,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:26:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892774,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892774', 'tblTempUsageDetail_20' ) start
[2025-04-12 16:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892774', 'tblTempUsageDetail_20' ) end
[2025-04-12 16:26:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 16:26:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 16:26:22] Production.INFO: ==13121== Releasing lock...
[2025-04-12 16:26:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 16:26:22] Production.INFO: 38.5 MB #Memory Used#
[2025-04-12 21:27:01] Production.INFO: ==13185== Lock acquired, processing the job...
[2025-04-12 21:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 21:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 21:27:01] Production.INFO: neon service started
[2025-04-12 21:27:01] Production.INFO: neon service started
[2025-04-12 21:27:01] Production.INFO: ==13185== Releasing lock...
[2025-04-12 21:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 21:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 16:27:02] Production.INFO: ==13187== Lock acquired, processing the job...
[2025-04-12 16:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 16:27:02] Production.INFO: ==13187== Releasing lock...
[2025-04-12 16:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 16:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 20:27:02] Production.INFO: ==13189== Lock acquired, processing the job...
[2025-04-12 20:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 20:27:02] Production.INFO: ==13189== Releasing lock...
[2025-04-12 20:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 20:27:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 16:27:03] Production.INFO: ==13192== Lock acquired, processing the job...
[2025-04-12 16:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 16:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 16:27:03] Production.INFO: ==13202== Lock acquired, processing the job...
[2025-04-12 16:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 16:27:03] Production.INFO: ==13194== Lock acquired, processing the job...
[2025-04-12 16:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 16:27:03] Production.INFO: ==13196== Lock acquired, processing the job...
[2025-04-12 16:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 16:27:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 16:27:03] Production.INFO: ==13198== Lock acquired, processing the job...
[2025-04-12 16:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 16:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 16:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 16:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 16:27:03] Production.INFO: count ==12
[2025-04-12 16:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 16:27:03] Production.INFO: ==13200== Lock acquired, processing the job...
[2025-04-12 16:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 16:27:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 16:27:03] Production.INFO: count ==23
[2025-04-12 16:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14892776') start
[2025-04-12 16:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 16:27:03] Production.INFO: Account Balance Start.
[2025-04-12 16:27:03] Production.INFO: CreateAllLog Start
[2025-04-12 16:27:03] Production.INFO: 117
[2025-04-12 16:27:04] Production.INFO: Date 2025-04-08
[2025-04-12 16:27:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:27:04] Production.INFO: Date 2025-04-09
[2025-04-12 16:27:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:27:04] Production.INFO: Date 2025-04-10
[2025-04-12 16:27:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892776') end
[2025-04-12 16:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 16:27:04] Production.INFO: 1
[2025-04-12 16:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 16:27:04] Production.INFO: Date 2025-04-11
[2025-04-12 16:27:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:27:04] Production.INFO: ==13202== Releasing lock...
[2025-04-12 16:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 16:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 16:27:04] Production.INFO: Date 2025-04-12
[2025-04-12 16:27:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:27:04] Production.INFO: Total Charge 0
[2025-04-12 16:27:04] Production.INFO: CreateAllLog End
[2025-04-12 16:27:04] Production.INFO: ==13194== Releasing lock...
[2025-04-12 16:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 16:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 16:27:04] Production.ERROR: done
[2025-04-12 16:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 16:27:04] Production.INFO: Account Balance End.
[2025-04-12 16:27:04] Production.ERROR: CronJobId end 12
[2025-04-12 16:27:04] Production.INFO: ==13198== Releasing lock...
[2025-04-12 16:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 16:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 16:27:04] Production.ERROR: done
[2025-04-12 16:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 13:27:05
[end_date_ymd] => 2025-04-12 16:27:05
[RateCDR] => 1
)
[2025-04-12 16:27:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 13:27:05' and `end` < '2025-04-12 16:27:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 16:27:12] Production.ERROR: CronJobId end10
[2025-04-12 16:27:12] Production.INFO: ==13196== Releasing lock...
[2025-04-12 16:27:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 16:27:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 16:27:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 16:27:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 16:27:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 16:27:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 16:27:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 16:27:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 16:27:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 16:27:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 16:27:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 16:27:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 16:27:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 16:27:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 16:27:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 16:27:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 16:27:15] Production.INFO: call_cost start
[2025-04-12 16:27:15] Production.INFO: call_cost end
[2025-04-12 16:27:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 16:27:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 16:27:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 16:27:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 16:27:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 16:27:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 16:27:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 16:27:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 16:27:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 16:27:16] Production.INFO: ==13192== Releasing lock...
[2025-04-12 16:27:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 16:27:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 16:27:18] Production.INFO: count ==1325
[2025-04-12 16:27:18] Production.ERROR: pbx CDR StartTime 2025-04-12 13:27:05 - End Time 2025-04-12 16:27:05
[2025-04-12 16:27:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 16:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892779', 'tblTempUsageDetail_20' ) start
[2025-04-12 16:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892779', 'tblTempUsageDetail_20' ) end
[2025-04-12 16:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892779', 'tblTempVendorCDR_20' ) start
[2025-04-12 16:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892779', 'tblTempVendorCDR_20' ) end
[2025-04-12 16:27:18] Production.INFO: ProcessCDR(1,14892779,1,1,2)
[2025-04-12 16:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892779,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 16:27:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892779,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 16:27:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892779,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:27:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892779,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892779', 'tblTempUsageDetail_20' ) start
[2025-04-12 16:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892779', 'tblTempUsageDetail_20' ) end
[2025-04-12 16:27:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 16:27:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 16:27:22] Production.INFO: ==13200== Releasing lock...
[2025-04-12 16:27:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 16:27:22] Production.INFO: 38.25 MB #Memory Used#
[2025-04-12 21:28:01] Production.INFO: ==13268== Lock acquired, processing the job...
[2025-04-12 21:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 21:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 21:28:01] Production.INFO: neon service started
[2025-04-12 21:28:01] Production.INFO: neon service started
[2025-04-12 21:28:01] Production.INFO: ==13268== Releasing lock...
[2025-04-12 21:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 21:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 20:28:01] Production.INFO: ==13272== Lock acquired, processing the job...
[2025-04-12 20:28:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 20:28:01] Production.INFO: ==13272== Releasing lock...
[2025-04-12 20:28:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 20:28:01] Production.INFO: 25 MB #Memory Used#
[2025-04-12 16:28:01] Production.INFO: ==13270== Lock acquired, processing the job...
[2025-04-12 16:28:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 16:28:02] Production.INFO: ==13270== Releasing lock...
[2025-04-12 16:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 16:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 16:28:03] Production.INFO: ==13275== Lock acquired, processing the job...
[2025-04-12 16:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 16:28:03] Production.INFO: ==13277== Lock acquired, processing the job...
[2025-04-12 16:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 16:28:03] Production.INFO: ==13279== Lock acquired, processing the job...
[2025-04-12 16:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 16:28:03] Production.INFO: ==13281== Lock acquired, processing the job...
[2025-04-12 16:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 16:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 16:28:03] Production.INFO: ==13283== Lock acquired, processing the job...
[2025-04-12 16:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 16:28:03] Production.INFO: Account Balance Start.
[2025-04-12 16:28:03] Production.INFO: CreateAllLog Start
[2025-04-12 16:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 16:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 16:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 16:28:03] Production.INFO: 117
[2025-04-12 16:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 16:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 16:28:03] Production.INFO: Date 2025-04-08
[2025-04-12 16:28:03] Production.INFO: Reseller ==> 0
[2025-04-12 16:28:03] Production.INFO: ==13285== Lock acquired, processing the job...
[2025-04-12 16:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 16:28:03] Production.INFO: Date 2025-04-09
[2025-04-12 16:28:03] Production.INFO: Reseller ==> 0
[2025-04-12 16:28:03] Production.INFO: Date 2025-04-10
[2025-04-12 16:28:03] Production.INFO: Reseller ==> 0
[2025-04-12 16:28:03] Production.INFO: Date 2025-04-11
[2025-04-12 16:28:03] Production.INFO: Reseller ==> 0
[2025-04-12 16:28:03] Production.INFO: Date 2025-04-12
[2025-04-12 16:28:03] Production.INFO: Reseller ==> 0
[2025-04-12 16:28:03] Production.INFO: Total Charge 0
[2025-04-12 16:28:03] Production.INFO: CreateAllLog End
[2025-04-12 16:28:03] Production.INFO: ==13277== Releasing lock...
[2025-04-12 16:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 16:28:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 16: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-12 16:28:03] Production.INFO: count ==12
[2025-04-12 16:28:03] Production.ERROR: done
[2025-04-12 16:28:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 16: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-12 16:28:03] Production.INFO: count ==23
[2025-04-12 16:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14892783') start
[2025-04-12 16:28:03] Production.ERROR: done
[2025-04-12 16:28:03] Production.INFO: Account Balance End.
[2025-04-12 16:28:03] Production.ERROR: CronJobId end 12
[2025-04-12 16:28:03] Production.INFO: ==13281== Releasing lock...
[2025-04-12 16:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 16:28:03] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 16:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892783') end
[2025-04-12 16:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 16:28:04] Production.INFO: 1
[2025-04-12 16:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 16:28:04] Production.INFO: ==13285== Releasing lock...
[2025-04-12 16:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 16:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 16:28:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 13:28:04
[end_date_ymd] => 2025-04-12 16:28:04
[RateCDR] => 1
)
[2025-04-12 16: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-12 13:28:04' and `end` < '2025-04-12 16: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-12 16:28:11] Production.ERROR: CronJobId end10
[2025-04-12 16:28:11] Production.INFO: ==13279== Releasing lock...
[2025-04-12 16:28:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 16:28:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 16:28:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 16:28:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 16:28:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 16:28:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 16:28:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 16:28:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 16:28:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 16:28:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 16:28:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 16:28:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 16:28:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 16:28:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 16:28:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 16:28:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 16:28:13] Production.INFO: call_cost start
[2025-04-12 16:28:13] Production.INFO: call_cost end
[2025-04-12 16:28:14] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 16:28:14] Production.INFO: ============== Report Schedule START===========
[2025-04-12 16:28:14] Production.INFO: ============== Report Schedule END===========
[2025-04-12 16:28:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 16:28:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 16:28:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 16:28:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 16:28:14] Production.INFO: ============== Deal alert START===========
[2025-04-12 16:28:14] Production.INFO: ============== Deal alert END===========
[2025-04-12 16:28:14] Production.INFO: ==13275== Releasing lock...
[2025-04-12 16:28:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 16:28:14] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 16:28:17] Production.INFO: count ==1318
[2025-04-12 16:28:18] Production.ERROR: pbx CDR StartTime 2025-04-12 13:28:04 - End Time 2025-04-12 16:28:04
[2025-04-12 16:28:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 16:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892784', 'tblTempUsageDetail_20' ) start
[2025-04-12 16:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892784', 'tblTempUsageDetail_20' ) end
[2025-04-12 16:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892784', 'tblTempVendorCDR_20' ) start
[2025-04-12 16:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892784', 'tblTempVendorCDR_20' ) end
[2025-04-12 16:28:18] Production.INFO: ProcessCDR(1,14892784,1,1,2)
[2025-04-12 16:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892784,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 16:28:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892784,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 16:28:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892784,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:28:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892784,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:28:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892784', 'tblTempUsageDetail_20' ) start
[2025-04-12 16:28:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892784', 'tblTempUsageDetail_20' ) end
[2025-04-12 16:28:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 16:28:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 16:28:23] Production.INFO: ==13283== Releasing lock...
[2025-04-12 16:28:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 16:28:23] Production.INFO: 38.5 MB #Memory Used#
[2025-04-12 21:29:01] Production.INFO: ==13348== Lock acquired, processing the job...
[2025-04-12 21:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 21:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 21:29:01] Production.INFO: neon service started
[2025-04-12 21:29:01] Production.INFO: neon service started
[2025-04-12 21:29:01] Production.INFO: ==13348== Releasing lock...
[2025-04-12 21:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 21:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 16:29:02] Production.INFO: ==13351== Lock acquired, processing the job...
[2025-04-12 16:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 20:29:02] Production.INFO: ==13353== Lock acquired, processing the job...
[2025-04-12 20:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 20:29:02] Production.INFO: ==13353== Releasing lock...
[2025-04-12 20:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 20:29:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 16:29:02] Production.INFO: ==13351== Releasing lock...
[2025-04-12 16:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 16:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 16:29:03] Production.INFO: ==13361== Lock acquired, processing the job...
[2025-04-12 16:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 16:29:03] Production.INFO: ==13355== Lock acquired, processing the job...
[2025-04-12 16:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 16:29:03] Production.INFO: Account Balance Start.
[2025-04-12 16:29:03] Production.INFO: CreateAllLog Start
[2025-04-12 16:29:03] Production.INFO: 117
[2025-04-12 16:29:03] Production.INFO: ==13363== Lock acquired, processing the job...
[2025-04-12 16:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 16:29:03] Production.INFO: Date 2025-04-08
[2025-04-12 16:29:03] Production.INFO: Reseller ==> 0
[2025-04-12 16:29:03] Production.INFO: Date 2025-04-09
[2025-04-12 16:29:03] Production.INFO: ==13357== Lock acquired, processing the job...
[2025-04-12 16:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 16:29:03] Production.INFO: Reseller ==> 0
[2025-04-12 16:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 16:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 16:29:03] Production.INFO: Date 2025-04-10
[2025-04-12 16:29:03] Production.INFO: Reseller ==> 0
[2025-04-12 16:29:04] Production.INFO: ==13359== Lock acquired, processing the job...
[2025-04-12 16:29:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 16:29:04] Production.INFO: Date 2025-04-11
[2025-04-12 16:29:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:29:04] Production.INFO: Date 2025-04-12
[2025-04-12 16:29:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:29:04] Production.INFO: Total Charge 0
[2025-04-12 16:29:04] Production.INFO: CreateAllLog End
[2025-04-12 16:29:04] Production.INFO: ==13365== Lock acquired, processing the job...
[2025-04-12 16:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 16:29:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 16:29:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 16:29:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 16:29:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 16:29:04] Production.ERROR: done
[2025-04-12 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-12 16:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 16:29:04] Production.INFO: ==13357== Releasing lock...
[2025-04-12 16:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 16:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 16:29:04] Production.INFO: Account Balance End.
[2025-04-12 16:29:04] Production.INFO: count ==12
[2025-04-12 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-12 16:29:04] Production.INFO: count ==23
[2025-04-12 16:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892788') start
[2025-04-12 16:29:04] Production.ERROR: CronJobId end 12
[2025-04-12 16:29:04] Production.INFO: ==13361== Releasing lock...
[2025-04-12 16:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 16:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 16:29:04] Production.ERROR: done
[2025-04-12 16:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892788') end
[2025-04-12 16:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 16:29:04] Production.INFO: 1
[2025-04-12 16:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 16:29:04] Production.INFO: ==13365== Releasing lock...
[2025-04-12 16:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 16:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 16:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 13:29:05
[end_date_ymd] => 2025-04-12 16:29:05
[RateCDR] => 1
)
[2025-04-12 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-12 13:29:05' and `end` < '2025-04-12 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-12 16:29:12] Production.ERROR: CronJobId end10
[2025-04-12 16:29:12] Production.INFO: ==13359== Releasing lock...
[2025-04-12 16:29:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 16:29:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 16:29:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 16:29:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 16:29:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 16:29:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 16:29:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 16:29:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 16:29:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 16:29:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 16:29:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 16:29:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 16:29:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 16:29:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 16:29:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 16:29:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 16:29:14] Production.INFO: call_cost start
[2025-04-12 16:29:14] Production.INFO: call_cost end
[2025-04-12 16:29:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 16:29:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 16:29:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 16:29:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 16:29:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 16:29:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 16:29:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 16:29:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 16:29:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 16:29:15] Production.INFO: ==13355== Releasing lock...
[2025-04-12 16:29:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 16:29:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 16:29:18] Production.INFO: count ==1311
[2025-04-12 16:29:19] Production.ERROR: pbx CDR StartTime 2025-04-12 13:29:05 - End Time 2025-04-12 16:29:05
[2025-04-12 16:29:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 16:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892789', 'tblTempUsageDetail_20' ) start
[2025-04-12 16:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892789', 'tblTempUsageDetail_20' ) end
[2025-04-12 16:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892789', 'tblTempVendorCDR_20' ) start
[2025-04-12 16:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892789', 'tblTempVendorCDR_20' ) end
[2025-04-12 16:29:19] Production.INFO: ProcessCDR(1,14892789,1,1,2)
[2025-04-12 16:29:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892789,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 16:29:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892789,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 16:29:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892789,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:29:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892789,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:29:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892789', 'tblTempUsageDetail_20' ) start
[2025-04-12 16:29:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892789', 'tblTempUsageDetail_20' ) end
[2025-04-12 16:29:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 16:29:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 16:29:24] Production.INFO: ==13363== Releasing lock...
[2025-04-12 16:29:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 16:29:24] Production.INFO: 38.5 MB #Memory Used#
[2025-04-12 21:30:02] Production.INFO: ==13437== Lock acquired, processing the job...
[2025-04-12 21:30:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 21:30:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 21:30:02] Production.INFO: neon service started
[2025-04-12 21:30:02] Production.INFO: neon service started
[2025-04-12 21:30:02] Production.INFO: ==13437== Releasing lock...
[2025-04-12 21:30:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 21:30:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 16:30:03] Production.INFO: ==13439== Lock acquired, processing the job...
[2025-04-12 16:30:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 20:30:03] Production.INFO: ==13441== Lock acquired, processing the job...
[2025-04-12 20:30:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 20:30:03] Production.INFO: ==13441== Releasing lock...
[2025-04-12 20:30:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 20:30:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 16:30:03] Production.INFO: ==13439== Releasing lock...
[2025-04-12 16:30:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 16:30:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 16:30:04] Production.INFO: ==13444== Lock acquired, processing the job...
[2025-04-12 16:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 16:30:04] Production.INFO: ==13448== Lock acquired, processing the job...
[2025-04-12 16:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 16:30:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 16:30:04] Production.INFO: ==13450== Lock acquired, processing the job...
[2025-04-12 16:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 16:30:04] Production.INFO: ==13446== Lock acquired, processing the job...
[2025-04-12 16:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 16:30:04] Production.INFO: ==13454== Lock acquired, processing the job...
[2025-04-12 16:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 16:30:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 16:30:04] Production.INFO: ==13444== Releasing lock...
[2025-04-12 16:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 16:30:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 16:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 16:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 16:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 16:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 16:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 16:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 16:30:05] Production.INFO: ==13452== Lock acquired, processing the job...
[2025-04-12 16:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 16:30:05] Production.INFO: ==13456== Lock acquired, processing the job...
[2025-04-12 16:30:05] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 16:30:05] Production.INFO: ==13458== Lock acquired, processing the job...
[2025-04-12 16:30:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 16:30:05] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 16:30:05] Production.INFO: ==13448== Releasing lock...
[2025-04-12 16:30:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 16:30:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 16:30:05] Production.INFO: Account Balance Start.
[2025-04-12 16:30:05] Production.INFO: CreateAllLog Start
[2025-04-12 16:30:05] Production.INFO: 117
[2025-04-12 16:30:05] Production.INFO: Date 2025-04-08
[2025-04-12 16:30:05] Production.INFO: Reseller ==> 0
[2025-04-12 16: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-12 16:30:05] Production.INFO: count ==12
[2025-04-12 16:30:05] Production.ERROR: done
[2025-04-12 16:30:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 16: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-12 16:30:05] Production.INFO: count ==23
[2025-04-12 16:30:05] Production.INFO: Date 2025-04-09
[2025-04-12 16:30:05] Production.INFO: Reseller ==> 0
[2025-04-12 16:30:05] Production.INFO: Date 2025-04-10
[2025-04-12 16:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14892793') start
[2025-04-12 16:30:05] Production.INFO: Reseller ==> 0
[2025-04-12 16:30:05] Production.INFO: Date 2025-04-11
[2025-04-12 16:30:05] Production.INFO: Reseller ==> 0
[2025-04-12 16:30:05] Production.INFO: Date 2025-04-12
[2025-04-12 16:30:05] Production.INFO: Reseller ==> 0
[2025-04-12 16:30:05] Production.ERROR: done
[2025-04-12 16:30:05] Production.ERROR: done
[2025-04-12 16:30:05] Production.INFO: Total Charge 0
[2025-04-12 16:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14892793') end
[2025-04-12 16:30:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 16:30:05] Production.INFO: 1
[2025-04-12 16:30:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 16:30:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 16:30:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14892794', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 16:30:05] Production.INFO: CreateAllLog End
[2025-04-12 16:30:05] Production.INFO: ==13458== Releasing lock...
[2025-04-12 16:30:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 16:30:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 16:30:06] Production.INFO: Account Balance End.
[2025-04-12 16:30:06] Production.ERROR: CronJobId end 12
[2025-04-12 16:30:06] Production.INFO: ==13452== Releasing lock...
[2025-04-12 16:30:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 16:30:06] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 16:30:07] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 13:30:07
[end_date_ymd] => 2025-04-12 16:30:07
[RateCDR] => 1
)
[2025-04-12 16: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-12 13:30:07' and `end` < '2025-04-12 16: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-12 16:30:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14892794', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 16:30:10] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 16:30:10] Production.INFO: ProcessCDR(1,14892794,1,1,2)
[2025-04-12 16:30:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14892794,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:30:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14892794,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:30:10] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 16:30:10] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 16:30:10] Production.INFO: ==13456== Releasing lock...
[2025-04-12 16:30:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 16:30:10] Production.INFO: 26 MB #Memory Used#
[2025-04-12 16:30:15] Production.ERROR: CronJobId end10
[2025-04-12 16:30:15] Production.INFO: ==13450== Releasing lock...
[2025-04-12 16:30:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 16:30:15] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 16:30:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 16:30:16] Production.INFO: ============== Balance Warning START===========
[2025-04-12 16:30:16] Production.INFO: ============== Balance Warning END===========
[2025-04-12 16:30:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 16:30:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 16:30:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 16:30:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 16:30:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 16:30:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 16:30:16] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 16:30:16] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 16:30:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 16:30:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 16:30:16] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 16:30:17] Production.INFO: call_cost start
[2025-04-12 16:30:17] Production.INFO: call_cost end
[2025-04-12 16:30:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 16:30:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 16:30:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 16:30:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 16:30:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 16:30:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 16:30:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 16:30:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 16:30:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 16:30:17] Production.INFO: ==13446== Releasing lock...
[2025-04-12 16:30:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 16:30:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 16:30:20] Production.INFO: count ==1285
[2025-04-12 16:30:20] Production.ERROR: pbx CDR StartTime 2025-04-12 13:30:07 - End Time 2025-04-12 16:30:07
[2025-04-12 16:30:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 16:30:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892795', 'tblTempUsageDetail_20' ) start
[2025-04-12 16:30:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892795', 'tblTempUsageDetail_20' ) end
[2025-04-12 16:30:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892795', 'tblTempVendorCDR_20' ) start
[2025-04-12 16:30:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892795', 'tblTempVendorCDR_20' ) end
[2025-04-12 16:30:20] Production.INFO: ProcessCDR(1,14892795,1,1,2)
[2025-04-12 16:30:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892795,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 16:30:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892795,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 16:30:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892795,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:30:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892795,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:30:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892795', 'tblTempUsageDetail_20' ) start
[2025-04-12 16:30:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892795', 'tblTempUsageDetail_20' ) end
[2025-04-12 16:30:26] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 16:30:26] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 16:30:26] Production.INFO: ==13454== Releasing lock...
[2025-04-12 16:30:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 16:30:26] Production.INFO: 37.75 MB #Memory Used#
[2025-04-12 21:31:01] Production.INFO: ==13520== Lock acquired, processing the job...
[2025-04-12 21:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 21:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 21:31:01] Production.INFO: neon service started
[2025-04-12 21:31:01] Production.INFO: neon service started
[2025-04-12 21:31:01] Production.INFO: ==13520== Releasing lock...
[2025-04-12 21:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 21:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 20:31:02] Production.INFO: ==13524== Lock acquired, processing the job...
[2025-04-12 20:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 16:31:02] Production.INFO: ==13522== Lock acquired, processing the job...
[2025-04-12 16:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 20:31:02] Production.INFO: ==13524== Releasing lock...
[2025-04-12 20:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 20:31:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 16:31:02] Production.INFO: ==13522== Releasing lock...
[2025-04-12 16:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 16:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 16:31:03] Production.INFO: ==13527== Lock acquired, processing the job...
[2025-04-12 16:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 16:31:03] Production.INFO: ==13529== Lock acquired, processing the job...
[2025-04-12 16:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 16:31:03] Production.INFO: ==13531== Lock acquired, processing the job...
[2025-04-12 16:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 16:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 16:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 16:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 16:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 16:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 16:31:03] Production.INFO: ==13533== Lock acquired, processing the job...
[2025-04-12 16:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 16:31:04] Production.INFO: ==13529== Releasing lock...
[2025-04-12 16:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 16:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 16:31:04] Production.INFO: ==13537== Lock acquired, processing the job...
[2025-04-12 16:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 16:31:04] Production.INFO: ==13535== Lock acquired, processing the job...
[2025-04-12 16:31:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 16:31:04] Production.INFO: Account Balance Start.
[2025-04-12 16:31:04] Production.INFO: CreateAllLog Start
[2025-04-12 16:31:04] Production.INFO: 117
[2025-04-12 16:31:04] Production.INFO: Date 2025-04-08
[2025-04-12 16:31:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:31:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 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-12 16:31:04] Production.INFO: Date 2025-04-09
[2025-04-12 16:31:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:31:04] Production.INFO: count ==12
[2025-04-12 16:31:04] Production.INFO: Date 2025-04-10
[2025-04-12 16:31:04] Production.INFO: Reseller ==> 0
[2025-04-12 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-12 16:31:04] Production.INFO: count ==23
[2025-04-12 16:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892799') start
[2025-04-12 16:31:04] Production.INFO: Date 2025-04-11
[2025-04-12 16:31:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892799') end
[2025-04-12 16:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 16:31:04] Production.INFO: 1
[2025-04-12 16:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 16:31:04] Production.INFO: Date 2025-04-12
[2025-04-12 16:31:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:31:04] Production.INFO: ==13537== Releasing lock...
[2025-04-12 16:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 16:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 16:31:04] Production.INFO: Total Charge 0
[2025-04-12 16:31:04] Production.INFO: CreateAllLog End
[2025-04-12 16:31:04] Production.ERROR: done
[2025-04-12 16:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 16:31:04] Production.INFO: Account Balance End.
[2025-04-12 16:31:04] Production.ERROR: CronJobId end 12
[2025-04-12 16:31:04] Production.INFO: ==13533== Releasing lock...
[2025-04-12 16:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 16:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 16:31:04] Production.ERROR: done
[2025-04-12 16:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 13:31:05
[end_date_ymd] => 2025-04-12 16:31:05
[RateCDR] => 1
)
[2025-04-12 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-12 13:31:05' and `end` < '2025-04-12 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-12 16:31:13] Production.ERROR: CronJobId end10
[2025-04-12 16:31:13] Production.INFO: ==13531== Releasing lock...
[2025-04-12 16:31:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 16:31:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 16:31:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 16:31:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 16:31:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 16:31:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 16:31:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 16:31:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 16:31:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 16:31:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 16:31:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 16:31:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 16:31:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 16:31:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 16:31:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 16:31:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 16:31:15] Production.INFO: call_cost start
[2025-04-12 16:31:15] Production.INFO: call_cost end
[2025-04-12 16:31:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 16:31:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 16:31:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 16:31:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 16:31:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 16:31:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 16:31:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 16:31:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 16:31:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 16:31:16] Production.INFO: ==13527== Releasing lock...
[2025-04-12 16:31:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 16:31:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 16:31:18] Production.INFO: count ==1321
[2025-04-12 16:31:19] Production.ERROR: pbx CDR StartTime 2025-04-12 13:31:05 - End Time 2025-04-12 16:31:05
[2025-04-12 16:31:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 16:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892800', 'tblTempUsageDetail_20' ) start
[2025-04-12 16:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892800', 'tblTempUsageDetail_20' ) end
[2025-04-12 16:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892800', 'tblTempVendorCDR_20' ) start
[2025-04-12 16:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892800', 'tblTempVendorCDR_20' ) end
[2025-04-12 16:31:19] Production.INFO: ProcessCDR(1,14892800,1,1,2)
[2025-04-12 16:31:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892800,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 16:31:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892800,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 16:31:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892800,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:31:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892800,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892800', 'tblTempUsageDetail_20' ) start
[2025-04-12 16:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892800', 'tblTempUsageDetail_20' ) end
[2025-04-12 16:31:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 16:31:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 16:31:22] Production.INFO: ==13535== Releasing lock...
[2025-04-12 16:31:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 16:31:22] Production.INFO: 38.25 MB #Memory Used#
[2025-04-12 21:32:02] Production.INFO: ==13608== Lock acquired, processing the job...
[2025-04-12 21:32:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 21:32:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 21:32:02] Production.INFO: neon service started
[2025-04-12 21:32:02] Production.INFO: neon service started
[2025-04-12 21:32:02] Production.INFO: ==13608== Releasing lock...
[2025-04-12 21:32:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 21:32:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 20:32:03] Production.INFO: ==13612== Lock acquired, processing the job...
[2025-04-12 20:32:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 16:32:03] Production.INFO: ==13610== Lock acquired, processing the job...
[2025-04-12 16:32:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 20:32:03] Production.INFO: ==13612== Releasing lock...
[2025-04-12 20:32:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 20:32:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 16:32:03] Production.INFO: ==13610== Releasing lock...
[2025-04-12 16:32:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 16:32:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 16:32:04] Production.INFO: ==13615== Lock acquired, processing the job...
[2025-04-12 16:32:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 16:32:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 16:32:04] Production.INFO: ==13619== Lock acquired, processing the job...
[2025-04-12 16:32:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 16:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 16:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 16:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 16:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 16:32:04] Production.INFO: ==13621== Lock acquired, processing the job...
[2025-04-12 16:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 16:32:04] Production.INFO: ==13617== Lock acquired, processing the job...
[2025-04-12 16:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 16:32:04] Production.INFO: Account Balance Start.
[2025-04-12 16:32:04] Production.INFO: CreateAllLog Start
[2025-04-12 16:32:04] Production.INFO: 117
[2025-04-12 16:32:04] Production.INFO: Date 2025-04-08
[2025-04-12 16:32:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:32:04] Production.INFO: Date 2025-04-09
[2025-04-12 16:32:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:32:04] Production.INFO: ==13623== Lock acquired, processing the job...
[2025-04-12 16:32:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 16:32:04] Production.INFO: Date 2025-04-10
[2025-04-12 16:32:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:32:04] Production.INFO: Date 2025-04-11
[2025-04-12 16:32:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:32:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 16:32:04] Production.INFO: ==13625== Lock acquired, processing the job...
[2025-04-12 16:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 16:32:05] Production.INFO: Date 2025-04-12
[2025-04-12 16:32:05] Production.INFO: Reseller ==> 0
[2025-04-12 16:32:05] Production.INFO: Total Charge 0
[2025-04-12 16:32:05] Production.INFO: CreateAllLog End
[2025-04-12 16:32:05] Production.INFO: ==13617== Releasing lock...
[2025-04-12 16:32:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 16:32:05] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 16:32: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-12 16:32:05] Production.INFO: count ==12
[2025-04-12 16:32:05] Production.ERROR: done
[2025-04-12 16:32: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-12 16:32:05] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 16:32:05] Production.INFO: count ==23
[2025-04-12 16:32:05] Production.ERROR: PBX CALL prc_importPBXExtension('14892804') start
[2025-04-12 16:32:05] Production.ERROR: done
[2025-04-12 16:32:05] Production.ERROR: PBX CALL prc_importPBXExtension('14892804') end
[2025-04-12 16:32:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 16:32:05] Production.INFO: 1
[2025-04-12 16:32:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 16:32:05] Production.INFO: Account Balance End.
[2025-04-12 16:32:05] Production.INFO: ==13625== Releasing lock...
[2025-04-12 16:32:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 16:32:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 16:32:05] Production.ERROR: CronJobId end 12
[2025-04-12 16:32:05] Production.INFO: ==13621== Releasing lock...
[2025-04-12 16:32:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 16:32:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 16:32:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 13:32:06
[end_date_ymd] => 2025-04-12 16:32:06
[RateCDR] => 1
)
[2025-04-12 16:32:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 13:32:06' and `end` < '2025-04-12 16:32:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 16:32:13] Production.ERROR: CronJobId end10
[2025-04-12 16:32:13] Production.INFO: ==13619== Releasing lock...
[2025-04-12 16:32:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 16:32:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 16:32:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 16:32:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 16:32:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 16:32:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 16:32:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 16:32:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 16:32:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 16:32:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 16:32:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 16:32:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 16:32:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 16:32:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 16:32:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 16:32:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 16:32:16] Production.INFO: call_cost start
[2025-04-12 16:32:16] Production.INFO: call_cost end
[2025-04-12 16:32:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 16:32:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 16:32:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 16:32:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 16:32:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 16:32:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 16:32:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 16:32:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 16:32:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 16:32:17] Production.INFO: ==13615== Releasing lock...
[2025-04-12 16:32:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 16:32:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 16:32:19] Production.INFO: count ==1322
[2025-04-12 16:32:20] Production.ERROR: pbx CDR StartTime 2025-04-12 13:32:06 - End Time 2025-04-12 16:32:06
[2025-04-12 16:32:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 16:32:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892805', 'tblTempUsageDetail_20' ) start
[2025-04-12 16:32:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892805', 'tblTempUsageDetail_20' ) end
[2025-04-12 16:32:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892805', 'tblTempVendorCDR_20' ) start
[2025-04-12 16:32:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892805', 'tblTempVendorCDR_20' ) end
[2025-04-12 16:32:20] Production.INFO: ProcessCDR(1,14892805,1,1,2)
[2025-04-12 16:32:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892805,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 16:32:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892805,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 16:32:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892805,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:32:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892805,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:32:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892805', 'tblTempUsageDetail_20' ) start
[2025-04-12 16:32:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892805', 'tblTempUsageDetail_20' ) end
[2025-04-12 16:32:25] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 16:32:25] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 16:32:25] Production.INFO: ==13623== Releasing lock...
[2025-04-12 16:32:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 16:32:25] Production.INFO: 38.5 MB #Memory Used#
[2025-04-12 21:33:01] Production.INFO: ==13682== Lock acquired, processing the job...
[2025-04-12 21:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 21:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 21:33:01] Production.INFO: neon service started
[2025-04-12 21:33:01] Production.INFO: neon service started
[2025-04-12 21:33:01] Production.INFO: ==13682== Releasing lock...
[2025-04-12 21:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 21:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 20:33:02] Production.INFO: ==13686== Lock acquired, processing the job...
[2025-04-12 20:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 20:33:02] Production.INFO: ==13686== Releasing lock...
[2025-04-12 20:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 20:33:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 16:33:02] Production.INFO: ==13684== Lock acquired, processing the job...
[2025-04-12 16:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 16:33:02] Production.INFO: ==13684== Releasing lock...
[2025-04-12 16:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 16:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 16:33:03] Production.INFO: ==13693== Lock acquired, processing the job...
[2025-04-12 16:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 16:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 16:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 16:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 16:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 16:33:03] Production.INFO: ==13697== Lock acquired, processing the job...
[2025-04-12 16:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 16:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 16:33:03] Production.INFO: ==13689== Lock acquired, processing the job...
[2025-04-12 16:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 16:33:03] Production.INFO: ==13691== Lock acquired, processing the job...
[2025-04-12 16:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 16:33:03] Production.INFO: ==13695== Lock acquired, processing the job...
[2025-04-12 16:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 16:33:03] Production.INFO: ==13699== Lock acquired, processing the job...
[2025-04-12 16:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 16:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 16:33:03] Production.INFO: Account Balance Start.
[2025-04-12 16:33:03] Production.INFO: CreateAllLog Start
[2025-04-12 16:33:03] Production.INFO: 117
[2025-04-12 16:33:03] Production.INFO: Date 2025-04-08
[2025-04-12 16:33:03] Production.INFO: Reseller ==> 0
[2025-04-12 16:33:03] Production.ERROR: done
[2025-04-12 16:33:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 16:33:03] Production.INFO: Date 2025-04-09
[2025-04-12 16:33:03] Production.INFO: Reseller ==> 0
[2025-04-12 16:33:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 16:33:04] Production.INFO: count ==12
[2025-04-12 16:33:04] Production.ERROR: done
[2025-04-12 16:33:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 16:33:04] Production.INFO: count ==23
[2025-04-12 16:33:04] Production.INFO: Date 2025-04-10
[2025-04-12 16:33:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892809') start
[2025-04-12 16:33:04] Production.INFO: Date 2025-04-11
[2025-04-12 16:33:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:33:04] Production.INFO: Date 2025-04-12
[2025-04-12 16:33:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:33:04] Production.INFO: ==13691== Releasing lock...
[2025-04-12 16:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 16:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 16:33:04] Production.INFO: Total Charge 0
[2025-04-12 16:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892809') end
[2025-04-12 16:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 16:33:04] Production.INFO: 1
[2025-04-12 16:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 16:33:04] Production.INFO: CreateAllLog End
[2025-04-12 16:33:04] Production.INFO: ==13699== Releasing lock...
[2025-04-12 16:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 16:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 16:33:04] Production.INFO: Account Balance End.
[2025-04-12 16:33:04] Production.ERROR: CronJobId end 12
[2025-04-12 16:33:04] Production.INFO: ==13695== Releasing lock...
[2025-04-12 16:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 16:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 16:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 13:33:05
[end_date_ymd] => 2025-04-12 16:33:05
[RateCDR] => 1
)
[2025-04-12 16:33:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 13:33:05' and `end` < '2025-04-12 16:33:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 16:33:11] Production.ERROR: CronJobId end10
[2025-04-12 16:33:11] Production.INFO: ==13693== Releasing lock...
[2025-04-12 16:33:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 16:33:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 16:33:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 16:33:13] Production.INFO: ============== Balance Warning START===========
[2025-04-12 16:33:13] Production.INFO: ============== Balance Warning END===========
[2025-04-12 16:33:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 16:33:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 16:33:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 16:33:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 16:33:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 16:33:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 16:33:13] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 16:33:13] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 16:33:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 16:33:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 16:33:13] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 16:33:14] Production.INFO: call_cost start
[2025-04-12 16:33:14] Production.INFO: call_cost end
[2025-04-12 16:33:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 16:33:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 16:33:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 16:33:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 16:33:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 16:33:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 16:33:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 16:33:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 16:33:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 16:33:15] Production.INFO: ==13689== Releasing lock...
[2025-04-12 16:33:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 16:33:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 16:33:18] Production.INFO: count ==1321
[2025-04-12 16:33:18] Production.ERROR: pbx CDR StartTime 2025-04-12 13:33:05 - End Time 2025-04-12 16:33:05
[2025-04-12 16:33:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 16:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892810', 'tblTempUsageDetail_20' ) start
[2025-04-12 16:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892810', 'tblTempUsageDetail_20' ) end
[2025-04-12 16:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892810', 'tblTempVendorCDR_20' ) start
[2025-04-12 16:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892810', 'tblTempVendorCDR_20' ) end
[2025-04-12 16:33:18] Production.INFO: ProcessCDR(1,14892810,1,1,2)
[2025-04-12 16:33:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892810,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 16:33:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892810,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 16:33:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892810,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:33:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892810,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:33:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892810', 'tblTempUsageDetail_20' ) start
[2025-04-12 16:33:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892810', 'tblTempUsageDetail_20' ) end
[2025-04-12 16:33:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 16:33:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 16:33:23] Production.INFO: ==13697== Releasing lock...
[2025-04-12 16:33:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 16:33:23] Production.INFO: 38.25 MB #Memory Used#
[2025-04-12 21:34:02] Production.INFO: ==13769== Lock acquired, processing the job...
[2025-04-12 21:34:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 21:34:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 21:34:02] Production.INFO: neon service started
[2025-04-12 21:34:02] Production.INFO: neon service started
[2025-04-12 21:34:02] Production.INFO: ==13769== Releasing lock...
[2025-04-12 21:34:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 21:34:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 16:34:02] Production.INFO: ==13771== Lock acquired, processing the job...
[2025-04-12 16:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 16:34:02] Production.INFO: ==13771== Releasing lock...
[2025-04-12 16:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 16:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 20:34:03] Production.INFO: ==13773== Lock acquired, processing the job...
[2025-04-12 20:34:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 20:34:03] Production.INFO: ==13773== Releasing lock...
[2025-04-12 20:34:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 20:34:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 16:34:03] Production.INFO: ==13776== Lock acquired, processing the job...
[2025-04-12 16:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 16:34:03] Production.INFO: ==13780== Lock acquired, processing the job...
[2025-04-12 16:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 16:34:03] Production.INFO: ==13782== Lock acquired, processing the job...
[2025-04-12 16:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 16:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 16:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 16:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 16:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 16:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 16:34:04] Production.INFO: Account Balance Start.
[2025-04-12 16:34:04] Production.INFO: CreateAllLog Start
[2025-04-12 16:34:04] Production.INFO: ==13778== Lock acquired, processing the job...
[2025-04-12 16:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 16:34:04] Production.INFO: 117
[2025-04-12 16:34:04] Production.INFO: Date 2025-04-08
[2025-04-12 16:34:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:34:04] Production.INFO: Date 2025-04-09
[2025-04-12 16:34:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:34:04] Production.INFO: ==13784== Lock acquired, processing the job...
[2025-04-12 16:34:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 16:34:04] Production.INFO: Date 2025-04-10
[2025-04-12 16:34:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 16:34:04] Production.INFO: ==13786== Lock acquired, processing the job...
[2025-04-12 16:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 16:34:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:34:04] Production.INFO: Date 2025-04-11
[2025-04-12 16:34:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:34:04] Production.INFO: Date 2025-04-12
[2025-04-12 16:34:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:34:04] Production.INFO: Total Charge 0
[2025-04-12 16:34:04] Production.INFO: CreateAllLog End
[2025-04-12 16:34:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 16:34:04] Production.INFO: count ==12
[2025-04-12 16:34:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 16:34:04] Production.INFO: count ==23
[2025-04-12 16:34:04] Production.INFO: ==13778== Releasing lock...
[2025-04-12 16:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 16:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 16:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892814') start
[2025-04-12 16:34:04] Production.ERROR: done
[2025-04-12 16:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 16:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892814') end
[2025-04-12 16:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 16:34:04] Production.INFO: 1
[2025-04-12 16:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 16:34:04] Production.ERROR: done
[2025-04-12 16:34:04] Production.INFO: ==13786== Releasing lock...
[2025-04-12 16:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 16:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 16:34:04] Production.INFO: Account Balance End.
[2025-04-12 16:34:04] Production.ERROR: CronJobId end 12
[2025-04-12 16:34:04] Production.INFO: ==13782== Releasing lock...
[2025-04-12 16:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 16:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 16:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 13:34:05
[end_date_ymd] => 2025-04-12 16:34:05
[RateCDR] => 1
)
[2025-04-12 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-12 13:34:05' and `end` < '2025-04-12 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-12 16:34:13] Production.ERROR: CronJobId end10
[2025-04-12 16:34:13] Production.INFO: ==13780== Releasing lock...
[2025-04-12 16:34:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 16:34:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 16:34:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 16:34:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 16:34:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 16:34:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 16:34:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 16:34:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 16:34:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 16:34:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 16:34:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 16:34:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 16:34:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 16:34:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 16:34:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 16:34:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 16:34:14] Production.INFO: call_cost start
[2025-04-12 16:34:14] Production.INFO: call_cost end
[2025-04-12 16:34:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 16:34:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 16:34:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 16:34:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 16:34:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 16:34:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 16:34:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 16:34:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 16:34:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 16:34:15] Production.INFO: ==13776== Releasing lock...
[2025-04-12 16:34:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 16:34:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 16:34:18] Production.INFO: count ==1321
[2025-04-12 16:34:19] Production.ERROR: pbx CDR StartTime 2025-04-12 13:34:05 - End Time 2025-04-12 16:34:05
[2025-04-12 16:34:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 16:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892815', 'tblTempUsageDetail_20' ) start
[2025-04-12 16:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892815', 'tblTempUsageDetail_20' ) end
[2025-04-12 16:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892815', 'tblTempVendorCDR_20' ) start
[2025-04-12 16:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892815', 'tblTempVendorCDR_20' ) end
[2025-04-12 16:34:19] Production.INFO: ProcessCDR(1,14892815,1,1,2)
[2025-04-12 16:34:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892815,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 16:34:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892815,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 16:34:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892815,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:34:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892815,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:34:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892815', 'tblTempUsageDetail_20' ) start
[2025-04-12 16:34:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892815', 'tblTempUsageDetail_20' ) end
[2025-04-12 16:34:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 16:34:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 16:34:24] Production.INFO: ==13784== Releasing lock...
[2025-04-12 16:34:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 16:34:24] Production.INFO: 38.25 MB #Memory Used#
[2025-04-12 21:35:01] Production.INFO: ==13852== Lock acquired, processing the job...
[2025-04-12 21:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 21:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 21:35:01] Production.INFO: neon service started
[2025-04-12 21:35:01] Production.INFO: neon service started
[2025-04-12 21:35:01] Production.INFO: ==13852== Releasing lock...
[2025-04-12 21:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 21:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 20:35:02] Production.INFO: ==13856== Lock acquired, processing the job...
[2025-04-12 20:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 20:35:02] Production.INFO: ==13856== Releasing lock...
[2025-04-12 20:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 20:35:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 16:35:02] Production.INFO: ==13854== Lock acquired, processing the job...
[2025-04-12 16:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 16:35:02] Production.INFO: ==13854== Releasing lock...
[2025-04-12 16:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 16:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 16:35:03] Production.INFO: ==13862== Lock acquired, processing the job...
[2025-04-12 16:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 16:35:03] Production.INFO: ==13864== Lock acquired, processing the job...
[2025-04-12 16:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 16:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 16:35:03] Production.INFO: ==13866== Lock acquired, processing the job...
[2025-04-12 16:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 16:35:03] Production.INFO: ==13872== Lock acquired, processing the job...
[2025-04-12 16:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 16:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 16:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 16:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 16:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 16:35:03] Production.INFO: ==13870== Lock acquired, processing the job...
[2025-04-12 16:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 16:35:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 16:35:03] Production.INFO: count ==12
[2025-04-12 16:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 16:35:03] Production.INFO: ==13868== Lock acquired, processing the job...
[2025-04-12 16:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 16:35:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 16:35:03] Production.INFO: count ==23
[2025-04-12 16:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14892818') start
[2025-04-12 16:35:03] Production.INFO: ==13864== Releasing lock...
[2025-04-12 16:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 16:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 16:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14892818') end
[2025-04-12 16:35:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 16:35:03] Production.INFO: 1
[2025-04-12 16:35:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 16:35:04] Production.INFO: Account Balance Start.
[2025-04-12 16:35:04] Production.INFO: CreateAllLog Start
[2025-04-12 16:35:04] Production.INFO: 117
[2025-04-12 16:35:04] Production.ERROR: done
[2025-04-12 16:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 16:35:04] Production.INFO: Date 2025-04-08
[2025-04-12 16:35:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:35:04] Production.INFO: ==13872== Releasing lock...
[2025-04-12 16:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 16:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 16:35:04] Production.INFO: Date 2025-04-09
[2025-04-12 16:35:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:35:04] Production.INFO: Date 2025-04-10
[2025-04-12 16:35:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:35:04] Production.INFO: Date 2025-04-11
[2025-04-12 16:35:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:35:04] Production.INFO: Date 2025-04-12
[2025-04-12 16:35:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:35:04] Production.INFO: Total Charge 0
[2025-04-12 16:35:04] Production.INFO: CreateAllLog End
[2025-04-12 16:35:04] Production.ERROR: done
[2025-04-12 16:35:04] Production.INFO: Account Balance End.
[2025-04-12 16:35:04] Production.ERROR: CronJobId end 12
[2025-04-12 16:35:04] Production.INFO: ==13868== Releasing lock...
[2025-04-12 16:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 16:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 16:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 13:35:05
[end_date_ymd] => 2025-04-12 16:35:05
[RateCDR] => 1
)
[2025-04-12 16:35:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 13:35:05' and `end` < '2025-04-12 16:35:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 16:35:12] Production.ERROR: CronJobId end10
[2025-04-12 16:35:12] Production.INFO: ==13866== Releasing lock...
[2025-04-12 16:35:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 16:35:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 16:35:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 16:35:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 16:35:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 16:35:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 16:35:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 16:35:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 16:35:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 16:35:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 16:35:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 16:35:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 16:35:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 16:35:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 16:35:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 16:35:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 16:35:15] Production.INFO: call_cost start
[2025-04-12 16:35:15] Production.INFO: call_cost end
[2025-04-12 16:35:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 16:35:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 16:35:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 16:35:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 16:35:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 16:35:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 16:35:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 16:35:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 16:35:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 16:35:16] Production.INFO: ==13862== Releasing lock...
[2025-04-12 16:35:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 16:35:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 16:35:18] Production.INFO: count ==1320
[2025-04-12 16:35:18] Production.ERROR: pbx CDR StartTime 2025-04-12 13:35:05 - End Time 2025-04-12 16:35:05
[2025-04-12 16:35:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 16:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892820', 'tblTempUsageDetail_20' ) start
[2025-04-12 16:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892820', 'tblTempUsageDetail_20' ) end
[2025-04-12 16:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892820', 'tblTempVendorCDR_20' ) start
[2025-04-12 16:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892820', 'tblTempVendorCDR_20' ) end
[2025-04-12 16:35:18] Production.INFO: ProcessCDR(1,14892820,1,1,2)
[2025-04-12 16:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892820,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 16:35:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892820,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 16:35:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892820,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:35:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892820,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:35:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892820', 'tblTempUsageDetail_20' ) start
[2025-04-12 16:35:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892820', 'tblTempUsageDetail_20' ) end
[2025-04-12 16:35:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 16:35:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 16:35:22] Production.INFO: ==13870== Releasing lock...
[2025-04-12 16:35:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 16:35:22] Production.INFO: 38.25 MB #Memory Used#
[2025-04-12 21:36:02] Production.INFO: ==13952== Lock acquired, processing the job...
[2025-04-12 21:36:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 21:36:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 21:36:02] Production.INFO: neon service started
[2025-04-12 21:36:02] Production.INFO: neon service started
[2025-04-12 21:36:02] Production.INFO: ==13952== Releasing lock...
[2025-04-12 21:36:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 21:36:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 16:36:02] Production.INFO: ==13954== Lock acquired, processing the job...
[2025-04-12 16:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 20:36:02] Production.INFO: ==13956== Lock acquired, processing the job...
[2025-04-12 20:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 20:36:02] Production.INFO: ==13956== Releasing lock...
[2025-04-12 20:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 20:36:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 16:36:03] Production.INFO: ==13954== Releasing lock...
[2025-04-12 16:36:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 16:36:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 16:36:03] Production.INFO: ==13965== Lock acquired, processing the job...
[2025-04-12 16:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 16:36:04] Production.INFO: Account Balance Start.
[2025-04-12 16:36:04] Production.INFO: CreateAllLog Start
[2025-04-12 16:36:04] Production.INFO: 117
[2025-04-12 16:36:04] Production.INFO: Date 2025-04-08
[2025-04-12 16:36:04] Production.INFO: ==13969== Lock acquired, processing the job...
[2025-04-12 16:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 16:36:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:36:04] Production.INFO: Date 2025-04-09
[2025-04-12 16:36:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:36:04] Production.INFO: Date 2025-04-10
[2025-04-12 16:36:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:36:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 16:36:04] Production.INFO: Date 2025-04-11
[2025-04-12 16:36:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:36:04] Production.INFO: count ==12
[2025-04-12 16:36:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 16:36:04] Production.INFO: count ==23
[2025-04-12 16:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892822') start
[2025-04-12 16:36:04] Production.INFO: Date 2025-04-12
[2025-04-12 16:36:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:36:04] Production.INFO: ==13959== Lock acquired, processing the job...
[2025-04-12 16:36:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 16:36:04] Production.INFO: Total Charge 0
[2025-04-12 16:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892822') end
[2025-04-12 16:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 16:36:04] Production.INFO: 1
[2025-04-12 16:36:04] Production.INFO: ==13961== Lock acquired, processing the job...
[2025-04-12 16:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 16:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 16:36:04] Production.INFO: CreateAllLog End
[2025-04-12 16:36:04] Production.INFO: ==13963== Lock acquired, processing the job...
[2025-04-12 16:36:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 16:36:04] Production.INFO: ==13969== Releasing lock...
[2025-04-12 16:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 16:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 16:36:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 16:36:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 16:36:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 16:36:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 16:36:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 16:36:04] Production.INFO: ==13967== Lock acquired, processing the job...
[2025-04-12 16:36:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 16:36:04] Production.INFO: Account Balance End.
[2025-04-12 16:36:04] Production.ERROR: CronJobId end 12
[2025-04-12 16:36:04] Production.INFO: ==13965== Releasing lock...
[2025-04-12 16:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 16:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 16:36:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 16:36:04] Production.INFO: ==13961== Releasing lock...
[2025-04-12 16:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 16:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 16:36:04] Production.ERROR: done
[2025-04-12 16:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 16:36:05] Production.ERROR: done
[2025-04-12 16:36:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 13:36:06
[end_date_ymd] => 2025-04-12 16:36:06
[RateCDR] => 1
)
[2025-04-12 16: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-12 13:36:06' and `end` < '2025-04-12 16: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-12 16:36:12] Production.ERROR: CronJobId end10
[2025-04-12 16:36:12] Production.INFO: ==13963== Releasing lock...
[2025-04-12 16:36:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 16:36:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 16:36:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 16:36:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 16:36:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 16:36:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 16:36:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 16:36:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 16:36:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 16:36:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 16:36:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 16:36:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 16:36:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 16:36:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 16:36:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 16:36:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 16:36:15] Production.INFO: call_cost start
[2025-04-12 16:36:15] Production.INFO: call_cost end
[2025-04-12 16:36:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 16:36:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 16:36:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 16:36:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 16:36:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 16:36:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 16:36:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 16:36:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 16:36:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 16:36:16] Production.INFO: ==13959== Releasing lock...
[2025-04-12 16:36:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 16:36:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 16:36:19] Production.INFO: count ==1318
[2025-04-12 16:36:19] Production.ERROR: pbx CDR StartTime 2025-04-12 13:36:06 - End Time 2025-04-12 16:36:06
[2025-04-12 16:36:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 16:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892825', 'tblTempUsageDetail_20' ) start
[2025-04-12 16:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892825', 'tblTempUsageDetail_20' ) end
[2025-04-12 16:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892825', 'tblTempVendorCDR_20' ) start
[2025-04-12 16:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892825', 'tblTempVendorCDR_20' ) end
[2025-04-12 16:36:19] Production.INFO: ProcessCDR(1,14892825,1,1,2)
[2025-04-12 16:36:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892825,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 16:36:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892825,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 16:36:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892825,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:36:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892825,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:36:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892825', 'tblTempUsageDetail_20' ) start
[2025-04-12 16:36:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892825', 'tblTempUsageDetail_20' ) end
[2025-04-12 16:36:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 16:36:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 16:36:24] Production.INFO: ==13967== Releasing lock...
[2025-04-12 16:36:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 16:36:24] Production.INFO: 38.25 MB #Memory Used#
[2025-04-12 21:37:01] Production.INFO: ==14037== Lock acquired, processing the job...
[2025-04-12 21:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 21:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 21:37:01] Production.INFO: neon service started
[2025-04-12 21:37:01] Production.INFO: neon service started
[2025-04-12 21:37:01] Production.INFO: ==14037== Releasing lock...
[2025-04-12 21:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 21:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 16:37:01] Production.INFO: ==14039== Lock acquired, processing the job...
[2025-04-12 16:37:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 16:37:02] Production.INFO: ==14039== Releasing lock...
[2025-04-12 16:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 16:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 20:37:02] Production.INFO: ==14041== Lock acquired, processing the job...
[2025-04-12 20:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 20:37:02] Production.INFO: ==14041== Releasing lock...
[2025-04-12 20:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 20:37:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 16:37:03] Production.INFO: ==14050== Lock acquired, processing the job...
[2025-04-12 16:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 16:37:03] Production.INFO: ==14054== Lock acquired, processing the job...
[2025-04-12 16:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 16:37:03] Production.INFO: Account Balance Start.
[2025-04-12 16:37:03] Production.INFO: CreateAllLog Start
[2025-04-12 16:37:03] Production.INFO: 117
[2025-04-12 16:37:03] Production.INFO: Date 2025-04-08
[2025-04-12 16:37:03] Production.INFO: Reseller ==> 0
[2025-04-12 16:37:03] Production.INFO: ==14043== Lock acquired, processing the job...
[2025-04-12 16:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 16:37:03] Production.INFO: Date 2025-04-09
[2025-04-12 16:37:03] Production.INFO: Reseller ==> 0
[2025-04-12 16:37:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 16:37:03] Production.INFO: ==14046== Lock acquired, processing the job...
[2025-04-12 16:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 16:37:03] Production.INFO: Date 2025-04-10
[2025-04-12 16:37:03] Production.INFO: Reseller ==> 0
[2025-04-12 16:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 16:37:03] Production.INFO: count ==12
[2025-04-12 16:37:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 16:37:03] Production.INFO: count ==23
[2025-04-12 16:37:03] Production.INFO: ==14048== Lock acquired, processing the job...
[2025-04-12 16:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 16:37:03] Production.INFO: Date 2025-04-11
[2025-04-12 16:37:03] Production.INFO: Reseller ==> 0
[2025-04-12 16:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14892827') start
[2025-04-12 16:37:03] Production.INFO: ==14052== Lock acquired, processing the job...
[2025-04-12 16:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 16:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 16:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 16:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 16:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 16:37:03] Production.INFO: Date 2025-04-12
[2025-04-12 16:37:03] Production.INFO: Reseller ==> 0
[2025-04-12 16:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14892827') end
[2025-04-12 16:37:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 16:37:03] Production.INFO: 1
[2025-04-12 16:37:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 16:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 16:37:03] Production.INFO: Total Charge 0
[2025-04-12 16:37:03] Production.INFO: CreateAllLog End
[2025-04-12 16:37:03] Production.INFO: ==14054== Releasing lock...
[2025-04-12 16:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 16:37:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 16:37:03] Production.INFO: ==14046== Releasing lock...
[2025-04-12 16:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 16:37:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 16:37:03] Production.INFO: Account Balance End.
[2025-04-12 16:37:04] Production.ERROR: CronJobId end 12
[2025-04-12 16:37:04] Production.INFO: ==14050== Releasing lock...
[2025-04-12 16:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 16:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 16:37:04] Production.ERROR: done
[2025-04-12 16:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 16:37:04] Production.ERROR: done
[2025-04-12 16:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 13:37:05
[end_date_ymd] => 2025-04-12 16:37:05
[RateCDR] => 1
)
[2025-04-12 16:37:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 13:37:05' and `end` < '2025-04-12 16:37:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 16:37:13] Production.ERROR: CronJobId end10
[2025-04-12 16:37:13] Production.INFO: ==14048== Releasing lock...
[2025-04-12 16:37:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 16:37:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 16:37:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 16:37:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 16:37:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 16:37:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 16:37:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 16:37:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 16:37:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 16:37:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 16:37:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 16:37:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 16:37:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 16:37:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 16:37:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 16:37:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 16:37:15] Production.INFO: call_cost start
[2025-04-12 16:37:15] Production.INFO: call_cost end
[2025-04-12 16:37:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 16:37:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 16:37:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 16:37:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 16:37:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 16:37:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 16:37:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 16:37:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 16:37:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 16:37:16] Production.INFO: ==14043== Releasing lock...
[2025-04-12 16:37:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 16:37:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 16:37:18] Production.INFO: count ==1323
[2025-04-12 16:37:18] Production.ERROR: pbx CDR StartTime 2025-04-12 13:37:05 - End Time 2025-04-12 16:37:05
[2025-04-12 16:37:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 16:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892830', 'tblTempUsageDetail_20' ) start
[2025-04-12 16:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892830', 'tblTempUsageDetail_20' ) end
[2025-04-12 16:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892830', 'tblTempVendorCDR_20' ) start
[2025-04-12 16:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892830', 'tblTempVendorCDR_20' ) end
[2025-04-12 16:37:18] Production.INFO: ProcessCDR(1,14892830,1,1,2)
[2025-04-12 16:37:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892830,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 16:37:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892830,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 16:37:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892830,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:37:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892830,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:37:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892830', 'tblTempUsageDetail_20' ) start
[2025-04-12 16:37:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892830', 'tblTempUsageDetail_20' ) end
[2025-04-12 16:37:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 16:37:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 16:37:23] Production.INFO: ==14052== Releasing lock...
[2025-04-12 16:37:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 16:37:23] Production.INFO: 38.25 MB #Memory Used#
[2025-04-12 21:38:02] Production.INFO: ==14162== Lock acquired, processing the job...
[2025-04-12 21:38:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 21:38:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 21:38:02] Production.INFO: neon service started
[2025-04-12 21:38:02] Production.INFO: neon service started
[2025-04-12 21:38:02] Production.INFO: ==14162== Releasing lock...
[2025-04-12 21:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 21:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 16:38:02] Production.INFO: ==14164== Lock acquired, processing the job...
[2025-04-12 16:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 20:38:02] Production.INFO: ==14166== Lock acquired, processing the job...
[2025-04-12 20:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 20:38:02] Production.INFO: ==14166== Releasing lock...
[2025-04-12 20:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 20:38:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 16:38:03] Production.INFO: ==14164== Releasing lock...
[2025-04-12 16:38:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 16:38:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 16:38:03] Production.INFO: ==14171== Lock acquired, processing the job...
[2025-04-12 16:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 16:38:03] Production.INFO: ==14175== Lock acquired, processing the job...
[2025-04-12 16:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 16:38:04] Production.INFO: ==14169== Lock acquired, processing the job...
[2025-04-12 16:38:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 16:38:04] Production.INFO: ==14171== Releasing lock...
[2025-04-12 16:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 16:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 16:38:04] Production.INFO: Account Balance Start.
[2025-04-12 16:38:04] Production.INFO: CreateAllLog Start
[2025-04-12 16:38:04] Production.INFO: 117
[2025-04-12 16:38:04] Production.INFO: Date 2025-04-08
[2025-04-12 16:38:04] Production.INFO: ==14173== Lock acquired, processing the job...
[2025-04-12 16:38:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 16:38:04] Production.INFO: ==14177== Lock acquired, processing the job...
[2025-04-12 16:38:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 16:38:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:38:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 16:38:04] Production.INFO: ==14179== Lock acquired, processing the job...
[2025-04-12 16:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 16:38:04] Production.INFO: Date 2025-04-09
[2025-04-12 16:38:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:38:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 16:38:04] Production.INFO: Date 2025-04-10
[2025-04-12 16:38:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 16:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 16:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 16:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 16:38:04] Production.INFO: Date 2025-04-11
[2025-04-12 16:38:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:38:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 16:38:04] Production.INFO: Date 2025-04-12
[2025-04-12 16:38:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:38:04] Production.INFO: count ==12
[2025-04-12 16:38:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 16:38:04] Production.INFO: count ==23
[2025-04-12 16:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892834') start
[2025-04-12 16:38:04] Production.INFO: Total Charge 0
[2025-04-12 16:38:04] Production.INFO: CreateAllLog End
[2025-04-12 16:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892834') end
[2025-04-12 16:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 16:38:04] Production.INFO: 1
[2025-04-12 16:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 16:38:04] Production.INFO: ==14179== Releasing lock...
[2025-04-12 16:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 16:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 16:38:04] Production.ERROR: done
[2025-04-12 16:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 16:38:04] Production.ERROR: done
[2025-04-12 16:38:04] Production.INFO: Account Balance End.
[2025-04-12 16:38:04] Production.ERROR: CronJobId end 12
[2025-04-12 16:38:04] Production.INFO: ==14175== Releasing lock...
[2025-04-12 16:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 16:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 16:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 13:38:05
[end_date_ymd] => 2025-04-12 16:38:05
[RateCDR] => 1
)
[2025-04-12 16:38:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 13:38:05' and `end` < '2025-04-12 16:38:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 16:38:12] Production.ERROR: CronJobId end10
[2025-04-12 16:38:12] Production.INFO: ==14173== Releasing lock...
[2025-04-12 16:38:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 16:38:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 16:38:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 16:38:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 16:38:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 16:38:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 16:38:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 16:38:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 16:38:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 16:38:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 16:38:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 16:38:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 16:38:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 16:38:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 16:38:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 16:38:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 16:38:14] Production.INFO: call_cost start
[2025-04-12 16:38:14] Production.INFO: call_cost end
[2025-04-12 16:38:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 16:38:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 16:38:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 16:38:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 16:38:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 16:38:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 16:38:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 16:38:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 16:38:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 16:38:15] Production.INFO: ==14169== Releasing lock...
[2025-04-12 16:38:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 16:38:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 16:38:18] Production.INFO: count ==1315
[2025-04-12 16:38:19] Production.ERROR: pbx CDR StartTime 2025-04-12 13:38:05 - End Time 2025-04-12 16:38:05
[2025-04-12 16:38:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 16:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892835', 'tblTempUsageDetail_20' ) start
[2025-04-12 16:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892835', 'tblTempUsageDetail_20' ) end
[2025-04-12 16:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892835', 'tblTempVendorCDR_20' ) start
[2025-04-12 16:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892835', 'tblTempVendorCDR_20' ) end
[2025-04-12 16:38:19] Production.INFO: ProcessCDR(1,14892835,1,1,2)
[2025-04-12 16:38:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892835,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 16:38:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892835,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 16:38:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892835,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:38:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892835,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:38:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892835', 'tblTempUsageDetail_20' ) start
[2025-04-12 16:38:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892835', 'tblTempUsageDetail_20' ) end
[2025-04-12 16:38:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 16:38:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 16:38:24] Production.INFO: ==14177== Releasing lock...
[2025-04-12 16:38:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 16:38:24] Production.INFO: 38.25 MB #Memory Used#
[2025-04-12 21:39:01] Production.INFO: ==14246== Lock acquired, processing the job...
[2025-04-12 21:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 21:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 21:39:01] Production.INFO: neon service started
[2025-04-12 21:39:01] Production.INFO: neon service started
[2025-04-12 21:39:01] Production.INFO: ==14246== Releasing lock...
[2025-04-12 21:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 21:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 20:39:01] Production.INFO: ==14250== Lock acquired, processing the job...
[2025-04-12 20:39:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 20:39:01] Production.INFO: ==14250== Releasing lock...
[2025-04-12 20:39:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 20:39:01] Production.INFO: 25 MB #Memory Used#
[2025-04-12 16:39:02] Production.INFO: ==14248== Lock acquired, processing the job...
[2025-04-12 16:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 16:39:02] Production.INFO: ==14248== Releasing lock...
[2025-04-12 16:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 16:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 16:39:03] Production.INFO: ==14254== Lock acquired, processing the job...
[2025-04-12 16:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 16:39:03] Production.INFO: ==14263== Lock acquired, processing the job...
[2025-04-12 16:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 16:39:03] Production.INFO: ==14252== Lock acquired, processing the job...
[2025-04-12 16:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 16:39:03] Production.INFO: ==14256== Lock acquired, processing the job...
[2025-04-12 16:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 16:39:03] Production.INFO: ==14259== Lock acquired, processing the job...
[2025-04-12 16:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 16:39:03] Production.INFO: ==14261== Lock acquired, processing the job...
[2025-04-12 16:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 16:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 16:39:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 16:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 16:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 16:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 16:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 16:39:03] Production.INFO: Account Balance Start.
[2025-04-12 16:39:03] Production.INFO: CreateAllLog Start
[2025-04-12 16:39:03] Production.INFO: 117
[2025-04-12 16:39:03] Production.INFO: count ==12
[2025-04-12 16:39:03] Production.INFO: ==14254== Releasing lock...
[2025-04-12 16:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 16:39:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 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-12 16:39:03] Production.INFO: count ==23
[2025-04-12 16:39:03] Production.INFO: Date 2025-04-08
[2025-04-12 16:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 16:39:03] Production.INFO: Reseller ==> 0
[2025-04-12 16:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14892837') start
[2025-04-12 16:39:03] Production.INFO: Date 2025-04-09
[2025-04-12 16:39:03] Production.INFO: Reseller ==> 0
[2025-04-12 16:39:03] Production.INFO: Date 2025-04-10
[2025-04-12 16:39:03] Production.INFO: Reseller ==> 0
[2025-04-12 16:39:03] Production.INFO: Date 2025-04-11
[2025-04-12 16:39:03] Production.INFO: Reseller ==> 0
[2025-04-12 16:39:03] Production.INFO: Date 2025-04-12
[2025-04-12 16:39:03] Production.INFO: Reseller ==> 0
[2025-04-12 16:39:03] Production.INFO: Total Charge 0
[2025-04-12 16:39:03] Production.INFO: CreateAllLog End
[2025-04-12 16:39:03] Production.ERROR: done
[2025-04-12 16:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14892837') end
[2025-04-12 16:39:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 16:39:03] Production.INFO: 1
[2025-04-12 16:39:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 16:39:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 16:39:03] Production.INFO: ==14263== Releasing lock...
[2025-04-12 16:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 16:39:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 16:39:04] Production.ERROR: done
[2025-04-12 16:39:04] Production.INFO: Account Balance End.
[2025-04-12 16:39:04] Production.ERROR: CronJobId end 12
[2025-04-12 16:39:04] Production.INFO: ==14259== Releasing lock...
[2025-04-12 16:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 16:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 16:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 13:39:05
[end_date_ymd] => 2025-04-12 16:39:05
[RateCDR] => 1
)
[2025-04-12 16:39:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 13:39:05' and `end` < '2025-04-12 16:39:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 16:39:11] Production.ERROR: CronJobId end10
[2025-04-12 16:39:11] Production.INFO: ==14256== Releasing lock...
[2025-04-12 16:39:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 16:39:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 16:39:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 16:39:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 16:39:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 16:39:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 16:39:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 16:39:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 16:39:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 16:39:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 16:39:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 16:39:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 16:39:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 16:39:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 16:39:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 16:39:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 16:39:15] Production.INFO: call_cost start
[2025-04-12 16:39:15] Production.INFO: call_cost end
[2025-04-12 16:39:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 16:39:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 16:39:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 16:39:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 16:39:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 16:39:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 16:39:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 16:39:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 16:39:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 16:39:16] Production.INFO: ==14252== Releasing lock...
[2025-04-12 16:39:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 16:39:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 16:39:17] Production.INFO: count ==1314
[2025-04-12 16:39:18] Production.ERROR: pbx CDR StartTime 2025-04-12 13:39:05 - End Time 2025-04-12 16:39:05
[2025-04-12 16:39:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 16:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892840', 'tblTempUsageDetail_20' ) start
[2025-04-12 16:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892840', 'tblTempUsageDetail_20' ) end
[2025-04-12 16:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892840', 'tblTempVendorCDR_20' ) start
[2025-04-12 16:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892840', 'tblTempVendorCDR_20' ) end
[2025-04-12 16:39:18] Production.INFO: ProcessCDR(1,14892840,1,1,2)
[2025-04-12 16:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892840,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 16:39:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892840,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 16:39:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892840,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:39:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892840,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:39:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892840', 'tblTempUsageDetail_20' ) start
[2025-04-12 16:39:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892840', 'tblTempUsageDetail_20' ) end
[2025-04-12 16:39:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 16:39:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 16:39:23] Production.INFO: ==14261== Releasing lock...
[2025-04-12 16:39:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 16:39:23] Production.INFO: 38.25 MB #Memory Used#
[2025-04-12 21:40:01] Production.INFO: ==14344== Lock acquired, processing the job...
[2025-04-12 21:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 21:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 21:40:01] Production.INFO: neon service started
[2025-04-12 21:40:01] Production.INFO: neon service started
[2025-04-12 21:40:01] Production.INFO: ==14344== Releasing lock...
[2025-04-12 21:40:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 21:40:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 20:40:02] Production.INFO: ==14348== Lock acquired, processing the job...
[2025-04-12 20:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 20:40:02] Production.INFO: ==14348== Releasing lock...
[2025-04-12 20:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 20:40:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 16:40:02] Production.INFO: ==14346== Lock acquired, processing the job...
[2025-04-12 16:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 16:40:02] Production.INFO: ==14346== Releasing lock...
[2025-04-12 16:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 16:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 16:40:03] Production.INFO: ==14350== Lock acquired, processing the job...
[2025-04-12 16:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-04-12 16:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-04-12 16:40:04] Production.INFO: ==14361== Lock acquired, processing the job...
[2025-04-12 16:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 16:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-04-12 16:40:04] Production.INFO: ==14350== Releasing lock...
[2025-04-12 16:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-04-12 16:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-04-12 16:40:04] Production.INFO: ==14352== Lock acquired, processing the job...
[2025-04-12 16:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 16:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 16:40:04] Production.INFO: ==14354== Lock acquired, processing the job...
[2025-04-12 16:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 16:40:04] Production.INFO: ==14365== Lock acquired, processing the job...
[2025-04-12 16:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 16:40:04] Production.INFO: ==14356== Lock acquired, processing the job...
[2025-04-12 16:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 16:40:04] Production.INFO: ==14358== Lock acquired, processing the job...
[2025-04-12 16:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 16:40:04] Production.INFO: ==14363== Lock acquired, processing the job...
[2025-04-12 16:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-04-12 16:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 16:40:04] Production.INFO: Account Balance Start.
[2025-04-12 16:40:04] Production.INFO: CreateAllLog Start
[2025-04-12 16:40:04] Production.INFO: 117
[2025-04-12 16:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 16:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 16:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 16:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 16:40:04] Production.INFO: Date 2025-04-08
[2025-04-12 16:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 16:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 16:40:04] Production.INFO: count ==12
[2025-04-12 16:40:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 16:40:04] Production.INFO: count ==23
[2025-04-12 16:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892842') start
[2025-04-12 16:40:04] Production.INFO: Date 2025-04-09
[2025-04-12 16:40:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:40:04] Production.INFO: Date 2025-04-10
[2025-04-12 16:40:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:40:04] Production.ERROR: done
[2025-04-12 16:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 16:40:04] Production.INFO: ==14354== Releasing lock...
[2025-04-12 16:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 16:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 16:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892842') end
[2025-04-12 16:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 16:40:04] Production.INFO: 1
[2025-04-12 16:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 16:40:04] Production.INFO: Date 2025-04-11
[2025-04-12 16:40:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:40:04] Production.INFO: Date 2025-04-12
[2025-04-12 16:40:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:40:04] Production.INFO: Total Charge 0
[2025-04-12 16:40:04] Production.INFO: CreateAllLog End
[2025-04-12 16:40:04] Production.INFO: ==14365== Releasing lock...
[2025-04-12 16:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 16:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 16:40:04] Production.ERROR: done
[2025-04-12 16:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-04-12 16:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14892845', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) start
[2025-04-12 16:40:05] Production.ERROR: done
[2025-04-12 16:40:05] Production.INFO: Account Balance End.
[2025-04-12 16:40:05] Production.ERROR: CronJobId end 12
[2025-04-12 16:40:05] Production.INFO: ==14358== Releasing lock...
[2025-04-12 16:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 16:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 16:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 13:40:06
[end_date_ymd] => 2025-04-12 16:40:06
[RateCDR] => 1
)
[2025-04-12 16:40:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 13:40:06' and `end` < '2025-04-12 16:40:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 16:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14892845', 'tblTempUsageDetail_20reseller','2025-04-12','2025-04-12','1' ) end
[2025-04-12 16:40:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-04-12 16:40:09] Production.INFO: ProcessCDR(1,14892845,1,1,2)
[2025-04-12 16:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14892845,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14892845,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 16:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 16:40:09] Production.INFO: ==14363== Releasing lock...
[2025-04-12 16:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-04-12 16:40:09] Production.INFO: 26 MB #Memory Used#
[2025-04-12 16:40:14] Production.ERROR: CronJobId end10
[2025-04-12 16:40:14] Production.INFO: ==14356== Releasing lock...
[2025-04-12 16:40:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 16:40:14] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 16:40:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 16:40:17] Production.INFO: ============== Balance Warning START===========
[2025-04-12 16:40:17] Production.INFO: ============== Balance Warning END===========
[2025-04-12 16:40:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 16:40:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 16:40:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 16:40:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 16:40:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 16:40:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 16:40:17] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 16:40:17] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 16:40:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 16:40:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 16:40:17] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 16:40:17] Production.INFO: call_cost start
[2025-04-12 16:40:17] Production.INFO: call_cost end
[2025-04-12 16:40:18] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 16:40:18] Production.INFO: ============== Report Schedule START===========
[2025-04-12 16:40:18] Production.INFO: ============== Report Schedule END===========
[2025-04-12 16:40:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 16:40:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 16:40:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 16:40:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 16:40:18] Production.INFO: ============== Deal alert START===========
[2025-04-12 16:40:18] Production.INFO: ============== Deal alert END===========
[2025-04-12 16:40:18] Production.INFO: ==14352== Releasing lock...
[2025-04-12 16:40:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 16:40:18] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 16:40:19] Production.INFO: count ==1311
[2025-04-12 16:40:19] Production.ERROR: pbx CDR StartTime 2025-04-12 13:40:06 - End Time 2025-04-12 16:40:06
[2025-04-12 16:40:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 16:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892846', 'tblTempUsageDetail_20' ) start
[2025-04-12 16:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892846', 'tblTempUsageDetail_20' ) end
[2025-04-12 16:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892846', 'tblTempVendorCDR_20' ) start
[2025-04-12 16:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892846', 'tblTempVendorCDR_20' ) end
[2025-04-12 16:40:19] Production.INFO: ProcessCDR(1,14892846,1,1,2)
[2025-04-12 16:40:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892846,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 16:40:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892846,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 16:40:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892846,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:40:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892846,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892846', 'tblTempUsageDetail_20' ) start
[2025-04-12 16:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892846', 'tblTempUsageDetail_20' ) end
[2025-04-12 16:40:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 16:40:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 16:40:23] Production.INFO: ==14361== Releasing lock...
[2025-04-12 16:40:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 16:40:23] Production.INFO: 38 MB #Memory Used#
[2025-04-12 21:41:01] Production.INFO: ==14434== Lock acquired, processing the job...
[2025-04-12 21:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 21:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 21:41:01] Production.INFO: neon service started
[2025-04-12 21:41:01] Production.INFO: neon service started
[2025-04-12 21:41:01] Production.INFO: ==14434== Releasing lock...
[2025-04-12 21:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 21:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 16:41:01] Production.INFO: ==14436== Lock acquired, processing the job...
[2025-04-12 16:41:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 16:41:02] Production.INFO: ==14436== Releasing lock...
[2025-04-12 16:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 16:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 20:41:02] Production.INFO: ==14438== Lock acquired, processing the job...
[2025-04-12 20:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 20:41:02] Production.INFO: ==14438== Releasing lock...
[2025-04-12 20:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 20:41:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 16:41:02] Production.INFO: ==14448== Lock acquired, processing the job...
[2025-04-12 16:41:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 16:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 16:41:03] Production.INFO: ==14450== Lock acquired, processing the job...
[2025-04-12 16:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 16:41:03] Production.INFO: ==14440== Lock acquired, processing the job...
[2025-04-12 16:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 16:41:03] Production.INFO: ==14442== Lock acquired, processing the job...
[2025-04-12 16:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 16:41:03] Production.INFO: ==14444== Lock acquired, processing the job...
[2025-04-12 16:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 16:41:03] Production.INFO: ==14446== Lock acquired, processing the job...
[2025-04-12 16:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 16:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 16:41:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 16:41:03] Production.INFO: count ==12
[2025-04-12 16: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-12 16:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 16:41:03] Production.INFO: count ==23
[2025-04-12 16:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 16:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 16:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14892847') start
[2025-04-12 16:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 16:41:03] Production.INFO: Account Balance Start.
[2025-04-12 16:41:03] Production.INFO: CreateAllLog Start
[2025-04-12 16:41:03] Production.INFO: 117
[2025-04-12 16:41:03] Production.INFO: Date 2025-04-08
[2025-04-12 16:41:03] Production.ERROR: done
[2025-04-12 16:41:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 16:41:03] Production.INFO: Reseller ==> 0
[2025-04-12 16:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14892847') end
[2025-04-12 16:41:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 16:41:03] Production.INFO: 1
[2025-04-12 16:41:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 16:41:03] Production.INFO: Date 2025-04-09
[2025-04-12 16:41:03] Production.INFO: Reseller ==> 0
[2025-04-12 16:41:03] Production.INFO: Date 2025-04-10
[2025-04-12 16:41:03] Production.INFO: Reseller ==> 0
[2025-04-12 16:41:03] Production.INFO: Date 2025-04-11
[2025-04-12 16:41:03] Production.INFO: Reseller ==> 0
[2025-04-12 16:41:03] Production.INFO: ==14450== Releasing lock...
[2025-04-12 16:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 16:41:03] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 16:41:03] Production.INFO: ==14442== Releasing lock...
[2025-04-12 16:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 16:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 16:41:03] Production.ERROR: done
[2025-04-12 16:41:03] Production.INFO: Date 2025-04-12
[2025-04-12 16:41:03] Production.INFO: Reseller ==> 0
[2025-04-12 16:41:03] Production.INFO: Total Charge 0
[2025-04-12 16:41:03] Production.INFO: CreateAllLog End
[2025-04-12 16:41:03] Production.INFO: Account Balance End.
[2025-04-12 16:41:04] Production.ERROR: CronJobId end 12
[2025-04-12 16:41:04] Production.INFO: ==14446== Releasing lock...
[2025-04-12 16:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 16:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 16:41:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 13:41:04
[end_date_ymd] => 2025-04-12 16:41:04
[RateCDR] => 1
)
[2025-04-12 16:41:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 13:41:04' and `end` < '2025-04-12 16:41:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 16:41:11] Production.ERROR: CronJobId end10
[2025-04-12 16:41:11] Production.INFO: ==14444== Releasing lock...
[2025-04-12 16:41:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 16:41:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 16:41:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 16:41:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 16:41:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 16:41:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 16:41:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 16:41:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 16:41:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 16:41:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 16:41:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 16:41:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 16:41:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 16:41:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 16:41:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 16:41:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 16:41:14] Production.INFO: call_cost start
[2025-04-12 16:41:14] Production.INFO: call_cost end
[2025-04-12 16:41:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 16:41:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 16:41:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 16:41:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 16:41:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 16:41:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 16:41:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 16:41:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 16:41:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 16:41:15] Production.INFO: ==14440== Releasing lock...
[2025-04-12 16:41:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 16:41:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 16:41:17] Production.INFO: count ==1324
[2025-04-12 16:41:17] Production.ERROR: pbx CDR StartTime 2025-04-12 13:41:04 - End Time 2025-04-12 16:41:04
[2025-04-12 16:41:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 16:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892851', 'tblTempUsageDetail_20' ) start
[2025-04-12 16:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892851', 'tblTempUsageDetail_20' ) end
[2025-04-12 16:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892851', 'tblTempVendorCDR_20' ) start
[2025-04-12 16:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892851', 'tblTempVendorCDR_20' ) end
[2025-04-12 16:41:17] Production.INFO: ProcessCDR(1,14892851,1,1,2)
[2025-04-12 16:41:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892851,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 16:41:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892851,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 16:41:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892851,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:41:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892851,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892851', 'tblTempUsageDetail_20' ) start
[2025-04-12 16:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892851', 'tblTempUsageDetail_20' ) end
[2025-04-12 16:41:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 16:41:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 16:41:21] Production.INFO: ==14448== Releasing lock...
[2025-04-12 16:41:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 16:41:21] Production.INFO: 38.5 MB #Memory Used#
[2025-04-12 21:42:01] Production.INFO: ==14516== Lock acquired, processing the job...
[2025-04-12 21:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 21:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 21:42:01] Production.INFO: neon service started
[2025-04-12 21:42:01] Production.INFO: neon service started
[2025-04-12 21:42:01] Production.INFO: ==14516== Releasing lock...
[2025-04-12 21:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 21:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 16:42:02] Production.INFO: ==14519== Lock acquired, processing the job...
[2025-04-12 16:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 20:42:02] Production.INFO: ==14521== Lock acquired, processing the job...
[2025-04-12 20:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 20:42:02] Production.INFO: ==14521== Releasing lock...
[2025-04-12 20:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 20:42:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 16:42:02] Production.INFO: ==14519== Releasing lock...
[2025-04-12 16:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 16:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 16:42:03] Production.INFO: ==14527== Lock acquired, processing the job...
[2025-04-12 16:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 16:42:03] Production.INFO: ==14533== Lock acquired, processing the job...
[2025-04-12 16:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 16:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 16:42:03] Production.INFO: ==14525== Lock acquired, processing the job...
[2025-04-12 16:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 16:42:04] Production.INFO: ==14529== Lock acquired, processing the job...
[2025-04-12 16:42:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 16:42:04] Production.INFO: ==14531== Lock acquired, processing the job...
[2025-04-12 16:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 16:42:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 16:42:04] Production.INFO: ==14527== Releasing lock...
[2025-04-12 16:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 16:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 16:42:04] Production.INFO: ==14535== Lock acquired, processing the job...
[2025-04-12 16:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 16:42:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 16:42:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 16:42:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 16:42:04] Production.INFO: Account Balance Start.
[2025-04-12 16:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 16:42:04] Production.INFO: CreateAllLog Start
[2025-04-12 16:42:04] Production.INFO: 117
[2025-04-12 16:42:04] Production.INFO: Date 2025-04-08
[2025-04-12 16:42:04] Production.INFO: Reseller ==> 0
[2025-04-12 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-12 16:42:04] Production.INFO: Date 2025-04-09
[2025-04-12 16:42:04] Production.INFO: count ==12
[2025-04-12 16:42:04] Production.INFO: Reseller ==> 0
[2025-04-12 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-12 16:42:04] Production.INFO: count ==23
[2025-04-12 16:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892855') start
[2025-04-12 16:42:04] Production.INFO: Date 2025-04-10
[2025-04-12 16:42:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:42:04] Production.ERROR: done
[2025-04-12 16:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 16:42:04] Production.INFO: Date 2025-04-11
[2025-04-12 16:42:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:42:04] Production.INFO: Date 2025-04-12
[2025-04-12 16:42:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892855') end
[2025-04-12 16:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 16:42:04] Production.INFO: 1
[2025-04-12 16:42:04] Production.INFO: Total Charge 0
[2025-04-12 16:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 16:42:04] Production.INFO: CreateAllLog End
[2025-04-12 16:42:04] Production.INFO: ==14535== Releasing lock...
[2025-04-12 16:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 16:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 16:42:04] Production.ERROR: done
[2025-04-12 16:42:04] Production.INFO: Account Balance End.
[2025-04-12 16:42:04] Production.ERROR: CronJobId end 12
[2025-04-12 16:42:04] Production.INFO: ==14531== Releasing lock...
[2025-04-12 16:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 16:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 16:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 13:42:05
[end_date_ymd] => 2025-04-12 16:42:05
[RateCDR] => 1
)
[2025-04-12 16:42:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 13:42:05' and `end` < '2025-04-12 16:42:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 16:42:13] Production.ERROR: CronJobId end10
[2025-04-12 16:42:13] Production.INFO: ==14529== Releasing lock...
[2025-04-12 16:42:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 16:42:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 16:42:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 16:42:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 16:42:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 16:42:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 16:42:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 16:42:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 16:42:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 16:42:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 16:42:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 16:42:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 16:42:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 16:42:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 16:42:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 16:42:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 16:42:14] Production.INFO: call_cost start
[2025-04-12 16:42:14] Production.INFO: call_cost end
[2025-04-12 16:42:15] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 16:42:15] Production.INFO: ============== Report Schedule START===========
[2025-04-12 16:42:15] Production.INFO: ============== Report Schedule END===========
[2025-04-12 16:42:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 16:42:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 16:42:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 16:42:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 16:42:15] Production.INFO: ============== Deal alert START===========
[2025-04-12 16:42:15] Production.INFO: ============== Deal alert END===========
[2025-04-12 16:42:15] Production.INFO: ==14525== Releasing lock...
[2025-04-12 16:42:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 16:42:15] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 16:42:18] Production.INFO: count ==1309
[2025-04-12 16:42:18] Production.ERROR: pbx CDR StartTime 2025-04-12 13:42:05 - End Time 2025-04-12 16:42:05
[2025-04-12 16:42:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 16:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892856', 'tblTempUsageDetail_20' ) start
[2025-04-12 16:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892856', 'tblTempUsageDetail_20' ) end
[2025-04-12 16:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892856', 'tblTempVendorCDR_20' ) start
[2025-04-12 16:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892856', 'tblTempVendorCDR_20' ) end
[2025-04-12 16:42:18] Production.INFO: ProcessCDR(1,14892856,1,1,2)
[2025-04-12 16:42:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892856,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 16:42:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892856,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 16:42:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892856,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:42:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892856,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892856', 'tblTempUsageDetail_20' ) start
[2025-04-12 16:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892856', 'tblTempUsageDetail_20' ) end
[2025-04-12 16:42:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 16:42:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 16:42:22] Production.INFO: ==14533== Releasing lock...
[2025-04-12 16:42:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 16:42:22] Production.INFO: 37.75 MB #Memory Used#
[2025-04-12 21:43:01] Production.INFO: ==14608== Lock acquired, processing the job...
[2025-04-12 21:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 21:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 21:43:01] Production.INFO: neon service started
[2025-04-12 21:43:01] Production.INFO: neon service started
[2025-04-12 21:43:01] Production.INFO: ==14608== Releasing lock...
[2025-04-12 21:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 21:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 16:43:01] Production.INFO: ==14610== Lock acquired, processing the job...
[2025-04-12 16:43:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 16:43:02] Production.INFO: ==14610== Releasing lock...
[2025-04-12 16:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 16:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 20:43:02] Production.INFO: ==14612== Lock acquired, processing the job...
[2025-04-12 20:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 20:43:02] Production.INFO: ==14612== Releasing lock...
[2025-04-12 20:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 20:43:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 16:43:03] Production.INFO: ==14618== Lock acquired, processing the job...
[2025-04-12 16:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 16:43:03] Production.INFO: ==14620== Lock acquired, processing the job...
[2025-04-12 16:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 16:43:03] Production.INFO: ==14614== Lock acquired, processing the job...
[2025-04-12 16:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 16:43:03] Production.INFO: ==14616== Lock acquired, processing the job...
[2025-04-12 16:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 16:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 16:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 16:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 16:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 16:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 16:43:03] Production.INFO: Account Balance Start.
[2025-04-12 16:43:03] Production.INFO: CreateAllLog Start
[2025-04-12 16:43:03] Production.INFO: 117
[2025-04-12 16:43:03] Production.INFO: Date 2025-04-08
[2025-04-12 16:43:03] Production.INFO: Reseller ==> 0
[2025-04-12 16:43:03] Production.INFO: ==14622== Lock acquired, processing the job...
[2025-04-12 16:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 16:43:03] Production.INFO: ==14624== Lock acquired, processing the job...
[2025-04-12 16:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 16:43:03] Production.INFO: Date 2025-04-09
[2025-04-12 16:43:03] Production.INFO: Reseller ==> 0
[2025-04-12 16:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 16:43:03] Production.INFO: Date 2025-04-10
[2025-04-12 16:43:03] Production.INFO: Reseller ==> 0
[2025-04-12 16:43:03] Production.INFO: Date 2025-04-11
[2025-04-12 16:43:03] Production.INFO: Reseller ==> 0
[2025-04-12 16:43:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 16:43:03] Production.INFO: Date 2025-04-12
[2025-04-12 16:43:03] Production.INFO: Reseller ==> 0
[2025-04-12 16:43:03] Production.INFO: Total Charge 0
[2025-04-12 16:43:03] Production.INFO: CreateAllLog End
[2025-04-12 16:43:03] Production.INFO: count ==12
[2025-04-12 16:43:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 16:43:03] Production.INFO: count ==23
[2025-04-12 16:43:03] Production.INFO: ==14616== Releasing lock...
[2025-04-12 16:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 16:43:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 16:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14892860') start
[2025-04-12 16:43:03] Production.ERROR: done
[2025-04-12 16:43:03] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 16:43:04] Production.INFO: Account Balance End.
[2025-04-12 16:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892860') end
[2025-04-12 16:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 16:43:04] Production.INFO: 1
[2025-04-12 16:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 16:43:04] Production.ERROR: CronJobId end 12
[2025-04-12 16:43:04] Production.INFO: ==14620== Releasing lock...
[2025-04-12 16:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 16:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 16:43:04] Production.ERROR: done
[2025-04-12 16:43:04] Production.INFO: ==14624== Releasing lock...
[2025-04-12 16:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 16:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 16:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 13:43:05
[end_date_ymd] => 2025-04-12 16:43:05
[RateCDR] => 1
)
[2025-04-12 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-12 13:43:05' and `end` < '2025-04-12 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-12 16:43:11] Production.ERROR: CronJobId end10
[2025-04-12 16:43:11] Production.INFO: ==14618== Releasing lock...
[2025-04-12 16:43:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 16:43:11] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 16:43:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 16:43:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 16:43:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 16:43:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 16:43:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 16:43:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 16:43:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 16:43:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 16:43:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 16:43:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 16:43:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 16:43:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 16:43:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 16:43:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 16:43:16] Production.INFO: call_cost start
[2025-04-12 16:43:16] Production.INFO: call_cost end
[2025-04-12 16:43:17] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 16:43:17] Production.INFO: ============== Report Schedule START===========
[2025-04-12 16:43:17] Production.INFO: ============== Report Schedule END===========
[2025-04-12 16:43:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 16:43:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 16:43:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 16:43:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 16:43:17] Production.INFO: ============== Deal alert START===========
[2025-04-12 16:43:17] Production.INFO: ============== Deal alert END===========
[2025-04-12 16:43:17] Production.INFO: ==14614== Releasing lock...
[2025-04-12 16:43:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 16:43:17] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 16:43:18] Production.INFO: count ==1308
[2025-04-12 16:43:18] Production.ERROR: pbx CDR StartTime 2025-04-12 13:43:05 - End Time 2025-04-12 16:43:05
[2025-04-12 16:43:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 16:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892861', 'tblTempUsageDetail_20' ) start
[2025-04-12 16:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892861', 'tblTempUsageDetail_20' ) end
[2025-04-12 16:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892861', 'tblTempVendorCDR_20' ) start
[2025-04-12 16:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892861', 'tblTempVendorCDR_20' ) end
[2025-04-12 16:43:18] Production.INFO: ProcessCDR(1,14892861,1,1,2)
[2025-04-12 16:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892861,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 16:43:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892861,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 16:43:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892861,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:43:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892861,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892861', 'tblTempUsageDetail_20' ) start
[2025-04-12 16:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892861', 'tblTempUsageDetail_20' ) end
[2025-04-12 16:43:21] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 16:43:21] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 16:43:21] Production.INFO: ==14622== Releasing lock...
[2025-04-12 16:43:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 16:43:21] Production.INFO: 37.5 MB #Memory Used#
[2025-04-12 21:44:01] Production.INFO: ==14700== Lock acquired, processing the job...
[2025-04-12 21:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 21:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 21:44:01] Production.INFO: neon service started
[2025-04-12 21:44:01] Production.INFO: neon service started
[2025-04-12 21:44:01] Production.INFO: ==14700== Releasing lock...
[2025-04-12 21:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 21:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 16:44:02] Production.INFO: ==14702== Lock acquired, processing the job...
[2025-04-12 16:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 16:44:02] Production.INFO: ==14702== Releasing lock...
[2025-04-12 16:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 16:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 20:44:02] Production.INFO: ==14704== Lock acquired, processing the job...
[2025-04-12 20:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 20:44:02] Production.INFO: ==14704== Releasing lock...
[2025-04-12 20:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 20:44:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 16:44:03] Production.INFO: ==14708== Lock acquired, processing the job...
[2025-04-12 16:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 16:44:03] Production.INFO: ==14713== Lock acquired, processing the job...
[2025-04-12 16:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 16:44:03] Production.INFO: ==14706== Lock acquired, processing the job...
[2025-04-12 16:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 16:44:03] Production.INFO: Account Balance Start.
[2025-04-12 16:44:03] Production.INFO: CreateAllLog Start
[2025-04-12 16:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 16:44:03] Production.INFO: 117
[2025-04-12 16:44:03] Production.INFO: Date 2025-04-08
[2025-04-12 16:44:03] Production.INFO: ==14710== Lock acquired, processing the job...
[2025-04-12 16:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 16:44:03] Production.INFO: Reseller ==> 0
[2025-04-12 16:44:03] Production.INFO: ==14715== Lock acquired, processing the job...
[2025-04-12 16:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 16:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 16:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 16:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 16:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 16:44:03] Production.INFO: Date 2025-04-09
[2025-04-12 16:44:03] Production.INFO: Reseller ==> 0
[2025-04-12 16:44:03] Production.INFO: Date 2025-04-10
[2025-04-12 16:44:03] Production.INFO: Reseller ==> 0
[2025-04-12 16:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 16:44:03] Production.INFO: ==14717== Lock acquired, processing the job...
[2025-04-12 16:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 16:44:03] Production.INFO: Date 2025-04-11
[2025-04-12 16:44:03] Production.INFO: Reseller ==> 0
[2025-04-12 16:44:03] Production.INFO: Date 2025-04-12
[2025-04-12 16:44:03] Production.INFO: Reseller ==> 0
[2025-04-12 16:44:04] Production.INFO: Total Charge 0
[2025-04-12 16:44:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 16:44:04] Production.INFO: CreateAllLog End
[2025-04-12 16:44:04] Production.INFO: count ==12
[2025-04-12 16:44:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 16:44:04] Production.INFO: count ==23
[2025-04-12 16:44:04] Production.INFO: ==14708== Releasing lock...
[2025-04-12 16:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 16:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 16:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892865') start
[2025-04-12 16:44:04] Production.ERROR: done
[2025-04-12 16:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 16:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892865') end
[2025-04-12 16:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 16:44:04] Production.INFO: 1
[2025-04-12 16:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 16:44:04] Production.ERROR: done
[2025-04-12 16:44:04] Production.INFO: ==14717== Releasing lock...
[2025-04-12 16:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 16:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 16:44:04] Production.INFO: Account Balance End.
[2025-04-12 16:44:04] Production.ERROR: CronJobId end 12
[2025-04-12 16:44:04] Production.INFO: ==14713== Releasing lock...
[2025-04-12 16:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 16:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 16:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 13:44:05
[end_date_ymd] => 2025-04-12 16:44:05
[RateCDR] => 1
)
[2025-04-12 16:44:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-04-12 13:44:05' and `end` < '2025-04-12 16:44:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-04-12 16:44:13] Production.ERROR: CronJobId end10
[2025-04-12 16:44:13] Production.INFO: ==14710== Releasing lock...
[2025-04-12 16:44:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 16:44:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 16:44:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 16:44:15] Production.INFO: ============== Balance Warning START===========
[2025-04-12 16:44:15] Production.INFO: ============== Balance Warning END===========
[2025-04-12 16:44:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 16:44:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 16:44:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 16:44:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 16:44:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 16:44:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 16:44:15] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 16:44:15] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 16:44:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 16:44:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 16:44:15] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 16:44:15] Production.INFO: call_cost start
[2025-04-12 16:44:15] Production.INFO: call_cost end
[2025-04-12 16:44:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 16:44:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 16:44:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 16:44:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 16:44:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 16:44:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 16:44:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 16:44:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 16:44:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 16:44:16] Production.INFO: ==14706== Releasing lock...
[2025-04-12 16:44:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 16:44:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 16:44:18] Production.INFO: count ==1317
[2025-04-12 16:44:18] Production.ERROR: pbx CDR StartTime 2025-04-12 13:44:05 - End Time 2025-04-12 16:44:05
[2025-04-12 16:44:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 16:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892866', 'tblTempUsageDetail_20' ) start
[2025-04-12 16:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892866', 'tblTempUsageDetail_20' ) end
[2025-04-12 16:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892866', 'tblTempVendorCDR_20' ) start
[2025-04-12 16:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892866', 'tblTempVendorCDR_20' ) end
[2025-04-12 16:44:18] Production.INFO: ProcessCDR(1,14892866,1,1,2)
[2025-04-12 16:44:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892866,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 16:44:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892866,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 16:44:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892866,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:44:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892866,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:44:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892866', 'tblTempUsageDetail_20' ) start
[2025-04-12 16:44:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892866', 'tblTempUsageDetail_20' ) end
[2025-04-12 16:44:24] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 16:44:24] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 16:44:24] Production.INFO: ==14715== Releasing lock...
[2025-04-12 16:44:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 16:44:24] Production.INFO: 37.75 MB #Memory Used#
[2025-04-12 21:45:02] Production.INFO: ==14790== Lock acquired, processing the job...
[2025-04-12 21:45:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 21:45:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 21:45:02] Production.INFO: neon service started
[2025-04-12 21:45:02] Production.INFO: neon service started
[2025-04-12 21:45:02] Production.INFO: ==14790== Releasing lock...
[2025-04-12 21:45:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 21:45:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 20:45:02] Production.INFO: ==14794== Lock acquired, processing the job...
[2025-04-12 20:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 20:45:02] Production.INFO: ==14794== Releasing lock...
[2025-04-12 20:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 20:45:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 16:45:02] Production.INFO: ==14792== Lock acquired, processing the job...
[2025-04-12 16:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 16:45:03] Production.INFO: ==14792== Releasing lock...
[2025-04-12 16:45:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 16:45:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 16:45:04] Production.INFO: ==14801== Lock acquired, processing the job...
[2025-04-12 16:45:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 16:45:04] Production.INFO: ==14803== Lock acquired, processing the job...
[2025-04-12 16:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 16:45:04] Production.INFO: ==14797== Lock acquired, processing the job...
[2025-04-12 16:45:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 16:45:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 16:45:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 16:45:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 16:45:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 16:45:04] Production.INFO: Account Balance Start.
[2025-04-12 16:45:04] Production.INFO: CreateAllLog Start
[2025-04-12 16:45:04] Production.INFO: 117
[2025-04-12 16:45:04] Production.INFO: Date 2025-04-08
[2025-04-12 16:45:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:45:04] Production.INFO: ==14799== Lock acquired, processing the job...
[2025-04-12 16:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 16:45:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 16:45:04] Production.INFO: Date 2025-04-09
[2025-04-12 16:45:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:45:04] Production.INFO: Date 2025-04-10
[2025-04-12 16:45:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:45:04] Production.INFO: Date 2025-04-11
[2025-04-12 16:45:04] Production.INFO: ==14805== Lock acquired, processing the job...
[2025-04-12 16:45:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 16:45:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:45:04] Production.INFO: Date 2025-04-12
[2025-04-12 16:45:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:45:04] Production.INFO: ==14807== Lock acquired, processing the job...
[2025-04-12 16:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 16:45:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 16:45:04] Production.INFO: Total Charge 0
[2025-04-12 16:45:04] Production.INFO: CreateAllLog End
[2025-04-12 16:45:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 16:45:04] Production.INFO: count ==12
[2025-04-12 16:45:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 16:45:04] Production.INFO: count ==23
[2025-04-12 16:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892870') start
[2025-04-12 16:45:04] Production.INFO: Account Balance End.
[2025-04-12 16:45:04] Production.ERROR: CronJobId end 12
[2025-04-12 16:45:04] Production.INFO: ==14803== Releasing lock...
[2025-04-12 16:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 16:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 16:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892870') end
[2025-04-12 16:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 16:45:04] Production.INFO: 1
[2025-04-12 16:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 16:45:04] Production.ERROR: done
[2025-04-12 16:45:04] Production.INFO: ==14799== Releasing lock...
[2025-04-12 16:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 16:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 16:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 16:45:05] Production.INFO: ==14807== Releasing lock...
[2025-04-12 16:45:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 16:45:05] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 16:45:05] Production.ERROR: done
[2025-04-12 16:45:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 13:45:06
[end_date_ymd] => 2025-04-12 16:45:06
[RateCDR] => 1
)
[2025-04-12 16: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-12 13:45:06' and `end` < '2025-04-12 16: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-12 16:45:13] Production.ERROR: CronJobId end10
[2025-04-12 16:45:13] Production.INFO: ==14801== Releasing lock...
[2025-04-12 16:45:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 16:45:13] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 16:45:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 16:45:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 16:45:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 16:45:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 16:45:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 16:45:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 16:45:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 16:45:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 16:45:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 16:45:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 16:45:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 16:45:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 16:45:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 16:45:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 16:45:15] Production.INFO: call_cost start
[2025-04-12 16:45:15] Production.INFO: call_cost end
[2025-04-12 16:45:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 16:45:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 16:45:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 16:45:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 16:45:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 16:45:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 16:45:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 16:45:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 16:45:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 16:45:16] Production.INFO: ==14797== Releasing lock...
[2025-04-12 16:45:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 16:45:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 16:45:19] Production.INFO: count ==1318
[2025-04-12 16:45:19] Production.ERROR: pbx CDR StartTime 2025-04-12 13:45:06 - End Time 2025-04-12 16:45:06
[2025-04-12 16:45:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 16:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892871', 'tblTempUsageDetail_20' ) start
[2025-04-12 16:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892871', 'tblTempUsageDetail_20' ) end
[2025-04-12 16:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892871', 'tblTempVendorCDR_20' ) start
[2025-04-12 16:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892871', 'tblTempVendorCDR_20' ) end
[2025-04-12 16:45:19] Production.INFO: ProcessCDR(1,14892871,1,1,2)
[2025-04-12 16:45:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892871,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 16:45:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892871,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 16:45:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892871,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:45:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892871,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:45:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892871', 'tblTempUsageDetail_20' ) start
[2025-04-12 16:45:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892871', 'tblTempUsageDetail_20' ) end
[2025-04-12 16:45:22] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 16:45:22] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 16:45:22] Production.INFO: ==14805== Releasing lock...
[2025-04-12 16:45:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 16:45:22] Production.INFO: 37.75 MB #Memory Used#
[2025-04-12 21:46:01] Production.INFO: ==14887== Lock acquired, processing the job...
[2025-04-12 21:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 21:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 21:46:01] Production.INFO: neon service started
[2025-04-12 21:46:01] Production.INFO: neon service started
[2025-04-12 21:46:01] Production.INFO: ==14887== Releasing lock...
[2025-04-12 21:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 21:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 16:46:02] Production.INFO: ==14889== Lock acquired, processing the job...
[2025-04-12 16:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 16:46:02] Production.INFO: ==14889== Releasing lock...
[2025-04-12 16:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 16:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 20:46:02] Production.INFO: ==14891== Lock acquired, processing the job...
[2025-04-12 20:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 20:46:02] Production.INFO: ==14891== Releasing lock...
[2025-04-12 20:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 20:46:02] Production.INFO: 25 MB #Memory Used#
[2025-04-12 16:46:03] Production.INFO: ==14893== Lock acquired, processing the job...
[2025-04-12 16:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 16:46:03] Production.INFO: ==14895== Lock acquired, processing the job...
[2025-04-12 16:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 16:46:03] Production.INFO: ==14897== Lock acquired, processing the job...
[2025-04-12 16:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 16:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 16:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 16:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 16:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 16:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 16:46:03] Production.INFO: ==14903== Lock acquired, processing the job...
[2025-04-12 16:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 16:46:03] Production.INFO: ==14899== Lock acquired, processing the job...
[2025-04-12 16:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 16:46:03] Production.INFO: ==14901== Lock acquired, processing the job...
[2025-04-12 16:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 16:46:03] Production.INFO: ==14895== Releasing lock...
[2025-04-12 16:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-04-12 16:46:03] Production.INFO: 26.75 MB #Memory Used#
[2025-04-12 16:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 16:46:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 16:46:03] Production.INFO: Account Balance Start.
[2025-04-12 16:46:03] Production.INFO: CreateAllLog Start
[2025-04-12 16:46:03] Production.INFO: 117
[2025-04-12 16:46:03] Production.INFO: count ==12
[2025-04-12 16:46:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 16:46:03] Production.INFO: count ==23
[2025-04-12 16:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892874') start
[2025-04-12 16:46:04] Production.INFO: Date 2025-04-08
[2025-04-12 16:46:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:46:04] Production.INFO: Date 2025-04-09
[2025-04-12 16:46:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892874') end
[2025-04-12 16:46:04] Production.INFO: Date 2025-04-10
[2025-04-12 16:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 16:46:04] Production.INFO: 1
[2025-04-12 16:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 16:46:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:46:04] Production.INFO: Date 2025-04-11
[2025-04-12 16:46:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:46:04] Production.INFO: ==14903== Releasing lock...
[2025-04-12 16:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-04-12 16:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-04-12 16:46:04] Production.ERROR: done
[2025-04-12 16:46:04] Production.INFO: Date 2025-04-12
[2025-04-12 16:46:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-04-12 16:46:04] Production.INFO: Total Charge 0
[2025-04-12 16:46:04] Production.INFO: CreateAllLog End
[2025-04-12 16:46:04] Production.ERROR: done
[2025-04-12 16:46:04] Production.INFO: Account Balance End.
[2025-04-12 16:46:04] Production.ERROR: CronJobId end 12
[2025-04-12 16:46:04] Production.INFO: ==14899== Releasing lock...
[2025-04-12 16:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-04-12 16:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-04-12 16:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-04-12 13:46:05
[end_date_ymd] => 2025-04-12 16:46:05
[RateCDR] => 1
)
[2025-04-12 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-12 13:46:05' and `end` < '2025-04-12 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-12 16:46:12] Production.ERROR: CronJobId end10
[2025-04-12 16:46:12] Production.INFO: ==14897== Releasing lock...
[2025-04-12 16:46:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-04-12 16:46:12] Production.INFO: 26.25 MB #Memory Used#
[2025-04-12 16:46:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-04-12 16:46:14] Production.INFO: ============== Balance Warning START===========
[2025-04-12 16:46:14] Production.INFO: ============== Balance Warning END===========
[2025-04-12 16:46:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-04-12 16:46:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-04-12 16:46:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-04-12 16:46:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-04-12 16:46:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-04-12 16:46:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-04-12 16:46:14] Production.INFO: ============== Negative Margin alert START===========
[2025-04-12 16:46:14] Production.INFO: ============== Negative Margin alert END===========
[2025-04-12 16:46:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-04-12 16:46:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-04-12 16:46:14] Production.INFO: ============== CDR Post Process START===========
[2025-04-12 16:46:15] Production.INFO: call_cost start
[2025-04-12 16:46:15] Production.INFO: call_cost end
[2025-04-12 16:46:16] Production.INFO: ============== CDR Post Process END===========
[2025-04-12 16:46:16] Production.INFO: ============== Report Schedule START===========
[2025-04-12 16:46:16] Production.INFO: ============== Report Schedule END===========
[2025-04-12 16:46:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-04-12 16:46:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-04-12 16:46:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-04-12 16:46:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-04-12 16:46:16] Production.INFO: ============== Deal alert START===========
[2025-04-12 16:46:16] Production.INFO: ============== Deal alert END===========
[2025-04-12 16:46:16] Production.INFO: ==14893== Releasing lock...
[2025-04-12 16:46:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-04-12 16:46:16] Production.INFO: 28.25 MB #Memory Used#
[2025-04-12 16:46:18] Production.INFO: count ==1319
[2025-04-12 16:46:18] Production.ERROR: pbx CDR StartTime 2025-04-12 13:46:05 - End Time 2025-04-12 16:46:05
[2025-04-12 16:46:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-04-12 16:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892876', 'tblTempUsageDetail_20' ) start
[2025-04-12 16:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14892876', 'tblTempUsageDetail_20' ) end
[2025-04-12 16:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892876', 'tblTempVendorCDR_20' ) start
[2025-04-12 16:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14892876', 'tblTempVendorCDR_20' ) end
[2025-04-12 16:46:18] Production.INFO: ProcessCDR(1,14892876,1,1,2)
[2025-04-12 16:46:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14892876,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 16:46:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14892876,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-04-12 16:46:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14892876,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:46:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14892876,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-04-12 16:46:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892876', 'tblTempUsageDetail_20' ) start
[2025-04-12 16:46:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14892876', 'tblTempUsageDetail_20' ) end
[2025-04-12 16:46:23] Production.ERROR: pbx prc_insertCDR start
[2025-04-12 16:46:23] Production.ERROR: pbx prc_insertCDR end
[2025-04-12 16:46:23] Production.INFO: ==14901== Releasing lock...
[2025-04-12 16:46:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-04-12 16:46:23] Production.INFO: 37.75 MB #Memory Used#
[2025-04-12 21:47:02] Production.INFO: ==14974== Lock acquired, processing the job...
[2025-04-12 21:47:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-04-12 21:47:02] Production.INFO: neonservice########### Service Starts ###########
[2025-04-12 21:47:02] Production.INFO: neon service started
[2025-04-12 21:47:02] Production.INFO: neon service started
[2025-04-12 21:47:02] Production.INFO: ==14974== Releasing lock...
[2025-04-12 21:47:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-04-12 21:47:02] Production.INFO: 24.5 MB #Memory Used#
[2025-04-12 16:47:02] Production.INFO: ==14976== Lock acquired, processing the job...
[2025-04-12 16:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-04-12 20:47:03] Production.INFO: ==14978== Lock acquired, processing the job...
[2025-04-12 20:47:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-04-12 20:47:03] Production.INFO: ==14978== Releasing lock...
[2025-04-12 20:47:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-04-12 20:47:03] Production.INFO: 25 MB #Memory Used#
[2025-04-12 16:47:03] Production.INFO: ==14976== Releasing lock...
[2025-04-12 16:47:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-04-12 16:47:03] Production.INFO: 25.25 MB #Memory Used#
[2025-04-12 16:47:04] Production.INFO: ==14985== Lock acquired, processing the job...
[2025-04-12 16:47:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-04-12 16:47:04] Production.ERROR: tmp_tblUsageDetailsReport_120250412Live done
[2025-04-12 16:47:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250412Live done
[2025-04-12 16:47:04] Production.ERROR: CALL prc_updateLiveTables(1,120250412Live)
[2025-04-12 16:47:04] Production.INFO: call prc_generateSummaryLive(1,'2025-04-12','2025-04-12','120250412Live')
[2025-04-12 16:47:04] Production.INFO: ==14991== Lock acquired, processing the job...
[2025-04-12 16:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-04-12 16:47:04] Production.INFO: ==14981== Lock acquired, processing the job...
[2025-04-12 16:47:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-04-12 16:47:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-04-12 16:47:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 16:47:04] Production.INFO: ==14983== Lock acquired, processing the job...
[2025-04-12 16:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-04-12 16:47:04] Production.INFO: count ==12
[2025-04-12 16:47:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-04-12 16:47:04] Production.INFO: count ==23
[2025-04-12 16:47:04] Production.INFO: ==14989== Lock acquired, processing the job...
[2025-04-12 16:47:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-04-12 16:47:04] Production.INFO: ==14987== Lock acquired, processing the job...
[2025-04-12 16:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-04-12 16:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892877') start
[2025-04-12 16:47:04] Production.ERROR: tblTempUsageDetail_20
[2025-04-12 16:47:04] Production.INFO: Account Balance Start.
[2025-04-12 16:47:04] Production.INFO: CreateAllLog Start
[2025-04-12 16:47:04] Production.INFO: 117
[2025-04-12 16:47:04] Production.INFO: Date 2025-04-08
[2025-04-12 16:47:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:47:04] Production.INFO: Date 2025-04-09
[2025-04-12 16:47:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14892877') end
[2025-04-12 16:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-04-12 16:47:04] Production.INFO: 1
[2025-04-12 16:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-04-12 16:47:04] Production.INFO: Date 2025-04-10
[2025-04-12 16:47:04] Production.INFO: Reseller ==> 0
[2025-04-12 16:47:04] Production.INFO: ==14991== Releasing lock...
[2025-04-12 16:47:04] Product